dsh-botgroup 0.6.7 → 0.7.1
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.en.md +60 -122
- package/README.md +59 -121
- package/lib/client.js +11837 -7685
- package/lib/client.js.map +4 -4
- package/lib/host/activity/first-user.js +1 -1
- package/lib/host/activity/preview.js +1 -1
- package/lib/host/activity/remote.js +1 -1
- package/lib/host/activity/tracker.js +1 -1
- package/lib/host/automation/coordinator.js +1 -1
- package/lib/host/automation/delivery.js +1 -1
- package/lib/host/automation/errors.js +1 -1
- package/lib/host/automation/index.js +1 -1
- package/lib/host/automation/remote.js +1 -1
- package/lib/host/automation/store.js +1 -1
- package/lib/host/bot-context.d.ts +3 -0
- package/lib/host/bot-context.js +97 -22
- package/lib/host/bot-context.js.map +1 -1
- package/lib/host/capabilities/platform.js +1 -1
- package/lib/host/capabilities/remote.js +1 -1
- package/lib/host/capabilities/service.js +1 -1
- package/lib/host/collaboration/remote.js +1 -1
- package/lib/host/collaboration/service.js +1 -1
- package/lib/host/common/integration-stores.js +1 -1
- package/lib/host/common/native-ambient-source.d.ts +7 -0
- package/lib/host/common/native-ambient-source.js +15 -0
- package/lib/host/common/native-ambient-source.js.map +1 -0
- package/lib/host/common/operations.js +1 -1
- package/lib/host/common/subagent-activation.d.ts +7 -0
- package/lib/host/common/subagent-activation.js +10 -0
- package/lib/host/common/subagent-activation.js.map +1 -0
- package/lib/host/composer.js +1 -1
- package/lib/host/connectors/remote.js +1 -1
- package/lib/host/connectors/service.js +1 -1
- package/lib/host/data-flow/agent-binding.js +1 -1
- package/lib/host/data-flow/connector-boundary.js +1 -1
- package/lib/host/data-flow/delegation.js +4 -3
- package/lib/host/data-flow/delegation.js.map +1 -1
- package/lib/host/data-flow/egress.d.ts +6 -0
- package/lib/host/data-flow/egress.js +32 -2
- package/lib/host/data-flow/egress.js.map +1 -1
- package/lib/host/data-flow/grants.js +1 -1
- package/lib/host/data-flow/graph-capability.js +1 -1
- package/lib/host/data-flow/labels.js +3 -2
- package/lib/host/data-flow/labels.js.map +1 -1
- package/lib/host/data-flow/lineage.js +3 -2
- package/lib/host/data-flow/lineage.js.map +1 -1
- package/lib/host/data-flow/managed-copies.d.ts +11 -3
- package/lib/host/data-flow/managed-copies.js +1 -1
- package/lib/host/data-flow/native-policy.js +1 -1
- package/lib/host/data-flow/outlets.d.ts +66 -1
- package/lib/host/data-flow/outlets.js +61 -2
- package/lib/host/data-flow/outlets.js.map +1 -1
- package/lib/host/data-flow/tool-guard.js +12 -3
- package/lib/host/data-flow/tool-guard.js.map +1 -1
- package/lib/host/delegate/continuation.js +1 -1
- package/lib/host/delegate/guard.js +9 -5
- package/lib/host/delegate/guard.js.map +1 -1
- package/lib/host/delegate/tool.js +29 -2
- package/lib/host/delegate/tool.js.map +1 -1
- package/lib/host/errors.js +1 -1
- package/lib/host/groups/concurrent.js +25 -14
- package/lib/host/groups/concurrent.js.map +1 -1
- package/lib/host/groups/context-flow.d.ts +28 -0
- package/lib/host/groups/context-flow.js +127 -0
- package/lib/host/groups/context-flow.js.map +1 -0
- package/lib/host/groups/data-flow.d.ts +9 -3
- package/lib/host/groups/data-flow.js +81 -19
- package/lib/host/groups/data-flow.js.map +1 -1
- package/lib/host/groups/export-pending.d.ts +5 -0
- package/lib/host/groups/export-pending.js +36 -0
- package/lib/host/groups/export-pending.js.map +1 -0
- package/lib/host/groups/export-review.d.ts +35 -0
- package/lib/host/groups/export-review.js +235 -0
- package/lib/host/groups/export-review.js.map +1 -0
- package/lib/host/groups/export-settings.d.ts +94 -0
- package/lib/host/groups/export-settings.js +78 -0
- package/lib/host/groups/export-settings.js.map +1 -0
- package/lib/host/groups/failure.js +3 -1
- package/lib/host/groups/failure.js.map +1 -1
- package/lib/host/groups/members.d.ts +105 -2
- package/lib/host/groups/members.js +47 -4
- package/lib/host/groups/members.js.map +1 -1
- package/lib/host/groups/memory-status.d.ts +7 -0
- package/lib/host/groups/memory-status.js +66 -0
- package/lib/host/groups/memory-status.js.map +1 -0
- package/lib/host/groups/messages.d.ts +90 -0
- package/lib/host/groups/messages.js +20 -8
- package/lib/host/groups/messages.js.map +1 -1
- package/lib/host/groups/model-selection.js +1 -1
- package/lib/host/groups/model.d.ts +95 -0
- package/lib/host/groups/model.js +21 -2
- package/lib/host/groups/model.js.map +1 -1
- package/lib/host/groups/owner-follow-up.js +1 -1
- package/lib/host/groups/recall-sessions.d.ts +8 -0
- package/lib/host/groups/recall-sessions.js +20 -1
- package/lib/host/groups/recall-sessions.js.map +1 -1
- package/lib/host/groups/recall-tool.js +1 -1
- package/lib/host/groups/recall.d.ts +6 -2
- package/lib/host/groups/recall.js +63 -16
- package/lib/host/groups/recall.js.map +1 -1
- package/lib/host/groups/remote.d.ts +531 -0
- package/lib/host/groups/remote.js +81 -1
- package/lib/host/groups/remote.js.map +1 -1
- package/lib/host/groups/root-guard.js +1 -1
- package/lib/host/groups/roots.js +1 -1
- package/lib/host/groups/round-robin.js +1 -1
- package/lib/host/groups/routing.d.ts +29 -1
- package/lib/host/groups/routing.js +34 -3
- package/lib/host/groups/routing.js.map +1 -1
- package/lib/host/groups/service.d.ts +662 -4
- package/lib/host/groups/service.js +96 -9
- package/lib/host/groups/service.js.map +1 -1
- package/lib/host/groups/state.d.ts +229 -2
- package/lib/host/groups/state.js +32 -3
- package/lib/host/groups/state.js.map +1 -1
- package/lib/host/groups/supergroup-admission.d.ts +87 -0
- package/lib/host/groups/supergroup-admission.js +99 -0
- package/lib/host/groups/supergroup-admission.js.map +1 -0
- package/lib/host/groups/team-recipes.d.ts +125 -0
- package/lib/host/groups/team-recipes.js +100 -0
- package/lib/host/groups/team-recipes.js.map +1 -0
- package/lib/host/groups/turn-runner.d.ts +81 -0
- package/lib/host/groups/turn-runner.js +88 -18
- package/lib/host/groups/turn-runner.js.map +1 -1
- package/lib/host/groups/turns.d.ts +114 -1
- package/lib/host/groups/turns.js +67 -20
- package/lib/host/groups/turns.js.map +1 -1
- package/lib/host/groups/worker-tool.d.ts +8 -1
- package/lib/host/groups/worker-tool.js +87 -9
- package/lib/host/groups/worker-tool.js.map +1 -1
- package/lib/host/home.js +1 -1
- package/lib/host/im/service.js +1 -1
- package/lib/host/index.d.ts +2 -1
- package/lib/host/index.js +30 -2
- package/lib/host/index.js.map +1 -1
- package/lib/host/live-persona.js +1 -1
- package/lib/host/main-session.d.ts +5 -2
- package/lib/host/main-session.js +118 -12
- package/lib/host/main-session.js.map +1 -1
- package/lib/host/memory/admission.d.ts +1 -0
- package/lib/host/memory/admission.js +24 -1
- package/lib/host/memory/admission.js.map +1 -1
- package/lib/host/memory/auto-share.js +1 -1
- package/lib/host/memory/confirmation.d.ts +21 -5
- package/lib/host/memory/confirmation.js +1 -1
- package/lib/host/memory/conflicts.js +1 -1
- package/lib/host/memory/consolidation-config.d.ts +12 -0
- package/lib/host/memory/consolidation-config.js +13 -0
- package/lib/host/memory/consolidation-config.js.map +1 -0
- package/lib/host/memory/consolidation-native.d.ts +14 -0
- package/lib/host/memory/consolidation-native.js +72 -0
- package/lib/host/memory/consolidation-native.js.map +1 -0
- package/lib/host/memory/consolidation-source.d.ts +4 -0
- package/lib/host/memory/consolidation-source.js +25 -0
- package/lib/host/memory/consolidation-source.js.map +1 -0
- package/lib/host/memory/consolidation.d.ts +80 -0
- package/lib/host/memory/consolidation.js +270 -0
- package/lib/host/memory/consolidation.js.map +1 -0
- package/lib/host/memory/context.js +1 -1
- package/lib/host/memory/domain-v2.d.ts +53 -10
- package/lib/host/memory/domain-v2.js +5 -3
- package/lib/host/memory/domain-v2.js.map +1 -1
- package/lib/host/memory/facade.d.ts +147 -3
- package/lib/host/memory/facade.js +113 -3
- package/lib/host/memory/facade.js.map +1 -1
- package/lib/host/memory/forget-preview.js +1 -1
- package/lib/host/memory/forget-runner.js +1 -1
- package/lib/host/memory/forget-service.js +1 -1
- package/lib/host/memory/history-proof.js +1 -1
- package/lib/host/memory/history.js +1 -1
- package/lib/host/memory/layout-upgrade.js +23 -6
- package/lib/host/memory/layout-upgrade.js.map +1 -1
- package/lib/host/memory/migration.js +1 -1
- package/lib/host/memory/op-log.js +1 -1
- package/lib/host/memory/open-v2.js +1 -1
- package/lib/host/memory/owner-lease.js +1 -1
- package/lib/host/memory/persistent-map.js +1 -1
- package/lib/host/memory/port.js +1 -1
- package/lib/host/memory/preserve-inbox.js +1 -1
- package/lib/host/memory/projection.js +6 -1
- package/lib/host/memory/projection.js.map +1 -1
- package/lib/host/memory/prompt.js +1 -1
- package/lib/host/memory/query.js +1 -1
- package/lib/host/memory/quota-replay.js +1 -1
- package/lib/host/memory/quota.d.ts +21 -5
- package/lib/host/memory/quota.js +1 -1
- package/lib/host/memory/remote.d.ts +218 -0
- package/lib/host/memory/remote.js +41 -1
- package/lib/host/memory/remote.js.map +1 -1
- package/lib/host/memory/retrieval-config.js +1 -1
- package/lib/host/memory/retrieval-rank.js +1 -1
- package/lib/host/memory/retrieval-text.js +1 -1
- package/lib/host/memory/root-instructions.js +1 -1
- package/lib/host/memory/secrets.js +1 -1
- package/lib/host/memory/service.js +1 -1
- package/lib/host/memory/shards.js +1 -1
- package/lib/host/memory/store-v2.js +5 -2
- package/lib/host/memory/store-v2.js.map +1 -1
- package/lib/host/memory/temporal.js +3 -2
- package/lib/host/memory/temporal.js.map +1 -1
- package/lib/host/memory/tool-guidance.js +1 -1
- package/lib/host/memory/tools.js +1 -1
- package/lib/host/memory/trusted-ingress.js +1 -1
- package/lib/host/memory/version.d.ts +20 -4
- package/lib/host/memory/version.js +1 -1
- package/lib/host/messaging/config.js +1 -1
- package/lib/host/messaging/core.d.ts +11 -3
- package/lib/host/messaging/core.js +4 -3
- package/lib/host/messaging/core.js.map +1 -1
- package/lib/host/messaging/delivery.js +3 -1
- package/lib/host/messaging/delivery.js.map +1 -1
- package/lib/host/messaging/evidence.js +1 -1
- package/lib/host/messaging/interrupt.js +1 -1
- package/lib/host/messaging/recovery.js +1 -1
- package/lib/host/messaging/remote.d.ts +1 -1
- package/lib/host/messaging/remote.js +1 -1
- package/lib/host/messaging/reply-routing.js +1 -1
- package/lib/host/messaging/safety.js +8 -3
- package/lib/host/messaging/safety.js.map +1 -1
- package/lib/host/messaging/scoped-projection.d.ts +43 -0
- package/lib/host/messaging/scoped-projection.js +136 -0
- package/lib/host/messaging/scoped-projection.js.map +1 -0
- package/lib/host/messaging/service.d.ts +5 -2
- package/lib/host/messaging/service.js +16 -6
- package/lib/host/messaging/service.js.map +1 -1
- package/lib/host/messaging/store.d.ts +45 -13
- package/lib/host/messaging/store.js +4 -3
- package/lib/host/messaging/store.js.map +1 -1
- package/lib/host/messaging/tool.js +24 -5
- package/lib/host/messaging/tool.js.map +1 -1
- package/lib/host/messaging/wake.js +3 -3
- package/lib/host/messaging/wake.js.map +1 -1
- package/lib/host/native-schedule/outcomes.js +1 -1
- package/lib/host/native-schedule/service.js +10 -7
- package/lib/host/native-schedule/service.js.map +1 -1
- package/lib/host/notifications/data-flow.js +1 -1
- package/lib/host/notifications/remote.js +1 -1
- package/lib/host/notifications/service.js +1 -1
- package/lib/host/notifications/time.js +1 -1
- package/lib/host/notifications/tool.js +1 -1
- package/lib/host/onboarding/coordinator.js +1 -1
- package/lib/host/onboarding/guard.js +1 -1
- package/lib/host/proactive/auto-admission.js +1 -1
- package/lib/host/proactive/config.js +1 -1
- package/lib/host/proactive/coordinator-client.js +1 -1
- package/lib/host/proactive/deferred-notices.js +1 -1
- package/lib/host/proactive/execution-prompt.js +1 -1
- package/lib/host/proactive/execution.js +1 -1
- package/lib/host/proactive/executors/command.js +1 -1
- package/lib/host/proactive/executors/json-command-bridge-entry.js +1 -1
- package/lib/host/proactive/executors/json-command-bridge.js +1 -1
- package/lib/host/proactive/executors/loopback.js +1 -1
- package/lib/host/proactive/feedback-workflow.d.ts +3 -0
- package/lib/host/proactive/feedback-workflow.js +8 -3
- package/lib/host/proactive/feedback-workflow.js.map +1 -1
- package/lib/host/proactive/feedback.js +1 -1
- package/lib/host/proactive/follow-up-events.d.ts +2 -0
- package/lib/host/proactive/follow-up-events.js +63 -4
- package/lib/host/proactive/follow-up-events.js.map +1 -1
- package/lib/host/proactive/follow-up-facts.js +1 -1
- package/lib/host/proactive/follow-up-tool.js +3 -3
- package/lib/host/proactive/follow-up-tool.js.map +1 -1
- package/lib/host/proactive/governance-artifacts.js +1 -1
- package/lib/host/proactive/governance-service.js +1 -1
- package/lib/host/proactive/group-budget.js +1 -1
- package/lib/host/proactive/group-follow-up.js +1 -1
- package/lib/host/proactive/group-repair.js +1 -1
- package/lib/host/proactive/index.js +1 -1
- package/lib/host/proactive/lifecycle.js +1 -1
- package/lib/host/proactive/method-evaluation.js +1 -1
- package/lib/host/proactive/method-package.js +1 -1
- package/lib/host/proactive/method-skill.js +1 -1
- package/lib/host/proactive/model-budget.js +1 -1
- package/lib/host/proactive/notice-pump.js +1 -1
- package/lib/host/proactive/notification-bridge.js +1 -1
- package/lib/host/proactive/read-query.js +1 -1
- package/lib/host/proactive/remote.d.ts +169 -0
- package/lib/host/proactive/remote.js +1 -1
- package/lib/host/proactive/repair.js +1 -1
- package/lib/host/proactive/result-journal.js +1 -1
- package/lib/host/proactive/service.d.ts +1729 -51
- package/lib/host/proactive/service.js +48 -37
- package/lib/host/proactive/service.js.map +1 -1
- package/lib/host/proactive/session-history.d.ts +3 -0
- package/lib/host/proactive/session-history.js +21 -0
- package/lib/host/proactive/session-history.js.map +1 -0
- package/lib/host/proactive/setup.js +1 -1
- package/lib/host/proactive/sources/ci-feed.js +1 -1
- package/lib/host/proactive/sources/ci.js +1 -1
- package/lib/host/proactive/sources/github-ci.js +1 -1
- package/lib/host/proactive/task-cost.js +1 -1
- package/lib/host/proactive/wire.js +1 -1
- package/lib/host/proactive/work-continuation.js +1 -1
- package/lib/host/proactive/workspace-process.js +1 -1
- package/lib/host/proactive/workspace-repair.js +1 -1
- package/lib/host/reference-memory/backend.js +1 -1
- package/lib/host/reference-memory/cleanup-files.js +1 -1
- package/lib/host/reference-memory/copies.js +1 -1
- package/lib/host/reference-memory/files.js +1 -1
- package/lib/host/reference-memory/model.js +1 -1
- package/lib/host/reference-memory/service.js +1 -1
- package/lib/host/reference-memory/writer.js +1 -1
- package/lib/host/registry/identity.js +1 -1
- package/lib/host/registry/lifecycle.d.ts +4 -1
- package/lib/host/registry/lifecycle.js +3 -1
- package/lib/host/registry/lifecycle.js.map +1 -1
- package/lib/host/registry/mutations.js +1 -1
- package/lib/host/registry/presets.js +1 -1
- package/lib/host/registry/types.js +1 -1
- package/lib/host/registry-config.d.ts +5 -1
- package/lib/host/registry-config.js +11 -2
- package/lib/host/registry-config.js.map +1 -1
- package/lib/host/registry.d.ts +8 -0
- package/lib/host/registry.js +45 -4
- package/lib/host/registry.js.map +1 -1
- package/lib/host/shadow/budget.js +1 -1
- package/lib/host/shadow/config.js +1 -1
- package/lib/host/shadow/notification-adapter.js +1 -1
- package/lib/host/shadow/planner.js +1 -1
- package/lib/host/shadow/schedule-adapter.js +1 -1
- package/lib/host/shadow/service.js +1 -1
- package/lib/host/store.js +1 -1
- package/lib/host/stores/activity.js +1 -1
- package/lib/host/stores/bots.js +1 -1
- package/lib/host/stores/domain.js +1 -1
- package/lib/host/stores/memory.js +1 -1
- package/lib/host/supergroup/collaboration.d.ts +99 -0
- package/lib/host/supergroup/collaboration.js +362 -0
- package/lib/host/supergroup/collaboration.js.map +1 -0
- package/lib/host/supergroup/config.d.ts +15 -0
- package/lib/host/supergroup/config.js +34 -0
- package/lib/host/supergroup/config.js.map +1 -0
- package/lib/host/supergroup/input-capability.d.ts +4 -0
- package/lib/host/supergroup/input-capability.js +21 -0
- package/lib/host/supergroup/input-capability.js.map +1 -0
- package/lib/host/supergroup/recovery-view.d.ts +16 -0
- package/lib/host/supergroup/recovery-view.js +38 -0
- package/lib/host/supergroup/recovery-view.js.map +1 -0
- package/lib/host/supergroup/remote.d.ts +2064 -0
- package/lib/host/supergroup/remote.js +123 -0
- package/lib/host/supergroup/remote.js.map +1 -0
- package/lib/host/supergroup/service.d.ts +987 -0
- package/lib/host/supergroup/service.js +945 -0
- package/lib/host/supergroup/service.js.map +1 -0
- package/lib/host/supergroup/task-support.d.ts +266 -0
- package/lib/host/supergroup/task-support.js +323 -0
- package/lib/host/supergroup/task-support.js.map +1 -0
- package/lib/host/supergroup/tool.d.ts +4 -0
- package/lib/host/supergroup/tool.js +74 -0
- package/lib/host/supergroup/tool.js.map +1 -0
- package/lib/host/tools/bot-manage.js +7 -3
- package/lib/host/tools/bot-manage.js.map +1 -1
- package/lib/host/workspace/remote.js +1 -1
- package/lib/host/workspace/service.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/module-manifest.json +288 -258
- package/lib/proactive-coordinator/main.mjs +236 -25
- package/lib/proactive-coordinator/provenance.json +1 -1
- package/lib/shared/activity-preview.js +1 -1
- package/lib/shared/activity.js +1 -1
- package/lib/shared/automation-contract.js +1 -1
- package/lib/shared/automation.js +1 -1
- package/lib/shared/bot-brand.js +1 -1
- package/lib/shared/capabilities-contract.js +1 -1
- package/lib/shared/collaboration-contract.js +1 -1
- package/lib/shared/collaboration.js +1 -1
- package/lib/shared/connectors.js +1 -1
- package/lib/shared/data-flow.d.ts +1 -0
- package/lib/shared/data-flow.js +3 -1
- package/lib/shared/data-flow.js.map +1 -1
- package/lib/shared/eval-budget.js +1 -1
- package/lib/shared/group-export-review.d.ts +3 -0
- package/lib/shared/group-export-review.js +12 -0
- package/lib/shared/group-export-review.js.map +1 -0
- package/lib/shared/group-limits.d.ts +4 -0
- package/lib/shared/group-limits.js +6 -0
- package/lib/shared/group-limits.js.map +1 -0
- package/lib/shared/group-recall-reads.js +1 -1
- package/lib/shared/group-recall.js +1 -1
- package/lib/shared/groups-contract.d.ts +3002 -3
- package/lib/shared/groups-contract.js +25 -2
- package/lib/shared/groups-contract.js.map +1 -1
- package/lib/shared/groups.d.ts +317 -0
- package/lib/shared/groups.js +69 -8
- package/lib/shared/groups.js.map +1 -1
- package/lib/shared/identity.js +1 -1
- package/lib/shared/ids.js +1 -1
- package/lib/shared/integrations-contract.js +1 -1
- package/lib/shared/integrations.js +1 -1
- package/lib/shared/managed-flow.d.ts +4 -0
- package/lib/shared/managed-flow.js +2 -2
- package/lib/shared/managed-flow.js.map +1 -1
- package/lib/shared/memory-consolidation.d.ts +104 -0
- package/lib/shared/memory-consolidation.js +23 -0
- package/lib/shared/memory-consolidation.js.map +1 -0
- package/lib/shared/memory-forget.js +1 -1
- package/lib/shared/memory-management.d.ts +491 -1
- package/lib/shared/memory-management.js +9 -1
- package/lib/shared/memory-management.js.map +1 -1
- package/lib/shared/memory-ops.d.ts +17 -1
- package/lib/shared/memory-ops.js +1 -1
- package/lib/shared/memory-tool-names.js +1 -1
- package/lib/shared/memory-v2.d.ts +16 -0
- package/lib/shared/memory-v2.js +3 -1
- package/lib/shared/memory-v2.js.map +1 -1
- package/lib/shared/messaging-contract.d.ts +1 -1
- package/lib/shared/messaging-contract.js +1 -1
- package/lib/shared/messaging.d.ts +21 -10
- package/lib/shared/messaging.js +3 -1
- package/lib/shared/messaging.js.map +1 -1
- package/lib/shared/native-schedule.d.ts +21 -0
- package/lib/shared/native-schedule.js +15 -1
- package/lib/shared/native-schedule.js.map +1 -1
- package/lib/shared/notifications.js +1 -1
- package/lib/shared/onboarding-source.js +1 -1
- package/lib/shared/onboarding.js +1 -1
- package/lib/shared/operation-errors.d.ts +6 -0
- package/lib/shared/operation-errors.js +7 -1
- package/lib/shared/operation-errors.js.map +1 -1
- package/lib/shared/proactive/activity.js +1 -1
- package/lib/shared/proactive/document.js +1 -1
- package/lib/shared/proactive/feedback.d.ts +12 -0
- package/lib/shared/proactive/feedback.js +2 -2
- package/lib/shared/proactive/feedback.js.map +1 -1
- package/lib/shared/proactive/follow-up.d.ts +460 -0
- package/lib/shared/proactive/follow-up.js +15 -1
- package/lib/shared/proactive/follow-up.js.map +1 -1
- package/lib/shared/proactive/governance.js +1 -1
- package/lib/shared/proactive/group-follow-up.js +1 -1
- package/lib/shared/proactive/group-repair.js +1 -1
- package/lib/shared/proactive/handoff.js +1 -1
- package/lib/shared/proactive/method-evaluation.d.ts +4 -0
- package/lib/shared/proactive/method-evaluation.js +2 -1
- package/lib/shared/proactive/method-evaluation.js.map +1 -1
- package/lib/shared/proactive/method-package.js +1 -1
- package/lib/shared/proactive/notices.js +1 -1
- package/lib/shared/proactive/outcomes.js +1 -1
- package/lib/shared/proactive/protocol.d.ts +651 -0
- package/lib/shared/proactive/protocol.js +1 -1
- package/lib/shared/proactive/remote-contract.d.ts +828 -0
- package/lib/shared/proactive/remote-contract.js +1 -1
- package/lib/shared/proactive/repair.js +1 -1
- package/lib/shared/proactive/responsibility.js +1 -1
- package/lib/shared/proactive/setup.d.ts +83 -0
- package/lib/shared/proactive/setup.js +1 -1
- package/lib/shared/proactive/work-progress.js +1 -1
- package/lib/shared/proactive/work.js +1 -1
- package/lib/shared/proactive/workspace-repair.js +1 -1
- package/lib/shared/reference-memory.js +1 -1
- package/lib/shared/remote-contract.d.ts +1081 -47
- package/lib/shared/remote-contract.js +28 -2
- package/lib/shared/remote-contract.js.map +1 -1
- package/lib/shared/routine-outcomes.js +1 -1
- package/lib/shared/schema.js +1 -1
- package/lib/shared/secrets.js +1 -1
- package/lib/shared/shadow.js +1 -1
- package/lib/shared/supergroup-contract.d.ts +7535 -0
- package/lib/shared/supergroup-contract.js +26 -0
- package/lib/shared/supergroup-contract.js.map +1 -0
- package/lib/shared/supergroup.d.ts +1495 -0
- package/lib/shared/supergroup.js +56 -0
- package/lib/shared/supergroup.js.map +1 -0
- package/lib/shared/task-materials.d.ts +200 -0
- package/lib/shared/task-materials.js +44 -0
- package/lib/shared/task-materials.js.map +1 -0
- package/lib/shared/team-recipes.d.ts +130 -0
- package/lib/shared/team-recipes.js +28 -0
- package/lib/shared/team-recipes.js.map +1 -0
- package/lib/shared/version.d.ts +1 -1
- package/lib/shared/version.js +2 -2
- package/lib/shared/workspace-contract.js +1 -1
- package/lib/shared/workspace.js +1 -1
- package/lib/typert.host.js +1 -1
- package/lib/typert.remote-client.js +1 -1
- package/locale/en.json +305 -7
- package/locale/zh.json +305 -7
- package/package.json +2 -1
|
@@ -464,6 +464,10 @@ export declare const feedbackWorkflowRequestSchema: z.ZodObject<{
|
|
|
464
464
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
465
465
|
}, z.core.$strict>>;
|
|
466
466
|
}, z.core.$strict>>;
|
|
467
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
468
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
469
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
470
|
+
}>>;
|
|
467
471
|
candidateId: z.ZodUUID;
|
|
468
472
|
expectedRevision: z.ZodNumber;
|
|
469
473
|
action: z.ZodLiteral<"settle-method-evaluation">;
|
|
@@ -1379,6 +1383,7 @@ export declare const feedbackWorkflowRequestSchema: z.ZodObject<{
|
|
|
1379
1383
|
candidateId: string;
|
|
1380
1384
|
expectedRevision: number;
|
|
1381
1385
|
action: "settle-method-evaluation";
|
|
1386
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
1382
1387
|
} | {
|
|
1383
1388
|
action: "import-dataset";
|
|
1384
1389
|
dataset: {
|
|
@@ -2198,6 +2203,7 @@ export declare const feedbackWorkflowRequestSchema: z.ZodObject<{
|
|
|
2198
2203
|
candidateId: string;
|
|
2199
2204
|
expectedRevision: number;
|
|
2200
2205
|
action: "settle-method-evaluation";
|
|
2206
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
2201
2207
|
} | {
|
|
2202
2208
|
action: "import-dataset";
|
|
2203
2209
|
dataset: {
|
|
@@ -2625,6 +2631,48 @@ export declare const followUpWatchRequest: z.ZodObject<{
|
|
|
2625
2631
|
request: z.ZodString;
|
|
2626
2632
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2627
2633
|
}, z.core.$strict>>;
|
|
2634
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2635
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
2636
|
+
cardId: z.ZodString;
|
|
2637
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2638
|
+
kind: z.ZodLiteral<"work">;
|
|
2639
|
+
ticketId: z.ZodString;
|
|
2640
|
+
assignmentId: z.ZodString;
|
|
2641
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2642
|
+
kind: z.ZodLiteral<"delegate">;
|
|
2643
|
+
runId: z.ZodString;
|
|
2644
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2645
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2646
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
2647
|
+
sessionId: z.ZodString;
|
|
2648
|
+
childSessionId: z.ZodString;
|
|
2649
|
+
turn: z.ZodNumber;
|
|
2650
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2651
|
+
kind: z.ZodLiteral<"team-task">;
|
|
2652
|
+
teamId: z.ZodString;
|
|
2653
|
+
taskId: z.ZodString;
|
|
2654
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2655
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2656
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
2657
|
+
turnId: z.ZodString;
|
|
2658
|
+
}, z.core.$strict>], "kind">;
|
|
2659
|
+
sourceGeneration: z.ZodNumber;
|
|
2660
|
+
afterRevision: z.ZodNumber;
|
|
2661
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2662
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
2663
|
+
cardId: z.ZodString;
|
|
2664
|
+
origin: z.ZodObject<{
|
|
2665
|
+
kind: z.ZodLiteral<"work">;
|
|
2666
|
+
ticketId: z.ZodString;
|
|
2667
|
+
assignmentId: z.ZodString;
|
|
2668
|
+
}, z.core.$strict>;
|
|
2669
|
+
sourceId: z.ZodString;
|
|
2670
|
+
sourceGeneration: z.ZodNumber;
|
|
2671
|
+
threadId: z.ZodString;
|
|
2672
|
+
afterAttempt: z.ZodNumber;
|
|
2673
|
+
afterObservedAt: z.ZodISODateTime;
|
|
2674
|
+
}, z.core.$strict>], "kind">>;
|
|
2675
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2628
2676
|
}, z.core.$strict>;
|
|
2629
2677
|
commandId: z.ZodUUID;
|
|
2630
2678
|
}, z.core.$strict>;
|
|
@@ -2981,6 +3029,89 @@ declare const spec: {
|
|
|
2981
3029
|
open: "open";
|
|
2982
3030
|
ignored: "ignored";
|
|
2983
3031
|
}>;
|
|
3032
|
+
completionTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3033
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
3034
|
+
cardId: z.ZodString;
|
|
3035
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3036
|
+
kind: z.ZodLiteral<"work">;
|
|
3037
|
+
ticketId: z.ZodString;
|
|
3038
|
+
assignmentId: z.ZodString;
|
|
3039
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3040
|
+
kind: z.ZodLiteral<"delegate">;
|
|
3041
|
+
runId: z.ZodString;
|
|
3042
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3043
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3044
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
3045
|
+
sessionId: z.ZodString;
|
|
3046
|
+
childSessionId: z.ZodString;
|
|
3047
|
+
turn: z.ZodNumber;
|
|
3048
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3049
|
+
kind: z.ZodLiteral<"team-task">;
|
|
3050
|
+
teamId: z.ZodString;
|
|
3051
|
+
taskId: z.ZodString;
|
|
3052
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3053
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3054
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
3055
|
+
turnId: z.ZodString;
|
|
3056
|
+
}, z.core.$strict>], "kind">;
|
|
3057
|
+
sourceGeneration: z.ZodNumber;
|
|
3058
|
+
afterRevision: z.ZodNumber;
|
|
3059
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3060
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
3061
|
+
cardId: z.ZodString;
|
|
3062
|
+
origin: z.ZodObject<{
|
|
3063
|
+
kind: z.ZodLiteral<"work">;
|
|
3064
|
+
ticketId: z.ZodString;
|
|
3065
|
+
assignmentId: z.ZodString;
|
|
3066
|
+
}, z.core.$strict>;
|
|
3067
|
+
sourceId: z.ZodString;
|
|
3068
|
+
sourceGeneration: z.ZodNumber;
|
|
3069
|
+
threadId: z.ZodString;
|
|
3070
|
+
afterAttempt: z.ZodNumber;
|
|
3071
|
+
afterObservedAt: z.ZodISODateTime;
|
|
3072
|
+
}, z.core.$strict>], "kind">>;
|
|
3073
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3074
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
3075
|
+
cardId: z.ZodString;
|
|
3076
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3077
|
+
kind: z.ZodLiteral<"work">;
|
|
3078
|
+
ticketId: z.ZodString;
|
|
3079
|
+
assignmentId: z.ZodString;
|
|
3080
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3081
|
+
kind: z.ZodLiteral<"delegate">;
|
|
3082
|
+
runId: z.ZodString;
|
|
3083
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3084
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3085
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
3086
|
+
sessionId: z.ZodString;
|
|
3087
|
+
childSessionId: z.ZodString;
|
|
3088
|
+
turn: z.ZodNumber;
|
|
3089
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3090
|
+
kind: z.ZodLiteral<"team-task">;
|
|
3091
|
+
teamId: z.ZodString;
|
|
3092
|
+
taskId: z.ZodString;
|
|
3093
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3094
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3095
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
3096
|
+
turnId: z.ZodString;
|
|
3097
|
+
}, z.core.$strict>], "kind">;
|
|
3098
|
+
sourceGeneration: z.ZodNumber;
|
|
3099
|
+
afterRevision: z.ZodNumber;
|
|
3100
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3101
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
3102
|
+
cardId: z.ZodString;
|
|
3103
|
+
origin: z.ZodObject<{
|
|
3104
|
+
kind: z.ZodLiteral<"work">;
|
|
3105
|
+
ticketId: z.ZodString;
|
|
3106
|
+
assignmentId: z.ZodString;
|
|
3107
|
+
}, z.core.$strict>;
|
|
3108
|
+
sourceId: z.ZodString;
|
|
3109
|
+
sourceGeneration: z.ZodNumber;
|
|
3110
|
+
threadId: z.ZodString;
|
|
3111
|
+
afterAttempt: z.ZodNumber;
|
|
3112
|
+
afterObservedAt: z.ZodISODateTime;
|
|
3113
|
+
}, z.core.$strict>], "kind">>;
|
|
3114
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2984
3115
|
}, z.core.$strict>>;
|
|
2985
3116
|
}, z.core.$strict>;
|
|
2986
3117
|
}, z.core.$strict>], "state">;
|
|
@@ -3093,6 +3224,89 @@ declare const spec: {
|
|
|
3093
3224
|
reason: "completed" | "cancelled" | "resolved";
|
|
3094
3225
|
};
|
|
3095
3226
|
state: "closed" | "stopped" | "open" | "ignored";
|
|
3227
|
+
completionTarget?: {
|
|
3228
|
+
kind: "subtask-completed";
|
|
3229
|
+
cardId: string;
|
|
3230
|
+
origin: {
|
|
3231
|
+
kind: "work";
|
|
3232
|
+
ticketId: string;
|
|
3233
|
+
assignmentId: string;
|
|
3234
|
+
} | {
|
|
3235
|
+
kind: "delegate";
|
|
3236
|
+
runId: string;
|
|
3237
|
+
sessionId?: string | undefined;
|
|
3238
|
+
} | {
|
|
3239
|
+
kind: "native-subagent";
|
|
3240
|
+
sessionId: string;
|
|
3241
|
+
childSessionId: string;
|
|
3242
|
+
turn: number;
|
|
3243
|
+
} | {
|
|
3244
|
+
kind: "team-task";
|
|
3245
|
+
teamId: string;
|
|
3246
|
+
taskId: string;
|
|
3247
|
+
sessionId?: string | undefined;
|
|
3248
|
+
} | {
|
|
3249
|
+
kind: "group-turn";
|
|
3250
|
+
turnId: string;
|
|
3251
|
+
};
|
|
3252
|
+
sourceGeneration: number;
|
|
3253
|
+
afterRevision: number;
|
|
3254
|
+
} | {
|
|
3255
|
+
kind: "ci-completed";
|
|
3256
|
+
cardId: string;
|
|
3257
|
+
origin: {
|
|
3258
|
+
kind: "work";
|
|
3259
|
+
ticketId: string;
|
|
3260
|
+
assignmentId: string;
|
|
3261
|
+
};
|
|
3262
|
+
sourceId: string;
|
|
3263
|
+
sourceGeneration: number;
|
|
3264
|
+
threadId: string;
|
|
3265
|
+
afterAttempt: number;
|
|
3266
|
+
afterObservedAt: string;
|
|
3267
|
+
} | undefined;
|
|
3268
|
+
when?: {
|
|
3269
|
+
kind: "subtask-completed";
|
|
3270
|
+
cardId: string;
|
|
3271
|
+
origin: {
|
|
3272
|
+
kind: "work";
|
|
3273
|
+
ticketId: string;
|
|
3274
|
+
assignmentId: string;
|
|
3275
|
+
} | {
|
|
3276
|
+
kind: "delegate";
|
|
3277
|
+
runId: string;
|
|
3278
|
+
sessionId?: string | undefined;
|
|
3279
|
+
} | {
|
|
3280
|
+
kind: "native-subagent";
|
|
3281
|
+
sessionId: string;
|
|
3282
|
+
childSessionId: string;
|
|
3283
|
+
turn: number;
|
|
3284
|
+
} | {
|
|
3285
|
+
kind: "team-task";
|
|
3286
|
+
teamId: string;
|
|
3287
|
+
taskId: string;
|
|
3288
|
+
sessionId?: string | undefined;
|
|
3289
|
+
} | {
|
|
3290
|
+
kind: "group-turn";
|
|
3291
|
+
turnId: string;
|
|
3292
|
+
};
|
|
3293
|
+
sourceGeneration: number;
|
|
3294
|
+
afterRevision: number;
|
|
3295
|
+
} | {
|
|
3296
|
+
kind: "ci-completed";
|
|
3297
|
+
cardId: string;
|
|
3298
|
+
origin: {
|
|
3299
|
+
kind: "work";
|
|
3300
|
+
ticketId: string;
|
|
3301
|
+
assignmentId: string;
|
|
3302
|
+
};
|
|
3303
|
+
sourceId: string;
|
|
3304
|
+
sourceGeneration: number;
|
|
3305
|
+
threadId: string;
|
|
3306
|
+
afterAttempt: number;
|
|
3307
|
+
afterObservedAt: string;
|
|
3308
|
+
} | undefined;
|
|
3309
|
+
deadlineAt?: string | undefined;
|
|
3096
3310
|
}[];
|
|
3097
3311
|
};
|
|
3098
3312
|
};
|
|
@@ -3205,6 +3419,89 @@ declare const spec: {
|
|
|
3205
3419
|
reason: "completed" | "cancelled" | "resolved";
|
|
3206
3420
|
};
|
|
3207
3421
|
state: "closed" | "stopped" | "open" | "ignored";
|
|
3422
|
+
completionTarget?: {
|
|
3423
|
+
kind: "subtask-completed";
|
|
3424
|
+
cardId: string;
|
|
3425
|
+
origin: {
|
|
3426
|
+
kind: "work";
|
|
3427
|
+
ticketId: string;
|
|
3428
|
+
assignmentId: string;
|
|
3429
|
+
} | {
|
|
3430
|
+
kind: "delegate";
|
|
3431
|
+
runId: string;
|
|
3432
|
+
sessionId?: string | undefined;
|
|
3433
|
+
} | {
|
|
3434
|
+
kind: "native-subagent";
|
|
3435
|
+
sessionId: string;
|
|
3436
|
+
childSessionId: string;
|
|
3437
|
+
turn: number;
|
|
3438
|
+
} | {
|
|
3439
|
+
kind: "team-task";
|
|
3440
|
+
teamId: string;
|
|
3441
|
+
taskId: string;
|
|
3442
|
+
sessionId?: string | undefined;
|
|
3443
|
+
} | {
|
|
3444
|
+
kind: "group-turn";
|
|
3445
|
+
turnId: string;
|
|
3446
|
+
};
|
|
3447
|
+
sourceGeneration: number;
|
|
3448
|
+
afterRevision: number;
|
|
3449
|
+
} | {
|
|
3450
|
+
kind: "ci-completed";
|
|
3451
|
+
cardId: string;
|
|
3452
|
+
origin: {
|
|
3453
|
+
kind: "work";
|
|
3454
|
+
ticketId: string;
|
|
3455
|
+
assignmentId: string;
|
|
3456
|
+
};
|
|
3457
|
+
sourceId: string;
|
|
3458
|
+
sourceGeneration: number;
|
|
3459
|
+
threadId: string;
|
|
3460
|
+
afterAttempt: number;
|
|
3461
|
+
afterObservedAt: string;
|
|
3462
|
+
} | undefined;
|
|
3463
|
+
when?: {
|
|
3464
|
+
kind: "subtask-completed";
|
|
3465
|
+
cardId: string;
|
|
3466
|
+
origin: {
|
|
3467
|
+
kind: "work";
|
|
3468
|
+
ticketId: string;
|
|
3469
|
+
assignmentId: string;
|
|
3470
|
+
} | {
|
|
3471
|
+
kind: "delegate";
|
|
3472
|
+
runId: string;
|
|
3473
|
+
sessionId?: string | undefined;
|
|
3474
|
+
} | {
|
|
3475
|
+
kind: "native-subagent";
|
|
3476
|
+
sessionId: string;
|
|
3477
|
+
childSessionId: string;
|
|
3478
|
+
turn: number;
|
|
3479
|
+
} | {
|
|
3480
|
+
kind: "team-task";
|
|
3481
|
+
teamId: string;
|
|
3482
|
+
taskId: string;
|
|
3483
|
+
sessionId?: string | undefined;
|
|
3484
|
+
} | {
|
|
3485
|
+
kind: "group-turn";
|
|
3486
|
+
turnId: string;
|
|
3487
|
+
};
|
|
3488
|
+
sourceGeneration: number;
|
|
3489
|
+
afterRevision: number;
|
|
3490
|
+
} | {
|
|
3491
|
+
kind: "ci-completed";
|
|
3492
|
+
cardId: string;
|
|
3493
|
+
origin: {
|
|
3494
|
+
kind: "work";
|
|
3495
|
+
ticketId: string;
|
|
3496
|
+
assignmentId: string;
|
|
3497
|
+
};
|
|
3498
|
+
sourceId: string;
|
|
3499
|
+
sourceGeneration: number;
|
|
3500
|
+
threadId: string;
|
|
3501
|
+
afterAttempt: number;
|
|
3502
|
+
afterObservedAt: string;
|
|
3503
|
+
} | undefined;
|
|
3504
|
+
deadlineAt?: string | undefined;
|
|
3208
3505
|
}[];
|
|
3209
3506
|
};
|
|
3210
3507
|
};
|
|
@@ -3395,6 +3692,89 @@ declare const spec: {
|
|
|
3395
3692
|
open: "open";
|
|
3396
3693
|
ignored: "ignored";
|
|
3397
3694
|
}>;
|
|
3695
|
+
completionTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3696
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
3697
|
+
cardId: z.ZodString;
|
|
3698
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3699
|
+
kind: z.ZodLiteral<"work">;
|
|
3700
|
+
ticketId: z.ZodString;
|
|
3701
|
+
assignmentId: z.ZodString;
|
|
3702
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3703
|
+
kind: z.ZodLiteral<"delegate">;
|
|
3704
|
+
runId: z.ZodString;
|
|
3705
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3706
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3707
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
3708
|
+
sessionId: z.ZodString;
|
|
3709
|
+
childSessionId: z.ZodString;
|
|
3710
|
+
turn: z.ZodNumber;
|
|
3711
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3712
|
+
kind: z.ZodLiteral<"team-task">;
|
|
3713
|
+
teamId: z.ZodString;
|
|
3714
|
+
taskId: z.ZodString;
|
|
3715
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3716
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3717
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
3718
|
+
turnId: z.ZodString;
|
|
3719
|
+
}, z.core.$strict>], "kind">;
|
|
3720
|
+
sourceGeneration: z.ZodNumber;
|
|
3721
|
+
afterRevision: z.ZodNumber;
|
|
3722
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3723
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
3724
|
+
cardId: z.ZodString;
|
|
3725
|
+
origin: z.ZodObject<{
|
|
3726
|
+
kind: z.ZodLiteral<"work">;
|
|
3727
|
+
ticketId: z.ZodString;
|
|
3728
|
+
assignmentId: z.ZodString;
|
|
3729
|
+
}, z.core.$strict>;
|
|
3730
|
+
sourceId: z.ZodString;
|
|
3731
|
+
sourceGeneration: z.ZodNumber;
|
|
3732
|
+
threadId: z.ZodString;
|
|
3733
|
+
afterAttempt: z.ZodNumber;
|
|
3734
|
+
afterObservedAt: z.ZodISODateTime;
|
|
3735
|
+
}, z.core.$strict>], "kind">>;
|
|
3736
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3737
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
3738
|
+
cardId: z.ZodString;
|
|
3739
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3740
|
+
kind: z.ZodLiteral<"work">;
|
|
3741
|
+
ticketId: z.ZodString;
|
|
3742
|
+
assignmentId: z.ZodString;
|
|
3743
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3744
|
+
kind: z.ZodLiteral<"delegate">;
|
|
3745
|
+
runId: z.ZodString;
|
|
3746
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3747
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3748
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
3749
|
+
sessionId: z.ZodString;
|
|
3750
|
+
childSessionId: z.ZodString;
|
|
3751
|
+
turn: z.ZodNumber;
|
|
3752
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3753
|
+
kind: z.ZodLiteral<"team-task">;
|
|
3754
|
+
teamId: z.ZodString;
|
|
3755
|
+
taskId: z.ZodString;
|
|
3756
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3758
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
3759
|
+
turnId: z.ZodString;
|
|
3760
|
+
}, z.core.$strict>], "kind">;
|
|
3761
|
+
sourceGeneration: z.ZodNumber;
|
|
3762
|
+
afterRevision: z.ZodNumber;
|
|
3763
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3764
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
3765
|
+
cardId: z.ZodString;
|
|
3766
|
+
origin: z.ZodObject<{
|
|
3767
|
+
kind: z.ZodLiteral<"work">;
|
|
3768
|
+
ticketId: z.ZodString;
|
|
3769
|
+
assignmentId: z.ZodString;
|
|
3770
|
+
}, z.core.$strict>;
|
|
3771
|
+
sourceId: z.ZodString;
|
|
3772
|
+
sourceGeneration: z.ZodNumber;
|
|
3773
|
+
threadId: z.ZodString;
|
|
3774
|
+
afterAttempt: z.ZodNumber;
|
|
3775
|
+
afterObservedAt: z.ZodISODateTime;
|
|
3776
|
+
}, z.core.$strict>], "kind">>;
|
|
3777
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3398
3778
|
}, z.core.$strict>>;
|
|
3399
3779
|
next: z.ZodOptional<z.ZodString>;
|
|
3400
3780
|
}, z.core.$strict>;
|
|
@@ -3476,6 +3856,89 @@ declare const spec: {
|
|
|
3476
3856
|
reason: "completed" | "cancelled" | "resolved";
|
|
3477
3857
|
};
|
|
3478
3858
|
state: "closed" | "stopped" | "open" | "ignored";
|
|
3859
|
+
completionTarget?: {
|
|
3860
|
+
kind: "subtask-completed";
|
|
3861
|
+
cardId: string;
|
|
3862
|
+
origin: {
|
|
3863
|
+
kind: "work";
|
|
3864
|
+
ticketId: string;
|
|
3865
|
+
assignmentId: string;
|
|
3866
|
+
} | {
|
|
3867
|
+
kind: "delegate";
|
|
3868
|
+
runId: string;
|
|
3869
|
+
sessionId?: string | undefined;
|
|
3870
|
+
} | {
|
|
3871
|
+
kind: "native-subagent";
|
|
3872
|
+
sessionId: string;
|
|
3873
|
+
childSessionId: string;
|
|
3874
|
+
turn: number;
|
|
3875
|
+
} | {
|
|
3876
|
+
kind: "team-task";
|
|
3877
|
+
teamId: string;
|
|
3878
|
+
taskId: string;
|
|
3879
|
+
sessionId?: string | undefined;
|
|
3880
|
+
} | {
|
|
3881
|
+
kind: "group-turn";
|
|
3882
|
+
turnId: string;
|
|
3883
|
+
};
|
|
3884
|
+
sourceGeneration: number;
|
|
3885
|
+
afterRevision: number;
|
|
3886
|
+
} | {
|
|
3887
|
+
kind: "ci-completed";
|
|
3888
|
+
cardId: string;
|
|
3889
|
+
origin: {
|
|
3890
|
+
kind: "work";
|
|
3891
|
+
ticketId: string;
|
|
3892
|
+
assignmentId: string;
|
|
3893
|
+
};
|
|
3894
|
+
sourceId: string;
|
|
3895
|
+
sourceGeneration: number;
|
|
3896
|
+
threadId: string;
|
|
3897
|
+
afterAttempt: number;
|
|
3898
|
+
afterObservedAt: string;
|
|
3899
|
+
} | undefined;
|
|
3900
|
+
when?: {
|
|
3901
|
+
kind: "subtask-completed";
|
|
3902
|
+
cardId: string;
|
|
3903
|
+
origin: {
|
|
3904
|
+
kind: "work";
|
|
3905
|
+
ticketId: string;
|
|
3906
|
+
assignmentId: string;
|
|
3907
|
+
} | {
|
|
3908
|
+
kind: "delegate";
|
|
3909
|
+
runId: string;
|
|
3910
|
+
sessionId?: string | undefined;
|
|
3911
|
+
} | {
|
|
3912
|
+
kind: "native-subagent";
|
|
3913
|
+
sessionId: string;
|
|
3914
|
+
childSessionId: string;
|
|
3915
|
+
turn: number;
|
|
3916
|
+
} | {
|
|
3917
|
+
kind: "team-task";
|
|
3918
|
+
teamId: string;
|
|
3919
|
+
taskId: string;
|
|
3920
|
+
sessionId?: string | undefined;
|
|
3921
|
+
} | {
|
|
3922
|
+
kind: "group-turn";
|
|
3923
|
+
turnId: string;
|
|
3924
|
+
};
|
|
3925
|
+
sourceGeneration: number;
|
|
3926
|
+
afterRevision: number;
|
|
3927
|
+
} | {
|
|
3928
|
+
kind: "ci-completed";
|
|
3929
|
+
cardId: string;
|
|
3930
|
+
origin: {
|
|
3931
|
+
kind: "work";
|
|
3932
|
+
ticketId: string;
|
|
3933
|
+
assignmentId: string;
|
|
3934
|
+
};
|
|
3935
|
+
sourceId: string;
|
|
3936
|
+
sourceGeneration: number;
|
|
3937
|
+
threadId: string;
|
|
3938
|
+
afterAttempt: number;
|
|
3939
|
+
afterObservedAt: string;
|
|
3940
|
+
} | undefined;
|
|
3941
|
+
deadlineAt?: string | undefined;
|
|
3479
3942
|
}[];
|
|
3480
3943
|
next?: string | undefined;
|
|
3481
3944
|
};
|
|
@@ -3557,6 +4020,89 @@ declare const spec: {
|
|
|
3557
4020
|
reason: "completed" | "cancelled" | "resolved";
|
|
3558
4021
|
};
|
|
3559
4022
|
state: "closed" | "stopped" | "open" | "ignored";
|
|
4023
|
+
completionTarget?: {
|
|
4024
|
+
kind: "subtask-completed";
|
|
4025
|
+
cardId: string;
|
|
4026
|
+
origin: {
|
|
4027
|
+
kind: "work";
|
|
4028
|
+
ticketId: string;
|
|
4029
|
+
assignmentId: string;
|
|
4030
|
+
} | {
|
|
4031
|
+
kind: "delegate";
|
|
4032
|
+
runId: string;
|
|
4033
|
+
sessionId?: string | undefined;
|
|
4034
|
+
} | {
|
|
4035
|
+
kind: "native-subagent";
|
|
4036
|
+
sessionId: string;
|
|
4037
|
+
childSessionId: string;
|
|
4038
|
+
turn: number;
|
|
4039
|
+
} | {
|
|
4040
|
+
kind: "team-task";
|
|
4041
|
+
teamId: string;
|
|
4042
|
+
taskId: string;
|
|
4043
|
+
sessionId?: string | undefined;
|
|
4044
|
+
} | {
|
|
4045
|
+
kind: "group-turn";
|
|
4046
|
+
turnId: string;
|
|
4047
|
+
};
|
|
4048
|
+
sourceGeneration: number;
|
|
4049
|
+
afterRevision: number;
|
|
4050
|
+
} | {
|
|
4051
|
+
kind: "ci-completed";
|
|
4052
|
+
cardId: string;
|
|
4053
|
+
origin: {
|
|
4054
|
+
kind: "work";
|
|
4055
|
+
ticketId: string;
|
|
4056
|
+
assignmentId: string;
|
|
4057
|
+
};
|
|
4058
|
+
sourceId: string;
|
|
4059
|
+
sourceGeneration: number;
|
|
4060
|
+
threadId: string;
|
|
4061
|
+
afterAttempt: number;
|
|
4062
|
+
afterObservedAt: string;
|
|
4063
|
+
} | undefined;
|
|
4064
|
+
when?: {
|
|
4065
|
+
kind: "subtask-completed";
|
|
4066
|
+
cardId: string;
|
|
4067
|
+
origin: {
|
|
4068
|
+
kind: "work";
|
|
4069
|
+
ticketId: string;
|
|
4070
|
+
assignmentId: string;
|
|
4071
|
+
} | {
|
|
4072
|
+
kind: "delegate";
|
|
4073
|
+
runId: string;
|
|
4074
|
+
sessionId?: string | undefined;
|
|
4075
|
+
} | {
|
|
4076
|
+
kind: "native-subagent";
|
|
4077
|
+
sessionId: string;
|
|
4078
|
+
childSessionId: string;
|
|
4079
|
+
turn: number;
|
|
4080
|
+
} | {
|
|
4081
|
+
kind: "team-task";
|
|
4082
|
+
teamId: string;
|
|
4083
|
+
taskId: string;
|
|
4084
|
+
sessionId?: string | undefined;
|
|
4085
|
+
} | {
|
|
4086
|
+
kind: "group-turn";
|
|
4087
|
+
turnId: string;
|
|
4088
|
+
};
|
|
4089
|
+
sourceGeneration: number;
|
|
4090
|
+
afterRevision: number;
|
|
4091
|
+
} | {
|
|
4092
|
+
kind: "ci-completed";
|
|
4093
|
+
cardId: string;
|
|
4094
|
+
origin: {
|
|
4095
|
+
kind: "work";
|
|
4096
|
+
ticketId: string;
|
|
4097
|
+
assignmentId: string;
|
|
4098
|
+
};
|
|
4099
|
+
sourceId: string;
|
|
4100
|
+
sourceGeneration: number;
|
|
4101
|
+
threadId: string;
|
|
4102
|
+
afterAttempt: number;
|
|
4103
|
+
afterObservedAt: string;
|
|
4104
|
+
} | undefined;
|
|
4105
|
+
deadlineAt?: string | undefined;
|
|
3560
4106
|
}[];
|
|
3561
4107
|
next?: string | undefined;
|
|
3562
4108
|
};
|
|
@@ -3979,6 +4525,48 @@ declare const spec: {
|
|
|
3979
4525
|
request: z.ZodString;
|
|
3980
4526
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3981
4527
|
}, z.core.$strict>>;
|
|
4528
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4529
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
4530
|
+
cardId: z.ZodString;
|
|
4531
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4532
|
+
kind: z.ZodLiteral<"work">;
|
|
4533
|
+
ticketId: z.ZodString;
|
|
4534
|
+
assignmentId: z.ZodString;
|
|
4535
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4536
|
+
kind: z.ZodLiteral<"delegate">;
|
|
4537
|
+
runId: z.ZodString;
|
|
4538
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4539
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4540
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
4541
|
+
sessionId: z.ZodString;
|
|
4542
|
+
childSessionId: z.ZodString;
|
|
4543
|
+
turn: z.ZodNumber;
|
|
4544
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4545
|
+
kind: z.ZodLiteral<"team-task">;
|
|
4546
|
+
teamId: z.ZodString;
|
|
4547
|
+
taskId: z.ZodString;
|
|
4548
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4550
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
4551
|
+
turnId: z.ZodString;
|
|
4552
|
+
}, z.core.$strict>], "kind">;
|
|
4553
|
+
sourceGeneration: z.ZodNumber;
|
|
4554
|
+
afterRevision: z.ZodNumber;
|
|
4555
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4556
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
4557
|
+
cardId: z.ZodString;
|
|
4558
|
+
origin: z.ZodObject<{
|
|
4559
|
+
kind: z.ZodLiteral<"work">;
|
|
4560
|
+
ticketId: z.ZodString;
|
|
4561
|
+
assignmentId: z.ZodString;
|
|
4562
|
+
}, z.core.$strict>;
|
|
4563
|
+
sourceId: z.ZodString;
|
|
4564
|
+
sourceGeneration: z.ZodNumber;
|
|
4565
|
+
threadId: z.ZodString;
|
|
4566
|
+
afterAttempt: z.ZodNumber;
|
|
4567
|
+
afterObservedAt: z.ZodISODateTime;
|
|
4568
|
+
}, z.core.$strict>], "kind">>;
|
|
4569
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3982
4570
|
}, z.core.$strict>;
|
|
3983
4571
|
commandId: z.ZodUUID;
|
|
3984
4572
|
}, z.core.$strict>;
|
|
@@ -4014,6 +4602,48 @@ declare const spec: {
|
|
|
4014
4602
|
request: string;
|
|
4015
4603
|
deadlineAt?: string | undefined;
|
|
4016
4604
|
} | undefined;
|
|
4605
|
+
when?: {
|
|
4606
|
+
kind: "subtask-completed";
|
|
4607
|
+
cardId: string;
|
|
4608
|
+
origin: {
|
|
4609
|
+
kind: "work";
|
|
4610
|
+
ticketId: string;
|
|
4611
|
+
assignmentId: string;
|
|
4612
|
+
} | {
|
|
4613
|
+
kind: "delegate";
|
|
4614
|
+
runId: string;
|
|
4615
|
+
sessionId?: string | undefined;
|
|
4616
|
+
} | {
|
|
4617
|
+
kind: "native-subagent";
|
|
4618
|
+
sessionId: string;
|
|
4619
|
+
childSessionId: string;
|
|
4620
|
+
turn: number;
|
|
4621
|
+
} | {
|
|
4622
|
+
kind: "team-task";
|
|
4623
|
+
teamId: string;
|
|
4624
|
+
taskId: string;
|
|
4625
|
+
sessionId?: string | undefined;
|
|
4626
|
+
} | {
|
|
4627
|
+
kind: "group-turn";
|
|
4628
|
+
turnId: string;
|
|
4629
|
+
};
|
|
4630
|
+
sourceGeneration: number;
|
|
4631
|
+
afterRevision: number;
|
|
4632
|
+
} | {
|
|
4633
|
+
kind: "ci-completed";
|
|
4634
|
+
cardId: string;
|
|
4635
|
+
origin: {
|
|
4636
|
+
kind: "work";
|
|
4637
|
+
ticketId: string;
|
|
4638
|
+
assignmentId: string;
|
|
4639
|
+
};
|
|
4640
|
+
sourceId: string;
|
|
4641
|
+
sourceGeneration: number;
|
|
4642
|
+
threadId: string;
|
|
4643
|
+
afterAttempt: number;
|
|
4644
|
+
afterObservedAt: string;
|
|
4645
|
+
} | undefined;
|
|
4646
|
+
deadlineAt?: string | undefined;
|
|
4017
4647
|
};
|
|
4018
4648
|
commandId: string;
|
|
4019
4649
|
};
|
|
@@ -4049,6 +4679,48 @@ declare const spec: {
|
|
|
4049
4679
|
request: string;
|
|
4050
4680
|
deadlineAt?: string | undefined;
|
|
4051
4681
|
} | undefined;
|
|
4682
|
+
when?: {
|
|
4683
|
+
kind: "subtask-completed";
|
|
4684
|
+
cardId: string;
|
|
4685
|
+
origin: {
|
|
4686
|
+
kind: "work";
|
|
4687
|
+
ticketId: string;
|
|
4688
|
+
assignmentId: string;
|
|
4689
|
+
} | {
|
|
4690
|
+
kind: "delegate";
|
|
4691
|
+
runId: string;
|
|
4692
|
+
sessionId?: string | undefined;
|
|
4693
|
+
} | {
|
|
4694
|
+
kind: "native-subagent";
|
|
4695
|
+
sessionId: string;
|
|
4696
|
+
childSessionId: string;
|
|
4697
|
+
turn: number;
|
|
4698
|
+
} | {
|
|
4699
|
+
kind: "team-task";
|
|
4700
|
+
teamId: string;
|
|
4701
|
+
taskId: string;
|
|
4702
|
+
sessionId?: string | undefined;
|
|
4703
|
+
} | {
|
|
4704
|
+
kind: "group-turn";
|
|
4705
|
+
turnId: string;
|
|
4706
|
+
};
|
|
4707
|
+
sourceGeneration: number;
|
|
4708
|
+
afterRevision: number;
|
|
4709
|
+
} | {
|
|
4710
|
+
kind: "ci-completed";
|
|
4711
|
+
cardId: string;
|
|
4712
|
+
origin: {
|
|
4713
|
+
kind: "work";
|
|
4714
|
+
ticketId: string;
|
|
4715
|
+
assignmentId: string;
|
|
4716
|
+
};
|
|
4717
|
+
sourceId: string;
|
|
4718
|
+
sourceGeneration: number;
|
|
4719
|
+
threadId: string;
|
|
4720
|
+
afterAttempt: number;
|
|
4721
|
+
afterObservedAt: string;
|
|
4722
|
+
} | undefined;
|
|
4723
|
+
deadlineAt?: string | undefined;
|
|
4052
4724
|
};
|
|
4053
4725
|
commandId: string;
|
|
4054
4726
|
};
|
|
@@ -4088,6 +4760,48 @@ declare const spec: {
|
|
|
4088
4760
|
request: z.ZodString;
|
|
4089
4761
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4090
4762
|
}, z.core.$strict>>;
|
|
4763
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4764
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
4765
|
+
cardId: z.ZodString;
|
|
4766
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4767
|
+
kind: z.ZodLiteral<"work">;
|
|
4768
|
+
ticketId: z.ZodString;
|
|
4769
|
+
assignmentId: z.ZodString;
|
|
4770
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4771
|
+
kind: z.ZodLiteral<"delegate">;
|
|
4772
|
+
runId: z.ZodString;
|
|
4773
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4774
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4775
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
4776
|
+
sessionId: z.ZodString;
|
|
4777
|
+
childSessionId: z.ZodString;
|
|
4778
|
+
turn: z.ZodNumber;
|
|
4779
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4780
|
+
kind: z.ZodLiteral<"team-task">;
|
|
4781
|
+
teamId: z.ZodString;
|
|
4782
|
+
taskId: z.ZodString;
|
|
4783
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4784
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4785
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
4786
|
+
turnId: z.ZodString;
|
|
4787
|
+
}, z.core.$strict>], "kind">;
|
|
4788
|
+
sourceGeneration: z.ZodNumber;
|
|
4789
|
+
afterRevision: z.ZodNumber;
|
|
4790
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4791
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
4792
|
+
cardId: z.ZodString;
|
|
4793
|
+
origin: z.ZodObject<{
|
|
4794
|
+
kind: z.ZodLiteral<"work">;
|
|
4795
|
+
ticketId: z.ZodString;
|
|
4796
|
+
assignmentId: z.ZodString;
|
|
4797
|
+
}, z.core.$strict>;
|
|
4798
|
+
sourceId: z.ZodString;
|
|
4799
|
+
sourceGeneration: z.ZodNumber;
|
|
4800
|
+
threadId: z.ZodString;
|
|
4801
|
+
afterAttempt: z.ZodNumber;
|
|
4802
|
+
afterObservedAt: z.ZodISODateTime;
|
|
4803
|
+
}, z.core.$strict>], "kind">>;
|
|
4804
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4091
4805
|
}, z.core.$strict>;
|
|
4092
4806
|
commandId: z.ZodUUID;
|
|
4093
4807
|
}, z.core.$strict>;
|
|
@@ -4123,6 +4837,48 @@ declare const spec: {
|
|
|
4123
4837
|
request: string;
|
|
4124
4838
|
deadlineAt?: string | undefined;
|
|
4125
4839
|
} | undefined;
|
|
4840
|
+
when?: {
|
|
4841
|
+
kind: "subtask-completed";
|
|
4842
|
+
cardId: string;
|
|
4843
|
+
origin: {
|
|
4844
|
+
kind: "work";
|
|
4845
|
+
ticketId: string;
|
|
4846
|
+
assignmentId: string;
|
|
4847
|
+
} | {
|
|
4848
|
+
kind: "delegate";
|
|
4849
|
+
runId: string;
|
|
4850
|
+
sessionId?: string | undefined;
|
|
4851
|
+
} | {
|
|
4852
|
+
kind: "native-subagent";
|
|
4853
|
+
sessionId: string;
|
|
4854
|
+
childSessionId: string;
|
|
4855
|
+
turn: number;
|
|
4856
|
+
} | {
|
|
4857
|
+
kind: "team-task";
|
|
4858
|
+
teamId: string;
|
|
4859
|
+
taskId: string;
|
|
4860
|
+
sessionId?: string | undefined;
|
|
4861
|
+
} | {
|
|
4862
|
+
kind: "group-turn";
|
|
4863
|
+
turnId: string;
|
|
4864
|
+
};
|
|
4865
|
+
sourceGeneration: number;
|
|
4866
|
+
afterRevision: number;
|
|
4867
|
+
} | {
|
|
4868
|
+
kind: "ci-completed";
|
|
4869
|
+
cardId: string;
|
|
4870
|
+
origin: {
|
|
4871
|
+
kind: "work";
|
|
4872
|
+
ticketId: string;
|
|
4873
|
+
assignmentId: string;
|
|
4874
|
+
};
|
|
4875
|
+
sourceId: string;
|
|
4876
|
+
sourceGeneration: number;
|
|
4877
|
+
threadId: string;
|
|
4878
|
+
afterAttempt: number;
|
|
4879
|
+
afterObservedAt: string;
|
|
4880
|
+
} | undefined;
|
|
4881
|
+
deadlineAt?: string | undefined;
|
|
4126
4882
|
};
|
|
4127
4883
|
commandId: string;
|
|
4128
4884
|
};
|
|
@@ -4158,6 +4914,48 @@ declare const spec: {
|
|
|
4158
4914
|
request: string;
|
|
4159
4915
|
deadlineAt?: string | undefined;
|
|
4160
4916
|
} | undefined;
|
|
4917
|
+
when?: {
|
|
4918
|
+
kind: "subtask-completed";
|
|
4919
|
+
cardId: string;
|
|
4920
|
+
origin: {
|
|
4921
|
+
kind: "work";
|
|
4922
|
+
ticketId: string;
|
|
4923
|
+
assignmentId: string;
|
|
4924
|
+
} | {
|
|
4925
|
+
kind: "delegate";
|
|
4926
|
+
runId: string;
|
|
4927
|
+
sessionId?: string | undefined;
|
|
4928
|
+
} | {
|
|
4929
|
+
kind: "native-subagent";
|
|
4930
|
+
sessionId: string;
|
|
4931
|
+
childSessionId: string;
|
|
4932
|
+
turn: number;
|
|
4933
|
+
} | {
|
|
4934
|
+
kind: "team-task";
|
|
4935
|
+
teamId: string;
|
|
4936
|
+
taskId: string;
|
|
4937
|
+
sessionId?: string | undefined;
|
|
4938
|
+
} | {
|
|
4939
|
+
kind: "group-turn";
|
|
4940
|
+
turnId: string;
|
|
4941
|
+
};
|
|
4942
|
+
sourceGeneration: number;
|
|
4943
|
+
afterRevision: number;
|
|
4944
|
+
} | {
|
|
4945
|
+
kind: "ci-completed";
|
|
4946
|
+
cardId: string;
|
|
4947
|
+
origin: {
|
|
4948
|
+
kind: "work";
|
|
4949
|
+
ticketId: string;
|
|
4950
|
+
assignmentId: string;
|
|
4951
|
+
};
|
|
4952
|
+
sourceId: string;
|
|
4953
|
+
sourceGeneration: number;
|
|
4954
|
+
threadId: string;
|
|
4955
|
+
afterAttempt: number;
|
|
4956
|
+
afterObservedAt: string;
|
|
4957
|
+
} | undefined;
|
|
4958
|
+
deadlineAt?: string | undefined;
|
|
4161
4959
|
};
|
|
4162
4960
|
commandId: string;
|
|
4163
4961
|
};
|
|
@@ -9984,6 +10782,10 @@ declare const spec: {
|
|
|
9984
10782
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
9985
10783
|
}, z.core.$strict>>;
|
|
9986
10784
|
}, z.core.$strict>>;
|
|
10785
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
10786
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
10787
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
10788
|
+
}>>;
|
|
9987
10789
|
}, z.core.$strict>>;
|
|
9988
10790
|
failureKey: z.ZodOptional<z.ZodString>;
|
|
9989
10791
|
id: z.ZodUUID;
|
|
@@ -10828,6 +11630,7 @@ declare const spec: {
|
|
|
10828
11630
|
}[];
|
|
10829
11631
|
operationId?: string | undefined;
|
|
10830
11632
|
outcome?: "inconclusive" | "improved" | "no-benefit" | undefined;
|
|
11633
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
10831
11634
|
} | undefined;
|
|
10832
11635
|
failureKey?: string | undefined;
|
|
10833
11636
|
evaluation?: {
|
|
@@ -11251,6 +12054,7 @@ declare const spec: {
|
|
|
11251
12054
|
}[];
|
|
11252
12055
|
operationId?: string | undefined;
|
|
11253
12056
|
outcome?: "inconclusive" | "improved" | "no-benefit" | undefined;
|
|
12057
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
11254
12058
|
} | undefined;
|
|
11255
12059
|
failureKey?: string | undefined;
|
|
11256
12060
|
evaluation?: {
|
|
@@ -11421,6 +12225,10 @@ declare const spec: {
|
|
|
11421
12225
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
11422
12226
|
}, z.core.$strict>>;
|
|
11423
12227
|
}, z.core.$strict>>;
|
|
12228
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
12229
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
12230
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
12231
|
+
}>>;
|
|
11424
12232
|
}, z.core.$strict>>;
|
|
11425
12233
|
failureKey: z.ZodOptional<z.ZodString>;
|
|
11426
12234
|
id: z.ZodUUID;
|
|
@@ -12249,6 +13057,7 @@ declare const spec: {
|
|
|
12249
13057
|
}[];
|
|
12250
13058
|
operationId?: string | undefined;
|
|
12251
13059
|
outcome?: "inconclusive" | "improved" | "no-benefit" | undefined;
|
|
13060
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
12252
13061
|
} | undefined;
|
|
12253
13062
|
failureKey?: string | undefined;
|
|
12254
13063
|
evaluation?: {
|
|
@@ -12656,6 +13465,7 @@ declare const spec: {
|
|
|
12656
13465
|
}[];
|
|
12657
13466
|
operationId?: string | undefined;
|
|
12658
13467
|
outcome?: "inconclusive" | "improved" | "no-benefit" | undefined;
|
|
13468
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
12659
13469
|
} | undefined;
|
|
12660
13470
|
failureKey?: string | undefined;
|
|
12661
13471
|
evaluation?: {
|
|
@@ -12812,6 +13622,10 @@ declare const spec: {
|
|
|
12812
13622
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
12813
13623
|
}, z.core.$strict>>;
|
|
12814
13624
|
}, z.core.$strict>>;
|
|
13625
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
13626
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
13627
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
13628
|
+
}>>;
|
|
12815
13629
|
}, z.core.$strict>>;
|
|
12816
13630
|
failureKey: z.ZodOptional<z.ZodString>;
|
|
12817
13631
|
id: z.ZodUUID;
|
|
@@ -13643,6 +14457,7 @@ declare const spec: {
|
|
|
13643
14457
|
}[];
|
|
13644
14458
|
operationId?: string | undefined;
|
|
13645
14459
|
outcome?: "inconclusive" | "improved" | "no-benefit" | undefined;
|
|
14460
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
13646
14461
|
} | undefined;
|
|
13647
14462
|
failureKey?: string | undefined;
|
|
13648
14463
|
evaluation?: {
|
|
@@ -14053,6 +14868,7 @@ declare const spec: {
|
|
|
14053
14868
|
}[];
|
|
14054
14869
|
operationId?: string | undefined;
|
|
14055
14870
|
outcome?: "inconclusive" | "improved" | "no-benefit" | undefined;
|
|
14871
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
14056
14872
|
} | undefined;
|
|
14057
14873
|
failureKey?: string | undefined;
|
|
14058
14874
|
evaluation?: {
|
|
@@ -14437,6 +15253,10 @@ declare const spec: {
|
|
|
14437
15253
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
14438
15254
|
}, z.core.$strict>>;
|
|
14439
15255
|
}, z.core.$strict>>;
|
|
15256
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
15257
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
15258
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
15259
|
+
}>>;
|
|
14440
15260
|
candidateId: z.ZodUUID;
|
|
14441
15261
|
expectedRevision: z.ZodNumber;
|
|
14442
15262
|
action: z.ZodLiteral<"settle-method-evaluation">;
|
|
@@ -15352,6 +16172,7 @@ declare const spec: {
|
|
|
15352
16172
|
candidateId: string;
|
|
15353
16173
|
expectedRevision: number;
|
|
15354
16174
|
action: "settle-method-evaluation";
|
|
16175
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
15355
16176
|
} | {
|
|
15356
16177
|
action: "import-dataset";
|
|
15357
16178
|
dataset: {
|
|
@@ -16171,6 +16992,7 @@ declare const spec: {
|
|
|
16171
16992
|
candidateId: string;
|
|
16172
16993
|
expectedRevision: number;
|
|
16173
16994
|
action: "settle-method-evaluation";
|
|
16995
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
16174
16996
|
} | {
|
|
16175
16997
|
action: "import-dataset";
|
|
16176
16998
|
dataset: {
|
|
@@ -17411,6 +18233,10 @@ declare const spec: {
|
|
|
17411
18233
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
17412
18234
|
}, z.core.$strict>>;
|
|
17413
18235
|
}, z.core.$strict>>;
|
|
18236
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
18237
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
18238
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
18239
|
+
}>>;
|
|
17414
18240
|
candidateId: z.ZodUUID;
|
|
17415
18241
|
expectedRevision: z.ZodNumber;
|
|
17416
18242
|
action: z.ZodLiteral<"settle-method-evaluation">;
|
|
@@ -18326,6 +19152,7 @@ declare const spec: {
|
|
|
18326
19152
|
candidateId: string;
|
|
18327
19153
|
expectedRevision: number;
|
|
18328
19154
|
action: "settle-method-evaluation";
|
|
19155
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
18329
19156
|
} | {
|
|
18330
19157
|
action: "import-dataset";
|
|
18331
19158
|
dataset: {
|
|
@@ -19145,6 +19972,7 @@ declare const spec: {
|
|
|
19145
19972
|
candidateId: string;
|
|
19146
19973
|
expectedRevision: number;
|
|
19147
19974
|
action: "settle-method-evaluation";
|
|
19975
|
+
failureCode?: "native-history-unavailable" | "evaluation-interrupted" | undefined;
|
|
19148
19976
|
} | {
|
|
19149
19977
|
action: "import-dataset";
|
|
19150
19978
|
dataset: {
|