@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.
- package/README.md +14 -0
- package/dist/authentication.d.ts +0 -1
- package/dist/authentication.js +0 -1
- package/dist/canonical-json.d.ts +0 -1
- package/dist/canonical-json.js +0 -1
- package/dist/context-providers.d.ts +0 -1
- package/dist/context-providers.js +0 -1
- package/dist/control-api.d.ts +410 -888
- package/dist/control-api.js +0 -1
- package/dist/decision-resolution.d.ts +0 -1
- package/dist/decision-resolution.js +0 -1
- package/dist/envelopes.d.ts +0 -1
- package/dist/envelopes.js +0 -1
- package/dist/execution-scope.d.ts +0 -1
- package/dist/execution-scope.js +0 -1
- package/dist/fixtures.d.ts +0 -1
- package/dist/fixtures.js +0 -1
- package/dist/graphs.d.ts +0 -1
- package/dist/graphs.js +0 -1
- package/dist/identifiers.d.ts +0 -1
- package/dist/identifiers.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/memory-writeback.d.ts +0 -1
- package/dist/memory-writeback.js +0 -1
- package/dist/model-connections.d.ts +0 -1
- package/dist/model-connections.js +0 -1
- package/dist/model-funding.d.ts +0 -1
- package/dist/model-funding.js +0 -1
- package/dist/pagination.d.ts +0 -1
- package/dist/pagination.js +0 -1
- package/dist/pi-child-publication.d.ts +0 -1
- package/dist/pi-child-publication.js +0 -1
- package/dist/pi-lead-publication.d.ts +0 -1
- package/dist/pi-lead-publication.js +0 -1
- package/dist/runtime-discovery.d.ts +136 -480
- package/dist/runtime-discovery.js +0 -1
- package/dist/versioning.d.ts +0 -1
- package/dist/versioning.js +0 -1
- package/dist/workspace-catalog.d.ts +250 -728
- package/dist/workspace-catalog.js +18 -4
- package/package.json +2 -2
- package/dist/authentication.d.ts.map +0 -1
- package/dist/authentication.js.map +0 -1
- package/dist/canonical-json.d.ts.map +0 -1
- package/dist/canonical-json.js.map +0 -1
- package/dist/context-providers.d.ts.map +0 -1
- package/dist/context-providers.js.map +0 -1
- package/dist/control-api.d.ts.map +0 -1
- package/dist/control-api.js.map +0 -1
- package/dist/decision-resolution.d.ts.map +0 -1
- package/dist/decision-resolution.js.map +0 -1
- package/dist/envelopes.d.ts.map +0 -1
- package/dist/envelopes.js.map +0 -1
- package/dist/execution-scope.d.ts.map +0 -1
- package/dist/execution-scope.js.map +0 -1
- package/dist/fixtures.d.ts.map +0 -1
- package/dist/fixtures.js.map +0 -1
- package/dist/graphs.d.ts.map +0 -1
- package/dist/graphs.js.map +0 -1
- package/dist/identifiers.d.ts.map +0 -1
- package/dist/identifiers.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/memory-writeback.d.ts.map +0 -1
- package/dist/memory-writeback.js.map +0 -1
- package/dist/model-connections.d.ts.map +0 -1
- package/dist/model-connections.js.map +0 -1
- package/dist/model-funding.d.ts.map +0 -1
- package/dist/model-funding.js.map +0 -1
- package/dist/pagination.d.ts.map +0 -1
- package/dist/pagination.js.map +0 -1
- package/dist/pi-child-publication.d.ts.map +0 -1
- package/dist/pi-child-publication.js.map +0 -1
- package/dist/pi-lead-publication.d.ts.map +0 -1
- package/dist/pi-lead-publication.js.map +0 -1
- package/dist/runtime-discovery.d.ts.map +0 -1
- package/dist/runtime-discovery.js.map +0 -1
- package/dist/versioning.d.ts.map +0 -1
- package/dist/versioning.js.map +0 -1
- package/dist/workspace-catalog.d.ts.map +0 -1
- package/dist/workspace-catalog.js.map +0 -1
|
@@ -1,4 +1,13 @@
|
|
|
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 { ContractVersionSchema } from './versioning.js';
|
|
6
|
+
import { CursorSchema, PageSchema } from './pagination.js';
|
|
7
|
+
declare const TimestampSchema: z.ZodISODateTime;
|
|
8
|
+
declare const CapabilityNameSchema: z.ZodString;
|
|
9
|
+
declare const DiagnosticCodeSchema: z.ZodString;
|
|
10
|
+
declare const SemanticVersionSchema: z.ZodString;
|
|
2
11
|
export declare const DiscoveryFreshnessSchema: z.ZodObject<{
|
|
3
12
|
state: z.ZodEnum<{
|
|
4
13
|
expired: "expired";
|
|
@@ -6,12 +15,18 @@ export declare const DiscoveryFreshnessSchema: z.ZodObject<{
|
|
|
6
15
|
stale: "stale";
|
|
7
16
|
unknown: "unknown";
|
|
8
17
|
}>;
|
|
9
|
-
observedAt:
|
|
10
|
-
expiresAt: z.ZodOptional<
|
|
18
|
+
observedAt: typeof TimestampSchema;
|
|
19
|
+
expiresAt: z.ZodOptional<typeof TimestampSchema>;
|
|
11
20
|
}, z.core.$strip>;
|
|
21
|
+
declare const OperationAvailabilitySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
22
|
+
available: z.ZodLiteral<true>;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
available: z.ZodLiteral<false>;
|
|
25
|
+
reason: typeof DiagnosticCodeSchema;
|
|
26
|
+
}, z.core.$strip>]>;
|
|
12
27
|
export declare const RuntimeConnectionDiscoveryReadModelSchema: z.ZodObject<{
|
|
13
|
-
runtimeConnectionId:
|
|
14
|
-
runtimeDefinitionId:
|
|
28
|
+
runtimeConnectionId: typeof IdentifierSchemas.runtimeConnectionId;
|
|
29
|
+
runtimeDefinitionId: typeof IdentifierSchemas.runtimeDefinitionId;
|
|
15
30
|
family: z.ZodString;
|
|
16
31
|
connectionType: z.ZodEnum<{
|
|
17
32
|
external_local: "external_local";
|
|
@@ -29,7 +44,7 @@ export declare const RuntimeConnectionDiscoveryReadModelSchema: z.ZodObject<{
|
|
|
29
44
|
unavailable: "unavailable";
|
|
30
45
|
}>;
|
|
31
46
|
node: z.ZodOptional<z.ZodObject<{
|
|
32
|
-
runtimeNodeRefId:
|
|
47
|
+
runtimeNodeRefId: typeof IdentifierSchemas.runtimeNodeRefId;
|
|
33
48
|
location: z.ZodEnum<{
|
|
34
49
|
agent_hq_cloud: "agent_hq_cloud";
|
|
35
50
|
local_device: "local_device";
|
|
@@ -46,7 +61,7 @@ export declare const RuntimeConnectionDiscoveryReadModelSchema: z.ZodObject<{
|
|
|
46
61
|
revoked: "revoked";
|
|
47
62
|
unknown: "unknown";
|
|
48
63
|
}>;
|
|
49
|
-
observedAt:
|
|
64
|
+
observedAt: typeof TimestampSchema;
|
|
50
65
|
}, z.core.$strip>>;
|
|
51
66
|
connection: z.ZodObject<{
|
|
52
67
|
status: z.ZodEnum<{
|
|
@@ -73,25 +88,16 @@ export declare const RuntimeConnectionDiscoveryReadModelSchema: z.ZodObject<{
|
|
|
73
88
|
unknown: "unknown";
|
|
74
89
|
}>;
|
|
75
90
|
}, z.core.$strip>;
|
|
76
|
-
freshness:
|
|
77
|
-
state: z.ZodEnum<{
|
|
78
|
-
expired: "expired";
|
|
79
|
-
fresh: "fresh";
|
|
80
|
-
stale: "stale";
|
|
81
|
-
unknown: "unknown";
|
|
82
|
-
}>;
|
|
83
|
-
observedAt: z.ZodISODateTime;
|
|
84
|
-
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
85
|
-
}, z.core.$strip>;
|
|
91
|
+
freshness: typeof DiscoveryFreshnessSchema;
|
|
86
92
|
versions: z.ZodObject<{
|
|
87
|
-
adapter:
|
|
88
|
-
driver:
|
|
89
|
-
harness:
|
|
90
|
-
protocol: z.ZodOptional<
|
|
93
|
+
adapter: typeof SemanticVersionSchema;
|
|
94
|
+
driver: typeof SemanticVersionSchema;
|
|
95
|
+
harness: typeof SemanticVersionSchema;
|
|
96
|
+
protocol: z.ZodOptional<typeof SemanticVersionSchema>;
|
|
91
97
|
}, z.core.$strip>;
|
|
92
98
|
capabilities: z.ZodArray<z.ZodString>;
|
|
93
99
|
capabilityDetails: z.ZodArray<z.ZodObject<{
|
|
94
|
-
name:
|
|
100
|
+
name: typeof CapabilityNameSchema;
|
|
95
101
|
support: z.ZodEnum<{
|
|
96
102
|
degraded: "degraded";
|
|
97
103
|
supported: "supported";
|
|
@@ -110,7 +116,7 @@ export declare const RuntimeConnectionDiscoveryReadModelSchema: z.ZodObject<{
|
|
|
110
116
|
unavailable: "unavailable";
|
|
111
117
|
untested: "untested";
|
|
112
118
|
}>;
|
|
113
|
-
limitations: z.ZodArray<
|
|
119
|
+
limitations: z.ZodArray<typeof DiagnosticCodeSchema>;
|
|
114
120
|
}, z.core.$strip>;
|
|
115
121
|
access: z.ZodObject<{
|
|
116
122
|
localProjectGrant: z.ZodObject<{
|
|
@@ -137,20 +143,20 @@ export declare const RuntimeConnectionDiscoveryReadModelSchema: z.ZodObject<{
|
|
|
137
143
|
eligible: "eligible";
|
|
138
144
|
ineligible: "ineligible";
|
|
139
145
|
}>;
|
|
140
|
-
reasons: z.ZodArray<
|
|
141
|
-
degradations: z.ZodArray<
|
|
146
|
+
reasons: z.ZodArray<typeof DiagnosticCodeSchema>;
|
|
147
|
+
degradations: z.ZodArray<typeof DiagnosticCodeSchema>;
|
|
142
148
|
remediation: z.ZodArray<z.ZodObject<{
|
|
143
|
-
code:
|
|
149
|
+
code: typeof DiagnosticCodeSchema;
|
|
144
150
|
label: z.ZodString;
|
|
145
151
|
}, z.core.$strip>>;
|
|
146
152
|
}, z.core.$strip>;
|
|
147
|
-
observedAt:
|
|
148
|
-
limitations: z.ZodArray<
|
|
153
|
+
observedAt: typeof TimestampSchema;
|
|
154
|
+
limitations: z.ZodArray<typeof DiagnosticCodeSchema>;
|
|
149
155
|
}, z.core.$strip>;
|
|
150
156
|
export declare const ExternalSessionDiscoveryReadModelSchema: z.ZodObject<{
|
|
151
|
-
externalSessionId:
|
|
152
|
-
runtimeConnectionId:
|
|
153
|
-
projectId: z.ZodOptional<
|
|
157
|
+
externalSessionId: typeof IdentifierSchemas.externalSessionId;
|
|
158
|
+
runtimeConnectionId: typeof IdentifierSchemas.runtimeConnectionId;
|
|
159
|
+
projectId: z.ZodOptional<typeof IdentifierSchemas.projectId>;
|
|
154
160
|
state: z.ZodEnum<{
|
|
155
161
|
active: "active";
|
|
156
162
|
capability_changed: "capability_changed";
|
|
@@ -169,280 +175,76 @@ export declare const ExternalSessionDiscoveryReadModelSchema: z.ZodObject<{
|
|
|
169
175
|
}>;
|
|
170
176
|
displayName: z.ZodOptional<z.ZodString>;
|
|
171
177
|
}, z.core.$strip>;
|
|
172
|
-
freshness:
|
|
173
|
-
state: z.ZodEnum<{
|
|
174
|
-
expired: "expired";
|
|
175
|
-
fresh: "fresh";
|
|
176
|
-
stale: "stale";
|
|
177
|
-
unknown: "unknown";
|
|
178
|
-
}>;
|
|
179
|
-
observedAt: z.ZodISODateTime;
|
|
180
|
-
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
181
|
-
}, z.core.$strip>;
|
|
178
|
+
freshness: typeof DiscoveryFreshnessSchema;
|
|
182
179
|
capabilitySummary: z.ZodObject<{
|
|
183
180
|
version: z.ZodNumber;
|
|
184
181
|
operations: z.ZodArray<z.ZodString>;
|
|
185
182
|
controls: z.ZodObject<{
|
|
186
|
-
reference:
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
}, z.core.$strip>]>;
|
|
192
|
-
resume: z.ZodUnion<readonly [z.ZodObject<{
|
|
193
|
-
available: z.ZodLiteral<true>;
|
|
194
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
195
|
-
available: z.ZodLiteral<false>;
|
|
196
|
-
reason: z.ZodString;
|
|
197
|
-
}, z.core.$strip>]>;
|
|
198
|
-
load: z.ZodUnion<readonly [z.ZodObject<{
|
|
199
|
-
available: z.ZodLiteral<true>;
|
|
200
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
201
|
-
available: z.ZodLiteral<false>;
|
|
202
|
-
reason: z.ZodString;
|
|
203
|
-
}, z.core.$strip>]>;
|
|
204
|
-
close: z.ZodUnion<readonly [z.ZodObject<{
|
|
205
|
-
available: z.ZodLiteral<true>;
|
|
206
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
207
|
-
available: z.ZodLiteral<false>;
|
|
208
|
-
reason: z.ZodString;
|
|
209
|
-
}, z.core.$strip>]>;
|
|
210
|
-
history: z.ZodUnion<readonly [z.ZodObject<{
|
|
211
|
-
available: z.ZodLiteral<true>;
|
|
212
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
213
|
-
available: z.ZodLiteral<false>;
|
|
214
|
-
reason: z.ZodString;
|
|
215
|
-
}, z.core.$strip>]>;
|
|
183
|
+
reference: typeof OperationAvailabilitySchema;
|
|
184
|
+
resume: typeof OperationAvailabilitySchema;
|
|
185
|
+
load: typeof OperationAvailabilitySchema;
|
|
186
|
+
close: typeof OperationAvailabilitySchema;
|
|
187
|
+
history: typeof OperationAvailabilitySchema;
|
|
216
188
|
}, z.core.$strip>;
|
|
217
189
|
}, z.core.$strip>;
|
|
218
|
-
limitations: z.ZodArray<
|
|
190
|
+
limitations: z.ZodArray<typeof DiagnosticCodeSchema>;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
declare const RuntimeConnectionListParametersSchema: z.ZodObject<{
|
|
193
|
+
cursor: z.ZodOptional<typeof CursorSchema>;
|
|
194
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
195
|
+
runtimeNodeRefId: z.ZodOptional<typeof IdentifierSchemas.runtimeNodeRefId>;
|
|
196
|
+
states: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
197
|
+
available: "available";
|
|
198
|
+
degraded: "degraded";
|
|
199
|
+
incompatible: "incompatible";
|
|
200
|
+
offline: "offline";
|
|
201
|
+
revoked: "revoked";
|
|
202
|
+
stale: "stale";
|
|
203
|
+
}>>>;
|
|
204
|
+
requiredCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
219
205
|
}, z.core.$strip>;
|
|
220
206
|
export declare const RuntimeConnectionListRequestSchema: z.ZodObject<{
|
|
221
|
-
caller:
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
229
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
230
|
-
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
231
|
-
correlation: z.ZodObject<{
|
|
232
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
233
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
234
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
235
|
-
}, z.core.$strip>;
|
|
236
|
-
requestedAt: z.ZodISODateTime;
|
|
207
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
208
|
+
contractVersion: typeof ContractVersionSchema;
|
|
209
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
210
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
211
|
+
projectId: z.ZodOptional<typeof IdentifierSchemas.projectId>;
|
|
212
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
213
|
+
requestedAt: typeof TimestampSchema;
|
|
237
214
|
operation: z.ZodLiteral<"runtime-connection.list">;
|
|
238
|
-
parameters:
|
|
239
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
240
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
241
|
-
runtimeNodeRefId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"runtime-node reference ID">, string>>>;
|
|
242
|
-
states: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
243
|
-
available: "available";
|
|
244
|
-
degraded: "degraded";
|
|
245
|
-
incompatible: "incompatible";
|
|
246
|
-
offline: "offline";
|
|
247
|
-
revoked: "revoked";
|
|
248
|
-
stale: "stale";
|
|
249
|
-
}>>>;
|
|
250
|
-
requiredCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
251
|
-
}, z.core.$strip>;
|
|
215
|
+
parameters: typeof RuntimeConnectionListParametersSchema;
|
|
252
216
|
}, z.core.$strip>;
|
|
253
217
|
export declare const RuntimeConnectionGetRequestSchema: z.ZodObject<{
|
|
254
|
-
caller:
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
262
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
263
|
-
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
264
|
-
correlation: z.ZodObject<{
|
|
265
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
266
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
267
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
268
|
-
}, z.core.$strip>;
|
|
269
|
-
requestedAt: z.ZodISODateTime;
|
|
218
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
219
|
+
contractVersion: typeof ContractVersionSchema;
|
|
220
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
221
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
222
|
+
projectId: z.ZodOptional<typeof IdentifierSchemas.projectId>;
|
|
223
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
224
|
+
requestedAt: typeof TimestampSchema;
|
|
270
225
|
operation: z.ZodLiteral<"runtime-connection.get">;
|
|
271
226
|
parameters: z.ZodObject<{
|
|
272
|
-
runtimeConnectionId:
|
|
273
|
-
runtimeNodeRefId: z.ZodOptional<
|
|
227
|
+
runtimeConnectionId: typeof IdentifierSchemas.runtimeConnectionId;
|
|
228
|
+
runtimeNodeRefId: z.ZodOptional<typeof IdentifierSchemas.runtimeNodeRefId>;
|
|
274
229
|
}, z.core.$strip>;
|
|
275
230
|
}, z.core.$strip>;
|
|
276
231
|
export declare const RuntimeConnectionListResponseSchema: z.ZodObject<{
|
|
277
|
-
contractVersion:
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
}, z.core.$strict>;
|
|
281
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
282
|
-
correlation: z.ZodObject<{
|
|
283
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
284
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
285
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
286
|
-
}, z.core.$strip>;
|
|
232
|
+
contractVersion: typeof ContractVersionSchema;
|
|
233
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
234
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
287
235
|
data: z.ZodObject<{
|
|
288
|
-
runtimeConnections: z.ZodArray<
|
|
289
|
-
|
|
290
|
-
runtimeDefinitionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"runtime-definition ID">, string>>;
|
|
291
|
-
family: z.ZodString;
|
|
292
|
-
connectionType: z.ZodEnum<{
|
|
293
|
-
external_local: "external_local";
|
|
294
|
-
managed_cloud: "managed_cloud";
|
|
295
|
-
managed_local: "managed_local";
|
|
296
|
-
}>;
|
|
297
|
-
location: z.ZodEnum<{
|
|
298
|
-
agent_hq_cloud: "agent_hq_cloud";
|
|
299
|
-
local_device: "local_device";
|
|
300
|
-
}>;
|
|
301
|
-
status: z.ZodEnum<{
|
|
302
|
-
available: "available";
|
|
303
|
-
degraded: "degraded";
|
|
304
|
-
revoked: "revoked";
|
|
305
|
-
unavailable: "unavailable";
|
|
306
|
-
}>;
|
|
307
|
-
node: z.ZodOptional<z.ZodObject<{
|
|
308
|
-
runtimeNodeRefId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"runtime-node reference ID">, string>>;
|
|
309
|
-
location: z.ZodEnum<{
|
|
310
|
-
agent_hq_cloud: "agent_hq_cloud";
|
|
311
|
-
local_device: "local_device";
|
|
312
|
-
remote_host: "remote_host";
|
|
313
|
-
}>;
|
|
314
|
-
status: z.ZodEnum<{
|
|
315
|
-
offline: "offline";
|
|
316
|
-
online: "online";
|
|
317
|
-
revoked: "revoked";
|
|
318
|
-
}>;
|
|
319
|
-
health: z.ZodEnum<{
|
|
320
|
-
offline: "offline";
|
|
321
|
-
online: "online";
|
|
322
|
-
revoked: "revoked";
|
|
323
|
-
unknown: "unknown";
|
|
324
|
-
}>;
|
|
325
|
-
observedAt: z.ZodISODateTime;
|
|
326
|
-
}, z.core.$strip>>;
|
|
327
|
-
connection: z.ZodObject<{
|
|
328
|
-
status: z.ZodEnum<{
|
|
329
|
-
connected: "connected";
|
|
330
|
-
degraded: "degraded";
|
|
331
|
-
disconnected: "disconnected";
|
|
332
|
-
expired: "expired";
|
|
333
|
-
revoked: "revoked";
|
|
334
|
-
unavailable: "unavailable";
|
|
335
|
-
}>;
|
|
336
|
-
health: z.ZodEnum<{
|
|
337
|
-
degraded: "degraded";
|
|
338
|
-
healthy: "healthy";
|
|
339
|
-
unavailable: "unavailable";
|
|
340
|
-
}>;
|
|
341
|
-
availability: z.ZodEnum<{
|
|
342
|
-
degraded: "degraded";
|
|
343
|
-
healthy: "healthy";
|
|
344
|
-
incompatible: "incompatible";
|
|
345
|
-
offline: "offline";
|
|
346
|
-
reconnecting: "reconnecting";
|
|
347
|
-
revoked: "revoked";
|
|
348
|
-
stale: "stale";
|
|
349
|
-
unknown: "unknown";
|
|
350
|
-
}>;
|
|
351
|
-
}, z.core.$strip>;
|
|
352
|
-
freshness: z.ZodObject<{
|
|
353
|
-
state: z.ZodEnum<{
|
|
354
|
-
expired: "expired";
|
|
355
|
-
fresh: "fresh";
|
|
356
|
-
stale: "stale";
|
|
357
|
-
unknown: "unknown";
|
|
358
|
-
}>;
|
|
359
|
-
observedAt: z.ZodISODateTime;
|
|
360
|
-
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
361
|
-
}, z.core.$strip>;
|
|
362
|
-
versions: z.ZodObject<{
|
|
363
|
-
adapter: z.ZodString;
|
|
364
|
-
driver: z.ZodString;
|
|
365
|
-
harness: z.ZodString;
|
|
366
|
-
protocol: z.ZodOptional<z.ZodString>;
|
|
367
|
-
}, z.core.$strip>;
|
|
368
|
-
capabilities: z.ZodArray<z.ZodString>;
|
|
369
|
-
capabilityDetails: z.ZodArray<z.ZodObject<{
|
|
370
|
-
name: z.ZodString;
|
|
371
|
-
support: z.ZodEnum<{
|
|
372
|
-
degraded: "degraded";
|
|
373
|
-
supported: "supported";
|
|
374
|
-
unsupported: "unsupported";
|
|
375
|
-
}>;
|
|
376
|
-
limitations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
377
|
-
}, z.core.$strip>>;
|
|
378
|
-
compatibility: z.ZodObject<{
|
|
379
|
-
state: z.ZodEnum<{
|
|
380
|
-
capability_missing: "capability_missing";
|
|
381
|
-
compatible: "compatible";
|
|
382
|
-
degraded: "degraded";
|
|
383
|
-
deprecated: "deprecated";
|
|
384
|
-
incompatible: "incompatible";
|
|
385
|
-
revoked: "revoked";
|
|
386
|
-
unavailable: "unavailable";
|
|
387
|
-
untested: "untested";
|
|
388
|
-
}>;
|
|
389
|
-
limitations: z.ZodArray<z.ZodString>;
|
|
390
|
-
}, z.core.$strip>;
|
|
391
|
-
access: z.ZodObject<{
|
|
392
|
-
localProjectGrant: z.ZodObject<{
|
|
393
|
-
required: z.ZodBoolean;
|
|
394
|
-
state: z.ZodEnum<{
|
|
395
|
-
granted: "granted";
|
|
396
|
-
missing: "missing";
|
|
397
|
-
not_required: "not_required";
|
|
398
|
-
revoked: "revoked";
|
|
399
|
-
}>;
|
|
400
|
-
}, z.core.$strip>;
|
|
401
|
-
entitlement: z.ZodObject<{
|
|
402
|
-
state: z.ZodEnum<{
|
|
403
|
-
allowed: "allowed";
|
|
404
|
-
denied: "denied";
|
|
405
|
-
unknown: "unknown";
|
|
406
|
-
}>;
|
|
407
|
-
class: z.ZodOptional<z.ZodString>;
|
|
408
|
-
}, z.core.$strip>;
|
|
409
|
-
}, z.core.$strip>;
|
|
410
|
-
eligibility: z.ZodObject<{
|
|
411
|
-
state: z.ZodEnum<{
|
|
412
|
-
degraded: "degraded";
|
|
413
|
-
eligible: "eligible";
|
|
414
|
-
ineligible: "ineligible";
|
|
415
|
-
}>;
|
|
416
|
-
reasons: z.ZodArray<z.ZodString>;
|
|
417
|
-
degradations: z.ZodArray<z.ZodString>;
|
|
418
|
-
remediation: z.ZodArray<z.ZodObject<{
|
|
419
|
-
code: z.ZodString;
|
|
420
|
-
label: z.ZodString;
|
|
421
|
-
}, z.core.$strip>>;
|
|
422
|
-
}, z.core.$strip>;
|
|
423
|
-
observedAt: z.ZodISODateTime;
|
|
424
|
-
limitations: z.ZodArray<z.ZodString>;
|
|
425
|
-
}, z.core.$strip>>;
|
|
426
|
-
page: z.ZodObject<{
|
|
427
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
428
|
-
}, z.core.$strip>;
|
|
236
|
+
runtimeConnections: z.ZodArray<typeof RuntimeConnectionDiscoveryReadModelSchema>;
|
|
237
|
+
page: typeof PageSchema;
|
|
429
238
|
}, z.core.$strip>;
|
|
430
239
|
}, z.core.$strip>;
|
|
431
240
|
export declare const RuntimeConnectionGetResponseSchema: z.ZodObject<{
|
|
432
|
-
contractVersion:
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
}, z.core.$strict>;
|
|
436
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
437
|
-
correlation: z.ZodObject<{
|
|
438
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
439
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
440
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
441
|
-
}, z.core.$strip>;
|
|
241
|
+
contractVersion: typeof ContractVersionSchema;
|
|
242
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
243
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
442
244
|
data: z.ZodObject<{
|
|
443
245
|
runtimeConnection: z.ZodObject<{
|
|
444
|
-
runtimeConnectionId:
|
|
445
|
-
runtimeDefinitionId:
|
|
246
|
+
runtimeConnectionId: typeof IdentifierSchemas.runtimeConnectionId;
|
|
247
|
+
runtimeDefinitionId: typeof IdentifierSchemas.runtimeDefinitionId;
|
|
446
248
|
family: z.ZodString;
|
|
447
249
|
connectionType: z.ZodEnum<{
|
|
448
250
|
external_local: "external_local";
|
|
@@ -460,7 +262,7 @@ export declare const RuntimeConnectionGetResponseSchema: z.ZodObject<{
|
|
|
460
262
|
unavailable: "unavailable";
|
|
461
263
|
}>;
|
|
462
264
|
node: z.ZodOptional<z.ZodObject<{
|
|
463
|
-
runtimeNodeRefId:
|
|
265
|
+
runtimeNodeRefId: typeof IdentifierSchemas.runtimeNodeRefId;
|
|
464
266
|
location: z.ZodEnum<{
|
|
465
267
|
agent_hq_cloud: "agent_hq_cloud";
|
|
466
268
|
local_device: "local_device";
|
|
@@ -477,7 +279,7 @@ export declare const RuntimeConnectionGetResponseSchema: z.ZodObject<{
|
|
|
477
279
|
revoked: "revoked";
|
|
478
280
|
unknown: "unknown";
|
|
479
281
|
}>;
|
|
480
|
-
observedAt:
|
|
282
|
+
observedAt: typeof TimestampSchema;
|
|
481
283
|
}, z.core.$strip>>;
|
|
482
284
|
connection: z.ZodObject<{
|
|
483
285
|
status: z.ZodEnum<{
|
|
@@ -504,25 +306,16 @@ export declare const RuntimeConnectionGetResponseSchema: z.ZodObject<{
|
|
|
504
306
|
unknown: "unknown";
|
|
505
307
|
}>;
|
|
506
308
|
}, z.core.$strip>;
|
|
507
|
-
freshness:
|
|
508
|
-
state: z.ZodEnum<{
|
|
509
|
-
expired: "expired";
|
|
510
|
-
fresh: "fresh";
|
|
511
|
-
stale: "stale";
|
|
512
|
-
unknown: "unknown";
|
|
513
|
-
}>;
|
|
514
|
-
observedAt: z.ZodISODateTime;
|
|
515
|
-
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
516
|
-
}, z.core.$strip>;
|
|
309
|
+
freshness: typeof DiscoveryFreshnessSchema;
|
|
517
310
|
versions: z.ZodObject<{
|
|
518
|
-
adapter:
|
|
519
|
-
driver:
|
|
520
|
-
harness:
|
|
521
|
-
protocol: z.ZodOptional<
|
|
311
|
+
adapter: typeof SemanticVersionSchema;
|
|
312
|
+
driver: typeof SemanticVersionSchema;
|
|
313
|
+
harness: typeof SemanticVersionSchema;
|
|
314
|
+
protocol: z.ZodOptional<typeof SemanticVersionSchema>;
|
|
522
315
|
}, z.core.$strip>;
|
|
523
316
|
capabilities: z.ZodArray<z.ZodString>;
|
|
524
317
|
capabilityDetails: z.ZodArray<z.ZodObject<{
|
|
525
|
-
name:
|
|
318
|
+
name: typeof CapabilityNameSchema;
|
|
526
319
|
support: z.ZodEnum<{
|
|
527
320
|
degraded: "degraded";
|
|
528
321
|
supported: "supported";
|
|
@@ -541,7 +334,7 @@ export declare const RuntimeConnectionGetResponseSchema: z.ZodObject<{
|
|
|
541
334
|
unavailable: "unavailable";
|
|
542
335
|
untested: "untested";
|
|
543
336
|
}>;
|
|
544
|
-
limitations: z.ZodArray<
|
|
337
|
+
limitations: z.ZodArray<typeof DiagnosticCodeSchema>;
|
|
545
338
|
}, z.core.$strip>;
|
|
546
339
|
access: z.ZodObject<{
|
|
547
340
|
localProjectGrant: z.ZodObject<{
|
|
@@ -568,41 +361,32 @@ export declare const RuntimeConnectionGetResponseSchema: z.ZodObject<{
|
|
|
568
361
|
eligible: "eligible";
|
|
569
362
|
ineligible: "ineligible";
|
|
570
363
|
}>;
|
|
571
|
-
reasons: z.ZodArray<
|
|
572
|
-
degradations: z.ZodArray<
|
|
364
|
+
reasons: z.ZodArray<typeof DiagnosticCodeSchema>;
|
|
365
|
+
degradations: z.ZodArray<typeof DiagnosticCodeSchema>;
|
|
573
366
|
remediation: z.ZodArray<z.ZodObject<{
|
|
574
|
-
code:
|
|
367
|
+
code: typeof DiagnosticCodeSchema;
|
|
575
368
|
label: z.ZodString;
|
|
576
369
|
}, z.core.$strip>>;
|
|
577
370
|
}, z.core.$strip>;
|
|
578
|
-
observedAt:
|
|
579
|
-
limitations: z.ZodArray<
|
|
371
|
+
observedAt: typeof TimestampSchema;
|
|
372
|
+
limitations: z.ZodArray<typeof DiagnosticCodeSchema>;
|
|
580
373
|
}, z.core.$strip>;
|
|
581
374
|
}, z.core.$strip>;
|
|
582
375
|
}, z.core.$strip>;
|
|
583
376
|
export declare const ExternalSessionListRequestSchema: z.ZodObject<{
|
|
584
|
-
caller:
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
592
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
593
|
-
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
594
|
-
correlation: z.ZodObject<{
|
|
595
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
596
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
597
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
598
|
-
}, z.core.$strip>;
|
|
599
|
-
requestedAt: z.ZodISODateTime;
|
|
377
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
378
|
+
contractVersion: typeof ContractVersionSchema;
|
|
379
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
380
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
381
|
+
projectId: z.ZodOptional<typeof IdentifierSchemas.projectId>;
|
|
382
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
383
|
+
requestedAt: typeof TimestampSchema;
|
|
600
384
|
operation: z.ZodLiteral<"external-session.list">;
|
|
601
385
|
parameters: z.ZodObject<{
|
|
602
|
-
cursor: z.ZodOptional<
|
|
386
|
+
cursor: z.ZodOptional<typeof CursorSchema>;
|
|
603
387
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
604
|
-
runtimeConnectionId: z.ZodOptional<
|
|
605
|
-
runtimeNodeRefId: z.ZodOptional<
|
|
388
|
+
runtimeConnectionId: z.ZodOptional<typeof IdentifierSchemas.runtimeConnectionId>;
|
|
389
|
+
runtimeNodeRefId: z.ZodOptional<typeof IdentifierSchemas.runtimeNodeRefId>;
|
|
606
390
|
states: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
607
391
|
active: "active";
|
|
608
392
|
capability_changed: "capability_changed";
|
|
@@ -616,131 +400,37 @@ export declare const ExternalSessionListRequestSchema: z.ZodObject<{
|
|
|
616
400
|
}, z.core.$strip>;
|
|
617
401
|
}, z.core.$strip>;
|
|
618
402
|
export declare const ExternalSessionGetRequestSchema: z.ZodObject<{
|
|
619
|
-
caller:
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
627
|
-
workspaceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"workspace ID">, string>>;
|
|
628
|
-
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
629
|
-
correlation: z.ZodObject<{
|
|
630
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
631
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
632
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
633
|
-
}, z.core.$strip>;
|
|
634
|
-
requestedAt: z.ZodISODateTime;
|
|
403
|
+
caller: typeof ServiceCallerAssertionSchema;
|
|
404
|
+
contractVersion: typeof ContractVersionSchema;
|
|
405
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
406
|
+
workspaceId: typeof IdentifierSchemas.workspaceId;
|
|
407
|
+
projectId: z.ZodOptional<typeof IdentifierSchemas.projectId>;
|
|
408
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
409
|
+
requestedAt: typeof TimestampSchema;
|
|
635
410
|
operation: z.ZodLiteral<"external-session.get">;
|
|
636
411
|
parameters: z.ZodObject<{
|
|
637
|
-
externalSessionId:
|
|
638
|
-
runtimeNodeRefId: z.ZodOptional<
|
|
412
|
+
externalSessionId: typeof IdentifierSchemas.externalSessionId;
|
|
413
|
+
runtimeNodeRefId: z.ZodOptional<typeof IdentifierSchemas.runtimeNodeRefId>;
|
|
639
414
|
}, z.core.$strip>;
|
|
640
415
|
}, z.core.$strip>;
|
|
641
416
|
export declare const ExternalSessionListResponseSchema: z.ZodObject<{
|
|
642
|
-
contractVersion:
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
}, z.core.$strict>;
|
|
646
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
647
|
-
correlation: z.ZodObject<{
|
|
648
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
649
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
650
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
651
|
-
}, z.core.$strip>;
|
|
417
|
+
contractVersion: typeof ContractVersionSchema;
|
|
418
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
419
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
652
420
|
data: z.ZodObject<{
|
|
653
|
-
externalSessions: z.ZodArray<
|
|
654
|
-
|
|
655
|
-
runtimeConnectionId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"runtime-connection ID">, string>>;
|
|
656
|
-
projectId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"project ID">, string>>>;
|
|
657
|
-
state: z.ZodEnum<{
|
|
658
|
-
active: "active";
|
|
659
|
-
capability_changed: "capability_changed";
|
|
660
|
-
closed: "closed";
|
|
661
|
-
offline: "offline";
|
|
662
|
-
removed: "removed";
|
|
663
|
-
revoked: "revoked";
|
|
664
|
-
runtime_missing: "runtime_missing";
|
|
665
|
-
stale: "stale";
|
|
666
|
-
}>;
|
|
667
|
-
recoverable: z.ZodBoolean;
|
|
668
|
-
display: z.ZodObject<{
|
|
669
|
-
origin: z.ZodEnum<{
|
|
670
|
-
created_through_control_plane: "created_through_control_plane";
|
|
671
|
-
native_discovery: "native_discovery";
|
|
672
|
-
}>;
|
|
673
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
674
|
-
}, z.core.$strip>;
|
|
675
|
-
freshness: z.ZodObject<{
|
|
676
|
-
state: z.ZodEnum<{
|
|
677
|
-
expired: "expired";
|
|
678
|
-
fresh: "fresh";
|
|
679
|
-
stale: "stale";
|
|
680
|
-
unknown: "unknown";
|
|
681
|
-
}>;
|
|
682
|
-
observedAt: z.ZodISODateTime;
|
|
683
|
-
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
684
|
-
}, z.core.$strip>;
|
|
685
|
-
capabilitySummary: z.ZodObject<{
|
|
686
|
-
version: z.ZodNumber;
|
|
687
|
-
operations: z.ZodArray<z.ZodString>;
|
|
688
|
-
controls: z.ZodObject<{
|
|
689
|
-
reference: z.ZodUnion<readonly [z.ZodObject<{
|
|
690
|
-
available: z.ZodLiteral<true>;
|
|
691
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
692
|
-
available: z.ZodLiteral<false>;
|
|
693
|
-
reason: z.ZodString;
|
|
694
|
-
}, z.core.$strip>]>;
|
|
695
|
-
resume: z.ZodUnion<readonly [z.ZodObject<{
|
|
696
|
-
available: z.ZodLiteral<true>;
|
|
697
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
698
|
-
available: z.ZodLiteral<false>;
|
|
699
|
-
reason: z.ZodString;
|
|
700
|
-
}, z.core.$strip>]>;
|
|
701
|
-
load: z.ZodUnion<readonly [z.ZodObject<{
|
|
702
|
-
available: z.ZodLiteral<true>;
|
|
703
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
704
|
-
available: z.ZodLiteral<false>;
|
|
705
|
-
reason: z.ZodString;
|
|
706
|
-
}, z.core.$strip>]>;
|
|
707
|
-
close: z.ZodUnion<readonly [z.ZodObject<{
|
|
708
|
-
available: z.ZodLiteral<true>;
|
|
709
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
710
|
-
available: z.ZodLiteral<false>;
|
|
711
|
-
reason: z.ZodString;
|
|
712
|
-
}, z.core.$strip>]>;
|
|
713
|
-
history: z.ZodUnion<readonly [z.ZodObject<{
|
|
714
|
-
available: z.ZodLiteral<true>;
|
|
715
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
716
|
-
available: z.ZodLiteral<false>;
|
|
717
|
-
reason: z.ZodString;
|
|
718
|
-
}, z.core.$strip>]>;
|
|
719
|
-
}, z.core.$strip>;
|
|
720
|
-
}, z.core.$strip>;
|
|
721
|
-
limitations: z.ZodArray<z.ZodString>;
|
|
722
|
-
}, z.core.$strip>>;
|
|
723
|
-
page: z.ZodObject<{
|
|
724
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
725
|
-
}, z.core.$strip>;
|
|
421
|
+
externalSessions: z.ZodArray<typeof ExternalSessionDiscoveryReadModelSchema>;
|
|
422
|
+
page: typeof PageSchema;
|
|
726
423
|
}, z.core.$strip>;
|
|
727
424
|
}, z.core.$strip>;
|
|
728
425
|
export declare const ExternalSessionGetResponseSchema: z.ZodObject<{
|
|
729
|
-
contractVersion:
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
}, z.core.$strict>;
|
|
733
|
-
requestId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"request ID">, string>>;
|
|
734
|
-
correlation: z.ZodObject<{
|
|
735
|
-
traceId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"trace ID">, string>>;
|
|
736
|
-
causationCommandId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"command ID">, string>>>;
|
|
737
|
-
parentEventId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./identifiers.js").OpaqueIdentifier<"event ID">, string>>>;
|
|
738
|
-
}, z.core.$strip>;
|
|
426
|
+
contractVersion: typeof ContractVersionSchema;
|
|
427
|
+
requestId: typeof IdentifierSchemas.requestId;
|
|
428
|
+
correlation: typeof CorrelationMetadataSchema;
|
|
739
429
|
data: z.ZodObject<{
|
|
740
430
|
externalSession: z.ZodObject<{
|
|
741
|
-
externalSessionId:
|
|
742
|
-
runtimeConnectionId:
|
|
743
|
-
projectId: z.ZodOptional<
|
|
431
|
+
externalSessionId: typeof IdentifierSchemas.externalSessionId;
|
|
432
|
+
runtimeConnectionId: typeof IdentifierSchemas.runtimeConnectionId;
|
|
433
|
+
projectId: z.ZodOptional<typeof IdentifierSchemas.projectId>;
|
|
744
434
|
state: z.ZodEnum<{
|
|
745
435
|
active: "active";
|
|
746
436
|
capability_changed: "capability_changed";
|
|
@@ -759,53 +449,19 @@ export declare const ExternalSessionGetResponseSchema: z.ZodObject<{
|
|
|
759
449
|
}>;
|
|
760
450
|
displayName: z.ZodOptional<z.ZodString>;
|
|
761
451
|
}, z.core.$strip>;
|
|
762
|
-
freshness:
|
|
763
|
-
state: z.ZodEnum<{
|
|
764
|
-
expired: "expired";
|
|
765
|
-
fresh: "fresh";
|
|
766
|
-
stale: "stale";
|
|
767
|
-
unknown: "unknown";
|
|
768
|
-
}>;
|
|
769
|
-
observedAt: z.ZodISODateTime;
|
|
770
|
-
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
771
|
-
}, z.core.$strip>;
|
|
452
|
+
freshness: typeof DiscoveryFreshnessSchema;
|
|
772
453
|
capabilitySummary: z.ZodObject<{
|
|
773
454
|
version: z.ZodNumber;
|
|
774
455
|
operations: z.ZodArray<z.ZodString>;
|
|
775
456
|
controls: z.ZodObject<{
|
|
776
|
-
reference:
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
}, z.core.$strip>]>;
|
|
782
|
-
resume: z.ZodUnion<readonly [z.ZodObject<{
|
|
783
|
-
available: z.ZodLiteral<true>;
|
|
784
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
785
|
-
available: z.ZodLiteral<false>;
|
|
786
|
-
reason: z.ZodString;
|
|
787
|
-
}, z.core.$strip>]>;
|
|
788
|
-
load: z.ZodUnion<readonly [z.ZodObject<{
|
|
789
|
-
available: z.ZodLiteral<true>;
|
|
790
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
791
|
-
available: z.ZodLiteral<false>;
|
|
792
|
-
reason: z.ZodString;
|
|
793
|
-
}, z.core.$strip>]>;
|
|
794
|
-
close: z.ZodUnion<readonly [z.ZodObject<{
|
|
795
|
-
available: z.ZodLiteral<true>;
|
|
796
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
797
|
-
available: z.ZodLiteral<false>;
|
|
798
|
-
reason: z.ZodString;
|
|
799
|
-
}, z.core.$strip>]>;
|
|
800
|
-
history: z.ZodUnion<readonly [z.ZodObject<{
|
|
801
|
-
available: z.ZodLiteral<true>;
|
|
802
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
803
|
-
available: z.ZodLiteral<false>;
|
|
804
|
-
reason: z.ZodString;
|
|
805
|
-
}, z.core.$strip>]>;
|
|
457
|
+
reference: typeof OperationAvailabilitySchema;
|
|
458
|
+
resume: typeof OperationAvailabilitySchema;
|
|
459
|
+
load: typeof OperationAvailabilitySchema;
|
|
460
|
+
close: typeof OperationAvailabilitySchema;
|
|
461
|
+
history: typeof OperationAvailabilitySchema;
|
|
806
462
|
}, z.core.$strip>;
|
|
807
463
|
}, z.core.$strip>;
|
|
808
|
-
limitations: z.ZodArray<
|
|
464
|
+
limitations: z.ZodArray<typeof DiagnosticCodeSchema>;
|
|
809
465
|
}, z.core.$strip>;
|
|
810
466
|
}, z.core.$strip>;
|
|
811
467
|
}, z.core.$strip>;
|
|
@@ -819,4 +475,4 @@ export type ExternalSessionListRequest = z.input<typeof ExternalSessionListReque
|
|
|
819
475
|
export type ExternalSessionListResponse = z.output<typeof ExternalSessionListResponseSchema>;
|
|
820
476
|
export type ExternalSessionGetRequest = z.input<typeof ExternalSessionGetRequestSchema>;
|
|
821
477
|
export type ExternalSessionGetResponse = z.output<typeof ExternalSessionGetResponseSchema>;
|
|
822
|
-
|
|
478
|
+
export {};
|