@treeseed/sdk 0.13.0-rc.28 → 0.13.0-rc.29

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.
@@ -42,10 +42,10 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
42
42
  }, "strict", z.ZodTypeAny, {
43
43
  id: string;
44
44
  required: boolean;
45
+ revision: number;
45
46
  description: string;
46
47
  query: string;
47
48
  title: string;
48
- revision: number;
49
49
  filters: Record<string, unknown>;
50
50
  target: {
51
51
  kind: "code" | "content" | "mixed" | "graph";
@@ -67,10 +67,10 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
67
67
  codeScopes?: string[] | undefined;
68
68
  }, {
69
69
  id: string;
70
+ revision: number;
70
71
  description: string;
71
72
  query: string;
72
73
  title: string;
73
- revision: number;
74
74
  target: {
75
75
  kind: "code" | "content" | "mixed" | "graph";
76
76
  paths?: string[] | undefined;
@@ -110,9 +110,9 @@ export declare const agentContextQuerySetContentSchema: z.ZodObject<{
110
110
  mergePolicy: z.ZodDefault<z.ZodEnum<["append", "replace"]>>;
111
111
  }, "strict", z.ZodTypeAny, {
112
112
  id: string;
113
+ revision: number;
113
114
  description: string;
114
115
  title: string;
115
- revision: number;
116
116
  queryRefs: {
117
117
  id: string;
118
118
  revision: number;
@@ -120,9 +120,9 @@ export declare const agentContextQuerySetContentSchema: z.ZodObject<{
120
120
  mergePolicy: "replace" | "append";
121
121
  }, {
122
122
  id: string;
123
+ revision: number;
123
124
  description: string;
124
125
  title: string;
125
- revision: number;
126
126
  queryRefs: {
127
127
  id: string;
128
128
  revision: number;
@@ -140,21 +140,21 @@ 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
- id: string;
144
143
  kind: "message" | "status" | "summary" | "plan";
144
+ id: string;
145
+ revision: number;
145
146
  description: string;
146
147
  title: string;
147
- revision: number;
148
148
  instructions: string;
149
149
  variables: string[];
150
150
  appliesToProfiles: string[];
151
151
  outputSkeleton?: string | undefined;
152
152
  }, {
153
- id: string;
154
153
  kind: "message" | "status" | "summary" | "plan";
154
+ id: string;
155
+ revision: number;
155
156
  description: string;
156
157
  title: string;
157
- revision: number;
158
158
  instructions: string;
159
159
  outputSkeleton?: string | undefined;
160
160
  variables?: string[] | undefined;
@@ -256,6 +256,7 @@ export declare const assignmentPlanContentSchema: z.ZodObject<{
256
256
  }, "strict", z.ZodTypeAny, {
257
257
  status: "active" | "completed" | "ready" | "superseded" | "draft";
258
258
  id: string;
259
+ revision: number;
259
260
  createdAt: Date;
260
261
  teamId: string;
261
262
  projectId: string;
@@ -266,7 +267,6 @@ export declare const assignmentPlanContentSchema: z.ZodObject<{
266
267
  title: string;
267
268
  }[];
268
269
  title: string;
269
- revision: number;
270
270
  remaining: {
271
271
  id: string;
272
272
  description: string;
@@ -291,12 +291,12 @@ export declare const assignmentPlanContentSchema: z.ZodObject<{
291
291
  }, {
292
292
  status: "active" | "completed" | "ready" | "superseded" | "draft";
293
293
  id: string;
294
+ revision: number;
294
295
  createdAt: Date;
295
296
  teamId: string;
296
297
  projectId: string;
297
298
  objective: string;
298
299
  title: string;
299
- revision: number;
300
300
  description?: string | undefined;
301
301
  decisionId?: string | undefined;
302
302
  capacityPlanId?: string | undefined;
@@ -712,10 +712,10 @@ export declare const agentOperationalContentSchemas: {
712
712
  }, "strict", z.ZodTypeAny, {
713
713
  id: string;
714
714
  required: boolean;
715
+ revision: number;
715
716
  description: string;
716
717
  query: string;
717
718
  title: string;
718
- revision: number;
719
719
  filters: Record<string, unknown>;
720
720
  target: {
721
721
  kind: "code" | "content" | "mixed" | "graph";
@@ -737,10 +737,10 @@ export declare const agentOperationalContentSchemas: {
737
737
  codeScopes?: string[] | undefined;
738
738
  }, {
739
739
  id: string;
740
+ revision: number;
740
741
  description: string;
741
742
  query: string;
742
743
  title: string;
743
- revision: number;
744
744
  target: {
745
745
  kind: "code" | "content" | "mixed" | "graph";
746
746
  paths?: string[] | undefined;
@@ -780,9 +780,9 @@ export declare const agentOperationalContentSchemas: {
780
780
  mergePolicy: z.ZodDefault<z.ZodEnum<["append", "replace"]>>;
781
781
  }, "strict", z.ZodTypeAny, {
782
782
  id: string;
783
+ revision: number;
783
784
  description: string;
784
785
  title: string;
785
- revision: number;
786
786
  queryRefs: {
787
787
  id: string;
788
788
  revision: number;
@@ -790,9 +790,9 @@ export declare const agentOperationalContentSchemas: {
790
790
  mergePolicy: "replace" | "append";
791
791
  }, {
792
792
  id: string;
793
+ revision: number;
793
794
  description: string;
794
795
  title: string;
795
- revision: number;
796
796
  queryRefs: {
797
797
  id: string;
798
798
  revision: number;
@@ -810,21 +810,21 @@ 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
- id: string;
814
813
  kind: "message" | "status" | "summary" | "plan";
814
+ id: string;
815
+ revision: number;
815
816
  description: string;
816
817
  title: string;
817
- revision: number;
818
818
  instructions: string;
819
819
  variables: string[];
820
820
  appliesToProfiles: string[];
821
821
  outputSkeleton?: string | undefined;
822
822
  }, {
823
- id: string;
824
823
  kind: "message" | "status" | "summary" | "plan";
824
+ id: string;
825
+ revision: number;
825
826
  description: string;
826
827
  title: string;
827
- revision: number;
828
828
  instructions: string;
829
829
  outputSkeleton?: string | undefined;
830
830
  variables?: string[] | undefined;
@@ -926,6 +926,7 @@ export declare const agentOperationalContentSchemas: {
926
926
  }, "strict", z.ZodTypeAny, {
927
927
  status: "active" | "completed" | "ready" | "superseded" | "draft";
928
928
  id: string;
929
+ revision: number;
929
930
  createdAt: Date;
930
931
  teamId: string;
931
932
  projectId: string;
@@ -936,7 +937,6 @@ export declare const agentOperationalContentSchemas: {
936
937
  title: string;
937
938
  }[];
938
939
  title: string;
939
- revision: number;
940
940
  remaining: {
941
941
  id: string;
942
942
  description: string;
@@ -961,12 +961,12 @@ export declare const agentOperationalContentSchemas: {
961
961
  }, {
962
962
  status: "active" | "completed" | "ready" | "superseded" | "draft";
963
963
  id: string;
964
+ revision: number;
964
965
  createdAt: Date;
965
966
  teamId: string;
966
967
  projectId: string;
967
968
  objective: string;
968
969
  title: string;
969
- revision: number;
970
970
  description?: string | undefined;
971
971
  decisionId?: string | undefined;
972
972
  capacityPlanId?: string | undefined;
@@ -334,15 +334,15 @@ export declare const templateProductContentSchema: z.ZodObject<{
334
334
  publicUrl: z.ZodOptional<z.ZodString>;
335
335
  integrity: z.ZodOptional<z.ZodString>;
336
336
  }, "strip", z.ZodTypeAny, {
337
- version: string;
338
337
  kind: "r2";
338
+ version: string;
339
339
  objectKey: string;
340
340
  integrity?: string | undefined;
341
341
  bucket?: string | undefined;
342
342
  publicUrl?: string | undefined;
343
343
  }, {
344
- version: string;
345
344
  kind: "r2";
345
+ version: string;
346
346
  objectKey: string;
347
347
  integrity?: string | undefined;
348
348
  bucket?: string | undefined;
@@ -351,6 +351,7 @@ export declare const templateProductContentSchema: z.ZodObject<{
351
351
  hooksPolicy: z.ZodDefault<z.ZodEnum<["builtin_only", "trusted_only", "disabled"]>>;
352
352
  supportsReconcile: z.ZodDefault<z.ZodBoolean>;
353
353
  }, "strip", z.ZodTypeAny, {
354
+ mode: "packaged" | "git" | "r2";
354
355
  source: {
355
356
  kind: "git";
356
357
  repoUrl: string;
@@ -358,14 +359,13 @@ export declare const templateProductContentSchema: z.ZodObject<{
358
359
  ref: string;
359
360
  integrity?: string | undefined;
360
361
  } | {
361
- version: string;
362
362
  kind: "r2";
363
+ version: string;
363
364
  objectKey: string;
364
365
  integrity?: string | undefined;
365
366
  bucket?: string | undefined;
366
367
  publicUrl?: string | undefined;
367
368
  };
368
- mode: "packaged" | "git" | "r2";
369
369
  hooksPolicy: "disabled" | "builtin_only" | "trusted_only";
370
370
  supportsReconcile: boolean;
371
371
  }, {
@@ -376,8 +376,8 @@ export declare const templateProductContentSchema: z.ZodObject<{
376
376
  ref: string;
377
377
  integrity?: string | undefined;
378
378
  } | {
379
- version: string;
380
379
  kind: "r2";
380
+ version: string;
381
381
  objectKey: string;
382
382
  integrity?: string | undefined;
383
383
  bucket?: string | undefined;
@@ -405,10 +405,10 @@ export declare const templateProductContentSchema: z.ZodObject<{
405
405
  relatedObjectives: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
406
406
  }, "strip", z.ZodTypeAny, {
407
407
  status: "archived" | "draft" | "live";
408
+ audience: string[];
408
409
  description: string;
409
410
  summary: string;
410
411
  title: string;
411
- audience: string[];
412
412
  slug: string;
413
413
  groupIds: string[];
414
414
  featured: boolean;
@@ -425,6 +425,7 @@ export declare const templateProductContentSchema: z.ZodObject<{
425
425
  minCliVersion: string;
426
426
  minCoreVersion: string;
427
427
  fulfillment: {
428
+ mode: "packaged" | "git" | "r2";
428
429
  source: {
429
430
  kind: "git";
430
431
  repoUrl: string;
@@ -432,14 +433,13 @@ export declare const templateProductContentSchema: z.ZodObject<{
432
433
  ref: string;
433
434
  integrity?: string | undefined;
434
435
  } | {
435
- version: string;
436
436
  kind: "r2";
437
+ version: string;
437
438
  objectKey: string;
438
439
  integrity?: string | undefined;
439
440
  bucket?: string | undefined;
440
441
  publicUrl?: string | undefined;
441
442
  };
442
- mode: "packaged" | "git" | "r2";
443
443
  hooksPolicy: "disabled" | "builtin_only" | "trusted_only";
444
444
  supportsReconcile: boolean;
445
445
  };
@@ -477,8 +477,8 @@ export declare const templateProductContentSchema: z.ZodObject<{
477
477
  ref: string;
478
478
  integrity?: string | undefined;
479
479
  } | {
480
- version: string;
481
480
  kind: "r2";
481
+ version: string;
482
482
  objectKey: string;
483
483
  integrity?: string | undefined;
484
484
  bucket?: string | undefined;
@@ -488,8 +488,8 @@ export declare const templateProductContentSchema: z.ZodObject<{
488
488
  hooksPolicy?: "disabled" | "builtin_only" | "trusted_only" | undefined;
489
489
  supportsReconcile?: boolean | undefined;
490
490
  };
491
- teamId?: string | undefined;
492
491
  audience?: string[] | undefined;
492
+ teamId?: string | undefined;
493
493
  groupIds?: string[] | undefined;
494
494
  sourceRef?: string | undefined;
495
495
  featured?: boolean | undefined;
@@ -647,9 +647,9 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
647
647
  }>>;
648
648
  maxLatencyMs: z.ZodOptional<z.ZodNumber>;
649
649
  }, "strip", z.ZodTypeAny, {
650
+ kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
650
651
  id: string;
651
652
  trigger: Record<string, unknown>;
652
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
653
653
  agent: string;
654
654
  contextQueryRefs: string[];
655
655
  groupIds: string[];
@@ -691,8 +691,8 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
691
691
  } | undefined;
692
692
  maxLatencyMs?: number | undefined;
693
693
  }, {
694
- id: string;
695
694
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
695
+ id: string;
696
696
  agent: string;
697
697
  trigger?: Record<string, unknown> | undefined;
698
698
  fixture?: string | undefined;
@@ -751,9 +751,9 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
751
751
  } | undefined;
752
752
  maxLatencyMs?: number | undefined;
753
753
  }>, {
754
+ kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
754
755
  id: string;
755
756
  trigger: Record<string, unknown>;
756
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
757
757
  agent: string;
758
758
  contextQueryRefs: string[];
759
759
  groupIds: string[];
@@ -795,8 +795,8 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
795
795
  } | undefined;
796
796
  maxLatencyMs?: number | undefined;
797
797
  }, {
798
- id: string;
799
798
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
799
+ id: string;
800
800
  agent: string;
801
801
  trigger?: Record<string, unknown> | undefined;
802
802
  fixture?: string | undefined;
@@ -999,9 +999,9 @@ export declare const auxiliaryContentSchemas: {
999
999
  }>>;
1000
1000
  maxLatencyMs: z.ZodOptional<z.ZodNumber>;
1001
1001
  }, "strip", z.ZodTypeAny, {
1002
+ kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1002
1003
  id: string;
1003
1004
  trigger: Record<string, unknown>;
1004
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1005
1005
  agent: string;
1006
1006
  contextQueryRefs: string[];
1007
1007
  groupIds: string[];
@@ -1043,8 +1043,8 @@ export declare const auxiliaryContentSchemas: {
1043
1043
  } | undefined;
1044
1044
  maxLatencyMs?: number | undefined;
1045
1045
  }, {
1046
- id: string;
1047
1046
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1047
+ id: string;
1048
1048
  agent: string;
1049
1049
  trigger?: Record<string, unknown> | undefined;
1050
1050
  fixture?: string | undefined;
@@ -1103,9 +1103,9 @@ export declare const auxiliaryContentSchemas: {
1103
1103
  } | undefined;
1104
1104
  maxLatencyMs?: number | undefined;
1105
1105
  }>, {
1106
+ kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1106
1107
  id: string;
1107
1108
  trigger: Record<string, unknown>;
1108
- kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1109
1109
  agent: string;
1110
1110
  contextQueryRefs: string[];
1111
1111
  groupIds: string[];
@@ -1147,8 +1147,8 @@ export declare const auxiliaryContentSchemas: {
1147
1147
  } | undefined;
1148
1148
  maxLatencyMs?: number | undefined;
1149
1149
  }, {
1150
- id: string;
1151
1150
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1151
+ id: string;
1152
1152
  agent: string;
1153
1153
  trigger?: Record<string, unknown> | undefined;
1154
1154
  fixture?: string | undefined;
@@ -1542,15 +1542,15 @@ export declare const auxiliaryContentSchemas: {
1542
1542
  publicUrl: z.ZodOptional<z.ZodString>;
1543
1543
  integrity: z.ZodOptional<z.ZodString>;
1544
1544
  }, "strip", z.ZodTypeAny, {
1545
- version: string;
1546
1545
  kind: "r2";
1546
+ version: string;
1547
1547
  objectKey: string;
1548
1548
  integrity?: string | undefined;
1549
1549
  bucket?: string | undefined;
1550
1550
  publicUrl?: string | undefined;
1551
1551
  }, {
1552
- version: string;
1553
1552
  kind: "r2";
1553
+ version: string;
1554
1554
  objectKey: string;
1555
1555
  integrity?: string | undefined;
1556
1556
  bucket?: string | undefined;
@@ -1559,6 +1559,7 @@ export declare const auxiliaryContentSchemas: {
1559
1559
  hooksPolicy: z.ZodDefault<z.ZodEnum<["builtin_only", "trusted_only", "disabled"]>>;
1560
1560
  supportsReconcile: z.ZodDefault<z.ZodBoolean>;
1561
1561
  }, "strip", z.ZodTypeAny, {
1562
+ mode: "packaged" | "git" | "r2";
1562
1563
  source: {
1563
1564
  kind: "git";
1564
1565
  repoUrl: string;
@@ -1566,14 +1567,13 @@ export declare const auxiliaryContentSchemas: {
1566
1567
  ref: string;
1567
1568
  integrity?: string | undefined;
1568
1569
  } | {
1569
- version: string;
1570
1570
  kind: "r2";
1571
+ version: string;
1571
1572
  objectKey: string;
1572
1573
  integrity?: string | undefined;
1573
1574
  bucket?: string | undefined;
1574
1575
  publicUrl?: string | undefined;
1575
1576
  };
1576
- mode: "packaged" | "git" | "r2";
1577
1577
  hooksPolicy: "disabled" | "builtin_only" | "trusted_only";
1578
1578
  supportsReconcile: boolean;
1579
1579
  }, {
@@ -1584,8 +1584,8 @@ export declare const auxiliaryContentSchemas: {
1584
1584
  ref: string;
1585
1585
  integrity?: string | undefined;
1586
1586
  } | {
1587
- version: string;
1588
1587
  kind: "r2";
1588
+ version: string;
1589
1589
  objectKey: string;
1590
1590
  integrity?: string | undefined;
1591
1591
  bucket?: string | undefined;
@@ -1613,10 +1613,10 @@ export declare const auxiliaryContentSchemas: {
1613
1613
  relatedObjectives: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1614
1614
  }, "strip", z.ZodTypeAny, {
1615
1615
  status: "archived" | "draft" | "live";
1616
+ audience: string[];
1616
1617
  description: string;
1617
1618
  summary: string;
1618
1619
  title: string;
1619
- audience: string[];
1620
1620
  slug: string;
1621
1621
  groupIds: string[];
1622
1622
  featured: boolean;
@@ -1633,6 +1633,7 @@ export declare const auxiliaryContentSchemas: {
1633
1633
  minCliVersion: string;
1634
1634
  minCoreVersion: string;
1635
1635
  fulfillment: {
1636
+ mode: "packaged" | "git" | "r2";
1636
1637
  source: {
1637
1638
  kind: "git";
1638
1639
  repoUrl: string;
@@ -1640,14 +1641,13 @@ export declare const auxiliaryContentSchemas: {
1640
1641
  ref: string;
1641
1642
  integrity?: string | undefined;
1642
1643
  } | {
1643
- version: string;
1644
1644
  kind: "r2";
1645
+ version: string;
1645
1646
  objectKey: string;
1646
1647
  integrity?: string | undefined;
1647
1648
  bucket?: string | undefined;
1648
1649
  publicUrl?: string | undefined;
1649
1650
  };
1650
- mode: "packaged" | "git" | "r2";
1651
1651
  hooksPolicy: "disabled" | "builtin_only" | "trusted_only";
1652
1652
  supportsReconcile: boolean;
1653
1653
  };
@@ -1685,8 +1685,8 @@ export declare const auxiliaryContentSchemas: {
1685
1685
  ref: string;
1686
1686
  integrity?: string | undefined;
1687
1687
  } | {
1688
- version: string;
1689
1688
  kind: "r2";
1689
+ version: string;
1690
1690
  objectKey: string;
1691
1691
  integrity?: string | undefined;
1692
1692
  bucket?: string | undefined;
@@ -1696,8 +1696,8 @@ export declare const auxiliaryContentSchemas: {
1696
1696
  hooksPolicy?: "disabled" | "builtin_only" | "trusted_only" | undefined;
1697
1697
  supportsReconcile?: boolean | undefined;
1698
1698
  };
1699
- teamId?: string | undefined;
1700
1699
  audience?: string[] | undefined;
1700
+ teamId?: string | undefined;
1701
1701
  groupIds?: string[] | undefined;
1702
1702
  sourceRef?: string | undefined;
1703
1703
  featured?: boolean | undefined;