@opengamehq/cli 0.9.1 → 0.9.4

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 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 | Stop. Tell the creator the CLI and uploads open on 18 November. |
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 keeps pointing at you and is never given to anybody else, and renames are limited per day. Only the opengame login token can do this, not a token made in settings. |
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. |
package/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.4
4
+
5
+ - `opengame check` warns about a missing favicon, web manifest or touch icon, or one named with
6
+ the wrong case, and about a missing image preload, rather than refusing the build: none of
7
+ them stops a game from starting. A missing script or stylesheet still blocks.
8
+ - An icon's link reads as an icon however many attributes come before its `href`, so a
9
+ long `<link rel="icon" type=... sizes=... href=...>` with a wrong-case file warns too.
10
+ - `opengame status` leads with review's return when it sent the build back, rather than
11
+ "Private preview ready" above it. The preview link follows.
12
+ - A large Brotli or gzip file (a Unity `.data.br` over about 21 MB) is read on Node 18, whose
13
+ buffers stop at 4 GiB, instead of being reported as unreadable.
14
+ - `opengame init` names a game from its page's `<title>` or package.json only when that names a
15
+ game. "Game Development Assignment", "index" or "Unity WebGL Player" give way to the folder's
16
+ name, a long name is cut at a word and never inside a bracket, and a name nobody typed is sent
17
+ as a suggestion the deploy's page can improve on.
18
+ - When the server's checks refuse a deploy, the error names the first file and what to change.
19
+ - `init` says the controls it found once, in words, and `check` says server packaging checks
20
+ still run before a preview.
21
+ - The deployment checklist reads an estimate as "About 2 to 5 min", not with a dash, and keeps
22
+ Details as a step from the start, so the count does not change under you.
23
+
24
+ ## 0.9.3
25
+
26
+ 0.9.2 was not published, so this release carries its changes too.
27
+
28
+ - Large and many-file deploys go up as fast as your connection allows. Against a server
29
+ that offers it, `opengame deploy` sends up to 16 uploads at once, asks the server for 256
30
+ files at a time instead of 32, and has them checked a page at a time rather than one by
31
+ one. Storage checks each file's SHA-256 as it arrives, so the server no longer reads your
32
+ files back to confirm them.
33
+ - Builds with many small files go up in a handful of requests. Files of up to 1 MiB go
34
+ together, up to 1,024 or 4 MiB to a request, and the server checks every file's SHA-256
35
+ as before. 25,000 files of 4 KiB that took about a minute on a 100 Mbps connection take
36
+ about ten seconds.
37
+ - Any file over 1 MiB goes up in 16 MiB parts, read from disk a part at a time, so a large
38
+ export never sits in memory whole. A dropped connection costs one part, and running
39
+ `opengame deploy` again sends only the parts that have not arrived. Archives sent in parts
40
+ ask for their upload addresses many at a time.
41
+ - While it uploads, the CLI shows how much has gone, how fast and about how long is left.
42
+ - A deploy whose files the server is still putting together is followed until it is, rather
43
+ than ending at "Upload pending".
44
+ - When an upload fails, the deploy stops with the error and the command to run next once
45
+ every upload in flight has stopped. A failed check of a page of files now stops the deploy
46
+ too, and the CLI reads at most 32 MiB of small files ahead of their uploads.
47
+
3
48
  ## 0.9.1
4
49
 
5
50
  - `opengame deploy --wait` shows the deployment checklist shared with Drop and prints the page where upload, checks, review and publication update live. JSON output keeps its existing event format.
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 keeps pointing at you and is never given to anybody else, and renames are limited per day. Only the opengame login token can do this, not a token made in settings. |
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. |