@vibesdotdev/workboard 0.0.0-stage → 1.0.0-rc.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/LICENSE +18 -0
- package/README.md +31 -2
- package/dist/agent-actions.d.ts +19 -0
- package/dist/agent-actions.d.ts.map +1 -0
- package/dist/agent-actions.js +93 -0
- package/dist/agent-actions.js.map +1 -0
- package/dist/attention/headless-attention.host.d.ts +78 -0
- package/dist/attention/headless-attention.host.d.ts.map +1 -0
- package/dist/attention/headless-attention.host.js +42 -0
- package/dist/attention/headless-attention.host.js.map +1 -0
- package/dist/attention/index.d.ts +2 -0
- package/dist/attention/index.d.ts.map +1 -0
- package/dist/attention/index.js +2 -0
- package/dist/attention/index.js.map +1 -0
- package/dist/cli/marshal/components/index.d.ts +12 -0
- package/dist/cli/marshal/components/index.d.ts.map +1 -0
- package/dist/cli/marshal/components/index.js +12 -0
- package/dist/cli/marshal/components/index.js.map +1 -0
- package/dist/cli/marshal/components/marshal-progress.d.ts +52 -0
- package/dist/cli/marshal/components/marshal-progress.d.ts.map +1 -0
- package/dist/cli/marshal/components/marshal-progress.js +182 -0
- package/dist/cli/marshal/components/marshal-progress.js.map +1 -0
- package/dist/cli/marshal/components/marshal-prompt.d.ts +72 -0
- package/dist/cli/marshal/components/marshal-prompt.d.ts.map +1 -0
- package/dist/cli/marshal/components/marshal-prompt.js +256 -0
- package/dist/cli/marshal/components/marshal-prompt.js.map +1 -0
- package/dist/cli/marshal/components/marshal-widgets.d.ts +73 -0
- package/dist/cli/marshal/components/marshal-widgets.d.ts.map +1 -0
- package/dist/cli/marshal/components/marshal-widgets.js +283 -0
- package/dist/cli/marshal/components/marshal-widgets.js.map +1 -0
- package/dist/cli/marshal/index.d.ts +2 -0
- package/dist/cli/marshal/index.d.ts.map +1 -0
- package/dist/cli/marshal/index.js +2 -0
- package/dist/cli/marshal/index.js.map +1 -0
- package/dist/client/helper.d.ts +12 -0
- package/dist/client/helper.d.ts.map +1 -0
- package/dist/client/helper.js +13 -0
- package/dist/client/helper.js.map +1 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +3 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/workboard-client.d.ts +283 -0
- package/dist/client/workboard-client.d.ts.map +1 -0
- package/dist/client/workboard-client.js +550 -0
- package/dist/client/workboard-client.js.map +1 -0
- package/dist/config/workboard.config.descriptor.d.ts +38 -0
- package/dist/config/workboard.config.descriptor.d.ts.map +1 -0
- package/dist/config/workboard.config.descriptor.js +30 -0
- package/dist/config/workboard.config.descriptor.js.map +1 -0
- package/dist/docs/workboard.docs.descriptor.d.ts +4 -0
- package/dist/docs/workboard.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/workboard.docs.descriptor.js +85 -0
- package/dist/docs/workboard.docs.descriptor.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/marshal/agent/descriptor.d.ts +66 -0
- package/dist/marshal/agent/descriptor.d.ts.map +1 -0
- package/dist/marshal/agent/descriptor.js +144 -0
- package/dist/marshal/agent/descriptor.js.map +1 -0
- package/dist/marshal/agent/index.d.ts +10 -0
- package/dist/marshal/agent/index.d.ts.map +1 -0
- package/dist/marshal/agent/index.js +10 -0
- package/dist/marshal/agent/index.js.map +1 -0
- package/dist/marshal/agent/marshal-agent.d.ts +42 -0
- package/dist/marshal/agent/marshal-agent.d.ts.map +1 -0
- package/dist/marshal/agent/marshal-agent.js +121 -0
- package/dist/marshal/agent/marshal-agent.js.map +1 -0
- package/dist/marshal/agent/marshal.agent.descriptor.d.ts +9 -0
- package/dist/marshal/agent/marshal.agent.descriptor.d.ts.map +1 -0
- package/dist/marshal/agent/marshal.agent.descriptor.js +9 -0
- package/dist/marshal/agent/marshal.agent.descriptor.js.map +1 -0
- package/dist/marshal/agent/profile.d.ts +16 -0
- package/dist/marshal/agent/profile.d.ts.map +1 -0
- package/dist/marshal/agent/profile.js +55 -0
- package/dist/marshal/agent/profile.js.map +1 -0
- package/dist/marshal/agent/prompts/cloud-system.prompt.descriptor.d.ts +113 -0
- package/dist/marshal/agent/prompts/cloud-system.prompt.descriptor.d.ts.map +1 -0
- package/dist/marshal/agent/prompts/cloud-system.prompt.descriptor.js +85 -0
- package/dist/marshal/agent/prompts/cloud-system.prompt.descriptor.js.map +1 -0
- package/dist/marshal/agent/prompts/index.d.ts +113 -0
- package/dist/marshal/agent/prompts/index.d.ts.map +1 -0
- package/dist/marshal/agent/prompts/index.js +16 -0
- package/dist/marshal/agent/prompts/index.js.map +1 -0
- package/dist/marshal/agent/prompts/personality.prompt.descriptor.d.ts +113 -0
- package/dist/marshal/agent/prompts/personality.prompt.descriptor.d.ts.map +1 -0
- package/dist/marshal/agent/prompts/personality.prompt.descriptor.js +34 -0
- package/dist/marshal/agent/prompts/personality.prompt.descriptor.js.map +1 -0
- package/dist/marshal/agent/prompts/setup-issue.prompt.descriptor.d.ts +113 -0
- package/dist/marshal/agent/prompts/setup-issue.prompt.descriptor.d.ts.map +1 -0
- package/dist/marshal/agent/prompts/setup-issue.prompt.descriptor.js +68 -0
- package/dist/marshal/agent/prompts/setup-issue.prompt.descriptor.js.map +1 -0
- package/dist/marshal/agent/prompts/setup-wizard.prompt.descriptor.d.ts +113 -0
- package/dist/marshal/agent/prompts/setup-wizard.prompt.descriptor.d.ts.map +1 -0
- package/dist/marshal/agent/prompts/setup-wizard.prompt.descriptor.js +38 -0
- package/dist/marshal/agent/prompts/setup-wizard.prompt.descriptor.js.map +1 -0
- package/dist/marshal/agent/prompts/surface.prompt.descriptor.d.ts +113 -0
- package/dist/marshal/agent/prompts/surface.prompt.descriptor.d.ts.map +1 -0
- package/dist/marshal/agent/prompts/surface.prompt.descriptor.js +39 -0
- package/dist/marshal/agent/prompts/surface.prompt.descriptor.js.map +1 -0
- package/dist/marshal/agent/prompts/system.prompt.descriptor.d.ts +113 -0
- package/dist/marshal/agent/prompts/system.prompt.descriptor.d.ts.map +1 -0
- package/dist/marshal/agent/prompts/system.prompt.descriptor.js +63 -0
- package/dist/marshal/agent/prompts/system.prompt.descriptor.js.map +1 -0
- package/dist/marshal/agent/system-prompt.d.ts +34 -0
- package/dist/marshal/agent/system-prompt.d.ts.map +1 -0
- package/dist/marshal/agent/system-prompt.js +130 -0
- package/dist/marshal/agent/system-prompt.js.map +1 -0
- package/dist/marshal/capabilities.d.ts +55 -0
- package/dist/marshal/capabilities.d.ts.map +1 -0
- package/dist/marshal/capabilities.js +146 -0
- package/dist/marshal/capabilities.js.map +1 -0
- package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.descriptor.d.ts +4 -0
- package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.descriptor.d.ts.map +1 -0
- package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.descriptor.js +18 -0
- package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.descriptor.js.map +1 -0
- package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.impl.consumer.d.ts +16 -0
- package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.impl.consumer.d.ts.map +1 -0
- package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.impl.consumer.js +39 -0
- package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.impl.consumer.js.map +1 -0
- package/dist/marshal/cli/plugin.d.ts +3 -0
- package/dist/marshal/cli/plugin.d.ts.map +1 -0
- package/dist/marshal/cli/plugin.js +9 -0
- package/dist/marshal/cli/plugin.js.map +1 -0
- package/dist/marshal/client/helper.d.ts +24 -0
- package/dist/marshal/client/helper.d.ts.map +1 -0
- package/dist/marshal/client/helper.js +36 -0
- package/dist/marshal/client/helper.js.map +1 -0
- package/dist/marshal/client/index.d.ts +7 -0
- package/dist/marshal/client/index.d.ts.map +1 -0
- package/dist/marshal/client/index.js +6 -0
- package/dist/marshal/client/index.js.map +1 -0
- package/dist/marshal/client/marshal-api-client.impl.d.ts +22 -0
- package/dist/marshal/client/marshal-api-client.impl.d.ts.map +1 -0
- package/dist/marshal/client/marshal-api-client.impl.js +47 -0
- package/dist/marshal/client/marshal-api-client.impl.js.map +1 -0
- package/dist/marshal/client/marshal-client.runtime.d.ts +124 -0
- package/dist/marshal/client/marshal-client.runtime.d.ts.map +1 -0
- package/dist/marshal/client/marshal-client.runtime.js +216 -0
- package/dist/marshal/client/marshal-client.runtime.js.map +1 -0
- package/dist/marshal/cloud.plugin.d.ts +2 -0
- package/dist/marshal/cloud.plugin.d.ts.map +1 -0
- package/dist/marshal/cloud.plugin.js +2 -0
- package/dist/marshal/cloud.plugin.js.map +1 -0
- package/dist/marshal/components/index.d.ts +8 -0
- package/dist/marshal/components/index.d.ts.map +1 -0
- package/dist/marshal/components/index.js +15 -0
- package/dist/marshal/components/index.js.map +1 -0
- package/dist/marshal/config/manifest.d.ts +8608 -0
- package/dist/marshal/config/manifest.d.ts.map +1 -0
- package/dist/marshal/config/manifest.js +115 -0
- package/dist/marshal/config/manifest.js.map +1 -0
- package/dist/marshal/consumer.d.ts +7 -0
- package/dist/marshal/consumer.d.ts.map +1 -0
- package/dist/marshal/consumer.js +9 -0
- package/dist/marshal/consumer.js.map +1 -0
- package/dist/marshal/consumer.plugin.d.ts +2 -0
- package/dist/marshal/consumer.plugin.d.ts.map +1 -0
- package/dist/marshal/consumer.plugin.js +2 -0
- package/dist/marshal/consumer.plugin.js.map +1 -0
- package/dist/marshal/context/agents-context-kind.d.ts +9 -0
- package/dist/marshal/context/agents-context-kind.d.ts.map +1 -0
- package/dist/marshal/context/agents-context-kind.js +17 -0
- package/dist/marshal/context/agents-context-kind.js.map +1 -0
- package/dist/marshal/context/marshal.context-provider.descriptor.d.ts +26 -0
- package/dist/marshal/context/marshal.context-provider.descriptor.d.ts.map +1 -0
- package/dist/marshal/context/marshal.context-provider.descriptor.js +10 -0
- package/dist/marshal/context/marshal.context-provider.descriptor.js.map +1 -0
- package/dist/marshal/context/marshal.context-provider.impl.d.ts +4 -0
- package/dist/marshal/context/marshal.context-provider.impl.d.ts.map +1 -0
- package/dist/marshal/context/marshal.context-provider.impl.js +42 -0
- package/dist/marshal/context/marshal.context-provider.impl.js.map +1 -0
- package/dist/marshal/index.d.ts +29 -0
- package/dist/marshal/index.d.ts.map +1 -0
- package/dist/marshal/index.js +34 -0
- package/dist/marshal/index.js.map +1 -0
- package/dist/marshal/marshal.api-client.descriptor.d.ts +9 -0
- package/dist/marshal/marshal.api-client.descriptor.d.ts.map +1 -0
- package/dist/marshal/marshal.api-client.descriptor.js +19 -0
- package/dist/marshal/marshal.api-client.descriptor.js.map +1 -0
- package/dist/marshal/marshal.consumer.plugin.d.ts +4 -0
- package/dist/marshal/marshal.consumer.plugin.d.ts.map +1 -0
- package/dist/marshal/marshal.consumer.plugin.js +18 -0
- package/dist/marshal/marshal.consumer.plugin.js.map +1 -0
- package/dist/marshal/marshal.plugin.d.ts +10 -0
- package/dist/marshal/marshal.plugin.d.ts.map +1 -0
- package/dist/marshal/marshal.plugin.js +55 -0
- package/dist/marshal/marshal.plugin.js.map +1 -0
- package/dist/marshal/marshal.runtime-client.descriptor.d.ts +9 -0
- package/dist/marshal/marshal.runtime-client.descriptor.d.ts.map +1 -0
- package/dist/marshal/marshal.runtime-client.descriptor.js +19 -0
- package/dist/marshal/marshal.runtime-client.descriptor.js.map +1 -0
- package/dist/marshal/plugin.d.ts +2 -0
- package/dist/marshal/plugin.d.ts.map +1 -0
- package/dist/marshal/plugin.js +2 -0
- package/dist/marshal/plugin.js.map +1 -0
- package/dist/marshal/presence/heartbeat.d.ts +64 -0
- package/dist/marshal/presence/heartbeat.d.ts.map +1 -0
- package/dist/marshal/presence/heartbeat.js +169 -0
- package/dist/marshal/presence/heartbeat.js.map +1 -0
- package/dist/marshal/presence/index.d.ts +2 -0
- package/dist/marshal/presence/index.d.ts.map +1 -0
- package/dist/marshal/presence/index.js +2 -0
- package/dist/marshal/presence/index.js.map +1 -0
- package/dist/marshal/schemas/agent.d.ts +27 -0
- package/dist/marshal/schemas/agent.d.ts.map +1 -0
- package/dist/marshal/schemas/agent.js +2 -0
- package/dist/marshal/schemas/agent.js.map +1 -0
- package/dist/marshal/schemas/baseline.d.ts +73 -0
- package/dist/marshal/schemas/baseline.d.ts.map +1 -0
- package/dist/marshal/schemas/baseline.js +28 -0
- package/dist/marshal/schemas/baseline.js.map +1 -0
- package/dist/marshal/schemas/client.d.ts +50 -0
- package/dist/marshal/schemas/client.d.ts.map +1 -0
- package/dist/marshal/schemas/client.js +27 -0
- package/dist/marshal/schemas/client.js.map +1 -0
- package/dist/marshal/schemas/common.d.ts +252 -0
- package/dist/marshal/schemas/common.d.ts.map +1 -0
- package/dist/marshal/schemas/common.js +119 -0
- package/dist/marshal/schemas/common.js.map +1 -0
- package/dist/marshal/schemas/components.d.ts +95 -0
- package/dist/marshal/schemas/components.d.ts.map +1 -0
- package/dist/marshal/schemas/components.js +10 -0
- package/dist/marshal/schemas/components.js.map +1 -0
- package/dist/marshal/schemas/config.d.ts +20 -0
- package/dist/marshal/schemas/config.d.ts.map +1 -0
- package/dist/marshal/schemas/config.js +11 -0
- package/dist/marshal/schemas/config.js.map +1 -0
- package/dist/marshal/schemas/index.d.ts +18 -0
- package/dist/marshal/schemas/index.d.ts.map +1 -0
- package/dist/marshal/schemas/index.js +11 -0
- package/dist/marshal/schemas/index.js.map +1 -0
- package/dist/marshal/schemas/interactive.d.ts +315 -0
- package/dist/marshal/schemas/interactive.d.ts.map +1 -0
- package/dist/marshal/schemas/interactive.js +201 -0
- package/dist/marshal/schemas/interactive.js.map +1 -0
- package/dist/marshal/schemas/presence.d.ts +29 -0
- package/dist/marshal/schemas/presence.d.ts.map +1 -0
- package/dist/marshal/schemas/presence.js +14 -0
- package/dist/marshal/schemas/presence.js.map +1 -0
- package/dist/marshal/schemas/progress.d.ts +100 -0
- package/dist/marshal/schemas/progress.d.ts.map +1 -0
- package/dist/marshal/schemas/progress.js +55 -0
- package/dist/marshal/schemas/progress.js.map +1 -0
- package/dist/marshal/schemas/server.d.ts +70 -0
- package/dist/marshal/schemas/server.d.ts.map +1 -0
- package/dist/marshal/schemas/server.js +39 -0
- package/dist/marshal/schemas/server.js.map +1 -0
- package/dist/marshal/schemas/setup.d.ts +78 -0
- package/dist/marshal/schemas/setup.d.ts.map +1 -0
- package/dist/marshal/schemas/setup.js +2 -0
- package/dist/marshal/schemas/setup.js.map +1 -0
- package/dist/marshal/schemas/tools.d.ts +124 -0
- package/dist/marshal/schemas/tools.d.ts.map +1 -0
- package/dist/marshal/schemas/tools.js +75 -0
- package/dist/marshal/schemas/tools.js.map +1 -0
- package/dist/marshal/schemas/types.d.ts +33 -0
- package/dist/marshal/schemas/types.d.ts.map +1 -0
- package/dist/marshal/schemas/types.js +2 -0
- package/dist/marshal/schemas/types.js.map +1 -0
- package/dist/marshal/schemas/worker.d.ts +8 -0
- package/dist/marshal/schemas/worker.d.ts.map +1 -0
- package/dist/marshal/schemas/worker.js +7 -0
- package/dist/marshal/schemas/worker.js.map +1 -0
- package/dist/marshal/setup/guided.d.ts +26 -0
- package/dist/marshal/setup/guided.d.ts.map +1 -0
- package/dist/marshal/setup/guided.js +83 -0
- package/dist/marshal/setup/guided.js.map +1 -0
- package/dist/marshal/setup/index.d.ts +12 -0
- package/dist/marshal/setup/index.d.ts.map +1 -0
- package/dist/marshal/setup/index.js +11 -0
- package/dist/marshal/setup/index.js.map +1 -0
- package/dist/marshal/setup/provider-runtime.d.ts +23 -0
- package/dist/marshal/setup/provider-runtime.d.ts.map +1 -0
- package/dist/marshal/setup/provider-runtime.detected-models.d.ts +239 -0
- package/dist/marshal/setup/provider-runtime.detected-models.d.ts.map +1 -0
- package/dist/marshal/setup/provider-runtime.detected-models.js +30 -0
- package/dist/marshal/setup/provider-runtime.detected-models.js.map +1 -0
- package/dist/marshal/setup/provider-runtime.js +115 -0
- package/dist/marshal/setup/provider-runtime.js.map +1 -0
- package/dist/marshal/setup/provider-runtime.models.d.ts +38 -0
- package/dist/marshal/setup/provider-runtime.models.d.ts.map +1 -0
- package/dist/marshal/setup/provider-runtime.models.js +38 -0
- package/dist/marshal/setup/provider-runtime.models.js.map +1 -0
- package/dist/marshal/setup/save-baseline.d.ts +12 -0
- package/dist/marshal/setup/save-baseline.d.ts.map +1 -0
- package/dist/marshal/setup/save-baseline.js +89 -0
- package/dist/marshal/setup/save-baseline.js.map +1 -0
- package/dist/marshal/setup/save-baseline.normalizers.d.ts +20 -0
- package/dist/marshal/setup/save-baseline.normalizers.d.ts.map +1 -0
- package/dist/marshal/setup/save-baseline.normalizers.js +72 -0
- package/dist/marshal/setup/save-baseline.normalizers.js.map +1 -0
- package/dist/marshal/setup/types.d.ts +17 -0
- package/dist/marshal/setup/types.d.ts.map +1 -0
- package/dist/marshal/setup/types.js +26 -0
- package/dist/marshal/setup/types.js.map +1 -0
- package/dist/marshal/tools/index.d.ts +9 -0
- package/dist/marshal/tools/index.d.ts.map +1 -0
- package/dist/marshal/tools/index.js +9 -0
- package/dist/marshal/tools/index.js.map +1 -0
- package/dist/marshal/tools/unified/descriptor.d.ts +130 -0
- package/dist/marshal/tools/unified/descriptor.d.ts.map +1 -0
- package/dist/marshal/tools/unified/descriptor.js +53 -0
- package/dist/marshal/tools/unified/descriptor.js.map +1 -0
- package/dist/marshal/tools/unified/index.d.ts +10 -0
- package/dist/marshal/tools/unified/index.d.ts.map +1 -0
- package/dist/marshal/tools/unified/index.js +9 -0
- package/dist/marshal/tools/unified/index.js.map +1 -0
- package/dist/marshal/tools/unified/marshal.execution.d.ts +12 -0
- package/dist/marshal/tools/unified/marshal.execution.d.ts.map +1 -0
- package/dist/marshal/tools/unified/marshal.execution.js +104 -0
- package/dist/marshal/tools/unified/marshal.execution.js.map +1 -0
- package/dist/marshal/tools/unified/marshal.impl.cloud.d.ts +13 -0
- package/dist/marshal/tools/unified/marshal.impl.cloud.d.ts.map +1 -0
- package/dist/marshal/tools/unified/marshal.impl.cloud.js +15 -0
- package/dist/marshal/tools/unified/marshal.impl.cloud.js.map +1 -0
- package/dist/marshal/tools/unified/marshal.impl.consumer.d.ts +13 -0
- package/dist/marshal/tools/unified/marshal.impl.consumer.d.ts.map +1 -0
- package/dist/marshal/tools/unified/marshal.impl.consumer.js +15 -0
- package/dist/marshal/tools/unified/marshal.impl.consumer.js.map +1 -0
- package/dist/marshal/tools/unified/marshal.unified.descriptor.d.ts +140 -0
- package/dist/marshal/tools/unified/marshal.unified.descriptor.d.ts.map +1 -0
- package/dist/marshal/tools/unified/marshal.unified.descriptor.js +57 -0
- package/dist/marshal/tools/unified/marshal.unified.descriptor.js.map +1 -0
- package/dist/marshal/tools/unified/schemas.d.ts +8 -0
- package/dist/marshal/tools/unified/schemas.d.ts.map +1 -0
- package/dist/marshal/tools/unified/schemas.js +7 -0
- package/dist/marshal/tools/unified/schemas.js.map +1 -0
- package/dist/marshal/types.d.ts +2 -0
- package/dist/marshal/types.d.ts.map +1 -0
- package/dist/marshal/types.js +2 -0
- package/dist/marshal/types.js.map +1 -0
- package/dist/marshal/worker/index.d.ts +6 -0
- package/dist/marshal/worker/index.d.ts.map +1 -0
- package/dist/marshal/worker/index.js +5 -0
- package/dist/marshal/worker/index.js.map +1 -0
- package/dist/marshal/worker/jobs/assistance-job.d.ts +34 -0
- package/dist/marshal/worker/jobs/assistance-job.d.ts.map +1 -0
- package/dist/marshal/worker/jobs/assistance-job.js +43 -0
- package/dist/marshal/worker/jobs/assistance-job.js.map +1 -0
- package/dist/marshal/worker/jobs/configure-job.d.ts +48 -0
- package/dist/marshal/worker/jobs/configure-job.d.ts.map +1 -0
- package/dist/marshal/worker/jobs/configure-job.js +52 -0
- package/dist/marshal/worker/jobs/configure-job.js.map +1 -0
- package/dist/marshal/worker/jobs/index.d.ts +7 -0
- package/dist/marshal/worker/jobs/index.d.ts.map +1 -0
- package/dist/marshal/worker/jobs/index.js +7 -0
- package/dist/marshal/worker/jobs/index.js.map +1 -0
- package/dist/marshal/worker/jobs/onboarding-progress-job.d.ts +47 -0
- package/dist/marshal/worker/jobs/onboarding-progress-job.d.ts.map +1 -0
- package/dist/marshal/worker/jobs/onboarding-progress-job.js +51 -0
- package/dist/marshal/worker/jobs/onboarding-progress-job.js.map +1 -0
- package/dist/marshal/worker/marshal.assistance.job.impl.d.ts +3 -0
- package/dist/marshal/worker/marshal.assistance.job.impl.d.ts.map +1 -0
- package/dist/marshal/worker/marshal.assistance.job.impl.js +3 -0
- package/dist/marshal/worker/marshal.assistance.job.impl.js.map +1 -0
- package/dist/marshal/worker/marshal.concierge.descriptor.d.ts +3 -0
- package/dist/marshal/worker/marshal.concierge.descriptor.d.ts.map +1 -0
- package/dist/marshal/worker/marshal.concierge.descriptor.js +14 -0
- package/dist/marshal/worker/marshal.concierge.descriptor.js.map +1 -0
- package/dist/marshal/worker/marshal.concierge.impl.consumer.d.ts +12 -0
- package/dist/marshal/worker/marshal.concierge.impl.consumer.d.ts.map +1 -0
- package/dist/marshal/worker/marshal.concierge.impl.consumer.js +23 -0
- package/dist/marshal/worker/marshal.concierge.impl.consumer.js.map +1 -0
- package/dist/marshal/worker/marshal.configure.job.impl.d.ts +3 -0
- package/dist/marshal/worker/marshal.configure.job.impl.d.ts.map +1 -0
- package/dist/marshal/worker/marshal.configure.job.impl.js +3 -0
- package/dist/marshal/worker/marshal.configure.job.impl.js.map +1 -0
- package/dist/marshal/worker/marshal.jobs.descriptor.d.ts +6 -0
- package/dist/marshal/worker/marshal.jobs.descriptor.d.ts.map +1 -0
- package/dist/marshal/worker/marshal.jobs.descriptor.js +50 -0
- package/dist/marshal/worker/marshal.jobs.descriptor.js.map +1 -0
- package/dist/marshal/worker/marshal.onboarding-progress.job.impl.d.ts +3 -0
- package/dist/marshal/worker/marshal.onboarding-progress.job.impl.d.ts.map +1 -0
- package/dist/marshal/worker/marshal.onboarding-progress.job.impl.js +3 -0
- package/dist/marshal/worker/marshal.onboarding-progress.job.impl.js.map +1 -0
- package/dist/plugin/agent-tools.d.ts +15 -0
- package/dist/plugin/agent-tools.d.ts.map +1 -0
- package/dist/plugin/agent-tools.js +27 -0
- package/dist/plugin/agent-tools.js.map +1 -0
- package/dist/records/index.d.ts +7 -0
- package/dist/records/index.d.ts.map +1 -0
- package/dist/records/index.js +7 -0
- package/dist/records/index.js.map +1 -0
- package/dist/records/lane.record.descriptor.d.ts +11 -0
- package/dist/records/lane.record.descriptor.d.ts.map +1 -0
- package/dist/records/lane.record.descriptor.js +47 -0
- package/dist/records/lane.record.descriptor.js.map +1 -0
- package/dist/records/note.record.descriptor.d.ts +10 -0
- package/dist/records/note.record.descriptor.d.ts.map +1 -0
- package/dist/records/note.record.descriptor.js +46 -0
- package/dist/records/note.record.descriptor.js.map +1 -0
- package/dist/records/notification.record.descriptor.d.ts +11 -0
- package/dist/records/notification.record.descriptor.d.ts.map +1 -0
- package/dist/records/notification.record.descriptor.js +50 -0
- package/dist/records/notification.record.descriptor.js.map +1 -0
- package/dist/records/request.record.descriptor.d.ts +10 -0
- package/dist/records/request.record.descriptor.d.ts.map +1 -0
- package/dist/records/request.record.descriptor.js +50 -0
- package/dist/records/request.record.descriptor.js.map +1 -0
- package/dist/records/task.record.descriptor.d.ts +10 -0
- package/dist/records/task.record.descriptor.d.ts.map +1 -0
- package/dist/records/task.record.descriptor.js +65 -0
- package/dist/records/task.record.descriptor.js.map +1 -0
- package/dist/records/watch.record.descriptor.d.ts +10 -0
- package/dist/records/watch.record.descriptor.d.ts.map +1 -0
- package/dist/records/watch.record.descriptor.js +48 -0
- package/dist/records/watch.record.descriptor.js.map +1 -0
- package/dist/schemas/agent-action.d.ts +31 -0
- package/dist/schemas/agent-action.d.ts.map +1 -0
- package/dist/schemas/agent-action.js +24 -0
- package/dist/schemas/agent-action.js.map +1 -0
- package/dist/schemas/card-projection.d.ts +193 -0
- package/dist/schemas/card-projection.d.ts.map +1 -0
- package/dist/schemas/card-projection.js +30 -0
- package/dist/schemas/card-projection.js.map +1 -0
- package/dist/schemas/contracts.d.ts +1117 -0
- package/dist/schemas/contracts.d.ts.map +1 -0
- package/dist/schemas/contracts.js +38 -0
- package/dist/schemas/contracts.js.map +1 -0
- package/dist/schemas/headless-attention.d.ts +189 -0
- package/dist/schemas/headless-attention.d.ts.map +1 -0
- package/dist/schemas/headless-attention.js +136 -0
- package/dist/schemas/headless-attention.js.map +1 -0
- package/dist/schemas/index.d.ts +15 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +15 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/lane.d.ts +17 -0
- package/dist/schemas/lane.d.ts.map +1 -0
- package/dist/schemas/lane.js +14 -0
- package/dist/schemas/lane.js.map +1 -0
- package/dist/schemas/note.d.ts +14 -0
- package/dist/schemas/note.d.ts.map +1 -0
- package/dist/schemas/note.js +11 -0
- package/dist/schemas/note.js.map +1 -0
- package/dist/schemas/notification.d.ts +33 -0
- package/dist/schemas/notification.d.ts.map +1 -0
- package/dist/schemas/notification.js +19 -0
- package/dist/schemas/notification.js.map +1 -0
- package/dist/schemas/owner.d.ts +27 -0
- package/dist/schemas/owner.d.ts.map +1 -0
- package/dist/schemas/owner.js +18 -0
- package/dist/schemas/owner.js.map +1 -0
- package/dist/schemas/request.d.ts +69 -0
- package/dist/schemas/request.d.ts.map +1 -0
- package/dist/schemas/request.js +53 -0
- package/dist/schemas/request.js.map +1 -0
- package/dist/schemas/state.d.ts +170 -0
- package/dist/schemas/state.d.ts.map +1 -0
- package/dist/schemas/state.js +19 -0
- package/dist/schemas/state.js.map +1 -0
- package/dist/schemas/support-escalate.d.ts +54 -0
- package/dist/schemas/support-escalate.d.ts.map +1 -0
- package/dist/schemas/support-escalate.js +39 -0
- package/dist/schemas/support-escalate.js.map +1 -0
- package/dist/schemas/surface.d.ts +19 -0
- package/dist/schemas/surface.d.ts.map +1 -0
- package/dist/schemas/surface.js +8 -0
- package/dist/schemas/surface.js.map +1 -0
- package/dist/schemas/task.d.ts +70 -0
- package/dist/schemas/task.d.ts.map +1 -0
- package/dist/schemas/task.js +48 -0
- package/dist/schemas/task.js.map +1 -0
- package/dist/schemas/watch.d.ts +44 -0
- package/dist/schemas/watch.d.ts.map +1 -0
- package/dist/schemas/watch.js +19 -0
- package/dist/schemas/watch.js.map +1 -0
- package/dist/schemas/workboard-status-category.d.ts +35 -0
- package/dist/schemas/workboard-status-category.d.ts.map +1 -0
- package/dist/schemas/workboard-status-category.js +45 -0
- package/dist/schemas/workboard-status-category.js.map +1 -0
- package/dist/storage/owner-transforms.d.ts +228 -0
- package/dist/storage/owner-transforms.d.ts.map +1 -0
- package/dist/storage/owner-transforms.js +132 -0
- package/dist/storage/owner-transforms.js.map +1 -0
- package/dist/svelte/components/LaneBoard.svelte +250 -0
- package/dist/svelte/components/LaneBoard.svelte.d.ts +20 -0
- package/dist/svelte/components/LaneBoard.svelte.d.ts.map +1 -0
- package/dist/svelte/components/LaneBoardComposer.svelte +78 -0
- package/dist/svelte/components/LaneBoardComposer.svelte.d.ts +24 -0
- package/dist/svelte/components/LaneBoardComposer.svelte.d.ts.map +1 -0
- package/dist/svelte/components/LaneBoardFilters.svelte +34 -0
- package/dist/svelte/components/LaneBoardFilters.svelte.d.ts +12 -0
- package/dist/svelte/components/LaneBoardFilters.svelte.d.ts.map +1 -0
- package/dist/svelte/components/LaneBoardLane.svelte +46 -0
- package/dist/svelte/components/LaneBoardLane.svelte.d.ts +18 -0
- package/dist/svelte/components/LaneBoardLane.svelte.d.ts.map +1 -0
- package/dist/svelte/components/LaneBoardSummary.svelte +38 -0
- package/dist/svelte/components/LaneBoardSummary.svelte.d.ts +12 -0
- package/dist/svelte/components/LaneBoardSummary.svelte.d.ts.map +1 -0
- package/dist/svelte/components/LaneBoardTaskRow.svelte +158 -0
- package/dist/svelte/components/LaneBoardTaskRow.svelte.d.ts +31 -0
- package/dist/svelte/components/LaneBoardTaskRow.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PriorityBadge.svelte +21 -0
- package/dist/svelte/components/PriorityBadge.svelte.d.ts +7 -0
- package/dist/svelte/components/PriorityBadge.svelte.d.ts.map +1 -0
- package/dist/svelte/components/RequestsQueue.svelte +613 -0
- package/dist/svelte/components/RequestsQueue.svelte.d.ts +21 -0
- package/dist/svelte/components/RequestsQueue.svelte.d.ts.map +1 -0
- package/dist/svelte/components/StatCard.svelte +27 -0
- package/dist/svelte/components/StatCard.svelte.d.ts +12 -0
- package/dist/svelte/components/StatCard.svelte.d.ts.map +1 -0
- package/dist/svelte/components/StatusBadge.svelte +25 -0
- package/dist/svelte/components/StatusBadge.svelte.d.ts +7 -0
- package/dist/svelte/components/StatusBadge.svelte.d.ts.map +1 -0
- package/dist/svelte/components/WorkboardBoard.svelte +467 -0
- package/dist/svelte/components/WorkboardBoard.svelte.d.ts +26 -0
- package/dist/svelte/components/WorkboardBoard.svelte.d.ts.map +1 -0
- package/dist/svelte/index.d.ts +22 -0
- package/dist/svelte/index.d.ts.map +1 -0
- package/dist/svelte/index.js +24 -0
- package/dist/svelte/lane-board-client.d.ts +3 -0
- package/dist/svelte/lane-board-client.d.ts.map +1 -0
- package/dist/svelte/lane-board-client.js +2 -0
- package/dist/svelte/lane-board.d.ts +120 -0
- package/dist/svelte/lane-board.d.ts.map +1 -0
- package/dist/svelte/lane-board.js +221 -0
- package/dist/svelte/rest-workboard-client.d.ts +235 -0
- package/dist/svelte/rest-workboard-client.d.ts.map +1 -0
- package/dist/svelte/rest-workboard-client.js +52 -0
- package/dist/svelte/styles.css +10 -0
- package/dist/svelte/tool-widgets/MarshalToolCard.svelte +67 -0
- package/dist/svelte/tool-widgets/MarshalToolCard.svelte.d.ts +5 -0
- package/dist/svelte/tool-widgets/MarshalToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/SupportEscalateToolCard.svelte +42 -0
- package/dist/svelte/tool-widgets/SupportEscalateToolCard.svelte.d.ts +5 -0
- package/dist/svelte/tool-widgets/SupportEscalateToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.d.ts +7 -0
- package/dist/svelte/tool-widgets/index.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.js +6 -0
- package/dist/svelte/types.d.ts +24 -0
- package/dist/svelte/types.d.ts.map +1 -0
- package/dist/svelte/types.js +1 -0
- package/dist/svelte/workboard-svelte.plugin.d.ts +10 -0
- package/dist/svelte/workboard-svelte.plugin.d.ts.map +1 -0
- package/dist/svelte/workboard-svelte.plugin.js +31 -0
- package/dist/svelte/workboard-utils.d.ts +33 -0
- package/dist/svelte/workboard-utils.d.ts.map +1 -0
- package/dist/svelte/workboard-utils.js +85 -0
- package/dist/tools/card-projections.d.ts +7 -0
- package/dist/tools/card-projections.d.ts.map +1 -0
- package/dist/tools/card-projections.js +64 -0
- package/dist/tools/card-projections.js.map +1 -0
- package/dist/tools/support-escalate/schemas.d.ts +2 -0
- package/dist/tools/support-escalate/schemas.d.ts.map +1 -0
- package/dist/tools/support-escalate/schemas.js +2 -0
- package/dist/tools/support-escalate/schemas.js.map +1 -0
- package/dist/tools/support-escalate/support-escalate.descriptor.d.ts +49 -0
- package/dist/tools/support-escalate/support-escalate.descriptor.d.ts.map +1 -0
- package/dist/tools/support-escalate/support-escalate.descriptor.js +42 -0
- package/dist/tools/support-escalate/support-escalate.descriptor.js.map +1 -0
- package/dist/tools/support-escalate/support-escalate.impl.cloud.d.ts +17 -0
- package/dist/tools/support-escalate/support-escalate.impl.cloud.d.ts.map +1 -0
- package/dist/tools/support-escalate/support-escalate.impl.cloud.js +63 -0
- package/dist/tools/support-escalate/support-escalate.impl.cloud.js.map +1 -0
- package/dist/tui/index.d.ts +2 -0
- package/dist/tui/index.d.ts.map +1 -0
- package/dist/tui/index.js +2 -0
- package/dist/tui/index.js.map +1 -0
- package/dist/tui/tool-widgets/MarshalToolWidget.impl.consumer.d.ts +4 -0
- package/dist/tui/tool-widgets/MarshalToolWidget.impl.consumer.d.ts.map +1 -0
- package/dist/tui/tool-widgets/MarshalToolWidget.impl.consumer.js +17 -0
- package/dist/tui/tool-widgets/MarshalToolWidget.impl.consumer.js.map +1 -0
- package/dist/tui/tool-widgets/SupportEscalateToolWidget.impl.consumer.d.ts +4 -0
- package/dist/tui/tool-widgets/SupportEscalateToolWidget.impl.consumer.d.ts.map +1 -0
- package/dist/tui/tool-widgets/SupportEscalateToolWidget.impl.consumer.js +11 -0
- package/dist/tui/tool-widgets/SupportEscalateToolWidget.impl.consumer.js.map +1 -0
- package/dist/tui/workboard-tui.plugin.d.ts +7 -0
- package/dist/tui/workboard-tui.plugin.d.ts.map +1 -0
- package/dist/tui/workboard-tui.plugin.js +32 -0
- package/dist/tui/workboard-tui.plugin.js.map +1 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/utils/exec.d.ts +35 -0
- package/dist/utils/exec.d.ts.map +1 -0
- package/dist/utils/exec.js +31 -0
- package/dist/utils/exec.js.map +1 -0
- package/dist/workboard.plugin.d.ts +8 -0
- package/dist/workboard.plugin.d.ts.map +1 -0
- package/dist/workboard.plugin.js +46 -0
- package/dist/workboard.plugin.js.map +1 -0
- package/dist/workboard.runtime-client.descriptor.d.ts +4 -0
- package/dist/workboard.runtime-client.descriptor.d.ts.map +1 -0
- package/dist/workboard.runtime-client.descriptor.js +13 -0
- package/dist/workboard.runtime-client.descriptor.js.map +1 -0
- package/package.json +409 -4
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { AGENTS_API_EXECUTOR_ID, AgentExecutionReceiptSchema } from '@vibesdotdev/agents/contracts/agent-execution';
|
|
2
|
+
import { CapabilityError, CaughtFailureSchema, valueFreeFailure } from '@vibesdotdev/kernel';
|
|
3
|
+
import * as z from 'zod/v4';
|
|
4
|
+
import { resolveToolCallerBearer } from '@vibesdotdev/tools/agents/trusted-context';
|
|
5
|
+
import { getLogger } from '@vibesdotdev/logging';
|
|
6
|
+
const executorUnavailableMessage = 'Marshal delegation is unavailable: no owner-backed agent executor is registered for this surface.';
|
|
7
|
+
/** Whether the caller carries a bearer: the active request's, or the run-bound one. */
|
|
8
|
+
async function hasTrustedCredential(runtime, ctx) {
|
|
9
|
+
return (await resolveToolCallerBearer(runtime, ctx)).bearer !== null;
|
|
10
|
+
}
|
|
11
|
+
async function resolveExecutor(runtime) {
|
|
12
|
+
try {
|
|
13
|
+
return (await runtime
|
|
14
|
+
.query('agent/executor')
|
|
15
|
+
.withId(AGENTS_API_EXECUTOR_ID)
|
|
16
|
+
.resolve());
|
|
17
|
+
}
|
|
18
|
+
catch (error) {
|
|
19
|
+
const failure = CaughtFailureSchema.parse(error);
|
|
20
|
+
if (CapabilityError.isAbsenceOf(failure, 'agent/executor', AGENTS_API_EXECUTOR_ID) ||
|
|
21
|
+
CapabilityError.isAbsenceOf(failure, 'runtime/kind', 'agent/executor'))
|
|
22
|
+
return null;
|
|
23
|
+
throw new CapabilityError('Marshal executor could not be loaded.', 'UNAVAILABLE', {
|
|
24
|
+
reason: 'marshal-executor-unresolved', cause: failure
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
/** Report whether the real executor and a trusted caller credential are present. */
|
|
29
|
+
export async function getMarshalExecutionStatus(runtime, ctx) {
|
|
30
|
+
const [executor, authenticated] = await Promise.all([
|
|
31
|
+
resolveExecutor(runtime),
|
|
32
|
+
hasTrustedCredential(runtime, ctx)
|
|
33
|
+
]);
|
|
34
|
+
const available = executor !== null && authenticated;
|
|
35
|
+
return {
|
|
36
|
+
success: available,
|
|
37
|
+
action: 'status',
|
|
38
|
+
message: available
|
|
39
|
+
? 'Marshal delegation is available for this authenticated session.'
|
|
40
|
+
: 'Marshal delegation is unavailable until an authenticated executor session is present.',
|
|
41
|
+
data: {
|
|
42
|
+
available,
|
|
43
|
+
authenticated,
|
|
44
|
+
executorId: AGENTS_API_EXECUTOR_ID
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function receiptMessage(receipt) {
|
|
49
|
+
const content = z.string().refine(value => value.trim().length > 0).safeParse(receipt.output?.content);
|
|
50
|
+
if (receipt.state === 'completed' && content.success) {
|
|
51
|
+
return content.data;
|
|
52
|
+
}
|
|
53
|
+
if (receipt.state === 'completed') {
|
|
54
|
+
return `Agent ${receipt.agentId} completed run ${receipt.runId}.`;
|
|
55
|
+
}
|
|
56
|
+
return `Agent ${receipt.agentId} ended run ${receipt.runId} with state "${receipt.state}"${receipt.error ? `: ${receipt.error}` : '.'}`;
|
|
57
|
+
}
|
|
58
|
+
/** Dispatch a real delegated/asked request and return its durable receipt. */
|
|
59
|
+
export async function executeMarshalRequest(input, runtime, ctx) {
|
|
60
|
+
const authenticated = await hasTrustedCredential(runtime, ctx);
|
|
61
|
+
const logger = getLogger('workboard.marshal.execution', runtime);
|
|
62
|
+
const executor = await resolveExecutor(runtime);
|
|
63
|
+
if (!executor) {
|
|
64
|
+
return {
|
|
65
|
+
success: false,
|
|
66
|
+
action: input.action,
|
|
67
|
+
message: executorUnavailableMessage,
|
|
68
|
+
data: { available: false, authenticated, executorId: AGENTS_API_EXECUTOR_ID }
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
if (!ctx || !authenticated) {
|
|
72
|
+
return {
|
|
73
|
+
success: false,
|
|
74
|
+
action: input.action,
|
|
75
|
+
message: 'Marshal delegation requires a trusted authenticated execution context.',
|
|
76
|
+
data: { available: false, authenticated: false, executorId: AGENTS_API_EXECUTOR_ID }
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
try {
|
|
80
|
+
const request = {
|
|
81
|
+
agentId: input.context.agentId, input: input.query
|
|
82
|
+
};
|
|
83
|
+
if (input.context.options)
|
|
84
|
+
request.options = input.context.options;
|
|
85
|
+
const receipt = AgentExecutionReceiptSchema.parse(await executor.execute(request, ctx));
|
|
86
|
+
return {
|
|
87
|
+
success: receipt.state === 'completed',
|
|
88
|
+
action: input.action,
|
|
89
|
+
message: receiptMessage(receipt),
|
|
90
|
+
data: { receipt }
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
catch (error) {
|
|
94
|
+
const failure = CaughtFailureSchema.parse(error);
|
|
95
|
+
logger.warn('Marshal delegation failed.', { error: valueFreeFailure(failure) });
|
|
96
|
+
return {
|
|
97
|
+
success: false,
|
|
98
|
+
action: input.action,
|
|
99
|
+
message: 'Marshal delegation failed: the owner-backed agent execution request failed.',
|
|
100
|
+
data: { available: true, authenticated, executorId: AGENTS_API_EXECUTOR_ID, failure: valueFreeFailure(failure) }
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=marshal.execution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marshal.execution.js","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.execution.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marshal Tool Implementation (Cloud)
|
|
3
|
+
*
|
|
4
|
+
* Cloud Marshal uses the named owner-backed executor. Keeping the cloud and
|
|
5
|
+
* consumer implementations on the same dispatch contract prevents the web
|
|
6
|
+
* agent from claiming a local-only or UI-only action succeeded.
|
|
7
|
+
*/
|
|
8
|
+
import type { VibesRuntime } from '@vibesdotdev/kernel';
|
|
9
|
+
import type { ToolCallContext } from '@vibesdotdev/kernel/schemas/tool-call';
|
|
10
|
+
import type { MarshalToolInput, MarshalToolOutput } from './schemas.ts';
|
|
11
|
+
declare function marshal(input: MarshalToolInput, runtime: VibesRuntime, ctx?: ToolCallContext): Promise<MarshalToolOutput>;
|
|
12
|
+
export default marshal;
|
|
13
|
+
//# sourceMappingURL=marshal.impl.cloud.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marshal.impl.cloud.d.ts","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.impl.cloud.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGxE,iBAAe,OAAO,CACrB,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,YAAY,EACrB,GAAG,CAAC,EAAE,eAAe,GACnB,OAAO,CAAC,iBAAiB,CAAC,CAG5B;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marshal Tool Implementation (Cloud)
|
|
3
|
+
*
|
|
4
|
+
* Cloud Marshal uses the named owner-backed executor. Keeping the cloud and
|
|
5
|
+
* consumer implementations on the same dispatch contract prevents the web
|
|
6
|
+
* agent from claiming a local-only or UI-only action succeeded.
|
|
7
|
+
*/
|
|
8
|
+
import { executeMarshalRequest, getMarshalExecutionStatus } from "./marshal.execution.js";
|
|
9
|
+
async function marshal(input, runtime, ctx) {
|
|
10
|
+
if (input.action === 'status')
|
|
11
|
+
return getMarshalExecutionStatus(runtime, ctx);
|
|
12
|
+
return executeMarshalRequest(input, runtime, ctx);
|
|
13
|
+
}
|
|
14
|
+
export default marshal;
|
|
15
|
+
//# sourceMappingURL=marshal.impl.cloud.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marshal.impl.cloud.js","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.impl.cloud.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAE1F,KAAK,UAAU,OAAO,CACrB,KAAuB,EACvB,OAAqB,EACrB,GAAqB;IAErB,IAAI,KAAK,CAAC,MAAM,KAAK,QAAQ;QAAE,OAAO,yBAAyB,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAC9E,OAAO,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;AACnD,CAAC;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marshal Tool Implementation (Consumer)
|
|
3
|
+
*
|
|
4
|
+
* Consumer surfaces use the same honest owner-backed contract as cloud
|
|
5
|
+
* surfaces. The executor decides where the delegated run happens; Marshal
|
|
6
|
+
* does not synthesize navigation, setup, or widget success locally.
|
|
7
|
+
*/
|
|
8
|
+
import type { VibesRuntime } from '@vibesdotdev/kernel';
|
|
9
|
+
import type { ToolCallContext } from '@vibesdotdev/kernel/schemas/tool-call';
|
|
10
|
+
import type { MarshalToolInput, MarshalToolOutput } from './schemas.ts';
|
|
11
|
+
declare function marshal(input: MarshalToolInput, runtime: VibesRuntime, ctx?: ToolCallContext): Promise<MarshalToolOutput>;
|
|
12
|
+
export default marshal;
|
|
13
|
+
//# sourceMappingURL=marshal.impl.consumer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marshal.impl.consumer.d.ts","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.impl.consumer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGxE,iBAAe,OAAO,CACrB,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,YAAY,EACrB,GAAG,CAAC,EAAE,eAAe,GACnB,OAAO,CAAC,iBAAiB,CAAC,CAG5B;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marshal Tool Implementation (Consumer)
|
|
3
|
+
*
|
|
4
|
+
* Consumer surfaces use the same honest owner-backed contract as cloud
|
|
5
|
+
* surfaces. The executor decides where the delegated run happens; Marshal
|
|
6
|
+
* does not synthesize navigation, setup, or widget success locally.
|
|
7
|
+
*/
|
|
8
|
+
import { executeMarshalRequest, getMarshalExecutionStatus } from "./marshal.execution.js";
|
|
9
|
+
async function marshal(input, runtime, ctx) {
|
|
10
|
+
if (input.action === 'status')
|
|
11
|
+
return getMarshalExecutionStatus(runtime, ctx);
|
|
12
|
+
return executeMarshalRequest(input, runtime, ctx);
|
|
13
|
+
}
|
|
14
|
+
export default marshal;
|
|
15
|
+
//# sourceMappingURL=marshal.impl.consumer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marshal.impl.consumer.js","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.impl.consumer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAE1F,KAAK,UAAU,OAAO,CACrB,KAAuB,EACvB,OAAqB,EACrB,GAAqB;IAErB,IAAI,KAAK,CAAC,MAAM,KAAK,QAAQ;QAAE,OAAO,yBAAyB,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAC9E,OAAO,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;AACnD,CAAC;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marshal Tool Descriptor
|
|
3
|
+
*
|
|
4
|
+
* Metadata for the owner-backed delegation tool. Safe to import anywhere.
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: {
|
|
7
|
+
readonly kind: "tools/tool";
|
|
8
|
+
readonly id: "marshal";
|
|
9
|
+
readonly name: "Marshal";
|
|
10
|
+
readonly description: "Platform concierge for honest agent delegation.\n\nActions:\n- status: Report whether an authenticated owner-backed executor is available\n- delegate: Dispatch a task to a named agent and return its durable receipt\n- ask: Dispatch a question to a named agent and return its durable receipt\n\nThe query parameter is the task or question. For delegate and ask, context.agentId\nidentifies the receiving agent and context.options may carry bounded execution options.";
|
|
11
|
+
readonly category: "marshal";
|
|
12
|
+
readonly subcategory: "unified";
|
|
13
|
+
readonly hardware: readonly ["consumer", "cloud"];
|
|
14
|
+
readonly purpose: ["direct", "agent"];
|
|
15
|
+
readonly tags: readonly ["marshal", "delegation", "agent-execution"];
|
|
16
|
+
readonly safety: "write";
|
|
17
|
+
readonly permissions: [];
|
|
18
|
+
readonly requiresApproval: true;
|
|
19
|
+
readonly schemas: {
|
|
20
|
+
readonly input: import("zod/v4").ZodDiscriminatedUnion<[import("zod/v4").ZodObject<{
|
|
21
|
+
action: import("zod/v4").ZodLiteral<"status">;
|
|
22
|
+
}, import("zod/v4/core").$strict>, import("zod/v4").ZodObject<{
|
|
23
|
+
action: import("zod/v4").ZodLiteral<"delegate">;
|
|
24
|
+
query: import("zod/v4").ZodString;
|
|
25
|
+
context: import("zod/v4").ZodObject<{
|
|
26
|
+
agentId: import("zod/v4").ZodString;
|
|
27
|
+
options: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
|
|
28
|
+
modelId: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
29
|
+
temperature: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
30
|
+
maxTokens: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
31
|
+
timeout: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
32
|
+
toolIds: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodString>>;
|
|
33
|
+
inheritAgentTools: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
34
|
+
toolConfigurations: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
|
|
35
|
+
toolId: import("zod/v4").ZodString;
|
|
36
|
+
}, import("zod/v4/core").$loose>>>;
|
|
37
|
+
}, import("zod/v4/core").$strict>>;
|
|
38
|
+
}, import("zod/v4/core").$strict>;
|
|
39
|
+
}, import("zod/v4/core").$strict>, import("zod/v4").ZodObject<{
|
|
40
|
+
action: import("zod/v4").ZodLiteral<"ask">;
|
|
41
|
+
query: import("zod/v4").ZodString;
|
|
42
|
+
context: import("zod/v4").ZodObject<{
|
|
43
|
+
agentId: import("zod/v4").ZodString;
|
|
44
|
+
options: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
|
|
45
|
+
modelId: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
46
|
+
temperature: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
47
|
+
maxTokens: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
48
|
+
timeout: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
49
|
+
toolIds: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodString>>;
|
|
50
|
+
inheritAgentTools: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
51
|
+
toolConfigurations: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
|
|
52
|
+
toolId: import("zod/v4").ZodString;
|
|
53
|
+
}, import("zod/v4/core").$loose>>>;
|
|
54
|
+
}, import("zod/v4/core").$strict>>;
|
|
55
|
+
}, import("zod/v4/core").$strict>;
|
|
56
|
+
}, import("zod/v4/core").$strict>], "action">;
|
|
57
|
+
readonly output: import("zod/v4").ZodObject<{
|
|
58
|
+
success: import("zod/v4").ZodBoolean;
|
|
59
|
+
action: import("zod/v4").ZodEnum<{
|
|
60
|
+
status: "status";
|
|
61
|
+
delegate: "delegate";
|
|
62
|
+
ask: "ask";
|
|
63
|
+
}>;
|
|
64
|
+
message: import("zod/v4").ZodString;
|
|
65
|
+
data: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodObject<{
|
|
66
|
+
available: import("zod/v4").ZodBoolean;
|
|
67
|
+
authenticated: import("zod/v4").ZodBoolean;
|
|
68
|
+
executorId: import("zod/v4").ZodString;
|
|
69
|
+
failure: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
|
|
70
|
+
name: import("zod/v4").ZodString;
|
|
71
|
+
code: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
72
|
+
reason: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
73
|
+
}, import("zod/v4/core").$strict>>;
|
|
74
|
+
}, import("zod/v4/core").$strict>, import("zod/v4").ZodObject<{
|
|
75
|
+
receipt: import("zod/v4").ZodObject<{
|
|
76
|
+
runId: import("zod/v4").ZodUUID;
|
|
77
|
+
agentId: import("zod/v4").ZodString;
|
|
78
|
+
state: import("zod/v4").ZodEnum<{
|
|
79
|
+
cancelled: "cancelled";
|
|
80
|
+
completed: "completed";
|
|
81
|
+
failed: "failed";
|
|
82
|
+
timeout: "timeout";
|
|
83
|
+
}>;
|
|
84
|
+
session: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
|
|
85
|
+
artifacts: import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
|
|
86
|
+
id: import("zod/v4").ZodString;
|
|
87
|
+
artifactType: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
88
|
+
file: "file";
|
|
89
|
+
note: "note";
|
|
90
|
+
"chat-message": "chat-message";
|
|
91
|
+
"tool-result": "tool-result";
|
|
92
|
+
"dashboard-widget": "dashboard-widget";
|
|
93
|
+
"data-entry": "data-entry";
|
|
94
|
+
visualization: "visualization";
|
|
95
|
+
notification: "notification";
|
|
96
|
+
worktree: "worktree";
|
|
97
|
+
"draft-items": "draft-items";
|
|
98
|
+
"staged-config": "staged-config";
|
|
99
|
+
}>>;
|
|
100
|
+
status: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
101
|
+
error: "error";
|
|
102
|
+
pending: "pending";
|
|
103
|
+
approved: "approved";
|
|
104
|
+
complete: "complete";
|
|
105
|
+
discarded: "discarded";
|
|
106
|
+
}>>;
|
|
107
|
+
}, import("zod/v4/core").$strip>>;
|
|
108
|
+
output: import("zod/v4").ZodOptional<import("zod/v4").ZodRecord<import("zod/v4").ZodString, import("zod/v4").ZodUnknown>>;
|
|
109
|
+
error: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
110
|
+
}, import("zod/v4/core").$strip>;
|
|
111
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
112
|
+
}, import("zod/v4/core").$strict>;
|
|
113
|
+
};
|
|
114
|
+
readonly examples: [{
|
|
115
|
+
readonly description: "Check executor availability";
|
|
116
|
+
readonly input: {
|
|
117
|
+
readonly action: "status";
|
|
118
|
+
};
|
|
119
|
+
}, {
|
|
120
|
+
readonly description: "Delegate a task to another agent";
|
|
121
|
+
readonly input: {
|
|
122
|
+
readonly action: "delegate";
|
|
123
|
+
readonly query: "Summarize the latest repository changes";
|
|
124
|
+
readonly context: {
|
|
125
|
+
readonly agentId: "researcher";
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
}, {
|
|
129
|
+
readonly description: "Ask another agent a question";
|
|
130
|
+
readonly input: {
|
|
131
|
+
readonly action: "ask";
|
|
132
|
+
readonly query: "What changed in the latest release?";
|
|
133
|
+
readonly context: {
|
|
134
|
+
readonly agentId: "release-notes";
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
}];
|
|
138
|
+
};
|
|
139
|
+
export default _default;
|
|
140
|
+
//# sourceMappingURL=marshal.unified.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marshal.unified.descriptor.d.ts","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.unified.descriptor.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,wBAgDG"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marshal Tool Descriptor
|
|
3
|
+
*
|
|
4
|
+
* Metadata for the owner-backed delegation tool. Safe to import anywhere.
|
|
5
|
+
*/
|
|
6
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel/factory';
|
|
7
|
+
import { MarshalToolInputSchema, MarshalToolOutputSchema } from "./schemas.js";
|
|
8
|
+
export default createRuntimeAsset({
|
|
9
|
+
kind: 'tools/tool',
|
|
10
|
+
id: 'marshal',
|
|
11
|
+
name: 'Marshal',
|
|
12
|
+
description: `Platform concierge for honest agent delegation.
|
|
13
|
+
|
|
14
|
+
Actions:
|
|
15
|
+
- status: Report whether an authenticated owner-backed executor is available
|
|
16
|
+
- delegate: Dispatch a task to a named agent and return its durable receipt
|
|
17
|
+
- ask: Dispatch a question to a named agent and return its durable receipt
|
|
18
|
+
|
|
19
|
+
The query parameter is the task or question. For delegate and ask, context.agentId
|
|
20
|
+
identifies the receiving agent and context.options may carry bounded execution options.`,
|
|
21
|
+
category: 'marshal',
|
|
22
|
+
subcategory: 'unified',
|
|
23
|
+
hardware: ['consumer', 'cloud'],
|
|
24
|
+
// MCP stays disabled until Marshal has live receipt proof on the owner path.
|
|
25
|
+
purpose: ['direct', 'agent'],
|
|
26
|
+
tags: ['marshal', 'delegation', 'agent-execution'],
|
|
27
|
+
safety: 'write',
|
|
28
|
+
permissions: [],
|
|
29
|
+
requiresApproval: true,
|
|
30
|
+
schemas: {
|
|
31
|
+
input: MarshalToolInputSchema,
|
|
32
|
+
output: MarshalToolOutputSchema
|
|
33
|
+
},
|
|
34
|
+
examples: [
|
|
35
|
+
{
|
|
36
|
+
description: 'Check executor availability',
|
|
37
|
+
input: { action: 'status' }
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
description: 'Delegate a task to another agent',
|
|
41
|
+
input: {
|
|
42
|
+
action: 'delegate',
|
|
43
|
+
query: 'Summarize the latest repository changes',
|
|
44
|
+
context: { agentId: 'researcher' }
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
description: 'Ask another agent a question',
|
|
49
|
+
input: {
|
|
50
|
+
action: 'ask',
|
|
51
|
+
query: 'What changed in the latest release?',
|
|
52
|
+
context: { agentId: 'release-notes' }
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
});
|
|
57
|
+
//# sourceMappingURL=marshal.unified.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marshal.unified.descriptor.js","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.unified.descriptor.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAE/E,eAAe,kBAAkB,CAAC;IACjC,IAAI,EAAE,YAAY;IAClB,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,WAAW,EAAE;;;;;;;;wFAQ0E;IACvF,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,6EAA6E;IAC7E,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,iBAAiB,CAAC;IAClD,MAAM,EAAE,OAAO;IACf,WAAW,EAAE,EAAE;IACf,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE;QACR,KAAK,EAAE,sBAAsB;QAC7B,MAAM,EAAE,uBAAuB;KAC/B;IACD,QAAQ,EAAE;QACT;YACC,WAAW,EAAE,6BAA6B;YAC1C,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;SAC3B;QACD;YACC,WAAW,EAAE,kCAAkC;YAC/C,KAAK,EAAE;gBACN,MAAM,EAAE,UAAU;gBAClB,KAAK,EAAE,yCAAyC;gBAChD,OAAO,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE;aAClC;SACD;QACD;YACC,WAAW,EAAE,8BAA8B;YAC3C,KAAK,EAAE;gBACN,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,qCAAqC;gBAC5C,OAAO,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE;aACrC;SACD;KACD;CACD,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unified Marshal Tool Schemas
|
|
3
|
+
*
|
|
4
|
+
* Single tool interface: action, query, context
|
|
5
|
+
*/
|
|
6
|
+
export { MarshalToolActionSchema, MarshalAgentExecutionOptionsSchema, MarshalToolInputSchema, MarshalToolOutputSchema } from '../../schemas/tools.ts';
|
|
7
|
+
export type { MarshalToolAction, MarshalAgentExecutionOptions, MarshalToolInput, MarshalToolOutput } from '../../schemas/tools.ts';
|
|
8
|
+
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACN,uBAAuB,EACvB,kCAAkC,EAClC,sBAAsB,EACtB,uBAAuB,EACvB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACX,iBAAiB,EACjB,4BAA4B,EAC5B,gBAAgB,EAChB,iBAAiB,EACjB,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unified Marshal Tool Schemas
|
|
3
|
+
*
|
|
4
|
+
* Single tool interface: action, query, context
|
|
5
|
+
*/
|
|
6
|
+
export { MarshalToolActionSchema, MarshalAgentExecutionOptionsSchema, MarshalToolInputSchema, MarshalToolOutputSchema } from "../../schemas/tools.js";
|
|
7
|
+
//# sourceMappingURL=schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACN,uBAAuB,EACvB,kCAAkC,EAClC,sBAAsB,EACtB,uBAAuB,EACvB,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type { MarshalPersonality, MarshalVoiceTone, MarshalConfig, OnboardingProgressStatus, CompletionMethod, OnboardingProgress, MarshalSurface, MarshalCapabilities, MarshalContext, MarshalSessionMetadata, MarshalActionType, MarshalActionResult, IssueStatus, MarshalIssueContext, MarshalSetupContext } from './schemas/types.ts';
|
|
2
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/marshal/types.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,mBAAmB,EACnB,mBAAmB,EACnB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/marshal/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/marshal/worker/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/marshal/worker/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assistance Job
|
|
3
|
+
*
|
|
4
|
+
* Handles background assistance tasks from Marshal.
|
|
5
|
+
*/
|
|
6
|
+
import * as z from 'zod/v4';
|
|
7
|
+
import type { JobDescriptor, JobExecutionContext, JobImplementation } from '@vibesdotdev/kernel/kinds';
|
|
8
|
+
export declare const assistanceInputSchema: z.ZodObject<{
|
|
9
|
+
userId: z.ZodString;
|
|
10
|
+
taskType: z.ZodEnum<{
|
|
11
|
+
guide: "guide";
|
|
12
|
+
explain: "explain";
|
|
13
|
+
suggest: "suggest";
|
|
14
|
+
}>;
|
|
15
|
+
target: z.ZodString;
|
|
16
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export declare const assistanceResultSchema: z.ZodObject<{
|
|
19
|
+
success: z.ZodBoolean;
|
|
20
|
+
userId: z.ZodString;
|
|
21
|
+
taskType: z.ZodString;
|
|
22
|
+
target: z.ZodString;
|
|
23
|
+
processed: z.ZodBoolean;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export declare class AssistanceJob implements JobImplementation<z.infer<typeof assistanceInputSchema>, z.infer<typeof assistanceResultSchema>> {
|
|
26
|
+
readonly id: string;
|
|
27
|
+
readonly descriptor: JobDescriptor;
|
|
28
|
+
readonly type: "default";
|
|
29
|
+
readonly isolation: "inline";
|
|
30
|
+
constructor(descriptor: JobDescriptor);
|
|
31
|
+
handle(context: JobExecutionContext<z.infer<typeof assistanceInputSchema>>): Promise<z.infer<typeof assistanceResultSchema>>;
|
|
32
|
+
}
|
|
33
|
+
export default AssistanceJob;
|
|
34
|
+
//# sourceMappingURL=assistance-job.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assistance-job.d.ts","sourceRoot":"","sources":["../../../../src/marshal/worker/jobs/assistance-job.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,EACX,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,qBAAqB;;;;;;;;;iBAKhC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAC;AAEH,qBAAa,aAAc,YAAW,iBAAiB,CACtD,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,EACrC,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CACtC;IACA,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IACnC,QAAQ,CAAC,SAAS,EAAG,QAAQ,CAAU;gBAE3B,UAAU,EAAE,aAAa;IAK/B,MAAM,CACX,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC,GACjE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;CAalD;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assistance Job
|
|
3
|
+
*
|
|
4
|
+
* Handles background assistance tasks from Marshal.
|
|
5
|
+
*/
|
|
6
|
+
import * as z from 'zod/v4';
|
|
7
|
+
export const assistanceInputSchema = z.object({
|
|
8
|
+
userId: z.string(),
|
|
9
|
+
taskType: z.enum(['explain', 'guide', 'suggest']),
|
|
10
|
+
target: z.string(),
|
|
11
|
+
context: z.record(z.string(), z.unknown()).optional()
|
|
12
|
+
});
|
|
13
|
+
export const assistanceResultSchema = z.object({
|
|
14
|
+
success: z.boolean(),
|
|
15
|
+
userId: z.string(),
|
|
16
|
+
taskType: z.string(),
|
|
17
|
+
target: z.string(),
|
|
18
|
+
processed: z.boolean()
|
|
19
|
+
});
|
|
20
|
+
export class AssistanceJob {
|
|
21
|
+
id;
|
|
22
|
+
descriptor;
|
|
23
|
+
type = 'default';
|
|
24
|
+
isolation = 'inline';
|
|
25
|
+
constructor(descriptor) {
|
|
26
|
+
this.id = descriptor.id;
|
|
27
|
+
this.descriptor = descriptor;
|
|
28
|
+
}
|
|
29
|
+
async handle(context) {
|
|
30
|
+
const { userId, taskType, target } = context.data;
|
|
31
|
+
// Stub: no Marshal agent integration yet. Fail closed so callers
|
|
32
|
+
// do not treat an unprocessed task as complete (silent success lie).
|
|
33
|
+
return {
|
|
34
|
+
success: false,
|
|
35
|
+
userId,
|
|
36
|
+
taskType,
|
|
37
|
+
target,
|
|
38
|
+
processed: false
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export default AssistanceJob;
|
|
43
|
+
//# sourceMappingURL=assistance-job.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assistance-job.js","sourceRoot":"","sources":["../../../../src/marshal/worker/jobs/assistance-job.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAO5B,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAC;AAEH,MAAM,OAAO,aAAa;IAIhB,EAAE,CAAS;IACX,UAAU,CAAgB;IAC1B,IAAI,GAAG,SAAkB,CAAC;IAC1B,SAAS,GAAG,QAAiB,CAAC;IAEvC,YAAY,UAAyB;QACpC,IAAI,CAAC,EAAE,GAAG,UAAU,CAAC,EAAE,CAAC;QACxB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,MAAM,CACX,OAAmE;QAEnE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;QAElD,iEAAiE;QACjE,qEAAqE;QACrE,OAAO;YACN,OAAO,EAAE,KAAK;YACd,MAAM;YACN,QAAQ;YACR,MAAM;YACN,SAAS,EAAE,KAAK;SAChB,CAAC;IACH,CAAC;CACD;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configure Job
|
|
3
|
+
*
|
|
4
|
+
* Applies configuration changes asynchronously.
|
|
5
|
+
*
|
|
6
|
+
* Per Pattern 1 (cross-cutting/pattern-violations.md §1.4 + §7.5), this job's
|
|
7
|
+
* implementation in `marshal` (core) does NOT import drizzle-orm or
|
|
8
|
+
* `@vibesdotdev/storage/adapters/drizzle`. Persistence of `marshal_config`
|
|
9
|
+
* belongs in the future `apps/marshal-web` (or `marshal-system`) package per
|
|
10
|
+
* the SPEC's domain-triple rule. Until that exists, this handler is a stub
|
|
11
|
+
* that acknowledges the request and reports `configured: false` so callers
|
|
12
|
+
* can detect the deferred state.
|
|
13
|
+
*/
|
|
14
|
+
import * as z from 'zod/v4';
|
|
15
|
+
import type { JobDescriptor, JobExecutionContext, JobImplementation } from '@vibesdotdev/kernel/kinds';
|
|
16
|
+
export declare const configureInputSchema: z.ZodObject<{
|
|
17
|
+
userId: z.ZodString;
|
|
18
|
+
config: z.ZodObject<{
|
|
19
|
+
name: z.ZodOptional<z.ZodString>;
|
|
20
|
+
personality: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
concise: "concise";
|
|
22
|
+
conversational: "conversational";
|
|
23
|
+
detailed: "detailed";
|
|
24
|
+
}>>;
|
|
25
|
+
voiceTone: z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
professional: "professional";
|
|
27
|
+
friendly: "friendly";
|
|
28
|
+
casual: "casual";
|
|
29
|
+
}>>;
|
|
30
|
+
proactiveHelp: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
customInstructions: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
export declare const configureResultSchema: z.ZodObject<{
|
|
35
|
+
success: z.ZodBoolean;
|
|
36
|
+
userId: z.ZodString;
|
|
37
|
+
configured: z.ZodBoolean;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export declare class ConfigureJob implements JobImplementation<z.infer<typeof configureInputSchema>, z.infer<typeof configureResultSchema>> {
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly descriptor: JobDescriptor;
|
|
42
|
+
readonly type: "default";
|
|
43
|
+
readonly isolation: "inline";
|
|
44
|
+
constructor(descriptor: JobDescriptor);
|
|
45
|
+
handle(context: JobExecutionContext<z.infer<typeof configureInputSchema>>): Promise<z.infer<typeof configureResultSchema>>;
|
|
46
|
+
}
|
|
47
|
+
export default ConfigureJob;
|
|
48
|
+
//# sourceMappingURL=configure-job.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configure-job.d.ts","sourceRoot":"","sources":["../../../../src/marshal/worker/jobs/configure-job.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,EACX,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;iBAS/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;iBAIhC,CAAC;AAEH,qBAAa,YAAa,YAAW,iBAAiB,CACrD,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,EACpC,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CACrC;IACA,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IACnC,QAAQ,CAAC,SAAS,EAAG,QAAQ,CAAU;gBAE3B,UAAU,EAAE,aAAa;IAK/B,MAAM,CACX,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC,GAChE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;CAYjD;AAED,eAAe,YAAY,CAAC"}
|