backeer-opencode 0.7.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +10 -7
- package/dist/backeer-permission.js +1306 -996
- package/docs/live-control.md +15 -1
- package/package.json +3 -2
- package/src/live-bridge-client.js +34 -6
- package/src/live-bridge-config.js +3 -1
- package/src/live-bridge-events.js +3 -1
- package/src/live-bridge.js +83 -26
- package/src/live-control-client.js +24 -3
- package/src/live-control-mcp.js +8 -2
- package/src/live-errors.js +19 -0
- package/src/live-managed-mcp.js +9 -3
- package/src/live-question-tools.js +13 -0
- package/src/live-questions.js +49 -0
- package/src/live-session-manager.js +10 -0
- package/src/live-session-scope.js +42 -0
- package/src/opencode-v2-client.js +40 -20
- package/src/opencode-v2-endpoint.js +54 -0
- package/src/opencode-v2-forms.js +18 -7
- package/src/opencode-v2-tui.js +49 -0
- package/src/plugin.js +3 -1
- package/src/question-command.js +13 -8
- package/src/updates.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `backeer-opencode` are documented here.
|
|
4
4
|
|
|
5
|
+
## 0.8.1 - 2026-11-03
|
|
6
|
+
|
|
7
|
+
- Resolve an existing private V2 server before shared-service discovery; verify native API PID and exact session/project without starting a service or hardcoded ports/session IDs.
|
|
8
|
+
- Discover Linux ephemeral listeners only from the current process's socket inodes; retain compatible owning shared-service and verified worktree handling.
|
|
9
|
+
- Return allowlisted native-question diagnostics without exposing upstream text or credentials.
|
|
10
|
+
|
|
11
|
+
## 0.8.0 - 2026-11-03
|
|
12
|
+
|
|
13
|
+
- Add `list_questions` and `answer_question` to both MCP adapters: pending text/options, single/multiple selection and custom text answers.
|
|
14
|
+
- Rehydrate pending questions from OpenCode after reconnect, scoped to the exact session and project. Reuse existing native V1/V2 question reply adapters.
|
|
15
|
+
- Pin answers to a question revision and option indices, retain idempotent delivery, and exclude permission/authentication forms. Mobile approvals remain unchanged.
|
|
16
|
+
|
|
5
17
|
## 0.7.0 - 2026-11-03
|
|
6
18
|
|
|
7
19
|
- Add bounded first-run discovery of known loopback endpoints and protected token files, project detection and validated profile saving through MCP.
|
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ Version 0.6.0 also supports saved connections and separate per-chat session
|
|
|
69
69
|
bindings. Set `BACKEER_LIVE_PROFILES_FILE` on the local MCP adapter, or use the
|
|
70
70
|
bundled connection tools in `backeer-codex` 0.3.0. Existing `BACKEER_LIVE_URL` /
|
|
71
71
|
`BACKEER_LIVE_TOKEN_FILE` single-connection configuration still exposes its
|
|
72
|
-
original
|
|
72
|
+
original tools, plus ordinary question reading/answering in 0.8.0. See [per-chat connections](docs/live-control.md#per-chat-connections).
|
|
73
73
|
|
|
74
74
|
## Requirements
|
|
75
75
|
|
|
@@ -301,12 +301,15 @@ authentication and other forms are never exported. Events from other locations
|
|
|
301
301
|
are ignored. V2 has no native `todo.updated` event, so todo notifications are
|
|
302
302
|
disabled there regardless of the `todos` option.
|
|
303
303
|
|
|
304
|
-
V2
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
304
|
+
V2 question reads/replies use the official authenticated client API. For an
|
|
305
|
+
existing private stdio server, 0.8.1 first verifies its own native API and PID;
|
|
306
|
+
a Linux ephemeral port is discovered only from that process's socket inodes.
|
|
307
|
+
An explicit private `--port` also works without Linux socket discovery.
|
|
308
|
+
Other processes retain compatible shared-service discovery. Exact session and
|
|
309
|
+
project/worktree ownership are checked before reading or answering. The plugin
|
|
310
|
+
never starts another service, moves a session or changes authentication. An
|
|
311
|
+
unverifiable private server fails explicitly rather than selecting a different
|
|
312
|
+
shared service.
|
|
310
313
|
|
|
311
314
|
The V1 event mappings are:
|
|
312
315
|
|