@adea-ai/contracts 1.23.0 → 1.23.2

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.
Files changed (82) hide show
  1. package/README.md +14 -0
  2. package/dist/authentication.d.ts +0 -1
  3. package/dist/authentication.js +0 -1
  4. package/dist/canonical-json.d.ts +0 -1
  5. package/dist/canonical-json.js +0 -1
  6. package/dist/context-providers.d.ts +0 -1
  7. package/dist/context-providers.js +0 -1
  8. package/dist/control-api.d.ts +410 -888
  9. package/dist/control-api.js +0 -1
  10. package/dist/decision-resolution.d.ts +0 -1
  11. package/dist/decision-resolution.js +0 -1
  12. package/dist/envelopes.d.ts +0 -1
  13. package/dist/envelopes.js +0 -1
  14. package/dist/execution-scope.d.ts +0 -1
  15. package/dist/execution-scope.js +0 -1
  16. package/dist/fixtures.d.ts +0 -1
  17. package/dist/fixtures.js +0 -1
  18. package/dist/graphs.d.ts +0 -1
  19. package/dist/graphs.js +0 -1
  20. package/dist/identifiers.d.ts +0 -1
  21. package/dist/identifiers.js +0 -1
  22. package/dist/index.d.ts +0 -1
  23. package/dist/index.js +0 -1
  24. package/dist/memory-writeback.d.ts +0 -1
  25. package/dist/memory-writeback.js +0 -1
  26. package/dist/model-connections.d.ts +0 -1
  27. package/dist/model-connections.js +0 -1
  28. package/dist/model-funding.d.ts +0 -1
  29. package/dist/model-funding.js +0 -1
  30. package/dist/pagination.d.ts +0 -1
  31. package/dist/pagination.js +0 -1
  32. package/dist/pi-child-publication.d.ts +0 -1
  33. package/dist/pi-child-publication.js +0 -1
  34. package/dist/pi-lead-publication.d.ts +0 -1
  35. package/dist/pi-lead-publication.js +0 -1
  36. package/dist/runtime-discovery.d.ts +136 -480
  37. package/dist/runtime-discovery.js +0 -1
  38. package/dist/versioning.d.ts +0 -1
  39. package/dist/versioning.js +0 -1
  40. package/dist/workspace-catalog.d.ts +250 -728
  41. package/dist/workspace-catalog.js +18 -4
  42. package/package.json +2 -2
  43. package/dist/authentication.d.ts.map +0 -1
  44. package/dist/authentication.js.map +0 -1
  45. package/dist/canonical-json.d.ts.map +0 -1
  46. package/dist/canonical-json.js.map +0 -1
  47. package/dist/context-providers.d.ts.map +0 -1
  48. package/dist/context-providers.js.map +0 -1
  49. package/dist/control-api.d.ts.map +0 -1
  50. package/dist/control-api.js.map +0 -1
  51. package/dist/decision-resolution.d.ts.map +0 -1
  52. package/dist/decision-resolution.js.map +0 -1
  53. package/dist/envelopes.d.ts.map +0 -1
  54. package/dist/envelopes.js.map +0 -1
  55. package/dist/execution-scope.d.ts.map +0 -1
  56. package/dist/execution-scope.js.map +0 -1
  57. package/dist/fixtures.d.ts.map +0 -1
  58. package/dist/fixtures.js.map +0 -1
  59. package/dist/graphs.d.ts.map +0 -1
  60. package/dist/graphs.js.map +0 -1
  61. package/dist/identifiers.d.ts.map +0 -1
  62. package/dist/identifiers.js.map +0 -1
  63. package/dist/index.d.ts.map +0 -1
  64. package/dist/index.js.map +0 -1
  65. package/dist/memory-writeback.d.ts.map +0 -1
  66. package/dist/memory-writeback.js.map +0 -1
  67. package/dist/model-connections.d.ts.map +0 -1
  68. package/dist/model-connections.js.map +0 -1
  69. package/dist/model-funding.d.ts.map +0 -1
  70. package/dist/model-funding.js.map +0 -1
  71. package/dist/pagination.d.ts.map +0 -1
  72. package/dist/pagination.js.map +0 -1
  73. package/dist/pi-child-publication.d.ts.map +0 -1
  74. package/dist/pi-child-publication.js.map +0 -1
  75. package/dist/pi-lead-publication.d.ts.map +0 -1
  76. package/dist/pi-lead-publication.js.map +0 -1
  77. package/dist/runtime-discovery.d.ts.map +0 -1
  78. package/dist/runtime-discovery.js.map +0 -1
  79. package/dist/versioning.d.ts.map +0 -1
  80. package/dist/versioning.js.map +0 -1
  81. package/dist/workspace-catalog.d.ts.map +0 -1
  82. package/dist/workspace-catalog.js.map +0 -1
