@terminal49/bridge-cli 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/bin/t49bridge.js +4 -1
  2. package/package.json +1 -1
package/bin/t49bridge.js CHANGED
@@ -1,9 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  const { spawn } = require("node:child_process");
3
3
  const { resolve } = require("node:path");
4
+ const { createRequire } = require("node:module");
4
5
 
5
6
  const cliPath = resolve(__dirname, "../cli/bridge-cli.ts");
6
- const args = ["--import", "tsx", cliPath, ...process.argv.slice(2)];
7
+ const localRequire = createRequire(__filename);
8
+ const tsxPath = localRequire.resolve("tsx");
9
+ const args = ["--import", tsxPath, cliPath, ...process.argv.slice(2)];
7
10
 
8
11
  const child = spawn(process.execPath, args, { stdio: "inherit" });
9
12
  child.on("exit", (code) => process.exit(code ?? 0));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@terminal49/bridge-cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Bridge CLI and meeting search skill for LLMs",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {