experimental-ash 0.2.0-alpha.2 → 0.2.0-alpha.21
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/dist/src/channel/http-channel.d.ts +26 -0
- package/dist/src/channel/http-channel.d.ts.map +1 -0
- package/dist/src/channel/http-channel.js +24 -0
- package/dist/src/channel/http-channel.js.map +1 -0
- package/dist/src/channel/resolve-text.d.ts +20 -0
- package/dist/src/channel/resolve-text.d.ts.map +1 -0
- package/dist/src/channel/resolve-text.js +60 -0
- package/dist/src/channel/resolve-text.js.map +1 -0
- package/dist/src/channel/schedule-channel.d.ts +16 -0
- package/dist/src/channel/schedule-channel.d.ts.map +1 -0
- package/dist/src/channel/schedule-channel.js +20 -0
- package/dist/src/channel/schedule-channel.js.map +1 -0
- package/dist/src/channel/schedule.d.ts +4 -6
- package/dist/src/channel/schedule.d.ts.map +1 -1
- package/dist/src/channel/schedule.js +6 -9
- package/dist/src/channel/schedule.js.map +1 -1
- package/dist/src/channel/slack-channel.d.ts +125 -0
- package/dist/src/channel/slack-channel.d.ts.map +1 -0
- package/dist/src/channel/slack-channel.js +320 -0
- package/dist/src/channel/slack-channel.js.map +1 -0
- package/dist/src/channel/subagent-channel.d.ts +41 -0
- package/dist/src/channel/subagent-channel.d.ts.map +1 -0
- package/dist/src/channel/{subagent-emitter.js → subagent-channel.js} +15 -19
- package/dist/src/channel/subagent-channel.js.map +1 -0
- package/dist/src/channel/types.d.ts +157 -90
- package/dist/src/channel/types.d.ts.map +1 -1
- package/dist/src/channel/types.js +64 -1
- package/dist/src/channel/types.js.map +1 -1
- package/dist/src/cli/dev/input-requests.d.ts +4 -4
- package/dist/src/cli/dev/input-requests.d.ts.map +1 -1
- package/dist/src/cli/dev/input-requests.js +34 -65
- package/dist/src/cli/dev/input-requests.js.map +1 -1
- package/dist/src/cli/dev/repl.d.ts.map +1 -1
- package/dist/src/cli/dev/repl.js +41 -24
- package/dist/src/cli/dev/repl.js.map +1 -1
- package/dist/src/client/index.d.ts +3 -2
- package/dist/src/client/index.d.ts.map +1 -1
- package/dist/src/client/index.js +1 -0
- package/dist/src/client/index.js.map +1 -1
- package/dist/src/client/message-response.d.ts +5 -5
- package/dist/src/client/message-response.d.ts.map +1 -1
- package/dist/src/client/message-response.js +6 -6
- package/dist/src/client/message-response.js.map +1 -1
- package/dist/src/client/open-stream.d.ts +1 -1
- package/dist/src/client/open-stream.d.ts.map +1 -1
- package/dist/src/client/open-stream.js +1 -1
- package/dist/src/client/open-stream.js.map +1 -1
- package/dist/src/client/session-utils.d.ts +3 -3
- package/dist/src/client/session-utils.d.ts.map +1 -1
- package/dist/src/client/session-utils.js +4 -4
- package/dist/src/client/session-utils.js.map +1 -1
- package/dist/src/client/session.d.ts +5 -5
- package/dist/src/client/session.js +28 -28
- package/dist/src/client/session.js.map +1 -1
- package/dist/src/client/types.d.ts +8 -8
- package/dist/src/client/types.d.ts.map +1 -1
- package/dist/src/compiler/channel-url.d.ts +1 -1
- package/dist/src/compiler/channel-url.js +1 -1
- package/dist/src/compiler/manifest.d.ts +38 -5
- package/dist/src/compiler/manifest.d.ts.map +1 -1
- package/dist/src/compiler/manifest.js +15 -1
- package/dist/src/compiler/manifest.js.map +1 -1
- package/dist/src/compiler/module-map.js +8 -0
- package/dist/src/compiler/module-map.js.map +1 -1
- package/dist/src/compiler/normalize-channel.d.ts +1 -1
- package/dist/src/compiler/normalize-channel.js +3 -3
- package/dist/src/compiler/normalize-channel.js.map +1 -1
- package/dist/src/compiler/normalize-connection.d.ts +14 -0
- package/dist/src/compiler/normalize-connection.d.ts.map +1 -0
- package/dist/src/compiler/normalize-connection.js +29 -0
- package/dist/src/compiler/normalize-connection.js.map +1 -0
- package/dist/src/compiler/normalize-manifest.d.ts.map +1 -1
- package/dist/src/compiler/normalize-manifest.js +2 -0
- package/dist/src/compiler/normalize-manifest.js.map +1 -1
- package/dist/src/context/accessors.d.ts +13 -12
- package/dist/src/context/accessors.d.ts.map +1 -1
- package/dist/src/context/accessors.js +16 -17
- package/dist/src/context/accessors.js.map +1 -1
- package/dist/src/context/container.d.ts +17 -19
- package/dist/src/context/container.d.ts.map +1 -1
- package/dist/src/context/container.js +21 -14
- package/dist/src/context/container.js.map +1 -1
- package/dist/src/context/durable-context.d.ts +18 -0
- package/dist/src/context/durable-context.d.ts.map +1 -0
- package/dist/src/context/durable-context.js +49 -0
- package/dist/src/context/durable-context.js.map +1 -0
- package/dist/src/context/key.d.ts +43 -83
- package/dist/src/context/key.d.ts.map +1 -1
- package/dist/src/context/key.js +58 -80
- package/dist/src/context/key.js.map +1 -1
- package/dist/src/context/keys.d.ts +8 -20
- package/dist/src/context/keys.d.ts.map +1 -1
- package/dist/src/context/keys.js +20 -34
- package/dist/src/context/keys.js.map +1 -1
- package/dist/src/context/provider.d.ts +2 -2
- package/dist/src/context/provider.d.ts.map +1 -1
- package/dist/src/context/providers/connection.d.ts +4 -0
- package/dist/src/context/providers/connection.d.ts.map +1 -0
- package/dist/src/context/providers/connection.js +18 -0
- package/dist/src/context/providers/connection.js.map +1 -0
- package/dist/src/context/providers/session.d.ts.map +1 -1
- package/dist/src/context/providers/session.js +1 -2
- package/dist/src/context/providers/session.js.map +1 -1
- package/dist/src/context/providers/skill.d.ts.map +1 -1
- package/dist/src/context/providers/skill.js +2 -15
- package/dist/src/context/providers/skill.js.map +1 -1
- package/dist/src/context/run-step.d.ts +6 -8
- package/dist/src/context/run-step.d.ts.map +1 -1
- package/dist/src/context/run-step.js +15 -17
- package/dist/src/context/run-step.js.map +1 -1
- package/dist/src/context/seed-keys.d.ts +21 -0
- package/dist/src/context/seed-keys.d.ts.map +1 -0
- package/dist/src/context/seed-keys.js +31 -0
- package/dist/src/context/seed-keys.js.map +1 -0
- package/dist/src/context/serialize.d.ts +8 -9
- package/dist/src/context/serialize.d.ts.map +1 -1
- package/dist/src/context/serialize.js +38 -15
- package/dist/src/context/serialize.js.map +1 -1
- package/dist/src/discover/connections.d.ts +48 -0
- package/dist/src/discover/connections.d.ts.map +1 -0
- package/dist/src/discover/connections.js +169 -0
- package/dist/src/discover/connections.js.map +1 -0
- package/dist/src/discover/discover-agent.d.ts +1 -0
- package/dist/src/discover/discover-agent.d.ts.map +1 -1
- package/dist/src/discover/discover-agent.js +8 -0
- package/dist/src/discover/discover-agent.js.map +1 -1
- package/dist/src/discover/discover-subagent.js +7 -0
- package/dist/src/discover/discover-subagent.js.map +1 -1
- package/dist/src/discover/filesystem.d.ts +3 -3
- package/dist/src/discover/filesystem.d.ts.map +1 -1
- package/dist/src/discover/filesystem.js +7 -0
- package/dist/src/discover/filesystem.js.map +1 -1
- package/dist/src/discover/grammar.d.ts +20 -4
- package/dist/src/discover/grammar.d.ts.map +1 -1
- package/dist/src/discover/grammar.js +31 -5
- package/dist/src/discover/grammar.js.map +1 -1
- package/dist/src/discover/manifest.d.ts +28 -1
- package/dist/src/discover/manifest.d.ts.map +1 -1
- package/dist/src/discover/manifest.js +11 -1
- package/dist/src/discover/manifest.js.map +1 -1
- package/dist/src/evals/runner/artifacts.js +1 -1
- package/dist/src/evals/runner/artifacts.js.map +1 -1
- package/dist/src/evals/runner/derive-run-facts.js +5 -5
- package/dist/src/evals/runner/derive-run-facts.js.map +1 -1
- package/dist/src/evals/runner/execute-case.js +4 -4
- package/dist/src/evals/runner/execute-case.js.map +1 -1
- package/dist/src/evals/runner/execute-suite.js +1 -1
- package/dist/src/evals/runner/execute-suite.js.map +1 -1
- package/dist/src/evals/runner/reporters/braintrust.js +2 -2
- package/dist/src/evals/runner/reporters/braintrust.js.map +1 -1
- package/dist/src/evals/types.d.ts +4 -4
- package/dist/src/evals/types.d.ts.map +1 -1
- package/dist/src/execution/continuous-entry.d.ts +18 -9
- package/dist/src/execution/continuous-entry.d.ts.map +1 -1
- package/dist/src/execution/continuous-entry.js +62 -18
- package/dist/src/execution/continuous-entry.js.map +1 -1
- package/dist/src/execution/continuous-runtime.d.ts +1 -1
- package/dist/src/execution/continuous-runtime.d.ts.map +1 -1
- package/dist/src/execution/continuous-runtime.js +14 -10
- package/dist/src/execution/continuous-runtime.js.map +1 -1
- package/dist/src/execution/node-step.d.ts +1 -2
- package/dist/src/execution/node-step.d.ts.map +1 -1
- package/dist/src/execution/node-step.js +42 -55
- package/dist/src/execution/node-step.js.map +1 -1
- package/dist/src/execution/runtime-context.d.ts +3 -0
- package/dist/src/execution/runtime-context.d.ts.map +1 -1
- package/dist/src/execution/runtime-context.js +6 -4
- package/dist/src/execution/runtime-context.js.map +1 -1
- package/dist/src/execution/session.d.ts +2 -1
- package/dist/src/execution/session.d.ts.map +1 -1
- package/dist/src/execution/session.js +1 -0
- package/dist/src/execution/session.js.map +1 -1
- package/dist/src/execution/skills/access.d.ts.map +1 -1
- package/dist/src/execution/skills/instructions.d.ts +6 -6
- package/dist/src/execution/skills/instructions.d.ts.map +1 -1
- package/dist/src/execution/skills/instructions.js +15 -15
- package/dist/src/execution/skills/instructions.js.map +1 -1
- package/dist/src/execution/skills/types.d.ts +4 -4
- package/dist/src/execution/skills/types.d.ts.map +1 -1
- package/dist/src/execution/step-context.d.ts +27 -0
- package/dist/src/execution/step-context.d.ts.map +1 -0
- package/dist/src/execution/step-context.js +54 -0
- package/dist/src/execution/step-context.js.map +1 -0
- package/dist/src/execution/subagent-tool.d.ts +1 -1
- package/dist/src/execution/subagent-tool.d.ts.map +1 -1
- package/dist/src/execution/subagent-tool.js +3 -4
- package/dist/src/execution/subagent-tool.js.map +1 -1
- package/dist/src/execution/tool-compaction.d.ts +1 -3
- package/dist/src/execution/tool-compaction.d.ts.map +1 -1
- package/dist/src/execution/tool-compaction.js +6 -20
- package/dist/src/execution/tool-compaction.js.map +1 -1
- package/dist/src/execution/types.d.ts +1 -1
- package/dist/src/execution/types.d.ts.map +1 -1
- package/dist/src/execution/workflow-entry.d.ts +4 -5
- package/dist/src/execution/workflow-entry.d.ts.map +1 -1
- package/dist/src/execution/workflow-entry.js +7 -2
- package/dist/src/execution/workflow-entry.js.map +1 -1
- package/dist/src/execution/workflow-runtime.d.ts.map +1 -1
- package/dist/src/execution/workflow-runtime.js +10 -5
- package/dist/src/execution/workflow-runtime.js.map +1 -1
- package/dist/src/execution/workflow-steps.d.ts +13 -6
- package/dist/src/execution/workflow-steps.d.ts.map +1 -1
- package/dist/src/execution/workflow-steps.js +24 -19
- package/dist/src/execution/workflow-steps.js.map +1 -1
- package/dist/src/harness/emission.d.ts +36 -27
- package/dist/src/harness/emission.d.ts.map +1 -1
- package/dist/src/harness/emission.js +130 -84
- package/dist/src/harness/emission.js.map +1 -1
- package/dist/src/harness/execute-tool.d.ts +52 -0
- package/dist/src/harness/execute-tool.d.ts.map +1 -0
- package/dist/src/harness/execute-tool.js +59 -0
- package/dist/src/harness/execute-tool.js.map +1 -0
- package/dist/src/harness/input-extraction.d.ts +3 -3
- package/dist/src/harness/input-extraction.d.ts.map +1 -1
- package/dist/src/harness/input-extraction.js +15 -8
- package/dist/src/harness/input-extraction.js.map +1 -1
- package/dist/src/harness/input-requests.d.ts +46 -40
- package/dist/src/harness/input-requests.d.ts.map +1 -1
- package/dist/src/harness/input-requests.js +169 -245
- package/dist/src/harness/input-requests.js.map +1 -1
- package/dist/src/harness/messages.d.ts +10 -9
- package/dist/src/harness/messages.d.ts.map +1 -1
- package/dist/src/harness/messages.js +23 -20
- package/dist/src/harness/messages.js.map +1 -1
- package/dist/src/harness/provider-tools.d.ts +2 -2
- package/dist/src/harness/provider-tools.d.ts.map +1 -1
- package/dist/src/harness/provider-tools.js +7 -3
- package/dist/src/harness/provider-tools.js.map +1 -1
- package/dist/src/harness/step-hooks.d.ts +77 -0
- package/dist/src/harness/step-hooks.d.ts.map +1 -0
- package/dist/src/harness/step-hooks.js +192 -0
- package/dist/src/harness/step-hooks.js.map +1 -0
- package/dist/src/harness/tool-loop.d.ts +4 -2
- package/dist/src/harness/tool-loop.d.ts.map +1 -1
- package/dist/src/harness/tool-loop.js +130 -181
- package/dist/src/harness/tool-loop.js.map +1 -1
- package/dist/src/harness/tools.d.ts +12 -16
- package/dist/src/harness/tools.d.ts.map +1 -1
- package/dist/src/harness/tools.js +39 -33
- package/dist/src/harness/tools.js.map +1 -1
- package/dist/src/harness/types.d.ts +44 -28
- package/dist/src/harness/types.d.ts.map +1 -1
- package/dist/src/harness/types.js +6 -1
- package/dist/src/harness/types.js.map +1 -1
- package/dist/src/internal/application/compiled-artifacts.d.ts +5 -3
- package/dist/src/internal/application/compiled-artifacts.d.ts.map +1 -1
- package/dist/src/internal/application/compiled-artifacts.js +19 -40
- package/dist/src/internal/application/compiled-artifacts.js.map +1 -1
- package/dist/src/internal/application/package.js +1 -1
- package/dist/src/internal/authored-definition/channel.d.ts +3 -3
- package/dist/src/internal/authored-definition/channel.d.ts.map +1 -1
- package/dist/src/internal/authored-definition/channel.js +28 -4
- package/dist/src/internal/authored-definition/channel.js.map +1 -1
- package/dist/src/internal/authored-definition/connection.d.ts +10 -0
- package/dist/src/internal/authored-definition/connection.d.ts.map +1 -0
- package/dist/src/internal/authored-definition/connection.js +134 -0
- package/dist/src/internal/authored-definition/connection.js.map +1 -0
- package/dist/src/internal/authored-module.js +1 -1
- package/dist/src/internal/authored-module.js.map +1 -1
- package/dist/src/internal/message/builder.d.ts +1 -2
- package/dist/src/internal/message/builder.d.ts.map +1 -1
- package/dist/src/internal/message/builder.js +4 -12
- package/dist/src/internal/message/builder.js.map +1 -1
- package/dist/src/internal/nitro/host/configure-message-routes.d.ts +3 -1
- package/dist/src/internal/nitro/host/configure-message-routes.d.ts.map +1 -1
- package/dist/src/internal/nitro/host/configure-message-routes.js +124 -25
- package/dist/src/internal/nitro/host/configure-message-routes.js.map +1 -1
- package/dist/src/internal/nitro/host/create-application-nitro.d.ts.map +1 -1
- package/dist/src/internal/nitro/host/create-application-nitro.js +63 -21
- package/dist/src/internal/nitro/host/create-application-nitro.js.map +1 -1
- package/dist/src/internal/nitro/host/load-home-page-web-assets.d.ts +13 -0
- package/dist/src/internal/nitro/host/load-home-page-web-assets.d.ts.map +1 -0
- package/dist/src/internal/nitro/host/load-home-page-web-assets.js +35 -0
- package/dist/src/internal/nitro/host/load-home-page-web-assets.js.map +1 -0
- package/dist/src/internal/nitro/host/prepare-application-host.js +1 -1
- package/dist/src/internal/nitro/host/prepare-application-host.js.map +1 -1
- package/dist/src/internal/nitro/routes/channel-dispatch.d.ts +10 -18
- package/dist/src/internal/nitro/routes/channel-dispatch.d.ts.map +1 -1
- package/dist/src/internal/nitro/routes/channel-dispatch.js +16 -45
- package/dist/src/internal/nitro/routes/channel-dispatch.js.map +1 -1
- package/dist/src/internal/nitro/routes/home-page/build-home-page-response.d.ts +88 -0
- package/dist/src/internal/nitro/routes/home-page/build-home-page-response.d.ts.map +1 -0
- package/dist/src/internal/nitro/routes/home-page/build-home-page-response.js +175 -0
- package/dist/src/internal/nitro/routes/home-page/build-home-page-response.js.map +1 -0
- package/dist/src/internal/nitro/routes/home.d.ts +7 -0
- package/dist/src/internal/nitro/routes/home.d.ts.map +1 -0
- package/dist/src/internal/nitro/routes/home.js +22 -0
- package/dist/src/internal/nitro/routes/home.js.map +1 -0
- package/dist/src/internal/nitro/routes/index.d.ts +3 -8
- package/dist/src/internal/nitro/routes/index.d.ts.map +1 -1
- package/dist/src/internal/nitro/routes/index.js +18 -36
- package/dist/src/internal/nitro/routes/index.js.map +1 -1
- package/dist/src/internal/nitro/routes/runtime-artifacts.d.ts +10 -3
- package/dist/src/internal/nitro/routes/runtime-artifacts.d.ts.map +1 -1
- package/dist/src/internal/nitro/routes/runtime-artifacts.js +2 -9
- package/dist/src/internal/nitro/routes/runtime-artifacts.js.map +1 -1
- package/dist/src/internal/nitro/routes/runtime-stack.d.ts +8 -7
- package/dist/src/internal/nitro/routes/runtime-stack.d.ts.map +1 -1
- package/dist/src/internal/nitro/routes/runtime-stack.js +10 -10
- package/dist/src/internal/nitro/routes/runtime-stack.js.map +1 -1
- package/dist/src/internal/nitro/routes/schedule-task.d.ts +7 -7
- package/dist/src/internal/nitro/routes/schedule-task.d.ts.map +1 -1
- package/dist/src/internal/nitro/routes/schedule-task.js +22 -30
- package/dist/src/internal/nitro/routes/schedule-task.js.map +1 -1
- package/dist/src/internal/nitro/routes/web-ui/assets/index.js +10 -0
- package/dist/src/internal/nitro/routes/web-ui/assets/style.css +2 -0
- package/dist/src/internal/nitro/routes/web-ui/index.html +17 -0
- package/dist/src/internal/nitro/routes/workflow-data.d.ts +32 -0
- package/dist/src/internal/nitro/routes/workflow-data.d.ts.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-data.js +142 -0
- package/dist/src/internal/nitro/routes/workflow-data.js.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-route-helpers.d.ts +46 -0
- package/dist/src/internal/nitro/routes/workflow-route-helpers.d.ts.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-route-helpers.js +137 -0
- package/dist/src/internal/nitro/routes/workflow-route-helpers.js.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-run-events.d.ts +14 -0
- package/dist/src/internal/nitro/routes/workflow-run-events.d.ts.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-run-events.js +42 -0
- package/dist/src/internal/nitro/routes/workflow-run-events.js.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-run-steps.d.ts +14 -0
- package/dist/src/internal/nitro/routes/workflow-run-steps.d.ts.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-run-steps.js +42 -0
- package/dist/src/internal/nitro/routes/workflow-run-steps.js.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-run.d.ts +13 -0
- package/dist/src/internal/nitro/routes/workflow-run.d.ts.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-run.js +35 -0
- package/dist/src/internal/nitro/routes/workflow-run.js.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-runs.d.ts +11 -0
- package/dist/src/internal/nitro/routes/workflow-runs.d.ts.map +1 -0
- package/dist/src/internal/nitro/routes/workflow-runs.js +29 -0
- package/dist/src/internal/nitro/routes/workflow-runs.js.map +1 -0
- package/dist/src/protocol/message.d.ts +160 -76
- package/dist/src/protocol/message.d.ts.map +1 -1
- package/dist/src/protocol/message.js +92 -36
- package/dist/src/protocol/message.js.map +1 -1
- package/dist/src/protocol/routes.d.ts +11 -3
- package/dist/src/protocol/routes.d.ts.map +1 -1
- package/dist/src/protocol/routes.js +12 -4
- package/dist/src/protocol/routes.js.map +1 -1
- package/dist/src/public/channels/auth.d.ts +32 -81
- package/dist/src/public/channels/auth.d.ts.map +1 -1
- package/dist/src/public/channels/auth.js +23 -86
- package/dist/src/public/channels/auth.js.map +1 -1
- package/dist/src/public/channels/http.d.ts +66 -26
- package/dist/src/public/channels/http.d.ts.map +1 -1
- package/dist/src/public/channels/http.js +88 -78
- package/dist/src/public/channels/http.js.map +1 -1
- package/dist/src/public/channels/index.d.ts +9 -10
- package/dist/src/public/channels/index.d.ts.map +1 -1
- package/dist/src/public/channels/index.js +9 -9
- package/dist/src/public/channels/index.js.map +1 -1
- package/dist/src/public/channels/slack/index.d.ts +104 -37
- package/dist/src/public/channels/slack/index.d.ts.map +1 -1
- package/dist/src/public/channels/slack/index.js +168 -47
- package/dist/src/public/channels/slack/index.js.map +1 -1
- package/dist/src/public/channels/slack/lowlevel.d.ts +5 -5
- package/dist/src/public/channels/slack/lowlevel.d.ts.map +1 -1
- package/dist/src/public/channels/slack/lowlevel.js +4 -4
- package/dist/src/public/channels/slack/lowlevel.js.map +1 -1
- package/dist/src/public/connections/index.d.ts +25 -0
- package/dist/src/public/connections/index.d.ts.map +1 -0
- package/dist/src/public/connections/index.js +24 -0
- package/dist/src/public/connections/index.js.map +1 -0
- package/dist/src/public/definitions/channel.d.ts +89 -60
- package/dist/src/public/definitions/channel.d.ts.map +1 -1
- package/dist/src/public/definitions/channel.js +42 -24
- package/dist/src/public/definitions/channel.js.map +1 -1
- package/dist/src/public/definitions/connections/mcp.d.ts +60 -0
- package/dist/src/public/definitions/connections/mcp.d.ts.map +1 -0
- package/dist/src/public/definitions/connections/mcp.js +7 -0
- package/dist/src/public/definitions/connections/mcp.js.map +1 -0
- package/dist/src/public/definitions/tool.d.ts +14 -7
- package/dist/src/public/definitions/tool.d.ts.map +1 -1
- package/dist/src/public/definitions/tool.js.map +1 -1
- package/dist/src/public/index.d.ts +10 -9
- package/dist/src/public/index.d.ts.map +1 -1
- package/dist/src/public/index.js +7 -6
- package/dist/src/public/index.js.map +1 -1
- package/dist/src/public/sandboxes/internal.d.ts +1 -1
- package/dist/src/public/sandboxes/internal.js +1 -1
- package/dist/src/public/tools/defaults.d.ts +6 -6
- package/dist/src/public/tools/defaults.d.ts.map +1 -1
- package/dist/src/public/tools/defaults.js +6 -6
- package/dist/src/public/tools/defaults.js.map +1 -1
- package/dist/src/public/tools/internal.d.ts +1 -1
- package/dist/src/public/tools/internal.js +1 -1
- package/dist/src/runtime/actions/types.d.ts +21 -18
- package/dist/src/runtime/actions/types.d.ts.map +1 -1
- package/dist/src/runtime/actions/types.js +22 -19
- package/dist/src/runtime/actions/types.js.map +1 -1
- package/dist/src/runtime/agent/bootstrap-model-utils.d.ts +37 -0
- package/dist/src/runtime/agent/bootstrap-model-utils.d.ts.map +1 -0
- package/dist/src/runtime/agent/bootstrap-model-utils.js +149 -0
- package/dist/src/runtime/agent/bootstrap-model-utils.js.map +1 -0
- package/dist/src/runtime/agent/bootstrap-model.d.ts.map +1 -1
- package/dist/src/runtime/agent/bootstrap-model.js +11 -80
- package/dist/src/runtime/agent/bootstrap-model.js.map +1 -1
- package/dist/src/runtime/agent/bootstrap.d.ts.map +1 -1
- package/dist/src/runtime/agent/bootstrap.js +4 -1
- package/dist/src/runtime/agent/bootstrap.js.map +1 -1
- package/dist/src/runtime/agent/mock-model-adapter.d.ts.map +1 -1
- package/dist/src/runtime/agent/mock-model-adapter.js +72 -134
- package/dist/src/runtime/agent/mock-model-adapter.js.map +1 -1
- package/dist/src/runtime/channels/registry.d.ts +21 -0
- package/dist/src/runtime/channels/registry.d.ts.map +1 -0
- package/dist/src/runtime/channels/registry.js +65 -0
- package/dist/src/runtime/channels/registry.js.map +1 -0
- package/dist/src/runtime/connections/mcp-client.d.ts +48 -0
- package/dist/src/runtime/connections/mcp-client.d.ts.map +1 -0
- package/dist/src/runtime/connections/mcp-client.js +182 -0
- package/dist/src/runtime/connections/mcp-client.js.map +1 -0
- package/dist/src/runtime/connections/registry.d.ts +33 -0
- package/dist/src/runtime/connections/registry.d.ts.map +1 -0
- package/dist/src/runtime/connections/registry.js +54 -0
- package/dist/src/runtime/connections/registry.js.map +1 -0
- package/dist/src/runtime/connections/types.d.ts +75 -0
- package/dist/src/runtime/connections/types.d.ts.map +1 -0
- package/dist/src/runtime/connections/types.js +9 -0
- package/dist/src/runtime/connections/types.js.map +1 -0
- package/dist/src/runtime/framework-channels/index.d.ts +6 -6
- package/dist/src/runtime/framework-channels/index.d.ts.map +1 -1
- package/dist/src/runtime/framework-channels/index.js +16 -14
- package/dist/src/runtime/framework-channels/index.js.map +1 -1
- package/dist/src/runtime/framework-tools/ask-question.js +4 -4
- package/dist/src/runtime/framework-tools/ask-question.js.map +1 -1
- package/dist/src/runtime/framework-tools/connection-execute.d.ts +10 -0
- package/dist/src/runtime/framework-tools/connection-execute.d.ts.map +1 -0
- package/dist/src/runtime/framework-tools/connection-execute.js +50 -0
- package/dist/src/runtime/framework-tools/connection-execute.js.map +1 -0
- package/dist/src/runtime/framework-tools/connection-search.d.ts +43 -0
- package/dist/src/runtime/framework-tools/connection-search.d.ts.map +1 -0
- package/dist/src/runtime/framework-tools/connection-search.js +135 -0
- package/dist/src/runtime/framework-tools/connection-search.js.map +1 -0
- package/dist/src/runtime/framework-tools/file-state.d.ts +5 -5
- package/dist/src/runtime/framework-tools/file-state.d.ts.map +1 -1
- package/dist/src/runtime/framework-tools/file-state.js +6 -8
- package/dist/src/runtime/framework-tools/file-state.js.map +1 -1
- package/dist/src/runtime/framework-tools/index.d.ts +3 -1
- package/dist/src/runtime/framework-tools/index.d.ts.map +1 -1
- package/dist/src/runtime/framework-tools/index.js +10 -1
- package/dist/src/runtime/framework-tools/index.js.map +1 -1
- package/dist/src/runtime/framework-tools/skill.d.ts +4 -4
- package/dist/src/runtime/framework-tools/skill.d.ts.map +1 -1
- package/dist/src/runtime/framework-tools/skill.js +14 -11
- package/dist/src/runtime/framework-tools/skill.js.map +1 -1
- package/dist/src/runtime/framework-tools/todo.d.ts.map +1 -1
- package/dist/src/runtime/framework-tools/todo.js +2 -4
- package/dist/src/runtime/framework-tools/todo.js.map +1 -1
- package/dist/src/runtime/input/types.d.ts +40 -115
- package/dist/src/runtime/input/types.d.ts.map +1 -1
- package/dist/src/runtime/input/types.js +28 -66
- package/dist/src/runtime/input/types.js.map +1 -1
- package/dist/src/runtime/loaders/module-map.js +8 -0
- package/dist/src/runtime/loaders/module-map.js.map +1 -1
- package/dist/src/runtime/prompt/compose.d.ts +4 -1
- package/dist/src/runtime/prompt/compose.d.ts.map +1 -1
- package/dist/src/runtime/prompt/compose.js +18 -1
- package/dist/src/runtime/prompt/compose.js.map +1 -1
- package/dist/src/runtime/prompt/connections.d.ts +10 -0
- package/dist/src/runtime/prompt/connections.d.ts.map +1 -0
- package/dist/src/runtime/prompt/connections.js +25 -0
- package/dist/src/runtime/prompt/connections.js.map +1 -0
- package/dist/src/runtime/resolve-agent-graph.d.ts.map +1 -1
- package/dist/src/runtime/resolve-agent-graph.js +29 -7
- package/dist/src/runtime/resolve-agent-graph.js.map +1 -1
- package/dist/src/runtime/resolve-agent.d.ts.map +1 -1
- package/dist/src/runtime/resolve-agent.js +3 -0
- package/dist/src/runtime/resolve-agent.js.map +1 -1
- package/dist/src/runtime/resolve-channel.d.ts.map +1 -1
- package/dist/src/runtime/resolve-channel.js +1 -0
- package/dist/src/runtime/resolve-channel.js.map +1 -1
- package/dist/src/runtime/resolve-connection.d.ts +16 -0
- package/dist/src/runtime/resolve-connection.d.ts.map +1 -0
- package/dist/src/runtime/resolve-connection.js +69 -0
- package/dist/src/runtime/resolve-connection.js.map +1 -0
- package/dist/src/runtime/resolve-tool.d.ts.map +1 -1
- package/dist/src/runtime/resolve-tool.js +8 -0
- package/dist/src/runtime/resolve-tool.js.map +1 -1
- package/dist/src/runtime/sessions/auth.d.ts +1 -1
- package/dist/src/runtime/sessions/compiled-agent-cache.d.ts +2 -0
- package/dist/src/runtime/sessions/compiled-agent-cache.d.ts.map +1 -1
- package/dist/src/runtime/sessions/compiled-agent-cache.js +14 -0
- package/dist/src/runtime/sessions/compiled-agent-cache.js.map +1 -1
- package/dist/src/runtime/skills/fragment-context.d.ts +2 -2
- package/dist/src/runtime/skills/fragment-context.d.ts.map +1 -1
- package/dist/src/runtime/skills/fragment-context.js +2 -2
- package/dist/src/runtime/skills/fragment-context.js.map +1 -1
- package/dist/src/runtime/standard-schema.d.ts +28 -0
- package/dist/src/runtime/standard-schema.d.ts.map +1 -0
- package/dist/src/runtime/standard-schema.js +65 -0
- package/dist/src/runtime/standard-schema.js.map +1 -0
- package/dist/src/runtime/types.d.ts +29 -3
- package/dist/src/runtime/types.d.ts.map +1 -1
- package/dist/src/services/dev-client/send-message.d.ts +2 -2
- package/dist/src/services/dev-client/send-message.d.ts.map +1 -1
- package/dist/src/services/dev-client/send-message.js +21 -22
- package/dist/src/services/dev-client/send-message.js.map +1 -1
- package/dist/src/services/dev-client/session.d.ts +5 -5
- package/dist/src/services/dev-client/session.d.ts.map +1 -1
- package/dist/src/services/dev-client/session.js +2 -2
- package/dist/src/services/dev-client/session.js.map +1 -1
- package/dist/src/services/dev-client.d.ts +6 -6
- package/dist/src/services/dev-client.d.ts.map +1 -1
- package/dist/src/services/dev-client.js +3 -3
- package/dist/src/services/dev-client.js.map +1 -1
- package/docs/external-agent-protocol.md +37 -34
- package/docs/internals/channels.md +15 -12
- package/docs/internals/context.md +81 -161
- package/docs/internals/message-runtime.md +28 -26
- package/docs/public/README.md +22 -20
- package/docs/public/auth-and-route-protection.md +15 -12
- package/docs/public/channels/README.md +16 -11
- package/docs/public/cli-build-and-debugging.md +1 -1
- package/docs/public/context-control.md +7 -3
- package/docs/public/evals.md +3 -3
- package/docs/public/getting-started.md +15 -12
- package/docs/public/human-in-the-loop.md +45 -57
- package/docs/public/migration-guide.md +71 -0
- package/docs/public/project-layout.md +5 -0
- package/docs/public/runs-and-streaming.md +32 -25
- package/docs/public/schedules.md +4 -4
- package/docs/public/session-context.md +131 -15
- package/docs/public/skills.md +27 -3
- package/docs/public/subagents.md +2 -2
- package/docs/public/tools.md +23 -30
- package/docs/public/typescript-api.md +16 -12
- package/docs/public/vercel-deployment.md +3 -4
- package/docs/public/workspace.md +11 -11
- package/package.json +18 -11
- package/dist/src/channel/emitter-registry.d.ts +0 -34
- package/dist/src/channel/emitter-registry.d.ts.map +0 -1
- package/dist/src/channel/emitter-registry.js +0 -63
- package/dist/src/channel/emitter-registry.js.map +0 -1
- package/dist/src/channel/http-emitter.d.ts +0 -16
- package/dist/src/channel/http-emitter.d.ts.map +0 -1
- package/dist/src/channel/http-emitter.js +0 -22
- package/dist/src/channel/http-emitter.js.map +0 -1
- package/dist/src/channel/schedule-emitter.d.ts +0 -15
- package/dist/src/channel/schedule-emitter.d.ts.map +0 -1
- package/dist/src/channel/schedule-emitter.js +0 -21
- package/dist/src/channel/schedule-emitter.js.map +0 -1
- package/dist/src/channel/slack-emitter.d.ts +0 -56
- package/dist/src/channel/slack-emitter.d.ts.map +0 -1
- package/dist/src/channel/slack-emitter.js +0 -235
- package/dist/src/channel/slack-emitter.js.map +0 -1
- package/dist/src/channel/subagent-emitter.d.ts +0 -41
- package/dist/src/channel/subagent-emitter.d.ts.map +0 -1
- package/dist/src/channel/subagent-emitter.js.map +0 -1
- package/dist/src/context/state.d.ts +0 -27
- package/dist/src/context/state.d.ts.map +0 -1
- package/dist/src/context/state.js +0 -53
- package/dist/src/context/state.js.map +0 -1
- package/dist/src/internal/message/nitro-route-shims.d.ts +0 -6
- package/dist/src/internal/message/nitro-route-shims.d.ts.map +0 -1
- package/dist/src/internal/message/nitro-route-shims.js +0 -38
- package/dist/src/internal/message/nitro-route-shims.js.map +0 -1
- package/dist/src/internal/message/rewrite-generated-imports.d.ts +0 -15
- package/dist/src/internal/message/rewrite-generated-imports.d.ts.map +0 -1
- package/dist/src/internal/message/rewrite-generated-imports.js +0 -59
- package/dist/src/internal/message/rewrite-generated-imports.js.map +0 -1
- package/dist/src/internal/nitro/host/channel-url-matcher.d.ts +0 -35
- package/dist/src/internal/nitro/host/channel-url-matcher.d.ts.map +0 -1
- package/dist/src/internal/nitro/host/channel-url-matcher.js +0 -57
- package/dist/src/internal/nitro/host/channel-url-matcher.js.map +0 -1
- package/dist/src/internal/nitro/routes/home-page/build-home-page-view-model.d.ts +0 -11
- package/dist/src/internal/nitro/routes/home-page/build-home-page-view-model.d.ts.map +0 -1
- package/dist/src/internal/nitro/routes/home-page/build-home-page-view-model.js +0 -264
- package/dist/src/internal/nitro/routes/home-page/build-home-page-view-model.js.map +0 -1
- package/dist/src/internal/nitro/routes/home-page/render-home-page.d.ts +0 -9
- package/dist/src/internal/nitro/routes/home-page/render-home-page.d.ts.map +0 -1
- package/dist/src/internal/nitro/routes/home-page/render-home-page.js +0 -15
- package/dist/src/internal/nitro/routes/home-page/render-home-page.js.map +0 -1
- package/dist/src/internal/nitro/routes/index.html +0 -525
- package/dist/src/internal/nitro/runtime-configuration.d.ts +0 -16
- package/dist/src/internal/nitro/runtime-configuration.d.ts.map +0 -1
- package/dist/src/internal/nitro/runtime-configuration.js +0 -23
- package/dist/src/internal/nitro/runtime-configuration.js.map +0 -1
- package/dist/src/internal/nitro/shims/runtime-configuration-plugin.d.ts +0 -10
- package/dist/src/internal/nitro/shims/runtime-configuration-plugin.d.ts.map +0 -1
- package/dist/src/internal/nitro/shims/runtime-configuration-plugin.js +0 -17
- package/dist/src/internal/nitro/shims/runtime-configuration-plugin.js.map +0 -1
- package/dist/src/runtime/tools/execute-tool.d.ts +0 -20
- package/dist/src/runtime/tools/execute-tool.d.ts.map +0 -1
- package/dist/src/runtime/tools/execute-tool.js +0 -69
- package/dist/src/runtime/tools/execute-tool.js.map +0 -1
|
@@ -1,525 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<title>__PAGE_TITLE__</title>
|
|
7
|
-
<meta name="description" content="__PAGE_DESCRIPTION__" />
|
|
8
|
-
<style>
|
|
9
|
-
:root {
|
|
10
|
-
color-scheme: dark;
|
|
11
|
-
--page-bg: #070707;
|
|
12
|
-
--page-glow: rgba(255, 255, 255, 0.05);
|
|
13
|
-
--panel-bg: #101010;
|
|
14
|
-
--panel-bg-soft: #141414;
|
|
15
|
-
--ink: #f5f1e8;
|
|
16
|
-
--muted: #b9b3a8;
|
|
17
|
-
--line: #262626;
|
|
18
|
-
--line-strong: #363636;
|
|
19
|
-
--shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
|
|
20
|
-
font-family:
|
|
21
|
-
"Suisse Intl",
|
|
22
|
-
"Avenir Next",
|
|
23
|
-
"Helvetica Neue",
|
|
24
|
-
sans-serif;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
* {
|
|
28
|
-
box-sizing: border-box;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
html {
|
|
32
|
-
min-height: 100%;
|
|
33
|
-
background: var(--page-bg);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
body {
|
|
37
|
-
margin: 0;
|
|
38
|
-
min-height: 100vh;
|
|
39
|
-
color: var(--ink);
|
|
40
|
-
background:
|
|
41
|
-
radial-gradient(circle at top center, var(--page-glow), transparent 34%),
|
|
42
|
-
linear-gradient(180deg, #0d0d0d 0%, var(--page-bg) 100%);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
a {
|
|
46
|
-
color: inherit;
|
|
47
|
-
text-decoration: none;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
code,
|
|
51
|
-
pre,
|
|
52
|
-
.eyebrow,
|
|
53
|
-
.data-table th,
|
|
54
|
-
.path-cell,
|
|
55
|
-
.pill {
|
|
56
|
-
font-family:
|
|
57
|
-
"IBM Plex Mono",
|
|
58
|
-
"SFMono-Regular",
|
|
59
|
-
"SF Mono",
|
|
60
|
-
"JetBrains Mono",
|
|
61
|
-
monospace;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
h1,
|
|
65
|
-
h2 {
|
|
66
|
-
font-family:
|
|
67
|
-
"Iowan Old Style",
|
|
68
|
-
"Palatino Linotype",
|
|
69
|
-
"Book Antiqua",
|
|
70
|
-
serif;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.page {
|
|
74
|
-
width: min(1180px, calc(100% - 32px));
|
|
75
|
-
margin: 0 auto;
|
|
76
|
-
padding: 22px 0 40px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.sheet {
|
|
80
|
-
margin-top: 18px;
|
|
81
|
-
border: 1px solid var(--line-strong);
|
|
82
|
-
background: var(--panel-bg);
|
|
83
|
-
box-shadow: var(--shadow);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.sheet:first-child {
|
|
87
|
-
margin-top: 0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.masthead-table,
|
|
91
|
-
.data-table {
|
|
92
|
-
width: 100%;
|
|
93
|
-
border-collapse: collapse;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.masthead-table td {
|
|
97
|
-
width: 50%;
|
|
98
|
-
padding: 24px;
|
|
99
|
-
vertical-align: top;
|
|
100
|
-
border-right: 1px solid var(--line);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.masthead-table td:last-child {
|
|
104
|
-
border-right: none;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.eyebrow {
|
|
108
|
-
margin: 0;
|
|
109
|
-
color: var(--muted);
|
|
110
|
-
font-size: 11px;
|
|
111
|
-
font-weight: 700;
|
|
112
|
-
letter-spacing: 0.16em;
|
|
113
|
-
text-transform: uppercase;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
h1 {
|
|
117
|
-
margin: 16px 0 12px;
|
|
118
|
-
font-size: clamp(40px, 8vw, 78px);
|
|
119
|
-
line-height: 0.96;
|
|
120
|
-
letter-spacing: -0.05em;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.lede {
|
|
124
|
-
max-width: 56ch;
|
|
125
|
-
margin: 0;
|
|
126
|
-
color: var(--muted);
|
|
127
|
-
font-size: 16px;
|
|
128
|
-
line-height: 1.7;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.system-label {
|
|
132
|
-
margin: 0;
|
|
133
|
-
color: var(--muted);
|
|
134
|
-
font-size: 11px;
|
|
135
|
-
font-weight: 700;
|
|
136
|
-
letter-spacing: 0.16em;
|
|
137
|
-
text-transform: uppercase;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.system-path {
|
|
141
|
-
display: inline-block;
|
|
142
|
-
margin-top: 10px;
|
|
143
|
-
color: var(--muted);
|
|
144
|
-
font-size: 12px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.system-copy {
|
|
148
|
-
margin: 14px 0 0;
|
|
149
|
-
color: var(--ink);
|
|
150
|
-
line-height: 1.7;
|
|
151
|
-
white-space: pre-wrap;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.section-head {
|
|
155
|
-
padding: 18px 20px;
|
|
156
|
-
border-bottom: 1px solid var(--line);
|
|
157
|
-
background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.section-head h2 {
|
|
161
|
-
margin: 8px 0 0;
|
|
162
|
-
font-size: 31px;
|
|
163
|
-
letter-spacing: -0.04em;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.section-copy {
|
|
167
|
-
max-width: 72ch;
|
|
168
|
-
margin: 10px 0 0;
|
|
169
|
-
color: var(--muted);
|
|
170
|
-
line-height: 1.65;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.table-wrap {
|
|
174
|
-
overflow-x: auto;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.data-table {
|
|
178
|
-
min-width: 760px;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.data-table--compact {
|
|
182
|
-
min-width: 0;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.data-table thead th {
|
|
186
|
-
padding: 14px 16px;
|
|
187
|
-
border-bottom: 1px solid var(--line-strong);
|
|
188
|
-
background: var(--panel-bg-soft);
|
|
189
|
-
color: var(--muted);
|
|
190
|
-
font-size: 11px;
|
|
191
|
-
font-weight: 700;
|
|
192
|
-
letter-spacing: 0.12em;
|
|
193
|
-
text-align: left;
|
|
194
|
-
text-transform: uppercase;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.data-table tbody th,
|
|
198
|
-
.data-table tbody td {
|
|
199
|
-
padding: 14px 16px;
|
|
200
|
-
border-bottom: 1px solid var(--line);
|
|
201
|
-
text-align: left;
|
|
202
|
-
vertical-align: top;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.data-table tbody tr:last-child th,
|
|
206
|
-
.data-table tbody tr:last-child td {
|
|
207
|
-
border-bottom: none;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.data-table tbody tr:nth-child(odd) {
|
|
211
|
-
background: rgba(255, 255, 255, 0.014);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.data-table tbody th {
|
|
215
|
-
width: 240px;
|
|
216
|
-
font-size: 13px;
|
|
217
|
-
font-weight: 600;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.path-cell {
|
|
221
|
-
color: var(--muted);
|
|
222
|
-
font-size: 12px;
|
|
223
|
-
word-break: break-all;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.copy-cell {
|
|
227
|
-
color: var(--muted);
|
|
228
|
-
line-height: 1.65;
|
|
229
|
-
white-space: pre-wrap;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.muted-copy {
|
|
233
|
-
color: var(--muted);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.pill-list {
|
|
237
|
-
display: flex;
|
|
238
|
-
flex-wrap: wrap;
|
|
239
|
-
gap: 8px;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.pill {
|
|
243
|
-
display: inline-flex;
|
|
244
|
-
align-items: center;
|
|
245
|
-
min-height: 28px;
|
|
246
|
-
padding: 0 9px;
|
|
247
|
-
border: 1px solid var(--line-strong);
|
|
248
|
-
background: var(--panel-bg-soft);
|
|
249
|
-
font-size: 11px;
|
|
250
|
-
letter-spacing: 0.03em;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.empty-row td {
|
|
254
|
-
padding: 24px 16px;
|
|
255
|
-
color: var(--muted);
|
|
256
|
-
text-align: center;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.request-block {
|
|
260
|
-
padding: 20px;
|
|
261
|
-
border-top: 1px solid var(--line);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.request-label {
|
|
265
|
-
margin: 0;
|
|
266
|
-
color: var(--muted);
|
|
267
|
-
font-size: 11px;
|
|
268
|
-
font-weight: 700;
|
|
269
|
-
letter-spacing: 0.16em;
|
|
270
|
-
text-transform: uppercase;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.request {
|
|
274
|
-
margin: 12px 0 0;
|
|
275
|
-
padding: 16px;
|
|
276
|
-
overflow-x: auto;
|
|
277
|
-
border: 1px solid var(--line);
|
|
278
|
-
background: #090909;
|
|
279
|
-
color: var(--ink);
|
|
280
|
-
font-size: 12px;
|
|
281
|
-
line-height: 1.7;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
@media (max-width: 900px) {
|
|
285
|
-
.page {
|
|
286
|
-
width: min(100% - 20px, 1180px);
|
|
287
|
-
padding-top: 14px;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.masthead-table,
|
|
291
|
-
.masthead-table tbody,
|
|
292
|
-
.masthead-table tr,
|
|
293
|
-
.masthead-table td {
|
|
294
|
-
display: block;
|
|
295
|
-
width: 100%;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.masthead-table td {
|
|
299
|
-
border-right: none;
|
|
300
|
-
border-bottom: 1px solid var(--line);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.masthead-table td:last-child {
|
|
304
|
-
border-bottom: none;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.section-head {
|
|
308
|
-
padding: 16px 18px;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.data-table {
|
|
312
|
-
min-width: 680px;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
</style>
|
|
316
|
-
</head>
|
|
317
|
-
<body>
|
|
318
|
-
<main class="page">
|
|
319
|
-
<section class="sheet">
|
|
320
|
-
<table class="masthead-table">
|
|
321
|
-
<tbody>
|
|
322
|
-
<tr>
|
|
323
|
-
<td>
|
|
324
|
-
<p class="eyebrow">Ash Agent Host</p>
|
|
325
|
-
<h1>__AGENT_ID__</h1>
|
|
326
|
-
<p class="lede">__HERO_SUMMARY__</p>
|
|
327
|
-
</td>
|
|
328
|
-
<td>
|
|
329
|
-
<p class="system-label">System prompt</p>
|
|
330
|
-
<div class="system-path"><code>__SYSTEM_PATH__</code></div>
|
|
331
|
-
<p class="system-copy">__SYSTEM_COPY__</p>
|
|
332
|
-
</td>
|
|
333
|
-
</tr>
|
|
334
|
-
</tbody>
|
|
335
|
-
</table>
|
|
336
|
-
</section>
|
|
337
|
-
|
|
338
|
-
<section class="sheet">
|
|
339
|
-
<div class="section-head">
|
|
340
|
-
<p class="eyebrow">Overview</p>
|
|
341
|
-
<h2>Agent overview</h2>
|
|
342
|
-
<p class="section-copy">Core runtime and discovery facts for the current compiled agent.</p>
|
|
343
|
-
</div>
|
|
344
|
-
<div class="table-wrap">
|
|
345
|
-
<table class="data-table data-table--compact">
|
|
346
|
-
<thead>
|
|
347
|
-
<tr>
|
|
348
|
-
<th scope="col">Field</th>
|
|
349
|
-
<th scope="col">Value</th>
|
|
350
|
-
</tr>
|
|
351
|
-
</thead>
|
|
352
|
-
<tbody>
|
|
353
|
-
__OVERVIEW_ROWS__
|
|
354
|
-
</tbody>
|
|
355
|
-
</table>
|
|
356
|
-
</div>
|
|
357
|
-
</section>
|
|
358
|
-
|
|
359
|
-
<section class="sheet">
|
|
360
|
-
<div class="section-head">
|
|
361
|
-
<p class="eyebrow">Prompt layers</p>
|
|
362
|
-
<h2>System prompt and layers</h2>
|
|
363
|
-
<p class="section-copy">Resolved prompt layers in the order used to build the base instructions.</p>
|
|
364
|
-
</div>
|
|
365
|
-
<div class="table-wrap">
|
|
366
|
-
<table class="data-table">
|
|
367
|
-
<thead>
|
|
368
|
-
<tr>
|
|
369
|
-
<th scope="col">Kind</th>
|
|
370
|
-
<th scope="col">Name</th>
|
|
371
|
-
<th scope="col">Path</th>
|
|
372
|
-
<th scope="col">Preview</th>
|
|
373
|
-
</tr>
|
|
374
|
-
</thead>
|
|
375
|
-
<tbody>
|
|
376
|
-
__PROMPT_LAYER_ROWS__
|
|
377
|
-
</tbody>
|
|
378
|
-
</table>
|
|
379
|
-
</div>
|
|
380
|
-
</section>
|
|
381
|
-
|
|
382
|
-
<section class="sheet">
|
|
383
|
-
<div class="section-head">
|
|
384
|
-
<p class="eyebrow">Skills</p>
|
|
385
|
-
<h2>Available skill surface</h2>
|
|
386
|
-
<p class="section-copy">Authored skills that can be activated to load additional instructions.</p>
|
|
387
|
-
</div>
|
|
388
|
-
<div class="table-wrap">
|
|
389
|
-
<table class="data-table">
|
|
390
|
-
<thead>
|
|
391
|
-
<tr>
|
|
392
|
-
<th scope="col">Name</th>
|
|
393
|
-
<th scope="col">Path</th>
|
|
394
|
-
<th scope="col">Description</th>
|
|
395
|
-
<th scope="col">Source</th>
|
|
396
|
-
</tr>
|
|
397
|
-
</thead>
|
|
398
|
-
<tbody>
|
|
399
|
-
__SKILL_ROWS__
|
|
400
|
-
</tbody>
|
|
401
|
-
</table>
|
|
402
|
-
</div>
|
|
403
|
-
</section>
|
|
404
|
-
|
|
405
|
-
<section class="sheet">
|
|
406
|
-
<div class="section-head">
|
|
407
|
-
<p class="eyebrow">Tools</p>
|
|
408
|
-
<h2>Authored tool definitions</h2>
|
|
409
|
-
<p class="section-copy">Callable tool surfaces available to the runtime.</p>
|
|
410
|
-
</div>
|
|
411
|
-
<div class="table-wrap">
|
|
412
|
-
<table class="data-table">
|
|
413
|
-
<thead>
|
|
414
|
-
<tr>
|
|
415
|
-
<th scope="col">Name</th>
|
|
416
|
-
<th scope="col">Path</th>
|
|
417
|
-
<th scope="col">Details</th>
|
|
418
|
-
<th scope="col">Source</th>
|
|
419
|
-
</tr>
|
|
420
|
-
</thead>
|
|
421
|
-
<tbody>
|
|
422
|
-
__TOOL_ROWS__
|
|
423
|
-
</tbody>
|
|
424
|
-
</table>
|
|
425
|
-
</div>
|
|
426
|
-
</section>
|
|
427
|
-
|
|
428
|
-
<section class="sheet">
|
|
429
|
-
<div class="section-head">
|
|
430
|
-
<p class="eyebrow">Sandboxes</p>
|
|
431
|
-
<h2>Authored sandbox environments</h2>
|
|
432
|
-
<p class="section-copy">Named isolated bash-style environments prepared by the runtime before the harness starts.</p>
|
|
433
|
-
</div>
|
|
434
|
-
<div class="table-wrap">
|
|
435
|
-
<table class="data-table">
|
|
436
|
-
<thead>
|
|
437
|
-
<tr>
|
|
438
|
-
<th scope="col">Name</th>
|
|
439
|
-
<th scope="col">Path</th>
|
|
440
|
-
<th scope="col">Details</th>
|
|
441
|
-
<th scope="col">Source</th>
|
|
442
|
-
</tr>
|
|
443
|
-
</thead>
|
|
444
|
-
<tbody>
|
|
445
|
-
__SANDBOX_ROWS__
|
|
446
|
-
</tbody>
|
|
447
|
-
</table>
|
|
448
|
-
</div>
|
|
449
|
-
</section>
|
|
450
|
-
|
|
451
|
-
<section class="sheet">
|
|
452
|
-
<div class="section-head">
|
|
453
|
-
<p class="eyebrow">Schedules</p>
|
|
454
|
-
<h2>Compiled schedule definitions</h2>
|
|
455
|
-
<p class="section-copy">Authored schedules registered against the current Nitro host.</p>
|
|
456
|
-
</div>
|
|
457
|
-
<div class="table-wrap">
|
|
458
|
-
<table class="data-table">
|
|
459
|
-
<thead>
|
|
460
|
-
<tr>
|
|
461
|
-
<th scope="col">Id</th>
|
|
462
|
-
<th scope="col">Cron</th>
|
|
463
|
-
<th scope="col">Path</th>
|
|
464
|
-
<th scope="col">Preview</th>
|
|
465
|
-
</tr>
|
|
466
|
-
</thead>
|
|
467
|
-
<tbody>
|
|
468
|
-
__SCHEDULE_ROWS__
|
|
469
|
-
</tbody>
|
|
470
|
-
</table>
|
|
471
|
-
</div>
|
|
472
|
-
</section>
|
|
473
|
-
|
|
474
|
-
<section class="sheet">
|
|
475
|
-
<div class="section-head">
|
|
476
|
-
<p class="eyebrow">Subagents</p>
|
|
477
|
-
<h2>Discovered subagent graph</h2>
|
|
478
|
-
<p class="section-copy">Remote bindings and local subagent packages discovered under <code>subagents/</code>.</p>
|
|
479
|
-
</div>
|
|
480
|
-
<div class="table-wrap">
|
|
481
|
-
<table class="data-table">
|
|
482
|
-
<thead>
|
|
483
|
-
<tr>
|
|
484
|
-
<th scope="col">Kind</th>
|
|
485
|
-
<th scope="col">Name</th>
|
|
486
|
-
<th scope="col">Path</th>
|
|
487
|
-
<th scope="col">Details</th>
|
|
488
|
-
</tr>
|
|
489
|
-
</thead>
|
|
490
|
-
<tbody>
|
|
491
|
-
__SUBAGENT_ROWS__
|
|
492
|
-
</tbody>
|
|
493
|
-
</table>
|
|
494
|
-
</div>
|
|
495
|
-
</section>
|
|
496
|
-
|
|
497
|
-
<section class="sheet">
|
|
498
|
-
<div class="section-head">
|
|
499
|
-
<p class="eyebrow">API</p>
|
|
500
|
-
<h2>Framework endpoints</h2>
|
|
501
|
-
<p class="section-copy">Framework-owned transport endpoints exposed by this host.</p>
|
|
502
|
-
</div>
|
|
503
|
-
<div class="table-wrap">
|
|
504
|
-
<table class="data-table">
|
|
505
|
-
<thead>
|
|
506
|
-
<tr>
|
|
507
|
-
<th scope="col">Method</th>
|
|
508
|
-
<th scope="col">Endpoint</th>
|
|
509
|
-
<th scope="col">Path</th>
|
|
510
|
-
<th scope="col">Notes</th>
|
|
511
|
-
</tr>
|
|
512
|
-
</thead>
|
|
513
|
-
<tbody>
|
|
514
|
-
__ENDPOINT_ROWS__
|
|
515
|
-
</tbody>
|
|
516
|
-
</table>
|
|
517
|
-
</div>
|
|
518
|
-
<div class="request-block">
|
|
519
|
-
<p class="request-label">Example request</p>
|
|
520
|
-
<pre class="request"><code>__MESSAGE_REQUEST_EXAMPLE__</code></pre>
|
|
521
|
-
</div>
|
|
522
|
-
</section>
|
|
523
|
-
</main>
|
|
524
|
-
</body>
|
|
525
|
-
</html>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface AshNitroRuntimeConfiguration {
|
|
2
|
-
appRoot?: string;
|
|
3
|
-
dev?: boolean;
|
|
4
|
-
homePageTemplate?: string;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Installs the Ash-owned Nitro runtime configuration used by package-owned
|
|
8
|
-
* route handlers.
|
|
9
|
-
*/
|
|
10
|
-
export declare function installAshNitroRuntimeConfiguration(configuration: AshNitroRuntimeConfiguration): void;
|
|
11
|
-
/**
|
|
12
|
-
* Reads the Ash-owned Nitro runtime configuration for package-owned route
|
|
13
|
-
* handlers.
|
|
14
|
-
*/
|
|
15
|
-
export declare function readAshNitroRuntimeConfiguration(): AshNitroRuntimeConfiguration;
|
|
16
|
-
//# sourceMappingURL=runtime-configuration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-configuration.d.ts","sourceRoot":"","sources":["../../../../src/internal/nitro/runtime-configuration.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAaD;;;GAGG;AACH,wBAAgB,mCAAmC,CACjD,aAAa,EAAE,4BAA4B,GAC1C,IAAI,CAMN;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,IAAI,4BAA4B,CAI/E"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const ASH_NITRO_RUNTIME_CONFIGURATION_KEY = "__ashNitroRuntimeConfiguration__";
|
|
2
|
-
function resolveGlobalRuntimeConfigurationStore() {
|
|
3
|
-
return globalThis;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Installs the Ash-owned Nitro runtime configuration used by package-owned
|
|
7
|
-
* route handlers.
|
|
8
|
-
*/
|
|
9
|
-
export function installAshNitroRuntimeConfiguration(configuration) {
|
|
10
|
-
const store = resolveGlobalRuntimeConfigurationStore();
|
|
11
|
-
store[ASH_NITRO_RUNTIME_CONFIGURATION_KEY] = {
|
|
12
|
-
...configuration,
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Reads the Ash-owned Nitro runtime configuration for package-owned route
|
|
17
|
-
* handlers.
|
|
18
|
-
*/
|
|
19
|
-
export function readAshNitroRuntimeConfiguration() {
|
|
20
|
-
const store = resolveGlobalRuntimeConfigurationStore();
|
|
21
|
-
return store[ASH_NITRO_RUNTIME_CONFIGURATION_KEY] ?? {};
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=runtime-configuration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-configuration.js","sourceRoot":"","sources":["../../../../src/internal/nitro/runtime-configuration.ts"],"names":[],"mappings":"AAUA,MAAM,mCAAmC,GAAG,kCAAkC,CAAC;AAE/E,SAAS,sCAAsC;IAE7C,OAAO,UAAoE,CAAC;AAC9E,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,mCAAmC,CACjD,aAA2C;IAE3C,MAAM,KAAK,GAAG,sCAAsC,EAAE,CAAC;IAEvD,KAAK,CAAC,mCAAmC,CAAC,GAAG;QAC3C,GAAG,aAAa;KACjB,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,gCAAgC;IAC9C,MAAM,KAAK,GAAG,sCAAsC,EAAE,CAAC;IAEvD,OAAO,KAAK,CAAC,mCAAmC,CAAC,IAAI,EAAE,CAAC;AAC1D,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates the generated Nitro plugin that installs Ash's package-owned runtime
|
|
3
|
-
* configuration without depending on Nitro virtual runtime imports.
|
|
4
|
-
*/
|
|
5
|
-
export declare function createRuntimeConfigurationPluginSource(input: {
|
|
6
|
-
appRoot: string;
|
|
7
|
-
dev: boolean;
|
|
8
|
-
homePageTemplate: string;
|
|
9
|
-
}): string;
|
|
10
|
-
//# sourceMappingURL=runtime-configuration-plugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-configuration-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/internal/nitro/shims/runtime-configuration-plugin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE;IAC5D,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,OAAO,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;CAC1B,GAAG,MAAM,CAWT"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates the generated Nitro plugin that installs Ash's package-owned runtime
|
|
3
|
-
* configuration without depending on Nitro virtual runtime imports.
|
|
4
|
-
*/
|
|
5
|
-
export function createRuntimeConfigurationPluginSource(input) {
|
|
6
|
-
return `const ASH_NITRO_RUNTIME_CONFIGURATION_KEY = "__ashNitroRuntimeConfiguration__";
|
|
7
|
-
|
|
8
|
-
export default function installAshRuntimeConfigurationPlugin() {
|
|
9
|
-
globalThis[ASH_NITRO_RUNTIME_CONFIGURATION_KEY] = {
|
|
10
|
-
appRoot: ${JSON.stringify(input.appRoot)},
|
|
11
|
-
dev: ${JSON.stringify(input.dev)},
|
|
12
|
-
homePageTemplate: ${JSON.stringify(input.homePageTemplate)},
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
`;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=runtime-configuration-plugin.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-configuration-plugin.js","sourceRoot":"","sources":["../../../../../src/internal/nitro/shims/runtime-configuration-plugin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,UAAU,sCAAsC,CAAC,KAItD;IACC,OAAO;;;;eAIM,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC;WACjC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC;wBACZ,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,gBAAgB,CAAC;;;CAG7D,CAAC;AACF,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { RuntimeToolCallActionRequest, RuntimeToolResultActionResult } from "../actions/types.js";
|
|
2
|
-
import type { PreparedRuntimeAuthoredTool } from "../sessions/turn.js";
|
|
3
|
-
import { type RuntimeToolRegistry } from "./registry.js";
|
|
4
|
-
/**
|
|
5
|
-
* Input for executing one authored tool call through the runtime-owned wrapper.
|
|
6
|
-
*
|
|
7
|
-
* The unified Ash context is already active when this function is called
|
|
8
|
-
* (the caller runs inside `runStep`'s ALS scope), so authored code can
|
|
9
|
-
* access `getSession()`, `getSandbox()`, etc. directly.
|
|
10
|
-
*/
|
|
11
|
-
export interface ExecuteRuntimeToolCallInput {
|
|
12
|
-
readonly action: RuntimeToolCallActionRequest;
|
|
13
|
-
readonly registry: RuntimeToolRegistry;
|
|
14
|
-
readonly visibleTools: readonly PreparedRuntimeAuthoredTool[];
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Executes one authored tool call through the runtime-owned wrapper.
|
|
18
|
-
*/
|
|
19
|
-
export declare function executeRuntimeToolCall(input: ExecuteRuntimeToolCallInput): Promise<RuntimeToolResultActionResult>;
|
|
20
|
-
//# sourceMappingURL=execute-tool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"execute-tool.d.ts","sourceRoot":"","sources":["../../../../src/runtime/tools/execute-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAEvE,OAAO,EAA6B,KAAK,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpF;;;;;;GAMG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,MAAM,EAAE,4BAA4B,CAAC;IAC9C,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC;IACvC,QAAQ,CAAC,YAAY,EAAE,SAAS,2BAA2B,EAAE,CAAC;CAC/D;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,KAAK,EAAE,2BAA2B,GACjC,OAAO,CAAC,6BAA6B,CAAC,CA4DxC"}
|