carveout 0.2.0 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carveout",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Hand one part of a closed TypeScript repository to an outside contractor: a slice, stubbed and mocked, that installs, builds and tests on its own, and a checked patch back. Also checks a change made in the repository: what it reaches, the tests to run, and weakened tests or config edits.",
5
5
  "keywords": [
6
6
  "carveout",
@@ -48,6 +48,14 @@
48
48
  "types": "./dist/src/api.d.ts",
49
49
  "default": "./dist/src/api.js"
50
50
  },
51
+ "./extract": {
52
+ "types": "./dist/src/extract.d.ts",
53
+ "default": "./dist/src/extract.js"
54
+ },
55
+ "./pseudonyms": {
56
+ "types": "./dist/src/pseudonyms.d.ts",
57
+ "default": "./dist/src/pseudonyms.js"
58
+ },
51
59
  "./package.json": "./package.json"
52
60
  },
53
61
  "files": [
@@ -17,14 +17,14 @@ description: >-
17
17
  license: MIT
18
18
  compatibility: >-
19
19
  Node 22.12 or later, git and npm; Docker to run a returned folder's code. Runs
20
- the carveout@0.2.0 CLI from npm; online cuts read the npm registry.
20
+ the carveout@0.3.0 CLI from npm; online cuts read the npm registry.
21
21
  ---
22
22
 
23
23
  # carveout
24
24
 
25
- `carveout <command>` is the CLI, `carveout@0.2.0`. When `carveout --version`
25
+ `carveout <command>` is the CLI, `carveout@0.3.0`. When `carveout --version`
26
26
  prints another version or nothing, ask the person before installing it:
27
- `npm i -g carveout@0.2.0`, or put `npx carveout@0.2.0` in place of `carveout` in
27
+ `npm i -g carveout@0.3.0`, or put `npx carveout@0.3.0` in place of `carveout` in
28
28
  each command (in a clone of the repository, `node dist/src/cli.js` after
29
29
  `npm install && npm run build`). Node 22.12 or later, and `git` and `npm` on
30
30
  PATH.
@@ -69,16 +69,18 @@ kept. The sections below are each step in full.
69
69
 
70
70
  ## Hosted mode
71
71
 
72
- With the `lunox` MCP tools signed in (the plugin bundles the server; `/mcp`
73
- signs in), read the workspace with `list_workspaces`, `list_repositories`,
74
- `get_snapshot`, `list_sandboxes`, `get_sandbox` and `get_run`. For a connected
75
- repository, and only when asked: `plan_slice` (read it with `get_run`),
76
- `start_sandbox`, `cut_slice` (a draft version from a slice run and the approved
77
- proposal) and `get_handout` (public files and the hidden suite's hash, never
78
- the hidden tests). The platform keeps the receipt; patching stays local.
79
- Approvals and publishing happen in the web app: point the person there. Never
80
- ask for a token; the CLI signs in with `carveout login`. Local mode, below, is
81
- the default.
72
+ With the `lunox` MCP tools signed in (bundled; `/mcp` signs in), read with the
73
+ `list_*`/`get_*` tools. Write only when asked: a bounty (`post_bounty` or
74
+ `import_github_issue`, `size_bounty` is a paid run, `get_decisions` and
75
+ `confirm_link`), a slice (`plan_slice`, `start_sandbox`, `cut_slice`), its
76
+ build (`prepare`, then `get_handout`: public files and the hidden suite's hash
77
+ only), a contractor's patch (`submit_patch`, `get_verdict`, one `retry`).
78
+ Approvals, decisions, publishing and merging back happen in the web app. Model
79
+ runs (`size_bounty`, `prepare`, `retry`) count against a monthly token limit
80
+ (`get_usage`); on `quota_exceeded`, tell the person when it resets and do not
81
+ retry. `insufficient_scope` means signing in again through `/mcp`. Never ask
82
+ for a token; the CLI signs in with `carveout login`. Local mode, below, is the
83
+ default.
82
84
 
83
85
  ## 1. Plan
84
86
 
@@ -14,7 +14,7 @@ description: >-
14
14
  test to make it pass.
15
15
  license: MIT
16
16
  compatibility: >-
17
- Node 22.12 or later, git and npm. Runs the carveout@0.2.0 CLI from npm.
17
+ Node 22.12 or later, git and npm. Runs the carveout@0.3.0 CLI from npm.
18
18
  ---
19
19
 
20
20
  # carveout-gate
@@ -23,9 +23,9 @@ What a change made in the repository reaches, and whether it weakened the checks
23
23
  that would catch it. To hand a part of the repository to someone outside it
24
24
  instead, use the `carveout` skill.
25
25
 
26
- `carveout <command>` is the CLI, `carveout@0.2.0`. When `carveout --version`
26
+ `carveout <command>` is the CLI, `carveout@0.3.0`. When `carveout --version`
27
27
  prints another version or nothing, ask the person before installing it:
28
- `npm i -g carveout@0.2.0`, or put `npx carveout@0.2.0` in place of `carveout` in
28
+ `npm i -g carveout@0.3.0`, or put `npx carveout@0.3.0` in place of `carveout` in
29
29
  each command (in a clone of the repository, `node dist/src/cli.js` after
30
30
  `npm install && npm run build`). Node 22.12 or later, and `git` and `npm` on
31
31
  PATH.