trueline-mcp 2.3.0 → 2.4.1

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.
Files changed (2) hide show
  1. package/dist/server.js +2 -2
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -22353,7 +22353,7 @@ class StdioServerTransport {
22353
22353
  // package.json
22354
22354
  var package_default = {
22355
22355
  name: "trueline-mcp",
22356
- version: "2.3.0",
22356
+ version: "2.4.1",
22357
22357
  type: "module",
22358
22358
  description: "Truth-verified file editing for AI coding agents via MCP",
22359
22359
  license: "Apache-2.0",
@@ -24189,7 +24189,7 @@ var rawProjectDir = process.env.CLAUDE_PROJECT_DIR ?? process.cwd();
24189
24189
  var projectDir = await realpath3(rawProjectDir).catch(() => rawProjectDir);
24190
24190
  async function resolveAllowedDirs() {
24191
24191
  const dirs = [];
24192
- if (process.env.CLAUDE_PROJECT_DIR) {
24192
+ if (process.env.CLAUDECODE) {
24193
24193
  const claudeDir = join2(homedir2(), ".claude");
24194
24194
  await mkdir2(claudeDir, { recursive: true }).catch(() => {});
24195
24195
  const realClaudeDir = await realpath3(claudeDir).catch(() => null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trueline-mcp",
3
- "version": "2.3.0",
3
+ "version": "2.4.1",
4
4
  "type": "module",
5
5
  "description": "Truth-verified file editing for AI coding agents via MCP",
6
6
  "license": "Apache-2.0",