Skip to content

Commit a8545a3

Browse files
authored
Release v0.20.1 - unified Files, mobile layouts, provider accounts and responsiveness (#843)
## Highlights - **A unified Files workspace**: Browse Workspace, Changes and Commits in one panel, open central file/diff previews, edit text with Save or Ctrl/Cmd+S, and inspect historical image changes without checking out another revision. - **Better mobile and narrow-window layouts**: Conversation controls stay compact, the composer follows the visible conversation height, and desktop minimum sizes respect application zoom. Mobile browser-preview templates now use native touch emulation when available. - **Questions and permissions above the composer**: Answer native requests in a dedicated dock without losing your draft. Completed questions retain selected-option descriptions and free text, and permission decisions remain available as durable receipts. - **Native skills and web search**: Attach Location skills through `@`, view structured search results and provider-consent requests, and configure global or project web-search defaults in Preferences. - **Provider account controls**: Select, rename and remove native provider accounts, with optional Codex account rotation based on fresh quotas. Usage stays stable across catalog refreshes and repeated connection events. - **Fewer responsiveness stalls**: Event routing no longer waits behind worktree discovery, compaction-related discovery is deferred safely, and supported pending-request recovery avoids loading historical Locations. ## Files and conversation workflow - Workspace, staged/unstaged Changes and paginated Commits share file-row preview controls. Selecting a row no longer opens a preview implicitly. - Stage or unstage files with explicit actions or drag-and-drop; commit actions remain at the top of the staged section. - Workspace text and Markdown source stay editable in the central reader. Unsaved drafts survive closing or switching readers, and saving checks for external changes before overwriting. - Git image previews use the actual compared revisions rather than substituting the current file. Historical diffs remain read-only. - File trees, Git status and history serve cached snapshots and revalidate lazily; Monaco tokenizers ship locally for offline highlighting. - Question and permission queues retain stable selection and request drafts across refreshes and session navigation. Multiple requests use bounded previous/next navigation. - Full-history search fills result pages correctly and avoids redundant counting work. - Enter in a composer picker no longer accidentally submits a draft; model favorites mode persists independently of the active model. - Preview and persistent utility windows expose a close action in their existing toolbar. ## Providers, skills and native tools - Preferences separates model providers and web-search providers, including a global search default and project override. - Search results and provider-consent Forms use dedicated native presentation, with raw output retained for unrecognized responses. - `@` skill selection attaches removable badges and sends explicit native skill IDs with the prompt. - Code Mode output displays native tool-call metadata alongside the existing image/output surface. - Native provider account ordering determines the active account; environment-based connections remain read-only. - Codex quota reads follow the selected native account. Optional account rotation is opt-in, checked before prompt/command admission, and never replays a failed prompt. - Usage panels preserve quota values during provider catalog refreshes and duplicate connection notifications, and explain feature-local runtime limitations. ## Mobile, desktop and reliability - Composer context selectors and actions stay on one row; narrow conversation headers use their overflow menu and hide the timeline below 420 CSS pixels without changing the saved preference. - Manually resized composer heights are stored proportionally and adapt to visible-viewport changes, including the mobile keyboard. Long drafts remain scrollable. - Electron and Tauri desktop minimum sizes follow application zoom. Native mobile browser previews automatically apply touch emulation; iframe fallback changes dimensions only. - Tauri on macOS avoids startup geometry-event feedback; Electron avoids accessing destroyed windows during close. - OpenCode installation shows sustained progress and can recover interrupted Windows installations. - Local TLS certificates use positive serial numbers, with repair of affected local certificates. - Server information distinguishes the server platform from the client environment. - Event ownership checks use registered worktrees without joining slow discovery scans. Pending queues remain intact on incomplete coverage or recovery errors. - Missing-session errors remain identifiable for orphaned subsessions, and parent-session creation is fenced against invalid lifecycle transitions. ## Runtime and upgrading - **OpenCode 2.0.22 is the recommended and qualified runtime for this release.** The technical minimum remains **2.0.7**; feature-local API requirements do not raise the global minimum. - Codex quota reads require the native credential API introduced in **2.0.20**. Older services show feature-local unavailability rather than blocking the application. - Loaded-only pending-request recovery uses a connection-negotiated capability qualified with **2.0.22**. Older services retain their discovery behavior; updating CodeNomad alone does not give them this recovery optimization. - **Upgrade remote CodeNomad servers to 0.20.1 for the published UI.** Its manifest requires the matching backend for the new routes. - Installing or updating the OpenCode CLI does not silently restart an already-running shared service. Restart remains an explicit action. **Full Changelog**: v0.20.0...v0.20.1
2 parents 93a31f9 + 0465499 commit a8545a3

516 files changed

Lines changed: 26557 additions & 4167 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
const marker = '<!-- codenomad-pr-artifacts -->'
2+
3+
async function commentPRArtifacts({ github, context, core, allowedActors = '' }) {
4+
const { owner, repo } = context.repo
5+
const run = context.payload.workflow_run
6+
if (!run || run.event !== 'pull_request' || run.status !== 'completed' || run.conclusion !== 'success') return
7+
if (run.path !== '.github/workflows/pr-build.yml') return
8+
const artifacts = await github.paginate(github.rest.actions.listWorkflowRunArtifacts, { owner, repo, run_id: run.id, per_page: 100 })
9+
const active = artifacts.filter(artifact => !artifact.expired)
10+
if (!active.length) { core.info('No active artifacts to announce.'); return }
11+
const associated = run.pull_requests?.length ? run.pull_requests : await github.paginate(
12+
github.rest.repos.listPullRequestsAssociatedWithCommit, { owner, repo, commit_sha: run.head_sha, per_page: 100 })
13+
const allowed = new Set(allowedActors.split(',').map(actor => actor.trim()).filter(Boolean))
14+
const runUrl = `https://github.com/${owner}/${repo}/actions/runs/${run.id}`
15+
// Artifact names are untrusted display text, never code or a URL to execute.
16+
const displayName = name => String(name).replace(/[\r\n]/g, ' ').replace(/[\\`*_[\]<>]/g, '\\$&')
17+
const body = [marker, 'PR builds are available as GitHub Actions artifacts:', '', runUrl, '',
18+
'Artifacts expire according to the retention shown on the run.', 'Artifacts:',
19+
...active.map(artifact => `- ${displayName(artifact.name)}`)].join('\n')
20+
for (const number of new Set(associated.map(pr => pr.number))) {
21+
const { data: pr } = await github.rest.pulls.get({ owner, repo, pull_number: number })
22+
// A completed old run must not advertise obsolete artifacts after a push.
23+
if (pr.head.sha !== run.head_sha || pr.draft) continue
24+
if (!['dev', 'DEV-v2'].includes(pr.base.ref) && !allowed.has(pr.user.login)) continue
25+
const comments = await github.paginate(github.rest.issues.listComments, { owner, repo, issue_number: number, per_page: 100 })
26+
const existing = comments.find(comment => comment.user?.login === 'github-actions[bot]' && comment.body?.startsWith(marker))
27+
if (existing) await github.rest.issues.updateComment({ owner, repo, comment_id: existing.id, body })
28+
else await github.rest.issues.createComment({ owner, repo, issue_number: number, body })
29+
core.info(`Announced artifacts for completed run ${run.id} on PR #${number}.`)
30+
}
31+
}
32+
33+
module.exports = { commentPRArtifacts }
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
const assert = require('node:assert/strict')
2+
const { test } = require('node:test')
3+
const { commentPRArtifacts } = require('./comment-pr-artifacts.cjs')
4+
5+
function fixture() {
6+
const run = { id: 123, head_sha: 'reviewed', event: 'pull_request', status: 'completed', conclusion: 'success',
7+
path: '.github/workflows/pr-build.yml', pull_requests: [{ number: 825 }] }
8+
const pr = { head: { sha: 'reviewed' }, base: { ref: 'dev' }, user: { login: 'contributor' }, draft: false }
9+
const calls = [], writes = [], artifacts = [{ name: 'build-windows', expired: false }], comments = []
10+
const methods = { artifacts: {}, associated: {}, comments: {} }
11+
const github = {
12+
rest: { actions: { listWorkflowRunArtifacts: methods.artifacts }, repos: { listPullRequestsAssociatedWithCommit: methods.associated },
13+
pulls: { get: async () => ({ data: pr }) }, issues: {
14+
listComments: methods.comments, createComment: async input => writes.push(input), updateComment: async input => writes.push(input),
15+
} },
16+
paginate: async (method, input) => {
17+
calls.push(input)
18+
if (method === methods.artifacts) return artifacts
19+
if (method === methods.associated) return [{ number: 825 }]
20+
if (method === methods.comments) return comments
21+
throw new Error('Unexpected API')
22+
},
23+
}
24+
const execute = (allowedActors = '') => commentPRArtifacts({ github, context: { repo: { owner: 'owner', repo: 'repo' }, payload: { workflow_run: run } },
25+
core: { info() {} }, allowedActors })
26+
return { run, pr, calls, writes, artifacts, comments, execute, github }
27+
}
28+
29+
test('completed run posts artifacts without searching or waiting for another workflow', async () => {
30+
const f = fixture(); await f.execute()
31+
assert.equal(f.writes.length, 1)
32+
assert.equal(f.writes[0].issue_number, 825)
33+
assert.match(f.writes[0].body, /actions\/runs\/123/)
34+
assert.equal(f.calls[0].run_id, 123)
35+
})
36+
test('failed, canceled, incomplete and unrelated runs perform no artifact or comment calls', async () => {
37+
for (const patch of [{ conclusion: 'failure' }, { conclusion: 'cancelled' }, { status: 'in_progress' },
38+
{ event: 'push' }, { path: '.github/workflows/other.yml' }]) {
39+
const f = fixture(); Object.assign(f.run, patch); await f.execute()
40+
assert.deepEqual(f.calls, []); assert.deepEqual(f.writes, [])
41+
}
42+
})
43+
test('missing PR association uses GitHub commit association and still verifies the current head', async () => {
44+
const f = fixture(); f.run.pull_requests = []; await f.execute()
45+
assert(f.calls.some(call => call.commit_sha === 'reviewed'))
46+
assert.equal(f.writes.length, 1)
47+
})
48+
test('obsolete heads, drafts and unauthorized targets do not get artifact announcements', async () => {
49+
for (const change of [pr => { pr.head.sha = 'new-head' }, pr => { pr.draft = true }, pr => { pr.base.ref = 'main' }]) {
50+
const f = fixture(); change(f.pr); await f.execute(); assert.deepEqual(f.writes, [])
51+
}
52+
})
53+
test('expired or absent artifacts are skipped rather than falsely advertised', async () => {
54+
const f = fixture(); f.artifacts[0].expired = true; await f.execute(); assert.deepEqual(f.writes, [])
55+
})
56+
test('explicitly allowed authors retain access for non-dev PR targets', async () => {
57+
const f = fixture(); f.pr.base.ref = 'main'; await f.execute('maintainer, contributor')
58+
assert.equal(f.writes.length, 1)
59+
})
60+
test('a rerun updates only the bot-owned artifact comment', async () => {
61+
const f = fixture()
62+
f.comments.push({ id: 1, user: { login: 'contributor' }, body: '<!-- codenomad-pr-artifacts -->' },
63+
{ id: 2, user: { login: 'github-actions[bot]' }, body: '<!-- codenomad-pr-artifacts -->\nold' })
64+
await f.execute(); assert.equal(f.writes[0].comment_id, 2)
65+
})
66+
test('artifact names are escaped display text, not executable markdown content', async () => {
67+
const f = fixture(); f.artifacts[0].name = '[bad](url)\n<script>`code`'; await f.execute()
68+
assert(!f.writes[0].body.includes('<script>'))
69+
assert(f.writes[0].body.includes('\\[bad\\]'))
70+
})
71+
test('GitHub API errors remain real helper failures', async () => {
72+
const f = fixture(); f.github.paginate = async () => { throw new Error('API unavailable') }
73+
// An unavailable client must not be converted into a successful announcement.
74+
await assert.rejects(f.execute, /API unavailable/)
75+
})
Lines changed: 17 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,34 @@
11
name: Comment PR Artifacts
22

33
on:
4-
pull_request_target:
5-
types:
6-
- opened
7-
- edited
8-
- synchronize
9-
- reopened
10-
- ready_for_review
4+
workflow_run:
5+
workflows: [PR Build Validation]
6+
types: [completed]
117

128
permissions:
139
actions: read
1410
contents: read
1511
issues: write
16-
pull-requests: write
12+
pull-requests: read
1713

1814
jobs:
1915
comment:
2016
runs-on: ubuntu-latest
21-
env:
22-
ALLOWED_ACTORS: ${{ vars.ALLOWED_NON_DEV_PR_ACTORS }}
23-
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
24-
BASE_REF: ${{ github.event.pull_request.base.ref }}
25-
IS_DRAFT: ${{ github.event.pull_request.draft }}
26-
PR_NUMBER: ${{ github.event.pull_request.number }}
27-
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
28-
RETENTION_DAYS: 7
17+
# A failed validation remains red in its own workflow, not a second
18+
# misleading failure in a helper with no artifacts to announce.
19+
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
2920
steps:
30-
- name: Check PR authorization
31-
id: auth
32-
shell: bash
33-
run: |
34-
set -euo pipefail
35-
if [ "$BASE_REF" = "dev" ] || [ "$BASE_REF" = "DEV-v2" ]; then
36-
echo "allowed=true" >> "$GITHUB_OUTPUT"
37-
exit 0
38-
fi
39-
40-
normalized=",${ALLOWED_ACTORS},"
41-
if [[ "$normalized" == *",${PR_AUTHOR},"* ]]; then
42-
echo "allowed=true" >> "$GITHUB_OUTPUT"
43-
else
44-
echo "allowed=false" >> "$GITHUB_OUTPUT"
45-
fi
46-
47-
- name: Wait for PR build and comment
48-
if: ${{ steps.auth.outputs.allowed == 'true' && env.IS_DRAFT != 'true' }}
21+
- name: Checkout trusted default-branch helper only
22+
uses: actions/checkout@v4
23+
with:
24+
ref: ${{ github.event.repository.default_branch }}
25+
persist-credentials: false
26+
- name: Comment completed PR build artifacts
4927
uses: actions/github-script@v8
28+
env:
29+
ALLOWED_ACTORS: ${{ vars.ALLOWED_NON_DEV_PR_ACTORS }}
5030
with:
5131
github-token: ${{ secrets.GITHUB_TOKEN }}
5232
script: |
53-
const owner = context.repo.owner;
54-
const repo = context.repo.repo;
55-
const prNumber = Number(process.env.PR_NUMBER);
56-
const headSha = process.env.HEAD_SHA;
57-
const retentionDays = Number(process.env.RETENTION_DAYS || '7');
58-
const marker = '<!-- codenomad-pr-artifacts -->';
59-
60-
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
61-
62-
const maxAttempts = 90;
63-
let matchedRun = null;
64-
for (let attempt = 1; attempt <= maxAttempts; attempt += 1) {
65-
const runs = await github.paginate(github.rest.actions.listWorkflowRuns, {
66-
owner,
67-
repo,
68-
workflow_id: 'pr-build.yml',
69-
event: 'pull_request',
70-
per_page: 100,
71-
});
72-
73-
const matchingRuns = runs
74-
.filter((run) => run.head_sha === headSha)
75-
.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));
76-
77-
matchedRun = matchingRuns[0] || null;
78-
if (matchedRun && matchedRun.status === 'completed') {
79-
break;
80-
}
81-
82-
core.info(`Waiting for PR Build Validation run for ${headSha} (attempt ${attempt}/${maxAttempts})`);
83-
await sleep(20000);
84-
}
85-
86-
if (!matchedRun) {
87-
core.setFailed(`Could not find PR Build Validation run for ${headSha}.`);
88-
return;
89-
}
90-
91-
if (matchedRun.status !== 'completed') {
92-
core.setFailed(`PR Build Validation run ${matchedRun.id} did not complete in time.`);
93-
return;
94-
}
95-
96-
if (matchedRun.conclusion !== 'success') {
97-
core.setFailed(`PR Build Validation run ${matchedRun.id} concluded ${matchedRun.conclusion}.`);
98-
return;
99-
}
100-
101-
const artifacts = await github.paginate(
102-
github.rest.actions.listWorkflowRunArtifacts,
103-
{ owner, repo, run_id: matchedRun.id, per_page: 100 }
104-
);
105-
const active = artifacts.filter((artifact) => !artifact.expired);
106-
107-
const runUrl = matchedRun.html_url;
108-
const artifactsBlock = active.length
109-
? ['Artifacts:', ...active.map((artifact) => `- ${artifact.name}`)].join('\n')
110-
: 'Artifacts: (none found on this run)';
111-
112-
const body = [
113-
marker,
114-
'PR builds are available as GitHub Actions artifacts:',
115-
'',
116-
runUrl,
117-
'',
118-
`Artifacts expire in ${retentionDays} days.`,
119-
artifactsBlock,
120-
].join('\n');
121-
122-
const created = await github.rest.issues.createComment({
123-
owner,
124-
repo,
125-
issue_number: prNumber,
126-
body,
127-
});
128-
core.info(`Created artifacts comment: ${created.data.html_url}`);
33+
const { commentPRArtifacts } = require('./.github/scripts/comment-pr-artifacts.cjs');
34+
await commentPRArtifacts({ github, context, core, allowedActors: process.env.ALLOWED_ACTORS });

