@nativestudio/cli 0.3.0-rc.15 → 0.3.0-rc.16
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-TTB7CYC5.js → chunk-35XQP7RY.js} +1 -1
- package/dist/_chunks/{chunk-NPDLPC5B.js → chunk-5LSB6HDP.js} +1 -1
- package/dist/_chunks/{chunk-ZADAXKKY.js → chunk-B7BQERMR.js} +1 -1
- package/dist/_chunks/{chunk-ZOODOQBH.js → chunk-BGH3Y5UX.js} +1 -1
- package/dist/_chunks/chunk-CW67UB2I.js +1 -0
- package/dist/_chunks/{chunk-CFZNDURD.js → chunk-EML7OS3I.js} +1 -1
- package/dist/_chunks/{chunk-6UYY5KHI.js → chunk-HAOCQVMU.js} +1 -1
- package/dist/_chunks/{chunk-O47YYPL7.js → chunk-JLQCUXCT.js} +1 -1
- package/dist/_chunks/chunk-LOYAGAAN.js +1 -0
- package/dist/_chunks/chunk-MT5XZ67U.js +1 -0
- package/dist/_chunks/{chunk-OVIR77ET.js → chunk-PYUYK3FV.js} +1 -1
- package/dist/_chunks/{chunk-I5KYSPUJ.js → chunk-RT77PT3A.js} +1 -1
- package/dist/_chunks/{chunk-BBTZJB2G.js → chunk-SRB5ZFKO.js} +1 -1
- package/dist/_chunks/chunk-TQIJBUSP.js +1 -0
- package/dist/_chunks/{chunk-AAGFHT2D.js → chunk-TWC3NXFA.js} +1 -1
- package/dist/_chunks/{chunk-BX2SNMA4.js → chunk-U6ZG2G7W.js} +1 -1
- package/dist/_chunks/{chunk-SAPEOZ2V.js → chunk-UMCOLDHH.js} +1 -1
- package/dist/_chunks/chunk-VLEWCWYF.js +1 -0
- package/dist/_chunks/chunk-WAADGZEV.js +1 -0
- package/dist/_chunks/{chunk-PB2HLRXG.js → chunk-XVQWVJWD.js} +1 -1
- package/dist/_chunks/{connect-RIODOO3C.js → connect-OY623MMA.js} +1 -1
- package/dist/_chunks/{device-management-VECG3RA4.js → device-management-ELAPFWM2.js} +1 -1
- package/dist/_chunks/device-preflight-27RDJVBU.js +1 -0
- package/dist/_chunks/{devices-inventory-E6TE4H7T.js → devices-inventory-2XEJPPO5.js} +1 -1
- package/dist/_chunks/{devices-main-7JHMJNGV.js → devices-main-UMF3ZBHA.js} +1 -1
- package/dist/_chunks/{host-main-KDORT44Q.js → host-main-WYTVTQ4Z.js} +1 -1
- package/dist/_chunks/http-profile-D65WSTZU.js +1 -0
- package/dist/_chunks/{library-main-AWUEMZFQ.js → library-main-L7SY7V7L.js} +1 -1
- package/dist/_chunks/{local-main-BNFNAPRG.js → local-main-7FONRY6F.js} +1 -1
- package/dist/_chunks/{local-mcp-HU6MII3G.js → local-mcp-ELFJBJG6.js} +1 -1
- package/dist/_chunks/{main-BSMCHALI.js → main-XWUYQQ32.js} +2 -2
- package/dist/_chunks/mcp-ACNG635V.js +1 -0
- package/dist/_chunks/{observe-entry-D7F6OQ7Y.js → observe-entry-3CHBX74Y.js} +1 -1
- package/dist/_chunks/remote-client-WIZVKP3O.js +1 -0
- package/dist/_chunks/{render-main-O3IN6EFV.js → render-main-ZXYQ7EV5.js} +1 -1
- package/dist/_chunks/{source-import-Y2Z3BVWY.js → source-import-ZWR26CMU.js} +1 -1
- package/dist/_chunks/src-TR4JNPGI.js +1 -0
- package/dist/_chunks/{stdio-main-T4WMBNKB.js → stdio-main-QQLYSRD4.js} +1 -1
- package/dist/_chunks/workspace-main-NYDAQGB4.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 +29 -0
- package/dist/_types/contracts/device-render.d.ts +26 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +2 -2
- 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 +4 -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 +28 -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/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 +4 -4
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +5 -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/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/workspace-main-KWFTVTZG.js +0 -1
|
@@ -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>;
|