dsh-botgroup 0.6.7 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +60 -122
- package/README.md +59 -121
- package/lib/client.js +9117 -5624
- 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.js +42 -14
- 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.js +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 +1 -1
- package/lib/host/data-flow/lineage.js +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.js +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 +12 -7
- package/lib/host/groups/concurrent.js.map +1 -1
- package/lib/host/groups/data-flow.js +10 -5
- package/lib/host/groups/data-flow.js.map +1 -1
- package/lib/host/groups/failure.js +1 -1
- package/lib/host/groups/members.d.ts +69 -2
- package/lib/host/groups/members.js +41 -3
- package/lib/host/groups/members.js.map +1 -1
- package/lib/host/groups/messages.d.ts +54 -0
- package/lib/host/groups/messages.js +5 -2
- 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 +65 -0
- package/lib/host/groups/model.js +6 -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.js +1 -1
- package/lib/host/groups/recall-tool.js +1 -1
- package/lib/host/groups/recall.d.ts +2 -2
- package/lib/host/groups/recall.js +1 -1
- package/lib/host/groups/remote.d.ts +317 -0
- package/lib/host/groups/remote.js +32 -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 +28 -1
- package/lib/host/groups/routing.js +33 -3
- package/lib/host/groups/routing.js.map +1 -1
- package/lib/host/groups/service.d.ts +502 -2
- package/lib/host/groups/service.js +43 -5
- package/lib/host/groups/service.js.map +1 -1
- package/lib/host/groups/state.d.ts +158 -1
- package/lib/host/groups/state.js +4 -2
- 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 +113 -0
- package/lib/host/groups/team-recipes.js +92 -0
- package/lib/host/groups/team-recipes.js.map +1 -0
- package/lib/host/groups/turn-runner.d.ts +3 -0
- package/lib/host/groups/turn-runner.js +43 -8
- package/lib/host/groups/turn-runner.js.map +1 -1
- package/lib/host/groups/turns.d.ts +84 -1
- package/lib/host/groups/turns.js +44 -11
- 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 +80 -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.js +1 -1
- package/lib/host/memory/admission.js +1 -1
- package/lib/host/memory/auto-share.js +1 -1
- package/lib/host/memory/confirmation.d.ts +4 -4
- package/lib/host/memory/confirmation.js +1 -1
- package/lib/host/memory/conflicts.js +1 -1
- package/lib/host/memory/context.js +1 -1
- package/lib/host/memory/domain-v2.d.ts +8 -8
- package/lib/host/memory/domain-v2.js +1 -1
- package/lib/host/memory/facade.d.ts +131 -3
- package/lib/host/memory/facade.js +101 -2
- 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 +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 +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 +4 -4
- package/lib/host/memory/quota.js +1 -1
- package/lib/host/memory/remote.d.ts +124 -0
- package/lib/host/memory/remote.js +12 -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 +1 -1
- package/lib/host/memory/temporal.js +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 +4 -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 +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.js +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 +166 -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 +1711 -51
- package/lib/host/proactive/service.js +1 -1
- 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 +2 -1
- package/lib/host/registry/lifecycle.js +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 +4 -1
- package/lib/host/registry-config.js +3 -1
- package/lib/host/registry-config.js.map +1 -1
- package/lib/host/registry.d.ts +3 -0
- package/lib/host/registry.js +2 -1
- 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 +361 -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 +33 -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/remote.d.ts +1944 -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 +935 -0
- package/lib/host/supergroup/service.js +921 -0
- package/lib/host/supergroup/service.js.map +1 -0
- package/lib/host/supergroup/task-support.d.ts +245 -0
- package/lib/host/supergroup/task-support.js +310 -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 +274 -258
- package/lib/proactive-coordinator/main.mjs +176 -9
- 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.js +1 -1
- package/lib/shared/eval-budget.js +1 -1
- package/lib/shared/group-recall-reads.js +1 -1
- package/lib/shared/group-recall.js +1 -1
- package/lib/shared/groups-contract.d.ts +1777 -0
- package/lib/shared/groups-contract.js +9 -1
- package/lib/shared/groups-contract.js.map +1 -1
- package/lib/shared/groups.d.ts +161 -0
- package/lib/shared/groups.js +18 -1
- 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.js +1 -1
- package/lib/shared/memory-forget.js +1 -1
- package/lib/shared/memory-management.d.ts +426 -0
- package/lib/shared/memory-management.js +9 -1
- package/lib/shared/memory-management.js.map +1 -1
- package/lib/shared/memory-ops.js +1 -1
- package/lib/shared/memory-tool-names.js +1 -1
- package/lib/shared/memory-v2.js +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.js +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 +3 -0
- package/lib/shared/operation-errors.js +4 -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.js +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.js +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 +627 -0
- package/lib/shared/proactive/protocol.js +1 -1
- package/lib/shared/proactive/remote-contract.d.ts +792 -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 +531 -8
- package/lib/shared/remote-contract.js +10 -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 +7119 -0
- package/lib/shared/supergroup-contract.js +26 -0
- package/lib/shared/supergroup-contract.js.map +1 -0
- package/lib/shared/supergroup.d.ts +1441 -0
- package/lib/shared/supergroup.js +56 -0
- package/lib/shared/supergroup.js.map +1 -0
- package/lib/shared/task-materials.d.ts +166 -0
- package/lib/shared/task-materials.js +40 -0
- package/lib/shared/task-materials.js.map +1 -0
- package/lib/shared/team-recipes.d.ts +109 -0
- package/lib/shared/team-recipes.js +25 -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 +239 -7
- package/locale/zh.json +239 -7
- package/package.json +2 -1
|
@@ -2625,6 +2625,48 @@ export declare const followUpWatchRequest: z.ZodObject<{
|
|
|
2625
2625
|
request: z.ZodString;
|
|
2626
2626
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2627
2627
|
}, z.core.$strict>>;
|
|
2628
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2629
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
2630
|
+
cardId: z.ZodString;
|
|
2631
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2632
|
+
kind: z.ZodLiteral<"work">;
|
|
2633
|
+
ticketId: z.ZodString;
|
|
2634
|
+
assignmentId: z.ZodString;
|
|
2635
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2636
|
+
kind: z.ZodLiteral<"delegate">;
|
|
2637
|
+
runId: z.ZodString;
|
|
2638
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2639
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2640
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
2641
|
+
sessionId: z.ZodString;
|
|
2642
|
+
childSessionId: z.ZodString;
|
|
2643
|
+
turn: z.ZodNumber;
|
|
2644
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2645
|
+
kind: z.ZodLiteral<"team-task">;
|
|
2646
|
+
teamId: z.ZodString;
|
|
2647
|
+
taskId: z.ZodString;
|
|
2648
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2649
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2650
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
2651
|
+
turnId: z.ZodString;
|
|
2652
|
+
}, z.core.$strict>], "kind">;
|
|
2653
|
+
sourceGeneration: z.ZodNumber;
|
|
2654
|
+
afterRevision: z.ZodNumber;
|
|
2655
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2656
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
2657
|
+
cardId: z.ZodString;
|
|
2658
|
+
origin: z.ZodObject<{
|
|
2659
|
+
kind: z.ZodLiteral<"work">;
|
|
2660
|
+
ticketId: z.ZodString;
|
|
2661
|
+
assignmentId: z.ZodString;
|
|
2662
|
+
}, z.core.$strict>;
|
|
2663
|
+
sourceId: z.ZodString;
|
|
2664
|
+
sourceGeneration: z.ZodNumber;
|
|
2665
|
+
threadId: z.ZodString;
|
|
2666
|
+
afterAttempt: z.ZodNumber;
|
|
2667
|
+
afterObservedAt: z.ZodISODateTime;
|
|
2668
|
+
}, z.core.$strict>], "kind">>;
|
|
2669
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2628
2670
|
}, z.core.$strict>;
|
|
2629
2671
|
commandId: z.ZodUUID;
|
|
2630
2672
|
}, z.core.$strict>;
|
|
@@ -2981,6 +3023,89 @@ declare const spec: {
|
|
|
2981
3023
|
open: "open";
|
|
2982
3024
|
ignored: "ignored";
|
|
2983
3025
|
}>;
|
|
3026
|
+
completionTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3027
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
3028
|
+
cardId: z.ZodString;
|
|
3029
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3030
|
+
kind: z.ZodLiteral<"work">;
|
|
3031
|
+
ticketId: z.ZodString;
|
|
3032
|
+
assignmentId: z.ZodString;
|
|
3033
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3034
|
+
kind: z.ZodLiteral<"delegate">;
|
|
3035
|
+
runId: z.ZodString;
|
|
3036
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3037
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3038
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
3039
|
+
sessionId: z.ZodString;
|
|
3040
|
+
childSessionId: z.ZodString;
|
|
3041
|
+
turn: z.ZodNumber;
|
|
3042
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3043
|
+
kind: z.ZodLiteral<"team-task">;
|
|
3044
|
+
teamId: z.ZodString;
|
|
3045
|
+
taskId: z.ZodString;
|
|
3046
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3047
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3048
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
3049
|
+
turnId: z.ZodString;
|
|
3050
|
+
}, z.core.$strict>], "kind">;
|
|
3051
|
+
sourceGeneration: z.ZodNumber;
|
|
3052
|
+
afterRevision: z.ZodNumber;
|
|
3053
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3054
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
3055
|
+
cardId: z.ZodString;
|
|
3056
|
+
origin: z.ZodObject<{
|
|
3057
|
+
kind: z.ZodLiteral<"work">;
|
|
3058
|
+
ticketId: z.ZodString;
|
|
3059
|
+
assignmentId: z.ZodString;
|
|
3060
|
+
}, z.core.$strict>;
|
|
3061
|
+
sourceId: z.ZodString;
|
|
3062
|
+
sourceGeneration: z.ZodNumber;
|
|
3063
|
+
threadId: z.ZodString;
|
|
3064
|
+
afterAttempt: z.ZodNumber;
|
|
3065
|
+
afterObservedAt: z.ZodISODateTime;
|
|
3066
|
+
}, z.core.$strict>], "kind">>;
|
|
3067
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3068
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
3069
|
+
cardId: z.ZodString;
|
|
3070
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3071
|
+
kind: z.ZodLiteral<"work">;
|
|
3072
|
+
ticketId: z.ZodString;
|
|
3073
|
+
assignmentId: z.ZodString;
|
|
3074
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3075
|
+
kind: z.ZodLiteral<"delegate">;
|
|
3076
|
+
runId: z.ZodString;
|
|
3077
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3078
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3079
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
3080
|
+
sessionId: z.ZodString;
|
|
3081
|
+
childSessionId: z.ZodString;
|
|
3082
|
+
turn: z.ZodNumber;
|
|
3083
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3084
|
+
kind: z.ZodLiteral<"team-task">;
|
|
3085
|
+
teamId: z.ZodString;
|
|
3086
|
+
taskId: z.ZodString;
|
|
3087
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3088
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3089
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
3090
|
+
turnId: z.ZodString;
|
|
3091
|
+
}, z.core.$strict>], "kind">;
|
|
3092
|
+
sourceGeneration: z.ZodNumber;
|
|
3093
|
+
afterRevision: z.ZodNumber;
|
|
3094
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3095
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
3096
|
+
cardId: z.ZodString;
|
|
3097
|
+
origin: z.ZodObject<{
|
|
3098
|
+
kind: z.ZodLiteral<"work">;
|
|
3099
|
+
ticketId: z.ZodString;
|
|
3100
|
+
assignmentId: z.ZodString;
|
|
3101
|
+
}, z.core.$strict>;
|
|
3102
|
+
sourceId: z.ZodString;
|
|
3103
|
+
sourceGeneration: z.ZodNumber;
|
|
3104
|
+
threadId: z.ZodString;
|
|
3105
|
+
afterAttempt: z.ZodNumber;
|
|
3106
|
+
afterObservedAt: z.ZodISODateTime;
|
|
3107
|
+
}, z.core.$strict>], "kind">>;
|
|
3108
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2984
3109
|
}, z.core.$strict>>;
|
|
2985
3110
|
}, z.core.$strict>;
|
|
2986
3111
|
}, z.core.$strict>], "state">;
|
|
@@ -3093,6 +3218,89 @@ declare const spec: {
|
|
|
3093
3218
|
reason: "completed" | "cancelled" | "resolved";
|
|
3094
3219
|
};
|
|
3095
3220
|
state: "closed" | "stopped" | "open" | "ignored";
|
|
3221
|
+
completionTarget?: {
|
|
3222
|
+
kind: "subtask-completed";
|
|
3223
|
+
cardId: string;
|
|
3224
|
+
origin: {
|
|
3225
|
+
kind: "work";
|
|
3226
|
+
ticketId: string;
|
|
3227
|
+
assignmentId: string;
|
|
3228
|
+
} | {
|
|
3229
|
+
kind: "delegate";
|
|
3230
|
+
runId: string;
|
|
3231
|
+
sessionId?: string | undefined;
|
|
3232
|
+
} | {
|
|
3233
|
+
kind: "native-subagent";
|
|
3234
|
+
sessionId: string;
|
|
3235
|
+
childSessionId: string;
|
|
3236
|
+
turn: number;
|
|
3237
|
+
} | {
|
|
3238
|
+
kind: "team-task";
|
|
3239
|
+
teamId: string;
|
|
3240
|
+
taskId: string;
|
|
3241
|
+
sessionId?: string | undefined;
|
|
3242
|
+
} | {
|
|
3243
|
+
kind: "group-turn";
|
|
3244
|
+
turnId: string;
|
|
3245
|
+
};
|
|
3246
|
+
sourceGeneration: number;
|
|
3247
|
+
afterRevision: number;
|
|
3248
|
+
} | {
|
|
3249
|
+
kind: "ci-completed";
|
|
3250
|
+
cardId: string;
|
|
3251
|
+
origin: {
|
|
3252
|
+
kind: "work";
|
|
3253
|
+
ticketId: string;
|
|
3254
|
+
assignmentId: string;
|
|
3255
|
+
};
|
|
3256
|
+
sourceId: string;
|
|
3257
|
+
sourceGeneration: number;
|
|
3258
|
+
threadId: string;
|
|
3259
|
+
afterAttempt: number;
|
|
3260
|
+
afterObservedAt: string;
|
|
3261
|
+
} | undefined;
|
|
3262
|
+
when?: {
|
|
3263
|
+
kind: "subtask-completed";
|
|
3264
|
+
cardId: string;
|
|
3265
|
+
origin: {
|
|
3266
|
+
kind: "work";
|
|
3267
|
+
ticketId: string;
|
|
3268
|
+
assignmentId: string;
|
|
3269
|
+
} | {
|
|
3270
|
+
kind: "delegate";
|
|
3271
|
+
runId: string;
|
|
3272
|
+
sessionId?: string | undefined;
|
|
3273
|
+
} | {
|
|
3274
|
+
kind: "native-subagent";
|
|
3275
|
+
sessionId: string;
|
|
3276
|
+
childSessionId: string;
|
|
3277
|
+
turn: number;
|
|
3278
|
+
} | {
|
|
3279
|
+
kind: "team-task";
|
|
3280
|
+
teamId: string;
|
|
3281
|
+
taskId: string;
|
|
3282
|
+
sessionId?: string | undefined;
|
|
3283
|
+
} | {
|
|
3284
|
+
kind: "group-turn";
|
|
3285
|
+
turnId: string;
|
|
3286
|
+
};
|
|
3287
|
+
sourceGeneration: number;
|
|
3288
|
+
afterRevision: number;
|
|
3289
|
+
} | {
|
|
3290
|
+
kind: "ci-completed";
|
|
3291
|
+
cardId: string;
|
|
3292
|
+
origin: {
|
|
3293
|
+
kind: "work";
|
|
3294
|
+
ticketId: string;
|
|
3295
|
+
assignmentId: string;
|
|
3296
|
+
};
|
|
3297
|
+
sourceId: string;
|
|
3298
|
+
sourceGeneration: number;
|
|
3299
|
+
threadId: string;
|
|
3300
|
+
afterAttempt: number;
|
|
3301
|
+
afterObservedAt: string;
|
|
3302
|
+
} | undefined;
|
|
3303
|
+
deadlineAt?: string | undefined;
|
|
3096
3304
|
}[];
|
|
3097
3305
|
};
|
|
3098
3306
|
};
|
|
@@ -3205,6 +3413,89 @@ declare const spec: {
|
|
|
3205
3413
|
reason: "completed" | "cancelled" | "resolved";
|
|
3206
3414
|
};
|
|
3207
3415
|
state: "closed" | "stopped" | "open" | "ignored";
|
|
3416
|
+
completionTarget?: {
|
|
3417
|
+
kind: "subtask-completed";
|
|
3418
|
+
cardId: string;
|
|
3419
|
+
origin: {
|
|
3420
|
+
kind: "work";
|
|
3421
|
+
ticketId: string;
|
|
3422
|
+
assignmentId: string;
|
|
3423
|
+
} | {
|
|
3424
|
+
kind: "delegate";
|
|
3425
|
+
runId: string;
|
|
3426
|
+
sessionId?: string | undefined;
|
|
3427
|
+
} | {
|
|
3428
|
+
kind: "native-subagent";
|
|
3429
|
+
sessionId: string;
|
|
3430
|
+
childSessionId: string;
|
|
3431
|
+
turn: number;
|
|
3432
|
+
} | {
|
|
3433
|
+
kind: "team-task";
|
|
3434
|
+
teamId: string;
|
|
3435
|
+
taskId: string;
|
|
3436
|
+
sessionId?: string | undefined;
|
|
3437
|
+
} | {
|
|
3438
|
+
kind: "group-turn";
|
|
3439
|
+
turnId: string;
|
|
3440
|
+
};
|
|
3441
|
+
sourceGeneration: number;
|
|
3442
|
+
afterRevision: number;
|
|
3443
|
+
} | {
|
|
3444
|
+
kind: "ci-completed";
|
|
3445
|
+
cardId: string;
|
|
3446
|
+
origin: {
|
|
3447
|
+
kind: "work";
|
|
3448
|
+
ticketId: string;
|
|
3449
|
+
assignmentId: string;
|
|
3450
|
+
};
|
|
3451
|
+
sourceId: string;
|
|
3452
|
+
sourceGeneration: number;
|
|
3453
|
+
threadId: string;
|
|
3454
|
+
afterAttempt: number;
|
|
3455
|
+
afterObservedAt: string;
|
|
3456
|
+
} | undefined;
|
|
3457
|
+
when?: {
|
|
3458
|
+
kind: "subtask-completed";
|
|
3459
|
+
cardId: string;
|
|
3460
|
+
origin: {
|
|
3461
|
+
kind: "work";
|
|
3462
|
+
ticketId: string;
|
|
3463
|
+
assignmentId: string;
|
|
3464
|
+
} | {
|
|
3465
|
+
kind: "delegate";
|
|
3466
|
+
runId: string;
|
|
3467
|
+
sessionId?: string | undefined;
|
|
3468
|
+
} | {
|
|
3469
|
+
kind: "native-subagent";
|
|
3470
|
+
sessionId: string;
|
|
3471
|
+
childSessionId: string;
|
|
3472
|
+
turn: number;
|
|
3473
|
+
} | {
|
|
3474
|
+
kind: "team-task";
|
|
3475
|
+
teamId: string;
|
|
3476
|
+
taskId: string;
|
|
3477
|
+
sessionId?: string | undefined;
|
|
3478
|
+
} | {
|
|
3479
|
+
kind: "group-turn";
|
|
3480
|
+
turnId: string;
|
|
3481
|
+
};
|
|
3482
|
+
sourceGeneration: number;
|
|
3483
|
+
afterRevision: number;
|
|
3484
|
+
} | {
|
|
3485
|
+
kind: "ci-completed";
|
|
3486
|
+
cardId: string;
|
|
3487
|
+
origin: {
|
|
3488
|
+
kind: "work";
|
|
3489
|
+
ticketId: string;
|
|
3490
|
+
assignmentId: string;
|
|
3491
|
+
};
|
|
3492
|
+
sourceId: string;
|
|
3493
|
+
sourceGeneration: number;
|
|
3494
|
+
threadId: string;
|
|
3495
|
+
afterAttempt: number;
|
|
3496
|
+
afterObservedAt: string;
|
|
3497
|
+
} | undefined;
|
|
3498
|
+
deadlineAt?: string | undefined;
|
|
3208
3499
|
}[];
|
|
3209
3500
|
};
|
|
3210
3501
|
};
|
|
@@ -3395,6 +3686,89 @@ declare const spec: {
|
|
|
3395
3686
|
open: "open";
|
|
3396
3687
|
ignored: "ignored";
|
|
3397
3688
|
}>;
|
|
3689
|
+
completionTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3690
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
3691
|
+
cardId: z.ZodString;
|
|
3692
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3693
|
+
kind: z.ZodLiteral<"work">;
|
|
3694
|
+
ticketId: z.ZodString;
|
|
3695
|
+
assignmentId: z.ZodString;
|
|
3696
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3697
|
+
kind: z.ZodLiteral<"delegate">;
|
|
3698
|
+
runId: z.ZodString;
|
|
3699
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3700
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3701
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
3702
|
+
sessionId: z.ZodString;
|
|
3703
|
+
childSessionId: z.ZodString;
|
|
3704
|
+
turn: z.ZodNumber;
|
|
3705
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3706
|
+
kind: z.ZodLiteral<"team-task">;
|
|
3707
|
+
teamId: z.ZodString;
|
|
3708
|
+
taskId: z.ZodString;
|
|
3709
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3711
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
3712
|
+
turnId: z.ZodString;
|
|
3713
|
+
}, z.core.$strict>], "kind">;
|
|
3714
|
+
sourceGeneration: z.ZodNumber;
|
|
3715
|
+
afterRevision: z.ZodNumber;
|
|
3716
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3717
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
3718
|
+
cardId: z.ZodString;
|
|
3719
|
+
origin: z.ZodObject<{
|
|
3720
|
+
kind: z.ZodLiteral<"work">;
|
|
3721
|
+
ticketId: z.ZodString;
|
|
3722
|
+
assignmentId: z.ZodString;
|
|
3723
|
+
}, z.core.$strict>;
|
|
3724
|
+
sourceId: z.ZodString;
|
|
3725
|
+
sourceGeneration: z.ZodNumber;
|
|
3726
|
+
threadId: z.ZodString;
|
|
3727
|
+
afterAttempt: z.ZodNumber;
|
|
3728
|
+
afterObservedAt: z.ZodISODateTime;
|
|
3729
|
+
}, z.core.$strict>], "kind">>;
|
|
3730
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3731
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
3732
|
+
cardId: z.ZodString;
|
|
3733
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3734
|
+
kind: z.ZodLiteral<"work">;
|
|
3735
|
+
ticketId: z.ZodString;
|
|
3736
|
+
assignmentId: z.ZodString;
|
|
3737
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3738
|
+
kind: z.ZodLiteral<"delegate">;
|
|
3739
|
+
runId: z.ZodString;
|
|
3740
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3741
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3742
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
3743
|
+
sessionId: z.ZodString;
|
|
3744
|
+
childSessionId: z.ZodString;
|
|
3745
|
+
turn: z.ZodNumber;
|
|
3746
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3747
|
+
kind: z.ZodLiteral<"team-task">;
|
|
3748
|
+
teamId: z.ZodString;
|
|
3749
|
+
taskId: z.ZodString;
|
|
3750
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3751
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3752
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
3753
|
+
turnId: z.ZodString;
|
|
3754
|
+
}, z.core.$strict>], "kind">;
|
|
3755
|
+
sourceGeneration: z.ZodNumber;
|
|
3756
|
+
afterRevision: z.ZodNumber;
|
|
3757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3758
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
3759
|
+
cardId: z.ZodString;
|
|
3760
|
+
origin: z.ZodObject<{
|
|
3761
|
+
kind: z.ZodLiteral<"work">;
|
|
3762
|
+
ticketId: z.ZodString;
|
|
3763
|
+
assignmentId: z.ZodString;
|
|
3764
|
+
}, z.core.$strict>;
|
|
3765
|
+
sourceId: z.ZodString;
|
|
3766
|
+
sourceGeneration: z.ZodNumber;
|
|
3767
|
+
threadId: z.ZodString;
|
|
3768
|
+
afterAttempt: z.ZodNumber;
|
|
3769
|
+
afterObservedAt: z.ZodISODateTime;
|
|
3770
|
+
}, z.core.$strict>], "kind">>;
|
|
3771
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3398
3772
|
}, z.core.$strict>>;
|
|
3399
3773
|
next: z.ZodOptional<z.ZodString>;
|
|
3400
3774
|
}, z.core.$strict>;
|
|
@@ -3476,6 +3850,89 @@ declare const spec: {
|
|
|
3476
3850
|
reason: "completed" | "cancelled" | "resolved";
|
|
3477
3851
|
};
|
|
3478
3852
|
state: "closed" | "stopped" | "open" | "ignored";
|
|
3853
|
+
completionTarget?: {
|
|
3854
|
+
kind: "subtask-completed";
|
|
3855
|
+
cardId: string;
|
|
3856
|
+
origin: {
|
|
3857
|
+
kind: "work";
|
|
3858
|
+
ticketId: string;
|
|
3859
|
+
assignmentId: string;
|
|
3860
|
+
} | {
|
|
3861
|
+
kind: "delegate";
|
|
3862
|
+
runId: string;
|
|
3863
|
+
sessionId?: string | undefined;
|
|
3864
|
+
} | {
|
|
3865
|
+
kind: "native-subagent";
|
|
3866
|
+
sessionId: string;
|
|
3867
|
+
childSessionId: string;
|
|
3868
|
+
turn: number;
|
|
3869
|
+
} | {
|
|
3870
|
+
kind: "team-task";
|
|
3871
|
+
teamId: string;
|
|
3872
|
+
taskId: string;
|
|
3873
|
+
sessionId?: string | undefined;
|
|
3874
|
+
} | {
|
|
3875
|
+
kind: "group-turn";
|
|
3876
|
+
turnId: string;
|
|
3877
|
+
};
|
|
3878
|
+
sourceGeneration: number;
|
|
3879
|
+
afterRevision: number;
|
|
3880
|
+
} | {
|
|
3881
|
+
kind: "ci-completed";
|
|
3882
|
+
cardId: string;
|
|
3883
|
+
origin: {
|
|
3884
|
+
kind: "work";
|
|
3885
|
+
ticketId: string;
|
|
3886
|
+
assignmentId: string;
|
|
3887
|
+
};
|
|
3888
|
+
sourceId: string;
|
|
3889
|
+
sourceGeneration: number;
|
|
3890
|
+
threadId: string;
|
|
3891
|
+
afterAttempt: number;
|
|
3892
|
+
afterObservedAt: string;
|
|
3893
|
+
} | undefined;
|
|
3894
|
+
when?: {
|
|
3895
|
+
kind: "subtask-completed";
|
|
3896
|
+
cardId: string;
|
|
3897
|
+
origin: {
|
|
3898
|
+
kind: "work";
|
|
3899
|
+
ticketId: string;
|
|
3900
|
+
assignmentId: string;
|
|
3901
|
+
} | {
|
|
3902
|
+
kind: "delegate";
|
|
3903
|
+
runId: string;
|
|
3904
|
+
sessionId?: string | undefined;
|
|
3905
|
+
} | {
|
|
3906
|
+
kind: "native-subagent";
|
|
3907
|
+
sessionId: string;
|
|
3908
|
+
childSessionId: string;
|
|
3909
|
+
turn: number;
|
|
3910
|
+
} | {
|
|
3911
|
+
kind: "team-task";
|
|
3912
|
+
teamId: string;
|
|
3913
|
+
taskId: string;
|
|
3914
|
+
sessionId?: string | undefined;
|
|
3915
|
+
} | {
|
|
3916
|
+
kind: "group-turn";
|
|
3917
|
+
turnId: string;
|
|
3918
|
+
};
|
|
3919
|
+
sourceGeneration: number;
|
|
3920
|
+
afterRevision: number;
|
|
3921
|
+
} | {
|
|
3922
|
+
kind: "ci-completed";
|
|
3923
|
+
cardId: string;
|
|
3924
|
+
origin: {
|
|
3925
|
+
kind: "work";
|
|
3926
|
+
ticketId: string;
|
|
3927
|
+
assignmentId: string;
|
|
3928
|
+
};
|
|
3929
|
+
sourceId: string;
|
|
3930
|
+
sourceGeneration: number;
|
|
3931
|
+
threadId: string;
|
|
3932
|
+
afterAttempt: number;
|
|
3933
|
+
afterObservedAt: string;
|
|
3934
|
+
} | undefined;
|
|
3935
|
+
deadlineAt?: string | undefined;
|
|
3479
3936
|
}[];
|
|
3480
3937
|
next?: string | undefined;
|
|
3481
3938
|
};
|
|
@@ -3557,6 +4014,89 @@ declare const spec: {
|
|
|
3557
4014
|
reason: "completed" | "cancelled" | "resolved";
|
|
3558
4015
|
};
|
|
3559
4016
|
state: "closed" | "stopped" | "open" | "ignored";
|
|
4017
|
+
completionTarget?: {
|
|
4018
|
+
kind: "subtask-completed";
|
|
4019
|
+
cardId: string;
|
|
4020
|
+
origin: {
|
|
4021
|
+
kind: "work";
|
|
4022
|
+
ticketId: string;
|
|
4023
|
+
assignmentId: string;
|
|
4024
|
+
} | {
|
|
4025
|
+
kind: "delegate";
|
|
4026
|
+
runId: string;
|
|
4027
|
+
sessionId?: string | undefined;
|
|
4028
|
+
} | {
|
|
4029
|
+
kind: "native-subagent";
|
|
4030
|
+
sessionId: string;
|
|
4031
|
+
childSessionId: string;
|
|
4032
|
+
turn: number;
|
|
4033
|
+
} | {
|
|
4034
|
+
kind: "team-task";
|
|
4035
|
+
teamId: string;
|
|
4036
|
+
taskId: string;
|
|
4037
|
+
sessionId?: string | undefined;
|
|
4038
|
+
} | {
|
|
4039
|
+
kind: "group-turn";
|
|
4040
|
+
turnId: string;
|
|
4041
|
+
};
|
|
4042
|
+
sourceGeneration: number;
|
|
4043
|
+
afterRevision: number;
|
|
4044
|
+
} | {
|
|
4045
|
+
kind: "ci-completed";
|
|
4046
|
+
cardId: string;
|
|
4047
|
+
origin: {
|
|
4048
|
+
kind: "work";
|
|
4049
|
+
ticketId: string;
|
|
4050
|
+
assignmentId: string;
|
|
4051
|
+
};
|
|
4052
|
+
sourceId: string;
|
|
4053
|
+
sourceGeneration: number;
|
|
4054
|
+
threadId: string;
|
|
4055
|
+
afterAttempt: number;
|
|
4056
|
+
afterObservedAt: string;
|
|
4057
|
+
} | undefined;
|
|
4058
|
+
when?: {
|
|
4059
|
+
kind: "subtask-completed";
|
|
4060
|
+
cardId: string;
|
|
4061
|
+
origin: {
|
|
4062
|
+
kind: "work";
|
|
4063
|
+
ticketId: string;
|
|
4064
|
+
assignmentId: string;
|
|
4065
|
+
} | {
|
|
4066
|
+
kind: "delegate";
|
|
4067
|
+
runId: string;
|
|
4068
|
+
sessionId?: string | undefined;
|
|
4069
|
+
} | {
|
|
4070
|
+
kind: "native-subagent";
|
|
4071
|
+
sessionId: string;
|
|
4072
|
+
childSessionId: string;
|
|
4073
|
+
turn: number;
|
|
4074
|
+
} | {
|
|
4075
|
+
kind: "team-task";
|
|
4076
|
+
teamId: string;
|
|
4077
|
+
taskId: string;
|
|
4078
|
+
sessionId?: string | undefined;
|
|
4079
|
+
} | {
|
|
4080
|
+
kind: "group-turn";
|
|
4081
|
+
turnId: string;
|
|
4082
|
+
};
|
|
4083
|
+
sourceGeneration: number;
|
|
4084
|
+
afterRevision: number;
|
|
4085
|
+
} | {
|
|
4086
|
+
kind: "ci-completed";
|
|
4087
|
+
cardId: string;
|
|
4088
|
+
origin: {
|
|
4089
|
+
kind: "work";
|
|
4090
|
+
ticketId: string;
|
|
4091
|
+
assignmentId: string;
|
|
4092
|
+
};
|
|
4093
|
+
sourceId: string;
|
|
4094
|
+
sourceGeneration: number;
|
|
4095
|
+
threadId: string;
|
|
4096
|
+
afterAttempt: number;
|
|
4097
|
+
afterObservedAt: string;
|
|
4098
|
+
} | undefined;
|
|
4099
|
+
deadlineAt?: string | undefined;
|
|
3560
4100
|
}[];
|
|
3561
4101
|
next?: string | undefined;
|
|
3562
4102
|
};
|
|
@@ -3979,6 +4519,48 @@ declare const spec: {
|
|
|
3979
4519
|
request: z.ZodString;
|
|
3980
4520
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3981
4521
|
}, z.core.$strict>>;
|
|
4522
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4523
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
4524
|
+
cardId: z.ZodString;
|
|
4525
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4526
|
+
kind: z.ZodLiteral<"work">;
|
|
4527
|
+
ticketId: z.ZodString;
|
|
4528
|
+
assignmentId: z.ZodString;
|
|
4529
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4530
|
+
kind: z.ZodLiteral<"delegate">;
|
|
4531
|
+
runId: z.ZodString;
|
|
4532
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4533
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4534
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
4535
|
+
sessionId: z.ZodString;
|
|
4536
|
+
childSessionId: z.ZodString;
|
|
4537
|
+
turn: z.ZodNumber;
|
|
4538
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4539
|
+
kind: z.ZodLiteral<"team-task">;
|
|
4540
|
+
teamId: z.ZodString;
|
|
4541
|
+
taskId: z.ZodString;
|
|
4542
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4543
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4544
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
4545
|
+
turnId: z.ZodString;
|
|
4546
|
+
}, z.core.$strict>], "kind">;
|
|
4547
|
+
sourceGeneration: z.ZodNumber;
|
|
4548
|
+
afterRevision: z.ZodNumber;
|
|
4549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4550
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
4551
|
+
cardId: z.ZodString;
|
|
4552
|
+
origin: z.ZodObject<{
|
|
4553
|
+
kind: z.ZodLiteral<"work">;
|
|
4554
|
+
ticketId: z.ZodString;
|
|
4555
|
+
assignmentId: z.ZodString;
|
|
4556
|
+
}, z.core.$strict>;
|
|
4557
|
+
sourceId: z.ZodString;
|
|
4558
|
+
sourceGeneration: z.ZodNumber;
|
|
4559
|
+
threadId: z.ZodString;
|
|
4560
|
+
afterAttempt: z.ZodNumber;
|
|
4561
|
+
afterObservedAt: z.ZodISODateTime;
|
|
4562
|
+
}, z.core.$strict>], "kind">>;
|
|
4563
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3982
4564
|
}, z.core.$strict>;
|
|
3983
4565
|
commandId: z.ZodUUID;
|
|
3984
4566
|
}, z.core.$strict>;
|
|
@@ -4014,6 +4596,48 @@ declare const spec: {
|
|
|
4014
4596
|
request: string;
|
|
4015
4597
|
deadlineAt?: string | undefined;
|
|
4016
4598
|
} | undefined;
|
|
4599
|
+
when?: {
|
|
4600
|
+
kind: "subtask-completed";
|
|
4601
|
+
cardId: string;
|
|
4602
|
+
origin: {
|
|
4603
|
+
kind: "work";
|
|
4604
|
+
ticketId: string;
|
|
4605
|
+
assignmentId: string;
|
|
4606
|
+
} | {
|
|
4607
|
+
kind: "delegate";
|
|
4608
|
+
runId: string;
|
|
4609
|
+
sessionId?: string | undefined;
|
|
4610
|
+
} | {
|
|
4611
|
+
kind: "native-subagent";
|
|
4612
|
+
sessionId: string;
|
|
4613
|
+
childSessionId: string;
|
|
4614
|
+
turn: number;
|
|
4615
|
+
} | {
|
|
4616
|
+
kind: "team-task";
|
|
4617
|
+
teamId: string;
|
|
4618
|
+
taskId: string;
|
|
4619
|
+
sessionId?: string | undefined;
|
|
4620
|
+
} | {
|
|
4621
|
+
kind: "group-turn";
|
|
4622
|
+
turnId: string;
|
|
4623
|
+
};
|
|
4624
|
+
sourceGeneration: number;
|
|
4625
|
+
afterRevision: number;
|
|
4626
|
+
} | {
|
|
4627
|
+
kind: "ci-completed";
|
|
4628
|
+
cardId: string;
|
|
4629
|
+
origin: {
|
|
4630
|
+
kind: "work";
|
|
4631
|
+
ticketId: string;
|
|
4632
|
+
assignmentId: string;
|
|
4633
|
+
};
|
|
4634
|
+
sourceId: string;
|
|
4635
|
+
sourceGeneration: number;
|
|
4636
|
+
threadId: string;
|
|
4637
|
+
afterAttempt: number;
|
|
4638
|
+
afterObservedAt: string;
|
|
4639
|
+
} | undefined;
|
|
4640
|
+
deadlineAt?: string | undefined;
|
|
4017
4641
|
};
|
|
4018
4642
|
commandId: string;
|
|
4019
4643
|
};
|
|
@@ -4049,6 +4673,48 @@ declare const spec: {
|
|
|
4049
4673
|
request: string;
|
|
4050
4674
|
deadlineAt?: string | undefined;
|
|
4051
4675
|
} | undefined;
|
|
4676
|
+
when?: {
|
|
4677
|
+
kind: "subtask-completed";
|
|
4678
|
+
cardId: string;
|
|
4679
|
+
origin: {
|
|
4680
|
+
kind: "work";
|
|
4681
|
+
ticketId: string;
|
|
4682
|
+
assignmentId: string;
|
|
4683
|
+
} | {
|
|
4684
|
+
kind: "delegate";
|
|
4685
|
+
runId: string;
|
|
4686
|
+
sessionId?: string | undefined;
|
|
4687
|
+
} | {
|
|
4688
|
+
kind: "native-subagent";
|
|
4689
|
+
sessionId: string;
|
|
4690
|
+
childSessionId: string;
|
|
4691
|
+
turn: number;
|
|
4692
|
+
} | {
|
|
4693
|
+
kind: "team-task";
|
|
4694
|
+
teamId: string;
|
|
4695
|
+
taskId: string;
|
|
4696
|
+
sessionId?: string | undefined;
|
|
4697
|
+
} | {
|
|
4698
|
+
kind: "group-turn";
|
|
4699
|
+
turnId: string;
|
|
4700
|
+
};
|
|
4701
|
+
sourceGeneration: number;
|
|
4702
|
+
afterRevision: number;
|
|
4703
|
+
} | {
|
|
4704
|
+
kind: "ci-completed";
|
|
4705
|
+
cardId: string;
|
|
4706
|
+
origin: {
|
|
4707
|
+
kind: "work";
|
|
4708
|
+
ticketId: string;
|
|
4709
|
+
assignmentId: string;
|
|
4710
|
+
};
|
|
4711
|
+
sourceId: string;
|
|
4712
|
+
sourceGeneration: number;
|
|
4713
|
+
threadId: string;
|
|
4714
|
+
afterAttempt: number;
|
|
4715
|
+
afterObservedAt: string;
|
|
4716
|
+
} | undefined;
|
|
4717
|
+
deadlineAt?: string | undefined;
|
|
4052
4718
|
};
|
|
4053
4719
|
commandId: string;
|
|
4054
4720
|
};
|
|
@@ -4088,6 +4754,48 @@ declare const spec: {
|
|
|
4088
4754
|
request: z.ZodString;
|
|
4089
4755
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4090
4756
|
}, z.core.$strict>>;
|
|
4757
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4758
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
4759
|
+
cardId: z.ZodString;
|
|
4760
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4761
|
+
kind: z.ZodLiteral<"work">;
|
|
4762
|
+
ticketId: z.ZodString;
|
|
4763
|
+
assignmentId: z.ZodString;
|
|
4764
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4765
|
+
kind: z.ZodLiteral<"delegate">;
|
|
4766
|
+
runId: z.ZodString;
|
|
4767
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4768
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4769
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
4770
|
+
sessionId: z.ZodString;
|
|
4771
|
+
childSessionId: z.ZodString;
|
|
4772
|
+
turn: z.ZodNumber;
|
|
4773
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4774
|
+
kind: z.ZodLiteral<"team-task">;
|
|
4775
|
+
teamId: z.ZodString;
|
|
4776
|
+
taskId: z.ZodString;
|
|
4777
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4778
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4779
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
4780
|
+
turnId: z.ZodString;
|
|
4781
|
+
}, z.core.$strict>], "kind">;
|
|
4782
|
+
sourceGeneration: z.ZodNumber;
|
|
4783
|
+
afterRevision: z.ZodNumber;
|
|
4784
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4785
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
4786
|
+
cardId: z.ZodString;
|
|
4787
|
+
origin: z.ZodObject<{
|
|
4788
|
+
kind: z.ZodLiteral<"work">;
|
|
4789
|
+
ticketId: z.ZodString;
|
|
4790
|
+
assignmentId: z.ZodString;
|
|
4791
|
+
}, z.core.$strict>;
|
|
4792
|
+
sourceId: z.ZodString;
|
|
4793
|
+
sourceGeneration: z.ZodNumber;
|
|
4794
|
+
threadId: z.ZodString;
|
|
4795
|
+
afterAttempt: z.ZodNumber;
|
|
4796
|
+
afterObservedAt: z.ZodISODateTime;
|
|
4797
|
+
}, z.core.$strict>], "kind">>;
|
|
4798
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4091
4799
|
}, z.core.$strict>;
|
|
4092
4800
|
commandId: z.ZodUUID;
|
|
4093
4801
|
}, z.core.$strict>;
|
|
@@ -4123,6 +4831,48 @@ declare const spec: {
|
|
|
4123
4831
|
request: string;
|
|
4124
4832
|
deadlineAt?: string | undefined;
|
|
4125
4833
|
} | undefined;
|
|
4834
|
+
when?: {
|
|
4835
|
+
kind: "subtask-completed";
|
|
4836
|
+
cardId: string;
|
|
4837
|
+
origin: {
|
|
4838
|
+
kind: "work";
|
|
4839
|
+
ticketId: string;
|
|
4840
|
+
assignmentId: string;
|
|
4841
|
+
} | {
|
|
4842
|
+
kind: "delegate";
|
|
4843
|
+
runId: string;
|
|
4844
|
+
sessionId?: string | undefined;
|
|
4845
|
+
} | {
|
|
4846
|
+
kind: "native-subagent";
|
|
4847
|
+
sessionId: string;
|
|
4848
|
+
childSessionId: string;
|
|
4849
|
+
turn: number;
|
|
4850
|
+
} | {
|
|
4851
|
+
kind: "team-task";
|
|
4852
|
+
teamId: string;
|
|
4853
|
+
taskId: string;
|
|
4854
|
+
sessionId?: string | undefined;
|
|
4855
|
+
} | {
|
|
4856
|
+
kind: "group-turn";
|
|
4857
|
+
turnId: string;
|
|
4858
|
+
};
|
|
4859
|
+
sourceGeneration: number;
|
|
4860
|
+
afterRevision: number;
|
|
4861
|
+
} | {
|
|
4862
|
+
kind: "ci-completed";
|
|
4863
|
+
cardId: string;
|
|
4864
|
+
origin: {
|
|
4865
|
+
kind: "work";
|
|
4866
|
+
ticketId: string;
|
|
4867
|
+
assignmentId: string;
|
|
4868
|
+
};
|
|
4869
|
+
sourceId: string;
|
|
4870
|
+
sourceGeneration: number;
|
|
4871
|
+
threadId: string;
|
|
4872
|
+
afterAttempt: number;
|
|
4873
|
+
afterObservedAt: string;
|
|
4874
|
+
} | undefined;
|
|
4875
|
+
deadlineAt?: string | undefined;
|
|
4126
4876
|
};
|
|
4127
4877
|
commandId: string;
|
|
4128
4878
|
};
|
|
@@ -4158,6 +4908,48 @@ declare const spec: {
|
|
|
4158
4908
|
request: string;
|
|
4159
4909
|
deadlineAt?: string | undefined;
|
|
4160
4910
|
} | undefined;
|
|
4911
|
+
when?: {
|
|
4912
|
+
kind: "subtask-completed";
|
|
4913
|
+
cardId: string;
|
|
4914
|
+
origin: {
|
|
4915
|
+
kind: "work";
|
|
4916
|
+
ticketId: string;
|
|
4917
|
+
assignmentId: string;
|
|
4918
|
+
} | {
|
|
4919
|
+
kind: "delegate";
|
|
4920
|
+
runId: string;
|
|
4921
|
+
sessionId?: string | undefined;
|
|
4922
|
+
} | {
|
|
4923
|
+
kind: "native-subagent";
|
|
4924
|
+
sessionId: string;
|
|
4925
|
+
childSessionId: string;
|
|
4926
|
+
turn: number;
|
|
4927
|
+
} | {
|
|
4928
|
+
kind: "team-task";
|
|
4929
|
+
teamId: string;
|
|
4930
|
+
taskId: string;
|
|
4931
|
+
sessionId?: string | undefined;
|
|
4932
|
+
} | {
|
|
4933
|
+
kind: "group-turn";
|
|
4934
|
+
turnId: string;
|
|
4935
|
+
};
|
|
4936
|
+
sourceGeneration: number;
|
|
4937
|
+
afterRevision: number;
|
|
4938
|
+
} | {
|
|
4939
|
+
kind: "ci-completed";
|
|
4940
|
+
cardId: string;
|
|
4941
|
+
origin: {
|
|
4942
|
+
kind: "work";
|
|
4943
|
+
ticketId: string;
|
|
4944
|
+
assignmentId: string;
|
|
4945
|
+
};
|
|
4946
|
+
sourceId: string;
|
|
4947
|
+
sourceGeneration: number;
|
|
4948
|
+
threadId: string;
|
|
4949
|
+
afterAttempt: number;
|
|
4950
|
+
afterObservedAt: string;
|
|
4951
|
+
} | undefined;
|
|
4952
|
+
deadlineAt?: string | undefined;
|
|
4161
4953
|
};
|
|
4162
4954
|
commandId: string;
|
|
4163
4955
|
};
|