‎.github/workflows/pr-build.yml‎

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ jobs:
106106
$plugin = Join-Path $env:PRUNING_NATIVE_INSTALL 'node_modules/@neuralnomads/codenomad-session-pruning'
107107
$fixtures = node -p "require('node:path').join(require('node:fs').realpathSync(require('node:os').tmpdir()), 'opencode')"
108108
"PRUNING_NATIVE_FIXTURES=$fixtures" >> $env:GITHUB_ENV
109-
node scripts/test-session-pruning-native.mjs $cli $plugin
109+
node scripts/run-session-pruning-native.mjs $cli $plugin
110110
if ($LASTEXITCODE) { exit $LASTEXITCODE }
111111
npm run build:pruning --workspace @neuralnomads/codenomad
112112
if ($LASTEXITCODE) { exit $LASTEXITCODE }
113113
node --import tsx --test packages/server/src/opencode/pruning-installation.test.ts
114114
if ($LASTEXITCODE) { exit $LASTEXITCODE }
115-
node scripts/test-session-pruning-native.mjs $cli --ui
115+
node scripts/run-session-pruning-native.mjs $cli --ui
116116
- name: Upload isolated native failure diagnostics
117117
if: ${{ failure() && env.PRUNING_NATIVE_FIXTURES != '' }}
118118
uses: actions/upload-artifact@v4
@@ -123,6 +123,8 @@ jobs:
123123
${{ env.PRUNING_NATIVE_FIXTURES }}/codenomad-pruning-native-*/before-restart.log
124124
${{ env.PRUNING_NATIVE_FIXTURES }}/codenomad-pruning-native-*/discovery.json
125125
${{ env.PRUNING_NATIVE_FIXTURES }}/codenomad-pruning-native-*/ui-*.png
126+
${{ env.PRUNING_NATIVE_FIXTURES }}/codenomad-pruning-native-*/test-diagnostics.jsonl
127+
${{ env.PRUNING_NATIVE_FIXTURES }}/native-fixture-run-*/
126128
if-no-files-found: ignore
127129
retention-days: 7
128130
- name: Upload opt-in plugin package
@@ -227,6 +229,9 @@ jobs:
227229
- name: Test desktop packaging invariants
228230
run: node --test scripts/desktop-server-resources.test.cjs scripts/prepare-node-runtime.test.cjs
229231

