Repository navigation
Release v1.2.0 — Multiple servers, conversation permissions and voice - #1733
Draft
pascalandr wants to merge 227 commits into
Draft
pascalandr wants to merge 227 commits into
pascalandr wants to merge 227 commits into
Conversation
Removing a plugin from the Plugins panel kept its `-id`/`id` activation rules. With the package gone, OpenCode read the bare `id` as a package name and installed and imported the unrelated registry package of that name (observed with `ponytail`), and the panel showed two phantom rows. ## Changes - **Applied order:** CodeNomad models OpenCode's plugin order (builtin and SDK, `plugin(s)/` discovery, then Global and Project documents in order). A bare `id` is written only after a verified definition of that ID; otherwise enabling only deletes `-id` rules, or is refused if that can't reach the requested state (wildcards included). - **Removal:** removing a source deletes bare `id` rules that would lose their definition, in its document and in the requesting location's other documents (dependent cleanups commit first). `-id` rules are deleted only when no other loader is possible. - **Uncertainty:** any doubt refuses positive bare writes and keeps `-id` rules. One resolver selects a local plugin's entrypoint (`server` before `index`) for discovered and declared folders; declarations are classified as package or local before identification. - **Failed and orphan rows:** a failed package row offers Remove; a row defined only by rules no loader can define offers Remove and has no switches. - **Compact arrays:** deleting the last element of a one-line `plugins` array no longer corrupts the file. ## Validation Regression tests for each case fail when their fix alone is reverted. Plugin server suites (246), UI stores (58), plugin browser suites, both typechecks, help tests. `PLUGIN_CONTROLS.md` and `integrations.md` help in 10 locales updated. Not covered: Project documents of projects that aren't open are not re-checked on a Global removal; on WSL, local plugins stay unidentified (conservative).
Proposes the bundled npm pin (`.npm-version`) of both desktop hosts from 12.2.2 to 12.2.3. npm 12.2.3 declares `engines.node` `^22.22.2 || ^24.15.0 || >=26.0.0`, which includes Node 24.22.3 (`.node-version`: CI and Tauri) and Node 24.22.2 integrated in Electron 45.2.3. This declaration is not a behavioural validation: only the proposal's PR build and the maintainer's checklist show whether CodeNomad works with this npm. Audit of the published npm CLI and its bundled dependencies: npm 12.2.3: 26 affected package entries (0 critical, 13 high, 13 moderate, 0 low); pinned npm 12.2.2: 26 affected package entries (0 critical, 13 high, 13 moderate, 0 low). The JSON reports are kept for seven days in the [maintenance report](https://github.com/NeuralNomadsAI/CodeNomad/actions/runs/44347899796). [npm 12.2.3 release notes](https://github.com/npm/cli/releases/tag/v12.2.3). [npm changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md). Before merging, check: - the release notes of every npm version after 12.2.2 up to 12.2.3, especially breaking changes to `install`/`uninstall --global --prefix`, flag parsing, configuration, and the dependency lifecycle-script policy (`allow-scripts`): OpenCode's postinstall must still run during installation and native upgrade; - the PR build's desktop packaging tests, packaged-resources smoke (npm engines against each host's Node) and the first-installation fixtures with Tauri's Node and with Electron's npm-only resources, which install OpenCode with this npm; - the native OpenCode install, upgrade and legacy-replacement fixtures run locally against both packaged hosts with this npm (`scripts/test-opencode-*-native.mjs`): the PR build runs only first installation with the bundled npm; - the audit findings above for applicability. This changes only `.npm-version`; Node and Electron are unchanged. It does not merge itself. Review and merge manually after PR validation. GitHub holds the PR Build Validation runs of a pull request opened with GITHUB_TOKEN for approval: a maintainer with write access selects **Approve workflows to run** on this PR (or closes and reopens it with their own account) to start validation. Validate installer/upgrade behavior, rebuild and publish CodeNomad before users receive the updated runtime. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…due (#1579) ## Problem A running event-triggered Mission stopped checking its sources on Nov 13 and stayed stuck for five days (it missed #1578). Principal wake 28 passed prompt entry but its carrier turn ended before consuming it. Native then retried run 29 every five minutes with its due time frozen in the past, and prompt entry refused run 29 (`Mission stale or gapped wake`, 1,600+ times) because it admits only `highWater + 1`. Recovery could not consume run 28 either: fan-in coverage requires a future native `nextDueAt` as its barrier, and that due time never moved. Read-only status on the live schedule confirmed it: wake 28 `messagePresent: true, ready: false`. ## Fix While the prepared run is native's last one (`runCount === highWater + 1`, `wakePreparing` is that run), prompt entry itself refuses every later firing before its message exists, so that refusal is the barrier. Coverage now accepts an overdue active calendar in exactly that case; every other overdue calendar still reads as incomplete. #1482 does not cover this: it replays a run native presents again, while here native had moved past it. ## Validation - New coverage case: the gate and its limits (no preparation, paused, a later admitted run). - New composed engine case reproducing the wedge: preflight becomes ready, the wake starts the passage, high-water advances and prompt entry then admits the next run. - Both fail without the change. All Missions server suites pass locally, except three that cannot load in this checkout (missing `fuzzysort`), identical with and without the fix.
I added step names to Tauri preview errors while preserving the native message/HRESULT in the existing alert detail, so a bare E_INVALIDARG identifies the failing operation. I retain the latest 32 failures in the existing native snapshot and inspection diagnostics for the native process lifetime; preview bounds, storage and retry behavior stay unchanged. Verified on Windows: `cargo test --locked` (365 passed), `cargo clippy --locked --no-deps` (passes with existing-code warnings), `npm run typecheck`, server workspace typecheck, automation route tests (6 passed), and the exact “Test changed runnable UI behavior” CI step (760 passed). Large touched files: `packages/tauri-app/src-tauri/src/main.rs` (3,176 lines), `packages/tauri-app/src-tauri/src/browser_controller.rs` (1,815 lines), `packages/tauri-app/src-tauri/src/embedded_view.rs` (651 lines).
Keep important conversations close with a single row menu. Pending requests stay first, and favorites stay in their conversation tree and sync across windows for the same folder. Search can reveal matches hidden by session-type filters without changing scope. Keyboard focus follows a moved row, and manually collapsed branches stay closed through favorite updates. Verified with isolated browser flows, UI and server typechecks, targeted tests, and help validation in all ten locales. Fixes #1575
) I fixed a long journal blocking new tasks and briefings and hiding neighboring missions in the panel. The native reader replays existing events in ordered batches, preserving history, revision checks and cleanup receipts. On a private OpenCode 2.3.0 service, the panel showed the 10,020-event mission, its neighbor and the schedule after restart. `npm run test:long-mission-journal` also checks a new task and briefing, unchanged original entries, replay and managed cleanup. Follow-up: checking freshness still reads historical bodies (2.85 MB for a warm open at 10,020 events). `node --import tsx --expose-gc scripts/benchmark-mission-journal.mts --long` measures this separately from the capacity fix.
… move (#1576) A conversation moved to another project by OpenCode's native `session_move` (for example by an agent) stayed listed and selected in its old project tab, where every read failed with 403. The native tool moves only the parent; its children stay behind, and the old tab kept the moved parent to connect them. ## Changes - **Relay:** `session.moved` reaches the owners of the old and new locations and any tab that already received that session. - **Old tab:** a session moved to a folder the tab doesn't own is removed through the same path as a deletion (selection cleared, transcript dropped). The new tab lists it. A move back lists it again. - **Reload:** the workspace proxy's refusal for a session located elsewhere carries `reason: "session_located_elsewhere"`. A parent read refused for that reason counts as a missing parent; every other 403 stays an error. - Children left behind get no special handling. The UI move is unchanged. ## Validation Browser tests (move to an open tab, to a folder open in no tab, reload after the move), store, adapter, proxy and relay tests fail on `dev` and pass now; each fix reverted alone fails its tests. Both typechecks, 551 UI units, 102 browser tests and the server suites pass. Not covered: restoring a selected conversation that moved while CodeNomad was closed.
Use OpenCode 2.3.2 as the minimum and recommendation. Mission calendars use native Automations and retain migrated calendar and wake identities. Isolated Windows tests verified automatic cold restart through archival for a migrated one-shot and a recurrent Mission, each with one successful passage and no duplicate start. New calendars also passed one-shot settlement and carrier cleanup. Minimum/latest CI remains required.
I kept long journals usable in #1583. This follow-up tracks changes in SQLite so that reopening a qualified mission, inspecting its first tasks, or adding work does not replay its historical text. The journal still owns mutations and history; the derived index can be rebuilt or removed on an offline copy without changing the events. On the same synthetic data, warm status at 10,148 events fell from 15.45 MB of bodies transferred to zero, and adding a task from 46.34 MB to 351 bytes. In the 10,020-event panel test after reopening, the header transfers 2.4 KB and the first task window 183 KB including continuations, without historical bodies. Selected briefs and reports read their original event. Initial reconstruction and uncached later windows still replay the journal; the measured later window transfers 16.54 MB cold and zero warm. These are bytes returned by SQLite, not disk reads. Validation: `npm run test:long-mission-journal`, `node --import tsx --expose-gc scripts/benchmark-mission-journal.mts --panel-io`, `--read-budget` and `--compare 1`, private OpenCode 2.3.0, root typecheck and server/UI builds with the lockfile. Server suite: 4,741 passed, 25 skipped, one unchanged session-pruning packaging test fails because `npm pack --json` returns an object under npm 12.2.3.
I made each background shell a single row in Status. Click the command to open its existing output window; hover, focus or long-press for details. A separate trash button keeps stop/remove confirmations distinct. I tested narrow panels, right-to-left layout, keyboard and touch interactions, and updated the help in all ten languages.
#1590) CodeNomad returned HTTP 503 after waiting five seconds for a plugin acknowledgement. OpenCode returned a complete snapshot for the same root in 801 ms immediately afterward. Keep catalogue activation for the authorized root and use the validated native snapshot as proof of recovery. Ownership checks, compaction deferral, and write operations are unchanged. The regression failed before the fix. Targeted server tests, typecheck, and a cold-root run on isolated OpenCode 2.3.0 passed.
Warn once per project until pending-request recovery succeeds, even when the failed folders or error details change after reopening. Keep retries and known requests intact. Send failed-batch phases to the production logger so the next 503 can be traced without logging paths or request contents. The cause of the reported live 503s is still unconfirmed. Both regressions failed before the fix. 61 UI tests, 47 server tests, both typechecks, and the help build passed.
Allow a root to save itself as the recurring coordinator during its own turn. Keep ownership and source checks at save time, and require a quiet session family before dispatching each passage. Cover creation and configuration during a live turn, busy admission refusal and reuse across two passages. Validate the server typecheck, focused Missions tests, localized help and plugin build.
Allow the active claim only while saving for the authenticated author root. Preserve idle admission and reject an inactive claim.
Observe a named remote branch through the detected forge without fetching locally. Freeze the observed tip before launching a passage. Keep coordinator ownership and source checks when saving a self-selected root; require an idle family at dispatch. Return exact pre-write refusals so the bridge does not retain false uncertainty.
Select the current root as a recurring coordinator, return definitive pre-write refusals, and watch a named branch directly on its remote forge. Verified locally: 146 focused tests, five Chromium scenarios, server and UI typechecks, localized help, plugin build, and the actual GitHub dev ref.
Follow-up to #1585: read npm 12 output by package name and keep support for the npm 11 array. The test still checks the packaged entrypoints and dependencies. Verified with npm 11.6.2 and 12.2.3.
`mission_settings` ships a top-level `oneOf` that Anthropic rejects before it runs the model. Advertise a plain object and keep the strict scope and action checks at execution. The regression fails on the previous schema. All 14 focused tests, server typecheck, and the Missions bundle build pass. Fixes #1592.
On Windows, the installed preview downloaded and verified the update, but cancelled shutdown before the webview acknowledged its state save. Increase the update-only renderer deadline from one to ten seconds. Installation still requires all acknowledgements and confirmed backend shutdown. Ordinary quit, Windows logout, and late acknowledgement handling are unchanged.
Choose how CodeNomad listens and speaks from one Voice page. Keep dictation audio on the device when using a local engine, or talk to the active agent session hands-free. - **Preferences → Voice** separates Dictation, Playback and Conversation. Choose System, Hex or API dictation; activate Hex in one click. - Classic conversation needs only configured playback. - Gemini Live and OpenAI Realtime use a CodeNomad gateway with server-side keys, explicit consent, session limits and manual or automatic stops. - Live voice sends requests straight to the agent through the normal prompt path, with the usual permissions and questions. - Unavailable composer commands explain why. Dictation, input tests and live conversation share one microphone. Help is updated in all ten languages. Remote Tauri windows on Linux support API dictation up to 24 seconds; live conversation is unavailable there. Real provider keys, a physical microphone and installed packages were not tested. Verification: server, UI and Electron type checks; targeted server, UI unit and Chromium, Electron, Hex and Windows Tauri tests; and `npm run test:help`. Live conversation design draws on #762 and #759 by @darfi-gdp.
One plain-text note per session, stored in the profile under the agent-memory project identity: worktrees of a repository share them, and clones whose remote is the same hosted repository. - Bridge codenomad.notes: get/set (revision compare-and-set) for the displayed conversation, list (project notes newest first, orphans of deleted sessions), delete, open, onChanged; install sentence, removal confirmation and help in 10 locales; native probe entry. - Store: notes/<key>/<project>.json under a per-installation key in the catalogue record, so the catalogue write alone commits a removal. Every catalogue mutation, note write and note read takes one profile-wide cross-process lock (agent memory's), so backends sharing a profile stay consistent. Revisions keep a per-project high-water mark; inconsistent files fail closed. - Routes: the host picks the session and project; writes recheck the project identity, the session and every fence inside the queue, and a started commit settles the route. list and open stay inside the project; open is fenced against worktree deletion. - Channel: data-free panelExtensions.notesChanged plus session deletions and reconnects in any instance invalidate notes:changed; a deferred open dies on unmount, disconnect or native generation change. openHistoryMatchSession shares openListedSession with it. Known limits are listed in the PR review.
…1600) Extension API 4 gains three permissions so a panel such as Contribute can open an issue or pull request in its own worktree: - repository.workItems.read: API 3's work item pages and item pages. - repository.worktrees.read: worktrees.list() and onChanged, the items whose local branch CodeNomad linked, joined to the fresh worktree inventory and to the displayed conversation family. - repository.worktrees.write: worktrees.open(kind, number) only asks. CodeNomad shows its own confirmation naming the item and the repository, then creates issue-N (at the family's checkout) or pr-N (at the pull or merge request head the forge publishes), checks out a worktree for that exact branch tip and moves the whole family there. Links live in the repository config (branch.<name>.codenomad-work-item) and are proven by CodeNomad's own reflog creation entry, else by ancestry; recreated, copied, renamed or case-only twin branches are conflicts. Branches are created only if absent, never forced, and a late change of consent or remote undoes the write without touching a branch the user adopted. The selected remote, consent and the target are rechecked before every host mutation; PR fetches run outside the shared Git worker and stop with their process tree when abandoned. Verified on Windows: server, UI unit and Chromium suites, both typechecks, help and locale checks, and the WebView2 native probe. Part of #500.
The palette hover test failed on every branch: its fixture still rendered the background shell row as a focusable `.status-process-card`, while the row now draws its hover on the inner `.status-process-command` button. The fixture now mirrors `background-shell-row.tsx` and the test hovers that button. Verified locally: red on `dev` and the multi-backend base with "classic .status-process-card: hover must remain visible", green with this change.
…ction (#1601) Run now with an existing, agent-selected coordinator reserved its passage but never admitted it: the passage authority read the document row with `Effect.runSync` outside the open SQLite transaction, which failed and was reported as an unknown admission. The authority now reads through the source-fence helper that uses the active transaction graph; no check is removed. Verified with a unit test on the transaction graph, the native product fixture on isolated OpenCode 2.3.2 (new `--existing-coordinator` paused-manual case: red before, two Run now passages archived in the same conversation after), the server typecheck, the full server suite and the CI `at,in` fixture.
Technical schedule carriers compact automatically, and each compaction showed a "Mission schedule carrier was compacted" notice on screen and in History. The compaction notifier now skips the reserved carrier namespace through the existing shared predicate; ordinary conversations still notify, and Settings help says so in all ten locales. Verified with the compaction notification Chromium test (carrier silent, ordinary session still notifies), the workspace-scope notice test, the UI typecheck and the help checks.
…#1603) A schedule reusing an existing conversation never archived its passage when that conversation had earlier subagents in another Location (for example a worktree): settlement required every family member to share the coordinator directory and threw "Passage family moved" on every check. A descendant captured in the coordinator baseline and quiet since then now keeps its existing Location; project and parent stay checked for every session, and passage-owned or newly active sessions must still be in the coordinator Location. Verified with a unit test (red before, settles after, still refuses once the old child has new work), the settlement suites and the server typecheck; on the real profile the stuck Dependabot schedule archived its completed passage on the next Check with this build.
#1604) A schedule with an agent-selected existing coordinator never started its pending passage: each reconciliation wake re-asserted its eight-second preflight receipt in every guard, and validating that coordinator reads every Mission journal and document of the project, which takes longer on a real project, so admission failed with `schedule-preflight-invalid` on every check. The receipt still gates consuming the run (what makes an expired dispatch safe to re-claim); once the auxiliary run is consumed under the document exclusion, owner and passage reconciliation keep every other guard but no longer require the receipt. Verified with a receiver test that expires the receipt during reconciliation (red before, green after), the wake, preflight and code-wake suites and the server typecheck; the failure was captured on the real profile with a temporary local log at an idle-coordinator check.
…switches model (#1607) Switching the coordinator conversation to another model during a scheduled passage froze the whole schedule: every Mission tool call rechecked the frozen coordinator profile and failed with a generic "Scheduled Mission business unavailable", and every reconcile reran the admission check, so finished passages could never archive. The coordinator profile now gates only the first send (when adoption applies it); afterwards the conversation's agent and model are its user's choice. Task roots keep their role profile check, and the legacy recurrence path follows the same rule. Verified with a runtime test that switches the coordinator's model after admission (red with "Scheduled passage root profile differs", now selects, reports and settles), the Mission passage/business/recurrence suites (109), the full server suite (4778 passed, 25 skipped; one earlier run had a single unidentified failure that did not reproduce) and the server typecheck. The real failure was captured on a live profile.
During a scheduled passage every Mission tool refusal reached the agent as "Scheduled Mission business unavailable", hiding deliberate refusals such as a Debugging role missing its prerequisite. The bridge now carries a `MissionControlError` as a bounded refusal (message and code) and rethrows it as the direct path does; any other failure stays generic. Verified with a bridge test that fails without the fix (refusal keeps its message and code, an ordinary error stays generic), the bridge suite (17) and the server typecheck. Full server suite: 4856 pass; the 4 voice-conversation-config failures also fail on `dev` locally (profile identity).
…1612) Follow-up to the #1611 review: `humanDecisionRequired` appended the innermost raw cause, which can be a system error with a path, and scheduled passages now forward that refusal. The detail is kept only when it is a short message made of words (every fixed gate reason) and dropped otherwise; the advertised refusal code limit now matches the schema. Verified with a new unit test (red before), the decision gate, native human answer and business bridge suites (64) and the server typecheck.
…t a follow-up prompt (#1809) Fixes #1480. Conversations could stay stuck on the user's prompt until another prompt forced a fresh projection when reply events were missed without leaving unsettled tools or divergence, when an authoritative resync completed without an \onResynced\ callback, when a coalesced frame projection threw once, or when server event-ownership checks swallowed transient Git metadata read errors into a 2-second negative cache entry. This change recovers missed replies on non-event and terminal settlement (including pending prompt admissions and reducer-less watched sessions), publishes resynced pages even without \onResynced\, retries failed coalesced frame projections on bounded backoff, runs active-session transcript reloads in parallel during reconnect resyncs, and propagates event-routing Git/FS ownership read errors so the bridge triggers a routing resync instead of dropping early session events. Verified with UI unit tests (262/262 across \opencode-data\, \opencode-projection-frame\, \session-native-events\, \session-generation-recovery*\, \session-request-authority\, \instances-pending-requests\, and \�ackend-runtime-lifetime\), server tests (87/87 across \instance-event-ownership\, \instance-events\, \instance-event-routing\, and \manager\), \ ests/browser/streaming-projection.test.ts\ (3/3), and both \ pm run typecheck\ passes.
…ox web apps (#1812) Follow-up to #1637. In a Firefox installed web app on Android, opening the keyboard shrinks the whole window (845 to 475 CSS px, visual viewport identical, even with `interactive-widget=resizes-visual`), so the keyboard went undetected and the composer still shrank (63 to 44 px). The composer now remembers the tallest window height at the current width and, while editing on touch, treats a loss of at least 100 px as the keyboard; a width change starts over. Measured on a Xiaomi 14 (Android 16, Firefox 160 web app) through remote debugging. Covered by a keyboard-offset unit test using those measurements, the composer browser tests and typecheck.
…ne (#1813) On a real installation OpenCode answered 404 to every list of programmed Missions: it refuses to list the Automations of a conversation that does not exist, and the one that carries programmed Missions is created with the first of them. So nothing could be listed, created or converted in a project that had none yet. Such a project now lists none. A schedule held by a failed passage is now converted too, and stays paused until resumed. Verified: `scripts/test-mission-calendar-run-e2e.mjs` on an isolated OpenCode 2.4.1 lists before its first save (it failed there with `SessionNotFoundError` before the fix, seven steps pass after); unit and route tests with fakes that answer like OpenCode.
A schedule whose conversion was refused was tried once per window, so correcting it (a deleted coordinator conversation replaced by an existing one) changed nothing until the application restarted. It is now tried once per configuration: an edit tries again. Verified with a browser test: refused and kept, not retried on a refresh, converted after its configuration changes.
…passage created (#1815) A Mission started in a conversation that a finished scheduled passage had created for itself could do nothing: its tools answered "Scheduled Mission business unavailable" and its agents were refused with "Scheduled passage tombstone differs". Only a conversation the passage had reused returned to ordinary use afterwards. Proof that the passage is over (its schedule's tombstone or its archived result) now returns the conversation to ordinary use in both cases. Seen on a real installation: a converted schedule whose coordinator conversation came from a passage of a schedule deleted earlier. Verified with the ownership test (failed with the same message before the fix) and the scheduled-passage test files, 104 tests.
…1816) An agent could only program a Mission through the schedule engine being replaced. `mission.program` now lists, saves, pauses, resumes and deletes programmed Missions from a conversation of the project; saving names a stable id, so a repeated save changes nothing. `mission.prepare` refuses launch criteria that repeat and points to it. The tool and the panel's routes call one shared operation. Help: nothing user-facing changes in the application. Verified with a route-level test over the real Missions plugin (save, save again, resume, refusals, delete, foreign conversation), a plugin test of the tool and of the prepare refusal, and the native wire-schema test.
…er (#1818) A schedule converted to a programmed Mission could stay listed forever, because its deletion went through the recurring engine, which can hold a deleted schedule indefinitely. The calendar operation now takes the schedules over on the server, without that engine: each becomes the programmed Mission of the same identity (or an ordinary prepared Mission when its criteria do not carry over), its Automations are deleted and its document is left as the engine's own tombstone. The panel's conversion code is removed. Verified with route and unit tests (running, held, paused, busy, already programmed, unsupported), the isolated OpenCode bench reading and deleting a stored schedule through the real plugin, and the Missions browser tests.
…#1819) A programmed Mission has no task before its first launch, so its row had no chevron and its detail opened on selection, unlike the schedules it replaces. Its row now always has the chevron, which selects it and unfolds the programming; an ordinary Mission without tasks is unchanged. Verified with a browser test that unfolds and folds a programmed Mission without tasks.
Stops repeated 400 directory-listing bursts observed in live WebView2 transcripts during streaming by rejecting numeric dates/ratios, upgrading the bare-path directory cache from 64 FIFO to 512 LRU with abort-listener cleanup, skipping the second DOM walk when listings are empty, debouncing streaming passes (250 ms), and decoupling fetch cancellation from per-render pass aborts. Verified with \ ode --conditions=browser --import tsx --test src/lib/markdown-bare-paths.test.ts src/components/markdown-bare-paths.test.ts\ (44/44), \ sc --noEmit\, and \ ests/browser/markdown-bare-paths.test.ts\ (5/5).
…connect bursts (#1821) Fixes three live runtime/network bottlenecks identified under heavy sessions: deduplicates per-directory workspace ownership checks in \GET /api/workspaces/:id/sessions/:sessionId/automations\ (dropping 130 sequential \ownsLocation\ calls on same-location rows down to 0 extra checks while preserving TOCTOU revalidation), scopes \shell.exited\ automation refreshes to active or pending-result shell automations while coalescing bursts into the armed settle timer, and bounds concurrent \session.get\ outcome reads in \ efreshSessionRuntimeStatus\ to 6 workers. Verified with \packages/server/src/server/routes/session-automations.test.ts\ (9/9), \packages/ui/src/stores/session-automations-store.test.ts\ (14/14), \session-generation-recovery-integration.test.ts\ (28/28), \session-list-startup.test.ts\ (10/10), and server + UI \ sc --noEmit\.
…pots (#1822) Removes the top main-thread CPU hotspots observed in an 8s live WebView2 V8 CPU profile: short-circuits \parentGroupState\ in \session-list.tsx\ when the filter bar is disabled or selection is empty (avoiding eager per-row \ indSessionThread\ walks on every \ ilteredThreads()\ update), memoizes worktree label lookups in a \Map\ instead of scanning all worktrees linearly, replaces per-node \ ew Set(ancestorIds)\ copies in \�uildThread\ with in-place \ ry/finally\ backtracking, and removes recursive array spreads in \collectSessionThreadIds\. Verified with \session-tree.test.ts\, \session-list-visibility.test.ts\, and \session-list-restoration.test.ts\ (26/26), UI \ sc --noEmit\, and \ ests/browser/session-search.test.ts\ (3/3).
…e created (#1823) A launch deleted the previous Mission before creating the next one, so a refused creation left a programmed Mission with no row, failing every later run until OpenCode paused it. A launch now creates first and removes after, and falls back from the conversation the programming names to the one the previous launches used, then to a new one. Saving a programming whose conversation does not run the coordinator's agent, model and thinking is refused with a message, and a paused programmed Mission that lost its Mission gets one prepared again. Verified with unit and route tests, the isolated OpenCode bench (launch replaced in the same conversation with the new order) and the form's browser tests.
pascalandr
temporarily deployed
to
github-pages
November 28, 2026 01:28 — with
GitHub Actions
Inactive
…d Mission (#1824) A run whose Git or forge events could not be read failed, and OpenCode pauses an Automation after three failed runs a minute apart, so a short network or service hiccup suspended the programmed Mission. Such a run now answers `unread`, changes nothing and leaves the events to the next run. A launch started by hand from the prepared Mission is now counted. Verified with calendar-run unit tests (two unreadable runs, then a readable one that launches) and the calendar route and tool tests.
…oolbar (#1825) A programmed Mission between two launches had a dead toolbar, its programming could only be resumed from a small button in its description, and a paused one looked like a freshly prepared Mission. While no launch is under way, Play, Pause and Stop now resume, suspend and permanently end the programming; during a launch they command that launch and the overflow menu suspends or resumes the programming. A suspended programming keeps the orange pause icon, and a Mission or launch paused under way takes the accent blue. Verified with the Missions browser tests (toolbar, menu, confirmed stop, colours) and unit tests of the marks.
pascalandr
temporarily deployed
to
github-pages
November 28, 2026 06:21 — with
GitHub Actions
Inactive
…scheduled waiting (#1826) A programmed Mission had two pauses, its launch's and its programming's, with two colours and an overflow entry for the second one; a launch paused alone left its programming running. It now has one: Pause on a launch under way pauses the programming and the launch, Play resumes both, and between launches they act on the programming alone. Paused is the orange pause again for every Mission, and a Mission waiting for its scheduled run shows the pause shape in the accent blue. Verified with the Missions browser tests (order of the two writes on Pause and Play, between-launch controls, colours) and the mark unit tests.
pascalandr
temporarily deployed
to
github-pages
November 28, 2026 06:46 — with
GitHub Actions
Inactive
A Mission waiting for its scheduled run showed a blue pause over a small line, next to the orange pause of a paused one, so the same shape meant opposite things. Scheduled waiting is now the accent hourglass, without the line. Verified with the Missions browser tests (programming, schedule list, status marks, panel geometry).
pascalandr
temporarily deployed
to
github-pages
November 28, 2026 07:56 — with
GitHub Actions
Inactive
Qualifies OpenCode 2.4.2, updates the pinned
@opencode/{client,schema,plugin} dependencies to 2.4.2, and sets both
the minimum and recommended runtime to 2.4.2 (with docs and all ten help
locales updated).
Adapts the Images gallery and Design companion to OpenCode 2.4.2 moving
generate_image into Code Mode (�nomalyco/opencode#66465), proving
provenance from trusted �xecute metadata.toolCalls and synthetic
completion notices while keeping historical direct transcripts readable,
and updates project-session-families.ts to rely on OpenCode 2.4.2's
native family-cascading Session.move (�nomalyco/opencode#66215).
Verified locally on Windows against isolated @opencode/cli@2.4.2: live
OpenAPI diff (additive only, 146 -> 152 paths), full
pm run typecheck, 179 unit tests, 31 help checks, and the isolated
native qualification suite ( est-design-companion-native,
est-design-activation-native, est-design-content-native,
est-opencode-location-native, pruning, archive, browser attach, goal
restart, subagent nesting, usage, plugins, integrations).
pascalandr
temporarily deployed
to
github-pages
November 28, 2026 08:03 — with
GitHub Actions
Inactive
…liases (#1829) Replaces manual HTTP fetches and casts that predated @opencode/client@2.4.2 (�ackground-shells.ts via �xperimental.job.list, image-settings.ts via model.list, plugin-controls.ts typed eatures.gui), migrates deprecated client aliases scheduled for removal in OpenCode 2.5 (session.stats, session.wait, mcp.connect, mcp.disconnect to �xperimental.*), and updates PLACEMENT_INSTRUCTION for cascading Session.move. Verified with pm run typecheck, sc --noEmit -p packages/server/tsconfig.json, server unit tests (83/83), UI unit tests (64/64), browser service-usage.test.ts (10/10), and native opencode v2.4.2 scripts ( est-image-settings-native.mjs, est-service-usage-native.mjs).
…ed Missions are read (#1830) The panel reread the whole Mission list whenever the programmed Missions were first read for a view; that cut the list's paging and row observation short, so its Retry button kept coming back and three panel inventory browser tests failed. The list is now reread only when a programmed Mission names a Mission it lacks. Two native benches of the runtime contract job are also updated to what the plugin does today (`mission.program` tool, `legacySchedules`, a report delivered by the plugin itself without a bridge). Verified with mission-panel-inventory (20/20, 17/20 before), mission-programming and mission-navigation browser tests, and both native benches on OpenCode 2.4.1 and 2.4.2.
…tor's agent and model (#1831) A programmed Mission that named a conversation on another model or thinking than its coordinator never launched there: the launch refused the conversation and silently fell back to the previous launch's conversation, and saving such a conversation answered 422. A conversation that coordinates is now put on the coordinator's agent and model (`switchAgent`, `switchModel`), as the recurring engine did, and coordinates as it is when it cannot be changed; the 422 refusal and its message are gone. Verified with unit tests of the creation, the calendar route and `inspect({ start })`, the calendar end-to-end bench on an isolated OpenCode 2.4.2 (new step 9: a named conversation on another agent, model and thinking takes the coordinator's and coordinates), both typechecks, the mission-create-refusals browser test and `npm run test:help`.
pascalandr
temporarily deployed
to
github-pages
November 28, 2026 10:58 — with
GitHub Actions
Inactive
…eader and the editor (#1832) The recurring engine's own screens were still shipped beside programmed Missions: the schedule list with its controls and diagnostics, the reader of a schedule and of its current passage, and the editor path that saved a schedule document. Since the server takes over the schedules that engine left, nothing reaches those screens any more; this removes them with the stores, client methods, messages and styles only they used. A Mission never started is now edited whole in the creation form: saving deletes it, then creates its replacement in the same coordinator conversation when its coordinator profile is unchanged. Verified with the UI typecheck, the Missions UI unit and contract tests, the Mission browser tests one file at a time (one new test for the edit of a Mission never started) and `npm run test:help`.
pascalandr
temporarily deployed
to
github-pages
November 28, 2026 12:08 — with
GitHub Actions
Inactive
…d reads no schedule route (#1833) The creation form still offered criteria a programmed Mission refuses on save: a date after events (the "else" fallback) and the events of another schedule or Mission. It now keeps schedules above events, drops those two events, shows followed conversations for a one-time Mission only, and reads the service directory from the native Location instead of the recurring engine's capability route, so no form request reaches the schedule routes. Verified with the UI typecheck, the Missions UI unit and contract tests, the creation-form browser tests one file at a time and `npm run test:help`.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CodeNomad 1.2.0 — Multiple servers, conversation permissions and voice
Open projects from several CodeNomad servers in one window, choose when an agent should ask before acting, and dictate or talk to your active conversation.
Before upgrading
Projects from several servers
Voice and conversation permissions
Browser previews and file links
Missions, conversations and desktop updates
Download CodeNomad · Full changes since 1.1.0