@air-jam/devtools 0.0.0-stage → 1.0.0-beta.1

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 (256) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +112 -2
  3. package/dist/chunk-2O67AXCU.js +470 -0
  4. package/dist/chunk-2O67AXCU.js.map +1 -0
  5. package/dist/chunk-AO3ZDXF6.js +142 -0
  6. package/dist/chunk-AO3ZDXF6.js.map +1 -0
  7. package/dist/chunk-ART5TEYT.js +472 -0
  8. package/dist/chunk-ART5TEYT.js.map +1 -0
  9. package/dist/chunk-ASC2CK2R.js +77 -0
  10. package/dist/chunk-ASC2CK2R.js.map +1 -0
  11. package/dist/chunk-E3UZZGAV.js +50 -0
  12. package/dist/chunk-E3UZZGAV.js.map +1 -0
  13. package/dist/chunk-EJTE7UKX.js +64 -0
  14. package/dist/chunk-EJTE7UKX.js.map +1 -0
  15. package/dist/chunk-ESFKNN75.js +110 -0
  16. package/dist/chunk-ESFKNN75.js.map +1 -0
  17. package/dist/chunk-EU7A6PXW.js +1339 -0
  18. package/dist/chunk-EU7A6PXW.js.map +1 -0
  19. package/dist/chunk-FN7E6EA7.js +549 -0
  20. package/dist/chunk-FN7E6EA7.js.map +1 -0
  21. package/dist/chunk-GDFAWHGA.js +190 -0
  22. package/dist/chunk-GDFAWHGA.js.map +1 -0
  23. package/dist/chunk-HZUGBH4Y.js +347 -0
  24. package/dist/chunk-HZUGBH4Y.js.map +1 -0
  25. package/dist/chunk-ITKAOEGX.js +93 -0
  26. package/dist/chunk-ITKAOEGX.js.map +1 -0
  27. package/dist/chunk-JBCUTWRI.js +897 -0
  28. package/dist/chunk-JBCUTWRI.js.map +1 -0
  29. package/dist/chunk-JSI5S4WP.js +1174 -0
  30. package/dist/chunk-JSI5S4WP.js.map +1 -0
  31. package/dist/chunk-L4D675BG.js +97 -0
  32. package/dist/chunk-L4D675BG.js.map +1 -0
  33. package/dist/chunk-M6CJ7GQC.js +133 -0
  34. package/dist/chunk-M6CJ7GQC.js.map +1 -0
  35. package/dist/chunk-MEIMOSZC.js +749 -0
  36. package/dist/chunk-MEIMOSZC.js.map +1 -0
  37. package/dist/chunk-O3XG3FNL.js +1014 -0
  38. package/dist/chunk-O3XG3FNL.js.map +1 -0
  39. package/dist/chunk-OM6SCJ7H.js +18 -0
  40. package/dist/chunk-OM6SCJ7H.js.map +1 -0
  41. package/dist/chunk-PKD4WVX5.js +63 -0
  42. package/dist/chunk-PKD4WVX5.js.map +1 -0
  43. package/dist/chunk-PMBLXGFM.js +3384 -0
  44. package/dist/chunk-PMBLXGFM.js.map +1 -0
  45. package/dist/chunk-PMNE5GIN.js +279 -0
  46. package/dist/chunk-PMNE5GIN.js.map +1 -0
  47. package/dist/chunk-QAWI64VR.js +148 -0
  48. package/dist/chunk-QAWI64VR.js.map +1 -0
  49. package/dist/chunk-QGADSPHZ.js +449 -0
  50. package/dist/chunk-QGADSPHZ.js.map +1 -0
  51. package/dist/chunk-SPYN66UV.js +338 -0
  52. package/dist/chunk-SPYN66UV.js.map +1 -0
  53. package/dist/context.d.ts +19 -0
  54. package/dist/context.js +10 -0
  55. package/dist/context.js.map +1 -0
  56. package/dist/controller.d.ts +67 -0
  57. package/dist/controller.js +40 -0
  58. package/dist/controller.js.map +1 -0
  59. package/dist/dependencies.d.ts +44 -0
  60. package/dist/dependencies.js +10 -0
  61. package/dist/dependencies.js.map +1 -0
  62. package/dist/dev.d.ts +21 -0
  63. package/dist/dev.js +19 -0
  64. package/dist/dev.js.map +1 -0
  65. package/dist/game-builds.d.ts +200 -0
  66. package/dist/game-builds.js +16 -0
  67. package/dist/game-builds.js.map +1 -0
  68. package/dist/game-run-watch-CEd_SpAT.d.ts +84 -0
  69. package/dist/game-runs.d.ts +1452 -0
  70. package/dist/game-runs.js +76 -0
  71. package/dist/game-runs.js.map +1 -0
  72. package/dist/game-session-broker-CUvORfMd.d.ts +439 -0
  73. package/dist/game-session-broker.d.ts +4 -0
  74. package/dist/game-session-broker.js +40 -0
  75. package/dist/game-session-broker.js.map +1 -0
  76. package/dist/game-session.d.ts +3934 -0
  77. package/dist/game-session.js +195 -0
  78. package/dist/game-session.js.map +1 -0
  79. package/dist/game-settings.d.ts +16 -0
  80. package/dist/game-settings.js +237 -0
  81. package/dist/game-settings.js.map +1 -0
  82. package/dist/games.d.ts +28 -0
  83. package/dist/games.js +16 -0
  84. package/dist/games.js.map +1 -0
  85. package/dist/harness/visual.d.ts +204 -0
  86. package/dist/harness/visual.js +46 -0
  87. package/dist/harness/visual.js.map +1 -0
  88. package/dist/logs.d.ts +15 -0
  89. package/dist/logs.js +57 -0
  90. package/dist/logs.js.map +1 -0
  91. package/dist/managed-process-scope-BicYi_t9.d.ts +3 -0
  92. package/dist/mcp-config.d.ts +63 -0
  93. package/dist/mcp-config.js +191 -0
  94. package/dist/mcp-config.js.map +1 -0
  95. package/dist/platform-auth.d.ts +9 -0
  96. package/dist/platform-auth.js +45 -0
  97. package/dist/platform-auth.js.map +1 -0
  98. package/dist/platform-game-analytics.d.ts +51 -0
  99. package/dist/platform-game-analytics.js +49 -0
  100. package/dist/platform-game-analytics.js.map +1 -0
  101. package/dist/platform-game-app-id.d.ts +46 -0
  102. package/dist/platform-game-app-id.js +93 -0
  103. package/dist/platform-game-app-id.js.map +1 -0
  104. package/dist/platform-game-media.d.ts +347 -0
  105. package/dist/platform-game-media.js +168 -0
  106. package/dist/platform-game-media.js.map +1 -0
  107. package/dist/platform-games.d.ts +87 -0
  108. package/dist/platform-games.js +183 -0
  109. package/dist/platform-games.js.map +1 -0
  110. package/dist/quality.d.ts +16 -0
  111. package/dist/quality.js +62 -0
  112. package/dist/quality.js.map +1 -0
  113. package/dist/release.d.ts +1304 -0
  114. package/dist/release.js +34 -0
  115. package/dist/release.js.map +1 -0
  116. package/dist/rooms-check.d.ts +90 -0
  117. package/dist/rooms-check.js +717 -0
  118. package/dist/rooms-check.js.map +1 -0
  119. package/dist/source-tree-contract.d.ts +16 -0
  120. package/dist/source-tree-contract.js +13 -0
  121. package/dist/source-tree-contract.js.map +1 -0
  122. package/dist/testing.d.ts +464 -0
  123. package/dist/testing.js +27 -0
  124. package/dist/testing.js.map +1 -0
  125. package/dist/tooling/describe-game.d.ts +2 -0
  126. package/dist/tooling/describe-game.js +54 -0
  127. package/dist/tooling/describe-game.js.map +1 -0
  128. package/dist/tooling/game-session-broker.d.ts +2 -0
  129. package/dist/tooling/game-session-broker.js +28 -0
  130. package/dist/tooling/game-session-broker.js.map +1 -0
  131. package/dist/tooling/hold-runtime-host.d.ts +2 -0
  132. package/dist/tooling/hold-runtime-host.js +931 -0
  133. package/dist/tooling/hold-runtime-host.js.map +1 -0
  134. package/dist/tooling/list-visual-scenarios.d.ts +2 -0
  135. package/dist/tooling/list-visual-scenarios.js +25 -0
  136. package/dist/tooling/list-visual-scenarios.js.map +1 -0
  137. package/dist/tooling/managed-dev-supervisor.d.ts +2 -0
  138. package/dist/tooling/managed-dev-supervisor.js +51 -0
  139. package/dist/tooling/managed-dev-supervisor.js.map +1 -0
  140. package/dist/tooling/process-scope-bootstrap.mjs +24 -0
  141. package/dist/tooling/process-scope-guard.d.ts +2 -0
  142. package/dist/tooling/process-scope-guard.js +388 -0
  143. package/dist/tooling/process-scope-guard.js.map +1 -0
  144. package/dist/tooling/process-scope-windows.ps1 +148 -0
  145. package/dist/tooling/rooms-check-device.d.ts +2 -0
  146. package/dist/tooling/rooms-check-device.js +498 -0
  147. package/dist/tooling/rooms-check-device.js.map +1 -0
  148. package/dist/tooling/run-headless-room.d.ts +2 -0
  149. package/dist/tooling/run-headless-room.js +287 -0
  150. package/dist/tooling/run-headless-room.js.map +1 -0
  151. package/dist/tooling/run-test-profile.d.ts +2 -0
  152. package/dist/tooling/run-test-profile.js +181 -0
  153. package/dist/tooling/run-test-profile.js.map +1 -0
  154. package/dist/tooling/run-visual-capture.d.ts +2 -0
  155. package/dist/tooling/run-visual-capture.js +203 -0
  156. package/dist/tooling/run-visual-capture.js.map +1 -0
  157. package/dist/tooling/seal-game-build.d.ts +2 -0
  158. package/dist/tooling/seal-game-build.js +120 -0
  159. package/dist/tooling/seal-game-build.js.map +1 -0
  160. package/dist/types-CdYrgrG_.d.ts +1036 -0
  161. package/dist/types-DyRD-ym1.d.ts +141 -0
  162. package/dist/visual.d.ts +21 -0
  163. package/dist/visual.js +219 -0
  164. package/dist/visual.js.map +1 -0
  165. package/package.json +150 -3
  166. package/src/bounded-response.ts +28 -0
  167. package/src/built-game-runtime.ts +152 -0
  168. package/src/commands.ts +40 -0
  169. package/src/context.ts +218 -0
  170. package/src/controller-protocol.ts +22 -0
  171. package/src/controller.ts +1526 -0
  172. package/src/current-room-host.ts +166 -0
  173. package/src/decision-provider.ts +102 -0
  174. package/src/dependencies.ts +176 -0
  175. package/src/dependency-install-contract.ts +12 -0
  176. package/src/dev.ts +995 -0
  177. package/src/fs-utils.ts +93 -0
  178. package/src/game-action-observation.ts +106 -0
  179. package/src/game-build-protocol.ts +72 -0
  180. package/src/game-build.ts +483 -0
  181. package/src/game-run-owner.ts +2358 -0
  182. package/src/game-run-protocol.ts +448 -0
  183. package/src/game-run-record.ts +92 -0
  184. package/src/game-run-replay.ts +95 -0
  185. package/src/game-run-watch.ts +155 -0
  186. package/src/game-session-broker.ts +793 -0
  187. package/src/game-session-operations.ts +61 -0
  188. package/src/game-session-protocol.ts +180 -0
  189. package/src/game-session-runtime.ts +861 -0
  190. package/src/game-session.ts +206 -0
  191. package/src/game-settings.ts +295 -0
  192. package/src/games.ts +262 -0
  193. package/src/harness/visual/browser.ts +100 -0
  194. package/src/harness/visual/controller-observation.ts +181 -0
  195. package/src/harness/visual/prefab-contract.ts +29 -0
  196. package/src/harness/visual/prefab-runner.ts +178 -0
  197. package/src/harness/visual/runner.ts +549 -0
  198. package/src/harness/visual/runtime-controller-observations.ts +151 -0
  199. package/src/harness/visual/scenario-contract.ts +8 -0
  200. package/src/harness/visual/scenario-helpers.ts +67 -0
  201. package/src/harness/visual/screencast.ts +155 -0
  202. package/src/harness/visual/session.ts +400 -0
  203. package/src/harness/visual/types.ts +184 -0
  204. package/src/harness/visual.ts +7 -0
  205. package/src/headless-room-protocol.ts +112 -0
  206. package/src/headless-room.ts +222 -0
  207. package/src/helper-channel.ts +229 -0
  208. package/src/helper-scripts.ts +69 -0
  209. package/src/installed-dependencies.ts +74 -0
  210. package/src/logs.ts +67 -0
  211. package/src/managed-process-scope.ts +481 -0
  212. package/src/mcp-config.ts +262 -0
  213. package/src/node-process-environment.ts +10 -0
  214. package/src/platform-auth.ts +594 -0
  215. package/src/platform-game-analytics.ts +50 -0
  216. package/src/platform-game-app-id.ts +99 -0
  217. package/src/platform-game-media.ts +209 -0
  218. package/src/platform-games.ts +217 -0
  219. package/src/policy-artifact-contract.ts +52 -0
  220. package/src/policy-artifacts.ts +134 -0
  221. package/src/process-scope-admission.ts +50 -0
  222. package/src/process-scope-protocol.ts +66 -0
  223. package/src/process-scope.ts +327 -0
  224. package/src/quality.ts +82 -0
  225. package/src/release.ts +1683 -0
  226. package/src/rooms-check-fleet.ts +194 -0
  227. package/src/rooms-check-link.ts +138 -0
  228. package/src/rooms-check-protocol.ts +244 -0
  229. package/src/rooms-check.ts +797 -0
  230. package/src/runtime-owner-protocol.ts +218 -0
  231. package/src/source-tree-contract.ts +70 -0
  232. package/src/source-tree.ts +84 -0
  233. package/src/test-profile-process.ts +153 -0
  234. package/src/test-profile-protocol.ts +116 -0
  235. package/src/testing.ts +430 -0
  236. package/src/tooling/declaration-hook.ts +52 -0
  237. package/src/tooling/describe-game.ts +49 -0
  238. package/src/tooling/game-session-broker.ts +7 -0
  239. package/src/tooling/hold-runtime-host.ts +441 -0
  240. package/src/tooling/list-visual-scenarios.ts +21 -0
  241. package/src/tooling/load-game.ts +79 -0
  242. package/src/tooling/managed-dev-supervisor.ts +71 -0
  243. package/src/tooling/process-scope-bootstrap.mjs +24 -0
  244. package/src/tooling/process-scope-guard.ts +213 -0
  245. package/src/tooling/process-scope-windows.ps1 +148 -0
  246. package/src/tooling/rooms-check-device.ts +493 -0
  247. package/src/tooling/run-headless-room.ts +326 -0
  248. package/src/tooling/run-test-profile.ts +190 -0
  249. package/src/tooling/run-visual-capture.ts +231 -0
  250. package/src/tooling/runtime-owner-actions.ts +65 -0
  251. package/src/tooling/seal-game-build.ts +118 -0
  252. package/src/tooling/visual-pack.ts +11 -0
  253. package/src/types.ts +928 -0
  254. package/src/visual.ts +296 -0
  255. package/src/windows-process-scopes.ts +189 -0
  256. package/src/workspace-contract.ts +32 -0
