agentapi-sandbox-daemon-runtime 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/runtime.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentapi-sandbox-daemon-runtime",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Common HTTP/SSE transport and supervision for AgentAPI sandbox daemons",
5
5
  "type": "module",
6
6
  "engines": { "node": ">=22" },
package/runtime.mjs CHANGED
@@ -111,7 +111,7 @@ export async function serveDaemon(options, adapter, hooks = {}) {
111
111
  };
112
112
  function snapshot() {
113
113
  return { version: protocolVersion, agent: adapter.agent, package: options.package || '', release: options.release || '', epoch: journal.epoch, generation, pid: process.pid,
114
- failure_detail: failureDetail,
114
+ supports_custom_tools: adapter.supportsCustomTools === true, failure_detail: failureDetail,
115
115
  failure, quiescent: failure ? failureStopped && activeModel() === 0 : !operations.size && !journal.pending.length && adapter.quiescent() === true && activeModel() === 0,
116
116
  head: journal.index.length, fence: journal.fence, model_active: activeModel(), model_transport: modelProxy?.snapshot() };
117
117
  }