@treeseed/sdk 0.13.0-rc.60 → 0.13.0-rc.62

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.
Files changed (35) hide show
  1. package/dist/.treeseed-build-complete.json +1 -1
  2. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +120 -120
  3. package/dist/capacity-provider/capability-ontology.d.ts +190 -190
  4. package/dist/capacity-provider/client.d.ts +3 -3
  5. package/dist/capacity-provider/core-capability-catalog.d.ts +13 -13
  6. package/dist/capacity-provider/environment-catalog.d.ts +62 -62
  7. package/dist/capacity-provider/sandbox-contracts.d.ts +66 -66
  8. package/dist/content/validation/agent-operational-content-schemas.d.ts +72 -72
  9. package/dist/content/validation/auxiliary-content-schemas.d.ts +74 -74
  10. package/dist/content/validation/content-model-schemas.d.ts +435 -435
  11. package/dist/content/validation/portable-content-data.d.ts +53 -53
  12. package/dist/deployment/ai-mode.d.ts +46 -46
  13. package/dist/deployment/schemas.d.ts +648 -648
  14. package/dist/development/schemas.d.ts +290 -290
  15. package/dist/operator-contracts/canonical-command-tree.js +10 -0
  16. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +41 -41
  17. package/dist/operator-contracts/catalog/communication-operations.d.ts +62 -62
  18. package/dist/operator-contracts/catalog/inbox-operations.d.ts +34 -34
  19. package/dist/operator-contracts/communication/contracts.d.ts +228 -228
  20. package/dist/operator-contracts/control-plane-operations.d.ts +145 -145
  21. package/dist/operator-contracts/inbox/contracts.d.ts +108 -108
  22. package/dist/platform/contracts.d.ts +383 -0
  23. package/dist/platform/contracts.js +79 -0
  24. package/dist/platform/index.d.ts +5 -0
  25. package/dist/platform/index.js +5 -0
  26. package/dist/platform/inventory.d.ts +11 -0
  27. package/dist/platform/inventory.js +53 -0
  28. package/dist/platform/schemas.d.ts +806 -0
  29. package/dist/platform/schemas.js +68 -0
  30. package/dist/platform/verification.d.ts +9 -0
  31. package/dist/platform/verification.js +104 -0
  32. package/dist/platform/workset.d.ts +21 -0
  33. package/dist/platform/workset.js +102 -0
  34. package/dist/security/encrypted-envelope.d.ts +14 -14
  35. package/package.json +5 -1
@@ -40,15 +40,15 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
40
40
  filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
41
41
  required: z.ZodDefault<z.ZodBoolean>;
