@nativestudio/sdk 0.0.0-stage → 0.3.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/COMPATIBILITY.json +14 -0
  2. package/LICENSE +21 -0
  3. package/README.md +74 -2
  4. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  5. package/dist/_chunks/chunk-34KSWLCI.js +1 -0
  6. package/dist/_chunks/chunk-4IOFVNFG.js +1 -0
  7. package/dist/_chunks/chunk-4M3AGNTZ.js +1 -0
  8. package/dist/_chunks/chunk-6NVIN2NI.js +1 -0
  9. package/dist/_chunks/chunk-7YCEMDNZ.js +1 -0
  10. package/dist/_chunks/chunk-RK3YLCZP.js +1 -0
  11. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  12. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  13. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  14. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  15. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  16. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  17. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  18. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  19. package/dist/_types/contracts/agent-host.d.ts +226 -0
  20. package/dist/_types/contracts/artifact-discovery.d.ts +170 -0
  21. package/dist/_types/contracts/artifact.d.ts +188 -0
  22. package/dist/_types/contracts/audio.d.ts +331 -0
  23. package/dist/_types/contracts/brief.d.ts +178 -0
  24. package/dist/_types/contracts/caption-render.d.ts +20 -0
  25. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  26. package/dist/_types/contracts/captions.d.ts +420 -0
  27. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  28. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  29. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  30. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  31. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  32. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  33. package/dist/_types/contracts/composition-making.d.ts +390 -0
  34. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  35. package/dist/_types/contracts/composition-render-base.d.ts +292 -0
  36. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  37. package/dist/_types/contracts/composition-render.d.ts +406 -0
  38. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  39. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  40. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  41. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  42. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  43. package/dist/_types/contracts/delivery-manifest.d.ts +11776 -0
  44. package/dist/_types/contracts/delivery-operations.d.ts +5009 -0
  45. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  46. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  47. package/dist/_types/contracts/delivery-validation.d.ts +183 -0
  48. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  49. package/dist/_types/contracts/editor-intelligence.d.ts +5751 -0
  50. package/dist/_types/contracts/exploration-recommendation.d.ts +11863 -0
  51. package/dist/_types/contracts/external-agent-access.d.ts +95 -0
  52. package/dist/_types/contracts/final-ready.d.ts +301 -0
  53. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  54. package/dist/_types/contracts/final-render.d.ts +8181 -0
  55. package/dist/_types/contracts/foundation.d.ts +1 -0
  56. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  57. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  58. package/dist/_types/contracts/health.d.ts +6 -0
  59. package/dist/_types/contracts/human-identity.d.ts +149 -0
  60. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  61. package/dist/_types/contracts/ids.d.ts +41 -0
  62. package/dist/_types/contracts/index.d.ts +122 -0
  63. package/dist/_types/contracts/interface/common.d.ts +56 -0
  64. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  65. package/dist/_types/contracts/interface/index.d.ts +7 -0
  66. package/dist/_types/contracts/interface/media-output.d.ts +62 -0
  67. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  68. package/dist/_types/contracts/interface/output.d.ts +15 -0
  69. package/dist/_types/contracts/interface/production-snapshot.d.ts +832 -0
  70. package/dist/_types/contracts/interface/query.d.ts +315 -0
  71. package/dist/_types/contracts/keyframe-generation.d.ts +349 -0
  72. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  73. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  74. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  75. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  76. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  77. package/dist/_types/contracts/local-execution/agent-review.d.ts +560 -0
  78. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  79. package/dist/_types/contracts/local-execution/common.d.ts +48 -0
  80. package/dist/_types/contracts/local-execution/completion.d.ts +128 -0
  81. package/dist/_types/contracts/local-execution/device.d.ts +134 -0
  82. package/dist/_types/contracts/local-execution/index.d.ts +11 -0
  83. package/dist/_types/contracts/local-execution/ipc.d.ts +1202 -0
  84. package/dist/_types/contracts/local-execution/lifecycle.d.ts +347 -0
  85. package/dist/_types/contracts/local-execution/local-navigation.d.ts +710 -0
  86. package/dist/_types/contracts/local-execution/preview.d.ts +3663 -0
  87. package/dist/_types/contracts/local-execution/tool-selection.d.ts +15 -0
  88. package/dist/_types/contracts/local-execution/work.d.ts +3441 -0
  89. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  90. package/dist/_types/contracts/media-export.d.ts +23 -0
  91. package/dist/_types/contracts/media-observation.d.ts +1159 -0
  92. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  93. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  94. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  95. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  96. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  97. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  98. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  99. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  100. package/dist/_types/contracts/navigation.d.ts +238 -0
  101. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  102. package/dist/_types/contracts/planning-input.d.ts +177 -0
  103. package/dist/_types/contracts/principal.d.ts +26 -0
  104. package/dist/_types/contracts/production-creation.d.ts +66 -0
  105. package/dist/_types/contracts/production-termination.d.ts +51 -0
  106. package/dist/_types/contracts/production.d.ts +111 -0
  107. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  108. package/dist/_types/contracts/programmatic-exploration.d.ts +7459 -0
  109. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  110. package/dist/_types/contracts/project-library.d.ts +173 -0
  111. package/dist/_types/contracts/project.d.ts +93 -0
  112. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  113. package/dist/_types/contracts/provider-models.d.ts +3380 -0
  114. package/dist/_types/contracts/provider.d.ts +142 -0
  115. package/dist/_types/contracts/reference-preview.d.ts +36 -0
  116. package/dist/_types/contracts/repair-lifecycle.d.ts +2896 -0
  117. package/dist/_types/contracts/repair-plan.d.ts +728 -0
  118. package/dist/_types/contracts/repair-strategy.d.ts +5751 -0
  119. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  120. package/dist/_types/contracts/review-intelligence-final-output.d.ts +8705 -0
  121. package/dist/_types/contracts/review-intelligence.d.ts +11543 -0
  122. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  123. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  124. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  125. package/dist/_types/contracts/rough-cut-manifest.d.ts +347 -0
  126. package/dist/_types/contracts/rough-cut-profile.d.ts +37 -0
  127. package/dist/_types/contracts/rough-cut-review.d.ts +12819 -0
  128. package/dist/_types/contracts/rough-cut.d.ts +5862 -0
  129. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  130. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  131. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  132. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  133. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  134. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  135. package/dist/_types/contracts/sound-making-plan.d.ts +1585 -0
  136. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  137. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  138. package/dist/_types/contracts/speech.d.ts +424 -0
  139. package/dist/_types/contracts/story.d.ts +98 -0
  140. package/dist/_types/contracts/temporal-evidence-operation.d.ts +379 -0
  141. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  142. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  143. package/dist/_types/contracts/tenant.d.ts +7 -0
  144. package/dist/_types/contracts/timeline-audio.d.ts +97 -0
  145. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  146. package/dist/_types/contracts/timeline-manifest.d.ts +702 -0
  147. package/dist/_types/contracts/timeline-source-sound.d.ts +352 -0
  148. package/dist/_types/contracts/timeline-v2.d.ts +1263 -0
  149. package/dist/_types/contracts/timeline-version-reader.d.ts +2945 -0
  150. package/dist/_types/contracts/timeline-visual-layers.d.ts +1245 -0
  151. package/dist/_types/contracts/timeline.d.ts +4942 -0
  152. package/dist/_types/contracts/transcription.d.ts +80 -0
  153. package/dist/_types/contracts/video-generation.d.ts +643 -0
  154. package/dist/_types/contracts/video-review.d.ts +1871 -0
  155. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  156. package/dist/_types/contracts/visual-layer-render.d.ts +2777 -0
  157. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  158. package/dist/_types/contracts/visual-sequence.d.ts +121 -0
  159. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  160. package/dist/_types/sdk/account.d.ts +109 -0
  161. package/dist/_types/sdk/auxiliary-media.d.ts +43 -0
  162. package/dist/_types/sdk/catalog/agent-host-execution.d.ts +1551 -0
  163. package/dist/_types/sdk/catalog/agent-host.d.ts +344 -0
  164. package/dist/_types/sdk/catalog/assembly.d.ts +37634 -0
  165. package/dist/_types/sdk/catalog/audio-caption.d.ts +1374 -0
  166. package/dist/_types/sdk/catalog/canonical-repair.d.ts +4584 -0
  167. package/dist/_types/sdk/catalog/composition-source.d.ts +1556 -0
  168. package/dist/_types/sdk/catalog/composition.d.ts +2815 -0
  169. package/dist/_types/sdk/catalog/core.d.ts +3049 -0
  170. package/dist/_types/sdk/catalog/delivery.d.ts +14169 -0
  171. package/dist/_types/sdk/catalog/discovery.d.ts +75 -0
  172. package/dist/_types/sdk/catalog/editor.d.ts +6540 -0
  173. package/dist/_types/sdk/catalog/generation.d.ts +942 -0
  174. package/dist/_types/sdk/catalog/imported-visual.d.ts +3111 -0
  175. package/dist/_types/sdk/catalog/keyframe-review.d.ts +859 -0
  176. package/dist/_types/sdk/catalog/lifecycle-events.d.ts +329 -0
  177. package/dist/_types/sdk/catalog/mcp.d.ts +245 -0
  178. package/dist/_types/sdk/catalog/media-descriptors.d.ts +139 -0
  179. package/dist/_types/sdk/catalog/media-observation.d.ts +958 -0
  180. package/dist/_types/sdk/catalog/native-tool-authority.d.ts +281 -0
  181. package/dist/_types/sdk/catalog/navigation.d.ts +559 -0
  182. package/dist/_types/sdk/catalog/planning-intelligence.d.ts +2031 -0
  183. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +9855 -0
  184. package/dist/_types/sdk/catalog/programmatic-review.d.ts +1106 -0
  185. package/dist/_types/sdk/catalog/provider.d.ts +4439 -0
  186. package/dist/_types/sdk/catalog/reference-preview.d.ts +180 -0
  187. package/dist/_types/sdk/catalog/repair-strategy.d.ts +8916 -0
  188. package/dist/_types/sdk/catalog/reviewer.d.ts +23133 -0
  189. package/dist/_types/sdk/catalog/shot-preparation.d.ts +2974 -0
  190. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +1778 -0
  191. package/dist/_types/sdk/catalog/source-sync.d.ts +1313 -0
  192. package/dist/_types/sdk/catalog/spec.d.ts +37 -0
  193. package/dist/_types/sdk/catalog/speech.d.ts +397 -0
  194. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +391 -0
  195. package/dist/_types/sdk/catalog/video-review.d.ts +2149 -0
  196. package/dist/_types/sdk/catalog/visual-exploration.d.ts +10838 -0
  197. package/dist/_types/sdk/client.d.ts +75 -0
  198. package/dist/_types/sdk/desktop-catalogue.d.ts +25 -0
  199. package/dist/_types/sdk/desktop-previews.d.ts +118 -0
  200. package/dist/_types/sdk/desktop-releases.d.ts +75 -0
  201. package/dist/_types/sdk/errors.d.ts +9 -0
  202. package/dist/_types/sdk/evidence-image.d.ts +22 -0
  203. package/dist/_types/sdk/image-media.d.ts +43 -0
  204. package/dist/_types/sdk/index.d.ts +16 -0
  205. package/dist/_types/sdk/local-runtime/device-client.d.ts +77 -0
  206. package/dist/_types/sdk/local-runtime-client.d.ts +932 -0
  207. package/dist/_types/sdk/mcp-client.d.ts +55 -0
  208. package/dist/_types/sdk/mcp-image.d.ts +52 -0
  209. package/dist/_types/sdk/media.d.ts +104 -0
  210. package/dist/_types/sdk/navigation-client.d.ts +141 -0
  211. package/dist/_types/sdk/navigation-facade.d.ts +458 -0
  212. package/dist/_types/sdk/observe.d.ts +51 -0
  213. package/dist/_types/sdk/runtime-authority.d.ts +103 -0
  214. package/dist/_types/sdk/transport/http.d.ts +39 -0
  215. package/dist/account.d.ts +1 -0
  216. package/dist/account.js +1 -0
  217. package/dist/desktop-previews.d.ts +1 -0
  218. package/dist/desktop-previews.js +1 -0
  219. package/dist/desktop-releases.d.ts +1 -0
  220. package/dist/desktop-releases.js +1 -0
  221. package/dist/errors.d.ts +1 -0
  222. package/dist/errors.js +1 -0
  223. package/dist/index.d.ts +2 -0
  224. package/dist/index.js +1 -0
  225. package/dist/local-runtime.d.ts +1 -0
  226. package/dist/local-runtime.js +1 -0
  227. package/dist/native/Bootstrap.ps1 +90 -0
  228. package/dist/native/JobNative.cs +127 -0
  229. package/dist/native/JobRunner.cs +360 -0
  230. package/dist/native/NativeMain.cs +146 -0
  231. package/dist/native/PipeBridge.cs +260 -0
  232. package/dist/native/PrivateAccess.cs +152 -0
  233. package/dist/runtime-authority.d.ts +1 -0
  234. package/dist/runtime-authority.js +1 -0
  235. package/package.json +50 -3
