@air-jam/devtools 0.0.0-stage → 0.9.3

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 (135) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -2
  3. package/dist/agent.d.ts +15 -0
  4. package/dist/agent.js +19 -0
  5. package/dist/agent.js.map +1 -0
  6. package/dist/chunk-5YAARMW5.js +36 -0
  7. package/dist/chunk-5YAARMW5.js.map +1 -0
  8. package/dist/chunk-6WQODT37.js +1019 -0
  9. package/dist/chunk-6WQODT37.js.map +1 -0
  10. package/dist/chunk-CKFT2ZJE.js +801 -0
  11. package/dist/chunk-CKFT2ZJE.js.map +1 -0
  12. package/dist/chunk-ER3Q2C4G.js +358 -0
  13. package/dist/chunk-ER3Q2C4G.js.map +1 -0
  14. package/dist/chunk-GUEZP773.js +851 -0
  15. package/dist/chunk-GUEZP773.js.map +1 -0
  16. package/dist/chunk-HIDNI56E.js +33 -0
  17. package/dist/chunk-HIDNI56E.js.map +1 -0
  18. package/dist/chunk-QKXS5D35.js +43 -0
  19. package/dist/chunk-QKXS5D35.js.map +1 -0
  20. package/dist/chunk-S4LSCEVE.js +261 -0
  21. package/dist/chunk-S4LSCEVE.js.map +1 -0
  22. package/dist/chunk-VKMJO6VN.js +360 -0
  23. package/dist/chunk-VKMJO6VN.js.map +1 -0
  24. package/dist/chunk-WFUR3MXY.js +67 -0
  25. package/dist/chunk-WFUR3MXY.js.map +1 -0
  26. package/dist/chunk-XEMR7KUE.js +361 -0
  27. package/dist/chunk-XEMR7KUE.js.map +1 -0
  28. package/dist/chunk-ZLPD7FY5.js +191 -0
  29. package/dist/chunk-ZLPD7FY5.js.map +1 -0
  30. package/dist/context.d.ts +13 -0
  31. package/dist/context.js +9 -0
  32. package/dist/context.js.map +1 -0
  33. package/dist/controller.d.ts +41 -0
  34. package/dist/controller.js +30 -0
  35. package/dist/controller.js.map +1 -0
  36. package/dist/dev.d.ts +15 -0
  37. package/dist/dev.js +20 -0
  38. package/dist/dev.js.map +1 -0
  39. package/dist/game-session-broker.d.ts +57 -0
  40. package/dist/game-session-broker.js +235 -0
  41. package/dist/game-session-broker.js.map +1 -0
  42. package/dist/game-session.d.ts +13 -0
  43. package/dist/game-session.js +24 -0
  44. package/dist/game-session.js.map +1 -0
  45. package/dist/games.d.ts +21 -0
  46. package/dist/games.js +14 -0
  47. package/dist/games.js.map +1 -0
  48. package/dist/harness/visual.d.ts +321 -0
  49. package/dist/harness/visual.js +41 -0
  50. package/dist/harness/visual.js.map +1 -0
  51. package/dist/logs.d.ts +9 -0
  52. package/dist/logs.js +58 -0
  53. package/dist/logs.js.map +1 -0
  54. package/dist/mcp-config.d.ts +63 -0
  55. package/dist/mcp-config.js +190 -0
  56. package/dist/mcp-config.js.map +1 -0
  57. package/dist/platform-auth.d.ts +112 -0
  58. package/dist/platform-auth.js +37 -0
  59. package/dist/platform-auth.js.map +1 -0
  60. package/dist/platform-game-media.d.ts +309 -0
  61. package/dist/platform-game-media.js +168 -0
  62. package/dist/platform-game-media.js.map +1 -0
  63. package/dist/platform-games.d.ts +65 -0
  64. package/dist/platform-games.js +251 -0
  65. package/dist/platform-games.js.map +1 -0
  66. package/dist/quality.d.ts +10 -0
  67. package/dist/quality.js +63 -0
  68. package/dist/quality.js.map +1 -0
  69. package/dist/release.d.ts +1094 -0
  70. package/dist/release.js +1347 -0
  71. package/dist/release.js.map +1 -0
  72. package/dist/tooling/agent-contract.d.ts +2 -0
  73. package/dist/tooling/agent-contract.js +193 -0
  74. package/dist/tooling/agent-contract.js.map +1 -0
  75. package/dist/tooling/hold-runtime-host.d.ts +2 -0
  76. package/dist/tooling/hold-runtime-host.js +229 -0
  77. package/dist/tooling/hold-runtime-host.js.map +1 -0
  78. package/dist/tooling/inspect-airjam-agent.d.ts +2 -0
  79. package/dist/tooling/inspect-airjam-agent.js +37 -0
  80. package/dist/tooling/inspect-airjam-agent.js.map +1 -0
  81. package/dist/tooling/list-visual-scenarios.d.ts +2 -0
  82. package/dist/tooling/list-visual-scenarios.js +62 -0
  83. package/dist/tooling/list-visual-scenarios.js.map +1 -0
  84. package/dist/tooling/managed-dev-supervisor.d.ts +2 -0
  85. package/dist/tooling/managed-dev-supervisor.js +51 -0
  86. package/dist/tooling/managed-dev-supervisor.js.map +1 -0
  87. package/dist/tooling/run-visual-capture.d.ts +2 -0
  88. package/dist/tooling/run-visual-capture.js +167 -0
  89. package/dist/tooling/run-visual-capture.js.map +1 -0
  90. package/dist/types-C6NrHt88.d.ts +775 -0
  91. package/dist/visual.d.ts +15 -0
  92. package/dist/visual.js +263 -0
  93. package/dist/visual.js.map +1 -0
  94. package/package.json +113 -3
  95. package/src/agent.ts +380 -0
  96. package/src/commands.ts +40 -0
  97. package/src/context.ts +229 -0
  98. package/src/controller.ts +1376 -0
  99. package/src/dev.ts +999 -0
  100. package/src/fs-utils.ts +93 -0
  101. package/src/game-action-observation.ts +96 -0
  102. package/src/game-session-broker.ts +301 -0
  103. package/src/game-session.ts +459 -0
  104. package/src/games.ts +266 -0
  105. package/src/harness/visual/prefab-contract.ts +29 -0
  106. package/src/harness/visual/prefab-runner.ts +178 -0
  107. package/src/harness/visual/runner.ts +546 -0
  108. package/src/harness/visual/scenario-contract.ts +9 -0
  109. package/src/harness/visual/scenario-helpers.ts +63 -0
  110. package/src/harness/visual/session.ts +369 -0
  111. package/src/harness/visual/types.ts +181 -0
  112. package/src/harness/visual.ts +7 -0
  113. package/src/helper-scripts.ts +49 -0
  114. package/src/logs.ts +67 -0
  115. package/src/mcp-config.ts +262 -0
  116. package/src/platform-auth.ts +455 -0
  117. package/src/platform-game-media.ts +209 -0
  118. package/src/platform-games.ts +315 -0
  119. package/src/quality.ts +82 -0
  120. package/src/release.ts +1697 -0
  121. package/src/runtime-owner-protocol.ts +130 -0
  122. package/src/tooling/agent-contract.ts +232 -0
  123. package/src/tooling/agent-declaration.ts +36 -0
  124. package/src/tooling/airjam-agent-inspection.ts +45 -0
  125. package/src/tooling/airjam-agent.ts +118 -0
  126. package/src/tooling/hold-runtime-host.ts +224 -0
  127. package/src/tooling/inspect-airjam-agent.ts +20 -0
  128. package/src/tooling/list-visual-scenarios.ts +64 -0
  129. package/src/tooling/managed-dev-supervisor.ts +71 -0
  130. package/src/tooling/run-visual-capture.ts +217 -0
  131. package/src/tooling/runtime-owner-actions.ts +42 -0
  132. package/src/tooling/visual-pack.ts +46 -0
  133. package/src/types.ts +951 -0
  134. package/src/visual.ts +304 -0
  135. package/src/workspace-contract.ts +32 -0
