@opengamehq/cli 0.9.4 → 0.9.6
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/AGENTS.md +2 -2
- package/CHANGELOG.md +21 -0
- package/README.md +2 -2
- package/dist/cli.mjs +145 -146
- package/dist/opengame-global.js +1 -1
- package/dist/preflight-worker.mjs +14 -14
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -202,7 +202,7 @@ Play the private preview before you tell the creator the game works.
|
|
|
202
202
|
<!-- generated:commands -->
|
|
203
203
|
| Command | What it does |
|
|
204
204
|
| --- | --- |
|
|
205
|
-
| `opengame init [dir] [options]` | Create opengame.json for an existing game.
|
|
205
|
+
| `opengame init [dir] [options]` | Create opengame.json for an existing game. Every field defaults to Auto: Leave a field out, blank or "auto" and review writes it from your game; you accept or change it on the deploy's page. A person at a terminal is asked the game's name and nothing else, and Enter takes Auto. When opengame.json is already there, fill in the fields it leaves blank and keep the rest. |
|
|
206
206
|
| `opengame check [dir] [options]` | Find local build and asset problems before uploading. |
|
|
207
207
|
| `opengame dev [dir] [options]` | Serve a local export with game-runtime headers. Under a contract that adds the SDK, pages also get the host runtime and SDK, as they do when hosted. If the contract supports opting out, sdk.inject: false leaves out the SDK. |
|
|
208
208
|
| `opengame login [options]` | Sign in through your browser. |
|
|
@@ -243,5 +243,5 @@ Play the private preview before you tell the creator the game works.
|
|
|
243
243
|
| 4 | `rateLimited` | An allowance is used. Wait retryAfterSeconds when the error has it, then run the same command. |
|
|
244
244
|
| 5 | `server` | Our side or the network, and the game is fine. Run the error's next command when it has one. With retry after-fix or never, waiting will not help; read the message. Otherwise wait (retryAfterSeconds when given) and run the same command. |
|
|
245
245
|
| 6 | `upgrade` | This CLI is too old. Run opengame upgrade. |
|
|
246
|
-
| 7 | `notLaunched` | OpenGame is not open to creators yet, so nothing ran.
|
|
246
|
+
| 7 | `notLaunched` | OpenGame is not open to creators yet, so nothing ran. Signed out, sign in first (next is opengame login) and run the command again; signed in, the message names the day the CLI and uploads open. init and check run before then and say the day as a notice. Nothing about the game is wrong. |
|
|
247
247
|
<!-- /generated:commands -->
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.6
|
|
4
|
+
|
|
5
|
+
- Every field the CLI collects defaults to Auto. `opengame init` writes `"auto"` for the title,
|
|
6
|
+
tagline, description, genre and controls unless you pass a flag, and Enter at the name prompt
|
|
7
|
+
takes Auto. Review writes each Auto field from your game, picks the subgenre too, and the
|
|
8
|
+
deploy's page shows what it wrote for you to accept or change before anything publishes.
|
|
9
|
+
- In `opengame.json`, a field left out, blank or `"auto"` is Auto, so `check`, `dev` and
|
|
10
|
+
`deploy` read it. `--genre auto` works too, and a wrong genre lists `auto` first.
|
|
11
|
+
- Words you type are yours. `opengame deploy` prints how review will tidy their casing and
|
|
12
|
+
grammar, and on the deploy's page you pick the tidied copy or your own.
|
|
13
|
+
|
|
14
|
+
## 0.9.5
|
|
15
|
+
|
|
16
|
+
- `opengame init` and `opengame check` work before OpenGame opens to creators, signed in or not,
|
|
17
|
+
and say the opening day beside their result. Nothing about deploying changes: it still waits
|
|
18
|
+
for the day.
|
|
19
|
+
- Signed out, a command that needs OpenGame says to sign in first (`opengame login`), then the
|
|
20
|
+
opening day, rather than the day alone.
|
|
21
|
+
- `opengame status` on a release review sent back, with no preview link, still names the
|
|
22
|
+
deployment page, which says why there is no preview.
|
|
23
|
+
|
|
3
24
|
## 0.9.4
|
|
4
25
|
|
|
5
26
|
- `opengame check` warns about a missing favicon, web manifest or touch icon, or one named with
|
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ OpenCode, so a coding agent can do all of the above for you.
|
|
|
83
83
|
<!-- generated:commands -->
|
|
84
84
|
| Command | What it does |
|
|
85
85
|
| --- | --- |
|
|
86
|
-
| `opengame init [dir] [options]` | Create opengame.json for an existing game.
|
|
86
|
+
| `opengame init [dir] [options]` | Create opengame.json for an existing game. Every field defaults to Auto: Leave a field out, blank or "auto" and review writes it from your game; you accept or change it on the deploy's page. A person at a terminal is asked the game's name and nothing else, and Enter takes Auto. When opengame.json is already there, fill in the fields it leaves blank and keep the rest. |
|
|
87
87
|
| `opengame check [dir] [options]` | Find local build and asset problems before uploading. |
|
|
88
88
|
| `opengame dev [dir] [options]` | Serve a local export with game-runtime headers. Under a contract that adds the SDK, pages also get the host runtime and SDK, as they do when hosted. If the contract supports opting out, sdk.inject: false leaves out the SDK. |
|
|
89
89
|
| `opengame login [options]` | Sign in through your browser. |
|
|
@@ -124,7 +124,7 @@ OpenCode, so a coding agent can do all of the above for you.
|
|
|
124
124
|
| 4 | `rateLimited` | An allowance is used. Wait retryAfterSeconds when the error has it, then run the same command. |
|
|
125
125
|
| 5 | `server` | Our side or the network, and the game is fine. Run the error's next command when it has one. With retry after-fix or never, waiting will not help; read the message. Otherwise wait (retryAfterSeconds when given) and run the same command. |
|
|
126
126
|
| 6 | `upgrade` | This CLI is too old. Run opengame upgrade. |
|
|
127
|
-
| 7 | `notLaunched` | OpenGame is not open to creators yet, so nothing ran.
|
|
127
|
+
| 7 | `notLaunched` | OpenGame is not open to creators yet, so nothing ran. Signed out, sign in first (next is opengame login) and run the command again; signed in, the message names the day the CLI and uploads open. init and check run before then and say the day as a notice. Nothing about the game is wrong. |
|
|
128
128
|
<!-- /generated:commands -->
|
|
129
129
|
|
|
130
130
|
`opengame <command> --help` prints that command's flags and examples.
|