@nervekit/desktop 0.12.0 → 0.14.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 +9 -20
- package/build/icons/16x16.png +0 -0
- package/build/icons/20x20.png +0 -0
- package/build/icons/24x24.png +0 -0
- package/build/icons/32x32.png +0 -0
- package/build/icons/40x40.png +0 -0
- package/build/icons/48x48.png +0 -0
- package/build/tray/linux/tray-dark.png +0 -0
- package/build/tray/linux/tray-light.png +0 -0
- package/build/tray/macos/nerveTemplate.png +0 -0
- package/build/tray/macos/nerveTemplate@2x.png +0 -0
- package/dist/app/startup-sequence.d.ts +28 -0
- package/dist/app/startup-sequence.d.ts.map +1 -0
- package/dist/app/startup-sequence.js +46 -0
- package/dist/app/startup-sequence.js.map +1 -0
- package/dist/main.js +56 -31
- package/dist/main.js.map +1 -1
- package/dist/settings/desktop-settings.d.ts +2 -1
- package/dist/settings/desktop-settings.d.ts.map +1 -1
- package/dist/settings/desktop-settings.js +7 -3
- package/dist/settings/desktop-settings.js.map +1 -1
- package/dist/window/initial-zoom.d.ts +3 -0
- package/dist/window/initial-zoom.d.ts.map +1 -0
- package/dist/window/initial-zoom.js +9 -0
- package/dist/window/initial-zoom.js.map +1 -0
- package/dist/window/loading-pages.js +2 -2
- 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.js +7 -7
- package/node_modules/@nervekit/contracts/dist/domains/agents/agent.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/agents/index.d.ts +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/agents/index.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/agents/index.js +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/agents/index.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/agents/run.events.schema.d.ts +2 -0
- package/node_modules/@nervekit/contracts/dist/domains/agents/run.events.schema.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/agents/run.events.schema.js +62 -0
- package/node_modules/@nervekit/contracts/dist/domains/agents/run.events.schema.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/agents/run.operations.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/agents/run.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/auth/auth.operations.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/auth/auth.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/auth/auth.schema.d.ts +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/completions/completion.operations.schema.js +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/completions/completion.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.d.ts +2 -1
- 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.js +3 -1
- 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 +15 -10
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation-runtime.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.events.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.events.schema.js +2 -3
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.events.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.d.ts +4 -0
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.js +11 -10
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.d.ts +68 -43
- 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 +35 -3
- package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.d.ts +2 -0
- package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.js +5 -5
- package/node_modules/@nervekit/contracts/dist/domains/events/bounded-public-data.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/event-definition.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/events/event-definition.schema.js.map +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 +4 -4
- 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.operations.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/filesystem/filesystem.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/filesystem/filesystem.schema.d.ts +4 -4
- package/node_modules/@nervekit/contracts/dist/domains/git/git.operations.schema.d.ts +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/git/git.operations.schema.js +17 -17
- package/node_modules/@nervekit/contracts/dist/domains/git/git.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/git/git.schema.d.ts +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/logs/logs.operations.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/logs/logs.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/logs/structured-logger.d.ts +7 -8
- package/node_modules/@nervekit/contracts/dist/domains/logs/structured-logger.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/logs/structured-logger.js +5 -6
- package/node_modules/@nervekit/contracts/dist/domains/logs/structured-logger.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/models/model.operations.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/models/model.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.operations.schema.d.ts +30 -50
- package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.operations.schema.js +14 -45
- package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.schema.d.ts +16 -0
- package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.schema.js +3 -0
- package/node_modules/@nervekit/contracts/dist/domains/pinned-commands/pinned-command.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/plans/plan.events.schema.d.ts +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/plans/plan.events.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/plans/plan.events.schema.js +1 -2
- package/node_modules/@nervekit/contracts/dist/domains/plans/plan.events.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/projects/project.operations.schema.js +6 -6
- package/node_modules/@nervekit/contracts/dist/domains/projects/project.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.events.schema.d.ts +11 -0
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.events.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.events.schema.js +10 -1
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.events.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.operations.schema.d.ts +67 -0
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.operations.schema.js +6 -4
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.schema.d.ts +80 -0
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.schema.js +55 -1
- package/node_modules/@nervekit/contracts/dist/domains/prompt-suggestions/prompt-suggestion.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/envelope.schema.d.ts +0 -12
- 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 -2
- 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 +0 -4
- 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 +0 -4
- package/node_modules/@nervekit/contracts/dist/domains/protocol/event-stream.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/http.schema.d.ts +34 -82
- package/node_modules/@nervekit/contracts/dist/domains/protocol/http.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.d.ts +18 -88
- package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/notify.schema.d.ts +0 -4
- package/node_modules/@nervekit/contracts/dist/domains/protocol/notify.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.d.ts +638 -7027
- 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 -4
- 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 +2 -26
- package/node_modules/@nervekit/contracts/dist/domains/protocol/session.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/protocol/snapshot.schema.d.ts +55 -7
- 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 +0 -8
- package/node_modules/@nervekit/contracts/dist/domains/protocol/stream-subscription.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/providers/provider.operations.schema.d.ts +24 -24
- package/node_modules/@nervekit/contracts/dist/domains/providers/provider.operations.schema.js +5 -5
- package/node_modules/@nervekit/contracts/dist/domains/providers/provider.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/providers/providers.schema.d.ts +14 -14
- package/node_modules/@nervekit/contracts/dist/domains/runs/run-runtime.schema.d.ts +13 -13
- package/node_modules/@nervekit/contracts/dist/domains/settings/settings.operations.schema.js +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/settings/settings.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.d.ts +28 -4
- package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.js +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/storage/storage.operations.schema.d.ts +14 -14
- package/node_modules/@nervekit/contracts/dist/domains/storage/storage.operations.schema.js +6 -6
- package/node_modules/@nervekit/contracts/dist/domains/storage/storage.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/storage/storage.schema.d.ts +27 -27
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/index.d.ts +3 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/index.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/index.js +3 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/index.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.events.schema.d.ts +2 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.events.schema.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.events.schema.js +10 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.events.schema.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.operations.schema.d.ts +81 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.operations.schema.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.operations.schema.js +26 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.operations.schema.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.schema.d.ts +50 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.schema.d.ts.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.schema.js +30 -0
- package/node_modules/@nervekit/contracts/dist/domains/task-definitions/task-definition.schema.js.map +1 -0
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.events.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.events.schema.js +4 -0
- 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 +315 -10
- 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.operations.schema.js +18 -8
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tasks/task.schema.d.ts +95 -6
- 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 +27 -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 +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/index.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/index.js +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/index.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/task-tool-previews.schema.d.ts +45 -18
- package/node_modules/@nervekit/contracts/dist/domains/tools/task-tool-previews.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool-results.schema.d.ts +150 -18
- 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.operations.schema.d.ts +2 -37
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool.operations.schema.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool.operations.schema.js +15 -19
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/usage/usage.operations.schema.js +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/usage/usage.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/workers/worker.operations.schema.d.ts +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/workers/worker.operations.schema.js +2 -2
- package/node_modules/@nervekit/contracts/dist/domains/workers/worker.operations.schema.js.map +1 -1
- package/node_modules/@nervekit/contracts/dist/domains/workers/worker.schema.d.ts +2 -2
- package/node_modules/@nervekit/contracts/dist/index.d.ts +1 -1
- package/node_modules/@nervekit/contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@nervekit/contracts/dist/index.js +1 -1
- package/node_modules/@nervekit/contracts/dist/index.js.map +1 -1
- package/node_modules/@nervekit/contracts/package.json +2 -3
- package/node_modules/@nervekit/harness/dist/{agent.d.ts → agent/agent.d.ts} +2 -2
- package/node_modules/@nervekit/harness/dist/agent/agent.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/{agent.js → agent/agent.js} +2 -2
- package/node_modules/@nervekit/harness/dist/agent/agent.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/agent-loop.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/agent/loop/agent-loop.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/loop/agent-loop.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/events.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/agent/loop/events.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/loop/events.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/stream-assistant.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/agent/loop/stream-assistant.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/stream-assistant.js +2 -2
- package/node_modules/@nervekit/harness/dist/agent/loop/stream-assistant.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/tool-execution.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/agent/loop/tool-execution.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/tool-execution.js +1 -1
- package/node_modules/@nervekit/harness/dist/agent/loop/tool-execution.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/turn-loop.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/agent/loop/turn-loop.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/loop/turn-loop.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/{suspension.d.ts → agent/suspension.d.ts} +1 -1
- package/node_modules/@nervekit/harness/dist/agent/suspension.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/suspension.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/{tool-adapter.d.ts → agent/tool-adapter.d.ts} +1 -1
- package/node_modules/@nervekit/harness/dist/agent/tool-adapter.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/tool-adapter.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/agent.d.ts +83 -0
- package/node_modules/@nervekit/harness/dist/agent/types/agent.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/agent.js +2 -0
- package/node_modules/@nervekit/harness/dist/agent/types/agent.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/common.d.ts +26 -0
- package/node_modules/@nervekit/harness/dist/agent/types/common.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/common.js +2 -0
- package/node_modules/@nervekit/harness/dist/agent/types/common.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/index.d.ts +6 -0
- package/node_modules/@nervekit/harness/dist/agent/types/index.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/index.js +6 -0
- package/node_modules/@nervekit/harness/dist/agent/types/index.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/{types.d.ts → agent/types/loop.d.ts} +5 -197
- package/node_modules/@nervekit/harness/dist/agent/types/loop.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/loop.js +2 -0
- package/node_modules/@nervekit/harness/dist/agent/types/loop.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/messages.d.ts +24 -0
- package/node_modules/@nervekit/harness/dist/agent/types/messages.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/messages.js +2 -0
- package/node_modules/@nervekit/harness/dist/agent/types/messages.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/tools.d.ts +74 -0
- package/node_modules/@nervekit/harness/dist/agent/types/tools.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/agent/types/tools.js +2 -0
- package/node_modules/@nervekit/harness/dist/agent/types/tools.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/agent-harness.d.ts +6 -5
- package/node_modules/@nervekit/harness/dist/harness/agent-harness.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/agent-harness.js +67 -191
- 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 -2
- 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 +1 -1
- 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 +23 -2
- package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.js +55 -16
- package/node_modules/@nervekit/harness/dist/harness/compaction/compaction.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/types.d.ts +1 -1
- 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 +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/usage.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/utils.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/harness/compaction/utils.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/{harness-configuration-methods.d.ts → configuration/operations.d.ts} +4 -4
- package/node_modules/@nervekit/harness/dist/harness/configuration/operations.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-configuration-methods.js → configuration/operations.js} +5 -5
- package/node_modules/@nervekit/harness/dist/harness/configuration/operations.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{options.d.ts → configuration/options.d.ts} +3 -3
- package/node_modules/@nervekit/harness/dist/harness/configuration/options.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/configuration/options.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/configuration/stream-options.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/configuration/stream-options.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{configuration.d.ts → configuration/tools.d.ts} +3 -3
- package/node_modules/@nervekit/harness/dist/harness/configuration/tools.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{configuration.js → configuration/tools.js} +2 -2
- package/node_modules/@nervekit/harness/dist/harness/configuration/tools.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{turn-state.d.ts → configuration/turn-state.d.ts} +3 -3
- package/node_modules/@nervekit/harness/dist/harness/configuration/turn-state.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/configuration/turn-state.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/conversation/context.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation/context.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation/conversation.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation/conversation.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation/entries.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation/entries.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-repo.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-repo.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-storage.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation/jsonl-storage.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/environment/nodejs.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/environment/nodejs.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/environment/types.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/environment/types.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-events.d.ts → lifecycle/event-hub.d.ts} +4 -4
- package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-hub.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-events.js → lifecycle/event-hub.js} +4 -4
- package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-hub.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.d.ts +26 -0
- package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.js +52 -0
- package/node_modules/@nervekit/harness/dist/harness/lifecycle/event-processing.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{events.d.ts → lifecycle/events.d.ts} +3 -3
- package/node_modules/@nervekit/harness/dist/harness/lifecycle/events.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{events.js.map → lifecycle/events.js.map} +1 -1
- package/node_modules/@nervekit/harness/dist/harness/{harness-maintenance.d.ts → maintenance/operations.d.ts} +5 -5
- package/node_modules/@nervekit/harness/dist/harness/maintenance/operations.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-maintenance.js → maintenance/operations.js} +6 -6
- package/node_modules/@nervekit/harness/dist/harness/maintenance/operations.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/messages.d.ts +3 -3
- package/node_modules/@nervekit/harness/dist/harness/messages.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/messages.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/harness/{utils/env-path.d.ts → path-utils.d.ts} +1 -1
- package/node_modules/@nervekit/harness/dist/harness/path-utils.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{utils/env-path.js → path-utils.js} +1 -1
- package/node_modules/@nervekit/harness/dist/harness/path-utils.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-queue-coalescing.d.ts → queue/coalescing.d.ts} +3 -3
- package/node_modules/@nervekit/harness/dist/harness/queue/coalescing.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-queue-coalescing.js → queue/coalescing.js} +2 -2
- package/node_modules/@nervekit/harness/dist/harness/queue/coalescing.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-queue-methods.d.ts → queue/operations.d.ts} +14 -4
- package/node_modules/@nervekit/harness/dist/harness/queue/operations.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-queue-methods.js → queue/operations.js} +35 -5
- package/node_modules/@nervekit/harness/dist/harness/queue/operations.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-invocations.d.ts → resources/invocations.d.ts} +4 -4
- package/node_modules/@nervekit/harness/dist/harness/resources/invocations.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-invocations.js → resources/invocations.js} +3 -3
- package/node_modules/@nervekit/harness/dist/harness/resources/invocations.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{prompt-templates.d.ts → resources/prompt-templates.d.ts} +2 -2
- package/node_modules/@nervekit/harness/dist/harness/resources/prompt-templates.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{prompt-templates.js → resources/prompt-templates.js} +2 -2
- package/node_modules/@nervekit/harness/dist/harness/resources/prompt-templates.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/format.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/harness/resources/skills/format.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/format.js +1 -1
- package/node_modules/@nervekit/harness/dist/harness/resources/skills/format.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/resources/skills/index.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/resources/skills/index.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/loader.d.ts +2 -2
- package/node_modules/@nervekit/harness/dist/harness/resources/skills/loader.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/loader.js +1 -1
- package/node_modules/@nervekit/harness/dist/harness/resources/skills/loader.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/parser.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/harness/resources/skills/parser.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/parser.js +1 -1
- package/node_modules/@nervekit/harness/dist/harness/resources/skills/parser.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/resources/skills/validation.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/resources/skills/validation.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/resources/system-prompt.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/resources/system-prompt.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-continuation.d.ts → run/continuation.d.ts} +4 -4
- package/node_modules/@nervekit/harness/dist/harness/run/continuation.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{harness-continuation.js → run/continuation.js} +6 -6
- package/node_modules/@nervekit/harness/dist/harness/run/continuation.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/{conversation-writes.d.ts → run/conversation-writes.d.ts} +3 -3
- package/node_modules/@nervekit/harness/dist/harness/run/conversation-writes.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/run/conversation-writes.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/run/execution.d.ts +42 -0
- package/node_modules/@nervekit/harness/dist/harness/run/execution.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/run/execution.js +118 -0
- package/node_modules/@nervekit/harness/dist/harness/run/execution.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/harness/run/messages.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/harness/run/messages.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/index.d.ts +24 -14
- package/node_modules/@nervekit/harness/dist/index.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/index.js +23 -13
- package/node_modules/@nervekit/harness/dist/index.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/models/image-normalization.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/models/image-normalization.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/models/prompt-stream.d.ts +4 -0
- package/node_modules/@nervekit/harness/dist/models/prompt-stream.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/models/prompt-stream.js +23 -0
- package/node_modules/@nervekit/harness/dist/models/prompt-stream.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/models/provider-error-classification.d.ts +3 -0
- package/node_modules/@nervekit/harness/dist/models/provider-error-classification.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/models/provider-error-classification.js +9 -0
- package/node_modules/@nervekit/harness/dist/models/provider-error-classification.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/{pi-ai-models.d.ts → models/provider-registry.d.ts} +1 -1
- package/node_modules/@nervekit/harness/dist/models/provider-registry.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/{pi-ai-models.js → models/provider-registry.js} +1 -1
- package/node_modules/@nervekit/harness/dist/models/provider-registry.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/models/resolution.d.ts +17 -0
- package/node_modules/@nervekit/harness/dist/models/resolution.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/{runtime.js → models/resolution.js} +5 -74
- package/node_modules/@nervekit/harness/dist/models/resolution.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/models/scripted-provider.d.ts +10 -0
- package/node_modules/@nervekit/harness/dist/models/scripted-provider.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/models/scripted-provider.js +55 -0
- package/node_modules/@nervekit/harness/dist/models/scripted-provider.js.map +1 -0
- package/node_modules/@nervekit/harness/dist/{runtime.d.ts → models/types.d.ts} +3 -23
- package/node_modules/@nervekit/harness/dist/models/types.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/{harness/env → models}/types.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/node.d.ts +1 -1
- package/node_modules/@nervekit/harness/dist/node.d.ts.map +1 -1
- package/node_modules/@nervekit/harness/dist/node.js +1 -1
- package/node_modules/@nervekit/harness/dist/node.js.map +1 -1
- package/node_modules/@nervekit/harness/dist/{proxy.d.ts → transport/proxy.d.ts} +1 -1
- package/node_modules/@nervekit/harness/dist/transport/proxy.d.ts.map +1 -0
- package/node_modules/@nervekit/harness/dist/transport/proxy.js.map +1 -0
- package/node_modules/@nervekit/harness/package.json +4 -4
- package/node_modules/@nervekit/protocol/dist/http-client.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/http-client.js +0 -3
- package/node_modules/@nervekit/protocol/dist/http-client.js.map +1 -1
- package/node_modules/@nervekit/protocol/dist/rpc.d.ts.map +1 -1
- package/node_modules/@nervekit/protocol/dist/rpc.js +0 -3
- package/node_modules/@nervekit/protocol/dist/rpc.js.map +1 -1
- package/node_modules/@nervekit/protocol/package.json +2 -2
- package/node_modules/@nervekit/tools/dist/catalog/orchestration/task.tools.d.ts +1 -1
- package/node_modules/@nervekit/tools/dist/catalog/orchestration/task.tools.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/catalog/orchestration/task.tools.js +3 -0
- package/node_modules/@nervekit/tools/dist/catalog/orchestration/task.tools.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.d.ts +2 -0
- package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.d.ts.map +1 -0
- package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.js +59 -0
- package/node_modules/@nervekit/tools/dist/execution/common/html-to-markdown.worker.js.map +1 -0
- package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.d.ts +17 -0
- package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.d.ts.map +1 -0
- package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.js +162 -0
- package/node_modules/@nervekit/tools/dist/execution/common/isolated-html-to-markdown.js.map +1 -0
- package/node_modules/@nervekit/tools/dist/execution/common/live-output.d.ts +15 -0
- package/node_modules/@nervekit/tools/dist/execution/common/live-output.d.ts.map +1 -0
- package/node_modules/@nervekit/tools/dist/execution/common/live-output.js +47 -0
- package/node_modules/@nervekit/tools/dist/execution/common/live-output.js.map +1 -0
- package/node_modules/@nervekit/tools/dist/execution/common/output-budget.d.ts +5 -1
- package/node_modules/@nervekit/tools/dist/execution/common/output-budget.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/common/output-budget.js +24 -10
- package/node_modules/@nervekit/tools/dist/execution/common/output-budget.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/confluence/files.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/confluence/files.js +2 -2
- package/node_modules/@nervekit/tools/dist/execution/confluence/files.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.d.ts +1 -1
- package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.js +6 -31
- package/node_modules/@nervekit/tools/dist/execution/confluence/markdown.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/index.d.ts +2 -1
- package/node_modules/@nervekit/tools/dist/execution/index.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/index.js +2 -1
- package/node_modules/@nervekit/tools/dist/execution/index.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/execution/python/python.js +7 -12
- 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 +8 -13
- 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 +49 -4
- package/node_modules/@nervekit/tools/dist/execution/web/web-fetch.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/index.d.ts +1 -1
- package/node_modules/@nervekit/tools/dist/index.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/index.js +1 -1
- package/node_modules/@nervekit/tools/dist/index.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/runtime/dispatcher.js +3 -3
- package/node_modules/@nervekit/tools/dist/runtime/dispatcher.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/runtime/orchestration/tasks.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/runtime/orchestration/tasks.js +3 -0
- package/node_modules/@nervekit/tools/dist/runtime/orchestration/tasks.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/runtime/types.d.ts +1 -1
- package/node_modules/@nervekit/tools/dist/runtime/types.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/dist/runtime/types.js.map +1 -1
- package/node_modules/@nervekit/tools/dist/types.d.ts +1 -1
- package/node_modules/@nervekit/tools/dist/types.d.ts.map +1 -1
- package/node_modules/@nervekit/tools/package.json +3 -3
- 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 +9 -1
- package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.js.map +1 -1
- package/node_modules/@nervekit/{host-runtime/dist/index.d.ts → workbench-server/dist/core/ports.d.ts} +1 -14
- package/node_modules/@nervekit/workbench-server/dist/core/ports.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/core/ports.js +2 -0
- package/node_modules/@nervekit/workbench-server/dist/core/ports.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/agent-lifecycle.service.js +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/prompting/agent-browser-skills.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/nerve-system-prompt.d.ts +1 -1
- 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 +1 -1
- 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/prompting/resource-loader.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/resource-loader.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/resource-loader.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/resource-loader.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/auto-compaction-runner.d.ts +6 -1
- 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 +12 -6
- 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/harness-execution-shared.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/harness-execution-shared.js +3 -7
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/harness-execution-shared.js.map +1 -1
- package/node_modules/@nervekit/{host-runtime/dist/harness.d.ts → workbench-server/dist/domains/agents/run/harness-factory.d.ts} +1 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/harness-factory.d.ts.map +1 -0
- package/node_modules/@nervekit/{host-runtime/dist/harness.js → workbench-server/dist/domains/agents/run/harness-factory.js} +1 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/harness-factory.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-results.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-results.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-runner.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-runner.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-runner.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/inline-command-runner.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/message-mirror.d.ts +1 -1
- 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/prompt-block-expansion.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/prompt-block-expansion.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/sequential-tool-approval-batch.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/sequential-tool-approval-batch.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.js +1 -1
- 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 +1 -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/workbench-agent-mechanics.d.ts +7 -5
- 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 +8 -2
- 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 +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 +4 -2
- 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/auth/oauth-flow-manager.d.ts +1 -1
- 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 +5 -5
- package/node_modules/@nervekit/workbench-server/dist/domains/auth/oauth-flow-manager.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-harness-storage.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-harness-storage.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-harness-storage.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-harness-storage.js.map +1 -1
- 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 +5 -3
- 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-service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-service.js +4 -4
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation.repository.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation.repository.js +5 -7
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation.repository.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-progress-publisher.d.ts +36 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-progress-publisher.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-progress-publisher.js +92 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-progress-publisher.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/compaction-service.d.ts +10 -2
- 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 +221 -144
- 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/navigation-service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/navigation-service.js +1 -2
- 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 +1 -1
- 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 +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/operations/summary.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/plans/plan-paths.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/plans/plan-paths.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/index.d.ts +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/index.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/index.js +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/index.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-builtins.d.ts +3 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-builtins.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-builtins.js +95 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-builtins.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-enablement.repository.d.ts +18 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-enablement.repository.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-enablement.repository.js +51 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-enablement.repository.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-evaluator.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-evaluator.js +10 -4
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-evaluator.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-loader.d.ts +2 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-loader.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-loader.js +39 -11
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-loader.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-types.d.ts +5 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-types.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion-types.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion.service.d.ts +10 -3
- 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/prompt-suggestions/prompt-suggestion.service.js +175 -53
- package/node_modules/@nervekit/workbench-server/dist/domains/prompt-suggestions/prompt-suggestion.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/providers/provider-catalog.store.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/providers/provider-catalog.store.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-cancellation.d.ts +1 -1
- 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-composition.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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-execution.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-execution.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-integrity.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-integrity.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-live-executions.d.ts +2 -2
- 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-references.d.ts +2 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-references.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.js +3 -4
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/run-transition.repository.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/index.d.ts +16 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/index.d.ts.map +1 -0
- package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/index.js +5 -3
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/index.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-cancellation.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-cancellation.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-checkpoints.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-checkpoints.js.map +1 -0
- package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-coordinator.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-coordinator.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-coordinator.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-errors.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-errors.js.map +1 -0
- package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-events.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-events.d.ts.map +1 -0
- package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-events.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-events.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-execution.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-execution.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-locks.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-locks.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-lookup-index.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-lookup-index.js.map +1 -0
- package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-prompts.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-prompts.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-prompts.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-recovery.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-recovery.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-retries.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-retries.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-runtime.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-runtime.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-settlement.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-settlement.js.map +1 -0
- package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-transitions.d.ts +3 -3
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-transitions.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-transitions.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-unit-of-work.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/runtime/run-unit-of-work.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-agent-execution.d.ts +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-run-query.d.ts +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 +1 -1
- 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-status-projector.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run-status-projector.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run.service.d.ts +1 -1
- 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 +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runs/workbench-run.service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runtime/python-runtime-service.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runtime/python-runtime-service.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runtime/python-runtime-service.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/runtime/python-runtime-service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/index.d.ts +3 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/index.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/index.js +3 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/index.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.repository.d.ts +11 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.repository.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.repository.js +53 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.repository.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.service.d.ts +15 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.service.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.service.js +74 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/task-definitions/task-definition.service.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/command.d.ts +8 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/command.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/command.js +40 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/command.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/darwin-driver.d.ts +3 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/darwin-driver.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/darwin-driver.js +163 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/darwin-driver.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/index.d.ts +7 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/index.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/index.js +7 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/index.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/linux-driver.d.ts +3 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/linux-driver.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/linux-driver.js +182 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/linux-driver.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/runtime-driver.d.ts +4 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/runtime-driver.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/runtime-driver.js +14 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/runtime-driver.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/shell.d.ts +9 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/shell.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/shell.js +63 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/shell.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/types.d.ts +46 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/types.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/types.js +2 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/types.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/windows-driver.d.ts +3 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/windows-driver.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/windows-driver.js +148 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/process-runtime/windows-driver.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log-query.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log-query.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-log.service.js +1 -1
- 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.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-notification.service.js +8 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-notification.service.js.map +1 -1
- package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tasks}/task-service.d.ts +16 -6
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-service.d.ts.map +1 -0
- package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tasks}/task-service.js +102 -16
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-service.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-status.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-status.js +3 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-status.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-supervisor.d.ts +4 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-supervisor.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-supervisor.js +16 -7
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/task-supervisor.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tasks/workbench-task-adapters.d.ts +1 -1
- 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 +38 -12
- 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 +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 +12 -2
- 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 +9 -6
- 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 +15 -3
- 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 +2 -2
- 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/git-mutation-publisher.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/git-mutation-publisher.js.map +1 -0
- package/node_modules/@nervekit/{host-runtime/dist/tools.d.ts → workbench-server/dist/domains/tools/host-tool-factory.d.ts} +1 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/host-tool-factory.d.ts.map +1 -0
- package/node_modules/@nervekit/{host-runtime/dist/tools.js → workbench-server/dist/domains/tools/host-tool-factory.js} +1 -2
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/host-tool-factory.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.d.ts +17 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.js +75 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/live-tool-output-publisher.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/orchestration-tool-dispatcher-handlers.d.ts +2 -2
- 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 +6 -32
- 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 +6 -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 +17 -8
- 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/policy.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/policy.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.d.ts +17 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.js +44 -4
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-call.repository.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-bounds.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-bounds.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-bounds.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-model-limits.d.ts +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-model-limits.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-model-limits.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-result-model-limits.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.d.ts +1 -0
- 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 +17 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/usage/subscription-usage-service.d.ts +2 -0
- 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 +9 -2
- 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/agent-process.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/workers/agent-process.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/http/errors.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/http/errors.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.d.ts +1 -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 +20 -4
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/diagnostics/logging.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.d.ts +8 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.js +26 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/events/stream-log-registry.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.d.ts +2 -0
- 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 +49 -0
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/index-store/index-store.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.d.ts +7 -3
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.js +67 -21
- package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/json.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/main.js +21 -14
- package/node_modules/@nervekit/workbench-server/dist/main.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/http-dispatcher.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/http-dispatcher.js +4 -12
- package/node_modules/@nervekit/workbench-server/dist/protocol/http-dispatcher.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.d.ts +17 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.js +54 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handler-registry.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.d.ts +505 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.js +88 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.d.ts +433 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.js +24 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.d.ts +400 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.js +68 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/interaction-method-handlers.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.d.ts +1120 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.js +127 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.d.ts +1085 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.d.ts.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.js +92 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/project-task-method-handlers.js.map +1 -0
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.d.ts +3 -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 +18 -566
- package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/auth-routes.js +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/auth-routes.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/project-routes.js +11 -11
- package/node_modules/@nervekit/workbench-server/dist/routes/project-routes.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/prompt-suggestion-routes.d.ts.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/prompt-suggestion-routes.js +12 -1
- package/node_modules/@nervekit/workbench-server/dist/routes/prompt-suggestion-routes.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.d.ts +3 -3
- 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 +23 -9
- 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 +172 -18
- 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 +117 -29
- package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.js.map +1 -1
- package/node_modules/@nervekit/workbench-server/dist/web/assets/{dist-CUNRgpDl.js → dist-U4j7h_73.js} +1 -1
- package/node_modules/@nervekit/workbench-server/dist/web/assets/index-C7drErUN.css +1 -0
- package/node_modules/@nervekit/workbench-server/dist/web/assets/index-Woxp8XqF.js +261 -0
- package/node_modules/@nervekit/workbench-server/dist/web/index.html +31 -2
- package/node_modules/@nervekit/workbench-server/dist/web/sw.js +1 -1
- package/node_modules/@nervekit/workbench-server/package.json +8 -7
- package/package.json +11 -13
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/index.d.ts +0 -12
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/index.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/index.js +0 -12
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/index.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.d.ts +0 -2
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.js +0 -35
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-manager.events.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-runtime.events.schema.d.ts +0 -2
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-runtime.events.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-runtime.events.schema.js +0 -22
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox-runtime.events.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.common.schema.d.ts +0 -226
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.common.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.common.schema.js +0 -171
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.common.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.config.schema.d.ts +0 -6717
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.config.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.config.schema.js +0 -781
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.config.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.conversation-snapshot.schema.d.ts +0 -711
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.conversation-snapshot.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.conversation-snapshot.schema.js +0 -38
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.conversation-snapshot.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.d.ts +0 -1345
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.js +0 -323
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.events.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.hash.d.ts +0 -7
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.hash.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.hash.js +0 -37
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.hash.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.d.ts +0 -5424
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.js +0 -699
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.manager.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.d.ts +0 -6737
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.js +0 -45
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.operations.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.d.ts +0 -891
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.js +0 -363
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.runtime-state.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.snapshot.schema.d.ts +0 -2284
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.snapshot.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.snapshot.schema.js +0 -377
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.snapshot.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.startup.d.ts +0 -21
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.startup.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.startup.js +0 -323
- package/node_modules/@nervekit/contracts/dist/domains/sandbox/sandbox.startup.js.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool-call-details.schema.d.ts +0 -39
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool-call-details.schema.d.ts.map +0 -1
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool-call-details.schema.js +0 -41
- package/node_modules/@nervekit/contracts/dist/domains/tools/tool-call-details.schema.js.map +0 -1
- package/node_modules/@nervekit/contracts/schemas/sandbox-config-v1.schema.json +0 -8403
- package/node_modules/@nervekit/harness/dist/agent-loop.d.ts +0 -2
- package/node_modules/@nervekit/harness/dist/agent-loop.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/agent-loop.js +0 -2
- package/node_modules/@nervekit/harness/dist/agent-loop.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/agent.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/agent.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/configuration.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/configuration.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation-writes.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/conversation-writes.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/env/nodejs.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/env/nodejs.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/env/types.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/events.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-configuration-methods.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-configuration-methods.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-continuation.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-continuation.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-events.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-events.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-invocations.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-invocations.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-maintenance.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-maintenance.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-queue-coalescing.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-queue-coalescing.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-queue-methods.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/harness-queue-methods.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/options.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/options.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/prompt-templates.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/prompt-templates.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills/format.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills/format.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills/index.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills/index.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills/loader.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills/loader.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills/parser.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills/parser.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills/validation.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills/validation.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills.d.ts +0 -2
- package/node_modules/@nervekit/harness/dist/harness/skills.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/skills.js +0 -2
- package/node_modules/@nervekit/harness/dist/harness/skills.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/stream-options.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/stream-options.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/system-prompt.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/system-prompt.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/turn-state.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/turn-state.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/types.d.ts +0 -9
- package/node_modules/@nervekit/harness/dist/harness/types.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/types.js +0 -8
- package/node_modules/@nervekit/harness/dist/harness/types.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/utils/env-path.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/harness/utils/env-path.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/pi-ai-models.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/pi-ai-models.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/proxy.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/proxy.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/image-normalization.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/image-normalization.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/agent-loop.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/agent-loop.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/events.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/events.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/index.d.ts +0 -6
- package/node_modules/@nervekit/harness/dist/runtime/loop/index.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/index.js +0 -6
- package/node_modules/@nervekit/harness/dist/runtime/loop/index.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/stream-assistant.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/stream-assistant.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/tool-execution.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/tool-execution.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/turn-loop.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime/loop/turn-loop.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/runtime.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/suspension.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/suspension.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/tool-adapter.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/tool-adapter.js.map +0 -1
- package/node_modules/@nervekit/harness/dist/types.d.ts.map +0 -1
- package/node_modules/@nervekit/harness/dist/types.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/LICENSE +0 -201
- package/node_modules/@nervekit/host-runtime/NOTICE +0 -5
- package/node_modules/@nervekit/host-runtime/dist/git-mutation-publisher.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/git-mutation-publisher.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/harness-worker.d.ts +0 -2
- package/node_modules/@nervekit/host-runtime/dist/harness-worker.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/harness-worker.js +0 -2
- package/node_modules/@nervekit/host-runtime/dist/harness-worker.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/harness.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/harness.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/index.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/index.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-cancellation.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-cancellation.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-checkpoints.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-checkpoints.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-coordinator.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-coordinator.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-errors.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-errors.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-events.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-events.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-execution.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-execution.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-locks.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-locks.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-lookup-index.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-lookup-index.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-prompts.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-prompts.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-recovery.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-recovery.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-retries.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-retries.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-runtime.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-runtime.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-settlement.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-settlement.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-transitions.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-transitions.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-unit-of-work.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/run-unit-of-work.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/task-log-query.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/task-log-query.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/task-service.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/task-service.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.d.ts +0 -71
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.js +0 -121
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/assertions.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.d.ts +0 -3
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.js +0 -146
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/cancellation.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/completion.d.ts +0 -6
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/completion.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/completion.js +0 -52
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/completion.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/fixture.d.ts +0 -96
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/fixture.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/fixture.js +0 -2
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/fixture.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/index.d.ts +0 -10
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/index.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/index.js +0 -10
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/index.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/interactions.d.ts +0 -3
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/interactions.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/interactions.js +0 -150
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/interactions.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/matrix.d.ts +0 -4
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/matrix.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/matrix.js +0 -22
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/matrix.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/redelivery-races.d.ts +0 -3
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/redelivery-races.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/redelivery-races.js +0 -68
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/redelivery-races.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/retry-recovery.d.ts +0 -3
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/retry-recovery.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/retry-recovery.js +0 -93
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/retry-recovery.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/tools.d.ts +0 -3
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/tools.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/tools.js +0 -36
- package/node_modules/@nervekit/host-runtime/dist/test-support/real-host-run-scenarios/tools.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support.d.ts +0 -2
- package/node_modules/@nervekit/host-runtime/dist/test-support.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/test-support.js +0 -2
- package/node_modules/@nervekit/host-runtime/dist/test-support.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/tools.d.ts.map +0 -1
- package/node_modules/@nervekit/host-runtime/dist/tools.js.map +0 -1
- package/node_modules/@nervekit/host-runtime/package.json +0 -38
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.d.ts +0 -114
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.d.ts.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.js +0 -452
- package/node_modules/@nervekit/workbench-server/dist/domains/conversations/conversation-runtime.js.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/index.d.ts +0 -3
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/index.d.ts.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/index.js +0 -3
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/index.js.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.repository.d.ts +0 -10
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.repository.d.ts.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.repository.js +0 -28
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.repository.js.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.service.d.ts +0 -13
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.service.d.ts.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.service.js +0 -63
- package/node_modules/@nervekit/workbench-server/dist/domains/pinned-commands/pinned-command.service.js.map +0 -1
- package/node_modules/@nervekit/workbench-server/dist/web/assets/index-CEGKY4zN.js +0 -260
- package/node_modules/@nervekit/workbench-server/dist/web/assets/index-oDY02_0Y.css +0 -2
- /package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/agent-loop.js +0 -0
- /package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/events.js +0 -0
- /package/node_modules/@nervekit/harness/dist/{runtime → agent}/loop/turn-loop.js +0 -0
- /package/node_modules/@nervekit/harness/dist/{suspension.js → agent/suspension.js} +0 -0
- /package/node_modules/@nervekit/harness/dist/{tool-adapter.js → agent/tool-adapter.js} +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{options.js → configuration/options.js} +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{stream-options.d.ts → configuration/stream-options.d.ts} +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{stream-options.js → configuration/stream-options.js} +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{turn-state.js → configuration/turn-state.js} +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/nodejs.d.ts +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/nodejs.js +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/types.d.ts +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{env → environment}/types.js +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{events.js → lifecycle/events.js} +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/index.d.ts +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/index.js +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/validation.d.ts +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{skills → resources/skills}/validation.js +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{system-prompt.d.ts → resources/system-prompt.d.ts} +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{system-prompt.js → resources/system-prompt.js} +0 -0
- /package/node_modules/@nervekit/harness/dist/harness/{conversation-writes.js → run/conversation-writes.js} +0 -0
- /package/node_modules/@nervekit/harness/dist/{runtime → models}/image-normalization.d.ts +0 -0
- /package/node_modules/@nervekit/harness/dist/{runtime → models}/image-normalization.js +0 -0
- /package/node_modules/@nervekit/harness/dist/{types.js → models/types.js} +0 -0
- /package/node_modules/@nervekit/harness/dist/{proxy.js → transport/proxy.js} +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-cancellation.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-cancellation.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-checkpoints.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-checkpoints.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-coordinator.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-errors.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-errors.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-execution.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-execution.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-locks.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-locks.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-lookup-index.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-lookup-index.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-prompts.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-recovery.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-recovery.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-retries.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-retries.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-runtime.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-runtime.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-settlement.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-settlement.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-transitions.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-unit-of-work.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/runs/runtime}/run-unit-of-work.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tasks}/task-log-query.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tasks}/task-log-query.js +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tools}/git-mutation-publisher.d.ts +0 -0
- /package/node_modules/@nervekit/{host-runtime/dist → workbench-server/dist/domains/tools}/git-mutation-publisher.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { clampThinkingLevel, fauxAssistantMessage,
|
|
2
|
-
import { ensureProviderForModel, getBuiltinProviderIds, getNerveFauxProvider, getRegisteredModel, getRegisteredModels, isBuiltinProvider,
|
|
3
|
-
import {
|
|
1
|
+
import { clampThinkingLevel, fauxAssistantMessage, getSupportedThinkingLevels, } from "@earendil-works/pi-ai";
|
|
2
|
+
import { ensureProviderForModel, getBuiltinProviderIds, getNerveFauxProvider, getRegisteredModel, getRegisteredModels, isBuiltinProvider, } from "./provider-registry.js";
|
|
3
|
+
import { getScriptedProviderModel } from "./scripted-provider.js";
|
|
4
4
|
function templateForCustomModel(model) {
|
|
5
5
|
if (!isKnownProvider(model.provider))
|
|
6
6
|
return undefined;
|
|
@@ -65,53 +65,6 @@ function customModelInfo(model) {
|
|
|
65
65
|
? { ...info, supportedThinkingLevels: model.supportedThinkingLevels }
|
|
66
66
|
: info;
|
|
67
67
|
}
|
|
68
|
-
const scriptedProviders = new Map();
|
|
69
|
-
export function registerAgentScriptedProvider(options) {
|
|
70
|
-
const provider = options.provider ?? "nerve-scripted";
|
|
71
|
-
const model = options.model ?? "scripted-fast";
|
|
72
|
-
const registration = registerManagedFauxProvider({
|
|
73
|
-
provider,
|
|
74
|
-
models: [{ id: model, name: "Nerve Scripted Test Model" }],
|
|
75
|
-
tokensPerSecond: 10_000,
|
|
76
|
-
tokenSize: { min: 64, max: 256 },
|
|
77
|
-
});
|
|
78
|
-
registration.setResponses(options.steps.map((step) => async (_context, streamOptions) => {
|
|
79
|
-
if (step.type === "assistantText") {
|
|
80
|
-
return fauxAssistantMessage(step.text ?? step.chunks?.join("") ?? "");
|
|
81
|
-
}
|
|
82
|
-
if (step.type === "toolCall") {
|
|
83
|
-
return fauxAssistantMessage([
|
|
84
|
-
fauxToolCall(step.name, step.args, { id: step.id }),
|
|
85
|
-
]);
|
|
86
|
-
}
|
|
87
|
-
if (step.type === "toolCalls") {
|
|
88
|
-
return fauxAssistantMessage(step.calls.map((call) => fauxToolCall(call.name, call.args, { id: call.id })));
|
|
89
|
-
}
|
|
90
|
-
if (step.type === "waitForAbort") {
|
|
91
|
-
await new Promise((resolve) => {
|
|
92
|
-
if (streamOptions?.signal?.aborted)
|
|
93
|
-
return resolve();
|
|
94
|
-
streamOptions?.signal?.addEventListener("abort", () => resolve(), {
|
|
95
|
-
once: true,
|
|
96
|
-
});
|
|
97
|
-
});
|
|
98
|
-
return fauxAssistantMessage("aborted");
|
|
99
|
-
}
|
|
100
|
-
return fauxAssistantMessage("", {
|
|
101
|
-
stopReason: "error",
|
|
102
|
-
errorMessage: `${step.retryable === false ? "NON_RETRYABLE" : "RETRYABLE"}: ${step.message}`,
|
|
103
|
-
});
|
|
104
|
-
}));
|
|
105
|
-
scriptedProviders.set(provider, registration);
|
|
106
|
-
const unregister = registration.unregister;
|
|
107
|
-
return {
|
|
108
|
-
...registration,
|
|
109
|
-
unregister: () => {
|
|
110
|
-
scriptedProviders.delete(provider);
|
|
111
|
-
unregister();
|
|
112
|
-
},
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
68
|
const fauxResponseFactory = (context) => {
|
|
116
69
|
const latest = [...context.messages]
|
|
117
70
|
.reverse()
|
|
@@ -143,10 +96,7 @@ function resolveAgentModelInternal(selection, appendFauxResponse, customModels)
|
|
|
143
96
|
const customResolved = custom ? toPiModel(custom) : undefined;
|
|
144
97
|
if (customResolved)
|
|
145
98
|
return customResolved;
|
|
146
|
-
const
|
|
147
|
-
? scriptedProviders.get(selection.provider)
|
|
148
|
-
: undefined;
|
|
149
|
-
const scriptedModel = scripted?.getModel(selection?.modelId ?? "");
|
|
99
|
+
const scriptedModel = getScriptedProviderModel(selection);
|
|
150
100
|
if (scriptedModel)
|
|
151
101
|
return scriptedModel;
|
|
152
102
|
if (selection && isKnownProvider(selection.provider)) {
|
|
@@ -181,25 +131,6 @@ export function clampAgentThinkingLevel(selection, requested, customModels) {
|
|
|
181
131
|
const model = resolveAgentModelInternal(selection, false, customModels);
|
|
182
132
|
return clampThinkingLevel(model, requested ?? "off");
|
|
183
133
|
}
|
|
184
|
-
export function streamAgentPrompt(input) {
|
|
185
|
-
return (async function* streamNormalizedPrompt() {
|
|
186
|
-
const resolvedModel = resolveAgentModel(input.model);
|
|
187
|
-
const model = input.baseUrl
|
|
188
|
-
? { ...resolvedModel, baseUrl: input.baseUrl }
|
|
189
|
-
: resolvedModel;
|
|
190
|
-
const context = {
|
|
191
|
-
systemPrompt: input.systemPrompt,
|
|
192
|
-
messages: await normalizeImagesForModel(input.messages, model),
|
|
193
|
-
};
|
|
194
|
-
yield* streamSimpleWithModel(model, context, {
|
|
195
|
-
signal: input.signal,
|
|
196
|
-
apiKey: input.apiKey,
|
|
197
|
-
headers: input.headers,
|
|
198
|
-
env: input.env,
|
|
199
|
-
maxTokens: 4096,
|
|
200
|
-
});
|
|
201
|
-
})();
|
|
202
|
-
}
|
|
203
134
|
const COMPLETE_MODEL_LIST_PROVIDERS = new Set([
|
|
204
135
|
// Subscription-backed and first-party providers expose the complete catalog.
|
|
205
136
|
"anthropic",
|
|
@@ -223,4 +154,4 @@ export function listAvailableModels(customModels) {
|
|
|
223
154
|
.filter((model) => Boolean(model));
|
|
224
155
|
return [...faux, ...configured, ...custom];
|
|
225
156
|
}
|
|
226
|
-
//# sourceMappingURL=
|
|
157
|
+
//# sourceMappingURL=resolution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolution.js","sourceRoot":"","sources":["../../src/models/resolution.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;A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AAQ,EAAE,EAAE,CAC9D,wBAAwB,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAC5E,CAAC;IACF,MAAM,MAAM,GAAG,CAAC,kBAAkB,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SACpD,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;SACtC,MAAM,CAAC,CAAC,KAAK,EAA2B,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IAC9D,OAAO,CAAC,GAAG,IAAI,EAAE,GAAG,UAAU,EAAE,GAAG,MAAM,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Model } from "@earendil-works/pi-ai";
|
|
2
|
+
import { type ManagedFauxProviderHandle } from "./provider-registry.js";
|
|
3
|
+
import type { AgentModelSelection, AgentScriptedProviderStep } from "./types.js";
|
|
4
|
+
export declare function registerAgentScriptedProvider(options: {
|
|
5
|
+
provider?: string;
|
|
6
|
+
model?: string;
|
|
7
|
+
steps: AgentScriptedProviderStep[];
|
|
8
|
+
}): ManagedFauxProviderHandle;
|
|
9
|
+
export declare function getScriptedProviderModel(selection: AgentModelSelection | undefined): Model<string> | undefined;
|
|
10
|
+
//# sourceMappingURL=scripted-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scripted-provider.d.ts","sourceRoot":"","sources":["../../src/models/scripted-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,YAAY,CAAC;AAIpB,wBAAgB,6BAA6B,CAAC,OAAO,EAAE;IACrD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,yBAAyB,EAAE,CAAC;CACpC,GAAG,yBAAyB,CAkD5B;AAED,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,mBAAmB,GAAG,SAAS,GACzC,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAG3B"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { fauxAssistantMessage, fauxToolCall } from "@earendil-works/pi-ai";
|
|
2
|
+
import { registerManagedFauxProvider, } from "./provider-registry.js";
|
|
3
|
+
const scriptedProviders = new Map();
|
|
4
|
+
export function registerAgentScriptedProvider(options) {
|
|
5
|
+
const provider = options.provider ?? "nerve-scripted";
|
|
6
|
+
const model = options.model ?? "scripted-fast";
|
|
7
|
+
const registration = registerManagedFauxProvider({
|
|
8
|
+
provider,
|
|
9
|
+
models: [{ id: model, name: "Nerve Scripted Test Model" }],
|
|
10
|
+
tokensPerSecond: 10_000,
|
|
11
|
+
tokenSize: { min: 64, max: 256 },
|
|
12
|
+
});
|
|
13
|
+
registration.setResponses(options.steps.map((step) => async (_context, streamOptions) => {
|
|
14
|
+
if (step.type === "assistantText") {
|
|
15
|
+
return fauxAssistantMessage(step.text ?? step.chunks?.join("") ?? "");
|
|
16
|
+
}
|
|
17
|
+
if (step.type === "toolCall") {
|
|
18
|
+
return fauxAssistantMessage([
|
|
19
|
+
fauxToolCall(step.name, step.args, { id: step.id }),
|
|
20
|
+
]);
|
|
21
|
+
}
|
|
22
|
+
if (step.type === "toolCalls") {
|
|
23
|
+
return fauxAssistantMessage(step.calls.map((call) => fauxToolCall(call.name, call.args, { id: call.id })));
|
|
24
|
+
}
|
|
25
|
+
if (step.type === "waitForAbort") {
|
|
26
|
+
await new Promise((resolve) => {
|
|
27
|
+
if (streamOptions?.signal?.aborted)
|
|
28
|
+
return resolve();
|
|
29
|
+
streamOptions?.signal?.addEventListener("abort", () => resolve(), {
|
|
30
|
+
once: true,
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
return fauxAssistantMessage("aborted");
|
|
34
|
+
}
|
|
35
|
+
return fauxAssistantMessage("", {
|
|
36
|
+
stopReason: "error",
|
|
37
|
+
errorMessage: `${step.retryable === false ? "NON_RETRYABLE" : "RETRYABLE"}: ${step.message}`,
|
|
38
|
+
});
|
|
39
|
+
}));
|
|
40
|
+
scriptedProviders.set(provider, registration);
|
|
41
|
+
const unregister = registration.unregister;
|
|
42
|
+
return {
|
|
43
|
+
...registration,
|
|
44
|
+
unregister: () => {
|
|
45
|
+
scriptedProviders.delete(provider);
|
|
46
|
+
unregister();
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function getScriptedProviderModel(selection) {
|
|
51
|
+
if (!selection)
|
|
52
|
+
return undefined;
|
|
53
|
+
return scriptedProviders.get(selection.provider)?.getModel(selection.modelId);
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=scripted-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scripted-provider.js","sourceRoot":"","sources":["../../src/models/scripted-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAMhC,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAEvE,MAAM,UAAU,6BAA6B,CAAC,OAI7C;IACC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,gBAAgB,CAAC;IACtD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,eAAe,CAAC;IAC/C,MAAM,YAAY,GAAG,2BAA2B,CAAC;QAC/C,QAAQ;QACR,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;QAC1D,eAAe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,EAAE,IAAI;iBACX,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;YACH,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;QACzC,CAAC;QACD,OAAO,oBAAoB,CAAC,EAAE,EAAE;YAC9B,UAAU,EAAE,OAAO;YACnB,YAAY,EAAE,GAAG,IAAI,CAAC,SAAS,KAAK,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,WAAW,KAAK,IAAI,CAAC,OAAO,EAAE;SAC7F,CAAC,CAAC;IACL,CAAC,CAAC,CACH,CAAC;IACF,iBAAiB,CAAC,GAAG,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC9C,MAAM,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC;IAC3C,OAAO;QACL,GAAG,YAAY;QACf,UAAU,EAAE,GAAG,EAAE;YACf,iBAAiB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YACnC,UAAU,EAAE,CAAC;QACf,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,SAA0C;IAE1C,IAAI,CAAC,SAAS;QAAE,OAAO,SAAS,CAAC;IACjC,OAAO,iBAAiB,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;AAChF,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import type { ThinkingLevel } from "./types.js";
|
|
1
|
+
import type { Message } from "@earendil-works/pi-ai";
|
|
2
|
+
import type { ThinkingLevel } from "../agent/types/index.js";
|
|
4
3
|
export interface AgentModelSelection {
|
|
5
4
|
provider: string;
|
|
6
5
|
modelId: string;
|
|
@@ -39,13 +38,6 @@ export interface AgentCustomModel {
|
|
|
39
38
|
headers?: Record<string, string>;
|
|
40
39
|
compat?: Record<string, unknown>;
|
|
41
40
|
}
|
|
42
|
-
/**
|
|
43
|
-
* Register a source of user-defined models (custom providers / manual models).
|
|
44
|
-
* When set, resolution and listing functions consult it unless an explicit
|
|
45
|
-
* `customModels` argument is passed. The orchestrator wires this to its
|
|
46
|
-
* persisted provider catalog so unknown providers resolve correctly.
|
|
47
|
-
*/
|
|
48
|
-
export declare function setCustomModelProvider(provider: (() => AgentCustomModel[]) | undefined): void;
|
|
49
41
|
export interface AgentPromptInput {
|
|
50
42
|
systemPrompt?: string;
|
|
51
43
|
messages: Message[];
|
|
@@ -79,16 +71,4 @@ export type AgentScriptedProviderStep = {
|
|
|
79
71
|
} | {
|
|
80
72
|
type: "waitForAbort";
|
|
81
73
|
};
|
|
82
|
-
|
|
83
|
-
provider?: string;
|
|
84
|
-
model?: string;
|
|
85
|
-
steps: AgentScriptedProviderStep[];
|
|
86
|
-
}): ManagedFauxProviderHandle;
|
|
87
|
-
export declare function resolveAgentModel(selection?: AgentModelSelection, customModels?: AgentCustomModel[]): Model<string>;
|
|
88
|
-
export declare function getAgentModelInfo(model: Model<string>): AgentModelInfo;
|
|
89
|
-
/** Resolve the context window for a model selection (0 when unknown). */
|
|
90
|
-
export declare function getModelContextWindow(selection?: AgentModelSelection, customModels?: AgentCustomModel[]): number;
|
|
91
|
-
export declare function clampAgentThinkingLevel(selection: AgentModelSelection | undefined, requested: ThinkingLevel | undefined, customModels?: AgentCustomModel[]): ThinkingLevel;
|
|
92
|
-
export declare function streamAgentPrompt(input: AgentPromptInput): AsyncIterable<AssistantMessageEvent>;
|
|
93
|
-
export declare function listAvailableModels(customModels?: AgentCustomModel[]): AgentModelInfo[];
|
|
94
|
-
//# sourceMappingURL=runtime.d.ts.map
|
|
74
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/models/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,E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AE,mBAAmB,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,MAAM,yBAAyB,GACjC;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,GAC3D;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAC7D;IACE,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAC3D,GACD;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAC/D;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/models/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,cAAc,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,cAAc,YAAY,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The server manages auth and proxies requests to LLM providers.
|
|
4
4
|
*/
|
|
5
5
|
import { type AssistantMessage, type AssistantMessageEvent, type Context, EventStream, type SimpleStreamOptions, type StopReason } from "@earendil-works/pi-ai";
|
|
6
|
-
import type { AnyModel } from "
|
|
6
|
+
import type { AnyModel } from "../agent/types/index.js";
|
|
7
7
|
declare class ProxyMessageEventStream extends EventStream<AssistantMessageEvent, AssistantMessage> {
|
|
8
8
|
constructor();
|
|
9
9
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../src/transport/proxy.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,OAAO,EACZ,WAAW,EAEX,KAAK,mBAAmB,EACxB,KAAK,UAAU,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAGxD,cAAM,uBAAwB,SAAQ,WAAW,CAC/C,qBAAqB,EACrB,gBAAgB,CACjB;;CAWA;AAOD,MAAM,MAAM,0BAA0B,GAClC;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;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AO,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;YAC/C,OAAO,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;YACjC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;QAEtE,OAAO,CAAC,CAAC,CAAC;YACR,MAAM,gBAAgB,GAAU,UAAU,CAAC;YAC3C,MAAM,UAAU,GAAG,gBAAqC,CAAC;YACzD,OAAO,CAAC,IAAI,CAAC,+BAA+B,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC;YAC/D,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nervekit/harness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Reusable model, harness, and agent loop runtime.",
|
|
5
5
|
"author": "ThilinaTLM",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@earendil-works/pi-ai": "0.
|
|
24
|
-
"@nervekit/contracts": "0.
|
|
23
|
+
"@earendil-works/pi-ai": "0.82.1",
|
|
24
|
+
"@nervekit/contracts": "0.14.0",
|
|
25
25
|
"ignore": "7.0.5",
|
|
26
|
-
"sharp": "^0.
|
|
26
|
+
"sharp": "^0.35.3",
|
|
27
27
|
"typebox": "1.1.38",
|
|
28
28
|
"yaml": "2.9.0"
|
|
29
29
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client.d.ts","sourceRoot":"","sources":["../src/http-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,cAAc,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{
|
|
|
27
27
|
if (!operation.allowedTargetRoles.includes(target.role)) {
|
|
28
28
|
throw new ProtocolRequestError(undefined, "AUTH_FORBIDDEN", `Operation ${method} cannot target ${target.role}`);
|
|
29
29
|
}
|
|
30
|
-
if (target.role === "sandbox_agent" && !target.id) {
|
|
31
|
-
throw new ProtocolRequestError(undefined, "VALIDATION_FAILED", "Sandbox agent requests require a nonempty target id");
|
|
32
|
-
}
|
|
33
30
|
if (operation.idempotency === "none" && options.idempotencyKey) {
|
|
34
31
|
throw new ProtocolRequestError(undefined, "VALIDATION_FAILED", `Operation ${method} does not accept an idempotency key`);
|
|
35
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client.js","sourceRoot":"","sources":["../src/http-client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,6BAA6B,GAO9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,CAAC,MAAM,4BAA4B,GACvC,wCAAwC,CAAC;AAE3C,MAAM,OAAO,oBAAqB,SAAQ,KAAK;IAElC;IACA;IAEA;IAJX,YACW,MAA0B,EAC1B,IAAwB,EACjC,OAAe,EACN,QAAkB;QAE3B,KAAK,CAAC,OAAO,CAAC,CAAC;QALN,WAAM,GAAN,MAAM,CAAoB;QAC1B,SAAI,GAAJ,IAAI,CAAoB;QAExB,aAAQ,GAAR,QAAQ,CAAU;QAG3B,IAAI,CAAC,IAAI,GAAG,sBAAsB,CAAC;IACrC,CAAC;CACF;AAaD,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,MAAS,EACT,MAA0B,EAC1B,UAAkC,EAAE;IAEpC,MAAM,MAAM,GAAmB;QAC7B,IAAI,EAAE,IAAI;QACV,EAAE,EAAE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AAEpE,MAAM,WAAW,oBAAoB;IACnC,OAAO,CACL,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,MAAM,OAAO,CAAC,kBAAkB,CAAC,GAC3C,OAAO,CAAC,oBAAoB,CAAC,CAAC;CAClC;AAED,MAAM,MAAM,oBAAoB,GAC5B;IACE,QAAQ,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC;IACzC,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;CACtC,GACD;IAAE,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAA;CAAE,CAAC;AAEpC,MAAM,MAAM,iBAAiB,GACzB;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAC/C;IAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAE9D,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,oBAAoB;IAEpD,QAAQ,CACZ,OAAO,EAAE,YAAY,CAAC,mBAAmB,CAAC,GACzC,OAAO,CAAC,iBAAiB,CAAC;CA6G9B"}
|
|
@@ -150,9 +150,6 @@ export class RpcDispatcher {
|
|
|
150
150
|
return failure("VALIDATION_FAILED", "Invalid request data");
|
|
151
151
|
const { method, params, idempotencyKey } = parsedRequest.data;
|
|
152
152
|
const operation = operationDefinition(method);
|
|
153
|
-
if (request.target.role === "sandbox_agent" && !request.target.id) {
|
|
154
|
-
return failure("VALIDATION_FAILED", "Sandbox agent requests require a nonempty target id");
|
|
155
|
-
}
|
|
156
153
|
if (operation.allowedTargetRoles &&
|
|
157
154
|
!operation.allowedTargetRoles.includes(request.target.role)) {
|
|
158
155
|
return failure("AUTH_FORBIDDEN", `Operation ${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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nervekit/protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Transport-neutral Nerve Protocol v1 session, RPC, replay, and flow engine.",
|
|
5
5
|
"author": "ThilinaTLM",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@nervekit/contracts": "0.
|
|
15
|
+
"@nervekit/contracts": "0.14.0",
|
|
16
16
|
"ws": "8.21.0"
|
|
17
17
|
},
|
|
18
18
|
"engines": {
|
|
@@ -38,7 +38,7 @@ export declare const taskToolDefinitions: readonly [{
|
|
|
38
38
|
taskId: Type.TOptional<Type.TString>;
|
|
39
39
|
taskIds: Type.TOptional<Type.TArray<Type.TString>>;
|
|
40
40
|
groupId: Type.TOptional<Type.TString>;
|
|
41
|
-
status: Type.TOptional<Type.TUnion<[Type.TLiteral<"active">, Type.TLiteral<"all">, Type.TLiteral<"starting">, Type.TLiteral<"running">, Type.TLiteral<"ready">, Type.TLiteral<"stopping">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"timed_out">, Type.TLiteral<"cancelled">, Type.TLiteral<"orphaned">]>>;
|
|
41
|
+
status: Type.TOptional<Type.TUnion<[Type.TLiteral<"active">, Type.TLiteral<"all">, Type.TLiteral<"starting">, Type.TLiteral<"running">, Type.TLiteral<"ready">, Type.TLiteral<"stopping">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"timed_out">, Type.TLiteral<"cancelled">, Type.TLiteral<"orphaned">, Type.TLiteral<"recovered">, Type.TLiteral<"interrupted">, Type.TLiteral<"recovery_unknown">]>>;
|
|
42
42
|
limit: Type.TOptional<Type.TNumber>;
|
|
43
43
|
}>;
|
|
44
44
|
readonly executionMode: "parallel";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.tools.d.ts","sourceRoot":"","sources":["../../../src/catalog/orchestration/task.tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"task.tools.d.ts","sourceRoot":"","sources":["../../../src/catalog/orchestration/task.tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAyK/B,iBAAS,qBAAqB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,QAAQ,CAKtE;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuEkB,CAAC"}
|
|
@@ -47,6 +47,9 @@ const taskStatusParameters = Type.Object({
|
|
|
47
47
|
Type.Literal("timed_out"),
|
|
48
48
|
Type.Literal("cancelled"),
|
|
49
49
|
Type.Literal("orphaned"),
|
|
50
|
+
Type.Literal("recovered"),
|
|
51
|
+
Type.Literal("interrupted"),
|
|
52
|
+
Type.Literal("recovery_unknown"),
|
|
50
53
|
], { description: "Task state filter" })),
|
|
51
54
|
limit: Type.Optional(Type.Number({ description: "Maximum tasks", minimum: 1, maximum: 50 })),
|
|
52
55
|
}, { additionalProperties: false });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.tools.js","sourceRoot":"","sources":["../../../src/catalog/orchestration/task.tools.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAG5E,MAAM,mBAAmB,GAAG,IAAI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M,EAAE,EAAE;QACV,aAAa,EAAE,MAAM;QACrB,KAAK,EAAE,WAAW;QAClB,WAAW,EACT,uHAAuH;QACzH,aAAa,EAAE,+CAA+C;QAC9D,UAAU,EAAE,kBAAkB;QAC9B,aAAa,EAAE,UAAU;KAC1B;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,CAAC,eAAe,CAAC;QACzB,aAAa,EAAE,MAAM;QACrB,KAAK,EAAE,aAAa;QACpB,WAAW,EACT,uEAAuE;QACzE,aAAa,EAAE,6CAA6C;QAC5D,UAAU,EAAE,oBAAoB;QAChC,aAAa,EAAE,YAAY;KAC5B;IACD;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;QACzC,aAAa,EAAE,MAAM;QACrB,KAAK,EAAE,cAAc;QACrB,WAAW,EACT,gGAAgG;QAClG,aAAa,EACX,6DAA6D;QAC/D,UAAU,EAAE,qBAAqB;QACjC,aAAa,EAAE,YAAY;KAC5B;CAC+C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-to-markdown.worker.d.ts","sourceRoot":"","sources":["../../../src/execution/common/html-to-markdown.worker.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { parentPort, workerData } from "node:worker_threads";
|
|
2
|
+
import { NodeHtmlMarkdown } from "node-html-markdown";
|
|
3
|
+
function prepareConfluenceStorage(value) {
|
|
4
|
+
return value
|
|
5
|
+
.replaceAll(/<ac:structured-macro\b[^>]*ac:name=["']code["'][^>]*>[\s\S]*?<ac:plain-text-body><!\[CDATA\[([\s\S]*?)\]\]><\/ac:plain-text-body>[\s\S]*?<\/ac:structured-macro>/gi, (_match, code) => `<pre><code>${escapeHtml(code)}</code></pre>`)
|
|
6
|
+
.replaceAll(/<ac:structured-macro\b[^>]*ac:name=["']([^"']+)["'][^>]*>[\s\S]*?<\/ac:structured-macro>/gi, (_match, name) => `<blockquote>Confluence macro: ${escapeHtml(name)}</blockquote>`)
|
|
7
|
+
.replaceAll(/<ac:image\b[^>]*>[\s\S]*?<ri:attachment\b[^>]*ri:filename=["']([^"']+)["'][^>]*\/?>(?:[\s\S]*?<\/ri:attachment>)?[\s\S]*?<\/ac:image>/gi, (_match, filename) => `<p>})</p>`)
|
|
8
|
+
.replaceAll(/<ri:attachment\b[^>]*ri:filename=["']([^"']+)["'][^>]*\/?>(?:<\/ri:attachment>)?/gi, (_match, filename) => `<code>${escapeHtml(filename)}</code>`)
|
|
9
|
+
.replaceAll(/<ac:plain-text-body><!\[CDATA\[([\s\S]*?)\]\]><\/ac:plain-text-body>/gi, (_match, text) => `<pre><code>${escapeHtml(text)}</code></pre>`)
|
|
10
|
+
.replaceAll(/<ac:parameter\b[^>]*ac:name=["']title["'][^>]*>([\s\S]*?)<\/ac:parameter>/gi, "<strong>$1</strong>");
|
|
11
|
+
}
|
|
12
|
+
function escapeHtml(value) {
|
|
13
|
+
return value
|
|
14
|
+
.replaceAll("&", "&")
|
|
15
|
+
.replaceAll("<", "<")
|
|
16
|
+
.replaceAll(">", ">");
|
|
17
|
+
}
|
|
18
|
+
function escapeAttribute(value) {
|
|
19
|
+
return value
|
|
20
|
+
.replaceAll("]", "\\]")
|
|
21
|
+
.replaceAll("(", "%28")
|
|
22
|
+
.replaceAll(")", "%29");
|
|
23
|
+
}
|
|
24
|
+
function execute(input) {
|
|
25
|
+
try {
|
|
26
|
+
const source = input.mode === "confluence-storage"
|
|
27
|
+
? prepareConfluenceStorage(input.source)
|
|
28
|
+
: input.source;
|
|
29
|
+
const converter = new NodeHtmlMarkdown(input.mode === "confluence-storage"
|
|
30
|
+
? {
|
|
31
|
+
bulletMarker: "-",
|
|
32
|
+
codeBlockStyle: "fenced",
|
|
33
|
+
emDelimiter: "*",
|
|
34
|
+
strongDelimiter: "**",
|
|
35
|
+
}
|
|
36
|
+
: undefined);
|
|
37
|
+
const markdown = converter.translate(source).trim();
|
|
38
|
+
if (Buffer.byteLength(markdown, "utf8") > input.maxOutputBytes) {
|
|
39
|
+
return {
|
|
40
|
+
ok: false,
|
|
41
|
+
code: "HTML_CONVERSION_OUTPUT_TOO_LARGE",
|
|
42
|
+
message: "Converted Markdown exceeds the 8 MiB output limit.",
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
return { ok: true, markdown };
|
|
46
|
+
}
|
|
47
|
+
catch (error) {
|
|
48
|
+
return {
|
|
49
|
+
ok: false,
|
|
50
|
+
code: "HTML_CONVERSION_FAILED",
|
|
51
|
+
message: error instanceof Error ? error.message : String(error),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
if (!parentPort) {
|
|
56
|
+
throw new Error("HTML conversion worker requires a parent port.");
|
|
57
|
+
}
|
|
58
|
+
parentPort.postMessage(execute(workerData));
|
|
59
|
+
//# sourceMappingURL=html-to-markdown.worker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-to-markdown.worker.js","sourceRoot":"","sources":["../../../src/execution/common/html-to-markdown.worker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAYtD,SAAS,wBAAwB,CAAC,KAAa;IAC7C,OAAO,KAAK;SACT,UAAU,CACT,oKAAoK,EACpK,CAAC,MAAM,EAAE,IAAY,EAAE,EAAE,CAAC,cAAc,UAAU,CAAC,IAAI,CAAC,eAAe,CACxE;SACA,UAAU,CACT,4FAA4F,EAC5F,CAAC,MAAM,EAAE,IAAY,EAAE,EAAE,CACvB,iCAAiC,UAAU,CAAC,IAAI,CAAC,eAAe,CACnE;SACA,UAAU,CACT,yIAAyI,EACzI,CAAC,M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