@@ -1,4 +1,23 @@
1
1
  import { z } from 'zod';
2
+ import { ServiceCallerAssertionSchema } from './authentication.js';
3
+ import { CorrelationMetadataSchema } from './envelopes.js';
4
+ import { IdentifierSchemas } from './identifiers.js';
5
+ import { CursorSchema } from './pagination.js';
6
+ import { ContractVersionSchema } from './versioning.js';
7
+ /**
8
+ * Workspace catalog administration (additive within contract major 3). Adea manages Skills and
9
+ * AgentProfiles owned by the envelope workspace and reads system entries visible to it.
10
+ * Executable content (Skill manifest/content, AgentProfile definition) crosses the boundary
11
+ * as JSON objects and is validated by the Control Plane's versioned catalog schemas
12
+ * (`docs/profiles-and-skills.md`); this package stays free of domain dependencies.
13
+ */
14
+ declare const TimestampSchema: z.ZodISODateTime;
15
+ declare const DigestSchema: z.ZodString;
16
+ declare const IdempotencyKeySchema: z.ZodString;
17
+ declare const PayloadHashSchema: z.ZodString;
18
+ declare const DisplayNameSchema: z.ZodString;
19
+ declare const ReasonSchema: z.ZodString;
20
+ declare const JsonObjectSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2
21
  /** Only system and the envelope workspace are visible through this API. */
3
22
  export declare const WorkspaceCatalogOwnershipSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
23
  scope: z.ZodLiteral<"system">;
@@ -13,197 +32,115 @@ export declare const WorkspaceCatalogLifecycleSchema: z.ZodEnum<{
13
32
  revoked: "revoked";
14
33
  superseded: "superseded";
15
34
  }>;
35
+ declare const PageParametersSchema: z.ZodObject<{
36
+ cursor: z.ZodOptional<typeof CursorSchema>;
37
+ limit: z.ZodOptional<z.ZodNumber>;
38
+ }, z.core.$strict>;
16
39
  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">;
40
+ skillId: typeof IdentifierSchemas.skillId;
41
+ displayName: typeof DisplayNameSchema;
42
+ ownership: typeof WorkspaceCatalogOwnershipSchema;
25
43
  readOnly: z.ZodBoolean;
26
- createdAt: z.ZodISODateTime;
44
+ createdAt: typeof TimestampSchema;
27
45
  }, z.core.$strict>;
28
46
  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>>;
47
+ skillId: typeof IdentifierSchemas.skillId;
48
+ skillVersionId: typeof IdentifierSchemas.skillVersionId;
31
49
  semanticVersion: z.ZodString;
32
50
  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;
51
+ lifecycle: typeof WorkspaceCatalogLifecycleSchema;
52
+ contentDigest: typeof DigestSchema;
53
+ createdAt: typeof TimestampSchema;
42
54
  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>>>;
