@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,1551 @@
1
+ export declare const agentHostExecutionOperations: {
2
+ readonly "agent-host-execution.start": import("./spec.js").HttpOperationSpec<{
3
+ tenantId: string;
4
+ projectId: string;
5
+ productionId: string;
6
+ requestId: string;
7
+ studioInputArtifactId: string;
8
+ bindingId: string;
9
+ expectedProductionRevision: number;
10
+ expectedBindingRevision: number;
11
+ expectedConfigurationVersion: number;
12
+ }, {
13
+ tenantId: string;
14
+ projectId: string;
15
+ productionId: string;
16
+ requestId: string;
17
+ studioInputArtifactId: string;
18
+ bindingId: string;
19
+ expectedProductionRevision: number;
20
+ expectedBindingRevision: number;
21
+ expectedConfigurationVersion: number;
22
+ }, {
23
+ tenantId: string;
24
+ projectId: string;
25
+ productionId: string;
26
+ executionId: string;
27
+ requestId: string;
28
+ requestedByPrincipalId: string;
29
+ hostRequestId: string;
30
+ revision: number;
31
+ snapshotFingerprint: string;
32
+ snapshot: {
33
+ binding: {
34
+ tenantId: string;
35
+ projectId: string;
36
+ bindingId: string;
37
+ revision: number;
38
+ configurationVersion: number;
39
+ enabled: boolean;
40
+ selection: {
41
+ hostKey: string;
42
+ tenantKey: string;
43
+ workspaceKey: string;
44
+ projectKey: string;
45
+ agentKey: string;
46
+ agentVersion: number;
47
+ modelOptionKey: string;
48
+ };
49
+ updatedAt: string;
50
+ };
51
+ input: {
52
+ tenantId: string;
53
+ projectId: string;
54
+ productionId: string;
55
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
56
+ executionId: string;
57
+ hostRequestId: string;
58
+ productionRevision: number;
59
+ studioInput: {
60
+ schemaVersion: 1;
61
+ productionId: string;
62
+ projectTitle: string;
63
+ name: string;
64
+ intent: string;
65
+ aspectRatio: "16:9" | "9:16";
66
+ targetDurationSeconds: number;
67
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
68
+ sourceArtifactIds: string[];
69
+ };
70
+ intake: {
71
+ artifactId: string;
72
+ representationId: string;
73
+ checksumSha256: string;
74
+ byteSize: number;
75
+ contentType: string;
76
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
77
+ };
78
+ sources: {
79
+ artifactId: string;
80
+ representationId: string;
81
+ checksumSha256: string;
82
+ byteSize: number;
83
+ contentType: string;
84
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
85
+ }[];
86
+ };
87
+ authority: {
88
+ tenantId: string;
89
+ projectId: string;
90
+ productionId: string;
91
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
92
+ authorityRef: string;
93
+ executionId: string;
94
+ hostRequestId: string;
95
+ bindingId: string;
96
+ configurationVersion: number;
97
+ inputFingerprint: string;
98
+ capabilityDigest: string;
99
+ expiresAt: string;
100
+ executionClass: "LIVE" | "TEST_ONLY";
101
+ transport?: {
102
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
103
+ installationId: string;
104
+ installationRevisionId: string;
105
+ slotKey: string;
106
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
107
+ capabilityDigest: string;
108
+ } | {
109
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
110
+ installationId: string;
111
+ installationRevisionId: string;
112
+ slotKey: string;
113
+ } | undefined;
114
+ };
115
+ };
116
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
117
+ active: boolean;
118
+ observation: {
119
+ requestId: string;
120
+ runKey: string;
121
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
122
+ agentKey: string;
123
+ agentVersion: number;
124
+ modelOptionKey: string;
125
+ cancelRequested: boolean;
126
+ createdAt: string;
127
+ updatedAt: string;
128
+ timing: {
129
+ acceptedAt: string;
130
+ deadlineAt: string;
131
+ limitSource: "TASK_POLICY";
132
+ } | null;
133
+ } | null;
134
+ cancelRequestId: string | null;
135
+ errorCode: string | null;
136
+ createdAt: string;
137
+ updatedAt: string;
138
+ }, {
139
+ tenantId: string;
140
+ projectId: string;
141
+ productionId: string;
142
+ executionId: string;
143
+ requestId: string;
144
+ requestedByPrincipalId: string;
145
+ hostRequestId: string;
146
+ revision: number;
147
+ snapshotFingerprint: string;
148
+ snapshot: {
149
+ binding: {
150
+ tenantId: string;
151
+ projectId: string;
152
+ bindingId: string;
153
+ revision: number;
154
+ configurationVersion: number;
155
+ enabled: boolean;
156
+ selection: {
157
+ hostKey: string;
158
+ tenantKey: string;
159
+ workspaceKey: string;
160
+ projectKey: string;
161
+ agentKey: string;
162
+ agentVersion: number;
163
+ modelOptionKey: string;
164
+ };
165
+ updatedAt: string;
166
+ };
167
+ input: {
168
+ tenantId: string;
169
+ projectId: string;
170
+ productionId: string;
171
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
172
+ executionId: string;
173
+ hostRequestId: string;
174
+ productionRevision: number;
175
+ studioInput: {
176
+ schemaVersion: 1;
177
+ productionId: string;
178
+ projectTitle: string;
179
+ name: string;
180
+ intent: string;
181
+ aspectRatio: "16:9" | "9:16";
182
+ targetDurationSeconds: number;
183
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
184
+ sourceArtifactIds: string[];
185
+ };
186
+ intake: {
187
+ artifactId: string;
188
+ representationId: string;
189
+ checksumSha256: string;
190
+ byteSize: number;
191
+ contentType: string;
192
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
193
+ };
194
+ sources: {
195
+ artifactId: string;
196
+ representationId: string;
197
+ checksumSha256: string;
198
+ byteSize: number;
199
+ contentType: string;
200
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
201
+ }[];
202
+ };
203
+ authority: {
204
+ tenantId: string;
205
+ projectId: string;
206
+ productionId: string;
207
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
208
+ authorityRef: string;
209
+ executionId: string;
210
+ hostRequestId: string;
211
+ bindingId: string;
212
+ configurationVersion: number;
213
+ inputFingerprint: string;
214
+ capabilityDigest: string;
215
+ expiresAt: string;
216
+ executionClass: "LIVE" | "TEST_ONLY";
217
+ transport?: {
218
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
219
+ installationId: string;
220
+ installationRevisionId: string;
221
+ slotKey: string;
222
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
223
+ capabilityDigest: string;
224
+ } | {
225
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
226
+ installationId: string;
227
+ installationRevisionId: string;
228
+ slotKey: string;
229
+ } | undefined;
230
+ };
231
+ };
232
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
233
+ active: boolean;
234
+ observation: {
235
+ requestId: string;
236
+ runKey: string;
237
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
238
+ agentKey: string;
239
+ agentVersion: number;
240
+ modelOptionKey: string;
241
+ cancelRequested: boolean;
242
+ createdAt: string;
243
+ updatedAt: string;
244
+ timing: {
245
+ acceptedAt: string;
246
+ deadlineAt: string;
247
+ limitSource: "TASK_POLICY";
248
+ } | null;
249
+ } | null;
250
+ cancelRequestId: string | null;
251
+ errorCode: string | null;
252
+ createdAt: string;
253
+ updatedAt: string;
254
+ }>;
255
+ readonly "agent-host-execution.get": import("./spec.js").HttpOperationSpec<{
256
+ tenantId: string;
257
+ projectId: string;
258
+ productionId: string;
259
+ executionId: string;
260
+ }, {
261
+ tenantId: string;
262
+ projectId: string;
263
+ productionId: string;
264
+ executionId: string;
265
+ }, {
266
+ tenantId: string;
267
+ projectId: string;
268
+ productionId: string;
269
+ executionId: string;
270
+ requestId: string;
271
+ requestedByPrincipalId: string;
272
+ hostRequestId: string;
273
+ revision: number;
274
+ snapshotFingerprint: string;
275
+ snapshot: {
276
+ binding: {
277
+ tenantId: string;
278
+ projectId: string;
279
+ bindingId: string;
280
+ revision: number;
281
+ configurationVersion: number;
282
+ enabled: boolean;
283
+ selection: {
284
+ hostKey: string;
285
+ tenantKey: string;
286
+ workspaceKey: string;
287
+ projectKey: string;
288
+ agentKey: string;
289
+ agentVersion: number;
290
+ modelOptionKey: string;
291
+ };
292
+ updatedAt: string;
293
+ };
294
+ input: {
295
+ tenantId: string;
296
+ projectId: string;
297
+ productionId: string;
298
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
299
+ executionId: string;
300
+ hostRequestId: string;
301
+ productionRevision: number;
302
+ studioInput: {
303
+ schemaVersion: 1;
304
+ productionId: string;
305
+ projectTitle: string;
306
+ name: string;
307
+ intent: string;
308
+ aspectRatio: "16:9" | "9:16";
309
+ targetDurationSeconds: number;
310
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
311
+ sourceArtifactIds: string[];
312
+ };
313
+ intake: {
314
+ artifactId: string;
315
+ representationId: string;
316
+ checksumSha256: string;
317
+ byteSize: number;
318
+ contentType: string;
319
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
320
+ };
321
+ sources: {
322
+ artifactId: string;
323
+ representationId: string;
324
+ checksumSha256: string;
325
+ byteSize: number;
326
+ contentType: string;
327
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
328
+ }[];
329
+ };
330
+ authority: {
331
+ tenantId: string;
332
+ projectId: string;
333
+ productionId: string;
334
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
335
+ authorityRef: string;
336
+ executionId: string;
337
+ hostRequestId: string;
338
+ bindingId: string;
339
+ configurationVersion: number;
340
+ inputFingerprint: string;
341
+ capabilityDigest: string;
342
+ expiresAt: string;
343
+ executionClass: "LIVE" | "TEST_ONLY";
344
+ transport?: {
345
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
346
+ installationId: string;
347
+ installationRevisionId: string;
348
+ slotKey: string;
349
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
350
+ capabilityDigest: string;
351
+ } | {
352
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
353
+ installationId: string;
354
+ installationRevisionId: string;
355
+ slotKey: string;
356
+ } | undefined;
357
+ };
358
+ };
359
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
360
+ active: boolean;
361
+ observation: {
362
+ requestId: string;
363
+ runKey: string;
364
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
365
+ agentKey: string;
366
+ agentVersion: number;
367
+ modelOptionKey: string;
368
+ cancelRequested: boolean;
369
+ createdAt: string;
370
+ updatedAt: string;
371
+ timing: {
372
+ acceptedAt: string;
373
+ deadlineAt: string;
374
+ limitSource: "TASK_POLICY";
375
+ } | null;
376
+ } | null;
377
+ cancelRequestId: string | null;
378
+ errorCode: string | null;
379
+ createdAt: string;
380
+ updatedAt: string;
381
+ }, {
382
+ tenantId: string;
383
+ projectId: string;
384
+ productionId: string;
385
+ executionId: string;
386
+ requestId: string;
387
+ requestedByPrincipalId: string;
388
+ hostRequestId: string;
389
+ revision: number;
390
+ snapshotFingerprint: string;
391
+ snapshot: {
392
+ binding: {
393
+ tenantId: string;
394
+ projectId: string;
395
+ bindingId: string;
396
+ revision: number;
397
+ configurationVersion: number;
398
+ enabled: boolean;
399
+ selection: {
400
+ hostKey: string;
401
+ tenantKey: string;
402
+ workspaceKey: string;
403
+ projectKey: string;
404
+ agentKey: string;
405
+ agentVersion: number;
406
+ modelOptionKey: string;
407
+ };
408
+ updatedAt: string;
409
+ };
410
+ input: {
411
+ tenantId: string;
412
+ projectId: string;
413
+ productionId: string;
414
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
415
+ executionId: string;
416
+ hostRequestId: string;
417
+ productionRevision: number;
418
+ studioInput: {
419
+ schemaVersion: 1;
420
+ productionId: string;
421
+ projectTitle: string;
422
+ name: string;
423
+ intent: string;
424
+ aspectRatio: "16:9" | "9:16";
425
+ targetDurationSeconds: number;
426
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
427
+ sourceArtifactIds: string[];
428
+ };
429
+ intake: {
430
+ artifactId: string;
431
+ representationId: string;
432
+ checksumSha256: string;
433
+ byteSize: number;
434
+ contentType: string;
435
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
436
+ };
437
+ sources: {
438
+ artifactId: string;
439
+ representationId: string;
440
+ checksumSha256: string;
441
+ byteSize: number;
442
+ contentType: string;
443
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
444
+ }[];
445
+ };
446
+ authority: {
447
+ tenantId: string;
448
+ projectId: string;
449
+ productionId: string;
450
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
451
+ authorityRef: string;
452
+ executionId: string;
453
+ hostRequestId: string;
454
+ bindingId: string;
455
+ configurationVersion: number;
456
+ inputFingerprint: string;
457
+ capabilityDigest: string;
458
+ expiresAt: string;
459
+ executionClass: "LIVE" | "TEST_ONLY";
460
+ transport?: {
461
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
462
+ installationId: string;
463
+ installationRevisionId: string;
464
+ slotKey: string;
465
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
466
+ capabilityDigest: string;
467
+ } | {
468
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
469
+ installationId: string;
470
+ installationRevisionId: string;
471
+ slotKey: string;
472
+ } | undefined;
473
+ };
474
+ };
475
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
476
+ active: boolean;
477
+ observation: {
478
+ requestId: string;
479
+ runKey: string;
480
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
481
+ agentKey: string;
482
+ agentVersion: number;
483
+ modelOptionKey: string;
484
+ cancelRequested: boolean;
485
+ createdAt: string;
486
+ updatedAt: string;
487
+ timing: {
488
+ acceptedAt: string;
489
+ deadlineAt: string;
490
+ limitSource: "TASK_POLICY";
491
+ } | null;
492
+ } | null;
493
+ cancelRequestId: string | null;
494
+ errorCode: string | null;
495
+ createdAt: string;
496
+ updatedAt: string;
497
+ }>;
498
+ readonly "agent-host-execution.query": import("./spec.js").HttpOperationSpec<{
499
+ tenantId: string;
500
+ projectId: string;
501
+ productionId: string;
502
+ limit?: number | undefined;
503
+ beforeId?: string | undefined;
504
+ }, {
505
+ tenantId: string;
506
+ projectId: string;
507
+ productionId: string;
508
+ limit: number;
509
+ beforeId?: string | undefined;
510
+ }, {
511
+ items: {
512
+ tenantId: string;
513
+ projectId: string;
514
+ productionId: string;
515
+ executionId: string;
516
+ requestId: string;
517
+ requestedByPrincipalId: string;
518
+ hostRequestId: string;
519
+ revision: number;
520
+ snapshotFingerprint: string;
521
+ snapshot: {
522
+ binding: {
523
+ tenantId: string;
524
+ projectId: string;
525
+ bindingId: string;
526
+ revision: number;
527
+ configurationVersion: number;
528
+ enabled: boolean;
529
+ selection: {
530
+ hostKey: string;
531
+ tenantKey: string;
532
+ workspaceKey: string;
533
+ projectKey: string;
534
+ agentKey: string;
535
+ agentVersion: number;
536
+ modelOptionKey: string;
537
+ };
538
+ updatedAt: string;
539
+ };
540
+ input: {
541
+ tenantId: string;
542
+ projectId: string;
543
+ productionId: string;
544
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
545
+ executionId: string;
546
+ hostRequestId: string;
547
+ productionRevision: number;
548
+ studioInput: {
549
+ schemaVersion: 1;
550
+ productionId: string;
551
+ projectTitle: string;
552
+ name: string;
553
+ intent: string;
554
+ aspectRatio: "16:9" | "9:16";
555
+ targetDurationSeconds: number;
556
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
557
+ sourceArtifactIds: string[];
558
+ };
559
+ intake: {
560
+ artifactId: string;
561
+ representationId: string;
562
+ checksumSha256: string;
563
+ byteSize: number;
564
+ contentType: string;
565
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
566
+ };
567
+ sources: {
568
+ artifactId: string;
569
+ representationId: string;
570
+ checksumSha256: string;
571
+ byteSize: number;
572
+ contentType: string;
573
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
574
+ }[];
575
+ };
576
+ authority: {
577
+ tenantId: string;
578
+ projectId: string;
579
+ productionId: string;
580
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
581
+ authorityRef: string;
582
+ executionId: string;
583
+ hostRequestId: string;
584
+ bindingId: string;
585
+ configurationVersion: number;
586
+ inputFingerprint: string;
587
+ capabilityDigest: string;
588
+ expiresAt: string;
589
+ executionClass: "LIVE" | "TEST_ONLY";
590
+ transport?: {
591
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
592
+ installationId: string;
593
+ installationRevisionId: string;
594
+ slotKey: string;
595
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
596
+ capabilityDigest: string;
597
+ } | {
598
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
599
+ installationId: string;
600
+ installationRevisionId: string;
601
+ slotKey: string;
602
+ } | undefined;
603
+ };
604
+ };
605
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
606
+ active: boolean;
607
+ observation: {
608
+ requestId: string;
609
+ runKey: string;
610
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
611
+ agentKey: string;
612
+ agentVersion: number;
613
+ modelOptionKey: string;
614
+ cancelRequested: boolean;
615
+ createdAt: string;
616
+ updatedAt: string;
617
+ timing: {
618
+ acceptedAt: string;
619
+ deadlineAt: string;
620
+ limitSource: "TASK_POLICY";
621
+ } | null;
622
+ } | null;
623
+ cancelRequestId: string | null;
624
+ errorCode: string | null;
625
+ createdAt: string;
626
+ updatedAt: string;
627
+ }[];
628
+ hasMore: boolean;
629
+ nextBeforeId: string | null;
630
+ }, {
631
+ items: {
632
+ tenantId: string;
633
+ projectId: string;
634
+ productionId: string;
635
+ executionId: string;
636
+ requestId: string;
637
+ requestedByPrincipalId: string;
638
+ hostRequestId: string;
639
+ revision: number;
640
+ snapshotFingerprint: string;
641
+ snapshot: {
642
+ binding: {
643
+ tenantId: string;
644
+ projectId: string;
645
+ bindingId: string;
646
+ revision: number;
647
+ configurationVersion: number;
648
+ enabled: boolean;
649
+ selection: {
650
+ hostKey: string;
651
+ tenantKey: string;
652
+ workspaceKey: string;
653
+ projectKey: string;
654
+ agentKey: string;
655
+ agentVersion: number;
656
+ modelOptionKey: string;
657
+ };
658
+ updatedAt: string;
659
+ };
660
+ input: {
661
+ tenantId: string;
662
+ projectId: string;
663
+ productionId: string;
664
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
665
+ executionId: string;
666
+ hostRequestId: string;
667
+ productionRevision: number;
668
+ studioInput: {
669
+ schemaVersion: 1;
670
+ productionId: string;
671
+ projectTitle: string;
672
+ name: string;
673
+ intent: string;
674
+ aspectRatio: "16:9" | "9:16";
675
+ targetDurationSeconds: number;
676
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
677
+ sourceArtifactIds: string[];
678
+ };
679
+ intake: {
680
+ artifactId: string;
681
+ representationId: string;
682
+ checksumSha256: string;
683
+ byteSize: number;
684
+ contentType: string;
685
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
686
+ };
687
+ sources: {
688
+ artifactId: string;
689
+ representationId: string;
690
+ checksumSha256: string;
691
+ byteSize: number;
692
+ contentType: string;
693
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
694
+ }[];
695
+ };
696
+ authority: {
697
+ tenantId: string;
698
+ projectId: string;
699
+ productionId: string;
700
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
701
+ authorityRef: string;
702
+ executionId: string;
703
+ hostRequestId: string;
704
+ bindingId: string;
705
+ configurationVersion: number;
706
+ inputFingerprint: string;
707
+ capabilityDigest: string;
708
+ expiresAt: string;
709
+ executionClass: "LIVE" | "TEST_ONLY";
710
+ transport?: {
711
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
712
+ installationId: string;
713
+ installationRevisionId: string;
714
+ slotKey: string;
715
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
716
+ capabilityDigest: string;
717
+ } | {
718
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
719
+ installationId: string;
720
+ installationRevisionId: string;
721
+ slotKey: string;
722
+ } | undefined;
723
+ };
724
+ };
725
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
726
+ active: boolean;
727
+ observation: {
728
+ requestId: string;
729
+ runKey: string;
730
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
731
+ agentKey: string;
732
+ agentVersion: number;
733
+ modelOptionKey: string;
734
+ cancelRequested: boolean;
735
+ createdAt: string;
736
+ updatedAt: string;
737
+ timing: {
738
+ acceptedAt: string;
739
+ deadlineAt: string;
740
+ limitSource: "TASK_POLICY";
741
+ } | null;
742
+ } | null;
743
+ cancelRequestId: string | null;
744
+ errorCode: string | null;
745
+ createdAt: string;
746
+ updatedAt: string;
747
+ }[];
748
+ hasMore: boolean;
749
+ nextBeforeId: string | null;
750
+ }>;
751
+ readonly "agent-host-execution.events": import("./spec.js").HttpOperationSpec<{
752
+ tenantId: string;
753
+ projectId: string;
754
+ productionId: string;
755
+ executionId: string;
756
+ limit?: number | undefined;
757
+ beforeRevision?: number | undefined;
758
+ }, {
759
+ tenantId: string;
760
+ projectId: string;
761
+ productionId: string;
762
+ executionId: string;
763
+ limit: number;
764
+ beforeRevision?: number | undefined;
765
+ }, {
766
+ items: {
767
+ id: string;
768
+ executionId: string;
769
+ revision: number;
770
+ action: "ADMIT" | "CLAIM" | "RECOVER_UNKNOWN" | "OBSERVE" | "REJECT" | "CANCEL_REQUEST" | "CANCEL_UNSENT";
771
+ createdByPrincipalId: string;
772
+ observation: {
773
+ requestId: string;
774
+ runKey: string;
775
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
776
+ agentKey: string;
777
+ agentVersion: number;
778
+ modelOptionKey: string;
779
+ cancelRequested: boolean;
780
+ createdAt: string;
781
+ updatedAt: string;
782
+ timing: {
783
+ acceptedAt: string;
784
+ deadlineAt: string;
785
+ limitSource: "TASK_POLICY";
786
+ } | null;
787
+ } | null;
788
+ errorCode: string | null;
789
+ createdAt: string;
790
+ }[];
791
+ hasMore: boolean;
792
+ nextBeforeRevision: number | null;
793
+ }, {
794
+ items: {
795
+ id: string;
796
+ executionId: string;
797
+ revision: number;
798
+ action: "ADMIT" | "CLAIM" | "RECOVER_UNKNOWN" | "OBSERVE" | "REJECT" | "CANCEL_REQUEST" | "CANCEL_UNSENT";
799
+ createdByPrincipalId: string;
800
+ observation: {
801
+ requestId: string;
802
+ runKey: string;
803
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
804
+ agentKey: string;
805
+ agentVersion: number;
806
+ modelOptionKey: string;
807
+ cancelRequested: boolean;
808
+ createdAt: string;
809
+ updatedAt: string;
810
+ timing: {
811
+ acceptedAt: string;
812
+ deadlineAt: string;
813
+ limitSource: "TASK_POLICY";
814
+ } | null;
815
+ } | null;
816
+ errorCode: string | null;
817
+ createdAt: string;
818
+ }[];
819
+ hasMore: boolean;
820
+ nextBeforeRevision: number | null;
821
+ }>;
822
+ readonly "agent-host-execution.dispatch": import("./spec.js").HttpOperationSpec<{
823
+ tenantId: string;
824
+ projectId: string;
825
+ productionId: string;
826
+ executionId: string;
827
+ }, {
828
+ tenantId: string;
829
+ projectId: string;
830
+ productionId: string;
831
+ executionId: string;
832
+ }, {
833
+ tenantId: string;
834
+ projectId: string;
835
+ productionId: string;
836
+ executionId: string;
837
+ requestId: string;
838
+ requestedByPrincipalId: string;
839
+ hostRequestId: string;
840
+ revision: number;
841
+ snapshotFingerprint: string;
842
+ snapshot: {
843
+ binding: {
844
+ tenantId: string;
845
+ projectId: string;
846
+ bindingId: string;
847
+ revision: number;
848
+ configurationVersion: number;
849
+ enabled: boolean;
850
+ selection: {
851
+ hostKey: string;
852
+ tenantKey: string;
853
+ workspaceKey: string;
854
+ projectKey: string;
855
+ agentKey: string;
856
+ agentVersion: number;
857
+ modelOptionKey: string;
858
+ };
859
+ updatedAt: string;
860
+ };
861
+ input: {
862
+ tenantId: string;
863
+ projectId: string;
864
+ productionId: string;
865
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
866
+ executionId: string;
867
+ hostRequestId: string;
868
+ productionRevision: number;
869
+ studioInput: {
870
+ schemaVersion: 1;
871
+ productionId: string;
872
+ projectTitle: string;
873
+ name: string;
874
+ intent: string;
875
+ aspectRatio: "16:9" | "9:16";
876
+ targetDurationSeconds: number;
877
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
878
+ sourceArtifactIds: string[];
879
+ };
880
+ intake: {
881
+ artifactId: string;
882
+ representationId: string;
883
+ checksumSha256: string;
884
+ byteSize: number;
885
+ contentType: string;
886
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
887
+ };
888
+ sources: {
889
+ artifactId: string;
890
+ representationId: string;
891
+ checksumSha256: string;
892
+ byteSize: number;
893
+ contentType: string;
894
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
895
+ }[];
896
+ };
897
+ authority: {
898
+ tenantId: string;
899
+ projectId: string;
900
+ productionId: string;
901
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
902
+ authorityRef: string;
903
+ executionId: string;
904
+ hostRequestId: string;
905
+ bindingId: string;
906
+ configurationVersion: number;
907
+ inputFingerprint: string;
908
+ capabilityDigest: string;
909
+ expiresAt: string;
910
+ executionClass: "LIVE" | "TEST_ONLY";
911
+ transport?: {
912
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
913
+ installationId: string;
914
+ installationRevisionId: string;
915
+ slotKey: string;
916
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
917
+ capabilityDigest: string;
918
+ } | {
919
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
920
+ installationId: string;
921
+ installationRevisionId: string;
922
+ slotKey: string;
923
+ } | undefined;
924
+ };
925
+ };
926
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
927
+ active: boolean;
928
+ observation: {
929
+ requestId: string;
930
+ runKey: string;
931
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
932
+ agentKey: string;
933
+ agentVersion: number;
934
+ modelOptionKey: string;
935
+ cancelRequested: boolean;
936
+ createdAt: string;
937
+ updatedAt: string;
938
+ timing: {
939
+ acceptedAt: string;
940
+ deadlineAt: string;
941
+ limitSource: "TASK_POLICY";
942
+ } | null;
943
+ } | null;
944
+ cancelRequestId: string | null;
945
+ errorCode: string | null;
946
+ createdAt: string;
947
+ updatedAt: string;
948
+ }, {
949
+ tenantId: string;
950
+ projectId: string;
951
+ productionId: string;
952
+ executionId: string;
953
+ requestId: string;
954
+ requestedByPrincipalId: string;
955
+ hostRequestId: string;
956
+ revision: number;
957
+ snapshotFingerprint: string;
958
+ snapshot: {
959
+ binding: {
960
+ tenantId: string;
961
+ projectId: string;
962
+ bindingId: string;
963
+ revision: number;
964
+ configurationVersion: number;
965
+ enabled: boolean;
966
+ selection: {
967
+ hostKey: string;
968
+ tenantKey: string;
969
+ workspaceKey: string;
970
+ projectKey: string;
971
+ agentKey: string;
972
+ agentVersion: number;
973
+ modelOptionKey: string;
974
+ };
975
+ updatedAt: string;
976
+ };
977
+ input: {
978
+ tenantId: string;
979
+ projectId: string;
980
+ productionId: string;
981
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
982
+ executionId: string;
983
+ hostRequestId: string;
984
+ productionRevision: number;
985
+ studioInput: {
986
+ schemaVersion: 1;
987
+ productionId: string;
988
+ projectTitle: string;
989
+ name: string;
990
+ intent: string;
991
+ aspectRatio: "16:9" | "9:16";
992
+ targetDurationSeconds: number;
993
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
994
+ sourceArtifactIds: string[];
995
+ };
996
+ intake: {
997
+ artifactId: string;
998
+ representationId: string;
999
+ checksumSha256: string;
1000
+ byteSize: number;
1001
+ contentType: string;
1002
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
1003
+ };
1004
+ sources: {
1005
+ artifactId: string;
1006
+ representationId: string;
1007
+ checksumSha256: string;
1008
+ byteSize: number;
1009
+ contentType: string;
1010
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
1011
+ }[];
1012
+ };
1013
+ authority: {
1014
+ tenantId: string;
1015
+ projectId: string;
1016
+ productionId: string;
1017
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
1018
+ authorityRef: string;
1019
+ executionId: string;
1020
+ hostRequestId: string;
1021
+ bindingId: string;
1022
+ configurationVersion: number;
1023
+ inputFingerprint: string;
1024
+ capabilityDigest: string;
1025
+ expiresAt: string;
1026
+ executionClass: "LIVE" | "TEST_ONLY";
1027
+ transport?: {
1028
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
1029
+ installationId: string;
1030
+ installationRevisionId: string;
1031
+ slotKey: string;
1032
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
1033
+ capabilityDigest: string;
1034
+ } | {
1035
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
1036
+ installationId: string;
1037
+ installationRevisionId: string;
1038
+ slotKey: string;
1039
+ } | undefined;
1040
+ };
1041
+ };
1042
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
1043
+ active: boolean;
1044
+ observation: {
1045
+ requestId: string;
1046
+ runKey: string;
1047
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
1048
+ agentKey: string;
1049
+ agentVersion: number;
1050
+ modelOptionKey: string;
1051
+ cancelRequested: boolean;
1052
+ createdAt: string;
1053
+ updatedAt: string;
1054
+ timing: {
1055
+ acceptedAt: string;
1056
+ deadlineAt: string;
1057
+ limitSource: "TASK_POLICY";
1058
+ } | null;
1059
+ } | null;
1060
+ cancelRequestId: string | null;
1061
+ errorCode: string | null;
1062
+ createdAt: string;
1063
+ updatedAt: string;
1064
+ }>;
1065
+ readonly "agent-host-execution.reconcile": import("./spec.js").HttpOperationSpec<{
1066
+ tenantId: string;
1067
+ projectId: string;
1068
+ productionId: string;
1069
+ executionId: string;
1070
+ }, {
1071
+ tenantId: string;
1072
+ projectId: string;
1073
+ productionId: string;
1074
+ executionId: string;
1075
+ }, {
1076
+ tenantId: string;
1077
+ projectId: string;
1078
+ productionId: string;
1079
+ executionId: string;
1080
+ requestId: string;
1081
+ requestedByPrincipalId: string;
1082
+ hostRequestId: string;
1083
+ revision: number;
1084
+ snapshotFingerprint: string;
1085
+ snapshot: {
1086
+ binding: {
1087
+ tenantId: string;
1088
+ projectId: string;
1089
+ bindingId: string;
1090
+ revision: number;
1091
+ configurationVersion: number;
1092
+ enabled: boolean;
1093
+ selection: {
1094
+ hostKey: string;
1095
+ tenantKey: string;
1096
+ workspaceKey: string;
1097
+ projectKey: string;
1098
+ agentKey: string;
1099
+ agentVersion: number;
1100
+ modelOptionKey: string;
1101
+ };
1102
+ updatedAt: string;
1103
+ };
1104
+ input: {
1105
+ tenantId: string;
1106
+ projectId: string;
1107
+ productionId: string;
1108
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
1109
+ executionId: string;
1110
+ hostRequestId: string;
1111
+ productionRevision: number;
1112
+ studioInput: {
1113
+ schemaVersion: 1;
1114
+ productionId: string;
1115
+ projectTitle: string;
1116
+ name: string;
1117
+ intent: string;
1118
+ aspectRatio: "16:9" | "9:16";
1119
+ targetDurationSeconds: number;
1120
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
1121
+ sourceArtifactIds: string[];
1122
+ };
1123
+ intake: {
1124
+ artifactId: string;
1125
+ representationId: string;
1126
+ checksumSha256: string;
1127
+ byteSize: number;
1128
+ contentType: string;
1129
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
1130
+ };
1131
+ sources: {
1132
+ artifactId: string;
1133
+ representationId: string;
1134
+ checksumSha256: string;
1135
+ byteSize: number;
1136
+ contentType: string;
1137
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
1138
+ }[];
1139
+ };
1140
+ authority: {
1141
+ tenantId: string;
1142
+ projectId: string;
1143
+ productionId: string;
1144
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
1145
+ authorityRef: string;
1146
+ executionId: string;
1147
+ hostRequestId: string;
1148
+ bindingId: string;
1149
+ configurationVersion: number;
1150
+ inputFingerprint: string;
1151
+ capabilityDigest: string;
1152
+ expiresAt: string;
1153
+ executionClass: "LIVE" | "TEST_ONLY";
1154
+ transport?: {
1155
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
1156
+ installationId: string;
1157
+ installationRevisionId: string;
1158
+ slotKey: string;
1159
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
1160
+ capabilityDigest: string;
1161
+ } | {
1162
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
1163
+ installationId: string;
1164
+ installationRevisionId: string;
1165
+ slotKey: string;
1166
+ } | undefined;
1167
+ };
1168
+ };
1169
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
1170
+ active: boolean;
1171
+ observation: {
1172
+ requestId: string;
1173
+ runKey: string;
1174
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
1175
+ agentKey: string;
1176
+ agentVersion: number;
1177
+ modelOptionKey: string;
1178
+ cancelRequested: boolean;
1179
+ createdAt: string;
1180
+ updatedAt: string;
1181
+ timing: {
1182
+ acceptedAt: string;
1183
+ deadlineAt: string;
1184
+ limitSource: "TASK_POLICY";
1185
+ } | null;
1186
+ } | null;
1187
+ cancelRequestId: string | null;
1188
+ errorCode: string | null;
1189
+ createdAt: string;
1190
+ updatedAt: string;
1191
+ }, {
1192
+ tenantId: string;
1193
+ projectId: string;
1194
+ productionId: string;
1195
+ executionId: string;
1196
+ requestId: string;
1197
+ requestedByPrincipalId: string;
1198
+ hostRequestId: string;
1199
+ revision: number;
1200
+ snapshotFingerprint: string;
1201
+ snapshot: {
1202
+ binding: {
1203
+ tenantId: string;
1204
+ projectId: string;
1205
+ bindingId: string;
1206
+ revision: number;
1207
+ configurationVersion: number;
1208
+ enabled: boolean;
1209
+ selection: {
1210
+ hostKey: string;
1211
+ tenantKey: string;
1212
+ workspaceKey: string;
1213
+ projectKey: string;
1214
+ agentKey: string;
1215
+ agentVersion: number;
1216
+ modelOptionKey: string;
1217
+ };
1218
+ updatedAt: string;
1219
+ };
1220
+ input: {
1221
+ tenantId: string;
1222
+ projectId: string;
1223
+ productionId: string;
1224
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
1225
+ executionId: string;
1226
+ hostRequestId: string;
1227
+ productionRevision: number;
1228
+ studioInput: {
1229
+ schemaVersion: 1;
1230
+ productionId: string;
1231
+ projectTitle: string;
1232
+ name: string;
1233
+ intent: string;
1234
+ aspectRatio: "16:9" | "9:16";
1235
+ targetDurationSeconds: number;
1236
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
1237
+ sourceArtifactIds: string[];
1238
+ };
1239
+ intake: {
1240
+ artifactId: string;
1241
+ representationId: string;
1242
+ checksumSha256: string;
1243
+ byteSize: number;
1244
+ contentType: string;
1245
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
1246
+ };
1247
+ sources: {
1248
+ artifactId: string;
1249
+ representationId: string;
1250
+ checksumSha256: string;
1251
+ byteSize: number;
1252
+ contentType: string;
1253
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
1254
+ }[];
1255
+ };
1256
+ authority: {
1257
+ tenantId: string;
1258
+ projectId: string;
1259
+ productionId: string;
1260
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
1261
+ authorityRef: string;
1262
+ executionId: string;
1263
+ hostRequestId: string;
1264
+ bindingId: string;
1265
+ configurationVersion: number;
1266
+ inputFingerprint: string;
1267
+ capabilityDigest: string;
1268
+ expiresAt: string;
1269
+ executionClass: "LIVE" | "TEST_ONLY";
1270
+ transport?: {
1271
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
1272
+ installationId: string;
1273
+ installationRevisionId: string;
1274
+ slotKey: string;
1275
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
1276
+ capabilityDigest: string;
1277
+ } | {
1278
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
1279
+ installationId: string;
1280
+ installationRevisionId: string;
1281
+ slotKey: string;
1282
+ } | undefined;
1283
+ };
1284
+ };
1285
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
1286
+ active: boolean;
1287
+ observation: {
1288
+ requestId: string;
1289
+ runKey: string;
1290
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
1291
+ agentKey: string;
1292
+ agentVersion: number;
1293
+ modelOptionKey: string;
1294
+ cancelRequested: boolean;
1295
+ createdAt: string;
1296
+ updatedAt: string;
1297
+ timing: {
1298
+ acceptedAt: string;
1299
+ deadlineAt: string;
1300
+ limitSource: "TASK_POLICY";
1301
+ } | null;
1302
+ } | null;
1303
+ cancelRequestId: string | null;
1304
+ errorCode: string | null;
1305
+ createdAt: string;
1306
+ updatedAt: string;
1307
+ }>;
1308
+ readonly "agent-host-execution.cancel": import("./spec.js").HttpOperationSpec<{
1309
+ tenantId: string;
1310
+ projectId: string;
1311
+ productionId: string;
1312
+ executionId: string;
1313
+ }, {
1314
+ tenantId: string;
1315
+ projectId: string;
1316
+ productionId: string;
1317
+ executionId: string;
1318
+ }, {
1319
+ tenantId: string;
1320
+ projectId: string;
1321
+ productionId: string;
1322
+ executionId: string;
1323
+ requestId: string;
1324
+ requestedByPrincipalId: string;
1325
+ hostRequestId: string;
1326
+ revision: number;
1327
+ snapshotFingerprint: string;
1328
+ snapshot: {
1329
+ binding: {
1330
+ tenantId: string;
1331
+ projectId: string;
1332
+ bindingId: string;
1333
+ revision: number;
1334
+ configurationVersion: number;
1335
+ enabled: boolean;
1336
+ selection: {
1337
+ hostKey: string;
1338
+ tenantKey: string;
1339
+ workspaceKey: string;
1340
+ projectKey: string;
1341
+ agentKey: string;
1342
+ agentVersion: number;
1343
+ modelOptionKey: string;
1344
+ };
1345
+ updatedAt: string;
1346
+ };
1347
+ input: {
1348
+ tenantId: string;
1349
+ projectId: string;
1350
+ productionId: string;
1351
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
1352
+ executionId: string;
1353
+ hostRequestId: string;
1354
+ productionRevision: number;
1355
+ studioInput: {
1356
+ schemaVersion: 1;
1357
+ productionId: string;
1358
+ projectTitle: string;
1359
+ name: string;
1360
+ intent: string;
1361
+ aspectRatio: "16:9" | "9:16";
1362
+ targetDurationSeconds: number;
1363
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
1364
+ sourceArtifactIds: string[];
1365
+ };
1366
+ intake: {
1367
+ artifactId: string;
1368
+ representationId: string;
1369
+ checksumSha256: string;
1370
+ byteSize: number;
1371
+ contentType: string;
1372
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
1373
+ };
1374
+ sources: {
1375
+ artifactId: string;
1376
+ representationId: string;
1377
+ checksumSha256: string;
1378
+ byteSize: number;
1379
+ contentType: string;
1380
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
1381
+ }[];
1382
+ };
1383
+ authority: {
1384
+ tenantId: string;
1385
+ projectId: string;
1386
+ productionId: string;
1387
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
1388
+ authorityRef: string;
1389
+ executionId: string;
1390
+ hostRequestId: string;
1391
+ bindingId: string;
1392
+ configurationVersion: number;
1393
+ inputFingerprint: string;
1394
+ capabilityDigest: string;
1395
+ expiresAt: string;
1396
+ executionClass: "LIVE" | "TEST_ONLY";
1397
+ transport?: {
1398
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
1399
+ installationId: string;
1400
+ installationRevisionId: string;
1401
+ slotKey: string;
1402
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
1403
+ capabilityDigest: string;
1404
+ } | {
1405
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
1406
+ installationId: string;
1407
+ installationRevisionId: string;
1408
+ slotKey: string;
1409
+ } | undefined;
1410
+ };
1411
+ };
1412
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
1413
+ active: boolean;
1414
+ observation: {
1415
+ requestId: string;
1416
+ runKey: string;
1417
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
1418
+ agentKey: string;
1419
+ agentVersion: number;
1420
+ modelOptionKey: string;
1421
+ cancelRequested: boolean;
1422
+ createdAt: string;
1423
+ updatedAt: string;
1424
+ timing: {
1425
+ acceptedAt: string;
1426
+ deadlineAt: string;
1427
+ limitSource: "TASK_POLICY";
1428
+ } | null;
1429
+ } | null;
1430
+ cancelRequestId: string | null;
1431
+ errorCode: string | null;
1432
+ createdAt: string;
1433
+ updatedAt: string;
1434
+ }, {
1435
+ tenantId: string;
1436
+ projectId: string;
1437
+ productionId: string;
1438
+ executionId: string;
1439
+ requestId: string;
1440
+ requestedByPrincipalId: string;
1441
+ hostRequestId: string;
1442
+ revision: number;
1443
+ snapshotFingerprint: string;
1444
+ snapshot: {
1445
+ binding: {
1446
+ tenantId: string;
1447
+ projectId: string;
1448
+ bindingId: string;
1449
+ revision: number;
1450
+ configurationVersion: number;
1451
+ enabled: boolean;
1452
+ selection: {
1453
+ hostKey: string;
1454
+ tenantKey: string;
1455
+ workspaceKey: string;
1456
+ projectKey: string;
1457
+ agentKey: string;
1458
+ agentVersion: number;
1459
+ modelOptionKey: string;
1460
+ };
1461
+ updatedAt: string;
1462
+ };
1463
+ input: {
1464
+ tenantId: string;
1465
+ projectId: string;
1466
+ productionId: string;
1467
+ protocol: "NATIVESTUDIO_PRODUCTION_V1";
1468
+ executionId: string;
1469
+ hostRequestId: string;
1470
+ productionRevision: number;
1471
+ studioInput: {
1472
+ schemaVersion: 1;
1473
+ productionId: string;
1474
+ projectTitle: string;
1475
+ name: string;
1476
+ intent: string;
1477
+ aspectRatio: "16:9" | "9:16";
1478
+ targetDurationSeconds: number;
1479
+ outputProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
1480
+ sourceArtifactIds: string[];
1481
+ };
1482
+ intake: {
1483
+ artifactId: string;
1484
+ representationId: string;
1485
+ checksumSha256: string;
1486
+ byteSize: number;
1487
+ contentType: string;
1488
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
1489
+ };
1490
+ sources: {
1491
+ artifactId: string;
1492
+ representationId: string;
1493
+ checksumSha256: string;
1494
+ byteSize: number;
1495
+ contentType: string;
1496
+ kind: "REFERENCE_IMAGE" | "REFERENCE_VIDEO" | "PRODUCT_INFORMATION";
1497
+ }[];
1498
+ };
1499
+ authority: {
1500
+ tenantId: string;
1501
+ projectId: string;
1502
+ productionId: string;
1503
+ protocol: "NATIVESTUDIO_AGENT_TOOLS_V1";
1504
+ authorityRef: string;
1505
+ executionId: string;
1506
+ hostRequestId: string;
1507
+ bindingId: string;
1508
+ configurationVersion: number;
1509
+ inputFingerprint: string;
1510
+ capabilityDigest: string;
1511
+ expiresAt: string;
1512
+ executionClass: "LIVE" | "TEST_ONLY";
1513
+ transport?: {
1514
+ protocol: "AGENT_STACK_GENERIC_INSTALLATION_V3";
1515
+ installationId: string;
1516
+ installationRevisionId: string;
1517
+ slotKey: string;
1518
+ contractDigest: "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
1519
+ capabilityDigest: string;
1520
+ } | {
1521
+ protocol: "AGENT_STACK_NATIVE_INSTALLATION_V2";
1522
+ installationId: string;
1523
+ installationRevisionId: string;
1524
+ slotKey: string;
1525
+ } | undefined;
1526
+ };
1527
+ };
1528
+ dispatchPhase: "ADMITTED" | "SENDING" | "OUTCOME_UNKNOWN" | "OBSERVING" | "REJECTED" | "CANCELLED_BEFORE_SUBMISSION";
1529
+ active: boolean;
1530
+ observation: {
1531
+ requestId: string;
1532
+ runKey: string;
1533
+ status: "unknown" | "running" | "succeeded" | "failed" | "cancelled" | "accepted";
1534
+ agentKey: string;
1535
+ agentVersion: number;
1536
+ modelOptionKey: string;
1537
+ cancelRequested: boolean;
1538
+ createdAt: string;
1539
+ updatedAt: string;
1540
+ timing: {
1541
+ acceptedAt: string;
1542
+ deadlineAt: string;
1543
+ limitSource: "TASK_POLICY";
1544
+ } | null;
1545
+ } | null;
1546
+ cancelRequestId: string | null;
1547
+ errorCode: string | null;
1548
+ createdAt: string;
1549
+ updatedAt: string;
1550
+ }>;
1551
+ };