@vibedeckx/linux-x64 0.1.17 → 0.1.20
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/process-manager.d.ts +1 -1
- package/dist/process-manager.js +131 -42
- package/dist/ui/404/index.html +1 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/__next.__PAGE__.txt +1 -1
- package/dist/ui/__next._full.txt +1 -1
- package/dist/ui/__next._head.txt +1 -1
- package/dist/ui/__next._index.txt +1 -1
- package/dist/ui/__next._tree.txt +1 -1
- package/dist/ui/_not-found/__next._full.txt +1 -1
- package/dist/ui/_not-found/__next._head.txt +1 -1
- package/dist/ui/_not-found/__next._index.txt +1 -1
- 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 +1 -1
- package/dist/ui/_not-found/index.html +1 -1
- package/dist/ui/_not-found/index.txt +1 -1
- package/dist/ui/index.html +1 -1
- package/dist/ui/index.txt +1 -1
- package/node_modules/node-pty/lib/conpty_console_list_agent.js +10 -1
- package/node_modules/node-pty/lib/unixTerminal.js +6 -3
- package/node_modules/node-pty/lib/utils.js +1 -1
- package/node_modules/node-pty/lib/windowsPtyAgent.js +62 -95
- package/node_modules/node-pty/lib/windowsTerminal.js +4 -2
- package/node_modules/node-pty/package.json +6 -5
- package/node_modules/node-pty/prebuilds/linux-x64/pty.node +0 -0
- package/package.json +2 -2
- package/node_modules/node-pty/build/Release/pty.node +0 -0
- package/node_modules/node-pty/build/binding.Makefile +0 -6
- package/node_modules/node-pty/build/pty.target.mk +0 -168
- package/node_modules/node-pty/lib/eventEmitter2.test.js +0 -30
- package/node_modules/node-pty/lib/terminal.test.js +0 -139
- package/node_modules/node-pty/lib/testUtils.test.js +0 -28
- package/node_modules/node-pty/lib/unixTerminal.test.js +0 -351
- package/node_modules/node-pty/lib/windowsPtyAgent.test.js +0 -90
- package/node_modules/node-pty/lib/windowsTerminal.test.js +0 -219
- /package/dist/ui/_next/static/{KwSMuRKWgTp_quB8AMAmD → 2WZQQh5uge1KTsD-HSfhL}/_buildManifest.js +0 -0
- /package/dist/ui/_next/static/{KwSMuRKWgTp_quB8AMAmD → 2WZQQh5uge1KTsD-HSfhL}/_clientMiddlewareManifest.json +0 -0
- /package/dist/ui/_next/static/{KwSMuRKWgTp_quB8AMAmD → 2WZQQh5uge1KTsD-HSfhL}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--2WZQQh5uge1KTsD_HSfhL--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/2473c16c0c2f6b5f.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/e23d46e94edec1d3.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/790dcc1e825d2504.js"/><script src="/_next/static/chunks/782a93ec4348b666.js" async=""></script><script src="/_next/static/chunks/d6651bb78c09d144.js" async=""></script><script src="/_next/static/chunks/turbopack-a5ce95b200d58f7a.js" async=""></script><script src="/_next/static/chunks/020d675d21be28d4.js" async=""></script><script src="/_next/static/chunks/dae86e12c7741e6c.js" async=""></script><script src="/_next/static/chunks/cb15e0c2ff49cf52.js" async=""></script><script src="/_next/static/chunks/a7c40c289b5e2384.js" async=""></script><script src="/_next/static/chunks/4f9c934abf34ceb9.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>VibeDeckX - AI Autopilot Cockpit</title><meta name="description" content="The autopilot cockpit for building apps with AI"/><link rel="icon" href="/favicon.ico?favicon.0b3bf435.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><div class="h-screen flex items-center justify-center"><div class="animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full"></div></div><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><script src="/_next/static/chunks/790dcc1e825d2504.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[573751,[\"/_next/static/chunks/020d675d21be28d4.js\",\"/_next/static/chunks/dae86e12c7741e6c.js\",\"/_next/static/chunks/cb15e0c2ff49cf52.js\"],\"ClientProviders\"]\n3:I[752055,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"default\"]\n4:I[933484,[\"/_next/static/chunks/020d675d21be28d4.js\",\"/_next/static/chunks/dae86e12c7741e6c.js\",\"/_next/static/chunks/cb15e0c2ff49cf52.js\",\"/_next/static/chunks/4f9c934abf34ceb9.js\"],\"default\"]\n5:I[106547,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"default\"]\n6:I[754219,[\"/_next/static/chunks/020d675d21be28d4.js\",\"/_next/static/chunks/dae86e12c7741e6c.js\",\"/_next/static/chunks/cb15e0c2ff49cf52.js\"],\"Toaster\"]\n7:I[617906,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\na:I[617906,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"ViewportBoundary\"]\nc:I[617906,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"MetadataBoundary\"]\ne:I[799116,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"default\"]\n:HL[\"/_next/static/chunks/2473c16c0c2f6b5f.css\",\"style\"]\n:HL[\"/_next/static/chunks/e23d46e94edec1d3.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"2WZQQh5uge1KTsD-HSfhL\",\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/2473c16c0c2f6b5f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/e23d46e94edec1d3.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/020d675d21be28d4.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/dae86e12c7741e6c.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/cb15e0c2ff49cf52.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__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\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:0:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:f:0:1:0:props:children:1:props:children:props:children:0:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:0:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:0:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Ld\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"f:I[535138,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"IconMark\"]\n9:null\nd:[[\"$\",\"title\",\"0\",{\"children\":\"VibeDeckX - AI Autopilot Cockpit\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The autopilot cockpit for building apps with AI\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0b3bf435.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Lf\",\"3\",{}]]\n"])</script></body></html>
|
|
@@ -11,7 +11,7 @@ c:I[617906,["/_next/static/chunks/a7c40c289b5e2384.js"],"MetadataBoundary"]
|
|
|
11
11
|
e:I[799116,["/_next/static/chunks/a7c40c289b5e2384.js"],"default"]
|
|
12
12
|
:HL["/_next/static/chunks/2473c16c0c2f6b5f.css","style"]
|
|
13
13
|
:HL["/_next/static/chunks/e23d46e94edec1d3.css","style"]
|
|
14
|
-
0:{"P":null,"b":"
|
|
14
|
+
0:{"P":null,"b":"2WZQQh5uge1KTsD-HSfhL","c":["","_not-found",""],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/2473c16c0c2f6b5f.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/e23d46e94edec1d3.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/020d675d21be28d4.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/dae86e12c7741e6c.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/cb15e0c2ff49cf52.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__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":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:0:props:children:props:notFound:0:1:props:style","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":"$0:f:0:1:0:props:children:1:props:children:props:children:0:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:0:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:0:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L7",null,{"children":["$","$8",null,{"name":"Next.MetadataOutlet","children":"$@9"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$La",null,{"children":"$Lb"}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$8",null,{"name":"Next.Metadata","children":"$Ld"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$e","$undefined"],"S":true}
|
|
15
15
|
b:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
16
16
|
f:I[535138,["/_next/static/chunks/a7c40c289b5e2384.js"],"IconMark"]
|
|
17
17
|
9:null
|
package/dist/ui/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--2WZQQh5uge1KTsD_HSfhL--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/797e433ab948586e-s.p.dbea232f.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/chunks/2473c16c0c2f6b5f.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/e23d46e94edec1d3.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/790dcc1e825d2504.js"/><script src="/_next/static/chunks/782a93ec4348b666.js" async=""></script><script src="/_next/static/chunks/d6651bb78c09d144.js" async=""></script><script src="/_next/static/chunks/turbopack-a5ce95b200d58f7a.js" async=""></script><script src="/_next/static/chunks/020d675d21be28d4.js" async=""></script><script src="/_next/static/chunks/dae86e12c7741e6c.js" async=""></script><script src="/_next/static/chunks/cb15e0c2ff49cf52.js" async=""></script><script src="/_next/static/chunks/a7c40c289b5e2384.js" async=""></script><script src="/_next/static/chunks/4f9c934abf34ceb9.js" async=""></script><script src="/_next/static/chunks/d36807add3e11d59.js" async=""></script><script src="/_next/static/chunks/af8114430894d79e.js" async=""></script><script src="/_next/static/chunks/558f73c16b7ff14f.js" async=""></script><script src="/_next/static/chunks/869e15bfcbb5dbd1.js" async=""></script><script src="/_next/static/chunks/2ba1d2b55b82f4da.js" async=""></script><link rel="preload" href="/_next/static/chunks/54d5670f5fa2abbe.css" as="style"/><meta name="next-size-adjust" content=""/><title>VibeDeckX - AI Autopilot Cockpit</title><meta name="description" content="The autopilot cockpit for building apps with AI"/><link rel="icon" href="/favicon.ico?favicon.0b3bf435.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><div class="h-screen flex items-center justify-center"><div class="animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full"></div></div><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><script src="/_next/static/chunks/790dcc1e825d2504.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[573751,[\"/_next/static/chunks/020d675d21be28d4.js\",\"/_next/static/chunks/dae86e12c7741e6c.js\",\"/_next/static/chunks/cb15e0c2ff49cf52.js\"],\"ClientProviders\"]\n3:I[752055,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"default\"]\n4:I[933484,[\"/_next/static/chunks/020d675d21be28d4.js\",\"/_next/static/chunks/dae86e12c7741e6c.js\",\"/_next/static/chunks/cb15e0c2ff49cf52.js\",\"/_next/static/chunks/4f9c934abf34ceb9.js\"],\"default\"]\n5:I[106547,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"default\"]\n6:I[754219,[\"/_next/static/chunks/020d675d21be28d4.js\",\"/_next/static/chunks/dae86e12c7741e6c.js\",\"/_next/static/chunks/cb15e0c2ff49cf52.js\"],\"Toaster\"]\n7:I[110037,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"ClientPageRoot\"]\n8:I[837031,[\"/_next/static/chunks/020d675d21be28d4.js\",\"/_next/static/chunks/dae86e12c7741e6c.js\",\"/_next/static/chunks/cb15e0c2ff49cf52.js\",\"/_next/static/chunks/d36807add3e11d59.js\",\"/_next/static/chunks/af8114430894d79e.js\",\"/_next/static/chunks/558f73c16b7ff14f.js\",\"/_next/static/chunks/869e15bfcbb5dbd1.js\",\"/_next/static/chunks/2ba1d2b55b82f4da.js\"],\"default\",1]\nb:I[617906,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"OutletBoundary\"]\nc:\"$Sreact.suspense\"\ne:I[617906,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"ViewportBoundary\"]\n10:I[617906,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"MetadataBoundary\"]\n12:I[799116,[],\"default\"]\n:HL[\"/_next/static/chunks/2473c16c0c2f6b5f.css\",\"style\"]\n:HL[\"/_next/static/chunks/e23d46e94edec1d3.css\",\"style\"]\n:HL[\"/_next/static/media/797e433ab948586e-s.p.dbea232f.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/chunks/54d5670f5fa2abbe.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"2WZQQh5uge1KTsD-HSfhL\",\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/2473c16c0c2f6b5f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/e23d46e94edec1d3.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/020d675d21be28d4.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/dae86e12c7741e6c.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/cb15e0c2ff49cf52.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__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/af8114430894d79e.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/869e15bfcbb5dbd1.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/_next/static/chunks/2ba1d2b55b82f4da.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}\n"])</script><script>self.__next_f.push([1,"9:{}\na:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"13:I[535138,[\"/_next/static/chunks/a7c40c289b5e2384.js\"],\"IconMark\"]\nd:null\n11:[[\"$\",\"title\",\"0\",{\"children\":\"VibeDeckX - AI Autopilot Cockpit\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The autopilot cockpit for building apps with AI\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0b3bf435.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$L13\",\"3\",{}]]\n"])</script></body></html>
|
package/dist/ui/index.txt
CHANGED
|
@@ -16,7 +16,7 @@ e:I[617906,["/_next/static/chunks/a7c40c289b5e2384.js"],"ViewportBoundary"]
|
|
|
16
16
|
:HL["/_next/static/media/797e433ab948586e-s.p.dbea232f.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
17
17
|
:HL["/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
18
18
|
:HL["/_next/static/chunks/54d5670f5fa2abbe.css","style"]
|
|
19
|
-
0:{"P":null,"b":"
|
|
19
|
+
0:{"P":null,"b":"2WZQQh5uge1KTsD-HSfhL","c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/2473c16c0c2f6b5f.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/e23d46e94edec1d3.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/020d675d21be28d4.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/dae86e12c7741e6c.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/cb15e0c2ff49cf52.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__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/af8114430894d79e.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/869e15bfcbb5dbd1.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/2ba1d2b55b82f4da.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}
|
|
20
20
|
9:{}
|
|
21
21
|
a:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
22
22
|
f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
@@ -10,7 +10,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
var utils_1 = require("./utils");
|
|
11
11
|
var getConsoleProcessList = utils_1.loadNativeModule('conpty_console_list').module.getConsoleProcessList;
|
|
12
12
|
var shellPid = parseInt(process.argv[2], 10);
|
|
13
|
-
var consoleProcessList =
|
|
13
|
+
var consoleProcessList = [];
|
|
14
|
+
if (shellPid > 0) {
|
|
15
|
+
try {
|
|
16
|
+
consoleProcessList = getConsoleProcessList(shellPid);
|
|
17
|
+
}
|
|
18
|
+
catch (_a) {
|
|
19
|
+
// AttachConsole can fail if the process already exited or is invalid.
|
|
20
|
+
consoleProcessList = [];
|
|
21
|
+
}
|
|
22
|
+
}
|
|
14
23
|
process.send({ consoleProcessList: consoleProcessList });
|
|
15
24
|
process.exit(0);
|
|
16
25
|
//# sourceMappingURL=conpty_console_list_agent.js.map
|
|
@@ -236,7 +236,7 @@ var UnixTerminal = /** @class */ (function (_super) {
|
|
|
236
236
|
get: function () {
|
|
237
237
|
if (process.platform === 'darwin') {
|
|
238
238
|
var title = pty.process(this._fd);
|
|
239
|
-
return (title !== 'kernel_task') ? title : this._file;
|
|
239
|
+
return (title !== 'kernel_task' && title !== 'spawn_helper') ? title : this._file;
|
|
240
240
|
}
|
|
241
241
|
return pty.process(this._fd, this._pty) || this._file;
|
|
242
242
|
},
|
|
@@ -246,11 +246,14 @@ var UnixTerminal = /** @class */ (function (_super) {
|
|
|
246
246
|
/**
|
|
247
247
|
* TTY
|
|
248
248
|
*/
|
|
249
|
-
UnixTerminal.prototype.resize = function (cols, rows) {
|
|
249
|
+
UnixTerminal.prototype.resize = function (cols, rows, pixelSize) {
|
|
250
|
+
var _a, _b;
|
|
250
251
|
if (cols <= 0 || rows <= 0 || isNaN(cols) || isNaN(rows) || cols === Infinity || rows === Infinity) {
|
|
251
252
|
throw new Error('resizing must be done using positive cols and rows');
|
|
252
253
|
}
|
|
253
|
-
|
|
254
|
+
var pixelWidth = (_a = pixelSize === null || pixelSize === void 0 ? void 0 : pixelSize.width) !== null && _a !== void 0 ? _a : 0;
|
|
255
|
+
var pixelHeight = (_b = pixelSize === null || pixelSize === void 0 ? void 0 : pixelSize.height) !== null && _b !== void 0 ? _b : 0;
|
|
256
|
+
pty.resize(this._fd, cols, rows, pixelWidth, pixelHeight);
|
|
254
257
|
this._cols = cols;
|
|
255
258
|
this._rows = rows;
|
|
256
259
|
};
|
|
@@ -24,7 +24,7 @@ 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 + "/" + d
|
|
27
|
+
var dir = r + "/" + d;
|
|
28
28
|
try {
|
|
29
29
|
return { dir: dir, module: require(dir + "/" + name + ".node") };
|
|
30
30
|
}
|
|
@@ -7,14 +7,12 @@
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.argsToCommandLine = exports.WindowsPtyAgent = void 0;
|
|
9
9
|
var fs = require("fs");
|
|
10
|
-
var os = require("os");
|
|
11
10
|
var path = require("path");
|
|
12
11
|
var child_process_1 = require("child_process");
|
|
13
12
|
var net_1 = require("net");
|
|
14
13
|
var windowsConoutConnection_1 = require("./windowsConoutConnection");
|
|
15
14
|
var utils_1 = require("./utils");
|
|
16
15
|
var conptyNative;
|
|
17
|
-
var winptyNative;
|
|
18
16
|
/**
|
|
19
17
|
* The amount of time to wait for additional data after the conpty shell process has exited before
|
|
20
18
|
* shutting down the socket. The timer will be reset if a new data event comes in after the timer
|
|
@@ -22,46 +20,25 @@ var winptyNative;
|
|
|
22
20
|
*/
|
|
23
21
|
var FLUSH_DATA_INTERVAL = 1000;
|
|
24
22
|
/**
|
|
25
|
-
* This agent sits between the WindowsTerminal class and provides
|
|
26
|
-
* and winpty.
|
|
23
|
+
* This agent sits between the WindowsTerminal class and provides an interface for conpty.
|
|
27
24
|
*/
|
|
28
25
|
var WindowsPtyAgent = /** @class */ (function () {
|
|
29
|
-
function WindowsPtyAgent(file, args, env, cwd, cols, rows, debug,
|
|
26
|
+
function WindowsPtyAgent(file, args, env, cwd, cols, rows, debug, _useConptyDll, conptyInheritCursor) {
|
|
30
27
|
var _this = this;
|
|
31
28
|
if (_useConptyDll === void 0) { _useConptyDll = false; }
|
|
32
29
|
if (conptyInheritCursor === void 0) { conptyInheritCursor = false; }
|
|
33
|
-
this._useConpty = _useConpty;
|
|
34
30
|
this._useConptyDll = _useConptyDll;
|
|
35
|
-
this._pid = 0;
|
|
36
31
|
this._innerPid = 0;
|
|
37
|
-
if (
|
|
38
|
-
|
|
32
|
+
if (!conptyNative) {
|
|
33
|
+
conptyNative = utils_1.loadNativeModule('conpty').module;
|
|
39
34
|
}
|
|
40
|
-
|
|
41
|
-
if (!conptyNative) {
|
|
42
|
-
conptyNative = utils_1.loadNativeModule('conpty').module;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
if (!winptyNative) {
|
|
47
|
-
winptyNative = utils_1.loadNativeModule('pty').module;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
this._ptyNative = this._useConpty ? conptyNative : winptyNative;
|
|
35
|
+
this._ptyNative = conptyNative;
|
|
51
36
|
// Sanitize input variable.
|
|
52
37
|
cwd = path.resolve(cwd);
|
|
53
38
|
// Compose command line
|
|
54
39
|
var commandLine = argsToCommandLine(file, args);
|
|
55
40
|
// Open pty session.
|
|
56
|
-
var term;
|
|
57
|
-
if (this._useConpty) {
|
|
58
|
-
term = this._ptyNative.startProcess(file, cols, rows, debug, this._generatePipeName(), conptyInheritCursor, this._useConptyDll);
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
term = this._ptyNative.startProcess(file, commandLine, env, cwd, cols, rows, debug);
|
|
62
|
-
this._pid = term.pid;
|
|
63
|
-
this._innerPid = term.innerPid;
|
|
64
|
-
}
|
|
41
|
+
var term = conptyNative.startProcess(file, cols, rows, debug, this._generatePipeName(), conptyInheritCursor, this._useConptyDll);
|
|
65
42
|
// Not available on windows.
|
|
66
43
|
this._fd = term.fd;
|
|
67
44
|
// Generated incremental number that has no real purpose besides using it
|
|
@@ -71,9 +48,26 @@ var WindowsPtyAgent = /** @class */ (function () {
|
|
|
71
48
|
this._outSocket = new net_1.Socket();
|
|
72
49
|
this._outSocket.setEncoding('utf8');
|
|
73
50
|
// The conout socket must be ready out on another thread to avoid deadlocks
|
|
51
|
+
// We must wait for the worker to connect before calling conptyNative.connect()
|
|
52
|
+
// to avoid blocking the Node.js event loop in ConnectNamedPipe.
|
|
53
|
+
// See https://github.com/microsoft/node-pty/issues/763
|
|
74
54
|
this._conoutSocketWorker = new windowsConoutConnection_1.ConoutConnection(term.conout, this._useConptyDll);
|
|
55
|
+
// Store pending connection info - we'll complete the connection when worker is ready
|
|
56
|
+
this._pendingPtyInfo = { pty: this._pty, commandLine: commandLine, cwd: cwd, env: env };
|
|
57
|
+
// Timeout to ensure connection completes even if worker fails to signal ready
|
|
58
|
+
var connectionTimeout = setTimeout(function () {
|
|
59
|
+
if (_this._pendingPtyInfo) {
|
|
60
|
+
// Worker never signaled ready - complete connection anyway to avoid zombie state
|
|
61
|
+
_this._completePtyConnection();
|
|
62
|
+
}
|
|
63
|
+
}, 5000);
|
|
75
64
|
this._conoutSocketWorker.onReady(function () {
|
|
65
|
+
clearTimeout(connectionTimeout);
|
|
76
66
|
_this._conoutSocketWorker.connectSocket(_this._outSocket);
|
|
67
|
+
// Now that the worker has connected to the output pipe, we can safely call
|
|
68
|
+
// conptyNative.connect() which calls ConnectNamedPipe - it won't block because
|
|
69
|
+
// the client (worker) is already connected
|
|
70
|
+
_this._completePtyConnection();
|
|
77
71
|
});
|
|
78
72
|
this._outSocket.on('connect', function () {
|
|
79
73
|
_this._outSocket.emit('ready_datapipe');
|
|
@@ -85,10 +79,6 @@ var WindowsPtyAgent = /** @class */ (function () {
|
|
|
85
79
|
writable: true
|
|
86
80
|
});
|
|
87
81
|
this._inSocket.setEncoding('utf8');
|
|
88
|
-
if (this._useConpty) {
|
|
89
|
-
var connect = this._ptyNative.connect(this._pty, commandLine, cwd, env, this._useConptyDll, function (c) { return _this._$onProcessExit(c); });
|
|
90
|
-
this._innerPid = connect.pid;
|
|
91
|
-
}
|
|
92
82
|
}
|
|
93
83
|
Object.defineProperty(WindowsPtyAgent.prototype, "inSocket", {
|
|
94
84
|
get: function () { return this._inSocket; },
|
|
@@ -115,71 +105,60 @@ var WindowsPtyAgent = /** @class */ (function () {
|
|
|
115
105
|
enumerable: false,
|
|
116
106
|
configurable: true
|
|
117
107
|
});
|
|
118
|
-
WindowsPtyAgent.prototype.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
throw new Error('Cannot resize a pty that has already exited');
|
|
122
|
-
}
|
|
123
|
-
this._ptyNative.resize(this._pty, cols, rows, this._useConptyDll);
|
|
108
|
+
WindowsPtyAgent.prototype._completePtyConnection = function () {
|
|
109
|
+
var _this = this;
|
|
110
|
+
if (!this._pendingPtyInfo) {
|
|
124
111
|
return;
|
|
125
112
|
}
|
|
126
|
-
this.
|
|
113
|
+
var _a = this._pendingPtyInfo, pty = _a.pty, commandLine = _a.commandLine, cwd = _a.cwd, env = _a.env;
|
|
114
|
+
this._pendingPtyInfo = undefined;
|
|
115
|
+
var connect = conptyNative.connect(pty, commandLine, cwd, env, this._useConptyDll, function (c) { return _this._$onProcessExit(c); });
|
|
116
|
+
this._innerPid = connect.pid;
|
|
127
117
|
};
|
|
128
|
-
WindowsPtyAgent.prototype.
|
|
129
|
-
if (this.
|
|
130
|
-
|
|
118
|
+
WindowsPtyAgent.prototype.resize = function (cols, rows) {
|
|
119
|
+
if (this._exitCode !== undefined) {
|
|
120
|
+
throw new Error('Cannot resize a pty that has already exited');
|
|
131
121
|
}
|
|
122
|
+
this._ptyNative.resize(this._pty, cols, rows, this._useConptyDll);
|
|
123
|
+
};
|
|
124
|
+
WindowsPtyAgent.prototype.clear = function () {
|
|
125
|
+
this._ptyNative.clear(this._pty, this._useConptyDll);
|
|
132
126
|
};
|
|
133
127
|
WindowsPtyAgent.prototype.kill = function () {
|
|
134
128
|
var _this = this;
|
|
129
|
+
// Prevent deferred connection from completing after kill
|
|
130
|
+
this._pendingPtyInfo = undefined;
|
|
135
131
|
// Tell the agent to kill the pty, this releases handles to the process
|
|
136
|
-
if (this.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
});
|
|
150
|
-
this._ptyNative.kill(this._pty, this._useConptyDll);
|
|
151
|
-
this._conoutSocketWorker.dispose();
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
// Close the input write handle to signal the end of session.
|
|
155
|
-
this._inSocket.destroy();
|
|
156
|
-
this._ptyNative.kill(this._pty, this._useConptyDll);
|
|
157
|
-
this._outSocket.on('data', function () {
|
|
158
|
-
_this._conoutSocketWorker.dispose();
|
|
132
|
+
if (!this._useConptyDll) {
|
|
133
|
+
this._inSocket.readable = false;
|
|
134
|
+
this._outSocket.readable = false;
|
|
135
|
+
this._getConsoleProcessList().then(function (consoleProcessList) {
|
|
136
|
+
consoleProcessList.forEach(function (pid) {
|
|
137
|
+
try {
|
|
138
|
+
process.kill(pid);
|
|
139
|
+
}
|
|
140
|
+
catch (e) {
|
|
141
|
+
// Ignore if process cannot be found (kill ESRCH error)
|
|
142
|
+
}
|
|
159
143
|
});
|
|
160
|
-
}
|
|
144
|
+
});
|
|
145
|
+
this._ptyNative.kill(this._pty, this._useConptyDll);
|
|
146
|
+
this._conoutSocketWorker.dispose();
|
|
161
147
|
}
|
|
162
148
|
else {
|
|
163
|
-
//
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
// Microsoft/vscode#26807).
|
|
169
|
-
var processList = this._ptyNative.getProcessList(this._pid);
|
|
170
|
-
this._ptyNative.kill(this._pid, this._innerPid);
|
|
171
|
-
processList.forEach(function (pid) {
|
|
172
|
-
try {
|
|
173
|
-
process.kill(pid);
|
|
174
|
-
}
|
|
175
|
-
catch (e) {
|
|
176
|
-
// Ignore if process cannot be found (kill ESRCH error)
|
|
177
|
-
}
|
|
149
|
+
// Close the input write handle to signal the end of session.
|
|
150
|
+
this._inSocket.destroy();
|
|
151
|
+
this._ptyNative.kill(this._pty, this._useConptyDll);
|
|
152
|
+
this._outSocket.on('data', function () {
|
|
153
|
+
_this._conoutSocketWorker.dispose();
|
|
178
154
|
});
|
|
179
155
|
}
|
|
180
156
|
};
|
|
181
157
|
WindowsPtyAgent.prototype._getConsoleProcessList = function () {
|
|
182
158
|
var _this = this;
|
|
159
|
+
if (this._innerPid <= 0) {
|
|
160
|
+
return Promise.resolve([]);
|
|
161
|
+
}
|
|
183
162
|
return new Promise(function (resolve) {
|
|
184
163
|
var agent = child_process_1.fork(path.join(__dirname, 'conpty_console_list_agent'), [_this._innerPid.toString()]);
|
|
185
164
|
agent.on('message', function (message) {
|
|
@@ -195,23 +174,11 @@ var WindowsPtyAgent = /** @class */ (function () {
|
|
|
195
174
|
};
|
|
196
175
|
Object.defineProperty(WindowsPtyAgent.prototype, "exitCode", {
|
|
197
176
|
get: function () {
|
|
198
|
-
|
|
199
|
-
return this._exitCode;
|
|
200
|
-
}
|
|
201
|
-
var winptyExitCode = this._ptyNative.getExitCode(this._innerPid);
|
|
202
|
-
return winptyExitCode === -1 ? undefined : winptyExitCode;
|
|
177
|
+
return this._exitCode;
|
|
203
178
|
},
|
|
204
179
|
enumerable: false,
|
|
205
180
|
configurable: true
|
|
206
181
|
});
|
|
207
|
-
WindowsPtyAgent.prototype._getWindowsBuildNumber = function () {
|
|
208
|
-
var osVersion = (/(\d+)\.(\d+)\.(\d+)/g).exec(os.release());
|
|
209
|
-
var buildNumber = 0;
|
|
210
|
-
if (osVersion && osVersion.length === 4) {
|
|
211
|
-
buildNumber = parseInt(osVersion[3]);
|
|
212
|
-
}
|
|
213
|
-
return buildNumber;
|
|
214
|
-
};
|
|
215
182
|
WindowsPtyAgent.prototype._generatePipeName = function () {
|
|
216
183
|
return "conpty-" + Math.random() * 10000000;
|
|
217
184
|
};
|
|
@@ -48,7 +48,7 @@ var WindowsTerminal = /** @class */ (function (_super) {
|
|
|
48
48
|
// Functions that need to run after `ready` event is emitted.
|
|
49
49
|
_this._deferreds = [];
|
|
50
50
|
// Create new termal.
|
|
51
|
-
_this._agent = new windowsPtyAgent_1.WindowsPtyAgent(file, args, parsedEnv, cwd, _this._cols, _this._rows, false, opt.
|
|
51
|
+
_this._agent = new windowsPtyAgent_1.WindowsPtyAgent(file, args, parsedEnv, cwd, _this._cols, _this._rows, false, opt.useConptyDll, opt.conptyInheritCursor);
|
|
52
52
|
_this._socket = _this._agent.outSocket;
|
|
53
53
|
// Not available until `ready` event emitted.
|
|
54
54
|
_this._pid = _this._agent.innerPid;
|
|
@@ -57,6 +57,8 @@ var WindowsTerminal = /** @class */ (function (_super) {
|
|
|
57
57
|
// The forked windows terminal is not available until `ready` event is
|
|
58
58
|
// emitted.
|
|
59
59
|
_this._socket.on('ready_datapipe', function () {
|
|
60
|
+
// Update pid now that the agent has connected
|
|
61
|
+
_this._pid = _this._agent.innerPid;
|
|
60
62
|
// Run deferreds and set ready state once the first data event is received.
|
|
61
63
|
_this._socket.once('data', function () {
|
|
62
64
|
// Wait until the first data event is fired then we can run deferreds.
|
|
@@ -121,7 +123,7 @@ var WindowsTerminal = /** @class */ (function (_super) {
|
|
|
121
123
|
/**
|
|
122
124
|
* TTY
|
|
123
125
|
*/
|
|
124
|
-
WindowsTerminal.prototype.resize = function (cols, rows) {
|
|
126
|
+
WindowsTerminal.prototype.resize = function (cols, rows, pixelSize) {
|
|
125
127
|
var _this = this;
|
|
126
128
|
if (cols <= 0 || rows <= 0 || isNaN(cols) || isNaN(rows) || cols === Infinity || rows === Infinity) {
|
|
127
129
|
throw new Error('resizing must be done using positive cols and rows');
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Microsoft Corporation"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.2.0-beta.12",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"main": "./lib/index.js",
|
|
10
10
|
"types": "./typings/node-pty.d.ts",
|
|
@@ -13,10 +13,11 @@
|
|
|
13
13
|
"url": "git://github.com/microsoft/node-pty.git"
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
|
-
"lib
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
16
|
+
"lib/**/*.js",
|
|
17
|
+
"!lib/**/*.test.js",
|
|
18
|
+
"scripts/post-install.js",
|
|
19
|
+
"scripts/prebuild.js",
|
|
20
|
+
"src/**/*.{cc,h}",
|
|
20
21
|
"prebuilds/",
|
|
21
22
|
"third_party/",
|
|
22
23
|
"typings/",
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibedeckx/linux-x64",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "Vibedeckx platform binaries for Linux x64",
|
|
5
5
|
"os": [
|
|
6
6
|
"linux"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"fastify": "^5.6.1",
|
|
24
24
|
"fastify-plugin": "^5.1.0",
|
|
25
25
|
"https-proxy-agent": "^7.0.6",
|
|
26
|
-
"node-pty": "^1.
|
|
26
|
+
"node-pty": "^1.2.0-beta.12",
|
|
27
27
|
"open": "^10.1.0",
|
|
28
28
|
"socks-proxy-agent": "^8.0.5",
|
|
29
29
|
"undici": "^7.22.0",
|
|
Binary file
|