55
+ publishedAt: z.ZodOptional<typeof TimestampSchema>;
56
+ deprecatedAt: z.ZodOptional<typeof TimestampSchema>;
57
+ revokedAt: z.ZodOptional<typeof TimestampSchema>;
58
+ supersededAt: z.ZodOptional<typeof TimestampSchema>;
59
+ reason: z.ZodOptional<typeof ReasonSchema>;
60
+ supersededByVersionId: z.ZodOptional<typeof IdentifierSchemas.skillVersionId>;
49
61
  }, z.core.$strict>;
50
62
  }, z.core.$strict>;
51
63
  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>>;
64
+ skillId: typeof IdentifierSchemas.skillId;
65
+ skillVersionId: typeof IdentifierSchemas.skillVersionId;
54
66
  semanticVersion: z.ZodString;
55
67
  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;
68
+ lifecycle: typeof WorkspaceCatalogLifecycleSchema;
69
+ contentDigest: typeof DigestSchema;
70
+ createdAt: typeof TimestampSchema;
65
71
  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>;
72
+ publishedAt: z.ZodOptional<typeof TimestampSchema>;
73
+ deprecatedAt: z.ZodOptional<typeof TimestampSchema>;
74
+ revokedAt: z.ZodOptional<typeof TimestampSchema>;
75
+ supersededAt: z.ZodOptional<typeof TimestampSchema>;
76
+ reason: z.ZodOptional<typeof ReasonSchema>;
77
+ supersededByVersionId: z.ZodOptional<typeof IdentifierSchemas.skillVersionId>;
78
+ }, z.core.$strict>;
79
+ manifest: typeof JsonObjectSchema;
80
+ content: typeof JsonObjectSchema;
75
81
  }, z.core.$strict>;
76
82
  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">;
83
+ profileId: typeof IdentifierSchemas.profileId;
84
+ displayName: typeof DisplayNameSchema;
85
+ ownership: typeof WorkspaceCatalogOwnershipSchema;
85
86
  readOnly: z.ZodBoolean;
86
- createdAt: z.ZodISODateTime;
87
+ createdAt: typeof TimestampSchema;
87
88
  }, z.core.$strict>;
88
89
  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>>;
90
+ profileId: typeof IdentifierSchemas.profileId;
91
+ profileVersionId: typeof IdentifierSchemas.profileVersionId;
91
92
  version: z.ZodNumber;
92
93
  revision: z.ZodNumber;
93
94
  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;
95
+ lifecycle: typeof WorkspaceCatalogLifecycleSchema;
96
+ contentDigest: typeof DigestSchema;
97
+ createdAt: typeof TimestampSchema;
103
98
  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>>>;
99
+ publishedAt: z.ZodOptional<typeof TimestampSchema>;
100
+ deprecatedAt: z.ZodOptional<typeof TimestampSchema>;
101
+ revokedAt: z.ZodOptional<typeof TimestampSchema>;
102
+ supersededAt: z.ZodOptional<typeof TimestampSchema>;
103
+ reason: z.ZodOptional<typeof ReasonSchema>;
104
+ supersededByVersionId: z.ZodOptional<typeof IdentifierSchemas.profileVersionId>;
110
105
  }, z.core.$strict>;
111
106
  }, z.core.$strict>;
112
107
  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>>;
108
+ profileId: typeof IdentifierSchemas.profileId;
109
+ profileVersionId: typeof IdentifierSchemas.profileVersionId;
115
110
  version: z.ZodNumber;
116
111
  revision: z.ZodNumber;
117
112
  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;
113
+ lifecycle: typeof WorkspaceCatalogLifecycleSchema;
114
+ contentDigest: typeof DigestSchema;
115
+ createdAt: typeof TimestampSchema;
127
116
  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>;
