@flemist/mcp-project-tools 3.0.10 → 3.0.12

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/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Command as u } from "commander";
2
- import { S as c, a as p, b as f, A as g, p as m, s as d } from "./startMcpServer-Yp1zN-1S.js";
2
+ import { S as c, a as p, b as f, A as g, p as m, s as d } from "./startMcpServer-DqxPC2vp.js";
3
3
  import * as i from "path";
4
4
  import * as h from "fs";
5
5
  import C from "deepmerge";
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { s } from "./startMcpServer-Yp1zN-1S.js";
1
+ import { s } from "./startMcpServer-DqxPC2vp.js";
2
2
  export {
3
3
  s as startMcpServer
4
4
  };
@@ -998,7 +998,7 @@ function Tr(r, t) {
998
998
  }
999
999
  return e;
1000
1000
  }
1001
- const Cr = "3.0.10", vr = {
1001
+ const Cr = "3.0.12", vr = {
1002
1002
  version: Cr
1003
1003
  }, ao = "Project Tools", lo = "project-tools", co = vr.version, uo = "d00f70240703039df14c76176a055bce6b5484d2b552ba2c89820f03b8e5e60d", Re = 25e3;
1004
1004
  function Fe(r) {
@@ -1949,7 +1949,7 @@ class qr {
1949
1949
  // +1 indent, +1 for line break
1950
1950
  getReportText = (t) => ({
1951
1951
  indent: !0,
1952
- textOpen: `[${t.indexRange[0]}-${t.indexRange[1]}] ${t.countMatched} matched ${t.tokensGrouped} tokens`,
1952
+ textOpen: `[${t.indexRange[0]}-${t.indexRange[1]}] see more ${t.countMatched} matched ${t.tokensGrouped} tokens`,
1953
1953
  textClose: null
1954
1954
  });
1955
1955
  add = (t, s, o) => t == null ? {
@@ -2611,7 +2611,7 @@ function ds(r, t) {
2611
2611
  "fs-snapshot-search-or-replace",
2612
2612
  {
2613
2613
  title: "Search/Replace File Contents in Snapshot",
2614
- description: "Search/replace file contents using JS RegExp. Use this to find text patterns or perform bulk replacements across snapshot files",
2614
+ description: "Search/replace file contents using JS RegExp. Use this to find text patterns or perform bulk replacements across snapshot files. Combine all patterns into the `operations` array within one tool call; never split patterns across multiple tool calls",
2615
2615
  inputSchema: wt.shape
2616
2616
  },
2617
2617
  async (s, o) => {
@@ -2630,7 +2630,7 @@ function ds(r, t) {
2630
2630
  `), n += `✅ Search/replace in snapshot "${e.fsSnapshot.name}":
2631
2631
  `, n += `Root directory (<root>/): ${e.rootDir}
2632
2632
  `, n += `
2633
- ${e.output}`, n;
2633
+ ${e.output}`, n += "\n\nReminder: combine all patterns into one `operations` array in one tool call; never split patterns across multiple tool calls", n;
2634
2634
  }
2635
2635
  );
2636
2636
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flemist/mcp-project-tools",
3
- "version": "3.0.10",
3
+ "version": "3.0.12",
4
4
  "description": "MCP project tools",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -22,36 +22,6 @@
22
22
  "stylelint --fix --allow-empty-input"
23
23
  ]
24
24
  },
25
- "scripts": {
26
- "========================= install =========================": "",
27
- "prepare": "node .husky/install.mjs",
28
- "preinstall": "npx only-allow pnpm",
29
- "_prepublishOnly": "pnpm build && pnpm test:unit",
30
- "publish:check": "pnpm pack",
31
- "========================= deploy =========================": "",
32
- "build": "vite build",
33
- "build:portable": "vite build && shx cp static/** build && shx cp package.json build && cd build && pnpm install --prod --shamefully-hoist --node-linker=hoisted --ignore-scripts && cd ..",
34
- "========================= start =========================": "",
35
- "dev": "tsx src/cli.ts",
36
- "preview": "node build",
37
- "========================= lint =========================": "",
38
- "audit": "pnpm audit --prod",
39
- "lint:es": "eslint --config eslint.config.mjs .",
40
- "lint:es:fix": "eslint --config eslint.config.mjs --fix .",
41
- "lint": "run-p lint:es",
42
- "lint:fix": "run-s lint:es:fix",
43
- "lint-staged": "lint-staged",
44
- "========================= test =========================": "",
45
- "test": "run-s test:unit test:api test:e2e",
46
- "test:e2e": "vitest --run --bail 3 .e2e.",
47
- "test:api": "vitest --run --bail 3 .api.",
48
- "test:unit": "vitest --run --bail 3 .test.",
49
- "test:types": "tsc --noEmit",
50
- "========================= dev =========================": "",
51
- "kill-node": "taskkill /F /IM node.exe",
52
- "kill-java": "taskkill /F /IM java.exe",
53
- "kill-chrome": "taskkill /F /IM chrome.exe"
54
- },
55
25
  "repository": {
56
26
  "type": "git",
57
27
  "url": "git+https://github.com/NikolayMakhonin/mcp-project.git"
@@ -115,5 +85,33 @@
115
85
  "playwright": "^1.54.1",
116
86
  "tree-kill": "1.2.2",
117
87
  "zod": "3.25.74"
88
+ },
89
+ "scripts": {
90
+ "========================= install =========================": "",
91
+ "preinstall": "npx only-allow pnpm",
92
+ "publish:check": "pnpm pack",
93
+ "========================= deploy =========================": "",
94
+ "build": "vite build",
95
+ "build:portable": "vite build && shx cp static/** build && shx cp package.json build && cd build && pnpm install --prod --shamefully-hoist --node-linker=hoisted --ignore-scripts && cd ..",
96
+ "========================= start =========================": "",
97
+ "dev": "tsx src/cli.ts",
98
+ "preview": "node build",
99
+ "========================= lint =========================": "",
100
+ "audit": "pnpm audit --prod",
101
+ "lint:es": "eslint --config eslint.config.mjs .",
102
+ "lint:es:fix": "eslint --config eslint.config.mjs --fix .",
103
+ "lint": "run-p lint:es",
104
+ "lint:fix": "run-s lint:es:fix",
105
+ "lint-staged": "lint-staged",
106
+ "========================= test =========================": "",
107
+ "test": "run-s test:unit test:api test:e2e",
108
+ "test:e2e": "vitest --run --bail 3 .e2e.",
109
+ "test:api": "vitest --run --bail 3 .api.",
110
+ "test:unit": "vitest --run --bail 3 .test.",
111
+ "test:types": "tsc --noEmit",
112
+ "========================= dev =========================": "",
113
+ "kill-node": "taskkill /F /IM node.exe",
114
+ "kill-java": "taskkill /F /IM java.exe",
115
+ "kill-chrome": "taskkill /F /IM chrome.exe"
118
116
  }
119
- }
117
+ }