@nervekit/desktop 0.8.0 → 0.10.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/README.md +1 -2
- package/dist/app/data-directory-migration.d.ts.map +1 -1
- package/dist/app/data-directory-migration.js +20 -5
- package/dist/app/data-directory-migration.js.map +1 -1
- package/dist/app/run-runtime-recovery.d.ts +23 -0
- package/dist/app/run-runtime-recovery.d.ts.map +1 -0
- package/dist/app/run-runtime-recovery.js +86 -0
- package/dist/app/run-runtime-recovery.js.map +1 -0
- package/dist/daemon/connection-service.d.ts +9 -0
- package/dist/daemon/connection-service.d.ts.map +1 -0
- package/dist/daemon/connection-service.js +70 -0
- package/dist/daemon/connection-service.js.map +1 -0
- package/dist/daemon/diagnostics.d.ts +20 -0
- package/dist/daemon/diagnostics.d.ts.map +1 -0
- package/dist/daemon/diagnostics.js +64 -0
- package/dist/daemon/diagnostics.js.map +1 -0
- package/dist/daemon/node-integration.d.ts +7 -0
- package/dist/daemon/node-integration.d.ts.map +1 -0
- package/dist/daemon/node-integration.js +123 -0
- package/dist/daemon/node-integration.js.map +1 -0
- package/dist/daemon/policy.d.ts +17 -0
- package/dist/daemon/policy.d.ts.map +1 -0
- package/dist/daemon/policy.js +23 -0
- package/dist/daemon/policy.js.map +1 -0
- package/dist/daemon/ports.d.ts +74 -0
- package/dist/daemon/ports.d.ts.map +1 -0
- package/dist/daemon/ports.js +2 -0
- package/dist/daemon/ports.js.map +1 -0
- package/dist/daemon/profile.d.ts +8 -0
- package/dist/daemon/profile.d.ts.map +1 -0
- package/dist/daemon/profile.js +65 -0
- package/dist/daemon/profile.js.map +1 -0
- package/dist/daemon/supervisor.d.ts +64 -0
- package/dist/daemon/supervisor.d.ts.map +1 -0
- package/dist/daemon/supervisor.js +417 -0
- package/dist/daemon/supervisor.js.map +1 -0
- package/dist/daemon/types.d.ts +58 -0
- package/dist/daemon/types.d.ts.map +1 -0
- package/dist/daemon/types.js +2 -0
- package/dist/daemon/types.js.map +1 -0
- package/dist/daemon/urls.d.ts +29 -0
- package/dist/daemon/urls.d.ts.map +1 -0
- package/dist/daemon/urls.js +116 -0
- package/dist/daemon/urls.js.map +1 -0
- package/dist/daemon.d.ts +6 -36
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +6 -539
- package/dist/daemon.js.map +1 -1
- package/dist/main.js +18 -4
- package/dist/main.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/core/ids.d.ts +1 -1
- package/node_modules/@nervekit/contracts/dist/core/ids.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/core/ids.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/agents/agent.operations.schema.d.ts +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/agents/agent.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/agents/agent.schema.d.ts +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/agents/agent.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/agents/agent.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/agents/run.operations.schema.d.ts +2 -4
- package/node_modules/@nervekit/contracts/dist/domains/agents/run.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/agents/run.operations.schema.js +1 -10
- package/node_modules/@nervekit/contracts/dist/domains/agents/run.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/auth/auth.schema.d.ts +5 -0
- package/node_modules/@nervekit/contracts/dist/domains/auth/auth.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/auth/auth.schema.js +13 -1
- package/node_modules/@nervekit/contracts/dist/domains/auth/auth.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-events.d.ts +0 -4
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-events.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-events.js +1 -8
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-events.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.d.ts +9 -0
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.events.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.events.schema.js +5 -9
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.events.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.js +53 -3
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.d.ts +62 -3
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.js +27 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/envelope.schema.d.ts +10 -6
- package/node_modules/@nervekit/contracts/dist/domains/events/envelope.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/envelope.schema.js +7 -3
- package/node_modules/@nervekit/contracts/dist/domains/events/envelope.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/event-definition.schema.d.ts +3 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/event-definition.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/event-definition.schema.js +3 -2
- package/node_modules/@nervekit/contracts/dist/domains/events/event-definition.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/event-routing.d.ts +9 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/event-routing.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/event-routing.js +42 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/event-routing.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/index.d.ts +2 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/index.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/index.js +2 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/index.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/lifecycles.d.ts +41 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/lifecycles.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/lifecycles.js +51 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/lifecycles.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/public-event-catalog.schema.d.ts +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/public-event-catalog.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/public-event-catalog.schema.js +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/events/public-event-catalog.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/filesystem/filesystem.operations.schema.d.ts +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/filesystem/filesystem.schema.d.ts +4 -4
- package/node_modules/@nervekit/contracts/dist/domains/protocol/envelope.schema.d.ts +0 -2
- package/node_modules/@nervekit/contracts/dist/domains/protocol/envelope.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/envelope.schema.js +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/envelope.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/errors.schema.d.ts +2 -3
- package/node_modules/@nervekit/contracts/dist/domains/protocol/errors.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/event-stream.schema.d.ts +9 -108
- package/node_modules/@nervekit/contracts/dist/domains/protocol/event-stream.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/event-stream.schema.js +18 -132
- package/node_modules/@nervekit/contracts/dist/domains/protocol/event-stream.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/http.schema.d.ts +24 -74
- package/node_modules/@nervekit/contracts/dist/domains/protocol/http.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/index.d.ts +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/protocol/index.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/index.js +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/protocol/index.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.d.ts +42 -404
- package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.js +5 -8
- package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/notify.schema.d.ts +57 -0
- package/node_modules/@nervekit/contracts/dist/domains/protocol/notify.schema.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/protocol/notify.schema.js +10 -0
- package/node_modules/@nervekit/contracts/dist/domains/protocol/notify.schema.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.d.ts +132 -8
- package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.js +2 -0
- package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/session.schema.d.ts +21 -104
- package/node_modules/@nervekit/contracts/dist/domains/protocol/session.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/session.schema.js +6 -35
- package/node_modules/@nervekit/contracts/dist/domains/protocol/session.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/snapshot.schema.d.ts +8 -0
- package/node_modules/@nervekit/contracts/dist/domains/protocol/snapshot.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/stream-subscription.schema.d.ts +149 -0
- package/node_modules/@nervekit/contracts/dist/domains/protocol/stream-subscription.schema.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/protocol/stream-subscription.schema.js +45 -0
- package/node_modules/@nervekit/contracts/dist/domains/protocol/stream-subscription.schema.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/providers/provider.operations.schema.d.ts +12 -0
- package/node_modules/@nervekit/contracts/dist/domains/providers/provider.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/providers/providers.schema.d.ts +7 -0
- package/node_modules/@nervekit/contracts/dist/domains/providers/providers.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/providers/providers.schema.js +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/providers/providers.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/runs/run-runtime.schema.d.ts +17 -6
- package/node_modules/@nervekit/contracts/dist/domains/runs/run-runtime.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/runs/run-runtime.schema.js +9 -1
- package/node_modules/@nervekit/contracts/dist/domains/runs/run-runtime.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.js +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-runtime.events.schema.js +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-runtime.events.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.conversation-snapshot.schema.d.ts +6 -0
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.conversation-snapshot.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.d.ts +1 -34
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.js +1 -9
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.d.ts +13 -4
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.js +5 -2
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.d.ts +12 -0
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.js +4 -3
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.d.ts +1 -14
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.js +2 -11
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/index.d.ts +3 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/index.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/index.js +3 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/index.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/scratch-note.operations.schema.d.ts +46 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/scratch-note.operations.schema.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/scratch-note.operations.schema.js +18 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/scratch-note.operations.schema.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/scratch-note.schema.d.ts +35 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/scratch-note.schema.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/scratch-note.schema.js +36 -0
- package/node_modules/@nervekit/contracts/dist/domains/scratch-notes/scratch-note.schema.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/settings/settings.operations.schema.d.ts +42 -0
- package/node_modules/@nervekit/contracts/dist/domains/settings/settings.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/settings/settings.schema.d.ts +47 -0
- package/node_modules/@nervekit/contracts/dist/domains/settings/settings.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/settings/settings.schema.js +44 -3
- package/node_modules/@nervekit/contracts/dist/domains/settings/settings.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.d.ts +7 -0
- package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/storage/storage.events.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/storage/storage.events.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/storage/storage.operations.schema.d.ts +4 -4
- package/node_modules/@nervekit/contracts/dist/domains/storage/storage.schema.d.ts +8 -8
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.events.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.events.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.operations.schema.d.ts +3 -0
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.schema.d.ts +3 -0
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.schema.js +3 -0
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/index.d.ts +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/tools/index.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/index.js +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/tools/index.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/records.schema.d.ts +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/tools/records.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/records.schema.js +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/tools/records.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/task-tool-previews.schema.d.ts +397 -0
- package/node_modules/@nervekit/contracts/dist/domains/tools/task-tool-previews.schema.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/tools/task-tool-previews.schema.js +89 -0
- package/node_modules/@nervekit/contracts/dist/domains/tools/task-tool-previews.schema.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool-results.schema.d.ts +7 -13
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool-results.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool-results.schema.js +6 -12
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool-results.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool.operations.schema.d.ts +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/usage/usage.events.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/usage/usage.events.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/workers/agent-worker.schema.d.ts +6 -0
- package/node_modules/@nervekit/contracts/dist/domains/workers/agent-worker.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/workers/agent-worker.schema.js +2 -0
- package/node_modules/@nervekit/contracts/dist/domains/workers/agent-worker.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/index.d.ts +1 -0
- package/node_modules/@nervekit/contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/index.js +1 -0
- package/node_modules/@nervekit/contracts/dist/index.js.map +1 -1
- package/node_modules/@nervekit/contracts/package.json +1 -1
- package/node_modules/@nervekit/harness/dist/harness/agent-harness.d.ts +1 -0
- package/node_modules/@nervekit/harness/dist/harness/agent-harness.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/agent-harness.js +29 -7
- package/node_modules/@nervekit/harness/dist/harness/agent-harness.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.d.ts +2 -0
- package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.js +2 -2
- package/node_modules/@nervekit/harness/dist/harness/compaction/branch-summarization.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.d.ts +9 -5
- package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.js +118 -96
- package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/policy.d.ts +22 -2
- package/node_modules/@nervekit/harness/dist/harness/compaction/policy.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/policy.js +44 -18
- package/node_modules/@nervekit/harness/dist/harness/compaction/policy.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/types.d.ts +5 -0
- package/node_modules/@nervekit/harness/dist/harness/compaction/types.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/usage.d.ts +9 -0
- package/node_modules/@nervekit/harness/dist/harness/compaction/usage.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/usage.js +39 -0
- package/node_modules/@nervekit/harness/dist/harness/compaction/usage.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/events.d.ts +21 -2
- package/node_modules/@nervekit/harness/dist/harness/events.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-maintenance.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-maintenance.js +4 -3
- package/node_modules/@nervekit/harness/dist/harness/harness-maintenance.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-queue-methods.d.ts +7 -0
- package/node_modules/@nervekit/harness/dist/harness/harness-queue-methods.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-queue-methods.js +46 -11
- package/node_modules/@nervekit/harness/dist/harness/harness-queue-methods.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/options.d.ts +2 -1
- package/node_modules/@nervekit/harness/dist/harness/options.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/index.d.ts +2 -3
- package/node_modules/@nervekit/harness/dist/index.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/index.js +2 -3
- package/node_modules/@nervekit/harness/dist/index.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/pi-ai-models.d.ts +7 -1
- package/node_modules/@nervekit/harness/dist/pi-ai-models.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/pi-ai-models.js +23 -5
- package/node_modules/@nervekit/harness/dist/pi-ai-models.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/turn-loop.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/turn-loop.js +4 -0
- package/node_modules/@nervekit/harness/dist/runtime/loop/turn-loop.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/runtime.d.ts +9 -0
- package/node_modules/@nervekit/harness/dist/runtime.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/runtime.js +12 -4
- package/node_modules/@nervekit/harness/dist/runtime.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/types.d.ts +4 -1
- package/node_modules/@nervekit/harness/dist/types.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/worker.js +2 -0
- package/node_modules/@nervekit/harness/dist/worker.js.map +1 -1
- package/node_modules/@nervekit/harness/package.json +3 -3
- package/node_modules/@nervekit/host-runtime/dist/index.d.ts +3 -1
- package/node_modules/@nervekit/host-runtime/dist/index.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/index.js +2 -0
- package/node_modules/@nervekit/host-runtime/dist/index.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-coordinator.d.ts +15 -2
- package/node_modules/@nervekit/host-runtime/dist/run-coordinator.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-coordinator.js +240 -53
- package/node_modules/@nervekit/host-runtime/dist/run-coordinator.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-events.d.ts +3 -3
- package/node_modules/@nervekit/host-runtime/dist/run-events.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-events.js +8 -5
- package/node_modules/@nervekit/host-runtime/dist/run-events.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-execution.d.ts +6 -1
- package/node_modules/@nervekit/host-runtime/dist/run-execution.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-execution.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-prompts.d.ts +4 -1
- package/node_modules/@nervekit/host-runtime/dist/run-prompts.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-prompts.js +62 -22
- package/node_modules/@nervekit/host-runtime/dist/run-prompts.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-runtime.d.ts +17 -0
- package/node_modules/@nervekit/host-runtime/dist/run-runtime.d.ts.map +1 -0
- package/node_modules/@nervekit/host-runtime/dist/run-runtime.js +16 -0
- package/node_modules/@nervekit/host-runtime/dist/run-runtime.js.map +1 -0
- package/node_modules/@nervekit/host-runtime/dist/run-settlement.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-settlement.js +5 -0
- package/node_modules/@nervekit/host-runtime/dist/run-settlement.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-transitions.d.ts +9 -16
- package/node_modules/@nervekit/host-runtime/dist/run-transitions.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-transitions.js +10 -2
- package/node_modules/@nervekit/host-runtime/dist/run-transitions.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-unit-of-work.d.ts +5 -0
- package/node_modules/@nervekit/host-runtime/dist/run-unit-of-work.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/run-unit-of-work.js +7 -0
- package/node_modules/@nervekit/host-runtime/dist/run-unit-of-work.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/task-log-query.d.ts +10 -0
- package/node_modules/@nervekit/host-runtime/dist/task-log-query.d.ts.map +1 -0
- package/node_modules/@nervekit/host-runtime/dist/task-log-query.js +56 -0
- package/node_modules/@nervekit/host-runtime/dist/task-log-query.js.map +1 -0
- package/node_modules/@nervekit/host-runtime/dist/task-service.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/task-service.js +10 -7
- package/node_modules/@nervekit/host-runtime/dist/task-service.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.d.ts +1 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.js +1 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.js +31 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.js.map +1 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/fixture.d.ts +1 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/fixture.d.ts.map +1 -1
- package/node_modules/@nervekit/host-runtime/package.json +4 -4
- package/node_modules/@nervekit/protocol/dist/browser-ids.js +3 -3
- package/node_modules/@nervekit/protocol/dist/browser-ids.js.map +1 -1
- package/node_modules/@nervekit/protocol/dist/client-session.d.ts +20 -15
- package/node_modules/@nervekit/protocol/dist/client-session.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/client-session.js +243 -230
- package/node_modules/@nervekit/protocol/dist/client-session.js.map +1 -1
- package/node_modules/@nervekit/protocol/dist/event-batch.d.ts +4 -4
- package/node_modules/@nervekit/protocol/dist/event-batch.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/event-batch.js +9 -22
- package/node_modules/@nervekit/protocol/dist/event-batch.js.map +1 -1
- package/node_modules/@nervekit/protocol/dist/event-stream.d.ts +7 -8
- package/node_modules/@nervekit/protocol/dist/event-stream.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/event-stream.js +29 -57
- package/node_modules/@nervekit/protocol/dist/event-stream.js.map +1 -1
- package/node_modules/@nervekit/protocol/dist/ids.d.ts +8 -1
- package/node_modules/@nervekit/protocol/dist/ids.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/ids.js +8 -1
- package/node_modules/@nervekit/protocol/dist/ids.js.map +1 -1
- package/node_modules/@nervekit/protocol/dist/index.d.ts +0 -2
- package/node_modules/@nervekit/protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/index.js +0 -2
- package/node_modules/@nervekit/protocol/dist/index.js.map +1 -1
- package/node_modules/@nervekit/protocol/dist/messages.d.ts +0 -1
- package/node_modules/@nervekit/protocol/dist/messages.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/messages.js +2 -3
- package/node_modules/@nervekit/protocol/dist/messages.js.map +1 -1
- package/node_modules/@nervekit/protocol/dist/ports.d.ts +7 -39
- package/node_modules/@nervekit/protocol/dist/ports.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/server-session-types.d.ts +19 -22
- package/node_modules/@nervekit/protocol/dist/server-session-types.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/session.d.ts +6 -3
- package/node_modules/@nervekit/protocol/dist/session.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/session.js +322 -478
- package/node_modules/@nervekit/protocol/dist/session.js.map +1 -1
- package/node_modules/@nervekit/protocol/package.json +2 -2
- package/node_modules/@nervekit/tools/dist/execution/common/output-budget.js +2 -2
- package/node_modules/@nervekit/tools/dist/execution/common/output-budget.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/common/process-result.js +3 -3
- package/node_modules/@nervekit/tools/dist/execution/common/process-result.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/common/process-tree.d.ts +8 -0
- package/node_modules/@nervekit/tools/dist/execution/common/process-tree.d.ts.map +1 -0
- package/node_modules/@nervekit/tools/dist/execution/common/process-tree.js +36 -0
- package/node_modules/@nervekit/tools/dist/execution/common/process-tree.js.map +1 -0
- package/node_modules/@nervekit/tools/dist/execution/common/truncate.d.ts +1 -1
- package/node_modules/@nervekit/tools/dist/execution/common/truncate.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/common/truncate.js +1 -1
- package/node_modules/@nervekit/tools/dist/execution/common/truncate.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/filesystem/read.js +5 -5
- package/node_modules/@nervekit/tools/dist/execution/filesystem/read.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/python/python.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/python/python.js +2 -1
- package/node_modules/@nervekit/tools/dist/execution/python/python.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/shell/bash.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/shell/bash.js +2 -1
- package/node_modules/@nervekit/tools/dist/execution/shell/bash.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/web/web-fetch.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/web/web-fetch.js +4 -11
- package/node_modules/@nervekit/tools/dist/execution/web/web-fetch.js.map +1 -1
- package/node_modules/@nervekit/tools/package.json +2 -2
- package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.d.ts +9 -2
- package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.js +36 -4
- package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/agent-lifecycle.service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/agent-lifecycle.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/agent-lifecycle.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/agent-status.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/agent-status.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/agent-status.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/nerve-system-prompt.d.ts +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/nerve-system-prompt.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/nerve-system-prompt.js +19 -7
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/nerve-system-prompt.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.d.ts +22 -11
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.js +87 -51
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/message-mirror.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/message-mirror.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/sequential-tool-approval-batch.d.ts +15 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/sequential-tool-approval-batch.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/sequential-tool-approval-batch.js +138 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/sequential-tool-approval-batch.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.d.ts +6 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.js +31 -23
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/system-prompt-builder.d.ts +3 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/system-prompt-builder.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/system-prompt-builder.js +10 -3
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/system-prompt-builder.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.d.ts +11 -9
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.js +28 -29
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-harness-execution.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-harness-execution.js +89 -93
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-harness-execution.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-subagent-executions.d.ts +8 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-subagent-executions.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-subagent-executions.js +29 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-subagent-executions.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/auth-manager.d.ts +16 -7
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/auth-manager.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/auth-manager.js +98 -94
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/auth-manager.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.d.ts +3 -6
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.js +107 -99
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/pi-ai-credential-store.d.ts +18 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/pi-ai-credential-store.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/pi-ai-credential-store.js +90 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/pi-ai-credential-store.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/pi-ai-models-store.d.ts +13 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/pi-ai-models-store.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/pi-ai-models-store.js +42 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/pi-ai-models-store.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-lifecycle.service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-lifecycle.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-lifecycle.service.js +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-lifecycle.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-query.service.d.ts +3 -3
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-query.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-query.service.js +2 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-query.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.d.ts +12 -3
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.js +23 -6
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/import-service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/import-service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/import-service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/navigation-service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/navigation-service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/navigation-service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/summary.d.ts +2 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/summary.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/summary.js +7 -3
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/summary.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/human-input/approval-batch-resolution.d.ts +23 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/human-input/approval-batch-resolution.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/human-input/approval-batch-resolution.js +151 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/human-input/approval-batch-resolution.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/human-input/human-input-resolution.service.d.ts +5 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/human-input/human-input-resolution.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/human-input/human-input-resolution.service.js +85 -36
- package/node_modules/@nervekit/workbench-server/dist/domains/human-input/human-input-resolution.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/plans/plan-service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/plans/plan-service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/plans/plan-service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/projects/project.service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/projects/project.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/projects/project.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/projects/prune-conversations.service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/projects/prune-conversations.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/projects/prune-conversations.service.js +0 -6
- package/node_modules/@nervekit/workbench-server/dist/domains/projects/prune-conversations.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-trust.repository.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion.service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-cancellation.d.ts +3 -5
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-cancellation.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-cancellation.js +14 -30
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-cancellation.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-composition.d.ts +5 -3
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-composition.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-composition.js +7 -12
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-composition.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-event-publisher.d.ts +5 -5
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-event-publisher.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-event-publisher.js +9 -5
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-event-publisher.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-live-executions.d.ts +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-live-executions.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-live-executions.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-agent-execution.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-agent-execution.js +21 -4
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-agent-execution.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-query.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-query.js +15 -6
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-query.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run.service.d.ts +27 -4
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run.service.js +94 -14
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/index.d.ts +3 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/index.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/index.js +3 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/index.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/scratch-note.repository.d.ts +12 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/scratch-note.repository.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/scratch-note.repository.js +60 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/scratch-note.repository.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/scratch-note.service.d.ts +15 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/scratch-note.service.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/scratch-note.service.js +79 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/scratch-notes/scratch-note.service.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/storage/storage-cleanup.service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/storage/storage-cleanup.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/storage/storage-cleanup.service.js +3 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/storage/storage-cleanup.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/index.d.ts +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/index.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/index.js +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/index.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log.service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log.service.js +2 -33
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-notification.service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-notification.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-scope.d.ts +4 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-scope.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-scope.js +18 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-scope.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service-foreground.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service-foreground.js +17 -9
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service-foreground.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service.d.ts +4 -4
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service.js +2 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/agent-tool-adapter.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/agent-tool-adapter.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/agent-tool-adapter.js +28 -5
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/agent-tool-adapter.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/approval.repository.d.ts +2 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/approval.repository.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/interaction-session.service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/interaction-session.service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/interaction-session.service.js +4 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/interaction-session.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.d.ts +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.js +9 -17
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.js +36 -26
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/task-tool-transcript-preview.d.ts +17 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/task-tool-transcript-preview.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/task-tool-transcript-preview.js +233 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/task-tool-transcript-preview.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call-metadata-preview.d.ts +4 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call-metadata-preview.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call-metadata-preview.js +37 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call-metadata-preview.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call-transcript-preview.d.ts +1 -4
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call-transcript-preview.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call-transcript-preview.js +72 -81
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call-transcript-preview.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-errors.js +4 -3
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-errors.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.d.ts +10 -11
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.js +68 -38
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/web-tool-transcript-preview.d.ts +11 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/web-tool-transcript-preview.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/web-tool-transcript-preview.js +115 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/web-tool-transcript-preview.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.js +2 -6
- package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/workers/worker-manager.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/workers/worker-manager.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/workers/worker-manager.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.d.ts +13 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.js +25 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/index.d.ts +3 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/index.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/index.js +3 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/index.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/log-migration.d.ts +6 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/log-migration.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/log-migration.js +49 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/log-migration.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.d.ts +38 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.js +173 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log.d.ts +28 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log.js +210 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.d.ts +2 -31
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.js +2 -122
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index.d.ts +0 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index.js +0 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/schema.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/schema.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/schema.js +0 -14
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/schema.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/initialize.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/initialize.js +16 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/initialize.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/legacy-home-migration.d.ts +16 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/legacy-home-migration.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/legacy-home-migration.js +32 -32
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/legacy-home-migration.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/legacy-portable-state.d.ts +37 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/legacy-portable-state.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/legacy-portable-state.js +95 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/legacy-portable-state.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/main.js +9 -10
- package/node_modules/@nervekit/workbench-server/dist/main.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/constants.d.ts +4 -24
- package/node_modules/@nervekit/workbench-server/dist/protocol/constants.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/constants.js +6 -29
- package/node_modules/@nervekit/workbench-server/dist/protocol/constants.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/messages.d.ts +0 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/messages.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/messages.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.js +29 -9
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/protocol-websocket.d.ts +0 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/protocol-websocket.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/protocol-websocket.js +60 -76
- package/node_modules/@nervekit/workbench-server/dist/protocol/protocol-websocket.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/scratch-note-method-handler.d.ts +5 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/scratch-note-method-handler.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/scratch-note-method-handler.js +26 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/scratch-note-method-handler.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/snapshots.d.ts +2 -8
- package/node_modules/@nervekit/workbench-server/dist/protocol/snapshots.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/snapshots.js +10 -16
- package/node_modules/@nervekit/workbench-server/dist/protocol/snapshots.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/agent-routes.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/agent-routes.js +2 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/agent-routes.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/filesystem-routes.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/routes/status-routes.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/status-routes.js +6 -2
- package/node_modules/@nervekit/workbench-server/dist/routes/status-routes.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/storage-routes.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/storage-routes.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/task-routes.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/task-routes.js +1 -0
- package/node_modules/@nervekit/workbench-server/dist/routes/task-routes.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/workspace-routes.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/workspace-routes.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.d.ts +4 -4
- package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.js +20 -19
- package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.d.ts +52 -23
- package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.js +35 -18
- package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/web/assets/{dist-D_RgmRTM.js → dist-lmXnsumN.js} +1 -1
- package/node_modules/@nervekit/workbench-server/dist/web/assets/index-CDGydaQX.js +260 -0
- package/node_modules/@nervekit/workbench-server/dist/web/assets/index-m5Y19dVt.css +2 -0
- package/node_modules/@nervekit/workbench-server/dist/web/assets/xml-DMbpbO54.js +1 -0
- package/node_modules/@nervekit/workbench-server/dist/web/index.html +2 -2
- package/node_modules/@nervekit/workbench-server/dist/web/sw.js +1 -1
- package/node_modules/@nervekit/workbench-server/package.json +5 -5
- package/package.json +8 -8
- package/dist/daemon-helpers.d.ts +0 -31
- package/dist/daemon-helpers.d.ts.map +0 -1
- package/dist/daemon-helpers.js +0 -224
- package/dist/daemon-helpers.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/backpressure.schema.d.ts +0 -161
- package/node_modules/@nervekit/contracts/dist/domains/protocol/backpressure.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/backpressure.schema.js +0 -65
- package/node_modules/@nervekit/contracts/dist/domains/protocol/backpressure.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/replay.schema.d.ts +0 -498
- package/node_modules/@nervekit/contracts/dist/domains/protocol/replay.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/replay.schema.js +0 -121
- package/node_modules/@nervekit/contracts/dist/domains/protocol/replay.schema.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/utils/shell-output.d.ts +0 -16
- package/node_modules/@nervekit/harness/dist/harness/utils/shell-output.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/utils/shell-output.js +0 -137
- package/node_modules/@nervekit/harness/dist/harness/utils/shell-output.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/utils/truncate.d.ts +0 -70
- package/node_modules/@nervekit/harness/dist/harness/utils/truncate.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/utils/truncate.js +0 -289
- package/node_modules/@nervekit/harness/dist/harness/utils/truncate.js.map +0 -1
- package/node_modules/@nervekit/protocol/dist/ack-tracker.d.ts +0 -11
- package/node_modules/@nervekit/protocol/dist/ack-tracker.d.ts.map +0 -1
- package/node_modules/@nervekit/protocol/dist/ack-tracker.js +0 -35
- package/node_modules/@nervekit/protocol/dist/ack-tracker.js.map +0 -1
- package/node_modules/@nervekit/protocol/dist/replay-unavailable.d.ts +0 -20
- package/node_modules/@nervekit/protocol/dist/replay-unavailable.d.ts.map +0 -1
- package/node_modules/@nervekit/protocol/dist/replay-unavailable.js +0 -17
- package/node_modules/@nervekit/protocol/dist/replay-unavailable.js.map +0 -1
- package/node_modules/@nervekit/protocol/dist/session-queue.d.ts +0 -23
- package/node_modules/@nervekit/protocol/dist/session-queue.d.ts.map +0 -1
- package/node_modules/@nervekit/protocol/dist/session-queue.js +0 -192
- package/node_modules/@nervekit/protocol/dist/session-queue.js.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-completion.service.d.ts +0 -15
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-completion.service.d.ts.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-completion.service.js +0 -42
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-completion.service.js.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/event-bus.d.ts +0 -94
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/event-bus.d.ts.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/event-bus.js +0 -420
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/event-bus.js.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/event-refs.d.ts +0 -9
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/event-refs.d.ts.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/event-refs.js +0 -40
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/event-refs.js.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/web/assets/index-6wVxz_44.css +0 -2
- package/node_modules/@nervekit/workbench-server/dist/web/assets/index-CEbcprMh.js +0 -256
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const taskCancelOutcomeSchema: z.ZodEnum<{
|
|
3
|
+
cancelled: "cancelled";
|
|
4
|
+
force_cancelled: "force_cancelled";
|
|
5
|
+
already_terminal: "already_terminal";
|
|
6
|
+
became_terminal_before_cancel: "became_terminal_before_cancel";
|
|
7
|
+
no_matching_active_task: "no_matching_active_task";
|
|
8
|
+
}>;
|
|
9
|
+
export type TaskCancelOutcomePayload = z.infer<typeof taskCancelOutcomeSchema>;
|
|
10
|
+
/** Compact, bounded task data used by public tool-call transcript previews. */
|
|
11
|
+
export declare const taskToolSummarySchema: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
name: z.ZodOptional<z.ZodString>;
|
|
14
|
+
cwd: z.ZodString;
|
|
15
|
+
command: z.ZodString;
|
|
16
|
+
status: z.ZodEnum<{
|
|
17
|
+
running: "running";
|
|
18
|
+
completed: "completed";
|
|
19
|
+
failed: "failed";
|
|
20
|
+
cancelled: "cancelled";
|
|
21
|
+
starting: "starting";
|
|
22
|
+
ready: "ready";
|
|
23
|
+
stopping: "stopping";
|
|
24
|
+
timed_out: "timed_out";
|
|
25
|
+
orphaned: "orphaned";
|
|
26
|
+
}>;
|
|
27
|
+
readiness: z.ZodObject<{
|
|
28
|
+
readyUrl: z.ZodOptional<z.ZodString>;
|
|
29
|
+
readyOnUrl: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
outcome: z.ZodEnum<{
|
|
31
|
+
pending: "pending";
|
|
32
|
+
ready: "ready";
|
|
33
|
+
timeout: "timeout";
|
|
34
|
+
exited: "exited";
|
|
35
|
+
unavailable: "unavailable";
|
|
36
|
+
none: "none";
|
|
37
|
+
}>;
|
|
38
|
+
matched: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, z.core.$strict>;
|
|
40
|
+
timing: z.ZodObject<{
|
|
41
|
+
startedAt: z.ZodString;
|
|
42
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
termination: z.ZodOptional<z.ZodObject<{
|
|
45
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
|
+
signal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
error: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, z.core.$strict>>;
|
|
49
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
51
|
+
restartedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strict>>;
|
|
53
|
+
}, z.core.$strict>;
|
|
54
|
+
export type TaskToolSummaryPayload = z.infer<typeof taskToolSummarySchema>;
|
|
55
|
+
export declare const taskCancelOutcomePreviewSchema: z.ZodObject<{
|
|
56
|
+
task: z.ZodOptional<z.ZodObject<{
|
|
57
|
+
id: z.ZodString;
|
|
58
|
+
name: z.ZodOptional<z.ZodString>;
|
|
59
|
+
cwd: z.ZodString;
|
|
60
|
+
command: z.ZodString;
|
|
61
|
+
status: z.ZodEnum<{
|
|
62
|
+
running: "running";
|
|
63
|
+
completed: "completed";
|
|
64
|
+
failed: "failed";
|
|
65
|
+
cancelled: "cancelled";
|
|
66
|
+
starting: "starting";
|
|
67
|
+
ready: "ready";
|
|
68
|
+
stopping: "stopping";
|
|
69
|
+
timed_out: "timed_out";
|
|
70
|
+
orphaned: "orphaned";
|
|
71
|
+
}>;
|
|
72
|
+
readiness: z.ZodObject<{
|
|
73
|
+
readyUrl: z.ZodOptional<z.ZodString>;
|
|
74
|
+
readyOnUrl: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
outcome: z.ZodEnum<{
|
|
76
|
+
pending: "pending";
|
|
77
|
+
ready: "ready";
|
|
78
|
+
timeout: "timeout";
|
|
79
|
+
exited: "exited";
|
|
80
|
+
unavailable: "unavailable";
|
|
81
|
+
none: "none";
|
|
82
|
+
}>;
|
|
83
|
+
matched: z.ZodOptional<z.ZodString>;
|
|
84
|
+
}, z.core.$strict>;
|
|
85
|
+
timing: z.ZodObject<{
|
|
86
|
+
startedAt: z.ZodString;
|
|
87
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, z.core.$strict>;
|
|
89
|
+
termination: z.ZodOptional<z.ZodObject<{
|
|
90
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
91
|
+
signal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
error: z.ZodOptional<z.ZodString>;
|
|
93
|
+
}, z.core.$strict>>;
|
|
94
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
96
|
+
restartedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
97
|
+
}, z.core.$strict>>;
|
|
98
|
+
}, z.core.$strict>>;
|
|
99
|
+
outcome: z.ZodEnum<{
|
|
100
|
+
cancelled: "cancelled";
|
|
101
|
+
force_cancelled: "force_cancelled";
|
|
102
|
+
already_terminal: "already_terminal";
|
|
103
|
+
became_terminal_before_cancel: "became_terminal_before_cancel";
|
|
104
|
+
no_matching_active_task: "no_matching_active_task";
|
|
105
|
+
}>;
|
|
106
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
107
|
+
running: "running";
|
|
108
|
+
completed: "completed";
|
|
109
|
+
failed: "failed";
|
|
110
|
+
cancelled: "cancelled";
|
|
111
|
+
starting: "starting";
|
|
112
|
+
ready: "ready";
|
|
113
|
+
stopping: "stopping";
|
|
114
|
+
timed_out: "timed_out";
|
|
115
|
+
orphaned: "orphaned";
|
|
116
|
+
}>>;
|
|
117
|
+
message: z.ZodString;
|
|
118
|
+
}, z.core.$strict>;
|
|
119
|
+
export type TaskCancelOutcomePreviewPayload = z.infer<typeof taskCancelOutcomePreviewSchema>;
|
|
120
|
+
/** Public transcript preview of task_start. */
|
|
121
|
+
export declare const taskStartToolResultPreviewSchema: z.ZodObject<{
|
|
122
|
+
task: z.ZodObject<{
|
|
123
|
+
id: z.ZodString;
|
|
124
|
+
name: z.ZodOptional<z.ZodString>;
|
|
125
|
+
cwd: z.ZodString;
|
|
126
|
+
command: z.ZodString;
|
|
127
|
+
status: z.ZodEnum<{
|
|
128
|
+
running: "running";
|
|
129
|
+
completed: "completed";
|
|
130
|
+
failed: "failed";
|
|
131
|
+
cancelled: "cancelled";
|
|
132
|
+
starting: "starting";
|
|
133
|
+
ready: "ready";
|
|
134
|
+
stopping: "stopping";
|
|
135
|
+
timed_out: "timed_out";
|
|
136
|
+
orphaned: "orphaned";
|
|
137
|
+
}>;
|
|
138
|
+
readiness: z.ZodObject<{
|
|
139
|
+
readyUrl: z.ZodOptional<z.ZodString>;
|
|
140
|
+
readyOnUrl: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
+
outcome: z.ZodEnum<{
|
|
142
|
+
pending: "pending";
|
|
143
|
+
ready: "ready";
|
|
144
|
+
timeout: "timeout";
|
|
145
|
+
exited: "exited";
|
|
146
|
+
unavailable: "unavailable";
|
|
147
|
+
none: "none";
|
|
148
|
+
}>;
|
|
149
|
+
matched: z.ZodOptional<z.ZodString>;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
timing: z.ZodObject<{
|
|
152
|
+
startedAt: z.ZodString;
|
|
153
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
154
|
+
}, z.core.$strict>;
|
|
155
|
+
termination: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
157
|
+
signal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
158
|
+
error: z.ZodOptional<z.ZodString>;
|
|
159
|
+
}, z.core.$strict>>;
|
|
160
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
161
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
162
|
+
restartedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, z.core.$strict>>;
|
|
164
|
+
}, z.core.$strict>;
|
|
165
|
+
}, z.core.$strict>;
|
|
166
|
+
export type TaskStartToolResultPreview = z.infer<typeof taskStartToolResultPreviewSchema>;
|
|
167
|
+
/** Public transcript preview of task_status. */
|
|
168
|
+
export declare const taskStatusToolResultPreviewSchema: z.ZodObject<{
|
|
169
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
170
|
+
id: z.ZodString;
|
|
171
|
+
name: z.ZodOptional<z.ZodString>;
|
|
172
|
+
cwd: z.ZodString;
|
|
173
|
+
command: z.ZodString;
|
|
174
|
+
status: z.ZodEnum<{
|
|
175
|
+
running: "running";
|
|
176
|
+
completed: "completed";
|
|
177
|
+
failed: "failed";
|
|
178
|
+
cancelled: "cancelled";
|
|
179
|
+
starting: "starting";
|
|
180
|
+
ready: "ready";
|
|
181
|
+
stopping: "stopping";
|
|
182
|
+
timed_out: "timed_out";
|
|
183
|
+
orphaned: "orphaned";
|
|
184
|
+
}>;
|
|
185
|
+
readiness: z.ZodObject<{
|
|
186
|
+
readyUrl: z.ZodOptional<z.ZodString>;
|
|
187
|
+
readyOnUrl: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
outcome: z.ZodEnum<{
|
|
189
|
+
pending: "pending";
|
|
190
|
+
ready: "ready";
|
|
191
|
+
timeout: "timeout";
|
|
192
|
+
exited: "exited";
|
|
193
|
+
unavailable: "unavailable";
|
|
194
|
+
none: "none";
|
|
195
|
+
}>;
|
|
196
|
+
matched: z.ZodOptional<z.ZodString>;
|
|
197
|
+
}, z.core.$strict>;
|
|
198
|
+
timing: z.ZodObject<{
|
|
199
|
+
startedAt: z.ZodString;
|
|
200
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
201
|
+
}, z.core.$strict>;
|
|
202
|
+
termination: z.ZodOptional<z.ZodObject<{
|
|
203
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
204
|
+
signal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
205
|
+
error: z.ZodOptional<z.ZodString>;
|
|
206
|
+
}, z.core.$strict>>;
|
|
207
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
208
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
209
|
+
restartedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, z.core.$strict>>;
|
|
211
|
+
}, z.core.$strict>>;
|
|
212
|
+
}, z.core.$strict>;
|
|
213
|
+
export type TaskStatusToolResultPreview = z.infer<typeof taskStatusToolResultPreviewSchema>;
|
|
214
|
+
/** Public transcript preview of task_cancel. */
|
|
215
|
+
export declare const taskCancelToolResultPreviewSchema: z.ZodObject<{
|
|
216
|
+
outcomes: z.ZodArray<z.ZodObject<{
|
|
217
|
+
task: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
id: z.ZodString;
|
|
219
|
+
name: z.ZodOptional<z.ZodString>;
|
|
220
|
+
cwd: z.ZodString;
|
|
221
|
+
command: z.ZodString;
|
|
222
|
+
status: z.ZodEnum<{
|
|
223
|
+
running: "running";
|
|
224
|
+
completed: "completed";
|
|
225
|
+
failed: "failed";
|
|
226
|
+
cancelled: "cancelled";
|
|
227
|
+
starting: "starting";
|
|
228
|
+
ready: "ready";
|
|
229
|
+
stopping: "stopping";
|
|
230
|
+
timed_out: "timed_out";
|
|
231
|
+
orphaned: "orphaned";
|
|
232
|
+
}>;
|
|
233
|
+
readiness: z.ZodObject<{
|
|
234
|
+
readyUrl: z.ZodOptional<z.ZodString>;
|
|
235
|
+
readyOnUrl: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
+
outcome: z.ZodEnum<{
|
|
237
|
+
pending: "pending";
|
|
238
|
+
ready: "ready";
|
|
239
|
+
timeout: "timeout";
|
|
240
|
+
exited: "exited";
|
|
241
|
+
unavailable: "unavailable";
|
|
242
|
+
none: "none";
|
|
243
|
+
}>;
|
|
244
|
+
matched: z.ZodOptional<z.ZodString>;
|
|
245
|
+
}, z.core.$strict>;
|
|
246
|
+
timing: z.ZodObject<{
|
|
247
|
+
startedAt: z.ZodString;
|
|
248
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
249
|
+
}, z.core.$strict>;
|
|
250
|
+
termination: z.ZodOptional<z.ZodObject<{
|
|
251
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
252
|
+
signal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
253
|
+
error: z.ZodOptional<z.ZodString>;
|
|
254
|
+
}, z.core.$strict>>;
|
|
255
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
256
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
257
|
+
restartedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
258
|
+
}, z.core.$strict>>;
|
|
259
|
+
}, z.core.$strict>>;
|
|
260
|
+
outcome: z.ZodEnum<{
|
|
261
|
+
cancelled: "cancelled";
|
|
262
|
+
force_cancelled: "force_cancelled";
|
|
263
|
+
already_terminal: "already_terminal";
|
|
264
|
+
became_terminal_before_cancel: "became_terminal_before_cancel";
|
|
265
|
+
no_matching_active_task: "no_matching_active_task";
|
|
266
|
+
}>;
|
|
267
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
268
|
+
running: "running";
|
|
269
|
+
completed: "completed";
|
|
270
|
+
failed: "failed";
|
|
271
|
+
cancelled: "cancelled";
|
|
272
|
+
starting: "starting";
|
|
273
|
+
ready: "ready";
|
|
274
|
+
stopping: "stopping";
|
|
275
|
+
timed_out: "timed_out";
|
|
276
|
+
orphaned: "orphaned";
|
|
277
|
+
}>>;
|
|
278
|
+
message: z.ZodString;
|
|
279
|
+
}, z.core.$strict>>;
|
|
280
|
+
}, z.core.$strict>;
|
|
281
|
+
export type TaskCancelToolResultPreview = z.infer<typeof taskCancelToolResultPreviewSchema>;
|
|
282
|
+
/** Public transcript preview of task_restart. */
|
|
283
|
+
export declare const taskRestartToolResultPreviewSchema: z.ZodObject<{
|
|
284
|
+
task: z.ZodObject<{
|
|
285
|
+
id: z.ZodString;
|
|
286
|
+
name: z.ZodOptional<z.ZodString>;
|
|
287
|
+
cwd: z.ZodString;
|
|
288
|
+
command: z.ZodString;
|
|
289
|
+
status: z.ZodEnum<{
|
|
290
|
+
running: "running";
|
|
291
|
+
completed: "completed";
|
|
292
|
+
failed: "failed";
|
|
293
|
+
cancelled: "cancelled";
|
|
294
|
+
starting: "starting";
|
|
295
|
+
ready: "ready";
|
|
296
|
+
stopping: "stopping";
|
|
297
|
+
timed_out: "timed_out";
|
|
298
|
+
orphaned: "orphaned";
|
|
299
|
+
}>;
|
|
300
|
+
readiness: z.ZodObject<{
|
|
301
|
+
readyUrl: z.ZodOptional<z.ZodString>;
|
|
302
|
+
readyOnUrl: z.ZodOptional<z.ZodBoolean>;
|
|
303
|
+
outcome: z.ZodEnum<{
|
|
304
|
+
pending: "pending";
|
|
305
|
+
ready: "ready";
|
|
306
|
+
timeout: "timeout";
|
|
307
|
+
exited: "exited";
|
|
308
|
+
unavailable: "unavailable";
|
|
309
|
+
none: "none";
|
|
310
|
+
}>;
|
|
311
|
+
matched: z.ZodOptional<z.ZodString>;
|
|
312
|
+
}, z.core.$strict>;
|
|
313
|
+
timing: z.ZodObject<{
|
|
314
|
+
startedAt: z.ZodString;
|
|
315
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
316
|
+
}, z.core.$strict>;
|
|
317
|
+
termination: z.ZodOptional<z.ZodObject<{
|
|
318
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
319
|
+
signal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
320
|
+
error: z.ZodOptional<z.ZodString>;
|
|
321
|
+
}, z.core.$strict>>;
|
|
322
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
323
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
324
|
+
restartedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
325
|
+
}, z.core.$strict>>;
|
|
326
|
+
}, z.core.$strict>;
|
|
327
|
+
restartedFromTaskId: z.ZodString;
|
|
328
|
+
newTaskId: z.ZodString;
|
|
329
|
+
restartRootTaskId: z.ZodString;
|
|
330
|
+
}, z.core.$strict>;
|
|
331
|
+
export type TaskRestartToolResultPreview = z.infer<typeof taskRestartToolResultPreviewSchema>;
|
|
332
|
+
/** Public transcript preview of task_logs. */
|
|
333
|
+
export declare const taskLogsToolResultPreviewSchema: z.ZodObject<{
|
|
334
|
+
task: z.ZodObject<{
|
|
335
|
+
id: z.ZodString;
|
|
336
|
+
name: z.ZodOptional<z.ZodString>;
|
|
337
|
+
cwd: z.ZodString;
|
|
338
|
+
command: z.ZodString;
|
|
339
|
+
status: z.ZodEnum<{
|
|
340
|
+
running: "running";
|
|
341
|
+
completed: "completed";
|
|
342
|
+
failed: "failed";
|
|
343
|
+
cancelled: "cancelled";
|
|
344
|
+
starting: "starting";
|
|
345
|
+
ready: "ready";
|
|
346
|
+
stopping: "stopping";
|
|
347
|
+
timed_out: "timed_out";
|
|
348
|
+
orphaned: "orphaned";
|
|
349
|
+
}>;
|
|
350
|
+
readiness: z.ZodObject<{
|
|
351
|
+
readyUrl: z.ZodOptional<z.ZodString>;
|
|
352
|
+
readyOnUrl: z.ZodOptional<z.ZodBoolean>;
|
|
353
|
+
outcome: z.ZodEnum<{
|
|
354
|
+
pending: "pending";
|
|
355
|
+
ready: "ready";
|
|
356
|
+
timeout: "timeout";
|
|
357
|
+
exited: "exited";
|
|
358
|
+
unavailable: "unavailable";
|
|
359
|
+
none: "none";
|
|
360
|
+
}>;
|
|
361
|
+
matched: z.ZodOptional<z.ZodString>;
|
|
362
|
+
}, z.core.$strict>;
|
|
363
|
+
timing: z.ZodObject<{
|
|
364
|
+
startedAt: z.ZodString;
|
|
365
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
366
|
+
}, z.core.$strict>;
|
|
367
|
+
termination: z.ZodOptional<z.ZodObject<{
|
|
368
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
369
|
+
signal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
370
|
+
error: z.ZodOptional<z.ZodString>;
|
|
371
|
+
}, z.core.$strict>>;
|
|
372
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
373
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
374
|
+
restartedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
375
|
+
}, z.core.$strict>>;
|
|
376
|
+
}, z.core.$strict>;
|
|
377
|
+
events: z.ZodArray<z.ZodObject<{
|
|
378
|
+
seq: z.ZodNumber;
|
|
379
|
+
ts: z.ZodString;
|
|
380
|
+
stream: z.ZodEnum<{
|
|
381
|
+
stdout: "stdout";
|
|
382
|
+
stderr: "stderr";
|
|
383
|
+
}>;
|
|
384
|
+
level: z.ZodEnum<{
|
|
385
|
+
error: "error";
|
|
386
|
+
info: "info";
|
|
387
|
+
warn: "warn";
|
|
388
|
+
}>;
|
|
389
|
+
line: z.ZodString;
|
|
390
|
+
}, z.core.$strip>>;
|
|
391
|
+
nextCursor: z.ZodNumber;
|
|
392
|
+
mode: z.ZodString;
|
|
393
|
+
previewPath: z.ZodOptional<z.ZodString>;
|
|
394
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
395
|
+
}, z.core.$strict>;
|
|
396
|
+
export type TaskLogsToolResultPreview = z.infer<typeof taskLogsToolResultPreviewSchema>;
|
|
397
|
+
//# sourceMappingURL=task-tool-previews.schema.d.ts.map
|
package/node_modules/@nervekit/contracts/dist/domains/tools/task-tool-previews.schema.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-tool-previews.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/tools/task-tool-previews.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,uBAAuB;;;;;;EAMlC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E,+EAA+E;AAC/E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqCvB,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE3E,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOhC,CAAC;AACZ,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,8BAA8B,CACtC,CAAC;AAEF,+CAA+C;AAC/C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAElC,CAAC;AACZ,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAEnC,CAAC;AACZ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAEnC,CAAC;AACZ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AAEF,iDAAiD;AACjD,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOpC,CAAC;AACZ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASjC,CAAC;AACZ,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { taskLogEventSchema, taskReadinessSchema, taskStatusSchema, } from "../tasks/index.js";
|
|
3
|
+
export const taskCancelOutcomeSchema = z.enum([
|
|
4
|
+
"cancelled",
|
|
5
|
+
"force_cancelled",
|
|
6
|
+
"already_terminal",
|
|
7
|
+
"became_terminal_before_cancel",
|
|
8
|
+
"no_matching_active_task",
|
|
9
|
+
]);
|
|
10
|
+
/** Compact, bounded task data used by public tool-call transcript previews. */
|
|
11
|
+
export const taskToolSummarySchema = z
|
|
12
|
+
.object({
|
|
13
|
+
id: z.string().startsWith("task_"),
|
|
14
|
+
name: z.string().min(1).optional(),
|
|
15
|
+
cwd: z.string().min(1),
|
|
16
|
+
command: z.string().min(1),
|
|
17
|
+
status: taskStatusSchema,
|
|
18
|
+
readiness: taskReadinessSchema
|
|
19
|
+
.pick({
|
|
20
|
+
outcome: true,
|
|
21
|
+
readyUrl: true,
|
|
22
|
+
readyOnUrl: true,
|
|
23
|
+
matched: true,
|
|
24
|
+
})
|
|
25
|
+
.strict(),
|
|
26
|
+
timing: z
|
|
27
|
+
.object({
|
|
28
|
+
startedAt: z.string().datetime(),
|
|
29
|
+
finishedAt: z.string().datetime().optional(),
|
|
30
|
+
})
|
|
31
|
+
.strict(),
|
|
32
|
+
termination: z
|
|
33
|
+
.object({
|
|
34
|
+
exitCode: z.number().int().nullable().optional(),
|
|
35
|
+
signal: z.string().nullable().optional(),
|
|
36
|
+
error: z.string().optional(),
|
|
37
|
+
})
|
|
38
|
+
.strict()
|
|
39
|
+
.optional(),
|
|
40
|
+
lineage: z
|
|
41
|
+
.object({
|
|
42
|
+
groupId: z.string().startsWith("taskgrp_").optional(),
|
|
43
|
+
restartedFromTaskId: z.string().startsWith("task_").optional(),
|
|
44
|
+
})
|
|
45
|
+
.strict()
|
|
46
|
+
.optional(),
|
|
47
|
+
})
|
|
48
|
+
.strict();
|
|
49
|
+
export const taskCancelOutcomePreviewSchema = z
|
|
50
|
+
.object({
|
|
51
|
+
task: taskToolSummarySchema.optional(),
|
|
52
|
+
outcome: taskCancelOutcomeSchema,
|
|
53
|
+
status: taskStatusSchema.optional(),
|
|
54
|
+
message: z.string(),
|
|
55
|
+
})
|
|
56
|
+
.strict();
|
|
57
|
+
/** Public transcript preview of task_start. */
|
|
58
|
+
export const taskStartToolResultPreviewSchema = z
|
|
59
|
+
.object({ task: taskToolSummarySchema })
|
|
60
|
+
.strict();
|
|
61
|
+
/** Public transcript preview of task_status. */
|
|
62
|
+
export const taskStatusToolResultPreviewSchema = z
|
|
63
|
+
.object({ tasks: z.array(taskToolSummarySchema) })
|
|
64
|
+
.strict();
|
|
65
|
+
/** Public transcript preview of task_cancel. */
|
|
66
|
+
export const taskCancelToolResultPreviewSchema = z
|
|
67
|
+
.object({ outcomes: z.array(taskCancelOutcomePreviewSchema) })
|
|
68
|
+
.strict();
|
|
69
|
+
/** Public transcript preview of task_restart. */
|
|
70
|
+
export const taskRestartToolResultPreviewSchema = z
|
|
71
|
+
.object({
|
|
72
|
+
task: taskToolSummarySchema,
|
|
73
|
+
restartedFromTaskId: z.string().startsWith("task_"),
|
|
74
|
+
newTaskId: z.string().startsWith("task_"),
|
|
75
|
+
restartRootTaskId: z.string().startsWith("task_"),
|
|
76
|
+
})
|
|
77
|
+
.strict();
|
|
78
|
+
/** Public transcript preview of task_logs. */
|
|
79
|
+
export const taskLogsToolResultPreviewSchema = z
|
|
80
|
+
.object({
|
|
81
|
+
task: taskToolSummarySchema,
|
|
82
|
+
events: z.array(taskLogEventSchema),
|
|
83
|
+
nextCursor: z.number().int().nonnegative(),
|
|
84
|
+
mode: z.string(),
|
|
85
|
+
previewPath: z.string().min(1).optional(),
|
|
86
|
+
truncated: z.boolean().optional(),
|
|
87
|
+
})
|
|
88
|
+
.strict();
|
|
89
|
+
//# sourceMappingURL=task-tool-previews.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-tool-previews.schema.js","sourceRoot":"","sources":["../../../src/domains/tools/task-tool-previews.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC5C,WAAW;IACX,iBAAiB;IACjB,kB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AAC,OAAO,CAAC;IACzC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;CAClD,CAAC;KACD,MAAM,EAAE,CAAC;AAKZ,8CAA8C;AAC9C,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC;KAC7C,MAAM,CAAC;IACN,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;IACnC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC1C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -1080,14 +1080,6 @@ export declare const toolExecutionResultSchema: z.ZodObject<{
|
|
|
1080
1080
|
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
1081
1081
|
}, z.core.$strip>;
|
|
1082
1082
|
export type ToolExecutionResultPayload = z.infer<typeof toolExecutionResultSchema>;
|
|
1083
|
-
export declare const taskCancelOutcomeSchema: z.ZodEnum<{
|
|
1084
|
-
cancelled: "cancelled";
|
|
1085
|
-
force_cancelled: "force_cancelled";
|
|
1086
|
-
already_terminal: "already_terminal";
|
|
1087
|
-
became_terminal_before_cancel: "became_terminal_before_cancel";
|
|
1088
|
-
no_matching_active_task: "no_matching_active_task";
|
|
1089
|
-
}>;
|
|
1090
|
-
export type TaskCancelOutcomePayload = z.infer<typeof taskCancelOutcomeSchema>;
|
|
1091
1083
|
export declare const taskCancelResultSchema: z.ZodObject<{
|
|
1092
1084
|
taskId: z.ZodOptional<z.ZodString>;
|
|
1093
1085
|
taskName: z.ZodOptional<z.ZodString>;
|
|
@@ -1129,7 +1121,7 @@ export declare const taskCancelResultSchema: z.ZodObject<{
|
|
|
1129
1121
|
}, z.core.$strip>>>;
|
|
1130
1122
|
}, z.core.$strip>;
|
|
1131
1123
|
export type TaskCancelResultPayload = z.infer<typeof taskCancelResultSchema>;
|
|
1132
|
-
/** Exact result of task_start. */
|
|
1124
|
+
/** Exact dispatcher result of task_start. */
|
|
1133
1125
|
export declare const taskStartToolResultSchema: z.ZodObject<{
|
|
1134
1126
|
task: z.ZodObject<{
|
|
1135
1127
|
id: z.ZodString;
|
|
@@ -1264,7 +1256,7 @@ export declare const taskStartToolResultSchema: z.ZodObject<{
|
|
|
1264
1256
|
}, z.core.$strip>]>>>;
|
|
1265
1257
|
}, z.core.$strict>;
|
|
1266
1258
|
export type TaskStartToolResult = z.infer<typeof taskStartToolResultSchema>;
|
|
1267
|
-
/** Exact result of task_status. */
|
|
1259
|
+
/** Exact dispatcher result of task_status. */
|
|
1268
1260
|
export declare const taskStatusToolResultSchema: z.ZodObject<{
|
|
1269
1261
|
tasks: z.ZodArray<z.ZodObject<{
|
|
1270
1262
|
id: z.ZodString;
|
|
@@ -1399,7 +1391,7 @@ export declare const taskStatusToolResultSchema: z.ZodObject<{
|
|
|
1399
1391
|
}, z.core.$strip>]>>>;
|
|
1400
1392
|
}, z.core.$strict>;
|
|
1401
1393
|
export type TaskStatusToolResult = z.infer<typeof taskStatusToolResultSchema>;
|
|
1402
|
-
/** Exact result of task_cancel. */
|
|
1394
|
+
/** Exact dispatcher result of task_cancel. */
|
|
1403
1395
|
export declare const taskCancelToolResultSchema: z.ZodObject<{
|
|
1404
1396
|
tasks: z.ZodArray<z.ZodObject<{
|
|
1405
1397
|
id: z.ZodString;
|
|
@@ -1574,7 +1566,7 @@ export declare const taskCancelToolResultSchema: z.ZodObject<{
|
|
|
1574
1566
|
}, z.core.$strip>]>>>;
|
|
1575
1567
|
}, z.core.$strict>;
|
|
1576
1568
|
export type TaskCancelToolResult = z.infer<typeof taskCancelToolResultSchema>;
|
|
1577
|
-
/** Exact result of task_restart. */
|
|
1569
|
+
/** Exact dispatcher result of task_restart. */
|
|
1578
1570
|
export declare const taskRestartToolResultSchema: z.ZodObject<{
|
|
1579
1571
|
task: z.ZodObject<{
|
|
1580
1572
|
id: z.ZodString;
|
|
@@ -1712,7 +1704,7 @@ export declare const taskRestartToolResultSchema: z.ZodObject<{
|
|
|
1712
1704
|
}, z.core.$strip>]>>>;
|
|
1713
1705
|
}, z.core.$strict>;
|
|
1714
1706
|
export type TaskRestartToolResult = z.infer<typeof taskRestartToolResultSchema>;
|
|
1715
|
-
/** Exact result of task_logs. */
|
|
1707
|
+
/** Exact dispatcher result of task_logs. */
|
|
1716
1708
|
export declare const taskLogsToolResultSchema: z.ZodObject<{
|
|
1717
1709
|
task: z.ZodObject<{
|
|
1718
1710
|
id: z.ZodString;
|
|
@@ -1852,6 +1844,8 @@ export declare const taskLogsToolResultSchema: z.ZodObject<{
|
|
|
1852
1844
|
line: z.ZodString;
|
|
1853
1845
|
}, z.core.$strip>>;
|
|
1854
1846
|
nextCursor: z.ZodNumber;
|
|
1847
|
+
hasMoreBefore: z.ZodBoolean;
|
|
1848
|
+
hasMoreAfter: z.ZodBoolean;
|
|
1855
1849
|
mode: z.ZodString;
|
|
1856
1850
|
previewPath: z.ZodOptional<z.ZodString>;
|
|
1857
1851
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-results.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/tools/tool-results.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"tool-results.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/tools/tool-results.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB;;;;;GAKG;AAEH,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC;A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;iBAO9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,uDAAuD;AACvD,eAAO,MAAM,cAAc;;;iBAGzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,uCAAuC;AACvC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;iBAO5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { thinkingLevelSchema } from "../models/index.js";
|
|
3
3
|
import { taskListeningPortSchema, taskLogQueryResponseSchema, taskRecordSchema, taskStatusSchema, } from "../tasks/index.js";
|
|
4
|
+
import { taskCancelOutcomeSchema } from "./task-tool-previews.schema.js";
|
|
4
5
|
/**
|
|
5
6
|
* Result contracts shared between the `@nervekit/tools` executors (producers) and the
|
|
6
7
|
* web UI (consumers). The persisted `toolCallRecordSchema.result` stays `z.unknown()`
|
|
@@ -483,13 +484,6 @@ export const toolExecutionResultSchema = z.object({
|
|
|
483
484
|
stderr: z.string().optional(),
|
|
484
485
|
exitCode: z.number().optional(),
|
|
485
486
|
});
|
|
486
|
-
export const taskCancelOutcomeSchema = z.enum([
|
|
487
|
-
"cancelled",
|
|
488
|
-
"force_cancelled",
|
|
489
|
-
"already_terminal",
|
|
490
|
-
"became_terminal_before_cancel",
|
|
491
|
-
"no_matching_active_task",
|
|
492
|
-
]);
|
|
493
487
|
export const taskCancelResultSchema = z.object({
|
|
494
488
|
taskId: z.string().startsWith("task_").optional(),
|
|
495
489
|
taskName: z.string().optional(),
|
|
@@ -499,21 +493,21 @@ export const taskCancelResultSchema = z.object({
|
|
|
499
493
|
message: z.string(),
|
|
500
494
|
releasedPorts: z.array(taskListeningPortSchema).optional(),
|
|
501
495
|
});
|
|
502
|
-
/** Exact result of task_start. */
|
|
496
|
+
/** Exact dispatcher result of task_start. */
|
|
503
497
|
export const taskStartToolResultSchema = z
|
|
504
498
|
.object({
|
|
505
499
|
task: taskRecordSchema,
|
|
506
500
|
contentBlocks: z.array(toolContentBlockSchema).optional(),
|
|
507
501
|
})
|
|
508
502
|
.strict();
|
|
509
|
-
/** Exact result of task_status. */
|
|
503
|
+
/** Exact dispatcher result of task_status. */
|
|
510
504
|
export const taskStatusToolResultSchema = z
|
|
511
505
|
.object({
|
|
512
506
|
tasks: z.array(taskRecordSchema),
|
|
513
507
|
contentBlocks: z.array(toolContentBlockSchema).optional(),
|
|
514
508
|
})
|
|
515
509
|
.strict();
|
|
516
|
-
/** Exact result of task_cancel. */
|
|
510
|
+
/** Exact dispatcher result of task_cancel. */
|
|
517
511
|
export const taskCancelToolResultSchema = z
|
|
518
512
|
.object({
|
|
519
513
|
tasks: z.array(taskRecordSchema),
|
|
@@ -521,7 +515,7 @@ export const taskCancelToolResultSchema = z
|
|
|
521
515
|
contentBlocks: z.array(toolContentBlockSchema).optional(),
|
|
522
516
|
})
|
|
523
517
|
.strict();
|
|
524
|
-
/** Exact result of task_restart. */
|
|
518
|
+
/** Exact dispatcher result of task_restart. */
|
|
525
519
|
export const taskRestartToolResultSchema = z
|
|
526
520
|
.object({
|
|
527
521
|
task: taskRecordSchema,
|
|
@@ -531,7 +525,7 @@ export const taskRestartToolResultSchema = z
|
|
|
531
525
|
contentBlocks: z.array(toolContentBlockSchema).optional(),
|
|
532
526
|
})
|
|
533
527
|
.strict();
|
|
534
|
-
/** Exact result of task_logs. */
|
|
528
|
+
/** Exact dispatcher result of task_logs. */
|
|
535
529
|
export const taskLogsToolResultSchema = taskLogQueryResponseSchema
|
|
536
530
|
.extend({
|
|
537
531
|
contentBlocks: z.array(toolContentBlockSchema).optional(),
|