@air-jam/devtools 0.9.3 → 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 (263) hide show
  1. package/README.md +60 -0
  2. package/dist/{chunk-VKMJO6VN.js → chunk-2O67AXCU.js} +150 -40
  3. package/dist/chunk-2O67AXCU.js.map +1 -0
  4. package/dist/chunk-AO3ZDXF6.js +142 -0
  5. package/dist/chunk-AO3ZDXF6.js.map +1 -0
  6. package/dist/chunk-ART5TEYT.js +472 -0
  7. package/dist/chunk-ART5TEYT.js.map +1 -0
  8. package/dist/chunk-ASC2CK2R.js +77 -0
  9. package/dist/chunk-ASC2CK2R.js.map +1 -0
  10. package/dist/chunk-E3UZZGAV.js +50 -0
  11. package/dist/chunk-E3UZZGAV.js.map +1 -0
  12. package/dist/chunk-EJTE7UKX.js +64 -0
  13. package/dist/chunk-EJTE7UKX.js.map +1 -0
  14. package/dist/chunk-ESFKNN75.js +110 -0
  15. package/dist/chunk-ESFKNN75.js.map +1 -0
  16. package/dist/chunk-EU7A6PXW.js +1339 -0
  17. package/dist/chunk-EU7A6PXW.js.map +1 -0
  18. package/dist/chunk-FN7E6EA7.js +549 -0
  19. package/dist/chunk-FN7E6EA7.js.map +1 -0
  20. package/dist/chunk-GDFAWHGA.js +190 -0
  21. package/dist/chunk-GDFAWHGA.js.map +1 -0
  22. package/dist/chunk-HZUGBH4Y.js +347 -0
  23. package/dist/chunk-HZUGBH4Y.js.map +1 -0
  24. package/dist/chunk-ITKAOEGX.js +93 -0
  25. package/dist/chunk-ITKAOEGX.js.map +1 -0
  26. package/dist/chunk-JBCUTWRI.js +897 -0
  27. package/dist/chunk-JBCUTWRI.js.map +1 -0
  28. package/dist/chunk-JSI5S4WP.js +1174 -0
  29. package/dist/chunk-JSI5S4WP.js.map +1 -0
  30. package/dist/chunk-L4D675BG.js +97 -0
  31. package/dist/chunk-L4D675BG.js.map +1 -0
  32. package/dist/chunk-M6CJ7GQC.js +133 -0
  33. package/dist/chunk-M6CJ7GQC.js.map +1 -0
  34. package/dist/{chunk-CKFT2ZJE.js → chunk-MEIMOSZC.js} +53 -105
  35. package/dist/chunk-MEIMOSZC.js.map +1 -0
  36. package/dist/{chunk-GUEZP773.js → chunk-O3XG3FNL.js} +204 -41
  37. package/dist/chunk-O3XG3FNL.js.map +1 -0
  38. package/dist/chunk-OM6SCJ7H.js +18 -0
  39. package/dist/chunk-OM6SCJ7H.js.map +1 -0
  40. package/dist/chunk-PKD4WVX5.js +63 -0
  41. package/dist/chunk-PKD4WVX5.js.map +1 -0
  42. package/dist/chunk-PMBLXGFM.js +3384 -0
  43. package/dist/chunk-PMBLXGFM.js.map +1 -0
  44. package/dist/chunk-PMNE5GIN.js +279 -0
  45. package/dist/chunk-PMNE5GIN.js.map +1 -0
  46. package/dist/chunk-QAWI64VR.js +148 -0
  47. package/dist/chunk-QAWI64VR.js.map +1 -0
  48. package/dist/chunk-QGADSPHZ.js +449 -0
  49. package/dist/chunk-QGADSPHZ.js.map +1 -0
  50. package/dist/chunk-SPYN66UV.js +338 -0
  51. package/dist/chunk-SPYN66UV.js.map +1 -0
  52. package/dist/context.d.ts +9 -3
  53. package/dist/context.js +2 -1
  54. package/dist/controller.d.ts +33 -7
  55. package/dist/controller.js +18 -8
  56. package/dist/dependencies.d.ts +44 -0
  57. package/dist/dependencies.js +10 -0
  58. package/dist/dev.d.ts +9 -3
  59. package/dist/dev.js +3 -4
  60. package/dist/game-builds.d.ts +200 -0
  61. package/dist/game-builds.js +16 -0
  62. package/dist/game-builds.js.map +1 -0
  63. package/dist/game-run-watch-CEd_SpAT.d.ts +84 -0
  64. package/dist/game-runs.d.ts +1452 -0
  65. package/dist/game-runs.js +76 -0
  66. package/dist/game-runs.js.map +1 -0
  67. package/dist/game-session-broker-CUvORfMd.d.ts +439 -0
  68. package/dist/game-session-broker.d.ts +4 -57
  69. package/dist/game-session-broker.js +33 -228
  70. package/dist/game-session-broker.js.map +1 -1
  71. package/dist/game-session.d.ts +3931 -10
  72. package/dist/game-session.js +186 -15
  73. package/dist/game-session.js.map +1 -1
  74. package/dist/game-settings.d.ts +16 -0
  75. package/dist/game-settings.js +237 -0
  76. package/dist/game-settings.js.map +1 -0
  77. package/dist/games.d.ts +11 -4
  78. package/dist/games.js +4 -2
  79. package/dist/harness/visual.d.ts +34 -151
  80. package/dist/harness/visual.js +6 -1
  81. package/dist/logs.d.ts +8 -2
  82. package/dist/logs.js +3 -4
  83. package/dist/logs.js.map +1 -1
  84. package/dist/managed-process-scope-BicYi_t9.d.ts +3 -0
  85. package/dist/mcp-config.js +2 -1
  86. package/dist/mcp-config.js.map +1 -1
  87. package/dist/platform-auth.d.ts +8 -111
  88. package/dist/platform-auth.js +9 -1
  89. package/dist/platform-game-analytics.d.ts +51 -0
  90. package/dist/platform-game-analytics.js +49 -0
  91. package/dist/platform-game-analytics.js.map +1 -0
  92. package/dist/platform-game-app-id.d.ts +46 -0
  93. package/dist/platform-game-app-id.js +93 -0
  94. package/dist/platform-game-app-id.js.map +1 -0
  95. package/dist/platform-game-media.d.ts +40 -2
  96. package/dist/platform-game-media.js +1 -1
  97. package/dist/platform-games.d.ts +24 -2
  98. package/dist/platform-games.js +16 -84
  99. package/dist/platform-games.js.map +1 -1
  100. package/dist/quality.d.ts +9 -3
  101. package/dist/quality.js +3 -4
  102. package/dist/quality.js.map +1 -1
  103. package/dist/release.d.ts +226 -16
  104. package/dist/release.js +18 -1331
  105. package/dist/release.js.map +1 -1
  106. package/dist/rooms-check.d.ts +90 -0
  107. package/dist/rooms-check.js +717 -0
  108. package/dist/rooms-check.js.map +1 -0
  109. package/dist/source-tree-contract.d.ts +16 -0
  110. package/dist/source-tree-contract.js +13 -0
  111. package/dist/source-tree-contract.js.map +1 -0
  112. package/dist/testing.d.ts +464 -0
  113. package/dist/testing.js +27 -0
  114. package/dist/testing.js.map +1 -0
  115. package/dist/tooling/describe-game.js +54 -0
  116. package/dist/tooling/describe-game.js.map +1 -0
  117. package/dist/tooling/game-session-broker.js +28 -0
  118. package/dist/tooling/game-session-broker.js.map +1 -0
  119. package/dist/tooling/hold-runtime-host.js +769 -67
  120. package/dist/tooling/hold-runtime-host.js.map +1 -1
  121. package/dist/tooling/list-visual-scenarios.js +18 -55
  122. package/dist/tooling/list-visual-scenarios.js.map +1 -1
  123. package/dist/tooling/process-scope-bootstrap.mjs +24 -0
  124. package/dist/tooling/process-scope-guard.d.ts +2 -0
  125. package/dist/tooling/process-scope-guard.js +388 -0
  126. package/dist/tooling/process-scope-guard.js.map +1 -0
  127. package/dist/tooling/process-scope-windows.ps1 +148 -0
  128. package/dist/tooling/rooms-check-device.d.ts +2 -0
  129. package/dist/tooling/rooms-check-device.js +498 -0
  130. package/dist/tooling/rooms-check-device.js.map +1 -0
  131. package/dist/tooling/run-headless-room.d.ts +2 -0
  132. package/dist/tooling/run-headless-room.js +287 -0
  133. package/dist/tooling/run-headless-room.js.map +1 -0
  134. package/dist/tooling/run-test-profile.d.ts +2 -0
  135. package/dist/tooling/run-test-profile.js +181 -0
  136. package/dist/tooling/run-test-profile.js.map +1 -0
  137. package/dist/tooling/run-visual-capture.js +70 -34
  138. package/dist/tooling/run-visual-capture.js.map +1 -1
  139. package/dist/tooling/seal-game-build.d.ts +2 -0
  140. package/dist/tooling/seal-game-build.js +120 -0
  141. package/dist/tooling/seal-game-build.js.map +1 -0
  142. package/dist/{types-C6NrHt88.d.ts → types-CdYrgrG_.d.ts} +337 -76
  143. package/dist/types-DyRD-ym1.d.ts +141 -0
  144. package/dist/visual.d.ts +9 -3
  145. package/dist/visual.js +24 -68
  146. package/dist/visual.js.map +1 -1
  147. package/package.json +51 -14
  148. package/src/bounded-response.ts +28 -0
  149. package/src/built-game-runtime.ts +152 -0
  150. package/src/context.ts +2 -13
  151. package/src/controller-protocol.ts +22 -0
  152. package/src/controller.ts +747 -597
  153. package/src/current-room-host.ts +166 -0
  154. package/src/decision-provider.ts +102 -0
  155. package/src/dependencies.ts +176 -0
  156. package/src/dependency-install-contract.ts +12 -0
  157. package/src/dev.ts +46 -50
  158. package/src/game-action-observation.ts +11 -1
  159. package/src/game-build-protocol.ts +72 -0
  160. package/src/game-build.ts +483 -0
  161. package/src/game-run-owner.ts +2358 -0
  162. package/src/game-run-protocol.ts +448 -0
  163. package/src/game-run-record.ts +92 -0
  164. package/src/game-run-replay.ts +95 -0
  165. package/src/game-run-watch.ts +155 -0
  166. package/src/game-session-broker.ts +689 -197
  167. package/src/game-session-operations.ts +61 -0
  168. package/src/game-session-protocol.ts +180 -0
  169. package/src/game-session-runtime.ts +861 -0
  170. package/src/game-session.ts +164 -417
  171. package/src/game-settings.ts +295 -0
  172. package/src/games.ts +88 -92
  173. package/src/harness/visual/browser.ts +100 -0
  174. package/src/harness/visual/controller-observation.ts +181 -0
  175. package/src/harness/visual/runner.ts +24 -21
  176. package/src/harness/visual/runtime-controller-observations.ts +151 -0
  177. package/src/harness/visual/scenario-contract.ts +1 -2
  178. package/src/harness/visual/scenario-helpers.ts +5 -1
  179. package/src/harness/visual/screencast.ts +155 -0
  180. package/src/harness/visual/session.ts +72 -41
  181. package/src/harness/visual/types.ts +8 -5
  182. package/src/headless-room-protocol.ts +112 -0
  183. package/src/headless-room.ts +222 -0
  184. package/src/helper-channel.ts +229 -0
  185. package/src/helper-scripts.ts +25 -5
  186. package/src/installed-dependencies.ts +74 -0
  187. package/src/managed-process-scope.ts +481 -0
  188. package/src/node-process-environment.ts +10 -0
  189. package/src/platform-auth.ts +194 -55
  190. package/src/platform-game-analytics.ts +50 -0
  191. package/src/platform-game-app-id.ts +99 -0
  192. package/src/platform-games.ts +13 -111
  193. package/src/policy-artifact-contract.ts +52 -0
  194. package/src/policy-artifacts.ts +134 -0
  195. package/src/process-scope-admission.ts +50 -0
  196. package/src/process-scope-protocol.ts +66 -0
  197. package/src/process-scope.ts +327 -0
  198. package/src/release.ts +28 -42
  199. package/src/rooms-check-fleet.ts +194 -0
  200. package/src/rooms-check-link.ts +138 -0
  201. package/src/rooms-check-protocol.ts +244 -0
  202. package/src/rooms-check.ts +797 -0
  203. package/src/runtime-owner-protocol.ts +106 -18
  204. package/src/source-tree-contract.ts +70 -0
  205. package/src/source-tree.ts +84 -0
  206. package/src/test-profile-process.ts +153 -0
  207. package/src/test-profile-protocol.ts +116 -0
  208. package/src/testing.ts +430 -0
  209. package/src/tooling/declaration-hook.ts +52 -0
  210. package/src/tooling/describe-game.ts +49 -0
  211. package/src/tooling/game-session-broker.ts +7 -0
  212. package/src/tooling/hold-runtime-host.ts +255 -38
  213. package/src/tooling/list-visual-scenarios.ts +19 -62
  214. package/src/tooling/load-game.ts +79 -0
  215. package/src/tooling/process-scope-bootstrap.mjs +24 -0
  216. package/src/tooling/process-scope-guard.ts +213 -0
  217. package/src/tooling/process-scope-windows.ps1 +148 -0
  218. package/src/tooling/rooms-check-device.ts +493 -0
  219. package/src/tooling/run-headless-room.ts +326 -0
  220. package/src/tooling/run-test-profile.ts +190 -0
  221. package/src/tooling/run-visual-capture.ts +37 -23
  222. package/src/tooling/runtime-owner-actions.ts +23 -0
  223. package/src/tooling/seal-game-build.ts +118 -0
  224. package/src/tooling/visual-pack.ts +10 -45
  225. package/src/types.ts +54 -77
  226. package/src/visual.ts +14 -22
  227. package/src/windows-process-scopes.ts +189 -0
  228. package/dist/agent.d.ts +0 -15
  229. package/dist/agent.js +0 -19
  230. package/dist/chunk-5YAARMW5.js +0 -36
  231. package/dist/chunk-5YAARMW5.js.map +0 -1
  232. package/dist/chunk-6WQODT37.js +0 -1019
  233. package/dist/chunk-6WQODT37.js.map +0 -1
  234. package/dist/chunk-CKFT2ZJE.js.map +0 -1
  235. package/dist/chunk-ER3Q2C4G.js +0 -358
  236. package/dist/chunk-ER3Q2C4G.js.map +0 -1
  237. package/dist/chunk-GUEZP773.js.map +0 -1
  238. package/dist/chunk-HIDNI56E.js +0 -33
  239. package/dist/chunk-HIDNI56E.js.map +0 -1
  240. package/dist/chunk-QKXS5D35.js +0 -43
  241. package/dist/chunk-QKXS5D35.js.map +0 -1
  242. package/dist/chunk-S4LSCEVE.js +0 -261
  243. package/dist/chunk-S4LSCEVE.js.map +0 -1
  244. package/dist/chunk-VKMJO6VN.js.map +0 -1
  245. package/dist/chunk-WFUR3MXY.js +0 -67
  246. package/dist/chunk-WFUR3MXY.js.map +0 -1
  247. package/dist/chunk-XEMR7KUE.js +0 -361
  248. package/dist/chunk-XEMR7KUE.js.map +0 -1
  249. package/dist/chunk-ZLPD7FY5.js +0 -191
  250. package/dist/chunk-ZLPD7FY5.js.map +0 -1
  251. package/dist/tooling/agent-contract.js +0 -193
  252. package/dist/tooling/agent-contract.js.map +0 -1
  253. package/dist/tooling/inspect-airjam-agent.js +0 -37
  254. package/dist/tooling/inspect-airjam-agent.js.map +0 -1
  255. package/src/agent.ts +0 -380
  256. package/src/tooling/agent-contract.ts +0 -232
  257. package/src/tooling/agent-declaration.ts +0 -36
  258. package/src/tooling/airjam-agent-inspection.ts +0 -45
  259. package/src/tooling/airjam-agent.ts +0 -118
  260. package/src/tooling/inspect-airjam-agent.ts +0 -20
  261. /package/dist/{agent.js.map → dependencies.js.map} +0 -0
  262. /package/dist/tooling/{agent-contract.d.ts → describe-game.d.ts} +0 -0
  263. /package/dist/tooling/{inspect-airjam-agent.d.ts → game-session-broker.d.ts} +0 -0
