@opengamehq/cli 0.9.3 → 0.9.5
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 +3 -3
- package/CHANGELOG.md +31 -0
- package/README.md +2 -2
- package/dist/cli.mjs +138 -138
- package/dist/preflight-worker.mjs +14 -14
- package/dist/runtime-builder.mjs +1 -1
- package/dist/skills/manifest.json +15 -15
- package/dist/skills/opengame-api/SKILL.md +8 -8
- package/dist/skills/opengame-cli/SKILL.md +8 -7
- package/dist/skills/opengame-deploy/SKILL.md +7 -7
- package/dist/skills/opengame-jam/SKILL.md +5 -5
- package/dist/skills/opengame-router/SKILL.md +5 -6
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -56,7 +56,7 @@ An error has `"type": "error"`, `"ok": false`, a `code`, a `message`, an `exitCo
|
|
|
56
56
|
| 4 | An allowance is used up | Wait `retryAfterSeconds`, then run the same command. |
|
|
57
57
|
| 5 | Our side or the network | Leave the game as it is. Run `next` when the error has one; otherwise wait and retry, at most a few times. |
|
|
58
58
|
| 6 | The CLI is too old | Run `opengame upgrade --json`, then the npm command in `data.command`. |
|
|
59
|
-
| 7 | OpenGame is not open to creators yet |
|
|
59
|
+
| 7 | OpenGame is not open to creators yet | The CLI has no login. Ask the creator to run `opengame login`, then run the command again. Until 18 November this is what a signed-out CLI hears. |
|
|
60
60
|
|
|
61
61
|
## Sign in with the creator
|
|
62
62
|
|
|
@@ -225,7 +225,7 @@ Play the private preview before you tell the creator the game works.
|
|
|
225
225
|
| `opengame pull [dir] [options]` | Bring website metadata into this folder. |
|
|
226
226
|
| `opengame stats [game\|dir] [options]` | Read analytics for a game you own, or this folder's linked game, for one complete ISO week, Monday to Sunday in UTC. Average playtime is total playtime divided by distinct players in the week. |
|
|
227
227
|
| `opengame whoami [options]` | Show the account and permissions for this token. |
|
|
228
|
-
| `opengame handle <name> [options]` | Rename your handle, as Settings does. Your old handle
|
|
228
|
+
| `opengame handle <name> [options]` | Rename your handle, as Settings does. Your old handle becomes free for anyone to claim, your games keep their /g links, and your profile address changes. Renames are limited per day. Only the opengame login token can do this, not a token made in settings. |
|
|
229
229
|
| `opengame token create\|list\|revoke [options]` | Create, list or revoke tokens in your browser. |
|
|
230
230
|
| `opengame logout [options]` | Revoke this device's token and remove it locally. |
|
|
231
231
|
| `opengame limits [options]` | Show bundle limits and your remaining account allowance. |
|
|
@@ -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,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.5
|
|
4
|
+
|
|
5
|
+
- `opengame init` and `opengame check` work before OpenGame opens to creators, signed in or not,
|
|
6
|
+
and say the opening day beside their result. Nothing about deploying changes: it still waits
|
|
7
|
+
for the day.
|
|
8
|
+
- Signed out, a command that needs OpenGame says to sign in first (`opengame login`), then the
|
|
9
|
+
opening day, rather than the day alone.
|
|
10
|
+
- `opengame status` on a release review sent back, with no preview link, still names the
|
|
11
|
+
deployment page, which says why there is no preview.
|
|
12
|
+
|
|
13
|
+
## 0.9.4
|
|
14
|
+
|
|
15
|
+
- `opengame check` warns about a missing favicon, web manifest or touch icon, or one named with
|
|
16
|
+
the wrong case, and about a missing image preload, rather than refusing the build: none of
|
|
17
|
+
them stops a game from starting. A missing script or stylesheet still blocks.
|
|
18
|
+
- An icon's link reads as an icon however many attributes come before its `href`, so a
|
|
19
|
+
long `<link rel="icon" type=... sizes=... href=...>` with a wrong-case file warns too.
|
|
20
|
+
- `opengame status` leads with review's return when it sent the build back, rather than
|
|
21
|
+
"Private preview ready" above it. The preview link follows.
|
|
22
|
+
- A large Brotli or gzip file (a Unity `.data.br` over about 21 MB) is read on Node 18, whose
|
|
23
|
+
buffers stop at 4 GiB, instead of being reported as unreadable.
|
|
24
|
+
- `opengame init` names a game from its page's `<title>` or package.json only when that names a
|
|
25
|
+
game. "Game Development Assignment", "index" or "Unity WebGL Player" give way to the folder's
|
|
26
|
+
name, a long name is cut at a word and never inside a bracket, and a name nobody typed is sent
|
|
27
|
+
as a suggestion the deploy's page can improve on.
|
|
28
|
+
- When the server's checks refuse a deploy, the error names the first file and what to change.
|
|
29
|
+
- `init` says the controls it found once, in words, and `check` says server packaging checks
|
|
30
|
+
still run before a preview.
|
|
31
|
+
- The deployment checklist reads an estimate as "About 2 to 5 min", not with a dash, and keeps
|
|
32
|
+
Details as a step from the start, so the count does not change under you.
|
|
33
|
+
|
|
3
34
|
## 0.9.3
|
|
4
35
|
|
|
5
36
|
0.9.2 was not published, so this release carries its changes too.
|
package/README.md
CHANGED
|
@@ -106,7 +106,7 @@ OpenCode, so a coding agent can do all of the above for you.
|
|
|
106
106
|
| `opengame pull [dir] [options]` | Bring website metadata into this folder. |
|
|
107
107
|
| `opengame stats [game\|dir] [options]` | Read analytics for a game you own, or this folder's linked game, for one complete ISO week, Monday to Sunday in UTC. Average playtime is total playtime divided by distinct players in the week. |
|
|
108
108
|
| `opengame whoami [options]` | Show the account and permissions for this token. |
|
|
109
|
-
| `opengame handle <name> [options]` | Rename your handle, as Settings does. Your old handle
|
|
109
|
+
| `opengame handle <name> [options]` | Rename your handle, as Settings does. Your old handle becomes free for anyone to claim, your games keep their /g links, and your profile address changes. Renames are limited per day. Only the opengame login token can do this, not a token made in settings. |
|
|
110
110
|
| `opengame token create\|list\|revoke [options]` | Create, list or revoke tokens in your browser. |
|
|
111
111
|
| `opengame logout [options]` | Revoke this device's token and remove it locally. |
|
|
112
112
|
| `opengame limits [options]` | Show bundle limits and your remaining account allowance. |
|
|
@@ -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.
|