232+
- name: Test CI fixture diagnostics and artifact announcements
233+
run: node --test scripts/native-fixture-diagnostics.test.mjs .github/scripts/comment-pr-artifacts.test.cjs
234+
230235
- name: Test Electron client state
231236
env:
232237
CODENOMAD_TEST_ZSH: /bin/zsh
@@ -331,7 +336,10 @@ jobs:
331336
packages/ui/src/stores/session-list-startup.test.ts
332337
packages/ui/src/stores/app-tabs.test.ts
333338
packages/ui/src/stores/forms.test.ts
339+
packages/ui/src/stores/preferences-favorites-mode.test.ts
334340
packages/ui/src/stores/instances-restore-ownership.test.ts
341+
packages/ui/src/stores/instances-pending-compaction.test.ts
342+
packages/ui/src/stores/instances-pending-requests.test.ts
335343
packages/ui/src/stores/message-v2/bus.test.ts
336344
packages/ui/src/stores/message-v2/transcript-eviction.test.ts
337345
packages/ui/src/stores/opencode-data.test.ts
@@ -376,6 +384,9 @@ jobs:
376384
working-directory: packages/tauri-app/src-tauri
377385
run: CODENOMAD_TEST_ZSH=/bin/zsh CODENOMAD_TEST_NODE="$(command -v node)" cargo test --locked
378386

