@terminal49/bridge-cli 0.1.2 → 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.
- package/SKILL.md +2 -10
- package/bin/t49bridge.js +4 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -9,7 +9,7 @@ Search and retrieve meeting data from Terminal49's Fathom.video ingestion platfo
|
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Install the public npm package (CLI included):
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
npm install -g @terminal49/bridge-cli
|
|
@@ -21,14 +21,6 @@ Or run via npx:
|
|
|
21
21
|
npx @terminal49/bridge-cli -- help
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Alternative: clone the Bridge repo and install dependencies:
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
git clone https://github.com/Terminal49/bridge.git
|
|
28
|
-
cd bridge
|
|
29
|
-
npm install
|
|
30
|
-
```
|
|
31
|
-
|
|
32
24
|
## Prerequisites
|
|
33
25
|
|
|
34
26
|
The CLI requires authentication. If commands fail with "Not logged in", run:
|
|
@@ -45,7 +37,7 @@ t49bridge whoami
|
|
|
45
37
|
|
|
46
38
|
## Commands
|
|
47
39
|
|
|
48
|
-
Use `t49bridge` if installed globally or via npx.
|
|
40
|
+
Use `t49bridge` if installed globally or via npx.
|
|
49
41
|
|
|
50
42
|
### Search Transcripts
|
|
51
43
|
|
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
|
|
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));
|