@treeseed/sdk 0.13.0-rc.11 → 0.13.0-rc.111
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 +23 -9
- package/dist/.treeseed-build-complete.json +1 -0
- package/dist/accounts/account-contracts.d.ts +6 -0
- package/dist/agent-capacity/artifact-mutation-receipt.d.ts +1 -1
- package/dist/agent-capacity/artifacts.d.ts +17 -1
- package/dist/agent-capacity/authority/agent-authority-presets.js +2 -1
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +304 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.js +44 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +10 -1
- package/dist/agent-capacity/contracts/capacity/assignments/context-pack-compiler.d.ts +25 -0
- package/dist/agent-capacity/contracts/capacity/assignments/context-pack-compiler.js +67 -0
- package/dist/agent-capacity/contracts/capacity/communication/communication-records.d.ts +1 -1
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +0 -2
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +1 -1
- package/dist/agent-capacity/contracts/configuration/configuration.js +1 -1
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -1
- package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +3 -3
- package/dist/agent-capacity/contracts/support/decision-work.d.ts +2 -3
- package/dist/agent-capacity/validation/activity-profile.js +25 -12
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1092 -1170
- package/dist/agent-capacity/validation/agent-definition-schema.js +11 -29
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +20 -20
- package/dist/agent-capacity/validation/configuration.d.ts +1 -1
- package/dist/agent-capacity/validation/configuration.js +1 -2
- package/dist/capacity/agents/agent-capacity.d.ts +2 -0
- package/dist/capacity/agents/agent-capacity.js +2 -0
- package/dist/capacity-provider/capability-ontology.d.ts +1495 -0
- package/dist/capacity-provider/capability-ontology.js +221 -0
- package/dist/capacity-provider/client.d.ts +24 -0
- package/dist/capacity-provider/client.js +11 -1
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +255 -0
- package/dist/capacity-provider/contracts/environment-profiles.js +71 -0
- package/dist/capacity-provider/contracts/governance.d.ts +103 -35
- package/dist/capacity-provider/contracts/index.d.ts +1 -0
- package/dist/capacity-provider/contracts/index.js +1 -0
- package/dist/capacity-provider/core-capability-catalog.d.ts +47 -0
- package/dist/capacity-provider/core-capability-catalog.js +49 -0
- package/dist/capacity-provider/environment-catalog.d.ts +877 -0
- package/dist/capacity-provider/environment-catalog.js +116 -0
- package/dist/capacity-provider/index.d.ts +5 -0
- package/dist/capacity-provider/index.js +5 -0
- package/dist/capacity-provider/install-configuration.d.ts +39 -0
- package/dist/capacity-provider/install-configuration.js +18 -0
- package/dist/capacity-provider/sandbox-contracts.d.ts +548 -0
- package/dist/capacity-provider/sandbox-contracts.js +86 -0
- package/dist/capacity-provider/sandbox.d.ts +1 -0
- package/dist/capacity-provider/sandbox.js +1 -0
- package/dist/capacity-provider/validation.d.ts +2 -2
- package/dist/capacity-provider/validation.js +91 -55
- package/dist/configuration/secrets-capability.d.ts +5 -1
- package/dist/configuration/secrets-capability.js +5 -1
- package/dist/content/validation/agent-operational-content-schemas.d.ts +490 -168
- package/dist/content/validation/agent-operational-content-schemas.js +18 -3
- package/dist/content/validation/auxiliary-content-schemas.d.ts +160 -160
- package/dist/content/validation/content-model-schemas.d.ts +2943 -2747
- package/dist/content/validation/portable-content-data.d.ts +296 -292
- package/dist/deployment/ai/storage.d.ts +158 -0
- package/dist/deployment/ai/storage.js +32 -0
- package/dist/deployment/ai-hosting.d.ts +297 -0
- package/dist/deployment/ai-hosting.js +63 -0
- package/dist/deployment/ai-instance.d.ts +65 -0
- package/dist/deployment/ai-instance.js +30 -0
- package/dist/deployment/ai-mode.d.ts +454 -0
- package/dist/deployment/ai-mode.js +67 -0
- package/dist/deployment/canonical.d.ts +2 -0
- package/dist/deployment/canonical.js +17 -0
- package/dist/deployment/catalog.d.ts +16 -0
- package/dist/deployment/catalog.js +48 -0
- package/dist/deployment/hosted-topology-template.d.ts +449 -0
- package/dist/deployment/hosted-topology-template.js +56 -0
- package/dist/deployment/hosted-topology.d.ts +2698 -0
- package/dist/deployment/hosted-topology.js +468 -0
- package/dist/deployment/index.d.ts +13 -0
- package/dist/deployment/index.js +13 -0
- package/dist/deployment/postgres/contracts.d.ts +418 -0
- package/dist/deployment/postgres/contracts.js +83 -0
- package/dist/deployment/postgres/requirements.d.ts +14 -0
- package/dist/deployment/postgres/requirements.js +30 -0
- package/dist/deployment/postgres/transfer.d.ts +97 -0
- package/dist/deployment/postgres/transfer.js +29 -0
- package/dist/deployment/schemas.d.ts +8625 -0
- package/dist/deployment/schemas.js +455 -0
- package/dist/deployment/topology.d.ts +9 -0
- package/dist/deployment/topology.js +35 -0
- package/dist/development/index.d.ts +1 -0
- package/dist/development/index.js +1 -0
- package/dist/development/schemas.d.ts +3578 -0
- package/dist/development/schemas.js +199 -0
- package/dist/development/session-migration.d.ts +3 -0
- package/dist/development/session-migration.js +25 -0
- package/dist/entrypoints/clients/control-plane-client.d.ts +9 -1
- package/dist/entrypoints/clients/control-plane-client.js +17 -5
- package/dist/graph/context-query-contracts.d.ts +16 -1
- package/dist/graph/context-query-contracts.js +5 -0
- package/dist/guarantees/evidence-trust.d.ts +32 -0
- package/dist/guarantees/evidence-trust.js +47 -0
- package/dist/guarantees/index.d.ts +130 -0
- package/dist/guarantees/index.js +44 -0
- package/dist/identity/browser-session.d.ts +233 -0
- package/dist/identity/browser-session.js +51 -0
- package/dist/identity/contracts.d.ts +191 -0
- package/dist/identity/contracts.js +72 -0
- package/dist/identity/index.d.ts +3 -0
- package/dist/identity/index.js +3 -0
- package/dist/identity/runtime.d.ts +186 -0
- package/dist/identity/runtime.js +49 -0
- package/dist/model-registry/agent-operational-models.js +1 -1
- package/dist/operator-contracts/canonical-command-tree.js +465 -16
- package/dist/operator-contracts/catalog/admin-account-team-operations.d.ts +36 -0
- package/dist/operator-contracts/catalog/admin-account-team-operations.js +52 -0
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +163 -0
- package/dist/operator-contracts/catalog/capability-ontology-operations.js +24 -0
- package/dist/operator-contracts/catalog/communication-operations.d.ts +437 -0
- package/dist/operator-contracts/catalog/communication-operations.js +92 -0
- package/dist/operator-contracts/catalog/control-plane-catalog.d.ts +6 -0
- package/dist/operator-contracts/catalog/control-plane-catalog.js +18 -0
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +399 -0
- package/dist/operator-contracts/catalog/hosted-topology-operations.js +79 -0
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +261 -0
- package/dist/operator-contracts/catalog/inbox-operations.js +36 -0
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +53 -0
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +23 -0
- package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.d.ts +3 -0
- package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.js +15 -0
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +127 -0
- package/dist/operator-contracts/catalog/knowledge-share-operations.js +25 -0
- package/dist/operator-contracts/catalog/provider-environment-commands.d.ts +4 -0
- package/dist/operator-contracts/catalog/provider-environment-commands.js +69 -0
- package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +41 -0
- package/dist/operator-contracts/catalog/provider-environment-operations.js +61 -0
- package/dist/operator-contracts/catalog/services/identity-commands.d.ts +2 -0
- package/dist/operator-contracts/catalog/services/identity-commands.js +13 -0
- package/dist/operator-contracts/catalog/services/secret-commands.d.ts +2 -0
- package/dist/operator-contracts/catalog/services/secret-commands.js +31 -0
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +62 -0
- package/dist/operator-contracts/catalog/services/secret-operations.js +51 -0
- package/dist/operator-contracts/catalog/treeai-operations.d.ts +13 -0
- package/dist/operator-contracts/catalog/treeai-operations.js +61 -0
- package/dist/operator-contracts/command-tree.d.ts +28 -0
- package/dist/operator-contracts/command-tree.js +49 -0
- package/dist/operator-contracts/communication/addressing.d.ts +8 -0
- package/dist/operator-contracts/communication/addressing.js +57 -0
- package/dist/operator-contracts/communication/contracts.d.ts +1818 -0
- package/dist/operator-contracts/communication/contracts.js +188 -0
- package/dist/operator-contracts/control-plane-operation.d.ts +9 -0
- package/dist/operator-contracts/control-plane-operation.js +12 -2
- package/dist/operator-contracts/control-plane-operations.d.ts +2255 -195
- package/dist/operator-contracts/control-plane-operations.js +247 -85
- package/dist/operator-contracts/inbox/contracts.d.ts +1099 -0
- package/dist/operator-contracts/inbox/contracts.js +134 -0
- package/dist/operator-contracts/index.d.ts +6 -0
- package/dist/operator-contracts/index.js +6 -0
- package/dist/operator-contracts/knowledge/contracts.d.ts +130 -0
- package/dist/operator-contracts/knowledge/contracts.js +39 -0
- package/dist/operator-contracts/mcp.d.ts +5 -0
- package/dist/operator-contracts/mcp.js +61 -0
- package/dist/operator-contracts/oauth.d.ts +45 -0
- package/dist/operator-contracts/oauth.js +7 -0
- package/dist/operator-contracts/operation-builder.d.ts +18 -0
- package/dist/operator-contracts/operation-builder.js +78 -0
- package/dist/operator-contracts/seed/seed-bundle.d.ts +138 -0
- package/dist/operator-contracts/seed/seed-bundle.js +68 -0
- package/dist/platform/contracts.d.ts +429 -0
- package/dist/platform/contracts.js +93 -0
- package/dist/platform/index.d.ts +6 -0
- package/dist/platform/index.js +6 -0
- package/dist/platform/inventory.d.ts +11 -0
- package/dist/platform/inventory.js +53 -0
- package/dist/platform/project-create.d.ts +49 -0
- package/dist/platform/project-create.js +75 -0
- package/dist/platform/schemas.d.ts +986 -0
- package/dist/platform/schemas.js +73 -0
- package/dist/platform/verification.d.ts +9 -0
- package/dist/platform/verification.js +104 -0
- package/dist/platform/workset.d.ts +21 -0
- package/dist/platform/workset.js +106 -0
- package/dist/secrets-capability/github-actions-encryption.d.ts +2 -0
- package/dist/secrets-capability/github-actions-encryption.js +11 -0
- package/dist/secrets-capability/provider-operation-contracts.d.ts +15 -1
- package/dist/secrets-capability/secret-contracts.d.ts +33 -0
- package/dist/secrets-capability/secret-contracts.js +49 -0
- package/dist/secrets-capability/service-provider-contracts.d.ts +5 -3
- package/dist/secrets-capability/service-provider-contracts.js +66 -50
- package/dist/secrets-capability/shared-access.d.ts +51 -0
- package/dist/secrets-capability/shared-access.js +36 -0
- package/dist/secrets-capability/shared-resources.d.ts +376 -0
- package/dist/secrets-capability/shared-resources.js +91 -0
- package/dist/secrets-capability/vault-contracts.d.ts +132 -0
- package/dist/secrets-capability/vault-contracts.js +56 -0
- package/dist/security/encrypted-envelope.d.ts +177 -0
- package/dist/security/encrypted-envelope.js +34 -0
- package/dist/security/envelope-codec.d.ts +38 -0
- package/dist/security/envelope-codec.js +96 -0
- package/dist/security/index.d.ts +2 -0
- package/dist/security/index.js +2 -0
- package/dist/site-contracts/catalog.d.ts +16 -0
- package/dist/site-contracts/catalog.js +19 -0
- package/dist/site-contracts/cloudflare.d.ts +48 -0
- package/dist/site-contracts/platform.d.ts +94 -0
- package/dist/site-contracts/plugin.d.ts +63 -0
- package/dist/site-contracts/plugin.js +26 -0
- package/dist/treeai/catalog.d.ts +1 -0
- package/dist/treeai/catalog.js +1 -0
- package/dist/treeai/client.d.ts +793 -0
- package/dist/treeai/client.js +44 -0
- package/dist/treeai/contract.d.ts +41 -0
- package/dist/treeai/contract.js +51 -0
- package/dist/treeai/generated/upstream.d.ts +770 -0
- package/dist/treeai/generated/upstream.js +4 -0
- package/dist/treeai/index.d.ts +4 -0
- package/dist/treeai/index.js +4 -0
- package/dist/treedx/client.d.ts +605 -0
- package/dist/treedx/client.js +39 -0
- package/dist/treedx/contract.d.ts +32 -0
- package/dist/treedx/contract.js +63 -0
- package/dist/treedx/index.d.ts +3 -0
- package/dist/treedx/index.js +2 -0
- package/dist/treedx/types.d.ts +8 -7
- package/dist/treedx/types.js +0 -7
- package/dist/types/agents/agent-activity-profile.d.ts +18 -36
- package/dist/types/agents/agent-trigger-kinds.d.ts +3 -5
- package/dist/types/agents/agent-trigger-kinds.js +1 -13
- package/package.json +64 -11
- package/dist/secrets-capability/service-vault-contracts.d.ts +0 -61
- package/dist/secrets-capability/service-vault-contracts.js +0 -39
- package/dist/treedx/accounts/auth.d.ts +0 -17
- package/dist/treedx/accounts/auth.js +0 -48
- package/dist/treedx/client/accounts/contracts/auth-mode.d.ts +0 -3
- package/dist/treedx/client/accounts/contracts/auth-mode.js +0 -6
- package/dist/treedx/client/build/creation/build-context.d.ts +0 -3
- package/dist/treedx/client/build/creation/build-context.js +0 -7
- package/dist/treedx/client/build/creation/build-snapshot.d.ts +0 -3
- package/dist/treedx/client/build/creation/build-snapshot.js +0 -8
- package/dist/treedx/client/capacity/allocations/contracts/put-capability-grant.d.ts +0 -3
- package/dist/treedx/client/capacity/allocations/contracts/put-capability-grant.js +0 -7
- package/dist/treedx/client/capacity/allocations/queries/list-capability-grants.d.ts +0 -6
- package/dist/treedx/client/capacity/allocations/queries/list-capability-grants.js +0 -10
- package/dist/treedx/client/methods.d.ts +0 -102
- package/dist/treedx/client/methods.js +0 -209
- package/dist/treedx/client/persistence/contracts/restore-storage.d.ts +0 -3
- package/dist/treedx/client/persistence/contracts/restore-storage.js +0 -6
- package/dist/treedx/client/persistence/lifecycle/verify-storage-restore.d.ts +0 -3
- package/dist/treedx/client/persistence/lifecycle/verify-storage-restore.js +0 -6
- package/dist/treedx/client/repositories/creation/register-repository.d.ts +0 -3
- package/dist/treedx/client/repositories/creation/register-repository.js +0 -7
- package/dist/treedx/client/repositories/queries/get-repository.d.ts +0 -3
- package/dist/treedx/client/repositories/queries/get-repository.js +0 -7
- package/dist/treedx/client/repositories/queries/list-repository-paths.d.ts +0 -3
- package/dist/treedx/client/repositories/queries/list-repository-paths.js +0 -7
- package/dist/treedx/client/repositories/queries/list-repository-refs.d.ts +0 -3
- package/dist/treedx/client/repositories/queries/list-repository-refs.js +0 -12
- package/dist/treedx/client/repositories/queries/query-repository.d.ts +0 -3
- package/dist/treedx/client/repositories/queries/query-repository.js +0 -7
- package/dist/treedx/client/repositories/queries/read-repository-file.d.ts +0 -3
- package/dist/treedx/client/repositories/queries/read-repository-file.js +0 -6
- package/dist/treedx/client/repositories/queries/read-repository-files.d.ts +0 -3
- package/dist/treedx/client/repositories/queries/read-repository-files.js +0 -7
- package/dist/treedx/client/repositories/queries/search-repository-files.d.ts +0 -3
- package/dist/treedx/client/repositories/queries/search-repository-files.js +0 -7
- package/dist/treedx/client/support/contracts/treedx/artifacts/contracts/download-artifact.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/artifacts/contracts/download-artifact.js +0 -9
- package/dist/treedx/client/support/contracts/treedx/authorization/contracts/whoami.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/authorization/contracts/whoami.js +0 -6
- package/dist/treedx/client/support/contracts/treedx/graph/contracts/parse-context-dsl.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/graph/contracts/parse-context-dsl.js +0 -7
- package/dist/treedx/client/support/contracts/treedx/health/contracts/deep-health.d.ts +0 -5
- package/dist/treedx/client/support/contracts/treedx/health/contracts/deep-health.js +0 -7
- package/dist/treedx/client/support/contracts/treedx/health/contracts/health.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/health/contracts/health.js +0 -6
- package/dist/treedx/client/support/contracts/treedx/health/contracts/metrics.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/health/contracts/metrics.js +0 -7
- package/dist/treedx/client/support/contracts/treedx/health/contracts/prometheus-metrics.d.ts +0 -2
- package/dist/treedx/client/support/contracts/treedx/health/contracts/prometheus-metrics.js +0 -19
- package/dist/treedx/client/support/contracts/treedx/health/contracts/ready.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/health/contracts/ready.js +0 -7
- package/dist/treedx/client/support/contracts/treedx/health/contracts/status.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/health/contracts/status.js +0 -6
- package/dist/treedx/client/support/contracts/treedx/repositories/contracts/commit.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/repositories/contracts/commit.js +0 -7
- package/dist/treedx/client/support/contracts/treedx/repositories/contracts/diff.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/repositories/contracts/diff.js +0 -6
- package/dist/treedx/client/support/contracts/treedx/repositories/contracts/fetch-remote.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/repositories/contracts/fetch-remote.js +0 -7
- package/dist/treedx/client/support/contracts/treedx/repositories/contracts/push.d.ts +0 -6
- package/dist/treedx/client/support/contracts/treedx/repositories/contracts/push.js +0 -23
- package/dist/treedx/client/support/contracts/treedx/search/contracts/compact-search-index.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/search/contracts/compact-search-index.js +0 -8
- package/dist/treedx/client/support/contracts/treedx/search/contracts/search.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/search/contracts/search.js +0 -7
- package/dist/treedx/client/support/contracts/treedx/storage/contracts/backup-storage.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/storage/contracts/backup-storage.js +0 -8
- package/dist/treedx/client/support/contracts/treedx/storage/contracts/compact-storage.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/storage/contracts/compact-storage.js +0 -8
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/assert-binary-ok.d.ts +0 -2
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/assert-binary-ok.js +0 -15
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/fetch-with-timeout.d.ts +0 -2
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/fetch-with-timeout.js +0 -38
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/headers.d.ts +0 -2
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/headers.js +0 -15
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/parse-json-response.d.ts +0 -2
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/parse-json-response.js +0 -15
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/query.d.ts +0 -2
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/query.js +0 -14
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/repo-id.d.ts +0 -2
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/repo-id.js +0 -14
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/request.d.ts +0 -6
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/request.js +0 -41
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/throw-api-error.d.ts +0 -2
- package/dist/treedx/client/support/contracts/treedx/transport/contracts/throw-api-error.js +0 -14
- package/dist/treedx/client/support/contracts/treedx/workspaces/contracts/exec.d.ts +0 -3
- package/dist/treedx/client/support/contracts/treedx/workspaces/contracts/exec.js +0 -7
- package/dist/treedx/client/support/creation/apply-changeset.d.ts +0 -3
- package/dist/treedx/client/support/creation/apply-changeset.js +0 -10
- package/dist/treedx/client/support/creation/apply-storage-migration.d.ts +0 -3
- package/dist/treedx/client/support/creation/apply-storage-migration.js +0 -7
- package/dist/treedx/client/support/creation/create-migration.d.ts +0 -6
- package/dist/treedx/client/support/creation/create-migration.js +0 -7
- package/dist/treedx/client/support/creation/export-artifact.d.ts +0 -3
- package/dist/treedx/client/support/creation/export-artifact.js +0 -8
- package/dist/treedx/client/support/creation/plan-storage-migration.d.ts +0 -3
- package/dist/treedx/client/support/creation/plan-storage-migration.js +0 -7
- package/dist/treedx/client/support/creation/request-binary.d.ts +0 -6
- package/dist/treedx/client/support/creation/request-binary.js +0 -42
- package/dist/treedx/client/support/creation/write-file.d.ts +0 -3
- package/dist/treedx/client/support/creation/write-file.js +0 -10
- package/dist/treedx/client/support/creation/write-files.d.ts +0 -3
- package/dist/treedx/client/support/creation/write-files.js +0 -12
- package/dist/treedx/client/support/queries/treedx/artifacts/queries/get-artifact.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/artifacts/queries/get-artifact.js +0 -7
- package/dist/treedx/client/support/queries/treedx/artifacts/queries/list-artifacts.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/artifacts/queries/list-artifacts.js +0 -7
- package/dist/treedx/client/support/queries/treedx/authorization/queries/effective-scope.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/authorization/queries/effective-scope.js +0 -9
- package/dist/treedx/client/support/queries/treedx/authorization/queries/list-capabilities.d.ts +0 -4
- package/dist/treedx/client/support/queries/treedx/authorization/queries/list-capabilities.js +0 -6
- package/dist/treedx/client/support/queries/treedx/federation/queries/get-placement.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/federation/queries/get-placement.js +0 -7
- package/dist/treedx/client/support/queries/treedx/graph/queries/get-node.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/graph/queries/get-node.js +0 -7
- package/dist/treedx/client/support/queries/treedx/graph/queries/get-related.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/graph/queries/get-related.js +0 -7
- package/dist/treedx/client/support/queries/treedx/graph/queries/list-nodes.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/graph/queries/list-nodes.js +0 -7
- package/dist/treedx/client/support/queries/treedx/repositories/queries/list-tree.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/repositories/queries/list-tree.js +0 -10
- package/dist/treedx/client/support/queries/treedx/repositories/queries/read-file.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/repositories/queries/read-file.js +0 -9
- package/dist/treedx/client/support/queries/treedx/search/queries/get-search-index-status.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/search/queries/get-search-index-status.js +0 -7
- package/dist/treedx/client/support/queries/treedx/storage/queries/get-migration.d.ts +0 -6
- package/dist/treedx/client/support/queries/treedx/storage/queries/get-migration.js +0 -7
- package/dist/treedx/client/support/queries/treedx/storage/queries/get-snapshot.d.ts +0 -6
- package/dist/treedx/client/support/queries/treedx/storage/queries/get-snapshot.js +0 -7
- package/dist/treedx/client/support/queries/treedx/storage/queries/list-storage-migrations.d.ts +0 -6
- package/dist/treedx/client/support/queries/treedx/storage/queries/list-storage-migrations.js +0 -6
- package/dist/treedx/client/support/queries/treedx/transport/queries/list-audit-events.d.ts +0 -15
- package/dist/treedx/client/support/queries/treedx/transport/queries/list-audit-events.js +0 -6
- package/dist/treedx/client/support/queries/treedx/transport/queries/list-repositories.d.ts +0 -3
- package/dist/treedx/client/support/queries/treedx/transport/queries/list-repositories.js +0 -7
- package/dist/treedx/client/support/retirement/cleanup-artifacts.d.ts +0 -3
- package/dist/treedx/client/support/retirement/cleanup-artifacts.js +0 -7
- package/dist/treedx/client/support/retirement/delete-artifact.d.ts +0 -3
- package/dist/treedx/client/support/retirement/delete-artifact.js +0 -7
- package/dist/treedx/client/support/retirement/delete-file.d.ts +0 -3
- package/dist/treedx/client/support/retirement/delete-file.js +0 -10
- package/dist/treedx/client/support/retirement/rollback-storage-migration.d.ts +0 -3
- package/dist/treedx/client/support/retirement/rollback-storage-migration.js +0 -7
- package/dist/treedx/client/support/updates/patch-file.d.ts +0 -3
- package/dist/treedx/client/support/updates/patch-file.js +0 -10
- package/dist/treedx/client/support/updates/refresh-search-index.d.ts +0 -3
- package/dist/treedx/client/support/updates/refresh-search-index.js +0 -8
- package/dist/treedx/client/treedx/blobs/contracts/download-blob.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/contracts/download-blob.js +0 -6
- package/dist/treedx/client/treedx/blobs/creation/create-blob-upload.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/creation/create-blob-upload.js +0 -8
- package/dist/treedx/client/treedx/blobs/creation/request-blob-download.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/creation/request-blob-download.js +0 -27
- package/dist/treedx/client/treedx/blobs/creation/request-blob-upload.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/creation/request-blob-upload.js +0 -41
- package/dist/treedx/client/treedx/blobs/creation/upload-blob-part.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/creation/upload-blob-part.js +0 -27
- package/dist/treedx/client/treedx/blobs/creation/upload-blob.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/creation/upload-blob.js +0 -6
- package/dist/treedx/client/treedx/blobs/creation/write-blob.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/creation/write-blob.js +0 -8
- package/dist/treedx/client/treedx/blobs/lifecycle/complete-blob-upload.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/lifecycle/complete-blob-upload.js +0 -8
- package/dist/treedx/client/treedx/blobs/queries/read-blob.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/queries/read-blob.js +0 -10
- package/dist/treedx/client/treedx/blobs/retirement/abort-blob-upload.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/retirement/abort-blob-upload.js +0 -7
- package/dist/treedx/client/treedx/blobs/retirement/delete-blob.d.ts +0 -3
- package/dist/treedx/client/treedx/blobs/retirement/delete-blob.js +0 -8
- package/dist/treedx/client/treedx/federation/contracts/federated-query.d.ts +0 -3
- package/dist/treedx/client/treedx/federation/contracts/federated-query.js +0 -7
- package/dist/treedx/client/treedx/federation/creation/plan-federated-query.d.ts +0 -3
- package/dist/treedx/client/treedx/federation/creation/plan-federated-query.js +0 -6
- package/dist/treedx/client/treedx/federation/queries/check-mirror-health.d.ts +0 -3
- package/dist/treedx/client/treedx/federation/queries/check-mirror-health.js +0 -7
- package/dist/treedx/client/treedx/federation/updates/promote-mirror.d.ts +0 -3
- package/dist/treedx/client/treedx/federation/updates/promote-mirror.js +0 -7
- package/dist/treedx/client/treedx/federation/updates/sync-mirror.d.ts +0 -3
- package/dist/treedx/client/treedx/federation/updates/sync-mirror.js +0 -7
- package/dist/treedx/client/treedx/graph/contracts/federated-context.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/contracts/federated-context.js +0 -7
- package/dist/treedx/client/treedx/graph/contracts/federated-graph.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/contracts/federated-graph.js +0 -7
- package/dist/treedx/client/treedx/graph/contracts/graph-search.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/contracts/graph-search.js +0 -8
- package/dist/treedx/client/treedx/graph/queries/get-graph-node.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/queries/get-graph-node.js +0 -10
- package/dist/treedx/client/treedx/graph/queries/get-graph-refresh-job.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/queries/get-graph-refresh-job.js +0 -7
- package/dist/treedx/client/treedx/graph/queries/get-subgraph.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/queries/get-subgraph.js +0 -7
- package/dist/treedx/client/treedx/graph/queries/query-graph.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/queries/query-graph.js +0 -7
- package/dist/treedx/client/treedx/graph/queries/search-graph-entities.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/queries/search-graph-entities.js +0 -6
- package/dist/treedx/client/treedx/graph/queries/search-graph-files.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/queries/search-graph-files.js +0 -6
- package/dist/treedx/client/treedx/graph/queries/search-graph-sections.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/queries/search-graph-sections.js +0 -6
- package/dist/treedx/client/treedx/graph/updates/refresh-graph.d.ts +0 -3
- package/dist/treedx/client/treedx/graph/updates/refresh-graph.js +0 -7
- package/dist/treedx/client/treedx/search/contracts/federated-search.d.ts +0 -3
- package/dist/treedx/client/treedx/search/contracts/federated-search.js +0 -7
- package/dist/treedx/client/treedx/workspaces/creation/create-workspace.d.ts +0 -3
- package/dist/treedx/client/treedx/workspaces/creation/create-workspace.js +0 -7
- package/dist/treedx/client/treedx/workspaces/retirement/abandon-workspace.d.ts +0 -3
- package/dist/treedx/client/treedx/workspaces/retirement/abandon-workspace.js +0 -12
- package/dist/treedx/client/treedx/workspaces/retirement/close-workspace.d.ts +0 -2
- package/dist/treedx/client/treedx/workspaces/retirement/close-workspace.js +0 -6
- package/dist/treedx/generated/openapi-types.d.ts +0 -3662
- package/dist/treedx/support/client.d.ts +0 -251
- package/dist/treedx/support/client.js +0 -252
- package/dist/treedx/support/errors.d.ts +0 -13
- package/dist/treedx/support/errors.js +0 -17
- package/dist/treedx/types/tree-dx-actor.d.ts +0 -209
- package/dist/treedx/types/tree-dx-actor.js +0 -8
- package/dist/treedx/types/tree-dx-artifact-list-response.d.ts +0 -13
- package/dist/treedx/types/tree-dx-changeset.d.ts +0 -51
- package/dist/treedx/types/tree-dx-changeset.js +0 -6
- package/dist/treedx/types/tree-dx-context-request.d.ts +0 -245
- package/dist/treedx/types/tree-dx-context-request.js +0 -0
- package/dist/treedx/types/tree-dx-exec-result.d.ts +0 -249
- package/dist/treedx/types/tree-dx-exec-result.js +0 -0
- package/dist/treedx/types/tree-dx-list-tree-request.d.ts +0 -222
- package/dist/treedx/types/tree-dx-list-tree-request.js +0 -0
- package/dist/treedx/types/tree-dx-push-request.d.ts +0 -229
- package/dist/treedx/types/tree-dx-push-request.js +0 -0
- /package/dist/{treedx/generated/openapi-types.js → site-contracts/cloudflare.js} +0 -0
- /package/dist/{treedx/types/tree-dx-artifact-list-response.js → site-contracts/platform.js} +0 -0
|
@@ -94,12 +94,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
94
94
|
templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
95
95
|
}, "strict", z.ZodTypeAny, {
|
|
96
96
|
system: string;
|
|
97
|
-
task?: string | undefined;
|
|
98
97
|
templates?: Record<string, string> | undefined;
|
|
98
|
+
task?: string | undefined;
|
|
99
99
|
}, {
|
|
100
100
|
system: string;
|
|
101
|
-
task?: string | undefined;
|
|
102
101
|
templates?: Record<string, string> | undefined;
|
|
102
|
+
task?: string | undefined;
|
|
103
103
|
}>;
|
|
104
104
|
branchPolicy: z.ZodObject<{
|
|
105
105
|
kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
|
|
@@ -113,19 +113,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
113
113
|
}, "strict", z.ZodTypeAny, {
|
|
114
114
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
115
115
|
base: "main" | "staging";
|
|
116
|
-
prefix?: string | undefined;
|
|
117
116
|
target?: "main" | "staging" | undefined;
|
|
118
|
-
branchNameTemplate?: string | undefined;
|
|
119
117
|
worktree?: string | undefined;
|
|
118
|
+
prefix?: string | undefined;
|
|
119
|
+
branchNameTemplate?: string | undefined;
|
|
120
120
|
updateBaseBeforeRun?: boolean | undefined;
|
|
121
121
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
122
122
|
}, {
|
|
123
123
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
124
124
|
base: "main" | "staging";
|
|
125
|
-
prefix?: string | undefined;
|
|
126
125
|
target?: "main" | "staging" | undefined;
|
|
127
|
-
branchNameTemplate?: string | undefined;
|
|
128
126
|
worktree?: string | undefined;
|
|
127
|
+
prefix?: string | undefined;
|
|
128
|
+
branchNameTemplate?: string | undefined;
|
|
129
129
|
updateBaseBeforeRun?: boolean | undefined;
|
|
130
130
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
131
131
|
}>;
|
|
@@ -177,6 +177,43 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
177
177
|
id: string;
|
|
178
178
|
revision: number;
|
|
179
179
|
}[]>>;
|
|
180
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
181
|
+
capabilityId: z.ZodString;
|
|
182
|
+
versionRange: z.ZodString;
|
|
183
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
184
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
185
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
186
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
187
|
+
value: z.ZodUnknown;
|
|
188
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
189
|
+
}, "strict", z.ZodTypeAny, {
|
|
190
|
+
requirement: "required" | "preferred";
|
|
191
|
+
value?: unknown;
|
|
192
|
+
}, {
|
|
193
|
+
requirement: "required" | "preferred";
|
|
194
|
+
value?: unknown;
|
|
195
|
+
}>>>;
|
|
196
|
+
}, "strict", z.ZodTypeAny, {
|
|
197
|
+
requirement: "required" | "preferred";
|
|
198
|
+
capabilityId: string;
|
|
199
|
+
versionRange: string;
|
|
200
|
+
configuration?: Record<string, {
|
|
201
|
+
requirement: "required" | "preferred";
|
|
202
|
+
value?: unknown;
|
|
203
|
+
}> | undefined;
|
|
204
|
+
alternativeGroup?: string | null | undefined;
|
|
205
|
+
requiredFeatures?: string[] | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
requirement: "required" | "preferred";
|
|
208
|
+
capabilityId: string;
|
|
209
|
+
versionRange: string;
|
|
210
|
+
configuration?: Record<string, {
|
|
211
|
+
requirement: "required" | "preferred";
|
|
212
|
+
value?: unknown;
|
|
213
|
+
}> | undefined;
|
|
214
|
+
alternativeGroup?: string | null | undefined;
|
|
215
|
+
requiredFeatures?: string[] | undefined;
|
|
216
|
+
}>, "many">>;
|
|
180
217
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
181
218
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
182
219
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -232,18 +269,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
232
269
|
deniedCommands?: string[] | undefined;
|
|
233
270
|
}>>;
|
|
234
271
|
}, "strict", z.ZodTypeAny, {
|
|
235
|
-
content?: Record<string, {
|
|
236
|
-
operations: string[];
|
|
237
|
-
filters?: Record<string, unknown> | undefined;
|
|
238
|
-
}> | undefined;
|
|
239
|
-
commit?: {
|
|
240
|
-
allowed: boolean;
|
|
241
|
-
} | undefined;
|
|
242
272
|
repository?: {
|
|
243
273
|
allowCodeMutation?: boolean | undefined;
|
|
244
274
|
readPaths?: string[] | undefined;
|
|
245
275
|
writePaths?: string[] | undefined;
|
|
246
276
|
} | undefined;
|
|
277
|
+
commit?: {
|
|
278
|
+
allowed: boolean;
|
|
279
|
+
} | undefined;
|
|
280
|
+
content?: Record<string, {
|
|
281
|
+
operations: string[];
|
|
282
|
+
filters?: Record<string, unknown> | undefined;
|
|
283
|
+
}> | undefined;
|
|
247
284
|
network?: {
|
|
248
285
|
allowWeb?: boolean | undefined;
|
|
249
286
|
allowedDomains?: string[] | undefined;
|
|
@@ -254,18 +291,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
254
291
|
deniedCommands?: string[] | undefined;
|
|
255
292
|
} | undefined;
|
|
256
293
|
}, {
|
|
257
|
-
content?: Record<string, {
|
|
258
|
-
operations: string[];
|
|
259
|
-
filters?: Record<string, unknown> | undefined;
|
|
260
|
-
}> | undefined;
|
|
261
|
-
commit?: {
|
|
262
|
-
allowed: boolean;
|
|
263
|
-
} | undefined;
|
|
264
294
|
repository?: {
|
|
265
295
|
allowCodeMutation?: boolean | undefined;
|
|
266
296
|
readPaths?: string[] | undefined;
|
|
267
297
|
writePaths?: string[] | undefined;
|
|
268
298
|
} | undefined;
|
|
299
|
+
commit?: {
|
|
300
|
+
allowed: boolean;
|
|
301
|
+
} | undefined;
|
|
302
|
+
content?: Record<string, {
|
|
303
|
+
operations: string[];
|
|
304
|
+
filters?: Record<string, unknown> | undefined;
|
|
305
|
+
}> | undefined;
|
|
269
306
|
network?: {
|
|
270
307
|
allowWeb?: boolean | undefined;
|
|
271
308
|
allowedDomains?: string[] | undefined;
|
|
@@ -308,52 +345,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
308
345
|
requiredArtifactKinds?: string[] | undefined;
|
|
309
346
|
blockOnOpenQuestions?: boolean | undefined;
|
|
310
347
|
}>>;
|
|
311
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
312
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
313
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
314
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
315
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
316
|
-
id: z.ZodString;
|
|
317
|
-
revision: z.ZodNumber;
|
|
318
|
-
}, "strict", z.ZodTypeAny, {
|
|
319
|
-
id: string;
|
|
320
|
-
revision: number;
|
|
321
|
-
}, {
|
|
322
|
-
id: string;
|
|
323
|
-
revision: number;
|
|
324
|
-
}>, "many">, {
|
|
325
|
-
id: string;
|
|
326
|
-
revision: number;
|
|
327
|
-
}[], {
|
|
328
|
-
id: string;
|
|
329
|
-
revision: number;
|
|
330
|
-
}[]>>;
|
|
331
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
332
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
333
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
334
|
-
}, "strict", z.ZodTypeAny, {
|
|
335
|
-
instructionTemplateRefs?: {
|
|
336
|
-
id: string;
|
|
337
|
-
revision: number;
|
|
338
|
-
}[] | undefined;
|
|
339
|
-
requiredCapabilities?: string[] | undefined;
|
|
340
|
-
maxRuntimeSeconds?: number | undefined;
|
|
341
|
-
maxTotalTokens?: number | undefined;
|
|
342
|
-
maxCostAmount?: number | undefined;
|
|
343
|
-
disallowedProviderIds?: string[] | undefined;
|
|
344
|
-
promptRef?: string | undefined;
|
|
345
|
-
}, {
|
|
346
|
-
instructionTemplateRefs?: {
|
|
347
|
-
id: string;
|
|
348
|
-
revision: number;
|
|
349
|
-
}[] | undefined;
|
|
350
|
-
requiredCapabilities?: string[] | undefined;
|
|
351
|
-
maxRuntimeSeconds?: number | undefined;
|
|
352
|
-
maxTotalTokens?: number | undefined;
|
|
353
|
-
maxCostAmount?: number | undefined;
|
|
354
|
-
disallowedProviderIds?: string[] | undefined;
|
|
355
|
-
promptRef?: string | undefined;
|
|
356
|
-
}>>;
|
|
357
348
|
tools: z.ZodObject<{
|
|
358
349
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
359
350
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -586,7 +577,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
586
577
|
publishes?: string[] | undefined;
|
|
587
578
|
}>>;
|
|
588
579
|
}, "strict", z.ZodTypeAny, {
|
|
589
|
-
stage: "
|
|
580
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
590
581
|
signals?: {
|
|
591
582
|
subscribesTo?: {
|
|
592
583
|
contract: string;
|
|
@@ -607,7 +598,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
607
598
|
} | undefined;
|
|
608
599
|
promptTask?: string | undefined;
|
|
609
600
|
}, {
|
|
610
|
-
stage: "
|
|
601
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
611
602
|
signals?: {
|
|
612
603
|
subscribesTo?: {
|
|
613
604
|
contract: string;
|
|
@@ -630,7 +621,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
630
621
|
}>, "many">>;
|
|
631
622
|
requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
632
623
|
}, "strict", z.ZodTypeAny, {
|
|
633
|
-
stage?: "
|
|
624
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
634
625
|
objective?: string | undefined;
|
|
635
626
|
proposalTypes?: string[] | undefined;
|
|
636
627
|
artifactKind?: string | undefined;
|
|
@@ -638,7 +629,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
638
629
|
subjectId?: string | null | undefined;
|
|
639
630
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
640
631
|
stages?: {
|
|
641
|
-
stage: "
|
|
632
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
642
633
|
signals?: {
|
|
643
634
|
subscribesTo?: {
|
|
644
635
|
contract: string;
|
|
@@ -661,7 +652,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
661
652
|
}[] | undefined;
|
|
662
653
|
requiresArtifactKinds?: string[] | undefined;
|
|
663
654
|
}, {
|
|
664
|
-
stage?: "
|
|
655
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
665
656
|
objective?: string | undefined;
|
|
666
657
|
proposalTypes?: string[] | undefined;
|
|
667
658
|
artifactKind?: string | undefined;
|
|
@@ -669,7 +660,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
669
660
|
subjectId?: string | null | undefined;
|
|
670
661
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
671
662
|
stages?: {
|
|
672
|
-
stage: "
|
|
663
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
673
664
|
signals?: {
|
|
674
665
|
subscribesTo?: {
|
|
675
666
|
contract: string;
|
|
@@ -758,7 +749,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
758
749
|
blockExecutionWhenCreated?: boolean | undefined;
|
|
759
750
|
}>>;
|
|
760
751
|
execution: z.ZodOptional<z.ZodObject<{
|
|
761
|
-
|
|
752
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["minimal", "low", "medium", "high", "xhigh"]>>;
|
|
762
753
|
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
763
754
|
closeoutWarningSeconds: z.ZodOptional<z.ZodNumber>;
|
|
764
755
|
preparationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -791,7 +782,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
791
782
|
closeoutSeconds?: number | undefined;
|
|
792
783
|
closeoutWarningSeconds?: number | undefined;
|
|
793
784
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
794
|
-
|
|
785
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
795
786
|
maxRuntimeSeconds?: number | undefined;
|
|
796
787
|
maxRetries?: number | undefined;
|
|
797
788
|
verificationRequired?: boolean | undefined;
|
|
@@ -812,7 +803,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
812
803
|
closeoutSeconds?: number | undefined;
|
|
813
804
|
closeoutWarningSeconds?: number | undefined;
|
|
814
805
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
815
|
-
|
|
806
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
816
807
|
maxRuntimeSeconds?: number | undefined;
|
|
817
808
|
maxRetries?: number | undefined;
|
|
818
809
|
verificationRequired?: boolean | undefined;
|
|
@@ -831,36 +822,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
831
822
|
}>>;
|
|
832
823
|
}, "strict", z.ZodTypeAny, {
|
|
833
824
|
enabled: boolean;
|
|
825
|
+
outputs: {
|
|
826
|
+
messageTypes: string[];
|
|
827
|
+
modelMutations: string[];
|
|
828
|
+
};
|
|
834
829
|
prompt: {
|
|
835
830
|
system: string;
|
|
836
|
-
task?: string | undefined;
|
|
837
831
|
templates?: Record<string, string> | undefined;
|
|
832
|
+
task?: string | undefined;
|
|
838
833
|
};
|
|
839
834
|
branchPolicy: {
|
|
840
835
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
841
836
|
base: "main" | "staging";
|
|
842
|
-
prefix?: string | undefined;
|
|
843
837
|
target?: "main" | "staging" | undefined;
|
|
844
|
-
branchNameTemplate?: string | undefined;
|
|
845
838
|
worktree?: string | undefined;
|
|
839
|
+
prefix?: string | undefined;
|
|
840
|
+
branchNameTemplate?: string | undefined;
|
|
846
841
|
updateBaseBeforeRun?: boolean | undefined;
|
|
847
842
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
848
843
|
};
|
|
849
|
-
handler: "
|
|
844
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
850
845
|
tools: {
|
|
851
846
|
allowed: string[];
|
|
852
847
|
denied?: string[] | undefined;
|
|
853
848
|
};
|
|
854
|
-
outputs: {
|
|
855
|
-
messageTypes: string[];
|
|
856
|
-
modelMutations: string[];
|
|
857
|
-
};
|
|
858
849
|
execution?: {
|
|
859
850
|
preparationSeconds?: number | undefined;
|
|
860
851
|
closeoutSeconds?: number | undefined;
|
|
861
852
|
closeoutWarningSeconds?: number | undefined;
|
|
862
853
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
863
|
-
|
|
854
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
864
855
|
maxRuntimeSeconds?: number | undefined;
|
|
865
856
|
maxRetries?: number | undefined;
|
|
866
857
|
verificationRequired?: boolean | undefined;
|
|
@@ -890,19 +881,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
890
881
|
id: string;
|
|
891
882
|
revision: number;
|
|
892
883
|
}[] | undefined;
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
884
|
+
capabilityRequirements?: {
|
|
885
|
+
requirement: "required" | "preferred";
|
|
886
|
+
capabilityId: string;
|
|
887
|
+
versionRange: string;
|
|
888
|
+
configuration?: Record<string, {
|
|
889
|
+
requirement: "required" | "preferred";
|
|
890
|
+
value?: unknown;
|
|
897
891
|
}> | undefined;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
892
|
+
alternativeGroup?: string | null | undefined;
|
|
893
|
+
requiredFeatures?: string[] | undefined;
|
|
894
|
+
}[] | undefined;
|
|
895
|
+
permissions?: {
|
|
901
896
|
repository?: {
|
|
902
897
|
allowCodeMutation?: boolean | undefined;
|
|
903
898
|
readPaths?: string[] | undefined;
|
|
904
899
|
writePaths?: string[] | undefined;
|
|
905
900
|
} | undefined;
|
|
901
|
+
commit?: {
|
|
902
|
+
allowed: boolean;
|
|
903
|
+
} | undefined;
|
|
904
|
+
content?: Record<string, {
|
|
905
|
+
operations: string[];
|
|
906
|
+
filters?: Record<string, unknown> | undefined;
|
|
907
|
+
}> | undefined;
|
|
906
908
|
network?: {
|
|
907
909
|
allowWeb?: boolean | undefined;
|
|
908
910
|
allowedDomains?: string[] | undefined;
|
|
@@ -925,18 +927,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
925
927
|
requiredArtifactKinds?: string[] | undefined;
|
|
926
928
|
blockOnOpenQuestions?: boolean | undefined;
|
|
927
929
|
} | undefined;
|
|
928
|
-
providerOverrides?: {
|
|
929
|
-
instructionTemplateRefs?: {
|
|
930
|
-
id: string;
|
|
931
|
-
revision: number;
|
|
932
|
-
}[] | undefined;
|
|
933
|
-
requiredCapabilities?: string[] | undefined;
|
|
934
|
-
maxRuntimeSeconds?: number | undefined;
|
|
935
|
-
maxTotalTokens?: number | undefined;
|
|
936
|
-
maxCostAmount?: number | undefined;
|
|
937
|
-
disallowedProviderIds?: string[] | undefined;
|
|
938
|
-
promptRef?: string | undefined;
|
|
939
|
-
} | undefined;
|
|
940
930
|
signals?: {
|
|
941
931
|
subscribesTo?: {
|
|
942
932
|
contract: string;
|
|
@@ -956,7 +946,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
956
946
|
publishes?: string[] | undefined;
|
|
957
947
|
} | undefined;
|
|
958
948
|
planningIntent?: {
|
|
959
|
-
stage?: "
|
|
949
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
960
950
|
objective?: string | undefined;
|
|
961
951
|
proposalTypes?: string[] | undefined;
|
|
962
952
|
artifactKind?: string | undefined;
|
|
@@ -964,7 +954,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
964
954
|
subjectId?: string | null | undefined;
|
|
965
955
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
966
956
|
stages?: {
|
|
967
|
-
stage: "
|
|
957
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
968
958
|
signals?: {
|
|
969
959
|
subscribesTo?: {
|
|
970
960
|
contract: string;
|
|
@@ -1004,36 +994,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1004
994
|
} | undefined;
|
|
1005
995
|
}, {
|
|
1006
996
|
enabled: boolean;
|
|
997
|
+
outputs: {
|
|
998
|
+
messageTypes: string[];
|
|
999
|
+
modelMutations: string[];
|
|
1000
|
+
};
|
|
1007
1001
|
prompt: {
|
|
1008
1002
|
system: string;
|
|
1009
|
-
task?: string | undefined;
|
|
1010
1003
|
templates?: Record<string, string> | undefined;
|
|
1004
|
+
task?: string | undefined;
|
|
1011
1005
|
};
|
|
1012
1006
|
branchPolicy: {
|
|
1013
1007
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
1014
1008
|
base: "main" | "staging";
|
|
1015
|
-
prefix?: string | undefined;
|
|
1016
1009
|
target?: "main" | "staging" | undefined;
|
|
1017
|
-
branchNameTemplate?: string | undefined;
|
|
1018
1010
|
worktree?: string | undefined;
|
|
1011
|
+
prefix?: string | undefined;
|
|
1012
|
+
branchNameTemplate?: string | undefined;
|
|
1019
1013
|
updateBaseBeforeRun?: boolean | undefined;
|
|
1020
1014
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
1021
1015
|
};
|
|
1022
|
-
handler: "
|
|
1016
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
1023
1017
|
tools: {
|
|
1024
1018
|
allowed: string[];
|
|
1025
1019
|
denied?: string[] | undefined;
|
|
1026
1020
|
};
|
|
1027
|
-
outputs: {
|
|
1028
|
-
messageTypes: string[];
|
|
1029
|
-
modelMutations: string[];
|
|
1030
|
-
};
|
|
1031
1021
|
execution?: {
|
|
1032
1022
|
preparationSeconds?: number | undefined;
|
|
1033
1023
|
closeoutSeconds?: number | undefined;
|
|
1034
1024
|
closeoutWarningSeconds?: number | undefined;
|
|
1035
1025
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1036
|
-
|
|
1026
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
1037
1027
|
maxRuntimeSeconds?: number | undefined;
|
|
1038
1028
|
maxRetries?: number | undefined;
|
|
1039
1029
|
verificationRequired?: boolean | undefined;
|
|
@@ -1063,19 +1053,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1063
1053
|
id: string;
|
|
1064
1054
|
revision: number;
|
|
1065
1055
|
}[] | undefined;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1056
|
+
capabilityRequirements?: {
|
|
1057
|
+
requirement: "required" | "preferred";
|
|
1058
|
+
capabilityId: string;
|
|
1059
|
+
versionRange: string;
|
|
1060
|
+
configuration?: Record<string, {
|
|
1061
|
+
requirement: "required" | "preferred";
|
|
1062
|
+
value?: unknown;
|
|
1070
1063
|
}> | undefined;
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1064
|
+
alternativeGroup?: string | null | undefined;
|
|
1065
|
+
requiredFeatures?: string[] | undefined;
|
|
1066
|
+
}[] | undefined;
|
|
1067
|
+
permissions?: {
|
|
1074
1068
|
repository?: {
|
|
1075
1069
|
allowCodeMutation?: boolean | undefined;
|
|
1076
1070
|
readPaths?: string[] | undefined;
|
|
1077
1071
|
writePaths?: string[] | undefined;
|
|
1078
1072
|
} | undefined;
|
|
1073
|
+
commit?: {
|
|
1074
|
+
allowed: boolean;
|
|
1075
|
+
} | undefined;
|
|
1076
|
+
content?: Record<string, {
|
|
1077
|
+
operations: string[];
|
|
1078
|
+
filters?: Record<string, unknown> | undefined;
|
|
1079
|
+
}> | undefined;
|
|
1079
1080
|
network?: {
|
|
1080
1081
|
allowWeb?: boolean | undefined;
|
|
1081
1082
|
allowedDomains?: string[] | undefined;
|
|
@@ -1098,18 +1099,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1098
1099
|
requiredArtifactKinds?: string[] | undefined;
|
|
1099
1100
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1100
1101
|
} | undefined;
|
|
1101
|
-
providerOverrides?: {
|
|
1102
|
-
instructionTemplateRefs?: {
|
|
1103
|
-
id: string;
|
|
1104
|
-
revision: number;
|
|
1105
|
-
}[] | undefined;
|
|
1106
|
-
requiredCapabilities?: string[] | undefined;
|
|
1107
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1108
|
-
maxTotalTokens?: number | undefined;
|
|
1109
|
-
maxCostAmount?: number | undefined;
|
|
1110
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1111
|
-
promptRef?: string | undefined;
|
|
1112
|
-
} | undefined;
|
|
1113
1102
|
signals?: {
|
|
1114
1103
|
subscribesTo?: {
|
|
1115
1104
|
contract: string;
|
|
@@ -1129,7 +1118,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1129
1118
|
publishes?: string[] | undefined;
|
|
1130
1119
|
} | undefined;
|
|
1131
1120
|
planningIntent?: {
|
|
1132
|
-
stage?: "
|
|
1121
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
1133
1122
|
objective?: string | undefined;
|
|
1134
1123
|
proposalTypes?: string[] | undefined;
|
|
1135
1124
|
artifactKind?: string | undefined;
|
|
@@ -1137,7 +1126,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1137
1126
|
subjectId?: string | null | undefined;
|
|
1138
1127
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
1139
1128
|
stages?: {
|
|
1140
|
-
stage: "
|
|
1129
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
1141
1130
|
signals?: {
|
|
1142
1131
|
subscribesTo?: {
|
|
1143
1132
|
contract: string;
|
|
@@ -1177,36 +1166,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1177
1166
|
} | undefined;
|
|
1178
1167
|
}>, {
|
|
1179
1168
|
enabled: boolean;
|
|
1169
|
+
outputs: {
|
|
1170
|
+
messageTypes: string[];
|
|
1171
|
+
modelMutations: string[];
|
|
1172
|
+
};
|
|
1180
1173
|
prompt: {
|
|
1181
1174
|
system: string;
|
|
1182
|
-
task?: string | undefined;
|
|
1183
1175
|
templates?: Record<string, string> | undefined;
|
|
1176
|
+
task?: string | undefined;
|
|
1184
1177
|
};
|
|
1185
1178
|
branchPolicy: {
|
|
1186
1179
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
1187
1180
|
base: "main" | "staging";
|
|
1188
|
-
prefix?: string | undefined;
|
|
1189
1181
|
target?: "main" | "staging" | undefined;
|
|
1190
|
-
branchNameTemplate?: string | undefined;
|
|
1191
1182
|
worktree?: string | undefined;
|
|
1183
|
+
prefix?: string | undefined;
|
|
1184
|
+
branchNameTemplate?: string | undefined;
|
|
1192
1185
|
updateBaseBeforeRun?: boolean | undefined;
|
|
1193
1186
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
1194
1187
|
};
|
|
1195
|
-
handler: "
|
|
1188
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
1196
1189
|
tools: {
|
|
1197
1190
|
allowed: string[];
|
|
1198
1191
|
denied?: string[] | undefined;
|
|
1199
1192
|
};
|
|
1200
|
-
outputs: {
|
|
1201
|
-
messageTypes: string[];
|
|
1202
|
-
modelMutations: string[];
|
|
1203
|
-
};
|
|
1204
1193
|
execution?: {
|
|
1205
1194
|
preparationSeconds?: number | undefined;
|
|
1206
1195
|
closeoutSeconds?: number | undefined;
|
|
1207
1196
|
closeoutWarningSeconds?: number | undefined;
|
|
1208
1197
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1209
|
-
|
|
1198
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
1210
1199
|
maxRuntimeSeconds?: number | undefined;
|
|
1211
1200
|
maxRetries?: number | undefined;
|
|
1212
1201
|
verificationRequired?: boolean | undefined;
|
|
@@ -1236,19 +1225,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1236
1225
|
id: string;
|
|
1237
1226
|
revision: number;
|
|
1238
1227
|
}[] | undefined;
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1228
|
+
capabilityRequirements?: {
|
|
1229
|
+
requirement: "required" | "preferred";
|
|
1230
|
+
capabilityId: string;
|
|
1231
|
+
versionRange: string;
|
|
1232
|
+
configuration?: Record<string, {
|
|
1233
|
+
requirement: "required" | "preferred";
|
|
1234
|
+
value?: unknown;
|
|
1243
1235
|
}> | undefined;
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1236
|
+
alternativeGroup?: string | null | undefined;
|
|
1237
|
+
requiredFeatures?: string[] | undefined;
|
|
1238
|
+
}[] | undefined;
|
|
1239
|
+
permissions?: {
|
|
1247
1240
|
repository?: {
|
|
1248
1241
|
allowCodeMutation?: boolean | undefined;
|
|
1249
1242
|
readPaths?: string[] | undefined;
|
|
1250
1243
|
writePaths?: string[] | undefined;
|
|
1251
1244
|
} | undefined;
|
|
1245
|
+
commit?: {
|
|
1246
|
+
allowed: boolean;
|
|
1247
|
+
} | undefined;
|
|
1248
|
+
content?: Record<string, {
|
|
1249
|
+
operations: string[];
|
|
1250
|
+
filters?: Record<string, unknown> | undefined;
|
|
1251
|
+
}> | undefined;
|
|
1252
1252
|
network?: {
|
|
1253
1253
|
allowWeb?: boolean | undefined;
|
|
1254
1254
|
allowedDomains?: string[] | undefined;
|
|
@@ -1271,18 +1271,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1271
1271
|
requiredArtifactKinds?: string[] | undefined;
|
|
1272
1272
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1273
1273
|
} | undefined;
|
|
1274
|
-
providerOverrides?: {
|
|
1275
|
-
instructionTemplateRefs?: {
|
|
1276
|
-
id: string;
|
|
1277
|
-
revision: number;
|
|
1278
|
-
}[] | undefined;
|
|
1279
|
-
requiredCapabilities?: string[] | undefined;
|
|
1280
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1281
|
-
maxTotalTokens?: number | undefined;
|
|
1282
|
-
maxCostAmount?: number | undefined;
|
|
1283
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1284
|
-
promptRef?: string | undefined;
|
|
1285
|
-
} | undefined;
|
|
1286
1274
|
signals?: {
|
|
1287
1275
|
subscribesTo?: {
|
|
1288
1276
|
contract: string;
|
|
@@ -1302,7 +1290,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1302
1290
|
publishes?: string[] | undefined;
|
|
1303
1291
|
} | undefined;
|
|
1304
1292
|
planningIntent?: {
|
|
1305
|
-
stage?: "
|
|
1293
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
1306
1294
|
objective?: string | undefined;
|
|
1307
1295
|
proposalTypes?: string[] | undefined;
|
|
1308
1296
|
artifactKind?: string | undefined;
|
|
@@ -1310,7 +1298,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1310
1298
|
subjectId?: string | null | undefined;
|
|
1311
1299
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
1312
1300
|
stages?: {
|
|
1313
|
-
stage: "
|
|
1301
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
1314
1302
|
signals?: {
|
|
1315
1303
|
subscribesTo?: {
|
|
1316
1304
|
contract: string;
|
|
@@ -1350,36 +1338,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1350
1338
|
} | undefined;
|
|
1351
1339
|
}, {
|
|
1352
1340
|
enabled: boolean;
|
|
1341
|
+
outputs: {
|
|
1342
|
+
messageTypes: string[];
|
|
1343
|
+
modelMutations: string[];
|
|
1344
|
+
};
|
|
1353
1345
|
prompt: {
|
|
1354
1346
|
system: string;
|
|
1355
|
-
task?: string | undefined;
|
|
1356
1347
|
templates?: Record<string, string> | undefined;
|
|
1348
|
+
task?: string | undefined;
|
|
1357
1349
|
};
|
|
1358
1350
|
branchPolicy: {
|
|
1359
1351
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
1360
1352
|
base: "main" | "staging";
|
|
1361
|
-
prefix?: string | undefined;
|
|
1362
1353
|
target?: "main" | "staging" | undefined;
|
|
1363
|
-
branchNameTemplate?: string | undefined;
|
|
1364
1354
|
worktree?: string | undefined;
|
|
1355
|
+
prefix?: string | undefined;
|
|
1356
|
+
branchNameTemplate?: string | undefined;
|
|
1365
1357
|
updateBaseBeforeRun?: boolean | undefined;
|
|
1366
1358
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
1367
1359
|
};
|
|
1368
|
-
handler: "
|
|
1360
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
1369
1361
|
tools: {
|
|
1370
1362
|
allowed: string[];
|
|
1371
1363
|
denied?: string[] | undefined;
|
|
1372
1364
|
};
|
|
1373
|
-
outputs: {
|
|
1374
|
-
messageTypes: string[];
|
|
1375
|
-
modelMutations: string[];
|
|
1376
|
-
};
|
|
1377
1365
|
execution?: {
|
|
1378
1366
|
preparationSeconds?: number | undefined;
|
|
1379
1367
|
closeoutSeconds?: number | undefined;
|
|
1380
1368
|
closeoutWarningSeconds?: number | undefined;
|
|
1381
1369
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1382
|
-
|
|
1370
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
1383
1371
|
maxRuntimeSeconds?: number | undefined;
|
|
1384
1372
|
maxRetries?: number | undefined;
|
|
1385
1373
|
verificationRequired?: boolean | undefined;
|
|
@@ -1409,19 +1397,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1409
1397
|
id: string;
|
|
1410
1398
|
revision: number;
|
|
1411
1399
|
}[] | undefined;
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1400
|
+
capabilityRequirements?: {
|
|
1401
|
+
requirement: "required" | "preferred";
|
|
1402
|
+
capabilityId: string;
|
|
1403
|
+
versionRange: string;
|
|
1404
|
+
configuration?: Record<string, {
|
|
1405
|
+
requirement: "required" | "preferred";
|
|
1406
|
+
value?: unknown;
|
|
1416
1407
|
}> | undefined;
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1408
|
+
alternativeGroup?: string | null | undefined;
|
|
1409
|
+
requiredFeatures?: string[] | undefined;
|
|
1410
|
+
}[] | undefined;
|
|
1411
|
+
permissions?: {
|
|
1420
1412
|
repository?: {
|
|
1421
1413
|
allowCodeMutation?: boolean | undefined;
|
|
1422
1414
|
readPaths?: string[] | undefined;
|
|
1423
1415
|
writePaths?: string[] | undefined;
|
|
1424
1416
|
} | undefined;
|
|
1417
|
+
commit?: {
|
|
1418
|
+
allowed: boolean;
|
|
1419
|
+
} | undefined;
|
|
1420
|
+
content?: Record<string, {
|
|
1421
|
+
operations: string[];
|
|
1422
|
+
filters?: Record<string, unknown> | undefined;
|
|
1423
|
+
}> | undefined;
|
|
1425
1424
|
network?: {
|
|
1426
1425
|
allowWeb?: boolean | undefined;
|
|
1427
1426
|
allowedDomains?: string[] | undefined;
|
|
@@ -1444,18 +1443,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1444
1443
|
requiredArtifactKinds?: string[] | undefined;
|
|
1445
1444
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1446
1445
|
} | undefined;
|
|
1447
|
-
providerOverrides?: {
|
|
1448
|
-
instructionTemplateRefs?: {
|
|
1449
|
-
id: string;
|
|
1450
|
-
revision: number;
|
|
1451
|
-
}[] | undefined;
|
|
1452
|
-
requiredCapabilities?: string[] | undefined;
|
|
1453
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1454
|
-
maxTotalTokens?: number | undefined;
|
|
1455
|
-
maxCostAmount?: number | undefined;
|
|
1456
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1457
|
-
promptRef?: string | undefined;
|
|
1458
|
-
} | undefined;
|
|
1459
1446
|
signals?: {
|
|
1460
1447
|
subscribesTo?: {
|
|
1461
1448
|
contract: string;
|
|
@@ -1475,7 +1462,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1475
1462
|
publishes?: string[] | undefined;
|
|
1476
1463
|
} | undefined;
|
|
1477
1464
|
planningIntent?: {
|
|
1478
|
-
stage?: "
|
|
1465
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
1479
1466
|
objective?: string | undefined;
|
|
1480
1467
|
proposalTypes?: string[] | undefined;
|
|
1481
1468
|
artifactKind?: string | undefined;
|
|
@@ -1483,7 +1470,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1483
1470
|
subjectId?: string | null | undefined;
|
|
1484
1471
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
1485
1472
|
stages?: {
|
|
1486
|
-
stage: "
|
|
1473
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
1487
1474
|
signals?: {
|
|
1488
1475
|
subscribesTo?: {
|
|
1489
1476
|
contract: string;
|
|
@@ -1616,12 +1603,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1616
1603
|
templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1617
1604
|
}, "strict", z.ZodTypeAny, {
|
|
1618
1605
|
system: string;
|
|
1619
|
-
task?: string | undefined;
|
|
1620
1606
|
templates?: Record<string, string> | undefined;
|
|
1607
|
+
task?: string | undefined;
|
|
1621
1608
|
}, {
|
|
1622
1609
|
system: string;
|
|
1623
|
-
task?: string | undefined;
|
|
1624
1610
|
templates?: Record<string, string> | undefined;
|
|
1611
|
+
task?: string | undefined;
|
|
1625
1612
|
}>;
|
|
1626
1613
|
branchPolicy: z.ZodObject<{
|
|
1627
1614
|
kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
|
|
@@ -1635,19 +1622,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1635
1622
|
}, "strict", z.ZodTypeAny, {
|
|
1636
1623
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
1637
1624
|
base: "main" | "staging";
|
|
1638
|
-
prefix?: string | undefined;
|
|
1639
1625
|
target?: "main" | "staging" | undefined;
|
|
1640
|
-
branchNameTemplate?: string | undefined;
|
|
1641
1626
|
worktree?: string | undefined;
|
|
1627
|
+
prefix?: string | undefined;
|
|
1628
|
+
branchNameTemplate?: string | undefined;
|
|
1642
1629
|
updateBaseBeforeRun?: boolean | undefined;
|
|
1643
1630
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
1644
1631
|
}, {
|
|
1645
1632
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
1646
1633
|
base: "main" | "staging";
|
|
1647
|
-
prefix?: string | undefined;
|
|
1648
1634
|
target?: "main" | "staging" | undefined;
|
|
1649
|
-
branchNameTemplate?: string | undefined;
|
|
1650
1635
|
worktree?: string | undefined;
|
|
1636
|
+
prefix?: string | undefined;
|
|
1637
|
+
branchNameTemplate?: string | undefined;
|
|
1651
1638
|
updateBaseBeforeRun?: boolean | undefined;
|
|
1652
1639
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
1653
1640
|
}>;
|
|
@@ -1699,6 +1686,43 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1699
1686
|
id: string;
|
|
1700
1687
|
revision: number;
|
|
1701
1688
|
}[]>>;
|
|
1689
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1690
|
+
capabilityId: z.ZodString;
|
|
1691
|
+
versionRange: z.ZodString;
|
|
1692
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
1693
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1694
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1695
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1696
|
+
value: z.ZodUnknown;
|
|
1697
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
1698
|
+
}, "strict", z.ZodTypeAny, {
|
|
1699
|
+
requirement: "required" | "preferred";
|
|
1700
|
+
value?: unknown;
|
|
1701
|
+
}, {
|
|
1702
|
+
requirement: "required" | "preferred";
|
|
1703
|
+
value?: unknown;
|
|
1704
|
+
}>>>;
|
|
1705
|
+
}, "strict", z.ZodTypeAny, {
|
|
1706
|
+
requirement: "required" | "preferred";
|
|
1707
|
+
capabilityId: string;
|
|
1708
|
+
versionRange: string;
|
|
1709
|
+
configuration?: Record<string, {
|
|
1710
|
+
requirement: "required" | "preferred";
|
|
1711
|
+
value?: unknown;
|
|
1712
|
+
}> | undefined;
|
|
1713
|
+
alternativeGroup?: string | null | undefined;
|
|
1714
|
+
requiredFeatures?: string[] | undefined;
|
|
1715
|
+
}, {
|
|
1716
|
+
requirement: "required" | "preferred";
|
|
1717
|
+
capabilityId: string;
|
|
1718
|
+
versionRange: string;
|
|
1719
|
+
configuration?: Record<string, {
|
|
1720
|
+
requirement: "required" | "preferred";
|
|
1721
|
+
value?: unknown;
|
|
1722
|
+
}> | undefined;
|
|
1723
|
+
alternativeGroup?: string | null | undefined;
|
|
1724
|
+
requiredFeatures?: string[] | undefined;
|
|
1725
|
+
}>, "many">>;
|
|
1702
1726
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
1703
1727
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1704
1728
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -1754,18 +1778,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1754
1778
|
deniedCommands?: string[] | undefined;
|
|
1755
1779
|
}>>;
|
|
1756
1780
|
}, "strict", z.ZodTypeAny, {
|
|
1757
|
-
content?: Record<string, {
|
|
1758
|
-
operations: string[];
|
|
1759
|
-
filters?: Record<string, unknown> | undefined;
|
|
1760
|
-
}> | undefined;
|
|
1761
|
-
commit?: {
|
|
1762
|
-
allowed: boolean;
|
|
1763
|
-
} | undefined;
|
|
1764
1781
|
repository?: {
|
|
1765
1782
|
allowCodeMutation?: boolean | undefined;
|
|
1766
1783
|
readPaths?: string[] | undefined;
|
|
1767
1784
|
writePaths?: string[] | undefined;
|
|
1768
1785
|
} | undefined;
|
|
1786
|
+
commit?: {
|
|
1787
|
+
allowed: boolean;
|
|
1788
|
+
} | undefined;
|
|
1789
|
+
content?: Record<string, {
|
|
1790
|
+
operations: string[];
|
|
1791
|
+
filters?: Record<string, unknown> | undefined;
|
|
1792
|
+
}> | undefined;
|
|
1769
1793
|
network?: {
|
|
1770
1794
|
allowWeb?: boolean | undefined;
|
|
1771
1795
|
allowedDomains?: string[] | undefined;
|
|
@@ -1776,18 +1800,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1776
1800
|
deniedCommands?: string[] | undefined;
|
|
1777
1801
|
} | undefined;
|
|
1778
1802
|
}, {
|
|
1779
|
-
content?: Record<string, {
|
|
1780
|
-
operations: string[];
|
|
1781
|
-
filters?: Record<string, unknown> | undefined;
|
|
1782
|
-
}> | undefined;
|
|
1783
|
-
commit?: {
|
|
1784
|
-
allowed: boolean;
|
|
1785
|
-
} | undefined;
|
|
1786
1803
|
repository?: {
|
|
1787
1804
|
allowCodeMutation?: boolean | undefined;
|
|
1788
1805
|
readPaths?: string[] | undefined;
|
|
1789
1806
|
writePaths?: string[] | undefined;
|
|
1790
1807
|
} | undefined;
|
|
1808
|
+
commit?: {
|
|
1809
|
+
allowed: boolean;
|
|
1810
|
+
} | undefined;
|
|
1811
|
+
content?: Record<string, {
|
|
1812
|
+
operations: string[];
|
|
1813
|
+
filters?: Record<string, unknown> | undefined;
|
|
1814
|
+
}> | undefined;
|
|
1791
1815
|
network?: {
|
|
1792
1816
|
allowWeb?: boolean | undefined;
|
|
1793
1817
|
allowedDomains?: string[] | undefined;
|
|
@@ -1830,52 +1854,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1830
1854
|
requiredArtifactKinds?: string[] | undefined;
|
|
1831
1855
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1832
1856
|
}>>;
|
|
1833
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
1834
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1835
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1836
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
1837
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1838
|
-
id: z.ZodString;
|
|
1839
|
-
revision: z.ZodNumber;
|
|
1840
|
-
}, "strict", z.ZodTypeAny, {
|
|
1841
|
-
id: string;
|
|
1842
|
-
revision: number;
|
|
1843
|
-
}, {
|
|
1844
|
-
id: string;
|
|
1845
|
-
revision: number;
|
|
1846
|
-
}>, "many">, {
|
|
1847
|
-
id: string;
|
|
1848
|
-
revision: number;
|
|
1849
|
-
}[], {
|
|
1850
|
-
id: string;
|
|
1851
|
-
revision: number;
|
|
1852
|
-
}[]>>;
|
|
1853
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1854
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
1855
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
1856
|
-
}, "strict", z.ZodTypeAny, {
|
|
1857
|
-
instructionTemplateRefs?: {
|
|
1858
|
-
id: string;
|
|
1859
|
-
revision: number;
|
|
1860
|
-
}[] | undefined;
|
|
1861
|
-
requiredCapabilities?: string[] | undefined;
|
|
1862
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1863
|
-
maxTotalTokens?: number | undefined;
|
|
1864
|
-
maxCostAmount?: number | undefined;
|
|
1865
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1866
|
-
promptRef?: string | undefined;
|
|
1867
|
-
}, {
|
|
1868
|
-
instructionTemplateRefs?: {
|
|
1869
|
-
id: string;
|
|
1870
|
-
revision: number;
|
|
1871
|
-
}[] | undefined;
|
|
1872
|
-
requiredCapabilities?: string[] | undefined;
|
|
1873
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1874
|
-
maxTotalTokens?: number | undefined;
|
|
1875
|
-
maxCostAmount?: number | undefined;
|
|
1876
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1877
|
-
promptRef?: string | undefined;
|
|
1878
|
-
}>>;
|
|
1879
1857
|
tools: z.ZodObject<{
|
|
1880
1858
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
1881
1859
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -2108,7 +2086,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2108
2086
|
publishes?: string[] | undefined;
|
|
2109
2087
|
}>>;
|
|
2110
2088
|
}, "strict", z.ZodTypeAny, {
|
|
2111
|
-
stage: "
|
|
2089
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
2112
2090
|
signals?: {
|
|
2113
2091
|
subscribesTo?: {
|
|
2114
2092
|
contract: string;
|
|
@@ -2129,7 +2107,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2129
2107
|
} | undefined;
|
|
2130
2108
|
promptTask?: string | undefined;
|
|
2131
2109
|
}, {
|
|
2132
|
-
stage: "
|
|
2110
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
2133
2111
|
signals?: {
|
|
2134
2112
|
subscribesTo?: {
|
|
2135
2113
|
contract: string;
|
|
@@ -2152,7 +2130,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2152
2130
|
}>, "many">>;
|
|
2153
2131
|
requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2154
2132
|
}, "strict", z.ZodTypeAny, {
|
|
2155
|
-
stage?: "
|
|
2133
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
2156
2134
|
objective?: string | undefined;
|
|
2157
2135
|
proposalTypes?: string[] | undefined;
|
|
2158
2136
|
artifactKind?: string | undefined;
|
|
@@ -2160,7 +2138,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2160
2138
|
subjectId?: string | null | undefined;
|
|
2161
2139
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
2162
2140
|
stages?: {
|
|
2163
|
-
stage: "
|
|
2141
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
2164
2142
|
signals?: {
|
|
2165
2143
|
subscribesTo?: {
|
|
2166
2144
|
contract: string;
|
|
@@ -2183,7 +2161,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2183
2161
|
}[] | undefined;
|
|
2184
2162
|
requiresArtifactKinds?: string[] | undefined;
|
|
2185
2163
|
}, {
|
|
2186
|
-
stage?: "
|
|
2164
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
2187
2165
|
objective?: string | undefined;
|
|
2188
2166
|
proposalTypes?: string[] | undefined;
|
|
2189
2167
|
artifactKind?: string | undefined;
|
|
@@ -2191,7 +2169,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2191
2169
|
subjectId?: string | null | undefined;
|
|
2192
2170
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
2193
2171
|
stages?: {
|
|
2194
|
-
stage: "
|
|
2172
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
2195
2173
|
signals?: {
|
|
2196
2174
|
subscribesTo?: {
|
|
2197
2175
|
contract: string;
|
|
@@ -2280,7 +2258,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2280
2258
|
blockExecutionWhenCreated?: boolean | undefined;
|
|
2281
2259
|
}>>;
|
|
2282
2260
|
execution: z.ZodOptional<z.ZodObject<{
|
|
2283
|
-
|
|
2261
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["minimal", "low", "medium", "high", "xhigh"]>>;
|
|
2284
2262
|
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2285
2263
|
closeoutWarningSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2286
2264
|
preparationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2313,7 +2291,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2313
2291
|
closeoutSeconds?: number | undefined;
|
|
2314
2292
|
closeoutWarningSeconds?: number | undefined;
|
|
2315
2293
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2316
|
-
|
|
2294
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2317
2295
|
maxRuntimeSeconds?: number | undefined;
|
|
2318
2296
|
maxRetries?: number | undefined;
|
|
2319
2297
|
verificationRequired?: boolean | undefined;
|
|
@@ -2334,7 +2312,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2334
2312
|
closeoutSeconds?: number | undefined;
|
|
2335
2313
|
closeoutWarningSeconds?: number | undefined;
|
|
2336
2314
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2337
|
-
|
|
2315
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2338
2316
|
maxRuntimeSeconds?: number | undefined;
|
|
2339
2317
|
maxRetries?: number | undefined;
|
|
2340
2318
|
verificationRequired?: boolean | undefined;
|
|
@@ -2353,36 +2331,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2353
2331
|
}>>;
|
|
2354
2332
|
}, "strict", z.ZodTypeAny, {
|
|
2355
2333
|
enabled: boolean;
|
|
2334
|
+
outputs: {
|
|
2335
|
+
messageTypes: string[];
|
|
2336
|
+
modelMutations: string[];
|
|
2337
|
+
};
|
|
2356
2338
|
prompt: {
|
|
2357
2339
|
system: string;
|
|
2358
|
-
task?: string | undefined;
|
|
2359
2340
|
templates?: Record<string, string> | undefined;
|
|
2341
|
+
task?: string | undefined;
|
|
2360
2342
|
};
|
|
2361
2343
|
branchPolicy: {
|
|
2362
2344
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
2363
2345
|
base: "main" | "staging";
|
|
2364
|
-
prefix?: string | undefined;
|
|
2365
2346
|
target?: "main" | "staging" | undefined;
|
|
2366
|
-
branchNameTemplate?: string | undefined;
|
|
2367
2347
|
worktree?: string | undefined;
|
|
2348
|
+
prefix?: string | undefined;
|
|
2349
|
+
branchNameTemplate?: string | undefined;
|
|
2368
2350
|
updateBaseBeforeRun?: boolean | undefined;
|
|
2369
2351
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
2370
2352
|
};
|
|
2371
|
-
handler: "
|
|
2353
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
2372
2354
|
tools: {
|
|
2373
2355
|
allowed: string[];
|
|
2374
2356
|
denied?: string[] | undefined;
|
|
2375
2357
|
};
|
|
2376
|
-
outputs: {
|
|
2377
|
-
messageTypes: string[];
|
|
2378
|
-
modelMutations: string[];
|
|
2379
|
-
};
|
|
2380
2358
|
execution?: {
|
|
2381
2359
|
preparationSeconds?: number | undefined;
|
|
2382
2360
|
closeoutSeconds?: number | undefined;
|
|
2383
2361
|
closeoutWarningSeconds?: number | undefined;
|
|
2384
2362
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2385
|
-
|
|
2363
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2386
2364
|
maxRuntimeSeconds?: number | undefined;
|
|
2387
2365
|
maxRetries?: number | undefined;
|
|
2388
2366
|
verificationRequired?: boolean | undefined;
|
|
@@ -2412,19 +2390,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2412
2390
|
id: string;
|
|
2413
2391
|
revision: number;
|
|
2414
2392
|
}[] | undefined;
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2393
|
+
capabilityRequirements?: {
|
|
2394
|
+
requirement: "required" | "preferred";
|
|
2395
|
+
capabilityId: string;
|
|
2396
|
+
versionRange: string;
|
|
2397
|
+
configuration?: Record<string, {
|
|
2398
|
+
requirement: "required" | "preferred";
|
|
2399
|
+
value?: unknown;
|
|
2419
2400
|
}> | undefined;
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2401
|
+
alternativeGroup?: string | null | undefined;
|
|
2402
|
+
requiredFeatures?: string[] | undefined;
|
|
2403
|
+
}[] | undefined;
|
|
2404
|
+
permissions?: {
|
|
2423
2405
|
repository?: {
|
|
2424
2406
|
allowCodeMutation?: boolean | undefined;
|
|
2425
2407
|
readPaths?: string[] | undefined;
|
|
2426
2408
|
writePaths?: string[] | undefined;
|
|
2427
2409
|
} | undefined;
|
|
2410
|
+
commit?: {
|
|
2411
|
+
allowed: boolean;
|
|
2412
|
+
} | undefined;
|
|
2413
|
+
content?: Record<string, {
|
|
2414
|
+
operations: string[];
|
|
2415
|
+
filters?: Record<string, unknown> | undefined;
|
|
2416
|
+
}> | undefined;
|
|
2428
2417
|
network?: {
|
|
2429
2418
|
allowWeb?: boolean | undefined;
|
|
2430
2419
|
allowedDomains?: string[] | undefined;
|
|
@@ -2447,18 +2436,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2447
2436
|
requiredArtifactKinds?: string[] | undefined;
|
|
2448
2437
|
blockOnOpenQuestions?: boolean | undefined;
|
|
2449
2438
|
} | undefined;
|
|
2450
|
-
providerOverrides?: {
|
|
2451
|
-
instructionTemplateRefs?: {
|
|
2452
|
-
id: string;
|
|
2453
|
-
revision: number;
|
|
2454
|
-
}[] | undefined;
|
|
2455
|
-
requiredCapabilities?: string[] | undefined;
|
|
2456
|
-
maxRuntimeSeconds?: number | undefined;
|
|
2457
|
-
maxTotalTokens?: number | undefined;
|
|
2458
|
-
maxCostAmount?: number | undefined;
|
|
2459
|
-
disallowedProviderIds?: string[] | undefined;
|
|
2460
|
-
promptRef?: string | undefined;
|
|
2461
|
-
} | undefined;
|
|
2462
2439
|
signals?: {
|
|
2463
2440
|
subscribesTo?: {
|
|
2464
2441
|
contract: string;
|
|
@@ -2478,7 +2455,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2478
2455
|
publishes?: string[] | undefined;
|
|
2479
2456
|
} | undefined;
|
|
2480
2457
|
planningIntent?: {
|
|
2481
|
-
stage?: "
|
|
2458
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
2482
2459
|
objective?: string | undefined;
|
|
2483
2460
|
proposalTypes?: string[] | undefined;
|
|
2484
2461
|
artifactKind?: string | undefined;
|
|
@@ -2486,7 +2463,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2486
2463
|
subjectId?: string | null | undefined;
|
|
2487
2464
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
2488
2465
|
stages?: {
|
|
2489
|
-
stage: "
|
|
2466
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
2490
2467
|
signals?: {
|
|
2491
2468
|
subscribesTo?: {
|
|
2492
2469
|
contract: string;
|
|
@@ -2526,36 +2503,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2526
2503
|
} | undefined;
|
|
2527
2504
|
}, {
|
|
2528
2505
|
enabled: boolean;
|
|
2506
|
+
outputs: {
|
|
2507
|
+
messageTypes: string[];
|
|
2508
|
+
modelMutations: string[];
|
|
2509
|
+
};
|
|
2529
2510
|
prompt: {
|
|
2530
2511
|
system: string;
|
|
2531
|
-
task?: string | undefined;
|
|
2532
2512
|
templates?: Record<string, string> | undefined;
|
|
2513
|
+
task?: string | undefined;
|
|
2533
2514
|
};
|
|
2534
2515
|
branchPolicy: {
|
|
2535
2516
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
2536
2517
|
base: "main" | "staging";
|
|
2537
|
-
prefix?: string | undefined;
|
|
2538
2518
|
target?: "main" | "staging" | undefined;
|
|
2539
|
-
branchNameTemplate?: string | undefined;
|
|
2540
2519
|
worktree?: string | undefined;
|
|
2520
|
+
prefix?: string | undefined;
|
|
2521
|
+
branchNameTemplate?: string | undefined;
|
|
2541
2522
|
updateBaseBeforeRun?: boolean | undefined;
|
|
2542
2523
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
2543
2524
|
};
|
|
2544
|
-
handler: "
|
|
2525
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
2545
2526
|
tools: {
|
|
2546
2527
|
allowed: string[];
|
|
2547
2528
|
denied?: string[] | undefined;
|
|
2548
2529
|
};
|
|
2549
|
-
outputs: {
|
|
2550
|
-
messageTypes: string[];
|
|
2551
|
-
modelMutations: string[];
|
|
2552
|
-
};
|
|
2553
2530
|
execution?: {
|
|
2554
2531
|
preparationSeconds?: number | undefined;
|
|
2555
2532
|
closeoutSeconds?: number | undefined;
|
|
2556
2533
|
closeoutWarningSeconds?: number | undefined;
|
|
2557
2534
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2558
|
-
|
|
2535
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2559
2536
|
maxRuntimeSeconds?: number | undefined;
|
|
2560
2537
|
maxRetries?: number | undefined;
|
|
2561
2538
|
verificationRequired?: boolean | undefined;
|
|
@@ -2585,19 +2562,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2585
2562
|
id: string;
|
|
2586
2563
|
revision: number;
|
|
2587
2564
|
}[] | undefined;
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2565
|
+
capabilityRequirements?: {
|
|
2566
|
+
requirement: "required" | "preferred";
|
|
2567
|
+
capabilityId: string;
|
|
2568
|
+
versionRange: string;
|
|
2569
|
+
configuration?: Record<string, {
|
|
2570
|
+
requirement: "required" | "preferred";
|
|
2571
|
+
value?: unknown;
|
|
2592
2572
|
}> | undefined;
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2573
|
+
alternativeGroup?: string | null | undefined;
|
|
2574
|
+
requiredFeatures?: string[] | undefined;
|
|
2575
|
+
}[] | undefined;
|
|
2576
|
+
permissions?: {
|
|
2596
2577
|
repository?: {
|
|
2597
2578
|
allowCodeMutation?: boolean | undefined;
|
|
2598
2579
|
readPaths?: string[] | undefined;
|
|
2599
2580
|
writePaths?: string[] | undefined;
|
|
2600
2581
|
} | undefined;
|
|
2582
|
+
commit?: {
|
|
2583
|
+
allowed: boolean;
|
|
2584
|
+
} | undefined;
|
|
2585
|
+
content?: Record<string, {
|
|
2586
|
+
operations: string[];
|
|
2587
|
+
filters?: Record<string, unknown> | undefined;
|
|
2588
|
+
}> | undefined;
|
|
2601
2589
|
network?: {
|
|
2602
2590
|
allowWeb?: boolean | undefined;
|
|
2603
2591
|
allowedDomains?: string[] | undefined;
|
|
@@ -2620,18 +2608,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2620
2608
|
requiredArtifactKinds?: string[] | undefined;
|
|
2621
2609
|
blockOnOpenQuestions?: boolean | undefined;
|
|
2622
2610
|
} | undefined;
|
|
2623
|
-
providerOverrides?: {
|
|
2624
|
-
instructionTemplateRefs?: {
|
|
2625
|
-
id: string;
|
|
2626
|
-
revision: number;
|
|
2627
|
-
}[] | undefined;
|
|
2628
|
-
requiredCapabilities?: string[] | undefined;
|
|
2629
|
-
maxRuntimeSeconds?: number | undefined;
|
|
2630
|
-
maxTotalTokens?: number | undefined;
|
|
2631
|
-
maxCostAmount?: number | undefined;
|
|
2632
|
-
disallowedProviderIds?: string[] | undefined;
|
|
2633
|
-
promptRef?: string | undefined;
|
|
2634
|
-
} | undefined;
|
|
2635
2611
|
signals?: {
|
|
2636
2612
|
subscribesTo?: {
|
|
2637
2613
|
contract: string;
|
|
@@ -2651,7 +2627,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2651
2627
|
publishes?: string[] | undefined;
|
|
2652
2628
|
} | undefined;
|
|
2653
2629
|
planningIntent?: {
|
|
2654
|
-
stage?: "
|
|
2630
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
2655
2631
|
objective?: string | undefined;
|
|
2656
2632
|
proposalTypes?: string[] | undefined;
|
|
2657
2633
|
artifactKind?: string | undefined;
|
|
@@ -2659,7 +2635,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2659
2635
|
subjectId?: string | null | undefined;
|
|
2660
2636
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
2661
2637
|
stages?: {
|
|
2662
|
-
stage: "
|
|
2638
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
2663
2639
|
signals?: {
|
|
2664
2640
|
subscribesTo?: {
|
|
2665
2641
|
contract: string;
|
|
@@ -2699,36 +2675,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2699
2675
|
} | undefined;
|
|
2700
2676
|
}>, {
|
|
2701
2677
|
enabled: boolean;
|
|
2678
|
+
outputs: {
|
|
2679
|
+
messageTypes: string[];
|
|
2680
|
+
modelMutations: string[];
|
|
2681
|
+
};
|
|
2702
2682
|
prompt: {
|
|
2703
2683
|
system: string;
|
|
2704
|
-
task?: string | undefined;
|
|
2705
2684
|
templates?: Record<string, string> | undefined;
|
|
2685
|
+
task?: string | undefined;
|
|
2706
2686
|
};
|
|
2707
2687
|
branchPolicy: {
|
|
2708
2688
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
2709
2689
|
base: "main" | "staging";
|
|
2710
|
-
prefix?: string | undefined;
|
|
2711
2690
|
target?: "main" | "staging" | undefined;
|
|
2712
|
-
branchNameTemplate?: string | undefined;
|
|
2713
2691
|
worktree?: string | undefined;
|
|
2692
|
+
prefix?: string | undefined;
|
|
2693
|
+
branchNameTemplate?: string | undefined;
|
|
2714
2694
|
updateBaseBeforeRun?: boolean | undefined;
|
|
2715
2695
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
2716
2696
|
};
|
|
2717
|
-
handler: "
|
|
2697
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
2718
2698
|
tools: {
|
|
2719
2699
|
allowed: string[];
|
|
2720
2700
|
denied?: string[] | undefined;
|
|
2721
2701
|
};
|
|
2722
|
-
outputs: {
|
|
2723
|
-
messageTypes: string[];
|
|
2724
|
-
modelMutations: string[];
|
|
2725
|
-
};
|
|
2726
2702
|
execution?: {
|
|
2727
2703
|
preparationSeconds?: number | undefined;
|
|
2728
2704
|
closeoutSeconds?: number | undefined;
|
|
2729
2705
|
closeoutWarningSeconds?: number | undefined;
|
|
2730
2706
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2731
|
-
|
|
2707
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2732
2708
|
maxRuntimeSeconds?: number | undefined;
|
|
2733
2709
|
maxRetries?: number | undefined;
|
|
2734
2710
|
verificationRequired?: boolean | undefined;
|
|
@@ -2758,19 +2734,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2758
2734
|
id: string;
|
|
2759
2735
|
revision: number;
|
|
2760
2736
|
}[] | undefined;
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2737
|
+
capabilityRequirements?: {
|
|
2738
|
+
requirement: "required" | "preferred";
|
|
2739
|
+
capabilityId: string;
|
|
2740
|
+
versionRange: string;
|
|
2741
|
+
configuration?: Record<string, {
|
|
2742
|
+
requirement: "required" | "preferred";
|
|
2743
|
+
value?: unknown;
|
|
2765
2744
|
}> | undefined;
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2745
|
+
alternativeGroup?: string | null | undefined;
|
|
2746
|
+
requiredFeatures?: string[] | undefined;
|
|
2747
|
+
}[] | undefined;
|
|
2748
|
+
permissions?: {
|
|
2769
2749
|
repository?: {
|
|
2770
2750
|
allowCodeMutation?: boolean | undefined;
|
|
2771
2751
|
readPaths?: string[] | undefined;
|
|
2772
2752
|
writePaths?: string[] | undefined;
|
|
2773
2753
|
} | undefined;
|
|
2754
|
+
commit?: {
|
|
2755
|
+
allowed: boolean;
|
|
2756
|
+
} | undefined;
|
|
2757
|
+
content?: Record<string, {
|
|
2758
|
+
operations: string[];
|
|
2759
|
+
filters?: Record<string, unknown> | undefined;
|
|
2760
|
+
}> | undefined;
|
|
2774
2761
|
network?: {
|
|
2775
2762
|
allowWeb?: boolean | undefined;
|
|
2776
2763
|
allowedDomains?: string[] | undefined;
|
|
@@ -2793,18 +2780,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2793
2780
|
requiredArtifactKinds?: string[] | undefined;
|
|
2794
2781
|
blockOnOpenQuestions?: boolean | undefined;
|
|
2795
2782
|
} | undefined;
|
|
2796
|
-
providerOverrides?: {
|
|
2797
|
-
instructionTemplateRefs?: {
|
|
2798
|
-
id: string;
|
|
2799
|
-
revision: number;
|
|
2800
|
-
}[] | undefined;
|
|
2801
|
-
requiredCapabilities?: string[] | undefined;
|
|
2802
|
-
maxRuntimeSeconds?: number | undefined;
|
|
2803
|
-
maxTotalTokens?: number | undefined;
|
|
2804
|
-
maxCostAmount?: number | undefined;
|
|
2805
|
-
disallowedProviderIds?: string[] | undefined;
|
|
2806
|
-
promptRef?: string | undefined;
|
|
2807
|
-
} | undefined;
|
|
2808
2783
|
signals?: {
|
|
2809
2784
|
subscribesTo?: {
|
|
2810
2785
|
contract: string;
|
|
@@ -2824,7 +2799,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2824
2799
|
publishes?: string[] | undefined;
|
|
2825
2800
|
} | undefined;
|
|
2826
2801
|
planningIntent?: {
|
|
2827
|
-
stage?: "
|
|
2802
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
2828
2803
|
objective?: string | undefined;
|
|
2829
2804
|
proposalTypes?: string[] | undefined;
|
|
2830
2805
|
artifactKind?: string | undefined;
|
|
@@ -2832,7 +2807,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2832
2807
|
subjectId?: string | null | undefined;
|
|
2833
2808
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
2834
2809
|
stages?: {
|
|
2835
|
-
stage: "
|
|
2810
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
2836
2811
|
signals?: {
|
|
2837
2812
|
subscribesTo?: {
|
|
2838
2813
|
contract: string;
|
|
@@ -2872,36 +2847,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2872
2847
|
} | undefined;
|
|
2873
2848
|
}, {
|
|
2874
2849
|
enabled: boolean;
|
|
2850
|
+
outputs: {
|
|
2851
|
+
messageTypes: string[];
|
|
2852
|
+
modelMutations: string[];
|
|
2853
|
+
};
|
|
2875
2854
|
prompt: {
|
|
2876
2855
|
system: string;
|
|
2877
|
-
task?: string | undefined;
|
|
2878
2856
|
templates?: Record<string, string> | undefined;
|
|
2857
|
+
task?: string | undefined;
|
|
2879
2858
|
};
|
|
2880
2859
|
branchPolicy: {
|
|
2881
2860
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
2882
2861
|
base: "main" | "staging";
|
|
2883
|
-
prefix?: string | undefined;
|
|
2884
2862
|
target?: "main" | "staging" | undefined;
|
|
2885
|
-
branchNameTemplate?: string | undefined;
|
|
2886
2863
|
worktree?: string | undefined;
|
|
2864
|
+
prefix?: string | undefined;
|
|
2865
|
+
branchNameTemplate?: string | undefined;
|
|
2887
2866
|
updateBaseBeforeRun?: boolean | undefined;
|
|
2888
2867
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
2889
2868
|
};
|
|
2890
|
-
handler: "
|
|
2869
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
2891
2870
|
tools: {
|
|
2892
2871
|
allowed: string[];
|
|
2893
2872
|
denied?: string[] | undefined;
|
|
2894
2873
|
};
|
|
2895
|
-
outputs: {
|
|
2896
|
-
messageTypes: string[];
|
|
2897
|
-
modelMutations: string[];
|
|
2898
|
-
};
|
|
2899
2874
|
execution?: {
|
|
2900
2875
|
preparationSeconds?: number | undefined;
|
|
2901
2876
|
closeoutSeconds?: number | undefined;
|
|
2902
2877
|
closeoutWarningSeconds?: number | undefined;
|
|
2903
2878
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2904
|
-
|
|
2879
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
2905
2880
|
maxRuntimeSeconds?: number | undefined;
|
|
2906
2881
|
maxRetries?: number | undefined;
|
|
2907
2882
|
verificationRequired?: boolean | undefined;
|
|
@@ -2931,19 +2906,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2931
2906
|
id: string;
|
|
2932
2907
|
revision: number;
|
|
2933
2908
|
}[] | undefined;
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2909
|
+
capabilityRequirements?: {
|
|
2910
|
+
requirement: "required" | "preferred";
|
|
2911
|
+
capabilityId: string;
|
|
2912
|
+
versionRange: string;
|
|
2913
|
+
configuration?: Record<string, {
|
|
2914
|
+
requirement: "required" | "preferred";
|
|
2915
|
+
value?: unknown;
|
|
2938
2916
|
}> | undefined;
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2917
|
+
alternativeGroup?: string | null | undefined;
|
|
2918
|
+
requiredFeatures?: string[] | undefined;
|
|
2919
|
+
}[] | undefined;
|
|
2920
|
+
permissions?: {
|
|
2942
2921
|
repository?: {
|
|
2943
2922
|
allowCodeMutation?: boolean | undefined;
|
|
2944
2923
|
readPaths?: string[] | undefined;
|
|
2945
2924
|
writePaths?: string[] | undefined;
|
|
2946
2925
|
} | undefined;
|
|
2926
|
+
commit?: {
|
|
2927
|
+
allowed: boolean;
|
|
2928
|
+
} | undefined;
|
|
2929
|
+
content?: Record<string, {
|
|
2930
|
+
operations: string[];
|
|
2931
|
+
filters?: Record<string, unknown> | undefined;
|
|
2932
|
+
}> | undefined;
|
|
2947
2933
|
network?: {
|
|
2948
2934
|
allowWeb?: boolean | undefined;
|
|
2949
2935
|
allowedDomains?: string[] | undefined;
|
|
@@ -2966,18 +2952,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2966
2952
|
requiredArtifactKinds?: string[] | undefined;
|
|
2967
2953
|
blockOnOpenQuestions?: boolean | undefined;
|
|
2968
2954
|
} | undefined;
|
|
2969
|
-
providerOverrides?: {
|
|
2970
|
-
instructionTemplateRefs?: {
|
|
2971
|
-
id: string;
|
|
2972
|
-
revision: number;
|
|
2973
|
-
}[] | undefined;
|
|
2974
|
-
requiredCapabilities?: string[] | undefined;
|
|
2975
|
-
maxRuntimeSeconds?: number | undefined;
|
|
2976
|
-
maxTotalTokens?: number | undefined;
|
|
2977
|
-
maxCostAmount?: number | undefined;
|
|
2978
|
-
disallowedProviderIds?: string[] | undefined;
|
|
2979
|
-
promptRef?: string | undefined;
|
|
2980
|
-
} | undefined;
|
|
2981
2955
|
signals?: {
|
|
2982
2956
|
subscribesTo?: {
|
|
2983
2957
|
contract: string;
|
|
@@ -2997,7 +2971,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2997
2971
|
publishes?: string[] | undefined;
|
|
2998
2972
|
} | undefined;
|
|
2999
2973
|
planningIntent?: {
|
|
3000
|
-
stage?: "
|
|
2974
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
3001
2975
|
objective?: string | undefined;
|
|
3002
2976
|
proposalTypes?: string[] | undefined;
|
|
3003
2977
|
artifactKind?: string | undefined;
|
|
@@ -3005,7 +2979,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3005
2979
|
subjectId?: string | null | undefined;
|
|
3006
2980
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
3007
2981
|
stages?: {
|
|
3008
|
-
stage: "
|
|
2982
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
3009
2983
|
signals?: {
|
|
3010
2984
|
subscribesTo?: {
|
|
3011
2985
|
contract: string;
|
|
@@ -3138,12 +3112,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3138
3112
|
templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3139
3113
|
}, "strict", z.ZodTypeAny, {
|
|
3140
3114
|
system: string;
|
|
3141
|
-
task?: string | undefined;
|
|
3142
3115
|
templates?: Record<string, string> | undefined;
|
|
3116
|
+
task?: string | undefined;
|
|
3143
3117
|
}, {
|
|
3144
3118
|
system: string;
|
|
3145
|
-
task?: string | undefined;
|
|
3146
3119
|
templates?: Record<string, string> | undefined;
|
|
3120
|
+
task?: string | undefined;
|
|
3147
3121
|
}>;
|
|
3148
3122
|
branchPolicy: z.ZodObject<{
|
|
3149
3123
|
kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
|
|
@@ -3157,19 +3131,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3157
3131
|
}, "strict", z.ZodTypeAny, {
|
|
3158
3132
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
3159
3133
|
base: "main" | "staging";
|
|
3160
|
-
prefix?: string | undefined;
|
|
3161
3134
|
target?: "main" | "staging" | undefined;
|
|
3162
|
-
branchNameTemplate?: string | undefined;
|
|
3163
3135
|
worktree?: string | undefined;
|
|
3136
|
+
prefix?: string | undefined;
|
|
3137
|
+
branchNameTemplate?: string | undefined;
|
|
3164
3138
|
updateBaseBeforeRun?: boolean | undefined;
|
|
3165
3139
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
3166
3140
|
}, {
|
|
3167
3141
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
3168
3142
|
base: "main" | "staging";
|
|
3169
|
-
prefix?: string | undefined;
|
|
3170
3143
|
target?: "main" | "staging" | undefined;
|
|
3171
|
-
branchNameTemplate?: string | undefined;
|
|
3172
3144
|
worktree?: string | undefined;
|
|
3145
|
+
prefix?: string | undefined;
|
|
3146
|
+
branchNameTemplate?: string | undefined;
|
|
3173
3147
|
updateBaseBeforeRun?: boolean | undefined;
|
|
3174
3148
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
3175
3149
|
}>;
|
|
@@ -3221,6 +3195,43 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3221
3195
|
id: string;
|
|
3222
3196
|
revision: number;
|
|
3223
3197
|
}[]>>;
|
|
3198
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3199
|
+
capabilityId: z.ZodString;
|
|
3200
|
+
versionRange: z.ZodString;
|
|
3201
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
3202
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3203
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3204
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3205
|
+
value: z.ZodUnknown;
|
|
3206
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
3207
|
+
}, "strict", z.ZodTypeAny, {
|
|
3208
|
+
requirement: "required" | "preferred";
|
|
3209
|
+
value?: unknown;
|
|
3210
|
+
}, {
|
|
3211
|
+
requirement: "required" | "preferred";
|
|
3212
|
+
value?: unknown;
|
|
3213
|
+
}>>>;
|
|
3214
|
+
}, "strict", z.ZodTypeAny, {
|
|
3215
|
+
requirement: "required" | "preferred";
|
|
3216
|
+
capabilityId: string;
|
|
3217
|
+
versionRange: string;
|
|
3218
|
+
configuration?: Record<string, {
|
|
3219
|
+
requirement: "required" | "preferred";
|
|
3220
|
+
value?: unknown;
|
|
3221
|
+
}> | undefined;
|
|
3222
|
+
alternativeGroup?: string | null | undefined;
|
|
3223
|
+
requiredFeatures?: string[] | undefined;
|
|
3224
|
+
}, {
|
|
3225
|
+
requirement: "required" | "preferred";
|
|
3226
|
+
capabilityId: string;
|
|
3227
|
+
versionRange: string;
|
|
3228
|
+
configuration?: Record<string, {
|
|
3229
|
+
requirement: "required" | "preferred";
|
|
3230
|
+
value?: unknown;
|
|
3231
|
+
}> | undefined;
|
|
3232
|
+
alternativeGroup?: string | null | undefined;
|
|
3233
|
+
requiredFeatures?: string[] | undefined;
|
|
3234
|
+
}>, "many">>;
|
|
3224
3235
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
3225
3236
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3226
3237
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -3276,18 +3287,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3276
3287
|
deniedCommands?: string[] | undefined;
|
|
3277
3288
|
}>>;
|
|
3278
3289
|
}, "strict", z.ZodTypeAny, {
|
|
3279
|
-
content?: Record<string, {
|
|
3280
|
-
operations: string[];
|
|
3281
|
-
filters?: Record<string, unknown> | undefined;
|
|
3282
|
-
}> | undefined;
|
|
3283
|
-
commit?: {
|
|
3284
|
-
allowed: boolean;
|
|
3285
|
-
} | undefined;
|
|
3286
3290
|
repository?: {
|
|
3287
3291
|
allowCodeMutation?: boolean | undefined;
|
|
3288
3292
|
readPaths?: string[] | undefined;
|
|
3289
3293
|
writePaths?: string[] | undefined;
|
|
3290
3294
|
} | undefined;
|
|
3295
|
+
commit?: {
|
|
3296
|
+
allowed: boolean;
|
|
3297
|
+
} | undefined;
|
|
3298
|
+
content?: Record<string, {
|
|
3299
|
+
operations: string[];
|
|
3300
|
+
filters?: Record<string, unknown> | undefined;
|
|
3301
|
+
}> | undefined;
|
|
3291
3302
|
network?: {
|
|
3292
3303
|
allowWeb?: boolean | undefined;
|
|
3293
3304
|
allowedDomains?: string[] | undefined;
|
|
@@ -3298,18 +3309,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3298
3309
|
deniedCommands?: string[] | undefined;
|
|
3299
3310
|
} | undefined;
|
|
3300
3311
|
}, {
|
|
3301
|
-
content?: Record<string, {
|
|
3302
|
-
operations: string[];
|
|
3303
|
-
filters?: Record<string, unknown> | undefined;
|
|
3304
|
-
}> | undefined;
|
|
3305
|
-
commit?: {
|
|
3306
|
-
allowed: boolean;
|
|
3307
|
-
} | undefined;
|
|
3308
3312
|
repository?: {
|
|
3309
3313
|
allowCodeMutation?: boolean | undefined;
|
|
3310
3314
|
readPaths?: string[] | undefined;
|
|
3311
3315
|
writePaths?: string[] | undefined;
|
|
3312
3316
|
} | undefined;
|
|
3317
|
+
commit?: {
|
|
3318
|
+
allowed: boolean;
|
|
3319
|
+
} | undefined;
|
|
3320
|
+
content?: Record<string, {
|
|
3321
|
+
operations: string[];
|
|
3322
|
+
filters?: Record<string, unknown> | undefined;
|
|
3323
|
+
}> | undefined;
|
|
3313
3324
|
network?: {
|
|
3314
3325
|
allowWeb?: boolean | undefined;
|
|
3315
3326
|
allowedDomains?: string[] | undefined;
|
|
@@ -3352,52 +3363,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3352
3363
|
requiredArtifactKinds?: string[] | undefined;
|
|
3353
3364
|
blockOnOpenQuestions?: boolean | undefined;
|
|
3354
3365
|
}>>;
|
|
3355
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
3356
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3357
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3358
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
3359
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
3360
|
-
id: z.ZodString;
|
|
3361
|
-
revision: z.ZodNumber;
|
|
3362
|
-
}, "strict", z.ZodTypeAny, {
|
|
3363
|
-
id: string;
|
|
3364
|
-
revision: number;
|
|
3365
|
-
}, {
|
|
3366
|
-
id: string;
|
|
3367
|
-
revision: number;
|
|
3368
|
-
}>, "many">, {
|
|
3369
|
-
id: string;
|
|
3370
|
-
revision: number;
|
|
3371
|
-
}[], {
|
|
3372
|
-
id: string;
|
|
3373
|
-
revision: number;
|
|
3374
|
-
}[]>>;
|
|
3375
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3376
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
3377
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
3378
|
-
}, "strict", z.ZodTypeAny, {
|
|
3379
|
-
instructionTemplateRefs?: {
|
|
3380
|
-
id: string;
|
|
3381
|
-
revision: number;
|
|
3382
|
-
}[] | undefined;
|
|
3383
|
-
requiredCapabilities?: string[] | undefined;
|
|
3384
|
-
maxRuntimeSeconds?: number | undefined;
|
|
3385
|
-
maxTotalTokens?: number | undefined;
|
|
3386
|
-
maxCostAmount?: number | undefined;
|
|
3387
|
-
disallowedProviderIds?: string[] | undefined;
|
|
3388
|
-
promptRef?: string | undefined;
|
|
3389
|
-
}, {
|
|
3390
|
-
instructionTemplateRefs?: {
|
|
3391
|
-
id: string;
|
|
3392
|
-
revision: number;
|
|
3393
|
-
}[] | undefined;
|
|
3394
|
-
requiredCapabilities?: string[] | undefined;
|
|
3395
|
-
maxRuntimeSeconds?: number | undefined;
|
|
3396
|
-
maxTotalTokens?: number | undefined;
|
|
3397
|
-
maxCostAmount?: number | undefined;
|
|
3398
|
-
disallowedProviderIds?: string[] | undefined;
|
|
3399
|
-
promptRef?: string | undefined;
|
|
3400
|
-
}>>;
|
|
3401
3366
|
tools: z.ZodObject<{
|
|
3402
3367
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
3403
3368
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -3630,7 +3595,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3630
3595
|
publishes?: string[] | undefined;
|
|
3631
3596
|
}>>;
|
|
3632
3597
|
}, "strict", z.ZodTypeAny, {
|
|
3633
|
-
stage: "
|
|
3598
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
3634
3599
|
signals?: {
|
|
3635
3600
|
subscribesTo?: {
|
|
3636
3601
|
contract: string;
|
|
@@ -3651,7 +3616,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3651
3616
|
} | undefined;
|
|
3652
3617
|
promptTask?: string | undefined;
|
|
3653
3618
|
}, {
|
|
3654
|
-
stage: "
|
|
3619
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
3655
3620
|
signals?: {
|
|
3656
3621
|
subscribesTo?: {
|
|
3657
3622
|
contract: string;
|
|
@@ -3674,7 +3639,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3674
3639
|
}>, "many">>;
|
|
3675
3640
|
requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3676
3641
|
}, "strict", z.ZodTypeAny, {
|
|
3677
|
-
stage?: "
|
|
3642
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
3678
3643
|
objective?: string | undefined;
|
|
3679
3644
|
proposalTypes?: string[] | undefined;
|
|
3680
3645
|
artifactKind?: string | undefined;
|
|
@@ -3682,7 +3647,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3682
3647
|
subjectId?: string | null | undefined;
|
|
3683
3648
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
3684
3649
|
stages?: {
|
|
3685
|
-
stage: "
|
|
3650
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
3686
3651
|
signals?: {
|
|
3687
3652
|
subscribesTo?: {
|
|
3688
3653
|
contract: string;
|
|
@@ -3705,7 +3670,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3705
3670
|
}[] | undefined;
|
|
3706
3671
|
requiresArtifactKinds?: string[] | undefined;
|
|
3707
3672
|
}, {
|
|
3708
|
-
stage?: "
|
|
3673
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
3709
3674
|
objective?: string | undefined;
|
|
3710
3675
|
proposalTypes?: string[] | undefined;
|
|
3711
3676
|
artifactKind?: string | undefined;
|
|
@@ -3713,7 +3678,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3713
3678
|
subjectId?: string | null | undefined;
|
|
3714
3679
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
3715
3680
|
stages?: {
|
|
3716
|
-
stage: "
|
|
3681
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
3717
3682
|
signals?: {
|
|
3718
3683
|
subscribesTo?: {
|
|
3719
3684
|
contract: string;
|
|
@@ -3802,7 +3767,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3802
3767
|
blockExecutionWhenCreated?: boolean | undefined;
|
|
3803
3768
|
}>>;
|
|
3804
3769
|
execution: z.ZodOptional<z.ZodObject<{
|
|
3805
|
-
|
|
3770
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["minimal", "low", "medium", "high", "xhigh"]>>;
|
|
3806
3771
|
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3807
3772
|
closeoutWarningSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3808
3773
|
preparationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3835,7 +3800,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3835
3800
|
closeoutSeconds?: number | undefined;
|
|
3836
3801
|
closeoutWarningSeconds?: number | undefined;
|
|
3837
3802
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
3838
|
-
|
|
3803
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3839
3804
|
maxRuntimeSeconds?: number | undefined;
|
|
3840
3805
|
maxRetries?: number | undefined;
|
|
3841
3806
|
verificationRequired?: boolean | undefined;
|
|
@@ -3856,7 +3821,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3856
3821
|
closeoutSeconds?: number | undefined;
|
|
3857
3822
|
closeoutWarningSeconds?: number | undefined;
|
|
3858
3823
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
3859
|
-
|
|
3824
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3860
3825
|
maxRuntimeSeconds?: number | undefined;
|
|
3861
3826
|
maxRetries?: number | undefined;
|
|
3862
3827
|
verificationRequired?: boolean | undefined;
|
|
@@ -3875,36 +3840,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3875
3840
|
}>>;
|
|
3876
3841
|
}, "strict", z.ZodTypeAny, {
|
|
3877
3842
|
enabled: boolean;
|
|
3843
|
+
outputs: {
|
|
3844
|
+
messageTypes: string[];
|
|
3845
|
+
modelMutations: string[];
|
|
3846
|
+
};
|
|
3878
3847
|
prompt: {
|
|
3879
3848
|
system: string;
|
|
3880
|
-
task?: string | undefined;
|
|
3881
3849
|
templates?: Record<string, string> | undefined;
|
|
3850
|
+
task?: string | undefined;
|
|
3882
3851
|
};
|
|
3883
3852
|
branchPolicy: {
|
|
3884
3853
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
3885
3854
|
base: "main" | "staging";
|
|
3886
|
-
prefix?: string | undefined;
|
|
3887
3855
|
target?: "main" | "staging" | undefined;
|
|
3888
|
-
branchNameTemplate?: string | undefined;
|
|
3889
3856
|
worktree?: string | undefined;
|
|
3857
|
+
prefix?: string | undefined;
|
|
3858
|
+
branchNameTemplate?: string | undefined;
|
|
3890
3859
|
updateBaseBeforeRun?: boolean | undefined;
|
|
3891
3860
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
3892
3861
|
};
|
|
3893
|
-
handler: "
|
|
3862
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
3894
3863
|
tools: {
|
|
3895
3864
|
allowed: string[];
|
|
3896
3865
|
denied?: string[] | undefined;
|
|
3897
3866
|
};
|
|
3898
|
-
outputs: {
|
|
3899
|
-
messageTypes: string[];
|
|
3900
|
-
modelMutations: string[];
|
|
3901
|
-
};
|
|
3902
3867
|
execution?: {
|
|
3903
3868
|
preparationSeconds?: number | undefined;
|
|
3904
3869
|
closeoutSeconds?: number | undefined;
|
|
3905
3870
|
closeoutWarningSeconds?: number | undefined;
|
|
3906
3871
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
3907
|
-
|
|
3872
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
3908
3873
|
maxRuntimeSeconds?: number | undefined;
|
|
3909
3874
|
maxRetries?: number | undefined;
|
|
3910
3875
|
verificationRequired?: boolean | undefined;
|
|
@@ -3934,19 +3899,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3934
3899
|
id: string;
|
|
3935
3900
|
revision: number;
|
|
3936
3901
|
}[] | undefined;
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3902
|
+
capabilityRequirements?: {
|
|
3903
|
+
requirement: "required" | "preferred";
|
|
3904
|
+
capabilityId: string;
|
|
3905
|
+
versionRange: string;
|
|
3906
|
+
configuration?: Record<string, {
|
|
3907
|
+
requirement: "required" | "preferred";
|
|
3908
|
+
value?: unknown;
|
|
3941
3909
|
}> | undefined;
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3910
|
+
alternativeGroup?: string | null | undefined;
|
|
3911
|
+
requiredFeatures?: string[] | undefined;
|
|
3912
|
+
}[] | undefined;
|
|
3913
|
+
permissions?: {
|
|
3945
3914
|
repository?: {
|
|
3946
3915
|
allowCodeMutation?: boolean | undefined;
|
|
3947
3916
|
readPaths?: string[] | undefined;
|
|
3948
3917
|
writePaths?: string[] | undefined;
|
|
3949
3918
|
} | undefined;
|
|
3919
|
+
commit?: {
|
|
3920
|
+
allowed: boolean;
|
|
3921
|
+
} | undefined;
|
|
3922
|
+
content?: Record<string, {
|
|
3923
|
+
operations: string[];
|
|
3924
|
+
filters?: Record<string, unknown> | undefined;
|
|
3925
|
+
}> | undefined;
|
|
3950
3926
|
network?: {
|
|
3951
3927
|
allowWeb?: boolean | undefined;
|
|
3952
3928
|
allowedDomains?: string[] | undefined;
|
|
@@ -3969,18 +3945,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3969
3945
|
requiredArtifactKinds?: string[] | undefined;
|
|
3970
3946
|
blockOnOpenQuestions?: boolean | undefined;
|
|
3971
3947
|
} | undefined;
|
|
3972
|
-
providerOverrides?: {
|
|
3973
|
-
instructionTemplateRefs?: {
|
|
3974
|
-
id: string;
|
|
3975
|
-
revision: number;
|
|
3976
|
-
}[] | undefined;
|
|
3977
|
-
requiredCapabilities?: string[] | undefined;
|
|
3978
|
-
maxRuntimeSeconds?: number | undefined;
|
|
3979
|
-
maxTotalTokens?: number | undefined;
|
|
3980
|
-
maxCostAmount?: number | undefined;
|
|
3981
|
-
disallowedProviderIds?: string[] | undefined;
|
|
3982
|
-
promptRef?: string | undefined;
|
|
3983
|
-
} | undefined;
|
|
3984
3948
|
signals?: {
|
|
3985
3949
|
subscribesTo?: {
|
|
3986
3950
|
contract: string;
|
|
@@ -4000,7 +3964,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4000
3964
|
publishes?: string[] | undefined;
|
|
4001
3965
|
} | undefined;
|
|
4002
3966
|
planningIntent?: {
|
|
4003
|
-
stage?: "
|
|
3967
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
4004
3968
|
objective?: string | undefined;
|
|
4005
3969
|
proposalTypes?: string[] | undefined;
|
|
4006
3970
|
artifactKind?: string | undefined;
|
|
@@ -4008,7 +3972,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4008
3972
|
subjectId?: string | null | undefined;
|
|
4009
3973
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
4010
3974
|
stages?: {
|
|
4011
|
-
stage: "
|
|
3975
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
4012
3976
|
signals?: {
|
|
4013
3977
|
subscribesTo?: {
|
|
4014
3978
|
contract: string;
|
|
@@ -4048,36 +4012,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4048
4012
|
} | undefined;
|
|
4049
4013
|
}, {
|
|
4050
4014
|
enabled: boolean;
|
|
4015
|
+
outputs: {
|
|
4016
|
+
messageTypes: string[];
|
|
4017
|
+
modelMutations: string[];
|
|
4018
|
+
};
|
|
4051
4019
|
prompt: {
|
|
4052
4020
|
system: string;
|
|
4053
|
-
task?: string | undefined;
|
|
4054
4021
|
templates?: Record<string, string> | undefined;
|
|
4022
|
+
task?: string | undefined;
|
|
4055
4023
|
};
|
|
4056
4024
|
branchPolicy: {
|
|
4057
4025
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
4058
4026
|
base: "main" | "staging";
|
|
4059
|
-
prefix?: string | undefined;
|
|
4060
4027
|
target?: "main" | "staging" | undefined;
|
|
4061
|
-
branchNameTemplate?: string | undefined;
|
|
4062
4028
|
worktree?: string | undefined;
|
|
4029
|
+
prefix?: string | undefined;
|
|
4030
|
+
branchNameTemplate?: string | undefined;
|
|
4063
4031
|
updateBaseBeforeRun?: boolean | undefined;
|
|
4064
4032
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
4065
4033
|
};
|
|
4066
|
-
handler: "
|
|
4034
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
4067
4035
|
tools: {
|
|
4068
4036
|
allowed: string[];
|
|
4069
4037
|
denied?: string[] | undefined;
|
|
4070
4038
|
};
|
|
4071
|
-
outputs: {
|
|
4072
|
-
messageTypes: string[];
|
|
4073
|
-
modelMutations: string[];
|
|
4074
|
-
};
|
|
4075
4039
|
execution?: {
|
|
4076
4040
|
preparationSeconds?: number | undefined;
|
|
4077
4041
|
closeoutSeconds?: number | undefined;
|
|
4078
4042
|
closeoutWarningSeconds?: number | undefined;
|
|
4079
4043
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
4080
|
-
|
|
4044
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
4081
4045
|
maxRuntimeSeconds?: number | undefined;
|
|
4082
4046
|
maxRetries?: number | undefined;
|
|
4083
4047
|
verificationRequired?: boolean | undefined;
|
|
@@ -4107,19 +4071,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4107
4071
|
id: string;
|
|
4108
4072
|
revision: number;
|
|
4109
4073
|
}[] | undefined;
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4074
|
+
capabilityRequirements?: {
|
|
4075
|
+
requirement: "required" | "preferred";
|
|
4076
|
+
capabilityId: string;
|
|
4077
|
+
versionRange: string;
|
|
4078
|
+
configuration?: Record<string, {
|
|
4079
|
+
requirement: "required" | "preferred";
|
|
4080
|
+
value?: unknown;
|
|
4114
4081
|
}> | undefined;
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4082
|
+
alternativeGroup?: string | null | undefined;
|
|
4083
|
+
requiredFeatures?: string[] | undefined;
|
|
4084
|
+
}[] | undefined;
|
|
4085
|
+
permissions?: {
|
|
4118
4086
|
repository?: {
|
|
4119
4087
|
allowCodeMutation?: boolean | undefined;
|
|
4120
4088
|
readPaths?: string[] | undefined;
|
|
4121
4089
|
writePaths?: string[] | undefined;
|
|
4122
4090
|
} | undefined;
|
|
4091
|
+
commit?: {
|
|
4092
|
+
allowed: boolean;
|
|
4093
|
+
} | undefined;
|
|
4094
|
+
content?: Record<string, {
|
|
4095
|
+
operations: string[];
|
|
4096
|
+
filters?: Record<string, unknown> | undefined;
|
|
4097
|
+
}> | undefined;
|
|
4123
4098
|
network?: {
|
|
4124
4099
|
allowWeb?: boolean | undefined;
|
|
4125
4100
|
allowedDomains?: string[] | undefined;
|
|
@@ -4142,18 +4117,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4142
4117
|
requiredArtifactKinds?: string[] | undefined;
|
|
4143
4118
|
blockOnOpenQuestions?: boolean | undefined;
|
|
4144
4119
|
} | undefined;
|
|
4145
|
-
providerOverrides?: {
|
|
4146
|
-
instructionTemplateRefs?: {
|
|
4147
|
-
id: string;
|
|
4148
|
-
revision: number;
|
|
4149
|
-
}[] | undefined;
|
|
4150
|
-
requiredCapabilities?: string[] | undefined;
|
|
4151
|
-
maxRuntimeSeconds?: number | undefined;
|
|
4152
|
-
maxTotalTokens?: number | undefined;
|
|
4153
|
-
maxCostAmount?: number | undefined;
|
|
4154
|
-
disallowedProviderIds?: string[] | undefined;
|
|
4155
|
-
promptRef?: string | undefined;
|
|
4156
|
-
} | undefined;
|
|
4157
4120
|
signals?: {
|
|
4158
4121
|
subscribesTo?: {
|
|
4159
4122
|
contract: string;
|
|
@@ -4173,7 +4136,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4173
4136
|
publishes?: string[] | undefined;
|
|
4174
4137
|
} | undefined;
|
|
4175
4138
|
planningIntent?: {
|
|
4176
|
-
stage?: "
|
|
4139
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
4177
4140
|
objective?: string | undefined;
|
|
4178
4141
|
proposalTypes?: string[] | undefined;
|
|
4179
4142
|
artifactKind?: string | undefined;
|
|
@@ -4181,7 +4144,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4181
4144
|
subjectId?: string | null | undefined;
|
|
4182
4145
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
4183
4146
|
stages?: {
|
|
4184
|
-
stage: "
|
|
4147
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
4185
4148
|
signals?: {
|
|
4186
4149
|
subscribesTo?: {
|
|
4187
4150
|
contract: string;
|
|
@@ -4221,36 +4184,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4221
4184
|
} | undefined;
|
|
4222
4185
|
}>, {
|
|
4223
4186
|
enabled: boolean;
|
|
4187
|
+
outputs: {
|
|
4188
|
+
messageTypes: string[];
|
|
4189
|
+
modelMutations: string[];
|
|
4190
|
+
};
|
|
4224
4191
|
prompt: {
|
|
4225
4192
|
system: string;
|
|
4226
|
-
task?: string | undefined;
|
|
4227
4193
|
templates?: Record<string, string> | undefined;
|
|
4194
|
+
task?: string | undefined;
|
|
4228
4195
|
};
|
|
4229
4196
|
branchPolicy: {
|
|
4230
4197
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
4231
4198
|
base: "main" | "staging";
|
|
4232
|
-
prefix?: string | undefined;
|
|
4233
4199
|
target?: "main" | "staging" | undefined;
|
|
4234
|
-
branchNameTemplate?: string | undefined;
|
|
4235
4200
|
worktree?: string | undefined;
|
|
4201
|
+
prefix?: string | undefined;
|
|
4202
|
+
branchNameTemplate?: string | undefined;
|
|
4236
4203
|
updateBaseBeforeRun?: boolean | undefined;
|
|
4237
4204
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
4238
4205
|
};
|
|
4239
|
-
handler: "
|
|
4206
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
4240
4207
|
tools: {
|
|
4241
4208
|
allowed: string[];
|
|
4242
4209
|
denied?: string[] | undefined;
|
|
4243
4210
|
};
|
|
4244
|
-
outputs: {
|
|
4245
|
-
messageTypes: string[];
|
|
4246
|
-
modelMutations: string[];
|
|
4247
|
-
};
|
|
4248
4211
|
execution?: {
|
|
4249
4212
|
preparationSeconds?: number | undefined;
|
|
4250
4213
|
closeoutSeconds?: number | undefined;
|
|
4251
4214
|
closeoutWarningSeconds?: number | undefined;
|
|
4252
4215
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
4253
|
-
|
|
4216
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
4254
4217
|
maxRuntimeSeconds?: number | undefined;
|
|
4255
4218
|
maxRetries?: number | undefined;
|
|
4256
4219
|
verificationRequired?: boolean | undefined;
|
|
@@ -4280,19 +4243,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4280
4243
|
id: string;
|
|
4281
4244
|
revision: number;
|
|
4282
4245
|
}[] | undefined;
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4246
|
+
capabilityRequirements?: {
|
|
4247
|
+
requirement: "required" | "preferred";
|
|
4248
|
+
capabilityId: string;
|
|
4249
|
+
versionRange: string;
|
|
4250
|
+
configuration?: Record<string, {
|
|
4251
|
+
requirement: "required" | "preferred";
|
|
4252
|
+
value?: unknown;
|
|
4287
4253
|
}> | undefined;
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4254
|
+
alternativeGroup?: string | null | undefined;
|
|
4255
|
+
requiredFeatures?: string[] | undefined;
|
|
4256
|
+
}[] | undefined;
|
|
4257
|
+
permissions?: {
|
|
4291
4258
|
repository?: {
|
|
4292
4259
|
allowCodeMutation?: boolean | undefined;
|
|
4293
4260
|
readPaths?: string[] | undefined;
|
|
4294
4261
|
writePaths?: string[] | undefined;
|
|
4295
4262
|
} | undefined;
|
|
4263
|
+
commit?: {
|
|
4264
|
+
allowed: boolean;
|
|
4265
|
+
} | undefined;
|
|
4266
|
+
content?: Record<string, {
|
|
4267
|
+
operations: string[];
|
|
4268
|
+
filters?: Record<string, unknown> | undefined;
|
|
4269
|
+
}> | undefined;
|
|
4296
4270
|
network?: {
|
|
4297
4271
|
allowWeb?: boolean | undefined;
|
|
4298
4272
|
allowedDomains?: string[] | undefined;
|
|
@@ -4315,18 +4289,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4315
4289
|
requiredArtifactKinds?: string[] | undefined;
|
|
4316
4290
|
blockOnOpenQuestions?: boolean | undefined;
|
|
4317
4291
|
} | undefined;
|
|
4318
|
-
providerOverrides?: {
|
|
4319
|
-
instructionTemplateRefs?: {
|
|
4320
|
-
id: string;
|
|
4321
|
-
revision: number;
|
|
4322
|
-
}[] | undefined;
|
|
4323
|
-
requiredCapabilities?: string[] | undefined;
|
|
4324
|
-
maxRuntimeSeconds?: number | undefined;
|
|
4325
|
-
maxTotalTokens?: number | undefined;
|
|
4326
|
-
maxCostAmount?: number | undefined;
|
|
4327
|
-
disallowedProviderIds?: string[] | undefined;
|
|
4328
|
-
promptRef?: string | undefined;
|
|
4329
|
-
} | undefined;
|
|
4330
4292
|
signals?: {
|
|
4331
4293
|
subscribesTo?: {
|
|
4332
4294
|
contract: string;
|
|
@@ -4346,7 +4308,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4346
4308
|
publishes?: string[] | undefined;
|
|
4347
4309
|
} | undefined;
|
|
4348
4310
|
planningIntent?: {
|
|
4349
|
-
stage?: "
|
|
4311
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
4350
4312
|
objective?: string | undefined;
|
|
4351
4313
|
proposalTypes?: string[] | undefined;
|
|
4352
4314
|
artifactKind?: string | undefined;
|
|
@@ -4354,7 +4316,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4354
4316
|
subjectId?: string | null | undefined;
|
|
4355
4317
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
4356
4318
|
stages?: {
|
|
4357
|
-
stage: "
|
|
4319
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
4358
4320
|
signals?: {
|
|
4359
4321
|
subscribesTo?: {
|
|
4360
4322
|
contract: string;
|
|
@@ -4394,36 +4356,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4394
4356
|
} | undefined;
|
|
4395
4357
|
}, {
|
|
4396
4358
|
enabled: boolean;
|
|
4359
|
+
outputs: {
|
|
4360
|
+
messageTypes: string[];
|
|
4361
|
+
modelMutations: string[];
|
|
4362
|
+
};
|
|
4397
4363
|
prompt: {
|
|
4398
4364
|
system: string;
|
|
4399
|
-
task?: string | undefined;
|
|
4400
4365
|
templates?: Record<string, string> | undefined;
|
|
4366
|
+
task?: string | undefined;
|
|
4401
4367
|
};
|
|
4402
4368
|
branchPolicy: {
|
|
4403
4369
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
4404
4370
|
base: "main" | "staging";
|
|
4405
|
-
prefix?: string | undefined;
|
|
4406
4371
|
target?: "main" | "staging" | undefined;
|
|
4407
|
-
branchNameTemplate?: string | undefined;
|
|
4408
4372
|
worktree?: string | undefined;
|
|
4373
|
+
prefix?: string | undefined;
|
|
4374
|
+
branchNameTemplate?: string | undefined;
|
|
4409
4375
|
updateBaseBeforeRun?: boolean | undefined;
|
|
4410
4376
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
4411
4377
|
};
|
|
4412
|
-
handler: "
|
|
4378
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
4413
4379
|
tools: {
|
|
4414
4380
|
allowed: string[];
|
|
4415
4381
|
denied?: string[] | undefined;
|
|
4416
4382
|
};
|
|
4417
|
-
outputs: {
|
|
4418
|
-
messageTypes: string[];
|
|
4419
|
-
modelMutations: string[];
|
|
4420
|
-
};
|
|
4421
4383
|
execution?: {
|
|
4422
4384
|
preparationSeconds?: number | undefined;
|
|
4423
4385
|
closeoutSeconds?: number | undefined;
|
|
4424
4386
|
closeoutWarningSeconds?: number | undefined;
|
|
4425
4387
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
4426
|
-
|
|
4388
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
4427
4389
|
maxRuntimeSeconds?: number | undefined;
|
|
4428
4390
|
maxRetries?: number | undefined;
|
|
4429
4391
|
verificationRequired?: boolean | undefined;
|
|
@@ -4453,19 +4415,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4453
4415
|
id: string;
|
|
4454
4416
|
revision: number;
|
|
4455
4417
|
}[] | undefined;
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4418
|
+
capabilityRequirements?: {
|
|
4419
|
+
requirement: "required" | "preferred";
|
|
4420
|
+
capabilityId: string;
|
|
4421
|
+
versionRange: string;
|
|
4422
|
+
configuration?: Record<string, {
|
|
4423
|
+
requirement: "required" | "preferred";
|
|
4424
|
+
value?: unknown;
|
|
4460
4425
|
}> | undefined;
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4426
|
+
alternativeGroup?: string | null | undefined;
|
|
4427
|
+
requiredFeatures?: string[] | undefined;
|
|
4428
|
+
}[] | undefined;
|
|
4429
|
+
permissions?: {
|
|
4464
4430
|
repository?: {
|
|
4465
4431
|
allowCodeMutation?: boolean | undefined;
|
|
4466
4432
|
readPaths?: string[] | undefined;
|
|
4467
4433
|
writePaths?: string[] | undefined;
|
|
4468
4434
|
} | undefined;
|
|
4435
|
+
commit?: {
|
|
4436
|
+
allowed: boolean;
|
|
4437
|
+
} | undefined;
|
|
4438
|
+
content?: Record<string, {
|
|
4439
|
+
operations: string[];
|
|
4440
|
+
filters?: Record<string, unknown> | undefined;
|
|
4441
|
+
}> | undefined;
|
|
4469
4442
|
network?: {
|
|
4470
4443
|
allowWeb?: boolean | undefined;
|
|
4471
4444
|
allowedDomains?: string[] | undefined;
|
|
@@ -4488,18 +4461,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4488
4461
|
requiredArtifactKinds?: string[] | undefined;
|
|
4489
4462
|
blockOnOpenQuestions?: boolean | undefined;
|
|
4490
4463
|
} | undefined;
|
|
4491
|
-
providerOverrides?: {
|
|
4492
|
-
instructionTemplateRefs?: {
|
|
4493
|
-
id: string;
|
|
4494
|
-
revision: number;
|
|
4495
|
-
}[] | undefined;
|
|
4496
|
-
requiredCapabilities?: string[] | undefined;
|
|
4497
|
-
maxRuntimeSeconds?: number | undefined;
|
|
4498
|
-
maxTotalTokens?: number | undefined;
|
|
4499
|
-
maxCostAmount?: number | undefined;
|
|
4500
|
-
disallowedProviderIds?: string[] | undefined;
|
|
4501
|
-
promptRef?: string | undefined;
|
|
4502
|
-
} | undefined;
|
|
4503
4464
|
signals?: {
|
|
4504
4465
|
subscribesTo?: {
|
|
4505
4466
|
contract: string;
|
|
@@ -4519,7 +4480,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4519
4480
|
publishes?: string[] | undefined;
|
|
4520
4481
|
} | undefined;
|
|
4521
4482
|
planningIntent?: {
|
|
4522
|
-
stage?: "
|
|
4483
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
4523
4484
|
objective?: string | undefined;
|
|
4524
4485
|
proposalTypes?: string[] | undefined;
|
|
4525
4486
|
artifactKind?: string | undefined;
|
|
@@ -4527,7 +4488,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4527
4488
|
subjectId?: string | null | undefined;
|
|
4528
4489
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
4529
4490
|
stages?: {
|
|
4530
|
-
stage: "
|
|
4491
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
4531
4492
|
signals?: {
|
|
4532
4493
|
subscribesTo?: {
|
|
4533
4494
|
contract: string;
|
|
@@ -4660,12 +4621,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4660
4621
|
templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4661
4622
|
}, "strict", z.ZodTypeAny, {
|
|
4662
4623
|
system: string;
|
|
4663
|
-
task?: string | undefined;
|
|
4664
4624
|
templates?: Record<string, string> | undefined;
|
|
4625
|
+
task?: string | undefined;
|
|
4665
4626
|
}, {
|
|
4666
4627
|
system: string;
|
|
4667
|
-
task?: string | undefined;
|
|
4668
4628
|
templates?: Record<string, string> | undefined;
|
|
4629
|
+
task?: string | undefined;
|
|
4669
4630
|
}>;
|
|
4670
4631
|
branchPolicy: z.ZodObject<{
|
|
4671
4632
|
kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
|
|
@@ -4679,19 +4640,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4679
4640
|
}, "strict", z.ZodTypeAny, {
|
|
4680
4641
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
4681
4642
|
base: "main" | "staging";
|
|
4682
|
-
prefix?: string | undefined;
|
|
4683
4643
|
target?: "main" | "staging" | undefined;
|
|
4684
|
-
branchNameTemplate?: string | undefined;
|
|
4685
4644
|
worktree?: string | undefined;
|
|
4645
|
+
prefix?: string | undefined;
|
|
4646
|
+
branchNameTemplate?: string | undefined;
|
|
4686
4647
|
updateBaseBeforeRun?: boolean | undefined;
|
|
4687
4648
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
4688
4649
|
}, {
|
|
4689
4650
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
4690
4651
|
base: "main" | "staging";
|
|
4691
|
-
prefix?: string | undefined;
|
|
4692
4652
|
target?: "main" | "staging" | undefined;
|
|
4693
|
-
branchNameTemplate?: string | undefined;
|
|
4694
4653
|
worktree?: string | undefined;
|
|
4654
|
+
prefix?: string | undefined;
|
|
4655
|
+
branchNameTemplate?: string | undefined;
|
|
4695
4656
|
updateBaseBeforeRun?: boolean | undefined;
|
|
4696
4657
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
4697
4658
|
}>;
|
|
@@ -4743,6 +4704,43 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4743
4704
|
id: string;
|
|
4744
4705
|
revision: number;
|
|
4745
4706
|
}[]>>;
|
|
4707
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4708
|
+
capabilityId: z.ZodString;
|
|
4709
|
+
versionRange: z.ZodString;
|
|
4710
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
4711
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4712
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
4713
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4714
|
+
value: z.ZodUnknown;
|
|
4715
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
4716
|
+
}, "strict", z.ZodTypeAny, {
|
|
4717
|
+
requirement: "required" | "preferred";
|
|
4718
|
+
value?: unknown;
|
|
4719
|
+
}, {
|
|
4720
|
+
requirement: "required" | "preferred";
|
|
4721
|
+
value?: unknown;
|
|
4722
|
+
}>>>;
|
|
4723
|
+
}, "strict", z.ZodTypeAny, {
|
|
4724
|
+
requirement: "required" | "preferred";
|
|
4725
|
+
capabilityId: string;
|
|
4726
|
+
versionRange: string;
|
|
4727
|
+
configuration?: Record<string, {
|
|
4728
|
+
requirement: "required" | "preferred";
|
|
4729
|
+
value?: unknown;
|
|
4730
|
+
}> | undefined;
|
|
4731
|
+
alternativeGroup?: string | null | undefined;
|
|
4732
|
+
requiredFeatures?: string[] | undefined;
|
|
4733
|
+
}, {
|
|
4734
|
+
requirement: "required" | "preferred";
|
|
4735
|
+
capabilityId: string;
|
|
4736
|
+
versionRange: string;
|
|
4737
|
+
configuration?: Record<string, {
|
|
4738
|
+
requirement: "required" | "preferred";
|
|
4739
|
+
value?: unknown;
|
|
4740
|
+
}> | undefined;
|
|
4741
|
+
alternativeGroup?: string | null | undefined;
|
|
4742
|
+
requiredFeatures?: string[] | undefined;
|
|
4743
|
+
}>, "many">>;
|
|
4746
4744
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
4747
4745
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4748
4746
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -4798,18 +4796,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4798
4796
|
deniedCommands?: string[] | undefined;
|
|
4799
4797
|
}>>;
|
|
4800
4798
|
}, "strict", z.ZodTypeAny, {
|
|
4801
|
-
content?: Record<string, {
|
|
4802
|
-
operations: string[];
|
|
4803
|
-
filters?: Record<string, unknown> | undefined;
|
|
4804
|
-
}> | undefined;
|
|
4805
|
-
commit?: {
|
|
4806
|
-
allowed: boolean;
|
|
4807
|
-
} | undefined;
|
|
4808
4799
|
repository?: {
|
|
4809
4800
|
allowCodeMutation?: boolean | undefined;
|
|
4810
4801
|
readPaths?: string[] | undefined;
|
|
4811
4802
|
writePaths?: string[] | undefined;
|
|
4812
4803
|
} | undefined;
|
|
4804
|
+
commit?: {
|
|
4805
|
+
allowed: boolean;
|
|
4806
|
+
} | undefined;
|
|
4807
|
+
content?: Record<string, {
|
|
4808
|
+
operations: string[];
|
|
4809
|
+
filters?: Record<string, unknown> | undefined;
|
|
4810
|
+
}> | undefined;
|
|
4813
4811
|
network?: {
|
|
4814
4812
|
allowWeb?: boolean | undefined;
|
|
4815
4813
|
allowedDomains?: string[] | undefined;
|
|
@@ -4820,18 +4818,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4820
4818
|
deniedCommands?: string[] | undefined;
|
|
4821
4819
|
} | undefined;
|
|
4822
4820
|
}, {
|
|
4823
|
-
content?: Record<string, {
|
|
4824
|
-
operations: string[];
|
|
4825
|
-
filters?: Record<string, unknown> | undefined;
|
|
4826
|
-
}> | undefined;
|
|
4827
|
-
commit?: {
|
|
4828
|
-
allowed: boolean;
|
|
4829
|
-
} | undefined;
|
|
4830
4821
|
repository?: {
|
|
4831
4822
|
allowCodeMutation?: boolean | undefined;
|
|
4832
4823
|
readPaths?: string[] | undefined;
|
|
4833
4824
|
writePaths?: string[] | undefined;
|
|
4834
4825
|
} | undefined;
|
|
4826
|
+
commit?: {
|
|
4827
|
+
allowed: boolean;
|
|
4828
|
+
} | undefined;
|
|
4829
|
+
content?: Record<string, {
|
|
4830
|
+
operations: string[];
|
|
4831
|
+
filters?: Record<string, unknown> | undefined;
|
|
4832
|
+
}> | undefined;
|
|
4835
4833
|
network?: {
|
|
4836
4834
|
allowWeb?: boolean | undefined;
|
|
4837
4835
|
allowedDomains?: string[] | undefined;
|
|
@@ -4874,52 +4872,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4874
4872
|
requiredArtifactKinds?: string[] | undefined;
|
|
4875
4873
|
blockOnOpenQuestions?: boolean | undefined;
|
|
4876
4874
|
}>>;
|
|
4877
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
4878
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
4879
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
4880
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
4881
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
4882
|
-
id: z.ZodString;
|
|
4883
|
-
revision: z.ZodNumber;
|
|
4884
|
-
}, "strict", z.ZodTypeAny, {
|
|
4885
|
-
id: string;
|
|
4886
|
-
revision: number;
|
|
4887
|
-
}, {
|
|
4888
|
-
id: string;
|
|
4889
|
-
revision: number;
|
|
4890
|
-
}>, "many">, {
|
|
4891
|
-
id: string;
|
|
4892
|
-
revision: number;
|
|
4893
|
-
}[], {
|
|
4894
|
-
id: string;
|
|
4895
|
-
revision: number;
|
|
4896
|
-
}[]>>;
|
|
4897
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
4898
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
4899
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
4900
|
-
}, "strict", z.ZodTypeAny, {
|
|
4901
|
-
instructionTemplateRefs?: {
|
|
4902
|
-
id: string;
|
|
4903
|
-
revision: number;
|
|
4904
|
-
}[] | undefined;
|
|
4905
|
-
requiredCapabilities?: string[] | undefined;
|
|
4906
|
-
maxRuntimeSeconds?: number | undefined;
|
|
4907
|
-
maxTotalTokens?: number | undefined;
|
|
4908
|
-
maxCostAmount?: number | undefined;
|
|
4909
|
-
disallowedProviderIds?: string[] | undefined;
|
|
4910
|
-
promptRef?: string | undefined;
|
|
4911
|
-
}, {
|
|
4912
|
-
instructionTemplateRefs?: {
|
|
4913
|
-
id: string;
|
|
4914
|
-
revision: number;
|
|
4915
|
-
}[] | undefined;
|
|
4916
|
-
requiredCapabilities?: string[] | undefined;
|
|
4917
|
-
maxRuntimeSeconds?: number | undefined;
|
|
4918
|
-
maxTotalTokens?: number | undefined;
|
|
4919
|
-
maxCostAmount?: number | undefined;
|
|
4920
|
-
disallowedProviderIds?: string[] | undefined;
|
|
4921
|
-
promptRef?: string | undefined;
|
|
4922
|
-
}>>;
|
|
4923
4875
|
tools: z.ZodObject<{
|
|
4924
4876
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
4925
4877
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -5152,7 +5104,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5152
5104
|
publishes?: string[] | undefined;
|
|
5153
5105
|
}>>;
|
|
5154
5106
|
}, "strict", z.ZodTypeAny, {
|
|
5155
|
-
stage: "
|
|
5107
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
5156
5108
|
signals?: {
|
|
5157
5109
|
subscribesTo?: {
|
|
5158
5110
|
contract: string;
|
|
@@ -5173,7 +5125,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5173
5125
|
} | undefined;
|
|
5174
5126
|
promptTask?: string | undefined;
|
|
5175
5127
|
}, {
|
|
5176
|
-
stage: "
|
|
5128
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
5177
5129
|
signals?: {
|
|
5178
5130
|
subscribesTo?: {
|
|
5179
5131
|
contract: string;
|
|
@@ -5196,7 +5148,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5196
5148
|
}>, "many">>;
|
|
5197
5149
|
requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
5198
5150
|
}, "strict", z.ZodTypeAny, {
|
|
5199
|
-
stage?: "
|
|
5151
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
5200
5152
|
objective?: string | undefined;
|
|
5201
5153
|
proposalTypes?: string[] | undefined;
|
|
5202
5154
|
artifactKind?: string | undefined;
|
|
@@ -5204,7 +5156,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5204
5156
|
subjectId?: string | null | undefined;
|
|
5205
5157
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
5206
5158
|
stages?: {
|
|
5207
|
-
stage: "
|
|
5159
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
5208
5160
|
signals?: {
|
|
5209
5161
|
subscribesTo?: {
|
|
5210
5162
|
contract: string;
|
|
@@ -5227,7 +5179,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5227
5179
|
}[] | undefined;
|
|
5228
5180
|
requiresArtifactKinds?: string[] | undefined;
|
|
5229
5181
|
}, {
|
|
5230
|
-
stage?: "
|
|
5182
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
5231
5183
|
objective?: string | undefined;
|
|
5232
5184
|
proposalTypes?: string[] | undefined;
|
|
5233
5185
|
artifactKind?: string | undefined;
|
|
@@ -5235,7 +5187,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5235
5187
|
subjectId?: string | null | undefined;
|
|
5236
5188
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
5237
5189
|
stages?: {
|
|
5238
|
-
stage: "
|
|
5190
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
5239
5191
|
signals?: {
|
|
5240
5192
|
subscribesTo?: {
|
|
5241
5193
|
contract: string;
|
|
@@ -5324,7 +5276,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5324
5276
|
blockExecutionWhenCreated?: boolean | undefined;
|
|
5325
5277
|
}>>;
|
|
5326
5278
|
execution: z.ZodOptional<z.ZodObject<{
|
|
5327
|
-
|
|
5279
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["minimal", "low", "medium", "high", "xhigh"]>>;
|
|
5328
5280
|
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
5329
5281
|
closeoutWarningSeconds: z.ZodOptional<z.ZodNumber>;
|
|
5330
5282
|
preparationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5357,7 +5309,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5357
5309
|
closeoutSeconds?: number | undefined;
|
|
5358
5310
|
closeoutWarningSeconds?: number | undefined;
|
|
5359
5311
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5360
|
-
|
|
5312
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
5361
5313
|
maxRuntimeSeconds?: number | undefined;
|
|
5362
5314
|
maxRetries?: number | undefined;
|
|
5363
5315
|
verificationRequired?: boolean | undefined;
|
|
@@ -5378,7 +5330,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5378
5330
|
closeoutSeconds?: number | undefined;
|
|
5379
5331
|
closeoutWarningSeconds?: number | undefined;
|
|
5380
5332
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5381
|
-
|
|
5333
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
5382
5334
|
maxRuntimeSeconds?: number | undefined;
|
|
5383
5335
|
maxRetries?: number | undefined;
|
|
5384
5336
|
verificationRequired?: boolean | undefined;
|
|
@@ -5397,36 +5349,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5397
5349
|
}>>;
|
|
5398
5350
|
}, "strict", z.ZodTypeAny, {
|
|
5399
5351
|
enabled: boolean;
|
|
5352
|
+
outputs: {
|
|
5353
|
+
messageTypes: string[];
|
|
5354
|
+
modelMutations: string[];
|
|
5355
|
+
};
|
|
5400
5356
|
prompt: {
|
|
5401
5357
|
system: string;
|
|
5402
|
-
task?: string | undefined;
|
|
5403
5358
|
templates?: Record<string, string> | undefined;
|
|
5359
|
+
task?: string | undefined;
|
|
5404
5360
|
};
|
|
5405
5361
|
branchPolicy: {
|
|
5406
5362
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
5407
5363
|
base: "main" | "staging";
|
|
5408
|
-
prefix?: string | undefined;
|
|
5409
5364
|
target?: "main" | "staging" | undefined;
|
|
5410
|
-
branchNameTemplate?: string | undefined;
|
|
5411
5365
|
worktree?: string | undefined;
|
|
5366
|
+
prefix?: string | undefined;
|
|
5367
|
+
branchNameTemplate?: string | undefined;
|
|
5412
5368
|
updateBaseBeforeRun?: boolean | undefined;
|
|
5413
5369
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
5414
5370
|
};
|
|
5415
|
-
handler: "
|
|
5371
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
5416
5372
|
tools: {
|
|
5417
5373
|
allowed: string[];
|
|
5418
5374
|
denied?: string[] | undefined;
|
|
5419
5375
|
};
|
|
5420
|
-
outputs: {
|
|
5421
|
-
messageTypes: string[];
|
|
5422
|
-
modelMutations: string[];
|
|
5423
|
-
};
|
|
5424
5376
|
execution?: {
|
|
5425
5377
|
preparationSeconds?: number | undefined;
|
|
5426
5378
|
closeoutSeconds?: number | undefined;
|
|
5427
5379
|
closeoutWarningSeconds?: number | undefined;
|
|
5428
5380
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5429
|
-
|
|
5381
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
5430
5382
|
maxRuntimeSeconds?: number | undefined;
|
|
5431
5383
|
maxRetries?: number | undefined;
|
|
5432
5384
|
verificationRequired?: boolean | undefined;
|
|
@@ -5456,19 +5408,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5456
5408
|
id: string;
|
|
5457
5409
|
revision: number;
|
|
5458
5410
|
}[] | undefined;
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5411
|
+
capabilityRequirements?: {
|
|
5412
|
+
requirement: "required" | "preferred";
|
|
5413
|
+
capabilityId: string;
|
|
5414
|
+
versionRange: string;
|
|
5415
|
+
configuration?: Record<string, {
|
|
5416
|
+
requirement: "required" | "preferred";
|
|
5417
|
+
value?: unknown;
|
|
5463
5418
|
}> | undefined;
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5419
|
+
alternativeGroup?: string | null | undefined;
|
|
5420
|
+
requiredFeatures?: string[] | undefined;
|
|
5421
|
+
}[] | undefined;
|
|
5422
|
+
permissions?: {
|
|
5467
5423
|
repository?: {
|
|
5468
5424
|
allowCodeMutation?: boolean | undefined;
|
|
5469
5425
|
readPaths?: string[] | undefined;
|
|
5470
5426
|
writePaths?: string[] | undefined;
|
|
5471
5427
|
} | undefined;
|
|
5428
|
+
commit?: {
|
|
5429
|
+
allowed: boolean;
|
|
5430
|
+
} | undefined;
|
|
5431
|
+
content?: Record<string, {
|
|
5432
|
+
operations: string[];
|
|
5433
|
+
filters?: Record<string, unknown> | undefined;
|
|
5434
|
+
}> | undefined;
|
|
5472
5435
|
network?: {
|
|
5473
5436
|
allowWeb?: boolean | undefined;
|
|
5474
5437
|
allowedDomains?: string[] | undefined;
|
|
@@ -5491,18 +5454,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5491
5454
|
requiredArtifactKinds?: string[] | undefined;
|
|
5492
5455
|
blockOnOpenQuestions?: boolean | undefined;
|
|
5493
5456
|
} | undefined;
|
|
5494
|
-
providerOverrides?: {
|
|
5495
|
-
instructionTemplateRefs?: {
|
|
5496
|
-
id: string;
|
|
5497
|
-
revision: number;
|
|
5498
|
-
}[] | undefined;
|
|
5499
|
-
requiredCapabilities?: string[] | undefined;
|
|
5500
|
-
maxRuntimeSeconds?: number | undefined;
|
|
5501
|
-
maxTotalTokens?: number | undefined;
|
|
5502
|
-
maxCostAmount?: number | undefined;
|
|
5503
|
-
disallowedProviderIds?: string[] | undefined;
|
|
5504
|
-
promptRef?: string | undefined;
|
|
5505
|
-
} | undefined;
|
|
5506
5457
|
signals?: {
|
|
5507
5458
|
subscribesTo?: {
|
|
5508
5459
|
contract: string;
|
|
@@ -5522,7 +5473,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5522
5473
|
publishes?: string[] | undefined;
|
|
5523
5474
|
} | undefined;
|
|
5524
5475
|
planningIntent?: {
|
|
5525
|
-
stage?: "
|
|
5476
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
5526
5477
|
objective?: string | undefined;
|
|
5527
5478
|
proposalTypes?: string[] | undefined;
|
|
5528
5479
|
artifactKind?: string | undefined;
|
|
@@ -5530,7 +5481,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5530
5481
|
subjectId?: string | null | undefined;
|
|
5531
5482
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
5532
5483
|
stages?: {
|
|
5533
|
-
stage: "
|
|
5484
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
5534
5485
|
signals?: {
|
|
5535
5486
|
subscribesTo?: {
|
|
5536
5487
|
contract: string;
|
|
@@ -5570,36 +5521,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5570
5521
|
} | undefined;
|
|
5571
5522
|
}, {
|
|
5572
5523
|
enabled: boolean;
|
|
5524
|
+
outputs: {
|
|
5525
|
+
messageTypes: string[];
|
|
5526
|
+
modelMutations: string[];
|
|
5527
|
+
};
|
|
5573
5528
|
prompt: {
|
|
5574
5529
|
system: string;
|
|
5575
|
-
task?: string | undefined;
|
|
5576
5530
|
templates?: Record<string, string> | undefined;
|
|
5531
|
+
task?: string | undefined;
|
|
5577
5532
|
};
|
|
5578
5533
|
branchPolicy: {
|
|
5579
5534
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
5580
5535
|
base: "main" | "staging";
|
|
5581
|
-
prefix?: string | undefined;
|
|
5582
5536
|
target?: "main" | "staging" | undefined;
|
|
5583
|
-
branchNameTemplate?: string | undefined;
|
|
5584
5537
|
worktree?: string | undefined;
|
|
5538
|
+
prefix?: string | undefined;
|
|
5539
|
+
branchNameTemplate?: string | undefined;
|
|
5585
5540
|
updateBaseBeforeRun?: boolean | undefined;
|
|
5586
5541
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
5587
5542
|
};
|
|
5588
|
-
handler: "
|
|
5543
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
5589
5544
|
tools: {
|
|
5590
5545
|
allowed: string[];
|
|
5591
5546
|
denied?: string[] | undefined;
|
|
5592
5547
|
};
|
|
5593
|
-
outputs: {
|
|
5594
|
-
messageTypes: string[];
|
|
5595
|
-
modelMutations: string[];
|
|
5596
|
-
};
|
|
5597
5548
|
execution?: {
|
|
5598
5549
|
preparationSeconds?: number | undefined;
|
|
5599
5550
|
closeoutSeconds?: number | undefined;
|
|
5600
5551
|
closeoutWarningSeconds?: number | undefined;
|
|
5601
5552
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5602
|
-
|
|
5553
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
5603
5554
|
maxRuntimeSeconds?: number | undefined;
|
|
5604
5555
|
maxRetries?: number | undefined;
|
|
5605
5556
|
verificationRequired?: boolean | undefined;
|
|
@@ -5629,19 +5580,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5629
5580
|
id: string;
|
|
5630
5581
|
revision: number;
|
|
5631
5582
|
}[] | undefined;
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5583
|
+
capabilityRequirements?: {
|
|
5584
|
+
requirement: "required" | "preferred";
|
|
5585
|
+
capabilityId: string;
|
|
5586
|
+
versionRange: string;
|
|
5587
|
+
configuration?: Record<string, {
|
|
5588
|
+
requirement: "required" | "preferred";
|
|
5589
|
+
value?: unknown;
|
|
5636
5590
|
}> | undefined;
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5591
|
+
alternativeGroup?: string | null | undefined;
|
|
5592
|
+
requiredFeatures?: string[] | undefined;
|
|
5593
|
+
}[] | undefined;
|
|
5594
|
+
permissions?: {
|
|
5640
5595
|
repository?: {
|
|
5641
5596
|
allowCodeMutation?: boolean | undefined;
|
|
5642
5597
|
readPaths?: string[] | undefined;
|
|
5643
5598
|
writePaths?: string[] | undefined;
|
|
5644
5599
|
} | undefined;
|
|
5600
|
+
commit?: {
|
|
5601
|
+
allowed: boolean;
|
|
5602
|
+
} | undefined;
|
|
5603
|
+
content?: Record<string, {
|
|
5604
|
+
operations: string[];
|
|
5605
|
+
filters?: Record<string, unknown> | undefined;
|
|
5606
|
+
}> | undefined;
|
|
5645
5607
|
network?: {
|
|
5646
5608
|
allowWeb?: boolean | undefined;
|
|
5647
5609
|
allowedDomains?: string[] | undefined;
|
|
@@ -5664,18 +5626,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5664
5626
|
requiredArtifactKinds?: string[] | undefined;
|
|
5665
5627
|
blockOnOpenQuestions?: boolean | undefined;
|
|
5666
5628
|
} | undefined;
|
|
5667
|
-
providerOverrides?: {
|
|
5668
|
-
instructionTemplateRefs?: {
|
|
5669
|
-
id: string;
|
|
5670
|
-
revision: number;
|
|
5671
|
-
}[] | undefined;
|
|
5672
|
-
requiredCapabilities?: string[] | undefined;
|
|
5673
|
-
maxRuntimeSeconds?: number | undefined;
|
|
5674
|
-
maxTotalTokens?: number | undefined;
|
|
5675
|
-
maxCostAmount?: number | undefined;
|
|
5676
|
-
disallowedProviderIds?: string[] | undefined;
|
|
5677
|
-
promptRef?: string | undefined;
|
|
5678
|
-
} | undefined;
|
|
5679
5629
|
signals?: {
|
|
5680
5630
|
subscribesTo?: {
|
|
5681
5631
|
contract: string;
|
|
@@ -5695,7 +5645,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5695
5645
|
publishes?: string[] | undefined;
|
|
5696
5646
|
} | undefined;
|
|
5697
5647
|
planningIntent?: {
|
|
5698
|
-
stage?: "
|
|
5648
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
5699
5649
|
objective?: string | undefined;
|
|
5700
5650
|
proposalTypes?: string[] | undefined;
|
|
5701
5651
|
artifactKind?: string | undefined;
|
|
@@ -5703,7 +5653,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5703
5653
|
subjectId?: string | null | undefined;
|
|
5704
5654
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
5705
5655
|
stages?: {
|
|
5706
|
-
stage: "
|
|
5656
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
5707
5657
|
signals?: {
|
|
5708
5658
|
subscribesTo?: {
|
|
5709
5659
|
contract: string;
|
|
@@ -5743,36 +5693,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5743
5693
|
} | undefined;
|
|
5744
5694
|
}>, {
|
|
5745
5695
|
enabled: boolean;
|
|
5696
|
+
outputs: {
|
|
5697
|
+
messageTypes: string[];
|
|
5698
|
+
modelMutations: string[];
|
|
5699
|
+
};
|
|
5746
5700
|
prompt: {
|
|
5747
5701
|
system: string;
|
|
5748
|
-
task?: string | undefined;
|
|
5749
5702
|
templates?: Record<string, string> | undefined;
|
|
5703
|
+
task?: string | undefined;
|
|
5750
5704
|
};
|
|
5751
5705
|
branchPolicy: {
|
|
5752
5706
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
5753
5707
|
base: "main" | "staging";
|
|
5754
|
-
prefix?: string | undefined;
|
|
5755
5708
|
target?: "main" | "staging" | undefined;
|
|
5756
|
-
branchNameTemplate?: string | undefined;
|
|
5757
5709
|
worktree?: string | undefined;
|
|
5710
|
+
prefix?: string | undefined;
|
|
5711
|
+
branchNameTemplate?: string | undefined;
|
|
5758
5712
|
updateBaseBeforeRun?: boolean | undefined;
|
|
5759
5713
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
5760
5714
|
};
|
|
5761
|
-
handler: "
|
|
5715
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
5762
5716
|
tools: {
|
|
5763
5717
|
allowed: string[];
|
|
5764
5718
|
denied?: string[] | undefined;
|
|
5765
5719
|
};
|
|
5766
|
-
outputs: {
|
|
5767
|
-
messageTypes: string[];
|
|
5768
|
-
modelMutations: string[];
|
|
5769
|
-
};
|
|
5770
5720
|
execution?: {
|
|
5771
5721
|
preparationSeconds?: number | undefined;
|
|
5772
5722
|
closeoutSeconds?: number | undefined;
|
|
5773
5723
|
closeoutWarningSeconds?: number | undefined;
|
|
5774
5724
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5775
|
-
|
|
5725
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
5776
5726
|
maxRuntimeSeconds?: number | undefined;
|
|
5777
5727
|
maxRetries?: number | undefined;
|
|
5778
5728
|
verificationRequired?: boolean | undefined;
|
|
@@ -5802,19 +5752,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5802
5752
|
id: string;
|
|
5803
5753
|
revision: number;
|
|
5804
5754
|
}[] | undefined;
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5755
|
+
capabilityRequirements?: {
|
|
5756
|
+
requirement: "required" | "preferred";
|
|
5757
|
+
capabilityId: string;
|
|
5758
|
+
versionRange: string;
|
|
5759
|
+
configuration?: Record<string, {
|
|
5760
|
+
requirement: "required" | "preferred";
|
|
5761
|
+
value?: unknown;
|
|
5809
5762
|
}> | undefined;
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5763
|
+
alternativeGroup?: string | null | undefined;
|
|
5764
|
+
requiredFeatures?: string[] | undefined;
|
|
5765
|
+
}[] | undefined;
|
|
5766
|
+
permissions?: {
|
|
5813
5767
|
repository?: {
|
|
5814
5768
|
allowCodeMutation?: boolean | undefined;
|
|
5815
5769
|
readPaths?: string[] | undefined;
|
|
5816
5770
|
writePaths?: string[] | undefined;
|
|
5817
5771
|
} | undefined;
|
|
5772
|
+
commit?: {
|
|
5773
|
+
allowed: boolean;
|
|
5774
|
+
} | undefined;
|
|
5775
|
+
content?: Record<string, {
|
|
5776
|
+
operations: string[];
|
|
5777
|
+
filters?: Record<string, unknown> | undefined;
|
|
5778
|
+
}> | undefined;
|
|
5818
5779
|
network?: {
|
|
5819
5780
|
allowWeb?: boolean | undefined;
|
|
5820
5781
|
allowedDomains?: string[] | undefined;
|
|
@@ -5837,18 +5798,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5837
5798
|
requiredArtifactKinds?: string[] | undefined;
|
|
5838
5799
|
blockOnOpenQuestions?: boolean | undefined;
|
|
5839
5800
|
} | undefined;
|
|
5840
|
-
providerOverrides?: {
|
|
5841
|
-
instructionTemplateRefs?: {
|
|
5842
|
-
id: string;
|
|
5843
|
-
revision: number;
|
|
5844
|
-
}[] | undefined;
|
|
5845
|
-
requiredCapabilities?: string[] | undefined;
|
|
5846
|
-
maxRuntimeSeconds?: number | undefined;
|
|
5847
|
-
maxTotalTokens?: number | undefined;
|
|
5848
|
-
maxCostAmount?: number | undefined;
|
|
5849
|
-
disallowedProviderIds?: string[] | undefined;
|
|
5850
|
-
promptRef?: string | undefined;
|
|
5851
|
-
} | undefined;
|
|
5852
5801
|
signals?: {
|
|
5853
5802
|
subscribesTo?: {
|
|
5854
5803
|
contract: string;
|
|
@@ -5868,7 +5817,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5868
5817
|
publishes?: string[] | undefined;
|
|
5869
5818
|
} | undefined;
|
|
5870
5819
|
planningIntent?: {
|
|
5871
|
-
stage?: "
|
|
5820
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
5872
5821
|
objective?: string | undefined;
|
|
5873
5822
|
proposalTypes?: string[] | undefined;
|
|
5874
5823
|
artifactKind?: string | undefined;
|
|
@@ -5876,7 +5825,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5876
5825
|
subjectId?: string | null | undefined;
|
|
5877
5826
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
5878
5827
|
stages?: {
|
|
5879
|
-
stage: "
|
|
5828
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
5880
5829
|
signals?: {
|
|
5881
5830
|
subscribesTo?: {
|
|
5882
5831
|
contract: string;
|
|
@@ -5916,36 +5865,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5916
5865
|
} | undefined;
|
|
5917
5866
|
}, {
|
|
5918
5867
|
enabled: boolean;
|
|
5868
|
+
outputs: {
|
|
5869
|
+
messageTypes: string[];
|
|
5870
|
+
modelMutations: string[];
|
|
5871
|
+
};
|
|
5919
5872
|
prompt: {
|
|
5920
5873
|
system: string;
|
|
5921
|
-
task?: string | undefined;
|
|
5922
5874
|
templates?: Record<string, string> | undefined;
|
|
5875
|
+
task?: string | undefined;
|
|
5923
5876
|
};
|
|
5924
5877
|
branchPolicy: {
|
|
5925
5878
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
5926
5879
|
base: "main" | "staging";
|
|
5927
|
-
prefix?: string | undefined;
|
|
5928
5880
|
target?: "main" | "staging" | undefined;
|
|
5929
|
-
branchNameTemplate?: string | undefined;
|
|
5930
5881
|
worktree?: string | undefined;
|
|
5882
|
+
prefix?: string | undefined;
|
|
5883
|
+
branchNameTemplate?: string | undefined;
|
|
5931
5884
|
updateBaseBeforeRun?: boolean | undefined;
|
|
5932
5885
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
5933
5886
|
};
|
|
5934
|
-
handler: "
|
|
5887
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
5935
5888
|
tools: {
|
|
5936
5889
|
allowed: string[];
|
|
5937
5890
|
denied?: string[] | undefined;
|
|
5938
5891
|
};
|
|
5939
|
-
outputs: {
|
|
5940
|
-
messageTypes: string[];
|
|
5941
|
-
modelMutations: string[];
|
|
5942
|
-
};
|
|
5943
5892
|
execution?: {
|
|
5944
5893
|
preparationSeconds?: number | undefined;
|
|
5945
5894
|
closeoutSeconds?: number | undefined;
|
|
5946
5895
|
closeoutWarningSeconds?: number | undefined;
|
|
5947
5896
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5948
|
-
|
|
5897
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
5949
5898
|
maxRuntimeSeconds?: number | undefined;
|
|
5950
5899
|
maxRetries?: number | undefined;
|
|
5951
5900
|
verificationRequired?: boolean | undefined;
|
|
@@ -5975,19 +5924,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5975
5924
|
id: string;
|
|
5976
5925
|
revision: number;
|
|
5977
5926
|
}[] | undefined;
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5927
|
+
capabilityRequirements?: {
|
|
5928
|
+
requirement: "required" | "preferred";
|
|
5929
|
+
capabilityId: string;
|
|
5930
|
+
versionRange: string;
|
|
5931
|
+
configuration?: Record<string, {
|
|
5932
|
+
requirement: "required" | "preferred";
|
|
5933
|
+
value?: unknown;
|
|
5982
5934
|
}> | undefined;
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5935
|
+
alternativeGroup?: string | null | undefined;
|
|
5936
|
+
requiredFeatures?: string[] | undefined;
|
|
5937
|
+
}[] | undefined;
|
|
5938
|
+
permissions?: {
|
|
5986
5939
|
repository?: {
|
|
5987
5940
|
allowCodeMutation?: boolean | undefined;
|
|
5988
5941
|
readPaths?: string[] | undefined;
|
|
5989
5942
|
writePaths?: string[] | undefined;
|
|
5990
5943
|
} | undefined;
|
|
5944
|
+
commit?: {
|
|
5945
|
+
allowed: boolean;
|
|
5946
|
+
} | undefined;
|
|
5947
|
+
content?: Record<string, {
|
|
5948
|
+
operations: string[];
|
|
5949
|
+
filters?: Record<string, unknown> | undefined;
|
|
5950
|
+
}> | undefined;
|
|
5991
5951
|
network?: {
|
|
5992
5952
|
allowWeb?: boolean | undefined;
|
|
5993
5953
|
allowedDomains?: string[] | undefined;
|
|
@@ -6010,18 +5970,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6010
5970
|
requiredArtifactKinds?: string[] | undefined;
|
|
6011
5971
|
blockOnOpenQuestions?: boolean | undefined;
|
|
6012
5972
|
} | undefined;
|
|
6013
|
-
providerOverrides?: {
|
|
6014
|
-
instructionTemplateRefs?: {
|
|
6015
|
-
id: string;
|
|
6016
|
-
revision: number;
|
|
6017
|
-
}[] | undefined;
|
|
6018
|
-
requiredCapabilities?: string[] | undefined;
|
|
6019
|
-
maxRuntimeSeconds?: number | undefined;
|
|
6020
|
-
maxTotalTokens?: number | undefined;
|
|
6021
|
-
maxCostAmount?: number | undefined;
|
|
6022
|
-
disallowedProviderIds?: string[] | undefined;
|
|
6023
|
-
promptRef?: string | undefined;
|
|
6024
|
-
} | undefined;
|
|
6025
5973
|
signals?: {
|
|
6026
5974
|
subscribesTo?: {
|
|
6027
5975
|
contract: string;
|
|
@@ -6041,7 +5989,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6041
5989
|
publishes?: string[] | undefined;
|
|
6042
5990
|
} | undefined;
|
|
6043
5991
|
planningIntent?: {
|
|
6044
|
-
stage?: "
|
|
5992
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
6045
5993
|
objective?: string | undefined;
|
|
6046
5994
|
proposalTypes?: string[] | undefined;
|
|
6047
5995
|
artifactKind?: string | undefined;
|
|
@@ -6049,7 +5997,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6049
5997
|
subjectId?: string | null | undefined;
|
|
6050
5998
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
6051
5999
|
stages?: {
|
|
6052
|
-
stage: "
|
|
6000
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
6053
6001
|
signals?: {
|
|
6054
6002
|
subscribesTo?: {
|
|
6055
6003
|
contract: string;
|
|
@@ -6182,12 +6130,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6182
6130
|
templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6183
6131
|
}, "strict", z.ZodTypeAny, {
|
|
6184
6132
|
system: string;
|
|
6185
|
-
task?: string | undefined;
|
|
6186
6133
|
templates?: Record<string, string> | undefined;
|
|
6134
|
+
task?: string | undefined;
|
|
6187
6135
|
}, {
|
|
6188
6136
|
system: string;
|
|
6189
|
-
task?: string | undefined;
|
|
6190
6137
|
templates?: Record<string, string> | undefined;
|
|
6138
|
+
task?: string | undefined;
|
|
6191
6139
|
}>;
|
|
6192
6140
|
branchPolicy: z.ZodObject<{
|
|
6193
6141
|
kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
|
|
@@ -6201,19 +6149,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6201
6149
|
}, "strict", z.ZodTypeAny, {
|
|
6202
6150
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
6203
6151
|
base: "main" | "staging";
|
|
6204
|
-
prefix?: string | undefined;
|
|
6205
6152
|
target?: "main" | "staging" | undefined;
|
|
6206
|
-
branchNameTemplate?: string | undefined;
|
|
6207
6153
|
worktree?: string | undefined;
|
|
6154
|
+
prefix?: string | undefined;
|
|
6155
|
+
branchNameTemplate?: string | undefined;
|
|
6208
6156
|
updateBaseBeforeRun?: boolean | undefined;
|
|
6209
6157
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
6210
6158
|
}, {
|
|
6211
6159
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
6212
6160
|
base: "main" | "staging";
|
|
6213
|
-
prefix?: string | undefined;
|
|
6214
6161
|
target?: "main" | "staging" | undefined;
|
|
6215
|
-
branchNameTemplate?: string | undefined;
|
|
6216
6162
|
worktree?: string | undefined;
|
|
6163
|
+
prefix?: string | undefined;
|
|
6164
|
+
branchNameTemplate?: string | undefined;
|
|
6217
6165
|
updateBaseBeforeRun?: boolean | undefined;
|
|
6218
6166
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
6219
6167
|
}>;
|
|
@@ -6265,6 +6213,43 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6265
6213
|
id: string;
|
|
6266
6214
|
revision: number;
|
|
6267
6215
|
}[]>>;
|
|
6216
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6217
|
+
capabilityId: z.ZodString;
|
|
6218
|
+
versionRange: z.ZodString;
|
|
6219
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
6220
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6221
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
6222
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6223
|
+
value: z.ZodUnknown;
|
|
6224
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
6225
|
+
}, "strict", z.ZodTypeAny, {
|
|
6226
|
+
requirement: "required" | "preferred";
|
|
6227
|
+
value?: unknown;
|
|
6228
|
+
}, {
|
|
6229
|
+
requirement: "required" | "preferred";
|
|
6230
|
+
value?: unknown;
|
|
6231
|
+
}>>>;
|
|
6232
|
+
}, "strict", z.ZodTypeAny, {
|
|
6233
|
+
requirement: "required" | "preferred";
|
|
6234
|
+
capabilityId: string;
|
|
6235
|
+
versionRange: string;
|
|
6236
|
+
configuration?: Record<string, {
|
|
6237
|
+
requirement: "required" | "preferred";
|
|
6238
|
+
value?: unknown;
|
|
6239
|
+
}> | undefined;
|
|
6240
|
+
alternativeGroup?: string | null | undefined;
|
|
6241
|
+
requiredFeatures?: string[] | undefined;
|
|
6242
|
+
}, {
|
|
6243
|
+
requirement: "required" | "preferred";
|
|
6244
|
+
capabilityId: string;
|
|
6245
|
+
versionRange: string;
|
|
6246
|
+
configuration?: Record<string, {
|
|
6247
|
+
requirement: "required" | "preferred";
|
|
6248
|
+
value?: unknown;
|
|
6249
|
+
}> | undefined;
|
|
6250
|
+
alternativeGroup?: string | null | undefined;
|
|
6251
|
+
requiredFeatures?: string[] | undefined;
|
|
6252
|
+
}>, "many">>;
|
|
6268
6253
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
6269
6254
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6270
6255
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -6320,18 +6305,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6320
6305
|
deniedCommands?: string[] | undefined;
|
|
6321
6306
|
}>>;
|
|
6322
6307
|
}, "strict", z.ZodTypeAny, {
|
|
6323
|
-
content?: Record<string, {
|
|
6324
|
-
operations: string[];
|
|
6325
|
-
filters?: Record<string, unknown> | undefined;
|
|
6326
|
-
}> | undefined;
|
|
6327
|
-
commit?: {
|
|
6328
|
-
allowed: boolean;
|
|
6329
|
-
} | undefined;
|
|
6330
6308
|
repository?: {
|
|
6331
6309
|
allowCodeMutation?: boolean | undefined;
|
|
6332
6310
|
readPaths?: string[] | undefined;
|
|
6333
6311
|
writePaths?: string[] | undefined;
|
|
6334
6312
|
} | undefined;
|
|
6313
|
+
commit?: {
|
|
6314
|
+
allowed: boolean;
|
|
6315
|
+
} | undefined;
|
|
6316
|
+
content?: Record<string, {
|
|
6317
|
+
operations: string[];
|
|
6318
|
+
filters?: Record<string, unknown> | undefined;
|
|
6319
|
+
}> | undefined;
|
|
6335
6320
|
network?: {
|
|
6336
6321
|
allowWeb?: boolean | undefined;
|
|
6337
6322
|
allowedDomains?: string[] | undefined;
|
|
@@ -6342,18 +6327,18 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6342
6327
|
deniedCommands?: string[] | undefined;
|
|
6343
6328
|
} | undefined;
|
|
6344
6329
|
}, {
|
|
6345
|
-
content?: Record<string, {
|
|
6346
|
-
operations: string[];
|
|
6347
|
-
filters?: Record<string, unknown> | undefined;
|
|
6348
|
-
}> | undefined;
|
|
6349
|
-
commit?: {
|
|
6350
|
-
allowed: boolean;
|
|
6351
|
-
} | undefined;
|
|
6352
6330
|
repository?: {
|
|
6353
6331
|
allowCodeMutation?: boolean | undefined;
|
|
6354
6332
|
readPaths?: string[] | undefined;
|
|
6355
6333
|
writePaths?: string[] | undefined;
|
|
6356
6334
|
} | undefined;
|
|
6335
|
+
commit?: {
|
|
6336
|
+
allowed: boolean;
|
|
6337
|
+
} | undefined;
|
|
6338
|
+
content?: Record<string, {
|
|
6339
|
+
operations: string[];
|
|
6340
|
+
filters?: Record<string, unknown> | undefined;
|
|
6341
|
+
}> | undefined;
|
|
6357
6342
|
network?: {
|
|
6358
6343
|
allowWeb?: boolean | undefined;
|
|
6359
6344
|
allowedDomains?: string[] | undefined;
|
|
@@ -6396,52 +6381,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6396
6381
|
requiredArtifactKinds?: string[] | undefined;
|
|
6397
6382
|
blockOnOpenQuestions?: boolean | undefined;
|
|
6398
6383
|
}>>;
|
|
6399
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
6400
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
6401
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
6402
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
6403
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
6404
|
-
id: z.ZodString;
|
|
6405
|
-
revision: z.ZodNumber;
|
|
6406
|
-
}, "strict", z.ZodTypeAny, {
|
|
6407
|
-
id: string;
|
|
6408
|
-
revision: number;
|
|
6409
|
-
}, {
|
|
6410
|
-
id: string;
|
|
6411
|
-
revision: number;
|
|
6412
|
-
}>, "many">, {
|
|
6413
|
-
id: string;
|
|
6414
|
-
revision: number;
|
|
6415
|
-
}[], {
|
|
6416
|
-
id: string;
|
|
6417
|
-
revision: number;
|
|
6418
|
-
}[]>>;
|
|
6419
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
6420
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
6421
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
6422
|
-
}, "strict", z.ZodTypeAny, {
|
|
6423
|
-
instructionTemplateRefs?: {
|
|
6424
|
-
id: string;
|
|
6425
|
-
revision: number;
|
|
6426
|
-
}[] | undefined;
|
|
6427
|
-
requiredCapabilities?: string[] | undefined;
|
|
6428
|
-
maxRuntimeSeconds?: number | undefined;
|
|
6429
|
-
maxTotalTokens?: number | undefined;
|
|
6430
|
-
maxCostAmount?: number | undefined;
|
|
6431
|
-
disallowedProviderIds?: string[] | undefined;
|
|
6432
|
-
promptRef?: string | undefined;
|
|
6433
|
-
}, {
|
|
6434
|
-
instructionTemplateRefs?: {
|
|
6435
|
-
id: string;
|
|
6436
|
-
revision: number;
|
|
6437
|
-
}[] | undefined;
|
|
6438
|
-
requiredCapabilities?: string[] | undefined;
|
|
6439
|
-
maxRuntimeSeconds?: number | undefined;
|
|
6440
|
-
maxTotalTokens?: number | undefined;
|
|
6441
|
-
maxCostAmount?: number | undefined;
|
|
6442
|
-
disallowedProviderIds?: string[] | undefined;
|
|
6443
|
-
promptRef?: string | undefined;
|
|
6444
|
-
}>>;
|
|
6445
6384
|
tools: z.ZodObject<{
|
|
6446
6385
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
6447
6386
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -6674,7 +6613,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6674
6613
|
publishes?: string[] | undefined;
|
|
6675
6614
|
}>>;
|
|
6676
6615
|
}, "strict", z.ZodTypeAny, {
|
|
6677
|
-
stage: "
|
|
6616
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
6678
6617
|
signals?: {
|
|
6679
6618
|
subscribesTo?: {
|
|
6680
6619
|
contract: string;
|
|
@@ -6695,7 +6634,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6695
6634
|
} | undefined;
|
|
6696
6635
|
promptTask?: string | undefined;
|
|
6697
6636
|
}, {
|
|
6698
|
-
stage: "
|
|
6637
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
6699
6638
|
signals?: {
|
|
6700
6639
|
subscribesTo?: {
|
|
6701
6640
|
contract: string;
|
|
@@ -6718,7 +6657,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6718
6657
|
}>, "many">>;
|
|
6719
6658
|
requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
6720
6659
|
}, "strict", z.ZodTypeAny, {
|
|
6721
|
-
stage?: "
|
|
6660
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
6722
6661
|
objective?: string | undefined;
|
|
6723
6662
|
proposalTypes?: string[] | undefined;
|
|
6724
6663
|
artifactKind?: string | undefined;
|
|
@@ -6726,7 +6665,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6726
6665
|
subjectId?: string | null | undefined;
|
|
6727
6666
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
6728
6667
|
stages?: {
|
|
6729
|
-
stage: "
|
|
6668
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
6730
6669
|
signals?: {
|
|
6731
6670
|
subscribesTo?: {
|
|
6732
6671
|
contract: string;
|
|
@@ -6749,7 +6688,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6749
6688
|
}[] | undefined;
|
|
6750
6689
|
requiresArtifactKinds?: string[] | undefined;
|
|
6751
6690
|
}, {
|
|
6752
|
-
stage?: "
|
|
6691
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
6753
6692
|
objective?: string | undefined;
|
|
6754
6693
|
proposalTypes?: string[] | undefined;
|
|
6755
6694
|
artifactKind?: string | undefined;
|
|
@@ -6757,7 +6696,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6757
6696
|
subjectId?: string | null | undefined;
|
|
6758
6697
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
6759
6698
|
stages?: {
|
|
6760
|
-
stage: "
|
|
6699
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
6761
6700
|
signals?: {
|
|
6762
6701
|
subscribesTo?: {
|
|
6763
6702
|
contract: string;
|
|
@@ -6846,7 +6785,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6846
6785
|
blockExecutionWhenCreated?: boolean | undefined;
|
|
6847
6786
|
}>>;
|
|
6848
6787
|
execution: z.ZodOptional<z.ZodObject<{
|
|
6849
|
-
|
|
6788
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["minimal", "low", "medium", "high", "xhigh"]>>;
|
|
6850
6789
|
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
6851
6790
|
closeoutWarningSeconds: z.ZodOptional<z.ZodNumber>;
|
|
6852
6791
|
preparationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6879,7 +6818,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6879
6818
|
closeoutSeconds?: number | undefined;
|
|
6880
6819
|
closeoutWarningSeconds?: number | undefined;
|
|
6881
6820
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
6882
|
-
|
|
6821
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
6883
6822
|
maxRuntimeSeconds?: number | undefined;
|
|
6884
6823
|
maxRetries?: number | undefined;
|
|
6885
6824
|
verificationRequired?: boolean | undefined;
|
|
@@ -6900,7 +6839,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6900
6839
|
closeoutSeconds?: number | undefined;
|
|
6901
6840
|
closeoutWarningSeconds?: number | undefined;
|
|
6902
6841
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
6903
|
-
|
|
6842
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
6904
6843
|
maxRuntimeSeconds?: number | undefined;
|
|
6905
6844
|
maxRetries?: number | undefined;
|
|
6906
6845
|
verificationRequired?: boolean | undefined;
|
|
@@ -6919,36 +6858,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6919
6858
|
}>>;
|
|
6920
6859
|
}, "strict", z.ZodTypeAny, {
|
|
6921
6860
|
enabled: boolean;
|
|
6861
|
+
outputs: {
|
|
6862
|
+
messageTypes: string[];
|
|
6863
|
+
modelMutations: string[];
|
|
6864
|
+
};
|
|
6922
6865
|
prompt: {
|
|
6923
6866
|
system: string;
|
|
6924
|
-
task?: string | undefined;
|
|
6925
6867
|
templates?: Record<string, string> | undefined;
|
|
6868
|
+
task?: string | undefined;
|
|
6926
6869
|
};
|
|
6927
6870
|
branchPolicy: {
|
|
6928
6871
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
6929
6872
|
base: "main" | "staging";
|
|
6930
|
-
prefix?: string | undefined;
|
|
6931
6873
|
target?: "main" | "staging" | undefined;
|
|
6932
|
-
branchNameTemplate?: string | undefined;
|
|
6933
6874
|
worktree?: string | undefined;
|
|
6875
|
+
prefix?: string | undefined;
|
|
6876
|
+
branchNameTemplate?: string | undefined;
|
|
6934
6877
|
updateBaseBeforeRun?: boolean | undefined;
|
|
6935
6878
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
6936
6879
|
};
|
|
6937
|
-
handler: "
|
|
6880
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
6938
6881
|
tools: {
|
|
6939
6882
|
allowed: string[];
|
|
6940
6883
|
denied?: string[] | undefined;
|
|
6941
6884
|
};
|
|
6942
|
-
outputs: {
|
|
6943
|
-
messageTypes: string[];
|
|
6944
|
-
modelMutations: string[];
|
|
6945
|
-
};
|
|
6946
6885
|
execution?: {
|
|
6947
6886
|
preparationSeconds?: number | undefined;
|
|
6948
6887
|
closeoutSeconds?: number | undefined;
|
|
6949
6888
|
closeoutWarningSeconds?: number | undefined;
|
|
6950
6889
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
6951
|
-
|
|
6890
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
6952
6891
|
maxRuntimeSeconds?: number | undefined;
|
|
6953
6892
|
maxRetries?: number | undefined;
|
|
6954
6893
|
verificationRequired?: boolean | undefined;
|
|
@@ -6978,19 +6917,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6978
6917
|
id: string;
|
|
6979
6918
|
revision: number;
|
|
6980
6919
|
}[] | undefined;
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6920
|
+
capabilityRequirements?: {
|
|
6921
|
+
requirement: "required" | "preferred";
|
|
6922
|
+
capabilityId: string;
|
|
6923
|
+
versionRange: string;
|
|
6924
|
+
configuration?: Record<string, {
|
|
6925
|
+
requirement: "required" | "preferred";
|
|
6926
|
+
value?: unknown;
|
|
6985
6927
|
}> | undefined;
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6928
|
+
alternativeGroup?: string | null | undefined;
|
|
6929
|
+
requiredFeatures?: string[] | undefined;
|
|
6930
|
+
}[] | undefined;
|
|
6931
|
+
permissions?: {
|
|
6989
6932
|
repository?: {
|
|
6990
6933
|
allowCodeMutation?: boolean | undefined;
|
|
6991
6934
|
readPaths?: string[] | undefined;
|
|
6992
6935
|
writePaths?: string[] | undefined;
|
|
6993
6936
|
} | undefined;
|
|
6937
|
+
commit?: {
|
|
6938
|
+
allowed: boolean;
|
|
6939
|
+
} | undefined;
|
|
6940
|
+
content?: Record<string, {
|
|
6941
|
+
operations: string[];
|
|
6942
|
+
filters?: Record<string, unknown> | undefined;
|
|
6943
|
+
}> | undefined;
|
|
6994
6944
|
network?: {
|
|
6995
6945
|
allowWeb?: boolean | undefined;
|
|
6996
6946
|
allowedDomains?: string[] | undefined;
|
|
@@ -7013,18 +6963,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7013
6963
|
requiredArtifactKinds?: string[] | undefined;
|
|
7014
6964
|
blockOnOpenQuestions?: boolean | undefined;
|
|
7015
6965
|
} | undefined;
|
|
7016
|
-
providerOverrides?: {
|
|
7017
|
-
instructionTemplateRefs?: {
|
|
7018
|
-
id: string;
|
|
7019
|
-
revision: number;
|
|
7020
|
-
}[] | undefined;
|
|
7021
|
-
requiredCapabilities?: string[] | undefined;
|
|
7022
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7023
|
-
maxTotalTokens?: number | undefined;
|
|
7024
|
-
maxCostAmount?: number | undefined;
|
|
7025
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7026
|
-
promptRef?: string | undefined;
|
|
7027
|
-
} | undefined;
|
|
7028
6966
|
signals?: {
|
|
7029
6967
|
subscribesTo?: {
|
|
7030
6968
|
contract: string;
|
|
@@ -7044,7 +6982,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7044
6982
|
publishes?: string[] | undefined;
|
|
7045
6983
|
} | undefined;
|
|
7046
6984
|
planningIntent?: {
|
|
7047
|
-
stage?: "
|
|
6985
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
7048
6986
|
objective?: string | undefined;
|
|
7049
6987
|
proposalTypes?: string[] | undefined;
|
|
7050
6988
|
artifactKind?: string | undefined;
|
|
@@ -7052,7 +6990,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7052
6990
|
subjectId?: string | null | undefined;
|
|
7053
6991
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
7054
6992
|
stages?: {
|
|
7055
|
-
stage: "
|
|
6993
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
7056
6994
|
signals?: {
|
|
7057
6995
|
subscribesTo?: {
|
|
7058
6996
|
contract: string;
|
|
@@ -7092,36 +7030,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7092
7030
|
} | undefined;
|
|
7093
7031
|
}, {
|
|
7094
7032
|
enabled: boolean;
|
|
7033
|
+
outputs: {
|
|
7034
|
+
messageTypes: string[];
|
|
7035
|
+
modelMutations: string[];
|
|
7036
|
+
};
|
|
7095
7037
|
prompt: {
|
|
7096
7038
|
system: string;
|
|
7097
|
-
task?: string | undefined;
|
|
7098
7039
|
templates?: Record<string, string> | undefined;
|
|
7040
|
+
task?: string | undefined;
|
|
7099
7041
|
};
|
|
7100
7042
|
branchPolicy: {
|
|
7101
7043
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
7102
7044
|
base: "main" | "staging";
|
|
7103
|
-
prefix?: string | undefined;
|
|
7104
7045
|
target?: "main" | "staging" | undefined;
|
|
7105
|
-
branchNameTemplate?: string | undefined;
|
|
7106
7046
|
worktree?: string | undefined;
|
|
7047
|
+
prefix?: string | undefined;
|
|
7048
|
+
branchNameTemplate?: string | undefined;
|
|
7107
7049
|
updateBaseBeforeRun?: boolean | undefined;
|
|
7108
7050
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
7109
7051
|
};
|
|
7110
|
-
handler: "
|
|
7052
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
7111
7053
|
tools: {
|
|
7112
7054
|
allowed: string[];
|
|
7113
7055
|
denied?: string[] | undefined;
|
|
7114
7056
|
};
|
|
7115
|
-
outputs: {
|
|
7116
|
-
messageTypes: string[];
|
|
7117
|
-
modelMutations: string[];
|
|
7118
|
-
};
|
|
7119
7057
|
execution?: {
|
|
7120
7058
|
preparationSeconds?: number | undefined;
|
|
7121
7059
|
closeoutSeconds?: number | undefined;
|
|
7122
7060
|
closeoutWarningSeconds?: number | undefined;
|
|
7123
7061
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
7124
|
-
|
|
7062
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
7125
7063
|
maxRuntimeSeconds?: number | undefined;
|
|
7126
7064
|
maxRetries?: number | undefined;
|
|
7127
7065
|
verificationRequired?: boolean | undefined;
|
|
@@ -7151,19 +7089,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7151
7089
|
id: string;
|
|
7152
7090
|
revision: number;
|
|
7153
7091
|
}[] | undefined;
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7092
|
+
capabilityRequirements?: {
|
|
7093
|
+
requirement: "required" | "preferred";
|
|
7094
|
+
capabilityId: string;
|
|
7095
|
+
versionRange: string;
|
|
7096
|
+
configuration?: Record<string, {
|
|
7097
|
+
requirement: "required" | "preferred";
|
|
7098
|
+
value?: unknown;
|
|
7158
7099
|
}> | undefined;
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7100
|
+
alternativeGroup?: string | null | undefined;
|
|
7101
|
+
requiredFeatures?: string[] | undefined;
|
|
7102
|
+
}[] | undefined;
|
|
7103
|
+
permissions?: {
|
|
7162
7104
|
repository?: {
|
|
7163
7105
|
allowCodeMutation?: boolean | undefined;
|
|
7164
7106
|
readPaths?: string[] | undefined;
|
|
7165
7107
|
writePaths?: string[] | undefined;
|
|
7166
7108
|
} | undefined;
|
|
7109
|
+
commit?: {
|
|
7110
|
+
allowed: boolean;
|
|
7111
|
+
} | undefined;
|
|
7112
|
+
content?: Record<string, {
|
|
7113
|
+
operations: string[];
|
|
7114
|
+
filters?: Record<string, unknown> | undefined;
|
|
7115
|
+
}> | undefined;
|
|
7167
7116
|
network?: {
|
|
7168
7117
|
allowWeb?: boolean | undefined;
|
|
7169
7118
|
allowedDomains?: string[] | undefined;
|
|
@@ -7186,18 +7135,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7186
7135
|
requiredArtifactKinds?: string[] | undefined;
|
|
7187
7136
|
blockOnOpenQuestions?: boolean | undefined;
|
|
7188
7137
|
} | undefined;
|
|
7189
|
-
providerOverrides?: {
|
|
7190
|
-
instructionTemplateRefs?: {
|
|
7191
|
-
id: string;
|
|
7192
|
-
revision: number;
|
|
7193
|
-
}[] | undefined;
|
|
7194
|
-
requiredCapabilities?: string[] | undefined;
|
|
7195
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7196
|
-
maxTotalTokens?: number | undefined;
|
|
7197
|
-
maxCostAmount?: number | undefined;
|
|
7198
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7199
|
-
promptRef?: string | undefined;
|
|
7200
|
-
} | undefined;
|
|
7201
7138
|
signals?: {
|
|
7202
7139
|
subscribesTo?: {
|
|
7203
7140
|
contract: string;
|
|
@@ -7217,7 +7154,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7217
7154
|
publishes?: string[] | undefined;
|
|
7218
7155
|
} | undefined;
|
|
7219
7156
|
planningIntent?: {
|
|
7220
|
-
stage?: "
|
|
7157
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
7221
7158
|
objective?: string | undefined;
|
|
7222
7159
|
proposalTypes?: string[] | undefined;
|
|
7223
7160
|
artifactKind?: string | undefined;
|
|
@@ -7225,7 +7162,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7225
7162
|
subjectId?: string | null | undefined;
|
|
7226
7163
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
7227
7164
|
stages?: {
|
|
7228
|
-
stage: "
|
|
7165
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
7229
7166
|
signals?: {
|
|
7230
7167
|
subscribesTo?: {
|
|
7231
7168
|
contract: string;
|
|
@@ -7265,36 +7202,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7265
7202
|
} | undefined;
|
|
7266
7203
|
}>, {
|
|
7267
7204
|
enabled: boolean;
|
|
7205
|
+
outputs: {
|
|
7206
|
+
messageTypes: string[];
|
|
7207
|
+
modelMutations: string[];
|
|
7208
|
+
};
|
|
7268
7209
|
prompt: {
|
|
7269
7210
|
system: string;
|
|
7270
|
-
task?: string | undefined;
|
|
7271
7211
|
templates?: Record<string, string> | undefined;
|
|
7212
|
+
task?: string | undefined;
|
|
7272
7213
|
};
|
|
7273
7214
|
branchPolicy: {
|
|
7274
7215
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
7275
7216
|
base: "main" | "staging";
|
|
7276
|
-
prefix?: string | undefined;
|
|
7277
7217
|
target?: "main" | "staging" | undefined;
|
|
7278
|
-
branchNameTemplate?: string | undefined;
|
|
7279
7218
|
worktree?: string | undefined;
|
|
7219
|
+
prefix?: string | undefined;
|
|
7220
|
+
branchNameTemplate?: string | undefined;
|
|
7280
7221
|
updateBaseBeforeRun?: boolean | undefined;
|
|
7281
7222
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
7282
7223
|
};
|
|
7283
|
-
handler: "
|
|
7224
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
7284
7225
|
tools: {
|
|
7285
7226
|
allowed: string[];
|
|
7286
7227
|
denied?: string[] | undefined;
|
|
7287
7228
|
};
|
|
7288
|
-
outputs: {
|
|
7289
|
-
messageTypes: string[];
|
|
7290
|
-
modelMutations: string[];
|
|
7291
|
-
};
|
|
7292
7229
|
execution?: {
|
|
7293
7230
|
preparationSeconds?: number | undefined;
|
|
7294
7231
|
closeoutSeconds?: number | undefined;
|
|
7295
7232
|
closeoutWarningSeconds?: number | undefined;
|
|
7296
7233
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
7297
|
-
|
|
7234
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
7298
7235
|
maxRuntimeSeconds?: number | undefined;
|
|
7299
7236
|
maxRetries?: number | undefined;
|
|
7300
7237
|
verificationRequired?: boolean | undefined;
|
|
@@ -7324,19 +7261,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7324
7261
|
id: string;
|
|
7325
7262
|
revision: number;
|
|
7326
7263
|
}[] | undefined;
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7264
|
+
capabilityRequirements?: {
|
|
7265
|
+
requirement: "required" | "preferred";
|
|
7266
|
+
capabilityId: string;
|
|
7267
|
+
versionRange: string;
|
|
7268
|
+
configuration?: Record<string, {
|
|
7269
|
+
requirement: "required" | "preferred";
|
|
7270
|
+
value?: unknown;
|
|
7331
7271
|
}> | undefined;
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7272
|
+
alternativeGroup?: string | null | undefined;
|
|
7273
|
+
requiredFeatures?: string[] | undefined;
|
|
7274
|
+
}[] | undefined;
|
|
7275
|
+
permissions?: {
|
|
7335
7276
|
repository?: {
|
|
7336
7277
|
allowCodeMutation?: boolean | undefined;
|
|
7337
7278
|
readPaths?: string[] | undefined;
|
|
7338
7279
|
writePaths?: string[] | undefined;
|
|
7339
7280
|
} | undefined;
|
|
7281
|
+
commit?: {
|
|
7282
|
+
allowed: boolean;
|
|
7283
|
+
} | undefined;
|
|
7284
|
+
content?: Record<string, {
|
|
7285
|
+
operations: string[];
|
|
7286
|
+
filters?: Record<string, unknown> | undefined;
|
|
7287
|
+
}> | undefined;
|
|
7340
7288
|
network?: {
|
|
7341
7289
|
allowWeb?: boolean | undefined;
|
|
7342
7290
|
allowedDomains?: string[] | undefined;
|
|
@@ -7359,18 +7307,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7359
7307
|
requiredArtifactKinds?: string[] | undefined;
|
|
7360
7308
|
blockOnOpenQuestions?: boolean | undefined;
|
|
7361
7309
|
} | undefined;
|
|
7362
|
-
providerOverrides?: {
|
|
7363
|
-
instructionTemplateRefs?: {
|
|
7364
|
-
id: string;
|
|
7365
|
-
revision: number;
|
|
7366
|
-
}[] | undefined;
|
|
7367
|
-
requiredCapabilities?: string[] | undefined;
|
|
7368
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7369
|
-
maxTotalTokens?: number | undefined;
|
|
7370
|
-
maxCostAmount?: number | undefined;
|
|
7371
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7372
|
-
promptRef?: string | undefined;
|
|
7373
|
-
} | undefined;
|
|
7374
7310
|
signals?: {
|
|
7375
7311
|
subscribesTo?: {
|
|
7376
7312
|
contract: string;
|
|
@@ -7390,7 +7326,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7390
7326
|
publishes?: string[] | undefined;
|
|
7391
7327
|
} | undefined;
|
|
7392
7328
|
planningIntent?: {
|
|
7393
|
-
stage?: "
|
|
7329
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
7394
7330
|
objective?: string | undefined;
|
|
7395
7331
|
proposalTypes?: string[] | undefined;
|
|
7396
7332
|
artifactKind?: string | undefined;
|
|
@@ -7398,7 +7334,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7398
7334
|
subjectId?: string | null | undefined;
|
|
7399
7335
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
7400
7336
|
stages?: {
|
|
7401
|
-
stage: "
|
|
7337
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
7402
7338
|
signals?: {
|
|
7403
7339
|
subscribesTo?: {
|
|
7404
7340
|
contract: string;
|
|
@@ -7438,36 +7374,36 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7438
7374
|
} | undefined;
|
|
7439
7375
|
}, {
|
|
7440
7376
|
enabled: boolean;
|
|
7377
|
+
outputs: {
|
|
7378
|
+
messageTypes: string[];
|
|
7379
|
+
modelMutations: string[];
|
|
7380
|
+
};
|
|
7441
7381
|
prompt: {
|
|
7442
7382
|
system: string;
|
|
7443
|
-
task?: string | undefined;
|
|
7444
7383
|
templates?: Record<string, string> | undefined;
|
|
7384
|
+
task?: string | undefined;
|
|
7445
7385
|
};
|
|
7446
7386
|
branchPolicy: {
|
|
7447
7387
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
7448
7388
|
base: "main" | "staging";
|
|
7449
|
-
prefix?: string | undefined;
|
|
7450
7389
|
target?: "main" | "staging" | undefined;
|
|
7451
|
-
branchNameTemplate?: string | undefined;
|
|
7452
7390
|
worktree?: string | undefined;
|
|
7391
|
+
prefix?: string | undefined;
|
|
7392
|
+
branchNameTemplate?: string | undefined;
|
|
7453
7393
|
updateBaseBeforeRun?: boolean | undefined;
|
|
7454
7394
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
7455
7395
|
};
|
|
7456
|
-
handler: "
|
|
7396
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
7457
7397
|
tools: {
|
|
7458
7398
|
allowed: string[];
|
|
7459
7399
|
denied?: string[] | undefined;
|
|
7460
7400
|
};
|
|
7461
|
-
outputs: {
|
|
7462
|
-
messageTypes: string[];
|
|
7463
|
-
modelMutations: string[];
|
|
7464
|
-
};
|
|
7465
7401
|
execution?: {
|
|
7466
7402
|
preparationSeconds?: number | undefined;
|
|
7467
7403
|
closeoutSeconds?: number | undefined;
|
|
7468
7404
|
closeoutWarningSeconds?: number | undefined;
|
|
7469
7405
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
7470
|
-
|
|
7406
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
7471
7407
|
maxRuntimeSeconds?: number | undefined;
|
|
7472
7408
|
maxRetries?: number | undefined;
|
|
7473
7409
|
verificationRequired?: boolean | undefined;
|
|
@@ -7497,19 +7433,30 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7497
7433
|
id: string;
|
|
7498
7434
|
revision: number;
|
|
7499
7435
|
}[] | undefined;
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7436
|
+
capabilityRequirements?: {
|
|
7437
|
+
requirement: "required" | "preferred";
|
|
7438
|
+
capabilityId: string;
|
|
7439
|
+
versionRange: string;
|
|
7440
|
+
configuration?: Record<string, {
|
|
7441
|
+
requirement: "required" | "preferred";
|
|
7442
|
+
value?: unknown;
|
|
7504
7443
|
}> | undefined;
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7444
|
+
alternativeGroup?: string | null | undefined;
|
|
7445
|
+
requiredFeatures?: string[] | undefined;
|
|
7446
|
+
}[] | undefined;
|
|
7447
|
+
permissions?: {
|
|
7508
7448
|
repository?: {
|
|
7509
7449
|
allowCodeMutation?: boolean | undefined;
|
|
7510
7450
|
readPaths?: string[] | undefined;
|
|
7511
7451
|
writePaths?: string[] | undefined;
|
|
7512
7452
|
} | undefined;
|
|
7453
|
+
commit?: {
|
|
7454
|
+
allowed: boolean;
|
|
7455
|
+
} | undefined;
|
|
7456
|
+
content?: Record<string, {
|
|
7457
|
+
operations: string[];
|
|
7458
|
+
filters?: Record<string, unknown> | undefined;
|
|
7459
|
+
}> | undefined;
|
|
7513
7460
|
network?: {
|
|
7514
7461
|
allowWeb?: boolean | undefined;
|
|
7515
7462
|
allowedDomains?: string[] | undefined;
|
|
@@ -7532,18 +7479,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7532
7479
|
requiredArtifactKinds?: string[] | undefined;
|
|
7533
7480
|
blockOnOpenQuestions?: boolean | undefined;
|
|
7534
7481
|
} | undefined;
|
|
7535
|
-
providerOverrides?: {
|
|
7536
|
-
instructionTemplateRefs?: {
|
|
7537
|
-
id: string;
|
|
7538
|
-
revision: number;
|
|
7539
|
-
}[] | undefined;
|
|
7540
|
-
requiredCapabilities?: string[] | undefined;
|
|
7541
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7542
|
-
maxTotalTokens?: number | undefined;
|
|
7543
|
-
maxCostAmount?: number | undefined;
|
|
7544
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7545
|
-
promptRef?: string | undefined;
|
|
7546
|
-
} | undefined;
|
|
7547
7482
|
signals?: {
|
|
7548
7483
|
subscribesTo?: {
|
|
7549
7484
|
contract: string;
|
|
@@ -7563,7 +7498,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7563
7498
|
publishes?: string[] | undefined;
|
|
7564
7499
|
} | undefined;
|
|
7565
7500
|
planningIntent?: {
|
|
7566
|
-
stage?: "
|
|
7501
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
7567
7502
|
objective?: string | undefined;
|
|
7568
7503
|
proposalTypes?: string[] | undefined;
|
|
7569
7504
|
artifactKind?: string | undefined;
|
|
@@ -7571,7 +7506,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7571
7506
|
subjectId?: string | null | undefined;
|
|
7572
7507
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
7573
7508
|
stages?: {
|
|
7574
|
-
stage: "
|
|
7509
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
7575
7510
|
signals?: {
|
|
7576
7511
|
subscribesTo?: {
|
|
7577
7512
|
contract: string;
|
|
@@ -7708,12 +7643,12 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
7708
7643
|
templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7709
7644
|
}, "strict", z.ZodTypeAny, {
|
|
7710
7645
|
system: string;
|
|
7711
|
-
task?: string | undefined;
|
|
7712
7646
|
templates?: Record<string, string> | undefined;
|
|
7647
|
+
task?: string | undefined;
|
|
7713
7648
|
}, {
|
|
7714
7649
|
system: string;
|
|
7715
|
-
task?: string | undefined;
|
|
7716
7650
|
templates?: Record<string, string> | undefined;
|
|
7651
|
+
task?: string | undefined;
|
|
7717
7652
|
}>;
|
|
7718
7653
|
branchPolicy: z.ZodObject<{
|
|
7719
7654
|
kind: z.ZodEnum<["read-only", "main-planning-content", "staging-content", "assignment-feature", "staging-release"]>;
|
|
@@ -7727,19 +7662,19 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
7727
7662
|
}, "strict", z.ZodTypeAny, {
|
|
7728
7663
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
7729
7664
|
base: "main" | "staging";
|
|
7730
|
-
prefix?: string | undefined;
|
|
7731
7665
|
target?: "main" | "staging" | undefined;
|
|
7732
|
-
branchNameTemplate?: string | undefined;
|
|
7733
7666
|
worktree?: string | undefined;
|
|
7667
|
+
prefix?: string | undefined;
|
|
7668
|
+
branchNameTemplate?: string | undefined;
|
|
7734
7669
|
updateBaseBeforeRun?: boolean | undefined;
|
|
7735
7670
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
7736
7671
|
}, {
|
|
7737
7672
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
7738
7673
|
base: "main" | "staging";
|
|
7739
|
-
prefix?: string | undefined;
|
|
7740
7674
|
target?: "main" | "staging" | undefined;
|
|
7741
|
-
branchNameTemplate?: string | undefined;
|
|
7742
7675
|
worktree?: string | undefined;
|
|
7676
|
+
prefix?: string | undefined;
|
|
7677
|
+
branchNameTemplate?: string | undefined;
|
|
7743
7678
|
updateBaseBeforeRun?: boolean | undefined;
|
|
7744
7679
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
7745
7680
|
}>;
|
|
@@ -7791,6 +7726,43 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
7791
7726
|
id: string;
|
|
7792
7727
|
revision: number;
|
|
7793
7728
|
}[]>>;
|
|
7729
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7730
|
+
capabilityId: z.ZodString;
|
|
7731
|
+
versionRange: z.ZodString;
|
|
7732
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
7733
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7734
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
7735
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7736
|
+
value: z.ZodUnknown;
|
|
7737
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
7738
|
+
}, "strict", z.ZodTypeAny, {
|
|
7739
|
+
requirement: "required" | "preferred";
|
|
7740
|
+
value?: unknown;
|
|
7741
|
+
}, {
|
|
7742
|
+
requirement: "required" | "preferred";
|
|
7743
|
+
value?: unknown;
|
|
7744
|
+
}>>>;
|
|
7745
|
+
}, "strict", z.ZodTypeAny, {
|
|
7746
|
+
requirement: "required" | "preferred";
|
|
7747
|
+
capabilityId: string;
|
|
7748
|
+
versionRange: string;
|
|
7749
|
+
configuration?: Record<string, {
|
|
7750
|
+
requirement: "required" | "preferred";
|
|
7751
|
+
value?: unknown;
|
|
7752
|
+
}> | undefined;
|
|
7753
|
+
alternativeGroup?: string | null | undefined;
|
|
7754
|
+
requiredFeatures?: string[] | undefined;
|
|
7755
|
+
}, {
|
|
7756
|
+
requirement: "required" | "preferred";
|
|
7757
|
+
capabilityId: string;
|
|
7758
|
+
versionRange: string;
|
|
7759
|
+
configuration?: Record<string, {
|
|
7760
|
+
requirement: "required" | "preferred";
|
|
7761
|
+
value?: unknown;
|
|
7762
|
+
}> | undefined;
|
|
7763
|
+
alternativeGroup?: string | null | undefined;
|
|
7764
|
+
requiredFeatures?: string[] | undefined;
|
|
7765
|
+
}>, "many">>;
|
|
7794
7766
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
7795
7767
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7796
7768
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -7846,18 +7818,18 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
7846
7818
|
deniedCommands?: string[] | undefined;
|
|
7847
7819
|
}>>;
|
|
7848
7820
|
}, "strict", z.ZodTypeAny, {
|
|
7849
|
-
content?: Record<string, {
|
|
7850
|
-
operations: string[];
|
|
7851
|
-
filters?: Record<string, unknown> | undefined;
|
|
7852
|
-
}> | undefined;
|
|
7853
|
-
commit?: {
|
|
7854
|
-
allowed: boolean;
|
|
7855
|
-
} | undefined;
|
|
7856
7821
|
repository?: {
|
|
7857
7822
|
allowCodeMutation?: boolean | undefined;
|
|
7858
7823
|
readPaths?: string[] | undefined;
|
|
7859
7824
|
writePaths?: string[] | undefined;
|
|
7860
7825
|
} | undefined;
|
|
7826
|
+
commit?: {
|
|
7827
|
+
allowed: boolean;
|
|
7828
|
+
} | undefined;
|
|
7829
|
+
content?: Record<string, {
|
|
7830
|
+
operations: string[];
|
|
7831
|
+
filters?: Record<string, unknown> | undefined;
|
|
7832
|
+
}> | undefined;
|
|
7861
7833
|
network?: {
|
|
7862
7834
|
allowWeb?: boolean | undefined;
|
|
7863
7835
|
allowedDomains?: string[] | undefined;
|
|
@@ -7868,18 +7840,18 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
7868
7840
|
deniedCommands?: string[] | undefined;
|
|
7869
7841
|
} | undefined;
|
|
7870
7842
|
}, {
|
|
7871
|
-
content?: Record<string, {
|
|
7872
|
-
operations: string[];
|
|
7873
|
-
filters?: Record<string, unknown> | undefined;
|
|
7874
|
-
}> | undefined;
|
|
7875
|
-
commit?: {
|
|
7876
|
-
allowed: boolean;
|
|
7877
|
-
} | undefined;
|
|
7878
7843
|
repository?: {
|
|
7879
7844
|
allowCodeMutation?: boolean | undefined;
|
|
7880
7845
|
readPaths?: string[] | undefined;
|
|
7881
7846
|
writePaths?: string[] | undefined;
|
|
7882
7847
|
} | undefined;
|
|
7848
|
+
commit?: {
|
|
7849
|
+
allowed: boolean;
|
|
7850
|
+
} | undefined;
|
|
7851
|
+
content?: Record<string, {
|
|
7852
|
+
operations: string[];
|
|
7853
|
+
filters?: Record<string, unknown> | undefined;
|
|
7854
|
+
}> | undefined;
|
|
7883
7855
|
network?: {
|
|
7884
7856
|
allowWeb?: boolean | undefined;
|
|
7885
7857
|
allowedDomains?: string[] | undefined;
|
|
@@ -7922,52 +7894,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
7922
7894
|
requiredArtifactKinds?: string[] | undefined;
|
|
7923
7895
|
blockOnOpenQuestions?: boolean | undefined;
|
|
7924
7896
|
}>>;
|
|
7925
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
7926
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
7927
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
7928
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
7929
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
7930
|
-
id: z.ZodString;
|
|
7931
|
-
revision: z.ZodNumber;
|
|
7932
|
-
}, "strict", z.ZodTypeAny, {
|
|
7933
|
-
id: string;
|
|
7934
|
-
revision: number;
|
|
7935
|
-
}, {
|
|
7936
|
-
id: string;
|
|
7937
|
-
revision: number;
|
|
7938
|
-
}>, "many">, {
|
|
7939
|
-
id: string;
|
|
7940
|
-
revision: number;
|
|
7941
|
-
}[], {
|
|
7942
|
-
id: string;
|
|
7943
|
-
revision: number;
|
|
7944
|
-
}[]>>;
|
|
7945
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
7946
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
7947
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
7948
|
-
}, "strict", z.ZodTypeAny, {
|
|
7949
|
-
instructionTemplateRefs?: {
|
|
7950
|
-
id: string;
|
|
7951
|
-
revision: number;
|
|
7952
|
-
}[] | undefined;
|
|
7953
|
-
requiredCapabilities?: string[] | undefined;
|
|
7954
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7955
|
-
maxTotalTokens?: number | undefined;
|
|
7956
|
-
maxCostAmount?: number | undefined;
|
|
7957
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7958
|
-
promptRef?: string | undefined;
|
|
7959
|
-
}, {
|
|
7960
|
-
instructionTemplateRefs?: {
|
|
7961
|
-
id: string;
|
|
7962
|
-
revision: number;
|
|
7963
|
-
}[] | undefined;
|
|
7964
|
-
requiredCapabilities?: string[] | undefined;
|
|
7965
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7966
|
-
maxTotalTokens?: number | undefined;
|
|
7967
|
-
maxCostAmount?: number | undefined;
|
|
7968
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7969
|
-
promptRef?: string | undefined;
|
|
7970
|
-
}>>;
|
|
7971
7897
|
tools: z.ZodObject<{
|
|
7972
7898
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
7973
7899
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -8200,7 +8126,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8200
8126
|
publishes?: string[] | undefined;
|
|
8201
8127
|
}>>;
|
|
8202
8128
|
}, "strict", z.ZodTypeAny, {
|
|
8203
|
-
stage: "
|
|
8129
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
8204
8130
|
signals?: {
|
|
8205
8131
|
subscribesTo?: {
|
|
8206
8132
|
contract: string;
|
|
@@ -8221,7 +8147,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8221
8147
|
} | undefined;
|
|
8222
8148
|
promptTask?: string | undefined;
|
|
8223
8149
|
}, {
|
|
8224
|
-
stage: "
|
|
8150
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
8225
8151
|
signals?: {
|
|
8226
8152
|
subscribesTo?: {
|
|
8227
8153
|
contract: string;
|
|
@@ -8244,7 +8170,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8244
8170
|
}>, "many">>;
|
|
8245
8171
|
requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
8246
8172
|
}, "strict", z.ZodTypeAny, {
|
|
8247
|
-
stage?: "
|
|
8173
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
8248
8174
|
objective?: string | undefined;
|
|
8249
8175
|
proposalTypes?: string[] | undefined;
|
|
8250
8176
|
artifactKind?: string | undefined;
|
|
@@ -8252,7 +8178,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8252
8178
|
subjectId?: string | null | undefined;
|
|
8253
8179
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
8254
8180
|
stages?: {
|
|
8255
|
-
stage: "
|
|
8181
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
8256
8182
|
signals?: {
|
|
8257
8183
|
subscribesTo?: {
|
|
8258
8184
|
contract: string;
|
|
@@ -8275,7 +8201,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8275
8201
|
}[] | undefined;
|
|
8276
8202
|
requiresArtifactKinds?: string[] | undefined;
|
|
8277
8203
|
}, {
|
|
8278
|
-
stage?: "
|
|
8204
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
8279
8205
|
objective?: string | undefined;
|
|
8280
8206
|
proposalTypes?: string[] | undefined;
|
|
8281
8207
|
artifactKind?: string | undefined;
|
|
@@ -8283,7 +8209,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8283
8209
|
subjectId?: string | null | undefined;
|
|
8284
8210
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
8285
8211
|
stages?: {
|
|
8286
|
-
stage: "
|
|
8212
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
8287
8213
|
signals?: {
|
|
8288
8214
|
subscribesTo?: {
|
|
8289
8215
|
contract: string;
|
|
@@ -8372,7 +8298,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8372
8298
|
blockExecutionWhenCreated?: boolean | undefined;
|
|
8373
8299
|
}>>;
|
|
8374
8300
|
execution: z.ZodOptional<z.ZodObject<{
|
|
8375
|
-
|
|
8301
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["minimal", "low", "medium", "high", "xhigh"]>>;
|
|
8376
8302
|
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
8377
8303
|
closeoutWarningSeconds: z.ZodOptional<z.ZodNumber>;
|
|
8378
8304
|
preparationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8405,7 +8331,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8405
8331
|
closeoutSeconds?: number | undefined;
|
|
8406
8332
|
closeoutWarningSeconds?: number | undefined;
|
|
8407
8333
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8408
|
-
|
|
8334
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8409
8335
|
maxRuntimeSeconds?: number | undefined;
|
|
8410
8336
|
maxRetries?: number | undefined;
|
|
8411
8337
|
verificationRequired?: boolean | undefined;
|
|
@@ -8426,7 +8352,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8426
8352
|
closeoutSeconds?: number | undefined;
|
|
8427
8353
|
closeoutWarningSeconds?: number | undefined;
|
|
8428
8354
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8429
|
-
|
|
8355
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8430
8356
|
maxRuntimeSeconds?: number | undefined;
|
|
8431
8357
|
maxRetries?: number | undefined;
|
|
8432
8358
|
verificationRequired?: boolean | undefined;
|
|
@@ -8445,36 +8371,36 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8445
8371
|
}>>;
|
|
8446
8372
|
}, "strict", z.ZodTypeAny, {
|
|
8447
8373
|
enabled: boolean;
|
|
8374
|
+
outputs: {
|
|
8375
|
+
messageTypes: string[];
|
|
8376
|
+
modelMutations: string[];
|
|
8377
|
+
};
|
|
8448
8378
|
prompt: {
|
|
8449
8379
|
system: string;
|
|
8450
|
-
task?: string | undefined;
|
|
8451
8380
|
templates?: Record<string, string> | undefined;
|
|
8381
|
+
task?: string | undefined;
|
|
8452
8382
|
};
|
|
8453
8383
|
branchPolicy: {
|
|
8454
8384
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
8455
8385
|
base: "main" | "staging";
|
|
8456
|
-
prefix?: string | undefined;
|
|
8457
8386
|
target?: "main" | "staging" | undefined;
|
|
8458
|
-
branchNameTemplate?: string | undefined;
|
|
8459
8387
|
worktree?: string | undefined;
|
|
8388
|
+
prefix?: string | undefined;
|
|
8389
|
+
branchNameTemplate?: string | undefined;
|
|
8460
8390
|
updateBaseBeforeRun?: boolean | undefined;
|
|
8461
8391
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
8462
8392
|
};
|
|
8463
|
-
handler: "
|
|
8393
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
8464
8394
|
tools: {
|
|
8465
8395
|
allowed: string[];
|
|
8466
8396
|
denied?: string[] | undefined;
|
|
8467
8397
|
};
|
|
8468
|
-
outputs: {
|
|
8469
|
-
messageTypes: string[];
|
|
8470
|
-
modelMutations: string[];
|
|
8471
|
-
};
|
|
8472
8398
|
execution?: {
|
|
8473
8399
|
preparationSeconds?: number | undefined;
|
|
8474
8400
|
closeoutSeconds?: number | undefined;
|
|
8475
8401
|
closeoutWarningSeconds?: number | undefined;
|
|
8476
8402
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8477
|
-
|
|
8403
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8478
8404
|
maxRuntimeSeconds?: number | undefined;
|
|
8479
8405
|
maxRetries?: number | undefined;
|
|
8480
8406
|
verificationRequired?: boolean | undefined;
|
|
@@ -8504,19 +8430,30 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8504
8430
|
id: string;
|
|
8505
8431
|
revision: number;
|
|
8506
8432
|
}[] | undefined;
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8433
|
+
capabilityRequirements?: {
|
|
8434
|
+
requirement: "required" | "preferred";
|
|
8435
|
+
capabilityId: string;
|
|
8436
|
+
versionRange: string;
|
|
8437
|
+
configuration?: Record<string, {
|
|
8438
|
+
requirement: "required" | "preferred";
|
|
8439
|
+
value?: unknown;
|
|
8511
8440
|
}> | undefined;
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8441
|
+
alternativeGroup?: string | null | undefined;
|
|
8442
|
+
requiredFeatures?: string[] | undefined;
|
|
8443
|
+
}[] | undefined;
|
|
8444
|
+
permissions?: {
|
|
8515
8445
|
repository?: {
|
|
8516
8446
|
allowCodeMutation?: boolean | undefined;
|
|
8517
8447
|
readPaths?: string[] | undefined;
|
|
8518
8448
|
writePaths?: string[] | undefined;
|
|
8519
8449
|
} | undefined;
|
|
8450
|
+
commit?: {
|
|
8451
|
+
allowed: boolean;
|
|
8452
|
+
} | undefined;
|
|
8453
|
+
content?: Record<string, {
|
|
8454
|
+
operations: string[];
|
|
8455
|
+
filters?: Record<string, unknown> | undefined;
|
|
8456
|
+
}> | undefined;
|
|
8520
8457
|
network?: {
|
|
8521
8458
|
allowWeb?: boolean | undefined;
|
|
8522
8459
|
allowedDomains?: string[] | undefined;
|
|
@@ -8539,18 +8476,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8539
8476
|
requiredArtifactKinds?: string[] | undefined;
|
|
8540
8477
|
blockOnOpenQuestions?: boolean | undefined;
|
|
8541
8478
|
} | undefined;
|
|
8542
|
-
providerOverrides?: {
|
|
8543
|
-
instructionTemplateRefs?: {
|
|
8544
|
-
id: string;
|
|
8545
|
-
revision: number;
|
|
8546
|
-
}[] | undefined;
|
|
8547
|
-
requiredCapabilities?: string[] | undefined;
|
|
8548
|
-
maxRuntimeSeconds?: number | undefined;
|
|
8549
|
-
maxTotalTokens?: number | undefined;
|
|
8550
|
-
maxCostAmount?: number | undefined;
|
|
8551
|
-
disallowedProviderIds?: string[] | undefined;
|
|
8552
|
-
promptRef?: string | undefined;
|
|
8553
|
-
} | undefined;
|
|
8554
8479
|
signals?: {
|
|
8555
8480
|
subscribesTo?: {
|
|
8556
8481
|
contract: string;
|
|
@@ -8570,7 +8495,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8570
8495
|
publishes?: string[] | undefined;
|
|
8571
8496
|
} | undefined;
|
|
8572
8497
|
planningIntent?: {
|
|
8573
|
-
stage?: "
|
|
8498
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
8574
8499
|
objective?: string | undefined;
|
|
8575
8500
|
proposalTypes?: string[] | undefined;
|
|
8576
8501
|
artifactKind?: string | undefined;
|
|
@@ -8578,7 +8503,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8578
8503
|
subjectId?: string | null | undefined;
|
|
8579
8504
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
8580
8505
|
stages?: {
|
|
8581
|
-
stage: "
|
|
8506
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
8582
8507
|
signals?: {
|
|
8583
8508
|
subscribesTo?: {
|
|
8584
8509
|
contract: string;
|
|
@@ -8618,36 +8543,36 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8618
8543
|
} | undefined;
|
|
8619
8544
|
}, {
|
|
8620
8545
|
enabled: boolean;
|
|
8546
|
+
outputs: {
|
|
8547
|
+
messageTypes: string[];
|
|
8548
|
+
modelMutations: string[];
|
|
8549
|
+
};
|
|
8621
8550
|
prompt: {
|
|
8622
8551
|
system: string;
|
|
8623
|
-
task?: string | undefined;
|
|
8624
8552
|
templates?: Record<string, string> | undefined;
|
|
8553
|
+
task?: string | undefined;
|
|
8625
8554
|
};
|
|
8626
8555
|
branchPolicy: {
|
|
8627
8556
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
8628
8557
|
base: "main" | "staging";
|
|
8629
|
-
prefix?: string | undefined;
|
|
8630
8558
|
target?: "main" | "staging" | undefined;
|
|
8631
|
-
branchNameTemplate?: string | undefined;
|
|
8632
8559
|
worktree?: string | undefined;
|
|
8560
|
+
prefix?: string | undefined;
|
|
8561
|
+
branchNameTemplate?: string | undefined;
|
|
8633
8562
|
updateBaseBeforeRun?: boolean | undefined;
|
|
8634
8563
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
8635
8564
|
};
|
|
8636
|
-
handler: "
|
|
8565
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
8637
8566
|
tools: {
|
|
8638
8567
|
allowed: string[];
|
|
8639
8568
|
denied?: string[] | undefined;
|
|
8640
8569
|
};
|
|
8641
|
-
outputs: {
|
|
8642
|
-
messageTypes: string[];
|
|
8643
|
-
modelMutations: string[];
|
|
8644
|
-
};
|
|
8645
8570
|
execution?: {
|
|
8646
8571
|
preparationSeconds?: number | undefined;
|
|
8647
8572
|
closeoutSeconds?: number | undefined;
|
|
8648
8573
|
closeoutWarningSeconds?: number | undefined;
|
|
8649
8574
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8650
|
-
|
|
8575
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8651
8576
|
maxRuntimeSeconds?: number | undefined;
|
|
8652
8577
|
maxRetries?: number | undefined;
|
|
8653
8578
|
verificationRequired?: boolean | undefined;
|
|
@@ -8677,19 +8602,30 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8677
8602
|
id: string;
|
|
8678
8603
|
revision: number;
|
|
8679
8604
|
}[] | undefined;
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8605
|
+
capabilityRequirements?: {
|
|
8606
|
+
requirement: "required" | "preferred";
|
|
8607
|
+
capabilityId: string;
|
|
8608
|
+
versionRange: string;
|
|
8609
|
+
configuration?: Record<string, {
|
|
8610
|
+
requirement: "required" | "preferred";
|
|
8611
|
+
value?: unknown;
|
|
8684
8612
|
}> | undefined;
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8613
|
+
alternativeGroup?: string | null | undefined;
|
|
8614
|
+
requiredFeatures?: string[] | undefined;
|
|
8615
|
+
}[] | undefined;
|
|
8616
|
+
permissions?: {
|
|
8688
8617
|
repository?: {
|
|
8689
8618
|
allowCodeMutation?: boolean | undefined;
|
|
8690
8619
|
readPaths?: string[] | undefined;
|
|
8691
8620
|
writePaths?: string[] | undefined;
|
|
8692
8621
|
} | undefined;
|
|
8622
|
+
commit?: {
|
|
8623
|
+
allowed: boolean;
|
|
8624
|
+
} | undefined;
|
|
8625
|
+
content?: Record<string, {
|
|
8626
|
+
operations: string[];
|
|
8627
|
+
filters?: Record<string, unknown> | undefined;
|
|
8628
|
+
}> | undefined;
|
|
8693
8629
|
network?: {
|
|
8694
8630
|
allowWeb?: boolean | undefined;
|
|
8695
8631
|
allowedDomains?: string[] | undefined;
|
|
@@ -8712,18 +8648,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8712
8648
|
requiredArtifactKinds?: string[] | undefined;
|
|
8713
8649
|
blockOnOpenQuestions?: boolean | undefined;
|
|
8714
8650
|
} | undefined;
|
|
8715
|
-
providerOverrides?: {
|
|
8716
|
-
instructionTemplateRefs?: {
|
|
8717
|
-
id: string;
|
|
8718
|
-
revision: number;
|
|
8719
|
-
}[] | undefined;
|
|
8720
|
-
requiredCapabilities?: string[] | undefined;
|
|
8721
|
-
maxRuntimeSeconds?: number | undefined;
|
|
8722
|
-
maxTotalTokens?: number | undefined;
|
|
8723
|
-
maxCostAmount?: number | undefined;
|
|
8724
|
-
disallowedProviderIds?: string[] | undefined;
|
|
8725
|
-
promptRef?: string | undefined;
|
|
8726
|
-
} | undefined;
|
|
8727
8651
|
signals?: {
|
|
8728
8652
|
subscribesTo?: {
|
|
8729
8653
|
contract: string;
|
|
@@ -8743,7 +8667,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8743
8667
|
publishes?: string[] | undefined;
|
|
8744
8668
|
} | undefined;
|
|
8745
8669
|
planningIntent?: {
|
|
8746
|
-
stage?: "
|
|
8670
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
8747
8671
|
objective?: string | undefined;
|
|
8748
8672
|
proposalTypes?: string[] | undefined;
|
|
8749
8673
|
artifactKind?: string | undefined;
|
|
@@ -8751,7 +8675,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8751
8675
|
subjectId?: string | null | undefined;
|
|
8752
8676
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
8753
8677
|
stages?: {
|
|
8754
|
-
stage: "
|
|
8678
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
8755
8679
|
signals?: {
|
|
8756
8680
|
subscribesTo?: {
|
|
8757
8681
|
contract: string;
|
|
@@ -8791,36 +8715,36 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8791
8715
|
} | undefined;
|
|
8792
8716
|
}>, {
|
|
8793
8717
|
enabled: boolean;
|
|
8718
|
+
outputs: {
|
|
8719
|
+
messageTypes: string[];
|
|
8720
|
+
modelMutations: string[];
|
|
8721
|
+
};
|
|
8794
8722
|
prompt: {
|
|
8795
8723
|
system: string;
|
|
8796
|
-
task?: string | undefined;
|
|
8797
8724
|
templates?: Record<string, string> | undefined;
|
|
8725
|
+
task?: string | undefined;
|
|
8798
8726
|
};
|
|
8799
8727
|
branchPolicy: {
|
|
8800
8728
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
8801
8729
|
base: "main" | "staging";
|
|
8802
|
-
prefix?: string | undefined;
|
|
8803
8730
|
target?: "main" | "staging" | undefined;
|
|
8804
|
-
branchNameTemplate?: string | undefined;
|
|
8805
8731
|
worktree?: string | undefined;
|
|
8732
|
+
prefix?: string | undefined;
|
|
8733
|
+
branchNameTemplate?: string | undefined;
|
|
8806
8734
|
updateBaseBeforeRun?: boolean | undefined;
|
|
8807
8735
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
8808
8736
|
};
|
|
8809
|
-
handler: "
|
|
8737
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
8810
8738
|
tools: {
|
|
8811
8739
|
allowed: string[];
|
|
8812
8740
|
denied?: string[] | undefined;
|
|
8813
8741
|
};
|
|
8814
|
-
outputs: {
|
|
8815
|
-
messageTypes: string[];
|
|
8816
|
-
modelMutations: string[];
|
|
8817
|
-
};
|
|
8818
8742
|
execution?: {
|
|
8819
8743
|
preparationSeconds?: number | undefined;
|
|
8820
8744
|
closeoutSeconds?: number | undefined;
|
|
8821
8745
|
closeoutWarningSeconds?: number | undefined;
|
|
8822
8746
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8823
|
-
|
|
8747
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8824
8748
|
maxRuntimeSeconds?: number | undefined;
|
|
8825
8749
|
maxRetries?: number | undefined;
|
|
8826
8750
|
verificationRequired?: boolean | undefined;
|
|
@@ -8850,19 +8774,30 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8850
8774
|
id: string;
|
|
8851
8775
|
revision: number;
|
|
8852
8776
|
}[] | undefined;
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
|
|
8777
|
+
capabilityRequirements?: {
|
|
8778
|
+
requirement: "required" | "preferred";
|
|
8779
|
+
capabilityId: string;
|
|
8780
|
+
versionRange: string;
|
|
8781
|
+
configuration?: Record<string, {
|
|
8782
|
+
requirement: "required" | "preferred";
|
|
8783
|
+
value?: unknown;
|
|
8857
8784
|
}> | undefined;
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
|
|
8785
|
+
alternativeGroup?: string | null | undefined;
|
|
8786
|
+
requiredFeatures?: string[] | undefined;
|
|
8787
|
+
}[] | undefined;
|
|
8788
|
+
permissions?: {
|
|
8861
8789
|
repository?: {
|
|
8862
8790
|
allowCodeMutation?: boolean | undefined;
|
|
8863
8791
|
readPaths?: string[] | undefined;
|
|
8864
8792
|
writePaths?: string[] | undefined;
|
|
8865
8793
|
} | undefined;
|
|
8794
|
+
commit?: {
|
|
8795
|
+
allowed: boolean;
|
|
8796
|
+
} | undefined;
|
|
8797
|
+
content?: Record<string, {
|
|
8798
|
+
operations: string[];
|
|
8799
|
+
filters?: Record<string, unknown> | undefined;
|
|
8800
|
+
}> | undefined;
|
|
8866
8801
|
network?: {
|
|
8867
8802
|
allowWeb?: boolean | undefined;
|
|
8868
8803
|
allowedDomains?: string[] | undefined;
|
|
@@ -8885,18 +8820,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8885
8820
|
requiredArtifactKinds?: string[] | undefined;
|
|
8886
8821
|
blockOnOpenQuestions?: boolean | undefined;
|
|
8887
8822
|
} | undefined;
|
|
8888
|
-
providerOverrides?: {
|
|
8889
|
-
instructionTemplateRefs?: {
|
|
8890
|
-
id: string;
|
|
8891
|
-
revision: number;
|
|
8892
|
-
}[] | undefined;
|
|
8893
|
-
requiredCapabilities?: string[] | undefined;
|
|
8894
|
-
maxRuntimeSeconds?: number | undefined;
|
|
8895
|
-
maxTotalTokens?: number | undefined;
|
|
8896
|
-
maxCostAmount?: number | undefined;
|
|
8897
|
-
disallowedProviderIds?: string[] | undefined;
|
|
8898
|
-
promptRef?: string | undefined;
|
|
8899
|
-
} | undefined;
|
|
8900
8823
|
signals?: {
|
|
8901
8824
|
subscribesTo?: {
|
|
8902
8825
|
contract: string;
|
|
@@ -8916,7 +8839,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8916
8839
|
publishes?: string[] | undefined;
|
|
8917
8840
|
} | undefined;
|
|
8918
8841
|
planningIntent?: {
|
|
8919
|
-
stage?: "
|
|
8842
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
8920
8843
|
objective?: string | undefined;
|
|
8921
8844
|
proposalTypes?: string[] | undefined;
|
|
8922
8845
|
artifactKind?: string | undefined;
|
|
@@ -8924,7 +8847,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8924
8847
|
subjectId?: string | null | undefined;
|
|
8925
8848
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
8926
8849
|
stages?: {
|
|
8927
|
-
stage: "
|
|
8850
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
8928
8851
|
signals?: {
|
|
8929
8852
|
subscribesTo?: {
|
|
8930
8853
|
contract: string;
|
|
@@ -8964,36 +8887,36 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8964
8887
|
} | undefined;
|
|
8965
8888
|
}, {
|
|
8966
8889
|
enabled: boolean;
|
|
8890
|
+
outputs: {
|
|
8891
|
+
messageTypes: string[];
|
|
8892
|
+
modelMutations: string[];
|
|
8893
|
+
};
|
|
8967
8894
|
prompt: {
|
|
8968
8895
|
system: string;
|
|
8969
|
-
task?: string | undefined;
|
|
8970
8896
|
templates?: Record<string, string> | undefined;
|
|
8897
|
+
task?: string | undefined;
|
|
8971
8898
|
};
|
|
8972
8899
|
branchPolicy: {
|
|
8973
8900
|
kind: "read-only" | "main-planning-content" | "staging-content" | "assignment-feature" | "staging-release";
|
|
8974
8901
|
base: "main" | "staging";
|
|
8975
|
-
prefix?: string | undefined;
|
|
8976
8902
|
target?: "main" | "staging" | undefined;
|
|
8977
|
-
branchNameTemplate?: string | undefined;
|
|
8978
8903
|
worktree?: string | undefined;
|
|
8904
|
+
prefix?: string | undefined;
|
|
8905
|
+
branchNameTemplate?: string | undefined;
|
|
8979
8906
|
updateBaseBeforeRun?: boolean | undefined;
|
|
8980
8907
|
mergeTargetBeforeSave?: boolean | undefined;
|
|
8981
8908
|
};
|
|
8982
|
-
handler: "
|
|
8909
|
+
handler: "actor" | "writer" | "estimate" | "releaser" | "reporter";
|
|
8983
8910
|
tools: {
|
|
8984
8911
|
allowed: string[];
|
|
8985
8912
|
denied?: string[] | undefined;
|
|
8986
8913
|
};
|
|
8987
|
-
outputs: {
|
|
8988
|
-
messageTypes: string[];
|
|
8989
|
-
modelMutations: string[];
|
|
8990
|
-
};
|
|
8991
8914
|
execution?: {
|
|
8992
8915
|
preparationSeconds?: number | undefined;
|
|
8993
8916
|
closeoutSeconds?: number | undefined;
|
|
8994
8917
|
closeoutWarningSeconds?: number | undefined;
|
|
8995
8918
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8996
|
-
|
|
8919
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
|
|
8997
8920
|
maxRuntimeSeconds?: number | undefined;
|
|
8998
8921
|
maxRetries?: number | undefined;
|
|
8999
8922
|
verificationRequired?: boolean | undefined;
|
|
@@ -9023,19 +8946,30 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
9023
8946
|
id: string;
|
|
9024
8947
|
revision: number;
|
|
9025
8948
|
}[] | undefined;
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
8949
|
+
capabilityRequirements?: {
|
|
8950
|
+
requirement: "required" | "preferred";
|
|
8951
|
+
capabilityId: string;
|
|
8952
|
+
versionRange: string;
|
|
8953
|
+
configuration?: Record<string, {
|
|
8954
|
+
requirement: "required" | "preferred";
|
|
8955
|
+
value?: unknown;
|
|
9030
8956
|
}> | undefined;
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
8957
|
+
alternativeGroup?: string | null | undefined;
|
|
8958
|
+
requiredFeatures?: string[] | undefined;
|
|
8959
|
+
}[] | undefined;
|
|
8960
|
+
permissions?: {
|
|
9034
8961
|
repository?: {
|
|
9035
8962
|
allowCodeMutation?: boolean | undefined;
|
|
9036
8963
|
readPaths?: string[] | undefined;
|
|
9037
8964
|
writePaths?: string[] | undefined;
|
|
9038
8965
|
} | undefined;
|
|
8966
|
+
commit?: {
|
|
8967
|
+
allowed: boolean;
|
|
8968
|
+
} | undefined;
|
|
8969
|
+
content?: Record<string, {
|
|
8970
|
+
operations: string[];
|
|
8971
|
+
filters?: Record<string, unknown> | undefined;
|
|
8972
|
+
}> | undefined;
|
|
9039
8973
|
network?: {
|
|
9040
8974
|
allowWeb?: boolean | undefined;
|
|
9041
8975
|
allowedDomains?: string[] | undefined;
|
|
@@ -9058,18 +8992,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
9058
8992
|
requiredArtifactKinds?: string[] | undefined;
|
|
9059
8993
|
blockOnOpenQuestions?: boolean | undefined;
|
|
9060
8994
|
} | undefined;
|
|
9061
|
-
providerOverrides?: {
|
|
9062
|
-
instructionTemplateRefs?: {
|
|
9063
|
-
id: string;
|
|
9064
|
-
revision: number;
|
|
9065
|
-
}[] | undefined;
|
|
9066
|
-
requiredCapabilities?: string[] | undefined;
|
|
9067
|
-
maxRuntimeSeconds?: number | undefined;
|
|
9068
|
-
maxTotalTokens?: number | undefined;
|
|
9069
|
-
maxCostAmount?: number | undefined;
|
|
9070
|
-
disallowedProviderIds?: string[] | undefined;
|
|
9071
|
-
promptRef?: string | undefined;
|
|
9072
|
-
} | undefined;
|
|
9073
8995
|
signals?: {
|
|
9074
8996
|
subscribesTo?: {
|
|
9075
8997
|
contract: string;
|
|
@@ -9089,7 +9011,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
9089
9011
|
publishes?: string[] | undefined;
|
|
9090
9012
|
} | undefined;
|
|
9091
9013
|
planningIntent?: {
|
|
9092
|
-
stage?: "
|
|
9014
|
+
stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
|
|
9093
9015
|
objective?: string | undefined;
|
|
9094
9016
|
proposalTypes?: string[] | undefined;
|
|
9095
9017
|
artifactKind?: string | undefined;
|
|
@@ -9097,7 +9019,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
9097
9019
|
subjectId?: string | null | undefined;
|
|
9098
9020
|
includeWorkdayArtifacts?: boolean | undefined;
|
|
9099
9021
|
stages?: {
|
|
9100
|
-
stage: "
|
|
9022
|
+
stage: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation";
|
|
9101
9023
|
signals?: {
|
|
9102
9024
|
subscribesTo?: {
|
|
9103
9025
|
contract: string;
|