117
+ publishedAt: z.ZodOptional<typeof TimestampSchema>;
118
+ deprecatedAt: z.ZodOptional<typeof TimestampSchema>;
119
+ revokedAt: z.ZodOptional<typeof TimestampSchema>;
120
+ supersededAt: z.ZodOptional<typeof TimestampSchema>;
121
+ reason: z.ZodOptional<typeof ReasonSchema>;
122
+ supersededByVersionId: z.ZodOptional<typeof IdentifierSchemas.profileVersionId>;
123
+ }, z.core.$strict>;
124
+ definition: typeof JsonObjectSchema;
136
125
  }, z.core.$strict>;
137
126
  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;
127
+ caller: typeof ServiceCallerAssertionSchema;
128
+ contractVersion: typeof ContractVersionSchema;
129
+ requestId: typeof IdentifierSchemas.requestId;
130
+ workspaceId: typeof IdentifierSchemas.workspaceId;
131
+ correlation: typeof CorrelationMetadataSchema;
132
+ requestedAt: typeof TimestampSchema;
153
133
  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>;
134
+ parameters: typeof PageParametersSchema;
158
135
  }, z.core.$strict>;
159
136
  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>;
137
+ contractVersion: typeof ContractVersionSchema;
138
+ requestId: typeof IdentifierSchemas.requestId;
139
+ correlation: typeof CorrelationMetadataSchema;
170
140
  data: z.ZodObject<{
171
141
  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>>;
142
+ skill: typeof WorkspaceSkillRecordSchema;
143
+ latestVersion: z.ZodOptional<typeof WorkspaceSkillVersionSummarySchema>;
207
144
  }, z.core.$strict>>;
208
145
  page: z.ZodObject<{
209
146
  nextCursor: z.ZodOptional<z.ZodString>;
@@ -211,360 +148,136 @@ export declare const WorkspaceSkillListResponseSchema: z.ZodObject<{
211
148
  }, z.core.$strict>;
212
149
  }, z.core.$strip>;
213
150
  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;
151
+ caller: typeof ServiceCallerAssertionSchema;
152
+ contractVersion: typeof ContractVersionSchema;
153
+ requestId: typeof IdentifierSchemas.requestId;
154
+ workspaceId: typeof IdentifierSchemas.workspaceId;
155
+ correlation: typeof CorrelationMetadataSchema;
156
+ requestedAt: typeof TimestampSchema;
229
157
  operation: z.ZodLiteral<"catalog.skill.get">;
230
158
  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>>>;
159
+ skillId: typeof IdentifierSchemas.skillId;
160
+ skillVersionId: z.ZodOptional<typeof IdentifierSchemas.skillVersionId>;
233
161
  }, z.core.$strict>;
234
162
  }, z.core.$strict>;
235
163
  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>;
164
+ contractVersion: typeof ContractVersionSchema;
165
+ requestId: typeof IdentifierSchemas.requestId;
166
+ correlation: typeof CorrelationMetadataSchema;
246
167
  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>>;
168
+ skill: typeof WorkspaceSkillRecordSchema;
169
+ versions: z.ZodArray<typeof WorkspaceSkillVersionSummarySchema>;
170
+ version: z.ZodOptional<typeof WorkspaceSkillVersionSchema>;
307
171
  }, z.core.$strict>;
308
172
  }, z.core.$strip>;
309
173
  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;
174
+ caller: typeof ServiceCallerAssertionSchema;
175
+ contractVersion: typeof ContractVersionSchema;
176
+ requestId: typeof IdentifierSchemas.requestId;
177
+ workspaceId: typeof IdentifierSchemas.workspaceId;
178
+ correlation: typeof CorrelationMetadataSchema;
179
+ commandId: typeof IdentifierSchemas.commandId;
180
+ idempotencyKey: typeof IdempotencyKeySchema;
181
+ payloadHash: typeof PayloadHashSchema;
182
+ issuedAt: typeof TimestampSchema;
328
183
  operation: z.ZodLiteral<"catalog.skill.publish">;
329
184
  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>;
