shellbell 0.0.0-stage → 0.7.0
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/README.md +30 -2
- package/dist/cli.js +49 -0
- package/dist/licenses/@noble_ciphers--2.4.0--LICENSE +22 -0
- package/dist/licenses/@noble_curves--2.4.0--LICENSE +21 -0
- package/dist/licenses/@noble_hashes--2.4.0--LICENSE +21 -0
- package/dist/licenses/Shellbell-LICENSE +21 -0
- package/dist/licenses/cborg--6.1.2--LICENSE +13 -0
- package/dist/native-controller.js +4 -0
- package/dist/native-service.js +4 -0
- package/dist/service-entry-DT67AfYt.js +11 -0
- package/dist/service-lifecycle-CcyJ7m6L.js +29 -0
- package/package.json +55 -3
- package/runtime/terminal-plugin-loader.d.mts +1 -0
- package/runtime/terminal-plugin-loader.mjs +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shellbell",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"description": "Shellbell agent — mirrors your Mac's terminal sessions to your phone",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"imports": {
|
|
7
|
+
"#terminal-plugin-loader": "./runtime/terminal-plugin-loader.mjs"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"os": [
|
|
11
|
+
"darwin"
|
|
12
|
+
],
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=22"
|
|
15
|
+
},
|
|
16
|
+
"bin": {
|
|
17
|
+
"shellbell": "dist/cli.js"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"runtime",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@bufbuild/protobuf": "2.14.1",
|
|
26
|
+
"commander": "15.0.0",
|
|
27
|
+
"node-datachannel": "0.33.4",
|
|
28
|
+
"qrcode-terminal": "0.12.0",
|
|
29
|
+
"ws": "8.21.3",
|
|
30
|
+
"zod": "4.5.4"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@bufbuild/buf": "1.72.0",
|
|
34
|
+
"@bufbuild/protoc-gen-es": "2.14.1",
|
|
35
|
+
"@types/node": "26.4.1",
|
|
36
|
+
"@types/qrcode-terminal": "0.12.2",
|
|
37
|
+
"@types/ws": "8.18.1",
|
|
38
|
+
"@xterm/headless": "6.0.0",
|
|
39
|
+
"tsdown": "0.23.0",
|
|
40
|
+
"tsx": "4.23.13",
|
|
41
|
+
"typescript": "5.9.3",
|
|
42
|
+
"vitest": "5.0.0",
|
|
43
|
+
"@shellbell/protocol": "0.4.0"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"proto:gen": "buf generate",
|
|
47
|
+
"prebuild": "pnpm proto:gen",
|
|
48
|
+
"typecheck": "buf generate && tsc --noEmit -p tsconfig.json",
|
|
49
|
+
"test": "buf generate && vitest run",
|
|
50
|
+
"build": "tsdown && node scripts/bundle-licenses.mjs",
|
|
51
|
+
"dev": "tsx src/cli.ts",
|
|
52
|
+
"spike:iterm2": "pnpm proto:gen && tsx scripts/spike-iterm2.ts",
|
|
53
|
+
"spike:tmux": "tsx scripts/spike-tmux.ts",
|
|
54
|
+
"spike:herdr": "tsx scripts/spike-herdr.ts",
|
|
55
|
+
"check:bundle": "node scripts/check-bundle.mjs",
|
|
56
|
+
"pack:smoke": "bash scripts/pack-smoke.sh"
|
|
57
|
+
}
|
|
6
58
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function importTerminalPlugin(url: string): Promise<{ default: unknown }>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Owner-enabled plugins are trusted local code, outside the packaged import closure.
|
|
2
|
+
export async function importTerminalPlugin(url) {
|
|
3
|
+
const source = new URL(url);
|
|
4
|
+
if (source.protocol !== "file:" || source.host || source.search || source.hash)
|
|
5
|
+
throw new Error("Terminal plugin must use a plain local file URL");
|
|
6
|
+
return import(source.href);
|
|
7
|
+
}
|