Changelog
2026-05-03 - anet demo subcommands and bug fixes
Version sync: anet@2.0.3-preview.4 / agent-node@2.2.0-preview.1 / dashboard@0.2.1-preview.1 / commhub-server@0.5.3-preview.0
New Features
anet demo ls- list available demosanet demo debate- one-command 6-agent debate demo--topic "..."debate topic--key sk-cp-xxxMiniMax API key, defaulting to$MINIMAX_KEY--quickshortened 4-step run--keepkeep temporary agents and network after the run--out path.mdtranscript output path
anet demo monitor- kept as the oldanet demo --livealias
Fixes
- anet CLI:
--runtime http-apinow starts throughagent-nodeinstead of falling into the Claude CLI branch. - agent-node: HTTP runtime reads
ANTHROPIC_AUTH_TOKENfor MiniMax-compatible configs. - dashboard: fixed repeated SSE reconnects caused by inline
onEventcallbacks. - hub-only.sh: rewritten with swap setup, sudoers NOPASSWD, linger, and optional systemd user autostart.
2026-04-30 - Parent Task Lineage + Auto-Chain Reply
commhub-server@0.5.3-preview.0
- Added
parent_task_idto tasks andchainReplyToParent()to keep multi-agent chains connected. send_taskacceptsparent_task_idand can infer it from the caller's recent open task.send_reply/report_completionforward results up the parent chain automatically.agent-nodeinjectsCURRENT_TASK_IDand prompts the LLM to passparent_task_id.
2026-04-26 - Hub Server Logs Page + V2 Lineage Foundation
commhub-server@0.5.2-preview.0 / dashboard@0.2.1-preview.0 / anet@2.0.3-preview.1
- Dashboard
/server-logspage for live hub stdout. - REST
GET /api/server-logsfor admin users. - Hub banner and
/healthshow the published version.
2026-04-15 - V3 Stable: Multi-Network + User System + Trial License
Agent Network V3 - Multi-Network + Commercial Ready (commhub-server 0.5.x, anet 2.0.x)
- Multi-network isolation for nodes, tasks, and sessions.
- Username/password accounts, JWT, and the
utok_+ntok_token system. - 14-day trial licensing and Pro activation.
- 39 CLI commands, 18 MCP tools, and 17 REST endpoint families.
- 3 runtimes:
claude-agent-sdk,codex-sdk, andhttp-api. - Audit logs, rate limiting, and PostgreSQL support through the
DbAdapter.
v1.0.0-preview.25 (2026-04-11)
PostgreSQL + Adapter Architecture
New features:
- PostgreSQL support: Enable via
DATABASE_URL=postgres://...(SQLite remains the default) - DbAdapter interface: Unified database abstraction layer (SQLiteAdapter + PgAdapter)
- SQL auto-translator:
sqliteToPostgres()handles datetime->NOW, ?N->$N, AUTOINCREMENT->SERIAL - 34 CLI commands: Added passwd, token (create/ls/revoke), network (info/rename/delete), demo, config, license, activate, hub start
- 17 REST endpoints: Added PUT /api/networks/:id, DELETE /api/networks/:id, POST /api/auth/password, token CRUD
- One-click demo:
bash examples/demo-one-click.sh-- 60-second automated demo - createAdapter() factory: Environment-driven database selection
Architecture improvements:
- All 85+
db.query()calls migrated to adapter methods (db.get(),db.all(),db.run()) - All 7 manual
BEGIN/COMMIT/ROLLBACKtransactions converted todb.transaction() - Zero raw database access -- all code goes through the
DbAdapterinterface - SQL translator handles 161 SQL fragments across 4 source files
Testing:
- 200 Docker E2E tests (137 core + 25 auth + 22 network + 16 config)
- 19 adapter-specific E2E tests
- 10 SQL translator unit tests
v1.0.0-preview (2026-04-10)
Agent Network V3 -- Multi-Network + Commercial Ready
New features:
- Multi-network support: Create isolated networks, each with independent nodes/tasks/sessions
- User system: Username + password registration/login, API token authentication
- Trial licensing: 14-day free trial, license key activation for Pro
- 39 CLI commands: quickstart, login, register, passwd, token, network (create/ls/use/info/rename/delete), status, tasks, doctor, info, logs, demo, config, license, activate, hub start...
- 18 MCP tools: send_task, send_reply, retry_task, cancel_task, reassign_task, list_tasks, get_task...
- 17 REST endpoints: /api/auth/, /api/networks/, /api/tasks, /api/nodes, /api/stats, /api/audit-log, /api/license...
- 2 AI runtimes: codex-sdk (GPT-5.4), claude-agent-sdk (Claude / MiniMax / OpenAI-compatible)
- Audit logging: All user operations + task state changes recorded
- Rate limiting: Registration 30/min, login 10/min per IP
Security:
- MCP/SSE/WebSocket authentication
- Server-side enforced network_id (token-bound, client cannot override)
- SQL injection fix (all parameterized queries)
- Network ownership checks (cross-user access returns 403)
- Password hashing (SHA-256)
- Localhost rate limit exemption (dev/testing)
Database (13 tables): sessions, inbox, tasks, nodes, completions, task_events, users, networks, api_tokens, audit_log, licenses, network_members, network_invites
Testing (200 regression tests):
- Core E2E: 137 tests (node lifecycle, message lifecycle, auth, authorization, SSE, concurrency)
- Auth suite: 25 tests (registration, login, token, profile, password, audit, rate limiting)
- Network suite: 22 tests (CRUD, isolation, ownership, rename, delete, cross-user)
- Config priority: 16 tests (CLI > env > project > global)
- Real AI: Codex GPT-5.4 + MiniMax (Anthropic API) verified
- 10-agent idiom chain (mixed codex + minimax)
npm packages:
- @sleep2agi/agent-network (anet CLI)
- @sleep2agi/agent-node (Agent runtime)
- @sleep2agi/commhub-server (Communication hub)
v0.x (2026-03 ~ 2026-04-09) -- Pre-V3
Core Feature Development
- CommHub Server: MCP + SSE-based communication hub
- agent-node: Dual-engine runtime (Claude + Codex)
- anet CLI: create / start / resume / channel and other basic commands
- Dashboard: Initial version
- Message types: task / reply / message / ack type differentiation
- Channel plugins: Claude Code CommHub integration
Early Milestones
| Version | Date | Content |
|---|---|---|
| v0.1 | Early 2026-03 | Basic CommHub + SSE |
| v0.3 | Mid 2026-03 | agent-node dual engine |
| v0.5 | Late 2026-03 | anet CLI + Channel |
| v0.7 | Early 2026-04 | Dashboard + message types |
| v0.9 | 2026-04-09 | Multi-model support (MiniMax, InternLM) |
Roadmap
V3.14 -- Permission Enhancements
- MCP write operations check network roles
- Token scope (full/agent/readonly) full implementation
- Dashboard button visibility based on roles
V3.15 -- Public Networks
- Network visibility settings
- Auto-join public networks as viewer
- Member application + owner approval flow
V4.0 -- Enterprise Features
- bcrypt password hashing
- Optional PostgreSQL backend (already supported)
- SSO integration
- Webhook callbacks
- Task scheduling (cron tasks)