Repository navigation
anet v2.2.15 — APP cold-open perf fix (#220) + Phase A carry
Headline ship: a single perf knob shrinks /api/status ~5x for the
mobile APP (agent-network-app, RFC-022). Bundles with the four
already-soaked Phase A carry commits.
🌟 What's new (#220 APP perf — light=1)
The agent-network-app mobile client only consumes 6 of the 30+ fields
the full /api/status returns; on a 150-agent network the unused
fields blew through the APP's 12 s AbortController timeout on flaky
cellular, leaving Vincent's cold open spinning then aborting.
/api/status?light=1 returns a narrow projection — alias / status / agent / task / server / updated_at plus runtime and network_id.
full /api/status |
/api/status?light=1 |
|
|---|---|---|
| keys per session | 39 | 8 |
| host telemetry block | yes (10 fields) | dropped |
| process_telemetry block | yes (5 fields) | dropped |
output column |
yes | dropped |
| body for 200 synthetic sessions | 234,668 B | 45,992 B |
Docker smoke (node:24-alpine, fresh npm i -g @sleep2agi/agent-network@preview):
/api/status full = 234,668 B
/api/status?light=1 = 45,992 B
RATIO = 5.10x smaller
SAVINGS = 80.4 %
summary match: true (idle/working/offline/total identical to full)
Default /api/status shape is preserved bit-for-bit — the dashboard
and any scripts that read host telemetry / process_telemetry continue
to work unchanged. Older APP clients ignore the unknown query param
and get the full payload — opt-in, zero regression.
📦 Phase A carry — 4 commits soaked since 2026-06-11
Each landed on main six days ago and rode 0.8.6-preview.0 through
today's promote.
| Commit | Issue | What it does |
|---|---|---|
72fc790 |
#221 | POST /api/upload + GET /api/files/:file_id + /api/tasks attachments — 12 MiB upload cap with defense-in-depth (Content-Length pre-check, parsed-size post-check, Bun-level maxRequestBodySize knob) |
6068e36 |
#223 | dependabot cleanup — 11 vuln advisories addressed across hono / mermaid / vite / esbuild / qs |
2dc166c |
#224 | hardens rename alias routing — fixes a routing edge case where post-rename outbound messages could land on the stale alias |
1fcb806 |
#227 | guards public login attempts — surfaces a friendlier error on invalid credentials, doesn't leak whether a username exists |
🐛 Bugs fixed
- #220 — APP cold open timed out on cellular against a 150-agent
hub. Root cause: full/api/statuspayload (~180 KB+ on
production-realistic data) plus the APP's 12 s abort timeout. Fixed
in commhub-server0.8.6via?light=1narrow projection and in
agent-network-appa2fb17fviafetchStatusURL flip.
📦 Install (new users)
npm i -g @sleep2agi/agent-network@latest
anet --version # should print: anet v2.2.15anet hub start lazy-fetches commhub-server@0.8.6 (PINNED bumped
this release). First anet node start lazy-fetches
agent-node@2.4.11 (latest, unchanged).
🔄 Upgrade (existing users)
# narrow: just the CLI
anet upgrade
# or:
npm i -g @sleep2agi/agent-network@latest
# restart your hub so the new server takes effect:
anet hub stop && anet hub startanet upgrade alone updates the CLI's PINNED reference, but the
already-running hub keeps serving the old commhub-server. Run
anet hub stop && anet hub start to pick up commhub-server@0.8.6
and the ?light=1 projection.
📦 Components shipped
| Package | latest |
|---|---|
@sleep2agi/agent-network |
2.2.15 ⬆ (from 2.2.14) |
@sleep2agi/commhub-server |
0.8.6 ⬆ (from 0.8.5) |
@sleep2agi/agent-node |
2.4.11 (unchanged) |
PINNED_SERVER_VERSION = "0.8.6" (was "0.8.5").
📱 Mobile APP rebuild
agent-network-app (commit a2fb17f) flips fetchStatus to request
?light=1. The repo doesn't have expo-updates / EAS configured, so
the change ships in the next APK build / web export — existing
installs will hit the new hub but still request the full payload until
they're reinstalled. The hub change is forward-compatible either way.
🙏 Credits
- #220 audit + double-package implementation + release ops + Docker chain verify: 通信工程马
- #220 root-cause framing (12 s abort + APP only uses 6 fields): 通信龙
- Phase A carry (#221 / #223 / #224 / #227): vansin
- UAT gate: Vincent
Full Changelog: v2.2.14...v2.2.15