@lousy-agents/cli 5.19.7 → 5.20.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.
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@biomejs/biome": "2.5.3",
21
- "@lousy-agents/mcp": "5.19.6",
21
+ "@lousy-agents/mcp": "5.19.8",
22
22
  "@modelcontextprotocol/server-sequential-thinking": "2026.7.4",
23
23
  "@testcontainers/postgresql": "12.1.0",
24
24
  "@types/node": "24.13.3",
@@ -956,9 +956,9 @@
956
956
  }
957
957
  },
958
958
  "node_modules/@lousy-agents/mcp": {
959
- "version": "5.19.6",
960
- "resolved": "https://registry.npmjs.org/@lousy-agents/mcp/-/mcp-5.19.6.tgz",
961
- "integrity": "sha512-kmhkJfsi91JTtNiyfVXRLOD1KdzZY+BrV+IMymidMDZqgkPxm3HOgp8SViZDcE4+eGOxyNe88jXQh0634IjTKQ==",
959
+ "version": "5.19.8",
960
+ "resolved": "https://registry.npmjs.org/@lousy-agents/mcp/-/mcp-5.19.8.tgz",
961
+ "integrity": "sha512-gvYTyFLSBeAaVcz5f/pZ6jJ8fpRaQeed0MYe13x74qCZA9CfPn6Slw6R5khNLdx4zPYaKLes02T/xnnKZUjsSg==",
962
962
  "dev": true,
963
963
  "license": "BSD-2-Clause-Patent",
964
964
  "dependencies": {
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@biomejs/biome": "2.5.3",
32
- "@lousy-agents/mcp": "5.19.6",
32
+ "@lousy-agents/mcp": "5.19.8",
33
33
  "@modelcontextprotocol/server-sequential-thinking": "2026.7.4",
34
34
  "@testcontainers/postgresql": "12.1.0",
35
35
  "@types/node": "24.13.3",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@biomejs/biome": "2.5.3",
23
- "@lousy-agents/mcp": "5.19.6",
23
+ "@lousy-agents/mcp": "5.19.8",
24
24
  "@modelcontextprotocol/server-sequential-thinking": "2026.7.4",
25
25
  "@types/node": "24.13.3",
26
26
  "@upstash/context7-mcp": "4.0.0",
package/dist/index.js CHANGED
@@ -3064,6 +3064,7 @@ const OPERATIONAL_CODES = new Set([
3064
3064
  "not-found",
3065
3065
  "not-removable",
3066
3066
  "permission-unverified",
3067
+ "read-failed",
3067
3068
  "timeout",
3068
3069
  "unsupported-platform",
3069
3070
  ]);
@@ -7429,7 +7430,6 @@ async function openVerifiedLocalFile(filePath, options) {
7429
7430
  if (!preOpenStat.isFile() && !preOpenStat.isSymbolicLink()) {
7430
7431
  throw new errors_FsSafeError("not-file", "not a file");
7431
7432
  }
7432
- await fsSafeTestHooks?.afterPreOpenLstat?.(filePath);
7433
7433
  }
7434
7434
  catch (err) {
7435
7435
  if (err instanceof errors_FsSafeError) {
@@ -7437,6 +7437,9 @@ async function openVerifiedLocalFile(filePath, options) {
7437
7437
  }
7438
7438
  // ENOENT and other lstat errors: fall through and let fs.open handle.
7439
7439
  }
7440
+ if (preOpenStat) {
7441
+ await fsSafeTestHooks?.afterPreOpenLstat?.(filePath);
7442
+ }
7440
7443
  let handle;
7441
7444
  try {
7442
7445
  const openFlags = options?.symlinks === "follow-within-root"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lousy-agents/cli",
3
- "version": "5.19.7",
3
+ "version": "5.20.0",
4
4
  "description": "CLI scaffolding tool that sets up projects with structure, instructions, and feedback loops for AI coding assistants",
5
5
  "type": "module",
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  "devDependencies": {
24
24
  "@biomejs/biome": "2.5.3",
25
25
  "@eslint/eslintrc": "3.3.6",
26
- "@lousy-agents/mcp": "5.19.6",
26
+ "@lousy-agents/mcp": "5.19.8",
27
27
  "@modelcontextprotocol/server-sequential-thinking": "2026.7.4",
28
28
  "@testing-library/jest-dom": "7.0.0",
29
29
  "@testing-library/react": "16.3.2",