@cabane/companion 0.6.19 → 0.6.21
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/dist/cli.js +293 -676
- package/dist/pairing-config.js +47 -9
- package/dist/runtime.js +234 -648
- package/dist/static/app.js +11 -3
- package/package.json +2 -1
package/dist/static/app.js
CHANGED
|
@@ -137,9 +137,17 @@ function renderHarnesses() {
|
|
|
137
137
|
|
|
138
138
|
if (h.detail) li.append(el('p', 'harness-detail', h.detail));
|
|
139
139
|
|
|
140
|
-
// Friendly enable — never install, never login (BYO).
|
|
141
|
-
// flag
|
|
142
|
-
|
|
140
|
+
// Friendly enable — never install, never login (BYO). Claude Code and Codex are
|
|
141
|
+
// one-click flag flips; opencode takes a URL we validate is reachable before
|
|
142
|
+
// writing. CT1082: Claude Code is connectable here too — it used to be exposed
|
|
143
|
+
// the moment it was installed, with nothing to click.
|
|
144
|
+
if (h.enable === 'claude-code') {
|
|
145
|
+
const btn = el('button', 'primary small', 'Connect Claude Code');
|
|
146
|
+
btn.addEventListener('click', () => void enableHarness({ runtime: 'claude-code' }, btn));
|
|
147
|
+
const wrap = el('div', 'harness-enable');
|
|
148
|
+
wrap.append(btn);
|
|
149
|
+
li.append(wrap);
|
|
150
|
+
} else if (h.enable === 'codex') {
|
|
143
151
|
const btn = el('button', 'primary small', 'Use Codex');
|
|
144
152
|
btn.addEventListener('click', () => void enableHarness({ runtime: 'codex' }, btn));
|
|
145
153
|
const wrap = el('div', 'harness-enable');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabane/companion",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The Cabane Companion (headless): connect a coding agent on your machine to your Cabane workspace as a responder — drive work against your own codebase, files, and MCP servers without putting any of it in Cabane.",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@anthropic-ai/claude-agent-sdk": "0.3.233",
|
|
32
|
+
"@openai/codex-sdk": "0.147.0",
|
|
32
33
|
"@hono/node-server": "1.19.14",
|
|
33
34
|
"@inquirer/prompts": "7.10.1",
|
|
34
35
|
"commander": "12.1.0",
|