Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

fix(cli): log every agent-list push

0xdiego25cdf2cf0695cc
diff --git a/cli/src/cable/cableSession.ts b/cli/src/cable/cableSession.ts
index 1c112e634..3ce3b9654 100644
--- a/cli/src/cable/cableSession.ts
+++ b/cli/src/cable/cableSession.ts
@@ -482,6 +482,9 @@ export class CableSession {
const key = CableSession.agentsKey(agents)
if (!force && key === this.lastAgentsKey) return
this.lastAgentsKey = key
+ // Every push, and only pushes. The dial showing a different number from the daemon is a question this
+ // line answers in one look: either the daemon never said it, or it said it and the dial disagreed.
+ this.host.log(`cable: agents → ${agents.length}${force ? ' (attach)' : ''}`)
await this.send({ t: 'agents.begin' })
for (const a of agents) {