387+
- name: Test owned Tauri zoom input script
388+
run: node --test packages/tauri-app/tests/window-zoom-script.test.mjs
389+
379390
tests-tauri-windows:
380391
needs: authorize
381392
if: ${{ needs.authorize.outputs.allowed == 'true' && !github.event.pull_request.draft }}
@@ -410,6 +421,9 @@ jobs:
410421
working-directory: packages/tauri-app/src-tauri
411422
run: cargo test --locked -- --test-threads=1
412423

424+
- name: Test owned Tauri zoom input script
425+
run: node --test packages/tauri-app/tests/window-zoom-script.test.mjs
426+
413427
- name: Reproduce and prevent Tao input deadlocks
414428
run: node scripts/test-tauri-input-deadlock.mjs --baseline
415429

@@ -523,6 +537,16 @@ jobs:
523537
working-directory: packages/tauri-app/src-tauri
524538
run: CODENOMAD_TEST_ZSH=/bin/zsh CODENOMAD_TEST_NODE="$(command -v node)" cargo test --locked -- --test-threads=4
525539

540+
- name: Reproduce and prevent macOS window event feedback
541+
timeout-minutes: 10
542+
run: |
543+
node --test scripts/test-tauri-macos-window-result.test.mjs
544+
node scripts/test-tauri-macos-window.mjs --baseline
545+
node scripts/test-tauri-macos-window.mjs --baseline
546+
547+
- name: Test owned Tauri zoom input script
548+
run: node --test packages/tauri-app/tests/window-zoom-script.test.mjs
549+
526550
- name: Test desktop shell startup on macOS
527551
env:
528552
CODENOMAD_TEST_ZSH: /bin/zsh

