@tomagranate/toolui 0.1.0 → 0.1.4
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/bin/toolui +6 -4
- package/package.json +5 -9
- package/bin/toolui-linux-x64 +0 -0
package/bin/toolui
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { spawn } from "node:child_process";
|
|
4
|
+
import { existsSync } from "node:fs";
|
|
5
|
+
import { dirname, join } from "node:path";
|
|
6
|
+
import { fileURLToPath } from "node:url";
|
|
6
7
|
|
|
8
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
7
9
|
const binDir = dirname(__filename);
|
|
8
10
|
const platform = process.platform;
|
|
9
11
|
const arch = process.arch;
|
|
@@ -34,7 +36,7 @@ const binaryPath = join(binDir, binaryName);
|
|
|
34
36
|
if (!existsSync(binaryPath)) {
|
|
35
37
|
console.error(`Binary not found: ${binaryPath}`);
|
|
36
38
|
console.error(
|
|
37
|
-
"This may happen if the postinstall script failed to download the binary."
|
|
39
|
+
"This may happen if the postinstall script failed to download the binary.",
|
|
38
40
|
);
|
|
39
41
|
console.error("Try reinstalling: npm install -g toolui");
|
|
40
42
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomagranate/toolui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "A Terminal User Interface (TUI) for running multiple local development servers and tools simultaneously",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -47,19 +47,15 @@
|
|
|
47
47
|
"node": ">=18.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@biomejs/biome": "^2.3.11",
|
|
51
|
-
"@types/bun": "latest"
|
|
52
|
-
},
|
|
53
|
-
"peerDependencies": {
|
|
54
|
-
"typescript": "^5.9.3"
|
|
55
|
-
},
|
|
56
|
-
"dependencies": {
|
|
57
50
|
"@iarna/toml": "^2.2.5",
|
|
58
51
|
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
59
52
|
"@opentui/core": "^0.1.72",
|
|
60
53
|
"@opentui/react": "^0.1.72",
|
|
61
54
|
"fuzzysort": "^3.1.0",
|
|
62
55
|
"react": "^19.2.3",
|
|
63
|
-
"zod": "^4.3.6"
|
|
56
|
+
"zod": "^4.3.6",
|
|
57
|
+
"@biomejs/biome": "^2.3.11",
|
|
58
|
+
"@types/bun": "latest",
|
|
59
|
+
"typescript": "^5.9.3"
|
|
64
60
|
}
|
|
65
61
|
}
|
package/bin/toolui-linux-x64
DELETED
|
Binary file
|