@onceworlds/cli 0.9.4 → 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/README.md +7 -5
- package/dist/cli.js +799 -122
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -143,11 +143,13 @@ from the running game and commit them under `store/`. `onceworlds doctor` says w
|
|
|
143
143
|
engine installed in the game's `node_modules` (its own version), else the platform's.
|
|
144
144
|
- `onceworlds shot [dir]` saves a picture of the game to look at: the first player's screen a few seconds into a simulated match
|
|
145
145
|
with bots (`--at 20`), the title screen (`--phase title`) or the lobby (`--phase lobby`), or a poster (`--poster cover`), at
|
|
146
|
-
`--size 1280x720` by default. A 2D game is drawn with no browser, from
|
|
147
|
-
the
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
146
|
+
`--size 1280x720` by default. A 2D game is drawn with no browser, from the frame the engine draws, with its text in the fonts
|
|
147
|
+
the game's files name (its own font files, or Google Fonts, downloaded once and kept) and Sora for the rest; the caption says
|
|
148
|
+
which it couldn't have, and that the HTML overlay (`ui.overlay`) needs `--browser`. A 3D game (or `--browser`) is drawn by
|
|
149
|
+
Chrome, Chromium or Edge from a local copy of the game. `--out` picks the file (default `store/shot.png`). `--story` plays the
|
|
150
|
+
first minute as a new player lives it (the title, the lobby, the countdown, the round's goal, play at +1, +5 and +12 s, the first
|
|
151
|
+
result), saves each frame into `store/story/` and lays them out on one contact sheet, `store/story.png`, with the questions to
|
|
152
|
+
ask of it.
|
|
151
153
|
|
|
152
154
|
Running `onceworlds mcp` gives an AI tool the same as tools: `api_lookup`, `recipe`, `read_guide`, `search_assets` (the engine's
|
|
153
155
|
asset library), `check`, `screenshot` (the picture comes back to the model), `serve` (an address for the user to play it at),
|