@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,44 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
export declare const WatchTypeSchema: z.ZodEnum<{
|
|
3
|
+
file: "file";
|
|
4
|
+
url: "url";
|
|
5
|
+
process: "process";
|
|
6
|
+
repo: "repo";
|
|
7
|
+
}>;
|
|
8
|
+
export declare const WatchAlertSchema: z.ZodEnum<{
|
|
9
|
+
error: "error";
|
|
10
|
+
absence: "absence";
|
|
11
|
+
change: "change";
|
|
12
|
+
presence: "presence";
|
|
13
|
+
}>;
|
|
14
|
+
export declare const WorkboardWatchItemSchema: z.ZodObject<{
|
|
15
|
+
id: z.ZodString;
|
|
16
|
+
target: z.ZodString;
|
|
17
|
+
type: z.ZodEnum<{
|
|
18
|
+
file: "file";
|
|
19
|
+
url: "url";
|
|
20
|
+
process: "process";
|
|
21
|
+
repo: "repo";
|
|
22
|
+
}>;
|
|
23
|
+
description: z.ZodString;
|
|
24
|
+
alert_on: z.ZodEnum<{
|
|
25
|
+
error: "error";
|
|
26
|
+
absence: "absence";
|
|
27
|
+
change: "change";
|
|
28
|
+
presence: "presence";
|
|
29
|
+
}>;
|
|
30
|
+
active: z.ZodBoolean;
|
|
31
|
+
created_at: z.ZodString;
|
|
32
|
+
last_checked: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
last_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
ownerType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
35
|
+
user: "user";
|
|
36
|
+
organization: "organization";
|
|
37
|
+
system: "system";
|
|
38
|
+
}>>>;
|
|
39
|
+
ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type WatchType = z.infer<typeof WatchTypeSchema>;
|
|
42
|
+
export type WatchAlert = z.infer<typeof WatchAlertSchema>;
|
|
43
|
+
export type WorkboardWatchItem = z.infer<typeof WorkboardWatchItemSchema>;
|
|
44
|
+
//# sourceMappingURL=watch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../../src/schemas/watch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,eAAO,MAAM,eAAe;;;;;EAA6C,CAAC;AAC1E,eAAO,MAAM,gBAAgB;;;;;EAAqD,CAAC;AAEnF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAanC,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
import { WorkboardOwnerTypeSchema } from "./owner.js";
|
|
3
|
+
export const WatchTypeSchema = z.enum(['file', 'process', 'url', 'repo']);
|
|
4
|
+
export const WatchAlertSchema = z.enum(['change', 'absence', 'presence', 'error']);
|
|
5
|
+
export const WorkboardWatchItemSchema = z.object({
|
|
6
|
+
id: z.string(),
|
|
7
|
+
target: z.string(),
|
|
8
|
+
type: WatchTypeSchema,
|
|
9
|
+
description: z.string(),
|
|
10
|
+
alert_on: WatchAlertSchema,
|
|
11
|
+
active: z.boolean(),
|
|
12
|
+
created_at: z.string(),
|
|
13
|
+
last_checked: z.string().nullish(),
|
|
14
|
+
last_value: z.string().nullish(),
|
|
15
|
+
// Owner-scoping (stamped server-side; nullish for legacy rows).
|
|
16
|
+
ownerType: WorkboardOwnerTypeSchema.nullish(),
|
|
17
|
+
ownerId: z.string().nullish()
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=watch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"watch.js","sourceRoot":"","sources":["../../src/schemas/watch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEtD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAC1E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;AAEnF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,gBAAgB;IAC1B,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAClC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAChC,gEAAgE;IAChE,SAAS,EAAE,wBAAwB,CAAC,OAAO,EAAE;IAC7C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CAC7B,CAAC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type VibesStatusCategory } from '@vibesdotdev/shared/schemas';
|
|
2
|
+
import { type TaskStatus } from './task.ts';
|
|
3
|
+
export declare const WORKBOARD_TASK_STATUS_CATEGORIES: {
|
|
4
|
+
pending: "open" | "active" | "blocked" | "review" | "terminal-success" | "terminal-cancelled" | "terminal-failed";
|
|
5
|
+
in_progress: "open" | "active" | "blocked" | "review" | "terminal-success" | "terminal-cancelled" | "terminal-failed";
|
|
6
|
+
blocked: "open" | "active" | "blocked" | "review" | "terminal-success" | "terminal-cancelled" | "terminal-failed";
|
|
7
|
+
completed: "open" | "active" | "blocked" | "review" | "terminal-success" | "terminal-cancelled" | "terminal-failed";
|
|
8
|
+
cancelled: "open" | "active" | "blocked" | "review" | "terminal-success" | "terminal-cancelled" | "terminal-failed";
|
|
9
|
+
};
|
|
10
|
+
export declare const WORKBOARD_REQUEST_STATUS_CATEGORIES: {
|
|
11
|
+
pending: "open";
|
|
12
|
+
approved: "terminal-success";
|
|
13
|
+
rejected: "terminal-cancelled";
|
|
14
|
+
expired: "terminal-failed";
|
|
15
|
+
cancelled: "terminal-cancelled";
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Maps workboard task statuses to shared presentation categories. The table is
|
|
19
|
+
* exhaustive for validated statuses; unvalidated runtime strings fall back to
|
|
20
|
+
* `active` so additive producer statuses do not break rendering. Parse with
|
|
21
|
+
* TaskStatusSchema when unknown input must be rejected.
|
|
22
|
+
*/
|
|
23
|
+
export declare function workboardTaskStatusCategory(status: string): VibesStatusCategory;
|
|
24
|
+
/** Workboard task projection → canonical product lifecycle. */
|
|
25
|
+
export declare function workboardTaskStatusToTracking(status: TaskStatus): string;
|
|
26
|
+
/** Canonical product lifecycle → workboard task projection. */
|
|
27
|
+
export declare function trackingStatusToWorkboardTask(status: string): TaskStatus;
|
|
28
|
+
/**
|
|
29
|
+
* Maps workboard request statuses to shared presentation categories. The table
|
|
30
|
+
* is exhaustive for validated statuses; unvalidated runtime strings fall back
|
|
31
|
+
* to `active` so additive producer statuses do not break rendering. Parse with
|
|
32
|
+
* RequestStatusSchema when unknown input must be rejected.
|
|
33
|
+
*/
|
|
34
|
+
export declare function workboardRequestStatusCategory(status: string): VibesStatusCategory;
|
|
35
|
+
//# sourceMappingURL=workboard-status-category.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workboard-status-category.d.ts","sourceRoot":"","sources":["../../src/schemas/workboard-status-category.ts"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,mBAAmB,EACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAE9D,eAAO,MAAM,gCAAgC;;;;;;CAMM,CAAC;AAEpD,eAAO,MAAM,mCAAmC;;;;;;CAMM,CAAC;AAEvD;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB,CAE/E;AAED,+DAA+D;AAC/D,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAExE;AAED,+DAA+D;AAC/D,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAExE;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB,CAGlF"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { productStatusToWorkboardTaskStatus, workboardTaskStatusCategory as sharedWorkboardTaskStatusCategory, workboardTaskStatusToProductStatus } from '@vibesdotdev/shared/schemas';
|
|
2
|
+
import { RequestStatusSchema } from "./request.js";
|
|
3
|
+
import { TaskStatusSchema } from "./task.js";
|
|
4
|
+
export const WORKBOARD_TASK_STATUS_CATEGORIES = {
|
|
5
|
+
pending: sharedWorkboardTaskStatusCategory('pending'),
|
|
6
|
+
in_progress: sharedWorkboardTaskStatusCategory('in_progress'),
|
|
7
|
+
blocked: sharedWorkboardTaskStatusCategory('blocked'),
|
|
8
|
+
completed: sharedWorkboardTaskStatusCategory('completed'),
|
|
9
|
+
cancelled: sharedWorkboardTaskStatusCategory('cancelled')
|
|
10
|
+
};
|
|
11
|
+
export const WORKBOARD_REQUEST_STATUS_CATEGORIES = {
|
|
12
|
+
pending: 'open',
|
|
13
|
+
approved: 'terminal-success',
|
|
14
|
+
rejected: 'terminal-cancelled',
|
|
15
|
+
expired: 'terminal-failed',
|
|
16
|
+
cancelled: 'terminal-cancelled'
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Maps workboard task statuses to shared presentation categories. The table is
|
|
20
|
+
* exhaustive for validated statuses; unvalidated runtime strings fall back to
|
|
21
|
+
* `active` so additive producer statuses do not break rendering. Parse with
|
|
22
|
+
* TaskStatusSchema when unknown input must be rejected.
|
|
23
|
+
*/
|
|
24
|
+
export function workboardTaskStatusCategory(status) {
|
|
25
|
+
return sharedWorkboardTaskStatusCategory(status);
|
|
26
|
+
}
|
|
27
|
+
/** Workboard task projection → canonical product lifecycle. */
|
|
28
|
+
export function workboardTaskStatusToTracking(status) {
|
|
29
|
+
return workboardTaskStatusToProductStatus(status);
|
|
30
|
+
}
|
|
31
|
+
/** Canonical product lifecycle → workboard task projection. */
|
|
32
|
+
export function trackingStatusToWorkboardTask(status) {
|
|
33
|
+
return TaskStatusSchema.parse(productStatusToWorkboardTaskStatus(status));
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Maps workboard request statuses to shared presentation categories. The table
|
|
37
|
+
* is exhaustive for validated statuses; unvalidated runtime strings fall back
|
|
38
|
+
* to `active` so additive producer statuses do not break rendering. Parse with
|
|
39
|
+
* RequestStatusSchema when unknown input must be rejected.
|
|
40
|
+
*/
|
|
41
|
+
export function workboardRequestStatusCategory(status) {
|
|
42
|
+
const parsed = RequestStatusSchema.safeParse(status);
|
|
43
|
+
return parsed.success ? WORKBOARD_REQUEST_STATUS_CATEGORIES[parsed.data] : 'active';
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=workboard-status-category.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workboard-status-category.js","sourceRoot":"","sources":["../../src/schemas/workboard-status-category.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,kCAAkC,EAClC,2BAA2B,IAAI,iCAAiC,EAChE,kCAAkC,EAElC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAsB,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAmB,MAAM,WAAW,CAAC;AAE9D,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC/C,OAAO,EAAE,iCAAiC,CAAC,SAAS,CAAC;IACrD,WAAW,EAAE,iCAAiC,CAAC,aAAa,CAAC;IAC7D,OAAO,EAAE,iCAAiC,CAAC,SAAS,CAAC;IACrD,SAAS,EAAE,iCAAiC,CAAC,WAAW,CAAC;IACzD,SAAS,EAAE,iCAAiC,CAAC,WAAW,CAAC;CACP,CAAC;AAEpD,MAAM,CAAC,MAAM,mCAAmC,GAAG;IAClD,OAAO,EAAE,MAAM;IACf,QAAQ,EAAE,kBAAkB;IAC5B,QAAQ,EAAE,oBAAoB;IAC9B,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,oBAAoB;CACsB,CAAC;AAEvD;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CAAC,MAAc;IACzD,OAAO,iCAAiC,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC;AAED,+DAA+D;AAC/D,MAAM,UAAU,6BAA6B,CAAC,MAAkB;IAC/D,OAAO,kCAAkC,CAAC,MAAM,CAAC,CAAC;AACnD,CAAC;AAED,+DAA+D;AAC/D,MAAM,UAAU,6BAA6B,CAAC,MAAc;IAC3D,OAAO,gBAAgB,CAAC,KAAK,CAAC,kCAAkC,CAAC,MAAM,CAAC,CAAC,CAAC;AAC3E,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,8BAA8B,CAAC,MAAc;IAC5D,MAAM,MAAM,GAAG,mBAAmB,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACrD,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,mCAAmC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;AACrF,CAAC"}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import type { WorkboardLane } from '../schemas/lane.ts';
|
|
2
|
+
import type { WorkboardTask } from '../schemas/task.ts';
|
|
3
|
+
import type { WorkboardWatchItem } from '../schemas/watch.ts';
|
|
4
|
+
import type { WorkboardNotification } from '../schemas/notification.ts';
|
|
5
|
+
import type { WorkboardNote } from '../schemas/note.ts';
|
|
6
|
+
import type { WorkboardRequest } from '../schemas/request.ts';
|
|
7
|
+
type OwnerColumns<T extends {
|
|
8
|
+
ownerType?: unknown;
|
|
9
|
+
ownerId?: unknown;
|
|
10
|
+
}> = Omit<T, 'ownerType' | 'ownerId'> & {
|
|
11
|
+
owner_type: T['ownerType'] | null;
|
|
12
|
+
owner_id: string | null;
|
|
13
|
+
};
|
|
14
|
+
export type WorkboardLaneStorageRow = Omit<OwnerColumns<WorkboardLane>, 'created_at' | 'updated_at'> & {
|
|
15
|
+
created_at: string | null;
|
|
16
|
+
updated_at: string | null;
|
|
17
|
+
};
|
|
18
|
+
export type WorkboardWatchStorageRow = OwnerColumns<WorkboardWatchItem>;
|
|
19
|
+
export type WorkboardNoteStorageRow = OwnerColumns<WorkboardNote>;
|
|
20
|
+
export type WorkboardTaskStorageRow = Omit<OwnerColumns<WorkboardTask>, 'agentId' | 'sourceEventId' | 'links'> & {
|
|
21
|
+
agent_id: string | null;
|
|
22
|
+
source_event_id: string | null;
|
|
23
|
+
links: WorkboardTask['links'] | null;
|
|
24
|
+
};
|
|
25
|
+
export type WorkboardNotificationStorageRow = Omit<OwnerColumns<WorkboardNotification>, 'agentId' | 'sourceEventId'> & {
|
|
26
|
+
agent_id: string | null;
|
|
27
|
+
source_event_id: string | null;
|
|
28
|
+
};
|
|
29
|
+
export type WorkboardRequestStorageRow = Omit<OwnerColumns<WorkboardRequest>, 'agentId' | 'sourceEventId' | 'links'> & {
|
|
30
|
+
agent_id: string | null;
|
|
31
|
+
source_event_id: string | null;
|
|
32
|
+
links: WorkboardRequest['links'] | null;
|
|
33
|
+
};
|
|
34
|
+
export declare const workboardLaneTransform: import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardLaneStorageRow, {
|
|
35
|
+
id: string;
|
|
36
|
+
description: string;
|
|
37
|
+
auto: boolean;
|
|
38
|
+
color: string;
|
|
39
|
+
created_at?: string | undefined;
|
|
40
|
+
updated_at?: string | undefined;
|
|
41
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
42
|
+
ownerId?: string | null | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
export declare const workboardTaskTransform: import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardTaskStorageRow, {
|
|
45
|
+
id: string;
|
|
46
|
+
title: string;
|
|
47
|
+
lane: string;
|
|
48
|
+
status: "blocked" | "in_progress" | "cancelled" | "pending" | "completed";
|
|
49
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
50
|
+
assigned_to: string;
|
|
51
|
+
notes: {
|
|
52
|
+
at: string;
|
|
53
|
+
by: string;
|
|
54
|
+
text: string;
|
|
55
|
+
}[];
|
|
56
|
+
created_at: string;
|
|
57
|
+
updated_at: string;
|
|
58
|
+
description?: string | undefined;
|
|
59
|
+
response?: string | undefined;
|
|
60
|
+
note?: string | undefined;
|
|
61
|
+
completed_at?: string | undefined;
|
|
62
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
63
|
+
ownerId?: string | null | undefined;
|
|
64
|
+
agentId?: string | null | undefined;
|
|
65
|
+
sourceEventId?: string | null | undefined;
|
|
66
|
+
links?: {
|
|
67
|
+
kind: string;
|
|
68
|
+
id: string;
|
|
69
|
+
source: string;
|
|
70
|
+
role: string;
|
|
71
|
+
}[] | undefined;
|
|
72
|
+
displayId?: string | undefined;
|
|
73
|
+
authorityUrl?: string | undefined;
|
|
74
|
+
}>;
|
|
75
|
+
export declare const workboardWatchTransform: import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardWatchStorageRow, {
|
|
76
|
+
id: string;
|
|
77
|
+
target: string;
|
|
78
|
+
type: "file" | "url" | "process" | "repo";
|
|
79
|
+
description: string;
|
|
80
|
+
alert_on: "error" | "absence" | "change" | "presence";
|
|
81
|
+
active: boolean;
|
|
82
|
+
created_at: string;
|
|
83
|
+
last_checked?: string | null | undefined;
|
|
84
|
+
last_value?: string | null | undefined;
|
|
85
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
86
|
+
ownerId?: string | null | undefined;
|
|
87
|
+
}>;
|
|
88
|
+
export declare const workboardNotificationTransform: import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardNotificationStorageRow, {
|
|
89
|
+
id: string;
|
|
90
|
+
message: string;
|
|
91
|
+
severity: "error" | "success" | "info" | "warning";
|
|
92
|
+
dismissed: boolean;
|
|
93
|
+
created_at: string;
|
|
94
|
+
type?: string | undefined;
|
|
95
|
+
dismissed_at?: string | undefined;
|
|
96
|
+
source?: string | undefined;
|
|
97
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
98
|
+
ownerId?: string | null | undefined;
|
|
99
|
+
agentId?: string | null | undefined;
|
|
100
|
+
sourceEventId?: string | null | undefined;
|
|
101
|
+
}>;
|
|
102
|
+
export declare const workboardNoteTransform: import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardNoteStorageRow, {
|
|
103
|
+
id: string;
|
|
104
|
+
content: string;
|
|
105
|
+
created_at: string;
|
|
106
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
107
|
+
ownerId?: string | null | undefined;
|
|
108
|
+
}>;
|
|
109
|
+
export declare const workboardRequestTransform: import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardRequestStorageRow, {
|
|
110
|
+
id: string;
|
|
111
|
+
title: string;
|
|
112
|
+
type: "email" | "action" | "deployment" | "code_review" | "plan_confirmation" | "escalation";
|
|
113
|
+
status: "cancelled" | "pending" | "rejected" | "approved" | "expired";
|
|
114
|
+
requested_by: string;
|
|
115
|
+
description: string;
|
|
116
|
+
created_at: string;
|
|
117
|
+
updated_at: string;
|
|
118
|
+
details?: Record<string, unknown> | undefined;
|
|
119
|
+
links?: {
|
|
120
|
+
kind: string;
|
|
121
|
+
id: string;
|
|
122
|
+
source: string;
|
|
123
|
+
role: string;
|
|
124
|
+
}[] | undefined;
|
|
125
|
+
response?: string | undefined;
|
|
126
|
+
reviewed_by?: string | undefined;
|
|
127
|
+
reviewed_at?: string | undefined;
|
|
128
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
129
|
+
ownerId?: string | null | undefined;
|
|
130
|
+
agentId?: string | null | undefined;
|
|
131
|
+
sourceEventId?: string | null | undefined;
|
|
132
|
+
}>;
|
|
133
|
+
export declare const workboardOwnerStorageTransforms: readonly [import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardLaneStorageRow, {
|
|
134
|
+
id: string;
|
|
135
|
+
description: string;
|
|
136
|
+
auto: boolean;
|
|
137
|
+
color: string;
|
|
138
|
+
created_at?: string | undefined;
|
|
139
|
+
updated_at?: string | undefined;
|
|
140
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
141
|
+
ownerId?: string | null | undefined;
|
|
142
|
+
}>, import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardTaskStorageRow, {
|
|
143
|
+
id: string;
|
|
144
|
+
title: string;
|
|
145
|
+
lane: string;
|
|
146
|
+
status: "blocked" | "in_progress" | "cancelled" | "pending" | "completed";
|
|
147
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
148
|
+
assigned_to: string;
|
|
149
|
+
notes: {
|
|
150
|
+
at: string;
|
|
151
|
+
by: string;
|
|
152
|
+
text: string;
|
|
153
|
+
}[];
|
|
154
|
+
created_at: string;
|
|
155
|
+
updated_at: string;
|
|
156
|
+
description?: string | undefined;
|
|
157
|
+
response?: string | undefined;
|
|
158
|
+
note?: string | undefined;
|
|
159
|
+
completed_at?: string | undefined;
|
|
160
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
161
|
+
ownerId?: string | null | undefined;
|
|
162
|
+
agentId?: string | null | undefined;
|
|
163
|
+
sourceEventId?: string | null | undefined;
|
|
164
|
+
links?: {
|
|
165
|
+
kind: string;
|
|
166
|
+
id: string;
|
|
167
|
+
source: string;
|
|
168
|
+
role: string;
|
|
169
|
+
}[] | undefined;
|
|
170
|
+
displayId?: string | undefined;
|
|
171
|
+
authorityUrl?: string | undefined;
|
|
172
|
+
}>, import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardWatchStorageRow, {
|
|
173
|
+
id: string;
|
|
174
|
+
target: string;
|
|
175
|
+
type: "file" | "url" | "process" | "repo";
|
|
176
|
+
description: string;
|
|
177
|
+
alert_on: "error" | "absence" | "change" | "presence";
|
|
178
|
+
active: boolean;
|
|
179
|
+
created_at: string;
|
|
180
|
+
last_checked?: string | null | undefined;
|
|
181
|
+
last_value?: string | null | undefined;
|
|
182
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
183
|
+
ownerId?: string | null | undefined;
|
|
184
|
+
}>, import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardNotificationStorageRow, {
|
|
185
|
+
id: string;
|
|
186
|
+
message: string;
|
|
187
|
+
severity: "error" | "success" | "info" | "warning";
|
|
188
|
+
dismissed: boolean;
|
|
189
|
+
created_at: string;
|
|
190
|
+
type?: string | undefined;
|
|
191
|
+
dismissed_at?: string | undefined;
|
|
192
|
+
source?: string | undefined;
|
|
193
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
194
|
+
ownerId?: string | null | undefined;
|
|
195
|
+
agentId?: string | null | undefined;
|
|
196
|
+
sourceEventId?: string | null | undefined;
|
|
197
|
+
}>, import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardNoteStorageRow, {
|
|
198
|
+
id: string;
|
|
199
|
+
content: string;
|
|
200
|
+
created_at: string;
|
|
201
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
202
|
+
ownerId?: string | null | undefined;
|
|
203
|
+
}>, import("@vibesdotdev/storage/transform").StorageTransformPair<WorkboardRequestStorageRow, {
|
|
204
|
+
id: string;
|
|
205
|
+
title: string;
|
|
206
|
+
type: "email" | "action" | "deployment" | "code_review" | "plan_confirmation" | "escalation";
|
|
207
|
+
status: "cancelled" | "pending" | "rejected" | "approved" | "expired";
|
|
208
|
+
requested_by: string;
|
|
209
|
+
description: string;
|
|
210
|
+
created_at: string;
|
|
211
|
+
updated_at: string;
|
|
212
|
+
details?: Record<string, unknown> | undefined;
|
|
213
|
+
links?: {
|
|
214
|
+
kind: string;
|
|
215
|
+
id: string;
|
|
216
|
+
source: string;
|
|
217
|
+
role: string;
|
|
218
|
+
}[] | undefined;
|
|
219
|
+
response?: string | undefined;
|
|
220
|
+
reviewed_by?: string | undefined;
|
|
221
|
+
reviewed_at?: string | undefined;
|
|
222
|
+
ownerType?: "user" | "organization" | "system" | null | undefined;
|
|
223
|
+
ownerId?: string | null | undefined;
|
|
224
|
+
agentId?: string | null | undefined;
|
|
225
|
+
sourceEventId?: string | null | undefined;
|
|
226
|
+
}>];
|
|
227
|
+
export {};
|
|
228
|
+
//# sourceMappingURL=owner-transforms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-transforms.d.ts","sourceRoot":"","sources":["../../src/storage/owner-transforms.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,KAAK,YAAY,CAAC,CAAC,SAAS;IAAE,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,IAAI,IAAI,CAC7E,CAAC,EACD,WAAW,GAAG,SAAS,CACvB,GAAG;IACH,UAAU,EAAE,CAAC,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACzC,YAAY,CAAC,aAAa,CAAC,EAC3B,YAAY,GAAG,YAAY,CAC3B,GAAG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM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;;;;;;;;;;;;;;;;;;;EA2BpC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAOlC,CAAC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { createStorageTransform } from '@vibesdotdev/storage/transform';
|
|
2
|
+
export const workboardLaneTransform = createStorageTransform({
|
|
3
|
+
id: 'workboard.lane',
|
|
4
|
+
manifestId: 'workboard.lane',
|
|
5
|
+
description: 'Workboard lane owner row to canonical record mapping',
|
|
6
|
+
fromRow: ({ owner_type, owner_id, ...row }) => ({
|
|
7
|
+
...row,
|
|
8
|
+
created_at: row.created_at ?? undefined,
|
|
9
|
+
updated_at: row.updated_at ?? undefined,
|
|
10
|
+
ownerType: owner_type ?? undefined,
|
|
11
|
+
ownerId: owner_id
|
|
12
|
+
}),
|
|
13
|
+
toRow: ({ ownerType, ownerId, ...row }) => ({
|
|
14
|
+
...row,
|
|
15
|
+
created_at: row.created_at ?? null,
|
|
16
|
+
updated_at: row.updated_at ?? null,
|
|
17
|
+
owner_type: ownerType ?? null,
|
|
18
|
+
owner_id: ownerId ?? null
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
export const workboardTaskTransform = createStorageTransform({
|
|
22
|
+
id: 'workboard.task',
|
|
23
|
+
manifestId: 'workboard.task',
|
|
24
|
+
description: 'Workboard task owner row to canonical record mapping',
|
|
25
|
+
fromRow: ({ owner_type, owner_id, agent_id, source_event_id, links, ...row }) => ({
|
|
26
|
+
...row,
|
|
27
|
+
description: row.description ?? undefined,
|
|
28
|
+
response: row.response ?? undefined,
|
|
29
|
+
note: row.note ?? undefined,
|
|
30
|
+
notes: row.notes ?? [],
|
|
31
|
+
completed_at: row.completed_at ?? undefined,
|
|
32
|
+
ownerType: owner_type ?? undefined,
|
|
33
|
+
ownerId: owner_id,
|
|
34
|
+
agentId: agent_id,
|
|
35
|
+
sourceEventId: source_event_id,
|
|
36
|
+
links: links ?? undefined
|
|
37
|
+
}),
|
|
38
|
+
toRow: ({ ownerType, ownerId, agentId, sourceEventId, links, ...row }) => ({
|
|
39
|
+
...row,
|
|
40
|
+
owner_type: ownerType ?? null,
|
|
41
|
+
owner_id: ownerId ?? null,
|
|
42
|
+
agent_id: agentId ?? null,
|
|
43
|
+
source_event_id: sourceEventId ?? null,
|
|
44
|
+
links: links ?? null
|
|
45
|
+
})
|
|
46
|
+
});
|
|
47
|
+
export const workboardWatchTransform = createStorageTransform({
|
|
48
|
+
id: 'workboard.watch',
|
|
49
|
+
manifestId: 'workboard.watch',
|
|
50
|
+
description: 'Workboard watch owner row to canonical record mapping',
|
|
51
|
+
fromRow: ({ owner_type, owner_id, ...row }) => ({
|
|
52
|
+
...row,
|
|
53
|
+
ownerType: owner_type ?? undefined,
|
|
54
|
+
ownerId: owner_id
|
|
55
|
+
}),
|
|
56
|
+
toRow: ({ ownerType, ownerId, ...row }) => ({
|
|
57
|
+
...row,
|
|
58
|
+
owner_type: ownerType ?? null,
|
|
59
|
+
owner_id: ownerId ?? null
|
|
60
|
+
})
|
|
61
|
+
});
|
|
62
|
+
export const workboardNotificationTransform = createStorageTransform({
|
|
63
|
+
id: 'workboard.notification',
|
|
64
|
+
manifestId: 'workboard.notification',
|
|
65
|
+
description: 'Workboard notification owner row to canonical record mapping',
|
|
66
|
+
fromRow: ({ owner_type, owner_id, agent_id, source_event_id, ...row }) => ({
|
|
67
|
+
...row,
|
|
68
|
+
type: row.type ?? undefined,
|
|
69
|
+
dismissed_at: row.dismissed_at ?? undefined,
|
|
70
|
+
source: row.source ?? undefined,
|
|
71
|
+
ownerType: owner_type ?? undefined,
|
|
72
|
+
ownerId: owner_id,
|
|
73
|
+
agentId: agent_id,
|
|
74
|
+
sourceEventId: source_event_id
|
|
75
|
+
}),
|
|
76
|
+
toRow: ({ ownerType, ownerId, agentId, sourceEventId, ...row }) => ({
|
|
77
|
+
...row,
|
|
78
|
+
owner_type: ownerType ?? null,
|
|
79
|
+
owner_id: ownerId ?? null,
|
|
80
|
+
agent_id: agentId ?? null,
|
|
81
|
+
source_event_id: sourceEventId ?? null
|
|
82
|
+
})
|
|
83
|
+
});
|
|
84
|
+
export const workboardNoteTransform = createStorageTransform({
|
|
85
|
+
id: 'workboard.note',
|
|
86
|
+
manifestId: 'workboard.note',
|
|
87
|
+
description: 'Workboard note owner row to canonical record mapping',
|
|
88
|
+
fromRow: ({ owner_type, owner_id, ...row }) => ({
|
|
89
|
+
...row,
|
|
90
|
+
ownerType: owner_type ?? undefined,
|
|
91
|
+
ownerId: owner_id
|
|
92
|
+
}),
|
|
93
|
+
toRow: ({ ownerType, ownerId, ...row }) => ({
|
|
94
|
+
...row,
|
|
95
|
+
owner_type: ownerType ?? null,
|
|
96
|
+
owner_id: ownerId ?? null
|
|
97
|
+
})
|
|
98
|
+
});
|
|
99
|
+
export const workboardRequestTransform = createStorageTransform({
|
|
100
|
+
id: 'workboard.request',
|
|
101
|
+
manifestId: 'workboard.request',
|
|
102
|
+
description: 'Workboard request owner row to canonical record mapping',
|
|
103
|
+
fromRow: ({ owner_type, owner_id, agent_id, source_event_id, links, ...row }) => ({
|
|
104
|
+
...row,
|
|
105
|
+
details: row.details ?? undefined,
|
|
106
|
+
response: row.response ?? undefined,
|
|
107
|
+
reviewed_by: row.reviewed_by ?? undefined,
|
|
108
|
+
reviewed_at: row.reviewed_at ?? undefined,
|
|
109
|
+
ownerType: owner_type ?? undefined,
|
|
110
|
+
ownerId: owner_id,
|
|
111
|
+
agentId: agent_id,
|
|
112
|
+
sourceEventId: source_event_id,
|
|
113
|
+
links: links ?? undefined
|
|
114
|
+
}),
|
|
115
|
+
toRow: ({ ownerType, ownerId, agentId, sourceEventId, links, ...row }) => ({
|
|
116
|
+
...row,
|
|
117
|
+
owner_type: ownerType ?? null,
|
|
118
|
+
owner_id: ownerId ?? null,
|
|
119
|
+
agent_id: agentId ?? null,
|
|
120
|
+
source_event_id: sourceEventId ?? null,
|
|
121
|
+
links: links ?? null
|
|
122
|
+
})
|
|
123
|
+
});
|
|
124
|
+
export const workboardOwnerStorageTransforms = [
|
|
125
|
+
workboardLaneTransform,
|
|
126
|
+
workboardTaskTransform,
|
|
127
|
+
workboardWatchTransform,
|
|
128
|
+
workboardNotificationTransform,
|
|
129
|
+
workboardNoteTransform,
|
|
130
|
+
workboardRequestTransform
|
|
131
|
+
];
|
|
132
|
+
//# sourceMappingURL=owner-transforms.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-transforms.js","sourceRoot":"","sources":["../../src/storage/owner-transforms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAiDxE,MAAM,CAAC,MAAM,sBAAsB,GAAG,sBAAsB,CAG1D;IACD,EAAE,EAAE,gBAAgB;IACpB,UAAU,EAAE,gBAAgB;IAC5B,WAAW,EAAE,sDAAsD;IACnE,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;QAC/C,GAAG,GAAG;QACN,UAAU,EAAE,GAAG,CAAC,UAAU,IAAI,SAAS;QACvC,UAAU,EAAE,GAAG,CAAC,UAAU,IAAI,SAAS;QACvC,SAAS,EAAE,UAAU,IAAI,SAAS;QAClC,OAAO,EAAE,QAAQ;KACjB,CAAC;IACF,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;QAC3C,GAAG,GAAG;QACN,UAAU,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI;QAClC,UAAU,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI;QAClC,UAAU,EAAE,SAAS,IAAI,IAAI;QAC7B,QAAQ,EAAE,OAAO,IAAI,IAAI;KACzB,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,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