Skip to content

Commit 7fb7c43

Browse files
committed
Update AGENTS.md: add util.ts, patchloomCli.test.ts, fix test counts
- Add src/util.ts to project structure - Add patchloomCli.test.ts (24 CLI integration tests) to test listing - Fix binary.test.ts count: 32 -> 38 - Fix initializeProject.test.ts count: 14 -> 15 - Fix npm run test description: does not run extension tests Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
1 parent 32e734d commit 7fb7c43

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Patchloom for VS Code is the official VS Code extension for [Patchloom](https://
1313
| `npm run watch` | Watch mode for extension source |
1414
| `npm run test:unit` | Run unit tests (`node --test ./out-test/test/unit/*.test.js`) |
1515
| `npm run test:extension` | Run VS Code extension integration tests |
16-
| `npm run test` | Compile + compile-tests + unit tests + extension tests |
16+
| `npm run test` | Compile + compile-tests + unit tests |
1717
| `npm run package` | Package the `.vsix` using `@vscode/vsce` |
1818
| `npm run check` | Full CI gate: test + package |
1919

@@ -24,6 +24,7 @@ Always run `npm run check` before committing.
2424
```
2525
src/
2626
extension.ts Thin entrypoint: registers commands, status bar, config listeners
27+
util.ts Shared utilities (formatError)
2728
binary/patchloom.ts Binary discovery, version parsing, compatibility assessment
2829
commands/
2930
configureMcp.ts Configure MCP command: multi-target MCP config injection
@@ -37,11 +38,12 @@ src/
3738
workspace/readiness.ts Workspace readiness: environment detection, folder selection
3839
test/
3940
unit/ Unit tests (node:test, dependency-injected, no VS Code API)
40-
binary.test.ts Binary discovery, managed install, compatibility (32 tests)
41+
binary.test.ts Binary discovery, managed install, compatibility, workspace env (38 tests)
4142
binaryDiscovery.test.ts Real executable discovery on PATH (10 tests)
42-
initializeProject.test.ts Status display, agents file classification (14 tests)
43+
initializeProject.test.ts Status display, agents file classification (15 tests)
4344
managedLifecycle.test.ts Managed install with real file I/O (10 tests)
4445
mcpConfig.test.ts MCP config with real temp directories (9 tests)
46+
patchloomCli.test.ts Patchloom CLI integration tests with real binary (24 tests)
4547
quickActions.test.ts Quick action command building (6 tests)
4648
suite/
4749
index.ts VS Code extension integration tests

0 commit comments

Comments
 (0)