@air-jam/cli 0.0.0-stage → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +145 -2
- package/bin/airjam.mjs +66 -0
- package/dist/ai-pack.d.ts +44 -0
- package/dist/ai-pack.js +15 -0
- package/dist/ai-pack.js.map +1 -0
- package/dist/chunk-A4V2N4LX.js +938 -0
- package/dist/chunk-A4V2N4LX.js.map +1 -0
- package/dist/chunk-J5MAU4QZ.js +102 -0
- package/dist/chunk-J5MAU4QZ.js.map +1 -0
- package/dist/chunk-N7AI7HZK.js +529 -0
- package/dist/chunk-N7AI7HZK.js.map +1 -0
- package/dist/development.d.ts +98 -0
- package/dist/development.js +33 -0
- package/dist/development.js.map +1 -0
- package/dist/documentation.d.ts +27 -0
- package/dist/documentation.js +7 -0
- package/dist/documentation.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2184 -0
- package/dist/index.js.map +1 -0
- package/dist/scaffold.d.ts +6 -0
- package/dist/scaffold.js +20 -0
- package/dist/scaffold.js.map +1 -0
- package/package.json +78 -3
- package/runtime/local-network.d.mts +8 -0
- package/runtime/local-network.mjs +9 -0
- package/runtime/vite-config.d.mts +42 -0
- package/runtime/vite-config.mjs +130 -0
- package/runtime/vite-https.d.mts +11 -0
- package/runtime/vite-https.mjs +41 -0
- package/template-assets/bootstrap/.claude/launch.json +12 -0
- package/template-assets/bootstrap/AGENTS.md +248 -0
- package/template-assets/bootstrap/CLAUDE.md +63 -0
- package/template-assets/bootstrap/_gitignore +6 -0
- package/template-assets/bootstrap/skills/airjam-docs-workflow/SKILL.md +49 -0
- package/template-assets/bootstrap/skills/airjam-mcp/SKILL.md +56 -0
- package/template-assets/bootstrap/skills/canvas-2d-gameplay/SKILL.md +47 -0
- package/template-assets/bootstrap/skills/controller-ui/SKILL.md +69 -0
- package/template-assets/bootstrap/skills/debug-and-test/SKILL.md +72 -0
- package/template-assets/bootstrap/skills/game-architecture/SKILL.md +58 -0
- package/template-assets/bootstrap/skills/game-state-and-rendering/SKILL.md +44 -0
- package/template-assets/bootstrap/skills/host-surface/SKILL.md +52 -0
- package/template-assets/bootstrap/skills/index.md +36 -0
- package/template-assets/bootstrap/skills/prefab-authoring/SKILL.md +48 -0
- package/template-assets/bootstrap/skills/r3f-3d-scene/SKILL.md +51 -0
- package/template-assets/documentation/for-agents/controller-ui/page.mdx +60 -0
- package/template-assets/documentation/for-agents/page.mdx +98 -0
- package/template-assets/documentation/for-agents/project-structure/page.mdx +172 -0
- package/template-assets/documentation/for-agents/state-and-rendering/page.mdx +79 -0
- package/template-assets/documentation/getting-started/debugging/page.mdx +165 -0
- package/template-assets/documentation/getting-started/dev-logs/page.mdx +171 -0
- package/template-assets/documentation/getting-started/game-ideas/page.mdx +116 -0
- package/template-assets/documentation/getting-started/introduction/page.mdx +183 -0
- package/template-assets/documentation/getting-started/migrating-legacy-games/page.mdx +427 -0
- package/template-assets/documentation/getting-started/quick-start/page.mdx +333 -0
- package/template-assets/documentation/how-it-works/architecture/page.mdx +189 -0
- package/template-assets/documentation/how-it-works/host-system/page.mdx +267 -0
- package/template-assets/documentation/manifest.json +430 -0
- package/template-assets/documentation/sdk/hooks/page.mdx +500 -0
- package/template-assets/documentation/sdk/input-system/page.mdx +270 -0
- package/template-assets/documentation/sdk/networked-state/page.mdx +213 -0
- package/template-assets/documentation/sdk/ui-components/page.mdx +227 -0
- package/template-assets/managed/.airjam/ai-pack.json +191 -0
- package/template-assets/managed/docs/airjam/agent-gold-path.md +67 -0
- package/template-assets/managed/docs/airjam/agent-mcp.md +135 -0
- package/template-assets/managed/docs/airjam/canvas-2d-gameplay.md +82 -0
- package/template-assets/managed/docs/airjam/composition-shell-contract.md +87 -0
- package/template-assets/managed/docs/airjam/debug-and-testing.md +86 -0
- package/template-assets/managed/docs/airjam/development-loop.md +51 -0
- package/template-assets/managed/docs/airjam/docs-index.md +58 -0
- package/template-assets/managed/docs/airjam/generated/architecture.md +178 -0
- package/template-assets/managed/docs/airjam/generated/controller-ui.md +61 -0
- package/template-assets/managed/docs/airjam/generated/debugging-and-logs.md +164 -0
- package/template-assets/managed/docs/airjam/generated/for-agents.md +99 -0
- package/template-assets/managed/docs/airjam/generated/game-ideas.md +107 -0
- package/template-assets/managed/docs/airjam/generated/host-system.md +251 -0
- package/template-assets/managed/docs/airjam/generated/input-system.md +260 -0
- package/template-assets/managed/docs/airjam/generated/introduction.md +175 -0
- package/template-assets/managed/docs/airjam/generated/migrating-legacy-games.md +426 -0
- package/template-assets/managed/docs/airjam/generated/networked-state.md +214 -0
- package/template-assets/managed/docs/airjam/generated/project-structure.md +171 -0
- package/template-assets/managed/docs/airjam/generated/quick-start.md +334 -0
- package/template-assets/managed/docs/airjam/generated/sdk-hooks.md +490 -0
- package/template-assets/managed/docs/airjam/generated/state-and-rendering.md +80 -0
- package/template-assets/managed/docs/airjam/generated/ui-components.md +222 -0
- package/template-assets/managed/docs/airjam/generated/unified-dev-logs.md +170 -0
- package/template-assets/managed/docs/airjam/iconography.md +55 -0
- package/template-assets/managed/docs/airjam/prefab-authoring.md +112 -0
- package/template-assets/managed/docs/airjam/preview-controllers.md +126 -0
- package/template-assets/managed/docs/airjam/r3f-3d-scene.md +97 -0
- package/template-assets/managed/docs/airjam/state-lanes-cookbook.md +106 -0
- package/template-assets/managed/docs/airjam/visual-system.md +103 -0
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
<!-- Generated from content/docs/getting-started/quick-start/page.mdx. Do not edit directly. -->
|
|
2
|
+
<!-- Canonical public doc: https://airjam.io/docs/getting-started/quick-start -->
|
|
3
|
+
|
|
4
|
+
# Quick Start
|
|
5
|
+
|
|
6
|
+
Get your first Air Jam game up and running in minutes using our project generator.
|
|
7
|
+
|
|
8
|
+
You need Node.js 22 or newer and pnpm installed. The generator runs `pnpm install`
|
|
9
|
+
for you unless you explicitly choose `--skip-install`.
|
|
10
|
+
|
|
11
|
+
## 1. Create a New Project
|
|
12
|
+
|
|
13
|
+
The fastest way to start is using our CLI tool. This creates a ready-to-use workspace with a working Pong game, local development server, and SDK configuration.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx create-airjam my-game
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
After the project is created, navigate into the directory and open it in your editor:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
cd my-game
|
|
23
|
+
code . # or your preferred editor
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## 2. Start Local Development
|
|
27
|
+
|
|
28
|
+
The scaffold uses one command for the normal local loop. It starts the local Air Jam server and the game together.
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pnpm run dev
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
That command starts:
|
|
35
|
+
|
|
36
|
+
1. the local Air Jam server on `http://localhost:4000`
|
|
37
|
+
2. the game on `http://localhost:5173`
|
|
38
|
+
|
|
39
|
+
If Claude Code Desktop preview launches the app, use the committed `.claude/launch.json`. It still goes through the normal Air Jam dev runner, but adds the preview-managed adapter Claude Preview needs.
|
|
40
|
+
|
|
41
|
+
For other browser or agent preview tools that ask for a launch command, use `pnpm run dev`. Do not fall back to raw `vite` or a separate preview-only script.
|
|
42
|
+
|
|
43
|
+
## 3. Play the Game
|
|
44
|
+
|
|
45
|
+
Open your browser and visit:
|
|
46
|
+
|
|
47
|
+
[http://localhost:5173](http://localhost:5173)
|
|
48
|
+
|
|
49
|
+
You should see the Pong template game. You can now:
|
|
50
|
+
|
|
51
|
+
1. Open the game in your browser (Host view)
|
|
52
|
+
2. Scan the QR code with your phone (Controller view)
|
|
53
|
+
3. Play the game!
|
|
54
|
+
|
|
55
|
+
## Optional: HTTPS for Motion Sensors
|
|
56
|
+
|
|
57
|
+
Most local Air Jam development works on HTTP. Enable HTTPS only when you need secure browser APIs such as gyroscope or motion sensors.
|
|
58
|
+
|
|
59
|
+
1. Install `mkcert` once on your machine.
|
|
60
|
+
2. Initialize secure mode:
|
|
61
|
+
```bash
|
|
62
|
+
pnpm run secure:init
|
|
63
|
+
```
|
|
64
|
+
3. Run secure dev:
|
|
65
|
+
```bash
|
|
66
|
+
pnpm run dev -- --secure
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
This keeps the local Air Jam server on `http://localhost:4000` and serves the game over trusted local HTTPS.
|
|
70
|
+
|
|
71
|
+
Optional tunnel fallback:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
pnpm exec airjam secure:init --mode=tunnel --hostname my-game-dev.example.com --tunnel my-game-dev
|
|
75
|
+
pnpm run dev -- --secure --secure-mode=tunnel
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## 4. Customize & Build
|
|
79
|
+
|
|
80
|
+
This project is "vibecode friendly"—it includes documentation and AI instructions to help you build faster.
|
|
81
|
+
|
|
82
|
+
- **Check `AGENTS.md`**: Project-wide coding contract and workflow for AI coding assistants.
|
|
83
|
+
- **Check `docs/airjam/docs-index.md`**: Canonical local framework references bundled with the template.
|
|
84
|
+
- **Modify `src/airjam.config.ts`**: Canonical runtime setup and input wiring.
|
|
85
|
+
- **Modify `src/game/input.ts`**: Define your input schema.
|
|
86
|
+
- **Use the starter module map in the template `README.md`**: Follow the current starter structure before creating new homes for code.
|
|
87
|
+
- **Modify `src/game/stores/`**: Starter location for shared networked state and pure transitions.
|
|
88
|
+
- **Modify `src/host/index.tsx`**: Starter host/gameplay surface.
|
|
89
|
+
- **Modify `src/controller/index.tsx`**: Starter mobile controller surface.
|
|
90
|
+
- **Use `tests/game/`**: Starter testing pattern for domain, stores, engine, adapters, and shared game UI.
|
|
91
|
+
|
|
92
|
+
These paths are the current starter template shape.
|
|
93
|
+
They are recommended defaults for new projects, not framework-mandated filenames.
|
|
94
|
+
|
|
95
|
+
### Connect Your Coding Agent
|
|
96
|
+
|
|
97
|
+
Use your existing editor, terminal agent, or MCP client; Air Jam does not require
|
|
98
|
+
a separate hosted game editor. The generated project includes local instructions
|
|
99
|
+
and a portable `.mcp.json` declaration. A declaration is not the same as a client
|
|
100
|
+
being connected. Inspect the setup and render the configuration your client uses:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
pnpm exec airjam mcp doctor --dir . --json
|
|
104
|
+
pnpm exec airjam mcp config --profile portable --dir .
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
The `codex` and `claude-desktop` profiles render their respective registration
|
|
108
|
+
formats. Configuration rendering is read-only: install the rendered entry in
|
|
109
|
+
your client, then check its tool discovery. See [For Agents](./for-agents.md)
|
|
110
|
+
for semantic game control and a CLI-only path.
|
|
111
|
+
|
|
112
|
+
### Run the Complete Evaluation
|
|
113
|
+
|
|
114
|
+
Before sharing a game—and again after any repair—run the canonical complete evaluation:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
pnpm exec airjam evaluate --dir .
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
It returns one machine-readable `air-jam-complete-evaluation/v1` document containing the results of typecheck, lint, tests, and the production build. Agents can call the same service through the `airjam.evaluate` MCP action. Individual gates remain available when narrowing a failure.
|
|
121
|
+
|
|
122
|
+
### Refresh Managed Framework Guidance
|
|
123
|
+
|
|
124
|
+
Scaffolded projects include an AI pack that owns canonical framework references under `docs/airjam/`. Top-level agent instructions and project-local skills are bootstrap files: after creation, they belong to the project and Air Jam never overwrites them.
|
|
125
|
+
|
|
126
|
+
Use these commands from your project root:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
pnpm exec airjam ai-pack status --dir .
|
|
130
|
+
pnpm exec airjam ai-pack diff --dir .
|
|
131
|
+
pnpm exec airjam ai-pack update --dir .
|
|
132
|
+
pnpm exec airjam ai-pack repair --dir .
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
`ai-pack update` consumes only the snapshot inside the installed, provenance-backed CLI package. `ai-pack repair` explicitly restores same-version managed drift. Both replace only AI-pack-managed framework references; neither is a merge tool or owns `AGENTS.md`, `CLAUDE.md`, project-local skills, application code, or user-created notes.
|
|
136
|
+
|
|
137
|
+
### Server not connecting locally
|
|
138
|
+
|
|
139
|
+
1. Verify `pnpm run dev` is running.
|
|
140
|
+
2. Confirm server health: [http://localhost:4000/health](http://localhost:4000/health).
|
|
141
|
+
3. Confirm your game is using `http://localhost:4000` for `VITE_AIR_JAM_SERVER_URL` (or no override at all for local defaults).
|
|
142
|
+
|
|
143
|
+
### Local port already in use
|
|
144
|
+
|
|
145
|
+
Each parallel agent or project can run an isolated stack without stopping another one:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
AIR_JAM_SERVER_PORT=4400 \
|
|
149
|
+
VITE_PORT=5573 \
|
|
150
|
+
VITE_AIR_JAM_PUBLIC_HOST=http://127.0.0.1:5573 \
|
|
151
|
+
pnpm run dev
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
`pnpm exec airjam topology --mode=standalone-dev` honors the same environment, so the CLI, semantic sessions, QR URL, Vite proxy, and local server stay on one coherent topology.
|
|
155
|
+
|
|
156
|
+
### App ID errors in deployed environments
|
|
157
|
+
|
|
158
|
+
1. Ensure `VITE_AIR_JAM_APP_ID` is set in your host platform.
|
|
159
|
+
2. Ensure the server URL points at your real Air Jam backend.
|
|
160
|
+
3. Re-copy the App ID from your game's dashboard settings if bootstrap fails.
|
|
161
|
+
|
|
162
|
+
### QR / controller join URL issues
|
|
163
|
+
|
|
164
|
+
1. Confirm host and controller are on the same room code.
|
|
165
|
+
2. If testing on phone outside localhost, set `VITE_AIR_JAM_PUBLIC_HOST` (or use `pnpm run dev -- --secure`).
|
|
166
|
+
3. For SPA hosting, ensure rewrites route `/controller?room=XXXX` to your app entry.
|
|
167
|
+
|
|
168
|
+
## 5. Connect Your Game To Air Jam Services
|
|
169
|
+
|
|
170
|
+
When you're ready to share your game outside local development, first register
|
|
171
|
+
it with Air Jam so the runtime has a stable hosted identity.
|
|
172
|
+
|
|
173
|
+
1. **Create a game record**:
|
|
174
|
+
- Go to the [Platform Dashboard](/dashboard)
|
|
175
|
+
- Create a game if you do not already have one
|
|
176
|
+
- Copy its **App ID**
|
|
177
|
+
|
|
178
|
+
An agent or terminal user can create the same hosted identity without
|
|
179
|
+
navigating the dashboard after the one-time browser-assisted login:
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
pnpm exec airjam auth login
|
|
183
|
+
pnpm exec airjam game create --dir . --name "My Game" --slug my-game
|
|
184
|
+
pnpm exec airjam game inspect --game my-game
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
2. **Choose your distribution lane**:
|
|
188
|
+
- Deploy your game to a static hosting provider like Vercel, Netlify, or GitHub Pages.
|
|
189
|
+
- Use that self-hosted URL for normal private review and iteration.
|
|
190
|
+
- If you want public Air Jam Arcade distribution, publish a hosted release artifact in step 6 below.
|
|
191
|
+
- For self-hosted deployments, set the following environment variables:
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
VITE_AIR_JAM_APP_ID=your_app_id_here
|
|
195
|
+
VITE_AIR_JAM_SERVER_URL=https://api.airjam.io # or your own Air Jam backend
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
The SDK handles production bootstrap automatically from that `appId`. You do not need to mint tokens or add auth code in your game.
|
|
199
|
+
If you want to lock production bootstrap to your deployed site only, set the
|
|
200
|
+
optional allowed-origin list for the App ID in the dashboard settings.
|
|
201
|
+
|
|
202
|
+
Before publishing your scaffolded game, run the local checks:
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
pnpm test
|
|
206
|
+
pnpm run typecheck
|
|
207
|
+
pnpm run build
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
If you are self-hosting the client, keep SPA rewrites enabled so `/controller?room=XXXX` resolves to your app entry.
|
|
211
|
+
|
|
212
|
+
### Optional: Stronger Signed Host Bootstrap
|
|
213
|
+
|
|
214
|
+
If you want stricter production ownership guarantees, you can keep the game static and add one small backend or edge endpoint that returns a signed host grant.
|
|
215
|
+
|
|
216
|
+
This requires a realtime backend that verifies those grants: the hosted Air Jam
|
|
217
|
+
backend or your own server composed with an `authService` adapter. The standalone
|
|
218
|
+
`air-jam-server` command does not read `AIR_JAM_HOST_GRANT_SECRET` and rejects host
|
|
219
|
+
grants by default. Setting the secret alone does not enable grant verification.
|
|
220
|
+
|
|
221
|
+
Frontend env:
|
|
222
|
+
|
|
223
|
+
```bash
|
|
224
|
+
VITE_AIR_JAM_HOST_GRANT_ENDPOINT=/api/airjam/host-grant
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
Grant issuer and verifying backend env (not the standalone server command):
|
|
228
|
+
|
|
229
|
+
```bash
|
|
230
|
+
AIR_JAM_HOST_GRANT_SECRET=your_signing_secret
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
The SDK will fetch the host grant automatically before `host:bootstrap`. Your game code stays unchanged.
|
|
234
|
+
|
|
235
|
+
Example endpoint shape:
|
|
236
|
+
|
|
237
|
+
```ts
|
|
238
|
+
import { createHostGrant } from "@air-jam/sdk/protocol";
|
|
239
|
+
|
|
240
|
+
export async function POST(request: Request) {
|
|
241
|
+
const { appId } = await request.json();
|
|
242
|
+
const { gameId, creatorId } = await loadTrustedAppIdentity(appId);
|
|
243
|
+
const now = Math.floor(Date.now() / 1000);
|
|
244
|
+
|
|
245
|
+
const hostGrant = await createHostGrant({
|
|
246
|
+
secret: process.env.AIR_JAM_HOST_GRANT_SECRET!,
|
|
247
|
+
claims: {
|
|
248
|
+
jti: crypto.randomUUID(),
|
|
249
|
+
aud: "airjam:realtime",
|
|
250
|
+
appId,
|
|
251
|
+
gameId,
|
|
252
|
+
creatorId,
|
|
253
|
+
iat: now,
|
|
254
|
+
exp: now + 60,
|
|
255
|
+
origins: ["https://your-game.example"],
|
|
256
|
+
sessionKind: "game",
|
|
257
|
+
},
|
|
258
|
+
});
|
|
259
|
+
|
|
260
|
+
return Response.json({ hostGrant });
|
|
261
|
+
}
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
`loadTrustedAppIdentity` represents your server-side lookup; never copy game or
|
|
265
|
+
creator identity from the browser request. That endpoint is also where you can
|
|
266
|
+
add your own rules, for example checking the signed-in user or limiting which
|
|
267
|
+
app IDs they are allowed to bootstrap.
|
|
268
|
+
|
|
269
|
+
## 6. Publish A Hosted Arcade Release
|
|
270
|
+
|
|
271
|
+
The official Arcade hosting lane is now artifact-based. Self-hosted URLs are still useful for private preview, but public Arcade hosting should use a hosted release artifact.
|
|
272
|
+
|
|
273
|
+
1. Run the local hosted-release preflight from your project root:
|
|
274
|
+
|
|
275
|
+
```bash
|
|
276
|
+
pnpm exec airjam release doctor --dir .
|
|
277
|
+
pnpm exec airjam release validate --dir .
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
2. Build a hosted bundle from your project root:
|
|
281
|
+
|
|
282
|
+
```bash
|
|
283
|
+
pnpm exec airjam release bundle --dir .
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
That command:
|
|
287
|
+
|
|
288
|
+
- runs your build script
|
|
289
|
+
- bundles the static output from `dist/`
|
|
290
|
+
- writes `.airjam/release-manifest.json`
|
|
291
|
+
- creates a hosted release zip under `.airjam/releases/<version>/`
|
|
292
|
+
|
|
293
|
+
The scaffolded `release:bundle` script wraps `airjam release bundle --dir .` for you.
|
|
294
|
+
|
|
295
|
+
The hosted artifact contract is fixed:
|
|
296
|
+
|
|
297
|
+
- host entry at `/`
|
|
298
|
+
- controller entry at `/controller`
|
|
299
|
+
|
|
300
|
+
### Terminal or Agent Publishing
|
|
301
|
+
|
|
302
|
+
The CLI can bundle, upload, and wait for validation using the same release
|
|
303
|
+
services as the dashboard. Use the game slug or ID created in step 5:
|
|
304
|
+
|
|
305
|
+
```bash
|
|
306
|
+
pnpm exec airjam release submit --game my-game --dir . --wait
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
This leaves the processed release unpublished. Inspect the returned release ID,
|
|
310
|
+
then explicitly make it live when you are ready:
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
pnpm exec airjam release inspect --release <release-id>
|
|
314
|
+
pnpm exec airjam release publish --release <release-id>
|
|
315
|
+
pnpm exec airjam game media --help
|
|
316
|
+
pnpm exec airjam game update --game my-game --arcade-visibility listed
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
Publishing a release and listing its game are separate decisions. A processing
|
|
320
|
+
timeout does not cancel the background job: inspect the same release rather
|
|
321
|
+
than submitting another copy. CLI responses retain the release and generation
|
|
322
|
+
identities needed to resume work.
|
|
323
|
+
|
|
324
|
+
### Dashboard Publishing
|
|
325
|
+
|
|
326
|
+
Alternatively, upload the zip produced by `airjam release bundle` above:
|
|
327
|
+
|
|
328
|
+
1. Go to your game's **Releases** page in the [Dashboard](/dashboard).
|
|
329
|
+
2. Upload the generated zip artifact.
|
|
330
|
+
3. Make the validated release live.
|
|
331
|
+
4. Upload managed thumbnail, cover, and preview media in the Dashboard.
|
|
332
|
+
5. Set the game's Arcade visibility to listed.
|
|
333
|
+
|
|
334
|
+
Your game is now live in the public Arcade on Air Jam-hosted infrastructure.
|