patchwork-os 0.2.0-beta.13.canary.254 → 0.2.0-beta.13.canary.255

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.bridge.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Claude IDE Bridge
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/claude-ide-bridge)](https://www.npmjs.com/package/claude-ide-bridge)
4
- [![CI](https://github.com/Oolab-labs/claude-ide-bridge/actions/workflows/ci.yml/badge.svg)](https://github.com/Oolab-labs/claude-ide-bridge/actions/workflows/ci.yml)
5
- [![Docker](https://img.shields.io/badge/docker-ghcr.io%2FOolab--labs%2Fclaude--ide--bridge-blue)](https://github.com/Oolab-labs/claude-ide-bridge/pkgs/container/claude-ide-bridge)
6
- [![License: MIT](https://img.shields.io/npm/l/claude-ide-bridge)](https://opensource.org/licenses/MIT)
3
+ [![npm version](https://img.shields.io/npm/v/patchwork-os)](https://www.npmjs.com/package/patchwork-os)
4
+ [![CI](https://github.com/Oolab-labs/patchwork-os/actions/workflows/ci.yml/badge.svg)](https://github.com/Oolab-labs/patchwork-os/actions/workflows/ci.yml)
5
+ [![Docker](https://img.shields.io/badge/docker-ghcr.io%2FOolab--labs%2Fpatchwork--os-blue)](https://github.com/Oolab-labs/patchwork-os/pkgs/container/patchwork-os)
6
+ [![License: MIT](https://img.shields.io/npm/l/patchwork-os)](https://opensource.org/licenses/MIT)
7
7
 
8
8
  **MCP bridge giving Claude Code IDE superpowers — 170+ tools for LSP, debugging, git, GitHub, terminals, and more (see [platform-docs](documents/platform-docs.md) for the full list).**
9
9
 
@@ -21,7 +21,7 @@ https://github.com/user-attachments/assets/a81a8d11-2cc3-46f3-88ad-6a905a221a2c
21
21
 
22
22
  ## Quick Start
23
23
 
24
- **Prerequisites:** [Claude Code CLI](https://claude.ai/code), Node.js ≥ 22
24
+ **Prerequisites:** [Claude Code CLI](https://claude.ai/code), Node.js ≥ 20
25
25
 
26
26
  ```bash
27
27
  # 1. Install the bridge
@@ -182,8 +182,8 @@ The sidebar's quick-task buttons also work from the CLI — same context-gatheri
182
182
 
183
183
  ```bash
184
184
  # 7 presets: fixErrors · refactorFile · addTests · explainCode · optimizePerf · runTests · resumeLastCancelled
185
- claude-ide-bridge quick-task fix-errors
186
- claude-ide-bridge quick-task add-tests --json
185
+ claude-ide-bridge quick-task fixErrors
186
+ claude-ide-bridge quick-task addTests --json
187
187
 
188
188
  # free-form description (Claude gathers its own context)
189
189
  claude-ide-bridge start-task "Refactor the auth module for clarity, keep behaviour identical"
@@ -204,7 +204,8 @@ Event-driven hooks that trigger Claude tasks automatically — no polling, no ma
204
204
  {
205
205
  "hooks": [
206
206
  {
207
- "event": "onDiagnosticsError",
207
+ "event": "onDiagnosticsStateChange",
208
+ "state": "error",
208
209
  "prompt": "Fix the type error in {{file}}: {{diagnostics}}",
209
210
  "cooldownMs": 30000
210
211
  },
@@ -226,7 +227,7 @@ Start with:
226
227
  claude-ide-bridge --watch --automation --automation-policy ./policy.json --driver subprocess
227
228
  ```
228
229
 
229
- **18 hook events:** `onFileSave`, `onFileChanged`, `onDiagnosticsError`, `onDiagnosticsCleared`, `onGitCommit`, `onGitPush`, `onGitPull`, `onBranchCheckout`, `onPullRequest`, `onTestRun`, `onTestPassAfterFailure`, `onPostCompact`, `onInstructionsLoaded`, `onTaskCreated`, `onTaskSuccess`, `onPermissionDenied`, `onCwdChanged`, `onDebugSessionEnd`
230
+ **Hook events:** `onFileSave`, `onFileChanged`, `onRecipeSave`, `onDiagnosticsStateChange` (`state: "error"|"cleared"`), `onGitCommit`, `onGitPush`, `onGitPull`, `onBranchCheckout`, `onPullRequest`, `onTestRun` (`filter: "any"|"failure"|"pass-after-fail"`), `onCompaction` (`phase: "pre"|"post"`), `onInstructionsLoaded`, `onTaskCreated`, `onTaskSuccess`, `onPermissionDenied`, `onCwdChanged`, `onDebugSession` (`phase: "start"|"end"`). The pre-v2.43.0 split names (`onDiagnosticsError`/`onDiagnosticsCleared`, `onPreCompact`/`onPostCompact`, `onTestPassAfterFailure`, `onDebugSessionStart`/`onDebugSessionEnd`) are still accepted but deprecated.
230
231
 
231
232
  All hooks support `cooldownMs` (min 5s), `promptName`/`promptArgs` for named prompts, and `when` conditions (`minDiagnosticCount`, `testRunnerLastStatus`). See [docs/automation.md](docs/automation.md).
232
233
 
@@ -259,12 +260,11 @@ See [documents/plugin-authoring.md](documents/plugin-authoring.md) for the full
259
260
  Install curated companion MCP servers directly into your Claude Desktop config:
260
261
 
261
262
  ```bash
262
- claude-ide-bridge marketplace list
263
- claude-ide-bridge marketplace search memory
264
- claude-ide-bridge install claude-mem
263
+ claude-ide-bridge install memory
264
+ claude-ide-bridge install superpowers --target desktop
265
265
  ```
266
266
 
267
- `install` merges the companion into `mcpServers` in your Claude Desktop config atomically and idempotently — no manual JSON editing.
267
+ Bundled companions: `memory`, `superpowers`, `devtools`, `database`, `slack`, `playwright`, `codebase-memory`. `install` merges the companion into `mcpServers` in your Claude Desktop (or Claude Code CLI) config atomically and idempotently — no manual JSON editing.
268
268
 
269
269
  ---
270
270
 
@@ -279,8 +279,7 @@ claude-ide-bridge install claude-mem
279
279
  | `claude-ide-bridge gen-claude-md --write` | Add bridge section to existing CLAUDE.md |
280
280
  | `claude-ide-bridge print-token` | Print auth token from active lock file |
281
281
  | `claude-ide-bridge gen-plugin-stub <dir>` | Scaffold a new plugin |
282
- | `claude-ide-bridge marketplace list` | List available companion servers |
283
- | `claude-ide-bridge install <companion>` | Install companion into Claude Desktop config |
282
+ | `claude-ide-bridge install <companion>` | Install a bundled companion server into Claude Desktop / Claude Code config |
284
283
  | `claude-ide-bridge notify <Event>` | Post a hook event to a running bridge (for CC hook wiring) |
285
284
  | `claude-ide-bridge quick-task <preset>` | Launch a context-aware Claude task from a preset (headless parity with the sidebar) |
286
285
  | `claude-ide-bridge start-task "<description>"` | Enqueue a free-form Claude task with workspace context |
@@ -333,7 +332,7 @@ claude-ide-bridge install claude-mem
333
332
 
334
333
  ## Requirements
335
334
 
336
- - **Node.js ≥ 22** (bridge)
335
+ - **Node.js ≥ 20** (bridge)
337
336
  - **VS Code, Cursor, or Windsurf** — optional. Headless mode covers git, terminals, GitHub, and LSP via `typescript-language-server`. Extension required for debugger, editor decorations, and live editor state.
338
337
  - **Claude Code CLI** — for local use. Remote MCP clients (claude.ai, Codex CLI) work via Streamable HTTP transport with OAuth 2.0.
339
338
 
package/README.md CHANGED
@@ -347,7 +347,7 @@ Start the bridge with `--issuer-url https://your-domain.com` to expose a full OA
347
347
 
348
348
  ### 🪟 Native Windows support
349
349
 
350
- Bridge, VS Code extension, smoke harness, and CI are all green on native Windows — no WSL required. See [Windows Quick Start](#-windows-quick-start) above.
350
+ Bridge, VS Code extension, smoke harness, and CI are all green on native Windows — no WSL required. See [Windows](#windows) above.
351
351
 
352
352
  ### ☀️ Morning summary
353
353
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchwork-os",
3
- "version": "0.2.0-beta.13.canary.254",
3
+ "version": "0.2.0-beta.13.canary.255",
4
4
  "description": "Your personal AI runtime, local-first. Patchwork OS gives any AI model a consistent set of tools, YAML recipes, a delegation policy with approval queue, and a durable trace memory — all on your machine, all under your policy.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -110,7 +110,7 @@ Workflow:
110
110
 
111
111
  **If bridge tools are missing from your tool list inside Cowork:** you're in the wrong context. Exit, run the prompt in regular chat, then return.
112
112
 
113
- Full details: [docs/cowork-workflow.md](docs/cowork-workflow.md)
113
+ Full details: [docs/cowork.md](docs/cowork.md)
114
114
 
115
115
  **Cowork uses git worktrees:** Cowork sessions operate in an isolated git worktree (separate branch/working copy), not the main workspace root. Files written by Cowork land in the worktree. Always add "write all files to the workspace root, not a subdirectory" as the first instruction in your CLAUDE.md when using Cowork with a synced workspace. After Cowork finishes, review and merge the worktree branch back to main.
116
116