@nativestudio/cli 0.3.0-rc.15 → 0.3.0-rc.17
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/COMPATIBILITY.json +8 -8
- package/components/runtime.json +4 -4
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-3KBIDTXT.js +1 -0
- package/dist/_chunks/{chunk-ZADAXKKY.js → chunk-4IFMG2ZS.js} +1 -1
- package/dist/_chunks/chunk-4NJIT52T.js +1 -0
- package/dist/_chunks/{chunk-NPDLPC5B.js → chunk-53EULX5D.js} +1 -1
- package/dist/_chunks/{chunk-I5KYSPUJ.js → chunk-65X56WAQ.js} +1 -1
- package/dist/_chunks/{chunk-BX2SNMA4.js → chunk-744IEPTK.js} +1 -1
- package/dist/_chunks/{chunk-CFZNDURD.js → chunk-BR26X3ZF.js} +1 -1
- package/dist/_chunks/chunk-C7CSZFV6.js +1 -0
- package/dist/_chunks/chunk-CW67UB2I.js +1 -0
- package/dist/_chunks/{chunk-O47YYPL7.js → chunk-GKDGSAI5.js} +1 -1
- package/dist/_chunks/{chunk-6UYY5KHI.js → chunk-HAOCQVMU.js} +1 -1
- package/dist/_chunks/{chunk-BBTZJB2G.js → chunk-HI5SIUX7.js} +1 -1
- package/dist/_chunks/{chunk-OVIR77ET.js → chunk-IHTF6VEC.js} +1 -1
- package/dist/_chunks/chunk-K25YVVTT.js +1 -0
- package/dist/_chunks/{chunk-ZOODOQBH.js → chunk-KYNC2BSW.js} +1 -1
- package/dist/_chunks/{chunk-TTB7CYC5.js → chunk-ORFGJBJA.js} +1 -1
- package/dist/_chunks/chunk-SDTAJ7FI.js +1 -0
- package/dist/_chunks/{chunk-AAGFHT2D.js → chunk-TWC3NXFA.js} +1 -1
- package/dist/_chunks/{chunk-PB2HLRXG.js → chunk-UGOXJEDU.js} +1 -1
- package/dist/_chunks/{chunk-SAPEOZ2V.js → chunk-UMCOLDHH.js} +1 -1
- package/dist/_chunks/{connect-RIODOO3C.js → connect-OY623MMA.js} +1 -1
- package/dist/_chunks/{device-management-VECG3RA4.js → device-management-CXSZFF53.js} +1 -1
- package/dist/_chunks/device-preflight-6HKPPZ5L.js +1 -0
- package/dist/_chunks/{devices-inventory-E6TE4H7T.js → devices-inventory-K553HAF3.js} +1 -1
- package/dist/_chunks/{devices-main-7JHMJNGV.js → devices-main-LBDRDV2M.js} +1 -1
- package/dist/_chunks/host-main-ZMBFHY55.js +1 -0
- package/dist/_chunks/http-profile-D65WSTZU.js +1 -0
- package/dist/_chunks/{library-main-AWUEMZFQ.js → library-main-RNDPNKYK.js} +1 -1
- package/dist/_chunks/{local-main-BNFNAPRG.js → local-main-RC4RM3OB.js} +1 -1
- package/dist/_chunks/{local-mcp-HU6MII3G.js → local-mcp-LQCQ3WLF.js} +1 -1
- package/dist/_chunks/{main-BSMCHALI.js → main-CPIMF4PS.js} +2 -2
- package/dist/_chunks/mcp-HQQJCKHS.js +1 -0
- package/dist/_chunks/{observe-entry-D7F6OQ7Y.js → observe-entry-4GPGZ3NJ.js} +1 -1
- package/dist/_chunks/remote-client-6XHMNMXK.js +1 -0
- package/dist/_chunks/{render-main-O3IN6EFV.js → render-main-ATCEBECW.js} +1 -1
- package/dist/_chunks/{source-import-Y2Z3BVWY.js → source-import-HIL7NW3L.js} +1 -1
- package/dist/_chunks/src-MRFJOTKK.js +1 -0
- package/dist/_chunks/stdio-main-T4ORVLSX.js +1 -0
- package/dist/_chunks/workspace-main-44ECTGHC.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +13 -13
- package/dist/_types/cli/local/desktop-device-contract.d.ts +3 -3
- package/dist/_types/cli/local/desktop-device-owner.d.ts +1 -1
- package/dist/_types/cli/local/desktop-device-state.d.ts +2 -2
- package/dist/_types/cli/local/desktop-library.d.ts +1 -1
- package/dist/_types/cli/local/desktop-owner.d.ts +3 -3
- package/dist/_types/cli/local/manager.d.ts +2 -2
- package/dist/_types/cli/local/mcp-tools.d.ts +2 -2
- package/dist/_types/cli/local-management.d.ts +1 -1
- package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
- package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
- package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
- package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
- package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
- package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
- package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
- package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
- package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
- package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
- package/dist/_types/contracts/agent-host.d.ts +126 -65
- package/dist/_types/contracts/artifact-discovery.d.ts +16 -16
- package/dist/_types/contracts/composition-observation.d.ts +1 -1
- package/dist/_types/contracts/delivery-operations.d.ts +1 -1
- package/dist/_types/contracts/delivery-summary.d.ts +1 -1
- package/dist/_types/contracts/device-onboarding.d.ts +35 -0
- package/dist/_types/contracts/device-render.d.ts +32 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +2 -2
- package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
- package/dist/_types/contracts/federation-event-link.d.ts +485 -0
- package/dist/_types/contracts/federation-result.d.ts +239 -0
- package/dist/_types/contracts/final-ready.d.ts +2 -2
- package/dist/_types/contracts/final-render.d.ts +2 -2
- package/dist/_types/contracts/index.d.ts +7 -0
- package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
- package/dist/_types/contracts/interface/production-snapshot.d.ts +5 -5
- package/dist/_types/contracts/keyframe-generation.d.ts +2 -2
- package/dist/_types/contracts/keyframe-review.d.ts +1 -1
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +2 -2
- package/dist/_types/contracts/lifecycle-events.d.ts +2 -2
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +34 -2
- package/dist/_types/contracts/local-execution/index.d.ts +1 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +6 -6
- package/dist/_types/contracts/local-execution/library.d.ts +2 -2
- package/dist/_types/contracts/local-execution/processor.d.ts +7 -7
- package/dist/_types/contracts/local-execution/workspace.d.ts +1 -1
- package/dist/_types/contracts/mcp-capabilities.d.ts +15 -0
- package/dist/_types/contracts/media-observation.d.ts +3 -3
- package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
- package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
- package/dist/_types/contracts/navigation-context.d.ts +25 -6
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +17 -5
- package/dist/_types/contracts/repair-strategy.d.ts +1 -1
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +1 -1
- package/dist/_types/contracts/rough-cut.d.ts +1 -1
- package/dist/_types/contracts/shares.d.ts +19 -19
- package/dist/_types/contracts/speech.d.ts +5 -5
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +2 -2
- package/dist/_types/contracts/video-review.d.ts +1 -1
- package/dist/_types/contracts/visual-exploration.d.ts +2 -2
- package/dist/_types/contracts/voice-profile/contracts.d.ts +4 -4
- package/dist/_types/sdk/local-runtime/workspace.d.ts +4 -4
- package/dist/_types/sdk/local-runtime-client.d.ts +3 -3
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/package.json +1 -1
- package/dist/_chunks/chunk-5UJEP7FY.js +0 -1
- package/dist/_chunks/chunk-H6EZKOYR.js +0 -1
- package/dist/_chunks/chunk-NQVUVPW5.js +0 -1
- package/dist/_chunks/chunk-PDQYFIQQ.js +0 -1
- package/dist/_chunks/chunk-VOGKKZQH.js +0 -1
- package/dist/_chunks/chunk-YV447AB5.js +0 -1
- package/dist/_chunks/device-preflight-73KVSHZG.js +0 -1
- package/dist/_chunks/host-main-KDORT44Q.js +0 -1
- package/dist/_chunks/http-profile-QINBH2FP.js +0 -1
- package/dist/_chunks/mcp-3VZZFXNG.js +0 -1
- package/dist/_chunks/remote-client-XIJ6RQLU.js +0 -1
- package/dist/_chunks/src-3S6CAUSJ.js +0 -1
- package/dist/_chunks/stdio-main-T4WMBNKB.js +0 -1
- package/dist/_chunks/workspace-main-KWFTVTZG.js +0 -1
|
@@ -98,7 +98,7 @@ export type AgentExecutionOperation = keyof typeof AgentExecutionPayloadSchemas;
|
|
|
98
98
|
export declare const AgentExecutionRequestSchemas: {
|
|
99
99
|
identity: z.ZodObject<{
|
|
100
100
|
protocolVersion: z.ZodLiteral<1>;
|
|
101
|
-
contractDigest: z.ZodLiteral<"
|
|
101
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
102
102
|
capabilityDigest: z.ZodString;
|
|
103
103
|
requestId: z.ZodUUID;
|
|
104
104
|
clientId: z.ZodUUID;
|
|
@@ -111,7 +111,7 @@ export declare const AgentExecutionRequestSchemas: {
|
|
|
111
111
|
}, z.core.$strict>;
|
|
112
112
|
bind: z.ZodObject<{
|
|
113
113
|
protocolVersion: z.ZodLiteral<1>;
|
|
114
|
-
contractDigest: z.ZodLiteral<"
|
|
114
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
115
115
|
capabilityDigest: z.ZodString;
|
|
116
116
|
requestId: z.ZodUUID;
|
|
117
117
|
clientId: z.ZodUUID;
|
|
@@ -132,7 +132,7 @@ export declare const AgentExecutionRequestSchemas: {
|
|
|
132
132
|
}, z.core.$strict>;
|
|
133
133
|
bindingQuery: z.ZodObject<{
|
|
134
134
|
protocolVersion: z.ZodLiteral<1>;
|
|
135
|
-
contractDigest: z.ZodLiteral<"
|
|
135
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
136
136
|
capabilityDigest: z.ZodString;
|
|
137
137
|
requestId: z.ZodUUID;
|
|
138
138
|
clientId: z.ZodUUID;
|
|
@@ -149,7 +149,7 @@ export declare const AgentExecutionRequestSchemas: {
|
|
|
149
149
|
}, z.core.$strict>;
|
|
150
150
|
access: z.ZodObject<{
|
|
151
151
|
protocolVersion: z.ZodLiteral<1>;
|
|
152
|
-
contractDigest: z.ZodLiteral<"
|
|
152
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
153
153
|
capabilityDigest: z.ZodString;
|
|
154
154
|
requestId: z.ZodUUID;
|
|
155
155
|
clientId: z.ZodUUID;
|
|
@@ -166,7 +166,7 @@ export declare const AgentExecutionRequestSchemas: {
|
|
|
166
166
|
}, z.core.$strict>;
|
|
167
167
|
accessQuery: z.ZodObject<{
|
|
168
168
|
protocolVersion: z.ZodLiteral<1>;
|
|
169
|
-
contractDigest: z.ZodLiteral<"
|
|
169
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
170
170
|
capabilityDigest: z.ZodString;
|
|
171
171
|
requestId: z.ZodUUID;
|
|
172
172
|
clientId: z.ZodUUID;
|
|
@@ -183,7 +183,7 @@ export declare const AgentExecutionRequestSchemas: {
|
|
|
183
183
|
}, z.core.$strict>;
|
|
184
184
|
leaseRenew: z.ZodObject<{
|
|
185
185
|
protocolVersion: z.ZodLiteral<1>;
|
|
186
|
-
contractDigest: z.ZodLiteral<"
|
|
186
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
187
187
|
capabilityDigest: z.ZodString;
|
|
188
188
|
requestId: z.ZodUUID;
|
|
189
189
|
clientId: z.ZodUUID;
|
|
@@ -200,7 +200,7 @@ export declare const AgentExecutionRequestSchemas: {
|
|
|
200
200
|
}, z.core.$strict>;
|
|
201
201
|
leaseQuery: z.ZodObject<{
|
|
202
202
|
protocolVersion: z.ZodLiteral<1>;
|
|
203
|
-
contractDigest: z.ZodLiteral<"
|
|
203
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
204
204
|
capabilityDigest: z.ZodString;
|
|
205
205
|
requestId: z.ZodUUID;
|
|
206
206
|
clientId: z.ZodUUID;
|
|
@@ -217,7 +217,7 @@ export declare const AgentExecutionRequestSchemas: {
|
|
|
217
217
|
}, z.core.$strict>;
|
|
218
218
|
close: z.ZodObject<{
|
|
219
219
|
protocolVersion: z.ZodLiteral<1>;
|
|
220
|
-
contractDigest: z.ZodLiteral<"
|
|
220
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
221
221
|
capabilityDigest: z.ZodString;
|
|
222
222
|
requestId: z.ZodUUID;
|
|
223
223
|
clientId: z.ZodUUID;
|
|
@@ -249,21 +249,24 @@ export type AgentExecutionOperationInput = {
|
|
|
249
249
|
export declare const AgentExecutionQualificationSchema: z.ZodObject<{
|
|
250
250
|
protocol: z.ZodLiteral<"NVS_GENERIC_EXECUTION_QUALIFICATION_V1">;
|
|
251
251
|
transport: z.ZodObject<{
|
|
252
|
-
protocol: z.ZodLiteral<"
|
|
252
|
+
protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
|
|
253
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
253
254
|
installationId: z.ZodString;
|
|
254
255
|
installationRevisionId: z.ZodString;
|
|
255
256
|
slotKey: z.ZodString;
|
|
256
|
-
contractDigest: z.ZodLiteral<"
|
|
257
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
257
258
|
capabilityDigest: z.ZodString;
|
|
258
259
|
}, z.core.$strict>;
|
|
259
260
|
selection: z.ZodObject<{
|
|
260
|
-
hostKey: z.ZodString;
|
|
261
|
-
tenantKey: z.ZodString;
|
|
262
|
-
workspaceKey: z.ZodString;
|
|
263
|
-
projectKey: z.ZodString;
|
|
264
261
|
agentKey: z.ZodString;
|
|
265
|
-
agentVersion: z.
|
|
262
|
+
agentVersion: z.ZodString;
|
|
266
263
|
modelOptionKey: z.ZodString;
|
|
264
|
+
contractVersion: z.ZodLiteral<2>;
|
|
265
|
+
hostKey: z.ZodString;
|
|
266
|
+
hostScope: z.ZodObject<{
|
|
267
|
+
namespace: z.ZodString;
|
|
268
|
+
ref: z.ZodString;
|
|
269
|
+
}, z.core.$strict>;
|
|
267
270
|
}, z.core.$strict>;
|
|
268
271
|
checkedAt: z.ZodISODateTime;
|
|
269
272
|
executionClass: z.ZodEnum<{
|
|
@@ -290,19 +293,22 @@ export declare const AgentExecutionPermitSchema: z.ZodObject<{
|
|
|
290
293
|
LIVE: "LIVE";
|
|
291
294
|
TEST_ONLY: "TEST_ONLY";
|
|
292
295
|
}>;
|
|
293
|
-
transport: z.ZodOptional<z.
|
|
294
|
-
protocol: z.ZodLiteral<"
|
|
296
|
+
transport: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
297
|
+
protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
|
|
298
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
295
299
|
installationId: z.ZodString;
|
|
296
300
|
installationRevisionId: z.ZodString;
|
|
297
301
|
slotKey: z.ZodString;
|
|
302
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
303
|
+
capabilityDigest: z.ZodString;
|
|
298
304
|
}, z.core.$strict>, z.ZodObject<{
|
|
299
|
-
protocol: z.
|
|
305
|
+
protocol: z.ZodString;
|
|
300
306
|
installationId: z.ZodString;
|
|
301
307
|
installationRevisionId: z.ZodString;
|
|
302
308
|
slotKey: z.ZodString;
|
|
303
|
-
contractDigest: z.
|
|
304
|
-
capabilityDigest: z.ZodString
|
|
305
|
-
}, z.core.$strict>]
|
|
309
|
+
contractDigest: z.ZodOptional<z.ZodString>;
|
|
310
|
+
capabilityDigest: z.ZodOptional<z.ZodString>;
|
|
311
|
+
}, z.core.$strict>]>>;
|
|
306
312
|
}, z.core.$strict>;
|
|
307
313
|
input: z.ZodObject<{
|
|
308
314
|
tenantId: z.ZodUUID;
|
|
@@ -361,8 +367,8 @@ export declare const AgentExecutionPermitSchema: z.ZodObject<{
|
|
|
361
367
|
instructions: z.ZodString;
|
|
362
368
|
}, z.core.$strict>;
|
|
363
369
|
registration: z.ZodObject<{
|
|
364
|
-
tenantId: z.
|
|
365
|
-
projectId: z.
|
|
370
|
+
tenantId: z.ZodUUID;
|
|
371
|
+
projectId: z.ZodUUID;
|
|
366
372
|
clientId: z.ZodUUID;
|
|
367
373
|
schemaVersion: z.ZodLiteral<1>;
|
|
368
374
|
revision: z.ZodInt;
|
|
@@ -371,13 +377,13 @@ export declare const AgentExecutionPermitSchema: z.ZodObject<{
|
|
|
371
377
|
bindingRevision: z.ZodInt;
|
|
372
378
|
configurationVersion: z.ZodInt;
|
|
373
379
|
profile: z.ZodObject<{
|
|
374
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
380
|
+
schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
375
381
|
profileKey: z.ZodString;
|
|
376
382
|
revision: z.ZodInt;
|
|
377
383
|
capabilities: z.ZodObject<{
|
|
378
384
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
379
385
|
protocolVersion: z.ZodLiteral<1>;
|
|
380
|
-
contractDigest: z.
|
|
386
|
+
contractDigest: z.ZodString;
|
|
381
387
|
issuer: z.ZodURL;
|
|
382
388
|
resource: z.ZodURL;
|
|
383
389
|
endpoints: z.ZodObject<{
|
|
@@ -433,7 +439,7 @@ export declare const AgentExecutionPermitSchema: z.ZodObject<{
|
|
|
433
439
|
keyId: z.ZodString;
|
|
434
440
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
435
441
|
protocolVersion: z.ZodLiteral<1>;
|
|
436
|
-
contractDigest: z.
|
|
442
|
+
contractDigest: z.ZodString;
|
|
437
443
|
capabilityDigest: z.ZodString;
|
|
438
444
|
}, z.core.$strict>;
|
|
439
445
|
approvedByPrincipalId: z.ZodUUID;
|
|
@@ -453,21 +459,24 @@ export declare const AgentExecutionPermitSchema: z.ZodObject<{
|
|
|
453
459
|
qualification: z.ZodObject<{
|
|
454
460
|
protocol: z.ZodLiteral<"NVS_GENERIC_EXECUTION_QUALIFICATION_V1">;
|
|
455
461
|
transport: z.ZodObject<{
|
|
456
|
-
protocol: z.ZodLiteral<"
|
|
462
|
+
protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
|
|
463
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
457
464
|
installationId: z.ZodString;
|
|
458
465
|
installationRevisionId: z.ZodString;
|
|
459
466
|
slotKey: z.ZodString;
|
|
460
|
-
contractDigest: z.ZodLiteral<"
|
|
467
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
461
468
|
capabilityDigest: z.ZodString;
|
|
462
469
|
}, z.core.$strict>;
|
|
463
470
|
selection: z.ZodObject<{
|
|
464
|
-
hostKey: z.ZodString;
|
|
465
|
-
tenantKey: z.ZodString;
|
|
466
|
-
workspaceKey: z.ZodString;
|
|
467
|
-
projectKey: z.ZodString;
|
|
468
471
|
agentKey: z.ZodString;
|
|
469
|
-
agentVersion: z.
|
|
472
|
+
agentVersion: z.ZodString;
|
|
470
473
|
modelOptionKey: z.ZodString;
|
|
474
|
+
contractVersion: z.ZodLiteral<2>;
|
|
475
|
+
hostKey: z.ZodString;
|
|
476
|
+
hostScope: z.ZodObject<{
|
|
477
|
+
namespace: z.ZodString;
|
|
478
|
+
ref: z.ZodString;
|
|
479
|
+
}, z.core.$strict>;
|
|
471
480
|
}, z.core.$strict>;
|
|
472
481
|
checkedAt: z.ZodISODateTime;
|
|
473
482
|
executionClass: z.ZodEnum<{
|
|
@@ -486,7 +495,7 @@ export type AgentExecutionAccessMetadata = z.infer<typeof AgentExecutionAccessMe
|
|
|
486
495
|
export declare const AgentExecutionBindingSchema: z.ZodObject<{
|
|
487
496
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
488
497
|
protocolVersion: z.ZodLiteral<1>;
|
|
489
|
-
contractDigest: z.ZodLiteral<"
|
|
498
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
490
499
|
capabilityDigest: z.ZodString;
|
|
491
500
|
issuer: z.ZodURL;
|
|
492
501
|
resource: z.ZodURL;
|
|
@@ -510,7 +519,7 @@ export declare const AgentExecutionBindingSchema: z.ZodObject<{
|
|
|
510
519
|
keyId: z.ZodString;
|
|
511
520
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
512
521
|
protocolVersion: z.ZodLiteral<1>;
|
|
513
|
-
contractDigest: z.
|
|
522
|
+
contractDigest: z.ZodString;
|
|
514
523
|
capabilityDigest: z.ZodString;
|
|
515
524
|
}, z.core.$strict>;
|
|
516
525
|
grant: z.ZodObject<{
|
|
@@ -569,7 +578,7 @@ export declare const AgentExecutionInstallationObservationSchema: z.ZodObject<{
|
|
|
569
578
|
binding: z.ZodObject<{
|
|
570
579
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
571
580
|
protocolVersion: z.ZodLiteral<1>;
|
|
572
|
-
contractDigest: z.ZodLiteral<"
|
|
581
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
573
582
|
capabilityDigest: z.ZodString;
|
|
574
583
|
issuer: z.ZodURL;
|
|
575
584
|
resource: z.ZodURL;
|
|
@@ -593,7 +602,7 @@ export declare const AgentExecutionInstallationObservationSchema: z.ZodObject<{
|
|
|
593
602
|
keyId: z.ZodString;
|
|
594
603
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
595
604
|
protocolVersion: z.ZodLiteral<1>;
|
|
596
|
-
contractDigest: z.
|
|
605
|
+
contractDigest: z.ZodString;
|
|
597
606
|
capabilityDigest: z.ZodString;
|
|
598
607
|
}, z.core.$strict>;
|
|
599
608
|
grant: z.ZodObject<{
|
|
@@ -731,19 +740,22 @@ export declare const AgentExecutionBootstrapInputSchema: z.ZodObject<{
|
|
|
731
740
|
LIVE: "LIVE";
|
|
732
741
|
TEST_ONLY: "TEST_ONLY";
|
|
733
742
|
}>;
|
|
734
|
-
transport: z.ZodOptional<z.
|
|
735
|
-
protocol: z.ZodLiteral<"
|
|
743
|
+
transport: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
744
|
+
protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
|
|
745
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
736
746
|
installationId: z.ZodString;
|
|
737
747
|
installationRevisionId: z.ZodString;
|
|
738
748
|
slotKey: z.ZodString;
|
|
749
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
750
|
+
capabilityDigest: z.ZodString;
|
|
739
751
|
}, z.core.$strict>, z.ZodObject<{
|
|
740
|
-
protocol: z.
|
|
752
|
+
protocol: z.ZodString;
|
|
741
753
|
installationId: z.ZodString;
|
|
742
754
|
installationRevisionId: z.ZodString;
|
|
743
755
|
slotKey: z.ZodString;
|
|
744
|
-
contractDigest: z.
|
|
745
|
-
capabilityDigest: z.ZodString
|
|
746
|
-
}, z.core.$strict>]
|
|
756
|
+
contractDigest: z.ZodOptional<z.ZodString>;
|
|
757
|
+
capabilityDigest: z.ZodOptional<z.ZodString>;
|
|
758
|
+
}, z.core.$strict>]>>;
|
|
747
759
|
}, z.core.$strict>;
|
|
748
760
|
}, z.core.$strict>;
|
|
749
761
|
}, z.core.$strict>;
|
|
@@ -10,8 +10,8 @@ export declare const AgentExecutionConsentSchema: z.ZodObject<{
|
|
|
10
10
|
code_challenge_method: z.ZodLiteral<"S256">;
|
|
11
11
|
}, z.core.$strict>;
|
|
12
12
|
export declare const ApproveAgentExecutionConsentSchema: z.ZodObject<{
|
|
13
|
-
tenantId: z.
|
|
14
|
-
projectId: z.
|
|
13
|
+
tenantId: z.ZodUUID;
|
|
14
|
+
projectId: z.ZodUUID;
|
|
15
15
|
profileKey: z.ZodString;
|
|
16
16
|
requestId: z.ZodUUID;
|
|
17
17
|
consent: z.ZodObject<{
|
|
@@ -11,7 +11,7 @@ export declare const AgentExecutionLimitsSchema: z.ZodObject<{
|
|
|
11
11
|
export declare const AgentExecutionCapabilitiesSchema: z.ZodObject<{
|
|
12
12
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
13
13
|
protocolVersion: z.ZodLiteral<1>;
|
|
14
|
-
contractDigest: z.
|
|
14
|
+
contractDigest: z.ZodString;
|
|
15
15
|
issuer: z.ZodURL;
|
|
16
16
|
resource: z.ZodURL;
|
|
17
17
|
endpoints: z.ZodObject<{
|
|
@@ -52,13 +52,13 @@ export declare const AgentExecutionDescriptorSchema: z.ZodObject<{
|
|
|
52
52
|
}, z.core.$strict>;
|
|
53
53
|
}, z.core.$strict>;
|
|
54
54
|
export declare const AgentExecutionProfileSchema: z.ZodObject<{
|
|
55
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
55
|
+
schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
56
56
|
profileKey: z.ZodString;
|
|
57
57
|
revision: z.ZodInt;
|
|
58
58
|
capabilities: z.ZodObject<{
|
|
59
59
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
60
60
|
protocolVersion: z.ZodLiteral<1>;
|
|
61
|
-
contractDigest: z.
|
|
61
|
+
contractDigest: z.ZodString;
|
|
62
62
|
issuer: z.ZodURL;
|
|
63
63
|
resource: z.ZodURL;
|
|
64
64
|
endpoints: z.ZodObject<{
|
|
@@ -95,6 +95,50 @@ export declare const AgentExecutionProfileSchema: z.ZodObject<{
|
|
|
95
95
|
argumentsMode: z.ZodLiteral<"task-input">;
|
|
96
96
|
}, z.core.$strict>;
|
|
97
97
|
}, z.core.$strict>;
|
|
98
|
+
export declare const CurrentAgentExecutionProfileSchema: z.ZodObject<{
|
|
99
|
+
profileKey: z.ZodString;
|
|
100
|
+
revision: z.ZodInt;
|
|
101
|
+
capabilityDigest: z.ZodString;
|
|
102
|
+
nativeToolCapabilityDigest: z.ZodString;
|
|
103
|
+
redirectOrigins: z.ZodArray<z.ZodURL>;
|
|
104
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
105
|
+
bootstrap: z.ZodObject<{
|
|
106
|
+
slotKey: z.ZodString;
|
|
107
|
+
entryTool: z.ZodString;
|
|
108
|
+
argumentsMode: z.ZodLiteral<"task-input">;
|
|
109
|
+
}, z.core.$strict>;
|
|
110
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
111
|
+
capabilities: z.ZodObject<{
|
|
112
|
+
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
113
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
114
|
+
issuer: z.ZodURL;
|
|
115
|
+
resource: z.ZodURL;
|
|
116
|
+
endpoints: z.ZodObject<{
|
|
117
|
+
capabilities: z.ZodURL;
|
|
118
|
+
authorize: z.ZodURL;
|
|
119
|
+
token: z.ZodURL;
|
|
120
|
+
identity: z.ZodURL;
|
|
121
|
+
bind: z.ZodURL;
|
|
122
|
+
bindingQuery: z.ZodURL;
|
|
123
|
+
access: z.ZodURL;
|
|
124
|
+
accessQuery: z.ZodURL;
|
|
125
|
+
leaseRenew: z.ZodURL;
|
|
126
|
+
leaseQuery: z.ZodURL;
|
|
127
|
+
close: z.ZodURL;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
supportedProfiles: z.ZodTuple<[z.ZodLiteral<"stateless-json-v1">], null>;
|
|
130
|
+
limits: z.ZodObject<{
|
|
131
|
+
grantMaxSeconds: z.ZodInt;
|
|
132
|
+
executionMaxSeconds: z.ZodInt;
|
|
133
|
+
leaseMaxSeconds: z.ZodInt;
|
|
134
|
+
renewWindowSeconds: z.ZodInt;
|
|
135
|
+
renewBeforeSeconds: z.ZodInt;
|
|
136
|
+
assertionSeconds: z.ZodLiteral<60>;
|
|
137
|
+
clockSkewSeconds: z.ZodLiteral<5>;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
140
|
+
}, z.core.$strict>;
|
|
141
|
+
}, z.core.$strict>;
|
|
98
142
|
export declare const AgentExecutionRegistrationSchema: z.ZodObject<{
|
|
99
143
|
schemaVersion: z.ZodLiteral<1>;
|
|
100
144
|
runtimeKey: z.ZodString;
|
|
@@ -114,12 +158,12 @@ export declare const AgentExecutionRegistrationSchema: z.ZodObject<{
|
|
|
114
158
|
keyId: z.ZodString;
|
|
115
159
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
116
160
|
protocolVersion: z.ZodLiteral<1>;
|
|
117
|
-
contractDigest: z.
|
|
161
|
+
contractDigest: z.ZodString;
|
|
118
162
|
capabilityDigest: z.ZodString;
|
|
119
163
|
}, z.core.$strict>;
|
|
120
164
|
export declare const ApproveAgentExecutionRegistrationSchema: z.ZodObject<{
|
|
121
|
-
tenantId: z.
|
|
122
|
-
projectId: z.
|
|
165
|
+
tenantId: z.ZodUUID;
|
|
166
|
+
projectId: z.ZodUUID;
|
|
123
167
|
requestId: z.ZodUUID;
|
|
124
168
|
bindingId: z.ZodUUID;
|
|
125
169
|
expectedBindingRevision: z.ZodInt;
|
|
@@ -141,20 +185,20 @@ export declare const ApproveAgentExecutionRegistrationSchema: z.ZodObject<{
|
|
|
141
185
|
}, z.core.$strict>;
|
|
142
186
|
}, z.core.$strict>;
|
|
143
187
|
export declare const AgentExecutionRegistrationGetSchema: z.ZodObject<{
|
|
144
|
-
tenantId: z.
|
|
145
|
-
projectId: z.
|
|
188
|
+
tenantId: z.ZodUUID;
|
|
189
|
+
projectId: z.ZodUUID;
|
|
146
190
|
clientId: z.ZodUUID;
|
|
147
191
|
}, z.core.$strict>;
|
|
148
192
|
export declare const RevokeAgentExecutionRegistrationSchema: z.ZodObject<{
|
|
149
|
-
tenantId: z.
|
|
150
|
-
projectId: z.
|
|
193
|
+
tenantId: z.ZodUUID;
|
|
194
|
+
projectId: z.ZodUUID;
|
|
151
195
|
clientId: z.ZodUUID;
|
|
152
196
|
requestId: z.ZodUUID;
|
|
153
197
|
expectedRevision: z.ZodInt;
|
|
154
198
|
}, z.core.$strict>;
|
|
155
199
|
export declare const AgentExecutionRegistrationViewSchema: z.ZodObject<{
|
|
156
|
-
tenantId: z.
|
|
157
|
-
projectId: z.
|
|
200
|
+
tenantId: z.ZodUUID;
|
|
201
|
+
projectId: z.ZodUUID;
|
|
158
202
|
clientId: z.ZodUUID;
|
|
159
203
|
schemaVersion: z.ZodLiteral<1>;
|
|
160
204
|
revision: z.ZodInt;
|
|
@@ -163,13 +207,13 @@ export declare const AgentExecutionRegistrationViewSchema: z.ZodObject<{
|
|
|
163
207
|
bindingRevision: z.ZodInt;
|
|
164
208
|
configurationVersion: z.ZodInt;
|
|
165
209
|
profile: z.ZodObject<{
|
|
166
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
210
|
+
schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
167
211
|
profileKey: z.ZodString;
|
|
168
212
|
revision: z.ZodInt;
|
|
169
213
|
capabilities: z.ZodObject<{
|
|
170
214
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
171
215
|
protocolVersion: z.ZodLiteral<1>;
|
|
172
|
-
contractDigest: z.
|
|
216
|
+
contractDigest: z.ZodString;
|
|
173
217
|
issuer: z.ZodURL;
|
|
174
218
|
resource: z.ZodURL;
|
|
175
219
|
endpoints: z.ZodObject<{
|
|
@@ -225,7 +269,7 @@ export declare const AgentExecutionRegistrationViewSchema: z.ZodObject<{
|
|
|
225
269
|
keyId: z.ZodString;
|
|
226
270
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
227
271
|
protocolVersion: z.ZodLiteral<1>;
|
|
228
|
-
contractDigest: z.
|
|
272
|
+
contractDigest: z.ZodString;
|
|
229
273
|
capabilityDigest: z.ZodString;
|
|
230
274
|
}, z.core.$strict>;
|
|
231
275
|
approvedByPrincipalId: z.ZodUUID;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ActivateAgentExecutionSchema: z.ZodObject<{
|
|
3
|
-
tenantId: z.
|
|
4
|
-
projectId: z.
|
|
3
|
+
tenantId: z.ZodUUID;
|
|
4
|
+
projectId: z.ZodUUID;
|
|
5
5
|
profileKey: z.ZodString;
|
|
6
6
|
requestId: z.ZodUUID;
|
|
7
7
|
bindingId: z.ZodUUID;
|
|
@@ -13,8 +13,8 @@ export declare const ActivateAgentExecutionSchema: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strict>;
|
|
14
14
|
export declare const AgentExecutionSelectionSchema: z.ZodObject<{
|
|
15
15
|
registration: z.ZodObject<{
|
|
16
|
-
tenantId: z.
|
|
17
|
-
projectId: z.
|
|
16
|
+
tenantId: z.ZodUUID;
|
|
17
|
+
projectId: z.ZodUUID;
|
|
18
18
|
clientId: z.ZodUUID;
|
|
19
19
|
schemaVersion: z.ZodLiteral<1>;
|
|
20
20
|
revision: z.ZodInt;
|
|
@@ -23,13 +23,13 @@ export declare const AgentExecutionSelectionSchema: z.ZodObject<{
|
|
|
23
23
|
bindingRevision: z.ZodInt;
|
|
24
24
|
configurationVersion: z.ZodInt;
|
|
25
25
|
profile: z.ZodObject<{
|
|
26
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
26
|
+
schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
27
27
|
profileKey: z.ZodString;
|
|
28
28
|
revision: z.ZodInt;
|
|
29
29
|
capabilities: z.ZodObject<{
|
|
30
30
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
31
31
|
protocolVersion: z.ZodLiteral<1>;
|
|
32
|
-
contractDigest: z.
|
|
32
|
+
contractDigest: z.ZodString;
|
|
33
33
|
issuer: z.ZodURL;
|
|
34
34
|
resource: z.ZodURL;
|
|
35
35
|
endpoints: z.ZodObject<{
|
|
@@ -85,7 +85,7 @@ export declare const AgentExecutionSelectionSchema: z.ZodObject<{
|
|
|
85
85
|
keyId: z.ZodString;
|
|
86
86
|
protocol: z.ZodLiteral<"delegated-mcp-execution">;
|
|
87
87
|
protocolVersion: z.ZodLiteral<1>;
|
|
88
|
-
contractDigest: z.
|
|
88
|
+
contractDigest: z.ZodString;
|
|
89
89
|
capabilityDigest: z.ZodString;
|
|
90
90
|
}, z.core.$strict>;
|
|
91
91
|
approvedByPrincipalId: z.ZodUUID;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { canonicalFederationCatalogJson } from "./federation-result.js";
|
|
3
|
+
export declare const canonicalHostContractJson: typeof canonicalFederationCatalogJson;
|
|
4
|
+
export declare const AgentHostContractDocumentSchema: z.ZodPipe<z.ZodUnknown, z.ZodObject<{
|
|
5
|
+
contract: z.ZodLiteral<"nvs-agent-host-contract/1">;
|
|
6
|
+
hostProtocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
|
|
7
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
8
|
+
delegationContractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
9
|
+
nativeSelectionVersion: z.ZodLiteral<2>;
|
|
10
|
+
nativeProfileVersion: z.ZodLiteral<2>;
|
|
11
|
+
schemaDialect: z.ZodLiteral<"https://json-schema.org/draft/2020-12/schema">;
|
|
12
|
+
origin: z.ZodLiteral<"DEPLOYMENT_REGISTERED_ONLY">;
|
|
13
|
+
credential: z.ZodLiteral<"PRIVATE_BEARER_NEVER_HUMAN_TOKEN">;
|
|
14
|
+
scopeQuery: z.ZodTuple<[z.ZodLiteral<"scopeNamespace">, z.ZodLiteral<"scopeRef">], null>;
|
|
15
|
+
requestQuery: z.ZodLiteral<"requestId">;
|
|
16
|
+
operations: z.ZodObject<{
|
|
17
|
+
"installation.read": z.ZodObject<{
|
|
18
|
+
method: z.ZodLiteral<"GET" | "POST">;
|
|
19
|
+
path: z.ZodLiteral<string>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
"task.submit": z.ZodObject<{
|
|
22
|
+
method: z.ZodLiteral<"GET" | "POST">;
|
|
23
|
+
path: z.ZodLiteral<string>;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
"task.by-request": z.ZodObject<{
|
|
26
|
+
method: z.ZodLiteral<"GET" | "POST">;
|
|
27
|
+
path: z.ZodLiteral<string>;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
"task.get": z.ZodObject<{
|
|
30
|
+
method: z.ZodLiteral<"GET" | "POST">;
|
|
31
|
+
path: z.ZodLiteral<string>;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
"task.cancel": z.ZodObject<{
|
|
34
|
+
method: z.ZodLiteral<"GET" | "POST">;
|
|
35
|
+
path: z.ZodLiteral<string>;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
}, z.core.$strict>;
|
|
38
|
+
schemas: z.ZodObject<{
|
|
39
|
+
selection: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
40
|
+
installation: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
41
|
+
taskRequest: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
42
|
+
taskResponse: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
43
|
+
taskCancel: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
semanticChecks: z.ZodArray<z.ZodEnum<{
|
|
46
|
+
OPAQUE_SCOPE_IS_NOT_NATIVE_TENANT_MAPPING: "OPAQUE_SCOPE_IS_NOT_NATIVE_TENANT_MAPPING";
|
|
47
|
+
JSON_SCHEMA_PLUS_SEMANTIC_CHECKS_REQUIRED: "JSON_SCHEMA_PLUS_SEMANTIC_CHECKS_REQUIRED";
|
|
48
|
+
I_JSON_FINITE_PLAIN_DENSE_JSON_NO_DUPLICATE_KEYS_OR_LONE_SURROGATES: "I_JSON_FINITE_PLAIN_DENSE_JSON_NO_DUPLICATE_KEYS_OR_LONE_SURROGATES";
|
|
49
|
+
HOST_REFERENCES_1_TO_256_UNICODE_CODEPOINTS_WITHOUT_C0_C1_CONTROLS: "HOST_REFERENCES_1_TO_256_UNICODE_CODEPOINTS_WITHOUT_C0_C1_CONTROLS";
|
|
50
|
+
CURRENT_REGISTRATION_CONSENT_GRANT_PERMIT_LEASE_ACCESS_REQUIRED: "CURRENT_REGISTRATION_CONSENT_GRANT_PERMIT_LEASE_ACCESS_REQUIRED";
|
|
51
|
+
INSTALLATION_RECHECK_BEFORE_AND_AFTER_NATIVE_MANIFEST: "INSTALLATION_RECHECK_BEFORE_AND_AFTER_NATIVE_MANIFEST";
|
|
52
|
+
INPUT_SHA256_CANONICAL_COMPLETE_INPUT_INCLUDING_NATIVE_PROOF: "INPUT_SHA256_CANONICAL_COMPLETE_INPUT_INCLUDING_NATIVE_PROOF";
|
|
53
|
+
EXACT_REQUEST_INPUT_SCOPE_CHOICE_INSTALLATION_AUTHORITY_AND_TASK: "EXACT_REQUEST_INPUT_SCOPE_CHOICE_INSTALLATION_AUTHORITY_AND_TASK";
|
|
54
|
+
RESPONSE_TIME_ORDER_FRESH_AUTHORIZATION_AND_DEADLINES_WITHIN_NATIVE_PROOF: "RESPONSE_TIME_ORDER_FRESH_AUTHORIZATION_AND_DEADLINES_WITHIN_NATIVE_PROOF";
|
|
55
|
+
SUBMIT_DEADLINE_INCLUDES_CREDENTIAL_ACCESS_AND_NATIVE_AUTHORITY_EXPIRY: "SUBMIT_DEADLINE_INCLUDES_CREDENTIAL_ACCESS_AND_NATIVE_AUTHORITY_EXPIRY";
|
|
56
|
+
NO_WRITE_BEFORE_DISPATCH_UNKNOWN_AFTER_DISPATCH_NO_AUTOMATIC_RETRY: "NO_WRITE_BEFORE_DISPATCH_UNKNOWN_AFTER_DISPATCH_NO_AUTOMATIC_RETRY";
|
|
57
|
+
RECOVERY_OBSERVES_ORIGINAL_REQUEST_WITHOUT_RESUBMISSION: "RECOVERY_OBSERVES_ORIGINAL_REQUEST_WITHOUT_RESUBMISSION";
|
|
58
|
+
CANCEL_USES_DISTINCT_REQUEST_AND_EXACT_ORIGINAL_TASK: "CANCEL_USES_DISTINCT_REQUEST_AND_EXACT_ORIGINAL_TASK";
|
|
59
|
+
HOST_REPORT_IS_NOT_PRODUCTION_TRUTH_OR_RESULT_ADOPTION: "HOST_REPORT_IS_NOT_PRODUCTION_TRUTH_OR_RESULT_ADOPTION";
|
|
60
|
+
SUBSCRIPTION_EXECUTION_AND_CONTENT_AUTHORITY_ARE_INDEPENDENT: "SUBSCRIPTION_EXECUTION_AND_CONTENT_AUTHORITY_ARE_INDEPENDENT";
|
|
61
|
+
}>>;
|
|
62
|
+
maxTaskBytes: z.ZodLiteral<131072>;
|
|
63
|
+
currentAuthority: z.ZodLiteral<"NOT_OBSERVED">;
|
|
64
|
+
eventing: z.ZodObject<{
|
|
65
|
+
standard: z.ZodLiteral<"EventSDK">;
|
|
66
|
+
notificationProfile: z.ZodLiteral<"eventsdk/1.2">;
|
|
67
|
+
receiptProfile: z.ZodLiteral<"eventsdk/1.1">;
|
|
68
|
+
requiredForHostExecution: z.ZodLiteral<false>;
|
|
69
|
+
defaultReceive: z.ZodLiteral<false>;
|
|
70
|
+
subscriberKinds: z.ZodTuple<[z.ZodLiteral<"SYSTEM">, z.ZodLiteral<"AGENT_RUNTIME">, z.ZodLiteral<"HOST_BOT">], null>;
|
|
71
|
+
authorization: z.ZodLiteral<"INDEPENDENT_CURRENT_AUTHORITY">;
|
|
72
|
+
wake: z.ZodLiteral<"RECEIVER_OWNED">;
|
|
73
|
+
adoption: z.ZodLiteral<"RECEIVER_OWNER_GOAL_REQUIRED">;
|
|
74
|
+
receiptMeaning: z.ZodLiteral<"LOCAL_APPLIED_IS_NOT_AGENT_ADOPTION">;
|
|
75
|
+
operations: z.ZodObject<{
|
|
76
|
+
catalog: z.ZodLiteral<"federation.catalog">;
|
|
77
|
+
select: z.ZodLiteral<"federation.subscription.set">;
|
|
78
|
+
read: z.ZodLiteral<"federation.subscription.get">;
|
|
79
|
+
handoff: z.ZodLiteral<"federation.subscription.handoff">;
|
|
80
|
+
contract: z.ZodLiteral<"federation.subscription.contract">;
|
|
81
|
+
resultReference: z.ZodLiteral<"federation.result.reference">;
|
|
82
|
+
resultRead: z.ZodLiteral<"federation.result.read">;
|
|
83
|
+
receiptInspection: z.ZodLiteral<"federation.delivery.inspect">;
|
|
84
|
+
receiptHandoff: z.ZodLiteral<"federation.receipt-inbound.handoff">;
|
|
85
|
+
}, z.core.$strict>;
|
|
86
|
+
}, z.core.$strict>;
|
|
87
|
+
qualification: z.ZodLiteral<"NVS_DECLARATION_ONLY">;
|
|
88
|
+
}, z.core.$strict>>;
|
|
89
|
+
export declare const AgentHostContractInputSchema: z.ZodObject<{
|
|
90
|
+
tenantId: z.ZodUUID;
|
|
91
|
+
projectId: z.ZodUUID;
|
|
92
|
+
expectedDigest: z.ZodOptional<z.ZodString>;
|
|
93
|
+
}, z.core.$strict>;
|
|
94
|
+
export declare const AgentHostContractSchema: z.ZodPipe<z.ZodUnknown, z.ZodObject<{
|
|
95
|
+
tenantId: z.ZodUUID;
|
|
96
|
+
projectId: z.ZodUUID;
|
|
97
|
+
document: z.ZodPipe<z.ZodUnknown, z.ZodObject<{
|
|
98
|
+
contract: z.ZodLiteral<"nvs-agent-host-contract/1">;
|
|
99
|
+
hostProtocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
|
|
100
|
+
hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
|
|
101
|
+
delegationContractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
|
|
102
|
+
nativeSelectionVersion: z.ZodLiteral<2>;
|
|
103
|
+
nativeProfileVersion: z.ZodLiteral<2>;
|
|
104
|
+
schemaDialect: z.ZodLiteral<"https://json-schema.org/draft/2020-12/schema">;
|
|
105
|
+
origin: z.ZodLiteral<"DEPLOYMENT_REGISTERED_ONLY">;
|
|
106
|
+
credential: z.ZodLiteral<"PRIVATE_BEARER_NEVER_HUMAN_TOKEN">;
|
|
107
|
+
scopeQuery: z.ZodTuple<[z.ZodLiteral<"scopeNamespace">, z.ZodLiteral<"scopeRef">], null>;
|
|
108
|
+
requestQuery: z.ZodLiteral<"requestId">;
|
|
109
|
+
operations: z.ZodObject<{
|
|
110
|
+
"installation.read": z.ZodObject<{
|
|
111
|
+
method: z.ZodLiteral<"GET" | "POST">;
|
|
112
|
+
path: z.ZodLiteral<string>;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
"task.submit": z.ZodObject<{
|
|
115
|
+
method: z.ZodLiteral<"GET" | "POST">;
|
|
116
|
+
path: z.ZodLiteral<string>;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
"task.by-request": z.ZodObject<{
|
|
119
|
+
method: z.ZodLiteral<"GET" | "POST">;
|
|
120
|
+
path: z.ZodLiteral<string>;
|
|
121
|
+
}, z.core.$strict>;
|
|
122
|
+
"task.get": z.ZodObject<{
|
|
123
|
+
method: z.ZodLiteral<"GET" | "POST">;
|
|
124
|
+
path: z.ZodLiteral<string>;
|
|
125
|
+
}, z.core.$strict>;
|
|
126
|
+
"task.cancel": z.ZodObject<{
|
|
127
|
+
method: z.ZodLiteral<"GET" | "POST">;
|
|
128
|
+
path: z.ZodLiteral<string>;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
}, z.core.$strict>;
|
|
131
|
+
schemas: z.ZodObject<{
|
|
132
|
+
selection: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
133
|
+
installation: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
134
|
+
taskRequest: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
135
|
+
taskResponse: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
136
|
+
taskCancel: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
137
|
+
}, z.core.$strict>;
|
|
138
|
+
semanticChecks: z.ZodArray<z.ZodEnum<{
|
|
139
|
+
OPAQUE_SCOPE_IS_NOT_NATIVE_TENANT_MAPPING: "OPAQUE_SCOPE_IS_NOT_NATIVE_TENANT_MAPPING";
|
|
140
|
+
JSON_SCHEMA_PLUS_SEMANTIC_CHECKS_REQUIRED: "JSON_SCHEMA_PLUS_SEMANTIC_CHECKS_REQUIRED";
|
|
141
|
+
I_JSON_FINITE_PLAIN_DENSE_JSON_NO_DUPLICATE_KEYS_OR_LONE_SURROGATES: "I_JSON_FINITE_PLAIN_DENSE_JSON_NO_DUPLICATE_KEYS_OR_LONE_SURROGATES";
|
|
142
|
+
HOST_REFERENCES_1_TO_256_UNICODE_CODEPOINTS_WITHOUT_C0_C1_CONTROLS: "HOST_REFERENCES_1_TO_256_UNICODE_CODEPOINTS_WITHOUT_C0_C1_CONTROLS";
|
|
143
|
+
CURRENT_REGISTRATION_CONSENT_GRANT_PERMIT_LEASE_ACCESS_REQUIRED: "CURRENT_REGISTRATION_CONSENT_GRANT_PERMIT_LEASE_ACCESS_REQUIRED";
|
|
144
|
+
INSTALLATION_RECHECK_BEFORE_AND_AFTER_NATIVE_MANIFEST: "INSTALLATION_RECHECK_BEFORE_AND_AFTER_NATIVE_MANIFEST";
|
|
145
|
+
INPUT_SHA256_CANONICAL_COMPLETE_INPUT_INCLUDING_NATIVE_PROOF: "INPUT_SHA256_CANONICAL_COMPLETE_INPUT_INCLUDING_NATIVE_PROOF";
|
|
146
|
+
EXACT_REQUEST_INPUT_SCOPE_CHOICE_INSTALLATION_AUTHORITY_AND_TASK: "EXACT_REQUEST_INPUT_SCOPE_CHOICE_INSTALLATION_AUTHORITY_AND_TASK";
|
|
147
|
+
RESPONSE_TIME_ORDER_FRESH_AUTHORIZATION_AND_DEADLINES_WITHIN_NATIVE_PROOF: "RESPONSE_TIME_ORDER_FRESH_AUTHORIZATION_AND_DEADLINES_WITHIN_NATIVE_PROOF";
|
|
148
|
+
SUBMIT_DEADLINE_INCLUDES_CREDENTIAL_ACCESS_AND_NATIVE_AUTHORITY_EXPIRY: "SUBMIT_DEADLINE_INCLUDES_CREDENTIAL_ACCESS_AND_NATIVE_AUTHORITY_EXPIRY";
|
|
149
|
+
NO_WRITE_BEFORE_DISPATCH_UNKNOWN_AFTER_DISPATCH_NO_AUTOMATIC_RETRY: "NO_WRITE_BEFORE_DISPATCH_UNKNOWN_AFTER_DISPATCH_NO_AUTOMATIC_RETRY";
|
|
150
|
+
RECOVERY_OBSERVES_ORIGINAL_REQUEST_WITHOUT_RESUBMISSION: "RECOVERY_OBSERVES_ORIGINAL_REQUEST_WITHOUT_RESUBMISSION";
|
|
151
|
+
CANCEL_USES_DISTINCT_REQUEST_AND_EXACT_ORIGINAL_TASK: "CANCEL_USES_DISTINCT_REQUEST_AND_EXACT_ORIGINAL_TASK";
|
|
152
|
+
HOST_REPORT_IS_NOT_PRODUCTION_TRUTH_OR_RESULT_ADOPTION: "HOST_REPORT_IS_NOT_PRODUCTION_TRUTH_OR_RESULT_ADOPTION";
|
|
153
|
+
SUBSCRIPTION_EXECUTION_AND_CONTENT_AUTHORITY_ARE_INDEPENDENT: "SUBSCRIPTION_EXECUTION_AND_CONTENT_AUTHORITY_ARE_INDEPENDENT";
|
|
154
|
+
}>>;
|
|
155
|
+
maxTaskBytes: z.ZodLiteral<131072>;
|
|
156
|
+
currentAuthority: z.ZodLiteral<"NOT_OBSERVED">;
|
|
157
|
+
eventing: z.ZodObject<{
|
|
158
|
+
standard: z.ZodLiteral<"EventSDK">;
|
|
159
|
+
notificationProfile: z.ZodLiteral<"eventsdk/1.2">;
|
|
160
|
+
receiptProfile: z.ZodLiteral<"eventsdk/1.1">;
|
|
161
|
+
requiredForHostExecution: z.ZodLiteral<false>;
|
|
162
|
+
defaultReceive: z.ZodLiteral<false>;
|
|
163
|
+
subscriberKinds: z.ZodTuple<[z.ZodLiteral<"SYSTEM">, z.ZodLiteral<"AGENT_RUNTIME">, z.ZodLiteral<"HOST_BOT">], null>;
|
|
164
|
+
authorization: z.ZodLiteral<"INDEPENDENT_CURRENT_AUTHORITY">;
|
|
165
|
+
wake: z.ZodLiteral<"RECEIVER_OWNED">;
|
|
166
|
+
adoption: z.ZodLiteral<"RECEIVER_OWNER_GOAL_REQUIRED">;
|
|
167
|
+
receiptMeaning: z.ZodLiteral<"LOCAL_APPLIED_IS_NOT_AGENT_ADOPTION">;
|
|
168
|
+
operations: z.ZodObject<{
|
|
169
|
+
catalog: z.ZodLiteral<"federation.catalog">;
|
|
170
|
+
select: z.ZodLiteral<"federation.subscription.set">;
|
|
171
|
+
read: z.ZodLiteral<"federation.subscription.get">;
|
|
172
|
+
handoff: z.ZodLiteral<"federation.subscription.handoff">;
|
|
173
|
+
contract: z.ZodLiteral<"federation.subscription.contract">;
|
|
174
|
+
resultReference: z.ZodLiteral<"federation.result.reference">;
|
|
175
|
+
resultRead: z.ZodLiteral<"federation.result.read">;
|
|
176
|
+
receiptInspection: z.ZodLiteral<"federation.delivery.inspect">;
|
|
177
|
+
receiptHandoff: z.ZodLiteral<"federation.receipt-inbound.handoff">;
|
|
178
|
+
}, z.core.$strict>;
|
|
179
|
+
}, z.core.$strict>;
|
|
180
|
+
qualification: z.ZodLiteral<"NVS_DECLARATION_ONLY">;
|
|
181
|
+
}, z.core.$strict>>;
|
|
182
|
+
digest: z.ZodString;
|
|
183
|
+
maxReplyBytes: z.ZodLiteral<131072>;
|
|
184
|
+
}, z.core.$strict>>;
|
|
185
|
+
/** Pure public metadata; membership and the response digest belong to the Application. */
|
|
186
|
+
export declare function createAgentHostContractDocument(): AgentHostContractDocument;
|
|
187
|
+
export type AgentHostContractDocument = z.infer<typeof AgentHostContractDocumentSchema>;
|
|
188
|
+
export type AgentHostContractInput = z.infer<typeof AgentHostContractInputSchema>;
|
|
189
|
+
export type AgentHostContract = z.infer<typeof AgentHostContractSchema>;
|