@@ -0,0 +1,1304 @@
1
+ import { X as InspectLocalReleaseOptions, Y as AirJamLocalReleaseDoctor, Z as ValidateLocalReleaseOptions, _ as AirJamLocalReleaseValidation, $ as BundleLocalReleaseOptions, a0 as BundleLocalReleaseResult, a1 as ListPlatformReleaseTargetsOptions, a2 as ListPlatformReleasesOptions, a3 as InspectPlatformReleaseOptions, a4 as PublishPlatformReleaseOptions, a5 as ArchivePlatformReleaseOptions, a6 as UploadPlatformReleaseGenerationOptions, a7 as FinalizePlatformReleaseGenerationOptions, a8 as ExportPlatformReleaseGenerationOptions, a9 as ExportPlatformReleaseGenerationResult, aa as SubmitPlatformReleaseOptions, ab as SubmitPlatformReleaseResult } from './types-CdYrgrG_.js';
2
+ export { ac as AirJamLocalReleaseIssue } from './types-CdYrgrG_.js';
3
+ import '@air-jam/sdk/platform-machine';
4
+ import 'zod';
5
+ import '@air-jam/sdk/agent-tooling';
6
+ import './game-session-broker-CUvORfMd.js';
7
+ import './game-run-watch-CEd_SpAT.js';
8
+ import 'node:stream';
9
+ import '@air-jam/sdk';
10
+ import '@air-jam/sdk/core';
11
+
12
+ declare const inspectLocalRelease: ({ cwd, distDir, }?: InspectLocalReleaseOptions) => Promise<AirJamLocalReleaseDoctor>;
13
+ declare const validateLocalRelease: ({ cwd, distDir, bundlePath, skipBuild, }?: ValidateLocalReleaseOptions) => Promise<AirJamLocalReleaseValidation>;
14
+ declare const bundleLocalRelease: ({ cwd, distDir, out, skipBuild, }?: BundleLocalReleaseOptions) => Promise<BundleLocalReleaseResult>;
15
+ declare const listPlatformReleaseTargets: ({ platformUrl, token, }?: ListPlatformReleaseTargetsOptions) => Promise<{
16
+ games: {
17
+ id: string;
18
+ slug: string | null;
19
+ name: string;
20
+ description: string | null;
21
+ url: string | null;
22
+ arcadeVisibility: "hidden" | "listed";
23
+ arcadeListing: {
24
+ status: "rejected" | "approved" | "not_requested" | "awaiting_approval";
25
+ reason: string | null;
26
+ };
27
+ sourceUrl: string | null;
28
+ templateId: string | null;
29
+ createdAt: string;
30
+ updatedAt: string;
31
+ }[];
32
+ }>;
33
+ declare const listPlatformReleases: ({ platformUrl, token, slugOrId, }: ListPlatformReleasesOptions) => Promise<{
34
+ game: {
35
+ id: string;
36
+ slug: string | null;
37
+ name: string;
38
+ description: string | null;
39
+ url: string | null;
40
+ arcadeVisibility: "hidden" | "listed";
41
+ arcadeListing: {
42
+ status: "rejected" | "approved" | "not_requested" | "awaiting_approval";
43
+ reason: string | null;
44
+ };
45
+ sourceUrl: string | null;
46
+ templateId: string | null;
47
+ createdAt: string;
48
+ updatedAt: string;
49
+ };
50
+ releases: {
51
+ id: string;
52
+ gameId: string;
53
+ sourceKind: "upload";
54
+ status: "ready" | "failed" | "live" | "draft" | "uploading" | "checking" | "quarantined" | "archived";
55
+ candidateGenerationId: string | null;
56
+ promotedGenerationId: string | null;
57
+ versionLabel: string | null;
58
+ createdAt: string;
59
+ uploadedAt: string | null;
60
+ checkedAt: string | null;
61
+ publishedAt: string | null;
62
+ quarantinedAt: string | null;
63
+ archivedAt: string | null;
64
+ game: {
65
+ id: string;
66
+ slug: string | null;
67
+ name: string;
68
+ description: string | null;
69
+ url: string | null;
70
+ arcadeVisibility: "hidden" | "listed";
71
+ arcadeListing: {
72
+ status: "rejected" | "approved" | "not_requested" | "awaiting_approval";
73
+ reason: string | null;
74
+ };
75
+ sourceUrl: string | null;
76
+ templateId: string | null;
77
+ createdAt: string;
78
+ updatedAt: string;
79
+ };
80
+ candidateGeneration: {
81
+ id: string;
82
+ releaseId: string;
83
+ sequence: number;
84
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
85
+ originalFilename: string;
86
+ contentType: string;
87
+ declaredSizeBytes: number;
88
+ observedSizeBytes: number | null;
89
+ observedContentType: string | null;
90
+ observedEtag: string | null;
91
+ observedLastModifiedAt: string | null;
92
+ extractedSizeBytes: number | null;
93
+ fileCount: number | null;
94
+ entryPath: string | null;
95
+ contentHash: string | null;
96
+ createdAt: string;
97
+ uploadObservedAt: string | null;
98
+ processingStartedAt: string | null;
99
+ readyAt: string | null;
100
+ failedAt: string | null;
101
+ abandonedAt: string | null;
102
+ storageRetention: {
103
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
104
+ inactiveAt: string | null;
105
+ warnedAt: string | null;
106
+ eligibleAt: string | null;
107
+ cleanupStartedAt: string | null;
108
+ deletedAt: string | null;
109
+ };
110
+ } | null;
111
+ promotedGeneration: {
112
+ id: string;
113
+ releaseId: string;
114
+ sequence: number;
115
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
116
+ originalFilename: string;
117
+ contentType: string;
118
+ declaredSizeBytes: number;
119
+ observedSizeBytes: number | null;
120
+ observedContentType: string | null;
121
+ observedEtag: string | null;
122
+ observedLastModifiedAt: string | null;
123
+ extractedSizeBytes: number | null;
124
+ fileCount: number | null;
125
+ entryPath: string | null;
126
+ contentHash: string | null;
127
+ createdAt: string;
128
+ uploadObservedAt: string | null;
129
+ processingStartedAt: string | null;
130
+ readyAt: string | null;
131
+ failedAt: string | null;
132
+ abandonedAt: string | null;
133
+ storageRetention: {
134
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
135
+ inactiveAt: string | null;
136
+ warnedAt: string | null;
137
+ eligibleAt: string | null;
138
+ cleanupStartedAt: string | null;
139
+ deletedAt: string | null;
140
+ };
141
+ } | null;
142
+ generations: {
143
+ id: string;
144
+ releaseId: string;
145
+ sequence: number;
146
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
147
+ originalFilename: string;
148
+ contentType: string;
149
+ declaredSizeBytes: number;
150
+ observedSizeBytes: number | null;
151
+ observedContentType: string | null;
152
+ observedEtag: string | null;
153
+ observedLastModifiedAt: string | null;
154
+ extractedSizeBytes: number | null;
155
+ fileCount: number | null;
156
+ entryPath: string | null;
157
+ contentHash: string | null;
158
+ createdAt: string;
159
+ uploadObservedAt: string | null;
160
+ processingStartedAt: string | null;
161
+ readyAt: string | null;
162
+ failedAt: string | null;
163
+ abandonedAt: string | null;
164
+ storageRetention: {
165
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
166
+ inactiveAt: string | null;
167
+ warnedAt: string | null;
168
+ eligibleAt: string | null;
169
+ cleanupStartedAt: string | null;
170
+ deletedAt: string | null;
171
+ };
172
+ }[];
173
+ checks: {
174
+ id: string;
175
+ releaseId: string;
176
+ generationId: string;
177
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
178
+ status: "failed" | "warning" | "pending" | "passed";
179
+ summary: string | null;
180
+ createdAt: string;
181
+ }[];
182
+ jobs: {
183
+ id: string;
184
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
185
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
186
+ releaseId: string;
187
+ generationId: string;
188
+ correlationId: string;
189
+ attemptCount: number;
190
+ maxAttempts: number;
191
+ progressStage: string | null;
192
+ progressMessage: string | null;
193
+ lastErrorCode: string | null;
194
+ lastErrorRetryable: boolean | null;
195
+ availableAt: string;
196
+ deadlineAt: string;
197
+ createdAt: string;
198
+ startedAt: string | null;
199
+ finishedAt: string | null;
200
+ updatedAt: string;
201
+ }[];
202
+ reports: {
203
+ id: string;
204
+ releaseId: string;
205
+ status: "open" | "reviewed" | "dismissed";
206
+ source: "arcade" | "play_page";
207
+ createdAt: string;
208
+ reviewedAt: string | null;
209
+ }[];
210
+ playUrl: string;
211
+ hostUrl: string | null;
212
+ controllerUrl: string | null;
213
+ }[];
214
+ }>;
215
+ declare const inspectPlatformRelease: ({ platformUrl, token, releaseId, }: InspectPlatformReleaseOptions) => Promise<{
216
+ release: {
217
+ id: string;
218
+ gameId: string;
219
+ sourceKind: "upload";
220
+ status: "ready" | "failed" | "live" | "draft" | "uploading" | "checking" | "quarantined" | "archived";
221
+ candidateGenerationId: string | null;
222
+ promotedGenerationId: string | null;
223
+ versionLabel: string | null;
224
+ createdAt: string;
225
+ uploadedAt: string | null;
226
+ checkedAt: string | null;
227
+ publishedAt: string | null;
228
+ quarantinedAt: string | null;
229
+ archivedAt: string | null;
230
+ game: {
231
+ id: string;
232
+ slug: string | null;
233
+ name: string;
234
+ description: string | null;
235
+ url: string | null;
236
+ arcadeVisibility: "hidden" | "listed";
237
+ arcadeListing: {
238
+ status: "rejected" | "approved" | "not_requested" | "awaiting_approval";
239
+ reason: string | null;
240
+ };
241
+ sourceUrl: string | null;
242
+ templateId: string | null;
243
+ createdAt: string;
244
+ updatedAt: string;
245
+ };
246
+ candidateGeneration: {
247
+ id: string;
248
+ releaseId: string;
249
+ sequence: number;
250
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
251
+ originalFilename: string;
252
+ contentType: string;
253
+ declaredSizeBytes: number;
254
+ observedSizeBytes: number | null;
255
+ observedContentType: string | null;
256
+ observedEtag: string | null;
257
+ observedLastModifiedAt: string | null;
258
+ extractedSizeBytes: number | null;
259
+ fileCount: number | null;
260
+ entryPath: string | null;
261
+ contentHash: string | null;
262
+ createdAt: string;
263
+ uploadObservedAt: string | null;
264
+ processingStartedAt: string | null;
265
+ readyAt: string | null;
266
+ failedAt: string | null;
267
+ abandonedAt: string | null;
268
+ storageRetention: {
269
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
270
+ inactiveAt: string | null;
271
+ warnedAt: string | null;
272
+ eligibleAt: string | null;
273
+ cleanupStartedAt: string | null;
274
+ deletedAt: string | null;
275
+ };
276
+ } | null;
277
+ promotedGeneration: {
278
+ id: string;
279
+ releaseId: string;
280
+ sequence: number;
281
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
282
+ originalFilename: string;
283
+ contentType: string;
284
+ declaredSizeBytes: number;
285
+ observedSizeBytes: number | null;
286
+ observedContentType: string | null;
287
+ observedEtag: string | null;
288
+ observedLastModifiedAt: string | null;
289
+ extractedSizeBytes: number | null;
290
+ fileCount: number | null;
291
+ entryPath: string | null;
292
+ contentHash: string | null;
293
+ createdAt: string;
294
+ uploadObservedAt: string | null;
295
+ processingStartedAt: string | null;
296
+ readyAt: string | null;
297
+ failedAt: string | null;
298
+ abandonedAt: string | null;
299
+ storageRetention: {
300
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
301
+ inactiveAt: string | null;
302
+ warnedAt: string | null;
303
+ eligibleAt: string | null;
304
+ cleanupStartedAt: string | null;
305
+ deletedAt: string | null;
306
+ };
307
+ } | null;
308
+ generations: {
309
+ id: string;
310
+ releaseId: string;
311
+ sequence: number;
312
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
313
+ originalFilename: string;
314
+ contentType: string;
315
+ declaredSizeBytes: number;
316
+ observedSizeBytes: number | null;
317
+ observedContentType: string | null;
318
+ observedEtag: string | null;
319
+ observedLastModifiedAt: string | null;
320
+ extractedSizeBytes: number | null;
321
+ fileCount: number | null;
322
+ entryPath: string | null;
323
+ contentHash: string | null;
324
+ createdAt: string;
325
+ uploadObservedAt: string | null;
326
+ processingStartedAt: string | null;
327
+ readyAt: string | null;
328
+ failedAt: string | null;
329
+ abandonedAt: string | null;
330
+ storageRetention: {
331
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
332
+ inactiveAt: string | null;
333
+ warnedAt: string | null;
334
+ eligibleAt: string | null;
335
+ cleanupStartedAt: string | null;
336
+ deletedAt: string | null;
337
+ };
338
+ }[];
339
+ checks: {
340
+ id: string;
341
+ releaseId: string;
342
+ generationId: string;
343
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
344
+ status: "failed" | "warning" | "pending" | "passed";
345
+ summary: string | null;
346
+ createdAt: string;
347
+ }[];
348
+ jobs: {
349
+ id: string;
350
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
351
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
352
+ releaseId: string;
353
+ generationId: string;
354
+ correlationId: string;
355
+ attemptCount: number;
356
+ maxAttempts: number;
357
+ progressStage: string | null;
358
+ progressMessage: string | null;
359
+ lastErrorCode: string | null;
360
+ lastErrorRetryable: boolean | null;
361
+ availableAt: string;
362
+ deadlineAt: string;
363
+ createdAt: string;
364
+ startedAt: string | null;
365
+ finishedAt: string | null;
366
+ updatedAt: string;
367
+ }[];
368
+ reports: {
369
+ id: string;
370
+ releaseId: string;
371
+ status: "open" | "reviewed" | "dismissed";
372
+ source: "arcade" | "play_page";
373
+ createdAt: string;
374
+ reviewedAt: string | null;
375
+ }[];
376
+ playUrl: string;
377
+ hostUrl: string | null;
378
+ controllerUrl: string | null;
379
+ };
380
+ }>;
381
+ declare const publishPlatformRelease: ({ platformUrl, token, releaseId, }: PublishPlatformReleaseOptions) => Promise<{
382
+ release: {
383
+ id: string;
384
+ gameId: string;
385
+ sourceKind: "upload";
386
+ status: "ready" | "failed" | "live" | "draft" | "uploading" | "checking" | "quarantined" | "archived";
387
+ candidateGenerationId: string | null;
388
+ promotedGenerationId: string | null;
389
+ versionLabel: string | null;
390
+ createdAt: string;
391
+ uploadedAt: string | null;
392
+ checkedAt: string | null;
393
+ publishedAt: string | null;
394
+ quarantinedAt: string | null;
395
+ archivedAt: string | null;
396
+ game: {
397
+ id: string;
398
+ slug: string | null;
399
+ name: string;
400
+ description: string | null;
401
+ url: string | null;
402
+ arcadeVisibility: "hidden" | "listed";
403
+ arcadeListing: {
404
+ status: "rejected" | "approved" | "not_requested" | "awaiting_approval";
405
+ reason: string | null;
406
+ };
407
+ sourceUrl: string | null;
408
+ templateId: string | null;
409
+ createdAt: string;
410
+ updatedAt: string;
411
+ };
412
+ candidateGeneration: {
413
+ id: string;
414
+ releaseId: string;
415
+ sequence: number;
416
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
417
+ originalFilename: string;
418
+ contentType: string;
419
+ declaredSizeBytes: number;
420
+ observedSizeBytes: number | null;
421
+ observedContentType: string | null;
422
+ observedEtag: string | null;
423
+ observedLastModifiedAt: string | null;
424
+ extractedSizeBytes: number | null;
425
+ fileCount: number | null;
426
+ entryPath: string | null;
427
+ contentHash: string | null;
428
+ createdAt: string;
429
+ uploadObservedAt: string | null;
430
+ processingStartedAt: string | null;
431
+ readyAt: string | null;
432
+ failedAt: string | null;
433
+ abandonedAt: string | null;
434
+ storageRetention: {
435
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
436
+ inactiveAt: string | null;
437
+ warnedAt: string | null;
438
+ eligibleAt: string | null;
439
+ cleanupStartedAt: string | null;
440
+ deletedAt: string | null;
441
+ };
442
+ } | null;
443
+ promotedGeneration: {
444
+ id: string;
445
+ releaseId: string;
446
+ sequence: number;
447
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
448
+ originalFilename: string;
449
+ contentType: string;
450
+ declaredSizeBytes: number;
451
+ observedSizeBytes: number | null;
452
+ observedContentType: string | null;
453
+ observedEtag: string | null;
454
+ observedLastModifiedAt: string | null;
455
+ extractedSizeBytes: number | null;
456
+ fileCount: number | null;
457
+ entryPath: string | null;
458
+ contentHash: string | null;
459
+ createdAt: string;
460
+ uploadObservedAt: string | null;
461
+ processingStartedAt: string | null;
462
+ readyAt: string | null;
463
+ failedAt: string | null;
464
+ abandonedAt: string | null;
465
+ storageRetention: {
466
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
467
+ inactiveAt: string | null;
468
+ warnedAt: string | null;
469
+ eligibleAt: string | null;
470
+ cleanupStartedAt: string | null;
471
+ deletedAt: string | null;
472
+ };
473
+ } | null;
474
+ generations: {
475
+ id: string;
476
+ releaseId: string;
477
+ sequence: number;
478
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
479
+ originalFilename: string;
480
+ contentType: string;
481
+ declaredSizeBytes: number;
482
+ observedSizeBytes: number | null;
483
+ observedContentType: string | null;
484
+ observedEtag: string | null;
485
+ observedLastModifiedAt: string | null;
486
+ extractedSizeBytes: number | null;
487
+ fileCount: number | null;
488
+ entryPath: string | null;
489
+ contentHash: string | null;
490
+ createdAt: string;
491
+ uploadObservedAt: string | null;
492
+ processingStartedAt: string | null;
493
+ readyAt: string | null;
494
+ failedAt: string | null;
495
+ abandonedAt: string | null;
496
+ storageRetention: {
497
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
498
+ inactiveAt: string | null;
499
+ warnedAt: string | null;
500
+ eligibleAt: string | null;
501
+ cleanupStartedAt: string | null;
502
+ deletedAt: string | null;
503
+ };
504
+ }[];
505
+ checks: {
506
+ id: string;
507
+ releaseId: string;
508
+ generationId: string;
509
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
510
+ status: "failed" | "warning" | "pending" | "passed";
511
+ summary: string | null;
512
+ createdAt: string;
513
+ }[];
514
+ jobs: {
515
+ id: string;
516
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
517
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
518
+ releaseId: string;
519
+ generationId: string;
520
+ correlationId: string;
521
+ attemptCount: number;
522
+ maxAttempts: number;
523
+ progressStage: string | null;
524
+ progressMessage: string | null;
525
+ lastErrorCode: string | null;
526
+ lastErrorRetryable: boolean | null;
527
+ availableAt: string;
528
+ deadlineAt: string;
529
+ createdAt: string;
530
+ startedAt: string | null;
531
+ finishedAt: string | null;
532
+ updatedAt: string;
533
+ }[];
534
+ reports: {
535
+ id: string;
536
+ releaseId: string;
537
+ status: "open" | "reviewed" | "dismissed";
538
+ source: "arcade" | "play_page";
539
+ createdAt: string;
540
+ reviewedAt: string | null;
541
+ }[];
542
+ playUrl: string;
543
+ hostUrl: string | null;
544
+ controllerUrl: string | null;
545
+ };
546
+ }>;
547
+ declare const archivePlatformRelease: ({ platformUrl, token, releaseId, }: ArchivePlatformReleaseOptions) => Promise<{
548
+ release: {
549
+ id: string;
550
+ gameId: string;
551
+ sourceKind: "upload";
552
+ status: "ready" | "failed" | "live" | "draft" | "uploading" | "checking" | "quarantined" | "archived";
553
+ candidateGenerationId: string | null;
554
+ promotedGenerationId: string | null;
555
+ versionLabel: string | null;
556
+ createdAt: string;
557
+ uploadedAt: string | null;
558
+ checkedAt: string | null;
559
+ publishedAt: string | null;
560
+ quarantinedAt: string | null;
561
+ archivedAt: string | null;
562
+ game: {
563
+ id: string;
564
+ slug: string | null;
565
+ name: string;
566
+ description: string | null;
567
+ url: string | null;
568
+ arcadeVisibility: "hidden" | "listed";
569
+ arcadeListing: {
570
+ status: "rejected" | "approved" | "not_requested" | "awaiting_approval";
571
+ reason: string | null;
572
+ };
573
+ sourceUrl: string | null;
574
+ templateId: string | null;
575
+ createdAt: string;
576
+ updatedAt: string;
577
+ };
578
+ candidateGeneration: {
579
+ id: string;
580
+ releaseId: string;
581
+ sequence: number;
582
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
583
+ originalFilename: string;
584
+ contentType: string;
585
+ declaredSizeBytes: number;
586
+ observedSizeBytes: number | null;
587
+ observedContentType: string | null;
588
+ observedEtag: string | null;
589
+ observedLastModifiedAt: string | null;
590
+ extractedSizeBytes: number | null;
591
+ fileCount: number | null;
592
+ entryPath: string | null;
593
+ contentHash: string | null;
594
+ createdAt: string;
595
+ uploadObservedAt: string | null;
596
+ processingStartedAt: string | null;
597
+ readyAt: string | null;
598
+ failedAt: string | null;
599
+ abandonedAt: string | null;
600
+ storageRetention: {
601
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
602
+ inactiveAt: string | null;
603
+ warnedAt: string | null;
604
+ eligibleAt: string | null;
605
+ cleanupStartedAt: string | null;
606
+ deletedAt: string | null;
607
+ };
608
+ } | null;
609
+ promotedGeneration: {
610
+ id: string;
611
+ releaseId: string;
612
+ sequence: number;
613
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
614
+ originalFilename: string;
615
+ contentType: string;
616
+ declaredSizeBytes: number;
617
+ observedSizeBytes: number | null;
618
+ observedContentType: string | null;
619
+ observedEtag: string | null;
620
+ observedLastModifiedAt: string | null;
621
+ extractedSizeBytes: number | null;
622
+ fileCount: number | null;
623
+ entryPath: string | null;
624
+ contentHash: string | null;
625
+ createdAt: string;
626
+ uploadObservedAt: string | null;
627
+ processingStartedAt: string | null;
628
+ readyAt: string | null;
629
+ failedAt: string | null;
630
+ abandonedAt: string | null;
631
+ storageRetention: {
632
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
633
+ inactiveAt: string | null;
634
+ warnedAt: string | null;
635
+ eligibleAt: string | null;
636
+ cleanupStartedAt: string | null;
637
+ deletedAt: string | null;
638
+ };
639
+ } | null;
640
+ generations: {
641
+ id: string;
642
+ releaseId: string;
643
+ sequence: number;
644
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
645
+ originalFilename: string;
646
+ contentType: string;
647
+ declaredSizeBytes: number;
648
+ observedSizeBytes: number | null;
649
+ observedContentType: string | null;
650
+ observedEtag: string | null;
651
+ observedLastModifiedAt: string | null;
652
+ extractedSizeBytes: number | null;
653
+ fileCount: number | null;
654
+ entryPath: string | null;
655
+ contentHash: string | null;
656
+ createdAt: string;
657
+ uploadObservedAt: string | null;
658
+ processingStartedAt: string | null;
659
+ readyAt: string | null;
660
+ failedAt: string | null;
661
+ abandonedAt: string | null;
662
+ storageRetention: {
663
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
664
+ inactiveAt: string | null;
665
+ warnedAt: string | null;
666
+ eligibleAt: string | null;
667
+ cleanupStartedAt: string | null;
668
+ deletedAt: string | null;
669
+ };
670
+ }[];
671
+ checks: {
672
+ id: string;
673
+ releaseId: string;
674
+ generationId: string;
675
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
676
+ status: "failed" | "warning" | "pending" | "passed";
677
+ summary: string | null;
678
+ createdAt: string;
679
+ }[];
680
+ jobs: {
681
+ id: string;
682
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
683
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
684
+ releaseId: string;
685
+ generationId: string;
686
+ correlationId: string;
687
+ attemptCount: number;
688
+ maxAttempts: number;
689
+ progressStage: string | null;
690
+ progressMessage: string | null;
691
+ lastErrorCode: string | null;
692
+ lastErrorRetryable: boolean | null;
693
+ availableAt: string;
694
+ deadlineAt: string;
695
+ createdAt: string;
696
+ startedAt: string | null;
697
+ finishedAt: string | null;
698
+ updatedAt: string;
699
+ }[];
700
+ reports: {
701
+ id: string;
702
+ releaseId: string;
703
+ status: "open" | "reviewed" | "dismissed";
704
+ source: "arcade" | "play_page";
705
+ createdAt: string;
706
+ reviewedAt: string | null;
707
+ }[];
708
+ playUrl: string;
709
+ hostUrl: string | null;
710
+ controllerUrl: string | null;
711
+ };
712
+ }>;
713
+ declare const uploadPlatformReleaseGeneration: ({ platformUrl, token, releaseId, cwd, bundlePath, }: UploadPlatformReleaseGenerationOptions) => Promise<{
714
+ bundlePath: string;
715
+ release: {
716
+ id: string;
717
+ gameId: string;
718
+ sourceKind: "upload";
719
+ status: "ready" | "failed" | "live" | "draft" | "uploading" | "checking" | "quarantined" | "archived";
720
+ candidateGenerationId: string | null;
721
+ promotedGenerationId: string | null;
722
+ versionLabel: string | null;
723
+ createdAt: string;
724
+ uploadedAt: string | null;
725
+ checkedAt: string | null;
726
+ publishedAt: string | null;
727
+ quarantinedAt: string | null;
728
+ archivedAt: string | null;
729
+ game: {
730
+ id: string;
731
+ slug: string | null;
732
+ name: string;
733
+ description: string | null;
734
+ url: string | null;
735
+ arcadeVisibility: "hidden" | "listed";
736
+ arcadeListing: {
737
+ status: "rejected" | "approved" | "not_requested" | "awaiting_approval";
738
+ reason: string | null;
739
+ };
740
+ sourceUrl: string | null;
741
+ templateId: string | null;
742
+ createdAt: string;
743
+ updatedAt: string;
744
+ };
745
+ candidateGeneration: {
746
+ id: string;
747
+ releaseId: string;
748
+ sequence: number;
749
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
750
+ originalFilename: string;
751
+ contentType: string;
752
+ declaredSizeBytes: number;
753
+ observedSizeBytes: number | null;
754
+ observedContentType: string | null;
755
+ observedEtag: string | null;
756
+ observedLastModifiedAt: string | null;
757
+ extractedSizeBytes: number | null;
758
+ fileCount: number | null;
759
+ entryPath: string | null;
760
+ contentHash: string | null;
761
+ createdAt: string;
762
+ uploadObservedAt: string | null;
763
+ processingStartedAt: string | null;
764
+ readyAt: string | null;
765
+ failedAt: string | null;
766
+ abandonedAt: string | null;
767
+ storageRetention: {
768
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
769
+ inactiveAt: string | null;
770
+ warnedAt: string | null;
771
+ eligibleAt: string | null;
772
+ cleanupStartedAt: string | null;
773
+ deletedAt: string | null;
774
+ };
775
+ } | null;
776
+ promotedGeneration: {
777
+ id: string;
778
+ releaseId: string;
779
+ sequence: number;
780
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
781
+ originalFilename: string;
782
+ contentType: string;
783
+ declaredSizeBytes: number;
784
+ observedSizeBytes: number | null;
785
+ observedContentType: string | null;
786
+ observedEtag: string | null;
787
+ observedLastModifiedAt: string | null;
788
+ extractedSizeBytes: number | null;
789
+ fileCount: number | null;
790
+ entryPath: string | null;
791
+ contentHash: string | null;
792
+ createdAt: string;
793
+ uploadObservedAt: string | null;
794
+ processingStartedAt: string | null;
795
+ readyAt: string | null;
796
+ failedAt: string | null;
797
+ abandonedAt: string | null;
798
+ storageRetention: {
799
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
800
+ inactiveAt: string | null;
801
+ warnedAt: string | null;
802
+ eligibleAt: string | null;
803
+ cleanupStartedAt: string | null;
804
+ deletedAt: string | null;
805
+ };
806
+ } | null;
807
+ generations: {
808
+ id: string;
809
+ releaseId: string;
810
+ sequence: number;
811
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
812
+ originalFilename: string;
813
+ contentType: string;
814
+ declaredSizeBytes: number;
815
+ observedSizeBytes: number | null;
816
+ observedContentType: string | null;
817
+ observedEtag: string | null;
818
+ observedLastModifiedAt: string | null;
819
+ extractedSizeBytes: number | null;
820
+ fileCount: number | null;
821
+ entryPath: string | null;
822
+ contentHash: string | null;
823
+ createdAt: string;
824
+ uploadObservedAt: string | null;
825
+ processingStartedAt: string | null;
826
+ readyAt: string | null;
827
+ failedAt: string | null;
828
+ abandonedAt: string | null;
829
+ storageRetention: {
830
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
831
+ inactiveAt: string | null;
832
+ warnedAt: string | null;
833
+ eligibleAt: string | null;
834
+ cleanupStartedAt: string | null;
835
+ deletedAt: string | null;
836
+ };
837
+ }[];
838
+ checks: {
839
+ id: string;
840
+ releaseId: string;
841
+ generationId: string;
842
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
843
+ status: "failed" | "warning" | "pending" | "passed";
844
+ summary: string | null;
845
+ createdAt: string;
846
+ }[];
847
+ jobs: {
848
+ id: string;
849
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
850
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
851
+ releaseId: string;
852
+ generationId: string;
853
+ correlationId: string;
854
+ attemptCount: number;
855
+ maxAttempts: number;
856
+ progressStage: string | null;
857
+ progressMessage: string | null;
858
+ lastErrorCode: string | null;
859
+ lastErrorRetryable: boolean | null;
860
+ availableAt: string;
861
+ deadlineAt: string;
862
+ createdAt: string;
863
+ startedAt: string | null;
864
+ finishedAt: string | null;
865
+ updatedAt: string;
866
+ }[];
867
+ reports: {
868
+ id: string;
869
+ releaseId: string;
870
+ status: "open" | "reviewed" | "dismissed";
871
+ source: "arcade" | "play_page";
872
+ createdAt: string;
873
+ reviewedAt: string | null;
874
+ }[];
875
+ playUrl: string;
876
+ hostUrl: string | null;
877
+ controllerUrl: string | null;
878
+ };
879
+ generation: {
880
+ id: string;
881
+ releaseId: string;
882
+ sequence: number;
883
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
884
+ originalFilename: string;
885
+ contentType: string;
886
+ declaredSizeBytes: number;
887
+ observedSizeBytes: number | null;
888
+ observedContentType: string | null;
889
+ observedEtag: string | null;
890
+ observedLastModifiedAt: string | null;
891
+ extractedSizeBytes: number | null;
892
+ fileCount: number | null;
893
+ entryPath: string | null;
894
+ contentHash: string | null;
895
+ createdAt: string;
896
+ uploadObservedAt: string | null;
897
+ processingStartedAt: string | null;
898
+ readyAt: string | null;
899
+ failedAt: string | null;
900
+ abandonedAt: string | null;
901
+ storageRetention: {
902
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
903
+ inactiveAt: string | null;
904
+ warnedAt: string | null;
905
+ eligibleAt: string | null;
906
+ cleanupStartedAt: string | null;
907
+ deletedAt: string | null;
908
+ };
909
+ };
910
+ upload: {
911
+ method: "PUT";
912
+ url: string;
913
+ headers: Record<string, string>;
914
+ expiresAt: string;
915
+ };
916
+ }>;
917
+ declare const finalizePlatformReleaseGeneration: ({ platformUrl, token, releaseId, generationId, }: FinalizePlatformReleaseGenerationOptions) => Promise<{
918
+ release: {
919
+ id: string;
920
+ gameId: string;
921
+ sourceKind: "upload";
922
+ status: "ready" | "failed" | "live" | "draft" | "uploading" | "checking" | "quarantined" | "archived";
923
+ candidateGenerationId: string | null;
924
+ promotedGenerationId: string | null;
925
+ versionLabel: string | null;
926
+ createdAt: string;
927
+ uploadedAt: string | null;
928
+ checkedAt: string | null;
929
+ publishedAt: string | null;
930
+ quarantinedAt: string | null;
931
+ archivedAt: string | null;
932
+ game: {
933
+ id: string;
934
+ slug: string | null;
935
+ name: string;
936
+ description: string | null;
937
+ url: string | null;
938
+ arcadeVisibility: "hidden" | "listed";
939
+ arcadeListing: {
940
+ status: "rejected" | "approved" | "not_requested" | "awaiting_approval";
941
+ reason: string | null;
942
+ };
943
+ sourceUrl: string | null;
944
+ templateId: string | null;
945
+ createdAt: string;
946
+ updatedAt: string;
947
+ };
948
+ candidateGeneration: {
949
+ id: string;
950
+ releaseId: string;
951
+ sequence: number;
952
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
953
+ originalFilename: string;
954
+ contentType: string;
955
+ declaredSizeBytes: number;
956
+ observedSizeBytes: number | null;
957
+ observedContentType: string | null;
958
+ observedEtag: string | null;
959
+ observedLastModifiedAt: string | null;
960
+ extractedSizeBytes: number | null;
961
+ fileCount: number | null;
962
+ entryPath: string | null;
963
+ contentHash: string | null;
964
+ createdAt: string;
965
+ uploadObservedAt: string | null;
966
+ processingStartedAt: string | null;
967
+ readyAt: string | null;
968
+ failedAt: string | null;
969
+ abandonedAt: string | null;
970
+ storageRetention: {
971
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
972
+ inactiveAt: string | null;
973
+ warnedAt: string | null;
974
+ eligibleAt: string | null;
975
+ cleanupStartedAt: string | null;
976
+ deletedAt: string | null;
977
+ };
978
+ } | null;
979
+ promotedGeneration: {
980
+ id: string;
981
+ releaseId: string;
982
+ sequence: number;
983
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
984
+ originalFilename: string;
985
+ contentType: string;
986
+ declaredSizeBytes: number;
987
+ observedSizeBytes: number | null;
988
+ observedContentType: string | null;
989
+ observedEtag: string | null;
990
+ observedLastModifiedAt: string | null;
991
+ extractedSizeBytes: number | null;
992
+ fileCount: number | null;
993
+ entryPath: string | null;
994
+ contentHash: string | null;
995
+ createdAt: string;
996
+ uploadObservedAt: string | null;
997
+ processingStartedAt: string | null;
998
+ readyAt: string | null;
999
+ failedAt: string | null;
1000
+ abandonedAt: string | null;
1001
+ storageRetention: {
1002
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
1003
+ inactiveAt: string | null;
1004
+ warnedAt: string | null;
1005
+ eligibleAt: string | null;
1006
+ cleanupStartedAt: string | null;
1007
+ deletedAt: string | null;
1008
+ };
1009
+ } | null;
1010
+ generations: {
1011
+ id: string;
1012
+ releaseId: string;
1013
+ sequence: number;
1014
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
1015
+ originalFilename: string;
1016
+ contentType: string;
1017
+ declaredSizeBytes: number;
1018
+ observedSizeBytes: number | null;
1019
+ observedContentType: string | null;
1020
+ observedEtag: string | null;
1021
+ observedLastModifiedAt: string | null;
1022
+ extractedSizeBytes: number | null;
1023
+ fileCount: number | null;
1024
+ entryPath: string | null;
1025
+ contentHash: string | null;
1026
+ createdAt: string;
1027
+ uploadObservedAt: string | null;
1028
+ processingStartedAt: string | null;
1029
+ readyAt: string | null;
1030
+ failedAt: string | null;
1031
+ abandonedAt: string | null;
1032
+ storageRetention: {
1033
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
1034
+ inactiveAt: string | null;
1035
+ warnedAt: string | null;
1036
+ eligibleAt: string | null;
1037
+ cleanupStartedAt: string | null;
1038
+ deletedAt: string | null;
1039
+ };
1040
+ }[];
1041
+ checks: {
1042
+ id: string;
1043
+ releaseId: string;
1044
+ generationId: string;
1045
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
1046
+ status: "failed" | "warning" | "pending" | "passed";
1047
+ summary: string | null;
1048
+ createdAt: string;
1049
+ }[];
1050
+ jobs: {
1051
+ id: string;
1052
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
1053
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
1054
+ releaseId: string;
1055
+ generationId: string;
1056
+ correlationId: string;
1057
+ attemptCount: number;
1058
+ maxAttempts: number;
1059
+ progressStage: string | null;
1060
+ progressMessage: string | null;
1061
+ lastErrorCode: string | null;
1062
+ lastErrorRetryable: boolean | null;
1063
+ availableAt: string;
1064
+ deadlineAt: string;
1065
+ createdAt: string;
1066
+ startedAt: string | null;
1067
+ finishedAt: string | null;
1068
+ updatedAt: string;
1069
+ }[];
1070
+ reports: {
1071
+ id: string;
1072
+ releaseId: string;
1073
+ status: "open" | "reviewed" | "dismissed";
1074
+ source: "arcade" | "play_page";
1075
+ createdAt: string;
1076
+ reviewedAt: string | null;
1077
+ }[];
1078
+ playUrl: string;
1079
+ hostUrl: string | null;
1080
+ controllerUrl: string | null;
1081
+ };
1082
+ generation: {
1083
+ id: string;
1084
+ releaseId: string;
1085
+ sequence: number;
1086
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
1087
+ originalFilename: string;
1088
+ contentType: string;
1089
+ declaredSizeBytes: number;
1090
+ observedSizeBytes: number | null;
1091
+ observedContentType: string | null;
1092
+ observedEtag: string | null;
1093
+ observedLastModifiedAt: string | null;
1094
+ extractedSizeBytes: number | null;
1095
+ fileCount: number | null;
1096
+ entryPath: string | null;
1097
+ contentHash: string | null;
1098
+ createdAt: string;
1099
+ uploadObservedAt: string | null;
1100
+ processingStartedAt: string | null;
1101
+ readyAt: string | null;
1102
+ failedAt: string | null;
1103
+ abandonedAt: string | null;
1104
+ storageRetention: {
1105
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
1106
+ inactiveAt: string | null;
1107
+ warnedAt: string | null;
1108
+ eligibleAt: string | null;
1109
+ cleanupStartedAt: string | null;
1110
+ deletedAt: string | null;
1111
+ };
1112
+ };
1113
+ job: {
1114
+ id: string;
1115
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
1116
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
1117
+ releaseId: string;
1118
+ generationId: string;
1119
+ correlationId: string;
1120
+ attemptCount: number;
1121
+ maxAttempts: number;
1122
+ progressStage: string | null;
1123
+ progressMessage: string | null;
1124
+ lastErrorCode: string | null;
1125
+ lastErrorRetryable: boolean | null;
1126
+ availableAt: string;
1127
+ deadlineAt: string;
1128
+ createdAt: string;
1129
+ startedAt: string | null;
1130
+ finishedAt: string | null;
1131
+ updatedAt: string;
1132
+ };
1133
+ }>;
1134
+ declare const exportPlatformReleaseGeneration: ({ platformUrl, token, releaseId, generationId, cwd, out, }: ExportPlatformReleaseGenerationOptions) => Promise<ExportPlatformReleaseGenerationResult>;
1135
+ declare const waitForPlatformReleaseGeneration: ({ platformUrl, token, releaseId, generationId, timeoutMs, pollIntervalMs, }: FinalizePlatformReleaseGenerationOptions & {
1136
+ timeoutMs?: number;
1137
+ pollIntervalMs?: number;
1138
+ }) => Promise<{
1139
+ id: string;
1140
+ gameId: string;
1141
+ sourceKind: "upload";
1142
+ status: "ready" | "failed" | "live" | "draft" | "uploading" | "checking" | "quarantined" | "archived";
1143
+ candidateGenerationId: string | null;
1144
+ promotedGenerationId: string | null;
1145
+ versionLabel: string | null;
1146
+ createdAt: string;
1147
+ uploadedAt: string | null;
1148
+ checkedAt: string | null;
1149
+ publishedAt: string | null;
1150
+ quarantinedAt: string | null;
1151
+ archivedAt: string | null;
1152
+ game: {
1153
+ id: string;
1154
+ slug: string | null;
1155
+ name: string;
1156
+ description: string | null;
1157
+ url: string | null;
1158
+ arcadeVisibility: "hidden" | "listed";
1159
+ arcadeListing: {
1160
+ status: "rejected" | "approved" | "not_requested" | "awaiting_approval";
1161
+ reason: string | null;
1162
+ };
1163
+ sourceUrl: string | null;
1164
+ templateId: string | null;
1165
+ createdAt: string;
1166
+ updatedAt: string;
1167
+ };
1168
+ candidateGeneration: {
1169
+ id: string;
1170
+ releaseId: string;
1171
+ sequence: number;
1172
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
1173
+ originalFilename: string;
1174
+ contentType: string;
1175
+ declaredSizeBytes: number;
1176
+ observedSizeBytes: number | null;
1177
+ observedContentType: string | null;
1178
+ observedEtag: string | null;
1179
+ observedLastModifiedAt: string | null;
1180
+ extractedSizeBytes: number | null;
1181
+ fileCount: number | null;
1182
+ entryPath: string | null;
1183
+ contentHash: string | null;
1184
+ createdAt: string;
1185
+ uploadObservedAt: string | null;
1186
+ processingStartedAt: string | null;
1187
+ readyAt: string | null;
1188
+ failedAt: string | null;
1189
+ abandonedAt: string | null;
1190
+ storageRetention: {
1191
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
1192
+ inactiveAt: string | null;
1193
+ warnedAt: string | null;
1194
+ eligibleAt: string | null;
1195
+ cleanupStartedAt: string | null;
1196
+ deletedAt: string | null;
1197
+ };
1198
+ } | null;
1199
+ promotedGeneration: {
1200
+ id: string;
1201
+ releaseId: string;
1202
+ sequence: number;
1203
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
1204
+ originalFilename: string;
1205
+ contentType: string;
1206
+ declaredSizeBytes: number;
1207
+ observedSizeBytes: number | null;
1208
+ observedContentType: string | null;
1209
+ observedEtag: string | null;
1210
+ observedLastModifiedAt: string | null;
1211
+ extractedSizeBytes: number | null;
1212
+ fileCount: number | null;
1213
+ entryPath: string | null;
1214
+ contentHash: string | null;
1215
+ createdAt: string;
1216
+ uploadObservedAt: string | null;
1217
+ processingStartedAt: string | null;
1218
+ readyAt: string | null;
1219
+ failedAt: string | null;
1220
+ abandonedAt: string | null;
1221
+ storageRetention: {
1222
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
1223
+ inactiveAt: string | null;
1224
+ warnedAt: string | null;
1225
+ eligibleAt: string | null;
1226
+ cleanupStartedAt: string | null;
1227
+ deletedAt: string | null;
1228
+ };
1229
+ } | null;
1230
+ generations: {
1231
+ id: string;
1232
+ releaseId: string;
1233
+ sequence: number;
1234
+ status: "ready" | "failed" | "awaiting_upload" | "processing" | "abandoned";
1235
+ originalFilename: string;
1236
+ contentType: string;
1237
+ declaredSizeBytes: number;
1238
+ observedSizeBytes: number | null;
1239
+ observedContentType: string | null;
1240
+ observedEtag: string | null;
1241
+ observedLastModifiedAt: string | null;
1242
+ extractedSizeBytes: number | null;
1243
+ fileCount: number | null;
1244
+ entryPath: string | null;
1245
+ contentHash: string | null;
1246
+ createdAt: string;
1247
+ uploadObservedAt: string | null;
1248
+ processingStartedAt: string | null;
1249
+ readyAt: string | null;
1250
+ failedAt: string | null;
1251
+ abandonedAt: string | null;
1252
+ storageRetention: {
1253
+ state: "active" | "warned" | "reclaimable" | "deleting" | "tombstoned";
1254
+ inactiveAt: string | null;
1255
+ warnedAt: string | null;
1256
+ eligibleAt: string | null;
1257
+ cleanupStartedAt: string | null;
1258
+ deletedAt: string | null;
1259
+ };
1260
+ }[];
1261
+ checks: {
1262
+ id: string;
1263
+ releaseId: string;
1264
+ generationId: string;
1265
+ kind: "artifact_validation" | "screenshot_capture" | "image_moderation";
1266
+ status: "failed" | "warning" | "pending" | "passed";
1267
+ summary: string | null;
1268
+ createdAt: string;
1269
+ }[];
1270
+ jobs: {
1271
+ id: string;
1272
+ kind: "release_artifact_processing" | "release_browser_validation" | "release_image_moderation";
1273
+ status: "failed" | "running" | "queued" | "cancel_requested" | "succeeded" | "canceled";
1274
+ releaseId: string;
1275
+ generationId: string;
1276
+ correlationId: string;
1277
+ attemptCount: number;
1278
+ maxAttempts: number;
1279
+ progressStage: string | null;
1280
+ progressMessage: string | null;
1281
+ lastErrorCode: string | null;
1282
+ lastErrorRetryable: boolean | null;
1283
+ availableAt: string;
1284
+ deadlineAt: string;
1285
+ createdAt: string;
1286
+ startedAt: string | null;
1287
+ finishedAt: string | null;
1288
+ updatedAt: string;
1289
+ }[];
1290
+ reports: {
1291
+ id: string;
1292
+ releaseId: string;
1293
+ status: "open" | "reviewed" | "dismissed";
1294
+ source: "arcade" | "play_page";
1295
+ createdAt: string;
1296
+ reviewedAt: string | null;
1297
+ }[];
1298
+ playUrl: string;
1299
+ hostUrl: string | null;
1300
+ controllerUrl: string | null;
1301
+ }>;
1302
+ declare const submitPlatformRelease: ({ platformUrl, token, slugOrId, versionLabel, cwd, distDir, bundlePath, skipBuild, waitForProcessing, processingTimeoutMs, processingPollIntervalMs, publish, }: SubmitPlatformReleaseOptions) => Promise<SubmitPlatformReleaseResult>;
1303
+
1304
+ export { AirJamLocalReleaseDoctor, AirJamLocalReleaseValidation, ArchivePlatformReleaseOptions, BundleLocalReleaseOptions, BundleLocalReleaseResult, ExportPlatformReleaseGenerationOptions, ExportPlatformReleaseGenerationResult, FinalizePlatformReleaseGenerationOptions, InspectLocalReleaseOptions, InspectPlatformReleaseOptions, ListPlatformReleaseTargetsOptions, ListPlatformReleasesOptions, PublishPlatformReleaseOptions, SubmitPlatformReleaseOptions, SubmitPlatformReleaseResult, UploadPlatformReleaseGenerationOptions, ValidateLocalReleaseOptions, archivePlatformRelease, bundleLocalRelease, exportPlatformReleaseGeneration, finalizePlatformReleaseGeneration, inspectLocalRelease, inspectPlatformRelease, listPlatformReleaseTargets, listPlatformReleases, publishPlatformRelease, submitPlatformRelease, uploadPlatformReleaseGeneration, validateLocalRelease, waitForPlatformReleaseGeneration };