@coderook/cli 0.15.0 → 0.16.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.
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "coderook",
3
+ "displayName": "CodeRook",
4
+ "description": "Save, browse and restore whole-snapshot versions of a project on CodeRook, from Claude Code.",
5
+ "version": "0.16.0",
6
+ "author": { "name": "ACCA Gaming Productions", "url": "https://coderook.com" },
7
+ "homepage": "https://coderook.com/docs#assistants",
8
+ "license": "SEE LICENSE IN LICENSE.txt",
9
+ "keywords": ["coderook", "versioning", "snapshots", "backup"]
10
+ }
package/README.md CHANGED
@@ -148,6 +148,25 @@ Sign in once per machine first — `coderook sign-in` — or set `CODEROOK_TOKEN
148
148
  in automation. The skill will not save anything without asking you first, and
149
149
  never deletes.
150
150
 
151
+ ## Installing it as a plugin instead
152
+
153
+ If you would rather not install the command line first, CodeRook publishes a
154
+ plugin marketplace of its own:
155
+
156
+ ```
157
+ /plugin marketplace add https://coderook.com/marketplace.json
158
+ /plugin install coderook@coderook
159
+ ```
160
+
161
+ That fetches the same package from npm and brings the skill with it. The
162
+ marketplace is a plain file on coderook.com rather than a git repository, so
163
+ there is no repository to clone and no second account anywhere.
164
+
165
+ One thing to know: a plugin install puts the package in Claude Code's plugin
166
+ folder, not on your `PATH`. The skill copes with that on its own by falling
167
+ back to `npx -y @coderook/cli`, but `npm install --global @coderook/cli` is
168
+ faster if you plan to run commands yourself as well.
169
+
151
170
  ## A structured connection instead
152
171
 
153
172
  The skill teaches Claude the command line, which needs no configuration. If you
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coderook/cli",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "CodeRook from the command line, on any operating system",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "homepage": "https://coderook.com",
@@ -20,6 +20,7 @@
20
20
  "coderook": "dist/cli/src/cli.js"
21
21
  },
22
22
  "files": [
23
+ ".claude-plugin",
23
24
  "dist",
24
25
  "skills"
25
26
  ],
@@ -28,7 +29,7 @@
28
29
  "check": "tsc -p tsconfig.json --noEmit",
29
30
  "test": "tsc -p tsconfig.json && node --test --experimental-strip-types test/*.test.ts",
30
31
  "start": "node dist/cli/src/cli.js",
31
- "prepublishOnly": "npm run build",
32
+ "prepublishOnly": "npm run sync:plugin && npm run build",
32
33
  "test:e2e": "node test/e2e.mjs",
33
34
  "test:matrix": "node test/state-matrix.mjs",
34
35
  "test:attempt": "node test/attempt-identity.mjs",
@@ -40,7 +41,8 @@
40
41
  "test:floor": "node test/version-floor.mjs",
41
42
  "test:faultsubmit": "node test/fault-submit.mjs",
42
43
  "test:race": "node test/race-attempts.mjs",
43
- "test:runner": "node test/runner-live.mjs"
44
+ "test:runner": "node test/runner-live.mjs",
45
+ "sync:plugin": "node scripts/sync-plugin-version.mjs"
44
46
  },
45
47
  "devDependencies": {
46
48
  "@types/node": "24.10.1",
@@ -19,6 +19,12 @@ Everything here is the `coderook` command line. Run it with Bash.
19
19
  person needs to run `coderook sign-in` themselves — it takes a personal access
20
20
  token, so do not attempt it on their behalf.
21
21
 
22
+ If the command is not found at all, this machine has the skill but not the
23
+ command line. Either install it once with
24
+ `npm install --global @coderook/cli`, or put `npx -y @coderook/cli` where
25
+ `coderook` appears below — the commands are identical, npx is just slower
26
+ to start.
27
+
22
28
  ## Reading
23
29
 
24
30
  ```bash