From 63a3b204e5dd6a6d3638c8155702238208bb80e7 Mon Sep 17 00:00:00 2001 From: Sebastien Tardif Date: Wed, 8 Jul 2026 10:20:17 -0400 Subject: [PATCH 1/2] docs: add curated release notes for v0.0.9 User-facing notes for CLI 0.10 alignment, create fix, prepend, workspace --contain, and agent-rules mode/platform picks. Signed-off-by: Sebastien Tardif --- RELEASE_NOTES.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 RELEASE_NOTES.md diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md new file mode 100644 index 0000000..48811ca --- /dev/null +++ b/RELEASE_NOTES.md @@ -0,0 +1,52 @@ +# Patchloom for VS Code 0.0.9 + +This release aligns the extension with [Patchloom CLI v0.10.0](https://github.com/patchloom/patchloom/releases/tag/patchloom-v0.10.0): safer workspace CLI runs, a working Create file action on current CLI builds, and a few high-value Quick Action and Initialize Project improvements. + +## Highlights + +- **Create file actually creates files** on CLI 0.9+ and 0.10+. The action now collects initial content and always passes `--apply` (preview-only create returns exit code 2 and does not write). +- **Workspace path guarding** for Quick Actions and Batch Apply via CLI `--contain` (0.10+), so edits stay inside the open folder. +- **Prepend to file** Quick Action (CLI 0.9+) and richer **Initialize Project** options for `agent-rules` mode and platform. + +Recommended CLI: **0.10.0+** (minimum remains 0.3.0). Managed install and Marketplace auto-update pull the latest CLI when available. + +## Aligned with Patchloom CLI v0.10 + +CLI 0.8–0.10 added agent reliability features the extension now tracks: + +| CLI | What matters for the extension | +|-----|--------------------------------| +| 0.8 | 54 MCP tools (up from 43), `server_info`, better tool discovery | +| 0.9 | File `prepend` command; MCP doc params use `selector` (not `key`) | +| 0.10 | Preview exit code 2 when changes would apply; optional global `--contain` | + +Docs and tests follow those contracts so managed-install e2e and Dependabot CI stay green against the latest binary. + +## New features + +- **Prepend to file.** Quick Action for `patchloom prepend --content ` with the same diff preview and Apply flow as Append. (#189) +- **`--contain` on workspace edits.** Quick Actions and Batch Apply run the CLI with global `--contain` so paths cannot escape the workspace root. Patch merge opts out so you can still apply a patch file stored outside the project. (#189) +- **Initialize Project mode and platform.** When generating or diffing `AGENTS.md`, pick integration mode (all / CLI only / MCP only) and shell platform (all / Linux-macOS / Windows) for `patchloom agent-rules`. (#189) + +## Bug fixes + +- **Create a new file.** Previously the action ran `patchloom create ` without `--content` or `--apply`. Current CLI requires content (or stdin) and only writes when `--apply` is set. You are prompted for initial content (empty is allowed), then the file is created and opened. (#188) +- **MCP `doc_set` e2e against latest CLI.** Managed-install end-to-end tests use the `selector` parameter for `doc_set` (CLI 0.9+), matching production MCP schema. (#185) + +## Upgrading + +1. Update the extension to 0.0.9 (Marketplace, Open VSX, or VSIX). +2. Update the CLI to 0.10.0+ if you can: + +```bash +brew upgrade patchloom +# or +cargo install patchloom --locked +# or +# Command Palette: Patchloom: Update Patchloom +``` + +3. Re-run **Patchloom: Setup Workspace** or **Initialize Project** if you want fresh agent rules with the new mode/platform choices. +4. For MCP in Cursor/VS Code/Windsurf, **Configure MCP** is unchanged; restart the MCP host after a CLI upgrade so tool lists refresh. + +No settings migration is required. Existing `patchloom.path` and managed installs continue to work. From eb2e6be683b691da18fd7a8445be2aa7ea9d89ee Mon Sep 17 00:00:00 2001 From: Sebastien Tardif Date: Wed, 8 Jul 2026 10:20:34 -0400 Subject: [PATCH 2/2] docs: keep release notes user-facing Signed-off-by: Sebastien Tardif --- RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 48811ca..986cbe7 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -20,7 +20,7 @@ CLI 0.8–0.10 added agent reliability features the extension now tracks: | 0.9 | File `prepend` command; MCP doc params use `selector` (not `key`) | | 0.10 | Preview exit code 2 when changes would apply; optional global `--contain` | -Docs and tests follow those contracts so managed-install e2e and Dependabot CI stay green against the latest binary. +Docs and tests follow those contracts so the extension stays compatible with the latest managed CLI install. ## New features