@@ -0,0 +1,1094 @@
1
+ import { am as InspectLocalReleaseOptions, an as AirJamLocalReleaseDoctor, ao as ValidateLocalReleaseOptions, ap as AirJamLocalReleaseValidation, aq as BundleLocalReleaseOptions, ar as BundleLocalReleaseResult, as as ListPlatformReleaseTargetsOptions, at as ListPlatformReleasesOptions, au as InspectPlatformReleaseOptions, av as PublishPlatformReleaseOptions, aw as UploadPlatformReleaseGenerationOptions, ax as FinalizePlatformReleaseGenerationOptions, ay as ExportPlatformReleaseGenerationOptions, az as ExportPlatformReleaseGenerationResult, aA as SubmitPlatformReleaseOptions, aB as SubmitPlatformReleaseResult } from './types-C6NrHt88.js';
2
+ export { aC as AirJamLocalReleaseIssue } from './types-C6NrHt88.js';
3
+ import '@air-jam/sdk';
4
+ import '@air-jam/sdk/platform-machine';
5
+
6
+ declare const inspectLocalRelease: ({ cwd, distDir, }?: InspectLocalReleaseOptions) => Promise<AirJamLocalReleaseDoctor>;
7
+ declare const validateLocalRelease: ({ cwd, distDir, bundlePath, skipBuild, }?: ValidateLocalReleaseOptions) => Promise<AirJamLocalReleaseValidation>;
8
+ declare const bundleLocalRelease: ({ cwd, distDir, out, skipBuild, }?: BundleLocalReleaseOptions) => Promise<BundleLocalReleaseResult>;
9
+ declare const listPlatformReleaseTargets: ({ platformUrl, token, }?: ListPlatformReleaseTargetsOptions) => Promise<{
10
+ games: {
11
+ id: string;
12
+ slug: string | null;
13
+ name: string;
14
+ description: string | null;
15
+ url: string | null;
16
+ arcadeVisibility: "hidden" | "listed";
17
+ sourceUrl: string | null;
18
+ templateId: string | null;
19
+ createdAt: string;
20
+ updatedAt: string;
21
+ }[];
22
+ }>;
23
+ declare const listPlatformReleases: ({ platformUrl, token, slugOrId, }: ListPlatformReleasesOptions) => Promise<{
24
+ game: {
25
+ id: string;
26
+ slug: string | null;
27
+ name: string;
28
+ description: string | null;
29
+ url: string | null;
30
+ arcadeVisibility: "hidden" | "listed";
31
+ sourceUrl: string | null;
32
+ templateId: string | null;
33
+ createdAt: string;
34
+ updatedAt: string;
35
+ };
36
+ releases: {
37
+ id: string;
38
+ gameId: string;
39
+ sourceKind: "upload";
40
+ status: "ready" | "failed" | "draft" | "uploading" | "checking" | "live" | "quarantined" | "archived";
41
+ candidateGenerationId: string | null;
42
+ promotedGenerationId: string | null;
43
+ versionLabel: string | null;
44
+ createdAt: string;
45
+ uploadedAt: string | null;
46
+ checkedAt: string | null;
47
+ publishedAt: string | null;
48
+ quarantinedAt: string | null;
49
+ archivedAt: string | null;
50
+ game: {
51
+ id: string;
52
+ slug: string | null;
53
+ name: string;
54
+ description: string | null;
55
+ url: string | null;
56
+ arcadeVisibility: "hidden" | "listed";
57
+ sourceUrl: string | null;
58
+ templateId: string | null;
59
+ createdAt: string;
60
+ updatedAt: string;
61
+ };
62
+ candidateGeneration: {
63
+ id: string;
64
+ releaseId: string;
65
+ sequence: number;
66
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
67
+ originalFilename: string;
68
+ contentType: string;
69
+ declaredSizeBytes: number;
70
+ observedSizeBytes: number | null;
71
+ observedContentType: string | null;
72
+ observedEtag: string | null;
73
+ observedLastModifiedAt: string | null;
74
+ extractedSizeBytes: number | null;
75
+ fileCount: number | null;
76
+ entryPath: string | null;
77
+ contentHash: string | null;
78
+ createdAt: string;
79
+ uploadObservedAt: string | null;
80
+ processingStartedAt: string | null;
81
+ readyAt: string | null;
82
+ failedAt: string | null;
83
+ abandonedAt: string | null;
84
+ storageRetention: {
85
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
86
+ inactiveAt: string | null;
87
+ warnedAt: string | null;
88
+ eligibleAt: string | null;
89
+ cleanupStartedAt: string | null;
90
+ deletedAt: string | null;
91
+ };
92
+ } | null;
93
+ promotedGeneration: {
94
+ id: string;
95
+ releaseId: string;
96
+ sequence: number;
97
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
98
+ originalFilename: string;
99
+ contentType: string;
100
+ declaredSizeBytes: number;
101
+ observedSizeBytes: number | null;
102
+ observedContentType: string | null;
103
+ observedEtag: string | null;
104
+ observedLastModifiedAt: string | null;
105
+ extractedSizeBytes: number | null;
106
+ fileCount: number | null;
107
+ entryPath: string | null;
108
+ contentHash: string | null;
109
+ createdAt: string;
110
+ uploadObservedAt: string | null;
111
+ processingStartedAt: string | null;
112
+ readyAt: string | null;
113
+ failedAt: string | null;
114
+ abandonedAt: string | null;
115
+ storageRetention: {
116
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
117
+ inactiveAt: string | null;
118
+ warnedAt: string | null;
119
+ eligibleAt: string | null;
120
+ cleanupStartedAt: string | null;
121
+ deletedAt: string | null;
122
+ };
123
+ } | null;
124
+ generations: {
125
+ id: string;
126
+ releaseId: string;
127
+ sequence: number;
128
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
129
+ originalFilename: string;
130
+ contentType: string;
131
+ declaredSizeBytes: number;
132
+ observedSizeBytes: number | null;
133
+ observedContentType: string | null;
134
+ observedEtag: string | null;
135
+ observedLastModifiedAt: string | null;
136
+ extractedSizeBytes: number | null;
137
+ fileCount: number | null;
138
+ entryPath: string | null;
139
+ contentHash: string | null;
140
+ createdAt: string;
141
+ uploadObservedAt: string | null;
142
+ processingStartedAt: string | null;
143
+ readyAt: string | null;
144
+ failedAt: string | null;
145
+ abandonedAt: string | null;
146
+ storageRetention: {
147
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
148
+ inactiveAt: string | null;
149
+ warnedAt: string | null;
150
+ eligibleAt: string | null;
151
+ cleanupStartedAt: string | null;
152
+ deletedAt: string | null;
153
+ };
154
+ }[];
155
+ checks: {
156
+ id: string;
157
+ releaseId: string;
158
+ generationId: string;
159
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
160
+ status: "warning" | "failed" | "passed" | "pending";
161
+ summary: string | null;
162
+ createdAt: string;
163
+ }[];
164
+ jobs: {
165
+ id: string;
166
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
167
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
168
+ releaseId: string;
169
+ generationId: string;
170
+ correlationId: string;
171
+ attemptCount: number;
172
+ maxAttempts: number;
173
+ progressStage: string | null;
174
+ progressMessage: string | null;
175
+ lastErrorCode: string | null;
176
+ lastErrorRetryable: boolean | null;
177
+ availableAt: string;
178
+ deadlineAt: string;
179
+ createdAt: string;
180
+ startedAt: string | null;
181
+ finishedAt: string | null;
182
+ updatedAt: string;
183
+ }[];
184
+ reports: {
185
+ id: string;
186
+ releaseId: string;
187
+ status: "open" | "reviewed" | "dismissed";
188
+ source: "arcade" | "play_page";
189
+ createdAt: string;
190
+ reviewedAt: string | null;
191
+ }[];
192
+ hostUrl: string | null;
193
+ controllerUrl: string | null;
194
+ }[];
195
+ }>;
196
+ declare const inspectPlatformRelease: ({ platformUrl, token, releaseId, }: InspectPlatformReleaseOptions) => Promise<{
197
+ release: {
198
+ id: string;
199
+ gameId: string;
200
+ sourceKind: "upload";
201
+ status: "ready" | "failed" | "draft" | "uploading" | "checking" | "live" | "quarantined" | "archived";
202
+ candidateGenerationId: string | null;
203
+ promotedGenerationId: string | null;
204
+ versionLabel: string | null;
205
+ createdAt: string;
206
+ uploadedAt: string | null;
207
+ checkedAt: string | null;
208
+ publishedAt: string | null;
209
+ quarantinedAt: string | null;
210
+ archivedAt: string | null;
211
+ game: {
212
+ id: string;
213
+ slug: string | null;
214
+ name: string;
215
+ description: string | null;
216
+ url: string | null;
217
+ arcadeVisibility: "hidden" | "listed";
218
+ sourceUrl: string | null;
219
+ templateId: string | null;
220
+ createdAt: string;
221
+ updatedAt: string;
222
+ };
223
+ candidateGeneration: {
224
+ id: string;
225
+ releaseId: string;
226
+ sequence: number;
227
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
228
+ originalFilename: string;
229
+ contentType: string;
230
+ declaredSizeBytes: number;
231
+ observedSizeBytes: number | null;
232
+ observedContentType: string | null;
233
+ observedEtag: string | null;
234
+ observedLastModifiedAt: string | null;
235
+ extractedSizeBytes: number | null;
236
+ fileCount: number | null;
237
+ entryPath: string | null;
238
+ contentHash: string | null;
239
+ createdAt: string;
240
+ uploadObservedAt: string | null;
241
+ processingStartedAt: string | null;
242
+ readyAt: string | null;
243
+ failedAt: string | null;
244
+ abandonedAt: string | null;
245
+ storageRetention: {
246
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
247
+ inactiveAt: string | null;
248
+ warnedAt: string | null;
249
+ eligibleAt: string | null;
250
+ cleanupStartedAt: string | null;
251
+ deletedAt: string | null;
252
+ };
253
+ } | null;
254
+ promotedGeneration: {
255
+ id: string;
256
+ releaseId: string;
257
+ sequence: number;
258
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
259
+ originalFilename: string;
260
+ contentType: string;
261
+ declaredSizeBytes: number;
262
+ observedSizeBytes: number | null;
263
+ observedContentType: string | null;
264
+ observedEtag: string | null;
265
+ observedLastModifiedAt: string | null;
266
+ extractedSizeBytes: number | null;
267
+ fileCount: number | null;
268
+ entryPath: string | null;
269
+ contentHash: string | null;
270
+ createdAt: string;
271
+ uploadObservedAt: string | null;
272
+ processingStartedAt: string | null;
273
+ readyAt: string | null;
274
+ failedAt: string | null;
275
+ abandonedAt: string | null;
276
+ storageRetention: {
277
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
278
+ inactiveAt: string | null;
279
+ warnedAt: string | null;
280
+ eligibleAt: string | null;
281
+ cleanupStartedAt: string | null;
282
+ deletedAt: string | null;
283
+ };
284
+ } | null;
285
+ generations: {
286
+ id: string;
287
+ releaseId: string;
288
+ sequence: number;
289
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
290
+ originalFilename: string;
291
+ contentType: string;
292
+ declaredSizeBytes: number;
293
+ observedSizeBytes: number | null;
294
+ observedContentType: string | null;
295
+ observedEtag: string | null;
296
+ observedLastModifiedAt: string | null;
297
+ extractedSizeBytes: number | null;
298
+ fileCount: number | null;
299
+ entryPath: string | null;
300
+ contentHash: string | null;
301
+ createdAt: string;
302
+ uploadObservedAt: string | null;
303
+ processingStartedAt: string | null;
304
+ readyAt: string | null;
305
+ failedAt: string | null;
306
+ abandonedAt: string | null;
307
+ storageRetention: {
308
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
309
+ inactiveAt: string | null;
310
+ warnedAt: string | null;
311
+ eligibleAt: string | null;
312
+ cleanupStartedAt: string | null;
313
+ deletedAt: string | null;
314
+ };
315
+ }[];
316
+ checks: {
317
+ id: string;
318
+ releaseId: string;
319
+ generationId: string;
320
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
321
+ status: "warning" | "failed" | "passed" | "pending";
322
+ summary: string | null;
323
+ createdAt: string;
324
+ }[];
325
+ jobs: {
326
+ id: string;
327
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
328
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
329
+ releaseId: string;
330
+ generationId: string;
331
+ correlationId: string;
332
+ attemptCount: number;
333
+ maxAttempts: number;
334
+ progressStage: string | null;
335
+ progressMessage: string | null;
336
+ lastErrorCode: string | null;
337
+ lastErrorRetryable: boolean | null;
338
+ availableAt: string;
339
+ deadlineAt: string;
340
+ createdAt: string;
341
+ startedAt: string | null;
342
+ finishedAt: string | null;
343
+ updatedAt: string;
344
+ }[];
345
+ reports: {
346
+ id: string;
347
+ releaseId: string;
348
+ status: "open" | "reviewed" | "dismissed";
349
+ source: "arcade" | "play_page";
350
+ createdAt: string;
351
+ reviewedAt: string | null;
352
+ }[];
353
+ hostUrl: string | null;
354
+ controllerUrl: string | null;
355
+ };
356
+ }>;
357
+ declare const publishPlatformRelease: ({ platformUrl, token, releaseId, }: PublishPlatformReleaseOptions) => Promise<{
358
+ release: {
359
+ id: string;
360
+ gameId: string;
361
+ sourceKind: "upload";
362
+ status: "ready" | "failed" | "draft" | "uploading" | "checking" | "live" | "quarantined" | "archived";
363
+ candidateGenerationId: string | null;
364
+ promotedGenerationId: string | null;
365
+ versionLabel: string | null;
366
+ createdAt: string;
367
+ uploadedAt: string | null;
368
+ checkedAt: string | null;
369
+ publishedAt: string | null;
370
+ quarantinedAt: string | null;
371
+ archivedAt: string | null;
372
+ game: {
373
+ id: string;
374
+ slug: string | null;
375
+ name: string;
376
+ description: string | null;
377
+ url: string | null;
378
+ arcadeVisibility: "hidden" | "listed";
379
+ sourceUrl: string | null;
380
+ templateId: string | null;
381
+ createdAt: string;
382
+ updatedAt: string;
383
+ };
384
+ candidateGeneration: {
385
+ id: string;
386
+ releaseId: string;
387
+ sequence: number;
388
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
389
+ originalFilename: string;
390
+ contentType: string;
391
+ declaredSizeBytes: number;
392
+ observedSizeBytes: number | null;
393
+ observedContentType: string | null;
394
+ observedEtag: string | null;
395
+ observedLastModifiedAt: string | null;
396
+ extractedSizeBytes: number | null;
397
+ fileCount: number | null;
398
+ entryPath: string | null;
399
+ contentHash: string | null;
400
+ createdAt: string;
401
+ uploadObservedAt: string | null;
402
+ processingStartedAt: string | null;
403
+ readyAt: string | null;
404
+ failedAt: string | null;
405
+ abandonedAt: string | null;
406
+ storageRetention: {
407
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
408
+ inactiveAt: string | null;
409
+ warnedAt: string | null;
410
+ eligibleAt: string | null;
411
+ cleanupStartedAt: string | null;
412
+ deletedAt: string | null;
413
+ };
414
+ } | null;
415
+ promotedGeneration: {
416
+ id: string;
417
+ releaseId: string;
418
+ sequence: number;
419
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
420
+ originalFilename: string;
421
+ contentType: string;
422
+ declaredSizeBytes: number;
423
+ observedSizeBytes: number | null;
424
+ observedContentType: string | null;
425
+ observedEtag: string | null;
426
+ observedLastModifiedAt: string | null;
427
+ extractedSizeBytes: number | null;
428
+ fileCount: number | null;
429
+ entryPath: string | null;
430
+ contentHash: string | null;
431
+ createdAt: string;
432
+ uploadObservedAt: string | null;
433
+ processingStartedAt: string | null;
434
+ readyAt: string | null;
435
+ failedAt: string | null;
436
+ abandonedAt: string | null;
437
+ storageRetention: {
438
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
439
+ inactiveAt: string | null;
440
+ warnedAt: string | null;
441
+ eligibleAt: string | null;
442
+ cleanupStartedAt: string | null;
443
+ deletedAt: string | null;
444
+ };
445
+ } | null;
446
+ generations: {
447
+ id: string;
448
+ releaseId: string;
449
+ sequence: number;
450
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
451
+ originalFilename: string;
452
+ contentType: string;
453
+ declaredSizeBytes: number;
454
+ observedSizeBytes: number | null;
455
+ observedContentType: string | null;
456
+ observedEtag: string | null;
457
+ observedLastModifiedAt: string | null;
458
+ extractedSizeBytes: number | null;
459
+ fileCount: number | null;
460
+ entryPath: string | null;
461
+ contentHash: string | null;
462
+ createdAt: string;
463
+ uploadObservedAt: string | null;
464
+ processingStartedAt: string | null;
465
+ readyAt: string | null;
466
+ failedAt: string | null;
467
+ abandonedAt: string | null;
468
+ storageRetention: {
469
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
470
+ inactiveAt: string | null;
471
+ warnedAt: string | null;
472
+ eligibleAt: string | null;
473
+ cleanupStartedAt: string | null;
474
+ deletedAt: string | null;
475
+ };
476
+ }[];
477
+ checks: {
478
+ id: string;
479
+ releaseId: string;
480
+ generationId: string;
481
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
482
+ status: "warning" | "failed" | "passed" | "pending";
483
+ summary: string | null;
484
+ createdAt: string;
485
+ }[];
486
+ jobs: {
487
+ id: string;
488
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
489
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
490
+ releaseId: string;
491
+ generationId: string;
492
+ correlationId: string;
493
+ attemptCount: number;
494
+ maxAttempts: number;
495
+ progressStage: string | null;
496
+ progressMessage: string | null;
497
+ lastErrorCode: string | null;
498
+ lastErrorRetryable: boolean | null;
499
+ availableAt: string;
500
+ deadlineAt: string;
501
+ createdAt: string;
502
+ startedAt: string | null;
503
+ finishedAt: string | null;
504
+ updatedAt: string;
505
+ }[];
506
+ reports: {
507
+ id: string;
508
+ releaseId: string;
509
+ status: "open" | "reviewed" | "dismissed";
510
+ source: "arcade" | "play_page";
511
+ createdAt: string;
512
+ reviewedAt: string | null;
513
+ }[];
514
+ hostUrl: string | null;
515
+ controllerUrl: string | null;
516
+ };
517
+ }>;
518
+ declare const uploadPlatformReleaseGeneration: ({ platformUrl, token, releaseId, cwd, bundlePath, }: UploadPlatformReleaseGenerationOptions) => Promise<{
519
+ bundlePath: string;
520
+ release: {
521
+ id: string;
522
+ gameId: string;
523
+ sourceKind: "upload";
524
+ status: "ready" | "failed" | "draft" | "uploading" | "checking" | "live" | "quarantined" | "archived";
525
+ candidateGenerationId: string | null;
526
+ promotedGenerationId: string | null;
527
+ versionLabel: string | null;
528
+ createdAt: string;
529
+ uploadedAt: string | null;
530
+ checkedAt: string | null;
531
+ publishedAt: string | null;
532
+ quarantinedAt: string | null;
533
+ archivedAt: string | null;
534
+ game: {
535
+ id: string;
536
+ slug: string | null;
537
+ name: string;
538
+ description: string | null;
539
+ url: string | null;
540
+ arcadeVisibility: "hidden" | "listed";
541
+ sourceUrl: string | null;
542
+ templateId: string | null;
543
+ createdAt: string;
544
+ updatedAt: string;
545
+ };
546
+ candidateGeneration: {
547
+ id: string;
548
+ releaseId: string;
549
+ sequence: number;
550
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
551
+ originalFilename: string;
552
+ contentType: string;
553
+ declaredSizeBytes: number;
554
+ observedSizeBytes: number | null;
555
+ observedContentType: string | null;
556
+ observedEtag: string | null;
557
+ observedLastModifiedAt: string | null;
558
+ extractedSizeBytes: number | null;
559
+ fileCount: number | null;
560
+ entryPath: string | null;
561
+ contentHash: string | null;
562
+ createdAt: string;
563
+ uploadObservedAt: string | null;
564
+ processingStartedAt: string | null;
565
+ readyAt: string | null;
566
+ failedAt: string | null;
567
+ abandonedAt: string | null;
568
+ storageRetention: {
569
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
570
+ inactiveAt: string | null;
571
+ warnedAt: string | null;
572
+ eligibleAt: string | null;
573
+ cleanupStartedAt: string | null;
574
+ deletedAt: string | null;
575
+ };
576
+ } | null;
577
+ promotedGeneration: {
578
+ id: string;
579
+ releaseId: string;
580
+ sequence: number;
581
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
582
+ originalFilename: string;
583
+ contentType: string;
584
+ declaredSizeBytes: number;
585
+ observedSizeBytes: number | null;
586
+ observedContentType: string | null;
587
+ observedEtag: string | null;
588
+ observedLastModifiedAt: string | null;
589
+ extractedSizeBytes: number | null;
590
+ fileCount: number | null;
591
+ entryPath: string | null;
592
+ contentHash: string | null;
593
+ createdAt: string;
594
+ uploadObservedAt: string | null;
595
+ processingStartedAt: string | null;
596
+ readyAt: string | null;
597
+ failedAt: string | null;
598
+ abandonedAt: string | null;
599
+ storageRetention: {
600
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
601
+ inactiveAt: string | null;
602
+ warnedAt: string | null;
603
+ eligibleAt: string | null;
604
+ cleanupStartedAt: string | null;
605
+ deletedAt: string | null;
606
+ };
607
+ } | null;
608
+ generations: {
609
+ id: string;
610
+ releaseId: string;
611
+ sequence: number;
612
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
613
+ originalFilename: string;
614
+ contentType: string;
615
+ declaredSizeBytes: number;
616
+ observedSizeBytes: number | null;
617
+ observedContentType: string | null;
618
+ observedEtag: string | null;
619
+ observedLastModifiedAt: string | null;
620
+ extractedSizeBytes: number | null;
621
+ fileCount: number | null;
622
+ entryPath: string | null;
623
+ contentHash: string | null;
624
+ createdAt: string;
625
+ uploadObservedAt: string | null;
626
+ processingStartedAt: string | null;
627
+ readyAt: string | null;
628
+ failedAt: string | null;
629
+ abandonedAt: string | null;
630
+ storageRetention: {
631
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
632
+ inactiveAt: string | null;
633
+ warnedAt: string | null;
634
+ eligibleAt: string | null;
635
+ cleanupStartedAt: string | null;
636
+ deletedAt: string | null;
637
+ };
638
+ }[];
639
+ checks: {
640
+ id: string;
641
+ releaseId: string;
642
+ generationId: string;
643
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
644
+ status: "warning" | "failed" | "passed" | "pending";
645
+ summary: string | null;
646
+ createdAt: string;
647
+ }[];
648
+ jobs: {
649
+ id: string;
650
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
651
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
652
+ releaseId: string;
653
+ generationId: string;
654
+ correlationId: string;
655
+ attemptCount: number;
656
+ maxAttempts: number;
657
+ progressStage: string | null;
658
+ progressMessage: string | null;
659
+ lastErrorCode: string | null;
660
+ lastErrorRetryable: boolean | null;
661
+ availableAt: string;
662
+ deadlineAt: string;
663
+ createdAt: string;
664
+ startedAt: string | null;
665
+ finishedAt: string | null;
666
+ updatedAt: string;
667
+ }[];
668
+ reports: {
669
+ id: string;
670
+ releaseId: string;
671
+ status: "open" | "reviewed" | "dismissed";
672
+ source: "arcade" | "play_page";
673
+ createdAt: string;
674
+ reviewedAt: string | null;
675
+ }[];
676
+ hostUrl: string | null;
677
+ controllerUrl: string | null;
678
+ };
679
+ generation: {
680
+ id: string;
681
+ releaseId: string;
682
+ sequence: number;
683
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
684
+ originalFilename: string;
685
+ contentType: string;
686
+ declaredSizeBytes: number;
687
+ observedSizeBytes: number | null;
688
+ observedContentType: string | null;
689
+ observedEtag: string | null;
690
+ observedLastModifiedAt: string | null;
691
+ extractedSizeBytes: number | null;
692
+ fileCount: number | null;
693
+ entryPath: string | null;
694
+ contentHash: string | null;
695
+ createdAt: string;
696
+ uploadObservedAt: string | null;
697
+ processingStartedAt: string | null;
698
+ readyAt: string | null;
699
+ failedAt: string | null;
700
+ abandonedAt: string | null;
701
+ storageRetention: {
702
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
703
+ inactiveAt: string | null;
704
+ warnedAt: string | null;
705
+ eligibleAt: string | null;
706
+ cleanupStartedAt: string | null;
707
+ deletedAt: string | null;
708
+ };
709
+ };
710
+ upload: {
711
+ method: "PUT";
712
+ url: string;
713
+ headers: Record<string, string>;
714
+ expiresAt: string;
715
+ };
716
+ }>;
717
+ declare const finalizePlatformReleaseGeneration: ({ platformUrl, token, releaseId, generationId, }: FinalizePlatformReleaseGenerationOptions) => Promise<{
718
+ release: {
719
+ id: string;
720
+ gameId: string;
721
+ sourceKind: "upload";
722
+ status: "ready" | "failed" | "draft" | "uploading" | "checking" | "live" | "quarantined" | "archived";
723
+ candidateGenerationId: string | null;
724
+ promotedGenerationId: string | null;
725
+ versionLabel: string | null;
726
+ createdAt: string;
727
+ uploadedAt: string | null;
728
+ checkedAt: string | null;
729
+ publishedAt: string | null;
730
+ quarantinedAt: string | null;
731
+ archivedAt: string | null;
732
+ game: {
733
+ id: string;
734
+ slug: string | null;
735
+ name: string;
736
+ description: string | null;
737
+ url: string | null;
738
+ arcadeVisibility: "hidden" | "listed";
739
+ sourceUrl: string | null;
740
+ templateId: string | null;
741
+ createdAt: string;
742
+ updatedAt: string;
743
+ };
744
+ candidateGeneration: {
745
+ id: string;
746
+ releaseId: string;
747
+ sequence: number;
748
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
749
+ originalFilename: string;
750
+ contentType: string;
751
+ declaredSizeBytes: number;
752
+ observedSizeBytes: number | null;
753
+ observedContentType: string | null;
754
+ observedEtag: string | null;
755
+ observedLastModifiedAt: string | null;
756
+ extractedSizeBytes: number | null;
757
+ fileCount: number | null;
758
+ entryPath: string | null;
759
+ contentHash: string | null;
760
+ createdAt: string;
761
+ uploadObservedAt: string | null;
762
+ processingStartedAt: string | null;
763
+ readyAt: string | null;
764
+ failedAt: string | null;
765
+ abandonedAt: string | null;
766
+ storageRetention: {
767
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
768
+ inactiveAt: string | null;
769
+ warnedAt: string | null;
770
+ eligibleAt: string | null;
771
+ cleanupStartedAt: string | null;
772
+ deletedAt: string | null;
773
+ };
774
+ } | null;
775
+ promotedGeneration: {
776
+ id: string;
777
+ releaseId: string;
778
+ sequence: number;
779
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
780
+ originalFilename: string;
781
+ contentType: string;
782
+ declaredSizeBytes: number;
783
+ observedSizeBytes: number | null;
784
+ observedContentType: string | null;
785
+ observedEtag: string | null;
786
+ observedLastModifiedAt: string | null;
787
+ extractedSizeBytes: number | null;
788
+ fileCount: number | null;
789
+ entryPath: string | null;
790
+ contentHash: string | null;
791
+ createdAt: string;
792
+ uploadObservedAt: string | null;
793
+ processingStartedAt: string | null;
794
+ readyAt: string | null;
795
+ failedAt: string | null;
796
+ abandonedAt: string | null;
797
+ storageRetention: {
798
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
799
+ inactiveAt: string | null;
800
+ warnedAt: string | null;
801
+ eligibleAt: string | null;
802
+ cleanupStartedAt: string | null;
803
+ deletedAt: string | null;
804
+ };
805
+ } | null;
806
+ generations: {
807
+ id: string;
808
+ releaseId: string;
809
+ sequence: number;
810
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
811
+ originalFilename: string;
812
+ contentType: string;
813
+ declaredSizeBytes: number;
814
+ observedSizeBytes: number | null;
815
+ observedContentType: string | null;
816
+ observedEtag: string | null;
817
+ observedLastModifiedAt: string | null;
818
+ extractedSizeBytes: number | null;
819
+ fileCount: number | null;
820
+ entryPath: string | null;
821
+ contentHash: string | null;
822
+ createdAt: string;
823
+ uploadObservedAt: string | null;
824
+ processingStartedAt: string | null;
825
+ readyAt: string | null;
826
+ failedAt: string | null;
827
+ abandonedAt: string | null;
828
+ storageRetention: {
829
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
830
+ inactiveAt: string | null;
831
+ warnedAt: string | null;
832
+ eligibleAt: string | null;
833
+ cleanupStartedAt: string | null;
834
+ deletedAt: string | null;
835
+ };
836
+ }[];
837
+ checks: {
838
+ id: string;
839
+ releaseId: string;
840
+ generationId: string;
841
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
842
+ status: "warning" | "failed" | "passed" | "pending";
843
+ summary: string | null;
844
+ createdAt: string;
845
+ }[];
846
+ jobs: {
847
+ id: string;
848
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
849
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
850
+ releaseId: string;
851
+ generationId: string;
852
+ correlationId: string;
853
+ attemptCount: number;
854
+ maxAttempts: number;
855
+ progressStage: string | null;
856
+ progressMessage: string | null;
857
+ lastErrorCode: string | null;
858
+ lastErrorRetryable: boolean | null;
859
+ availableAt: string;
860
+ deadlineAt: string;
861
+ createdAt: string;
862
+ startedAt: string | null;
863
+ finishedAt: string | null;
864
+ updatedAt: string;
865
+ }[];
866
+ reports: {
867
+ id: string;
868
+ releaseId: string;
869
+ status: "open" | "reviewed" | "dismissed";
870
+ source: "arcade" | "play_page";
871
+ createdAt: string;
872
+ reviewedAt: string | null;
873
+ }[];
874
+ hostUrl: string | null;
875
+ controllerUrl: string | null;
876
+ };
877
+ generation: {
878
+ id: string;
879
+ releaseId: string;
880
+ sequence: number;
881
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
882
+ originalFilename: string;
883
+ contentType: string;
884
+ declaredSizeBytes: number;
885
+ observedSizeBytes: number | null;
886
+ observedContentType: string | null;
887
+ observedEtag: string | null;
888
+ observedLastModifiedAt: string | null;
889
+ extractedSizeBytes: number | null;
890
+ fileCount: number | null;
891
+ entryPath: string | null;
892
+ contentHash: string | null;
893
+ createdAt: string;
894
+ uploadObservedAt: string | null;
895
+ processingStartedAt: string | null;
896
+ readyAt: string | null;
897
+ failedAt: string | null;
898
+ abandonedAt: string | null;
899
+ storageRetention: {
900
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
901
+ inactiveAt: string | null;
902
+ warnedAt: string | null;
903
+ eligibleAt: string | null;
904
+ cleanupStartedAt: string | null;
905
+ deletedAt: string | null;
906
+ };
907
+ };
908
+ job: {
909
+ id: string;
910
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
911
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
912
+ releaseId: string;
913
+ generationId: string;
914
+ correlationId: string;
915
+ attemptCount: number;
916
+ maxAttempts: number;
917
+ progressStage: string | null;
918
+ progressMessage: string | null;
919
+ lastErrorCode: string | null;
920
+ lastErrorRetryable: boolean | null;
921
+ availableAt: string;
922
+ deadlineAt: string;
923
+ createdAt: string;
924
+ startedAt: string | null;
925
+ finishedAt: string | null;
926
+ updatedAt: string;
927
+ };
928
+ }>;
929
+ declare const exportPlatformReleaseGeneration: ({ platformUrl, token, releaseId, generationId, cwd, out, }: ExportPlatformReleaseGenerationOptions) => Promise<ExportPlatformReleaseGenerationResult>;
930
+ declare const waitForPlatformReleaseGeneration: ({ platformUrl, token, releaseId, generationId, timeoutMs, pollIntervalMs, }: FinalizePlatformReleaseGenerationOptions & {
931
+ timeoutMs?: number;
932
+ pollIntervalMs?: number;
933
+ }) => Promise<{
934
+ id: string;
935
+ gameId: string;
936
+ sourceKind: "upload";
937
+ status: "ready" | "failed" | "draft" | "uploading" | "checking" | "live" | "quarantined" | "archived";
938
+ candidateGenerationId: string | null;
939
+ promotedGenerationId: string | null;
940
+ versionLabel: string | null;
941
+ createdAt: string;
942
+ uploadedAt: string | null;
943
+ checkedAt: string | null;
944
+ publishedAt: string | null;
945
+ quarantinedAt: string | null;
946
+ archivedAt: string | null;
947
+ game: {
948
+ id: string;
949
+ slug: string | null;
950
+ name: string;
951
+ description: string | null;
952
+ url: string | null;
953
+ arcadeVisibility: "hidden" | "listed";
954
+ sourceUrl: string | null;
955
+ templateId: string | null;
956
+ createdAt: string;
957
+ updatedAt: string;
958
+ };
959
+ candidateGeneration: {
960
+ id: string;
961
+ releaseId: string;
962
+ sequence: number;
963
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
964
+ originalFilename: string;
965
+ contentType: string;
966
+ declaredSizeBytes: number;
967
+ observedSizeBytes: number | null;
968
+ observedContentType: string | null;
969
+ observedEtag: string | null;
970
+ observedLastModifiedAt: string | null;
971
+ extractedSizeBytes: number | null;
972
+ fileCount: number | null;
973
+ entryPath: string | null;
974
+ contentHash: string | null;
975
+ createdAt: string;
976
+ uploadObservedAt: string | null;
977
+ processingStartedAt: string | null;
978
+ readyAt: string | null;
979
+ failedAt: string | null;
980
+ abandonedAt: string | null;
981
+ storageRetention: {
982
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
983
+ inactiveAt: string | null;
984
+ warnedAt: string | null;
985
+ eligibleAt: string | null;
986
+ cleanupStartedAt: string | null;
987
+ deletedAt: string | null;
988
+ };
989
+ } | null;
990
+ promotedGeneration: {
991
+ id: string;
992
+ releaseId: string;
993
+ sequence: number;
994
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
995
+ originalFilename: string;
996
+ contentType: string;
997
+ declaredSizeBytes: number;
998
+ observedSizeBytes: number | null;
999
+ observedContentType: string | null;
1000
+ observedEtag: string | null;
1001
+ observedLastModifiedAt: string | null;
1002
+ extractedSizeBytes: number | null;
1003
+ fileCount: number | null;
1004
+ entryPath: string | null;
1005
+ contentHash: string | null;
1006
+ createdAt: string;
1007
+ uploadObservedAt: string | null;
1008
+ processingStartedAt: string | null;
1009
+ readyAt: string | null;
1010
+ failedAt: string | null;
1011
+ abandonedAt: string | null;
1012
+ storageRetention: {
1013
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
1014
+ inactiveAt: string | null;
1015
+ warnedAt: string | null;
1016
+ eligibleAt: string | null;
1017
+ cleanupStartedAt: string | null;
1018
+ deletedAt: string | null;
1019
+ };
1020
+ } | null;
1021
+ generations: {
1022
+ id: string;
1023
+ releaseId: string;
1024
+ sequence: number;
1025
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
1026
+ originalFilename: string;
1027
+ contentType: string;
1028
+ declaredSizeBytes: number;
1029
+ observedSizeBytes: number | null;
1030
+ observedContentType: string | null;
1031
+ observedEtag: string | null;
1032
+ observedLastModifiedAt: string | null;
1033
+ extractedSizeBytes: number | null;
1034
+ fileCount: number | null;
1035
+ entryPath: string | null;
1036
+ contentHash: string | null;
1037
+ createdAt: string;
1038
+ uploadObservedAt: string | null;
1039
+ processingStartedAt: string | null;
1040
+ readyAt: string | null;
1041
+ failedAt: string | null;
1042
+ abandonedAt: string | null;
1043
+ storageRetention: {
1044
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
1045
+ inactiveAt: string | null;
1046
+ warnedAt: string | null;
1047
+ eligibleAt: string | null;
1048
+ cleanupStartedAt: string | null;
1049
+ deletedAt: string | null;
1050
+ };
1051
+ }[];
1052
+ checks: {
1053
+ id: string;
1054
+ releaseId: string;
1055
+ generationId: string;
1056
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
1057
+ status: "warning" | "failed" | "passed" | "pending";
1058
+ summary: string | null;
1059
+ createdAt: string;
1060
+ }[];
1061
+ jobs: {
1062
+ id: string;
1063
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
1064
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
1065
+ releaseId: string;
1066
+ generationId: string;
1067
+ correlationId: string;
1068
+ attemptCount: number;
1069
+ maxAttempts: number;
1070
+ progressStage: string | null;
1071
+ progressMessage: string | null;
1072
+ lastErrorCode: string | null;
1073
+ lastErrorRetryable: boolean | null;
1074
+ availableAt: string;
1075
+ deadlineAt: string;
1076
+ createdAt: string;
1077
+ startedAt: string | null;
1078
+ finishedAt: string | null;
1079
+ updatedAt: string;
1080
+ }[];
1081
+ reports: {
1082
+ id: string;
1083
+ releaseId: string;
1084
+ status: "open" | "reviewed" | "dismissed";
1085
+ source: "arcade" | "play_page";
1086
+ createdAt: string;
1087
+ reviewedAt: string | null;
1088
+ }[];
1089
+ hostUrl: string | null;
1090
+ controllerUrl: string | null;
1091
+ }>;
1092
+ declare const submitPlatformRelease: ({ platformUrl, token, slugOrId, versionLabel, cwd, distDir, bundlePath, skipBuild, waitForProcessing, processingTimeoutMs, processingPollIntervalMs, publish, }: SubmitPlatformReleaseOptions) => Promise<SubmitPlatformReleaseResult>;
1093
+
1094
+ export { AirJamLocalReleaseDoctor, AirJamLocalReleaseValidation, BundleLocalReleaseOptions, BundleLocalReleaseResult, ExportPlatformReleaseGenerationOptions, ExportPlatformReleaseGenerationResult, FinalizePlatformReleaseGenerationOptions, InspectLocalReleaseOptions, InspectPlatformReleaseOptions, ListPlatformReleaseTargetsOptions, ListPlatformReleasesOptions, PublishPlatformReleaseOptions, SubmitPlatformReleaseOptions, SubmitPlatformReleaseResult, UploadPlatformReleaseGenerationOptions, ValidateLocalReleaseOptions, bundleLocalRelease, exportPlatformReleaseGeneration, finalizePlatformReleaseGeneration, inspectLocalRelease, inspectPlatformRelease, listPlatformReleaseTargets, listPlatformReleases, publishPlatformRelease, submitPlatformRelease, uploadPlatformReleaseGeneration, validateLocalRelease, waitForPlatformReleaseGeneration };