@namzu/sdk 30.2.0 → 31.0.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.
- package/CHANGELOG.md +556 -0
- package/README.md +43 -2
- package/dist/advisory/executor.d.ts +2 -1
- package/dist/advisory/executor.d.ts.map +1 -1
- package/dist/advisory/executor.js +4 -1
- package/dist/advisory/executor.js.map +1 -1
- package/dist/agents/ReactiveAgent.d.ts.map +1 -1
- package/dist/agents/ReactiveAgent.js +12 -0
- package/dist/agents/ReactiveAgent.js.map +1 -1
- package/dist/agents/RouterAgent.d.ts.map +1 -1
- package/dist/agents/RouterAgent.js +21 -3
- package/dist/agents/RouterAgent.js.map +1 -1
- package/dist/agents/SupervisorAgent.d.ts.map +1 -1
- package/dist/agents/SupervisorAgent.js +34 -11
- package/dist/agents/SupervisorAgent.js.map +1 -1
- package/dist/agents/runAgent.d.ts +12 -0
- package/dist/agents/runAgent.d.ts.map +1 -1
- package/dist/agents/runAgent.js +26 -2
- package/dist/agents/runAgent.js.map +1 -1
- package/dist/authorization/command-line.d.ts +81 -0
- package/dist/authorization/command-line.d.ts.map +1 -0
- package/dist/authorization/command-line.js +347 -0
- package/dist/authorization/command-line.js.map +1 -0
- package/dist/authorization/rules.d.ts.map +1 -1
- package/dist/authorization/rules.js +22 -1
- package/dist/authorization/rules.js.map +1 -1
- package/dist/bridge/a2a/client.d.ts +23 -5
- package/dist/bridge/a2a/client.d.ts.map +1 -1
- package/dist/bridge/a2a/client.js +320 -73
- package/dist/bridge/a2a/client.js.map +1 -1
- package/dist/bridge/a2a/mapper.d.ts.map +1 -1
- package/dist/bridge/a2a/mapper.js +4 -0
- package/dist/bridge/a2a/mapper.js.map +1 -1
- package/dist/bridge/acp/server.d.ts +13 -1
- package/dist/bridge/acp/server.d.ts.map +1 -1
- package/dist/bridge/acp/server.js +150 -44
- package/dist/bridge/acp/server.js.map +1 -1
- package/dist/bridge/mcp/connector/adapter.d.ts +3 -2
- package/dist/bridge/mcp/connector/adapter.d.ts.map +1 -1
- package/dist/bridge/mcp/connector/adapter.js +17 -21
- package/dist/bridge/mcp/connector/adapter.js.map +1 -1
- package/dist/bridge/sse/mapper.d.ts.map +1 -1
- package/dist/bridge/sse/mapper.js +3 -0
- package/dist/bridge/sse/mapper.js.map +1 -1
- package/dist/compaction/dangling.d.ts +29 -2
- package/dist/compaction/dangling.d.ts.map +1 -1
- package/dist/compaction/dangling.js +172 -35
- package/dist/compaction/dangling.js.map +1 -1
- package/dist/compaction/index.d.ts +3 -2
- package/dist/compaction/index.d.ts.map +1 -1
- package/dist/compaction/index.js +1 -1
- package/dist/compaction/index.js.map +1 -1
- package/dist/compaction/manual.d.ts +11 -1
- package/dist/compaction/manual.d.ts.map +1 -1
- package/dist/compaction/manual.js +89 -14
- package/dist/compaction/manual.js.map +1 -1
- package/dist/compaction/plan.d.ts +19 -6
- package/dist/compaction/plan.d.ts.map +1 -1
- package/dist/compaction/plan.js +18 -4
- package/dist/compaction/plan.js.map +1 -1
- package/dist/compaction/retention.d.ts +10 -7
- package/dist/compaction/retention.d.ts.map +1 -1
- package/dist/compaction/retention.js +26 -8
- package/dist/compaction/retention.js.map +1 -1
- package/dist/compaction/summary.d.ts +4 -4
- package/dist/compaction/summary.js +4 -4
- package/dist/compaction/verifier.d.ts +19 -1
- package/dist/compaction/verifier.d.ts.map +1 -1
- package/dist/compaction/verifier.js +20 -1
- package/dist/compaction/verifier.js.map +1 -1
- package/dist/config/runtime.d.ts +6 -6
- package/dist/connector/BaseConnector.d.ts +6 -4
- package/dist/connector/BaseConnector.d.ts.map +1 -1
- package/dist/connector/BaseConnector.js +8 -2
- package/dist/connector/BaseConnector.js.map +1 -1
- package/dist/connector/builtins/http.d.ts +16 -4
- package/dist/connector/builtins/http.d.ts.map +1 -1
- package/dist/connector/builtins/http.js +177 -44
- package/dist/connector/builtins/http.js.map +1 -1
- package/dist/connector/builtins/webhook.d.ts +15 -4
- package/dist/connector/builtins/webhook.d.ts.map +1 -1
- package/dist/connector/builtins/webhook.js +165 -45
- package/dist/connector/builtins/webhook.js.map +1 -1
- package/dist/connector/execution-contract.d.ts +11 -0
- package/dist/connector/execution-contract.d.ts.map +1 -0
- package/dist/connector/execution-contract.js +14 -0
- package/dist/connector/execution-contract.js.map +1 -0
- package/dist/connector/http-operation.d.ts +48 -0
- package/dist/connector/http-operation.d.ts.map +1 -0
- package/dist/connector/http-operation.js +205 -0
- package/dist/connector/http-operation.js.map +1 -0
- package/dist/connector/mcp/adapter.d.ts.map +1 -1
- package/dist/connector/mcp/adapter.js +8 -3
- package/dist/connector/mcp/adapter.js.map +1 -1
- package/dist/connector/mcp/client.d.ts +14 -8
- package/dist/connector/mcp/client.d.ts.map +1 -1
- package/dist/connector/mcp/client.js +160 -44
- package/dist/connector/mcp/client.js.map +1 -1
- package/dist/connector/mcp/http-sse.d.ts +8 -2
- package/dist/connector/mcp/http-sse.d.ts.map +1 -1
- package/dist/connector/mcp/http-sse.js +70 -17
- package/dist/connector/mcp/http-sse.js.map +1 -1
- package/dist/connector/mcp/prompt-adapter.d.ts.map +1 -1
- package/dist/connector/mcp/prompt-adapter.js +9 -2
- package/dist/connector/mcp/prompt-adapter.js.map +1 -1
- package/dist/connector/mcp/stdio.d.ts +2 -2
- package/dist/connector/mcp/stdio.d.ts.map +1 -1
- package/dist/connector/mcp/stdio.js +14 -50
- package/dist/connector/mcp/stdio.js.map +1 -1
- package/dist/connector/mcp/streamable-http.d.ts +7 -2
- package/dist/connector/mcp/streamable-http.d.ts.map +1 -1
- package/dist/connector/mcp/streamable-http.js +66 -18
- package/dist/connector/mcp/streamable-http.js.map +1 -1
- package/dist/connector/tools/adapter.d.ts +2 -2
- package/dist/connector/tools/adapter.d.ts.map +1 -1
- package/dist/connector/tools/adapter.js +23 -14
- package/dist/connector/tools/adapter.js.map +1 -1
- package/dist/connector/tools/definitions.d.ts.map +1 -1
- package/dist/connector/tools/definitions.js +5 -2
- package/dist/connector/tools/definitions.js.map +1 -1
- package/dist/connector/tools/result.d.ts +4 -0
- package/dist/connector/tools/result.d.ts.map +1 -0
- package/dist/connector/tools/result.js +20 -0
- package/dist/connector/tools/result.js.map +1 -0
- package/dist/connector/web/guarded-fetch.d.ts +4 -2
- package/dist/connector/web/guarded-fetch.d.ts.map +1 -1
- package/dist/connector/web/guarded-fetch.js +157 -43
- package/dist/connector/web/guarded-fetch.js.map +1 -1
- package/dist/constants/sandbox/index.d.ts +3 -2
- package/dist/constants/sandbox/index.d.ts.map +1 -1
- package/dist/constants/sandbox/index.js +3 -2
- package/dist/constants/sandbox/index.js.map +1 -1
- package/dist/contracts/api.d.ts +2 -0
- package/dist/contracts/api.d.ts.map +1 -1
- package/dist/contracts/schemas.d.ts +38 -12
- package/dist/contracts/schemas.d.ts.map +1 -1
- package/dist/contracts/schemas.js +7 -0
- package/dist/contracts/schemas.js.map +1 -1
- package/dist/directory/derive-supervisor.d.ts.map +1 -1
- package/dist/directory/derive-supervisor.js +8 -0
- package/dist/directory/derive-supervisor.js.map +1 -1
- package/dist/directory/derive.d.ts.map +1 -1
- package/dist/directory/derive.js +8 -0
- package/dist/directory/derive.js.map +1 -1
- package/dist/directory/load.d.ts.map +1 -1
- package/dist/directory/load.js +2 -0
- package/dist/directory/load.js.map +1 -1
- package/dist/directory/types.d.ts +4 -0
- package/dist/directory/types.d.ts.map +1 -1
- package/dist/eval/experiment.d.ts +10 -10
- package/dist/eval/experiment.d.ts.map +1 -1
- package/dist/eval/experiment.js +121 -91
- package/dist/eval/experiment.js.map +1 -1
- package/dist/eval/judge.d.ts +6 -0
- package/dist/eval/judge.d.ts.map +1 -1
- package/dist/eval/judge.js +7 -2
- package/dist/eval/judge.js.map +1 -1
- package/dist/eval/types.d.ts +7 -1
- package/dist/eval/types.d.ts.map +1 -1
- package/dist/manager/agent/lifecycle.d.ts +12 -10
- package/dist/manager/agent/lifecycle.d.ts.map +1 -1
- package/dist/manager/agent/lifecycle.js +16 -3
- package/dist/manager/agent/lifecycle.js.map +1 -1
- package/dist/manager/connector/environment.d.ts +2 -2
- package/dist/manager/connector/environment.d.ts.map +1 -1
- package/dist/manager/connector/environment.js +2 -2
- package/dist/manager/connector/environment.js.map +1 -1
- package/dist/manager/connector/lifecycle.d.ts +10 -2
- package/dist/manager/connector/lifecycle.d.ts.map +1 -1
- package/dist/manager/connector/lifecycle.js +273 -24
- package/dist/manager/connector/lifecycle.js.map +1 -1
- package/dist/manager/connector/tenant.d.ts +5 -4
- package/dist/manager/connector/tenant.d.ts.map +1 -1
- package/dist/manager/connector/tenant.js +47 -22
- package/dist/manager/connector/tenant.js.map +1 -1
- package/dist/manager/goal/activation.d.ts +23 -0
- package/dist/manager/goal/activation.d.ts.map +1 -0
- package/dist/manager/goal/activation.js +41 -0
- package/dist/manager/goal/activation.js.map +1 -0
- package/dist/manager/index.d.ts +3 -2
- package/dist/manager/index.d.ts.map +1 -1
- package/dist/manager/index.js.map +1 -1
- package/dist/manager/run/persistence.d.ts +2 -0
- package/dist/manager/run/persistence.d.ts.map +1 -1
- package/dist/manager/run/persistence.js +5 -1
- package/dist/manager/run/persistence.js.map +1 -1
- package/dist/manager/topic/dependency.d.ts +24 -0
- package/dist/manager/topic/dependency.d.ts.map +1 -0
- package/dist/manager/topic/dependency.js +13 -0
- package/dist/manager/topic/dependency.js.map +1 -0
- package/dist/manager/topic/lifecycle.d.ts +9 -21
- package/dist/manager/topic/lifecycle.d.ts.map +1 -1
- package/dist/manager/topic/lifecycle.js +17 -29
- package/dist/manager/topic/lifecycle.js.map +1 -1
- package/dist/plugin/index.d.ts +1 -0
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js.map +1 -1
- package/dist/plugin/lifecycle.d.ts +15 -0
- package/dist/plugin/lifecycle.d.ts.map +1 -1
- package/dist/plugin/lifecycle.js +144 -38
- package/dist/plugin/lifecycle.js.map +1 -1
- package/dist/plugin/loader.d.ts +3 -3
- package/dist/plugin/loader.d.ts.map +1 -1
- package/dist/plugin/loader.js +58 -12
- package/dist/plugin/loader.js.map +1 -1
- package/dist/provider/collect-chat-completion.d.ts.map +1 -1
- package/dist/provider/collect-chat-completion.js +4 -0
- package/dist/provider/collect-chat-completion.js.map +1 -1
- package/dist/provider/fallback.d.ts +3 -1
- package/dist/provider/fallback.d.ts.map +1 -1
- package/dist/provider/fallback.js +62 -10
- package/dist/provider/fallback.js.map +1 -1
- package/dist/provider/idle-timeout.d.ts +4 -0
- package/dist/provider/idle-timeout.d.ts.map +1 -1
- package/dist/provider/idle-timeout.js +131 -15
- package/dist/provider/idle-timeout.js.map +1 -1
- package/dist/provider/index.d.ts +2 -0
- package/dist/provider/index.d.ts.map +1 -1
- package/dist/provider/index.js +1 -0
- package/dist/provider/index.js.map +1 -1
- package/dist/provider/instrumentation.d.ts.map +1 -1
- package/dist/provider/instrumentation.js +1 -0
- package/dist/provider/instrumentation.js.map +1 -1
- package/dist/provider/retry.d.ts.map +1 -1
- package/dist/provider/retry.js +13 -1
- package/dist/provider/retry.js.map +1 -1
- package/dist/public-runtime.d.ts +57 -24
- package/dist/public-runtime.d.ts.map +1 -1
- package/dist/public-runtime.js +42 -35
- package/dist/public-runtime.js.map +1 -1
- package/dist/public-tools.d.ts +1 -0
- package/dist/public-tools.d.ts.map +1 -1
- package/dist/public-tools.js +5 -0
- package/dist/public-tools.js.map +1 -1
- package/dist/public-types.d.ts +33 -12
- package/dist/public-types.d.ts.map +1 -1
- package/dist/rag/embedding.d.ts +8 -3
- package/dist/rag/embedding.d.ts.map +1 -1
- package/dist/rag/embedding.js +120 -9
- package/dist/rag/embedding.js.map +1 -1
- package/dist/rag/index.d.ts +1 -1
- package/dist/rag/index.d.ts.map +1 -1
- package/dist/rag/index.js +1 -1
- package/dist/rag/index.js.map +1 -1
- package/dist/rag/ingestion.d.ts +2 -2
- package/dist/rag/ingestion.d.ts.map +1 -1
- package/dist/rag/ingestion.js +15 -3
- package/dist/rag/ingestion.js.map +1 -1
- package/dist/rag/knowledge-base.d.ts +3 -3
- package/dist/rag/knowledge-base.d.ts.map +1 -1
- package/dist/rag/knowledge-base.js +8 -4
- package/dist/rag/knowledge-base.js.map +1 -1
- package/dist/rag/operation.d.ts +10 -0
- package/dist/rag/operation.d.ts.map +1 -0
- package/dist/rag/operation.js +26 -0
- package/dist/rag/operation.js.map +1 -0
- package/dist/rag/rag-tool.d.ts.map +1 -1
- package/dist/rag/rag-tool.js +6 -3
- package/dist/rag/rag-tool.js.map +1 -1
- package/dist/rag/retriever.d.ts +2 -2
- package/dist/rag/retriever.d.ts.map +1 -1
- package/dist/rag/retriever.js +31 -15
- package/dist/rag/retriever.js.map +1 -1
- package/dist/rag/vector-store.d.ts +3 -3
- package/dist/rag/vector-store.d.ts.map +1 -1
- package/dist/rag/vector-store.js +4 -2
- package/dist/rag/vector-store.js.map +1 -1
- package/dist/registry/command/kernel-commands.d.ts +16 -4
- package/dist/registry/command/kernel-commands.d.ts.map +1 -1
- package/dist/registry/command/kernel-commands.js +171 -0
- package/dist/registry/command/kernel-commands.js.map +1 -1
- package/dist/run/reporter.d.ts.map +1 -1
- package/dist/run/reporter.js +9 -0
- package/dist/run/reporter.js.map +1 -1
- package/dist/run-query/index.d.ts +15 -1
- package/dist/run-query/index.d.ts.map +1 -1
- package/dist/run-query/index.js +69 -15
- package/dist/run-query/index.js.map +1 -1
- package/dist/runtime/query/context.d.ts.map +1 -1
- package/dist/runtime/query/context.js +10 -3
- package/dist/runtime/query/context.js.map +1 -1
- package/dist/runtime/query/executor.d.ts +3 -0
- package/dist/runtime/query/executor.d.ts.map +1 -1
- package/dist/runtime/query/executor.js +80 -18
- package/dist/runtime/query/executor.js.map +1 -1
- package/dist/runtime/query/guard.d.ts +9 -0
- package/dist/runtime/query/guard.d.ts.map +1 -1
- package/dist/runtime/query/guard.js +11 -0
- package/dist/runtime/query/guard.js.map +1 -1
- package/dist/runtime/query/index.d.ts +30 -1
- package/dist/runtime/query/index.d.ts.map +1 -1
- package/dist/runtime/query/index.js +548 -95
- package/dist/runtime/query/index.js.map +1 -1
- package/dist/runtime/query/iteration/index.d.ts.map +1 -1
- package/dist/runtime/query/iteration/index.js +74 -14
- package/dist/runtime/query/iteration/index.js.map +1 -1
- package/dist/runtime/query/iteration/phases/compaction.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/compaction.js +94 -53
- package/dist/runtime/query/iteration/phases/compaction.js.map +1 -1
- package/dist/runtime/query/iteration/phases/context.d.ts +3 -0
- package/dist/runtime/query/iteration/phases/context.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/context.js.map +1 -1
- package/dist/runtime/query/iteration/phases/tool-review.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/tool-review.js +21 -0
- package/dist/runtime/query/iteration/phases/tool-review.js.map +1 -1
- package/dist/runtime/query/iteration/stream-turn.d.ts.map +1 -1
- package/dist/runtime/query/iteration/stream-turn.js +4 -0
- package/dist/runtime/query/iteration/stream-turn.js.map +1 -1
- package/dist/runtime/query/project-instructions.d.ts +69 -0
- package/dist/runtime/query/project-instructions.d.ts.map +1 -0
- package/dist/runtime/query/project-instructions.js +137 -0
- package/dist/runtime/query/project-instructions.js.map +1 -0
- package/dist/runtime/query/request-rich-content.d.ts +22 -0
- package/dist/runtime/query/request-rich-content.d.ts.map +1 -0
- package/dist/runtime/query/request-rich-content.js +122 -0
- package/dist/runtime/query/request-rich-content.js.map +1 -0
- package/dist/runtime/query/result.d.ts.map +1 -1
- package/dist/runtime/query/result.js +12 -1
- package/dist/runtime/query/result.js.map +1 -1
- package/dist/runtime/query/resume-pending.d.ts.map +1 -1
- package/dist/runtime/query/resume-pending.js +19 -20
- package/dist/runtime/query/resume-pending.js.map +1 -1
- package/dist/runtime/query/resume-run.d.ts.map +1 -1
- package/dist/runtime/query/resume-run.js +54 -8
- package/dist/runtime/query/resume-run.js.map +1 -1
- package/dist/runtime/query/run-state.d.ts +5 -0
- package/dist/runtime/query/run-state.d.ts.map +1 -1
- package/dist/runtime/query/run-state.js +6 -1
- package/dist/runtime/query/run-state.js.map +1 -1
- package/dist/runtime/query/sandbox-lifecycle.d.ts +54 -0
- package/dist/runtime/query/sandbox-lifecycle.d.ts.map +1 -0
- package/dist/runtime/query/sandbox-lifecycle.js +167 -0
- package/dist/runtime/query/sandbox-lifecycle.js.map +1 -0
- package/dist/sandbox/isolation.d.ts.map +1 -1
- package/dist/sandbox/isolation.js +9 -0
- package/dist/sandbox/isolation.js.map +1 -1
- package/dist/sandbox/provider/local.d.ts +56 -6
- package/dist/sandbox/provider/local.d.ts.map +1 -1
- package/dist/sandbox/provider/local.js +181 -76
- package/dist/sandbox/provider/local.js.map +1 -1
- package/dist/sandbox/terminal.d.ts +13 -5
- package/dist/sandbox/terminal.d.ts.map +1 -1
- package/dist/sandbox/terminal.js +11 -3
- package/dist/sandbox/terminal.js.map +1 -1
- package/dist/session/errors.d.ts +28 -29
- package/dist/session/errors.d.ts.map +1 -1
- package/dist/session/errors.js +28 -29
- package/dist/session/errors.js.map +1 -1
- package/dist/session/handoff/broadcast.d.ts +5 -8
- package/dist/session/handoff/broadcast.d.ts.map +1 -1
- package/dist/session/handoff/broadcast.js +16 -6
- package/dist/session/handoff/broadcast.js.map +1 -1
- package/dist/session/handoff/single.d.ts +5 -8
- package/dist/session/handoff/single.d.ts.map +1 -1
- package/dist/session/handoff/single.js +7 -4
- package/dist/session/handoff/single.js.map +1 -1
- package/dist/store/attachment/index.d.ts +11 -3
- package/dist/store/attachment/index.d.ts.map +1 -1
- package/dist/store/attachment/index.js +49 -4
- package/dist/store/attachment/index.js.map +1 -1
- package/dist/store/feedback/conformance.d.ts.map +1 -1
- package/dist/store/feedback/conformance.js +32 -0
- package/dist/store/feedback/conformance.js.map +1 -1
- package/dist/store/feedback/disk.d.ts +8 -6
- package/dist/store/feedback/disk.d.ts.map +1 -1
- package/dist/store/feedback/disk.js +111 -76
- package/dist/store/feedback/disk.js.map +1 -1
- package/dist/store/goal/index.d.ts +111 -0
- package/dist/store/goal/index.d.ts.map +1 -0
- package/dist/store/goal/index.js +436 -0
- package/dist/store/goal/index.js.map +1 -0
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/index.js +1 -1
- package/dist/store/index.js.map +1 -1
- package/dist/store/kv/revision-record-store.d.ts +70 -0
- package/dist/store/kv/revision-record-store.d.ts.map +1 -0
- package/dist/store/kv/revision-record-store.js +290 -0
- package/dist/store/kv/revision-record-store.js.map +1 -0
- package/dist/store/memory/disk.d.ts +9 -7
- package/dist/store/memory/disk.d.ts.map +1 -1
- package/dist/store/memory/disk.js +256 -98
- package/dist/store/memory/disk.js.map +1 -1
- package/dist/store/run/disk.d.ts +10 -2
- package/dist/store/run/disk.d.ts.map +1 -1
- package/dist/store/run/disk.js +70 -4
- package/dist/store/run/disk.js.map +1 -1
- package/dist/store/run/memory.d.ts +4 -2
- package/dist/store/run/memory.d.ts.map +1 -1
- package/dist/store/run/memory.js +15 -1
- package/dist/store/run/memory.js.map +1 -1
- package/dist/store/session/disk.d.ts +9 -0
- package/dist/store/session/disk.d.ts.map +1 -1
- package/dist/store/session/disk.js +57 -5
- package/dist/store/session/disk.js.map +1 -1
- package/dist/store/session/memory.d.ts +1 -0
- package/dist/store/session/memory.d.ts.map +1 -1
- package/dist/store/session/memory.js +14 -0
- package/dist/store/session/memory.js.map +1 -1
- package/dist/store/topic/memory.d.ts +1 -2
- package/dist/store/topic/memory.d.ts.map +1 -1
- package/dist/store/topic/memory.js +4 -5
- package/dist/store/topic/memory.js.map +1 -1
- package/dist/store/topic/objective.d.ts +8 -4
- package/dist/store/topic/objective.d.ts.map +1 -1
- package/dist/store/topic/objective.js +185 -100
- package/dist/store/topic/objective.js.map +1 -1
- package/dist/store/topic/state.d.ts +1 -2
- package/dist/store/topic/state.d.ts.map +1 -1
- package/dist/store/topic/state.js +50 -62
- package/dist/store/topic/state.js.map +1 -1
- package/dist/tools/builtins/bash.d.ts.map +1 -1
- package/dist/tools/builtins/bash.js +20 -0
- package/dist/tools/builtins/bash.js.map +1 -1
- package/dist/tools/builtins/computer-use.d.ts +9 -1
- package/dist/tools/builtins/computer-use.d.ts.map +1 -1
- package/dist/tools/builtins/computer-use.js.map +1 -1
- package/dist/tools/builtins/content-fingerprint.d.ts +8 -7
- package/dist/tools/builtins/content-fingerprint.d.ts.map +1 -1
- package/dist/tools/builtins/content-fingerprint.js +9 -10
- package/dist/tools/builtins/content-fingerprint.js.map +1 -1
- package/dist/tools/builtins/edit.d.ts +6 -1
- package/dist/tools/builtins/edit.d.ts.map +1 -1
- package/dist/tools/builtins/edit.js +166 -27
- package/dist/tools/builtins/edit.js.map +1 -1
- package/dist/tools/builtins/write-file.d.ts.map +1 -1
- package/dist/tools/builtins/write-file.js +45 -19
- package/dist/tools/builtins/write-file.js.map +1 -1
- package/dist/tools/command-arguments.d.ts +43 -0
- package/dist/tools/command-arguments.d.ts.map +1 -0
- package/dist/tools/command-arguments.js +52 -0
- package/dist/tools/command-arguments.js.map +1 -0
- package/dist/tools/coordinator/index.d.ts +2 -0
- package/dist/tools/coordinator/index.d.ts.map +1 -1
- package/dist/tools/coordinator/index.js +3 -1
- package/dist/tools/coordinator/index.js.map +1 -1
- package/dist/tools/defineTool.d.ts +10 -0
- package/dist/tools/defineTool.d.ts.map +1 -1
- package/dist/tools/defineTool.js +1 -0
- package/dist/tools/defineTool.js.map +1 -1
- package/dist/tools/env-scrub.d.ts +7 -5
- package/dist/tools/env-scrub.d.ts.map +1 -1
- package/dist/tools/env-scrub.js +7 -5
- package/dist/tools/env-scrub.js.map +1 -1
- package/dist/tools/goal/index.d.ts +20 -0
- package/dist/tools/goal/index.d.ts.map +1 -0
- package/dist/tools/goal/index.js +104 -0
- package/dist/tools/goal/index.js.map +1 -0
- package/dist/tools/memory/index.d.ts +16 -0
- package/dist/tools/memory/index.d.ts.map +1 -1
- package/dist/tools/memory/index.js +6 -2
- package/dist/tools/memory/index.js.map +1 -1
- package/dist/tools/memory/search.d.ts +4 -1
- package/dist/tools/memory/search.d.ts.map +1 -1
- package/dist/tools/memory/search.js +10 -2
- package/dist/tools/memory/search.js.map +1 -1
- package/dist/types/agent/base.d.ts +11 -3
- package/dist/types/agent/base.d.ts.map +1 -1
- package/dist/types/agent/factory.d.ts +2 -0
- package/dist/types/agent/factory.d.ts.map +1 -1
- package/dist/types/agent/reactive.d.ts +2 -0
- package/dist/types/agent/reactive.d.ts.map +1 -1
- package/dist/types/agent/supervisor.d.ts +6 -0
- package/dist/types/agent/supervisor.d.ts.map +1 -1
- package/dist/types/agent/task.d.ts +6 -2
- package/dist/types/agent/task.d.ts.map +1 -1
- package/dist/types/connector/core.d.ts +13 -8
- package/dist/types/connector/core.d.ts.map +1 -1
- package/dist/types/connector/definition.d.ts +37 -18
- package/dist/types/connector/definition.d.ts.map +1 -1
- package/dist/types/connector/http.d.ts +6 -0
- package/dist/types/connector/http.d.ts.map +1 -1
- package/dist/types/connector/mcp.d.ts +24 -6
- package/dist/types/connector/mcp.d.ts.map +1 -1
- package/dist/types/connector/tenant.d.ts +17 -7
- package/dist/types/connector/tenant.d.ts.map +1 -1
- package/dist/types/connector/webhook.d.ts +6 -0
- package/dist/types/connector/webhook.d.ts.map +1 -1
- package/dist/types/goal/index.d.ts +46 -0
- package/dist/types/goal/index.d.ts.map +1 -0
- package/dist/types/goal/index.js +2 -0
- package/dist/types/goal/index.js.map +1 -0
- package/dist/types/ids/index.d.ts +2 -0
- package/dist/types/ids/index.d.ts.map +1 -1
- package/dist/types/ids/index.js.map +1 -1
- package/dist/types/message/index.d.ts +75 -10
- package/dist/types/message/index.d.ts.map +1 -1
- package/dist/types/message/index.js +49 -3
- package/dist/types/message/index.js.map +1 -1
- package/dist/types/plugin/index.d.ts +7 -5
- package/dist/types/plugin/index.d.ts.map +1 -1
- package/dist/types/plugin/index.js.map +1 -1
- package/dist/types/provider/chat.d.ts +27 -4
- package/dist/types/provider/chat.d.ts.map +1 -1
- package/dist/types/provider/interface.d.ts +18 -7
- package/dist/types/provider/interface.d.ts.map +1 -1
- package/dist/types/provider/stream.d.ts +6 -0
- package/dist/types/provider/stream.d.ts.map +1 -1
- package/dist/types/rag/embedding.d.ts +15 -2
- package/dist/types/rag/embedding.d.ts.map +1 -1
- package/dist/types/rag/ingestion.d.ts +2 -2
- package/dist/types/rag/ingestion.d.ts.map +1 -1
- package/dist/types/rag/knowledge-base.d.ts +3 -3
- package/dist/types/rag/knowledge-base.d.ts.map +1 -1
- package/dist/types/rag/retrieval.d.ts +2 -2
- package/dist/types/rag/retrieval.d.ts.map +1 -1
- package/dist/types/rag/scope.d.ts +4 -0
- package/dist/types/rag/scope.d.ts.map +1 -1
- package/dist/types/rag/vector.d.ts +5 -2
- package/dist/types/rag/vector.d.ts.map +1 -1
- package/dist/types/run/config.d.ts +20 -0
- package/dist/types/run/config.d.ts.map +1 -1
- package/dist/types/run/events.d.ts +25 -1
- package/dist/types/run/events.d.ts.map +1 -1
- package/dist/types/run/events.js.map +1 -1
- package/dist/types/run/metadata.d.ts +2 -0
- package/dist/types/run/metadata.d.ts.map +1 -1
- package/dist/types/run/step.d.ts +2 -6
- package/dist/types/run/step.d.ts.map +1 -1
- package/dist/types/run/step.js.map +1 -1
- package/dist/types/run/store.d.ts +55 -2
- package/dist/types/run/store.d.ts.map +1 -1
- package/dist/types/sandbox/index.d.ts +47 -6
- package/dist/types/sandbox/index.d.ts.map +1 -1
- package/dist/types/sandbox/index.js +23 -10
- package/dist/types/sandbox/index.js.map +1 -1
- package/dist/types/session/store.d.ts +13 -0
- package/dist/types/session/store.d.ts.map +1 -1
- package/dist/types/tool/index.d.ts +33 -11
- package/dist/types/tool/index.d.ts.map +1 -1
- package/dist/types/tool/index.js.map +1 -1
- package/dist/types/topic/entity.d.ts +3 -4
- package/dist/types/topic/entity.d.ts.map +1 -1
- package/dist/types/topic/store.d.ts +3 -3
- package/dist/utils/id.d.ts +3 -1
- package/dist/utils/id.d.ts.map +1 -1
- package/dist/utils/id.js +4 -0
- package/dist/utils/id.js.map +1 -1
- package/dist/utils/process-environment.d.ts +26 -0
- package/dist/utils/process-environment.d.ts.map +1 -0
- package/dist/utils/process-environment.js +78 -0
- package/dist/utils/process-environment.js.map +1 -0
- package/dist/vault/InMemoryCredentialVault.d.ts +2 -0
- package/dist/vault/InMemoryCredentialVault.d.ts.map +1 -1
- package/dist/vault/InMemoryCredentialVault.js +24 -4
- package/dist/vault/InMemoryCredentialVault.js.map +1 -1
- package/dist/vault/instrumentation.d.ts.map +1 -1
- package/dist/vault/instrumentation.js +15 -0
- package/dist/vault/instrumentation.js.map +1 -1
- package/package.json +1 -1
- package/src/advisory/executor.ts +4 -1
- package/src/agents/ReactiveAgent.ts +12 -0
- package/src/agents/RouterAgent.ts +25 -3
- package/src/agents/SupervisorAgent.ts +33 -11
- package/src/agents/runAgent.ts +38 -2
- package/src/authorization/command-line.ts +390 -0
- package/src/authorization/rules.ts +22 -1
- package/src/bridge/a2a/client.ts +384 -97
- package/src/bridge/a2a/mapper.ts +5 -0
- package/src/bridge/acp/server.ts +184 -42
- package/src/bridge/mcp/connector/adapter.ts +28 -20
- package/src/bridge/sse/mapper.ts +3 -0
- package/src/compaction/dangling.ts +203 -38
- package/src/compaction/index.ts +9 -2
- package/src/compaction/manual.ts +125 -18
- package/src/compaction/plan.ts +42 -11
- package/src/compaction/retention.ts +23 -8
- package/src/compaction/summary.ts +4 -4
- package/src/compaction/verifier.ts +66 -0
- package/src/connector/BaseConnector.ts +19 -4
- package/src/connector/builtins/http.ts +236 -46
- package/src/connector/builtins/webhook.ts +207 -47
- package/src/connector/execution-contract.ts +27 -0
- package/src/connector/http-operation.ts +238 -0
- package/src/connector/mcp/adapter.ts +8 -3
- package/src/connector/mcp/client.ts +207 -58
- package/src/connector/mcp/http-sse.ts +91 -23
- package/src/connector/mcp/prompt-adapter.ts +8 -2
- package/src/connector/mcp/stdio.ts +21 -46
- package/src/connector/mcp/streamable-http.ts +86 -22
- package/src/connector/tools/adapter.ts +23 -14
- package/src/connector/tools/definitions.ts +5 -2
- package/src/connector/tools/result.ts +21 -0
- package/src/connector/web/guarded-fetch.ts +188 -48
- package/src/constants/sandbox/index.ts +3 -2
- package/src/contracts/api.ts +2 -0
- package/src/contracts/schemas.ts +7 -0
- package/src/directory/derive-supervisor.ts +8 -0
- package/src/directory/derive.ts +8 -0
- package/src/directory/load.ts +2 -0
- package/src/directory/types.ts +4 -0
- package/src/eval/experiment.ts +160 -111
- package/src/eval/judge.ts +13 -2
- package/src/eval/types.ts +7 -1
- package/src/manager/agent/lifecycle.ts +28 -12
- package/src/manager/connector/environment.ts +3 -1
- package/src/manager/connector/lifecycle.ts +364 -24
- package/src/manager/connector/tenant.ts +56 -23
- package/src/manager/goal/activation.ts +52 -0
- package/src/manager/index.ts +10 -2
- package/src/manager/run/persistence.ts +6 -1
- package/src/manager/topic/dependency.ts +39 -0
- package/src/manager/topic/lifecycle.ts +19 -31
- package/src/plugin/index.ts +1 -0
- package/src/plugin/lifecycle.ts +180 -39
- package/src/plugin/loader.ts +70 -13
- package/src/provider/collect-chat-completion.ts +3 -0
- package/src/provider/fallback.ts +79 -11
- package/src/provider/idle-timeout.ts +143 -17
- package/src/provider/index.ts +2 -0
- package/src/provider/instrumentation.ts +1 -0
- package/src/provider/retry.ts +16 -1
- package/src/public-runtime.ts +190 -32
- package/src/public-tools.ts +5 -0
- package/src/public-types.ts +85 -11
- package/src/rag/embedding.ts +147 -19
- package/src/rag/index.ts +1 -1
- package/src/rag/ingestion.ts +16 -2
- package/src/rag/knowledge-base.ts +13 -4
- package/src/rag/operation.ts +28 -0
- package/src/rag/rag-tool.ts +6 -3
- package/src/rag/retriever.ts +62 -11
- package/src/rag/vector-store.ts +8 -2
- package/src/registry/command/kernel-commands.ts +223 -4
- package/src/run/reporter.ts +10 -0
- package/src/run-query/index.ts +84 -15
- package/src/runtime/query/context.ts +13 -3
- package/src/runtime/query/executor.ts +90 -17
- package/src/runtime/query/guard.ts +12 -0
- package/src/runtime/query/index.ts +652 -103
- package/src/runtime/query/iteration/index.ts +89 -13
- package/src/runtime/query/iteration/phases/compaction.ts +120 -55
- package/src/runtime/query/iteration/phases/context.ts +4 -0
- package/src/runtime/query/iteration/phases/tool-review.ts +28 -0
- package/src/runtime/query/iteration/stream-turn.ts +3 -0
- package/src/runtime/query/project-instructions.ts +212 -0
- package/src/runtime/query/request-rich-content.ts +153 -0
- package/src/runtime/query/result.ts +12 -1
- package/src/runtime/query/resume-pending.ts +20 -18
- package/src/runtime/query/resume-run.ts +52 -8
- package/src/runtime/query/run-state.ts +11 -1
- package/src/runtime/query/sandbox-lifecycle.ts +210 -0
- package/src/sandbox/isolation.ts +9 -0
- package/src/sandbox/provider/local.ts +255 -90
- package/src/sandbox/terminal.ts +13 -5
- package/src/session/errors.ts +68 -42
- package/src/session/handoff/broadcast.ts +20 -14
- package/src/session/handoff/single.ts +14 -13
- package/src/store/attachment/index.ts +65 -3
- package/src/store/feedback/conformance.ts +39 -0
- package/src/store/feedback/disk.ts +128 -82
- package/src/store/goal/index.ts +594 -0
- package/src/store/index.ts +1 -1
- package/src/store/kv/revision-record-store.ts +346 -0
- package/src/store/memory/disk.ts +288 -113
- package/src/store/run/disk.ts +96 -5
- package/src/store/run/memory.ts +22 -2
- package/src/store/session/disk.ts +93 -6
- package/src/store/session/memory.ts +22 -0
- package/src/store/topic/memory.ts +4 -5
- package/src/store/topic/objective.ts +215 -100
- package/src/store/topic/state.ts +100 -63
- package/src/tools/builtins/bash.ts +21 -0
- package/src/tools/builtins/computer-use.ts +9 -1
- package/src/tools/builtins/content-fingerprint.ts +9 -12
- package/src/tools/builtins/edit.ts +190 -27
- package/src/tools/builtins/write-file.ts +55 -19
- package/src/tools/command-arguments.ts +54 -0
- package/src/tools/coordinator/index.ts +4 -1
- package/src/tools/defineTool.ts +11 -0
- package/src/tools/env-scrub.ts +7 -5
- package/src/tools/goal/index.ts +129 -0
- package/src/tools/memory/index.ts +26 -3
- package/src/tools/memory/search.ts +20 -3
- package/src/types/agent/base.ts +12 -3
- package/src/types/agent/factory.ts +2 -0
- package/src/types/agent/reactive.ts +2 -0
- package/src/types/agent/supervisor.ts +6 -0
- package/src/types/agent/task.ts +6 -2
- package/src/types/connector/core.ts +13 -8
- package/src/types/connector/definition.ts +54 -20
- package/src/types/connector/http.ts +7 -0
- package/src/types/connector/mcp.ts +27 -6
- package/src/types/connector/tenant.ts +21 -7
- package/src/types/connector/webhook.ts +7 -0
- package/src/types/goal/index.ts +50 -0
- package/src/types/ids/index.ts +2 -0
- package/src/types/message/index.ts +143 -9
- package/src/types/plugin/index.ts +7 -5
- package/src/types/provider/chat.ts +35 -4
- package/src/types/provider/interface.ts +22 -7
- package/src/types/provider/stream.ts +6 -0
- package/src/types/rag/embedding.ts +16 -2
- package/src/types/rag/ingestion.ts +2 -1
- package/src/types/rag/knowledge-base.ts +7 -3
- package/src/types/rag/retrieval.ts +2 -1
- package/src/types/rag/scope.ts +5 -0
- package/src/types/rag/vector.ts +5 -2
- package/src/types/run/config.ts +20 -0
- package/src/types/run/events.ts +28 -3
- package/src/types/run/metadata.ts +2 -0
- package/src/types/run/step.ts +2 -7
- package/src/types/run/store.ts +60 -2
- package/src/types/sandbox/index.ts +57 -14
- package/src/types/session/store.ts +18 -0
- package/src/types/tool/index.ts +33 -11
- package/src/types/topic/entity.ts +3 -4
- package/src/types/topic/store.ts +3 -3
- package/src/utils/id.ts +6 -0
- package/src/utils/process-environment.ts +101 -0
- package/src/vault/InMemoryCredentialVault.ts +29 -4
- package/src/vault/instrumentation.ts +24 -0
package/src/public-runtime.ts
CHANGED
|
@@ -25,15 +25,24 @@ export {
|
|
|
25
25
|
|
|
26
26
|
export * from './constants/index.js'
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export {
|
|
29
|
+
ConfigNamespaceCollisionError,
|
|
30
|
+
ConfigRegistry,
|
|
31
|
+
} from './config/registry.js'
|
|
29
32
|
export type { ConfigRegistryOptions, ConfigScope } from './config/registry.js'
|
|
30
33
|
export {
|
|
31
34
|
DiskConfigOverrideStore,
|
|
32
35
|
InMemoryConfigOverrideStore,
|
|
33
36
|
} from './store/config/index.js'
|
|
34
37
|
export type { ConfigOverrideStore } from './store/config/index.js'
|
|
35
|
-
export {
|
|
36
|
-
|
|
38
|
+
export {
|
|
39
|
+
MCPReconnectOptionsSchema,
|
|
40
|
+
MCPReconnectSupervisor,
|
|
41
|
+
} from './connector/mcp/reconnect.js'
|
|
42
|
+
export type {
|
|
43
|
+
MCPReconnectOptions,
|
|
44
|
+
MCPReconnectPolicySource,
|
|
45
|
+
} from './connector/mcp/reconnect.js'
|
|
37
46
|
|
|
38
47
|
export type {
|
|
39
48
|
CodeNavigationProvider,
|
|
@@ -79,7 +88,11 @@ export {
|
|
|
79
88
|
// whether the models it offers an operator are ones the kernel can price —
|
|
80
89
|
// `sdk ← providers` means the SDK's own tests can never reach a real driver's
|
|
81
90
|
// model list, so that check lives in the driver and needs this.
|
|
82
|
-
export {
|
|
91
|
+
export {
|
|
92
|
+
normaliseModelId,
|
|
93
|
+
resolveModelPricing,
|
|
94
|
+
VENDOR_RATES,
|
|
95
|
+
} from './pricing/index.js'
|
|
83
96
|
export { toErrorMessage } from './utils/error.js'
|
|
84
97
|
export { getLogCounters, Logger } from './utils/logger.js'
|
|
85
98
|
/**
|
|
@@ -163,6 +176,22 @@ export {
|
|
|
163
176
|
} from './manager/topic/objective.js'
|
|
164
177
|
export { StaleObjectiveError } from './types/topic/objective.js'
|
|
165
178
|
|
|
179
|
+
// A completion goal belongs to one durable Session. The direct host command
|
|
180
|
+
// consumes this store; automatic continuation is a separate driver rather
|
|
181
|
+
// than a side effect hidden inside persistence.
|
|
182
|
+
export {
|
|
183
|
+
DEFAULT_MAX_GOAL_ROUNDS,
|
|
184
|
+
DiskSessionGoalStore,
|
|
185
|
+
GoalExistsError,
|
|
186
|
+
GoalNotFoundError,
|
|
187
|
+
GoalRoundLimitError,
|
|
188
|
+
GoalSessionNotFoundError,
|
|
189
|
+
GoalTransitionError,
|
|
190
|
+
InMemorySessionGoalStore,
|
|
191
|
+
MAX_GOAL_OBJECTIVE_CHARS,
|
|
192
|
+
StaleGoalError,
|
|
193
|
+
} from './store/goal/index.js'
|
|
194
|
+
|
|
166
195
|
export {
|
|
167
196
|
EnvCredentialProvider,
|
|
168
197
|
ReadOnlyCredentialProviderError,
|
|
@@ -172,7 +201,10 @@ export {
|
|
|
172
201
|
// the check that stops the two tables drifting apart.
|
|
173
202
|
export { isCredentialEnvKey } from './constants/credential-env-keys.js'
|
|
174
203
|
|
|
175
|
-
export {
|
|
204
|
+
export {
|
|
205
|
+
createToolPresenter,
|
|
206
|
+
genericLabel,
|
|
207
|
+
} from './registry/tool/presentation.js'
|
|
176
208
|
export type { ToolPresenter } from './registry/tool/presentation.js'
|
|
177
209
|
|
|
178
210
|
// A stalled stream trips no request timeout — the request succeeded and
|
|
@@ -181,13 +213,28 @@ export type { ToolPresenter } from './registry/tool/presentation.js'
|
|
|
181
213
|
// One header, so a vendor reading its own logs can tell a kernel's traffic
|
|
182
214
|
// from a browser's — and so an abuse or rate-limit investigation lands on
|
|
183
215
|
// the right party.
|
|
184
|
-
export {
|
|
216
|
+
export {
|
|
217
|
+
NAMZU_APP_IDENTITY,
|
|
218
|
+
attributionHeaders,
|
|
219
|
+
} from './provider/attribution.js'
|
|
185
220
|
export type { AppIdentity } from './provider/attribution.js'
|
|
186
221
|
|
|
187
|
-
export {
|
|
222
|
+
export {
|
|
223
|
+
DEFAULT_STREAM_IDLE_TIMEOUT_MS,
|
|
224
|
+
withStreamIdleTimeout,
|
|
225
|
+
} from './provider/idle-timeout.js'
|
|
188
226
|
export type { WithStreamIdleTimeoutOptions } from './provider/idle-timeout.js'
|
|
227
|
+
export { DEFAULT_MAX_REQUEST_RICH_CONTENT_BYTES } from './runtime/query/request-rich-content.js'
|
|
228
|
+
export { DEFAULT_SANDBOX_TEARDOWN_TIMEOUT_MS } from './runtime/query/sandbox-lifecycle.js'
|
|
189
229
|
|
|
190
230
|
export { isTrustedReadOnly } from './tools/trusted-read-only.js'
|
|
231
|
+
export {
|
|
232
|
+
GoalRoundAuthorityError,
|
|
233
|
+
MIN_GOAL_BLOCK_ROUND,
|
|
234
|
+
SESSION_GOAL_TOOL_NAMES,
|
|
235
|
+
buildSessionGoalTools,
|
|
236
|
+
} from './tools/goal/index.js'
|
|
237
|
+
export { SessionGoalActivation } from './manager/goal/activation.js'
|
|
191
238
|
export { buildToolResultHashes, hashToolResult } from './utils/hash.js'
|
|
192
239
|
export {
|
|
193
240
|
compressShellOutput,
|
|
@@ -207,10 +254,16 @@ export { assertThinkingUnsupported } from './provider/thinking-support.js'
|
|
|
207
254
|
// written their own and all three read an 8-digit date suffix as the MINOR
|
|
208
255
|
// version, which inverted every capability decision keyed on it. The shape
|
|
209
256
|
// lives here; the vocabulary comes from the driver that knows it.
|
|
210
|
-
export {
|
|
257
|
+
export {
|
|
258
|
+
modelVersionAtLeast,
|
|
259
|
+
parseVersionedModelId,
|
|
260
|
+
} from './provider/model-version.js'
|
|
211
261
|
// Strict tool input is a SUBSET of JSON Schema, and a keyword outside it makes
|
|
212
262
|
// the vendor reject the whole request rather than degrade one field.
|
|
213
|
-
export {
|
|
263
|
+
export {
|
|
264
|
+
assertStrictSchema,
|
|
265
|
+
findStrictSchemaViolations,
|
|
266
|
+
} from './provider/strict-schema.js'
|
|
214
267
|
// A tool has one schema; what changes per provider is the DIALECT the wire
|
|
215
268
|
// parses, which is the wire's property. Rendered once, converted at the driver.
|
|
216
269
|
export { findDraft07Only, toSchemaDialect } from './registry/tool/dialect.js'
|
|
@@ -221,9 +274,18 @@ export { renderToolSchema } from './registry/tool/schema.js'
|
|
|
221
274
|
export type { StrictSchemaViolation } from './provider/strict-schema.js'
|
|
222
275
|
export type { ModelIdGrammar, ModelVersion } from './provider/model-version.js'
|
|
223
276
|
export { drainQuery, query } from './runtime/query/index.js'
|
|
277
|
+
export {
|
|
278
|
+
collapseProjectInstructionSnapshots,
|
|
279
|
+
isProjectInstructionMessage,
|
|
280
|
+
replaceProjectInstructionSnapshot,
|
|
281
|
+
} from './runtime/query/project-instructions.js'
|
|
224
282
|
// Mid-run guidance. A host holds the channel and the loop drains it at the
|
|
225
283
|
// tool-result boundary; see the module for why that is the only legal slot.
|
|
226
|
-
export {
|
|
284
|
+
export {
|
|
285
|
+
SteeringBinding,
|
|
286
|
+
attachSteering,
|
|
287
|
+
formatSteeringNote,
|
|
288
|
+
} from './runtime/query/steering.js'
|
|
227
289
|
export type { SteeringChannel } from './runtime/query/steering.js'
|
|
228
290
|
export { createMockBidiProvider, startBidiRun } from './runtime/bidi/index.js'
|
|
229
291
|
export { PromptCache } from './runtime/query/prompt-cache.js'
|
|
@@ -249,7 +311,10 @@ export { captureRunState, loadRunState } from './runtime/query/run-state.js'
|
|
|
249
311
|
// …and the driver that joins the snapshot back to a running loop. Without
|
|
250
312
|
// it every host wrote the same wiring, and in practice none did.
|
|
251
313
|
export { resumeRun } from './runtime/query/resume-run.js'
|
|
252
|
-
export type {
|
|
314
|
+
export type {
|
|
315
|
+
ResumeOutcome,
|
|
316
|
+
ResumeRunParams,
|
|
317
|
+
} from './runtime/query/resume-run.js'
|
|
253
318
|
// The scope type was internal, so a host calling `loadRunState` could not
|
|
254
319
|
// name the argument it had to construct.
|
|
255
320
|
export type { RunStateScope } from './runtime/query/run-state.js'
|
|
@@ -399,7 +464,12 @@ export {
|
|
|
399
464
|
// cannot arbitrate rather than proceeding unclaimed, because proceeding lets
|
|
400
465
|
// two workers restore one checkpoint, both run its tools and both write under
|
|
401
466
|
// one run id — which loses half the work and reports nothing.
|
|
402
|
-
export {
|
|
467
|
+
export {
|
|
468
|
+
claimRun,
|
|
469
|
+
fencedOut,
|
|
470
|
+
releaseRun,
|
|
471
|
+
toClaimSummary,
|
|
472
|
+
} from './store/index.js'
|
|
403
473
|
// Reading a run's durable event log back — what a consumer that lost its
|
|
404
474
|
// connection catches up through. `readRunEventsIn` takes a directory rather
|
|
405
475
|
// than a bound store because binding one CREATES the run directory, and a read
|
|
@@ -411,8 +481,12 @@ export { claimRun, fencedOut, releaseRun, toClaimSummary } from './store/index.j
|
|
|
411
481
|
// audit over a subtree, a host asking whether one run is contained by
|
|
412
482
|
// another) composes with the chain that is already persisted, rather than
|
|
413
483
|
// building a second parent registry beside it.
|
|
414
|
-
export {
|
|
415
|
-
|
|
484
|
+
export {
|
|
485
|
+
actorChain,
|
|
486
|
+
isDescendantOfActor,
|
|
487
|
+
MAX_ACTOR_CHAIN_DEPTH,
|
|
488
|
+
} from './session/actor-scope.js'
|
|
489
|
+
export { readRunEventsIn, readRunMessagesIn } from './store/index.js'
|
|
416
490
|
export {
|
|
417
491
|
DiskMessageFeedbackStore,
|
|
418
492
|
InMemoryMessageFeedbackStore,
|
|
@@ -501,7 +575,10 @@ export type {
|
|
|
501
575
|
// Exported because `buildCoordinatorTools` is: a host that builds the
|
|
502
576
|
// coordinator surface itself needs the same inbox the loop drains, or its
|
|
503
577
|
// abandoned completions go unheard exactly as they did before.
|
|
504
|
-
export {
|
|
578
|
+
export {
|
|
579
|
+
CompletionInbox,
|
|
580
|
+
formatCompletionNotification,
|
|
581
|
+
} from './scheduler/completion-inbox.js'
|
|
505
582
|
|
|
506
583
|
// ─── providers, sandbox, vault ───────────────────────────────────────────
|
|
507
584
|
|
|
@@ -573,6 +650,7 @@ export {
|
|
|
573
650
|
assembleRAGContext,
|
|
574
651
|
cosineSimilarity,
|
|
575
652
|
DEFAULT_CHUNKING_CONFIG,
|
|
653
|
+
DEFAULT_EMBEDDING_REQUEST_TIMEOUT_MS,
|
|
576
654
|
DEFAULT_RAG_CONTEXT_CONFIG,
|
|
577
655
|
DEFAULT_RETRIEVAL_CONFIG,
|
|
578
656
|
DefaultIngestionPipeline,
|
|
@@ -657,7 +735,11 @@ export {
|
|
|
657
735
|
InvalidAgentCardError,
|
|
658
736
|
fetchAgentCard,
|
|
659
737
|
} from './bridge/a2a/client.js'
|
|
660
|
-
export type {
|
|
738
|
+
export type {
|
|
739
|
+
A2ADelegateConfig,
|
|
740
|
+
FetchAgentCardOptions,
|
|
741
|
+
FetchLike,
|
|
742
|
+
} from './bridge/a2a/client.js'
|
|
661
743
|
|
|
662
744
|
export {
|
|
663
745
|
mapRunToStreamEvent,
|
|
@@ -865,22 +947,15 @@ export {
|
|
|
865
947
|
|
|
866
948
|
export {
|
|
867
949
|
AncestryCycleError,
|
|
868
|
-
// Exported, unlike `ThreadClosedError`, because a host that closes a
|
|
869
|
-
// workspace has to be able to tell "this workspace is closed" from any
|
|
870
|
-
// other spawn failure — and matching on a message string is not a
|
|
871
|
-
// contract. The comment below is the reason; these are the first three
|
|
872
|
-
// that take it seriously.
|
|
873
950
|
ProjectClosedError,
|
|
874
951
|
ProjectNotEmptyError,
|
|
875
952
|
ProjectRootPathTakenError,
|
|
876
953
|
StaleProjectError,
|
|
877
|
-
// Exported with the CAS it announces. A host that opts into
|
|
878
|
-
// `expectedOwnerVersion` has to be able to tell "somebody else took this
|
|
879
|
-
// session" from any other failure, and string-matching a message is not a
|
|
880
|
-
// contract — which is the state `ThreadClosedError` and its siblings are
|
|
881
|
-
// still in, and a reason not to add a fourth.
|
|
882
954
|
StaleSessionError,
|
|
955
|
+
StaleTopicError,
|
|
883
956
|
TenantIsolationError,
|
|
957
|
+
TopicArchivedError,
|
|
958
|
+
TopicNotEmptyError,
|
|
884
959
|
WorkspaceBackendError,
|
|
885
960
|
} from './session/errors.js'
|
|
886
961
|
|
|
@@ -919,12 +994,15 @@ export { deriveChildState } from './types/invocation/index.js'
|
|
|
919
994
|
export { assertMemoryStatus } from './types/memory/index.js'
|
|
920
995
|
export {
|
|
921
996
|
createAssistantMessage,
|
|
997
|
+
createProjectInstructionMessage,
|
|
922
998
|
createSystemMessage,
|
|
923
999
|
createToolMessage,
|
|
924
1000
|
hasNonTextBlocks,
|
|
925
1001
|
toToolResultBlocks,
|
|
926
1002
|
toolResultToText,
|
|
927
1003
|
createUserMessage,
|
|
1004
|
+
isProjectInstructionMessageSource,
|
|
1005
|
+
MAX_PROJECT_INSTRUCTION_SOURCE_FILES,
|
|
928
1006
|
} from './types/message/index.js'
|
|
929
1007
|
export { isTerminalPlanStatus } from './types/plan/index.js'
|
|
930
1008
|
export {
|
|
@@ -946,6 +1024,7 @@ export {
|
|
|
946
1024
|
// anything reporting which controls a host enforces. `export type *`
|
|
947
1025
|
// carried it far enough to type-check and left the import to fail on
|
|
948
1026
|
// the first line of the built binary.
|
|
1027
|
+
SANDBOX_ENVIRONMENTS,
|
|
949
1028
|
SANDBOX_ISOLATION_CONTROLS,
|
|
950
1029
|
} from './types/sandbox/index.js'
|
|
951
1030
|
// `SandboxConfigSchema` is already re-exported above from `./config/runtime.js`
|
|
@@ -963,6 +1042,19 @@ export { assertTaskStatus, isTerminalTaskStatus } from './types/task/index.js'
|
|
|
963
1042
|
// offer "compact this conversation", could not shrink an idle session
|
|
964
1043
|
// between turns, and could not collapse a span it had chosen.
|
|
965
1044
|
export { compactNow, compactRegion } from './compaction/manual.js'
|
|
1045
|
+
// A host persisting manual compaction has to recognise the system message on
|
|
1046
|
+
// resume. Export the identity predicate rather than making every host copy the
|
|
1047
|
+
// marker string and eventually disagree with the writer.
|
|
1048
|
+
export { isCompactionMessage } from './compaction/summary.js'
|
|
1049
|
+
// The sibling state-bearing system message. A host that carries a Run's
|
|
1050
|
+
// conversation into a fresh query must distinguish this ledger from the fresh
|
|
1051
|
+
// identity/environment prompt floor without copying its private header string.
|
|
1052
|
+
export { isWorkingMemoryMessage } from './runtime/query/iteration/phases/working-memory.js'
|
|
1053
|
+
// Their input and result types, because a function on the public surface whose
|
|
1054
|
+
// return type is not on it forces every caller to inline the shape or reach for
|
|
1055
|
+
// `any` — and the first host to try (`@namzu/cli`'s `/compact`) did exactly
|
|
1056
|
+
// that before this line existed.
|
|
1057
|
+
export type { CompactNowInput, CompactionResult } from './compaction/manual.js'
|
|
966
1058
|
|
|
967
1059
|
export {
|
|
968
1060
|
buildVerifiedSummary,
|
|
@@ -980,11 +1072,16 @@ export {
|
|
|
980
1072
|
findRetainedIndices,
|
|
981
1073
|
NullManager,
|
|
982
1074
|
removeDanglingMessages,
|
|
1075
|
+
repairToolMessageHistory,
|
|
983
1076
|
serializeState,
|
|
984
1077
|
SlidingWindowManager,
|
|
985
1078
|
StructuredCompactionManager,
|
|
986
1079
|
WorkingStateManager,
|
|
987
1080
|
} from './compaction/index.js'
|
|
1081
|
+
export type {
|
|
1082
|
+
ToolHistoryRepairReport,
|
|
1083
|
+
ToolHistoryRepairResult,
|
|
1084
|
+
} from './compaction/index.js'
|
|
988
1085
|
|
|
989
1086
|
// ─── loop control ────────────────────────────────────────────────────────
|
|
990
1087
|
|
|
@@ -1041,7 +1138,11 @@ export { ToolResultHalted } from './registry/tool/screen.js'
|
|
|
1041
1138
|
// Error taxonomy. `toPlatformError` is the load-bearing one: it normalizes
|
|
1042
1139
|
// ANYTHING thrown into the declared `PlatformError` shape, so a host writes
|
|
1043
1140
|
// one handler instead of an `instanceof` ladder per call site.
|
|
1044
|
-
export {
|
|
1141
|
+
export {
|
|
1142
|
+
NamzuError,
|
|
1143
|
+
isNamzuError,
|
|
1144
|
+
toPlatformError,
|
|
1145
|
+
} from './types/errors/index.js'
|
|
1045
1146
|
// The remediation layer above it: classification says what KIND of failure
|
|
1046
1147
|
// it is, the catalog says what a person should do about it. Separate on
|
|
1047
1148
|
// purpose — the first is structural and belongs at the boundary, the second
|
|
@@ -1053,7 +1154,11 @@ export {
|
|
|
1053
1154
|
readHint,
|
|
1054
1155
|
withHint,
|
|
1055
1156
|
} from './types/errors/catalog.js'
|
|
1056
|
-
export type {
|
|
1157
|
+
export type {
|
|
1158
|
+
ErrorCatalogRule,
|
|
1159
|
+
ErrorExplanation,
|
|
1160
|
+
ErrorFacts,
|
|
1161
|
+
} from './types/errors/catalog.js'
|
|
1057
1162
|
|
|
1058
1163
|
// The box itself is built by `query` — a host receives it through
|
|
1059
1164
|
// `onApprovalPolicy` rather than constructing one, because changing the
|
|
@@ -1117,14 +1222,67 @@ export {
|
|
|
1117
1222
|
// `compaction_shed` has carried the removed messages since NZ-RUNREC-06 and
|
|
1118
1223
|
// nothing read them back; evidence nobody can retrieve is evidence nobody
|
|
1119
1224
|
// kept.
|
|
1120
|
-
export { RunQuery } from './run-query/index.js'
|
|
1225
|
+
export { RunQuery, RunTranscriptUnavailableError } from './run-query/index.js'
|
|
1121
1226
|
|
|
1122
|
-
// A
|
|
1123
|
-
// binding to install.
|
|
1124
|
-
//
|
|
1227
|
+
// A host-scoped pseudo-terminal primitive, or a refusal that names the
|
|
1228
|
+
// binding to install. It neither creates a sandbox nor owns a descendant
|
|
1229
|
+
// process tree; a terminal backend supplies those guarantees. A pipe is not
|
|
1230
|
+
// a terminal, and substituting one is the failure this refuses — see
|
|
1231
|
+
// `sandbox/terminal.ts`.
|
|
1125
1232
|
export {
|
|
1126
1233
|
PTY_SPECIFIER,
|
|
1127
1234
|
TerminalUnavailableError,
|
|
1128
1235
|
loadPty,
|
|
1129
1236
|
openTerminalWith,
|
|
1130
1237
|
} from './sandbox/terminal.js'
|
|
1238
|
+
|
|
1239
|
+
// ─── types named by exported signatures ──────────────────────────────────
|
|
1240
|
+
//
|
|
1241
|
+
// Completing a surface that was already half-exposed. Each of these is the
|
|
1242
|
+
// parameter or the result of a function exported above, and none of them was
|
|
1243
|
+
// reachable — so a consumer could CALL the function and could not name what
|
|
1244
|
+
// they passed or what came back. They inlined the shape or reached for `any`,
|
|
1245
|
+
// and the package's vocabulary stopped at the function name.
|
|
1246
|
+
//
|
|
1247
|
+
// Found by `check-signature-types-exported.mjs`, which exists because the same
|
|
1248
|
+
// defect was hit three times in two days by whoever happened to write the first
|
|
1249
|
+
// consumer (`SpanProcessorLike`, then `CompactNowInput` and `CompactionResult`).
|
|
1250
|
+
// The gate is the reason this is a list rather than a fourth accident.
|
|
1251
|
+
export type { ResolvedContextWindow } from './compaction/context-window.js'
|
|
1252
|
+
export type { CompactRegionInput } from './compaction/manual.js'
|
|
1253
|
+
export type {
|
|
1254
|
+
CompactionVerificationOptions,
|
|
1255
|
+
UsageSink,
|
|
1256
|
+
} from './compaction/verifier.js'
|
|
1257
|
+
export type { PluginDiscoveryOptions, PluginEnablementCapabilities } from './plugin/loader.js'
|
|
1258
|
+
export type { ProbeContextInput } from './probe/context.js'
|
|
1259
|
+
export type {
|
|
1260
|
+
GoalCommandScope,
|
|
1261
|
+
KernelCommandOptions,
|
|
1262
|
+
} from './registry/command/kernel-commands.js'
|
|
1263
|
+
export type { ToolCatalogFromRegistryOptions } from './registry/toolset/catalog.js'
|
|
1264
|
+
export type { MockBidiScript, MockBidiSession } from './runtime/bidi/mock.js'
|
|
1265
|
+
export type { BidiRun, BidiRunParams } from './runtime/bidi/session.js'
|
|
1266
|
+
export type { SecretRedactionOptions } from './runtime/query/guardrail-presets.js'
|
|
1267
|
+
export type { ListCheckpointsInput } from './runtime/query/replay/list.js'
|
|
1268
|
+
export type {
|
|
1269
|
+
PrepareReplayInput,
|
|
1270
|
+
PreparedReplayState,
|
|
1271
|
+
} from './runtime/query/replay/prepare.js'
|
|
1272
|
+
export type {
|
|
1273
|
+
HandoffAssignment,
|
|
1274
|
+
HandoffOutcome,
|
|
1275
|
+
} from './session/handoff/assignment.js'
|
|
1276
|
+
export type { BroadcastHandoffDeps } from './session/handoff/broadcast.js'
|
|
1277
|
+
export type { SingleHandoffDeps } from './session/handoff/single.js'
|
|
1278
|
+
export type { InterventionChainLoader } from './session/intervention/prev-artifact.js'
|
|
1279
|
+
export type { FilesystemMigrationSink } from './session/migration/filesystem.js'
|
|
1280
|
+
export type { MigrationWarningSink } from './session/migration/id-prefix.js'
|
|
1281
|
+
export type { MigrationMarker } from './session/migration/marker.js'
|
|
1282
|
+
export type { ActionInput } from './tools/builtins/computer-use.js'
|
|
1283
|
+
export type { Project } from './types/project/entity.js'
|
|
1284
|
+
export type { CreatedLogger } from './utils/log/create-logger.js'
|
|
1285
|
+
export type {
|
|
1286
|
+
LoggerOptions,
|
|
1287
|
+
MutableLogSinkCounters,
|
|
1288
|
+
} from './utils/log/types.js'
|
package/src/public-tools.ts
CHANGED
|
@@ -24,6 +24,11 @@ export type { UntrustedEnvelope } from './tools/untrusted-envelope.js'
|
|
|
24
24
|
// ─── Built-in tools ──────────────────────────────────────────────────────
|
|
25
25
|
|
|
26
26
|
export { getBuiltinTools } from './tools/builtins/index.js'
|
|
27
|
+
// A host compiling operator permissions has a tool name and needs an argument
|
|
28
|
+
// to attach a pattern to. Without one it can only match against the serialised
|
|
29
|
+
// input, which is how an `allow` for `git status*` came to approve
|
|
30
|
+
// `git status && rm -rf ~`.
|
|
31
|
+
export { builtinCommandArguments, commandArgumentOf } from './tools/command-arguments.js'
|
|
27
32
|
export { ReadFileTool } from './tools/builtins/read-file.js'
|
|
28
33
|
export { WriteFileTool } from './tools/builtins/write-file.js'
|
|
29
34
|
export { EditTool } from './tools/builtins/edit.js'
|
package/src/public-types.ts
CHANGED
|
@@ -57,6 +57,7 @@ export type * from './types/bus/index.js'
|
|
|
57
57
|
export type * from './types/probe/index.js'
|
|
58
58
|
export type * from './types/doctor/index.js'
|
|
59
59
|
export type * from './types/workspace/index.js'
|
|
60
|
+
export type * from './types/goal/index.js'
|
|
60
61
|
|
|
61
62
|
// Session-hierarchy type surface (ses_010 moved entities here).
|
|
62
63
|
export type * from './types/session/index.js'
|
|
@@ -97,12 +98,18 @@ export type {
|
|
|
97
98
|
// ─── named type re-exports from mixed runtime+type modules ────────────────
|
|
98
99
|
// These modules contain runtime exports too; those go in public-runtime.ts.
|
|
99
100
|
|
|
100
|
-
export type {
|
|
101
|
+
export type {
|
|
102
|
+
AdvisoryCallContext,
|
|
103
|
+
AdvisoryExecutionResult,
|
|
104
|
+
} from './advisory/index.js'
|
|
101
105
|
|
|
102
106
|
export type { CacheRates, ModelPricing } from './utils/cost.js'
|
|
103
107
|
export type { VendorRates } from './pricing/index.js'
|
|
104
108
|
export type { PricingSubject } from './manager/run/persistence.js'
|
|
105
|
-
export type {
|
|
109
|
+
export type {
|
|
110
|
+
FrontmatterValue,
|
|
111
|
+
ParsedFrontmatter,
|
|
112
|
+
} from './utils/frontmatter.js'
|
|
106
113
|
export type { Logger } from './utils/logger.js'
|
|
107
114
|
export type {
|
|
108
115
|
LevelFilter,
|
|
@@ -112,12 +119,28 @@ export type {
|
|
|
112
119
|
Resource,
|
|
113
120
|
Severity,
|
|
114
121
|
} from './utils/log/index.js'
|
|
115
|
-
export type {
|
|
122
|
+
export type {
|
|
123
|
+
ShellCompressOptions,
|
|
124
|
+
ShellCompressResult,
|
|
125
|
+
} from './utils/shell-compress.js'
|
|
116
126
|
|
|
117
127
|
export type { QueryParams } from './runtime/query/index.js'
|
|
118
|
-
export type {
|
|
128
|
+
export type {
|
|
129
|
+
ProjectInstructionCallbackContext,
|
|
130
|
+
ProjectInstructionContext,
|
|
131
|
+
ProjectInstructionSnapshotUpdate,
|
|
132
|
+
ToolResultObservation,
|
|
133
|
+
} from './runtime/query/project-instructions.js'
|
|
134
|
+
export type {
|
|
135
|
+
PromptCacheConfig,
|
|
136
|
+
PromptCacheInput,
|
|
137
|
+
} from './runtime/query/prompt-cache.js'
|
|
119
138
|
|
|
120
|
-
export type {
|
|
139
|
+
export type {
|
|
140
|
+
LimitCheckResult,
|
|
141
|
+
LimitCheckerState,
|
|
142
|
+
RunReporter,
|
|
143
|
+
} from './run/index.js'
|
|
121
144
|
|
|
122
145
|
export type {
|
|
123
146
|
AgentIdentity,
|
|
@@ -136,17 +159,27 @@ export type {
|
|
|
136
159
|
Timestamped,
|
|
137
160
|
} from './store/index.js'
|
|
138
161
|
|
|
139
|
-
export type {
|
|
162
|
+
export type {
|
|
163
|
+
ManagedRegistryConfig,
|
|
164
|
+
ToolExecutionResult,
|
|
165
|
+
} from './registry/index.js'
|
|
140
166
|
|
|
141
167
|
export type { PluginLifecycleManagerConfig } from './plugin/lifecycle.js'
|
|
142
168
|
|
|
143
|
-
export type {
|
|
169
|
+
export type {
|
|
170
|
+
PlanApprovalHandler,
|
|
171
|
+
PlanEvent,
|
|
172
|
+
PlanEventListener,
|
|
173
|
+
} from './manager/index.js'
|
|
144
174
|
|
|
145
175
|
export type { DefineToolOptions } from './tools/defineTool.js'
|
|
146
176
|
|
|
147
177
|
export type { AdvisoryToolsOptions } from './tools/advisory/index.js'
|
|
148
178
|
|
|
149
|
-
export type {
|
|
179
|
+
export type {
|
|
180
|
+
CoordinatorToolsOptions,
|
|
181
|
+
TaskLaunchedCallback,
|
|
182
|
+
} from './tools/coordinator/index.js'
|
|
150
183
|
|
|
151
184
|
export type {
|
|
152
185
|
RegisterSharedRunPlanInput,
|
|
@@ -182,7 +215,29 @@ export type { AgentBusConfig } from './bus/index.js'
|
|
|
182
215
|
export type { ToolCallContext } from './authorization/index.js'
|
|
183
216
|
export type { PermissionPreset } from './authorization/index.js'
|
|
184
217
|
|
|
185
|
-
export type {
|
|
218
|
+
export type {
|
|
219
|
+
DiskSessionStoreConfig,
|
|
220
|
+
LinkageView,
|
|
221
|
+
} from './store/session/index.js'
|
|
222
|
+
|
|
223
|
+
// Public constructor contracts. A class reachable from the package root must
|
|
224
|
+
// not force consumers to reproduce its dependency/config shape by hand.
|
|
225
|
+
export type { DiskTopicStateStoreConfig } from './store/topic/state.js'
|
|
226
|
+
export type { EnvCredentialProviderOptions } from './vault/CredentialProvider.js'
|
|
227
|
+
export type { DiskMessageFeedbackStoreConfig } from './store/feedback/disk.js'
|
|
228
|
+
export type { MessageExistenceCheck } from './store/feedback/memory.js'
|
|
229
|
+
export type { AgentManagerDeps } from './manager/agent/lifecycle.js'
|
|
230
|
+
export type { ProjectManagerDeps } from './manager/project/lifecycle.js'
|
|
231
|
+
export type { TopicManagerDeps } from './manager/topic/lifecycle.js'
|
|
232
|
+
export type { FileLockManagerConfig } from './bus/lock.js'
|
|
233
|
+
export type { GitWorktreeDriverConfig } from './session/workspace/git-worktree.js'
|
|
234
|
+
export type { CapacityDimension } from './session/handoff/capacity.js'
|
|
235
|
+
export type { HandoffLockRejectedReason } from './session/handoff/version.js'
|
|
236
|
+
export type { SessionSummaryMaterializerDeps } from './session/summary/materialize.js'
|
|
237
|
+
export type { ArchivalManagerDeps } from './session/retention/archive.js'
|
|
238
|
+
export type { ArchiveBackendRef } from './types/retention/archive-backend-ref.js'
|
|
239
|
+
export type { DiskArchiveBackendConfig } from './session/retention/disk-backend.js'
|
|
240
|
+
export type { SlidingWindowManagerConfig } from './compaction/managers/slidingWindow.js'
|
|
186
241
|
|
|
187
242
|
export type {
|
|
188
243
|
ContextReducer,
|
|
@@ -229,7 +284,21 @@ export type {
|
|
|
229
284
|
DriveObjectiveParams,
|
|
230
285
|
} from './manager/topic/objective.js'
|
|
231
286
|
|
|
232
|
-
export type {
|
|
287
|
+
export type {
|
|
288
|
+
CreateSessionGoalParams,
|
|
289
|
+
DiskSessionGoalStoreConfig,
|
|
290
|
+
EditSessionGoalParams,
|
|
291
|
+
InMemorySessionGoalStoreConfig,
|
|
292
|
+
SessionGoalStore,
|
|
293
|
+
} from './store/goal/index.js'
|
|
294
|
+
export type { ResolveGoalRoundAuthority } from './tools/goal/index.js'
|
|
295
|
+
export type { ActiveSessionGoal } from './manager/goal/activation.js'
|
|
296
|
+
|
|
297
|
+
export type {
|
|
298
|
+
AgentHandle,
|
|
299
|
+
AgentHandleOptions,
|
|
300
|
+
AgentHandleStatus,
|
|
301
|
+
} from './agents/handle.js'
|
|
233
302
|
|
|
234
303
|
export type {
|
|
235
304
|
CredentialDescription,
|
|
@@ -266,6 +335,7 @@ export type {
|
|
|
266
335
|
} from './connector/web/index.js'
|
|
267
336
|
|
|
268
337
|
export type {
|
|
338
|
+
AttachmentOperationOptions,
|
|
269
339
|
AttachmentStore,
|
|
270
340
|
StoredAttachment,
|
|
271
341
|
StoredBytes,
|
|
@@ -277,7 +347,11 @@ export type {
|
|
|
277
347
|
RunStatusState,
|
|
278
348
|
} from './read-model/index.js'
|
|
279
349
|
|
|
280
|
-
export type {
|
|
350
|
+
export type {
|
|
351
|
+
RunQueryOptions,
|
|
352
|
+
RunTranscriptUnavailableReason,
|
|
353
|
+
ShedPass,
|
|
354
|
+
} from './run-query/index.js'
|
|
281
355
|
|
|
282
356
|
export type {
|
|
283
357
|
OpenTerminalOptions,
|