@sleep2agi/agent-network 2.3.0-preview.32 → 2.3.0-preview.34

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/README.md CHANGED
@@ -14,7 +14,7 @@ Run a local network of AI agents from one CLI.
14
14
  Agent Network is a local-first multi-agent runtime:
15
15
 
16
16
  - **CommHub**: MCP + REST + SSE hub for task routing, auth, networks, and status.
17
- - **Agent nodes**: long-running AI workers backed by Claude Code, Claude Agent SDK, Codex SDK, or Grok Build ACP.
17
+ - **Agent nodes**: long-running AI workers backed by Claude Code, Claude Agent SDK, Codex SDK, Codex app-server, Grok Build ACP, or OpenCode ACP.
18
18
  - **Dashboard**: browser UI for topology, chat, tasks, node health, and server telemetry.
19
19
  - **CLI**: `anet`, the single entry point for setup, auth, node lifecycle, and demos.
20
20
 
@@ -49,6 +49,14 @@ npm install -g @sleep2agi/agent-network@preview
49
49
  anet -v
50
50
  ```
51
51
 
52
+ Canonical OpenCode preview (exact vetted pair; automatic `npx` fallback is intentionally disabled):
53
+
54
+ ```bash
55
+ npm install -g @sleep2agi/agent-network@2.3.0-preview.34 \
56
+ @sleep2agi/agent-node@2.5.0-preview.26 \
57
+ opencode-ai@1.18.1
58
+ ```
59
+
52
60
  Current npm dist-tags verified on 2026-05-28 (v0.10.11 stable):
53
61
 
54
62
  | Package | latest | preview |
@@ -98,8 +106,8 @@ anet node start my-bot
98
106
 
99
107
  `anet node create` walks you through:
100
108
 
101
- 1. Runtime: `claude-code-cli`, `claude-agent-sdk`, `codex-sdk`, or `grok-build-acp`.
102
- 2. Provider preset: Anthropic, MiniMax, InternLM, Xiaomi MiMo, or `custom` (any Anthropic-compatible endpoint — used for DeepSeek / GLM / Kimi / OpenRouter etc.; codex-sdk for OpenAI Codex; grok-build-acp for xAI Grok).
109
+ 1. Runtime: `claude-agent-sdk`, `claude-code-cli`, `codex-sdk`, `codex-app-server`, `grok-build-acp`, or `opencode-cli` (the canonical preview picker has exactly these 6 choices).
110
+ 2. Provider preset: Anthropic, MiniMax, InternLM, Xiaomi MiMo, or `custom` (any Anthropic-compatible endpoint — used for DeepSeek / GLM / Kimi / OpenRouter etc.; Codex runtimes reuse Codex auth; grok-build-acp reuses Grok auth; opencode-cli offers Anthropic/OpenAI presets).
103
111
  3. API key and model settings.
104
112
 
105
113
  When the node starts successfully, look for:
@@ -154,7 +162,9 @@ Do not expose the hub directly to the public internet without a reverse proxy, H
154
162
  | `claude-code-cli` | You want Claude Code CLI sessions and channel support | Uses Claude Code process; supports stable `COMMHUB_RESUME_ID` in recent previews |
155
163
  | `claude-agent-sdk` | You want Anthropic-compatible API providers | Good default for provider presets |
156
164
  | `codex-sdk` | You want Codex-backed nodes | Useful as a backup runtime when Claude quota is constrained |
165
+ | `codex-app-server` | You want a Codex TUI thread shared with network tasks | Canonical preview; connects to the local app-server over WebSocket |
157
166
  | `grok-build-acp` | You want Grok Build through `grok agent stdio` | Requires Grok Build CLI auth; stable for receive/reply, session persistence, and explicit `send_task` delegation |
167
+ | `opencode-cli` | You want public OpenCode ACP with Anthropic/OpenAI presets | Canonical preview; exact `opencode-ai@1.18.1` and exact network/node pair required |
158
168
 
159
169
  ### Grok Build ACP
160
170
 
package/dist/bin/cli.d.ts CHANGED
@@ -11,4 +11,4 @@
11
11
  */
12
12
  import { normalizeRuntime, type RuntimeName } from "../src/normalize-runtime";
13
13
  export { normalizeRuntime, type RuntimeName };
14
- export declare const OPENCODE_PINNED_VERSION = "1.17.13";
14
+ export declare const OPENCODE_PINNED_VERSION = "1.18.1";