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
|
@@ -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<{
|
|
@@ -1907,6 +2033,48 @@ export declare const commandSchema: z.ZodObject<{
|
|
|
1907
2033
|
request: z.ZodString;
|
|
1908
2034
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1909
2035
|
}, z.core.$strict>>;
|
|
2036
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2037
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
2038
|
+
cardId: z.ZodString;
|
|
2039
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2040
|
+
kind: z.ZodLiteral<"work">;
|
|
2041
|
+
ticketId: z.ZodString;
|
|
2042
|
+
assignmentId: z.ZodString;
|
|
2043
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2044
|
+
kind: z.ZodLiteral<"delegate">;
|
|
2045
|
+
runId: z.ZodString;
|
|
2046
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2047
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2048
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
2049
|
+
sessionId: z.ZodString;
|
|
2050
|
+
childSessionId: z.ZodString;
|
|
2051
|
+
turn: z.ZodNumber;
|
|
2052
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2053
|
+
kind: z.ZodLiteral<"team-task">;
|
|
2054
|
+
teamId: z.ZodString;
|
|
2055
|
+
taskId: z.ZodString;
|
|
2056
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2057
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2058
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
2059
|
+
turnId: z.ZodString;
|
|
2060
|
+
}, z.core.$strict>], "kind">;
|
|
2061
|
+
sourceGeneration: z.ZodNumber;
|
|
2062
|
+
afterRevision: z.ZodNumber;
|
|
2063
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2064
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
2065
|
+
cardId: z.ZodString;
|
|
2066
|
+
origin: z.ZodObject<{
|
|
2067
|
+
kind: z.ZodLiteral<"work">;
|
|
2068
|
+
ticketId: z.ZodString;
|
|
2069
|
+
assignmentId: z.ZodString;
|
|
2070
|
+
}, z.core.$strict>;
|
|
2071
|
+
sourceId: z.ZodString;
|
|
2072
|
+
sourceGeneration: z.ZodNumber;
|
|
2073
|
+
threadId: z.ZodString;
|
|
2074
|
+
afterAttempt: z.ZodNumber;
|
|
2075
|
+
afterObservedAt: z.ZodISODateTime;
|
|
2076
|
+
}, z.core.$strict>], "kind">>;
|
|
2077
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1910
2078
|
}, z.core.$strict>;
|
|
1911
2079
|
}, z.core.$strict>;
|
|
1912
2080
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1929,6 +2097,48 @@ export declare const commandSchema: z.ZodObject<{
|
|
|
1929
2097
|
request: z.ZodString;
|
|
1930
2098
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1931
2099
|
}, z.core.$strict>>;
|
|
2100
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2101
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
2102
|
+
cardId: z.ZodString;
|
|
2103
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2104
|
+
kind: z.ZodLiteral<"work">;
|
|
2105
|
+
ticketId: z.ZodString;
|
|
2106
|
+
assignmentId: z.ZodString;
|
|
2107
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2108
|
+
kind: z.ZodLiteral<"delegate">;
|
|
2109
|
+
runId: z.ZodString;
|
|
2110
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2111
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2112
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
2113
|
+
sessionId: z.ZodString;
|
|
2114
|
+
childSessionId: z.ZodString;
|
|
2115
|
+
turn: z.ZodNumber;
|
|
2116
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2117
|
+
kind: z.ZodLiteral<"team-task">;
|
|
2118
|
+
teamId: z.ZodString;
|
|
2119
|
+
taskId: z.ZodString;
|
|
2120
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2121
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2122
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
2123
|
+
turnId: z.ZodString;
|
|
2124
|
+
}, z.core.$strict>], "kind">;
|
|
2125
|
+
sourceGeneration: z.ZodNumber;
|
|
2126
|
+
afterRevision: z.ZodNumber;
|
|
2127
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2128
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
2129
|
+
cardId: z.ZodString;
|
|
2130
|
+
origin: z.ZodObject<{
|
|
2131
|
+
kind: z.ZodLiteral<"work">;
|
|
2132
|
+
ticketId: z.ZodString;
|
|
2133
|
+
assignmentId: z.ZodString;
|
|
2134
|
+
}, z.core.$strict>;
|
|
2135
|
+
sourceId: z.ZodString;
|
|
2136
|
+
sourceGeneration: z.ZodNumber;
|
|
2137
|
+
threadId: z.ZodString;
|
|
2138
|
+
afterAttempt: z.ZodNumber;
|
|
2139
|
+
afterObservedAt: z.ZodISODateTime;
|
|
2140
|
+
}, z.core.$strict>], "kind">>;
|
|
2141
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1932
2142
|
source: z.ZodObject<{
|
|
1933
2143
|
kind: z.ZodLiteral<"group-proposal">;
|
|
1934
2144
|
sessionId: z.ZodString;
|
|
@@ -1973,6 +2183,48 @@ export declare const commandSchema: z.ZodObject<{
|
|
|
1973
2183
|
request: z.ZodString;
|
|
1974
2184
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1975
2185
|
}, z.core.$strict>>;
|
|
2186
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2187
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
2188
|
+
cardId: z.ZodString;
|
|
2189
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2190
|
+
kind: z.ZodLiteral<"work">;
|
|
2191
|
+
ticketId: z.ZodString;
|
|
2192
|
+
assignmentId: z.ZodString;
|
|
2193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2194
|
+
kind: z.ZodLiteral<"delegate">;
|
|
2195
|
+
runId: z.ZodString;
|
|
2196
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2198
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
2199
|
+
sessionId: z.ZodString;
|
|
2200
|
+
childSessionId: z.ZodString;
|
|
2201
|
+
turn: z.ZodNumber;
|
|
2202
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2203
|
+
kind: z.ZodLiteral<"team-task">;
|
|
2204
|
+
teamId: z.ZodString;
|
|
2205
|
+
taskId: z.ZodString;
|
|
2206
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2207
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2208
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
2209
|
+
turnId: z.ZodString;
|
|
2210
|
+
}, z.core.$strict>], "kind">;
|
|
2211
|
+
sourceGeneration: z.ZodNumber;
|
|
2212
|
+
afterRevision: z.ZodNumber;
|
|
2213
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2214
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
2215
|
+
cardId: z.ZodString;
|
|
2216
|
+
origin: z.ZodObject<{
|
|
2217
|
+
kind: z.ZodLiteral<"work">;
|
|
2218
|
+
ticketId: z.ZodString;
|
|
2219
|
+
assignmentId: z.ZodString;
|
|
2220
|
+
}, z.core.$strict>;
|
|
2221
|
+
sourceId: z.ZodString;
|
|
2222
|
+
sourceGeneration: z.ZodNumber;
|
|
2223
|
+
threadId: z.ZodString;
|
|
2224
|
+
afterAttempt: z.ZodNumber;
|
|
2225
|
+
afterObservedAt: z.ZodISODateTime;
|
|
2226
|
+
}, z.core.$strict>], "kind">>;
|
|
2227
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1976
2228
|
}, z.core.$strict>;
|
|
1977
2229
|
}, z.core.$strict>;
|
|
1978
2230
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4008,6 +4260,48 @@ export declare const requestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4008
4260
|
request: z.ZodString;
|
|
4009
4261
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4010
4262
|
}, z.core.$strict>>;
|
|
4263
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4264
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
4265
|
+
cardId: z.ZodString;
|
|
4266
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4267
|
+
kind: z.ZodLiteral<"work">;
|
|
4268
|
+
ticketId: z.ZodString;
|
|
4269
|
+
assignmentId: z.ZodString;
|
|
4270
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4271
|
+
kind: z.ZodLiteral<"delegate">;
|
|
4272
|
+
runId: z.ZodString;
|
|
4273
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4274
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4275
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
4276
|
+
sessionId: z.ZodString;
|
|
4277
|
+
childSessionId: z.ZodString;
|
|
4278
|
+
turn: z.ZodNumber;
|
|
4279
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4280
|
+
kind: z.ZodLiteral<"team-task">;
|
|
4281
|
+
teamId: z.ZodString;
|
|
4282
|
+
taskId: z.ZodString;
|
|
4283
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4284
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4285
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
4286
|
+
turnId: z.ZodString;
|
|
4287
|
+
}, z.core.$strict>], "kind">;
|
|
4288
|
+
sourceGeneration: z.ZodNumber;
|
|
4289
|
+
afterRevision: z.ZodNumber;
|
|
4290
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4291
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
4292
|
+
cardId: z.ZodString;
|
|
4293
|
+
origin: z.ZodObject<{
|
|
4294
|
+
kind: z.ZodLiteral<"work">;
|
|
4295
|
+
ticketId: z.ZodString;
|
|
4296
|
+
assignmentId: z.ZodString;
|
|
4297
|
+
}, z.core.$strict>;
|
|
4298
|
+
sourceId: z.ZodString;
|
|
4299
|
+
sourceGeneration: z.ZodNumber;
|
|
4300
|
+
threadId: z.ZodString;
|
|
4301
|
+
afterAttempt: z.ZodNumber;
|
|
4302
|
+
afterObservedAt: z.ZodISODateTime;
|
|
4303
|
+
}, z.core.$strict>], "kind">>;
|
|
4304
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4011
4305
|
}, z.core.$strict>;
|
|
4012
4306
|
}, z.core.$strict>;
|
|
4013
4307
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4030,6 +4324,48 @@ export declare const requestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4030
4324
|
request: z.ZodString;
|
|
4031
4325
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4032
4326
|
}, z.core.$strict>>;
|
|
4327
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4328
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
4329
|
+
cardId: z.ZodString;
|
|
4330
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4331
|
+
kind: z.ZodLiteral<"work">;
|
|
4332
|
+
ticketId: z.ZodString;
|
|
4333
|
+
assignmentId: z.ZodString;
|
|
4334
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4335
|
+
kind: z.ZodLiteral<"delegate">;
|
|
4336
|
+
runId: z.ZodString;
|
|
4337
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4338
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4339
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
4340
|
+
sessionId: z.ZodString;
|
|
4341
|
+
childSessionId: z.ZodString;
|
|
4342
|
+
turn: z.ZodNumber;
|
|
4343
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4344
|
+
kind: z.ZodLiteral<"team-task">;
|
|
4345
|
+
teamId: z.ZodString;
|
|
4346
|
+
taskId: z.ZodString;
|
|
4347
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4348
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4349
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
4350
|
+
turnId: z.ZodString;
|
|
4351
|
+
}, z.core.$strict>], "kind">;
|
|
4352
|
+
sourceGeneration: z.ZodNumber;
|
|
4353
|
+
afterRevision: z.ZodNumber;
|
|
4354
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4355
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
4356
|
+
cardId: z.ZodString;
|
|
4357
|
+
origin: z.ZodObject<{
|
|
4358
|
+
kind: z.ZodLiteral<"work">;
|
|
4359
|
+
ticketId: z.ZodString;
|
|
4360
|
+
assignmentId: z.ZodString;
|
|
4361
|
+
}, z.core.$strict>;
|
|
4362
|
+
sourceId: z.ZodString;
|
|
4363
|
+
sourceGeneration: z.ZodNumber;
|
|
4364
|
+
threadId: z.ZodString;
|
|
4365
|
+
afterAttempt: z.ZodNumber;
|
|
4366
|
+
afterObservedAt: z.ZodISODateTime;
|
|
4367
|
+
}, z.core.$strict>], "kind">>;
|
|
4368
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4033
4369
|
source: z.ZodObject<{
|
|
4034
4370
|
kind: z.ZodLiteral<"group-proposal">;
|
|
4035
4371
|
sessionId: z.ZodString;
|
|
@@ -4074,6 +4410,48 @@ export declare const requestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4074
4410
|
request: z.ZodString;
|
|
4075
4411
|
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4076
4412
|
}, z.core.$strict>>;
|
|
4413
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4414
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
4415
|
+
cardId: z.ZodString;
|
|
4416
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4417
|
+
kind: z.ZodLiteral<"work">;
|
|
4418
|
+
ticketId: z.ZodString;
|
|
4419
|
+
assignmentId: z.ZodString;
|
|
4420
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4421
|
+
kind: z.ZodLiteral<"delegate">;
|
|
4422
|
+
runId: z.ZodString;
|
|
4423
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4424
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4425
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
4426
|
+
sessionId: z.ZodString;
|
|
4427
|
+
childSessionId: z.ZodString;
|
|
4428
|
+
turn: z.ZodNumber;
|
|
4429
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4430
|
+
kind: z.ZodLiteral<"team-task">;
|
|
4431
|
+
teamId: z.ZodString;
|
|
4432
|
+
taskId: z.ZodString;
|
|
4433
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4434
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4435
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
4436
|
+
turnId: z.ZodString;
|
|
4437
|
+
}, z.core.$strict>], "kind">;
|
|
4438
|
+
sourceGeneration: z.ZodNumber;
|
|
4439
|
+
afterRevision: z.ZodNumber;
|
|
4440
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4441
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
4442
|
+
cardId: z.ZodString;
|
|
4443
|
+
origin: z.ZodObject<{
|
|
4444
|
+
kind: z.ZodLiteral<"work">;
|
|
4445
|
+
ticketId: z.ZodString;
|
|
4446
|
+
assignmentId: z.ZodString;
|
|
4447
|
+
}, z.core.$strict>;
|
|
4448
|
+
sourceId: z.ZodString;
|
|
4449
|
+
sourceGeneration: z.ZodNumber;
|
|
4450
|
+
threadId: z.ZodString;
|
|
4451
|
+
afterAttempt: z.ZodNumber;
|
|
4452
|
+
afterObservedAt: z.ZodISODateTime;
|
|
4453
|
+
}, z.core.$strict>], "kind">>;
|
|
4454
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4077
4455
|
}, z.core.$strict>;
|
|
4078
4456
|
}, z.core.$strict>;
|
|
4079
4457
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -6266,6 +6644,89 @@ export declare const replySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6266
6644
|
open: "open";
|
|
6267
6645
|
ignored: "ignored";
|
|
6268
6646
|
}>;
|
|
6647
|
+
completionTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6648
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
6649
|
+
cardId: z.ZodString;
|
|
6650
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6651
|
+
kind: z.ZodLiteral<"work">;
|
|
6652
|
+
ticketId: z.ZodString;
|
|
6653
|
+
assignmentId: z.ZodString;
|
|
6654
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6655
|
+
kind: z.ZodLiteral<"delegate">;
|
|
6656
|
+
runId: z.ZodString;
|
|
6657
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6658
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6659
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
6660
|
+
sessionId: z.ZodString;
|
|
6661
|
+
childSessionId: z.ZodString;
|
|
6662
|
+
turn: z.ZodNumber;
|
|
6663
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6664
|
+
kind: z.ZodLiteral<"team-task">;
|
|
6665
|
+
teamId: z.ZodString;
|
|
6666
|
+
taskId: z.ZodString;
|
|
6667
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6668
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6669
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
6670
|
+
turnId: z.ZodString;
|
|
6671
|
+
}, z.core.$strict>], "kind">;
|
|
6672
|
+
sourceGeneration: z.ZodNumber;
|
|
6673
|
+
afterRevision: z.ZodNumber;
|
|
6674
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6675
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
6676
|
+
cardId: z.ZodString;
|
|
6677
|
+
origin: z.ZodObject<{
|
|
6678
|
+
kind: z.ZodLiteral<"work">;
|
|
6679
|
+
ticketId: z.ZodString;
|
|
6680
|
+
assignmentId: z.ZodString;
|
|
6681
|
+
}, z.core.$strict>;
|
|
6682
|
+
sourceId: z.ZodString;
|
|
6683
|
+
sourceGeneration: z.ZodNumber;
|
|
6684
|
+
threadId: z.ZodString;
|
|
6685
|
+
afterAttempt: z.ZodNumber;
|
|
6686
|
+
afterObservedAt: z.ZodISODateTime;
|
|
6687
|
+
}, z.core.$strict>], "kind">>;
|
|
6688
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6689
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
6690
|
+
cardId: z.ZodString;
|
|
6691
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6692
|
+
kind: z.ZodLiteral<"work">;
|
|
6693
|
+
ticketId: z.ZodString;
|
|
6694
|
+
assignmentId: z.ZodString;
|
|
6695
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6696
|
+
kind: z.ZodLiteral<"delegate">;
|
|
6697
|
+
runId: z.ZodString;
|
|
6698
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6699
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6700
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
6701
|
+
sessionId: z.ZodString;
|
|
6702
|
+
childSessionId: z.ZodString;
|
|
6703
|
+
turn: z.ZodNumber;
|
|
6704
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6705
|
+
kind: z.ZodLiteral<"team-task">;
|
|
6706
|
+
teamId: z.ZodString;
|
|
6707
|
+
taskId: z.ZodString;
|
|
6708
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6709
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6710
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
6711
|
+
turnId: z.ZodString;
|
|
6712
|
+
}, z.core.$strict>], "kind">;
|
|
6713
|
+
sourceGeneration: z.ZodNumber;
|
|
6714
|
+
afterRevision: z.ZodNumber;
|
|
6715
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6716
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
6717
|
+
cardId: z.ZodString;
|
|
6718
|
+
origin: z.ZodObject<{
|
|
6719
|
+
kind: z.ZodLiteral<"work">;
|
|
6720
|
+
ticketId: z.ZodString;
|
|
6721
|
+
assignmentId: z.ZodString;
|
|
6722
|
+
}, z.core.$strict>;
|
|
6723
|
+
sourceId: z.ZodString;
|
|
6724
|
+
sourceGeneration: z.ZodNumber;
|
|
6725
|
+
threadId: z.ZodString;
|
|
6726
|
+
afterAttempt: z.ZodNumber;
|
|
6727
|
+
afterObservedAt: z.ZodISODateTime;
|
|
6728
|
+
}, z.core.$strict>], "kind">>;
|
|
6729
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6269
6730
|
}, z.core.$strict>>;
|
|
6270
6731
|
}, z.core.$strict>;
|
|
6271
6732
|
protocolVersion: z.ZodLiteral<1>;
|
|
@@ -6359,6 +6820,89 @@ export declare const replySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6359
6820
|
open: "open";
|
|
6360
6821
|
ignored: "ignored";
|
|
6361
6822
|
}>;
|
|
6823
|
+
completionTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6824
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
6825
|
+
cardId: z.ZodString;
|
|
6826
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6827
|
+
kind: z.ZodLiteral<"work">;
|
|
6828
|
+
ticketId: z.ZodString;
|
|
6829
|
+
assignmentId: z.ZodString;
|
|
6830
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6831
|
+
kind: z.ZodLiteral<"delegate">;
|
|
6832
|
+
runId: z.ZodString;
|
|
6833
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6834
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6835
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
6836
|
+
sessionId: z.ZodString;
|
|
6837
|
+
childSessionId: z.ZodString;
|
|
6838
|
+
turn: z.ZodNumber;
|
|
6839
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6840
|
+
kind: z.ZodLiteral<"team-task">;
|
|
6841
|
+
teamId: z.ZodString;
|
|
6842
|
+
taskId: z.ZodString;
|
|
6843
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6844
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6845
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
6846
|
+
turnId: z.ZodString;
|
|
6847
|
+
}, z.core.$strict>], "kind">;
|
|
6848
|
+
sourceGeneration: z.ZodNumber;
|
|
6849
|
+
afterRevision: z.ZodNumber;
|
|
6850
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6851
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
6852
|
+
cardId: z.ZodString;
|
|
6853
|
+
origin: z.ZodObject<{
|
|
6854
|
+
kind: z.ZodLiteral<"work">;
|
|
6855
|
+
ticketId: z.ZodString;
|
|
6856
|
+
assignmentId: z.ZodString;
|
|
6857
|
+
}, z.core.$strict>;
|
|
6858
|
+
sourceId: z.ZodString;
|
|
6859
|
+
sourceGeneration: z.ZodNumber;
|
|
6860
|
+
threadId: z.ZodString;
|
|
6861
|
+
afterAttempt: z.ZodNumber;
|
|
6862
|
+
afterObservedAt: z.ZodISODateTime;
|
|
6863
|
+
}, z.core.$strict>], "kind">>;
|
|
6864
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6865
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
6866
|
+
cardId: z.ZodString;
|
|
6867
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6868
|
+
kind: z.ZodLiteral<"work">;
|
|
6869
|
+
ticketId: z.ZodString;
|
|
6870
|
+
assignmentId: z.ZodString;
|
|
6871
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6872
|
+
kind: z.ZodLiteral<"delegate">;
|
|
6873
|
+
runId: z.ZodString;
|
|
6874
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6875
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6876
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
6877
|
+
sessionId: z.ZodString;
|
|
6878
|
+
childSessionId: z.ZodString;
|
|
6879
|
+
turn: z.ZodNumber;
|
|
6880
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6881
|
+
kind: z.ZodLiteral<"team-task">;
|
|
6882
|
+
teamId: z.ZodString;
|
|
6883
|
+
taskId: z.ZodString;
|
|
6884
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
6885
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6886
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
6887
|
+
turnId: z.ZodString;
|
|
6888
|
+
}, z.core.$strict>], "kind">;
|
|
6889
|
+
sourceGeneration: z.ZodNumber;
|
|
6890
|
+
afterRevision: z.ZodNumber;
|
|
6891
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6892
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
6893
|
+
cardId: z.ZodString;
|
|
6894
|
+
origin: z.ZodObject<{
|
|
6895
|
+
kind: z.ZodLiteral<"work">;
|
|
6896
|
+
ticketId: z.ZodString;
|
|
6897
|
+
assignmentId: z.ZodString;
|
|
6898
|
+
}, z.core.$strict>;
|
|
6899
|
+
sourceId: z.ZodString;
|
|
6900
|
+
sourceGeneration: z.ZodNumber;
|
|
6901
|
+
threadId: z.ZodString;
|
|
6902
|
+
afterAttempt: z.ZodNumber;
|
|
6903
|
+
afterObservedAt: z.ZodISODateTime;
|
|
6904
|
+
}, z.core.$strict>], "kind">>;
|
|
6905
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6362
6906
|
}, z.core.$strict>>;
|
|
6363
6907
|
next: z.ZodOptional<z.ZodString>;
|
|
6364
6908
|
}, z.core.$strict>;
|
|
@@ -6489,6 +7033,89 @@ export declare const replySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6489
7033
|
open: "open";
|
|
6490
7034
|
ignored: "ignored";
|
|
6491
7035
|
}>;
|
|
7036
|
+
completionTarget: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7037
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
7038
|
+
cardId: z.ZodString;
|
|
7039
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7040
|
+
kind: z.ZodLiteral<"work">;
|
|
7041
|
+
ticketId: z.ZodString;
|
|
7042
|
+
assignmentId: z.ZodString;
|
|
7043
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7044
|
+
kind: z.ZodLiteral<"delegate">;
|
|
7045
|
+
runId: z.ZodString;
|
|
7046
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
7047
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7048
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
7049
|
+
sessionId: z.ZodString;
|
|
7050
|
+
childSessionId: z.ZodString;
|
|
7051
|
+
turn: z.ZodNumber;
|
|
7052
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7053
|
+
kind: z.ZodLiteral<"team-task">;
|
|
7054
|
+
teamId: z.ZodString;
|
|
7055
|
+
taskId: z.ZodString;
|
|
7056
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
7057
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7058
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
7059
|
+
turnId: z.ZodString;
|
|
7060
|
+
}, z.core.$strict>], "kind">;
|
|
7061
|
+
sourceGeneration: z.ZodNumber;
|
|
7062
|
+
afterRevision: z.ZodNumber;
|
|
7063
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7064
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
7065
|
+
cardId: z.ZodString;
|
|
7066
|
+
origin: z.ZodObject<{
|
|
7067
|
+
kind: z.ZodLiteral<"work">;
|
|
7068
|
+
ticketId: z.ZodString;
|
|
7069
|
+
assignmentId: z.ZodString;
|
|
7070
|
+
}, z.core.$strict>;
|
|
7071
|
+
sourceId: z.ZodString;
|
|
7072
|
+
sourceGeneration: z.ZodNumber;
|
|
7073
|
+
threadId: z.ZodString;
|
|
7074
|
+
afterAttempt: z.ZodNumber;
|
|
7075
|
+
afterObservedAt: z.ZodISODateTime;
|
|
7076
|
+
}, z.core.$strict>], "kind">>;
|
|
7077
|
+
when: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7078
|
+
kind: z.ZodLiteral<"subtask-completed">;
|
|
7079
|
+
cardId: z.ZodString;
|
|
7080
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7081
|
+
kind: z.ZodLiteral<"work">;
|
|
7082
|
+
ticketId: z.ZodString;
|
|
7083
|
+
assignmentId: z.ZodString;
|
|
7084
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7085
|
+
kind: z.ZodLiteral<"delegate">;
|
|
7086
|
+
runId: z.ZodString;
|
|
7087
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
7088
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7089
|
+
kind: z.ZodLiteral<"native-subagent">;
|
|
7090
|
+
sessionId: z.ZodString;
|
|
7091
|
+
childSessionId: z.ZodString;
|
|
7092
|
+
turn: z.ZodNumber;
|
|
7093
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7094
|
+
kind: z.ZodLiteral<"team-task">;
|
|
7095
|
+
teamId: z.ZodString;
|
|
7096
|
+
taskId: z.ZodString;
|
|
7097
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
7098
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7099
|
+
kind: z.ZodLiteral<"group-turn">;
|
|
7100
|
+
turnId: z.ZodString;
|
|
7101
|
+
}, z.core.$strict>], "kind">;
|
|
7102
|
+
sourceGeneration: z.ZodNumber;
|
|
7103
|
+
afterRevision: z.ZodNumber;
|
|
7104
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7105
|
+
kind: z.ZodLiteral<"ci-completed">;
|
|
7106
|
+
cardId: z.ZodString;
|
|
7107
|
+
origin: z.ZodObject<{
|
|
7108
|
+
kind: z.ZodLiteral<"work">;
|
|
7109
|
+
ticketId: z.ZodString;
|
|
7110
|
+
assignmentId: z.ZodString;
|
|
7111
|
+
}, z.core.$strict>;
|
|
7112
|
+
sourceId: z.ZodString;
|
|
7113
|
+
sourceGeneration: z.ZodNumber;
|
|
7114
|
+
threadId: z.ZodString;
|
|
7115
|
+
afterAttempt: z.ZodNumber;
|
|
7116
|
+
afterObservedAt: z.ZodISODateTime;
|
|
7117
|
+
}, z.core.$strict>], "kind">>;
|
|
7118
|
+
deadlineAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6492
7119
|
}, z.core.$strict>>;
|
|
6493
7120
|
activationEpoch: z.ZodNullable<z.ZodUUID>;
|
|
6494
7121
|
protocolVersion: z.ZodLiteral<1>;
|