@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
package/dist/treedx/types.d.ts
CHANGED
|
@@ -61,53 +61,53 @@ export declare const treeDxWorkspaceReviewSchema: z.ZodObject<{
|
|
|
61
61
|
}, "strict", z.ZodTypeAny, {
|
|
62
62
|
id: string;
|
|
63
63
|
model: string;
|
|
64
|
-
store: "
|
|
64
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
65
65
|
path?: string | undefined;
|
|
66
66
|
anchor?: string | undefined;
|
|
67
|
+
url?: string | undefined;
|
|
67
68
|
commit?: string | undefined;
|
|
68
69
|
repository?: string | undefined;
|
|
69
70
|
revision?: number | undefined;
|
|
70
71
|
digest?: string | undefined;
|
|
71
|
-
url?: string | undefined;
|
|
72
72
|
startLine?: number | undefined;
|
|
73
73
|
endLine?: number | undefined;
|
|
74
74
|
}, {
|
|
75
75
|
id: string;
|
|
76
76
|
model: string;
|
|
77
|
-
store: "
|
|
77
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
78
78
|
path?: string | undefined;
|
|
79
79
|
anchor?: string | undefined;
|
|
80
|
+
url?: string | undefined;
|
|
80
81
|
commit?: string | undefined;
|
|
81
82
|
repository?: string | undefined;
|
|
82
83
|
revision?: number | undefined;
|
|
83
84
|
digest?: string | undefined;
|
|
84
|
-
url?: string | undefined;
|
|
85
85
|
startLine?: number | undefined;
|
|
86
86
|
endLine?: number | undefined;
|
|
87
87
|
}>, {
|
|
88
88
|
id: string;
|
|
89
89
|
model: string;
|
|
90
|
-
store: "
|
|
90
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
91
91
|
path?: string | undefined;
|
|
92
92
|
anchor?: string | undefined;
|
|
93
|
+
url?: string | undefined;
|
|
93
94
|
commit?: string | undefined;
|
|
94
95
|
repository?: string | undefined;
|
|
95
96
|
revision?: number | undefined;
|
|
96
97
|
digest?: string | undefined;
|
|
97
|
-
url?: string | undefined;
|
|
98
98
|
startLine?: number | undefined;
|
|
99
99
|
endLine?: number | undefined;
|
|
100
100
|
}, {
|
|
101
101
|
id: string;
|
|
102
102
|
model: string;
|
|
103
|
-
store: "
|
|
103
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
104
104
|
path?: string | undefined;
|
|
105
105
|
anchor?: string | undefined;
|
|
106
|
+
url?: string | undefined;
|
|
106
107
|
commit?: string | undefined;
|
|
107
108
|
repository?: string | undefined;
|
|
108
109
|
revision?: number | undefined;
|
|
109
110
|
digest?: string | undefined;
|
|
110
|
-
url?: string | undefined;
|
|
111
111
|
startLine?: number | undefined;
|
|
112
112
|
endLine?: number | undefined;
|
|
113
113
|
}>;
|
|
@@ -123,14 +123,14 @@ export declare const treeDxWorkspaceReviewSchema: z.ZodObject<{
|
|
|
123
123
|
decisionRef: {
|
|
124
124
|
id: string;
|
|
125
125
|
model: string;
|
|
126
|
-
store: "
|
|
126
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
127
127
|
path?: string | undefined;
|
|
128
128
|
anchor?: string | undefined;
|
|
129
|
+
url?: string | undefined;
|
|
129
130
|
commit?: string | undefined;
|
|
130
131
|
repository?: string | undefined;
|
|
131
132
|
revision?: number | undefined;
|
|
132
133
|
digest?: string | undefined;
|
|
133
|
-
url?: string | undefined;
|
|
134
134
|
startLine?: number | undefined;
|
|
135
135
|
endLine?: number | undefined;
|
|
136
136
|
};
|
|
@@ -144,14 +144,14 @@ export declare const treeDxWorkspaceReviewSchema: z.ZodObject<{
|
|
|
144
144
|
decisionRef: {
|
|
145
145
|
id: string;
|
|
146
146
|
model: string;
|
|
147
|
-
store: "
|
|
147
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
148
148
|
path?: string | undefined;
|
|
149
149
|
anchor?: string | undefined;
|
|
150
|
+
url?: string | undefined;
|
|
150
151
|
commit?: string | undefined;
|
|
151
152
|
repository?: string | undefined;
|
|
152
153
|
revision?: number | undefined;
|
|
153
154
|
digest?: string | undefined;
|
|
154
|
-
url?: string | undefined;
|
|
155
155
|
startLine?: number | undefined;
|
|
156
156
|
endLine?: number | undefined;
|
|
157
157
|
};
|
|
@@ -181,53 +181,53 @@ export declare const treeDxPublicationReceiptSchema: z.ZodObject<{
|
|
|
181
181
|
}, "strict", z.ZodTypeAny, {
|
|
182
182
|
id: string;
|
|
183
183
|
model: string;
|
|
184
|
-
store: "
|
|
184
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
185
185
|
path?: string | undefined;
|
|
186
186
|
anchor?: string | undefined;
|
|
187
|
+
url?: string | undefined;
|
|
187
188
|
commit?: string | undefined;
|
|
188
189
|
repository?: string | undefined;
|
|
189
190
|
revision?: number | undefined;
|
|
190
191
|
digest?: string | undefined;
|
|
191
|
-
url?: string | undefined;
|
|
192
192
|
startLine?: number | undefined;
|
|
193
193
|
endLine?: number | undefined;
|
|
194
194
|
}, {
|
|
195
195
|
id: string;
|
|
196
196
|
model: string;
|
|
197
|
-
store: "
|
|
197
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
198
198
|
path?: string | undefined;
|
|
199
199
|
anchor?: string | undefined;
|
|
200
|
+
url?: string | undefined;
|
|
200
201
|
commit?: string | undefined;
|
|
201
202
|
repository?: string | undefined;
|
|
202
203
|
revision?: number | undefined;
|
|
203
204
|
digest?: string | undefined;
|
|
204
|
-
url?: string | undefined;
|
|
205
205
|
startLine?: number | undefined;
|
|
206
206
|
endLine?: number | undefined;
|
|
207
207
|
}>, {
|
|
208
208
|
id: string;
|
|
209
209
|
model: string;
|
|
210
|
-
store: "
|
|
210
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
211
211
|
path?: string | undefined;
|
|
212
212
|
anchor?: string | undefined;
|
|
213
|
+
url?: string | undefined;
|
|
213
214
|
commit?: string | undefined;
|
|
214
215
|
repository?: string | undefined;
|
|
215
216
|
revision?: number | undefined;
|
|
216
217
|
digest?: string | undefined;
|
|
217
|
-
url?: string | undefined;
|
|
218
218
|
startLine?: number | undefined;
|
|
219
219
|
endLine?: number | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
id: string;
|
|
222
222
|
model: string;
|
|
223
|
-
store: "
|
|
223
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
224
224
|
path?: string | undefined;
|
|
225
225
|
anchor?: string | undefined;
|
|
226
|
+
url?: string | undefined;
|
|
226
227
|
commit?: string | undefined;
|
|
227
228
|
repository?: string | undefined;
|
|
228
229
|
revision?: number | undefined;
|
|
229
230
|
digest?: string | undefined;
|
|
230
|
-
url?: string | undefined;
|
|
231
231
|
startLine?: number | undefined;
|
|
232
232
|
endLine?: number | undefined;
|
|
233
233
|
}>;
|
|
@@ -240,14 +240,14 @@ export declare const treeDxPublicationReceiptSchema: z.ZodObject<{
|
|
|
240
240
|
decisionRef: {
|
|
241
241
|
id: string;
|
|
242
242
|
model: string;
|
|
243
|
-
store: "
|
|
243
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
244
244
|
path?: string | undefined;
|
|
245
245
|
anchor?: string | undefined;
|
|
246
|
+
url?: string | undefined;
|
|
246
247
|
commit?: string | undefined;
|
|
247
248
|
repository?: string | undefined;
|
|
248
249
|
revision?: number | undefined;
|
|
249
250
|
digest?: string | undefined;
|
|
250
|
-
url?: string | undefined;
|
|
251
251
|
startLine?: number | undefined;
|
|
252
252
|
endLine?: number | undefined;
|
|
253
253
|
};
|
|
@@ -264,14 +264,14 @@ export declare const treeDxPublicationReceiptSchema: z.ZodObject<{
|
|
|
264
264
|
decisionRef: {
|
|
265
265
|
id: string;
|
|
266
266
|
model: string;
|
|
267
|
-
store: "
|
|
267
|
+
store: "url" | "treedx" | "git" | "postgresql";
|
|
268
268
|
path?: string | undefined;
|
|
269
269
|
anchor?: string | undefined;
|
|
270
|
+
url?: string | undefined;
|
|
270
271
|
commit?: string | undefined;
|
|
271
272
|
repository?: string | undefined;
|
|
272
273
|
revision?: number | undefined;
|
|
273
274
|
digest?: string | undefined;
|
|
274
|
-
url?: string | undefined;
|
|
275
275
|
startLine?: number | undefined;
|
|
276
276
|
endLine?: number | undefined;
|
|
277
277
|
};
|
|
@@ -705,7 +705,7 @@ verifiers:
|
|
|
705
705
|
kind: vitestCase
|
|
706
706
|
ownerPackage: "@treeseed/sdk"
|
|
707
707
|
testFile: tests/unit/operator-contracts/workday-lifecycle.test.ts
|
|
708
|
-
testName: "preserves omitted decisions and independent planning proposal
|
|
708
|
+
testName: "preserves omitted decisions and independent planning proposal group and allocation controls"
|
|
709
709
|
sdk.golden.architecture-intent-unit-4:
|
|
710
710
|
kind: vitestCase
|
|
711
711
|
ownerPackage: "@treeseed/sdk"
|
package/package.json
CHANGED
|
@@ -87,7 +87,7 @@ export async function verifySdkIntentRuntime(root:string){
|
|
|
87
87
|
await normalization.start();
|
|
88
88
|
const client=new sdk.ControlPlaneClient({profile:{serverId:'local',label:'Local',baseUrl:'http://127.0.0.1:'+address.port}});
|
|
89
89
|
const base={schemaVersion:'treeseed.workday-intent/v1',teamId:'team',profileId:'default',projects:['sdk'],startsAt:'2030-01-01T00:00:00Z',durationSeconds:600,
|
|
90
|
-
proposalIds:['proposal-original'],
|
|
90
|
+
proposalIds:['proposal-original'],groupIds:['ui-snapshot-admin-chart'],agentSelection:{activityTypes:['planning']},allocation:{planningPercent:20,allocationWeight:2}};
|
|
91
91
|
const ordered=['A','Z','a','a-1','a.1','a/1','a:1'];
|
|
92
92
|
const capture=async(expectation:string,action:()=>Promise<void>)=>{checks++;currentExpectation=expectation;try{await action();}catch(error){failures.push({expectation,observed:String(error)});}};
|
|
93
93
|
const observe=async(nested:boolean,intent:Record<string,unknown>,expected:Record<string,unknown>|null)=>{
|