185
+ skillId: typeof IdentifierSchemas.skillId;
186
+ skillVersionId: typeof IdentifierSchemas.skillVersionId;
187
+ displayName: z.ZodOptional<typeof DisplayNameSchema>;
188
+ manifest: typeof JsonObjectSchema;
189
+ content: typeof JsonObjectSchema;
335
190
  }, z.core.$strict>;
336
191
  }, z.core.$strict>;
337
192
  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>;
193
+ contractVersion: typeof ContractVersionSchema;
194
+ requestId: typeof IdentifierSchemas.requestId;
195
+ correlation: typeof CorrelationMetadataSchema;
348
196
  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>;
197
+ skill: typeof WorkspaceSkillRecordSchema;
361
198
  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>>;
199
+ skillId: typeof IdentifierSchemas.skillId;
200
+ skillVersionId: typeof IdentifierSchemas.skillVersionId;
364
201
  semanticVersion: z.ZodString;
365
202
  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;
203
+ lifecycle: typeof WorkspaceCatalogLifecycleSchema;
204
+ contentDigest: typeof DigestSchema;
205
+ createdAt: typeof TimestampSchema;
375
206
  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>>>;
207
+ publishedAt: z.ZodOptional<typeof TimestampSchema>;
208
+ deprecatedAt: z.ZodOptional<typeof TimestampSchema>;
209
+ revokedAt: z.ZodOptional<typeof TimestampSchema>;
210
+ supersededAt: z.ZodOptional<typeof TimestampSchema>;
211
+ reason: z.ZodOptional<typeof ReasonSchema>;
212
+ supersededByVersionId: z.ZodOptional<typeof IdentifierSchemas.skillVersionId>;
382
213
  }, z.core.$strict>;
383
- manifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
384
- content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
214
+ manifest: typeof JsonObjectSchema;
215
+ content: typeof JsonObjectSchema;
385
216
  }, z.core.$strict>;
386
217
  }, z.core.$strict>;
387
218
  }, z.core.$strip>;
219
+ declare const SkillLifecycleTargetSchema: z.ZodUnion<readonly [z.ZodObject<{
220
+ skillId: typeof IdentifierSchemas.skillId;
221
+ skillVersionId: typeof IdentifierSchemas.skillVersionId;
222
+ expectedRevision: z.ZodNumber;
223
+ reason: typeof ReasonSchema;
224
+ }, z.core.$strict>, z.ZodObject<{
225
+ skillId: typeof IdentifierSchemas.skillId;
226
+ reason: z.ZodString;
227
+ }, z.core.$strict>]>;
388
228
  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;
229
+ caller: typeof ServiceCallerAssertionSchema;
230
+ contractVersion: typeof ContractVersionSchema;
231
+ requestId: typeof IdentifierSchemas.requestId;
232
+ workspaceId: typeof IdentifierSchemas.workspaceId;
233
+ correlation: typeof CorrelationMetadataSchema;
234
+ commandId: typeof IdentifierSchemas.commandId;
235
+ idempotencyKey: typeof IdempotencyKeySchema;
236
+ payloadHash: typeof PayloadHashSchema;
237
+ issuedAt: typeof TimestampSchema;
407
238
  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>]>;
239
+ payload: typeof SkillLifecycleTargetSchema;
417
240
  }, z.core.$strict>;
418
241
  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;
242
+ caller: typeof ServiceCallerAssertionSchema;
243
+ contractVersion: typeof ContractVersionSchema;
244
+ requestId: typeof IdentifierSchemas.requestId;
245
+ workspaceId: typeof IdentifierSchemas.workspaceId;
246
+ correlation: typeof CorrelationMetadataSchema;
247
+ commandId: typeof IdentifierSchemas.commandId;
248
+ idempotencyKey: typeof IdempotencyKeySchema;
249
+ payloadHash: typeof PayloadHashSchema;
250
+ issuedAt: typeof TimestampSchema;
437
251
  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>]>;
252
+ payload: typeof SkillLifecycleTargetSchema;
447
253
  }, z.core.$strict>;
