@mastra/factory 0.28.0-alpha.0 → 0.28.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +528 -161
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +12 -6
- package/dist/auth.js.map +1 -1
- package/dist/boards/board-events.d.ts +54 -0
- package/dist/boards/board-events.d.ts.map +1 -0
- package/dist/boards/board-events.js +87 -0
- package/dist/boards/board-events.js.map +1 -0
- package/dist/boards/board-writes.d.ts +86 -0
- package/dist/boards/board-writes.d.ts.map +1 -0
- package/dist/boards/board-writes.js +266 -0
- package/dist/boards/board-writes.js.map +1 -0
- package/dist/boards/card-facts.d.ts +3 -1
- package/dist/boards/card-facts.d.ts.map +1 -1
- package/dist/boards/card-facts.js +30 -4
- package/dist/boards/card-facts.js.map +1 -1
- package/dist/boards/default-board.d.ts +7 -0
- package/dist/boards/default-board.d.ts.map +1 -0
- package/dist/boards/default-board.js +10 -0
- package/dist/boards/default-board.js.map +1 -0
- package/dist/boards/define-board.d.ts +56 -23
- package/dist/boards/define-board.d.ts.map +1 -1
- package/dist/boards/define-board.js +89 -45
- package/dist/boards/define-board.js.map +1 -1
- package/dist/boards/index.d.ts +6 -9
- package/dist/boards/index.d.ts.map +1 -1
- package/dist/boards/index.js +6 -20
- package/dist/boards/intake-routing.d.ts +55 -11
- package/dist/boards/intake-routing.d.ts.map +1 -1
- package/dist/boards/intake-routing.js +109 -19
- package/dist/boards/intake-routing.js.map +1 -1
- package/dist/boards/legacy-plan-role.d.ts.map +1 -1
- package/dist/boards/legacy-plan-role.js +14 -5
- package/dist/boards/legacy-plan-role.js.map +1 -1
- package/dist/boards/phase-automation.d.ts +7 -0
- package/dist/boards/phase-automation.d.ts.map +1 -1
- package/dist/boards/phase-automation.js +19 -3
- package/dist/boards/phase-automation.js.map +1 -1
- package/dist/boards/phase-runner.d.ts +18 -10
- package/dist/boards/phase-runner.d.ts.map +1 -1
- package/dist/boards/phase-runner.js +39 -34
- package/dist/boards/phase-runner.js.map +1 -1
- package/dist/boards/project-boards.d.ts +65 -8
- package/dist/boards/project-boards.d.ts.map +1 -1
- package/dist/boards/project-boards.js +217 -26
- package/dist/boards/project-boards.js.map +1 -1
- package/dist/boards/registry.d.ts +7 -1
- package/dist/boards/registry.d.ts.map +1 -1
- package/dist/boards/registry.js +19 -4
- package/dist/boards/registry.js.map +1 -1
- package/dist/boards/relocate.d.ts +1 -1
- package/dist/boards/relocate.d.ts.map +1 -1
- package/dist/boards/relocate.js +3 -2
- package/dist/boards/relocate.js.map +1 -1
- package/dist/boards/review.d.ts +5 -2
- package/dist/boards/review.d.ts.map +1 -1
- package/dist/boards/review.js +12 -11
- package/dist/boards/review.js.map +1 -1
- package/dist/boards/semantics.d.ts +160 -20
- package/dist/boards/semantics.d.ts.map +1 -1
- package/dist/boards/semantics.js +255 -23
- package/dist/boards/semantics.js.map +1 -1
- package/dist/boards/stored-board.d.ts +73 -1
- package/dist/boards/stored-board.d.ts.map +1 -1
- package/dist/boards/stored-board.js +157 -11
- package/dist/boards/stored-board.js.map +1 -1
- package/dist/boards/work-migrations.d.ts +43 -0
- package/dist/boards/work-migrations.d.ts.map +1 -0
- package/dist/boards/work-migrations.js +353 -0
- package/dist/boards/work-migrations.js.map +1 -0
- package/dist/boards/work-routes.d.ts +58 -0
- package/dist/boards/work-routes.d.ts.map +1 -0
- package/dist/boards/work-routes.js +270 -0
- package/dist/boards/work-routes.js.map +1 -0
- package/dist/boards/work-seeds.d.ts +9 -0
- package/dist/boards/work-seeds.d.ts.map +1 -0
- package/dist/boards/work-seeds.js +56 -0
- package/dist/boards/work-seeds.js.map +1 -0
- package/dist/boards/work.d.ts +8 -19
- package/dist/boards/work.d.ts.map +1 -1
- package/dist/boards/work.js +33 -281
- package/dist/boards/work.js.map +1 -1
- package/dist/environment/build-runner.d.ts.map +1 -1
- package/dist/environment/build-runner.js +2 -2
- package/dist/environment/build-runner.js.map +1 -1
- package/dist/environment/build-workflow.d.ts.map +1 -1
- package/dist/environment/build-workflow.js +6 -5
- package/dist/environment/build-workflow.js.map +1 -1
- package/dist/environment/build.d.ts +15 -2
- package/dist/environment/build.d.ts.map +1 -1
- package/dist/environment/build.js +32 -9
- package/dist/environment/build.js.map +1 -1
- package/dist/factory.d.ts +90 -9
- package/dist/factory.d.ts.map +1 -1
- package/dist/factory.js +334 -141
- package/dist/factory.js.map +1 -1
- package/dist/feed-events.d.ts +4 -4
- package/dist/feed-events.d.ts.map +1 -1
- package/dist/feed-events.js +6 -6
- package/dist/feed-events.js.map +1 -1
- package/dist/index.d.ts +10 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -4
- package/dist/integrations/base.d.ts +12 -13
- package/dist/integrations/base.d.ts.map +1 -1
- package/dist/integrations/closing-references.d.ts +15 -0
- package/dist/integrations/closing-references.d.ts.map +1 -0
- package/dist/integrations/closing-references.js +69 -0
- package/dist/integrations/closing-references.js.map +1 -0
- package/dist/integrations/github/acceptance-labels.d.ts +4 -0
- package/dist/integrations/github/acceptance-labels.d.ts.map +1 -1
- package/dist/integrations/github/acceptance-labels.js +1 -1
- package/dist/integrations/github/acceptance-labels.js.map +1 -1
- package/dist/integrations/github/default-rules.d.ts +17 -75
- package/dist/integrations/github/default-rules.d.ts.map +1 -1
- package/dist/integrations/github/default-rules.js +134 -77
- package/dist/integrations/github/default-rules.js.map +1 -1
- package/dist/integrations/github/integration.d.ts.map +1 -1
- package/dist/integrations/github/integration.js +7 -3
- package/dist/integrations/github/integration.js.map +1 -1
- package/dist/integrations/github/issue-reconciler.d.ts.map +1 -1
- package/dist/integrations/github/issue-reconciler.js +21 -3
- package/dist/integrations/github/issue-reconciler.js.map +1 -1
- package/dist/integrations/github/provenance.js +1 -1
- package/dist/integrations/github/provenance.js.map +1 -1
- package/dist/integrations/github/pull-request-source.d.ts +8 -0
- package/dist/integrations/github/pull-request-source.d.ts.map +1 -0
- package/dist/integrations/github/pull-request-source.js +17 -0
- package/dist/integrations/github/pull-request-source.js.map +1 -0
- package/dist/integrations/github/reconcile-worker.d.ts +5 -1
- package/dist/integrations/github/reconcile-worker.d.ts.map +1 -1
- package/dist/integrations/github/reconcile-worker.js +39 -6
- package/dist/integrations/github/reconcile-worker.js.map +1 -1
- package/dist/integrations/github/review-status-comment.d.ts +61 -0
- package/dist/integrations/github/review-status-comment.d.ts.map +1 -0
- package/dist/integrations/github/review-status-comment.js +217 -0
- package/dist/integrations/github/review-status-comment.js.map +1 -0
- package/dist/integrations/github/review-status-reporter.d.ts +42 -0
- package/dist/integrations/github/review-status-reporter.d.ts.map +1 -0
- package/dist/integrations/github/review-status-reporter.js +104 -0
- package/dist/integrations/github/review-status-reporter.js.map +1 -0
- package/dist/integrations/github/review-status.d.ts +28 -0
- package/dist/integrations/github/review-status.d.ts.map +1 -0
- package/dist/integrations/github/review-status.js +95 -0
- package/dist/integrations/github/review-status.js.map +1 -0
- package/dist/integrations/github/routes.d.ts +4 -3
- package/dist/integrations/github/routes.d.ts.map +1 -1
- package/dist/integrations/github/routes.js +11 -91
- package/dist/integrations/github/routes.js.map +1 -1
- package/dist/integrations/github/rules.d.ts +92 -8
- package/dist/integrations/github/rules.d.ts.map +1 -1
- package/dist/integrations/github/rules.js +498 -103
- package/dist/integrations/github/rules.js.map +1 -1
- package/dist/integrations/github/sandbox.d.ts +10 -2
- package/dist/integrations/github/sandbox.d.ts.map +1 -1
- package/dist/integrations/github/sandbox.js +20 -4
- package/dist/integrations/github/sandbox.js.map +1 -1
- package/dist/integrations/github/session-subscriptions.js +2 -2
- package/dist/integrations/github/session-subscriptions.js.map +1 -1
- package/dist/integrations/github/token-refresh.d.ts +2 -1
- package/dist/integrations/github/token-refresh.d.ts.map +1 -1
- package/dist/integrations/github/token-refresh.js.map +1 -1
- package/dist/integrations/gitlab/agent-tools.js +1 -1
- package/dist/integrations/gitlab/default-rules.d.ts +96 -39
- package/dist/integrations/gitlab/default-rules.d.ts.map +1 -1
- package/dist/integrations/gitlab/default-rules.js +109 -46
- package/dist/integrations/gitlab/default-rules.js.map +1 -1
- package/dist/integrations/gitlab/issue-reconciler.d.ts.map +1 -1
- package/dist/integrations/gitlab/issue-reconciler.js +2 -1
- package/dist/integrations/gitlab/issue-reconciler.js.map +1 -1
- package/dist/integrations/gitlab/merge-request-reconciler.d.ts.map +1 -1
- package/dist/integrations/gitlab/merge-request-reconciler.js +12 -5
- package/dist/integrations/gitlab/merge-request-reconciler.js.map +1 -1
- package/dist/integrations/gitlab/routes.d.ts.map +1 -1
- package/dist/integrations/gitlab/routes.js +2 -6
- package/dist/integrations/gitlab/routes.js.map +1 -1
- package/dist/integrations/gitlab/rules.d.ts +22 -1
- package/dist/integrations/gitlab/rules.d.ts.map +1 -1
- package/dist/integrations/gitlab/rules.js +188 -34
- package/dist/integrations/gitlab/rules.js.map +1 -1
- package/dist/integrations/gitlab/session-subscriptions.js +1 -1
- package/dist/integrations/incidentio/agent-tools.js +6 -6
- package/dist/integrations/incidentio/agent-tools.js.map +1 -1
- package/dist/integrations/incidentio/default-rules.d.ts +1 -9
- package/dist/integrations/incidentio/default-rules.d.ts.map +1 -1
- package/dist/integrations/incidentio/default-rules.js +6 -7
- package/dist/integrations/incidentio/default-rules.js.map +1 -1
- package/dist/integrations/incidentio/issue-reconciler.d.ts.map +1 -1
- package/dist/integrations/incidentio/issue-reconciler.js +2 -1
- package/dist/integrations/incidentio/issue-reconciler.js.map +1 -1
- package/dist/integrations/incidentio/routes.d.ts +2 -2
- package/dist/integrations/incidentio/routes.d.ts.map +1 -1
- package/dist/integrations/incidentio/routes.js +11 -17
- package/dist/integrations/incidentio/routes.js.map +1 -1
- package/dist/integrations/incidentio/rules.d.ts +11 -4
- package/dist/integrations/incidentio/rules.d.ts.map +1 -1
- package/dist/integrations/incidentio/rules.js +52 -16
- package/dist/integrations/incidentio/rules.js.map +1 -1
- package/dist/integrations/issue-reconciler.js +1 -1
- package/dist/integrations/issue-reconciler.js.map +1 -1
- package/dist/integrations/jira/agent-tools.js +1 -1
- package/dist/integrations/jira/binding-scope.d.ts +5 -6
- package/dist/integrations/jira/binding-scope.d.ts.map +1 -1
- package/dist/integrations/jira/binding-scope.js +9 -11
- package/dist/integrations/jira/binding-scope.js.map +1 -1
- package/dist/integrations/jira/default-rules.d.ts +1 -9
- package/dist/integrations/jira/default-rules.d.ts.map +1 -1
- package/dist/integrations/jira/default-rules.js +6 -7
- package/dist/integrations/jira/default-rules.js.map +1 -1
- package/dist/integrations/jira/issue-reconciler.d.ts.map +1 -1
- package/dist/integrations/jira/issue-reconciler.js +2 -1
- package/dist/integrations/jira/issue-reconciler.js.map +1 -1
- package/dist/integrations/jira/routes.d.ts.map +1 -1
- package/dist/integrations/jira/routes.js +4 -9
- package/dist/integrations/jira/routes.js.map +1 -1
- package/dist/integrations/jira/rules.d.ts +11 -4
- package/dist/integrations/jira/rules.d.ts.map +1 -1
- package/dist/integrations/jira/rules.js +52 -16
- package/dist/integrations/jira/rules.js.map +1 -1
- package/dist/integrations/linear/agent-tools.d.ts +9 -1
- package/dist/integrations/linear/agent-tools.d.ts.map +1 -1
- package/dist/integrations/linear/agent-tools.js +81 -3
- package/dist/integrations/linear/agent-tools.js.map +1 -1
- package/dist/integrations/linear/default-rules.d.ts +1 -9
- package/dist/integrations/linear/default-rules.d.ts.map +1 -1
- package/dist/integrations/linear/default-rules.js +6 -7
- package/dist/integrations/linear/default-rules.js.map +1 -1
- package/dist/integrations/linear/integration.d.ts +4 -1
- package/dist/integrations/linear/integration.d.ts.map +1 -1
- package/dist/integrations/linear/integration.js +21 -1
- package/dist/integrations/linear/integration.js.map +1 -1
- package/dist/integrations/linear/issue-reconciler.d.ts.map +1 -1
- package/dist/integrations/linear/issue-reconciler.js +2 -1
- package/dist/integrations/linear/issue-reconciler.js.map +1 -1
- package/dist/integrations/linear/routes.d.ts +2 -1
- package/dist/integrations/linear/routes.d.ts.map +1 -1
- package/dist/integrations/linear/routes.js +16 -21
- package/dist/integrations/linear/routes.js.map +1 -1
- package/dist/integrations/linear/rules.d.ts +11 -4
- package/dist/integrations/linear/rules.d.ts.map +1 -1
- package/dist/integrations/linear/rules.js +50 -17
- package/dist/integrations/linear/rules.js.map +1 -1
- package/dist/integrations/platform/connect/routes.d.ts +7 -1
- package/dist/integrations/platform/connect/routes.d.ts.map +1 -1
- package/dist/integrations/platform/connect/routes.js +42 -5
- package/dist/integrations/platform/connect/routes.js.map +1 -1
- package/dist/integrations/platform/connect/session-tools.d.ts +12 -0
- package/dist/integrations/platform/connect/session-tools.d.ts.map +1 -0
- package/dist/integrations/platform/connect/session-tools.js +35 -0
- package/dist/integrations/platform/connect/session-tools.js.map +1 -0
- package/dist/integrations/platform/github/event-worker.d.ts +4 -1
- package/dist/integrations/platform/github/event-worker.d.ts.map +1 -1
- package/dist/integrations/platform/github/event-worker.js +39 -3
- package/dist/integrations/platform/github/event-worker.js.map +1 -1
- package/dist/integrations/platform/github/integration.d.ts +8 -0
- package/dist/integrations/platform/github/integration.d.ts.map +1 -1
- package/dist/integrations/platform/github/integration.js +132 -90
- package/dist/integrations/platform/github/integration.js.map +1 -1
- package/dist/integrations/platform/jira/agent-tools.js +1 -1
- package/dist/integrations/platform/jira/routes.d.ts.map +1 -1
- package/dist/integrations/platform/jira/routes.js +4 -9
- package/dist/integrations/platform/jira/routes.js.map +1 -1
- package/dist/integrations/platform/linear/event-worker.d.ts +1 -1
- package/dist/integrations/platform/linear/event-worker.d.ts.map +1 -1
- package/dist/integrations/platform/linear/event-worker.js +10 -1
- package/dist/integrations/platform/linear/event-worker.js.map +1 -1
- package/dist/integrations/platform/linear/integration.d.ts +1 -1
- package/dist/integrations/platform/linear/integration.d.ts.map +1 -1
- package/dist/integrations/platform/linear/integration.js +7 -8
- package/dist/integrations/platform/linear/integration.js.map +1 -1
- package/dist/integrations/slack/channel-reply-processor.d.ts +2 -0
- package/dist/integrations/slack/channel-reply-processor.d.ts.map +1 -1
- package/dist/integrations/slack/channel-reply-processor.js +6 -1
- package/dist/integrations/slack/channel-reply-processor.js.map +1 -1
- package/dist/integrations/slack/chat-tools.js +1 -1
- package/dist/integrations/slack/connect-route.d.ts.map +1 -1
- package/dist/integrations/slack/connect-route.js +1 -1
- package/dist/integrations/slack/connect-route.js.map +1 -1
- package/dist/integrations/slack/integration.d.ts +0 -2
- package/dist/integrations/slack/integration.d.ts.map +1 -1
- package/dist/integrations/slack/integration.js +2 -5
- package/dist/integrations/slack/integration.js.map +1 -1
- package/dist/integrations/slack/reply-tool.js +1 -1
- package/dist/integrations/slack/run-error-card.js +1 -0
- package/dist/integrations/slack/run-error-card.js.map +1 -1
- package/dist/integrations/slack/share-file-tool.js +1 -1
- package/dist/integrations/slack/slack.d.ts +23 -30
- package/dist/integrations/slack/slack.d.ts.map +1 -1
- package/dist/integrations/slack/slack.js +131 -125
- package/dist/integrations/slack/slack.js.map +1 -1
- package/dist/integrations/slack/voice-clips.d.ts +32 -0
- package/dist/integrations/slack/voice-clips.d.ts.map +1 -0
- package/dist/integrations/slack/voice-clips.js +201 -0
- package/dist/integrations/slack/voice-clips.js.map +1 -0
- package/dist/integrations/workos/integration.d.ts.map +1 -1
- package/dist/integrations/workos/integration.js +1 -3
- package/dist/integrations/workos/integration.js.map +1 -1
- package/dist/links.d.ts +1 -2
- package/dist/links.d.ts.map +1 -1
- package/dist/links.js +4 -4
- package/dist/links.js.map +1 -1
- package/dist/mcp/routes.js +2 -2
- package/dist/mcp/routes.js.map +1 -1
- package/dist/packages/_internals/workspace/dist/index.js +1 -1
- package/dist/provider-display-name.d.ts.map +1 -1
- package/dist/provider-display-name.js +1 -0
- package/dist/provider-display-name.js.map +1 -1
- package/dist/routes/attention-parked.d.ts +1 -0
- package/dist/routes/attention-parked.d.ts.map +1 -1
- package/dist/routes/attention-parked.js +2 -2
- package/dist/routes/attention-parked.js.map +1 -1
- package/dist/routes/attention-providers.d.ts +0 -25
- package/dist/routes/attention-providers.d.ts.map +1 -1
- package/dist/routes/attention-providers.js +3 -151
- package/dist/routes/attention-providers.js.map +1 -1
- package/dist/routes/attention.d.ts +0 -2
- package/dist/routes/attention.d.ts.map +1 -1
- package/dist/routes/attention.js +2 -13
- package/dist/routes/attention.js.map +1 -1
- package/dist/routes/automation-runs.d.ts +5 -1
- package/dist/routes/automation-runs.d.ts.map +1 -1
- package/dist/routes/automation-runs.js +16 -4
- package/dist/routes/automation-runs.js.map +1 -1
- package/dist/routes/board-snapshot.d.ts +15 -0
- package/dist/routes/board-snapshot.d.ts.map +1 -0
- package/dist/routes/board-snapshot.js +41 -0
- package/dist/routes/board-snapshot.js.map +1 -0
- package/dist/routes/boards.d.ts +9 -7
- package/dist/routes/boards.d.ts.map +1 -1
- package/dist/routes/boards.js +59 -145
- package/dist/routes/boards.js.map +1 -1
- package/dist/routes/config.d.ts +11 -1
- package/dist/routes/config.d.ts.map +1 -1
- package/dist/routes/config.js +122 -29
- package/dist/routes/config.js.map +1 -1
- package/dist/routes/contracts.d.ts +366 -34
- package/dist/routes/contracts.d.ts.map +1 -1
- package/dist/routes/contracts.js +179 -51
- package/dist/routes/contracts.js.map +1 -1
- package/dist/routes/feed-events.d.ts +15 -0
- package/dist/routes/feed-events.d.ts.map +1 -0
- package/dist/routes/feed-events.js +68 -0
- package/dist/routes/feed-events.js.map +1 -0
- package/dist/routes/fs.d.ts +4 -0
- package/dist/routes/fs.d.ts.map +1 -1
- package/dist/routes/fs.js +9 -8
- package/dist/routes/fs.js.map +1 -1
- package/dist/routes/intake-routes.d.ts.map +1 -1
- package/dist/routes/intake-routes.js +25 -13
- package/dist/routes/intake-routes.js.map +1 -1
- package/dist/routes/intake.d.ts +0 -23
- package/dist/routes/intake.d.ts.map +1 -1
- package/dist/routes/intake.js +16 -314
- package/dist/routes/intake.js.map +1 -1
- package/dist/routes/knowledge.d.ts.map +1 -1
- package/dist/routes/knowledge.js +2 -5
- package/dist/routes/knowledge.js.map +1 -1
- package/dist/routes/mastra-gateway.d.ts +19 -0
- package/dist/routes/mastra-gateway.d.ts.map +1 -0
- package/dist/routes/mastra-gateway.js +120 -0
- package/dist/routes/mastra-gateway.js.map +1 -0
- package/dist/routes/oauth.d.ts.map +1 -1
- package/dist/routes/oauth.js +1 -4
- package/dist/routes/oauth.js.map +1 -1
- package/dist/routes/projects.d.ts +3 -0
- package/dist/routes/projects.d.ts.map +1 -1
- package/dist/routes/projects.js +80 -61
- package/dist/routes/projects.js.map +1 -1
- package/dist/routes/provider-credentials.d.ts +6 -1
- package/dist/routes/provider-credentials.d.ts.map +1 -1
- package/dist/routes/provider-credentials.js +44 -3
- package/dist/routes/provider-credentials.js.map +1 -1
- package/dist/routes/route.d.ts +8 -0
- package/dist/routes/route.d.ts.map +1 -1
- package/dist/routes/route.js +5 -1
- package/dist/routes/route.js.map +1 -1
- package/dist/routes/running-packages.d.ts +13 -0
- package/dist/routes/running-packages.d.ts.map +1 -0
- package/dist/routes/running-packages.js +45 -0
- package/dist/routes/running-packages.js.map +1 -0
- package/dist/routes/sandbox-envs.d.ts +26 -0
- package/dist/routes/sandbox-envs.d.ts.map +1 -0
- package/dist/routes/sandbox-envs.js +180 -0
- package/dist/routes/sandbox-envs.js.map +1 -0
- package/dist/routes/session-access.d.ts.map +1 -1
- package/dist/routes/session-access.js +12 -3
- package/dist/routes/session-access.js.map +1 -1
- package/dist/routes/skills.d.ts.map +1 -1
- package/dist/routes/skills.js +1 -4
- package/dist/routes/skills.js.map +1 -1
- package/dist/routes/source-control-sessions.d.ts.map +1 -1
- package/dist/routes/source-control-sessions.js +1 -3
- package/dist/routes/source-control-sessions.js.map +1 -1
- package/dist/routes/source-control-settings.d.ts.map +1 -1
- package/dist/routes/source-control-settings.js +3 -2
- package/dist/routes/source-control-settings.js.map +1 -1
- package/dist/routes/surface.d.ts +13 -9
- package/dist/routes/surface.d.ts.map +1 -1
- package/dist/routes/surface.js +116 -43
- package/dist/routes/surface.js.map +1 -1
- package/dist/routes/tenant-credentials.d.ts.map +1 -1
- package/dist/routes/tenant-credentials.js +5 -1
- package/dist/routes/tenant-credentials.js.map +1 -1
- package/dist/routes/voice.d.ts +48 -0
- package/dist/routes/voice.d.ts.map +1 -0
- package/dist/routes/voice.js +248 -0
- package/dist/routes/voice.js.map +1 -0
- package/dist/routes/work-items.d.ts +0 -3
- package/dist/routes/work-items.d.ts.map +1 -1
- package/dist/routes/work-items.js +39 -14
- package/dist/routes/work-items.js.map +1 -1
- package/dist/rules/binding-context.d.ts.map +1 -1
- package/dist/rules/binding-context.js +1 -0
- package/dist/rules/binding-context.js.map +1 -1
- package/dist/rules/decision-applicability.js +1 -1
- package/dist/rules/dispatcher.d.ts +28 -9
- package/dist/rules/dispatcher.d.ts.map +1 -1
- package/dist/rules/dispatcher.js +734 -143
- package/dist/rules/dispatcher.js.map +1 -1
- package/dist/rules/event-rules.d.ts +71 -1
- package/dist/rules/event-rules.d.ts.map +1 -1
- package/dist/rules/event-rules.js +94 -1
- package/dist/rules/event-rules.js.map +1 -1
- package/dist/rules/index.d.ts +2 -4
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/index.js +2 -3
- package/dist/rules/phase-goal.d.ts +54 -0
- package/dist/rules/phase-goal.d.ts.map +1 -0
- package/dist/rules/phase-goal.js +70 -0
- package/dist/rules/phase-goal.js.map +1 -0
- package/dist/rules/phase-tools.d.ts +11 -0
- package/dist/rules/phase-tools.d.ts.map +1 -0
- package/dist/rules/phase-tools.js +19 -0
- package/dist/rules/phase-tools.js.map +1 -0
- package/dist/rules/processor.d.ts.map +1 -1
- package/dist/rules/processor.js +116 -15
- package/dist/rules/processor.js.map +1 -1
- package/dist/rules/review-source-tool.d.ts +4 -1
- package/dist/rules/review-source-tool.d.ts.map +1 -1
- package/dist/rules/review-source-tool.js +24 -4
- package/dist/rules/review-source-tool.js.map +1 -1
- package/dist/rules/rule-group.d.ts +1 -1
- package/dist/rules/rule-group.d.ts.map +1 -1
- package/dist/rules/rule-group.js +15 -6
- package/dist/rules/rule-group.js.map +1 -1
- package/dist/rules/start-coordinator.d.ts +5 -1
- package/dist/rules/start-coordinator.d.ts.map +1 -1
- package/dist/rules/start-coordinator.js +9 -3
- package/dist/rules/start-coordinator.js.map +1 -1
- package/dist/rules/tools.d.ts.map +1 -1
- package/dist/rules/tools.js +39 -28
- package/dist/rules/tools.js.map +1 -1
- package/dist/rules/transition-service.d.ts +10 -7
- package/dist/rules/transition-service.d.ts.map +1 -1
- package/dist/rules/transition-service.js +63 -55
- package/dist/rules/transition-service.js.map +1 -1
- package/dist/rules/types.d.ts +140 -39
- package/dist/rules/types.d.ts.map +1 -1
- package/dist/rules/types.js +7 -41
- package/dist/rules/types.js.map +1 -1
- package/dist/rules/validation.d.ts.map +1 -1
- package/dist/rules/validation.js +89 -4
- package/dist/rules/validation.js.map +1 -1
- package/dist/run-error.d.ts +1 -1
- package/dist/run-error.d.ts.map +1 -1
- package/dist/run-error.js +38 -5
- package/dist/run-error.js.map +1 -1
- package/dist/sandbox/sandbox-env-cache.d.ts +33 -0
- package/dist/sandbox/sandbox-env-cache.d.ts.map +1 -0
- package/dist/sandbox/sandbox-env-cache.js +140 -0
- package/dist/sandbox/sandbox-env-cache.js.map +1 -0
- package/dist/sandbox/sandbox-env.d.ts +77 -0
- package/dist/sandbox/sandbox-env.d.ts.map +1 -0
- package/dist/sandbox/sandbox-env.js +130 -0
- package/dist/sandbox/sandbox-env.js.map +1 -0
- package/dist/secret-encryption.d.ts +21 -0
- package/dist/secret-encryption.d.ts.map +1 -1
- package/dist/secret-encryption.js +31 -4
- package/dist/secret-encryption.js.map +1 -1
- package/dist/session/credential-policy.d.ts +2 -2
- package/dist/session/credential-policy.d.ts.map +1 -1
- package/dist/session/credential-policy.js +3 -3
- package/dist/session/credential-policy.js.map +1 -1
- package/dist/session/default-model-hydration.d.ts +2 -2
- package/dist/session/default-model-hydration.d.ts.map +1 -1
- package/dist/session/default-model-hydration.js +4 -4
- package/dist/session/default-model-hydration.js.map +1 -1
- package/dist/session/live-sessions.d.ts +11 -4
- package/dist/session/live-sessions.d.ts.map +1 -1
- package/dist/session/live-sessions.js +31 -10
- package/dist/session/live-sessions.js.map +1 -1
- package/dist/session/self-review-gate.d.ts +6 -4
- package/dist/session/self-review-gate.d.ts.map +1 -1
- package/dist/session/self-review-gate.js +9 -12
- package/dist/session/self-review-gate.js.map +1 -1
- package/dist/session/session-threads.d.ts +10 -3
- package/dist/session/session-threads.d.ts.map +1 -1
- package/dist/session/session-threads.js +11 -1
- package/dist/session/session-threads.js.map +1 -1
- package/dist/session/source-control-tools.d.ts +39 -13
- package/dist/session/source-control-tools.d.ts.map +1 -1
- package/dist/session/source-control-tools.js +55 -61
- package/dist/session/source-control-tools.js.map +1 -1
- package/dist/session/work-item-state-processor.d.ts +24 -0
- package/dist/session/work-item-state-processor.d.ts.map +1 -0
- package/dist/session/work-item-state-processor.js +275 -0
- package/dist/session/work-item-state-processor.js.map +1 -0
- package/dist/skills/catalog.js +1 -1
- package/dist/storage/domains/audit/actions.d.ts +3 -2
- package/dist/storage/domains/audit/actions.d.ts.map +1 -1
- package/dist/storage/domains/audit/actions.js +7 -5
- package/dist/storage/domains/audit/actions.js.map +1 -1
- package/dist/storage/domains/audit/domain.d.ts.map +1 -1
- package/dist/storage/domains/audit/domain.js +1 -3
- package/dist/storage/domains/audit/domain.js.map +1 -1
- package/dist/storage/domains/boards/base.d.ts +107 -23
- package/dist/storage/domains/boards/base.d.ts.map +1 -1
- package/dist/storage/domains/boards/base.js +201 -65
- package/dist/storage/domains/boards/base.js.map +1 -1
- package/dist/storage/domains/boards/schemas.d.ts.map +1 -1
- package/dist/storage/domains/boards/schemas.js +25 -1
- package/dist/storage/domains/boards/schemas.js.map +1 -1
- package/dist/storage/domains/channel-identity/base.d.ts +0 -4
- package/dist/storage/domains/channel-identity/base.d.ts.map +1 -1
- package/dist/storage/domains/channel-identity/base.js +0 -7
- package/dist/storage/domains/channel-identity/base.js.map +1 -1
- package/dist/storage/domains/intake/base.d.ts +5 -45
- package/dist/storage/domains/intake/base.d.ts.map +1 -1
- package/dist/storage/domains/intake/base.js +11 -89
- package/dist/storage/domains/intake/base.js.map +1 -1
- package/dist/storage/domains/memory-settings/base.d.ts +0 -8
- package/dist/storage/domains/memory-settings/base.d.ts.map +1 -1
- package/dist/storage/domains/memory-settings/base.js +1 -11
- package/dist/storage/domains/memory-settings/base.js.map +1 -1
- package/dist/storage/domains/projects/base.d.ts +23 -9
- package/dist/storage/domains/projects/base.d.ts.map +1 -1
- package/dist/storage/domains/projects/base.js +24 -8
- package/dist/storage/domains/projects/base.js.map +1 -1
- package/dist/storage/domains/sandbox-envs/base.d.ts +70 -0
- package/dist/storage/domains/sandbox-envs/base.d.ts.map +1 -0
- package/dist/storage/domains/sandbox-envs/base.js +227 -0
- package/dist/storage/domains/sandbox-envs/base.js.map +1 -0
- package/dist/storage/domains/voice-settings/base.d.ts +31 -0
- package/dist/storage/domains/voice-settings/base.d.ts.map +1 -0
- package/dist/storage/domains/voice-settings/base.js +81 -0
- package/dist/storage/domains/voice-settings/base.js.map +1 -0
- package/dist/storage/domains/work-items/base.d.ts +93 -24
- package/dist/storage/domains/work-items/base.d.ts.map +1 -1
- package/dist/storage/domains/work-items/base.js +413 -188
- package/dist/storage/domains/work-items/base.js.map +1 -1
- package/dist/storage/domains/work-items/board-version.d.ts +6 -2
- package/dist/storage/domains/work-items/board-version.d.ts.map +1 -1
- package/dist/storage/domains/work-items/board-version.js +20 -9
- package/dist/storage/domains/work-items/board-version.js.map +1 -1
- package/dist/storage/domains/work-items/cards.d.ts +33 -5
- package/dist/storage/domains/work-items/cards.d.ts.map +1 -1
- package/dist/storage/domains/work-items/cards.js +208 -25
- package/dist/storage/domains/work-items/cards.js.map +1 -1
- package/dist/storage/domains/work-items/legacy-review.d.ts +63 -0
- package/dist/storage/domains/work-items/legacy-review.d.ts.map +1 -0
- package/dist/storage/domains/work-items/legacy-review.js +109 -0
- package/dist/storage/domains/work-items/legacy-review.js.map +1 -0
- package/dist/storage/domains/work-items/metrics.d.ts +12 -4
- package/dist/storage/domains/work-items/metrics.d.ts.map +1 -1
- package/dist/storage/domains/work-items/metrics.js +14 -32
- package/dist/storage/domains/work-items/metrics.js.map +1 -1
- package/dist/storage/domains/work-items/work-item-schema.d.ts +6 -2
- package/dist/storage/domains/work-items/work-item-schema.d.ts.map +1 -1
- package/dist/storage/domains/work-items/work-item-schema.js +83 -27
- package/dist/storage/domains/work-items/work-item-schema.js.map +1 -1
- package/dist/timing.d.ts +1 -0
- package/dist/timing.d.ts.map +1 -1
- package/dist/timing.js +1 -1
- package/dist/timing.js.map +1 -1
- package/dist/tools/approval-tools.d.ts.map +1 -1
- package/dist/tools/approval-tools.js +28 -9
- package/dist/tools/approval-tools.js.map +1 -1
- package/dist/tools/index.d.ts +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/messaging-tools.d.ts +3 -0
- package/dist/tools/messaging-tools.d.ts.map +1 -1
- package/dist/tools/messaging-tools.js +2 -1
- package/dist/tools/messaging-tools.js.map +1 -1
- package/dist/tools/read-tools.d.ts +10 -6
- package/dist/tools/read-tools.d.ts.map +1 -1
- package/dist/tools/read-tools.js +89 -39
- package/dist/tools/read-tools.js.map +1 -1
- package/dist/tools/reports.d.ts +1 -0
- package/dist/tools/reports.d.ts.map +1 -1
- package/dist/tools/reports.js +2 -1
- package/dist/tools/reports.js.map +1 -1
- package/dist/tools/run-watch.d.ts +1 -1
- package/dist/tools/run-watch.d.ts.map +1 -1
- package/dist/tools/run-watch.js +1 -0
- package/dist/tools/run-watch.js.map +1 -1
- package/dist/tools/sandbox-tools.js +1 -1
- package/dist/tools/session-tools.d.ts +1 -1
- package/dist/tools/session-tools.d.ts.map +1 -1
- package/dist/tools/session-tools.js +1 -1
- package/dist/tools/session-tools.js.map +1 -1
- package/dist/tools/sessions-state-processor.d.ts +3 -1
- package/dist/tools/sessions-state-processor.d.ts.map +1 -1
- package/dist/tools/sessions-state-processor.js +13 -4
- package/dist/tools/sessions-state-processor.js.map +1 -1
- package/dist/tools/side-sessions.d.ts +2 -0
- package/dist/tools/side-sessions.d.ts.map +1 -1
- package/dist/tools/side-sessions.js +2 -1
- package/dist/tools/side-sessions.js.map +1 -1
- package/dist/tools/work-item-tools.d.ts +0 -3
- package/dist/tools/work-item-tools.d.ts.map +1 -1
- package/dist/tools/work-item-tools.js +10 -20
- package/dist/tools/work-item-tools.js.map +1 -1
- package/dist/voice/rate-limit.d.ts +13 -0
- package/dist/voice/rate-limit.d.ts.map +1 -0
- package/dist/voice/rate-limit.js +36 -0
- package/dist/voice/rate-limit.js.map +1 -0
- package/dist/voice/realtime.d.ts +13 -0
- package/dist/voice/realtime.d.ts.map +1 -0
- package/dist/voice/realtime.js +56 -0
- package/dist/voice/realtime.js.map +1 -0
- package/dist/voice/transcription.d.ts +51 -0
- package/dist/voice/transcription.d.ts.map +1 -0
- package/dist/voice/transcription.js +112 -0
- package/dist/voice/transcription.js.map +1 -0
- package/dist/work-item-branch.d.ts +13 -0
- package/dist/work-item-branch.d.ts.map +1 -1
- package/dist/work-item-branch.js +16 -1
- package/dist/work-item-branch.js.map +1 -1
- package/dist/work-items/create-work-item.d.ts +6 -0
- package/dist/work-items/create-work-item.d.ts.map +1 -1
- package/dist/work-items/create-work-item.js +28 -3
- package/dist/work-items/create-work-item.js.map +1 -1
- package/dist/work-items/description-context.d.ts +5 -0
- package/dist/work-items/description-context.d.ts.map +1 -0
- package/dist/work-items/description-context.js +17 -0
- package/dist/work-items/description-context.js.map +1 -0
- package/dist/work-items/providers/base.d.ts +4 -1
- package/dist/work-items/providers/base.d.ts.map +1 -1
- package/dist/work-items/providers/base.js +6 -1
- package/dist/work-items/providers/base.js.map +1 -1
- package/dist/work-items/providers/github.d.ts.map +1 -1
- package/dist/work-items/providers/github.js +2 -1
- package/dist/work-items/providers/github.js.map +1 -1
- package/dist/work-items/providers/gitlab.d.ts.map +1 -1
- package/dist/work-items/providers/gitlab.js +2 -1
- package/dist/work-items/providers/gitlab.js.map +1 -1
- package/dist/work-items/providers/jira.d.ts.map +1 -1
- package/dist/work-items/providers/jira.js +3 -2
- package/dist/work-items/providers/jira.js.map +1 -1
- package/dist/work-items/providers/linear.d.ts.map +1 -1
- package/dist/work-items/providers/linear.js +3 -2
- package/dist/work-items/providers/linear.js.map +1 -1
- package/dist/work-items/providers/types.d.ts +6 -0
- package/dist/work-items/providers/types.d.ts.map +1 -1
- package/dist/work-items/split-backfill.d.ts +13 -0
- package/dist/work-items/split-backfill.d.ts.map +1 -0
- package/dist/work-items/split-backfill.js +32 -0
- package/dist/work-items/split-backfill.js.map +1 -0
- package/dist/work-items/split-migration.d.ts +39 -2
- package/dist/work-items/split-migration.d.ts.map +1 -1
- package/dist/work-items/split-migration.js +178 -70
- package/dist/work-items/split-migration.js.map +1 -1
- package/dist/workspace.d.ts +3 -1
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +118 -34
- package/dist/workspace.js.map +1 -1
- package/factory-skills/configure-factory-rules/SKILL.md +13 -11
- package/factory-skills/factory-build/SKILL.md +64 -0
- package/factory-skills/factory-gitlab-rereview/SKILL.md +4 -4
- package/factory-skills/factory-gitlab-review/SKILL.md +6 -6
- package/factory-skills/factory-plan/SKILL.md +8 -10
- package/factory-skills/factory-rereview/SKILL.md +74 -28
- package/factory-skills/factory-review/SKILL.md +85 -29
- package/factory-skills/factory-self-review/SKILL.md +32 -13
- package/factory-skills/factory-triage/SKILL.md +36 -32
- package/package.json +12 -11
- package/dist/boards/index.js.map +0 -1
- package/dist/boards/pull-request-review.d.ts +0 -14
- package/dist/boards/pull-request-review.d.ts.map +0 -1
- package/dist/boards/pull-request-review.js +0 -81
- package/dist/boards/pull-request-review.js.map +0 -1
- package/dist/boards/work-tool-rules.d.ts +0 -8
- package/dist/boards/work-tool-rules.d.ts.map +0 -1
- package/dist/boards/work-tool-rules.js +0 -19
- package/dist/boards/work-tool-rules.js.map +0 -1
- package/dist/integrations/slack/emoji-shortcodes.generated.d.ts +0 -8
- package/dist/integrations/slack/emoji-shortcodes.generated.d.ts.map +0 -1
- package/dist/integrations/slack/emoji-shortcodes.generated.js +0 -1984
- package/dist/integrations/slack/emoji-shortcodes.generated.js.map +0 -1
- package/dist/integrations/slack/emoji.d.ts +0 -3
- package/dist/integrations/slack/emoji.d.ts.map +0 -1
- package/dist/integrations/slack/emoji.js +0 -11
- package/dist/integrations/slack/emoji.js.map +0 -1
- package/dist/integrations/slack/feed-publisher.d.ts +0 -26
- package/dist/integrations/slack/feed-publisher.d.ts.map +0 -1
- package/dist/integrations/slack/feed-publisher.js +0 -43
- package/dist/integrations/slack/feed-publisher.js.map +0 -1
- package/dist/routes/attention-activity.d.ts +0 -23
- package/dist/routes/attention-activity.d.ts.map +0 -1
- package/dist/routes/attention-activity.js +0 -154
- package/dist/routes/attention-activity.js.map +0 -1
- package/dist/rules/resolve.d.ts +0 -15
- package/dist/rules/resolve.d.ts.map +0 -1
- package/dist/rules/resolve.js +0 -22
- package/dist/rules/resolve.js.map +0 -1
- package/dist/storage/domains/comments/activity.d.ts +0 -40
- package/dist/storage/domains/comments/activity.d.ts.map +0 -1
- package/dist/storage/domains/comments/activity.js +0 -93
- package/dist/storage/domains/comments/activity.js.map +0 -1
- package/dist/storage/domains/comments/actor.d.ts +0 -51
- package/dist/storage/domains/comments/actor.d.ts.map +0 -1
- package/dist/storage/domains/comments/actor.js +0 -37
- package/dist/storage/domains/comments/actor.js.map +0 -1
- package/dist/storage/domains/comments/base.d.ts +0 -245
- package/dist/storage/domains/comments/base.d.ts.map +0 -1
- package/dist/storage/domains/comments/base.js +0 -539
- package/dist/storage/domains/comments/base.js.map +0 -1
- package/dist/storage/domains/comments/domain.d.ts +0 -135
- package/dist/storage/domains/comments/domain.d.ts.map +0 -1
- package/dist/storage/domains/comments/domain.js +0 -284
- package/dist/storage/domains/comments/domain.js.map +0 -1
- package/dist/storage/domains/comments/feed-context.d.ts +0 -22
- package/dist/storage/domains/comments/feed-context.d.ts.map +0 -1
- package/dist/storage/domains/comments/feed-context.js +0 -88
- package/dist/storage/domains/comments/feed-context.js.map +0 -1
- package/dist/storage/domains/comments/feed-sync.d.ts +0 -21
- package/dist/storage/domains/comments/feed-sync.d.ts.map +0 -1
- package/dist/storage/domains/comments/feed-sync.js +0 -1
- package/dist/storage/domains/comments/parse.d.ts +0 -23
- package/dist/storage/domains/comments/parse.d.ts.map +0 -1
- package/dist/storage/domains/comments/parse.js +0 -89
- package/dist/storage/domains/comments/parse.js.map +0 -1
- package/dist/storage/domains/comments/routes.d.ts +0 -24
- package/dist/storage/domains/comments/routes.d.ts.map +0 -1
- package/dist/storage/domains/comments/routes.js +0 -301
- package/dist/storage/domains/comments/routes.js.map +0 -1
- package/dist/storage/domains/comments/schema.d.ts +0 -5
- package/dist/storage/domains/comments/schema.d.ts.map +0 -1
- package/dist/storage/domains/comments/schema.js +0 -178
- package/dist/storage/domains/comments/schema.js.map +0 -1
- package/dist/storage/domains/comments/wire.d.ts +0 -40
- package/dist/storage/domains/comments/wire.d.ts.map +0 -1
- package/dist/storage/domains/comments/wire.js +0 -36
- package/dist/storage/domains/comments/wire.js.map +0 -1
- package/factory-skills/factory-complete-issue/SKILL.md +0 -24
|
@@ -11,6 +11,10 @@ export type FactoryRouteContract = {
|
|
|
11
11
|
responseSchema: z.ZodType;
|
|
12
12
|
};
|
|
13
13
|
export declare const UUID_PATTERN = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
|
|
14
|
+
/** Send the `revision` you read so a concurrent edit is not overwritten. */
|
|
15
|
+
export declare const boardResetBodySchema: z.ZodObject<{
|
|
16
|
+
expectedRevision: z.ZodNumber;
|
|
17
|
+
}, z.core.$strip>;
|
|
14
18
|
/** A board's definition; send the `revision` you read so a concurrent edit is not overwritten. */
|
|
15
19
|
export declare const replaceBoardBodySchema: z.ZodObject<{
|
|
16
20
|
name: z.ZodString;
|
|
@@ -28,6 +32,10 @@ export declare const replaceBoardBodySchema: z.ZodObject<{
|
|
|
28
32
|
skill: z.ZodOptional<z.ZodString>;
|
|
29
33
|
context: z.ZodOptional<z.ZodString>;
|
|
30
34
|
instructions: z.ZodOptional<z.ZodString>;
|
|
35
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
objective: z.ZodString;
|
|
37
|
+
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
}, z.core.$strict>>;
|
|
31
39
|
}, z.core.$strict>>>;
|
|
32
40
|
nextPhases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
33
41
|
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -37,6 +45,10 @@ export declare const replaceBoardBodySchema: z.ZodObject<{
|
|
|
37
45
|
autoApprove: z.ZodOptional<z.ZodBoolean>;
|
|
38
46
|
autoApproveWhen: z.ZodOptional<z.ZodType<import("../index.js").RuleGroup, unknown, z.core.$ZodTypeInternals<import("../index.js").RuleGroup, unknown>>>;
|
|
39
47
|
}, z.core.$strict>>>;
|
|
48
|
+
tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
49
|
+
factory_record_review_verdict: "factory_record_review_verdict";
|
|
50
|
+
factory_review_source: "factory_review_source";
|
|
51
|
+
}>>>>;
|
|
40
52
|
}, z.core.$strict>>;
|
|
41
53
|
expectedRevision: z.ZodNumber;
|
|
42
54
|
}, z.core.$strict>;
|
|
@@ -50,7 +62,18 @@ export declare const intakeRouteInputSchema: z.ZodObject<{
|
|
|
50
62
|
target: z.ZodObject<{
|
|
51
63
|
boardKey: z.ZodString;
|
|
52
64
|
phaseKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
joinClosedIssue: z.ZodOptional<z.ZodBoolean>;
|
|
53
66
|
}, z.core.$strict>;
|
|
67
|
+
on: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
68
|
+
"pull_request.closed": "pull_request.closed";
|
|
69
|
+
"pull_request.merged": "pull_request.merged";
|
|
70
|
+
"pull_request.opened": "pull_request.opened";
|
|
71
|
+
"pull_request.review_requested": "pull_request.review_requested";
|
|
72
|
+
"pull_request.synchronized": "pull_request.synchronized";
|
|
73
|
+
"work_item.closed": "work_item.closed";
|
|
74
|
+
"work_item.created": "work_item.created";
|
|
75
|
+
"work_item.reopened": "work_item.reopened";
|
|
76
|
+
}>>>;
|
|
54
77
|
}, z.core.$strict>;
|
|
55
78
|
/** Changes the named fields; send the `revision` you read so a concurrent edit is not overwritten. */
|
|
56
79
|
export declare const intakeRoutePatchSchema: z.ZodObject<{
|
|
@@ -60,7 +83,18 @@ export declare const intakeRoutePatchSchema: z.ZodObject<{
|
|
|
60
83
|
target: z.ZodOptional<z.ZodObject<{
|
|
61
84
|
boardKey: z.ZodString;
|
|
62
85
|
phaseKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
|
+
joinClosedIssue: z.ZodOptional<z.ZodBoolean>;
|
|
63
87
|
}, z.core.$strict>>;
|
|
88
|
+
on: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
89
|
+
"pull_request.closed": "pull_request.closed";
|
|
90
|
+
"pull_request.merged": "pull_request.merged";
|
|
91
|
+
"pull_request.opened": "pull_request.opened";
|
|
92
|
+
"pull_request.review_requested": "pull_request.review_requested";
|
|
93
|
+
"pull_request.synchronized": "pull_request.synchronized";
|
|
94
|
+
"work_item.closed": "work_item.closed";
|
|
95
|
+
"work_item.created": "work_item.created";
|
|
96
|
+
"work_item.reopened": "work_item.reopened";
|
|
97
|
+
}>>>;
|
|
64
98
|
expectedRevision: z.ZodNumber;
|
|
65
99
|
}, z.core.$strict>;
|
|
66
100
|
export declare const intakeRouteReorderBodySchema: z.ZodObject<{
|
|
@@ -143,6 +177,33 @@ export declare const environmentLastBuildSchema: z.ZodObject<{
|
|
|
143
177
|
buildId: z.ZodString;
|
|
144
178
|
attemptedAt: z.ZodNullable<z.ZodString>;
|
|
145
179
|
}, z.core.$strip>;
|
|
180
|
+
/**
|
|
181
|
+
* Names Factory or a sandbox provider injects into the same environment maps.
|
|
182
|
+
* A variable with one of these names would swap a credential or be dropped.
|
|
183
|
+
*/
|
|
184
|
+
export declare const RESERVED_SANDBOX_ENV_NAMES: readonly RegExp[];
|
|
185
|
+
export declare const MAX_SANDBOX_ENV_VALUE_LENGTH: number;
|
|
186
|
+
export declare const sandboxEnvNameSchema: z.ZodString;
|
|
187
|
+
export declare const sandboxEnvAppliesToSchema: z.ZodEnum<{
|
|
188
|
+
both: "both";
|
|
189
|
+
build: "build";
|
|
190
|
+
runtime: "runtime";
|
|
191
|
+
}>;
|
|
192
|
+
export declare const sandboxEnvSetBodySchema: z.ZodObject<{
|
|
193
|
+
value: z.ZodString;
|
|
194
|
+
appliesTo: z.ZodEnum<{
|
|
195
|
+
both: "both";
|
|
196
|
+
build: "build";
|
|
197
|
+
runtime: "runtime";
|
|
198
|
+
}>;
|
|
199
|
+
}, z.core.$strip>;
|
|
200
|
+
export declare const sandboxEnvUpdateBodySchema: z.ZodObject<{
|
|
201
|
+
appliesTo: z.ZodEnum<{
|
|
202
|
+
both: "both";
|
|
203
|
+
build: "build";
|
|
204
|
+
runtime: "runtime";
|
|
205
|
+
}>;
|
|
206
|
+
}, z.core.$strip>;
|
|
146
207
|
export declare const projectEnvironmentResponseSchema: z.ZodObject<{
|
|
147
208
|
environment: z.ZodObject<{
|
|
148
209
|
sandbox: z.ZodObject<{
|
|
@@ -282,6 +343,7 @@ export declare const updateProjectEnvironmentBodySchema: z.ZodObject<{
|
|
|
282
343
|
}, z.core.$strip>;
|
|
283
344
|
export declare const createWorkItemBodySchema: z.ZodObject<{
|
|
284
345
|
title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
346
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string | null, string>>>>;
|
|
285
347
|
board: z.ZodOptional<z.ZodString>;
|
|
286
348
|
externalSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
287
349
|
integrationId: z.ZodString;
|
|
@@ -302,6 +364,7 @@ export declare const createWorkItemBodySchema: z.ZodObject<{
|
|
|
302
364
|
}, z.core.$strip>;
|
|
303
365
|
export declare const updateWorkItemBodySchema: z.ZodObject<{
|
|
304
366
|
title: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
367
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string | null, string>>>>;
|
|
305
368
|
board: z.ZodOptional<z.ZodString>;
|
|
306
369
|
parentWorkItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
307
370
|
stages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -348,6 +411,7 @@ export declare const startWorkItemBodySchema: z.ZodObject<{
|
|
|
348
411
|
role: z.ZodString;
|
|
349
412
|
input: z.ZodObject<{
|
|
350
413
|
title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
414
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string | null, string>>>>;
|
|
351
415
|
board: z.ZodOptional<z.ZodString>;
|
|
352
416
|
externalSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
353
417
|
integrationId: z.ZodString;
|
|
@@ -371,9 +435,7 @@ export declare const startWorkItemBodySchema: z.ZodObject<{
|
|
|
371
435
|
export declare const automationRunStartBodySchema: z.ZodObject<{
|
|
372
436
|
requestId: z.ZodString;
|
|
373
437
|
expectedRevision: z.ZodNumber;
|
|
374
|
-
role: z.
|
|
375
|
-
[x: string]: string;
|
|
376
|
-
}>;
|
|
438
|
+
role: z.ZodString;
|
|
377
439
|
skillName: z.ZodString;
|
|
378
440
|
arguments: z.ZodOptional<z.ZodString>;
|
|
379
441
|
}, z.core.$strict>;
|
|
@@ -390,11 +452,9 @@ export declare const decisionQuerySchema: z.ZodObject<{
|
|
|
390
452
|
limit: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number, string | undefined>>;
|
|
391
453
|
}, z.core.$strip>;
|
|
392
454
|
declare const attentionKindSchema: z.ZodEnum<{
|
|
393
|
-
activity: "activity";
|
|
394
455
|
"agent-waiting": "agent-waiting";
|
|
395
456
|
"automation-failed": "automation-failed";
|
|
396
457
|
"automation-proposed": "automation-proposed";
|
|
397
|
-
mention: "mention";
|
|
398
458
|
}>;
|
|
399
459
|
type AttentionKind = z.infer<typeof attentionKindSchema>;
|
|
400
460
|
type AttentionStreamPosition = {
|
|
@@ -409,11 +469,9 @@ export declare const attentionQuerySchema: z.ZodObject<{
|
|
|
409
469
|
unread: "unread";
|
|
410
470
|
}>>>;
|
|
411
471
|
kind: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
412
|
-
activity: "activity";
|
|
413
472
|
"agent-waiting": "agent-waiting";
|
|
414
473
|
"automation-failed": "automation-failed";
|
|
415
474
|
"automation-proposed": "automation-proposed";
|
|
416
|
-
mention: "mention";
|
|
417
475
|
}>>>;
|
|
418
476
|
before: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<AttentionCursorMap | undefined, string | undefined>>;
|
|
419
477
|
limit: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number, string | undefined>>;
|
|
@@ -732,27 +790,104 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
732
790
|
}, z.core.$strip>;
|
|
733
791
|
}, z.core.$strip>;
|
|
734
792
|
};
|
|
793
|
+
readonly projectSandboxEnvsList: {
|
|
794
|
+
readonly method: 'GET';
|
|
795
|
+
readonly path: '/web/factory/projects/:id/sandbox-envs';
|
|
796
|
+
readonly description: 'List the sandbox environment variables of a Factory project: names and where they apply, never values';
|
|
797
|
+
readonly pathSchema: z.ZodObject<{
|
|
798
|
+
id: z.ZodString;
|
|
799
|
+
}, z.core.$strip>;
|
|
800
|
+
readonly responseSchema: z.ZodObject<{
|
|
801
|
+
envs: z.ZodArray<z.ZodObject<{
|
|
802
|
+
name: z.ZodString;
|
|
803
|
+
appliesTo: z.ZodEnum<{
|
|
804
|
+
both: "both";
|
|
805
|
+
build: "build";
|
|
806
|
+
runtime: "runtime";
|
|
807
|
+
}>;
|
|
808
|
+
updatedAt: z.ZodString;
|
|
809
|
+
updatedBy: z.ZodString;
|
|
810
|
+
}, z.core.$strip>>;
|
|
811
|
+
writable: z.ZodBoolean;
|
|
812
|
+
}, z.core.$strip>;
|
|
813
|
+
};
|
|
814
|
+
readonly projectSandboxEnvSet: {
|
|
815
|
+
readonly method: 'PUT';
|
|
816
|
+
readonly path: '/web/factory/projects/:id/sandbox-envs/:name';
|
|
817
|
+
readonly description: 'Create or replace a sandbox environment variable of a Factory project';
|
|
818
|
+
readonly pathSchema: z.ZodObject<{
|
|
819
|
+
id: z.ZodString;
|
|
820
|
+
name: z.ZodString;
|
|
821
|
+
}, z.core.$strip>;
|
|
822
|
+
readonly bodySchema: z.ZodObject<{
|
|
823
|
+
value: z.ZodString;
|
|
824
|
+
appliesTo: z.ZodEnum<{
|
|
825
|
+
both: "both";
|
|
826
|
+
build: "build";
|
|
827
|
+
runtime: "runtime";
|
|
828
|
+
}>;
|
|
829
|
+
}, z.core.$strip>;
|
|
830
|
+
readonly responseSchema: z.ZodObject<{
|
|
831
|
+
env: z.ZodObject<{
|
|
832
|
+
name: z.ZodString;
|
|
833
|
+
appliesTo: z.ZodEnum<{
|
|
834
|
+
both: "both";
|
|
835
|
+
build: "build";
|
|
836
|
+
runtime: "runtime";
|
|
837
|
+
}>;
|
|
838
|
+
updatedAt: z.ZodString;
|
|
839
|
+
updatedBy: z.ZodString;
|
|
840
|
+
}, z.core.$strip>;
|
|
841
|
+
}, z.core.$strip>;
|
|
842
|
+
};
|
|
843
|
+
readonly projectSandboxEnvUpdate: {
|
|
844
|
+
readonly method: 'PATCH';
|
|
845
|
+
readonly path: '/web/factory/projects/:id/sandbox-envs/:name';
|
|
846
|
+
readonly description: 'Change where a sandbox environment variable of a Factory project applies';
|
|
847
|
+
readonly pathSchema: z.ZodObject<{
|
|
848
|
+
id: z.ZodString;
|
|
849
|
+
name: z.ZodString;
|
|
850
|
+
}, z.core.$strip>;
|
|
851
|
+
readonly bodySchema: z.ZodObject<{
|
|
852
|
+
appliesTo: z.ZodEnum<{
|
|
853
|
+
both: "both";
|
|
854
|
+
build: "build";
|
|
855
|
+
runtime: "runtime";
|
|
856
|
+
}>;
|
|
857
|
+
}, z.core.$strip>;
|
|
858
|
+
readonly responseSchema: z.ZodObject<{
|
|
859
|
+
env: z.ZodObject<{
|
|
860
|
+
name: z.ZodString;
|
|
861
|
+
appliesTo: z.ZodEnum<{
|
|
862
|
+
both: "both";
|
|
863
|
+
build: "build";
|
|
864
|
+
runtime: "runtime";
|
|
865
|
+
}>;
|
|
866
|
+
updatedAt: z.ZodString;
|
|
867
|
+
updatedBy: z.ZodString;
|
|
868
|
+
}, z.core.$strip>;
|
|
869
|
+
}, z.core.$strip>;
|
|
870
|
+
};
|
|
871
|
+
readonly projectSandboxEnvDelete: {
|
|
872
|
+
readonly method: 'DELETE';
|
|
873
|
+
readonly path: '/web/factory/projects/:id/sandbox-envs/:name';
|
|
874
|
+
readonly description: 'Delete a sandbox environment variable of a Factory project';
|
|
875
|
+
readonly pathSchema: z.ZodObject<{
|
|
876
|
+
id: z.ZodString;
|
|
877
|
+
name: z.ZodString;
|
|
878
|
+
}, z.core.$strip>;
|
|
879
|
+
readonly responseSchema: z.ZodNull;
|
|
880
|
+
};
|
|
735
881
|
readonly projectApplyDefaultModel: {
|
|
736
882
|
readonly method: 'POST';
|
|
737
883
|
readonly path: '/web/factory/projects/:id/apply-default-model';
|
|
738
|
-
readonly description: '
|
|
884
|
+
readonly description: 'Start applying the Factory default model to running work and review threads in the background';
|
|
739
885
|
readonly pathSchema: z.ZodObject<{
|
|
740
886
|
id: z.ZodString;
|
|
741
887
|
}, z.core.$strip>;
|
|
742
888
|
readonly responseSchema: z.ZodObject<{
|
|
743
889
|
modelId: z.ZodString;
|
|
744
|
-
|
|
745
|
-
skipped: z.ZodArray<z.ZodObject<{
|
|
746
|
-
threadId: z.ZodString;
|
|
747
|
-
reason: z.ZodEnum<{
|
|
748
|
-
"apply-failed": "apply-failed";
|
|
749
|
-
"mode-unknown": "mode-unknown";
|
|
750
|
-
"not-running": "not-running";
|
|
751
|
-
"stage-inactive": "stage-inactive";
|
|
752
|
-
"thread-missing": "thread-missing";
|
|
753
|
-
"work-item-missing": "work-item-missing";
|
|
754
|
-
}>;
|
|
755
|
-
}, z.core.$strip>>;
|
|
890
|
+
status: z.ZodLiteral<"started">;
|
|
756
891
|
}, z.core.$strip>;
|
|
757
892
|
};
|
|
758
893
|
readonly projectDelete: {
|
|
@@ -811,6 +946,14 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
811
946
|
editable: z.ZodOptional<z.ZodBoolean>;
|
|
812
947
|
problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
813
948
|
initialPhase: z.ZodString;
|
|
949
|
+
flow: z.ZodOptional<z.ZodObject<{
|
|
950
|
+
triage: z.ZodOptional<z.ZodString>;
|
|
951
|
+
build: z.ZodOptional<z.ZodString>;
|
|
952
|
+
selfReview: z.ZodOptional<z.ZodString>;
|
|
953
|
+
pullRequestReview: z.ZodOptional<z.ZodString>;
|
|
954
|
+
completed: z.ZodOptional<z.ZodString>;
|
|
955
|
+
canceled: z.ZodOptional<z.ZodString>;
|
|
956
|
+
}, z.core.$strip>>;
|
|
814
957
|
phases: z.ZodArray<z.ZodObject<{
|
|
815
958
|
id: z.ZodString;
|
|
816
959
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -825,6 +968,10 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
825
968
|
context: z.ZodOptional<z.ZodString>;
|
|
826
969
|
role: z.ZodOptional<z.ZodString>;
|
|
827
970
|
skill: z.ZodOptional<z.ZodString>;
|
|
971
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
972
|
+
objective: z.ZodString;
|
|
973
|
+
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
974
|
+
}, z.core.$strip>>;
|
|
828
975
|
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
829
976
|
autoStartWhen: z.ZodOptional<z.ZodType<import("../index.js").RuleGroup, unknown, z.core.$ZodTypeInternals<import("../index.js").RuleGroup, unknown>>>;
|
|
830
977
|
exitTool: z.ZodOptional<z.ZodObject<{
|
|
@@ -832,6 +979,7 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
832
979
|
autoApprove: z.ZodBoolean;
|
|
833
980
|
autoApproveWhen: z.ZodOptional<z.ZodType<import("../index.js").RuleGroup, unknown, z.core.$ZodTypeInternals<import("../index.js").RuleGroup, unknown>>>;
|
|
834
981
|
}, z.core.$strip>>;
|
|
982
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
835
983
|
transitions: z.ZodArray<z.ZodObject<{
|
|
836
984
|
outcome: z.ZodNullable<z.ZodString>;
|
|
837
985
|
to: z.ZodString;
|
|
@@ -867,6 +1015,10 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
867
1015
|
skill: z.ZodOptional<z.ZodString>;
|
|
868
1016
|
context: z.ZodOptional<z.ZodString>;
|
|
869
1017
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1018
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
1019
|
+
objective: z.ZodString;
|
|
1020
|
+
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
1021
|
+
}, z.core.$strict>>;
|
|
870
1022
|
}, z.core.$strict>>>;
|
|
871
1023
|
nextPhases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
872
1024
|
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -876,6 +1028,10 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
876
1028
|
autoApprove: z.ZodOptional<z.ZodBoolean>;
|
|
877
1029
|
autoApproveWhen: z.ZodOptional<z.ZodType<import("../index.js").RuleGroup, unknown, z.core.$ZodTypeInternals<import("../index.js").RuleGroup, unknown>>>;
|
|
878
1030
|
}, z.core.$strict>>>;
|
|
1031
|
+
tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1032
|
+
factory_record_review_verdict: "factory_record_review_verdict";
|
|
1033
|
+
factory_review_source: "factory_review_source";
|
|
1034
|
+
}>>>>;
|
|
879
1035
|
}, z.core.$strict>>;
|
|
880
1036
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
881
1037
|
source: z.ZodEnum<{
|
|
@@ -884,8 +1040,12 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
884
1040
|
stored: "stored";
|
|
885
1041
|
}>;
|
|
886
1042
|
editable: z.ZodBoolean;
|
|
1043
|
+
codeBehaviour: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1044
|
+
requiredNextPhases: z.ZodArray<z.ZodString>;
|
|
1045
|
+
}, z.core.$strip>>>>;
|
|
887
1046
|
problems: z.ZodArray<z.ZodString>;
|
|
888
1047
|
}, z.core.$strip>;
|
|
1048
|
+
canEdit: z.ZodOptional<z.ZodBoolean>;
|
|
889
1049
|
}, z.core.$strip>;
|
|
890
1050
|
};
|
|
891
1051
|
readonly boardCreate: {
|
|
@@ -911,6 +1071,10 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
911
1071
|
skill: z.ZodOptional<z.ZodString>;
|
|
912
1072
|
context: z.ZodOptional<z.ZodString>;
|
|
913
1073
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
1075
|
+
objective: z.ZodString;
|
|
1076
|
+
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
1077
|
+
}, z.core.$strict>>;
|
|
914
1078
|
}, z.core.$strict>>>;
|
|
915
1079
|
nextPhases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
916
1080
|
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -920,6 +1084,10 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
920
1084
|
autoApprove: z.ZodOptional<z.ZodBoolean>;
|
|
921
1085
|
autoApproveWhen: z.ZodOptional<z.ZodType<import("../index.js").RuleGroup, unknown, z.core.$ZodTypeInternals<import("../index.js").RuleGroup, unknown>>>;
|
|
922
1086
|
}, z.core.$strict>>>;
|
|
1087
|
+
tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1088
|
+
factory_record_review_verdict: "factory_record_review_verdict";
|
|
1089
|
+
factory_review_source: "factory_review_source";
|
|
1090
|
+
}>>>>;
|
|
923
1091
|
}, z.core.$strict>>;
|
|
924
1092
|
key: z.ZodString;
|
|
925
1093
|
}, z.core.$strict>;
|
|
@@ -941,6 +1109,10 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
941
1109
|
skill: z.ZodOptional<z.ZodString>;
|
|
942
1110
|
context: z.ZodOptional<z.ZodString>;
|
|
943
1111
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1112
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
1113
|
+
objective: z.ZodString;
|
|
1114
|
+
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
1115
|
+
}, z.core.$strict>>;
|
|
944
1116
|
}, z.core.$strict>>>;
|
|
945
1117
|
nextPhases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
946
1118
|
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -950,6 +1122,10 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
950
1122
|
autoApprove: z.ZodOptional<z.ZodBoolean>;
|
|
951
1123
|
autoApproveWhen: z.ZodOptional<z.ZodType<import("../index.js").RuleGroup, unknown, z.core.$ZodTypeInternals<import("../index.js").RuleGroup, unknown>>>;
|
|
952
1124
|
}, z.core.$strict>>>;
|
|
1125
|
+
tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1126
|
+
factory_record_review_verdict: "factory_record_review_verdict";
|
|
1127
|
+
factory_review_source: "factory_review_source";
|
|
1128
|
+
}>>>>;
|
|
953
1129
|
}, z.core.$strict>>;
|
|
954
1130
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
955
1131
|
source: z.ZodEnum<{
|
|
@@ -958,8 +1134,12 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
958
1134
|
stored: "stored";
|
|
959
1135
|
}>;
|
|
960
1136
|
editable: z.ZodBoolean;
|
|
1137
|
+
codeBehaviour: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1138
|
+
requiredNextPhases: z.ZodArray<z.ZodString>;
|
|
1139
|
+
}, z.core.$strip>>>>;
|
|
961
1140
|
problems: z.ZodArray<z.ZodString>;
|
|
962
1141
|
}, z.core.$strip>;
|
|
1142
|
+
canEdit: z.ZodOptional<z.ZodBoolean>;
|
|
963
1143
|
}, z.core.$strip>;
|
|
964
1144
|
};
|
|
965
1145
|
readonly boardReplace: {
|
|
@@ -986,6 +1166,10 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
986
1166
|
skill: z.ZodOptional<z.ZodString>;
|
|
987
1167
|
context: z.ZodOptional<z.ZodString>;
|
|
988
1168
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
1170
|
+
objective: z.ZodString;
|
|
1171
|
+
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
1172
|
+
}, z.core.$strict>>;
|
|
989
1173
|
}, z.core.$strict>>>;
|
|
990
1174
|
nextPhases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
991
1175
|
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -995,6 +1179,10 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
995
1179
|
autoApprove: z.ZodOptional<z.ZodBoolean>;
|
|
996
1180
|
autoApproveWhen: z.ZodOptional<z.ZodType<import("../index.js").RuleGroup, unknown, z.core.$ZodTypeInternals<import("../index.js").RuleGroup, unknown>>>;
|
|
997
1181
|
}, z.core.$strict>>>;
|
|
1182
|
+
tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1183
|
+
factory_record_review_verdict: "factory_record_review_verdict";
|
|
1184
|
+
factory_review_source: "factory_review_source";
|
|
1185
|
+
}>>>>;
|
|
998
1186
|
}, z.core.$strict>>;
|
|
999
1187
|
expectedRevision: z.ZodNumber;
|
|
1000
1188
|
}, z.core.$strict>;
|
|
@@ -1016,6 +1204,72 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1016
1204
|
skill: z.ZodOptional<z.ZodString>;
|
|
1017
1205
|
context: z.ZodOptional<z.ZodString>;
|
|
1018
1206
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1207
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
1208
|
+
objective: z.ZodString;
|
|
1209
|
+
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
1210
|
+
}, z.core.$strict>>;
|
|
1211
|
+
}, z.core.$strict>>>;
|
|
1212
|
+
nextPhases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1213
|
+
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
1214
|
+
autoStartWhen: z.ZodOptional<z.ZodNullable<z.ZodType<import("../index.js").RuleGroup, unknown, z.core.$ZodTypeInternals<import("../index.js").RuleGroup, unknown>>>>;
|
|
1215
|
+
exitTool: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1216
|
+
id: z.ZodString;
|
|
1217
|
+
autoApprove: z.ZodOptional<z.ZodBoolean>;
|
|
1218
|
+
autoApproveWhen: z.ZodOptional<z.ZodType<import("../index.js").RuleGroup, unknown, z.core.$ZodTypeInternals<import("../index.js").RuleGroup, unknown>>>;
|
|
1219
|
+
}, z.core.$strict>>>;
|
|
1220
|
+
tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1221
|
+
factory_record_review_verdict: "factory_record_review_verdict";
|
|
1222
|
+
factory_review_source: "factory_review_source";
|
|
1223
|
+
}>>>>;
|
|
1224
|
+
}, z.core.$strict>>;
|
|
1225
|
+
revision: z.ZodNullable<z.ZodNumber>;
|
|
1226
|
+
source: z.ZodEnum<{
|
|
1227
|
+
app: "app";
|
|
1228
|
+
builtin: "builtin";
|
|
1229
|
+
stored: "stored";
|
|
1230
|
+
}>;
|
|
1231
|
+
editable: z.ZodBoolean;
|
|
1232
|
+
codeBehaviour: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1233
|
+
requiredNextPhases: z.ZodArray<z.ZodString>;
|
|
1234
|
+
}, z.core.$strip>>>>;
|
|
1235
|
+
problems: z.ZodArray<z.ZodString>;
|
|
1236
|
+
}, z.core.$strip>;
|
|
1237
|
+
canEdit: z.ZodOptional<z.ZodBoolean>;
|
|
1238
|
+
}, z.core.$strip>;
|
|
1239
|
+
};
|
|
1240
|
+
readonly boardReset: {
|
|
1241
|
+
readonly method: 'POST';
|
|
1242
|
+
readonly path: '/web/factory/projects/:id/boards/:boardKey/reset';
|
|
1243
|
+
readonly description: 'Reset a built-in or app board to its code definition';
|
|
1244
|
+
readonly pathSchema: z.ZodObject<{
|
|
1245
|
+
id: z.ZodString;
|
|
1246
|
+
boardKey: z.ZodString;
|
|
1247
|
+
}, z.core.$strip>;
|
|
1248
|
+
readonly bodySchema: z.ZodObject<{
|
|
1249
|
+
expectedRevision: z.ZodNumber;
|
|
1250
|
+
}, z.core.$strip>;
|
|
1251
|
+
readonly responseSchema: z.ZodObject<{
|
|
1252
|
+
board: z.ZodObject<{
|
|
1253
|
+
key: z.ZodString;
|
|
1254
|
+
name: z.ZodString;
|
|
1255
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1256
|
+
phases: z.ZodArray<z.ZodObject<{
|
|
1257
|
+
key: z.ZodString;
|
|
1258
|
+
name: z.ZodString;
|
|
1259
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1260
|
+
kind: z.ZodEnum<{
|
|
1261
|
+
resting: "resting";
|
|
1262
|
+
terminal: "terminal";
|
|
1263
|
+
working: "working";
|
|
1264
|
+
}>;
|
|
1265
|
+
runner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1266
|
+
skill: z.ZodOptional<z.ZodString>;
|
|
1267
|
+
context: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1269
|
+
goal: z.ZodOptional<z.ZodObject<{
|
|
1270
|
+
objective: z.ZodString;
|
|
1271
|
+
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
1272
|
+
}, z.core.$strict>>;
|
|
1019
1273
|
}, z.core.$strict>>>;
|
|
1020
1274
|
nextPhases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1021
1275
|
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1025,6 +1279,10 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1025
1279
|
autoApprove: z.ZodOptional<z.ZodBoolean>;
|
|
1026
1280
|
autoApproveWhen: z.ZodOptional<z.ZodType<import("../index.js").RuleGroup, unknown, z.core.$ZodTypeInternals<import("../index.js").RuleGroup, unknown>>>;
|
|
1027
1281
|
}, z.core.$strict>>>;
|
|
1282
|
+
tools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1283
|
+
factory_record_review_verdict: "factory_record_review_verdict";
|
|
1284
|
+
factory_review_source: "factory_review_source";
|
|
1285
|
+
}>>>>;
|
|
1028
1286
|
}, z.core.$strict>>;
|
|
1029
1287
|
revision: z.ZodNullable<z.ZodNumber>;
|
|
1030
1288
|
source: z.ZodEnum<{
|
|
@@ -1033,8 +1291,12 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1033
1291
|
stored: "stored";
|
|
1034
1292
|
}>;
|
|
1035
1293
|
editable: z.ZodBoolean;
|
|
1294
|
+
codeBehaviour: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1295
|
+
requiredNextPhases: z.ZodArray<z.ZodString>;
|
|
1296
|
+
}, z.core.$strip>>>>;
|
|
1036
1297
|
problems: z.ZodArray<z.ZodString>;
|
|
1037
1298
|
}, z.core.$strip>;
|
|
1299
|
+
canEdit: z.ZodOptional<z.ZodBoolean>;
|
|
1038
1300
|
}, z.core.$strip>;
|
|
1039
1301
|
};
|
|
1040
1302
|
readonly boardDelete: {
|
|
@@ -1067,7 +1329,18 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1067
1329
|
target: z.ZodObject<{
|
|
1068
1330
|
boardKey: z.ZodString;
|
|
1069
1331
|
phaseKey: z.ZodNullable<z.ZodString>;
|
|
1332
|
+
joinClosedIssue: z.ZodBoolean;
|
|
1070
1333
|
}, z.core.$strip>;
|
|
1334
|
+
on: z.ZodArray<z.ZodEnum<{
|
|
1335
|
+
"pull_request.closed": "pull_request.closed";
|
|
1336
|
+
"pull_request.merged": "pull_request.merged";
|
|
1337
|
+
"pull_request.opened": "pull_request.opened";
|
|
1338
|
+
"pull_request.review_requested": "pull_request.review_requested";
|
|
1339
|
+
"pull_request.synchronized": "pull_request.synchronized";
|
|
1340
|
+
"work_item.closed": "work_item.closed";
|
|
1341
|
+
"work_item.created": "work_item.created";
|
|
1342
|
+
"work_item.reopened": "work_item.reopened";
|
|
1343
|
+
}>>;
|
|
1071
1344
|
revision: z.ZodNumber;
|
|
1072
1345
|
createdBy: z.ZodString;
|
|
1073
1346
|
createdAt: z.ZodString;
|
|
@@ -1075,6 +1348,7 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1075
1348
|
updatedAt: z.ZodString;
|
|
1076
1349
|
problems: z.ZodArray<z.ZodString>;
|
|
1077
1350
|
}, z.core.$strip>>;
|
|
1351
|
+
canEdit: z.ZodBoolean;
|
|
1078
1352
|
}, z.core.$strip>;
|
|
1079
1353
|
};
|
|
1080
1354
|
readonly intakeRouteGet: {
|
|
@@ -1095,7 +1369,18 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1095
1369
|
target: z.ZodObject<{
|
|
1096
1370
|
boardKey: z.ZodString;
|
|
1097
1371
|
phaseKey: z.ZodNullable<z.ZodString>;
|
|
1372
|
+
joinClosedIssue: z.ZodBoolean;
|
|
1098
1373
|
}, z.core.$strip>;
|
|
1374
|
+
on: z.ZodArray<z.ZodEnum<{
|
|
1375
|
+
"pull_request.closed": "pull_request.closed";
|
|
1376
|
+
"pull_request.merged": "pull_request.merged";
|
|
1377
|
+
"pull_request.opened": "pull_request.opened";
|
|
1378
|
+
"pull_request.review_requested": "pull_request.review_requested";
|
|
1379
|
+
"pull_request.synchronized": "pull_request.synchronized";
|
|
1380
|
+
"work_item.closed": "work_item.closed";
|
|
1381
|
+
"work_item.created": "work_item.created";
|
|
1382
|
+
"work_item.reopened": "work_item.reopened";
|
|
1383
|
+
}>>;
|
|
1099
1384
|
revision: z.ZodNumber;
|
|
1100
1385
|
createdBy: z.ZodString;
|
|
1101
1386
|
createdAt: z.ZodString;
|
|
@@ -1108,7 +1393,7 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1108
1393
|
readonly intakeRouteCreate: {
|
|
1109
1394
|
readonly method: 'POST';
|
|
1110
1395
|
readonly path: '/web/factory/projects/:id/intake-routes';
|
|
1111
|
-
readonly description: 'Add an intake route
|
|
1396
|
+
readonly description: 'Add an intake route to a Factory project, after its routes; a route that places new cards goes ahead of the first route that takes every new card';
|
|
1112
1397
|
readonly pathSchema: z.ZodObject<{
|
|
1113
1398
|
id: z.ZodString;
|
|
1114
1399
|
}, z.core.$strip>;
|
|
@@ -1119,7 +1404,18 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1119
1404
|
target: z.ZodObject<{
|
|
1120
1405
|
boardKey: z.ZodString;
|
|
1121
1406
|
phaseKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1407
|
+
joinClosedIssue: z.ZodOptional<z.ZodBoolean>;
|
|
1122
1408
|
}, z.core.$strict>;
|
|
1409
|
+
on: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1410
|
+
"pull_request.closed": "pull_request.closed";
|
|
1411
|
+
"pull_request.merged": "pull_request.merged";
|
|
1412
|
+
"pull_request.opened": "pull_request.opened";
|
|
1413
|
+
"pull_request.review_requested": "pull_request.review_requested";
|
|
1414
|
+
"pull_request.synchronized": "pull_request.synchronized";
|
|
1415
|
+
"work_item.closed": "work_item.closed";
|
|
1416
|
+
"work_item.created": "work_item.created";
|
|
1417
|
+
"work_item.reopened": "work_item.reopened";
|
|
1418
|
+
}>>>;
|
|
1123
1419
|
}, z.core.$strict>;
|
|
1124
1420
|
readonly responseSchema: z.ZodObject<{
|
|
1125
1421
|
intakeRoute: z.ZodObject<{
|
|
@@ -1131,7 +1427,18 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1131
1427
|
target: z.ZodObject<{
|
|
1132
1428
|
boardKey: z.ZodString;
|
|
1133
1429
|
phaseKey: z.ZodNullable<z.ZodString>;
|
|
1430
|
+
joinClosedIssue: z.ZodBoolean;
|
|
1134
1431
|
}, z.core.$strip>;
|
|
1432
|
+
on: z.ZodArray<z.ZodEnum<{
|
|
1433
|
+
"pull_request.closed": "pull_request.closed";
|
|
1434
|
+
"pull_request.merged": "pull_request.merged";
|
|
1435
|
+
"pull_request.opened": "pull_request.opened";
|
|
1436
|
+
"pull_request.review_requested": "pull_request.review_requested";
|
|
1437
|
+
"pull_request.synchronized": "pull_request.synchronized";
|
|
1438
|
+
"work_item.closed": "work_item.closed";
|
|
1439
|
+
"work_item.created": "work_item.created";
|
|
1440
|
+
"work_item.reopened": "work_item.reopened";
|
|
1441
|
+
}>>;
|
|
1135
1442
|
revision: z.ZodNumber;
|
|
1136
1443
|
createdBy: z.ZodString;
|
|
1137
1444
|
createdAt: z.ZodString;
|
|
@@ -1156,7 +1463,18 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1156
1463
|
target: z.ZodOptional<z.ZodObject<{
|
|
1157
1464
|
boardKey: z.ZodString;
|
|
1158
1465
|
phaseKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1466
|
+
joinClosedIssue: z.ZodOptional<z.ZodBoolean>;
|
|
1159
1467
|
}, z.core.$strict>>;
|
|
1468
|
+
on: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1469
|
+
"pull_request.closed": "pull_request.closed";
|
|
1470
|
+
"pull_request.merged": "pull_request.merged";
|
|
1471
|
+
"pull_request.opened": "pull_request.opened";
|
|
1472
|
+
"pull_request.review_requested": "pull_request.review_requested";
|
|
1473
|
+
"pull_request.synchronized": "pull_request.synchronized";
|
|
1474
|
+
"work_item.closed": "work_item.closed";
|
|
1475
|
+
"work_item.created": "work_item.created";
|
|
1476
|
+
"work_item.reopened": "work_item.reopened";
|
|
1477
|
+
}>>>;
|
|
1160
1478
|
expectedRevision: z.ZodNumber;
|
|
1161
1479
|
}, z.core.$strict>;
|
|
1162
1480
|
readonly responseSchema: z.ZodObject<{
|
|
@@ -1169,7 +1487,18 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1169
1487
|
target: z.ZodObject<{
|
|
1170
1488
|
boardKey: z.ZodString;
|
|
1171
1489
|
phaseKey: z.ZodNullable<z.ZodString>;
|
|
1490
|
+
joinClosedIssue: z.ZodBoolean;
|
|
1172
1491
|
}, z.core.$strip>;
|
|
1492
|
+
on: z.ZodArray<z.ZodEnum<{
|
|
1493
|
+
"pull_request.closed": "pull_request.closed";
|
|
1494
|
+
"pull_request.merged": "pull_request.merged";
|
|
1495
|
+
"pull_request.opened": "pull_request.opened";
|
|
1496
|
+
"pull_request.review_requested": "pull_request.review_requested";
|
|
1497
|
+
"pull_request.synchronized": "pull_request.synchronized";
|
|
1498
|
+
"work_item.closed": "work_item.closed";
|
|
1499
|
+
"work_item.created": "work_item.created";
|
|
1500
|
+
"work_item.reopened": "work_item.reopened";
|
|
1501
|
+
}>>;
|
|
1173
1502
|
revision: z.ZodNumber;
|
|
1174
1503
|
createdBy: z.ZodString;
|
|
1175
1504
|
createdAt: z.ZodString;
|
|
@@ -1212,7 +1541,18 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1212
1541
|
target: z.ZodObject<{
|
|
1213
1542
|
boardKey: z.ZodString;
|
|
1214
1543
|
phaseKey: z.ZodNullable<z.ZodString>;
|
|
1544
|
+
joinClosedIssue: z.ZodBoolean;
|
|
1215
1545
|
}, z.core.$strip>;
|
|
1546
|
+
on: z.ZodArray<z.ZodEnum<{
|
|
1547
|
+
"pull_request.closed": "pull_request.closed";
|
|
1548
|
+
"pull_request.merged": "pull_request.merged";
|
|
1549
|
+
"pull_request.opened": "pull_request.opened";
|
|
1550
|
+
"pull_request.review_requested": "pull_request.review_requested";
|
|
1551
|
+
"pull_request.synchronized": "pull_request.synchronized";
|
|
1552
|
+
"work_item.closed": "work_item.closed";
|
|
1553
|
+
"work_item.created": "work_item.created";
|
|
1554
|
+
"work_item.reopened": "work_item.reopened";
|
|
1555
|
+
}>>;
|
|
1216
1556
|
revision: z.ZodNumber;
|
|
1217
1557
|
createdBy: z.ZodString;
|
|
1218
1558
|
createdAt: z.ZodString;
|
|
@@ -1220,6 +1560,7 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1220
1560
|
updatedAt: z.ZodString;
|
|
1221
1561
|
problems: z.ZodArray<z.ZodString>;
|
|
1222
1562
|
}, z.core.$strip>>;
|
|
1563
|
+
canEdit: z.ZodBoolean;
|
|
1223
1564
|
}, z.core.$strip>;
|
|
1224
1565
|
};
|
|
1225
1566
|
readonly workItemList: {
|
|
@@ -1254,6 +1595,7 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1254
1595
|
}, z.core.$strip>;
|
|
1255
1596
|
readonly bodySchema: z.ZodObject<{
|
|
1256
1597
|
title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
1598
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string | null, string>>>>;
|
|
1257
1599
|
board: z.ZodOptional<z.ZodString>;
|
|
1258
1600
|
externalSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1259
1601
|
integrationId: z.ZodString;
|
|
@@ -1295,6 +1637,7 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1295
1637
|
}, z.core.$strip>;
|
|
1296
1638
|
readonly bodySchema: z.ZodObject<{
|
|
1297
1639
|
title: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
1640
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string | null, string>>>>;
|
|
1298
1641
|
board: z.ZodOptional<z.ZodString>;
|
|
1299
1642
|
parentWorkItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1300
1643
|
stages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1383,6 +1726,7 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1383
1726
|
role: z.ZodString;
|
|
1384
1727
|
input: z.ZodObject<{
|
|
1385
1728
|
title: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
1729
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string | null, string>>>>;
|
|
1386
1730
|
board: z.ZodOptional<z.ZodString>;
|
|
1387
1731
|
externalSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1388
1732
|
integrationId: z.ZodString;
|
|
@@ -1416,9 +1760,7 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1416
1760
|
readonly bodySchema: z.ZodObject<{
|
|
1417
1761
|
requestId: z.ZodString;
|
|
1418
1762
|
expectedRevision: z.ZodNumber;
|
|
1419
|
-
role: z.
|
|
1420
|
-
[x: string]: string;
|
|
1421
|
-
}>;
|
|
1763
|
+
role: z.ZodString;
|
|
1422
1764
|
skillName: z.ZodString;
|
|
1423
1765
|
arguments: z.ZodOptional<z.ZodString>;
|
|
1424
1766
|
}, z.core.$strict>;
|
|
@@ -1494,11 +1836,9 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1494
1836
|
unread: "unread";
|
|
1495
1837
|
}>>>;
|
|
1496
1838
|
kind: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1497
|
-
activity: "activity";
|
|
1498
1839
|
"agent-waiting": "agent-waiting";
|
|
1499
1840
|
"automation-failed": "automation-failed";
|
|
1500
1841
|
"automation-proposed": "automation-proposed";
|
|
1501
|
-
mention: "mention";
|
|
1502
1842
|
}>>>;
|
|
1503
1843
|
before: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<AttentionCursorMap | undefined, string | undefined>>;
|
|
1504
1844
|
limit: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number, string | undefined>>;
|
|
@@ -1507,11 +1847,9 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1507
1847
|
readonly responseSchema: z.ZodObject<{
|
|
1508
1848
|
items: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1509
1849
|
kinds: z.ZodRecord<z.ZodEnum<{
|
|
1510
|
-
activity: "activity";
|
|
1511
1850
|
"agent-waiting": "agent-waiting";
|
|
1512
1851
|
"automation-failed": "automation-failed";
|
|
1513
1852
|
"automation-proposed": "automation-proposed";
|
|
1514
|
-
mention: "mention";
|
|
1515
1853
|
}>, z.ZodObject<{
|
|
1516
1854
|
open: z.ZodNumber;
|
|
1517
1855
|
unread: z.ZodNumber;
|
|
@@ -1548,11 +1886,9 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1548
1886
|
readonly pathSchema: z.ZodObject<{
|
|
1549
1887
|
id: z.ZodString;
|
|
1550
1888
|
kind: z.ZodEnum<{
|
|
1551
|
-
activity: "activity";
|
|
1552
1889
|
"agent-waiting": "agent-waiting";
|
|
1553
1890
|
"automation-failed": "automation-failed";
|
|
1554
1891
|
"automation-proposed": "automation-proposed";
|
|
1555
|
-
mention: "mention";
|
|
1556
1892
|
}>;
|
|
1557
1893
|
sourceId: z.ZodString;
|
|
1558
1894
|
occurrence: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -1568,11 +1904,9 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1568
1904
|
readonly pathSchema: z.ZodObject<{
|
|
1569
1905
|
id: z.ZodString;
|
|
1570
1906
|
kind: z.ZodEnum<{
|
|
1571
|
-
activity: "activity";
|
|
1572
1907
|
"agent-waiting": "agent-waiting";
|
|
1573
1908
|
"automation-failed": "automation-failed";
|
|
1574
1909
|
"automation-proposed": "automation-proposed";
|
|
1575
|
-
mention: "mention";
|
|
1576
1910
|
}>;
|
|
1577
1911
|
sourceId: z.ZodString;
|
|
1578
1912
|
occurrence: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -1588,11 +1922,9 @@ export declare const FACTORY_ROUTE_CONTRACTS: {
|
|
|
1588
1922
|
readonly pathSchema: z.ZodObject<{
|
|
1589
1923
|
id: z.ZodString;
|
|
1590
1924
|
kind: z.ZodEnum<{
|
|
1591
|
-
activity: "activity";
|
|
1592
1925
|
"agent-waiting": "agent-waiting";
|
|
1593
1926
|
"automation-failed": "automation-failed";
|
|
1594
1927
|
"automation-proposed": "automation-proposed";
|
|
1595
|
-
mention: "mention";
|
|
1596
1928
|
}>;
|
|
1597
1929
|
sourceId: z.ZodString;
|
|
1598
1930
|
occurrence: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|