@nativestudio/cli 0.3.0-rc.14 → 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.
Files changed (147) hide show
  1. package/COMPATIBILITY.json +11 -11
  2. package/components/runtime.json +7 -7
  3. package/components/runtime.tgz +0 -0
  4. package/dist/_chunks/{chunk-C62JAWRQ.js → chunk-35XQP7RY.js} +1 -1
  5. package/dist/_chunks/{chunk-RDIMORUT.js → chunk-5LSB6HDP.js} +1 -1
  6. package/dist/_chunks/{chunk-W6C63ZN7.js → chunk-B7BQERMR.js} +1 -1
  7. package/dist/_chunks/{chunk-S74X4KIC.js → chunk-BGH3Y5UX.js} +1 -1
  8. package/dist/_chunks/chunk-CW67UB2I.js +1 -0
  9. package/dist/_chunks/chunk-EML7OS3I.js +1 -0
  10. package/dist/_chunks/{chunk-3AVC742O.js → chunk-FX5UVDTH.js} +1 -1
  11. package/dist/_chunks/{chunk-6UYY5KHI.js → chunk-HAOCQVMU.js} +1 -1
  12. package/dist/_chunks/{chunk-VD3OQ743.js → chunk-JLQCUXCT.js} +1 -1
  13. package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
  14. package/dist/_chunks/chunk-LOYAGAAN.js +1 -0
  15. package/dist/_chunks/chunk-MT5XZ67U.js +1 -0
  16. package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
  17. package/dist/_chunks/{chunk-6LY4JYSG.js → chunk-PYUYK3FV.js} +1 -1
  18. package/dist/_chunks/chunk-RT77PT3A.js +1 -0
  19. package/dist/_chunks/chunk-RUPH3HZ2.js +1 -0
  20. package/dist/_chunks/chunk-SKAVQ4UW.js +1 -0
  21. package/dist/_chunks/{chunk-ROBBF33U.js → chunk-SRB5ZFKO.js} +1 -1
  22. package/dist/_chunks/chunk-TQIJBUSP.js +1 -0
  23. package/dist/_chunks/chunk-TWC3NXFA.js +1 -0
  24. package/dist/_chunks/chunk-U5FT4VBR.js +1 -0
  25. package/dist/_chunks/chunk-U6ZG2G7W.js +1 -0
  26. package/dist/_chunks/chunk-UMCOLDHH.js +1 -0
  27. package/dist/_chunks/chunk-VLEWCWYF.js +1 -0
  28. package/dist/_chunks/chunk-WAADGZEV.js +1 -0
  29. package/dist/_chunks/{chunk-VKLS4QK5.js → chunk-XVQWVJWD.js} +1 -1
  30. package/dist/_chunks/{connect-6UH7ZFAC.js → connect-OY623MMA.js} +1 -1
  31. package/dist/_chunks/{device-management-H3NIDIPY.js → device-management-ELAPFWM2.js} +1 -1
  32. package/dist/_chunks/device-preflight-27RDJVBU.js +1 -0
  33. package/dist/_chunks/{devices-inventory-I2E3Q4DA.js → devices-inventory-2XEJPPO5.js} +1 -1
  34. package/dist/_chunks/{devices-main-VV2VYU4T.js → devices-main-UMF3ZBHA.js} +1 -1
  35. package/dist/_chunks/{files-TTIQ7LYJ.js → files-72BEXD7E.js} +1 -1
  36. package/dist/_chunks/{host-main-3JFGVU5P.js → host-main-WYTVTQ4Z.js} +1 -1
  37. package/dist/_chunks/http-profile-D65WSTZU.js +1 -0
  38. package/dist/_chunks/{library-main-CTBW7DAI.js → library-main-L7SY7V7L.js} +1 -1
  39. package/dist/_chunks/local-main-7FONRY6F.js +1 -0
  40. package/dist/_chunks/{local-mcp-XB6E3V2W.js → local-mcp-ELFJBJG6.js} +1 -1
  41. package/dist/_chunks/main-XWUYQQ32.js +2 -0
  42. package/dist/_chunks/mcp-ACNG635V.js +1 -0
  43. package/dist/_chunks/oauth-QBJ62PIA.js +1 -0
  44. package/dist/_chunks/observe-entry-3CHBX74Y.js +1 -0
  45. package/dist/_chunks/remote-client-WIZVKP3O.js +1 -0
  46. package/dist/_chunks/{render-main-VTM6WGFP.js → render-main-ZXYQ7EV5.js} +1 -1
  47. package/dist/_chunks/{source-import-KKV2UWJO.js → source-import-ZWR26CMU.js} +1 -1
  48. package/dist/_chunks/src-TR4JNPGI.js +1 -0
  49. package/dist/_chunks/{stdio-main-Y7N4NVKU.js → stdio-main-QQLYSRD4.js} +1 -1
  50. package/dist/_chunks/workspace-main-NYDAQGB4.js +1 -0
  51. package/dist/_types/cli/local/desktop-contract.d.ts +14 -14
  52. package/dist/_types/cli/local/desktop-device-contract.d.ts +5 -5
  53. package/dist/_types/cli/local/desktop-device-owner.d.ts +2 -2
  54. package/dist/_types/cli/local/desktop-device-state.d.ts +2 -2
  55. package/dist/_types/cli/local/desktop-library.d.ts +1 -1
  56. package/dist/_types/cli/local/desktop-owner.d.ts +4 -4
  57. package/dist/_types/cli/local/manager.d.ts +2 -2
  58. package/dist/_types/cli/local/mcp-tools.d.ts +2 -2
  59. package/dist/_types/cli/local-management.d.ts +1 -1
  60. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
  61. package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
  62. package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
  63. package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
  64. package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
  65. package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
  66. package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
  67. package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
  68. package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
  69. package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
  70. package/dist/_types/contracts/agent-host.d.ts +126 -65
  71. package/dist/_types/contracts/artifact-discovery.d.ts +16 -16
  72. package/dist/_types/contracts/composition-observation.d.ts +1 -1
  73. package/dist/_types/contracts/delivery-operations.d.ts +1 -1
  74. package/dist/_types/contracts/delivery-summary.d.ts +1 -1
  75. package/dist/_types/contracts/device-onboarding.d.ts +29 -0
  76. package/dist/_types/contracts/device-render.d.ts +26 -0
  77. package/dist/_types/contracts/exploration-recommendation.d.ts +2 -2
  78. package/dist/_types/contracts/federation-result.d.ts +239 -0
  79. package/dist/_types/contracts/final-ready.d.ts +2 -2
  80. package/dist/_types/contracts/final-render.d.ts +2 -2
  81. package/dist/_types/contracts/index.d.ts +6 -0
  82. package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
  83. package/dist/_types/contracts/interface/production-snapshot.d.ts +5 -5
  84. package/dist/_types/contracts/keyframe-generation.d.ts +2 -2
  85. package/dist/_types/contracts/keyframe-review.d.ts +1 -1
  86. package/dist/_types/contracts/lifecycle-event-projections.d.ts +17 -2
  87. package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
  88. package/dist/_types/contracts/local-execution/device-inventory.d.ts +28 -2
  89. package/dist/_types/contracts/local-execution/index.d.ts +1 -0
  90. package/dist/_types/contracts/local-execution/ipc.d.ts +6 -6
  91. package/dist/_types/contracts/local-execution/library.d.ts +2 -2
  92. package/dist/_types/contracts/local-execution/processor.d.ts +7 -7
  93. package/dist/_types/contracts/local-execution/workspace.d.ts +1 -1
  94. package/dist/_types/contracts/media-observation.d.ts +3 -3
  95. package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
  96. package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
  97. package/dist/_types/contracts/navigation-context.d.ts +4 -4
  98. package/dist/_types/contracts/navigation-groups.d.ts +1 -1
  99. package/dist/_types/contracts/navigation.d.ts +5 -5
  100. package/dist/_types/contracts/production-feedback.d.ts +452 -0
  101. package/dist/_types/contracts/repair-strategy.d.ts +1 -1
  102. package/dist/_types/contracts/review-intelligence-final-output.d.ts +1 -1
  103. package/dist/_types/contracts/rough-cut.d.ts +1 -1
  104. package/dist/_types/contracts/shares.d.ts +135 -0
  105. package/dist/_types/contracts/speech.d.ts +5 -5
  106. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -1
  107. package/dist/_types/contracts/video-generation.d.ts +2 -2
  108. package/dist/_types/contracts/video-review.d.ts +1 -1
  109. package/dist/_types/contracts/visual-exploration.d.ts +2 -2
  110. package/dist/_types/contracts/voice-profile/contracts.d.ts +4 -4
  111. package/dist/_types/contracts/workspace.d.ts +21 -0
  112. package/dist/_types/sdk/local-runtime/workspace.d.ts +4 -4
  113. package/dist/_types/sdk/local-runtime-client.d.ts +3 -3
  114. package/dist/entry.js +1 -1
  115. package/dist/local-management.js +1 -1
  116. package/dist/local-navigation.js +1 -1
  117. package/dist/native/helper.exe +0 -0
  118. package/dist/native/helper.json +1 -0
  119. package/package.json +1 -1
  120. package/dist/_chunks/chunk-2AI3WF2O.js +0 -1
  121. package/dist/_chunks/chunk-5DY7LSZZ.js +0 -1
  122. package/dist/_chunks/chunk-6LU6GJKW.js +0 -1
  123. package/dist/_chunks/chunk-77IAHNM2.js +0 -1
  124. package/dist/_chunks/chunk-FU3524Z6.js +0 -1
  125. package/dist/_chunks/chunk-HY7NXJYX.js +0 -1
  126. package/dist/_chunks/chunk-KB2GVAN7.js +0 -1
  127. package/dist/_chunks/chunk-PDQYFIQQ.js +0 -1
  128. package/dist/_chunks/chunk-PUNG4ND7.js +0 -1
  129. package/dist/_chunks/chunk-RK2P3UVF.js +0 -1
  130. package/dist/_chunks/chunk-SV3NF7GO.js +0 -1
  131. package/dist/_chunks/chunk-TLPI6P7L.js +0 -1
  132. package/dist/_chunks/chunk-U7ECMITP.js +0 -1
  133. package/dist/_chunks/chunk-ZRSYOFMX.js +0 -1
  134. package/dist/_chunks/device-preflight-LHFLPVAB.js +0 -1
  135. package/dist/_chunks/http-profile-NIQDCFPU.js +0 -1
  136. package/dist/_chunks/local-main-227MNGEC.js +0 -1
  137. package/dist/_chunks/main-W6NNZFLK.js +0 -2
  138. package/dist/_chunks/mcp-EXQ5UAHB.js +0 -1
  139. package/dist/_chunks/oauth-HC6TI7HB.js +0 -1
  140. package/dist/_chunks/src-OIY5TBQT.js +0 -1
  141. package/dist/_chunks/workspace-main-Y7ZVBRJJ.js +0 -1
  142. package/dist/native/Bootstrap.ps1 +0 -90
  143. package/dist/native/JobNative.cs +0 -137
  144. package/dist/native/JobRunner.cs +0 -381
  145. package/dist/native/NativeMain.cs +0 -161
  146. package/dist/native/PipeBridge.cs +0 -260
  147. package/dist/native/PrivateAccess.cs +0 -152
@@ -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.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
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.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
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.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
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.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
122
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
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.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
145
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
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.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
150
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
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.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
157
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
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.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
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.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
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.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
4
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
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.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
17
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
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.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
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.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
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>;