42
42
  }, "strict", z.ZodTypeAny, {
43
- purpose: string;
44
43
  id: string;
44
+ required: boolean;
45
+ purpose: string;
45
46
  target: {
46
47
  kind: "code" | "content" | "mixed" | "graph";
47
48
  paths?: string[] | undefined;
48
49
  models?: string[] | undefined;
49
50
  };
50
51
  description: string;
51
- required: boolean;
52
52
  revision: number;
53
53
  format: "map" | "sources" | "summary" | "list" | "full" | "brief";
54
54
  query: string;
@@ -66,8 +66,8 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
66
66
  scope?: string | undefined;
67
67
  codeScopes?: string[] | undefined;
68
68
  }, {
69
- purpose: string;
70
69
  id: string;
70
+ purpose: string;
71
71
  target: {
72
72
  kind: "code" | "content" | "mixed" | "graph";
73
73
  paths?: string[] | undefined;
@@ -85,9 +85,9 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
85
85
  };
86
86
  tokenBudget: number;
87
87
  required?: boolean | undefined;
88
+ scope?: string | undefined;
88
89
  format?: "map" | "sources" | "summary" | "list" | "full" | "brief" | undefined;
89
90
  depth?: number | undefined;
90
- scope?: string | undefined;
91
91
  filters?: Record<string, unknown> | undefined;
92
92
  codeScopes?: string[] | undefined;
93
93
  relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
@@ -140,24 +140,24 @@ export declare const agentInstructionTemplateContentSchema: z.ZodObject<{
140
140
  variables: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
141
141
  appliesToProfiles: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
142
142
  }, "strict", z.ZodTypeAny, {
143
- kind: "message" | "status" | "summary" | "plan";
144
143
  id: string;
144
+ variables: string[];
145
+ kind: "status" | "message" | "summary" | "plan";
145
146
  description: string;
146
147
  revision: number;
147
148
  title: string;
148
149
  instructions: string;
149
- variables: string[];
150
150
  appliesToProfiles: string[];
151
151
  outputSkeleton?: string | undefined;
152
152
  }, {
153
- kind: "message" | "status" | "summary" | "plan";
154
153
  id: string;
154
+ kind: "status" | "message" | "summary" | "plan";
155
155
  description: string;
156
156
  revision: number;
157
157
  title: string;
158
158
  instructions: string;
159
- outputSkeleton?: string | undefined;
160
159
  variables?: string[] | undefined;
160
+ outputSkeleton?: string | undefined;
161
161
  appliesToProfiles?: string[] | undefined;
162
162
  }>;
163
163
  export declare const discussionTopicContentSchema: z.ZodObject<{
@@ -170,16 +170,16 @@ export declare const discussionTopicContentSchema: z.ZodObject<{
170
170
  status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
171
171
  }, "strict", z.ZodTypeAny, {
172
172
  status: "active" | "archived";
173
+ slug: string;
173
174
  id: string;
174
175
  description: string;
175
- slug: string;
176
176
  title: string;
177
177
  groupIds: string[];
178
178
  parentTopicId?: string | undefined;
179
179
  }, {
180
+ slug: string;
180
181
  id: string;
181
182
  description: string;
182
- slug: string;
183
183
  title: string;
184
184
  groupIds: string[];
185
185
  status?: "active" | "archived" | undefined;
@@ -254,11 +254,11 @@ export declare const assignmentPlanContentSchema: z.ZodObject<{
254
254
  decisionId: z.ZodOptional<z.ZodString>;
255
255
  capacityPlanId: z.ZodOptional<z.ZodString>;
256
256
  }, "strict", z.ZodTypeAny, {
257
- teamId: string;
258
257
  status: "ready" | "active" | "completed" | "superseded" | "draft";
259
- createdAt: Date;
260
258
  id: string;
261
259
  projectId: string;
260
+ teamId: string;
261
+ createdAt: Date;
262
262
  revision: number;
263
263
  objective: string;
264
264
  completed: {
@@ -289,11 +289,11 @@ export declare const assignmentPlanContentSchema: z.ZodObject<{
289
289
  contextRefs: string[];
290
290
  } | undefined;
291
291
  }, {
292
- teamId: string;
293
292
  status: "ready" | "active" | "completed" | "superseded" | "draft";
294
- createdAt: Date;
295
293
  id: string;
296
294
  projectId: string;
295
+ teamId: string;
296
+ createdAt: Date;
297
297
  revision: number;
298
298
  objective: string;
299
299
  title: string;
@@ -351,12 +351,12 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
351
351
  reason: z.ZodOptional<z.ZodString>;
352
352
  progress: z.ZodOptional<z.ZodNumber>;
353
353
  }, "strict", z.ZodTypeAny, {
354
- teamId: string;
355
- sequence: number;
356
354
  status: "pending" | "failed" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
357
- createdAt: Date;
358
355
  id: string;
359
356
  projectId: string;
357
+ teamId: string;
358
+ createdAt: Date;
359
+ sequence: number;
360
360
  title: string;
361
361
  phase: string;
362
362
  assignmentId?: string | undefined;
@@ -370,12 +370,12 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
370
370
  } | undefined;
371
371
  progress?: number | undefined;
372
372
  }, {
373
- teamId: string;
374
- sequence: number;
375
373
  status: "pending" | "failed" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
376
- createdAt: Date;
377
374
  id: string;
378
375
  projectId: string;
376
+ teamId: string;
377
+ createdAt: Date;
378
+ sequence: number;
379
379
  title: string;
380
380
  phase: string;
381
381
  assignmentId?: string | undefined;
@@ -389,12 +389,12 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
389
389
  } | undefined;
390
390
  progress?: number | undefined;
391
391
  }>, {
392
- teamId: string;
393
- sequence: number;
394
392
  status: "pending" | "failed" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
395
- createdAt: Date;
396
393
  id: string;
397
394
  projectId: string;
395
+ teamId: string;
396
+ createdAt: Date;
397
+ sequence: number;
398
398
  title: string;
399
399
  phase: string;
400
400
  assignmentId?: string | undefined;
@@ -408,12 +408,12 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
408
408
  } | undefined;
409
409
  progress?: number | undefined;
410
410
  }, {
411
- teamId: string;
412
- sequence: number;
413
411
  status: "pending" | "failed" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
414
- createdAt: Date;
415
412
  id: string;
416
413
  projectId: string;
414
+ teamId: string;
415
+ createdAt: Date;
416
+ sequence: number;
417
417
  title: string;
418
418
  phase: string;
419
419
  assignmentId?: string | undefined;
@@ -468,12 +468,12 @@ export declare const assignmentSummaryContentSchema: z.ZodObject<{
468
468
  artifactRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
469
469
  verificationRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
470
470
  }, "strict", z.ZodTypeAny, {
471
- teamId: string;
472
471
  status: "failed" | "completed" | "cancelled" | "suspended";
473
- createdAt: Date;
474
472
  id: string;
475
- projectId: string;
476
473
  blockers: string[];
474
+ projectId: string;
475
+ teamId: string;
476
+ createdAt: Date;
477
477
  summary: string;
478
478
  title: string;
479
479
  artifactRefs: string[];
@@ -493,19 +493,19 @@ export declare const assignmentSummaryContentSchema: z.ZodObject<{
493
493
  contextRefs: string[];
494
494
  } | undefined;
495
495
  }, {
496
- teamId: string;
497
496
  status: "failed" | "completed" | "cancelled" | "suspended";
498
- createdAt: Date;
499
497
  id: string;
500
498
  projectId: string;
499
+ teamId: string;
500
+ createdAt: Date;
501
501
  summary: string;
502
502
  title: string;
503
503
  performance: {
504
504
  outcome: string;
505
505
  metrics?: Record<string, number> | undefined;
506
506
  };
507
- assignmentId?: string | undefined;
508
507
  blockers?: string[] | undefined;
508
+ assignmentId?: string | undefined;
509
509
  description?: string | undefined;
510
510
  updatedAt?: Date | undefined;
511
511
  workdayId?: string | undefined;
@@ -592,11 +592,11 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
592
592
  evidenceRefs?: string[] | undefined;
593
593
  }>, "many">;
594
594
  }, "strict", z.ZodTypeAny, {
595
- teamId: string;
596
595
  status: string;
597
- createdAt: Date;
598
596
  id: string;
599
597
  projectId: string;
598
+ teamId: string;
599
+ createdAt: Date;
600
600
  outcome: "passed" | "failed" | "needs-revision";
601
601
  title: string;
602
602
  contextQueryRefs: {
@@ -630,11 +630,11 @@ export declare const agentEvaluationContentSchema: z.ZodObject<{
630
630
  workdayId?: string | undefined;
631
631
  score?: number | undefined;
632
632
  }, {
633
- teamId: string;
634
633
  status: string;
635
- createdAt: Date;
636
634
  id: string;
637
635
  projectId: string;
636
+ teamId: string;
637
+ createdAt: Date;
638
638
  outcome: "passed" | "failed" | "needs-revision";
639
639
  title: string;
640
640
  agentId: string;
@@ -710,15 +710,15 @@ export declare const agentOperationalContentSchemas: {
710
710
  filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
711
711
  required: z.ZodDefault<z.ZodBoolean>;
712
712
  }, "strict", z.ZodTypeAny, {
713
- purpose: string;
714
713
  id: string;
714
+ required: boolean;
715
+ purpose: string;
715
716
  target: {
716
717
  kind: "code" | "content" | "mixed" | "graph";
717
718
  paths?: string[] | undefined;
718
719
  models?: string[] | undefined;
719
720
  };
720
721
  description: string;
721
- required: boolean;
722
722
  revision: number;
723
723
  format: "map" | "sources" | "summary" | "list" | "full" | "brief";
724
724
  query: string;
@@ -736,8 +736,8 @@ export declare const agentOperationalContentSchemas: {
736
736
  scope?: string | undefined;
737
737
  codeScopes?: string[] | undefined;
738
738
  }, {
739
- purpose: string;
740
739
  id: string;
740
+ purpose: string;
741
741
  target: {
742
742
  kind: "code" | "content" | "mixed" | "graph";
743
743
  paths?: string[] | undefined;
@@ -755,9 +755,9 @@ export declare const agentOperationalContentSchemas: {
755
755
  };
756
756
  tokenBudget: number;
757
757
  required?: boolean | undefined;
758
+ scope?: string | undefined;
758
759
  format?: "map" | "sources" | "summary" | "list" | "full" | "brief" | undefined;
759
760
  depth?: number | undefined;
760
- scope?: string | undefined;
761
761
  filters?: Record<string, unknown> | undefined;
762
762
  codeScopes?: string[] | undefined;
763
763
  relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
@@ -810,24 +810,24 @@ export declare const agentOperationalContentSchemas: {
810
810
  variables: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
811
811
  appliesToProfiles: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
812
812
  }, "strict", z.ZodTypeAny, {
813
- kind: "message" | "status" | "summary" | "plan";
814
813
  id: string;
814
+ variables: string[];
815
+ kind: "status" | "message" | "summary" | "plan";
815
816
  description: string;
816
817
  revision: number;
817
818
  title: string;
818
819
  instructions: string;
819
- variables: string[];
820
820
  appliesToProfiles: string[];
821
821
  outputSkeleton?: string | undefined;
822
822
  }, {
823
- kind: "message" | "status" | "summary" | "plan";
824
823
  id: string;
824
+ kind: "status" | "message" | "summary" | "plan";
825
825
  description: string;
826
826
  revision: number;
827
827
  title: string;
828
828
  instructions: string;
829
- outputSkeleton?: string | undefined;
830
829
  variables?: string[] | undefined;
830
+ outputSkeleton?: string | undefined;
831
831
  appliesToProfiles?: string[] | undefined;
832
832
  }>;
833
833
  discussion_topic: z.ZodObject<{
@@ -840,16 +840,16 @@ export declare const agentOperationalContentSchemas: {
840
840
  status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
841
841
  }, "strict", z.ZodTypeAny, {
842
842
  status: "active" | "archived";
843
+ slug: string;
843
844
  id: string;
844
845
  description: string;
845
- slug: string;
846
846
  title: string;
847
847
  groupIds: string[];
848
848
  parentTopicId?: string | undefined;
849
849
  }, {
850
+ slug: string;
850
851
  id: string;
851
852
  description: string;
852
- slug: string;
853
853
  title: string;
854
854
  groupIds: string[];
855
855
  status?: "active" | "archived" | undefined;
@@ -924,11 +924,11 @@ export declare const agentOperationalContentSchemas: {
924
924
  decisionId: z.ZodOptional<z.ZodString>;
925
925
  capacityPlanId: z.ZodOptional<z.ZodString>;
926
926
  }, "strict", z.ZodTypeAny, {
927
- teamId: string;
928
927
  status: "ready" | "active" | "completed" | "superseded" | "draft";
929
- createdAt: Date;
930
928
  id: string;
931
929
  projectId: string;
930
+ teamId: string;
931
+ createdAt: Date;
932
932
  revision: number;
933
933
  objective: string;
934
934
  completed: {
@@ -959,11 +959,11 @@ export declare const agentOperationalContentSchemas: {
959
959
  contextRefs: string[];
960
960
  } | undefined;
961
961
  }, {
962
- teamId: string;
963
962
  status: "ready" | "active" | "completed" | "superseded" | "draft";
964
- createdAt: Date;
965
963
  id: string;
966
964
  projectId: string;
965
+ teamId: string;
966
+ createdAt: Date;
967
967
  revision: number;
968
968
  objective: string;
969
969
  title: string;
@@ -1021,12 +1021,12 @@ export declare const agentOperationalContentSchemas: {
1021
1021
  reason: z.ZodOptional<z.ZodString>;
1022
1022
  progress: z.ZodOptional<z.ZodNumber>;
1023
1023
  }, "strict", z.ZodTypeAny, {
1024
- teamId: string;
1025
- sequence: number;
1026
1024
  status: "pending" | "failed" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
1027
- createdAt: Date;
1028
1025
  id: string;
1029
1026
  projectId: string;
1027
+ teamId: string;
1028
+ createdAt: Date;
1029
+ sequence: number;
1030
1030
  title: string;
1031
1031
  phase: string;
1032
1032
  assignmentId?: string | undefined;
@@ -1040,12 +1040,12 @@ export declare const agentOperationalContentSchemas: {
1040
1040
  } | undefined;
1041
1041
  progress?: number | undefined;
1042
1042
  }, {
1043
- teamId: string;
1044
- sequence: number;
1045
1043
  status: "pending" | "failed" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
1046
- createdAt: Date;
1047
1044
  id: string;
1048
1045
  projectId: string;
1046
+ teamId: string;
1047
+ createdAt: Date;
1048
+ sequence: number;
1049
1049
  title: string;
1050
1050
  phase: string;
1051
1051
  assignmentId?: string | undefined;
@@ -1059,12 +1059,12 @@ export declare const agentOperationalContentSchemas: {
1059
1059
  } | undefined;
1060
1060
  progress?: number | undefined;
1061
1061
  }>, {
1062
- teamId: string;
1063
- sequence: number;
1064
1062
  status: "pending" | "failed" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
1065
- createdAt: Date;
1066
1063
  id: string;
1067
1064
  projectId: string;
1065
+ teamId: string;
1066
+ createdAt: Date;
1067
+ sequence: number;
1068
1068
  title: string;
1069
1069
  phase: string;
1070
1070
  assignmentId?: string | undefined;
@@ -1078,12 +1078,12 @@ export declare const agentOperationalContentSchemas: {
1078
1078
  } | undefined;
1079
1079
  progress?: number | undefined;
1080
1080
  }, {
1081
- teamId: string;
1082
- sequence: number;
1083
1081
  status: "pending" | "failed" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
1084
- createdAt: Date;
1085
1082
  id: string;
1086
1083
  projectId: string;
1084
+ teamId: string;
1085
+ createdAt: Date;
1086
+ sequence: number;
1087
1087
  title: string;
1088
1088
  phase: string;
1089
1089
  assignmentId?: string | undefined;
@@ -1138,12 +1138,12 @@ export declare const agentOperationalContentSchemas: {
1138
1138
  artifactRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1139
1139
  verificationRefs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1140
1140
  }, "strict", z.ZodTypeAny, {
1141
- teamId: string;
1142
1141
  status: "failed" | "completed" | "cancelled" | "suspended";
1143
- createdAt: Date;
1144
1142
  id: string;
1145
- projectId: string;
1146
1143
  blockers: string[];
1144
+ projectId: string;
1145
+ teamId: string;
1146
+ createdAt: Date;
1147
1147
  summary: string;
1148
1148
  title: string;
1149
1149
  artifactRefs: string[];
@@ -1163,19 +1163,19 @@ export declare const agentOperationalContentSchemas: {
1163
1163
  contextRefs: string[];
1164
1164
  } | undefined;
1165
1165
  }, {
1166
- teamId: string;
1167
1166
  status: "failed" | "completed" | "cancelled" | "suspended";
1168
- createdAt: Date;
1169
1167
  id: string;
1170
1168
  projectId: string;
1169
+ teamId: string;
1170
+ createdAt: Date;
1171
1171
  summary: string;
1172
1172
  title: string;
1173
1173
  performance: {
1174
1174
  outcome: string;
1175
1175
  metrics?: Record<string, number> | undefined;
1176
1176
  };
1177
- assignmentId?: string | undefined;
1178
1177
  blockers?: string[] | undefined;
1178
+ assignmentId?: string | undefined;
1179
1179
  description?: string | undefined;
1180
1180
  updatedAt?: Date | undefined;
1181
1181
  workdayId?: string | undefined;
@@ -1262,11 +1262,11 @@ export declare const agentOperationalContentSchemas: {
1262
1262
  evidenceRefs?: string[] | undefined;
1263
1263
  }>, "many">;
1264
1264
  }, "strict", z.ZodTypeAny, {
1265
- teamId: string;
1266
1265
  status: string;
1267
- createdAt: Date;
1268
1266
  id: string;
1269
1267
  projectId: string;
1268
+ teamId: string;
1269
+ createdAt: Date;
1270
1270
  outcome: "passed" | "failed" | "needs-revision";
1271
1271
  title: string;
1272
1272
  contextQueryRefs: {
@@ -1300,11 +1300,11 @@ export declare const agentOperationalContentSchemas: {
1300
1300
  workdayId?: string | undefined;
1301
1301
  score?: number | undefined;
1302
1302
  }, {
1303
- teamId: string;
1304
1303
  status: string;
1305
- createdAt: Date;
1306
1304
  id: string;
1307
1305
  projectId: string;
1306
+ teamId: string;
1307
+ createdAt: Date;
1308
1308
  outcome: "passed" | "failed" | "needs-revision";
1309
1309
  title: string;
1310
1310
  agentId: string;