@atolis-hq/wake 0.4.104 → 0.4.106
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/dist/src/activities/agent/agent-activity.js +10 -0
- package/dist/src/activities/contracts/activity.d.ts +28 -0
- package/dist/src/activities/contracts/event-schema.d.ts +314 -8
- package/dist/src/activities/contracts/event-schema.js +20 -2
- package/dist/src/activities/contracts/events.d.ts +10 -0
- package/dist/src/activities/contracts/vocabulary.d.ts +2 -0
- package/dist/src/activities/contracts/vocabulary.js +2 -0
- package/dist/src/activities/index.d.ts +2 -0
- package/dist/src/activities/index.js +2 -0
- package/dist/src/activities/pr/activity-support.d.ts +1 -1
- package/dist/src/activities/pr/activity-support.js +10 -0
- package/dist/src/activities/pr/application.js +8 -1
- package/dist/src/activities/pr/approve.d.ts +2 -1
- package/dist/src/activities/pr/approve.js +33 -11
- package/dist/src/activities/pr/check-evidence.d.ts +10 -0
- package/dist/src/activities/pr/check-evidence.js +16 -0
- package/dist/src/activities/pr/contracts.d.ts +14 -0
- package/dist/src/activities/pr/event-data.js +5 -1
- package/dist/src/activities/pr/merge.d.ts +2 -1
- package/dist/src/activities/pr/merge.js +54 -38
- package/dist/src/activities/pr/parent-scope.d.ts +65 -0
- package/dist/src/activities/pr/parent-scope.js +24 -0
- package/dist/src/activities/pr/parent-target.d.ts +45 -0
- package/dist/src/activities/pr/parent-target.js +59 -0
- package/dist/src/activities/pr/projection.js +10 -2
- package/dist/src/activities/pr/vocabulary.d.ts +8 -0
- package/dist/src/activities/pr/vocabulary.js +8 -0
- package/dist/src/bootstrap/activity-registry.d.ts +2 -2
- package/dist/src/bootstrap/activity-registry.js +3 -3
- package/dist/src/bootstrap/composition-root.js +11 -2
- package/dist/src/bootstrap/config/root-schema.d.ts +22 -0
- package/dist/src/bootstrap/delegation-authority.js +17 -0
- package/dist/src/bootstrap/delivery-integration.d.ts +9 -0
- package/dist/src/bootstrap/delivery-integration.js +46 -0
- package/dist/src/bootstrap/surface-api-delivery.js +52 -0
- package/dist/src/bootstrap/version.js +1 -1
- package/dist/src/control-plane/application/activation-scheduler-ports.d.ts +5 -1
- package/dist/src/control-plane/application/advance-once-dispatch.js +12 -6
- package/dist/src/execution/application/candidate-workspaces.d.ts +13 -0
- package/dist/src/execution/application/candidate-workspaces.js +75 -0
- package/dist/src/execution/application/execution-service.js +37 -11
- package/dist/src/execution/application/maintenance-workspaces.d.ts +17 -0
- package/dist/src/execution/application/maintenance-workspaces.js +84 -0
- package/dist/src/execution/application/run-lifecycle.js +2 -0
- package/dist/src/execution/contracts/candidate.d.ts +31 -0
- package/dist/src/execution/contracts/candidate.js +40 -0
- package/dist/src/execution/contracts/commands.d.ts +4 -0
- package/dist/src/execution/contracts/events.d.ts +24 -0
- package/dist/src/execution/contracts/events.js +4 -0
- package/dist/src/execution/contracts/maintenance.d.ts +36 -0
- package/dist/src/execution/contracts/maintenance.js +44 -0
- package/dist/src/execution/contracts/repository-assignment.d.ts +5 -0
- package/dist/src/execution/contracts/repository-assignment.js +8 -0
- package/dist/src/execution/contracts/views.d.ts +4 -0
- package/dist/src/execution/contracts/vocabulary.d.ts +5 -0
- package/dist/src/execution/contracts/vocabulary.js +4 -0
- package/dist/src/execution/contracts/workspace.d.ts +8 -0
- package/dist/src/execution/index.d.ts +2 -0
- package/dist/src/execution/index.js +2 -0
- package/dist/src/execution/infrastructure/workspace/git-source.d.ts +2 -2
- package/dist/src/execution/infrastructure/workspace/git-source.js +18 -1
- package/dist/src/execution/infrastructure/workspace/git-workspace.d.ts +2 -4
- package/dist/src/execution/infrastructure/workspace/git-workspace.js +12 -1
- package/dist/src/integrations/application/delegation-outputs.js +1 -1
- package/dist/src/integrations/application/delivery-integration-verification.d.ts +13 -0
- package/dist/src/integrations/application/delivery-integration-verification.js +68 -0
- package/dist/src/integrations/delivery/application/delivery-projector.js +3 -0
- package/dist/src/integrations/delivery/application/merged-delivery-evidence.js +9 -1
- package/dist/src/integrations/delivery/contracts/views.d.ts +2 -0
- package/dist/src/integrations/fake/external-source.d.ts +5 -2
- package/dist/src/integrations/fake/external-source.js +12 -2
- package/dist/src/integrations/fake/inbound-translator.js +7 -2
- package/dist/src/integrations/fake/provider.d.ts +17 -0
- package/dist/src/integrations/fake/provider.js +18 -2
- package/dist/src/integrations/github/application/pull-request-translation.js +2 -0
- package/dist/src/integrations/github/contracts/events.d.ts +3 -1
- package/dist/src/integrations/github/contracts/events.js +3 -1
- package/dist/src/integrations/github/contracts/payloads.d.ts +23 -0
- package/dist/src/integrations/github/infrastructure/check-execution.d.ts +9 -0
- package/dist/src/integrations/github/infrastructure/check-execution.js +68 -0
- package/dist/src/integrations/github/infrastructure/checkout-revision.d.ts +2 -0
- package/dist/src/integrations/github/infrastructure/checkout-revision.js +23 -0
- package/dist/src/integrations/github/infrastructure/client.d.ts +2 -0
- package/dist/src/integrations/github/infrastructure/client.js +4 -0
- package/dist/src/integrations/github/infrastructure/pr-check-subject.d.ts +7 -0
- package/dist/src/integrations/github/infrastructure/pr-check-subject.js +77 -0
- package/dist/src/integrations/github/infrastructure/pr-evidence.d.ts +6 -3
- package/dist/src/integrations/github/infrastructure/pr-evidence.js +1 -1
- package/dist/src/integrations/github/infrastructure/pr-source.d.ts +3 -5
- package/dist/src/integrations/github/infrastructure/pr-source.js +11 -1
- package/dist/src/integrations/github/infrastructure/workflow-run-evidence.d.ts +5 -0
- package/dist/src/integrations/github/infrastructure/workflow-run-evidence.js +22 -0
- package/dist/src/integrations/index.d.ts +1 -0
- package/dist/src/integrations/index.js +1 -0
- package/dist/src/orchestration/application/delegated-work.d.ts +5 -0
- package/dist/src/orchestration/application/delegated-work.js +10 -0
- package/dist/src/orchestration/application/delegation-commands.d.ts +16 -0
- package/dist/src/orchestration/application/delivery-coordinator.d.ts +348 -0
- package/dist/src/orchestration/application/delivery-coordinator.js +239 -0
- package/dist/src/orchestration/application/delivery-facts-reader.d.ts +9 -0
- package/dist/src/orchestration/application/delivery-facts-reader.js +47 -0
- package/dist/src/orchestration/application/delivery-integration-reader.d.ts +9 -0
- package/dist/src/orchestration/application/delivery-integration-reader.js +23 -0
- package/dist/src/orchestration/application/delivery-integration-service.d.ts +50 -0
- package/dist/src/orchestration/application/delivery-integration-service.js +228 -0
- package/dist/src/orchestration/application/delivery-preparation.d.ts +16 -0
- package/dist/src/orchestration/application/delivery-preparation.js +105 -0
- package/dist/src/orchestration/application/delivery-sources.d.ts +10 -0
- package/dist/src/orchestration/application/delivery-sources.js +41 -0
- package/dist/src/orchestration/application/orchestration-repository.d.ts +3 -1
- package/dist/src/orchestration/application/orchestration-repository.js +10 -1
- package/dist/src/orchestration/application/orchestration-service.d.ts +341 -2
- package/dist/src/orchestration/application/orchestration-service.js +86 -4
- package/dist/src/orchestration/contracts/config.d.ts +22 -0
- package/dist/src/orchestration/contracts/config.js +13 -1
- package/dist/src/orchestration/contracts/delegation-ports.d.ts +4 -0
- package/dist/src/orchestration/contracts/delegation.d.ts +13 -1
- package/dist/src/orchestration/contracts/delegation.js +5 -0
- package/dist/src/orchestration/contracts/delivery-ports.d.ts +53 -0
- package/dist/src/orchestration/contracts/delivery-ports.js +1 -0
- package/dist/src/orchestration/contracts/delivery.d.ts +310 -0
- package/dist/src/orchestration/contracts/delivery.js +186 -0
- package/dist/src/orchestration/contracts/event-decoder.js +14 -1
- package/dist/src/orchestration/contracts/event-factory.js +8 -0
- package/dist/src/orchestration/contracts/events.d.ts +10 -0
- package/dist/src/orchestration/contracts/events.js +4 -0
- package/dist/src/orchestration/contracts/views.d.ts +3 -0
- package/dist/src/orchestration/contracts/vocabulary.d.ts +90 -0
- package/dist/src/orchestration/contracts/vocabulary.js +82 -0
- package/dist/src/orchestration/domain/compile-diagnostics.d.ts +1 -1
- package/dist/src/orchestration/domain/compile-diagnostics.js +5 -0
- package/dist/src/orchestration/domain/compiler.js +2 -0
- package/dist/src/orchestration/domain/delivery-candidate.d.ts +9 -0
- package/dist/src/orchestration/domain/delivery-candidate.js +105 -0
- package/dist/src/orchestration/domain/delivery-facts.d.ts +89 -0
- package/dist/src/orchestration/domain/delivery-facts.js +66 -0
- package/dist/src/orchestration/domain/delivery-integration-policy.d.ts +7 -0
- package/dist/src/orchestration/domain/delivery-integration-policy.js +15 -0
- package/dist/src/orchestration/domain/delivery-integration.d.ts +54 -0
- package/dist/src/orchestration/domain/delivery-integration.js +144 -0
- package/dist/src/orchestration/domain/delivery-qa.d.ts +33 -0
- package/dist/src/orchestration/domain/delivery-qa.js +97 -0
- package/dist/src/orchestration/domain/delivery-replacement.d.ts +9 -0
- package/dist/src/orchestration/domain/delivery-replacement.js +54 -0
- package/dist/src/orchestration/domain/delivery-selection.d.ts +17 -0
- package/dist/src/orchestration/domain/delivery-selection.js +132 -0
- package/dist/src/orchestration/domain/delivery-workflow-policy.d.ts +6 -0
- package/dist/src/orchestration/domain/delivery-workflow-policy.js +32 -0
- package/dist/src/orchestration/domain/operator-retry-policy.js +24 -13
- package/dist/src/orchestration/domain/workflow-instance-events.d.ts +1 -0
- package/dist/src/orchestration/domain/workflow-instance-events.js +12 -0
- package/dist/src/orchestration/index.d.ts +3 -0
- package/dist/src/orchestration/index.js +1 -0
- package/dist/src/surfaces/api/contracts/transport-values.js +1 -0
- package/dist/src/surfaces/api/contracts/work.d.ts +42 -0
- package/dist/src/surfaces/api/presenters/execution.js +1 -0
- package/dist/src/surfaces/mcp/delegation.js +36 -1
- package/dist/src/surfaces/web-assets/assets/index-ih1h3dxC.js +1192 -0
- package/dist/src/surfaces/web-assets/index.html +1 -1
- package/package.json +1 -1
- package/dist/src/surfaces/web-assets/assets/index-C5R-aWzH.js +0 -1192
|
@@ -51,6 +51,10 @@ export declare const deniedOutcomeSchema: z.ZodObject<{
|
|
|
51
51
|
"too-many-files-changed": "too-many-files-changed";
|
|
52
52
|
"blocked-path-changed": "blocked-path-changed";
|
|
53
53
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
54
|
+
"outside-delivery": "outside-delivery";
|
|
55
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
56
|
+
"target-held": "target-held";
|
|
57
|
+
"maintenance-required": "maintenance-required";
|
|
54
58
|
}>;
|
|
55
59
|
resourceId: z.ZodOptional<z.ZodString>;
|
|
56
60
|
revision: z.ZodOptional<z.ZodString>;
|
|
@@ -116,6 +120,7 @@ export declare function createResourceFactDraftSchemas(eventTypes: ActivityEvent
|
|
|
116
120
|
eventType: z.ZodLiteral<"pr.discovered">;
|
|
117
121
|
payload: z.ZodObject<{
|
|
118
122
|
workItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
123
|
+
mergeRevision: z.ZodOptional<z.ZodString>;
|
|
119
124
|
state: z.ZodEnum<{
|
|
120
125
|
open: "open";
|
|
121
126
|
closed: "closed";
|
|
@@ -134,6 +139,12 @@ export declare function createResourceFactDraftSchemas(eventTypes: ActivityEvent
|
|
|
134
139
|
passing: "passing";
|
|
135
140
|
failing: "failing";
|
|
136
141
|
}>;
|
|
142
|
+
checkEvidence: z.ZodOptional<z.ZodObject<{
|
|
143
|
+
testedRevision: z.ZodOptional<z.ZodString>;
|
|
144
|
+
headRevision: z.ZodString;
|
|
145
|
+
baseRevision: z.ZodString;
|
|
146
|
+
startedAt: z.ZodString;
|
|
147
|
+
}, z.core.$strict>>;
|
|
137
148
|
changedFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
149
|
}, z.core.$strict>;
|
|
139
150
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -198,6 +209,7 @@ export declare function createResourceFactDraftSchemas(eventTypes: ActivityEvent
|
|
|
198
209
|
clean: "clean";
|
|
199
210
|
conflicting: "conflicting";
|
|
200
211
|
}>>;
|
|
212
|
+
mergeRevision: z.ZodOptional<z.ZodString>;
|
|
201
213
|
}, z.core.$strict>;
|
|
202
214
|
}, z.core.$strict>, z.ZodObject<{
|
|
203
215
|
eventId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<import("@atolis-hq/eventing").EventId, string>>>;
|
|
@@ -229,6 +241,12 @@ export declare function createResourceFactDraftSchemas(eventTypes: ActivityEvent
|
|
|
229
241
|
passing: "passing";
|
|
230
242
|
failing: "failing";
|
|
231
243
|
}>;
|
|
244
|
+
checkEvidence: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
testedRevision: z.ZodOptional<z.ZodString>;
|
|
246
|
+
headRevision: z.ZodString;
|
|
247
|
+
baseRevision: z.ZodString;
|
|
248
|
+
startedAt: z.ZodString;
|
|
249
|
+
}, z.core.$strict>>;
|
|
232
250
|
}, z.core.$strict>;
|
|
233
251
|
}, z.core.$strict>, z.ZodObject<{
|
|
234
252
|
eventId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<import("@atolis-hq/eventing").EventId, string>>>;
|
|
@@ -355,6 +373,10 @@ export declare function createResourceFactDraftSchemas(eventTypes: ActivityEvent
|
|
|
355
373
|
"too-many-files-changed": "too-many-files-changed";
|
|
356
374
|
"blocked-path-changed": "blocked-path-changed";
|
|
357
375
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
376
|
+
"outside-delivery": "outside-delivery";
|
|
377
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
378
|
+
"target-held": "target-held";
|
|
379
|
+
"maintenance-required": "maintenance-required";
|
|
358
380
|
}>;
|
|
359
381
|
}, z.core.$strict>;
|
|
360
382
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -413,6 +435,17 @@ export declare function createResourceFactDraftSchemas(eventTypes: ActivityEvent
|
|
|
413
435
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
414
436
|
revision: z.ZodString;
|
|
415
437
|
body: z.ZodNullable<z.ZodString>;
|
|
438
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
439
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
440
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
441
|
+
output: z.ZodObject<{
|
|
442
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
443
|
+
outputName: z.ZodString;
|
|
444
|
+
}, z.core.$strict>;
|
|
445
|
+
candidateId: z.ZodString;
|
|
446
|
+
selectionRevision: z.ZodNumber;
|
|
447
|
+
qaId: z.ZodString;
|
|
448
|
+
}, z.core.$strict>>;
|
|
416
449
|
}, z.core.$strict>;
|
|
417
450
|
}, z.core.$strict>, z.ZodObject<{
|
|
418
451
|
eventId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<import("@atolis-hq/eventing").EventId, string>>>;
|
|
@@ -450,6 +483,17 @@ export declare function createResourceFactDraftSchemas(eventTypes: ActivityEvent
|
|
|
450
483
|
}>;
|
|
451
484
|
requireChecks: z.ZodBoolean;
|
|
452
485
|
autoMerge: z.ZodDefault<z.ZodBoolean>;
|
|
486
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
487
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
488
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
489
|
+
output: z.ZodObject<{
|
|
490
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
491
|
+
outputName: z.ZodString;
|
|
492
|
+
}, z.core.$strict>;
|
|
493
|
+
candidateId: z.ZodString;
|
|
494
|
+
selectionRevision: z.ZodNumber;
|
|
495
|
+
qaId: z.ZodString;
|
|
496
|
+
}, z.core.$strict>>;
|
|
453
497
|
}, z.core.$strict>;
|
|
454
498
|
}, z.core.$strict>];
|
|
455
499
|
export declare function createDenialDraftSchemas(eventTypes: ActivityEventTypes): readonly [z.ZodObject<{
|
|
@@ -491,6 +535,10 @@ export declare function createDenialDraftSchemas(eventTypes: ActivityEventTypes)
|
|
|
491
535
|
"too-many-files-changed": "too-many-files-changed";
|
|
492
536
|
"blocked-path-changed": "blocked-path-changed";
|
|
493
537
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
538
|
+
"outside-delivery": "outside-delivery";
|
|
539
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
540
|
+
"target-held": "target-held";
|
|
541
|
+
"maintenance-required": "maintenance-required";
|
|
494
542
|
}>;
|
|
495
543
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
496
544
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -547,6 +595,10 @@ export declare function createDenialDraftSchemas(eventTypes: ActivityEventTypes)
|
|
|
547
595
|
"too-many-files-changed": "too-many-files-changed";
|
|
548
596
|
"blocked-path-changed": "blocked-path-changed";
|
|
549
597
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
598
|
+
"outside-delivery": "outside-delivery";
|
|
599
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
600
|
+
"target-held": "target-held";
|
|
601
|
+
"maintenance-required": "maintenance-required";
|
|
550
602
|
}>;
|
|
551
603
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
552
604
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -624,6 +676,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
624
676
|
eventType: z.ZodLiteral<"pr.discovered">;
|
|
625
677
|
payload: z.ZodObject<{
|
|
626
678
|
workItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
679
|
+
mergeRevision: z.ZodOptional<z.ZodString>;
|
|
627
680
|
state: z.ZodEnum<{
|
|
628
681
|
open: "open";
|
|
629
682
|
closed: "closed";
|
|
@@ -642,6 +695,12 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
642
695
|
passing: "passing";
|
|
643
696
|
failing: "failing";
|
|
644
697
|
}>;
|
|
698
|
+
checkEvidence: z.ZodOptional<z.ZodObject<{
|
|
699
|
+
testedRevision: z.ZodOptional<z.ZodString>;
|
|
700
|
+
headRevision: z.ZodString;
|
|
701
|
+
baseRevision: z.ZodString;
|
|
702
|
+
startedAt: z.ZodString;
|
|
703
|
+
}, z.core.$strict>>;
|
|
645
704
|
changedFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
646
705
|
}, z.core.$strict>;
|
|
647
706
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -706,6 +765,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
706
765
|
clean: "clean";
|
|
707
766
|
conflicting: "conflicting";
|
|
708
767
|
}>>;
|
|
768
|
+
mergeRevision: z.ZodOptional<z.ZodString>;
|
|
709
769
|
}, z.core.$strict>;
|
|
710
770
|
}, z.core.$strict>, z.ZodObject<{
|
|
711
771
|
eventId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<import("@atolis-hq/eventing").EventId, string>>>;
|
|
@@ -737,6 +797,12 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
737
797
|
passing: "passing";
|
|
738
798
|
failing: "failing";
|
|
739
799
|
}>;
|
|
800
|
+
checkEvidence: z.ZodOptional<z.ZodObject<{
|
|
801
|
+
testedRevision: z.ZodOptional<z.ZodString>;
|
|
802
|
+
headRevision: z.ZodString;
|
|
803
|
+
baseRevision: z.ZodString;
|
|
804
|
+
startedAt: z.ZodString;
|
|
805
|
+
}, z.core.$strict>>;
|
|
740
806
|
}, z.core.$strict>;
|
|
741
807
|
}, z.core.$strict>, z.ZodObject<{
|
|
742
808
|
eventId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<import("@atolis-hq/eventing").EventId, string>>>;
|
|
@@ -863,6 +929,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
863
929
|
"too-many-files-changed": "too-many-files-changed";
|
|
864
930
|
"blocked-path-changed": "blocked-path-changed";
|
|
865
931
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
932
|
+
"outside-delivery": "outside-delivery";
|
|
933
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
934
|
+
"target-held": "target-held";
|
|
935
|
+
"maintenance-required": "maintenance-required";
|
|
866
936
|
}>;
|
|
867
937
|
}, z.core.$strict>;
|
|
868
938
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -921,6 +991,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
921
991
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
922
992
|
revision: z.ZodString;
|
|
923
993
|
body: z.ZodNullable<z.ZodString>;
|
|
994
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
995
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
996
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
997
|
+
output: z.ZodObject<{
|
|
998
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
999
|
+
outputName: z.ZodString;
|
|
1000
|
+
}, z.core.$strict>;
|
|
1001
|
+
candidateId: z.ZodString;
|
|
1002
|
+
selectionRevision: z.ZodNumber;
|
|
1003
|
+
qaId: z.ZodString;
|
|
1004
|
+
}, z.core.$strict>>;
|
|
924
1005
|
}, z.core.$strict>;
|
|
925
1006
|
}, z.core.$strict>, z.ZodObject<{
|
|
926
1007
|
eventId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<import("@atolis-hq/eventing").EventId, string>>>;
|
|
@@ -958,6 +1039,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
958
1039
|
}>;
|
|
959
1040
|
requireChecks: z.ZodBoolean;
|
|
960
1041
|
autoMerge: z.ZodDefault<z.ZodBoolean>;
|
|
1042
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1043
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1044
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1045
|
+
output: z.ZodObject<{
|
|
1046
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1047
|
+
outputName: z.ZodString;
|
|
1048
|
+
}, z.core.$strict>;
|
|
1049
|
+
candidateId: z.ZodString;
|
|
1050
|
+
selectionRevision: z.ZodNumber;
|
|
1051
|
+
qaId: z.ZodString;
|
|
1052
|
+
}, z.core.$strict>>;
|
|
961
1053
|
}, z.core.$strict>;
|
|
962
1054
|
}, z.core.$strict>]>;
|
|
963
1055
|
stream: z.ZodObject<{
|
|
@@ -1007,6 +1099,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1007
1099
|
"too-many-files-changed": "too-many-files-changed";
|
|
1008
1100
|
"blocked-path-changed": "blocked-path-changed";
|
|
1009
1101
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
1102
|
+
"outside-delivery": "outside-delivery";
|
|
1103
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
1104
|
+
"target-held": "target-held";
|
|
1105
|
+
"maintenance-required": "maintenance-required";
|
|
1010
1106
|
}>;
|
|
1011
1107
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
1012
1108
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -1063,6 +1159,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1063
1159
|
"too-many-files-changed": "too-many-files-changed";
|
|
1064
1160
|
"blocked-path-changed": "blocked-path-changed";
|
|
1065
1161
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
1162
|
+
"outside-delivery": "outside-delivery";
|
|
1163
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
1164
|
+
"target-held": "target-held";
|
|
1165
|
+
"maintenance-required": "maintenance-required";
|
|
1066
1166
|
}>;
|
|
1067
1167
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
1068
1168
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -1156,6 +1256,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1156
1256
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
1157
1257
|
revision: z.ZodString;
|
|
1158
1258
|
body: z.ZodNullable<z.ZodString>;
|
|
1259
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1260
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1261
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1262
|
+
output: z.ZodObject<{
|
|
1263
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1264
|
+
outputName: z.ZodString;
|
|
1265
|
+
}, z.core.$strict>;
|
|
1266
|
+
candidateId: z.ZodString;
|
|
1267
|
+
selectionRevision: z.ZodNumber;
|
|
1268
|
+
qaId: z.ZodString;
|
|
1269
|
+
}, z.core.$strict>>;
|
|
1159
1270
|
}, z.core.$strict>;
|
|
1160
1271
|
}, z.core.$strip>;
|
|
1161
1272
|
factStream: z.ZodObject<{
|
|
@@ -1182,6 +1293,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1182
1293
|
"too-many-files-changed": "too-many-files-changed";
|
|
1183
1294
|
"blocked-path-changed": "blocked-path-changed";
|
|
1184
1295
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
1296
|
+
"outside-delivery": "outside-delivery";
|
|
1297
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
1298
|
+
"target-held": "target-held";
|
|
1299
|
+
"maintenance-required": "maintenance-required";
|
|
1185
1300
|
}>;
|
|
1186
1301
|
resourceId: z.ZodOptional<z.ZodString>;
|
|
1187
1302
|
revision: z.ZodOptional<z.ZodString>;
|
|
@@ -1232,6 +1347,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1232
1347
|
"too-many-files-changed": "too-many-files-changed";
|
|
1233
1348
|
"blocked-path-changed": "blocked-path-changed";
|
|
1234
1349
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
1350
|
+
"outside-delivery": "outside-delivery";
|
|
1351
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
1352
|
+
"target-held": "target-held";
|
|
1353
|
+
"maintenance-required": "maintenance-required";
|
|
1235
1354
|
}>;
|
|
1236
1355
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
1237
1356
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -1298,6 +1417,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1298
1417
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
1299
1418
|
revision: z.ZodString;
|
|
1300
1419
|
body: z.ZodNullable<z.ZodString>;
|
|
1420
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1421
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1422
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1423
|
+
output: z.ZodObject<{
|
|
1424
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1425
|
+
outputName: z.ZodString;
|
|
1426
|
+
}, z.core.$strict>;
|
|
1427
|
+
candidateId: z.ZodString;
|
|
1428
|
+
selectionRevision: z.ZodNumber;
|
|
1429
|
+
qaId: z.ZodString;
|
|
1430
|
+
}, z.core.$strict>>;
|
|
1301
1431
|
}, z.core.$strict>;
|
|
1302
1432
|
stream: z.ZodObject<{
|
|
1303
1433
|
kind: z.ZodLiteral<"resource">;
|
|
@@ -1321,6 +1451,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1321
1451
|
resourceId: import("../../resources/index.js").ResourceId;
|
|
1322
1452
|
revision: string;
|
|
1323
1453
|
body: string | null;
|
|
1454
|
+
parent?: {
|
|
1455
|
+
requestingWorkItemId: import("../../work/index.js").WorkItemId;
|
|
1456
|
+
ownerWorkItemId: import("../../work/index.js").WorkItemId;
|
|
1457
|
+
output: {
|
|
1458
|
+
childWorkItemId: import("../../work/index.js").WorkItemId;
|
|
1459
|
+
outputName: string;
|
|
1460
|
+
};
|
|
1461
|
+
candidateId: string;
|
|
1462
|
+
selectionRevision: number;
|
|
1463
|
+
qaId: string;
|
|
1464
|
+
} | undefined;
|
|
1324
1465
|
};
|
|
1325
1466
|
};
|
|
1326
1467
|
factStream: {
|
|
@@ -1370,6 +1511,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1370
1511
|
resourceId: import("../../resources/index.js").ResourceId;
|
|
1371
1512
|
revision: string;
|
|
1372
1513
|
body: string | null;
|
|
1514
|
+
parent?: {
|
|
1515
|
+
requestingWorkItemId: import("../../work/index.js").WorkItemId;
|
|
1516
|
+
ownerWorkItemId: import("../../work/index.js").WorkItemId;
|
|
1517
|
+
output: {
|
|
1518
|
+
childWorkItemId: import("../../work/index.js").WorkItemId;
|
|
1519
|
+
outputName: string;
|
|
1520
|
+
};
|
|
1521
|
+
candidateId: string;
|
|
1522
|
+
selectionRevision: number;
|
|
1523
|
+
qaId: string;
|
|
1524
|
+
} | undefined;
|
|
1373
1525
|
};
|
|
1374
1526
|
stream: {
|
|
1375
1527
|
kind: "resource";
|
|
@@ -1396,6 +1548,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1396
1548
|
"too-many-files-changed": "too-many-files-changed";
|
|
1397
1549
|
"blocked-path-changed": "blocked-path-changed";
|
|
1398
1550
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
1551
|
+
"outside-delivery": "outside-delivery";
|
|
1552
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
1553
|
+
"target-held": "target-held";
|
|
1554
|
+
"maintenance-required": "maintenance-required";
|
|
1399
1555
|
}>;
|
|
1400
1556
|
resourceId: z.ZodOptional<z.ZodString>;
|
|
1401
1557
|
revision: z.ZodOptional<z.ZodString>;
|
|
@@ -1446,6 +1602,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1446
1602
|
"too-many-files-changed": "too-many-files-changed";
|
|
1447
1603
|
"blocked-path-changed": "blocked-path-changed";
|
|
1448
1604
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
1605
|
+
"outside-delivery": "outside-delivery";
|
|
1606
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
1607
|
+
"target-held": "target-held";
|
|
1608
|
+
"maintenance-required": "maintenance-required";
|
|
1449
1609
|
}>;
|
|
1450
1610
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
1451
1611
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -1484,7 +1644,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1484
1644
|
payload: {
|
|
1485
1645
|
activationId: import("./identifiers.js").ActivationId;
|
|
1486
1646
|
idempotencyKey: string;
|
|
1487
|
-
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable";
|
|
1647
|
+
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable" | "outside-delivery" | "delivery-not-ready" | "target-held" | "maintenance-required";
|
|
1488
1648
|
target?: "primary" | {
|
|
1489
1649
|
resourceId: import("../../resources/index.js").ResourceId;
|
|
1490
1650
|
} | undefined;
|
|
@@ -1511,7 +1671,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1511
1671
|
outcome: {
|
|
1512
1672
|
kind: "blocked";
|
|
1513
1673
|
data: {
|
|
1514
|
-
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable";
|
|
1674
|
+
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable" | "outside-delivery" | "delivery-not-ready" | "target-held" | "maintenance-required";
|
|
1515
1675
|
resourceId?: string | undefined;
|
|
1516
1676
|
revision?: string | undefined;
|
|
1517
1677
|
policy?: {
|
|
@@ -1529,7 +1689,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1529
1689
|
outcome: {
|
|
1530
1690
|
kind: "blocked";
|
|
1531
1691
|
data: {
|
|
1532
|
-
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable";
|
|
1692
|
+
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable" | "outside-delivery" | "delivery-not-ready" | "target-held" | "maintenance-required";
|
|
1533
1693
|
resourceId?: string | undefined;
|
|
1534
1694
|
revision?: string | undefined;
|
|
1535
1695
|
policy?: {
|
|
@@ -1558,7 +1718,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1558
1718
|
payload: {
|
|
1559
1719
|
activationId: import("./identifiers.js").ActivationId;
|
|
1560
1720
|
idempotencyKey: string;
|
|
1561
|
-
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable";
|
|
1721
|
+
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable" | "outside-delivery" | "delivery-not-ready" | "target-held" | "maintenance-required";
|
|
1562
1722
|
target?: "primary" | {
|
|
1563
1723
|
resourceId: import("../../resources/index.js").ResourceId;
|
|
1564
1724
|
} | undefined;
|
|
@@ -1659,6 +1819,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1659
1819
|
}>;
|
|
1660
1820
|
requireChecks: z.ZodBoolean;
|
|
1661
1821
|
autoMerge: z.ZodDefault<z.ZodBoolean>;
|
|
1822
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1823
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1824
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1825
|
+
output: z.ZodObject<{
|
|
1826
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1827
|
+
outputName: z.ZodString;
|
|
1828
|
+
}, z.core.$strict>;
|
|
1829
|
+
candidateId: z.ZodString;
|
|
1830
|
+
selectionRevision: z.ZodNumber;
|
|
1831
|
+
qaId: z.ZodString;
|
|
1832
|
+
}, z.core.$strict>>;
|
|
1662
1833
|
}, z.core.$strict>;
|
|
1663
1834
|
}, z.core.$strip>;
|
|
1664
1835
|
factStream: z.ZodObject<{
|
|
@@ -1685,6 +1856,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1685
1856
|
"too-many-files-changed": "too-many-files-changed";
|
|
1686
1857
|
"blocked-path-changed": "blocked-path-changed";
|
|
1687
1858
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
1859
|
+
"outside-delivery": "outside-delivery";
|
|
1860
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
1861
|
+
"target-held": "target-held";
|
|
1862
|
+
"maintenance-required": "maintenance-required";
|
|
1688
1863
|
}>;
|
|
1689
1864
|
resourceId: z.ZodOptional<z.ZodString>;
|
|
1690
1865
|
revision: z.ZodOptional<z.ZodString>;
|
|
@@ -1735,6 +1910,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1735
1910
|
"too-many-files-changed": "too-many-files-changed";
|
|
1736
1911
|
"blocked-path-changed": "blocked-path-changed";
|
|
1737
1912
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
1913
|
+
"outside-delivery": "outside-delivery";
|
|
1914
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
1915
|
+
"target-held": "target-held";
|
|
1916
|
+
"maintenance-required": "maintenance-required";
|
|
1738
1917
|
}>;
|
|
1739
1918
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
1740
1919
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -1807,6 +1986,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1807
1986
|
}>;
|
|
1808
1987
|
requireChecks: z.ZodBoolean;
|
|
1809
1988
|
autoMerge: z.ZodDefault<z.ZodBoolean>;
|
|
1989
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1990
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1991
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1992
|
+
output: z.ZodObject<{
|
|
1993
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
1994
|
+
outputName: z.ZodString;
|
|
1995
|
+
}, z.core.$strict>;
|
|
1996
|
+
candidateId: z.ZodString;
|
|
1997
|
+
selectionRevision: z.ZodNumber;
|
|
1998
|
+
qaId: z.ZodString;
|
|
1999
|
+
}, z.core.$strict>>;
|
|
1810
2000
|
}, z.core.$strict>;
|
|
1811
2001
|
stream: z.ZodObject<{
|
|
1812
2002
|
kind: z.ZodLiteral<"resource">;
|
|
@@ -1832,6 +2022,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1832
2022
|
method: "merge" | "squash" | "rebase";
|
|
1833
2023
|
requireChecks: boolean;
|
|
1834
2024
|
autoMerge: boolean;
|
|
2025
|
+
parent?: {
|
|
2026
|
+
requestingWorkItemId: import("../../work/index.js").WorkItemId;
|
|
2027
|
+
ownerWorkItemId: import("../../work/index.js").WorkItemId;
|
|
2028
|
+
output: {
|
|
2029
|
+
childWorkItemId: import("../../work/index.js").WorkItemId;
|
|
2030
|
+
outputName: string;
|
|
2031
|
+
};
|
|
2032
|
+
candidateId: string;
|
|
2033
|
+
selectionRevision: number;
|
|
2034
|
+
qaId: string;
|
|
2035
|
+
} | undefined;
|
|
1835
2036
|
};
|
|
1836
2037
|
};
|
|
1837
2038
|
factStream: {
|
|
@@ -1883,6 +2084,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1883
2084
|
method: "merge" | "squash" | "rebase";
|
|
1884
2085
|
requireChecks: boolean;
|
|
1885
2086
|
autoMerge: boolean;
|
|
2087
|
+
parent?: {
|
|
2088
|
+
requestingWorkItemId: import("../../work/index.js").WorkItemId;
|
|
2089
|
+
ownerWorkItemId: import("../../work/index.js").WorkItemId;
|
|
2090
|
+
output: {
|
|
2091
|
+
childWorkItemId: import("../../work/index.js").WorkItemId;
|
|
2092
|
+
outputName: string;
|
|
2093
|
+
};
|
|
2094
|
+
candidateId: string;
|
|
2095
|
+
selectionRevision: number;
|
|
2096
|
+
qaId: string;
|
|
2097
|
+
} | undefined;
|
|
1886
2098
|
};
|
|
1887
2099
|
stream: {
|
|
1888
2100
|
kind: "resource";
|
|
@@ -1909,6 +2121,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1909
2121
|
"too-many-files-changed": "too-many-files-changed";
|
|
1910
2122
|
"blocked-path-changed": "blocked-path-changed";
|
|
1911
2123
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
2124
|
+
"outside-delivery": "outside-delivery";
|
|
2125
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
2126
|
+
"target-held": "target-held";
|
|
2127
|
+
"maintenance-required": "maintenance-required";
|
|
1912
2128
|
}>;
|
|
1913
2129
|
resourceId: z.ZodOptional<z.ZodString>;
|
|
1914
2130
|
revision: z.ZodOptional<z.ZodString>;
|
|
@@ -1959,6 +2175,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1959
2175
|
"too-many-files-changed": "too-many-files-changed";
|
|
1960
2176
|
"blocked-path-changed": "blocked-path-changed";
|
|
1961
2177
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
2178
|
+
"outside-delivery": "outside-delivery";
|
|
2179
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
2180
|
+
"target-held": "target-held";
|
|
2181
|
+
"maintenance-required": "maintenance-required";
|
|
1962
2182
|
}>;
|
|
1963
2183
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
1964
2184
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -1997,7 +2217,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
1997
2217
|
payload: {
|
|
1998
2218
|
activationId: import("./identifiers.js").ActivationId;
|
|
1999
2219
|
idempotencyKey: string;
|
|
2000
|
-
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable";
|
|
2220
|
+
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable" | "outside-delivery" | "delivery-not-ready" | "target-held" | "maintenance-required";
|
|
2001
2221
|
target?: "primary" | {
|
|
2002
2222
|
resourceId: import("../../resources/index.js").ResourceId;
|
|
2003
2223
|
} | undefined;
|
|
@@ -2024,7 +2244,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2024
2244
|
outcome: {
|
|
2025
2245
|
kind: "blocked";
|
|
2026
2246
|
data: {
|
|
2027
|
-
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable";
|
|
2247
|
+
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable" | "outside-delivery" | "delivery-not-ready" | "target-held" | "maintenance-required";
|
|
2028
2248
|
resourceId?: string | undefined;
|
|
2029
2249
|
revision?: string | undefined;
|
|
2030
2250
|
policy?: {
|
|
@@ -2042,7 +2262,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2042
2262
|
outcome: {
|
|
2043
2263
|
kind: "blocked";
|
|
2044
2264
|
data: {
|
|
2045
|
-
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable";
|
|
2265
|
+
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable" | "outside-delivery" | "delivery-not-ready" | "target-held" | "maintenance-required";
|
|
2046
2266
|
resourceId?: string | undefined;
|
|
2047
2267
|
revision?: string | undefined;
|
|
2048
2268
|
policy?: {
|
|
@@ -2071,7 +2291,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2071
2291
|
payload: {
|
|
2072
2292
|
activationId: import("./identifiers.js").ActivationId;
|
|
2073
2293
|
idempotencyKey: string;
|
|
2074
|
-
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable";
|
|
2294
|
+
reason: "closed" | "missing-resource" | "ambiguous-resource" | "correlation-conflict" | "stale-approval" | "checks-pending" | "checks-could-not-be-read" | "checks-failing" | "untrusted-actor" | "too-many-files-changed" | "blocked-path-changed" | "changed-files-unavailable" | "outside-delivery" | "delivery-not-ready" | "target-held" | "maintenance-required";
|
|
2075
2295
|
target?: "primary" | {
|
|
2076
2296
|
resourceId: import("../../resources/index.js").ResourceId;
|
|
2077
2297
|
} | undefined;
|
|
@@ -2153,6 +2373,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2153
2373
|
eventType: z.ZodLiteral<"pr.discovered">;
|
|
2154
2374
|
payload: z.ZodObject<{
|
|
2155
2375
|
workItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
2376
|
+
mergeRevision: z.ZodOptional<z.ZodString>;
|
|
2156
2377
|
state: z.ZodEnum<{
|
|
2157
2378
|
open: "open";
|
|
2158
2379
|
closed: "closed";
|
|
@@ -2171,6 +2392,12 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2171
2392
|
passing: "passing";
|
|
2172
2393
|
failing: "failing";
|
|
2173
2394
|
}>;
|
|
2395
|
+
checkEvidence: z.ZodOptional<z.ZodObject<{
|
|
2396
|
+
testedRevision: z.ZodOptional<z.ZodString>;
|
|
2397
|
+
headRevision: z.ZodString;
|
|
2398
|
+
baseRevision: z.ZodString;
|
|
2399
|
+
startedAt: z.ZodString;
|
|
2400
|
+
}, z.core.$strict>>;
|
|
2174
2401
|
changedFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2175
2402
|
}, z.core.$strict>;
|
|
2176
2403
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2235,6 +2462,7 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2235
2462
|
clean: "clean";
|
|
2236
2463
|
conflicting: "conflicting";
|
|
2237
2464
|
}>>;
|
|
2465
|
+
mergeRevision: z.ZodOptional<z.ZodString>;
|
|
2238
2466
|
}, z.core.$strict>;
|
|
2239
2467
|
}, z.core.$strict>, z.ZodObject<{
|
|
2240
2468
|
eventId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<import("@atolis-hq/eventing").EventId, string>>>;
|
|
@@ -2266,6 +2494,12 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2266
2494
|
passing: "passing";
|
|
2267
2495
|
failing: "failing";
|
|
2268
2496
|
}>;
|
|
2497
|
+
checkEvidence: z.ZodOptional<z.ZodObject<{
|
|
2498
|
+
testedRevision: z.ZodOptional<z.ZodString>;
|
|
2499
|
+
headRevision: z.ZodString;
|
|
2500
|
+
baseRevision: z.ZodString;
|
|
2501
|
+
startedAt: z.ZodString;
|
|
2502
|
+
}, z.core.$strict>>;
|
|
2269
2503
|
}, z.core.$strict>;
|
|
2270
2504
|
}, z.core.$strict>, z.ZodObject<{
|
|
2271
2505
|
eventId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<import("@atolis-hq/eventing").EventId, string>>>;
|
|
@@ -2392,6 +2626,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2392
2626
|
"too-many-files-changed": "too-many-files-changed";
|
|
2393
2627
|
"blocked-path-changed": "blocked-path-changed";
|
|
2394
2628
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
2629
|
+
"outside-delivery": "outside-delivery";
|
|
2630
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
2631
|
+
"target-held": "target-held";
|
|
2632
|
+
"maintenance-required": "maintenance-required";
|
|
2395
2633
|
}>;
|
|
2396
2634
|
}, z.core.$strict>;
|
|
2397
2635
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2450,6 +2688,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2450
2688
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
2451
2689
|
revision: z.ZodString;
|
|
2452
2690
|
body: z.ZodNullable<z.ZodString>;
|
|
2691
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
2692
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
2693
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
2694
|
+
output: z.ZodObject<{
|
|
2695
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
2696
|
+
outputName: z.ZodString;
|
|
2697
|
+
}, z.core.$strict>;
|
|
2698
|
+
candidateId: z.ZodString;
|
|
2699
|
+
selectionRevision: z.ZodNumber;
|
|
2700
|
+
qaId: z.ZodString;
|
|
2701
|
+
}, z.core.$strict>>;
|
|
2453
2702
|
}, z.core.$strict>;
|
|
2454
2703
|
}, z.core.$strict>, z.ZodObject<{
|
|
2455
2704
|
eventId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<import("@atolis-hq/eventing").EventId, string>>>;
|
|
@@ -2487,6 +2736,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2487
2736
|
}>;
|
|
2488
2737
|
requireChecks: z.ZodBoolean;
|
|
2489
2738
|
autoMerge: z.ZodDefault<z.ZodBoolean>;
|
|
2739
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
2740
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
2741
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
2742
|
+
output: z.ZodObject<{
|
|
2743
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
2744
|
+
outputName: z.ZodString;
|
|
2745
|
+
}, z.core.$strict>;
|
|
2746
|
+
candidateId: z.ZodString;
|
|
2747
|
+
selectionRevision: z.ZodNumber;
|
|
2748
|
+
qaId: z.ZodString;
|
|
2749
|
+
}, z.core.$strict>>;
|
|
2490
2750
|
}, z.core.$strict>;
|
|
2491
2751
|
}, z.core.$strict>, z.ZodObject<{
|
|
2492
2752
|
eventId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<import("@atolis-hq/eventing").EventId, string>>>;
|
|
@@ -2527,6 +2787,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2527
2787
|
"too-many-files-changed": "too-many-files-changed";
|
|
2528
2788
|
"blocked-path-changed": "blocked-path-changed";
|
|
2529
2789
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
2790
|
+
"outside-delivery": "outside-delivery";
|
|
2791
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
2792
|
+
"target-held": "target-held";
|
|
2793
|
+
"maintenance-required": "maintenance-required";
|
|
2530
2794
|
}>;
|
|
2531
2795
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
2532
2796
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -2583,6 +2847,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2583
2847
|
"too-many-files-changed": "too-many-files-changed";
|
|
2584
2848
|
"blocked-path-changed": "blocked-path-changed";
|
|
2585
2849
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
2850
|
+
"outside-delivery": "outside-delivery";
|
|
2851
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
2852
|
+
"target-held": "target-held";
|
|
2853
|
+
"maintenance-required": "maintenance-required";
|
|
2586
2854
|
}>;
|
|
2587
2855
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
2588
2856
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -2664,6 +2932,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2664
2932
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
2665
2933
|
revision: z.ZodString;
|
|
2666
2934
|
body: z.ZodNullable<z.ZodString>;
|
|
2935
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
2936
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
2937
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
2938
|
+
output: z.ZodObject<{
|
|
2939
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
2940
|
+
outputName: z.ZodString;
|
|
2941
|
+
}, z.core.$strict>;
|
|
2942
|
+
candidateId: z.ZodString;
|
|
2943
|
+
selectionRevision: z.ZodNumber;
|
|
2944
|
+
qaId: z.ZodString;
|
|
2945
|
+
}, z.core.$strict>>;
|
|
2667
2946
|
}, z.core.$strict>;
|
|
2668
2947
|
}, z.core.$strip>;
|
|
2669
2948
|
factStream: z.ZodObject<{
|
|
@@ -2690,6 +2969,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2690
2969
|
"too-many-files-changed": "too-many-files-changed";
|
|
2691
2970
|
"blocked-path-changed": "blocked-path-changed";
|
|
2692
2971
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
2972
|
+
"outside-delivery": "outside-delivery";
|
|
2973
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
2974
|
+
"target-held": "target-held";
|
|
2975
|
+
"maintenance-required": "maintenance-required";
|
|
2693
2976
|
}>;
|
|
2694
2977
|
resourceId: z.ZodOptional<z.ZodString>;
|
|
2695
2978
|
revision: z.ZodOptional<z.ZodString>;
|
|
@@ -2740,6 +3023,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2740
3023
|
"too-many-files-changed": "too-many-files-changed";
|
|
2741
3024
|
"blocked-path-changed": "blocked-path-changed";
|
|
2742
3025
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
3026
|
+
"outside-delivery": "outside-delivery";
|
|
3027
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
3028
|
+
"target-held": "target-held";
|
|
3029
|
+
"maintenance-required": "maintenance-required";
|
|
2743
3030
|
}>;
|
|
2744
3031
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
2745
3032
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|
|
@@ -2836,6 +3123,17 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2836
3123
|
}>;
|
|
2837
3124
|
requireChecks: z.ZodBoolean;
|
|
2838
3125
|
autoMerge: z.ZodDefault<z.ZodBoolean>;
|
|
3126
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
3127
|
+
requestingWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
3128
|
+
ownerWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
3129
|
+
output: z.ZodObject<{
|
|
3130
|
+
childWorkItemId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../work/index.js").WorkItemId, string>>;
|
|
3131
|
+
outputName: z.ZodString;
|
|
3132
|
+
}, z.core.$strict>;
|
|
3133
|
+
candidateId: z.ZodString;
|
|
3134
|
+
selectionRevision: z.ZodNumber;
|
|
3135
|
+
qaId: z.ZodString;
|
|
3136
|
+
}, z.core.$strict>>;
|
|
2839
3137
|
}, z.core.$strict>;
|
|
2840
3138
|
}, z.core.$strip>;
|
|
2841
3139
|
factStream: z.ZodObject<{
|
|
@@ -2862,6 +3160,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2862
3160
|
"too-many-files-changed": "too-many-files-changed";
|
|
2863
3161
|
"blocked-path-changed": "blocked-path-changed";
|
|
2864
3162
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
3163
|
+
"outside-delivery": "outside-delivery";
|
|
3164
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
3165
|
+
"target-held": "target-held";
|
|
3166
|
+
"maintenance-required": "maintenance-required";
|
|
2865
3167
|
}>;
|
|
2866
3168
|
resourceId: z.ZodOptional<z.ZodString>;
|
|
2867
3169
|
revision: z.ZodOptional<z.ZodString>;
|
|
@@ -2912,6 +3214,10 @@ export declare function createActivityEventSchemas(eventTypes: ActivityEventType
|
|
|
2912
3214
|
"too-many-files-changed": "too-many-files-changed";
|
|
2913
3215
|
"blocked-path-changed": "blocked-path-changed";
|
|
2914
3216
|
"changed-files-unavailable": "changed-files-unavailable";
|
|
3217
|
+
"outside-delivery": "outside-delivery";
|
|
3218
|
+
"delivery-not-ready": "delivery-not-ready";
|
|
3219
|
+
"target-held": "target-held";
|
|
3220
|
+
"maintenance-required": "maintenance-required";
|
|
2915
3221
|
}>;
|
|
2916
3222
|
target: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"primary">, z.ZodObject<{
|
|
2917
3223
|
resourceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../resources/index.js").ResourceId, string>>;
|