@agentproto/adapter-jcode 0.2.1 → 0.2.2
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/JCODE.md +9 -3
- package/package.json +2 -2
package/JCODE.md
CHANGED
|
@@ -6,8 +6,15 @@ coordination, and broad provider support.
|
|
|
6
6
|
|
|
7
7
|
## Protocol
|
|
8
8
|
|
|
9
|
-
`print` — spawns `jcode run "<prompt>"` per turn
|
|
10
|
-
|
|
9
|
+
`print` — spawns `jcode run --ndjson "<prompt>"` per turn and parses the
|
|
10
|
+
NDJSON event stream (`jcode-stream-json` schema). No ACP or interactive
|
|
11
|
+
mode is currently documented.
|
|
12
|
+
|
|
13
|
+
If the adapter cannot spawn `jcode` because a required interactive setup
|
|
14
|
+
step needs a TTY, the spawn fails fast with exit code `78`
|
|
15
|
+
(`EXIT_SETUP_NEEDS_TTY`) and the install result carries
|
|
16
|
+
`needsInteractiveSetup: true` so callers can offer an "Open Setup Terminal"
|
|
17
|
+
option.
|
|
11
18
|
|
|
12
19
|
## Installation
|
|
13
20
|
|
|
@@ -50,6 +57,5 @@ Interactive login is also available: `jcode login --provider <name>`.
|
|
|
50
57
|
## Known gaps
|
|
51
58
|
|
|
52
59
|
- No ACP mode — adapter uses print/headless arm
|
|
53
|
-
- No structured JSON streaming output — events are raw text
|
|
54
60
|
- Swarm coordination not yet wired into the adapter
|
|
55
61
|
- Browser tool (Firefox Agent Bridge) not exposed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentproto/adapter-jcode",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "@agentproto/adapter-jcode — AIP-45 adapter for 1jehuang/jcode, a RAM-efficient Rust coding agent. Spawns `jcode run` in headless mode.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentproto",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@agentproto/driver-agent-cli": "2.3.0",
|
|
45
|
-
"@agentproto/model-catalog": "0.8.
|
|
45
|
+
"@agentproto/model-catalog": "0.8.4",
|
|
46
46
|
"@agentproto/provider-kit": "0.4.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|