@@ -1,5 +1,312 @@
1
+ import { PlatformMachineErrorCode, PlatformMachineRequestOwnedGameMediaUploadTargetInput, PlatformMachineCreateOwnedGameInput, PlatformMachineUpdateOwnedGameInput, PlatformMachineRequestReleaseGenerationExportResult, PlatformMachineGetReleaseResult, PlatformMachineReleaseGeneration, PlatformMachineReleaseJob } from '@air-jam/sdk/platform-machine';
2
+ import * as zod from 'zod';
3
+ import { z } from 'zod';
4
+ import * as _air_jam_sdk_agent_tooling from '@air-jam/sdk/agent-tooling';
5
+ import { g as getGameSessionBrokerStatus, s as stopGameSessionBroker } from './game-session-broker-CUvORfMd.js';
1
6
  import { AirJamActionInvocationResult } from '@air-jam/sdk';
2
- import { PlatformMachineRequestOwnedGameMediaUploadTargetInput, PlatformMachineCreateOwnedGameInput, PlatformMachineUpdateOwnedGameInput, PlatformMachineRequestReleaseGenerationExportResult, PlatformMachineGetReleaseResult, PlatformMachineReleaseGeneration, PlatformMachineReleaseJob } from '@air-jam/sdk/platform-machine';
7
+ import { AirJamGameDescription } from '@air-jam/sdk/core';
8
+
9
+ declare const resolveAirJamStateDirectory: () => string;
10
+ declare const storedPlatformSessionSchema: z.ZodObject<{
11
+ platformBaseUrl: z.ZodString;
12
+ clientName: z.ZodNullable<z.ZodString>;
13
+ storedAt: z.ZodString;
14
+ user: z.ZodObject<{
15
+ id: z.ZodString;
16
+ name: z.ZodString;
17
+ email: z.ZodString;
18
+ role: z.ZodEnum<{
19
+ creator: "creator";
20
+ ops_admin: "ops_admin";
21
+ }>;
22
+ }, z.core.$strip>;
23
+ version: z.ZodLiteral<2>;
24
+ session: z.ZodObject<{
25
+ id: z.ZodString;
26
+ token: z.ZodString;
27
+ expiresAt: z.ZodISODateTime;
28
+ refreshToken: z.ZodString;
29
+ refreshExpiresAt: z.ZodISODateTime;
30
+ createdAt: z.ZodISODateTime;
31
+ userAgent: z.ZodString;
32
+ }, z.core.$strip>;
33
+ }, z.core.$strip>;
34
+ declare class AirJamPlatformApiError extends Error {
35
+ readonly code: PlatformMachineErrorCode;
36
+ readonly status: number;
37
+ readonly details: Record<string, unknown> | undefined;
38
+ readonly retryAfterSeconds: number | null;
39
+ constructor({ code, message, status, details, retryAfterSeconds, }: {
40
+ code: PlatformMachineErrorCode;
41
+ message: string;
42
+ status: number;
43
+ details?: Record<string, unknown>;
44
+ retryAfterSeconds?: number | null;
45
+ });
46
+ }
47
+ declare class AirJamStoredPlatformSessionError extends Error {
48
+ readonly storagePath: string;
49
+ constructor(storagePath: string, cause: unknown);
50
+ }
51
+ declare const resolvePlatformBaseUrl: (value?: string | undefined) => string;
52
+ declare const requestPlatformMachineApi: <T>({ baseUrl, pathname, method, body, token, schema, }: {
53
+ baseUrl: string;
54
+ pathname: string;
55
+ method?: "GET" | "POST" | "PATCH";
56
+ body?: unknown;
57
+ token?: string;
58
+ schema: {
59
+ parse: (value: unknown) => T;
60
+ };
61
+ }) => Promise<T>;
62
+ declare const readStoredPlatformMachineSession: () => Promise<{
63
+ platformBaseUrl: string;
64
+ clientName: string | null;
65
+ storedAt: string;
66
+ user: {
67
+ id: string;
68
+ name: string;
69
+ email: string;
70
+ role: "creator" | "ops_admin";
71
+ };
72
+ version: 2;
73
+ session: {
74
+ id: string;
75
+ token: string;
76
+ expiresAt: string;
77
+ refreshToken: string;
78
+ refreshExpiresAt: string;
79
+ createdAt: string;
80
+ userAgent: string;
81
+ };
82
+ } | {
83
+ platformBaseUrl: string;
84
+ clientName: string | null;
85
+ storedAt: string;
86
+ user: {
87
+ id: string;
88
+ name: string;
89
+ email: string;
90
+ role: "creator" | "ops_admin";
91
+ };
92
+ version: 1;
93
+ session: {
94
+ createdAt: string;
95
+ id: string;
96
+ token: string;
97
+ expiresAt: string;
98
+ userAgent: string;
99
+ };
100
+ } | null>;
101
+ declare const writeStoredPlatformMachineSession: (value: AirJamPlatformMachineSessionStore) => Promise<void>;
102
+ declare const clearStoredPlatformMachineSession: () => Promise<void>;
103
+ declare const startPlatformDeviceAuthorization: ({ platformUrl, clientName, }?: StartPlatformDeviceAuthorizationOptions) => Promise<{
104
+ deviceCode: string;
105
+ userCode: string;
106
+ verificationUrl: string;
107
+ verificationUriComplete: string;
108
+ expiresAt: string;
109
+ intervalSeconds: number;
110
+ }>;
111
+ declare const pollPlatformDeviceAuthorization: ({ platformUrl, deviceCode, }: PollPlatformDeviceAuthorizationOptions) => Promise<{
112
+ platformBaseUrl: string;
113
+ user: {
114
+ id: string;
115
+ name: string;
116
+ email: string;
117
+ role: "creator" | "ops_admin";
118
+ };
119
+ session: {
120
+ id: string;
121
+ token: string;
122
+ expiresAt: string;
123
+ refreshToken: string;
124
+ refreshExpiresAt: string;
125
+ createdAt: string;
126
+ userAgent: string;
127
+ };
128
+ }>;
129
+ declare const loginPlatformWithDeviceFlow: ({ platformUrl, clientName, onPrompt, }?: LoginPlatformWithDeviceFlowOptions) => Promise<{
130
+ authorization: {
131
+ deviceCode: string;
132
+ userCode: string;
133
+ verificationUrl: string;
134
+ verificationUriComplete: string;
135
+ expiresAt: string;
136
+ intervalSeconds: number;
137
+ };
138
+ authenticated: {
139
+ platformBaseUrl: string;
140
+ user: {
141
+ id: string;
142
+ name: string;
143
+ email: string;
144
+ role: "creator" | "ops_admin";
145
+ };
146
+ session: {
147
+ id: string;
148
+ token: string;
149
+ expiresAt: string;
150
+ refreshToken: string;
151
+ refreshExpiresAt: string;
152
+ createdAt: string;
153
+ userAgent: string;
154
+ };
155
+ };
156
+ storedSession: {
157
+ platformBaseUrl: string;
158
+ clientName: string | null;
159
+ storedAt: string;
160
+ user: {
161
+ id: string;
162
+ name: string;
163
+ email: string;
164
+ role: "creator" | "ops_admin";
165
+ };
166
+ version: 2;
167
+ session: {
168
+ id: string;
169
+ token: string;
170
+ expiresAt: string;
171
+ refreshToken: string;
172
+ refreshExpiresAt: string;
173
+ createdAt: string;
174
+ userAgent: string;
175
+ };
176
+ };
177
+ }>;
178
+ declare const resolvePlatformMachineAuth: (options: {
179
+ platformUrl?: string;
180
+ token?: string;
181
+ }) => Promise<{
182
+ baseUrl: string;
183
+ token: string;
184
+ }>;
185
+ declare const listPlatformMachineSessions: (options?: GetPlatformMachineProfileOptions) => Promise<{
186
+ sessions: {
187
+ id: string;
188
+ clientName: string | null;
189
+ createdAt: string;
190
+ lastUsedAt: string;
191
+ }[];
192
+ }>;
193
+ declare const revokePlatformMachineSession: (options: GetPlatformMachineProfileOptions & {
194
+ id: string;
195
+ }) => Promise<{
196
+ ok: true;
197
+ }>;
198
+ declare const getPlatformMachineProfile: ({ platformUrl, token, }?: GetPlatformMachineProfileOptions) => Promise<{
199
+ platformBaseUrl: string;
200
+ user: {
201
+ id: string;
202
+ name: string;
203
+ email: string;
204
+ role: "creator" | "ops_admin";
205
+ };
206
+ session: {
207
+ id: string;
208
+ expiresAt: string;
209
+ refreshExpiresAt: string;
210
+ createdAt: string;
211
+ userAgent: string;
212
+ };
213
+ }>;
214
+ declare const updatePlatformMachineProfile: ({ platformUrl, token, displayName, }: GetPlatformMachineProfileOptions & {
215
+ displayName: string;
216
+ }) => Promise<{
217
+ id: string;
218
+ name: string;
219
+ email: string;
220
+ role: "creator" | "ops_admin";
221
+ }>;
222
+ declare const logoutPlatformMachineSession: ({ platformUrl, token, }?: LogoutPlatformMachineSessionOptions) => Promise<{
223
+ ok: true;
224
+ }>;
225
+ declare const getPlatformMachineAuthStatus: () => Promise<AirJamPlatformAuthStatus>;
226
+ declare const getPlatformAuthStoragePath: () => string;
227
+
228
+ declare const controllerDisconnectionSchema: z.ZodObject<{
229
+ release: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
230
+ status: z.ZodLiteral<"applied">;
231
+ leaseId: z.ZodUUID;
232
+ sequence: z.ZodNumber;
233
+ replayed: z.ZodBoolean;
234
+ operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
235
+ kind: z.ZodLiteral<"input">;
236
+ }, z.core.$strict>, z.ZodObject<{
237
+ kind: z.ZodLiteral<"release">;
238
+ }, z.core.$strict>, z.ZodObject<{
239
+ kind: z.ZodLiteral<"action">;
240
+ result: z.ZodDiscriminatedUnion<[z.ZodObject<{
241
+ ok: z.ZodLiteral<true>;
242
+ status: z.ZodLiteral<"accepted">;
243
+ source: z.ZodEnum<{
244
+ host: "host";
245
+ client: "client";
246
+ }>;
247
+ result: z.ZodOptional<z.ZodUnknown>;
248
+ }, z.core.$strip>, z.ZodObject<{
249
+ ok: z.ZodLiteral<false>;
250
+ status: z.ZodLiteral<"rejected">;
251
+ source: z.ZodEnum<{
252
+ host: "host";
253
+ client: "client";
254
+ server: "server";
255
+ }>;
256
+ reason: z.ZodString;
257
+ message: z.ZodString;
258
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
259
+ }, z.core.$strip>, z.ZodObject<{
260
+ ok: z.ZodLiteral<false>;
261
+ status: z.ZodLiteral<"unconfirmed">;
262
+ source: z.ZodLiteral<"client">;
263
+ }, z.core.$strip>], "status">;
264
+ }, z.core.$strict>], "kind">;
265
+ }, z.core.$strict>, z.ZodObject<{
266
+ status: z.ZodLiteral<"rejected">;
267
+ reason: z.ZodEnum<{
268
+ busy: "busy";
269
+ invalid_request: "invalid_request";
270
+ rate_limited: "rate_limited";
271
+ invalid_input: "invalid_input";
272
+ invalid_action: "invalid_action";
273
+ invalid_action_lane: "invalid_action_lane";
274
+ room_not_found: "room_not_found";
275
+ unauthorized: "unauthorized";
276
+ active_host_missing: "active_host_missing";
277
+ stale_identity: "stale_identity";
278
+ stale_decision: "stale_decision";
279
+ invalid_deadline: "invalid_deadline";
280
+ lease_conflict: "lease_conflict";
281
+ stale_sequence: "stale_sequence";
282
+ sequence_conflict: "sequence_conflict";
283
+ unsupported: "unsupported";
284
+ }>;
285
+ }, z.core.$strict>, z.ZodObject<{
286
+ status: z.ZodLiteral<"unconfirmed">;
287
+ reason: z.ZodEnum<{
288
+ host_ack_unavailable: "host_ack_unavailable";
289
+ transport_ack_unavailable: "transport_ack_unavailable";
290
+ runtime_replaced: "runtime_replaced";
291
+ invalid_acknowledgement: "invalid_acknowledgement";
292
+ runtime_unavailable: "runtime_unavailable";
293
+ }>;
294
+ }, z.core.$strict>], "status">, z.ZodObject<{
295
+ status: z.ZodLiteral<"not-leased">;
296
+ }, z.core.$strict>]>;
297
+ leave: z.ZodDiscriminatedUnion<[z.ZodObject<{
298
+ status: z.ZodLiteral<"acknowledged">;
299
+ }, z.core.$strict>, z.ZodObject<{
300
+ status: z.ZodLiteral<"not-connected">;
301
+ }, z.core.$strict>, z.ZodObject<{
302
+ status: z.ZodLiteral<"rejected">;
303
+ message: z.ZodString;
304
+ }, z.core.$strict>, z.ZodObject<{
305
+ status: z.ZodLiteral<"unconfirmed">;
306
+ message: z.ZodString;
307
+ }, z.core.$strict>], "status">;
308
+ }, z.core.$strict>;
309
+ type ControllerDisconnection = z.infer<typeof controllerDisconnectionSchema>;
3
310
 