@@ -0,0 +1,71 @@
1
+ import { z } from "zod";
2
+ export declare const AgentExecutionConsentSchema: z.ZodObject<{
3
+ response_type: z.ZodLiteral<"code">;
4
+ client_id: z.ZodUUID;
5
+ redirect_uri: z.ZodURL;
6
+ resource: z.ZodURL;
7
+ scope: z.ZodString;
8
+ state: z.ZodString;
9
+ code_challenge: z.ZodString;
10
+ code_challenge_method: z.ZodLiteral<"S256">;
11
+ }, z.core.$strict>;
12
+ export declare const ApproveAgentExecutionConsentSchema: z.ZodObject<{
13
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
14
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
15
+ profileKey: z.ZodString;
16
+ requestId: z.ZodUUID;
17
+ consent: z.ZodObject<{
18
+ response_type: z.ZodLiteral<"code">;
19
+ client_id: z.ZodUUID;
20
+ redirect_uri: z.ZodURL;
21
+ resource: z.ZodURL;
22
+ scope: z.ZodString;
23
+ state: z.ZodString;
24
+ code_challenge: z.ZodString;
25
+ code_challenge_method: z.ZodLiteral<"S256">;
26
+ }, z.core.$strict>;
27
+ expiresInSeconds: z.ZodInt;
28
+ }, z.core.$strict>;
29
+ export declare const AgentExecutionGrantSchema: z.ZodObject<{
30
+ protocolVersion: z.ZodLiteral<1>;
31
+ clientId: z.ZodUUID;
32
+ registrationRevision: z.ZodInt;
33
+ resource: z.ZodURL;
34
+ grantRef: z.ZodUUID;
35
+ grantRevision: z.ZodInt;
36
+ expiresAt: z.ZodISODateTime;
37
+ scopes: z.ZodArray<z.ZodString>;
38
+ }, z.core.$strict>;
39
+ export declare const AgentExecutionTokenFormSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
40
+ grant_type: z.ZodLiteral<"authorization_code">;
41
+ client_id: z.ZodUUID;
42
+ resource: z.ZodURL;
43
+ registration_revision: z.ZodString;
44
+ code: z.ZodString;
45
+ code_verifier: z.ZodString;
46
+ redirect_uri: z.ZodURL;
47
+ client_assertion_type: z.ZodLiteral<"urn:ietf:params:oauth:client-assertion-type:jwt-bearer">;
48
+ client_assertion: z.ZodString;
49
+ }, z.core.$strict>, z.ZodObject<{
50
+ grant_type: z.ZodLiteral<"refresh_token">;
51
+ client_id: z.ZodUUID;
52
+ resource: z.ZodURL;
53
+ registration_revision: z.ZodString;
54
+ refresh_token: z.ZodString;
55
+ client_assertion_type: z.ZodLiteral<"urn:ietf:params:oauth:client-assertion-type:jwt-bearer">;
56
+ client_assertion: z.ZodString;
57
+ }, z.core.$strict>], "grant_type">;
58
+ export declare const AgentExecutionAssertionSchema: z.ZodObject<{
59
+ iss: z.ZodUUID;
60
+ sub: z.ZodUUID;
61
+ aud: z.ZodURL;
62
+ iat: z.ZodInt;
63
+ exp: z.ZodInt;
64
+ jti: z.ZodUUID;
65
+ requestDigest: z.ZodString;
66
+ }, z.core.$strict>;
67
+ export type AgentExecutionConsent = z.infer<typeof AgentExecutionConsentSchema>;
68
+ export type ApproveAgentExecutionConsent = z.infer<typeof ApproveAgentExecutionConsentSchema>;
69
+ export type AgentExecutionGrant = z.infer<typeof AgentExecutionGrantSchema>;
70
+ export type AgentExecutionTokenForm = z.infer<typeof AgentExecutionTokenFormSchema>;
71
+ export type AgentExecutionAssertion = z.infer<typeof AgentExecutionAssertionSchema>;
@@ -0,0 +1,240 @@
1
+ import { z } from "zod";
2
+ export declare const AgentExecutionLimitsSchema: z.ZodObject<{
3
+ grantMaxSeconds: z.ZodInt;
4
+ executionMaxSeconds: z.ZodInt;
5
+ leaseMaxSeconds: z.ZodInt;
6
+ renewWindowSeconds: z.ZodInt;
7
+ renewBeforeSeconds: z.ZodInt;
8
+ assertionSeconds: z.ZodLiteral<60>;
9
+ clockSkewSeconds: z.ZodLiteral<5>;
10
+ }, z.core.$strict>;
11
+ export declare const AgentExecutionCapabilitiesSchema: z.ZodObject<{
12
+ protocol: z.ZodLiteral<"delegated-mcp-execution">;
13
+ protocolVersion: z.ZodLiteral<1>;
14
+ contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
15
+ issuer: z.ZodURL;
16
+ resource: z.ZodURL;
17
+ endpoints: z.ZodObject<{
18
+ capabilities: z.ZodURL;
19
+ authorize: z.ZodURL;
20
+ token: z.ZodURL;
21
+ identity: z.ZodURL;
22
+ bind: z.ZodURL;
23
+ bindingQuery: z.ZodURL;
24
+ access: z.ZodURL;
25
+ accessQuery: z.ZodURL;
26
+ leaseRenew: z.ZodURL;
27
+ leaseQuery: z.ZodURL;
28
+ close: z.ZodURL;
29
+ }, z.core.$strict>;
30
+ supportedProfiles: z.ZodTuple<[z.ZodLiteral<"stateless-json-v1">], null>;
31
+ limits: z.ZodObject<{
32
+ grantMaxSeconds: z.ZodInt;
33
+ executionMaxSeconds: z.ZodInt;
34
+ leaseMaxSeconds: z.ZodInt;
35
+ renewWindowSeconds: z.ZodInt;
36
+ renewBeforeSeconds: z.ZodInt;
37
+ assertionSeconds: z.ZodLiteral<60>;
38
+ clockSkewSeconds: z.ZodLiteral<5>;
39
+ }, z.core.$strict>;
40
+ }, z.core.$strict>;
41
+ export declare const AgentExecutionDescriptorSchema: z.ZodObject<{
42
+ schemaVersion: z.ZodLiteral<1>;
43
+ runtimeKey: z.ZodString;
44
+ installationId: z.ZodString;
45
+ displayName: z.ZodString;
46
+ redirectUri: z.ZodURL;
47
+ publicJwk: z.ZodObject<{
48
+ kty: z.ZodLiteral<"EC">;
49
+ crv: z.ZodLiteral<"P-256">;
50
+ x: z.ZodString;
51
+ y: z.ZodString;
52
+ }, z.core.$strict>;
53
+ }, z.core.$strict>;
54
+ export declare const AgentExecutionProfileSchema: z.ZodObject<{
55
+ schemaVersion: z.ZodLiteral<1>;
56
+ profileKey: z.ZodString;
57
+ revision: z.ZodInt;
58
+ capabilities: z.ZodObject<{
59
+ protocol: z.ZodLiteral<"delegated-mcp-execution">;
60
+ protocolVersion: z.ZodLiteral<1>;
61
+ contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
62
+ issuer: z.ZodURL;
63
+ resource: z.ZodURL;
64
+ endpoints: z.ZodObject<{
65
+ capabilities: z.ZodURL;
66
+ authorize: z.ZodURL;
67
+ token: z.ZodURL;
68
+ identity: z.ZodURL;
69
+ bind: z.ZodURL;
70
+ bindingQuery: z.ZodURL;
71
+ access: z.ZodURL;
72
+ accessQuery: z.ZodURL;
73
+ leaseRenew: z.ZodURL;
74
+ leaseQuery: z.ZodURL;
75
+ close: z.ZodURL;
76
+ }, z.core.$strict>;
77
+ supportedProfiles: z.ZodTuple<[z.ZodLiteral<"stateless-json-v1">], null>;
78
+ limits: z.ZodObject<{
79
+ grantMaxSeconds: z.ZodInt;
80
+ executionMaxSeconds: z.ZodInt;
81
+ leaseMaxSeconds: z.ZodInt;
82
+ renewWindowSeconds: z.ZodInt;
83
+ renewBeforeSeconds: z.ZodInt;
84
+ assertionSeconds: z.ZodLiteral<60>;
85
+ clockSkewSeconds: z.ZodLiteral<5>;
86
+ }, z.core.$strict>;
87
+ }, z.core.$strict>;
88
+ capabilityDigest: z.ZodString;
89
+ nativeToolCapabilityDigest: z.ZodString;
90
+ redirectOrigins: z.ZodArray<z.ZodURL>;
91
+ scopes: z.ZodArray<z.ZodString>;
92
+ bootstrap: z.ZodObject<{
93
+ slotKey: z.ZodString;
94
+ entryTool: z.ZodString;
95
+ argumentsMode: z.ZodLiteral<"task-input">;
96
+ }, z.core.$strict>;
97
+ }, z.core.$strict>;
98
+ export declare const AgentExecutionRegistrationSchema: z.ZodObject<{
99
+ schemaVersion: z.ZodLiteral<1>;
100
+ runtimeKey: z.ZodString;
101
+ installationId: z.ZodString;
102
+ displayName: z.ZodString;
103
+ redirectUri: z.ZodURL;
104
+ publicJwk: z.ZodObject<{
105
+ kty: z.ZodLiteral<"EC">;
106
+ crv: z.ZodLiteral<"P-256">;
107
+ x: z.ZodString;
108
+ y: z.ZodString;
109
+ }, z.core.$strict>;
110
+ clientId: z.ZodString;
111
+ registrationRevision: z.ZodInt;
112
+ issuer: z.ZodURL;
113
+ resource: z.ZodURL;
114
+ keyId: z.ZodString;
115
+ protocol: z.ZodLiteral<"delegated-mcp-execution">;
116
+ protocolVersion: z.ZodLiteral<1>;
117
+ contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
118
+ capabilityDigest: z.ZodString;
119
+ }, z.core.$strict>;
120
+ 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>>;
123
+ requestId: z.ZodUUID;
124
+ bindingId: z.ZodUUID;
125
+ expectedBindingRevision: z.ZodInt;
126
+ expectedConfigurationVersion: z.ZodInt;
127
+ profileKey: z.ZodString;
128
+ expectedProfileRevision: z.ZodInt;
129
+ descriptor: z.ZodObject<{
130
+ schemaVersion: z.ZodLiteral<1>;
131
+ runtimeKey: z.ZodString;
132
+ installationId: z.ZodString;
133
+ displayName: z.ZodString;
134
+ redirectUri: z.ZodURL;
135
+ publicJwk: z.ZodObject<{
136
+ kty: z.ZodLiteral<"EC">;
137
+ crv: z.ZodLiteral<"P-256">;
138
+ x: z.ZodString;
139
+ y: z.ZodString;
140
+ }, z.core.$strict>;
141
+ }, z.core.$strict>;
142
+ }, z.core.$strict>;
143
+ 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>>;
146
+ clientId: z.ZodUUID;
147
+ }, z.core.$strict>;
148
+ 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>>;
151
+ clientId: z.ZodUUID;
152
+ requestId: z.ZodUUID;
153
+ expectedRevision: z.ZodInt;
154
+ }, z.core.$strict>;
155
+ 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>>;
158
+ clientId: z.ZodUUID;
159
+ schemaVersion: z.ZodLiteral<1>;
160
+ revision: z.ZodInt;
161
+ enabled: z.ZodBoolean;
162
+ bindingId: z.ZodUUID;
163
+ bindingRevision: z.ZodInt;
164
+ configurationVersion: z.ZodInt;
165
+ profile: z.ZodObject<{
166
+ schemaVersion: z.ZodLiteral<1>;
167
+ profileKey: z.ZodString;
168
+ revision: z.ZodInt;
169
+ capabilities: z.ZodObject<{
170
+ protocol: z.ZodLiteral<"delegated-mcp-execution">;
171
+ protocolVersion: z.ZodLiteral<1>;
172
+ contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
173
+ issuer: z.ZodURL;
174
+ resource: z.ZodURL;
175
+ endpoints: z.ZodObject<{
176
+ capabilities: z.ZodURL;
177
+ authorize: z.ZodURL;
178
+ token: z.ZodURL;
179
+ identity: z.ZodURL;
180
+ bind: z.ZodURL;
181
+ bindingQuery: z.ZodURL;
182
+ access: z.ZodURL;
183
+ accessQuery: z.ZodURL;
184
+ leaseRenew: z.ZodURL;
185
+ leaseQuery: z.ZodURL;
186
+ close: z.ZodURL;
187
+ }, z.core.$strict>;
188
+ supportedProfiles: z.ZodTuple<[z.ZodLiteral<"stateless-json-v1">], null>;
189
+ limits: z.ZodObject<{
190
+ grantMaxSeconds: z.ZodInt;
191
+ executionMaxSeconds: z.ZodInt;
192
+ leaseMaxSeconds: z.ZodInt;
193
+ renewWindowSeconds: z.ZodInt;
194
+ renewBeforeSeconds: z.ZodInt;
195
+ assertionSeconds: z.ZodLiteral<60>;
196
+ clockSkewSeconds: z.ZodLiteral<5>;
197
+ }, z.core.$strict>;
198
+ }, z.core.$strict>;
199
+ capabilityDigest: z.ZodString;
200
+ nativeToolCapabilityDigest: z.ZodString;
201
+ redirectOrigins: z.ZodArray<z.ZodURL>;
202
+ scopes: z.ZodArray<z.ZodString>;
203
+ bootstrap: z.ZodObject<{
204
+ slotKey: z.ZodString;
205
+ entryTool: z.ZodString;
206
+ argumentsMode: z.ZodLiteral<"task-input">;
207
+ }, z.core.$strict>;
208
+ }, z.core.$strict>;
209
+ registration: z.ZodObject<{
210
+ schemaVersion: z.ZodLiteral<1>;
211
+ runtimeKey: z.ZodString;
212
+ installationId: z.ZodString;
213
+ displayName: z.ZodString;
214
+ redirectUri: z.ZodURL;
215
+ publicJwk: z.ZodObject<{
216
+ kty: z.ZodLiteral<"EC">;
217
+ crv: z.ZodLiteral<"P-256">;
218
+ x: z.ZodString;
219
+ y: z.ZodString;
220
+ }, z.core.$strict>;
221
+ clientId: z.ZodString;
222
+ registrationRevision: z.ZodInt;
223
+ issuer: z.ZodURL;
224
+ resource: z.ZodURL;
225
+ keyId: z.ZodString;
226
+ protocol: z.ZodLiteral<"delegated-mcp-execution">;
227
+ protocolVersion: z.ZodLiteral<1>;
228
+ contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
229
+ capabilityDigest: z.ZodString;
230
+ }, z.core.$strict>;
231
+ approvedByPrincipalId: z.ZodUUID;
232
+ createdAt: z.ZodISODateTime;
233
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
234
+ }, z.core.$strict>;
235
+ export type AgentExecutionProfile = z.infer<typeof AgentExecutionProfileSchema>;
236
+ export type AgentExecutionDescriptor = z.infer<typeof AgentExecutionDescriptorSchema>;
237
+ export type AgentExecutionRegistrationView = z.infer<typeof AgentExecutionRegistrationViewSchema>;
238
+ export type ApproveAgentExecutionRegistration = z.infer<typeof ApproveAgentExecutionRegistrationSchema>;
239
+ export type RevokeAgentExecutionRegistration = z.infer<typeof RevokeAgentExecutionRegistrationSchema>;
240
+ export type AgentExecutionRegistrationGet = z.infer<typeof AgentExecutionRegistrationGetSchema>;
@@ -0,0 +1,107 @@
1
+ import { z } from "zod";
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>>;
5
+ profileKey: z.ZodString;
6
+ requestId: z.ZodUUID;
7
+ bindingId: z.ZodUUID;
8
+ expectedBindingRevision: z.ZodInt;
9
+ expectedConfigurationVersion: z.ZodInt;
10
+ clientId: z.ZodUUID;
11
+ grantRef: z.ZodUUID;
12
+ installationRevisionId: z.ZodString;
13
+ }, z.core.$strict>;
14
+ export declare const AgentExecutionSelectionSchema: z.ZodObject<{
15
+ registration: z.ZodObject<{
16
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
17
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
18
+ clientId: z.ZodUUID;
19
+ schemaVersion: z.ZodLiteral<1>;
20
+ revision: z.ZodInt;
21
+ enabled: z.ZodBoolean;
22
+ bindingId: z.ZodUUID;
23
+ bindingRevision: z.ZodInt;
24
+ configurationVersion: z.ZodInt;
25
+ profile: z.ZodObject<{
26
+ schemaVersion: z.ZodLiteral<1>;
27
+ profileKey: z.ZodString;
28
+ revision: z.ZodInt;
29
+ capabilities: z.ZodObject<{
30
+ protocol: z.ZodLiteral<"delegated-mcp-execution">;
31
+ protocolVersion: z.ZodLiteral<1>;
32
+ contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
33
+ issuer: z.ZodURL;
34
+ resource: z.ZodURL;
35
+ endpoints: z.ZodObject<{
36
+ capabilities: z.ZodURL;
37
+ authorize: z.ZodURL;
38
+ token: z.ZodURL;
39
+ identity: z.ZodURL;
40
+ bind: z.ZodURL;
41
+ bindingQuery: z.ZodURL;
42
+ access: z.ZodURL;
43
+ accessQuery: z.ZodURL;
44
+ leaseRenew: z.ZodURL;
45
+ leaseQuery: z.ZodURL;
46
+ close: z.ZodURL;
47
+ }, z.core.$strict>;
48
+ supportedProfiles: z.ZodTuple<[z.ZodLiteral<"stateless-json-v1">], null>;
49
+ limits: z.ZodObject<{
50
+ grantMaxSeconds: z.ZodInt;
51
+ executionMaxSeconds: z.ZodInt;
52
+ leaseMaxSeconds: z.ZodInt;
53
+ renewWindowSeconds: z.ZodInt;
54
+ renewBeforeSeconds: z.ZodInt;
55
+ assertionSeconds: z.ZodLiteral<60>;
56
+ clockSkewSeconds: z.ZodLiteral<5>;
57
+ }, z.core.$strict>;
58
+ }, z.core.$strict>;
59
+ capabilityDigest: z.ZodString;
60
+ nativeToolCapabilityDigest: z.ZodString;
61
+ redirectOrigins: z.ZodArray<z.ZodURL>;
62
+ scopes: z.ZodArray<z.ZodString>;
63
+ bootstrap: z.ZodObject<{
64
+ slotKey: z.ZodString;
65
+ entryTool: z.ZodString;
66
+ argumentsMode: z.ZodLiteral<"task-input">;
67
+ }, z.core.$strict>;
68
+ }, z.core.$strict>;
69
+ registration: z.ZodObject<{
70
+ schemaVersion: z.ZodLiteral<1>;
71
+ runtimeKey: z.ZodString;
72
+ installationId: z.ZodString;
73
+ displayName: z.ZodString;
74
+ redirectUri: z.ZodURL;
75
+ publicJwk: z.ZodObject<{
76
+ kty: z.ZodLiteral<"EC">;
77
+ crv: z.ZodLiteral<"P-256">;
78
+ x: z.ZodString;
79
+ y: z.ZodString;
80
+ }, z.core.$strict>;
81
+ clientId: z.ZodString;
82
+ registrationRevision: z.ZodInt;
83
+ issuer: z.ZodURL;
84
+ resource: z.ZodURL;
85
+ keyId: z.ZodString;
86
+ protocol: z.ZodLiteral<"delegated-mcp-execution">;
87
+ protocolVersion: z.ZodLiteral<1>;
88
+ contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
89
+ capabilityDigest: z.ZodString;
90
+ }, z.core.$strict>;
91
+ approvedByPrincipalId: z.ZodUUID;
92
+ createdAt: z.ZodISODateTime;
93
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
94
+ }, z.core.$strict>;
95
+ grant: z.ZodObject<{
96
+ protocolVersion: z.ZodLiteral<1>;
97
+ clientId: z.ZodUUID;
98
+ registrationRevision: z.ZodInt;
99
+ resource: z.ZodURL;
100
+ grantRef: z.ZodUUID;
101
+ grantRevision: z.ZodInt;
102
+ expiresAt: z.ZodISODateTime;
103
+ scopes: z.ZodArray<z.ZodString>;
104
+ }, z.core.$strict>;
105
+ installationRevisionId: z.ZodString;
106
+ }, z.core.$strict>;
107
+ export type ActivateAgentExecution = z.infer<typeof ActivateAgentExecutionSchema>;