@blxzer/cursor-trellis 0.2.3 → 0.2.5

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.
@@ -1,15 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { fileURLToPath } from "node:url";
4
- import { dirname, join } from "node:path";
5
3
  import { spawn } from "node:child_process";
4
+ import { dirname, join } from "node:path";
5
+ import { fileURLToPath } from "node:url";
6
6
 
7
- const __dirname = dirname(fileURLToPath(import.meta.url));
8
- const packageRoot = join(__dirname, "..");
7
+ // Get the directory of this wrapper script
8
+ const __filename = fileURLToPath(import.meta.url);
9
+ const __dirname = dirname(__filename);
9
10
 
10
- // Forward to @blxzer/smart-search dependency
11
+ // smart-search is installed alongside cursor-trellis in node_modules
12
+ // Navigate from bin/ -> ../ -> node_modules/@blxzer/smart-search/bin/smart-search.js
11
13
  const smartSearchBin = join(
12
- packageRoot,
14
+ __dirname,
15
+ "..",
13
16
  "node_modules",
14
17
  "@blxzer",
15
18
  "smart-search",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blxzer/cursor-trellis",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "AI capabilities grow like ivy — Trellis provides the structure to guide them along a disciplined path",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "inquirer": "^9.3.7",
37
37
  "undici": "^6.21.0",
38
38
  "zod": "^4.4.2",
39
- "@blxzer/cursor-trellis-core": "0.2.3"
39
+ "@blxzer/cursor-trellis-core": "0.2.4"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@eslint/js": "^9.18.0",