Repository navigation
Commit 93a31f9
authored
Release v0.20.0 - OpenCode V2, full-history navigation, worktrees and native browser previews (#781)
## Highlights
- **CodeNomad now runs on OpenCode V2**: Projects share the native
OpenCode service, so desktop windows and terminal clients can work with
the same session history. Closing CodeNomad leaves the shared service
running.
- **Long conversations stay usable**: Transcript memory is bounded,
full-history search finds content beyond the loaded messages, and the
timeline lets you jump across an entire conversation with contextual
previews.
- **Move work between Git worktrees**: Create and select native
worktrees, move a session family together, and retain the right project
and branch context as you switch tasks.
- **Ask a quick side question with `/btw`**: Get a separate, temporary
answer without interrupting the main session.
- **A more consistent workspace**: New light/dark palettes, clearer
conversation surfaces, responsive session actions, persistent
search/command windows, and View-menu panel toggles make the interface
easier to adapt.
- **Better attachments and visual feedback**: Device picking,
drag-and-drop, and clipboard attachments share one workflow; project
files remain available through `@` references. Images returned by MCP
and other tools now render directly in chat.
## Upgrading from 0.19.x
- **OpenCode V2 is required.** The technical minimum is **2.0.7**, which
supplies the native step-start timestamp used by the current event
reducer. **2.0.16** is the recommended and qualified runtime for this
release. V1 runtimes and the former V2 beta protocol are not supported.
- **Install and manage OpenCode from startup or Preferences.** CodeNomad
prefers an executable on PATH and can install into a shared user npm
location using bundled Node/npm. Terminal clients can use the same
installation.
- **Runtime installation and service restart are separate actions.**
Updating the CLI does not silently restart an already-running OpenCode
service. Compatible shared npm installations on OpenCode 2.0.15+ use
native upgrade for version changes, including live Windows executable
handling.
- **Upgrade remote CodeNomad servers to 0.20.0 for the new UI.** The
published UI manifest now requires server 0.20.0 instead of advertising
compatibility with the V1-based 0.19.x server.
- **Git enables the complete project/worktree experience.** If the
backend cannot find Git, directory-scoped conversations remain available
while Git-dependent functionality is unavailable.
## Sessions, history, and worktrees
- Full-history search, counts, selective cleanup, and global timeline
navigation work independently of the currently loaded transcript. Search
includes edit diffs stored in tool metadata.
- Large transcripts load bounded windows while preserving access to
complete content. Timeline markers retain tool identities, and
hover/focus previews show bounded Markdown excerpts.
- Session search uses flat results with optional subsessions; normal
browsing retains the parent/child hierarchy. Fork actions are available
after both user and assistant messages.
- Native worktree creation, discovery, and family moves use repository
ownership checks. Removing a worktree verifies and evacuates affected
sessions before deleting it.
- Worktree selectors open without waiting for a fresh Git scan, and
saved conversations restore before secondary Git panels and catalogs
finish loading.
- Stop and double Escape no longer accidentally restart a parent
session. Automatic empty-session cleanup verifies native content before
removing anything.
- Active-session model choices survive prompt admission, catalog
refreshes, and delayed responses instead of switching back unexpectedly.
## Composer, tools, and plugins
- Attach local-device files with the native picker, paste, or
drag-and-drop, and reference project files separately through `@`.
Attachment reads follow the active draft and session rather than
spilling into a newly selected conversation.
- MCP and specialized tool results can display returned images without
inserting image bytes into copied text, search, or speech.
- Global and Project plugin activation switches are separate, making the
scope of each change explicit. Plugin details are available from the
name tooltip.
- Native Forms support provider authentication and interactive requests.
Permission rejection feedback survives refreshes, and native background
Shells remain separate from interactive terminals.
- Profile environment variables are refreshed before each prompt, custom
command, or session shell request, including removal of previously
configured values.
- Browser previews and desktop automation give agents a visible
inspection-and-fix workflow with session/window targeting. Automation
tools are available without a Developer Mode toggle.
## Desktop continuity and interface
- Electron and Tauri support multiple UUID-backed windows with
independent tabs, drafts, attachments, selection, and view state over
one shared backend. Window restoration uses partitioned storage rather
than one monolithic snapshot.
- Startup prioritizes the active project and conversation, including
interrupted hydration and slow filesystem/Git discovery. Preferences
retain their own geometry, zoom, and navigation.
- Browser authentication can recover in place after a server restart
while preserving drafts, without replaying failed actions.
- Light/dark palette selections are independent of appearance mode.
Settings, message cards, the composer, and panels use more consistent
surfaces and controls.
- Search and command windows stay open during outside interactions. The
native View menu exposes panel and timeline toggles.
- Thinking, tool visibility, token sections, and compact headers are
clearer. System context updates are hidden by default; collapse
preferences also apply to single-step reasoning.
- User-supplied HTML displays as literal source rather than being
interpreted as chat markup.
- Turkish localization joins the existing languages, with updated
coverage for V2 features.
## Reliability and distribution
- Reconnection reconciles native session and pending-request state,
while slow event routing no longer blocks the shared stream or other
recipients.
- Windows Tauri fixes address window-state capture deadlocks, input
reentrancy, and native focus/menu responsiveness. Desktop startup avoids
interactive shell prompts that could block launch.
- Bundled Node is updated to 24.20.0 LTS, and desktop resources include
the Node/npm tools needed for first-run runtime setup.
- OpenCode setup keeps executable selection, runtime status,
installation/update, and service actions together in Preferences.
Diagnostics include clearer cross-platform server information.
- Provider usage fixes include credit-based z.ai coding-plan quotas and
refreshed session usage on native step/usage events.
## Thanks for contributions
Thanks to [@pascalandr](https://github.com/pascalandr),
[@markerikson](https://github.com/markerikson),
[@fitzgpt](https://github.com/fitzgpt),
[@Kondziosz](https://github.com/Kondziosz),
[@shantur](https://github.com/shantur), and
[@bluelovers](https://github.com/bluelovers).
GitHub will append the complete merged pull request and contributor list
to the generated release notes.
**Full Changelog**:
v0.19.0...v0.20.01,401 files changed
Lines changed: 164070 additions & 39718 deletions
File tree
- .github
- ISSUE_TEMPLATE
- workflows
- .opencode/skills
- codenomad-architecture-guide
- references
- codenomad-automation
- dev-docs
- ui-harmonization-demo
- docs/guides
- packages
- cloudflare
- electron-app
- electron
- main
- preload
- scripts
- opencode-plugin
- plugin
- lib
- server
- scripts
- src
- automation
- background-processes
- clients
- config
- events
- filesystem
- __tests__
- opencode-update
- opencode
- automation
- compatibility
- session-pruning
- permissions
- plugins
- previews
- releases
- server
- __tests__
- routes
- settings
- usage
- providers
- workspaces
- __tests__
- tauri-app
- scripts
- src-tauri
- capabilities
- gen/schemas
- permissions/autogenerated
- src
- client_state
- desktop_event_transport
- tests/windows-input
- src
- vendor
- patches
- tao-0.34.6
- examples
- src
- platform_impl
- android
- ios
- linux
- wayland
- x11
- macos
- util
- windows
- event_loop
- platform
- ui
- src
- components
- instance
- shell
- right-panel
- components
- tabs
- prompt-input
- provider-auth
- session
- settings
- tool-call
- renderers
- lib
- contexts
- hooks
- i18n
- messages
- de
- en
- es
- fr
- he
- ja
- ne
- ru
- tr
- zh-Hans
- native
- settings
- renderer
- loading
- prototype
- stores
- message-v2
- styles
- components
- messaging
- tool-call
- panels
- types
- tests/browser
- fixtures
- scripts
- fixtures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
23 | 39 | | |
24 | 40 | | |
25 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
| |||
71 | 68 | | |
72 | 69 | | |
73 | 70 | | |
74 | | - | |
| 71 | + | |
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
| |||
95 | 92 | | |
96 | 93 | | |
97 | 94 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 95 | | |
102 | 96 | | |
103 | 97 | | |
| |||
245 | 239 | | |
246 | 240 | | |
247 | 241 | | |
248 | | - | |
| 242 | + | |
249 | 243 | | |
250 | 244 | | |
251 | 245 | | |
| |||
256 | 250 | | |
257 | 251 | | |
258 | 252 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 253 | | |
263 | 254 | | |
264 | 255 | | |
| |||
298 | 289 | | |
299 | 290 | | |
300 | 291 | | |
301 | | - | |
| 292 | + | |
302 | 293 | | |
303 | 294 | | |
304 | 295 | | |
| |||
308 | 299 | | |
309 | 300 | | |
310 | 301 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | 302 | | |
315 | 303 | | |
316 | 304 | | |
| |||
435 | 423 | | |
436 | 424 | | |
437 | 425 | | |
438 | | - | |
| 426 | + | |
439 | 427 | | |
440 | 428 | | |
441 | 429 | | |
| |||
451 | 439 | | |
452 | 440 | | |
453 | 441 | | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | 442 | | |
458 | 443 | | |
459 | 444 | | |
460 | 445 | | |
461 | 446 | | |
462 | 447 | | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | 448 | | |
478 | 449 | | |
479 | 450 | | |
| |||
525 | 496 | | |
526 | 497 | | |
527 | 498 | | |
528 | | - | |
| 499 | + | |
529 | 500 | | |
530 | 501 | | |
531 | 502 | | |
| |||
541 | 512 | | |
542 | 513 | | |
543 | 514 | | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | 515 | | |
548 | 516 | | |
549 | 517 | | |
550 | 518 | | |
551 | 519 | | |
552 | 520 | | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | 521 | | |
568 | 522 | | |
569 | 523 | | |
| |||
615 | 569 | | |
616 | 570 | | |
617 | 571 | | |
618 | | - | |
| 572 | + | |
619 | 573 | | |
620 | 574 | | |
621 | 575 | | |
| |||
632 | 586 | | |
633 | 587 | | |
634 | 588 | | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | 589 | | |
639 | 590 | | |
640 | 591 | | |
641 | 592 | | |
642 | 593 | | |
643 | 594 | | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | 595 | | |
660 | 596 | | |
661 | 597 | | |
| |||
710 | 646 | | |
711 | 647 | | |
712 | 648 | | |
713 | | - | |
| 649 | + | |
714 | 650 | | |
715 | 651 | | |
716 | 652 | | |
| |||
739 | 675 | | |
740 | 676 | | |
741 | 677 | | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | 678 | | |
746 | 679 | | |
747 | 680 | | |
748 | 681 | | |
749 | 682 | | |
750 | 683 | | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | 684 | | |
766 | 685 | | |
767 | 686 | | |
| |||
914 | 833 | | |
915 | 834 | | |
916 | 835 | | |
917 | | - | |
| 836 | + | |
918 | 837 | | |
919 | 838 | | |
920 | 839 | | |
| |||
953 | 872 | | |
954 | 873 | | |
955 | 874 | | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | 875 | | |
960 | 876 | | |
| 877 | + | |
961 | 878 | | |
962 | 879 | | |
963 | 880 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
| 59 | + | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
0 commit comments