Skip to content

anet 2.2.13 — connection reliability hardening (#245 series)

Choose a tag to compare

@s2agi s2agi released this 17 Jun 07:19
· 5309 commits to main since this release

anet 2.2.13 — connection reliability hardening (#245 connection-reliability series)

CLI-only patch. No agent-node or commhub-server changes — anet upgrade will only touch the CLI. PINNED commhub-server@0.8.5 unchanged.

🌟 What's new (#245 series, 6 commits)

Surface What it does
commhub MCP dependency self-heal If .anet/node_modules is missing @modelcontextprotocol/sdk, the CLI now re-runs bun install once + fails loud with a copy-pasteable fix if the second attempt still fails. No more silent "node receives but tools missing" debugging.
anet channel status [node-id] (new command) Per telegram node: resolved TELEGRAM_STATE_DIR, access.json path, dmPolicy, allowFrom, pending pairings, groups. Editing the wrong access.json copy was previously an hour-long debug — this surfaces which one the running node actually reads.
anet channel add warning When the target node is already running, the channel's MCP server can't be picked up at the running session — warns the operator that add looks like a silent success but the token won't take effect until a restart.
anet doctor connectivity section (new) Surfaces commhub MCP dependency state, per-node telegram channel state, missing CLIs (claude / codex / bun). Run when "messages aren't arriving" — covers 5+ failure modes from the same operator runbook.
anet node start / resume: previously-failed channel warning When the latest log shows a channel plugin failure (e.g. TELEGRAM_BOT_TOKEN required because the user ran anet channel add AFTER anet node start) AND the user has since added the token, the CLI warns: resume can't retry the channel because Claude caches the failure in-process; the fix is anet node stop && anet node start — preserves conversation history (--resume <session-uuid> still loads it) while the fresh claude process re-attempts every channel. No history loss in the recommended path.
docs/troubleshooting/connectivity-runbook.md New troubleshooting runbook with the failure shape → fix-command mapping for the most common telegram + commhub MCP issues.

📦 Install (new users)

npm i -g @sleep2agi/agent-network@latest
anet --version    # should print: anet v2.2.13

anet hub start will lazy-fetch commhub-server@0.8.5 (PINNED, unchanged).
First anet node start will lazy-fetch agent-node@2.4.10 (latest, unchanged).

🔄 Upgrade (existing users)

anet upgrade
# or, narrow upgrade of just the CLI:
npm i -g @sleep2agi/agent-network@latest

⚠️ No node restart needed — this patch is CLI-only. Already-running agent-node / hub processes are unaffected. Restart only if you want to exercise the new warn message in anet node start.

📦 Components shipped

Package latest
@sleep2agi/agent-network 2.2.13 ⬆ (from 2.2.12)
@sleep2agi/agent-node 2.4.10 (unchanged)
@sleep2agi/commhub-server 0.8.5 (unchanged)

PINNED_SERVER_VERSION = "0.8.5" (unchanged).

🙏 Credits

  • #245 series design + 5 commits: 通信龙 (commhub MCP self-heal + channel status + channel-add warn + anet doctor + troubleshooting runbook)
  • #245 task E (resume warn) + release ops: 通信工程马
  • Real-machine retro that drove the series: TMCode 负责人 + 通信龙
  • UAT gate: Vincent

Full Changelog: v0.10.15...v2.2.13