replaystage 0.8.1 → 2.0.0

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 CHANGED
@@ -1,14 +1,13 @@
1
1
  # replaystage
2
2
 
3
- Official command-line deployer (`v0.8.1`) for **ReplayStage** (`replaystage.com` & `replay.st`) — built for developers and AI coding agents (Antigravity, Claude Code, Cursor, Codex, Windsurf).
3
+ Official CLI wrapper for [`@replaystage/cli`](https://www.npmjs.com/package/@replaystage/cli).
4
4
 
5
5
  ```bash
6
- # Zero-config public launch (defaults --category to arcade & infers title)
7
- npx -y replaystage publish . --public
8
-
9
- # Pre-flight validation + full AI attribution publish
6
+ npx -y replaystage login --token RSKEY_... --json
7
+ npx -y replaystage init my-game --json
10
8
  npx -y replaystage validate ./dist --json
11
- npx -y replaystage publish ./dist --title "My Arcade Game" --tool codex --model "Claude Sonnet 5.5" --category arcade --public --json
9
+ npx -y replaystage publish ./dist --json
10
+ npx -y replaystage visibility my-game live --json
12
11
  ```
13
12
 
14
- Generate optional `rps_...` Creator API tokens at `https://replaystage.com/settings#tokens`, and see [`@replaystage/cli`](https://www.npmjs.com/package/@replaystage/cli) or `https://replaystage.com/skill.md` for full CLI & AI Agent documentation.
13
+ Full agent skill protocol: **https://replaystage.com/skill.md**
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { runCli } from "@replaystage/cli";
2
+ import { runCli } from '@replaystage/cli';
3
3
 
4
- await runCli(process.argv);
4
+ const exitCode = await runCli(process.argv.slice(2));
5
+ process.exitCode = exitCode;
package/package.json CHANGED
@@ -1,22 +1,21 @@
1
1
  {
2
2
  "name": "replaystage",
3
- "version": "0.8.1",
4
- "description": "Official ReplayStage CLI — Deploy and share playable AI web games in seconds",
3
+ "version": "2.0.0",
4
+ "description": "ReplayStage CLI — build, validate, preview, publish, and operate portrait casual games on replaystage.com.",
5
+ "type": "module",
5
6
  "license": "MIT",
6
- "homepage": "https://replaystage.com",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/replaystage/replaystage.git",
10
- "directory": "packages/replaystage"
7
+ "engines": {
8
+ "node": ">=22.0.0"
11
9
  },
12
- "private": false,
13
10
  "publishConfig": {
14
11
  "access": "public"
15
12
  },
16
- "engines": {
17
- "node": ">=18.18.0"
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/replaystage/platform.git",
16
+ "directory": "packages/replaystage"
18
17
  },
19
- "type": "module",
18
+ "homepage": "https://replaystage.com/skill.md",
20
19
  "bin": {
21
20
  "replaystage": "./bin/replaystage.js"
22
21
  },
@@ -25,11 +24,6 @@
25
24
  "README.md"
26
25
  ],
27
26
  "dependencies": {
28
- "@replaystage/cli": "0.8.1"
29
- },
30
- "scripts": {
31
- "build": "node -e \"\"",
32
- "typecheck": "node -e \"\"",
33
- "test": "node -e \"\""
27
+ "@replaystage/cli": "^2.0.0"
34
28
  }
35
29
  }