448
254
  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>;
255
+ contractVersion: typeof ContractVersionSchema;
256
+ requestId: typeof IdentifierSchemas.requestId;
257
+ correlation: typeof CorrelationMetadataSchema;
459
258
  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>>;
259
+ skill: typeof WorkspaceSkillRecordSchema;
260
+ changed: z.ZodArray<typeof WorkspaceSkillVersionSummarySchema>;
495
261
  }, z.core.$strict>;
496
262
  }, z.core.$strip>;
497
263
  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;
264
+ caller: typeof ServiceCallerAssertionSchema;
265
+ contractVersion: typeof ContractVersionSchema;
266
+ requestId: typeof IdentifierSchemas.requestId;
267
+ workspaceId: typeof IdentifierSchemas.workspaceId;
268
+ correlation: typeof CorrelationMetadataSchema;
269
+ requestedAt: typeof TimestampSchema;
513
270
  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>;
271
+ parameters: typeof PageParametersSchema;
518
272
  }, z.core.$strict>;
519
273
  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>;
274
+ contractVersion: typeof ContractVersionSchema;
275
+ requestId: typeof IdentifierSchemas.requestId;
276
+ correlation: typeof CorrelationMetadataSchema;
530
277
  data: z.ZodObject<{
531
278
  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>>;
279
+ profile: typeof WorkspaceAgentProfileRecordSchema;
280
+ latestVersion: z.ZodOptional<typeof WorkspaceAgentProfileVersionSummarySchema>;
568
281
  }, z.core.$strict>>;
569
282
  page: z.ZodObject<{
570
283
  nextCursor: z.ZodOptional<z.ZodString>;
@@ -572,289 +285,98 @@ export declare const WorkspaceAgentProfileListResponseSchema: z.ZodObject<{
572
285
  }, z.core.$strict>;
573
286
  }, z.core.$strip>;
574
287
  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;
288
+ caller: typeof ServiceCallerAssertionSchema;
289
+ contractVersion: typeof ContractVersionSchema;
290
+ requestId: typeof IdentifierSchemas.requestId;
291
+ workspaceId: typeof IdentifierSchemas.workspaceId;
292
+ correlation: typeof CorrelationMetadataSchema;
293
+ requestedAt: typeof TimestampSchema;
590
294
  operation: z.ZodLiteral<"catalog.profile.get">;
591
295
  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>>>;
296
+ profileId: typeof IdentifierSchemas.profileId;
297
+ profileVersionId: z.ZodOptional<typeof IdentifierSchemas.profileVersionId>;
594
298
  }, z.core.$strict>;
595
299
  }, z.core.$strict>;
596
300
  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>;
301
+ contractVersion: typeof ContractVersionSchema;
302
+ requestId: typeof IdentifierSchemas.requestId;
303
+ correlation: typeof CorrelationMetadataSchema;
607
304
  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>>;
305
+ profile: typeof WorkspaceAgentProfileRecordSchema;
306
+ versions: z.ZodArray<typeof WorkspaceAgentProfileVersionSummarySchema>;
307
+ version: z.ZodOptional<typeof WorkspaceAgentProfileVersionSchema>;
669
308
  }, z.core.$strict>;
670
309
  }, z.core.$strip>;
671
310
  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;
311
+ caller: typeof ServiceCallerAssertionSchema;
312
+ contractVersion: typeof ContractVersionSchema;
313
+ requestId: typeof IdentifierSchemas.requestId;
314
+ workspaceId: typeof IdentifierSchemas.workspaceId;
315
+ correlation: typeof CorrelationMetadataSchema;
316
+ commandId: typeof IdentifierSchemas.commandId;
317
+ idempotencyKey: typeof IdempotencyKeySchema;
318
+ payloadHash: typeof PayloadHashSchema;
319
+ issuedAt: typeof TimestampSchema;
690
320
  operation: z.ZodLiteral<"catalog.profile.publish">;
