Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 25 additions & 10 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
"compile-uitests": "tsc -p ./tsconfig.uitest.json",
"watch": "tsc -watch -p ./",
"test:unit": "node --test ./out-test/test/unit/*.test.js",
"test:coverage": "node --test --experimental-test-coverage --test-coverage-lines=80 --test-coverage-exclude='out-test/src/extension*' --test-coverage-exclude='out-test/src/commands/showStatus*' --test-coverage-exclude='out-test/src/commands/configureMcp*' --test-coverage-exclude='out-test/src/commands/setupWorkspace*' --test-coverage-exclude='out-test/src/commands/batchApply*' --test-coverage-exclude='out-test/src/commands/quickActions*' --test-coverage-exclude='out-test/src/status/statusBar*' --test-coverage-exclude='out-test/test/unit/patchloomCli*' ./out-test/test/unit/*.test.js",
"test:coverage": "node --test --experimental-test-coverage --test-coverage-lines=80 --test-coverage-exclude=\"out-test/src/extension*\" --test-coverage-exclude=\"out-test/src/commands/showStatus*\" --test-coverage-exclude=\"out-test/src/commands/configureMcp*\" --test-coverage-exclude=\"out-test/src/commands/setupWorkspace*\" --test-coverage-exclude=\"out-test/src/commands/batchApply*\" --test-coverage-exclude=\"out-test/src/commands/quickActions*\" --test-coverage-exclude=\"out-test/src/status/statusBar*\" --test-coverage-exclude=\"out-test/test/unit/patchloomCli*\" ./out-test/test/unit/*.test.js",
"test:extension": "node ./out-test/test/suite/runExtensionTests.js",
"test:ui": "npm run compile && npm run compile-uitests && extest setup-and-run './out-uitest/test/ui/*.test.js' --code_version max --extensions_dir .vscode-test/extensions",
"test": "npm run compile && npm run compile-tests && npm run test:unit",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/configureMcp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ export async function configureMcp(preset?: vscode.WorkspaceFolder): Promise<boo
[
{
label: "Full tool inventory",
description: "Default (66 tools on CLI 0.37+; verified on 0.37.5)",
description: "Default (66 tools on CLI 0.37+; verified on 0.37.10)",
surface: "full" as const
},
{
label: "Core pack",
description: "Sets PATCHLOOM_MCP_SURFACE=core (12 tools on CLI 0.37+; verified on 0.37.5; 11 on 0.22-0.36)",
description: "Sets PATCHLOOM_MCP_SURFACE=core (12 tools on CLI 0.37+; verified on 0.37.10; 11 on 0.22-0.36)",
surface: "core" as const
}
],
Expand Down
2 changes: 1 addition & 1 deletion src/mcp/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export interface McpApplyInputs extends McpInspectionInputs {
readonly includeKinds?: readonly McpTargetKind[];
/**
* MCP tool inventory for coding agents (CLI 0.22+ / 0.24+).
* `core` sets `PATCHLOOM_MCP_SURFACE=core` on the server entry (12 tools on CLI 0.37+; verified on 0.37.5).
* `core` sets `PATCHLOOM_MCP_SURFACE=core` on the server entry (12 tools on CLI 0.37+; verified on 0.37.10).
* Default `full` omits the env var so the CLI uses its full inventory.
*/
readonly mcpSurface?: McpSurface;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/managedLifecycle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ test("performManagedInstall promotes patchloom.exe from a flat Windows zip", asy
}
},
extractArchive: async (inputs) => {
// Windows cargo-dist zip (0.37.0 through 0.37.5): patchloom.exe at the archive root.
// Windows cargo-dist zip (0.37.0 through 0.37.10): patchloom.exe at the archive root.
await fs.writeFile(path.join(inputs.destDir, "patchloom.exe"), "windows-binary", "utf8");
},
readFileContent: async (filePath) => fs.readFile(filePath, "utf8"),
Expand Down
2 changes: 1 addition & 1 deletion walkthrough/configure-mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ operations directly: search, replace, tidy, and more.

Click **Configure MCP** above to set up the MCP server configuration
for your editor. Choose the **full** tool inventory or the **core** pack
(sets `PATCHLOOM_MCP_SURFACE=core` for a smaller 12-tool handshake on CLI 0.37+, verified on 0.37.5).
(sets `PATCHLOOM_MCP_SURFACE=core` for a smaller 12-tool handshake on CLI 0.37+, verified on 0.37.10).

## Supported Editors

Expand Down
Loading