4
311
  type AirJamRuntimeOwnerScreenshot = {
5
312
  surface: "host" | "controller";
@@ -52,13 +359,12 @@ type AirJamGameSummary = {
52
359
  category: string | null;
53
360
  scaffold: boolean | null;
54
361
  manifestPath: string | null;
55
- configPath: string | null;
362
+ configPath: string;
363
+ declaration: AirJamGameDescription;
56
364
  };
57
365
  type AirJamGameInspection = AirJamGameSummary & {
58
366
  packageJsonPath: string | null;
59
367
  scripts: Record<string, string>;
60
- metadataExportLikely: boolean;
61
- controllerPathLikely: string | null;
62
368
  qualityGates: AirJamQualityGate[];
63
369
  };
64
370
  type AirJamLocalHostedGameDefaults = {
@@ -101,7 +407,7 @@ type AirJamLocalReleaseDoctor = {
101
407
  packageManager: AirJamPackageManager;
102
408
  configPath: string | null;
103
409
  buildScript: string | null;
104
- metadataExportLikely: boolean;
410
+ gameSlug: string | null;
105
411
  controllerPath: string | null;
106
412
  distDir: string;
107
413
  distExists: boolean;
@@ -214,6 +520,7 @@ type InspectPlatformReleaseOptions = {
214
520
  token?: string;
215
521
  releaseId: string;
216
522
  };
523
+ type ArchivePlatformReleaseOptions = InspectPlatformReleaseOptions;
217
524
  type PublishPlatformReleaseOptions = {
218
525
  platformUrl?: string;
219
526
  token?: string;
@@ -283,6 +590,7 @@ type AirJamPlatformAuthStatus = {
283
590
  session: {
284
591
  id: string;
285
592
  expiresAt: string;
593
+ refreshExpiresAt: string;
286
594
  createdAt: string;
287
595
  userAgent: string;
288
596
  } | null;
@@ -399,6 +707,7 @@ type GetDevStatusOptions = {
399
707
  cwd?: string;
400
708
  };
401
709
  type AirJamDevStatus = {
710
+ gameSessionBroker: Awaited<ReturnType<typeof getGameSessionBrokerStatus>>;
402
711
  processes: AirJamManagedDevProcess[];
403
712
  unmanagedProcesses: AirJamUnmanagedDevProcess[];
404
713
  knownPorts: number[];
@@ -407,6 +716,7 @@ type ResetLocalDevOptions = {
407
716
  cwd?: string;
408
717
  };
409
718
  type ResetLocalDevResult = {
719
+ gameSessionBroker: Awaited<ReturnType<typeof stopGameSessionBroker>>;
410
720
  stoppedManaged: AirJamManagedDevProcess[];
411
721
  stoppedUnmanaged: AirJamUnmanagedDevProcess[];
412
722
  remainingUnmanaged: AirJamUnmanagedDevProcess[];
@@ -424,40 +734,10 @@ type AirJamVisualScenarioSummary = {
424
734
  description: string | null;
425
735
  supportedModes: AirJamVisualCaptureMode[];
426
736
  };
427
- type AirJamGameAgentActionDescriptor = {
428
- actionId: string;
429
- target: {
430
- kind: "participant" | "host";
431
- actionName: string;
432
- storeDomain: string;
433
- };
434
- description: string | null;
435
- availability: string | null;
436
- payload: {
437
- kind: "none" | "boolean" | "number" | "string" | "enum" | "json";
438
- description: string | null;
439
- allowedValues?: string[];
440
- };
441
- resultDescription: string | null;
442
- };
443
- type AirJamAgentContractInspection = {
444
- gameId: string;
445
- rootDir: string;
446
- hasContract: boolean;
447
- snapshotStoreDomains: string[];
448
- snapshotDescription: string | null;
449
- actions: AirJamGameAgentActionDescriptor[];
450
- };
451
- type InspectGameAgentContractOptions = {
452
- cwd?: string;
453
- gameId?: string;
454
- };
455
- type ReadGameSnapshotOptions = {
456
- controllerSessionId: string;
457
- requestSync?: boolean;
458
- timeoutMs?: number;
459
- };
737
+ type AirJamGameAgentActionDescriptor = zod.z.infer<typeof _air_jam_sdk_agent_tooling.agentActionDescriptorSchema>;
460
738
  type AirJamGameSnapshotInspection = {
739
+ contractId: string;
740
+ runtimeId: string;
461
741
  controllerSessionId: string;
462
742
  gameId: string;
463
743
  /** Logical store names declared by the game contract. */
@@ -473,14 +753,8 @@ type AirJamGameSnapshotInspection = {
473
753
  snapshot: JsonObject;
474
754
  rawStores: AirJamRuntimeStoreSnapshot[];
475
755
  };
476
- type InvokeGameActionOptions = {
477
- controllerSessionId: string;
478
- actionId: string;
479
- payload?: unknown;
480
- timeoutMs?: number;
481
- };
482
756
  type AirJamGameActionAcknowledgementObservation = "host-acknowledged" | "host-acknowledgement-not-observed";
483
- type AirJamGameActionOutcome = "accepted" | "rejected" | "acknowledgement-not-observed-state-changed" | "acknowledgement-not-observed-no-state-change-observed";
757
+ type AirJamGameActionOutcome = "contract_changed" | "runtime_replaced" | "accepted" | "rejected" | "acknowledgement-not-observed-state-changed" | "acknowledgement-not-observed-no-state-change-observed";
484
758
  type InvokeGameActionResult = AirJamVirtualControllerSessionSummary & {
485
759
  actionId: string;
486
760
  lane: "player" | "host";
@@ -493,7 +767,7 @@ type InvokeGameActionResult = AirJamVirtualControllerSessionSummary & {
493
767
  outcome: AirJamGameActionOutcome;
494
768
  snapshotBefore: AirJamGameSnapshotInspection;
495
769
  snapshotAfter: AirJamGameSnapshotInspection;
496
- snapshotAfterStatus: "committed-update-observed" | "no-new-commit-before-timeout";
770
+ snapshotAfterStatus: "committed-update-observed" | "no-new-commit-before-timeout" | "contract_changed" | "runtime_replaced";
497
771
  observedStateChange: boolean;
498
772
  };
499
773
  type AirJamGameSessionActionDescriptor = {
@@ -511,7 +785,7 @@ type AirJamGameSessionActionDescriptor = {
511
785
  };
512
786
  type AirJamVisualScenarioList = {
513
787
  gameId: string;
514
- scenarioModulePath: string | null;
788
+ configPath: string;
515
789
  scenarios: AirJamVisualScenarioSummary[];
516
790
  };
517
791
  type ListVisualScenariosOptions = {
@@ -561,11 +835,8 @@ type ConnectControllerOptions = {
561
835
  secure?: boolean;
562
836
  roomId?: string;
563
837
  controllerJoinUrl?: string;
564
- controllerId?: string;
565
- deviceId?: string;
566
838
  nickname?: string;
567
839
  avatarId?: string;
568
- capabilityToken?: string;
569
840
  timeoutMs?: number;
570
841
  };
571
842
  type SendControllerInputOptions = {
@@ -573,6 +844,7 @@ type SendControllerInputOptions = {
573
844
  input: JsonObject;
574
845
  };
575
846
  type InvokeControllerActionOptions = {
847
+ timeoutMs?: number;
576
848
  controllerSessionId: string;
577
849
  actionName: string;
578
850
  storeDomain: string;
@@ -598,12 +870,12 @@ type AirJamVirtualControllerSessionSummary = {
598
870
  gameId: string | null;
599
871
  projectMode: AirJamProjectMode;
600
872
  mode: AirJamDevMode | null;
601
- topologyMode: "standalone-dev" | "arcade-live" | "arcade-built" | null;
873
+ topologyMode: "standalone-dev" | "arcade-live" | "arcade-built" | "self-hosted-production" | null;
602
874
  secure: boolean;
603
875
  process: AirJamManagedDevProcess | null;
604
876
  roomId: string;
877
+ /** The seat the room gave this phone. */
605
878
  controllerId: string;
606
- deviceId: string;
607
879
  controllerJoinUrl: string;
608
880
  socketOrigin: string;
609
881
  connected: boolean;
@@ -632,47 +904,53 @@ type InvokeControllerActionResult = AirJamVirtualControllerSessionSummary & {
632
904
  sentAt: string;
633
905
  acknowledgement: AirJamActionInvocationResult;
634
906
  };
635
- type DisconnectControllerResult = {
907
+ type DisconnectControllerResult = ControllerDisconnection & {
636
908
  disconnected: boolean;
637
909
  session: AirJamVirtualControllerSessionSummary;
638
910
  };
639
911
  type AirJamRuntimeSnapshotInspection = AirJamVirtualControllerSession;
640
912
  type OpenGameSessionOptions = ConnectControllerOptions;
641
913
  type ReadGameSessionOptions = {
914
+ cwd?: string;
642
915
  gameSessionId: string;
643
- requestSync?: boolean;
644
916
  timeoutMs?: number;
645
917
  };
646
918
  type SendGameSessionInputOptions = {
919
+ cwd?: string;
647
920
  gameSessionId: string;
648
921
  input: JsonObject;
649
922
  };
650
923
  type InvokeGameSessionActionOptions = {
924
+ cwd?: string;
651
925
  gameSessionId: string;
652
926
  actionId: string;
653
927
  payload?: unknown;
654
928
  timeoutMs?: number;
655
929
  };
656
930
  type CaptureGameSessionVisualsOptions = {
931
+ cwd?: string;
657
932
  gameSessionId: string;
658
933
  timeoutMs?: number;
659
934
  };
660
935
  type CloseGameSessionOptions = {
936
+ cwd?: string;
661
937
  gameSessionId: string;
662
938
  };
663
939
  type AirJamGameSessionSummary = {
940
+ ownerInstanceId: string;
941
+ semanticAccess: "owned-host" | "delegated-host" | "participant-only";
664
942
  gameSessionId: string;
665
943
  cwd: string;
666
944
  gameId: string | null;
667
945
  controllerSessionId: string;
668
946
  projectMode: AirJamProjectMode;
669
947
  mode: AirJamDevMode | null;
670
- topologyMode: "standalone-dev" | "arcade-live" | "arcade-built" | null;
948
+ topologyMode: "standalone-dev" | "arcade-live" | "arcade-built" | "self-hosted-production" | null;
671
949
  secure: boolean;
672
950
  process: AirJamManagedDevProcess | null;
673
951
  roomId: string;
952
+ /** The seat the room gave this phone. */
674
953
  controllerId: string;
675
- deviceId: string;
676
954
  controllerJoinUrl: string;
677
955
  socketOrigin: string;
678
956
  connected: boolean;
@@ -705,6 +983,7 @@ type AirJamGameSessionVisualCaptureResult = AirJamGameSessionSummary & {
705
983
  };
706
984
  type CloseGameSessionResult = {
707
985
  closed: boolean;
986
+ disconnection: Pick<DisconnectControllerResult, "release" | "leave">;
708
987
  session: AirJamGameSessionSummary;
709
988
  };
710
989
  type AirJamVisualCaptureSummary = {
@@ -724,25 +1003,7 @@ type AirJamVisualCaptureInspection = {
724
1003
  summaryPath: string;
725
1004
  summary: AirJamVisualCaptureSummary;
726
1005
  };
727
- type AirJamPlatformMachineSessionStore = {
728
- version: 1;
729
- platformBaseUrl: string;
730
- clientName: string | null;
731
- storedAt: string;
732
- user: {
733
- id: string;
734
- name: string;
735
- email: string;
736
- role: "creator" | "ops_admin";
737
- };
738
- session: {
739
- id: string;
740
- token: string;
741
- expiresAt: string;
742
- createdAt: string;
743
- userAgent: string;
744
- };
745
- };
1006
+ type AirJamPlatformMachineSessionStore = zod.infer<typeof storedPlatformSessionSchema>;
746
1007
  type StartPlatformDeviceAuthorizationOptions = {
747
1008
  platformUrl?: string;
748
1009
  clientName?: string;
@@ -772,4 +1033,4 @@ type LogoutPlatformMachineSessionOptions = {
772
1033
  token?: string;
773
1034
  };
774
1035
 
775
- export type { AirJamVisualCaptureSummary as $, AirJamAgentContractInspection as A, AirJamDevMode as B, ConnectControllerOptions as C, DisconnectControllerOptions as D, AirJamManagedDevProcess as E, AirJamSurfaceUrlSummary as F, GetTopologyOptions as G, AirJamGameSessionSummary as H, InspectGameAgentContractOptions as I, JsonObject as J, ReadGameSessionOptions as K, AirJamGameSessionInspection as L, SendGameSessionInputOptions as M, SendGameSessionInputResult as N, OpenGameSessionOptions as O, InvokeGameSessionActionOptions as P, InvokeGameSessionActionResult as Q, ReadGameSnapshotOptions as R, SendControllerInputOptions as S, CaptureGameSessionVisualsOptions as T, AirJamGameSessionVisualCaptureResult as U, CloseGameSessionOptions as V, CloseGameSessionResult as W, AirJamGameSessionActionDescriptor as X, AirJamGameSummary as Y, AirJamGameInspection as Z, AirJamVisualCaptureInspection as _, AirJamGameSnapshotInspection as a, ReadDevLogsOptions as a0, CommandResult as a1, AirJamPlatformMachineSessionStore as a2, StartPlatformDeviceAuthorizationOptions as a3, PollPlatformDeviceAuthorizationOptions as a4, LoginPlatformWithDeviceFlowOptions as a5, GetPlatformMachineProfileOptions as a6, LogoutPlatformMachineSessionOptions as a7, AirJamPlatformAuthStatus as a8, InspectPlatformGameMediaOptions as a9, SubmitPlatformReleaseOptions as aA, SubmitPlatformReleaseResult as aB, AirJamLocalReleaseIssue as aC, CaptureVisualsOptions as aD, AirJamVisualArtifactMode as aE, ListVisualScenariosOptions as aF, AirJamVisualScenarioList as aG, CaptureVisualsResult as aH, AirJamVisualScenarioMetadata as aI, RequestPlatformGameMediaUploadTargetOptions as aa, MutatePlatformGameMediaAssetOptions as ab, UploadPlatformGameMediaFileOptions as ac, AirJamLocalHostedGameDefaults as ad, ListPlatformGamesOptions as ae, InspectPlatformGameOptions as af, CreatePlatformGameOptions as ag, UpdatePlatformGameOptions as ah, RunQualityGateOptions as ai, RunCompleteEvaluationOptions as aj, AirJamCompleteEvaluationResult as ak, AirJamQualityGate as al, InspectLocalReleaseOptions as am, AirJamLocalReleaseDoctor as an, ValidateLocalReleaseOptions as ao, AirJamLocalReleaseValidation as ap, BundleLocalReleaseOptions as aq, BundleLocalReleaseResult as ar, ListPlatformReleaseTargetsOptions as as, ListPlatformReleasesOptions as at, InspectPlatformReleaseOptions as au, PublishPlatformReleaseOptions as av, UploadPlatformReleaseGenerationOptions as aw, FinalizePlatformReleaseGenerationOptions as ax, ExportPlatformReleaseGenerationOptions as ay, ExportPlatformReleaseGenerationResult as az, InvokeGameActionOptions as b, InvokeGameActionResult as c, AirJamProjectContext as d, AirJamProjectInspection as e, AirJamCapabilityGroup as f, AirJamPackageManager as g, AirJamRuntimeOwnerScreenshot as h, AirJamVirtualControllerSessionSummary as i, AirJamVirtualControllerSession as j, SendControllerInputResult as k, InvokeControllerActionOptions as l, InvokeControllerActionResult as m, ReadRuntimeSnapshotOptions as n, AirJamRuntimeSnapshotInspection as o, DisconnectControllerResult as p, AirJamRuntimeStoreSnapshot as q, AirJamRuntimeTopology as r, GetDevStatusOptions as s, AirJamDevStatus as t, StartDevOptions as u, StartDevResult as v, StopDevOptions as w, StopDevResult as x, ResetLocalDevOptions as y, ResetLocalDevResult as z };
1036
+ export { type BundleLocalReleaseOptions as $, type AirJamProjectContext as A, type AirJamVisualCaptureSummary as B, type ConnectControllerOptions as C, type DisconnectControllerOptions as D, type ReadDevLogsOptions as E, type CommandResult as F, type GetTopologyOptions as G, type InspectPlatformGameMediaOptions as H, type InvokeControllerActionOptions as I, type RequestPlatformGameMediaUploadTargetOptions as J, type AirJamLocalHostedGameDefaults as K, type ListPlatformGamesOptions as L, type MutatePlatformGameMediaAssetOptions as M, type InspectPlatformGameOptions as N, type CreatePlatformGameOptions as O, type UpdatePlatformGameOptions as P, type RunQualityGateOptions as Q, type ReadRuntimeSnapshotOptions as R, type SendControllerInputOptions as S, type RunCompleteEvaluationOptions as T, type UploadPlatformGameMediaFileOptions as U, type AirJamCompleteEvaluationResult as V, type AirJamQualityGate as W, type InspectLocalReleaseOptions as X, type AirJamLocalReleaseDoctor as Y, type ValidateLocalReleaseOptions as Z, type AirJamLocalReleaseValidation as _, type AirJamProjectInspection as a, type BundleLocalReleaseResult as a0, type ListPlatformReleaseTargetsOptions as a1, type ListPlatformReleasesOptions as a2, type InspectPlatformReleaseOptions as a3, type PublishPlatformReleaseOptions as a4, type ArchivePlatformReleaseOptions as a5, type UploadPlatformReleaseGenerationOptions as a6, type FinalizePlatformReleaseGenerationOptions as a7, type ExportPlatformReleaseGenerationOptions as a8, type ExportPlatformReleaseGenerationResult as a9, AirJamPlatformApiError as aA, AirJamStoredPlatformSessionError as aB, resolvePlatformBaseUrl as aC, requestPlatformMachineApi as aD, readStoredPlatformMachineSession as aE, writeStoredPlatformMachineSession as aF, clearStoredPlatformMachineSession as aG, startPlatformDeviceAuthorization as aH, pollPlatformDeviceAuthorization as aI, loginPlatformWithDeviceFlow as aJ, resolvePlatformMachineAuth as aK, listPlatformMachineSessions as aL, revokePlatformMachineSession as aM, getPlatformMachineProfile as aN, updatePlatformMachineProfile as aO, logoutPlatformMachineSession as aP, getPlatformMachineAuthStatus as aQ, getPlatformAuthStoragePath as aR, type AirJamPlatformAuthStatus as aS, type AirJamPlatformMachineSessionStore as aT, type GetPlatformMachineProfileOptions as aU, type LoginPlatformWithDeviceFlowOptions as aV, type LogoutPlatformMachineSessionOptions as aW, type PollPlatformDeviceAuthorizationOptions as aX, type StartPlatformDeviceAuthorizationOptions as aY, type SubmitPlatformReleaseOptions as aa, type SubmitPlatformReleaseResult as ab, type AirJamLocalReleaseIssue as ac, type CaptureVisualsOptions as ad, type AirJamVisualArtifactMode as ae, type ListVisualScenariosOptions as af, type AirJamVisualScenarioList as ag, type CaptureVisualsResult as ah, type AirJamVisualScenarioMetadata as ai, type InvokeGameActionResult as aj, type OpenGameSessionOptions as ak, type AirJamGameSessionSummary as al, type ReadGameSessionOptions as am, type AirJamGameSessionInspection as an, type SendGameSessionInputOptions as ao, type SendGameSessionInputResult as ap, type InvokeGameSessionActionOptions as aq, type InvokeGameSessionActionResult as ar, type CaptureGameSessionVisualsOptions as as, type AirJamGameSessionVisualCaptureResult as at, type CloseGameSessionOptions as au, type CloseGameSessionResult as av, type ControllerDisconnection as aw, type AirJamGameSessionActionDescriptor as ax, resolveAirJamStateDirectory as ay, storedPlatformSessionSchema as az, type AirJamCapabilityGroup as b, type AirJamPackageManager as c, type AirJamRuntimeOwnerScreenshot as d, type AirJamVirtualControllerSessionSummary as e, type AirJamGameInspection as f, type AirJamVirtualControllerSession as g, type SendControllerInputResult as h, type InvokeControllerActionResult as i, type AirJamRuntimeSnapshotInspection as j, type DisconnectControllerResult as k, type AirJamRuntimeStoreSnapshot as l, type AirJamRuntimeTopology as m, type GetDevStatusOptions as n, type AirJamDevStatus as o, type StartDevOptions as p, type StartDevResult as q, type StopDevOptions as r, type StopDevResult as s, type ResetLocalDevOptions as t, type ResetLocalDevResult as u, type AirJamDevMode as v, type AirJamManagedDevProcess as w, type AirJamSurfaceUrlSummary as x, type AirJamGameSummary as y, type AirJamVisualCaptureInspection as z };