evolutionary-arcade 0.0.1 → 0.1.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ # Changelog
2
+
3
+ ## 0.1.1
4
+
5
+ - Every game on Evolutionary Arcade is open source under MIT. `arcade publish` says so before it publishes, and refuses an `arcade.json` whose `license` is anything but `"MIT"` (leaving it out means MIT).
6
+ - `arcade new`, `fork`, `blend`, and `regen` write a `LICENSE` in your name. A fork keeps its parent's LICENSE under `licenses/<slug>/`, and `pull` and `blend` add the creator's LICENSE to a download that has none. If you weren't logged in yet, `arcade publish` puts your handle in.
7
+ - `arcade publish` stops on a license file at the top of the folder (`LICENSE`, `COPYING`, and the like) that isn't MIT. The arcade checks the same thing when it receives a publish.
8
+ - The package no longer links to a source repository. Questions and bug reports: hello@evolutionaryarcade.com.
9
+
10
+ ## 0.1.0
11
+
12
+ - First release.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Evolutionary Arcade
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,84 @@
1
- # Evolutionary Arcade
1
+ <p align="center"><img src="https://evolutionaryarcade.com/brand/readme-banner.jpg" width="640" alt="Evolutionary Arcade"></p>
2
2
 
3
- Coming soon. This placeholder reserves the package name for the Evolutionary Arcade creator CLI. It does not contain a working CLI yet.
3
+ # evolutionary-arcade
4
+
5
+ The `arcade` CLI for [Evolutionary Arcade](https://evolutionaryarcade.com), an arcade of open-source, AI-made browser games. Publish, update, regen, fork, and blend games with your own coding agent.
6
+
7
+ ## Quickstart
8
+
9
+ ```bash
10
+ npm i -g evolutionary-arcade
11
+ arcade skills install # give your coding agent the four arcade skills
12
+ arcade login # approve a code in your browser
13
+ arcade fork starwake # start your own game from Starwake
14
+ cd starwake-remix
15
+ arcade dev # play it locally, under the arcade's rules
16
+ arcade publish --dry-run # see exactly what will go public
17
+ arcade publish --yes # and it's live
18
+ ```
19
+
20
+ ## Hand it to your agent
21
+
22
+ The CLI is built for coding agents like Claude Code and Codex. Paste this in:
23
+
24
+ ```text
25
+ Run `arcade guide` and follow it to fork starwake into a new game. Show me the dry run before you publish.
26
+ ```
27
+
28
+ `arcade guide` prints the getting-started skill. `arcade skills install` puts all four skills (getting started, building games, remix and blend, publishing) where your agent looks for them.
29
+
30
+ ## Four ways to build on a game
31
+
32
+ - **Update** your own game: `arcade pull <slug>`, make it better, `arcade publish`. Players get v2 at the same address.
33
+ - **Regen** a game: `arcade regen <slug>` hands you its prompt and no code, so your model makes its own take. It joins that version's stack, next to the other takes.
34
+ - **Fork** a game: `arcade fork <slug>` starts a new game of yours from someone's code, and its page links back to where it came from.
35
+ - **Blend** games: `arcade blend <a> <b>` puts 2 to 8 games in one folder for your agent to combine into one new game.
36
+
37
+ Everything you publish is public, including the source, and every game is open source under the MIT license. `arcade new`, `fork`, `blend`, and `regen` write a `LICENSE` in your name, and a fork keeps its parent's under `licenses/<slug>/`. Code or assets you bundle from others keep their own license and must be yours to share. The CLI never uploads `.env` files, keys, `.git`, or `node_modules`, and it stops if a file looks like it holds an API key.
38
+
39
+ ## Commands
40
+
41
+ | Command | What it does |
42
+ |---|---|
43
+ | `arcade guide` | Prints the getting-started skill. Agents read this first. |
44
+ | `arcade skills install [--target claude\|codex\|all] [--dir <path>]` | Copies the four skills into `~/.claude/skills` and/or `~/.agents/skills`. |
45
+ | `arcade login` / `arcade logout` / `arcade whoami` | Sign in with a device code, sign out, or see who you are. |
46
+ | `arcade search <query>` | Find games by title, slug, @handle, or model. |
47
+ | `arcade info <slug>` | A game's versions, generation ids, which one is main, and its parents. |
48
+ | `arcade new <slug> [dir]` | Start a new game folder. |
49
+ | `arcade dev [dir] [--port 5173] [--host]` | Serve your game locally with the arcade's CSP, so outside network calls fail early. |
50
+ | `arcade pull <slug> [dir]` | Download your own game to make its next version. |
51
+ | `arcade fork <slug> [dir]` | Download someone's game as the start of your new one. |
52
+ | `arcade blend <slug> <slug> [...] [--into <dir>]` | Download 2 to 8 games to blend into one. |
53
+ | `arcade regen <slug> [dir]` | Get a game's prompt, and no code, to build a fresh take. |
54
+ | `arcade publish [dir] [--dry-run] [--yes]` | Check everything, list every file that goes public, and publish. |
55
+ | `arcade media preview [dir]` | Make the 12-second hover preview from your demo (needs ffmpeg). |
56
+ | `arcade main <slug> <generation>` | (Owner) Pick the main generation for a version. |
57
+ | `arcade unpublish <slug>` / `arcade republish <slug>` | (Owner) Take your game down, or bring it back. |
58
+ | `arcade profile show` / `set` / `avatar` / `banner` | See and edit your public profile. |
59
+
60
+ When `arcade.json` has no token counts, `arcade publish` fills them in from your local Claude Code session logs, uploading only the numbers (`--no-stats` skips it). Subagent token counts aren't recorded reliably, so only the orchestrator's tokens are filled in. Subagents are listed by model and count.
61
+
62
+ `arcade --help` and `arcade <command> --help` have every option. `--json` works on `whoami`, `info`, `search`, `publish`, and `profile show`.
63
+
64
+ ## Requirements
65
+
66
+ - Node.js 20 or newer.
67
+ - [ffmpeg](https://ffmpeg.org) (optional) for hover previews. Without it, cards show your thumbnail.
68
+
69
+ ## Settings, login, and exit codes
70
+
71
+ - `ARCADE_API_URL` points the CLI at another arcade (default `https://evolutionaryarcade.com`).
72
+ - `ARCADE_TOKEN` uses a token instead of the saved login, for CI.
73
+ - `ARCADE_DEBUG=1` prints the full error when something unexpected breaks.
74
+ - `arcade login` saves your token in `~/.config/evolutionary-arcade/credentials.json` (or under `$XDG_CONFIG_HOME`), readable only by you. Logins last 90 days.
75
+ - Exit codes: `0` it worked, `1` something went wrong, `2` something in `arcade.json`, the files, or the options needs fixing (every problem is listed).
76
+
77
+ ## Links
78
+
79
+ - Play and publish: [evolutionaryarcade.com](https://evolutionaryarcade.com)
80
+ - Publishing guide: [evolutionaryarcade.com/publish](https://evolutionaryarcade.com/publish)
81
+ - Discord: [evolutionaryarcade.com/discord](https://evolutionaryarcade.com/discord)
82
+ - Questions and bug reports: [hello@evolutionaryarcade.com](mailto:hello@evolutionaryarcade.com)
83
+
84
+ The CLI is MIT licensed, like every game published with it.