@vibedeckx/darwin-arm64 0.1.29 → 0.1.31
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/dist/bin.js +171640 -71377
- package/dist/ui/404/index.html +12 -1
- package/dist/ui/404.html +12 -1
- package/dist/ui/__next.__PAGE__.txt +2 -2
- package/dist/ui/__next._full.txt +11 -10
- package/dist/ui/__next._head.txt +1 -1
- package/dist/ui/__next._index.txt +6 -6
- package/dist/ui/__next._tree.txt +6 -5
- package/dist/ui/_next/static/chunks/1d01d81699d17df4.js +21 -0
- package/dist/ui/_next/static/chunks/1d14cce84c33e71d.js +1182 -0
- package/dist/ui/_next/static/chunks/52d56db34af4e41f.css +1 -0
- package/dist/ui/_next/static/chunks/536c9d708e59a931.js +19 -0
- package/dist/ui/_next/static/chunks/{af8114430894d79e.js → 74997414d07089e8.js} +1 -1
- package/dist/ui/_next/static/chunks/99b232bc532587d5.js +35 -0
- package/dist/ui/_next/static/chunks/{0d37083ccc5fbf7c.css → d6bec8fc7b13d308.css} +3 -2
- package/dist/ui/_next/static/media/1bffadaabf893a1e-s.7cd81963.woff2 +0 -0
- package/dist/ui/_next/static/media/2bbe8d2671613f1f-s.76dcb0b2.woff2 +0 -0
- package/dist/ui/_next/static/media/2c55a0e60120577a-s.2a48534a.woff2 +0 -0
- package/dist/ui/_next/static/media/4fa387ec64143e14-s.3b336396.woff2 +0 -0
- package/dist/ui/_next/static/media/53b9e256198e5412-s.853d50a3.woff2 +0 -0
- package/dist/ui/_next/static/media/5476f68d60460930-s.c995e352.woff2 +0 -0
- package/dist/ui/_next/static/media/5ce348bf30bf5439-s.56c1f21e.woff2 +0 -0
- package/dist/ui/_next/static/media/6306c77e7c8268e4-s.e3369375.woff2 +0 -0
- package/dist/ui/_next/static/media/7178b3e590c64307-s.55554cd0.woff2 +0 -0
- package/dist/ui/_next/static/media/797e433ab948586e-s.p.29207c2f.woff2 +0 -0
- package/dist/ui/_next/static/media/7d817b4c03b0c5f1-s.a40b9a8b.woff2 +0 -0
- package/dist/ui/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2 +0 -0
- package/dist/ui/_next/static/media/8a480f0b521d4e75-s.ea323500.woff2 +0 -0
- package/dist/ui/_next/static/media/9c72aa0f40e4eef8-s.18a48cbc.woff2 +0 -0
- package/dist/ui/_next/static/media/ad66f9afd8947f86-s.7a40eb73.woff2 +0 -0
- package/dist/ui/_next/static/media/bbc41e54d2fcbd21-s.fe42ddf4.woff2 +0 -0
- package/dist/ui/_next/static/media/caa3a2e1cccd8315-s.p.3b6cae6d.woff2 +0 -0
- package/dist/ui/_next/static/media/favicon.65147e27.ico +0 -0
- package/dist/ui/_next/static/media/fef07dbb0973bf53-s.518e079e.woff2 +0 -0
- package/dist/ui/_not-found/__next._full.txt +7 -7
- package/dist/ui/_not-found/__next._head.txt +1 -1
- package/dist/ui/_not-found/__next._index.txt +6 -6
- package/dist/ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/ui/_not-found/__next._not-found.txt +1 -1
- package/dist/ui/_not-found/__next._tree.txt +3 -3
- package/dist/ui/_not-found/index.html +12 -1
- package/dist/ui/_not-found/index.txt +7 -7
- package/dist/ui/favicon.ico +0 -0
- package/dist/ui/index.html +12 -1
- package/dist/ui/index.txt +11 -10
- package/dist/ui/sounds/sound1.mp3 +0 -0
- package/dist/ui/sounds/sound2.mp3 +0 -0
- package/node_modules/better-sqlite3/README.md +1 -1
- package/node_modules/better-sqlite3/build/Release/better_sqlite3-127.node +0 -0
- package/node_modules/better-sqlite3/build/Release/better_sqlite3-137.node +0 -0
- package/node_modules/better-sqlite3/build/Release/better_sqlite3-141.node +0 -0
- package/node_modules/better-sqlite3/build/Release/better_sqlite3-147.node +0 -0
- package/node_modules/better-sqlite3/lib/database.js +2 -2
- package/node_modules/better-sqlite3/package.json +11 -3
- package/node_modules/node-pty/lib/conpty_console_list_agent.js +1 -1
- package/node_modules/node-pty/lib/index.js +6 -6
- package/node_modules/node-pty/lib/shared/conout.js +2 -3
- package/node_modules/node-pty/lib/terminal.js +2 -2
- package/node_modules/node-pty/lib/unixTerminal.js +5 -3
- package/node_modules/node-pty/lib/utils.js +6 -7
- package/node_modules/node-pty/lib/windowsConoutConnection.js +6 -6
- package/node_modules/node-pty/lib/windowsPtyAgent.js +35 -10
- package/node_modules/node-pty/lib/windowsTerminal.js +10 -2
- package/node_modules/node-pty/lib/worker/conoutSocketWorker.js +3 -3
- package/node_modules/node-pty/package.json +6 -5
- package/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/package.json +2 -2
- package/dist/ui/_next/static/chunks/0dc6cf26b91a20e8.js +0 -21
- package/dist/ui/_next/static/chunks/6134ca0517400811.js +0 -19
- package/dist/ui/_next/static/chunks/87951526e3ed5f5e.css +0 -1
- package/dist/ui/_next/static/chunks/c859d4f64b6b2057.js +0 -979
- package/dist/ui/_next/static/chunks/eaaacb70148ac267.js +0 -29
- package/dist/ui/_next/static/media/4fa387ec64143e14-s.c1fdd6c2.woff2 +0 -0
- package/dist/ui/_next/static/media/7178b3e590c64307-s.b97b3418.woff2 +0 -0
- package/dist/ui/_next/static/media/797e433ab948586e-s.p.dbea232f.woff2 +0 -0
- package/dist/ui/_next/static/media/8a480f0b521d4e75-s.8e0177b5.woff2 +0 -0
- package/dist/ui/_next/static/media/bbc41e54d2fcbd21-s.799d8ef8.woff2 +0 -0
- package/dist/ui/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2 +0 -0
- package/dist/ui/_next/static/media/favicon.0b3bf435.ico +0 -0
- package/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- /package/dist/ui/_next/static/{X7XLphuDX-NShtX9FqfE6 → m1av2cpR6dc5u0uXtkk77}/_buildManifest.js +0 -0
- /package/dist/ui/_next/static/{X7XLphuDX-NShtX9FqfE6 → m1av2cpR6dc5u0uXtkk77}/_clientMiddlewareManifest.json +0 -0
- /package/dist/ui/_next/static/{X7XLphuDX-NShtX9FqfE6 → m1av2cpR6dc5u0uXtkk77}/_ssgManifest.js +0 -0
package/dist/ui/index.txt
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[573751,["/_next/static/chunks/cb15e0c2ff49cf52.js","/_next/static/chunks/
|
|
2
|
+
2:I[573751,["/_next/static/chunks/cb15e0c2ff49cf52.js","/_next/static/chunks/536c9d708e59a931.js","/_next/static/chunks/1d14cce84c33e71d.js"],"ClientProviders"]
|
|
3
3
|
3:I[752055,["/_next/static/chunks/a7c40c289b5e2384.js"],"default"]
|
|
4
|
-
4:I[933484,["/_next/static/chunks/cb15e0c2ff49cf52.js","/_next/static/chunks/
|
|
4
|
+
4:I[933484,["/_next/static/chunks/cb15e0c2ff49cf52.js","/_next/static/chunks/536c9d708e59a931.js","/_next/static/chunks/1d14cce84c33e71d.js","/_next/static/chunks/4f9c934abf34ceb9.js"],"default"]
|
|
5
5
|
5:I[106547,["/_next/static/chunks/a7c40c289b5e2384.js"],"default"]
|
|
6
|
-
6:I[
|
|
6
|
+
6:I[888030,["/_next/static/chunks/cb15e0c2ff49cf52.js","/_next/static/chunks/536c9d708e59a931.js","/_next/static/chunks/1d14cce84c33e71d.js"],"ThemedToaster"]
|
|
7
7
|
7:I[110037,["/_next/static/chunks/a7c40c289b5e2384.js"],"ClientPageRoot"]
|
|
8
|
-
8:I[837031,["/_next/static/chunks/cb15e0c2ff49cf52.js","/_next/static/chunks/
|
|
8
|
+
8:I[837031,["/_next/static/chunks/cb15e0c2ff49cf52.js","/_next/static/chunks/536c9d708e59a931.js","/_next/static/chunks/1d14cce84c33e71d.js","/_next/static/chunks/d36807add3e11d59.js","/_next/static/chunks/74997414d07089e8.js","/_next/static/chunks/558f73c16b7ff14f.js","/_next/static/chunks/99b232bc532587d5.js","/_next/static/chunks/1d01d81699d17df4.js"],"default",1]
|
|
9
9
|
b:I[617906,["/_next/static/chunks/a7c40c289b5e2384.js"],"OutletBoundary"]
|
|
10
10
|
c:"$Sreact.suspense"
|
|
11
11
|
e:I[617906,["/_next/static/chunks/a7c40c289b5e2384.js"],"ViewportBoundary"]
|
|
12
12
|
10:I[617906,["/_next/static/chunks/a7c40c289b5e2384.js"],"MetadataBoundary"]
|
|
13
13
|
12:I[799116,[],"default"]
|
|
14
|
-
:HL["/_next/static/chunks/
|
|
15
|
-
:HL["/_next/static/chunks/
|
|
14
|
+
:HL["/_next/static/chunks/d6bec8fc7b13d308.css","style"]
|
|
15
|
+
:HL["/_next/static/chunks/52d56db34af4e41f.css","style"]
|
|
16
16
|
:HL["/_next/static/media/051742360c26797e-s.p.102b7f24.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
17
|
-
:HL["/_next/static/media/797e433ab948586e-s.p.
|
|
17
|
+
:HL["/_next/static/media/797e433ab948586e-s.p.29207c2f.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
18
18
|
:HL["/_next/static/media/7ebf22b5a21034f8-s.p.d8bad3ab.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
19
|
-
:HL["/_next/static/media/
|
|
19
|
+
:HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
20
|
+
:HL["/_next/static/media/caa3a2e1cccd8315-s.p.3b6cae6d.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
20
21
|
:HL["/_next/static/media/e41d5df559864f9e-s.p.380d09ea.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
21
22
|
:HL["/_next/static/chunks/54d5670f5fa2abbe.css","style"]
|
|
22
|
-
0:{"P":null,"b":"
|
|
23
|
+
0:{"P":null,"b":"m1av2cpR6dc5u0uXtkk77","c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/d6bec8fc7b13d308.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/52d56db34af4e41f.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/cb15e0c2ff49cf52.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/536c9d708e59a931.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/1d14cce84c33e71d.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(() => {\n try {\n var stored = localStorage.getItem('vibedeckx-theme');\n var theme = stored === 'light' || stored === 'dark' || stored === 'system' ? stored : 'system';\n var resolved = theme === 'system'\n ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light')\n : theme;\n var root = document.documentElement;\n if (resolved === 'dark') root.classList.add('dark');\n root.style.colorScheme = resolved;\n } catch (e) {}\n})();"}}]}],["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable inter_fe8b9d92-module__LINzvG__variable instrument_serif_f596586e-module__6izFfW__variable jetbrains_mono_3f07f2ae-module__2iDdKa__variable antialiased","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$4","errorStyles":[],"errorScripts":[["$","script","script-0",{"src":"/_next/static/chunks/4f9c934abf34ceb9.js","async":true}]],"template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$L6",null,{}]]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/54d5670f5fa2abbe.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/d36807add3e11d59.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/74997414d07089e8.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/558f73c16b7ff14f.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/99b232bc532587d5.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/1d01d81699d17df4.js","async":true,"nonce":"$undefined"}]],["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true}
|
|
23
24
|
9:{}
|
|
24
25
|
a:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
25
26
|
f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
26
27
|
13:I[535138,["/_next/static/chunks/a7c40c289b5e2384.js"],"IconMark"]
|
|
27
28
|
d:null
|
|
28
|
-
11:[["$","title","0",{"children":"Vibedeckx —
|
|
29
|
+
11:[["$","title","0",{"children":"Vibedeckx — Mission control for your coding agents"}],["$","meta","1",{"name":"description","content":"Drive a fleet of coding agents in parallel. Named workspaces, live status at a glance, completion alerts, and cross-environment runs — from any device. Cloud-hosted or self-host."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.65147e27.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L13","3",{}]]
|
|
Binary file
|
|
Binary file
|
|
@@ -32,7 +32,7 @@ The fastest and simplest library for SQLite in Node.js.
|
|
|
32
32
|
npm install better-sqlite3
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
> Requires Node.js
|
|
35
|
+
> Requires a [currently supported Node.js](https://nodejs.org/en/about/previous-releases) version. Prebuilt binaries are available for [LTS versions](https://nodejs.org/en/about/previous-releases). If you have trouble installing, check the [troubleshooting guide](./docs/troubleshooting.md).
|
|
36
36
|
|
|
37
37
|
## Usage
|
|
38
38
|
|
|
@@ -45,7 +45,7 @@ function Database(filenameGiven, options) {
|
|
|
45
45
|
// Load the native addon
|
|
46
46
|
let addon;
|
|
47
47
|
if (nativeBinding == null) {
|
|
48
|
-
addon = DEFAULT_ADDON || (DEFAULT_ADDON = require('bindings')('better_sqlite3.node'));
|
|
48
|
+
addon = DEFAULT_ADDON || (DEFAULT_ADDON = (function(){var p=require('path'),a=process.versions.modules,f=p.join(__dirname,'..','build','Release','better_sqlite3-'+a+'.node');try{return require(f)}catch(e){if(e&&e.code==='MODULE_NOT_FOUND'){try{return require('bindings')('better_sqlite3.node')}catch(_){}throw new Error('better-sqlite3: no bundled native binary for Node ABI '+a+' (Node '+process.versions.node+', '+process.platform+'-'+process.arch+'). This vibedeckx build bundles native binaries for specific Node versions; use a supported Node release (e.g. 22 or 24) or build from source.')}throw e}})());
|
|
49
49
|
} else if (typeof nativeBinding === 'string') {
|
|
50
50
|
// See <https://webpack.js.org/api/module-variables/#__non_webpack_require__-webpack-specific>
|
|
51
51
|
const requireFunc = typeof __non_webpack_require__ === 'function' ? __non_webpack_require__ : require;
|
|
@@ -61,7 +61,7 @@ function Database(filenameGiven, options) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
// Make sure the specified directory exists
|
|
64
|
-
if (!anonymous && !fs.existsSync(path.dirname(filename))) {
|
|
64
|
+
if (!anonymous && !filename.startsWith('file:') && !fs.existsSync(path.dirname(filename))) {
|
|
65
65
|
throw new TypeError('Cannot open database because the directory does not exist');
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-sqlite3",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "12.11.1",
|
|
4
4
|
"description": "The fastest and simplest library for SQLite in Node.js.",
|
|
5
5
|
"homepage": "http://github.com/WiseLibs/better-sqlite3",
|
|
6
6
|
"author": "Joshua Wise <joshuathomaswise@gmail.com>",
|
|
@@ -11,16 +11,24 @@
|
|
|
11
11
|
"main": "lib/index.js",
|
|
12
12
|
"files": [
|
|
13
13
|
"lib/",
|
|
14
|
-
"build/Release/
|
|
14
|
+
"build/Release/"
|
|
15
15
|
],
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": "20.x || 22.x || 23.x || 24.x || 25.x || 26.x"
|
|
18
|
+
},
|
|
16
19
|
"dependencies": {
|
|
17
20
|
"bindings": "*"
|
|
18
21
|
},
|
|
22
|
+
"overrides": {
|
|
23
|
+
"prebuild": {
|
|
24
|
+
"node-abi": "^4.25.0"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
19
27
|
"devDependencies": {
|
|
20
28
|
"chai": "^4.3.8",
|
|
21
29
|
"cli-color": "^2.0.3",
|
|
22
30
|
"fs-extra": "^11.1.1",
|
|
23
|
-
"mocha": "^
|
|
31
|
+
"mocha": "^11.7.5",
|
|
24
32
|
"nodemark": "^0.3.0",
|
|
25
33
|
"prebuild": "^13.0.1",
|
|
26
34
|
"sqlite": "^5.0.1",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
var utils_1 = require("./utils");
|
|
11
|
-
var getConsoleProcessList = utils_1.loadNativeModule('conpty_console_list').module.getConsoleProcessList;
|
|
11
|
+
var getConsoleProcessList = (0, utils_1.loadNativeModule)('conpty_console_list').module.getConsoleProcessList;
|
|
12
12
|
var shellPid = parseInt(process.argv[2], 10);
|
|
13
13
|
var consoleProcessList = [];
|
|
14
14
|
if (shellPid > 0) {
|
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
* Copyright (c) 2018, Microsoft Corporation (MIT License).
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.native =
|
|
8
|
+
exports.native = void 0;
|
|
9
|
+
exports.spawn = spawn;
|
|
10
|
+
exports.fork = fork;
|
|
11
|
+
exports.createTerminal = createTerminal;
|
|
12
|
+
exports.open = open;
|
|
9
13
|
var utils_1 = require("./utils");
|
|
10
14
|
var terminalCtor;
|
|
11
15
|
if (process.platform === 'win32') {
|
|
@@ -29,24 +33,20 @@ else {
|
|
|
29
33
|
function spawn(file, args, opt) {
|
|
30
34
|
return new terminalCtor(file, args, opt);
|
|
31
35
|
}
|
|
32
|
-
exports.spawn = spawn;
|
|
33
36
|
/** @deprecated */
|
|
34
37
|
function fork(file, args, opt) {
|
|
35
38
|
return new terminalCtor(file, args, opt);
|
|
36
39
|
}
|
|
37
|
-
exports.fork = fork;
|
|
38
40
|
/** @deprecated */
|
|
39
41
|
function createTerminal(file, args, opt) {
|
|
40
42
|
return new terminalCtor(file, args, opt);
|
|
41
43
|
}
|
|
42
|
-
exports.createTerminal = createTerminal;
|
|
43
44
|
function open(options) {
|
|
44
45
|
return terminalCtor.open(options);
|
|
45
46
|
}
|
|
46
|
-
exports.open = open;
|
|
47
47
|
/**
|
|
48
48
|
* Expose the native API when not Windows, note that this is not public API and
|
|
49
49
|
* could be removed at any time.
|
|
50
50
|
*/
|
|
51
|
-
exports.native = (process.platform !== 'win32' ? utils_1.loadNativeModule('pty').module : null);
|
|
51
|
+
exports.native = (process.platform !== 'win32' ? (0, utils_1.loadNativeModule)('pty').module : null);
|
|
52
52
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
* Copyright (c) 2020, Microsoft Corporation (MIT License).
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getWorkerPipeName =
|
|
6
|
+
exports.getWorkerPipeName = getWorkerPipeName;
|
|
7
7
|
function getWorkerPipeName(conoutPipeName) {
|
|
8
|
-
return conoutPipeName
|
|
8
|
+
return "".concat(conoutPipeName, "-worker");
|
|
9
9
|
}
|
|
10
|
-
exports.getWorkerPipeName = getWorkerPipeName;
|
|
11
10
|
//# sourceMappingURL=conout.js.map
|
|
@@ -101,14 +101,14 @@ var Terminal = /** @class */ (function () {
|
|
|
101
101
|
if (Array.isArray(value)) {
|
|
102
102
|
value.forEach(function (v, i) {
|
|
103
103
|
if (typeof v !== type) {
|
|
104
|
-
throw new Error(name
|
|
104
|
+
throw new Error("".concat(name, "[").concat(i, "] must be a ").concat(type, " (not a ").concat(typeof v[i], ")"));
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
if (typeof value !== type) {
|
|
111
|
-
throw new Error(name
|
|
111
|
+
throw new Error("".concat(name, " must be a ").concat(type, " (not a ").concat(typeof value, ")"));
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
/** See net.Socket.end */
|
|
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -24,7 +26,7 @@ var path = require("path");
|
|
|
24
26
|
var tty = require("tty");
|
|
25
27
|
var terminal_1 = require("./terminal");
|
|
26
28
|
var utils_1 = require("./utils");
|
|
27
|
-
var native = utils_1.loadNativeModule('pty');
|
|
29
|
+
var native = (0, utils_1.loadNativeModule)('pty');
|
|
28
30
|
var pty = native.module;
|
|
29
31
|
var helperPath = native.dir + '/spawn-helper';
|
|
30
32
|
helperPath = path.resolve(__dirname, helperPath);
|
|
@@ -52,7 +54,7 @@ var UnixTerminal = /** @class */ (function (_super) {
|
|
|
52
54
|
_this._rows = opt.rows || terminal_1.DEFAULT_ROWS;
|
|
53
55
|
var uid = (_a = opt.uid) !== null && _a !== void 0 ? _a : -1;
|
|
54
56
|
var gid = (_b = opt.gid) !== null && _b !== void 0 ? _b : -1;
|
|
55
|
-
var env = utils_1.assign({}, opt.env);
|
|
57
|
+
var env = (0, utils_1.assign)({}, opt.env);
|
|
56
58
|
if (opt.env === process.env) {
|
|
57
59
|
_this._sanitizeEnv(env);
|
|
58
60
|
}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* Copyright (c) 2018, Microsoft Corporation (MIT License).
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
7
|
+
exports.assign = assign;
|
|
8
|
+
exports.loadNativeModule = loadNativeModule;
|
|
8
9
|
function assign(target) {
|
|
9
10
|
var sources = [];
|
|
10
11
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
@@ -13,10 +14,9 @@ function assign(target) {
|
|
|
13
14
|
sources.forEach(function (source) { return Object.keys(source).forEach(function (key) { return target[key] = source[key]; }); });
|
|
14
15
|
return target;
|
|
15
16
|
}
|
|
16
|
-
exports.assign = assign;
|
|
17
17
|
function loadNativeModule(name) {
|
|
18
18
|
// Check build, debug, and then prebuilds.
|
|
19
|
-
var dirs = ['build/Release', 'build/Debug', "prebuilds/"
|
|
19
|
+
var dirs = ['build/Release', 'build/Debug', "prebuilds/".concat(process.platform, "-").concat(process.arch)];
|
|
20
20
|
// Check relative to the parent dir for unbundled and then the current dir for bundled
|
|
21
21
|
var relative = ['..', '.'];
|
|
22
22
|
var lastError;
|
|
@@ -24,16 +24,15 @@ function loadNativeModule(name) {
|
|
|
24
24
|
var d = dirs_1[_i];
|
|
25
25
|
for (var _a = 0, relative_1 = relative; _a < relative_1.length; _a++) {
|
|
26
26
|
var r = relative_1[_a];
|
|
27
|
-
var dir = r
|
|
27
|
+
var dir = "".concat(r, "/").concat(d);
|
|
28
28
|
try {
|
|
29
|
-
return { dir: dir, module: require(dir
|
|
29
|
+
return { dir: dir, module: require("".concat(dir, "/").concat(name, ".node")) };
|
|
30
30
|
}
|
|
31
31
|
catch (e) {
|
|
32
32
|
lastError = e;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
throw new Error("Failed to load native module: "
|
|
36
|
+
throw new Error("Failed to load native module: ".concat(name, ".node, checked: ").concat(dirs.join(', '), ": ").concat(lastError));
|
|
37
37
|
}
|
|
38
|
-
exports.loadNativeModule = loadNativeModule;
|
|
39
38
|
//# sourceMappingURL=utils.js.map
|
|
@@ -12,12 +12,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
14
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
15
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
16
|
-
return g =
|
|
15
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
16
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
17
17
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
18
18
|
function step(op) {
|
|
19
19
|
if (f) throw new TypeError("Generator is already executing.");
|
|
20
|
-
while (_) try {
|
|
20
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
21
21
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
22
22
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
23
23
|
switch (op[0]) {
|
|
@@ -73,10 +73,10 @@ var ConoutConnection = /** @class */ (function () {
|
|
|
73
73
|
conoutPipeName: _conoutPipeName
|
|
74
74
|
};
|
|
75
75
|
var scriptPath = __dirname.replace('node_modules.asar', 'node_modules.asar.unpacked');
|
|
76
|
-
this._worker = new worker_threads_1.Worker(path_1.join(scriptPath, 'worker/conoutSocketWorker.js'), { workerData: workerData });
|
|
76
|
+
this._worker = new worker_threads_1.Worker((0, path_1.join)(scriptPath, 'worker/conoutSocketWorker.js'), { workerData: workerData });
|
|
77
77
|
this._worker.on('message', function (message) {
|
|
78
78
|
switch (message) {
|
|
79
|
-
case 1 /* READY */:
|
|
79
|
+
case 1 /* ConoutWorkerMessage.READY */:
|
|
80
80
|
_this._onReady.fire();
|
|
81
81
|
return;
|
|
82
82
|
default:
|
|
@@ -98,7 +98,7 @@ var ConoutConnection = /** @class */ (function () {
|
|
|
98
98
|
this._drainDataAndClose();
|
|
99
99
|
};
|
|
100
100
|
ConoutConnection.prototype.connectSocket = function (socket) {
|
|
101
|
-
socket.connect(conout_1.getWorkerPipeName(this._conoutPipeName));
|
|
101
|
+
socket.connect((0, conout_1.getWorkerPipeName)(this._conoutPipeName));
|
|
102
102
|
};
|
|
103
103
|
ConoutConnection.prototype._drainDataAndClose = function () {
|
|
104
104
|
var _this = this;
|
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
* Copyright (c) 2018, Microsoft Corporation (MIT License).
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
8
|
+
exports.WindowsPtyAgent = void 0;
|
|
9
|
+
exports.argsToCommandLine = argsToCommandLine;
|
|
9
10
|
var fs = require("fs");
|
|
10
11
|
var path = require("path");
|
|
11
12
|
var child_process_1 = require("child_process");
|
|
12
13
|
var net_1 = require("net");
|
|
13
14
|
var windowsConoutConnection_1 = require("./windowsConoutConnection");
|
|
15
|
+
var eventEmitter2_1 = require("./eventEmitter2");
|
|
14
16
|
var utils_1 = require("./utils");
|
|
15
17
|
var conptyNative;
|
|
16
18
|
/**
|
|
@@ -24,13 +26,14 @@ var FLUSH_DATA_INTERVAL = 1000;
|
|
|
24
26
|
*/
|
|
25
27
|
var WindowsPtyAgent = /** @class */ (function () {
|
|
26
28
|
function WindowsPtyAgent(file, args, env, cwd, cols, rows, debug, _useConptyDll, conptyInheritCursor) {
|
|
27
|
-
var _this = this;
|
|
28
29
|
if (_useConptyDll === void 0) { _useConptyDll = false; }
|
|
29
30
|
if (conptyInheritCursor === void 0) { conptyInheritCursor = false; }
|
|
31
|
+
var _this = this;
|
|
30
32
|
this._useConptyDll = _useConptyDll;
|
|
31
33
|
this._innerPid = 0;
|
|
34
|
+
this._onError = new eventEmitter2_1.EventEmitter2();
|
|
32
35
|
if (!conptyNative) {
|
|
33
|
-
conptyNative = utils_1.loadNativeModule('conpty').module;
|
|
36
|
+
conptyNative = (0, utils_1.loadNativeModule)('conpty').module;
|
|
34
37
|
}
|
|
35
38
|
this._ptyNative = conptyNative;
|
|
36
39
|
// Sanitize input variable.
|
|
@@ -80,6 +83,11 @@ var WindowsPtyAgent = /** @class */ (function () {
|
|
|
80
83
|
});
|
|
81
84
|
this._inSocket.setEncoding('utf8');
|
|
82
85
|
}
|
|
86
|
+
Object.defineProperty(WindowsPtyAgent.prototype, "onError", {
|
|
87
|
+
get: function () { return this._onError.event; },
|
|
88
|
+
enumerable: false,
|
|
89
|
+
configurable: true
|
|
90
|
+
});
|
|
83
91
|
Object.defineProperty(WindowsPtyAgent.prototype, "inSocket", {
|
|
84
92
|
get: function () { return this._inSocket; },
|
|
85
93
|
enumerable: false,
|
|
@@ -107,13 +115,31 @@ var WindowsPtyAgent = /** @class */ (function () {
|
|
|
107
115
|
});
|
|
108
116
|
WindowsPtyAgent.prototype._completePtyConnection = function () {
|
|
109
117
|
var _this = this;
|
|
118
|
+
var _a;
|
|
110
119
|
if (!this._pendingPtyInfo) {
|
|
111
120
|
return;
|
|
112
121
|
}
|
|
113
|
-
var
|
|
122
|
+
var _b = this._pendingPtyInfo, pty = _b.pty, commandLine = _b.commandLine, cwd = _b.cwd, env = _b.env;
|
|
114
123
|
this._pendingPtyInfo = undefined;
|
|
115
|
-
|
|
116
|
-
|
|
124
|
+
try {
|
|
125
|
+
var connect = conptyNative.connect(pty, commandLine, cwd, env, this._useConptyDll, function (c) { return _this._$onProcessExit(c); });
|
|
126
|
+
this._innerPid = connect.pid;
|
|
127
|
+
}
|
|
128
|
+
catch (err) {
|
|
129
|
+
// connect() runs from the conout worker's onReady callback (or its
|
|
130
|
+
// timeout fallback), so a throw here would otherwise surface as an
|
|
131
|
+
// uncaughtException with no way for the consumer to observe it.
|
|
132
|
+
var code = (_a = /error code: (\d+)/.exec(err.message)) === null || _a === void 0 ? void 0 : _a[1];
|
|
133
|
+
this._exitCode = code ? parseInt(code, 10) : -1;
|
|
134
|
+
try {
|
|
135
|
+
this._ptyNative.kill(this._pty, this._useConptyDll);
|
|
136
|
+
}
|
|
137
|
+
catch ( /* already gone */_c) { /* already gone */ }
|
|
138
|
+
this._conoutSocketWorker.dispose();
|
|
139
|
+
this._inSocket.destroy();
|
|
140
|
+
this._outSocket.destroy();
|
|
141
|
+
this._onError.fire(err);
|
|
142
|
+
}
|
|
117
143
|
};
|
|
118
144
|
WindowsPtyAgent.prototype.resize = function (cols, rows) {
|
|
119
145
|
if (this._exitCode !== undefined) {
|
|
@@ -160,7 +186,7 @@ var WindowsPtyAgent = /** @class */ (function () {
|
|
|
160
186
|
return Promise.resolve([]);
|
|
161
187
|
}
|
|
162
188
|
return new Promise(function (resolve) {
|
|
163
|
-
var agent = child_process_1.fork(path.join(__dirname, 'conpty_console_list_agent'), [_this._innerPid.toString()]);
|
|
189
|
+
var agent = (0, child_process_1.fork)(path.join(__dirname, 'conpty_console_list_agent'), [_this._innerPid.toString()]);
|
|
164
190
|
agent.on('message', function (message) {
|
|
165
191
|
clearTimeout(timeout);
|
|
166
192
|
resolve(message.consoleProcessList);
|
|
@@ -180,7 +206,7 @@ var WindowsPtyAgent = /** @class */ (function () {
|
|
|
180
206
|
configurable: true
|
|
181
207
|
});
|
|
182
208
|
WindowsPtyAgent.prototype._generatePipeName = function () {
|
|
183
|
-
return "conpty-"
|
|
209
|
+
return "conpty-".concat(Math.random() * 10000000);
|
|
184
210
|
};
|
|
185
211
|
/**
|
|
186
212
|
* Triggered from the native side when a contpy process exits.
|
|
@@ -222,7 +248,7 @@ function argsToCommandLine(file, args) {
|
|
|
222
248
|
if (args.length === 0) {
|
|
223
249
|
return file;
|
|
224
250
|
}
|
|
225
|
-
return argsToCommandLine(file, [])
|
|
251
|
+
return "".concat(argsToCommandLine(file, []), " ").concat(args);
|
|
226
252
|
}
|
|
227
253
|
var argv = [file];
|
|
228
254
|
Array.prototype.push.apply(argv, args);
|
|
@@ -270,7 +296,6 @@ function argsToCommandLine(file, args) {
|
|
|
270
296
|
}
|
|
271
297
|
return result;
|
|
272
298
|
}
|
|
273
|
-
exports.argsToCommandLine = argsToCommandLine;
|
|
274
299
|
function isCommandLine(args) {
|
|
275
300
|
return typeof args === 'string';
|
|
276
301
|
}
|
|
@@ -8,10 +8,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
8
8
|
var extendStatics = function (d, b) {
|
|
9
9
|
extendStatics = Object.setPrototypeOf ||
|
|
10
10
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11
|
-
function (d, b) { for (var p in b) if (
|
|
11
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
12
12
|
return extendStatics(d, b);
|
|
13
13
|
};
|
|
14
14
|
return function (d, b) {
|
|
15
|
+
if (typeof b !== "function" && b !== null)
|
|
16
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
15
17
|
extendStatics(d, b);
|
|
16
18
|
function __() { this.constructor = d; }
|
|
17
19
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -37,7 +39,7 @@ var WindowsTerminal = /** @class */ (function (_super) {
|
|
|
37
39
|
if (opt.encoding) {
|
|
38
40
|
console.warn('Setting encoding on Windows is not supported');
|
|
39
41
|
}
|
|
40
|
-
var env = utils_1.assign({}, opt.env);
|
|
42
|
+
var env = (0, utils_1.assign)({}, opt.env);
|
|
41
43
|
_this._cols = opt.cols || terminal_1.DEFAULT_COLS;
|
|
42
44
|
_this._rows = opt.rows || terminal_1.DEFAULT_ROWS;
|
|
43
45
|
var cwd = opt.cwd || process.cwd();
|
|
@@ -50,6 +52,12 @@ var WindowsTerminal = /** @class */ (function (_super) {
|
|
|
50
52
|
// Create new termal.
|
|
51
53
|
_this._agent = new windowsPtyAgent_1.WindowsPtyAgent(file, args, parsedEnv, cwd, _this._cols, _this._rows, false, opt.useConptyDll, opt.conptyInheritCursor);
|
|
52
54
|
_this._socket = _this._agent.outSocket;
|
|
55
|
+
// The socket 'close' handler that drives 'exit' is only attached after
|
|
56
|
+
// ready_datapipe, which never fires when connect() fails.
|
|
57
|
+
_this._agent.onError(function () {
|
|
58
|
+
_this._close();
|
|
59
|
+
_this.emit('exit', _this._agent.exitCode);
|
|
60
|
+
});
|
|
53
61
|
// Not available until `ready` event emitted.
|
|
54
62
|
_this._pid = _this._agent.innerPid;
|
|
55
63
|
_this._fd = _this._agent.fd;
|
|
@@ -10,13 +10,13 @@ var conoutPipeName = worker_threads_1.workerData.conoutPipeName;
|
|
|
10
10
|
var conoutSocket = new net_1.Socket();
|
|
11
11
|
conoutSocket.setEncoding('utf8');
|
|
12
12
|
conoutSocket.connect(conoutPipeName, function () {
|
|
13
|
-
var server = net_1.createServer(function (workerSocket) {
|
|
13
|
+
var server = (0, net_1.createServer)(function (workerSocket) {
|
|
14
14
|
conoutSocket.pipe(workerSocket);
|
|
15
15
|
});
|
|
16
|
-
server.listen(conout_1.getWorkerPipeName(conoutPipeName));
|
|
16
|
+
server.listen((0, conout_1.getWorkerPipeName)(conoutPipeName));
|
|
17
17
|
if (!worker_threads_1.parentPort) {
|
|
18
18
|
throw new Error('worker_threads parentPort is null');
|
|
19
19
|
}
|
|
20
|
-
worker_threads_1.parentPort.postMessage(1 /* READY */);
|
|
20
|
+
worker_threads_1.parentPort.postMessage(1 /* ConoutWorkerMessage.READY */);
|
|
21
21
|
});
|
|
22
22
|
//# sourceMappingURL=conoutSocketWorker.js.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Microsoft Corporation"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.2.0-beta.
|
|
7
|
+
"version": "1.2.0-beta.14",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"main": "./lib/index.js",
|
|
10
10
|
"types": "./typings/node-pty.d.ts",
|
|
@@ -31,13 +31,14 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/mocha": "^7.0.2",
|
|
33
33
|
"@types/node": "12",
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
35
|
-
"@typescript-eslint/parser": "^
|
|
34
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
35
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
36
36
|
"cross-env": "^5.1.4",
|
|
37
|
-
"eslint": "^
|
|
37
|
+
"eslint": "^10.4.0",
|
|
38
|
+
"globals": "^14.0.0",
|
|
38
39
|
"mocha": "10",
|
|
39
40
|
"node-gyp": "^11.4.2",
|
|
40
41
|
"ps-list": "^6.0.0",
|
|
41
|
-
"typescript": "^
|
|
42
|
+
"typescript": "^5.0.0"
|
|
42
43
|
}
|
|
43
44
|
}
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibedeckx/darwin-arm64",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"description": "Vibedeckx platform binaries for macOS ARM64",
|
|
5
5
|
"os": [
|
|
6
6
|
"darwin"
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"node-pty": "^1.2.0-beta.12",
|
|
20
|
-
"better-sqlite3": "^11.
|
|
20
|
+
"better-sqlite3": "^12.11.1"
|
|
21
21
|
}
|
|
22
22
|
}
|