Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

feat(speech): smart-whisper native dependency (desktop-dictation Task 7)

enesdac10ec14a6d
diff --git a/package-lock.json b/package-lock.json
index 45b688520..893a963f7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -18,6 +18,7 @@
"monaco-editor": "^0.52.2",
"node-pty": "^1.0.0",
"qrcode": "^1.5.4",
+ "smart-whisper": "^0.8.1",
"tweetnacl": "^1.0.3",
"ws": "^8.21.0",
"zustand": "^4.5.7"
@@ -105,9 +106,6 @@
"cpu": [
"arm64"
],
- "libc": [
- "glibc"
- ],
"license": "SEE LICENSE IN LICENSE.md",
"optional": true,
"os": [
@@ -121,9 +119,6 @@
"cpu": [
"arm64"
],
- "libc": [
- "musl"
- ],
"license": "SEE LICENSE IN LICENSE.md",
"optional": true,
"os": [
@@ -137,9 +132,6 @@
"cpu": [
"x64"
],
- "libc": [
- "glibc"
- ],
"license": "SEE LICENSE IN LICENSE.md",
"optional": true,
"os": [
@@ -153,9 +145,6 @@
"cpu": [
"x64"
],
- "libc": [
- "musl"
- ],
"license": "SEE LICENSE IN LICENSE.md",
"optional": true,
"os": [
@@ -2384,9 +2373,6 @@
"arm64"
],
"dev": true,
- "libc": [
- "glibc"
- ],
"license": "MIT",
"optional": true,
"os": [
@@ -2404,9 +2390,6 @@
"arm64"
],
"dev": true,
- "libc": [
- "musl"
- ],
"license": "MIT",
"optional": true,
"os": [
@@ -2424,9 +2407,6 @@
"x64"
],
"dev": true,
- "libc": [
- "glibc"
- ],
"license": "MIT",
"optional": true,
"os": [
@@ -2444,9 +2424,6 @@
"x64"
],
"dev": true,
- "libc": [
- "musl"
- ],
"license": "MIT",
"optional": true,
"os": [
@@ -6031,9 +6008,6 @@
"arm64"
],
"dev": true,
- "libc": [
- "glibc"
- ],
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -6055,9 +6029,6 @@
"arm64"
],
"dev": true,
- "libc": [
- "musl"
- ],
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -6079,9 +6050,6 @@
"x64"
],
"dev": true,
- "libc": [
- "glibc"
- ],
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -6103,9 +6071,6 @@
"x64"
],
"dev": true,
- "libc": [
- "musl"
- ],
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -7765,6 +7730,16 @@
"node": ">=10"
}
},
+ "node_modules/smart-whisper": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/smart-whisper/-/smart-whisper-0.8.1.tgz",
+ "integrity": "sha512-0DnhD6Hq7kTpWAJxv057o8rkcZ2Sv2/ZpJZJjj/DT+8Ll/zH5EHQM1lSwk+W15AvfDPD3K2ku+MD2KCXD51z5A==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "node-addon-api": "^7.0.0"
+ }
+ },
"node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
diff --git a/package.json b/package.json
index 85a55fda9..6376f59b1 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json",
"test": "vitest run",
"test:unit": "vitest run test/remote",
- "rebuild": "electron-rebuild -f -w node-pty",
+ "rebuild": "electron-rebuild -f -w node-pty,smart-whisper",
"server:build": "esbuild src/server/main.ts --bundle --platform=node --format=cjs --outfile=out/server/main.cjs --external:node-pty --external:ws --tsconfig=tsconfig.node.json",
"server:start": "node out/server/main.cjs",
"server:dev": "npm run build && npm run server:build && node out/server/main.cjs",
@@ -22,7 +22,7 @@
"make-social": "node scripts/make-social.mjs",
"dist": "npm run make-icon && electron-vite build && electron-builder --mac --arm64 -c.mac.identity=null -c.mac.notarize=false",
"release": "npm run make-icon && electron-vite build && sh -c 'electron-builder --mac --arm64 --x64 --publish never; s=$?; npm run rebuild; exit $s'",
- "postinstall": "electron-rebuild -f -w node-pty"
+ "postinstall": "electron-rebuild -f -w node-pty,smart-whisper"
},
"build": {
"appId": "com.nodeterm.app",
@@ -36,7 +36,8 @@
"package.json"
],
"asarUnpack": [
- "**/node_modules/node-pty/**"
+ "**/node_modules/node-pty/**",
+ "**/node_modules/smart-whisper/**"
],
"mac": {
"category": "public.app-category.developer-tools",
@@ -77,6 +78,7 @@
"monaco-editor": "^0.52.2",
"node-pty": "^1.0.0",
"qrcode": "^1.5.4",
+ "smart-whisper": "^0.8.1",
"tweetnacl": "^1.0.3",
"ws": "^8.21.0",
"zustand": "^4.5.7"