‎.opencode/skills/codenomad-architecture-guide/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ description: |
1818

1919
- Runtime requirements live in `opencode/runtime-support.ts`; each blocking requirement needs demonstrated API/behavior evidence. Distinguish technically incompatible, recommended/tested and unverified versions. Setup uses bundled Node/npm and a versioned user prefix; shared-daemon restart is explicit and uses the existing native-parent launch bridge. Retire obsolete wire translations while retaining current identity/authority checks. See `dev-docs/OPENCODE_V2_POST_BETA.md` for precise retirement boundaries and validation evidence.
2020

21-
- Server and UI pin the official `@opencode/client@2.0.16` together; the pruning plugin pins `@opencode/plugin@2.0.16`. Review official V2 docs, installed declarations, generated wire paths and native integration tests when upgrading. Qualify against the latest published stable runtime, but never infer the minimum from that version or from the dependency pin. Record technical minimum requirements and tested scenarios in PR/CI logs and update `dev-docs/OPENCODE_V2_COMPATIBILITY.md` in place rather than adding per-version reports. The runtime CLI is managed independently.
21+
- Server and UI pin the official `@opencode/client@2.0.21` together; the pruning plugin pins `@opencode/plugin@2.0.21`. Review official V2 docs, installed declarations, generated wire paths and native integration tests when upgrading. Qualify against the latest published stable runtime, but never infer the minimum from that version or from the dependency pin. Record technical minimum requirements and tested scenarios in PR/CI logs and update `dev-docs/OPENCODE_V2_COMPATIBILITY.md` in place rather than adding per-version reports. The runtime CLI is managed independently.
2222
- Do not use `@opencode-ai/sdk`, `@opencode-ai/sdk/v2/client`, or `createOpencodeClient()`; follow installed `@opencode/client` declarations.
2323
- There is no legacy `packages/opencode-plugin/`. Do not restore the V1 compatibility runtime or add general plugin extension points. The narrow integrations are the bundled `codenomad.automation` plugin and bundled session-pruning RPC; see `dev-docs/DEVELOPER_MODE.md`, `dev-docs/BROWSER_AUTOMATION.md` and `dev-docs/SESSION_PRUNING_RPC.md`. All automation tools follow backend presence without a Developer Mode gate, sharing the authenticated native transport and execution-time session/window fences.
2424
- The server uses the selected host or WSL CLI's official `service status`, `service start`, and `service get password` lifecycle to connect to one externally owned global OpenCode daemon. It owns no private port/database/registration/PID and never stops the daemon on backend shutdown. WSL requires Windows localhost forwarding and uses no cross-namespace PID operations.

0 commit comments

Comments
 (0)