@treeseed/sdk 0.13.0-rc.25 → 0.13.0-rc.26

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.
@@ -74,12 +74,12 @@ export declare const workdayContentSchema: z.ZodObject<{
74
74
  id: string;
75
75
  changedFiles: string[];
76
76
  type?: string | undefined;
77
- completedAt?: Date | undefined;
78
77
  createdAt?: Date | undefined;
78
+ state?: string | undefined;
79
+ completedAt?: Date | undefined;
79
80
  priority?: number | undefined;
80
81
  startedAt?: Date | undefined;
81
82
  agentId?: string | undefined;
82
- state?: string | undefined;
83
83
  idempotencyKey?: string | undefined;
84
84
  lastErrorCode?: string | null | undefined;
85
85
  lastErrorMessage?: string | null | undefined;
@@ -88,12 +88,12 @@ export declare const workdayContentSchema: z.ZodObject<{
88
88
  }, {
89
89
  id: string;
90
90
  type?: string | undefined;
91
- completedAt?: Date | undefined;
92
91
  createdAt?: Date | undefined;
92
+ state?: string | undefined;
93
+ completedAt?: Date | undefined;
93
94
  priority?: number | undefined;
94
95
  startedAt?: Date | undefined;
95
96
  agentId?: string | undefined;
96
- state?: string | undefined;
97
97
  idempotencyKey?: string | undefined;
98
98
  lastErrorCode?: string | null | undefined;
99
99
  lastErrorMessage?: string | null | undefined;
@@ -137,15 +137,15 @@ export declare const workdayContentSchema: z.ZodObject<{
137
137
  scaleResult: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
138
138
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
139
139
  }, "strip", z.ZodTypeAny, {
140
- summary: string;
141
140
  status: string;
141
+ visibility: "private" | "team" | "public" | "authenticated";
142
+ summary: string;
142
143
  projectId: string;
143
144
  title: string;
144
145
  startedAt: Date;
145
146
  slug: string;
146
147
  metadata: Record<string, unknown>;
147
148
  environment: string;
148
- visibility: "team" | "public" | "private" | "authenticated";
149
149
  changedFiles: string[];
150
150
  workDayId: string;
151
151
  reportVersion: string;
@@ -176,12 +176,12 @@ export declare const workdayContentSchema: z.ZodObject<{
176
176
  id: string;
177
177
  changedFiles: string[];
178
178
  type?: string | undefined;
179
- completedAt?: Date | undefined;
180
179
  createdAt?: Date | undefined;
180
+ state?: string | undefined;
181
+ completedAt?: Date | undefined;
181
182
  priority?: number | undefined;
182
183
  startedAt?: Date | undefined;
183
184
  agentId?: string | undefined;
184
- state?: string | undefined;
185
185
  idempotencyKey?: string | undefined;
186
186
  lastErrorCode?: string | null | undefined;
187
187
  lastErrorMessage?: string | null | undefined;
@@ -201,8 +201,8 @@ export declare const workdayContentSchema: z.ZodObject<{
201
201
  }[];
202
202
  scaleDecision: Record<string, unknown>;
203
203
  scaleResult: Record<string, unknown>;
204
- teamId?: string | undefined;
205
204
  createdAt?: Date | undefined;
205
+ teamId?: string | undefined;
206
206
  endedAt?: Date | null | undefined;
207
207
  prioritySnapshotId?: string | null | undefined;
208
208
  }, {
@@ -217,10 +217,10 @@ export declare const workdayContentSchema: z.ZodObject<{
217
217
  workdayState: string;
218
218
  generatedAt: Date;
219
219
  status?: string | undefined;
220
- teamId?: string | undefined;
220
+ visibility?: "private" | "team" | "public" | "authenticated" | undefined;
221
221
  createdAt?: Date | undefined;
222
+ teamId?: string | undefined;
222
223
  metadata?: Record<string, unknown> | undefined;
223
- visibility?: "team" | "public" | "private" | "authenticated" | undefined;
224
224
  changedFiles?: string[] | undefined;
225
225
  reportKind?: string | undefined;
226
226
  endedAt?: Date | null | undefined;
@@ -248,12 +248,12 @@ export declare const workdayContentSchema: z.ZodObject<{
248
248
  taskItems?: {
249
249
  id: string;
250
250
  type?: string | undefined;
251
- completedAt?: Date | undefined;
252
251
  createdAt?: Date | undefined;
252
+ state?: string | undefined;
253
+ completedAt?: Date | undefined;
253
254
  priority?: number | undefined;
254
255
  startedAt?: Date | undefined;
255
256
  agentId?: string | undefined;
256
- state?: string | undefined;
257
257
  idempotencyKey?: string | undefined;
258
258
  lastErrorCode?: string | null | undefined;
259
259
  lastErrorMessage?: string | null | undefined;
@@ -392,21 +392,21 @@ export declare const templateProductContentSchema: z.ZodObject<{
392
392
  license: z.ZodOptional<z.ZodString>;
393
393
  support: z.ZodOptional<z.ZodString>;
394
394
  }, "strip", z.ZodTypeAny, {
395
- priceModel: "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external";
395
+ priceModel: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract";
396
396
  support?: string | undefined;
397
397
  license?: string | undefined;
398
398
  }, {
399
399
  support?: string | undefined;
400
- priceModel?: "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external" | undefined;
400
+ priceModel?: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
401
401
  license?: string | undefined;
402
402
  }>>;
403
403
  relatedBooks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
404
404
  relatedKnowledge: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
405
405
  relatedObjectives: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
406
406
  }, "strip", z.ZodTypeAny, {
407
+ status: "archived" | "draft" | "live";
407
408
  description: string;
408
409
  summary: string;
409
- status: "archived" | "draft" | "live";
410
410
  title: string;
411
411
  audience: string[];
412
412
  slug: string;
@@ -444,7 +444,7 @@ export declare const templateProductContentSchema: z.ZodObject<{
444
444
  supportsReconcile: boolean;
445
445
  };
446
446
  offer: {
447
- priceModel: "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external";
447
+ priceModel: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract";
448
448
  support?: string | undefined;
449
449
  license?: string | undefined;
450
450
  };
@@ -454,9 +454,9 @@ export declare const templateProductContentSchema: z.ZodObject<{
454
454
  teamId?: string | undefined;
455
455
  sourceRef?: string | undefined;
456
456
  }, {
457
+ status: "archived" | "draft" | "live";
457
458
  description: string;
458
459
  summary: string;
459
- status: "archived" | "draft" | "live";
460
460
  title: string;
461
461
  slug: string;
462
462
  category: string;
@@ -497,7 +497,7 @@ export declare const templateProductContentSchema: z.ZodObject<{
497
497
  publisherVerified?: boolean | undefined;
498
498
  offer?: {
499
499
  support?: string | undefined;
500
- priceModel?: "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external" | undefined;
500
+ priceModel?: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
501
501
  license?: string | undefined;
502
502
  } | undefined;
503
503
  relatedBooks?: string[] | undefined;
@@ -648,11 +648,11 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
648
648
  maxLatencyMs: z.ZodOptional<z.ZodNumber>;
649
649
  }, "strip", z.ZodTypeAny, {
650
650
  id: string;
651
+ trigger: Record<string, unknown>;
651
652
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
652
653
  agent: string;
653
654
  contextQueryRefs: string[];
654
655
  groupIds: string[];
655
- trigger: Record<string, unknown>;
656
656
  expect: {
657
657
  semanticArtifacts?: {
658
658
  id: string;
@@ -694,6 +694,7 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
694
694
  id: string;
695
695
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
696
696
  agent: string;
697
+ trigger?: Record<string, unknown> | undefined;
697
698
  fixture?: string | undefined;
698
699
  budget?: {
699
700
  maxTokens: number;
@@ -701,7 +702,6 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
701
702
  } | undefined;
702
703
  contextQueryRefs?: string[] | undefined;
703
704
  groupIds?: string[] | undefined;
704
- trigger?: Record<string, unknown> | undefined;
705
705
  expect?: z.objectInputType<{
706
706
  semanticArtifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
707
707
  id: z.ZodString;
@@ -752,11 +752,11 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
752
752
  maxLatencyMs?: number | undefined;
753
753
  }>, {
754
754
  id: string;
755
+ trigger: Record<string, unknown>;
755
756
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
756
757
  agent: string;
757
758
  contextQueryRefs: string[];
758
759
  groupIds: string[];
759
- trigger: Record<string, unknown>;
760
760
  expect: {
761
761
  semanticArtifacts?: {
762
762
  id: string;
@@ -798,6 +798,7 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
798
798
  id: string;
799
799
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
800
800
  agent: string;
801
+ trigger?: Record<string, unknown> | undefined;
801
802
  fixture?: string | undefined;
802
803
  budget?: {
803
804
  maxTokens: number;
@@ -805,7 +806,6 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
805
806
  } | undefined;
806
807
  contextQueryRefs?: string[] | undefined;
807
808
  groupIds?: string[] | undefined;
808
- trigger?: Record<string, unknown> | undefined;
809
809
  expect?: z.objectInputType<{
810
810
  semanticArtifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
811
811
  id: z.ZodString;
@@ -1000,11 +1000,11 @@ export declare const auxiliaryContentSchemas: {
1000
1000
  maxLatencyMs: z.ZodOptional<z.ZodNumber>;
1001
1001
  }, "strip", z.ZodTypeAny, {
1002
1002
  id: string;
1003
+ trigger: Record<string, unknown>;
1003
1004
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1004
1005
  agent: string;
1005
1006
  contextQueryRefs: string[];
1006
1007
  groupIds: string[];
1007
- trigger: Record<string, unknown>;
1008
1008
  expect: {
1009
1009
  semanticArtifacts?: {
1010
1010
  id: string;
@@ -1046,6 +1046,7 @@ export declare const auxiliaryContentSchemas: {
1046
1046
  id: string;
1047
1047
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1048
1048
  agent: string;
1049
+ trigger?: Record<string, unknown> | undefined;
1049
1050
  fixture?: string | undefined;
1050
1051
  budget?: {
1051
1052
  maxTokens: number;
@@ -1053,7 +1054,6 @@ export declare const auxiliaryContentSchemas: {
1053
1054
  } | undefined;
1054
1055
  contextQueryRefs?: string[] | undefined;
1055
1056
  groupIds?: string[] | undefined;
1056
- trigger?: Record<string, unknown> | undefined;
1057
1057
  expect?: z.objectInputType<{
1058
1058
  semanticArtifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1059
1059
  id: z.ZodString;
@@ -1104,11 +1104,11 @@ export declare const auxiliaryContentSchemas: {
1104
1104
  maxLatencyMs?: number | undefined;
1105
1105
  }>, {
1106
1106
  id: string;
1107
+ trigger: Record<string, unknown>;
1107
1108
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1108
1109
  agent: string;
1109
1110
  contextQueryRefs: string[];
1110
1111
  groupIds: string[];
1111
- trigger: Record<string, unknown>;
1112
1112
  expect: {
1113
1113
  semanticArtifacts?: {
1114
1114
  id: string;
@@ -1150,6 +1150,7 @@ export declare const auxiliaryContentSchemas: {
1150
1150
  id: string;
1151
1151
  kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
1152
1152
  agent: string;
1153
+ trigger?: Record<string, unknown> | undefined;
1153
1154
  fixture?: string | undefined;
1154
1155
  budget?: {
1155
1156
  maxTokens: number;
@@ -1157,7 +1158,6 @@ export declare const auxiliaryContentSchemas: {
1157
1158
  } | undefined;
1158
1159
  contextQueryRefs?: string[] | undefined;
1159
1160
  groupIds?: string[] | undefined;
1160
- trigger?: Record<string, unknown> | undefined;
1161
1161
  expect?: z.objectInputType<{
1162
1162
  semanticArtifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1163
1163
  id: z.ZodString;
@@ -1282,12 +1282,12 @@ export declare const auxiliaryContentSchemas: {
1282
1282
  id: string;
1283
1283
  changedFiles: string[];
1284
1284
  type?: string | undefined;
1285
- completedAt?: Date | undefined;
1286
1285
  createdAt?: Date | undefined;
1286
+ state?: string | undefined;
1287
+ completedAt?: Date | undefined;
1287
1288
  priority?: number | undefined;
1288
1289
  startedAt?: Date | undefined;
1289
1290
  agentId?: string | undefined;
1290
- state?: string | undefined;
1291
1291
  idempotencyKey?: string | undefined;
1292
1292
  lastErrorCode?: string | null | undefined;
1293
1293
  lastErrorMessage?: string | null | undefined;
@@ -1296,12 +1296,12 @@ export declare const auxiliaryContentSchemas: {
1296
1296
  }, {
1297
1297
  id: string;
1298
1298
  type?: string | undefined;
1299
- completedAt?: Date | undefined;
1300
1299
  createdAt?: Date | undefined;
1300
+ state?: string | undefined;
1301
+ completedAt?: Date | undefined;
1301
1302
  priority?: number | undefined;
1302
1303
  startedAt?: Date | undefined;
1303
1304
  agentId?: string | undefined;
1304
- state?: string | undefined;
1305
1305
  idempotencyKey?: string | undefined;
1306
1306
  lastErrorCode?: string | null | undefined;
1307
1307
  lastErrorMessage?: string | null | undefined;
@@ -1345,15 +1345,15 @@ export declare const auxiliaryContentSchemas: {
1345
1345
  scaleResult: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1346
1346
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1347
1347
  }, "strip", z.ZodTypeAny, {
1348
- summary: string;
1349
1348
  status: string;
1349
+ visibility: "private" | "team" | "public" | "authenticated";
1350
+ summary: string;
1350
1351
  projectId: string;
1351
1352
  title: string;
1352
1353
  startedAt: Date;
1353
1354
  slug: string;
1354
1355
  metadata: Record<string, unknown>;
1355
1356
  environment: string;
1356
- visibility: "team" | "public" | "private" | "authenticated";
1357
1357
  changedFiles: string[];
1358
1358
  workDayId: string;
1359
1359
  reportVersion: string;
@@ -1384,12 +1384,12 @@ export declare const auxiliaryContentSchemas: {
1384
1384
  id: string;
1385
1385
  changedFiles: string[];
1386
1386
  type?: string | undefined;
1387
- completedAt?: Date | undefined;
1388
1387
  createdAt?: Date | undefined;
1388
+ state?: string | undefined;
1389
+ completedAt?: Date | undefined;
1389
1390
  priority?: number | undefined;
1390
1391
  startedAt?: Date | undefined;
1391
1392
  agentId?: string | undefined;
1392
- state?: string | undefined;
1393
1393
  idempotencyKey?: string | undefined;
1394
1394
  lastErrorCode?: string | null | undefined;
1395
1395
  lastErrorMessage?: string | null | undefined;
@@ -1409,8 +1409,8 @@ export declare const auxiliaryContentSchemas: {
1409
1409
  }[];
1410
1410
  scaleDecision: Record<string, unknown>;
1411
1411
  scaleResult: Record<string, unknown>;
1412
- teamId?: string | undefined;
1413
1412
  createdAt?: Date | undefined;
1413
+ teamId?: string | undefined;
1414
1414
  endedAt?: Date | null | undefined;
1415
1415
  prioritySnapshotId?: string | null | undefined;
1416
1416
  }, {
@@ -1425,10 +1425,10 @@ export declare const auxiliaryContentSchemas: {
1425
1425
  workdayState: string;
1426
1426
  generatedAt: Date;
1427
1427
  status?: string | undefined;
1428
- teamId?: string | undefined;
1428
+ visibility?: "private" | "team" | "public" | "authenticated" | undefined;
1429
1429
  createdAt?: Date | undefined;
1430
+ teamId?: string | undefined;
1430
1431
  metadata?: Record<string, unknown> | undefined;
1431
- visibility?: "team" | "public" | "private" | "authenticated" | undefined;
1432
1432
  changedFiles?: string[] | undefined;
1433
1433
  reportKind?: string | undefined;
1434
1434
  endedAt?: Date | null | undefined;
@@ -1456,12 +1456,12 @@ export declare const auxiliaryContentSchemas: {
1456
1456
  taskItems?: {
1457
1457
  id: string;
1458
1458
  type?: string | undefined;
1459
- completedAt?: Date | undefined;
1460
1459
  createdAt?: Date | undefined;
1460
+ state?: string | undefined;
1461
+ completedAt?: Date | undefined;
1461
1462
  priority?: number | undefined;
1462
1463
  startedAt?: Date | undefined;
1463
1464
  agentId?: string | undefined;
1464
- state?: string | undefined;
1465
1465
  idempotencyKey?: string | undefined;
1466
1466
  lastErrorCode?: string | null | undefined;
1467
1467
  lastErrorMessage?: string | null | undefined;
@@ -1600,21 +1600,21 @@ export declare const auxiliaryContentSchemas: {
1600
1600
  license: z.ZodOptional<z.ZodString>;
1601
1601
  support: z.ZodOptional<z.ZodString>;
1602
1602
  }, "strip", z.ZodTypeAny, {
1603
- priceModel: "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external";
1603
+ priceModel: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract";
1604
1604
  support?: string | undefined;
1605
1605
  license?: string | undefined;
1606
1606
  }, {
1607
1607
  support?: string | undefined;
1608
- priceModel?: "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external" | undefined;
1608
+ priceModel?: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
1609
1609
  license?: string | undefined;
1610
1610
  }>>;
1611
1611
  relatedBooks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1612
1612
  relatedKnowledge: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1613
1613
  relatedObjectives: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1614
1614
  }, "strip", z.ZodTypeAny, {
1615
+ status: "archived" | "draft" | "live";
1615
1616
  description: string;
1616
1617
  summary: string;
1617
- status: "archived" | "draft" | "live";
1618
1618
  title: string;
1619
1619
  audience: string[];
1620
1620
  slug: string;
@@ -1652,7 +1652,7 @@ export declare const auxiliaryContentSchemas: {
1652
1652
  supportsReconcile: boolean;
1653
1653
  };
1654
1654
  offer: {
1655
- priceModel: "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external";
1655
+ priceModel: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract";
1656
1656
  support?: string | undefined;
1657
1657
  license?: string | undefined;
1658
1658
  };
@@ -1662,9 +1662,9 @@ export declare const auxiliaryContentSchemas: {
1662
1662
  teamId?: string | undefined;
1663
1663
  sourceRef?: string | undefined;
1664
1664
  }, {
1665
+ status: "archived" | "draft" | "live";
1665
1666
  description: string;
1666
1667
  summary: string;
1667
- status: "archived" | "draft" | "live";
1668
1668
  title: string;
1669
1669
  slug: string;
1670
1670
  category: string;
@@ -1705,7 +1705,7 @@ export declare const auxiliaryContentSchemas: {
1705
1705
  publisherVerified?: boolean | undefined;
1706
1706
  offer?: {
1707
1707
  support?: string | undefined;
1708
- priceModel?: "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external" | undefined;
1708
+ priceModel?: "external" | "private" | "subscription" | "free" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | undefined;
1709
1709
  license?: string | undefined;
1710
1710
  } | undefined;
1711
1711
  relatedBooks?: string[] | undefined;