Files
autocraft/docs
aiongg 0ca6b27ef8 Workspace relay: a session's workspace tool calls go from the dashboard to the job that owns the workspace
- workspaces.remote_call_id binds a workspace to the remote call whose session uses it; workspace_calls.run_id records
  the lease run a relayed call came from.
- Dashboard: the workspace server on /mcp/task/workspace and the tool route queues each call as a workspace_calls row
  with its arguments whole and waits for the row's result with keep-alive ticks; a call still queued when the lease ends
  is refused. Workspace tool bodies may be up to 12 MiB.
- Job: awaitCall serves the workspace bound to its call, runs claimed rows side by side on the job's WorkspaceSession
  (which settles each row), hands rows still running after a restart back to the session, and refuses queued rows when
  the call ends.
- Wake: Db.notify and Db.listen, Postgres NOTIFY on one listening connection per handle that reconnects; the relay polls
  every 10 s behind it, and at the model queue's interval on SQLite.
- Tool replies carry image content after the text: protocol 5 (3 and 4 still accepted); Task Runner 1.3.6 falls back
  through 4 and 3 and prints a line for images in autocraft tool.
- queueWorkspaceCall queues a session call with the workspace server and binds the workspace in one transaction.
2026-11-22 13:12:46 +00:00
..