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
|
@@ -112,6 +112,48 @@ export declare const commandBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
112
112
|
request: z.ZodString;
|
|
113
113
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
114
114
|
}, z.core.$strict>>;
|
|
115
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
116
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
117
|
+
cardId: z.ZodString;
|
|
118
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
119
|
+
kind: z.ZodLiteral<"work">;
|
|
120
|
+
ticketId: z.ZodString;
|
|
121
|
+
assignmentId: z.ZodString;
|
|
122
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
123
|
+
kind: z.ZodLiteral<"delegate">;
|
|
124
|
+
runId: z.ZodString;
|
|
125
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
126
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
127
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
128
|
+
sessionId: z.ZodString;
|
|
129
|
+
childSessionId: z.ZodString;
|
|
130
|
+
turn: z.ZodNumber;
|
|
131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"team-task">;
|
|
133
|
+
teamId: z.ZodString;
|
|
134
|
+
taskId: z.ZodString;
|
|
135
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
136
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
137
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
138
|
+
turnId: z.ZodString;
|
|
139
|
+
}, z.core.$strict>], "kind">;
|
|
140
|
+
sourceGeneration: z.ZodNumber;
|
|
141
|
+
afterRevision: z.ZodNumber;
|
|
142
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
143
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
144
|
+
cardId: z.ZodString;
|
|
145
|
+
origin: z.ZodObject<{
|
|
146
|
+
kind: z.ZodLiteral<"work">;
|
|
147
|
+
ticketId: z.ZodString;
|
|
148
|
+
assignmentId: z.ZodString;
|
|
149
|
+
}, z.core.$strict>;
|
|
150
|
+
sourceId: z.ZodString;
|
|
151
|
+
sourceGeneration: z.ZodNumber;
|
|
152
|
+
threadId: z.ZodString;
|
|
153
|
+
afterAttempt: z.ZodNumber;
|
|
154
|
+
afterObservedAt: z.ZodISODateTime;
|
|
155
|
+
}, z.core.$strict>], "kind">>;
|
|
156
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
115
157
|
}, z.core.$strict>;
|
|
116
158
|
}, z.core.$strict>;
|
|
117
159
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -134,6 +176,48 @@ export declare const commandBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
134
176
|
request: z.ZodString;
|
|
135
177
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
136
178
|
}, z.core.$strict>>;
|
|
179
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
180
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
181
|
+
cardId: z.ZodString;
|
|
182
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
183
|
+
kind: z.ZodLiteral<"work">;
|
|
184
|
+
ticketId: z.ZodString;
|
|
185
|
+
assignmentId: z.ZodString;
|
|
186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
187
|
+
kind: z.ZodLiteral<"delegate">;
|
|
188
|
+
runId: z.ZodString;
|
|
189
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
191
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
192
|
+
sessionId: z.ZodString;
|
|
193
|
+
childSessionId: z.ZodString;
|
|
194
|
+
turn: z.ZodNumber;
|
|
195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
196
|
+
kind: z.ZodLiteral<"team-task">;
|
|
197
|
+
teamId: z.ZodString;
|
|
198
|
+
taskId: z.ZodString;
|
|
199
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
200
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
201
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
202
|
+
turnId: z.ZodString;
|
|
203
|
+
}, z.core.$strict>], "kind">;
|
|
204
|
+
sourceGeneration: z.ZodNumber;
|
|
205
|
+
afterRevision: z.ZodNumber;
|
|
206
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
207
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
208
|
+
cardId: z.ZodString;
|
|
209
|
+
origin: z.ZodObject<{
|
|
210
|
+
kind: z.ZodLiteral<"work">;
|
|
211
|
+
ticketId: z.ZodString;
|
|
212
|
+
assignmentId: z.ZodString;
|
|
213
|
+
}, z.core.$strict>;
|
|
214
|
+
sourceId: z.ZodString;
|
|
215
|
+
sourceGeneration: z.ZodNumber;
|
|
216
|
+
threadId: z.ZodString;
|
|
217
|
+
afterAttempt: z.ZodNumber;
|
|
218
|
+
afterObservedAt: z.ZodISODateTime;
|
|
219
|
+
}, z.core.$strict>], "kind">>;
|
|
220
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
137
221
|
source: z.ZodObject<{
|
|
138
222
|
kind: z.ZodLiteral<"group-proposal">;
|
|
139
223
|
sessionId: z.ZodString;
|
|
@@ -178,6 +262,48 @@ export declare const commandBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
178
262
|
request: z.ZodString;
|
|
179
263
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
180
264
|
}, z.core.$strict>>;
|
|
265
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
266
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
267
|
+
cardId: z.ZodString;
|
|
268
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
269
|
+
kind: z.ZodLiteral<"work">;
|
|
270
|
+
ticketId: z.ZodString;
|
|
271
|
+
assignmentId: z.ZodString;
|
|
272
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
273
|
+
kind: z.ZodLiteral<"delegate">;
|
|
274
|
+
runId: z.ZodString;
|
|
275
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
276
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
277
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
278
|
+
sessionId: z.ZodString;
|
|
279
|
+
childSessionId: z.ZodString;
|
|
280
|
+
turn: z.ZodNumber;
|
|
281
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
282
|
+
kind: z.ZodLiteral<"team-task">;
|
|
283
|
+
teamId: z.ZodString;
|
|
284
|
+
taskId: z.ZodString;
|
|
285
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
286
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
287
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
288
|
+
turnId: z.ZodString;
|
|
289
|
+
}, z.core.$strict>], "kind">;
|
|
290
|
+
sourceGeneration: z.ZodNumber;
|
|
291
|
+
afterRevision: z.ZodNumber;
|
|
292
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
293
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
294
|
+
cardId: z.ZodString;
|
|
295
|
+
origin: z.ZodObject<{
|
|
296
|
+
kind: z.ZodLiteral<"work">;
|
|
297
|
+
ticketId: z.ZodString;
|
|
298
|
+
assignmentId: z.ZodString;
|
|
299
|
+
}, z.core.$strict>;
|
|
300
|
+
sourceId: z.ZodString;
|
|
301
|
+
sourceGeneration: z.ZodNumber;
|
|
302
|
+
threadId: z.ZodString;
|
|
303
|
+
afterAttempt: z.ZodNumber;
|
|
304
|
+
afterObservedAt: z.ZodISODateTime;
|
|
305
|
+
}, z.core.$strict>], "kind">>;
|
|
306
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
181
307
|
}, z.core.$strict>;
|
|
182
308
|
}, z.core.$strict>;
|
|
183
309
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -773,6 +899,10 @@ export declare const commandBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
773
899
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
774
900
|
}, z.core.$strict>>;
|
|
775
901
|
}, z.core.$strict>>;
|
|
902
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
903
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
904
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
905
|
+
}>>;
|
|
776
906
|
candidateId: z.ZodUUID;
|
|
777
907
|
expectedRevision: z.ZodNumber;
|
|
778
908
|
action: z.ZodLiteral<"settle-method-evaluation">;
|
|
@@ -1907,6 +2037,48 @@ export declare const commandSchema: z.ZodObject<{
|
|
|
1907
2037
|
request: z.ZodString;
|
|
1908
2038
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1909
2039
|
}, z.core.$strict>>;
|
|
2040
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2041
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
2042
|
+
cardId: z.ZodString;
|
|
2043
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2044
|
+
kind: z.ZodLiteral<"work">;
|
|
2045
|
+
ticketId: z.ZodString;
|
|
2046
|
+
assignmentId: z.ZodString;
|
|
2047
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2048
|
+
kind: z.ZodLiteral<"delegate">;
|
|
2049
|
+
runId: z.ZodString;
|
|
2050
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2051
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2052
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
2053
|
+
sessionId: z.ZodString;
|
|
2054
|
+
childSessionId: z.ZodString;
|
|
2055
|
+
turn: z.ZodNumber;
|
|
2056
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2057
|
+
kind: z.ZodLiteral<"team-task">;
|
|
2058
|
+
teamId: z.ZodString;
|
|
2059
|
+
taskId: z.ZodString;
|
|
2060
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2061
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2062
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
2063
|
+
turnId: z.ZodString;
|
|
2064
|
+
}, z.core.$strict>], "kind">;
|
|
2065
|
+
sourceGeneration: z.ZodNumber;
|
|
2066
|
+
afterRevision: z.ZodNumber;
|
|
2067
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2068
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
2069
|
+
cardId: z.ZodString;
|
|
2070
|
+
origin: z.ZodObject<{
|
|
2071
|
+
kind: z.ZodLiteral<"work">;
|
|
2072
|
+
ticketId: z.ZodString;
|
|
2073
|
+
assignmentId: z.ZodString;
|
|
2074
|
+
}, z.core.$strict>;
|
|
2075
|
+
sourceId: z.ZodString;
|
|
2076
|
+
sourceGeneration: z.ZodNumber;
|
|
2077
|
+
threadId: z.ZodString;
|
|
2078
|
+
afterAttempt: z.ZodNumber;
|
|
2079
|
+
afterObservedAt: z.ZodISODateTime;
|
|
2080
|
+
}, z.core.$strict>], "kind">>;
|
|
2081
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1910
2082
|
}, z.core.$strict>;
|
|
1911
2083
|
}, z.core.$strict>;
|
|
1912
2084
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1929,6 +2101,48 @@ export declare const commandSchema: z.ZodObject<{
|
|
|
1929
2101
|
request: z.ZodString;
|
|
1930
2102
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1931
2103
|
}, z.core.$strict>>;
|
|
2104
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2105
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
2106
|
+
cardId: z.ZodString;
|
|
2107
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2108
|
+
kind: z.ZodLiteral<"work">;
|
|
2109
|
+
ticketId: z.ZodString;
|
|
2110
|
+
assignmentId: z.ZodString;
|
|
2111
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2112
|
+
kind: z.ZodLiteral<"delegate">;
|
|
2113
|
+
runId: z.ZodString;
|
|
2114
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2115
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2116
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
2117
|
+
sessionId: z.ZodString;
|
|
2118
|
+
childSessionId: z.ZodString;
|
|
2119
|
+
turn: z.ZodNumber;
|
|
2120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2121
|
+
kind: z.ZodLiteral<"team-task">;
|
|
2122
|
+
teamId: z.ZodString;
|
|
2123
|
+
taskId: z.ZodString;
|
|
2124
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2125
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2126
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
2127
|
+
turnId: z.ZodString;
|
|
2128
|
+
}, z.core.$strict>], "kind">;
|
|
2129
|
+
sourceGeneration: z.ZodNumber;
|
|
2130
|
+
afterRevision: z.ZodNumber;
|
|
2131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2132
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
2133
|
+
cardId: z.ZodString;
|
|
2134
|
+
origin: z.ZodObject<{
|
|
2135
|
+
kind: z.ZodLiteral<"work">;
|
|
2136
|
+
ticketId: z.ZodString;
|
|
2137
|
+
assignmentId: z.ZodString;
|
|
2138
|
+
}, z.core.$strict>;
|
|
2139
|
+
sourceId: z.ZodString;
|
|
2140
|
+
sourceGeneration: z.ZodNumber;
|
|
2141
|
+
threadId: z.ZodString;
|
|
2142
|
+
afterAttempt: z.ZodNumber;
|
|
2143
|
+
afterObservedAt: z.ZodISODateTime;
|
|
2144
|
+
}, z.core.$strict>], "kind">>;
|
|
2145
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1932
2146
|
source: z.ZodObject<{
|
|
1933
2147
|
kind: z.ZodLiteral<"group-proposal">;
|
|
1934
2148
|
sessionId: z.ZodString;
|
|
@@ -1973,6 +2187,48 @@ export declare const commandSchema: z.ZodObject<{
|
|
|
1973
2187
|
request: z.ZodString;
|
|
1974
2188
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1975
2189
|
}, z.core.$strict>>;
|
|
2190
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2191
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
2192
|
+
cardId: z.ZodString;
|
|
2193
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2194
|
+
kind: z.ZodLiteral<"work">;
|
|
2195
|
+
ticketId: z.ZodString;
|
|
2196
|
+
assignmentId: z.ZodString;
|
|
2197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2198
|
+
kind: z.ZodLiteral<"delegate">;
|
|
2199
|
+
runId: z.ZodString;
|
|
2200
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2201
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2202
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
2203
|
+
sessionId: z.ZodString;
|
|
2204
|
+
childSessionId: z.ZodString;
|
|
2205
|
+
turn: z.ZodNumber;
|
|
2206
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2207
|
+
kind: z.ZodLiteral<"team-task">;
|
|
2208
|
+
teamId: z.ZodString;
|
|
2209
|
+
taskId: z.ZodString;
|
|
2210
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2211
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2212
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
2213
|
+
turnId: z.ZodString;
|
|
2214
|
+
}, z.core.$strict>], "kind">;
|
|
2215
|
+
sourceGeneration: z.ZodNumber;
|
|
2216
|
+
afterRevision: z.ZodNumber;
|
|
2217
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2218
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
2219
|
+
cardId: z.ZodString;
|
|
2220
|
+
origin: z.ZodObject<{
|
|
2221
|
+
kind: z.ZodLiteral<"work">;
|
|
2222
|
+
ticketId: z.ZodString;
|
|
2223
|
+
assignmentId: z.ZodString;
|
|
2224
|
+
}, z.core.$strict>;
|
|
2225
|
+
sourceId: z.ZodString;
|
|
2226
|
+
sourceGeneration: z.ZodNumber;
|
|
2227
|
+
threadId: z.ZodString;
|
|
2228
|
+
afterAttempt: z.ZodNumber;
|
|
2229
|
+
afterObservedAt: z.ZodISODateTime;
|
|
2230
|
+
}, z.core.$strict>], "kind">>;
|
|
2231
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1976
2232
|
}, z.core.$strict>;
|
|
1977
2233
|
}, z.core.$strict>;
|
|
1978
2234
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2568,6 +2824,10 @@ export declare const commandSchema: z.ZodObject<{
|
|
|
2568
2824
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
2569
2825
|
}, z.core.$strict>>;
|
|
2570
2826
|
}, z.core.$strict>>;
|
|
2827
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
2828
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
2829
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
2830
|
+
}>>;
|
|
2571
2831
|
candidateId: z.ZodUUID;
|
|
2572
2832
|
expectedRevision: z.ZodNumber;
|
|
2573
2833
|
action: z.ZodLiteral<"settle-method-evaluation">;
|
|
@@ -4008,6 +4268,48 @@ export declare const requestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4008
4268
|
request: z.ZodString;
|
|
4009
4269
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4010
4270
|
}, z.core.$strict>>;
|
|
4271
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4272
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
4273
|
+
cardId: z.ZodString;
|
|
4274
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4275
|
+
kind: z.ZodLiteral<"work">;
|
|
4276
|
+
ticketId: z.ZodString;
|
|
4277
|
+
assignmentId: z.ZodString;
|
|
4278
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4279
|
+
kind: z.ZodLiteral<"delegate">;
|
|
4280
|
+
runId: z.ZodString;
|
|
4281
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4282
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4283
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
4284
|
+
sessionId: z.ZodString;
|
|
4285
|
+
childSessionId: z.ZodString;
|
|
4286
|
+
turn: z.ZodNumber;
|
|
4287
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4288
|
+
kind: z.ZodLiteral<"team-task">;
|
|
4289
|
+
teamId: z.ZodString;
|
|
4290
|
+
taskId: z.ZodString;
|
|
4291
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4292
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4293
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
4294
|
+
turnId: z.ZodString;
|
|
4295
|
+
}, z.core.$strict>], "kind">;
|
|
4296
|
+
sourceGeneration: z.ZodNumber;
|
|
4297
|
+
afterRevision: z.ZodNumber;
|
|
4298
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4299
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
4300
|
+
cardId: z.ZodString;
|
|
4301
|
+
origin: z.ZodObject<{
|
|
4302
|
+
kind: z.ZodLiteral<"work">;
|
|
4303
|
+
ticketId: z.ZodString;
|
|
4304
|
+
assignmentId: z.ZodString;
|
|
4305
|
+
}, z.core.$strict>;
|
|
4306
|
+
sourceId: z.ZodString;
|
|
4307
|
+
sourceGeneration: z.ZodNumber;
|
|
4308
|
+
threadId: z.ZodString;
|
|
4309
|
+
afterAttempt: z.ZodNumber;
|
|
4310
|
+
afterObservedAt: z.ZodISODateTime;
|
|
4311
|
+
}, z.core.$strict>], "kind">>;
|
|
4312
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4011
4313
|
}, z.core.$strict>;
|
|
4012
4314
|
}, z.core.$strict>;
|
|
4013
4315
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4030,6 +4332,48 @@ export declare const requestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4030
4332
|
request: z.ZodString;
|
|
4031
4333
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4032
4334
|
}, z.core.$strict>>;
|
|
4335
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4336
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
4337
|
+
cardId: z.ZodString;
|
|
4338
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4339
|
+
kind: z.ZodLiteral<"work">;
|
|
4340
|
+
ticketId: z.ZodString;
|
|
4341
|
+
assignmentId: z.ZodString;
|
|
4342
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4343
|
+
kind: z.ZodLiteral<"delegate">;
|
|
4344
|
+
runId: z.ZodString;
|
|
4345
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4347
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
4348
|
+
sessionId: z.ZodString;
|
|
4349
|
+
childSessionId: z.ZodString;
|
|
4350
|
+
turn: z.ZodNumber;
|
|
4351
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4352
|
+
kind: z.ZodLiteral<"team-task">;
|
|
4353
|
+
teamId: z.ZodString;
|
|
4354
|
+
taskId: z.ZodString;
|
|
4355
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4356
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4357
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
4358
|
+
turnId: z.ZodString;
|
|
4359
|
+
}, z.core.$strict>], "kind">;
|
|
4360
|
+
sourceGeneration: z.ZodNumber;
|
|
4361
|
+
afterRevision: z.ZodNumber;
|
|
4362
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4363
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
4364
|
+
cardId: z.ZodString;
|
|
4365
|
+
origin: z.ZodObject<{
|
|
4366
|
+
kind: z.ZodLiteral<"work">;
|
|
4367
|
+
ticketId: z.ZodString;
|
|
4368
|
+
assignmentId: z.ZodString;
|
|
4369
|
+
}, z.core.$strict>;
|
|
4370
|
+
sourceId: z.ZodString;
|
|
4371
|
+
sourceGeneration: z.ZodNumber;
|
|
4372
|
+
threadId: z.ZodString;
|
|
4373
|
+
afterAttempt: z.ZodNumber;
|
|
4374
|
+
afterObservedAt: z.ZodISODateTime;
|
|
4375
|
+
}, z.core.$strict>], "kind">>;
|
|
4376
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4033
4377
|
source: z.ZodObject<{
|
|
4034
4378
|
kind: z.ZodLiteral<"group-proposal">;
|
|
4035
4379
|
sessionId: z.ZodString;
|
|
@@ -4074,6 +4418,48 @@ export declare const requestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4074
4418
|
request: z.ZodString;
|
|
4075
4419
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4076
4420
|
}, z.core.$strict>>;
|
|
4421
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4422
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
4423
|
+
cardId: z.ZodString;
|
|
4424
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4425
|
+
kind: z.ZodLiteral<"work">;
|
|
4426
|
+
ticketId: z.ZodString;
|
|
4427
|
+
assignmentId: z.ZodString;
|
|
4428
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4429
|
+
kind: z.ZodLiteral<"delegate">;
|
|
4430
|
+
runId: z.ZodString;
|
|
4431
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4433
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
4434
|
+
sessionId: z.ZodString;
|
|
4435
|
+
childSessionId: z.ZodString;
|
|
4436
|
+
turn: z.ZodNumber;
|
|
4437
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4438
|
+
kind: z.ZodLiteral<"team-task">;
|
|
4439
|
+
teamId: z.ZodString;
|
|
4440
|
+
taskId: z.ZodString;
|
|
4441
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4442
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4443
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
4444
|
+
turnId: z.ZodString;
|
|
4445
|
+
}, z.core.$strict>], "kind">;
|
|
4446
|
+
sourceGeneration: z.ZodNumber;
|
|
4447
|
+
afterRevision: z.ZodNumber;
|
|
4448
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4449
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
4450
|
+
cardId: z.ZodString;
|
|
4451
|
+
origin: z.ZodObject<{
|
|
4452
|
+
kind: z.ZodLiteral<"work">;
|
|
4453
|
+
ticketId: z.ZodString;
|
|
4454
|
+
assignmentId: z.ZodString;
|
|
4455
|
+
}, z.core.$strict>;
|
|
4456
|
+
sourceId: z.ZodString;
|
|
4457
|
+
sourceGeneration: z.ZodNumber;
|
|
4458
|
+
threadId: z.ZodString;
|
|
4459
|
+
afterAttempt: z.ZodNumber;
|
|
4460
|
+
afterObservedAt: z.ZodISODateTime;
|
|
4461
|
+
}, z.core.$strict>], "kind">>;
|
|
4462
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4077
4463
|
}, z.core.$strict>;
|
|
4078
4464
|
}, z.core.$strict>;
|
|
4079
4465
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4669,6 +5055,10 @@ export declare const requestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4669
5055
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
4670
5056
|
}, z.core.$strict>>;
|
|
4671
5057
|
}, z.core.$strict>>;
|
|
5058
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
5059
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
5060
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
5061
|
+
}>>;
|
|
4672
5062
|
candidateId: z.ZodUUID;
|
|
4673
5063
|
expectedRevision: z.ZodNumber;
|
|
4674
5064
|
action: z.ZodLiteral<"settle-method-evaluation">;
|
|
@@ -6266,6 +6656,89 @@ export declare const replySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6266
6656
|
open: "open";
|
|
6267
6657
|
ignored: "ignored";
|
|
6268
6658
|
}>;
|
|
6659
|
+
completionTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6660
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
6661
|
+
cardId: z.ZodString;
|
|
6662
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6663
|
+
kind: z.ZodLiteral<"work">;
|
|
6664
|
+
ticketId: z.ZodString;
|
|
6665
|
+
assignmentId: z.ZodString;
|
|
6666
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6667
|
+
kind: z.ZodLiteral<"delegate">;
|
|
6668
|
+
runId: z.ZodString;
|
|
6669
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6671
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
6672
|
+
sessionId: z.ZodString;
|
|
6673
|
+
childSessionId: z.ZodString;
|
|
6674
|
+
turn: z.ZodNumber;
|
|
6675
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6676
|
+
kind: z.ZodLiteral<"team-task">;
|
|
6677
|
+
teamId: z.ZodString;
|
|
6678
|
+
taskId: z.ZodString;
|
|
6679
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6680
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6681
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
6682
|
+
turnId: z.ZodString;
|
|
6683
|
+
}, z.core.$strict>], "kind">;
|
|
6684
|
+
sourceGeneration: z.ZodNumber;
|
|
6685
|
+
afterRevision: z.ZodNumber;
|
|
6686
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6687
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
6688
|
+
cardId: z.ZodString;
|
|
6689
|
+
origin: z.ZodObject<{
|
|
6690
|
+
kind: z.ZodLiteral<"work">;
|
|
6691
|
+
ticketId: z.ZodString;
|
|
6692
|
+
assignmentId: z.ZodString;
|
|
6693
|
+
}, z.core.$strict>;
|
|
6694
|
+
sourceId: z.ZodString;
|
|
6695
|
+
sourceGeneration: z.ZodNumber;
|
|
6696
|
+
threadId: z.ZodString;
|
|
6697
|
+
afterAttempt: z.ZodNumber;
|
|
6698
|
+
afterObservedAt: z.ZodISODateTime;
|
|
6699
|
+
}, z.core.$strict>], "kind">>;
|
|
6700
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6701
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
6702
|
+
cardId: z.ZodString;
|
|
6703
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6704
|
+
kind: z.ZodLiteral<"work">;
|
|
6705
|
+
ticketId: z.ZodString;
|
|
6706
|
+
assignmentId: z.ZodString;
|
|
6707
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6708
|
+
kind: z.ZodLiteral<"delegate">;
|
|
6709
|
+
runId: z.ZodString;
|
|
6710
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6711
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6712
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
6713
|
+
sessionId: z.ZodString;
|
|
6714
|
+
childSessionId: z.ZodString;
|
|
6715
|
+
turn: z.ZodNumber;
|
|
6716
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6717
|
+
kind: z.ZodLiteral<"team-task">;
|
|
6718
|
+
teamId: z.ZodString;
|
|
6719
|
+
taskId: z.ZodString;
|
|
6720
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6721
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6722
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
6723
|
+
turnId: z.ZodString;
|
|
6724
|
+
}, z.core.$strict>], "kind">;
|
|
6725
|
+
sourceGeneration: z.ZodNumber;
|
|
6726
|
+
afterRevision: z.ZodNumber;
|
|
6727
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6728
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
6729
|
+
cardId: z.ZodString;
|
|
6730
|
+
origin: z.ZodObject<{
|
|
6731
|
+
kind: z.ZodLiteral<"work">;
|
|
6732
|
+
ticketId: z.ZodString;
|
|
6733
|
+
assignmentId: z.ZodString;
|
|
6734
|
+
}, z.core.$strict>;
|
|
6735
|
+
sourceId: z.ZodString;
|
|
6736
|
+
sourceGeneration: z.ZodNumber;
|
|
6737
|
+
threadId: z.ZodString;
|
|
6738
|
+
afterAttempt: z.ZodNumber;
|
|
6739
|
+
afterObservedAt: z.ZodISODateTime;
|
|
6740
|
+
}, z.core.$strict>], "kind">>;
|
|
6741
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6269
6742
|
}, z.core.$strict>>;
|
|
6270
6743
|
}, z.core.$strict>;
|
|
6271
6744
|
protocolVersion: z.ZodLiteral<1>;
|
|
@@ -6359,6 +6832,89 @@ export declare const replySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6359
6832
|
open: "open";
|
|
6360
6833
|
ignored: "ignored";
|
|
6361
6834
|
}>;
|
|
6835
|
+
completionTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6836
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
6837
|
+
cardId: z.ZodString;
|
|
6838
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6839
|
+
kind: z.ZodLiteral<"work">;
|
|
6840
|
+
ticketId: z.ZodString;
|
|
6841
|
+
assignmentId: z.ZodString;
|
|
6842
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6843
|
+
kind: z.ZodLiteral<"delegate">;
|
|
6844
|
+
runId: z.ZodString;
|
|
6845
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6846
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6847
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
6848
|
+
sessionId: z.ZodString;
|
|
6849
|
+
childSessionId: z.ZodString;
|
|
6850
|
+
turn: z.ZodNumber;
|
|
6851
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6852
|
+
kind: z.ZodLiteral<"team-task">;
|
|
6853
|
+
teamId: z.ZodString;
|
|
6854
|
+
taskId: z.ZodString;
|
|
6855
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6856
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6857
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
6858
|
+
turnId: z.ZodString;
|
|
6859
|
+
}, z.core.$strict>], "kind">;
|
|
6860
|
+
sourceGeneration: z.ZodNumber;
|
|
6861
|
+
afterRevision: z.ZodNumber;
|
|
6862
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6863
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
6864
|
+
cardId: z.ZodString;
|
|
6865
|
+
origin: z.ZodObject<{
|
|
6866
|
+
kind: z.ZodLiteral<"work">;
|
|
6867
|
+
ticketId: z.ZodString;
|
|
6868
|
+
assignmentId: z.ZodString;
|
|
6869
|
+
}, z.core.$strict>;
|
|
6870
|
+
sourceId: z.ZodString;
|
|
6871
|
+
sourceGeneration: z.ZodNumber;
|
|
6872
|
+
threadId: z.ZodString;
|
|
6873
|
+
afterAttempt: z.ZodNumber;
|
|
6874
|
+
afterObservedAt: z.ZodISODateTime;
|
|
6875
|
+
}, z.core.$strict>], "kind">>;
|
|
6876
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6877
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
6878
|
+
cardId: z.ZodString;
|
|
6879
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6880
|
+
kind: z.ZodLiteral<"work">;
|
|
6881
|
+
ticketId: z.ZodString;
|
|
6882
|
+
assignmentId: z.ZodString;
|
|
6883
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6884
|
+
kind: z.ZodLiteral<"delegate">;
|
|
6885
|
+
runId: z.ZodString;
|
|
6886
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6887
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6888
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
6889
|
+
sessionId: z.ZodString;
|
|
6890
|
+
childSessionId: z.ZodString;
|
|
6891
|
+
turn: z.ZodNumber;
|
|
6892
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6893
|
+
kind: z.ZodLiteral<"team-task">;
|
|
6894
|
+
teamId: z.ZodString;
|
|
6895
|
+
taskId: z.ZodString;
|
|
6896
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6897
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6898
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
6899
|
+
turnId: z.ZodString;
|
|
6900
|
+
}, z.core.$strict>], "kind">;
|
|
6901
|
+
sourceGeneration: z.ZodNumber;
|
|
6902
|
+
afterRevision: z.ZodNumber;
|
|
6903
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6904
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
6905
|
+
cardId: z.ZodString;
|
|
6906
|
+
origin: z.ZodObject<{
|
|
6907
|
+
kind: z.ZodLiteral<"work">;
|
|
6908
|
+
ticketId: z.ZodString;
|
|
6909
|
+
assignmentId: z.ZodString;
|
|
6910
|
+
}, z.core.$strict>;
|
|
6911
|
+
sourceId: z.ZodString;
|
|
6912
|
+
sourceGeneration: z.ZodNumber;
|
|
6913
|
+
threadId: z.ZodString;
|
|
6914
|
+
afterAttempt: z.ZodNumber;
|
|
6915
|
+
afterObservedAt: z.ZodISODateTime;
|
|
6916
|
+
}, z.core.$strict>], "kind">>;
|
|
6917
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6362
6918
|
}, z.core.$strict>>;
|
|
6363
6919
|
next: z.ZodOptional<z.ZodString>;
|
|
6364
6920
|
}, z.core.$strict>;
|
|
@@ -6489,6 +7045,89 @@ export declare const replySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6489
7045
|
open: "open";
|
|
6490
7046
|
ignored: "ignored";
|
|
6491
7047
|
}>;
|
|
7048
|
+
completionTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7049
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
7050
|
+
cardId: z.ZodString;
|
|
7051
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7052
|
+
kind: z.ZodLiteral<"work">;
|
|
7053
|
+
ticketId: z.ZodString;
|
|
7054
|
+
assignmentId: z.ZodString;
|
|
7055
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7056
|
+
kind: z.ZodLiteral<"delegate">;
|
|
7057
|
+
runId: z.ZodString;
|
|
7058
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
7059
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7060
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
7061
|
+
sessionId: z.ZodString;
|
|
7062
|
+
childSessionId: z.ZodString;
|
|
7063
|
+
turn: z.ZodNumber;
|
|
7064
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7065
|
+
kind: z.ZodLiteral<"team-task">;
|
|
7066
|
+
teamId: z.ZodString;
|
|
7067
|
+
taskId: z.ZodString;
|
|
7068
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
7069
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7070
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
7071
|
+
turnId: z.ZodString;
|
|
7072
|
+
}, z.core.$strict>], "kind">;
|
|
7073
|
+
sourceGeneration: z.ZodNumber;
|
|
7074
|
+
afterRevision: z.ZodNumber;
|
|
7075
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7076
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
7077
|
+
cardId: z.ZodString;
|
|
7078
|
+
origin: z.ZodObject<{
|
|
7079
|
+
kind: z.ZodLiteral<"work">;
|
|
7080
|
+
ticketId: z.ZodString;
|
|
7081
|
+
assignmentId: z.ZodString;
|
|
7082
|
+
}, z.core.$strict>;
|
|
7083
|
+
sourceId: z.ZodString;
|
|
7084
|
+
sourceGeneration: z.ZodNumber;
|
|
7085
|
+
threadId: z.ZodString;
|
|
7086
|
+
afterAttempt: z.ZodNumber;
|
|
7087
|
+
afterObservedAt: z.ZodISODateTime;
|
|
7088
|
+
}, z.core.$strict>], "kind">>;
|
|
7089
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7090
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
7091
|
+
cardId: z.ZodString;
|
|
7092
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7093
|
+
kind: z.ZodLiteral<"work">;
|
|
7094
|
+
ticketId: z.ZodString;
|
|
7095
|
+
assignmentId: z.ZodString;
|
|
7096
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7097
|
+
kind: z.ZodLiteral<"delegate">;
|
|
7098
|
+
runId: z.ZodString;
|
|
7099
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
7100
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7101
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
7102
|
+
sessionId: z.ZodString;
|
|
7103
|
+
childSessionId: z.ZodString;
|
|
7104
|
+
turn: z.ZodNumber;
|
|
7105
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7106
|
+
kind: z.ZodLiteral<"team-task">;
|
|
7107
|
+
teamId: z.ZodString;
|
|
7108
|
+
taskId: z.ZodString;
|
|
7109
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
7110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7111
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
7112
|
+
turnId: z.ZodString;
|
|
7113
|
+
}, z.core.$strict>], "kind">;
|
|
7114
|
+
sourceGeneration: z.ZodNumber;
|
|
7115
|
+
afterRevision: z.ZodNumber;
|
|
7116
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7117
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
7118
|
+
cardId: z.ZodString;
|
|
7119
|
+
origin: z.ZodObject<{
|
|
7120
|
+
kind: z.ZodLiteral<"work">;
|
|
7121
|
+
ticketId: z.ZodString;
|
|
7122
|
+
assignmentId: z.ZodString;
|
|
7123
|
+
}, z.core.$strict>;
|
|
7124
|
+
sourceId: z.ZodString;
|
|
7125
|
+
sourceGeneration: z.ZodNumber;
|
|
7126
|
+
threadId: z.ZodString;
|
|
7127
|
+
afterAttempt: z.ZodNumber;
|
|
7128
|
+
afterObservedAt: z.ZodISODateTime;
|
|
7129
|
+
}, z.core.$strict>], "kind">>;
|
|
7130
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6492
7131
|
}, z.core.$strict>>;
|
|
6493
7132
|
activationEpoch: z.ZodNullable<z.ZodUUID>;
|
|
6494
7133
|
protocolVersion: z.ZodLiteral<1>;
|
|
@@ -7670,6 +8309,10 @@ export declare const replySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7670
8309
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
7671
8310
|
}, z.core.$strict>>;
|
|
7672
8311
|
}, z.core.$strict>>;
|
|
8312
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
8313
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
8314
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
8315
|
+
}>>;
|
|
7673
8316
|
}, z.core.$strict>>;
|
|
7674
8317
|
failureKey: z.ZodOptional<z.ZodString>;
|
|
7675
8318
|
id: z.ZodUUID;
|
|
@@ -8211,6 +8854,10 @@ export declare const replySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8211
8854
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
8212
8855
|
}, z.core.$strict>>;
|
|
8213
8856
|
}, z.core.$strict>>;
|
|
8857
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
8858
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
8859
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
8860
|
+
}>>;
|
|
8214
8861
|
}, z.core.$strict>>;
|
|
8215
8862
|
failureKey: z.ZodOptional<z.ZodString>;
|
|
8216
8863
|
id: z.ZodUUID;
|
|
@@ -8852,6 +9499,10 @@ export declare const replySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8852
9499
|
permission: z.ZodLiteral<"read-only-no-egress">;
|
|
8853
9500
|
}, z.core.$strict>>;
|
|
8854
9501
|
}, z.core.$strict>>;
|
|
9502
|
+
failureCode: z.ZodOptional<z.ZodEnum<{
|
|
9503
|
+
"native-history-unavailable": "native-history-unavailable";
|
|
9504
|
+
"evaluation-interrupted": "evaluation-interrupted";
|
|
9505
|
+
}>>;
|
|
8855
9506
|
}, z.core.$strict>>;
|
|
8856
9507
|
failureKey: z.ZodOptional<z.ZodString>;
|
|
8857
9508
|
id: z.ZodUUID;
|