691
321
  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>;
322
+ profileId: typeof IdentifierSchemas.profileId;
323
+ profileVersionId: typeof IdentifierSchemas.profileVersionId;
324
+ displayName: z.ZodOptional<typeof DisplayNameSchema>;
695
325
  version: z.ZodNumber;
696
- definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
326
+ definition: typeof JsonObjectSchema;
697
327
  }, z.core.$strict>;
698
328
  }, z.core.$strict>;
699
329
  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>;
330
+ contractVersion: typeof ContractVersionSchema;
331
+ requestId: typeof IdentifierSchemas.requestId;
332
+ correlation: typeof CorrelationMetadataSchema;
710
333
  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>;
334
+ profile: typeof WorkspaceAgentProfileRecordSchema;
335
+ version: typeof WorkspaceAgentProfileVersionSchema;
748
336
  }, z.core.$strict>;
749
337
  }, z.core.$strip>;
338
+ declare const ProfileLifecycleTargetSchema: z.ZodUnion<readonly [z.ZodObject<{
339
+ profileId: typeof IdentifierSchemas.profileId;
340
+ profileVersionId: typeof IdentifierSchemas.profileVersionId;
341
+ expectedRevision: z.ZodNumber;
342
+ reason: typeof ReasonSchema;
343
+ }, z.core.$strict>, z.ZodObject<{
344
+ profileId: typeof IdentifierSchemas.profileId;
345
+ reason: z.ZodString;
346
+ }, z.core.$strict>]>;
750
347
  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;
348
+ caller: typeof ServiceCallerAssertionSchema;
349
+ contractVersion: typeof ContractVersionSchema;
350
+ requestId: typeof IdentifierSchemas.requestId;
351
+ workspaceId: typeof IdentifierSchemas.workspaceId;
352
+ correlation: typeof CorrelationMetadataSchema;
353
+ commandId: typeof IdentifierSchemas.commandId;
354
+ idempotencyKey: typeof IdempotencyKeySchema;
355
+ payloadHash: typeof PayloadHashSchema;
356
+ issuedAt: typeof TimestampSchema;
769
357
  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>]>;
358
+ payload: typeof ProfileLifecycleTargetSchema;
779
359
  }, z.core.$strict>;
780
360
  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;
361
+ caller: typeof ServiceCallerAssertionSchema;
362
+ contractVersion: typeof ContractVersionSchema;
363
+ requestId: typeof IdentifierSchemas.requestId;
364
+ workspaceId: typeof IdentifierSchemas.workspaceId;
365
+ correlation: typeof CorrelationMetadataSchema;
366
+ commandId: typeof IdentifierSchemas.commandId;
367
+ idempotencyKey: typeof IdempotencyKeySchema;
368
+ payloadHash: typeof PayloadHashSchema;
369
+ issuedAt: typeof TimestampSchema;
799
370
  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>]>;
371
+ payload: typeof ProfileLifecycleTargetSchema;
809
372
  }, z.core.$strict>;
810
373
  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>;
374
+ contractVersion: typeof ContractVersionSchema;
375
+ requestId: typeof IdentifierSchemas.requestId;
376
+ correlation: typeof CorrelationMetadataSchema;
821
377
  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>>;
378
+ profile: typeof WorkspaceAgentProfileRecordSchema;
379
+ changed: z.ZodArray<typeof WorkspaceAgentProfileVersionSummarySchema>;
858
380
  }, z.core.$strict>;
859
381
  }, z.core.$strip>;
860
382
  export type WorkspaceCatalogOwnership = z.output<typeof WorkspaceCatalogOwnershipSchema>;
@@ -1240,4 +762,4 @@ export declare const WorkspaceCatalogFixtures: Readonly<{
1240
762
  };
1241
763
  };
1242
764
  }>;
1243
- //# sourceMappingURL=workspace-catalog.d.ts.map
765
+ export {};