@treeseed/sdk 0.13.0-rc.119 → 0.13.0-rc.120
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/.treeseed-build-complete.json +1 -1
- package/dist/agent-capacity/allocation.d.ts +0 -3
- package/dist/agent-capacity/allocation.js +0 -221
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +280 -84
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +22 -1
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +5 -0
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +82 -0
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +115 -0
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +142 -0
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +51 -0
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +167 -35
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +59 -20
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +2 -21
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +18 -18
- package/dist/agent-capacity/contracts/support/time-capacity.d.ts +0 -14
- package/dist/agent-capacity/contracts/support/time-capacity.js +1 -8
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +338 -338
- package/dist/capacity/agents/agent-capacity.d.ts +2 -0
- package/dist/capacity/agents/agent-capacity.js +2 -0
- package/dist/capacity-provider/client.d.ts +5 -3
- package/dist/capacity-provider/contracts/capacity-facts.d.ts +14 -0
- package/dist/capacity-provider/contracts/governance.d.ts +6 -0
- package/dist/capacity-provider/sandbox-contracts.d.ts +55 -1
- package/dist/capacity-provider/sandbox-contracts.js +4 -0
- package/dist/capacity-provider/source-workspace.d.ts +69 -37
- package/dist/capacity-provider/source-workspace.js +36 -5
- package/dist/content/validation/auxiliary-content-schemas.d.ts +10 -10
- package/dist/content/validation/content-model-schemas.d.ts +613 -613
- package/dist/content/validation/content-model-schemas.js +14 -2
- package/dist/content/validation/portable-content-data.d.ts +22 -22
- package/dist/deployment/postgres/requirements.d.ts +3 -2
- package/dist/deployment/postgres/requirements.js +3 -1
- package/dist/operator-contracts/canonical-command-tree.js +20 -6
- package/dist/operator-contracts/catalog/communication-operations.d.ts +2 -0
- package/dist/operator-contracts/catalog/workdays/profile-commands.js +4 -4
- package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +28 -3
- package/dist/operator-contracts/catalog/workdays/profile-operations.js +10 -8
- package/dist/operator-contracts/catalog/workdays/selection-commands.js +13 -0
- package/dist/operator-contracts/command-tree.d.ts +1 -1
- package/dist/operator-contracts/communication/contracts.d.ts +6 -0
- package/dist/operator-contracts/communication/contracts.js +2 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +34 -3
- package/dist/operator-contracts/control-plane-operations.js +1 -0
- package/dist/operator-contracts/index.d.ts +0 -1
- package/dist/operator-contracts/index.js +0 -1
- package/dist/operator-contracts/workday-lifecycle.d.ts +8 -20
- package/dist/operator-contracts/workday-lifecycle.js +15 -5
- package/dist/secrets-capability/shared-resources.d.ts +6 -6
- package/package.json +1 -1
- package/dist/agent-capacity/policy/capacity/allocations/allocation-hierarchy.d.ts +0 -29
- package/dist/agent-capacity/policy/capacity/allocations/allocation-hierarchy.js +0 -110
- package/dist/operator-contracts/workday-profile.d.ts +0 -72
- package/dist/operator-contracts/workday-profile.js +0 -106
|
@@ -407,26 +407,26 @@ export declare const effectiveActivityProfileSchema: z.ZodObject<Omit<Omit<{
|
|
|
407
407
|
}>>;
|
|
408
408
|
permissions: z.ZodObject<{
|
|
409
409
|
content: z.ZodObject<{
|
|
410
|
-
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
411
|
-
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
410
|
+
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
411
|
+
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
412
412
|
}, "strict", z.ZodTypeAny, {
|
|
413
|
-
read: ("agent" | "knowledge" | "
|
|
414
|
-
write: ("agent" | "knowledge" | "
|
|
413
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
414
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
415
415
|
}, {
|
|
416
|
-
read: ("agent" | "knowledge" | "
|
|
417
|
-
write: ("agent" | "knowledge" | "
|
|
416
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
417
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
418
418
|
}>;
|
|
419
419
|
tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "verification" | "discussion" | "source.read" | "source.write")[], ("release" | "verification" | "discussion" | "source.read" | "source.write")[]>;
|
|
420
420
|
}, "strict", z.ZodTypeAny, {
|
|
421
421
|
content: {
|
|
422
|
-
read: ("agent" | "knowledge" | "
|
|
423
|
-
write: ("agent" | "knowledge" | "
|
|
422
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
423
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
424
424
|
};
|
|
425
425
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
426
426
|
}, {
|
|
427
427
|
content: {
|
|
428
|
-
read: ("agent" | "knowledge" | "
|
|
429
|
-
write: ("agent" | "knowledge" | "
|
|
428
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
429
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
430
430
|
};
|
|
431
431
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
432
432
|
}>;
|
|
@@ -513,26 +513,26 @@ export declare const effectiveActivityProfileSchema: z.ZodObject<Omit<Omit<{
|
|
|
513
513
|
handlerOrigin: z.ZodEnum<["agent-package", "project-runtime"]>;
|
|
514
514
|
permissionCeiling: z.ZodObject<{
|
|
515
515
|
content: z.ZodObject<{
|
|
516
|
-
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
517
|
-
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
516
|
+
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
517
|
+
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
518
518
|
}, "strict", z.ZodTypeAny, {
|
|
519
|
-
read: ("agent" | "knowledge" | "
|
|
520
|
-
write: ("agent" | "knowledge" | "
|
|
519
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
520
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
521
521
|
}, {
|
|
522
|
-
read: ("agent" | "knowledge" | "
|
|
523
|
-
write: ("agent" | "knowledge" | "
|
|
522
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
523
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
524
524
|
}>;
|
|
525
525
|
tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "verification" | "discussion" | "source.read" | "source.write")[], ("release" | "verification" | "discussion" | "source.read" | "source.write")[]>;
|
|
526
526
|
}, "strict", z.ZodTypeAny, {
|
|
527
527
|
content: {
|
|
528
|
-
read: ("agent" | "knowledge" | "
|
|
529
|
-
write: ("agent" | "knowledge" | "
|
|
528
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
529
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
530
530
|
};
|
|
531
531
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
532
532
|
}, {
|
|
533
533
|
content: {
|
|
534
|
-
read: ("agent" | "knowledge" | "
|
|
535
|
-
write: ("agent" | "knowledge" | "
|
|
534
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
535
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
536
536
|
};
|
|
537
537
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
538
538
|
}>;
|
|
@@ -560,8 +560,8 @@ export declare const effectiveActivityProfileSchema: z.ZodObject<Omit<Omit<{
|
|
|
560
560
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
561
561
|
permissionCeiling: {
|
|
562
562
|
content: {
|
|
563
|
-
read: ("agent" | "knowledge" | "
|
|
564
|
-
write: ("agent" | "knowledge" | "
|
|
563
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
564
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
565
565
|
};
|
|
566
566
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
567
567
|
};
|
|
@@ -591,8 +591,8 @@ export declare const effectiveActivityProfileSchema: z.ZodObject<Omit<Omit<{
|
|
|
591
591
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
592
592
|
permissionCeiling: {
|
|
593
593
|
content: {
|
|
594
|
-
read: ("agent" | "knowledge" | "
|
|
595
|
-
write: ("agent" | "knowledge" | "
|
|
594
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
595
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
596
596
|
};
|
|
597
597
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
598
598
|
};
|
|
@@ -762,26 +762,26 @@ export declare const assignmentAttemptSchema: z.ZodObject<{
|
|
|
762
762
|
}>>;
|
|
763
763
|
permissions: z.ZodObject<{
|
|
764
764
|
content: z.ZodObject<{
|
|
765
|
-
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
766
|
-
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
765
|
+
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
766
|
+
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
767
767
|
}, "strict", z.ZodTypeAny, {
|
|
768
|
-
read: ("agent" | "knowledge" | "
|
|
769
|
-
write: ("agent" | "knowledge" | "
|
|
768
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
769
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
770
770
|
}, {
|
|
771
|
-
read: ("agent" | "knowledge" | "
|
|
772
|
-
write: ("agent" | "knowledge" | "
|
|
771
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
772
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
773
773
|
}>;
|
|
774
774
|
tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "verification" | "discussion" | "source.read" | "source.write")[], ("release" | "verification" | "discussion" | "source.read" | "source.write")[]>;
|
|
775
775
|
}, "strict", z.ZodTypeAny, {
|
|
776
776
|
content: {
|
|
777
|
-
read: ("agent" | "knowledge" | "
|
|
778
|
-
write: ("agent" | "knowledge" | "
|
|
777
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
778
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
779
779
|
};
|
|
780
780
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
781
781
|
}, {
|
|
782
782
|
content: {
|
|
783
|
-
read: ("agent" | "knowledge" | "
|
|
784
|
-
write: ("agent" | "knowledge" | "
|
|
783
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
784
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
785
785
|
};
|
|
786
786
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
787
787
|
}>;
|
|
@@ -868,26 +868,26 @@ export declare const assignmentAttemptSchema: z.ZodObject<{
|
|
|
868
868
|
handlerOrigin: z.ZodEnum<["agent-package", "project-runtime"]>;
|
|
869
869
|
permissionCeiling: z.ZodObject<{
|
|
870
870
|
content: z.ZodObject<{
|
|
871
|
-
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
872
|
-
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
871
|
+
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
872
|
+
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
873
873
|
}, "strict", z.ZodTypeAny, {
|
|
874
|
-
read: ("agent" | "knowledge" | "
|
|
875
|
-
write: ("agent" | "knowledge" | "
|
|
874
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
875
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
876
876
|
}, {
|
|
877
|
-
read: ("agent" | "knowledge" | "
|
|
878
|
-
write: ("agent" | "knowledge" | "
|
|
877
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
878
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
879
879
|
}>;
|
|
880
880
|
tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "verification" | "discussion" | "source.read" | "source.write")[], ("release" | "verification" | "discussion" | "source.read" | "source.write")[]>;
|
|
881
881
|
}, "strict", z.ZodTypeAny, {
|
|
882
882
|
content: {
|
|
883
|
-
read: ("agent" | "knowledge" | "
|
|
884
|
-
write: ("agent" | "knowledge" | "
|
|
883
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
884
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
885
885
|
};
|
|
886
886
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
887
887
|
}, {
|
|
888
888
|
content: {
|
|
889
|
-
read: ("agent" | "knowledge" | "
|
|
890
|
-
write: ("agent" | "knowledge" | "
|
|
889
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
890
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
891
891
|
};
|
|
892
892
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
893
893
|
}>;
|
|
@@ -915,8 +915,8 @@ export declare const assignmentAttemptSchema: z.ZodObject<{
|
|
|
915
915
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
916
916
|
permissionCeiling: {
|
|
917
917
|
content: {
|
|
918
|
-
read: ("agent" | "knowledge" | "
|
|
919
|
-
write: ("agent" | "knowledge" | "
|
|
918
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
919
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
920
920
|
};
|
|
921
921
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
922
922
|
};
|
|
@@ -946,8 +946,8 @@ export declare const assignmentAttemptSchema: z.ZodObject<{
|
|
|
946
946
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
947
947
|
permissionCeiling: {
|
|
948
948
|
content: {
|
|
949
|
-
read: ("agent" | "knowledge" | "
|
|
950
|
-
write: ("agent" | "knowledge" | "
|
|
949
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
950
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
951
951
|
};
|
|
952
952
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
953
953
|
};
|
|
@@ -1159,16 +1159,25 @@ export declare const assignmentAttemptSchema: z.ZodObject<{
|
|
|
1159
1159
|
provider: z.ZodObject<{
|
|
1160
1160
|
providerId: z.ZodString;
|
|
1161
1161
|
offerId: z.ZodString;
|
|
1162
|
+
executionProviderId: z.ZodString;
|
|
1163
|
+
modelConfigurationId: z.ZodString;
|
|
1164
|
+
executionCapabilityId: z.ZodString;
|
|
1162
1165
|
offerRevision: z.ZodNumber;
|
|
1163
1166
|
runtimeBuild: z.ZodString;
|
|
1164
1167
|
}, "strict", z.ZodTypeAny, {
|
|
1165
1168
|
providerId: string;
|
|
1169
|
+
executionProviderId: string;
|
|
1166
1170
|
offerId: string;
|
|
1171
|
+
modelConfigurationId: string;
|
|
1172
|
+
executionCapabilityId: string;
|
|
1167
1173
|
offerRevision: number;
|
|
1168
1174
|
runtimeBuild: string;
|
|
1169
1175
|
}, {
|
|
1170
1176
|
providerId: string;
|
|
1177
|
+
executionProviderId: string;
|
|
1171
1178
|
offerId: string;
|
|
1179
|
+
modelConfigurationId: string;
|
|
1180
|
+
executionCapabilityId: string;
|
|
1172
1181
|
offerRevision: number;
|
|
1173
1182
|
runtimeBuild: string;
|
|
1174
1183
|
}>;
|
|
@@ -1337,7 +1346,10 @@ export declare const assignmentAttemptSchema: z.ZodObject<{
|
|
|
1337
1346
|
status: "blocked" | "expired" | "failed" | "running" | "completed" | "cancelled" | "created" | "leased";
|
|
1338
1347
|
provider: {
|
|
1339
1348
|
providerId: string;
|
|
1349
|
+
executionProviderId: string;
|
|
1340
1350
|
offerId: string;
|
|
1351
|
+
modelConfigurationId: string;
|
|
1352
|
+
executionCapabilityId: string;
|
|
1341
1353
|
offerRevision: number;
|
|
1342
1354
|
runtimeBuild: string;
|
|
1343
1355
|
};
|
|
@@ -1464,8 +1476,8 @@ export declare const assignmentAttemptSchema: z.ZodObject<{
|
|
|
1464
1476
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
1465
1477
|
permissionCeiling: {
|
|
1466
1478
|
content: {
|
|
1467
|
-
read: ("agent" | "knowledge" | "
|
|
1468
|
-
write: ("agent" | "knowledge" | "
|
|
1479
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
1480
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
1469
1481
|
};
|
|
1470
1482
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
1471
1483
|
};
|
|
@@ -1499,7 +1511,10 @@ export declare const assignmentAttemptSchema: z.ZodObject<{
|
|
|
1499
1511
|
status: "blocked" | "expired" | "failed" | "running" | "completed" | "cancelled" | "created" | "leased";
|
|
1500
1512
|
provider: {
|
|
1501
1513
|
providerId: string;
|
|
1514
|
+
executionProviderId: string;
|
|
1502
1515
|
offerId: string;
|
|
1516
|
+
modelConfigurationId: string;
|
|
1517
|
+
executionCapabilityId: string;
|
|
1503
1518
|
offerRevision: number;
|
|
1504
1519
|
runtimeBuild: string;
|
|
1505
1520
|
};
|
|
@@ -1626,8 +1641,8 @@ export declare const assignmentAttemptSchema: z.ZodObject<{
|
|
|
1626
1641
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
1627
1642
|
permissionCeiling: {
|
|
1628
1643
|
content: {
|
|
1629
|
-
read: ("agent" | "knowledge" | "
|
|
1630
|
-
write: ("agent" | "knowledge" | "
|
|
1644
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
1645
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
1631
1646
|
};
|
|
1632
1647
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
1633
1648
|
};
|
|
@@ -1800,6 +1815,37 @@ export declare const diagnosticSchema: z.ZodObject<{
|
|
|
1800
1815
|
endLine?: number | undefined;
|
|
1801
1816
|
} | undefined;
|
|
1802
1817
|
}>;
|
|
1818
|
+
export declare const assignmentTimingAwarenessReceiptSchema: z.ZodObject<{
|
|
1819
|
+
schemaVersion: z.ZodLiteral<"treeseed.assignment-timing-awareness/v1">;
|
|
1820
|
+
requiredChecks: z.ZodLiteral<2>;
|
|
1821
|
+
completedChecks: z.ZodNumber;
|
|
1822
|
+
firstTool: z.ZodLiteral<"treedx:treeseed_time_status">;
|
|
1823
|
+
firstToolSucceeded: z.ZodLiteral<true>;
|
|
1824
|
+
lastTool: z.ZodLiteral<"treedx:treeseed_time_status">;
|
|
1825
|
+
lastToolSucceeded: z.ZodLiteral<true>;
|
|
1826
|
+
firstToolCompliant: z.ZodLiteral<true>;
|
|
1827
|
+
finalToolCompliant: z.ZodLiteral<true>;
|
|
1828
|
+
}, "strict", z.ZodTypeAny, {
|
|
1829
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
1830
|
+
requiredChecks: 2;
|
|
1831
|
+
completedChecks: number;
|
|
1832
|
+
firstTool: "treedx:treeseed_time_status";
|
|
1833
|
+
firstToolSucceeded: true;
|
|
1834
|
+
lastTool: "treedx:treeseed_time_status";
|
|
1835
|
+
lastToolSucceeded: true;
|
|
1836
|
+
firstToolCompliant: true;
|
|
1837
|
+
finalToolCompliant: true;
|
|
1838
|
+
}, {
|
|
1839
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
1840
|
+
requiredChecks: 2;
|
|
1841
|
+
completedChecks: number;
|
|
1842
|
+
firstTool: "treedx:treeseed_time_status";
|
|
1843
|
+
firstToolSucceeded: true;
|
|
1844
|
+
lastTool: "treedx:treeseed_time_status";
|
|
1845
|
+
lastToolSucceeded: true;
|
|
1846
|
+
firstToolCompliant: true;
|
|
1847
|
+
finalToolCompliant: true;
|
|
1848
|
+
}>;
|
|
1803
1849
|
export declare const assignmentResultSchema: z.ZodObject<{
|
|
1804
1850
|
schemaVersion: z.ZodLiteral<"treeseed.assignment-result/v1">;
|
|
1805
1851
|
id: z.ZodString;
|
|
@@ -2000,6 +2046,37 @@ export declare const assignmentResultSchema: z.ZodObject<{
|
|
|
2000
2046
|
endLine?: number | undefined;
|
|
2001
2047
|
} | undefined;
|
|
2002
2048
|
}>, "many">;
|
|
2049
|
+
timingAwareness: z.ZodOptional<z.ZodObject<{
|
|
2050
|
+
schemaVersion: z.ZodLiteral<"treeseed.assignment-timing-awareness/v1">;
|
|
2051
|
+
requiredChecks: z.ZodLiteral<2>;
|
|
2052
|
+
completedChecks: z.ZodNumber;
|
|
2053
|
+
firstTool: z.ZodLiteral<"treedx:treeseed_time_status">;
|
|
2054
|
+
firstToolSucceeded: z.ZodLiteral<true>;
|
|
2055
|
+
lastTool: z.ZodLiteral<"treedx:treeseed_time_status">;
|
|
2056
|
+
lastToolSucceeded: z.ZodLiteral<true>;
|
|
2057
|
+
firstToolCompliant: z.ZodLiteral<true>;
|
|
2058
|
+
finalToolCompliant: z.ZodLiteral<true>;
|
|
2059
|
+
}, "strict", z.ZodTypeAny, {
|
|
2060
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
2061
|
+
requiredChecks: 2;
|
|
2062
|
+
completedChecks: number;
|
|
2063
|
+
firstTool: "treedx:treeseed_time_status";
|
|
2064
|
+
firstToolSucceeded: true;
|
|
2065
|
+
lastTool: "treedx:treeseed_time_status";
|
|
2066
|
+
lastToolSucceeded: true;
|
|
2067
|
+
firstToolCompliant: true;
|
|
2068
|
+
finalToolCompliant: true;
|
|
2069
|
+
}, {
|
|
2070
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
2071
|
+
requiredChecks: 2;
|
|
2072
|
+
completedChecks: number;
|
|
2073
|
+
firstTool: "treedx:treeseed_time_status";
|
|
2074
|
+
firstToolSucceeded: true;
|
|
2075
|
+
lastTool: "treedx:treeseed_time_status";
|
|
2076
|
+
lastToolSucceeded: true;
|
|
2077
|
+
firstToolCompliant: true;
|
|
2078
|
+
finalToolCompliant: true;
|
|
2079
|
+
}>>;
|
|
2003
2080
|
completedAt: z.ZodString;
|
|
2004
2081
|
}, "strict", z.ZodTypeAny, {
|
|
2005
2082
|
status: "blocked" | "failed" | "completed";
|
|
@@ -2058,6 +2135,17 @@ export declare const assignmentResultSchema: z.ZodObject<{
|
|
|
2058
2135
|
url: string;
|
|
2059
2136
|
digest?: string | undefined;
|
|
2060
2137
|
})[];
|
|
2138
|
+
timingAwareness?: {
|
|
2139
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
2140
|
+
requiredChecks: 2;
|
|
2141
|
+
completedChecks: number;
|
|
2142
|
+
firstTool: "treedx:treeseed_time_status";
|
|
2143
|
+
firstToolSucceeded: true;
|
|
2144
|
+
lastTool: "treedx:treeseed_time_status";
|
|
2145
|
+
lastToolSucceeded: true;
|
|
2146
|
+
firstToolCompliant: true;
|
|
2147
|
+
finalToolCompliant: true;
|
|
2148
|
+
} | undefined;
|
|
2061
2149
|
}, {
|
|
2062
2150
|
status: "blocked" | "failed" | "completed";
|
|
2063
2151
|
id: string;
|
|
@@ -2115,6 +2203,17 @@ export declare const assignmentResultSchema: z.ZodObject<{
|
|
|
2115
2203
|
url: string;
|
|
2116
2204
|
digest?: string | undefined;
|
|
2117
2205
|
})[];
|
|
2206
|
+
timingAwareness?: {
|
|
2207
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
2208
|
+
requiredChecks: 2;
|
|
2209
|
+
completedChecks: number;
|
|
2210
|
+
firstTool: "treedx:treeseed_time_status";
|
|
2211
|
+
firstToolSucceeded: true;
|
|
2212
|
+
lastTool: "treedx:treeseed_time_status";
|
|
2213
|
+
lastToolSucceeded: true;
|
|
2214
|
+
firstToolCompliant: true;
|
|
2215
|
+
finalToolCompliant: true;
|
|
2216
|
+
} | undefined;
|
|
2118
2217
|
}>;
|
|
2119
2218
|
export declare const authorizedContextItemSchema: z.ZodObject<{
|
|
2120
2219
|
ref: z.ZodEffects<z.ZodObject<{
|
|
@@ -2387,26 +2486,26 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
2387
2486
|
}>>;
|
|
2388
2487
|
permissions: z.ZodObject<{
|
|
2389
2488
|
content: z.ZodObject<{
|
|
2390
|
-
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
2391
|
-
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
2489
|
+
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
2490
|
+
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
2392
2491
|
}, "strict", z.ZodTypeAny, {
|
|
2393
|
-
read: ("agent" | "knowledge" | "
|
|
2394
|
-
write: ("agent" | "knowledge" | "
|
|
2492
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2493
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2395
2494
|
}, {
|
|
2396
|
-
read: ("agent" | "knowledge" | "
|
|
2397
|
-
write: ("agent" | "knowledge" | "
|
|
2495
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2496
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2398
2497
|
}>;
|
|
2399
2498
|
tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "verification" | "discussion" | "source.read" | "source.write")[], ("release" | "verification" | "discussion" | "source.read" | "source.write")[]>;
|
|
2400
2499
|
}, "strict", z.ZodTypeAny, {
|
|
2401
2500
|
content: {
|
|
2402
|
-
read: ("agent" | "knowledge" | "
|
|
2403
|
-
write: ("agent" | "knowledge" | "
|
|
2501
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2502
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2404
2503
|
};
|
|
2405
2504
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
2406
2505
|
}, {
|
|
2407
2506
|
content: {
|
|
2408
|
-
read: ("agent" | "knowledge" | "
|
|
2409
|
-
write: ("agent" | "knowledge" | "
|
|
2507
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2508
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2410
2509
|
};
|
|
2411
2510
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
2412
2511
|
}>;
|
|
@@ -2493,26 +2592,26 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
2493
2592
|
handlerOrigin: z.ZodEnum<["agent-package", "project-runtime"]>;
|
|
2494
2593
|
permissionCeiling: z.ZodObject<{
|
|
2495
2594
|
content: z.ZodObject<{
|
|
2496
|
-
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
2497
|
-
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "
|
|
2595
|
+
read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
2596
|
+
write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[], ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[]>;
|
|
2498
2597
|
}, "strict", z.ZodTypeAny, {
|
|
2499
|
-
read: ("agent" | "knowledge" | "
|
|
2500
|
-
write: ("agent" | "knowledge" | "
|
|
2598
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2599
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2501
2600
|
}, {
|
|
2502
|
-
read: ("agent" | "knowledge" | "
|
|
2503
|
-
write: ("agent" | "knowledge" | "
|
|
2601
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2602
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2504
2603
|
}>;
|
|
2505
2604
|
tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "verification" | "discussion" | "source.read" | "source.write")[], ("release" | "verification" | "discussion" | "source.read" | "source.write")[]>;
|
|
2506
2605
|
}, "strict", z.ZodTypeAny, {
|
|
2507
2606
|
content: {
|
|
2508
|
-
read: ("agent" | "knowledge" | "
|
|
2509
|
-
write: ("agent" | "knowledge" | "
|
|
2607
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2608
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2510
2609
|
};
|
|
2511
2610
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
2512
2611
|
}, {
|
|
2513
2612
|
content: {
|
|
2514
|
-
read: ("agent" | "knowledge" | "
|
|
2515
|
-
write: ("agent" | "knowledge" | "
|
|
2613
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2614
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2516
2615
|
};
|
|
2517
2616
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
2518
2617
|
}>;
|
|
@@ -2540,8 +2639,8 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
2540
2639
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
2541
2640
|
permissionCeiling: {
|
|
2542
2641
|
content: {
|
|
2543
|
-
read: ("agent" | "knowledge" | "
|
|
2544
|
-
write: ("agent" | "knowledge" | "
|
|
2642
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2643
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2545
2644
|
};
|
|
2546
2645
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
2547
2646
|
};
|
|
@@ -2571,8 +2670,8 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
2571
2670
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
2572
2671
|
permissionCeiling: {
|
|
2573
2672
|
content: {
|
|
2574
|
-
read: ("agent" | "knowledge" | "
|
|
2575
|
-
write: ("agent" | "knowledge" | "
|
|
2673
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2674
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
2576
2675
|
};
|
|
2577
2676
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
2578
2677
|
};
|
|
@@ -2784,16 +2883,25 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
2784
2883
|
provider: z.ZodObject<{
|
|
2785
2884
|
providerId: z.ZodString;
|
|
2786
2885
|
offerId: z.ZodString;
|
|
2886
|
+
executionProviderId: z.ZodString;
|
|
2887
|
+
modelConfigurationId: z.ZodString;
|
|
2888
|
+
executionCapabilityId: z.ZodString;
|
|
2787
2889
|
offerRevision: z.ZodNumber;
|
|
2788
2890
|
runtimeBuild: z.ZodString;
|
|
2789
2891
|
}, "strict", z.ZodTypeAny, {
|
|
2790
2892
|
providerId: string;
|
|
2893
|
+
executionProviderId: string;
|
|
2791
2894
|
offerId: string;
|
|
2895
|
+
modelConfigurationId: string;
|
|
2896
|
+
executionCapabilityId: string;
|
|
2792
2897
|
offerRevision: number;
|
|
2793
2898
|
runtimeBuild: string;
|
|
2794
2899
|
}, {
|
|
2795
2900
|
providerId: string;
|
|
2901
|
+
executionProviderId: string;
|
|
2796
2902
|
offerId: string;
|
|
2903
|
+
modelConfigurationId: string;
|
|
2904
|
+
executionCapabilityId: string;
|
|
2797
2905
|
offerRevision: number;
|
|
2798
2906
|
runtimeBuild: string;
|
|
2799
2907
|
}>;
|
|
@@ -2962,7 +3070,10 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
2962
3070
|
status: "blocked" | "expired" | "failed" | "running" | "completed" | "cancelled" | "created" | "leased";
|
|
2963
3071
|
provider: {
|
|
2964
3072
|
providerId: string;
|
|
3073
|
+
executionProviderId: string;
|
|
2965
3074
|
offerId: string;
|
|
3075
|
+
modelConfigurationId: string;
|
|
3076
|
+
executionCapabilityId: string;
|
|
2966
3077
|
offerRevision: number;
|
|
2967
3078
|
runtimeBuild: string;
|
|
2968
3079
|
};
|
|
@@ -3089,8 +3200,8 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
3089
3200
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
3090
3201
|
permissionCeiling: {
|
|
3091
3202
|
content: {
|
|
3092
|
-
read: ("agent" | "knowledge" | "
|
|
3093
|
-
write: ("agent" | "knowledge" | "
|
|
3203
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
3204
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
3094
3205
|
};
|
|
3095
3206
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
3096
3207
|
};
|
|
@@ -3124,7 +3235,10 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
3124
3235
|
status: "blocked" | "expired" | "failed" | "running" | "completed" | "cancelled" | "created" | "leased";
|
|
3125
3236
|
provider: {
|
|
3126
3237
|
providerId: string;
|
|
3238
|
+
executionProviderId: string;
|
|
3127
3239
|
offerId: string;
|
|
3240
|
+
modelConfigurationId: string;
|
|
3241
|
+
executionCapabilityId: string;
|
|
3128
3242
|
offerRevision: number;
|
|
3129
3243
|
runtimeBuild: string;
|
|
3130
3244
|
};
|
|
@@ -3251,8 +3365,8 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
3251
3365
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
3252
3366
|
permissionCeiling: {
|
|
3253
3367
|
content: {
|
|
3254
|
-
read: ("agent" | "knowledge" | "
|
|
3255
|
-
write: ("agent" | "knowledge" | "
|
|
3368
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
3369
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
3256
3370
|
};
|
|
3257
3371
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
3258
3372
|
};
|
|
@@ -3590,6 +3704,37 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
3590
3704
|
endLine?: number | undefined;
|
|
3591
3705
|
} | undefined;
|
|
3592
3706
|
}>, "many">;
|
|
3707
|
+
timingAwareness: z.ZodOptional<z.ZodObject<{
|
|
3708
|
+
schemaVersion: z.ZodLiteral<"treeseed.assignment-timing-awareness/v1">;
|
|
3709
|
+
requiredChecks: z.ZodLiteral<2>;
|
|
3710
|
+
completedChecks: z.ZodNumber;
|
|
3711
|
+
firstTool: z.ZodLiteral<"treedx:treeseed_time_status">;
|
|
3712
|
+
firstToolSucceeded: z.ZodLiteral<true>;
|
|
3713
|
+
lastTool: z.ZodLiteral<"treedx:treeseed_time_status">;
|
|
3714
|
+
lastToolSucceeded: z.ZodLiteral<true>;
|
|
3715
|
+
firstToolCompliant: z.ZodLiteral<true>;
|
|
3716
|
+
finalToolCompliant: z.ZodLiteral<true>;
|
|
3717
|
+
}, "strict", z.ZodTypeAny, {
|
|
3718
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
3719
|
+
requiredChecks: 2;
|
|
3720
|
+
completedChecks: number;
|
|
3721
|
+
firstTool: "treedx:treeseed_time_status";
|
|
3722
|
+
firstToolSucceeded: true;
|
|
3723
|
+
lastTool: "treedx:treeseed_time_status";
|
|
3724
|
+
lastToolSucceeded: true;
|
|
3725
|
+
firstToolCompliant: true;
|
|
3726
|
+
finalToolCompliant: true;
|
|
3727
|
+
}, {
|
|
3728
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
3729
|
+
requiredChecks: 2;
|
|
3730
|
+
completedChecks: number;
|
|
3731
|
+
firstTool: "treedx:treeseed_time_status";
|
|
3732
|
+
firstToolSucceeded: true;
|
|
3733
|
+
lastTool: "treedx:treeseed_time_status";
|
|
3734
|
+
lastToolSucceeded: true;
|
|
3735
|
+
firstToolCompliant: true;
|
|
3736
|
+
finalToolCompliant: true;
|
|
3737
|
+
}>>;
|
|
3593
3738
|
completedAt: z.ZodString;
|
|
3594
3739
|
}, "strict", z.ZodTypeAny, {
|
|
3595
3740
|
status: "blocked" | "failed" | "completed";
|
|
@@ -3648,6 +3793,17 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
3648
3793
|
url: string;
|
|
3649
3794
|
digest?: string | undefined;
|
|
3650
3795
|
})[];
|
|
3796
|
+
timingAwareness?: {
|
|
3797
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
3798
|
+
requiredChecks: 2;
|
|
3799
|
+
completedChecks: number;
|
|
3800
|
+
firstTool: "treedx:treeseed_time_status";
|
|
3801
|
+
firstToolSucceeded: true;
|
|
3802
|
+
lastTool: "treedx:treeseed_time_status";
|
|
3803
|
+
lastToolSucceeded: true;
|
|
3804
|
+
firstToolCompliant: true;
|
|
3805
|
+
finalToolCompliant: true;
|
|
3806
|
+
} | undefined;
|
|
3651
3807
|
}, {
|
|
3652
3808
|
status: "blocked" | "failed" | "completed";
|
|
3653
3809
|
id: string;
|
|
@@ -3705,6 +3861,17 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
3705
3861
|
url: string;
|
|
3706
3862
|
digest?: string | undefined;
|
|
3707
3863
|
})[];
|
|
3864
|
+
timingAwareness?: {
|
|
3865
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
3866
|
+
requiredChecks: 2;
|
|
3867
|
+
completedChecks: number;
|
|
3868
|
+
firstTool: "treedx:treeseed_time_status";
|
|
3869
|
+
firstToolSucceeded: true;
|
|
3870
|
+
lastTool: "treedx:treeseed_time_status";
|
|
3871
|
+
lastToolSucceeded: true;
|
|
3872
|
+
firstToolCompliant: true;
|
|
3873
|
+
finalToolCompliant: true;
|
|
3874
|
+
} | undefined;
|
|
3708
3875
|
}>, "many">;
|
|
3709
3876
|
}, "strict", z.ZodTypeAny, {
|
|
3710
3877
|
context: {
|
|
@@ -3730,7 +3897,10 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
3730
3897
|
status: "blocked" | "expired" | "failed" | "running" | "completed" | "cancelled" | "created" | "leased";
|
|
3731
3898
|
provider: {
|
|
3732
3899
|
providerId: string;
|
|
3900
|
+
executionProviderId: string;
|
|
3733
3901
|
offerId: string;
|
|
3902
|
+
modelConfigurationId: string;
|
|
3903
|
+
executionCapabilityId: string;
|
|
3734
3904
|
offerRevision: number;
|
|
3735
3905
|
runtimeBuild: string;
|
|
3736
3906
|
};
|
|
@@ -3857,8 +4027,8 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
3857
4027
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
3858
4028
|
permissionCeiling: {
|
|
3859
4029
|
content: {
|
|
3860
|
-
read: ("agent" | "knowledge" | "
|
|
3861
|
-
write: ("agent" | "knowledge" | "
|
|
4030
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
4031
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
3862
4032
|
};
|
|
3863
4033
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
3864
4034
|
};
|
|
@@ -3946,6 +4116,17 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
3946
4116
|
url: string;
|
|
3947
4117
|
digest?: string | undefined;
|
|
3948
4118
|
})[];
|
|
4119
|
+
timingAwareness?: {
|
|
4120
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
4121
|
+
requiredChecks: 2;
|
|
4122
|
+
completedChecks: number;
|
|
4123
|
+
firstTool: "treedx:treeseed_time_status";
|
|
4124
|
+
firstToolSucceeded: true;
|
|
4125
|
+
lastTool: "treedx:treeseed_time_status";
|
|
4126
|
+
lastToolSucceeded: true;
|
|
4127
|
+
firstToolCompliant: true;
|
|
4128
|
+
finalToolCompliant: true;
|
|
4129
|
+
} | undefined;
|
|
3949
4130
|
}[];
|
|
3950
4131
|
}, {
|
|
3951
4132
|
context: {
|
|
@@ -3971,7 +4152,10 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
3971
4152
|
status: "blocked" | "expired" | "failed" | "running" | "completed" | "cancelled" | "created" | "leased";
|
|
3972
4153
|
provider: {
|
|
3973
4154
|
providerId: string;
|
|
4155
|
+
executionProviderId: string;
|
|
3974
4156
|
offerId: string;
|
|
4157
|
+
modelConfigurationId: string;
|
|
4158
|
+
executionCapabilityId: string;
|
|
3975
4159
|
offerRevision: number;
|
|
3976
4160
|
runtimeBuild: string;
|
|
3977
4161
|
};
|
|
@@ -4098,8 +4282,8 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
4098
4282
|
handlerOrigin: "agent-package" | "project-runtime";
|
|
4099
4283
|
permissionCeiling: {
|
|
4100
4284
|
content: {
|
|
4101
|
-
read: ("agent" | "knowledge" | "
|
|
4102
|
-
write: ("agent" | "knowledge" | "
|
|
4285
|
+
read: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
4286
|
+
write: ("agent" | "knowledge" | "proposal" | "decision" | "objective" | "question" | "discussion" | "note" | "book" | "discussion-message")[];
|
|
4103
4287
|
};
|
|
4104
4288
|
tools: ("release" | "verification" | "discussion" | "source.read" | "source.write")[];
|
|
4105
4289
|
};
|
|
@@ -4187,6 +4371,17 @@ export declare const assignmentContextSchema: z.ZodObject<{
|
|
|
4187
4371
|
url: string;
|
|
4188
4372
|
digest?: string | undefined;
|
|
4189
4373
|
})[];
|
|
4374
|
+
timingAwareness?: {
|
|
4375
|
+
schemaVersion: "treeseed.assignment-timing-awareness/v1";
|
|
4376
|
+
requiredChecks: 2;
|
|
4377
|
+
completedChecks: number;
|
|
4378
|
+
firstTool: "treedx:treeseed_time_status";
|
|
4379
|
+
firstToolSucceeded: true;
|
|
4380
|
+
lastTool: "treedx:treeseed_time_status";
|
|
4381
|
+
lastToolSucceeded: true;
|
|
4382
|
+
firstToolCompliant: true;
|
|
4383
|
+
finalToolCompliant: true;
|
|
4384
|
+
} | undefined;
|
|
4190
4385
|
}[];
|
|
4191
4386
|
}>;
|
|
4192
4387
|
export type ExactEntityReference = z.infer<typeof exactEntityReferenceSchema>;
|
|
@@ -4195,5 +4390,6 @@ export type ExactGrant = z.infer<typeof exactGrantSchema>;
|
|
|
4195
4390
|
export type AssignmentWorkspace = z.infer<typeof assignmentWorkspaceSchema>;
|
|
4196
4391
|
export type EffectiveActivityProfile = z.infer<typeof effectiveActivityProfileSchema>;
|
|
4197
4392
|
export type AssignmentAttempt = z.infer<typeof assignmentAttemptSchema>;
|
|
4393
|
+
export type AssignmentTimingAwarenessReceipt = z.infer<typeof assignmentTimingAwarenessReceiptSchema>;
|
|
4198
4394
|
export type AssignmentResult = z.infer<typeof assignmentResultSchema>;
|
|
4199
4395
|
export type AssignmentContext = z.infer<typeof assignmentContextSchema>;
|