@treeseed/sdk 0.13.0-rc.123 → 0.13.0-rc.125
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/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +400 -400
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +5 -9
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +12 -12
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +112 -112
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +6 -0
- package/dist/agent-capacity/validation/agent-definition-schema.js +1 -0
- package/dist/content/validation/agent-operational-content-schemas.d.ts +24 -24
- package/dist/content/validation/auxiliary-content-schemas.d.ts +8 -8
- package/dist/content/validation/content-model-schemas.d.ts +990 -968
- package/dist/content/validation/content-model-schemas.js +1 -0
- package/dist/content/validation/portable-content-data.d.ts +54 -52
- package/dist/content/validation/schema-constraints.d.ts +2 -0
- package/dist/content/validation/schema-constraints.js +24 -3
- package/dist/deployment/schemas.d.ts +96 -96
- package/dist/operator-contracts/canonical-command-tree.js +2 -1
- package/dist/operator-contracts/catalog/admin-account-team-operations.js +1 -1
- package/dist/operator-contracts/catalog/inbox-operations.js +1 -1
- package/dist/operator-contracts/catalog/knowledge-share-operations.js +3 -3
- package/dist/operator-contracts/catalog/workdays/profile-operations.js +1 -1
- package/dist/operator-contracts/catalog/workdays/selection-commands.js +4 -6
- package/dist/operator-contracts/control-plane-operation.js +2 -1
- package/dist/operator-contracts/control-plane-operations.js +50 -50
- package/dist/operator-contracts/operation-builder.js +1 -1
- package/dist/operator-contracts/workday-lifecycle.d.ts +10 -12
- package/dist/operator-contracts/workday-lifecycle.js +8 -13
- package/dist/treedx/types.d.ts +24 -24
- package/dist/types/agents/agent-activity-profile.d.ts +1 -0
- package/guarantees/verifiers/golden.verifiers.yaml +1 -1
- package/package.json +1 -1
- package/tests/acceptance/product/intent-runtime.ts +1 -1
|
@@ -1174,6 +1174,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1174
1174
|
id: z.ZodString;
|
|
1175
1175
|
name: z.ZodString;
|
|
1176
1176
|
agentClass: z.ZodString;
|
|
1177
|
+
groupIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1177
1178
|
purpose: z.ZodString;
|
|
1178
1179
|
responsibilities: z.ZodArray<z.ZodString, "many">;
|
|
1179
1180
|
capabilities: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -2367,6 +2368,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2367
2368
|
parameters?: Record<string, unknown> | undefined;
|
|
2368
2369
|
} | undefined;
|
|
2369
2370
|
};
|
|
2371
|
+
groupIds?: string[] | undefined;
|
|
2370
2372
|
}, {
|
|
2371
2373
|
id: string;
|
|
2372
2374
|
name: string;
|
|
@@ -2500,6 +2502,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2500
2502
|
parameters?: Record<string, unknown> | undefined;
|
|
2501
2503
|
} | undefined;
|
|
2502
2504
|
};
|
|
2505
|
+
groupIds?: string[] | undefined;
|
|
2503
2506
|
}>, {
|
|
2504
2507
|
id: string;
|
|
2505
2508
|
name: string;
|
|
@@ -2633,6 +2636,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2633
2636
|
parameters?: Record<string, unknown> | undefined;
|
|
2634
2637
|
} | undefined;
|
|
2635
2638
|
};
|
|
2639
|
+
groupIds?: string[] | undefined;
|
|
2636
2640
|
}, {
|
|
2637
2641
|
id: string;
|
|
2638
2642
|
name: string;
|
|
@@ -2766,6 +2770,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2766
2770
|
parameters?: Record<string, unknown> | undefined;
|
|
2767
2771
|
} | undefined;
|
|
2768
2772
|
};
|
|
2773
|
+
groupIds?: string[] | undefined;
|
|
2769
2774
|
}>;
|
|
2770
2775
|
export declare function diagnosticsFromZod(error: ZodError, prefix?: string): {
|
|
2771
2776
|
code: string;
|
|
@@ -2908,6 +2913,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
2908
2913
|
parameters?: Record<string, unknown> | undefined;
|
|
2909
2914
|
} | undefined;
|
|
2910
2915
|
};
|
|
2916
|
+
groupIds?: string[] | undefined;
|
|
2911
2917
|
};
|
|
2912
2918
|
} | {
|
|
2913
2919
|
ok: boolean;
|
|
@@ -41,6 +41,7 @@ const agentDefinitionSchema = conditionalFields(z.object({
|
|
|
41
41
|
id: identifier,
|
|
42
42
|
name: nonEmpty,
|
|
43
43
|
agentClass: agentClassSchema,
|
|
44
|
+
groupIds: unique(identifier).optional(),
|
|
44
45
|
purpose: nonEmpty,
|
|
45
46
|
responsibilities: z.array(nonEmpty).min(1),
|
|
46
47
|
capabilities: uniqueArray(z.array(identifier).min(1, "At least one capability is required.")),
|
|
@@ -82,14 +82,14 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
82
82
|
filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83
83
|
}, "strict", z.ZodTypeAny, {
|
|
84
84
|
id: string;
|
|
85
|
-
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
86
|
-
title: string;
|
|
87
|
-
description: string;
|
|
88
85
|
target: {
|
|
89
86
|
kind: "code" | "content" | "mixed" | "graph";
|
|
90
87
|
models?: string[] | undefined;
|
|
91
88
|
paths?: string[] | undefined;
|
|
92
89
|
};
|
|
90
|
+
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
91
|
+
title: string;
|
|
92
|
+
description: string;
|
|
93
93
|
query: string;
|
|
94
94
|
revision: number;
|
|
95
95
|
purpose: string;
|
|
@@ -125,13 +125,13 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
125
125
|
maximumBudget?: number | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
id: string;
|
|
128
|
-
title: string;
|
|
129
|
-
description: string;
|
|
130
128
|
target: {
|
|
131
129
|
kind: "code" | "content" | "mixed" | "graph";
|
|
132
130
|
models?: string[] | undefined;
|
|
133
131
|
paths?: string[] | undefined;
|
|
134
132
|
};
|
|
133
|
+
title: string;
|
|
134
|
+
description: string;
|
|
135
135
|
query: string;
|
|
136
136
|
revision: number;
|
|
137
137
|
purpose: string;
|
|
@@ -168,14 +168,14 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
168
168
|
filters?: Record<string, unknown> | undefined;
|
|
169
169
|
}>, {
|
|
170
170
|
id: string;
|
|
171
|
-
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
172
|
-
title: string;
|
|
173
|
-
description: string;
|
|
174
171
|
target: {
|
|
175
172
|
kind: "code" | "content" | "mixed" | "graph";
|
|
176
173
|
models?: string[] | undefined;
|
|
177
174
|
paths?: string[] | undefined;
|
|
178
175
|
};
|
|
176
|
+
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
177
|
+
title: string;
|
|
178
|
+
description: string;
|
|
179
179
|
query: string;
|
|
180
180
|
revision: number;
|
|
181
181
|
purpose: string;
|
|
@@ -211,13 +211,13 @@ export declare const agentContextQueryContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
211
211
|
maximumBudget?: number | undefined;
|
|
212
212
|
}, {
|
|
213
213
|
id: string;
|
|
214
|
-
title: string;
|
|
215
|
-
description: string;
|
|
216
214
|
target: {
|
|
217
215
|
kind: "code" | "content" | "mixed" | "graph";
|
|
218
216
|
models?: string[] | undefined;
|
|
219
217
|
paths?: string[] | undefined;
|
|
220
218
|
};
|
|
219
|
+
title: string;
|
|
220
|
+
description: string;
|
|
221
221
|
query: string;
|
|
222
222
|
revision: number;
|
|
223
223
|
purpose: string;
|
|
@@ -334,15 +334,15 @@ export declare const discussionTopicContentSchema: z.ZodObject<{
|
|
|
334
334
|
id: string;
|
|
335
335
|
title: string;
|
|
336
336
|
description: string;
|
|
337
|
-
slug: string;
|
|
338
337
|
groupIds: string[];
|
|
338
|
+
slug: string;
|
|
339
339
|
parentTopicId?: string | undefined;
|
|
340
340
|
}, {
|
|
341
341
|
id: string;
|
|
342
342
|
title: string;
|
|
343
343
|
description: string;
|
|
344
|
-
slug: string;
|
|
345
344
|
groupIds: string[];
|
|
345
|
+
slug: string;
|
|
346
346
|
status?: "active" | "archived" | undefined;
|
|
347
347
|
parentTopicId?: string | undefined;
|
|
348
348
|
}>;
|
|
@@ -579,14 +579,14 @@ export declare const agentOperationalContentSchemas: {
|
|
|
579
579
|
filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
580
580
|
}, "strict", z.ZodTypeAny, {
|
|
581
581
|
id: string;
|
|
582
|
-
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
583
|
-
title: string;
|
|
584
|
-
description: string;
|
|
585
582
|
target: {
|
|
586
583
|
kind: "code" | "content" | "mixed" | "graph";
|
|
587
584
|
models?: string[] | undefined;
|
|
588
585
|
paths?: string[] | undefined;
|
|
589
586
|
};
|
|
587
|
+
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
588
|
+
title: string;
|
|
589
|
+
description: string;
|
|
590
590
|
query: string;
|
|
591
591
|
revision: number;
|
|
592
592
|
purpose: string;
|
|
@@ -622,13 +622,13 @@ export declare const agentOperationalContentSchemas: {
|
|
|
622
622
|
maximumBudget?: number | undefined;
|
|
623
623
|
}, {
|
|
624
624
|
id: string;
|
|
625
|
-
title: string;
|
|
626
|
-
description: string;
|
|
627
625
|
target: {
|
|
628
626
|
kind: "code" | "content" | "mixed" | "graph";
|
|
629
627
|
models?: string[] | undefined;
|
|
630
628
|
paths?: string[] | undefined;
|
|
631
629
|
};
|
|
630
|
+
title: string;
|
|
631
|
+
description: string;
|
|
632
632
|
query: string;
|
|
633
633
|
revision: number;
|
|
634
634
|
purpose: string;
|
|
@@ -665,14 +665,14 @@ export declare const agentOperationalContentSchemas: {
|
|
|
665
665
|
filters?: Record<string, unknown> | undefined;
|
|
666
666
|
}>, {
|
|
667
667
|
id: string;
|
|
668
|
-
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
669
|
-
title: string;
|
|
670
|
-
description: string;
|
|
671
668
|
target: {
|
|
672
669
|
kind: "code" | "content" | "mixed" | "graph";
|
|
673
670
|
models?: string[] | undefined;
|
|
674
671
|
paths?: string[] | undefined;
|
|
675
672
|
};
|
|
673
|
+
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
674
|
+
title: string;
|
|
675
|
+
description: string;
|
|
676
676
|
query: string;
|
|
677
677
|
revision: number;
|
|
678
678
|
purpose: string;
|
|
@@ -708,13 +708,13 @@ export declare const agentOperationalContentSchemas: {
|
|
|
708
708
|
maximumBudget?: number | undefined;
|
|
709
709
|
}, {
|
|
710
710
|
id: string;
|
|
711
|
-
title: string;
|
|
712
|
-
description: string;
|
|
713
711
|
target: {
|
|
714
712
|
kind: "code" | "content" | "mixed" | "graph";
|
|
715
713
|
models?: string[] | undefined;
|
|
716
714
|
paths?: string[] | undefined;
|
|
717
715
|
};
|
|
716
|
+
title: string;
|
|
717
|
+
description: string;
|
|
718
718
|
query: string;
|
|
719
719
|
revision: number;
|
|
720
720
|
purpose: string;
|
|
@@ -831,15 +831,15 @@ export declare const agentOperationalContentSchemas: {
|
|
|
831
831
|
id: string;
|
|
832
832
|
title: string;
|
|
833
833
|
description: string;
|
|
834
|
-
slug: string;
|
|
835
834
|
groupIds: string[];
|
|
835
|
+
slug: string;
|
|
836
836
|
parentTopicId?: string | undefined;
|
|
837
837
|
}, {
|
|
838
838
|
id: string;
|
|
839
839
|
title: string;
|
|
840
840
|
description: string;
|
|
841
|
-
slug: string;
|
|
842
841
|
groupIds: string[];
|
|
842
|
+
slug: string;
|
|
843
843
|
status?: "active" | "archived" | undefined;
|
|
844
844
|
parentTopicId?: string | undefined;
|
|
845
845
|
}>;
|
|
@@ -408,6 +408,7 @@ export declare const templateProductContentSchema: z.ZodObject<{
|
|
|
408
408
|
audience: string[];
|
|
409
409
|
title: string;
|
|
410
410
|
description: string;
|
|
411
|
+
groupIds: string[];
|
|
411
412
|
summary: string;
|
|
412
413
|
slug: string;
|
|
413
414
|
offer: {
|
|
@@ -418,7 +419,6 @@ export declare const templateProductContentSchema: z.ZodObject<{
|
|
|
418
419
|
featured: boolean;
|
|
419
420
|
listingEnabled: boolean;
|
|
420
421
|
category: string;
|
|
421
|
-
groupIds: string[];
|
|
422
422
|
publisher: {
|
|
423
423
|
id: string;
|
|
424
424
|
name: string;
|
|
@@ -489,6 +489,7 @@ export declare const templateProductContentSchema: z.ZodObject<{
|
|
|
489
489
|
supportsReconcile?: boolean | undefined;
|
|
490
490
|
};
|
|
491
491
|
audience?: string[] | undefined;
|
|
492
|
+
groupIds?: string[] | undefined;
|
|
492
493
|
teamId?: string | undefined;
|
|
493
494
|
offer?: {
|
|
494
495
|
priceModel?: "subscription" | "free" | "private" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external" | undefined;
|
|
@@ -498,7 +499,6 @@ export declare const templateProductContentSchema: z.ZodObject<{
|
|
|
498
499
|
sourceRef?: string | undefined;
|
|
499
500
|
featured?: boolean | undefined;
|
|
500
501
|
listingEnabled?: boolean | undefined;
|
|
501
|
-
groupIds?: string[] | undefined;
|
|
502
502
|
publisherVerified?: boolean | undefined;
|
|
503
503
|
relatedBooks?: string[] | undefined;
|
|
504
504
|
relatedKnowledge?: string[] | undefined;
|
|
@@ -694,12 +694,12 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
694
694
|
kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
|
|
695
695
|
agent: string;
|
|
696
696
|
id: string;
|
|
697
|
+
groupIds?: string[] | undefined;
|
|
697
698
|
budget?: {
|
|
698
699
|
maxTokens: number;
|
|
699
700
|
maxContextItems: number;
|
|
700
701
|
} | undefined;
|
|
701
702
|
fixture?: string | undefined;
|
|
702
|
-
groupIds?: string[] | undefined;
|
|
703
703
|
trigger?: Record<string, unknown> | undefined;
|
|
704
704
|
expect?: z.objectInputType<{
|
|
705
705
|
semanticArtifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -798,12 +798,12 @@ export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
798
798
|
kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
|
|
799
799
|
agent: string;
|
|
800
800
|
id: string;
|
|
801
|
+
groupIds?: string[] | undefined;
|
|
801
802
|
budget?: {
|
|
802
803
|
maxTokens: number;
|
|
803
804
|
maxContextItems: number;
|
|
804
805
|
} | undefined;
|
|
805
806
|
fixture?: string | undefined;
|
|
806
|
-
groupIds?: string[] | undefined;
|
|
807
807
|
trigger?: Record<string, unknown> | undefined;
|
|
808
808
|
expect?: z.objectInputType<{
|
|
809
809
|
semanticArtifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1046,12 +1046,12 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1046
1046
|
kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
|
|
1047
1047
|
agent: string;
|
|
1048
1048
|
id: string;
|
|
1049
|
+
groupIds?: string[] | undefined;
|
|
1049
1050
|
budget?: {
|
|
1050
1051
|
maxTokens: number;
|
|
1051
1052
|
maxContextItems: number;
|
|
1052
1053
|
} | undefined;
|
|
1053
1054
|
fixture?: string | undefined;
|
|
1054
|
-
groupIds?: string[] | undefined;
|
|
1055
1055
|
trigger?: Record<string, unknown> | undefined;
|
|
1056
1056
|
expect?: z.objectInputType<{
|
|
1057
1057
|
semanticArtifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1150,12 +1150,12 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1150
1150
|
kind: "workday" | "handler" | "spec" | "message_chain" | "manager_worker" | "api" | "ui" | "context-query" | "context-query-set";
|
|
1151
1151
|
agent: string;
|
|
1152
1152
|
id: string;
|
|
1153
|
+
groupIds?: string[] | undefined;
|
|
1153
1154
|
budget?: {
|
|
1154
1155
|
maxTokens: number;
|
|
1155
1156
|
maxContextItems: number;
|
|
1156
1157
|
} | undefined;
|
|
1157
1158
|
fixture?: string | undefined;
|
|
1158
|
-
groupIds?: string[] | undefined;
|
|
1159
1159
|
trigger?: Record<string, unknown> | undefined;
|
|
1160
1160
|
expect?: z.objectInputType<{
|
|
1161
1161
|
semanticArtifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1616,6 +1616,7 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1616
1616
|
audience: string[];
|
|
1617
1617
|
title: string;
|
|
1618
1618
|
description: string;
|
|
1619
|
+
groupIds: string[];
|
|
1619
1620
|
summary: string;
|
|
1620
1621
|
slug: string;
|
|
1621
1622
|
offer: {
|
|
@@ -1626,7 +1627,6 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1626
1627
|
featured: boolean;
|
|
1627
1628
|
listingEnabled: boolean;
|
|
1628
1629
|
category: string;
|
|
1629
|
-
groupIds: string[];
|
|
1630
1630
|
publisher: {
|
|
1631
1631
|
id: string;
|
|
1632
1632
|
name: string;
|
|
@@ -1697,6 +1697,7 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1697
1697
|
supportsReconcile?: boolean | undefined;
|
|
1698
1698
|
};
|
|
1699
1699
|
audience?: string[] | undefined;
|
|
1700
|
+
groupIds?: string[] | undefined;
|
|
1700
1701
|
teamId?: string | undefined;
|
|
1701
1702
|
offer?: {
|
|
1702
1703
|
priceModel?: "subscription" | "free" | "private" | "contact" | "one_time" | "one_time_current_version" | "subscription_updates" | "professional_hosting" | "scoped_contract" | "external" | undefined;
|
|
@@ -1706,7 +1707,6 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1706
1707
|
sourceRef?: string | undefined;
|
|
1707
1708
|
featured?: boolean | undefined;
|
|
1708
1709
|
listingEnabled?: boolean | undefined;
|
|
1709
|
-
groupIds?: string[] | undefined;
|
|
1710
1710
|
publisherVerified?: boolean | undefined;
|
|
1711
1711
|
relatedBooks?: string[] | undefined;
|
|
1712
1712
|
relatedKnowledge?: string[] | undefined;
|