@adea-ai/contracts 1.13.0 → 1.14.0

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.
@@ -0,0 +1,1243 @@
1
+ import { z } from 'zod';
2
+ /** Only system and the envelope workspace are visible through this API. */
3
+ export declare const WorkspaceCatalogOwnershipSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ scope: z.ZodLiteral<"system">;
5
+ }, z.core.$strict>, z.ZodObject<{
6
+ scope: z.ZodLiteral<"workspace">;
7
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
8
+ }, z.core.$strict>], "scope">;
9
+ export declare const WorkspaceCatalogLifecycleSchema: z.ZodEnum<{
10
+ deprecated: "deprecated";
11
+ draft: "draft";
12
+ published: "published";
13
+ revoked: "revoked";
14
+ superseded: "superseded";
15
+ }>;
16
+ export declare const WorkspaceSkillRecordSchema: z.ZodObject<{
17
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
18
+ displayName: z.ZodString;
19
+ ownership: z.ZodDiscriminatedUnion<[z.ZodObject<{
20
+ scope: z.ZodLiteral<"system">;
21
+ }, z.core.$strict>, z.ZodObject<{
22
+ scope: z.ZodLiteral<"workspace">;
23
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
24
+ }, z.core.$strict>], "scope">;
25
+ readOnly: z.ZodBoolean;
26
+ createdAt: z.ZodISODateTime;
27
+ }, z.core.$strict>;
28
+ export declare const WorkspaceSkillVersionSummarySchema: z.ZodObject<{
29
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
30
+ skillVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>;
31
+ semanticVersion: z.ZodString;
32
+ revision: z.ZodNumber;
33
+ lifecycle: z.ZodEnum<{
34
+ deprecated: "deprecated";
35
+ draft: "draft";
36
+ published: "published";
37
+ revoked: "revoked";
38
+ superseded: "superseded";
39
+ }>;
40
+ contentDigest: z.ZodString;
41
+ createdAt: z.ZodISODateTime;
42
+ lifecycleMetadata: z.ZodObject<{
43
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
44
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
45
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
46
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
47
+ reason: z.ZodOptional<z.ZodString>;
48
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
49
+ }, z.core.$strict>;
50
+ }, z.core.$strict>;
51
+ export declare const WorkspaceSkillVersionSchema: z.ZodObject<{
52
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
53
+ skillVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>;
54
+ semanticVersion: z.ZodString;
55
+ revision: z.ZodNumber;
56
+ lifecycle: z.ZodEnum<{
57
+ deprecated: "deprecated";
58
+ draft: "draft";
59
+ published: "published";
60
+ revoked: "revoked";
61
+ superseded: "superseded";
62
+ }>;
63
+ contentDigest: z.ZodString;
64
+ createdAt: z.ZodISODateTime;
65
+ lifecycleMetadata: z.ZodObject<{
66
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
67
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
68
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
69
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
70
+ reason: z.ZodOptional<z.ZodString>;
71
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
72
+ }, z.core.$strict>;
73
+ manifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
74
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
75
+ }, z.core.$strict>;
76
+ export declare const WorkspaceAgentProfileRecordSchema: z.ZodObject<{
77
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
78
+ displayName: z.ZodString;
79
+ ownership: z.ZodDiscriminatedUnion<[z.ZodObject<{
80
+ scope: z.ZodLiteral<"system">;
81
+ }, z.core.$strict>, z.ZodObject<{
82
+ scope: z.ZodLiteral<"workspace">;
83
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
84
+ }, z.core.$strict>], "scope">;
85
+ readOnly: z.ZodBoolean;
86
+ createdAt: z.ZodISODateTime;
87
+ }, z.core.$strict>;
88
+ export declare const WorkspaceAgentProfileVersionSummarySchema: z.ZodObject<{
89
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
90
+ profileVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>;
91
+ version: z.ZodNumber;
92
+ revision: z.ZodNumber;
93
+ schemaVersion: z.ZodNumber;
94
+ lifecycle: z.ZodEnum<{
95
+ deprecated: "deprecated";
96
+ draft: "draft";
97
+ published: "published";
98
+ revoked: "revoked";
99
+ superseded: "superseded";
100
+ }>;
101
+ contentDigest: z.ZodString;
102
+ createdAt: z.ZodISODateTime;
103
+ lifecycleMetadata: z.ZodObject<{
104
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
105
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
106
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
107
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
108
+ reason: z.ZodOptional<z.ZodString>;
109
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>>;
110
+ }, z.core.$strict>;
111
+ }, z.core.$strict>;
112
+ export declare const WorkspaceAgentProfileVersionSchema: z.ZodObject<{
113
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
114
+ profileVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>;
115
+ version: z.ZodNumber;
116
+ revision: z.ZodNumber;
117
+ schemaVersion: z.ZodNumber;
118
+ lifecycle: z.ZodEnum<{
119
+ deprecated: "deprecated";
120
+ draft: "draft";
121
+ published: "published";
122
+ revoked: "revoked";
123
+ superseded: "superseded";
124
+ }>;
125
+ contentDigest: z.ZodString;
126
+ createdAt: z.ZodISODateTime;
127
+ lifecycleMetadata: z.ZodObject<{
128
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
129
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
130
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
131
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
132
+ reason: z.ZodOptional<z.ZodString>;
133
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>>;
134
+ }, z.core.$strict>;
135
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
136
+ }, z.core.$strict>;
137
+ export declare const WorkspaceSkillListRequestSchema: z.ZodObject<{
138
+ caller: z.ZodObject<{
139
+ servicePrincipalId: z.ZodString;
140
+ }, z.core.$strip>;
141
+ contractVersion: z.ZodObject<{
142
+ major: z.ZodNumber;
143
+ minor: z.ZodNumber;
144
+ }, z.core.$strict>;
145
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
146
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
147
+ correlation: z.ZodObject<{
148
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
149
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
150
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
151
+ }, z.core.$strip>;
152
+ requestedAt: z.ZodISODateTime;
153
+ operation: z.ZodLiteral<"catalog.skill.list">;
154
+ parameters: z.ZodObject<{
155
+ cursor: z.ZodOptional<z.ZodString>;
156
+ limit: z.ZodOptional<z.ZodNumber>;
157
+ }, z.core.$strict>;
158
+ }, z.core.$strict>;
159
+ export declare const WorkspaceSkillListResponseSchema: z.ZodObject<{
160
+ contractVersion: z.ZodObject<{
161
+ major: z.ZodNumber;
162
+ minor: z.ZodNumber;
163
+ }, z.core.$strict>;
164
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
165
+ correlation: z.ZodObject<{
166
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
167
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
168
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
169
+ }, z.core.$strip>;
170
+ data: z.ZodObject<{
171
+ items: z.ZodArray<z.ZodObject<{
172
+ skill: z.ZodObject<{
173
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
174
+ displayName: z.ZodString;
175
+ ownership: z.ZodDiscriminatedUnion<[z.ZodObject<{
176
+ scope: z.ZodLiteral<"system">;
177
+ }, z.core.$strict>, z.ZodObject<{
178
+ scope: z.ZodLiteral<"workspace">;
179
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
180
+ }, z.core.$strict>], "scope">;
181
+ readOnly: z.ZodBoolean;
182
+ createdAt: z.ZodISODateTime;
183
+ }, z.core.$strict>;
184
+ latestVersion: z.ZodOptional<z.ZodObject<{
185
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
186
+ skillVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>;
187
+ semanticVersion: z.ZodString;
188
+ revision: z.ZodNumber;
189
+ lifecycle: z.ZodEnum<{
190
+ deprecated: "deprecated";
191
+ draft: "draft";
192
+ published: "published";
193
+ revoked: "revoked";
194
+ superseded: "superseded";
195
+ }>;
196
+ contentDigest: z.ZodString;
197
+ createdAt: z.ZodISODateTime;
198
+ lifecycleMetadata: z.ZodObject<{
199
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
200
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
201
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
202
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
203
+ reason: z.ZodOptional<z.ZodString>;
204
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
205
+ }, z.core.$strict>;
206
+ }, z.core.$strict>>;
207
+ }, z.core.$strict>>;
208
+ page: z.ZodObject<{
209
+ nextCursor: z.ZodOptional<z.ZodString>;
210
+ }, z.core.$strict>;
211
+ }, z.core.$strict>;
212
+ }, z.core.$strip>;
213
+ export declare const WorkspaceSkillGetRequestSchema: z.ZodObject<{
214
+ caller: z.ZodObject<{
215
+ servicePrincipalId: z.ZodString;
216
+ }, z.core.$strip>;
217
+ contractVersion: z.ZodObject<{
218
+ major: z.ZodNumber;
219
+ minor: z.ZodNumber;
220
+ }, z.core.$strict>;
221
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
222
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
223
+ correlation: z.ZodObject<{
224
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
225
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
226
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
227
+ }, z.core.$strip>;
228
+ requestedAt: z.ZodISODateTime;
229
+ operation: z.ZodLiteral<"catalog.skill.get">;
230
+ parameters: z.ZodObject<{
231
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
232
+ skillVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
233
+ }, z.core.$strict>;
234
+ }, z.core.$strict>;
235
+ export declare const WorkspaceSkillGetResponseSchema: z.ZodObject<{
236
+ contractVersion: z.ZodObject<{
237
+ major: z.ZodNumber;
238
+ minor: z.ZodNumber;
239
+ }, z.core.$strict>;
240
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
241
+ correlation: z.ZodObject<{
242
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
243
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
244
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
245
+ }, z.core.$strip>;
246
+ data: z.ZodObject<{
247
+ skill: z.ZodObject<{
248
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
249
+ displayName: z.ZodString;
250
+ ownership: z.ZodDiscriminatedUnion<[z.ZodObject<{
251
+ scope: z.ZodLiteral<"system">;
252
+ }, z.core.$strict>, z.ZodObject<{
253
+ scope: z.ZodLiteral<"workspace">;
254
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
255
+ }, z.core.$strict>], "scope">;
256
+ readOnly: z.ZodBoolean;
257
+ createdAt: z.ZodISODateTime;
258
+ }, z.core.$strict>;
259
+ versions: z.ZodArray<z.ZodObject<{
260
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
261
+ skillVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>;
262
+ semanticVersion: z.ZodString;
263
+ revision: z.ZodNumber;
264
+ lifecycle: z.ZodEnum<{
265
+ deprecated: "deprecated";
266
+ draft: "draft";
267
+ published: "published";
268
+ revoked: "revoked";
269
+ superseded: "superseded";
270
+ }>;
271
+ contentDigest: z.ZodString;
272
+ createdAt: z.ZodISODateTime;
273
+ lifecycleMetadata: z.ZodObject<{
274
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
275
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
276
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
277
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
278
+ reason: z.ZodOptional<z.ZodString>;
279
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
280
+ }, z.core.$strict>;
281
+ }, z.core.$strict>>;
282
+ version: z.ZodOptional<z.ZodObject<{
283
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
284
+ skillVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>;
285
+ semanticVersion: z.ZodString;
286
+ revision: z.ZodNumber;
287
+ lifecycle: z.ZodEnum<{
288
+ deprecated: "deprecated";
289
+ draft: "draft";
290
+ published: "published";
291
+ revoked: "revoked";
292
+ superseded: "superseded";
293
+ }>;
294
+ contentDigest: z.ZodString;
295
+ createdAt: z.ZodISODateTime;
296
+ lifecycleMetadata: z.ZodObject<{
297
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
298
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
299
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
300
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
301
+ reason: z.ZodOptional<z.ZodString>;
302
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
303
+ }, z.core.$strict>;
304
+ manifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
305
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
306
+ }, z.core.$strict>>;
307
+ }, z.core.$strict>;
308
+ }, z.core.$strip>;
309
+ export declare const WorkspaceSkillPublishRequestSchema: z.ZodObject<{
310
+ caller: z.ZodObject<{
311
+ servicePrincipalId: z.ZodString;
312
+ }, z.core.$strip>;
313
+ contractVersion: z.ZodObject<{
314
+ major: z.ZodNumber;
315
+ minor: z.ZodNumber;
316
+ }, z.core.$strict>;
317
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
318
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
319
+ correlation: z.ZodObject<{
320
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
321
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
322
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
323
+ }, z.core.$strip>;
324
+ commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
325
+ idempotencyKey: z.ZodString;
326
+ payloadHash: z.ZodString;
327
+ issuedAt: z.ZodISODateTime;
328
+ operation: z.ZodLiteral<"catalog.skill.publish">;
329
+ payload: z.ZodObject<{
330
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
331
+ skillVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>;
332
+ displayName: z.ZodOptional<z.ZodString>;
333
+ manifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
334
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
335
+ }, z.core.$strict>;
336
+ }, z.core.$strict>;
337
+ export declare const WorkspaceSkillPublishResponseSchema: z.ZodObject<{
338
+ contractVersion: z.ZodObject<{
339
+ major: z.ZodNumber;
340
+ minor: z.ZodNumber;
341
+ }, z.core.$strict>;
342
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
343
+ correlation: z.ZodObject<{
344
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
345
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
346
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
347
+ }, z.core.$strip>;
348
+ data: z.ZodObject<{
349
+ skill: z.ZodObject<{
350
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
351
+ displayName: z.ZodString;
352
+ ownership: z.ZodDiscriminatedUnion<[z.ZodObject<{
353
+ scope: z.ZodLiteral<"system">;
354
+ }, z.core.$strict>, z.ZodObject<{
355
+ scope: z.ZodLiteral<"workspace">;
356
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
357
+ }, z.core.$strict>], "scope">;
358
+ readOnly: z.ZodBoolean;
359
+ createdAt: z.ZodISODateTime;
360
+ }, z.core.$strict>;
361
+ version: z.ZodObject<{
362
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
363
+ skillVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>;
364
+ semanticVersion: z.ZodString;
365
+ revision: z.ZodNumber;
366
+ lifecycle: z.ZodEnum<{
367
+ deprecated: "deprecated";
368
+ draft: "draft";
369
+ published: "published";
370
+ revoked: "revoked";
371
+ superseded: "superseded";
372
+ }>;
373
+ contentDigest: z.ZodString;
374
+ createdAt: z.ZodISODateTime;
375
+ lifecycleMetadata: z.ZodObject<{
376
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
377
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
378
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
379
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
380
+ reason: z.ZodOptional<z.ZodString>;
381
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
382
+ }, z.core.$strict>;
383
+ manifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
384
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
385
+ }, z.core.$strict>;
386
+ }, z.core.$strict>;
387
+ }, z.core.$strip>;
388
+ export declare const WorkspaceSkillDeprecationRequestSchema: z.ZodObject<{
389
+ caller: z.ZodObject<{
390
+ servicePrincipalId: z.ZodString;
391
+ }, z.core.$strip>;
392
+ contractVersion: z.ZodObject<{
393
+ major: z.ZodNumber;
394
+ minor: z.ZodNumber;
395
+ }, z.core.$strict>;
396
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
397
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
398
+ correlation: z.ZodObject<{
399
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
400
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
401
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
402
+ }, z.core.$strip>;
403
+ commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
404
+ idempotencyKey: z.ZodString;
405
+ payloadHash: z.ZodString;
406
+ issuedAt: z.ZodISODateTime;
407
+ operation: z.ZodLiteral<"catalog.skill.deprecate">;
408
+ payload: z.ZodUnion<readonly [z.ZodObject<{
409
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
410
+ skillVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>;
411
+ expectedRevision: z.ZodNumber;
412
+ reason: z.ZodString;
413
+ }, z.core.$strict>, z.ZodObject<{
414
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
415
+ reason: z.ZodString;
416
+ }, z.core.$strict>]>;
417
+ }, z.core.$strict>;
418
+ export declare const WorkspaceSkillRevocationRequestSchema: z.ZodObject<{
419
+ caller: z.ZodObject<{
420
+ servicePrincipalId: z.ZodString;
421
+ }, z.core.$strip>;
422
+ contractVersion: z.ZodObject<{
423
+ major: z.ZodNumber;
424
+ minor: z.ZodNumber;
425
+ }, z.core.$strict>;
426
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
427
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
428
+ correlation: z.ZodObject<{
429
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
430
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
431
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
432
+ }, z.core.$strip>;
433
+ commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
434
+ idempotencyKey: z.ZodString;
435
+ payloadHash: z.ZodString;
436
+ issuedAt: z.ZodISODateTime;
437
+ operation: z.ZodLiteral<"catalog.skill.revoke">;
438
+ payload: z.ZodUnion<readonly [z.ZodObject<{
439
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
440
+ skillVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>;
441
+ expectedRevision: z.ZodNumber;
442
+ reason: z.ZodString;
443
+ }, z.core.$strict>, z.ZodObject<{
444
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
445
+ reason: z.ZodString;
446
+ }, z.core.$strict>]>;
447
+ }, z.core.$strict>;
448
+ export declare const WorkspaceSkillLifecycleResponseSchema: z.ZodObject<{
449
+ contractVersion: z.ZodObject<{
450
+ major: z.ZodNumber;
451
+ minor: z.ZodNumber;
452
+ }, z.core.$strict>;
453
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
454
+ correlation: z.ZodObject<{
455
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
456
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
457
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
458
+ }, z.core.$strip>;
459
+ data: z.ZodObject<{
460
+ skill: z.ZodObject<{
461
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
462
+ displayName: z.ZodString;
463
+ ownership: z.ZodDiscriminatedUnion<[z.ZodObject<{
464
+ scope: z.ZodLiteral<"system">;
465
+ }, z.core.$strict>, z.ZodObject<{
466
+ scope: z.ZodLiteral<"workspace">;
467
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
468
+ }, z.core.$strict>], "scope">;
469
+ readOnly: z.ZodBoolean;
470
+ createdAt: z.ZodISODateTime;
471
+ }, z.core.$strict>;
472
+ changed: z.ZodArray<z.ZodObject<{
473
+ skillId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"Skill ID">, string>>;
474
+ skillVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>;
475
+ semanticVersion: z.ZodString;
476
+ revision: z.ZodNumber;
477
+ lifecycle: z.ZodEnum<{
478
+ deprecated: "deprecated";
479
+ draft: "draft";
480
+ published: "published";
481
+ revoked: "revoked";
482
+ superseded: "superseded";
483
+ }>;
484
+ contentDigest: z.ZodString;
485
+ createdAt: z.ZodISODateTime;
486
+ lifecycleMetadata: z.ZodObject<{
487
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
488
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
489
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
490
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
491
+ reason: z.ZodOptional<z.ZodString>;
492
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"skill-version ID">, string>>>;
493
+ }, z.core.$strict>;
494
+ }, z.core.$strict>>;
495
+ }, z.core.$strict>;
496
+ }, z.core.$strip>;
497
+ export declare const WorkspaceAgentProfileListRequestSchema: z.ZodObject<{
498
+ caller: z.ZodObject<{
499
+ servicePrincipalId: z.ZodString;
500
+ }, z.core.$strip>;
501
+ contractVersion: z.ZodObject<{
502
+ major: z.ZodNumber;
503
+ minor: z.ZodNumber;
504
+ }, z.core.$strict>;
505
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
506
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
507
+ correlation: z.ZodObject<{
508
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
509
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
510
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
511
+ }, z.core.$strip>;
512
+ requestedAt: z.ZodISODateTime;
513
+ operation: z.ZodLiteral<"catalog.profile.list">;
514
+ parameters: z.ZodObject<{
515
+ cursor: z.ZodOptional<z.ZodString>;
516
+ limit: z.ZodOptional<z.ZodNumber>;
517
+ }, z.core.$strict>;
518
+ }, z.core.$strict>;
519
+ export declare const WorkspaceAgentProfileListResponseSchema: z.ZodObject<{
520
+ contractVersion: z.ZodObject<{
521
+ major: z.ZodNumber;
522
+ minor: z.ZodNumber;
523
+ }, z.core.$strict>;
524
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
525
+ correlation: z.ZodObject<{
526
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
527
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
528
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
529
+ }, z.core.$strip>;
530
+ data: z.ZodObject<{
531
+ items: z.ZodArray<z.ZodObject<{
532
+ profile: z.ZodObject<{
533
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
534
+ displayName: z.ZodString;
535
+ ownership: z.ZodDiscriminatedUnion<[z.ZodObject<{
536
+ scope: z.ZodLiteral<"system">;
537
+ }, z.core.$strict>, z.ZodObject<{
538
+ scope: z.ZodLiteral<"workspace">;
539
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
540
+ }, z.core.$strict>], "scope">;
541
+ readOnly: z.ZodBoolean;
542
+ createdAt: z.ZodISODateTime;
543
+ }, z.core.$strict>;
544
+ latestVersion: z.ZodOptional<z.ZodObject<{
545
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
546
+ profileVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>;
547
+ version: z.ZodNumber;
548
+ revision: z.ZodNumber;
549
+ schemaVersion: z.ZodNumber;
550
+ lifecycle: z.ZodEnum<{
551
+ deprecated: "deprecated";
552
+ draft: "draft";
553
+ published: "published";
554
+ revoked: "revoked";
555
+ superseded: "superseded";
556
+ }>;
557
+ contentDigest: z.ZodString;
558
+ createdAt: z.ZodISODateTime;
559
+ lifecycleMetadata: z.ZodObject<{
560
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
561
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
562
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
563
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
564
+ reason: z.ZodOptional<z.ZodString>;
565
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>>;
566
+ }, z.core.$strict>;
567
+ }, z.core.$strict>>;
568
+ }, z.core.$strict>>;
569
+ page: z.ZodObject<{
570
+ nextCursor: z.ZodOptional<z.ZodString>;
571
+ }, z.core.$strict>;
572
+ }, z.core.$strict>;
573
+ }, z.core.$strip>;
574
+ export declare const WorkspaceAgentProfileGetRequestSchema: z.ZodObject<{
575
+ caller: z.ZodObject<{
576
+ servicePrincipalId: z.ZodString;
577
+ }, z.core.$strip>;
578
+ contractVersion: z.ZodObject<{
579
+ major: z.ZodNumber;
580
+ minor: z.ZodNumber;
581
+ }, z.core.$strict>;
582
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
583
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
584
+ correlation: z.ZodObject<{
585
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
586
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
587
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
588
+ }, z.core.$strip>;
589
+ requestedAt: z.ZodISODateTime;
590
+ operation: z.ZodLiteral<"catalog.profile.get">;
591
+ parameters: z.ZodObject<{
592
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
593
+ profileVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>>;
594
+ }, z.core.$strict>;
595
+ }, z.core.$strict>;
596
+ export declare const WorkspaceAgentProfileGetResponseSchema: z.ZodObject<{
597
+ contractVersion: z.ZodObject<{
598
+ major: z.ZodNumber;
599
+ minor: z.ZodNumber;
600
+ }, z.core.$strict>;
601
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
602
+ correlation: z.ZodObject<{
603
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
604
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
605
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
606
+ }, z.core.$strip>;
607
+ data: z.ZodObject<{
608
+ profile: z.ZodObject<{
609
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
610
+ displayName: z.ZodString;
611
+ ownership: z.ZodDiscriminatedUnion<[z.ZodObject<{
612
+ scope: z.ZodLiteral<"system">;
613
+ }, z.core.$strict>, z.ZodObject<{
614
+ scope: z.ZodLiteral<"workspace">;
615
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
616
+ }, z.core.$strict>], "scope">;
617
+ readOnly: z.ZodBoolean;
618
+ createdAt: z.ZodISODateTime;
619
+ }, z.core.$strict>;
620
+ versions: z.ZodArray<z.ZodObject<{
621
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
622
+ profileVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>;
623
+ version: z.ZodNumber;
624
+ revision: z.ZodNumber;
625
+ schemaVersion: z.ZodNumber;
626
+ lifecycle: z.ZodEnum<{
627
+ deprecated: "deprecated";
628
+ draft: "draft";
629
+ published: "published";
630
+ revoked: "revoked";
631
+ superseded: "superseded";
632
+ }>;
633
+ contentDigest: z.ZodString;
634
+ createdAt: z.ZodISODateTime;
635
+ lifecycleMetadata: z.ZodObject<{
636
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
637
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
638
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
639
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
640
+ reason: z.ZodOptional<z.ZodString>;
641
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>>;
642
+ }, z.core.$strict>;
643
+ }, z.core.$strict>>;
644
+ version: z.ZodOptional<z.ZodObject<{
645
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
646
+ profileVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>;
647
+ version: z.ZodNumber;
648
+ revision: z.ZodNumber;
649
+ schemaVersion: z.ZodNumber;
650
+ lifecycle: z.ZodEnum<{
651
+ deprecated: "deprecated";
652
+ draft: "draft";
653
+ published: "published";
654
+ revoked: "revoked";
655
+ superseded: "superseded";
656
+ }>;
657
+ contentDigest: z.ZodString;
658
+ createdAt: z.ZodISODateTime;
659
+ lifecycleMetadata: z.ZodObject<{
660
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
661
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
662
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
663
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
664
+ reason: z.ZodOptional<z.ZodString>;
665
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>>;
666
+ }, z.core.$strict>;
667
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
668
+ }, z.core.$strict>>;
669
+ }, z.core.$strict>;
670
+ }, z.core.$strip>;
671
+ export declare const WorkspaceAgentProfilePublishRequestSchema: z.ZodObject<{
672
+ caller: z.ZodObject<{
673
+ servicePrincipalId: z.ZodString;
674
+ }, z.core.$strip>;
675
+ contractVersion: z.ZodObject<{
676
+ major: z.ZodNumber;
677
+ minor: z.ZodNumber;
678
+ }, z.core.$strict>;
679
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
680
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
681
+ correlation: z.ZodObject<{
682
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
683
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
684
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
685
+ }, z.core.$strip>;
686
+ commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
687
+ idempotencyKey: z.ZodString;
688
+ payloadHash: z.ZodString;
689
+ issuedAt: z.ZodISODateTime;
690
+ operation: z.ZodLiteral<"catalog.profile.publish">;
691
+ payload: z.ZodObject<{
692
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
693
+ profileVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>;
694
+ displayName: z.ZodOptional<z.ZodString>;
695
+ version: z.ZodNumber;
696
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
697
+ }, z.core.$strict>;
698
+ }, z.core.$strict>;
699
+ export declare const WorkspaceAgentProfilePublishResponseSchema: z.ZodObject<{
700
+ contractVersion: z.ZodObject<{
701
+ major: z.ZodNumber;
702
+ minor: z.ZodNumber;
703
+ }, z.core.$strict>;
704
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
705
+ correlation: z.ZodObject<{
706
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
707
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
708
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
709
+ }, z.core.$strip>;
710
+ data: z.ZodObject<{
711
+ profile: z.ZodObject<{
712
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
713
+ displayName: z.ZodString;
714
+ ownership: z.ZodDiscriminatedUnion<[z.ZodObject<{
715
+ scope: z.ZodLiteral<"system">;
716
+ }, z.core.$strict>, z.ZodObject<{
717
+ scope: z.ZodLiteral<"workspace">;
718
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
719
+ }, z.core.$strict>], "scope">;
720
+ readOnly: z.ZodBoolean;
721
+ createdAt: z.ZodISODateTime;
722
+ }, z.core.$strict>;
723
+ version: z.ZodObject<{
724
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
725
+ profileVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>;
726
+ version: z.ZodNumber;
727
+ revision: z.ZodNumber;
728
+ schemaVersion: z.ZodNumber;
729
+ lifecycle: z.ZodEnum<{
730
+ deprecated: "deprecated";
731
+ draft: "draft";
732
+ published: "published";
733
+ revoked: "revoked";
734
+ superseded: "superseded";
735
+ }>;
736
+ contentDigest: z.ZodString;
737
+ createdAt: z.ZodISODateTime;
738
+ lifecycleMetadata: z.ZodObject<{
739
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
740
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
741
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
742
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
743
+ reason: z.ZodOptional<z.ZodString>;
744
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>>;
745
+ }, z.core.$strict>;
746
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
747
+ }, z.core.$strict>;
748
+ }, z.core.$strict>;
749
+ }, z.core.$strip>;
750
+ export declare const WorkspaceAgentProfileDeprecationRequestSchema: z.ZodObject<{
751
+ caller: z.ZodObject<{
752
+ servicePrincipalId: z.ZodString;
753
+ }, z.core.$strip>;
754
+ contractVersion: z.ZodObject<{
755
+ major: z.ZodNumber;
756
+ minor: z.ZodNumber;
757
+ }, z.core.$strict>;
758
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
759
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
760
+ correlation: z.ZodObject<{
761
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
762
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
763
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
764
+ }, z.core.$strip>;
765
+ commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
766
+ idempotencyKey: z.ZodString;
767
+ payloadHash: z.ZodString;
768
+ issuedAt: z.ZodISODateTime;
769
+ operation: z.ZodLiteral<"catalog.profile.deprecate">;
770
+ payload: z.ZodUnion<readonly [z.ZodObject<{
771
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
772
+ profileVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>;
773
+ expectedRevision: z.ZodNumber;
774
+ reason: z.ZodString;
775
+ }, z.core.$strict>, z.ZodObject<{
776
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
777
+ reason: z.ZodString;
778
+ }, z.core.$strict>]>;
779
+ }, z.core.$strict>;
780
+ export declare const WorkspaceAgentProfileRevocationRequestSchema: z.ZodObject<{
781
+ caller: z.ZodObject<{
782
+ servicePrincipalId: z.ZodString;
783
+ }, z.core.$strip>;
784
+ contractVersion: z.ZodObject<{
785
+ major: z.ZodNumber;
786
+ minor: z.ZodNumber;
787
+ }, z.core.$strict>;
788
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
789
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
790
+ correlation: z.ZodObject<{
791
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
792
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
793
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
794
+ }, z.core.$strip>;
795
+ commandId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>;
796
+ idempotencyKey: z.ZodString;
797
+ payloadHash: z.ZodString;
798
+ issuedAt: z.ZodISODateTime;
799
+ operation: z.ZodLiteral<"catalog.profile.revoke">;
800
+ payload: z.ZodUnion<readonly [z.ZodObject<{
801
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
802
+ profileVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>;
803
+ expectedRevision: z.ZodNumber;
804
+ reason: z.ZodString;
805
+ }, z.core.$strict>, z.ZodObject<{
806
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
807
+ reason: z.ZodString;
808
+ }, z.core.$strict>]>;
809
+ }, z.core.$strict>;
810
+ export declare const WorkspaceAgentProfileLifecycleResponseSchema: z.ZodObject<{
811
+ contractVersion: z.ZodObject<{
812
+ major: z.ZodNumber;
813
+ minor: z.ZodNumber;
814
+ }, z.core.$strict>;
815
+ requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
816
+ correlation: z.ZodObject<{
817
+ traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
818
+ causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
819
+ parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
820
+ }, z.core.$strip>;
821
+ data: z.ZodObject<{
822
+ profile: z.ZodObject<{
823
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
824
+ displayName: z.ZodString;
825
+ ownership: z.ZodDiscriminatedUnion<[z.ZodObject<{
826
+ scope: z.ZodLiteral<"system">;
827
+ }, z.core.$strict>, z.ZodObject<{
828
+ scope: z.ZodLiteral<"workspace">;
829
+ workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
830
+ }, z.core.$strict>], "scope">;
831
+ readOnly: z.ZodBoolean;
832
+ createdAt: z.ZodISODateTime;
833
+ }, z.core.$strict>;
834
+ changed: z.ZodArray<z.ZodObject<{
835
+ profileId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile ID">, string>>;
836
+ profileVersionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>;
837
+ version: z.ZodNumber;
838
+ revision: z.ZodNumber;
839
+ schemaVersion: z.ZodNumber;
840
+ lifecycle: z.ZodEnum<{
841
+ deprecated: "deprecated";
842
+ draft: "draft";
843
+ published: "published";
844
+ revoked: "revoked";
845
+ superseded: "superseded";
846
+ }>;
847
+ contentDigest: z.ZodString;
848
+ createdAt: z.ZodISODateTime;
849
+ lifecycleMetadata: z.ZodObject<{
850
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
851
+ deprecatedAt: z.ZodOptional<z.ZodISODateTime>;
852
+ revokedAt: z.ZodOptional<z.ZodISODateTime>;
853
+ supersededAt: z.ZodOptional<z.ZodISODateTime>;
854
+ reason: z.ZodOptional<z.ZodString>;
855
+ supersededByVersionId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"profile-version ID">, string>>>;
856
+ }, z.core.$strict>;
857
+ }, z.core.$strict>>;
858
+ }, z.core.$strict>;
859
+ }, z.core.$strip>;
860
+ export type WorkspaceCatalogOwnership = z.output<typeof WorkspaceCatalogOwnershipSchema>;
861
+ export type WorkspaceSkillRecord = z.output<typeof WorkspaceSkillRecordSchema>;
862
+ export type WorkspaceSkillVersionSummary = z.output<typeof WorkspaceSkillVersionSummarySchema>;
863
+ export type WorkspaceSkillVersion = z.output<typeof WorkspaceSkillVersionSchema>;
864
+ export type WorkspaceAgentProfileRecord = z.output<typeof WorkspaceAgentProfileRecordSchema>;
865
+ export type WorkspaceAgentProfileVersionSummary = z.output<typeof WorkspaceAgentProfileVersionSummarySchema>;
866
+ export type WorkspaceAgentProfileVersion = z.output<typeof WorkspaceAgentProfileVersionSchema>;
867
+ export type WorkspaceSkillListRequest = z.input<typeof WorkspaceSkillListRequestSchema>;
868
+ export type WorkspaceSkillListResponse = z.output<typeof WorkspaceSkillListResponseSchema>;
869
+ export type WorkspaceSkillGetRequest = z.input<typeof WorkspaceSkillGetRequestSchema>;
870
+ export type WorkspaceSkillGetResponse = z.output<typeof WorkspaceSkillGetResponseSchema>;
871
+ export type WorkspaceSkillPublishRequest = z.input<typeof WorkspaceSkillPublishRequestSchema>;
872
+ export type WorkspaceSkillPublishResponse = z.output<typeof WorkspaceSkillPublishResponseSchema>;
873
+ export type WorkspaceSkillDeprecationRequest = z.input<typeof WorkspaceSkillDeprecationRequestSchema>;
874
+ export type WorkspaceSkillRevocationRequest = z.input<typeof WorkspaceSkillRevocationRequestSchema>;
875
+ export type WorkspaceSkillLifecycleResponse = z.output<typeof WorkspaceSkillLifecycleResponseSchema>;
876
+ export type WorkspaceAgentProfileListRequest = z.input<typeof WorkspaceAgentProfileListRequestSchema>;
877
+ export type WorkspaceAgentProfileListResponse = z.output<typeof WorkspaceAgentProfileListResponseSchema>;
878
+ export type WorkspaceAgentProfileGetRequest = z.input<typeof WorkspaceAgentProfileGetRequestSchema>;
879
+ export type WorkspaceAgentProfileGetResponse = z.output<typeof WorkspaceAgentProfileGetResponseSchema>;
880
+ export type WorkspaceAgentProfilePublishRequest = z.input<typeof WorkspaceAgentProfilePublishRequestSchema>;
881
+ export type WorkspaceAgentProfilePublishResponse = z.output<typeof WorkspaceAgentProfilePublishResponseSchema>;
882
+ export type WorkspaceAgentProfileDeprecationRequest = z.input<typeof WorkspaceAgentProfileDeprecationRequestSchema>;
883
+ export type WorkspaceAgentProfileRevocationRequest = z.input<typeof WorkspaceAgentProfileRevocationRequestSchema>;
884
+ export type WorkspaceAgentProfileLifecycleResponse = z.output<typeof WorkspaceAgentProfileLifecycleResponseSchema>;
885
+ /** Scopes required by the workspace catalog routes; credentials are deny-by-default. */
886
+ export declare const WorkspaceCatalogScopes: Readonly<{
887
+ readonly read: 'catalog:read';
888
+ readonly publish: 'catalog:publish';
889
+ readonly manage: 'catalog:manage';
890
+ }>;
891
+ /** Deterministic provider/consumer fixtures; executable content is illustrative only. */
892
+ export declare const WorkspaceCatalogFixtures: Readonly<{
893
+ skillList: {
894
+ request: {
895
+ caller: {
896
+ readonly servicePrincipalId: 'svc_agent-hq';
897
+ };
898
+ contractVersion: {
899
+ readonly major: 3;
900
+ readonly minor: 0;
901
+ };
902
+ requestId: 'req_01JABCDEF0123456789ABCDEFG';
903
+ workspaceId: 'wsp_01JABCDEF0123456789ABCDEFG';
904
+ correlation: {
905
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
906
+ };
907
+ operation: "catalog.skill.list";
908
+ requestedAt: string;
909
+ parameters: {
910
+ limit: number;
911
+ };
912
+ };
913
+ response: {
914
+ contractVersion: {
915
+ readonly major: 3;
916
+ readonly minor: 0;
917
+ };
918
+ requestId: "req_01JABCDEF0123456789ABCDEFG";
919
+ correlation: {
920
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
921
+ };
922
+ data: {
923
+ items: {
924
+ skill: {
925
+ readonly skillId: 'skl_01JABCDEF0123456789ABCDEFG';
926
+ readonly displayName: 'Release notes';
927
+ readonly ownership: {
928
+ readonly scope: 'workspace';
929
+ readonly workspaceId: "wsp_01JABCDEF0123456789ABCDEFG";
930
+ };
931
+ readonly readOnly: false;
932
+ readonly createdAt: '2026-10-06T12:00:00.000Z';
933
+ };
934
+ latestVersion: {
935
+ readonly skillId: "skl_01JABCDEF0123456789ABCDEFG";
936
+ readonly skillVersionId: 'skv_01JABCDEF0123456789ABCDEFG';
937
+ readonly semanticVersion: '1.0.0';
938
+ readonly revision: 2;
939
+ readonly lifecycle: 'published';
940
+ readonly contentDigest: `sha256:${string}`;
941
+ readonly createdAt: '2026-10-06T12:00:00.000Z';
942
+ readonly lifecycleMetadata: {
943
+ readonly publishedAt: '2026-10-06T12:00:00.000Z';
944
+ };
945
+ };
946
+ }[];
947
+ page: {};
948
+ };
949
+ };
950
+ };
951
+ skillGet: {
952
+ request: {
953
+ caller: {
954
+ readonly servicePrincipalId: 'svc_agent-hq';
955
+ };
956
+ contractVersion: {
957
+ readonly major: 3;
958
+ readonly minor: 0;
959
+ };
960
+ requestId: 'req_01JABCDEF0123456789ABCDEFG';
961
+ workspaceId: 'wsp_01JABCDEF0123456789ABCDEFG';
962
+ correlation: {
963
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
964
+ };
965
+ operation: "catalog.skill.get";
966
+ requestedAt: string;
967
+ parameters: {
968
+ skillId: "skl_01JABCDEF0123456789ABCDEFG";
969
+ };
970
+ };
971
+ response: {
972
+ contractVersion: {
973
+ readonly major: 3;
974
+ readonly minor: 0;
975
+ };
976
+ requestId: "req_01JABCDEF0123456789ABCDEFG";
977
+ correlation: {
978
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
979
+ };
980
+ data: {
981
+ skill: {
982
+ readonly skillId: 'skl_01JABCDEF0123456789ABCDEFG';
983
+ readonly displayName: 'Release notes';
984
+ readonly ownership: {
985
+ readonly scope: 'workspace';
986
+ readonly workspaceId: "wsp_01JABCDEF0123456789ABCDEFG";
987
+ };
988
+ readonly readOnly: false;
989
+ readonly createdAt: '2026-10-06T12:00:00.000Z';
990
+ };
991
+ versions: {
992
+ readonly skillId: "skl_01JABCDEF0123456789ABCDEFG";
993
+ readonly skillVersionId: 'skv_01JABCDEF0123456789ABCDEFG';
994
+ readonly semanticVersion: '1.0.0';
995
+ readonly revision: 2;
996
+ readonly lifecycle: 'published';
997
+ readonly contentDigest: `sha256:${string}`;
998
+ readonly createdAt: '2026-10-06T12:00:00.000Z';
999
+ readonly lifecycleMetadata: {
1000
+ readonly publishedAt: '2026-10-06T12:00:00.000Z';
1001
+ };
1002
+ }[];
1003
+ version: {
1004
+ skillId: "skl_01JABCDEF0123456789ABCDEFG";
1005
+ skillVersionId: 'skv_01JABCDEF0123456789ABCDEFG';
1006
+ semanticVersion: '1.0.0';
1007
+ revision: 2;
1008
+ lifecycle: 'published';
1009
+ contentDigest: `sha256:${string}`;
1010
+ createdAt: '2026-10-06T12:00:00.000Z';
1011
+ lifecycleMetadata: {
1012
+ readonly publishedAt: '2026-10-06T12:00:00.000Z';
1013
+ };
1014
+ manifest: {
1015
+ schemaVersion: number;
1016
+ semanticVersion: string;
1017
+ requiredCapabilities: never[];
1018
+ requiredTools: never[];
1019
+ dependencies: never[];
1020
+ conflicts: never[];
1021
+ supersedes: never[];
1022
+ compatibleProfileSchemaVersions: number[];
1023
+ compatibleContractMajorVersions: number[];
1024
+ contentDigest: `sha256:${string}`;
1025
+ };
1026
+ content: {
1027
+ instructions: string;
1028
+ artifactRefs: never[];
1029
+ };
1030
+ };
1031
+ };
1032
+ };
1033
+ };
1034
+ skillPublish: {
1035
+ request: {
1036
+ caller: {
1037
+ readonly servicePrincipalId: 'svc_agent-hq';
1038
+ };
1039
+ contractVersion: {
1040
+ readonly major: 3;
1041
+ readonly minor: 0;
1042
+ };
1043
+ requestId: 'req_01JABCDEF0123456789ABCDEFG';
1044
+ workspaceId: 'wsp_01JABCDEF0123456789ABCDEFG';
1045
+ correlation: {
1046
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
1047
+ };
1048
+ commandId: 'cmd_01JABCDEF0123456789ABCDEFG';
1049
+ payloadHash: string;
1050
+ issuedAt: '2026-10-06T12:00:00.000Z';
1051
+ idempotencyKey: string;
1052
+ operation: "catalog.skill.publish";
1053
+ payload: {
1054
+ skillId: "skl_01JABCDEF0123456789ABCDEFG";
1055
+ skillVersionId: "skv_01JABCDEF0123456789ABCDEFG";
1056
+ displayName: "Release notes";
1057
+ manifest: {
1058
+ schemaVersion: number;
1059
+ semanticVersion: string;
1060
+ requiredCapabilities: never[];
1061
+ requiredTools: never[];
1062
+ dependencies: never[];
1063
+ conflicts: never[];
1064
+ supersedes: never[];
1065
+ compatibleProfileSchemaVersions: number[];
1066
+ compatibleContractMajorVersions: number[];
1067
+ };
1068
+ content: {
1069
+ instructions: string;
1070
+ artifactRefs: never[];
1071
+ };
1072
+ };
1073
+ };
1074
+ };
1075
+ skillDeprecation: {
1076
+ request: {
1077
+ caller: {
1078
+ readonly servicePrincipalId: 'svc_agent-hq';
1079
+ };
1080
+ contractVersion: {
1081
+ readonly major: 3;
1082
+ readonly minor: 0;
1083
+ };
1084
+ requestId: 'req_01JABCDEF0123456789ABCDEFG';
1085
+ workspaceId: 'wsp_01JABCDEF0123456789ABCDEFG';
1086
+ correlation: {
1087
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
1088
+ };
1089
+ commandId: 'cmd_01JABCDEF0123456789ABCDEFG';
1090
+ payloadHash: string;
1091
+ issuedAt: '2026-10-06T12:00:00.000Z';
1092
+ idempotencyKey: string;
1093
+ operation: "catalog.skill.deprecate";
1094
+ payload: {
1095
+ skillId: "skl_01JABCDEF0123456789ABCDEFG";
1096
+ skillVersionId: "skv_01JABCDEF0123456789ABCDEFG";
1097
+ expectedRevision: number;
1098
+ reason: string;
1099
+ };
1100
+ };
1101
+ response: {
1102
+ contractVersion: {
1103
+ readonly major: 3;
1104
+ readonly minor: 0;
1105
+ };
1106
+ requestId: "req_01JABCDEF0123456789ABCDEFG";
1107
+ correlation: {
1108
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
1109
+ };
1110
+ data: {
1111
+ skill: {
1112
+ readonly skillId: 'skl_01JABCDEF0123456789ABCDEFG';
1113
+ readonly displayName: 'Release notes';
1114
+ readonly ownership: {
1115
+ readonly scope: 'workspace';
1116
+ readonly workspaceId: "wsp_01JABCDEF0123456789ABCDEFG";
1117
+ };
1118
+ readonly readOnly: false;
1119
+ readonly createdAt: '2026-10-06T12:00:00.000Z';
1120
+ };
1121
+ changed: {
1122
+ skillId: "skl_01JABCDEF0123456789ABCDEFG";
1123
+ skillVersionId: 'skv_01JABCDEF0123456789ABCDEFG';
1124
+ semanticVersion: '1.0.0';
1125
+ contentDigest: `sha256:${string}`;
1126
+ createdAt: '2026-10-06T12:00:00.000Z';
1127
+ revision: number;
1128
+ lifecycle: "deprecated";
1129
+ lifecycleMetadata: {
1130
+ publishedAt: string;
1131
+ deprecatedAt: string;
1132
+ reason: string;
1133
+ };
1134
+ }[];
1135
+ };
1136
+ };
1137
+ };
1138
+ profileList: {
1139
+ request: {
1140
+ caller: {
1141
+ readonly servicePrincipalId: 'svc_agent-hq';
1142
+ };
1143
+ contractVersion: {
1144
+ readonly major: 3;
1145
+ readonly minor: 0;
1146
+ };
1147
+ requestId: 'req_01JABCDEF0123456789ABCDEFG';
1148
+ workspaceId: 'wsp_01JABCDEF0123456789ABCDEFG';
1149
+ correlation: {
1150
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
1151
+ };
1152
+ operation: "catalog.profile.list";
1153
+ requestedAt: string;
1154
+ parameters: {};
1155
+ };
1156
+ response: {
1157
+ contractVersion: {
1158
+ readonly major: 3;
1159
+ readonly minor: 0;
1160
+ };
1161
+ requestId: "req_01JABCDEF0123456789ABCDEFG";
1162
+ correlation: {
1163
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
1164
+ };
1165
+ data: {
1166
+ items: {
1167
+ profile: {
1168
+ readonly profileId: 'prf_01JABCDEF0123456789ABCDEFG';
1169
+ readonly displayName: 'Release manager';
1170
+ readonly ownership: {
1171
+ readonly scope: 'workspace';
1172
+ readonly workspaceId: "wsp_01JABCDEF0123456789ABCDEFG";
1173
+ };
1174
+ readonly readOnly: false;
1175
+ readonly createdAt: '2026-10-06T12:00:00.000Z';
1176
+ };
1177
+ latestVersion: {
1178
+ readonly profileId: "prf_01JABCDEF0123456789ABCDEFG";
1179
+ readonly profileVersionId: 'pfv_01JABCDEF0123456789ABCDEFG';
1180
+ readonly version: 1;
1181
+ readonly revision: 2;
1182
+ readonly schemaVersion: 1;
1183
+ readonly lifecycle: 'published';
1184
+ readonly contentDigest: `sha256:${string}`;
1185
+ readonly createdAt: '2026-10-06T12:00:00.000Z';
1186
+ readonly lifecycleMetadata: {
1187
+ readonly publishedAt: '2026-10-06T12:00:00.000Z';
1188
+ };
1189
+ };
1190
+ }[];
1191
+ page: {};
1192
+ };
1193
+ };
1194
+ };
1195
+ profileGet: {
1196
+ request: {
1197
+ caller: {
1198
+ readonly servicePrincipalId: 'svc_agent-hq';
1199
+ };
1200
+ contractVersion: {
1201
+ readonly major: 3;
1202
+ readonly minor: 0;
1203
+ };
1204
+ requestId: 'req_01JABCDEF0123456789ABCDEFG';
1205
+ workspaceId: 'wsp_01JABCDEF0123456789ABCDEFG';
1206
+ correlation: {
1207
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
1208
+ };
1209
+ operation: "catalog.profile.get";
1210
+ requestedAt: string;
1211
+ parameters: {
1212
+ profileId: "prf_01JABCDEF0123456789ABCDEFG";
1213
+ profileVersionId: "pfv_01JABCDEF0123456789ABCDEFG";
1214
+ };
1215
+ };
1216
+ };
1217
+ profileRevocation: {
1218
+ request: {
1219
+ caller: {
1220
+ readonly servicePrincipalId: 'svc_agent-hq';
1221
+ };
1222
+ contractVersion: {
1223
+ readonly major: 3;
1224
+ readonly minor: 0;
1225
+ };
1226
+ requestId: 'req_01JABCDEF0123456789ABCDEFG';
1227
+ workspaceId: 'wsp_01JABCDEF0123456789ABCDEFG';
1228
+ correlation: {
1229
+ readonly traceId: 'trc_01JABCDEF0123456789ABCDEFG';
1230
+ };
1231
+ commandId: 'cmd_01JABCDEF0123456789ABCDEFG';
1232
+ payloadHash: string;
1233
+ issuedAt: '2026-10-06T12:00:00.000Z';
1234
+ idempotencyKey: string;
1235
+ operation: "catalog.profile.revoke";
1236
+ payload: {
1237
+ profileId: "prf_01JABCDEF0123456789ABCDEFG";
1238
+ reason: string;
1239
+ };
1240
+ };
1241
+ };
1242
+ }>;
1243
+ //# sourceMappingURL=workspace-catalog.d.ts.map