@vibecontrols/agent 2026.602.1 → 2026.602.3
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/{agent-config-85pskv43.js → agent-config-4ppenhqp.js} +1 -1
- package/dist/{agent-ready-tracker-zp6p8e6f.js → agent-ready-tracker-kgs7td6t.js} +1 -1
- package/dist/app-9j2t5geq.js +2 -0
- package/dist/bootstrap-workspace-qgs6d5f0.js +2 -0
- package/dist/bootstrap.service-vg72w8pa.js +2 -0
- package/dist/{bridge-client-341r9rry.js → bridge-client-1fxza4p7.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/daemon-profile-gwdcqx0q.js +2 -0
- package/dist/esm-6f3dfn6v.js +2 -0
- package/dist/{finalize-retry-handle-registry-vv241fsq.js → finalize-retry-handle-registry-xnm9kxry.js} +1 -1
- package/dist/{finalize-retry-worker-xp1nhv3c.js → finalize-retry-worker-dvykrzed.js} +1 -1
- package/dist/gateway-client-9kwnmk89.js +2 -0
- package/dist/{getMachineId-bsd-a56s0v8c.js → getMachineId-bsd-753751sw.js} +1 -1
- package/dist/{getMachineId-darwin-w9k0yw9r.js → getMachineId-darwin-na1pranq.js} +1 -1
- package/dist/{getMachineId-linux-anh31jbf.js → getMachineId-linux-dmn0ncdm.js} +1 -1
- package/dist/{getMachineId-unsupported-5hv3pwca.js → getMachineId-unsupported-yv77j894.js} +1 -1
- package/dist/{getMachineId-win-njb8tery.js → getMachineId-win-9hmyqmm0.js} +1 -1
- package/dist/highlights-00fcgwwq.js +2 -0
- package/dist/highlights-23bc8zge.js +2 -0
- package/dist/highlights-4mhb2pb0.js +2 -0
- package/dist/highlights-q7w64nwb.js +2 -0
- package/dist/highlights-xwdw5xay.js +2 -0
- package/dist/{index-678rwfc0.js → index-0924jp9m.js} +1 -1
- package/dist/{index-c4xqp05z.js → index-11grwjm1.js} +41 -41
- package/dist/index-1evqt03m.js +11 -0
- package/dist/{index-z5a4yxzz.js → index-1mppacnx.js} +3 -3
- package/dist/{index-jw1k4vbk.js → index-4qq083yd.js} +1 -1
- package/dist/{index-d5ysy1yn.js → index-5dysvvjv.js} +1 -1
- package/dist/{index-n7qyrdr1.js → index-5wpck4aw.js} +1 -1
- package/dist/{index-mtm8cfyt.js → index-8053zege.js} +2 -2
- package/dist/{index-5mw3eshk.js → index-8nqp3a4d.js} +1 -1
- package/dist/{index-2xs9cvjn.js → index-8sdrhr3q.js} +2 -2
- package/dist/{index-6mprnf7p.js → index-97mq40rr.js} +1 -1
- package/dist/{index-1hnw0rhc.js → index-9f52em7g.js} +29 -29
- package/dist/{index-0cn9bv8z.js → index-a4854mwz.js} +1 -1
- package/dist/{index-g8zv1gta.js → index-atp2ayra.js} +1 -1
- package/dist/{index-xjzmb1pn.js → index-b6x6a4xp.js} +2 -2
- package/dist/{index-yy1mm8zs.js → index-c7554sg7.js} +1 -1
- package/dist/{index-2gsarrbn.js → index-d1xjj001.js} +1 -1
- package/dist/{index-h8a8s8sn.js → index-ebwwtwwc.js} +1 -1
- package/dist/{index-8sm0nkh8.js → index-ep3zb271.js} +1 -1
- package/dist/index-gxgftnbh.js +26 -0
- package/dist/{index-g2raeeh4.js → index-h74va4wd.js} +2 -2
- package/dist/{index-v9fx5wab.js → index-hvjqgb97.js} +1 -1
- package/dist/{index-g3ap3xpr.js → index-jdh30t6c.js} +4 -4
- package/dist/{index-9bqd8veb.js → index-js1xn4sq.js} +3 -3
- package/dist/{index-x1h8r7pr.js → index-kt5zxp42.js} +1 -1
- package/dist/{index-ssjmzqcz.js → index-n6bdbgb9.js} +1 -1
- package/dist/{index-rdp5xq4r.js → index-nrsqzcfc.js} +1 -1
- package/dist/index-p23tet7a.js +2 -0
- package/dist/{index-04n4qgvd.js → index-pgew6sge.js} +3 -3
- package/dist/{index-1zw3kea7.js → index-qwtspxw8.js} +1 -1
- package/dist/index-rqq0k5fc.js +16 -0
- package/dist/{index-6jq17k9s.js → index-rv6h14n8.js} +1 -1
- package/dist/{index-qfz9fy56.js → index-rw9x93zb.js} +1 -1
- package/dist/{index-dm6yjmgq.js → index-rzpaqrhx.js} +2 -2
- package/dist/{index-vdahdt49.js → index-tgrt61qr.js} +1 -1
- package/dist/{index-ef95xr4z.js → index-thammzct.js} +2 -2
- package/dist/{index-tp4y9jde.js → index-wccxsz72.js} +1 -1
- package/dist/{index-scsjyj4m.js → index-x649afed.js} +2 -2
- package/dist/{index-8kvc8ttn.js → index-xrs52f2c.js} +1 -1
- package/dist/{index-yrgm89r8.js → index-ydc0tk17.js} +1 -1
- package/dist/{index-0248afsn.js → index-z5s398n0.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/injections-x3xya90r.js +2 -0
- package/dist/interactive-qc1j66mq.js +2 -0
- package/dist/key.cmd-972133dv.js +2 -0
- package/dist/log-shipper-hjnn1d5p.js +2 -0
- package/dist/{path-utils-35re7qf9.js → path-utils-hxdyv2zn.js} +1 -1
- package/dist/{plugin-system-c916v9an.js → plugin-system-8hby8x1m.js} +1 -1
- package/dist/prereqs-runner-27x3j1md.js +2 -0
- package/dist/profile-mount-8dc9jwt5.js +2 -0
- package/dist/prune-stale-shims-23y0stm8.js +2 -0
- package/dist/register-core-qcj272qh.js +2 -0
- package/dist/secondary-profile-attach-xkvpmm08.js +2 -0
- package/dist/subprocess-1nna3d3x.js +2 -0
- package/dist/telemetry-8jfdyt51.js +2 -0
- package/dist/tree-sitter-javascript-q22gvtms.js +2 -0
- package/dist/tree-sitter-markdown-pntsjzm3.js +2 -0
- package/dist/tree-sitter-markdown_inline-g1wzqf7k.js +2 -0
- package/dist/tree-sitter-typescript-m9yfes10.js +2 -0
- package/dist/tree-sitter-zig-jmh62j90.js +2 -0
- package/dist/tunnel-bootstrap-5wgt9a1h.js +2 -0
- package/package.json +1 -1
- package/dist/app-jeyyhz7s.js +0 -2
- package/dist/bootstrap-workspace-zpm20zez.js +0 -2
- package/dist/bootstrap.service-pjmnpxha.js +0 -2
- package/dist/daemon-profile-vas1vf2t.js +0 -2
- package/dist/esm-9fpye77x.js +0 -2
- package/dist/gateway-client-43gzvj5s.js +0 -2
- package/dist/highlights-8d9mgr01.js +0 -2
- package/dist/highlights-jwvdxm9x.js +0 -2
- package/dist/highlights-qbx2vnme.js +0 -2
- package/dist/highlights-r3m83kn9.js +0 -2
- package/dist/highlights-s7mqapt6.js +0 -2
- package/dist/index-01qzsnwd.js +0 -16
- package/dist/index-5t4t0avg.js +0 -26
- package/dist/index-hrdamx5j.js +0 -2
- package/dist/index-tmrbs96r.js +0 -11
- package/dist/injections-srewsjcz.js +0 -2
- package/dist/interactive-22ta89hc.js +0 -2
- package/dist/key.cmd-wgcq6kt8.js +0 -2
- package/dist/log-shipper-k24m8yw5.js +0 -2
- package/dist/prereqs-runner-ca4kt803.js +0 -2
- package/dist/profile-mount-npcknw6v.js +0 -2
- package/dist/prune-stale-shims-nkx9vq5m.js +0 -2
- package/dist/register-core-mbv4hrbv.js +0 -2
- package/dist/secondary-profile-attach-db5cr3e1.js +0 -2
- package/dist/subprocess-g9sk1ep9.js +0 -2
- package/dist/telemetry-tnq47dcs.js +0 -2
- package/dist/tree-sitter-javascript-3h25c6bs.js +0 -2
- package/dist/tree-sitter-markdown-3nemcjhe.js +0 -2
- package/dist/tree-sitter-markdown_inline-16ftwa53.js +0 -2
- package/dist/tree-sitter-typescript-f6mq6ze6.js +0 -2
- package/dist/tree-sitter-zig-s2trkm2d.js +0 -2
- package/dist/tunnel-bootstrap-2kg79ng8.js +0 -2
package/dist/index-tmrbs96r.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{h as y,i as A}from"./index-cs78wq6y.js";import{A as l$,B as p$,y as v$}from"./index-1hnw0rhc.js";import{N as H$}from"./index-b5dhmybd.js";import{O as K$,P as q$}from"./index-e1bw1bwr.js";import{va as g}from"./index-ssjmzqcz.js";import"./index-tp4y9jde.js";import{Ca as h$}from"./index-4wgjx8bf.js";import"./index-g3ap3xpr.js";import"./index-0ckffygp.js";import{ab as v}from"./index-rc79x8fw.js";import{db as Y$}from"./index-52cp759f.js";import"./index-v9fx5wab.js";import{Jb as C$,tb as X$,vb as L$}from"./index-01qzsnwd.js";import"./index-d5ysy1yn.js";import{Tb as F,Ub as p}from"./index-04n4qgvd.js";import{Wb as c$}from"./index-dm6yjmgq.js";import"./index-2xs9cvjn.js";import{ic as M,jc as x,kc as y$}from"./index-5mw3eshk.js";import{Ac as N,Bc as u,nc as V,oc as Z,pc as Y,qc as K,rc as c,tc as z,uc as X,vc as J,wc as Q,xc as P$,yc as k,zc as s}from"./index-z5a4yxzz.js";import{Gc as q}from"./index-ef95xr4z.js";import{Kc as T,Mc as _,Nc as j,Oc as m$}from"./index-xjzmb1pn.js";import{pd as T$}from"./index-g2raeeh4.js";import{Hd as z$,Kd as D$,Nd as b}from"./index-9bqd8veb.js";import{$d as U$,Xd as J$,Zd as a,_d as $$}from"./index-0cn9bv8z.js";import"./index-jw1k4vbk.js";import{he as d}from"./index-yy1mm8zs.js";function t(f){let{name:W,onInit:G,onShutdown:U,onNuke:R,telemetryEventName:$,skipPlatforms:w}=f;return{onServerStart:async(I,O)=>{if(w&&w.includes(process.platform)){process.stderr.write(`[${W}] skipping init on unsupported platform '${process.platform}'
|
|
3
|
-
`);return}if(G)await G(O);if($)O.telemetry?.emit($,{plugin:W})},onServerStop:async(I)=>{if(U)await U(I)},onNuke:async(I,O)=>{if(R)return R(I,O)}}}var e=class{constructor(f,W){this.logger=f,this.source=W}logger;source;info(f,W){this.logger?.info?.(this.source,f,W)}warn(f,W){this.logger?.warn?.(this.source,f,W)}error(f,W){this.logger?.error?.(this.source,f,W)}debug(f,W){this.logger?.debug?.(this.source,f,W)}};import{existsSync as r$,rmSync as t$,statSync as e$}from"fs";import{resolve as a$}from"path";function R$(f=$$()){let W=[],G=a$(f),U=U$();if(!a(U,G))throw Error("Refusing to reset a path outside the agents directory");if(r$(G)&&e$(G).isDirectory())t$(G,{recursive:!0,force:!0}),W.push(G);return{removed:W,agentDir:G}}var S="alias",w$=/^[a-zA-Z0-9_-]{1,64}$/,G$=16384,f$=256,W$=1024,$U=new Set(["help","start","stop","restart","kill","list","status","setup","update","completion","autostart","export","import","diagnostics","nuke","doctor","log-level","gc","deploy","network","profile","peer-bootstrap","gateway-auth","info","key","system","url","health","notify","tunnel","session","git","config","log","plugin","ai","audit","alias","run"]);class D extends Error{code;constructor(f,W){super(W);this.code=f,this.name="AliasValidationError"}}class E extends Error{constructor(f){super(`alias '${f}' already exists`);this.name="AliasConflictError"}}class n extends Error{constructor(f){super(`alias '${f}' not found`);this.name="AliasNotFoundError"}}function UU(f){if(typeof f!=="string"||!w$.test(f))throw new D("invalid_name",`alias name must match ${w$} (got '${f}')`);if($U.has(f))throw new D("reserved_name",`alias name '${f}' is reserved`)}function I$(f){if(typeof f!=="string"||f.length===0)throw new D("invalid_command","alias command must be a non-empty string");if(f.length>G$)throw new D("command_too_long",`alias command exceeds ${G$} bytes`)}function O$(f){if(f===void 0)return;if(typeof f!=="string")throw new D("invalid_description","alias description must be a string");if(f.length>f$)throw new D("description_too_long",`alias description exceeds ${f$} chars`)}function F$(f){if(f===void 0||f===null||f==="")return;if(typeof f!=="string")throw new D("invalid_cwd","alias cwd must be a string");if(f.length>W$)throw new D("cwd_too_long",`alias cwd exceeds ${W$} chars`);if(f.includes("\x00"))throw new D("invalid_cwd","alias cwd must not contain NUL bytes")}function RU(f){if(!f)return;try{return JSON.parse(f)}catch{return}}async function i(f){let W=await f.getAllPluginState(S),G=[];for(let U of W){let R=RU(U.value);if(R)G.push(R)}return G.sort((U,R)=>U.name.localeCompare(R.name)),G}async function P(f,W){return(await i(f)).find((U)=>U.name===W)}function V$(f){if(f===void 0||f===null)return null;let W=f.trim();return W===""?null:W}async function Q$(f,W){if(UU(W.name),I$(W.command),O$(W.description),F$(W.cwd),await P(f,W.name))throw new E(W.name);let U=new Date().toISOString(),R={id:crypto.randomUUID(),name:W.name,command:W.command,description:W.description,cwd:V$(W.cwd),profile:J$(),createdAt:U,updatedAt:U};return await f.setPluginState(S,R.id,JSON.stringify(R)),R}async function Z$(f,W,G){let U=await P(f,W);if(!U)throw new n(W);if(G.command!==void 0)I$(G.command);if(G.description!==void 0)O$(G.description);if(G.cwd!==void 0)F$(G.cwd);let R={...U,command:G.command??U.command,description:G.description!==void 0?G.description:U.description,cwd:G.cwd!==void 0?V$(G.cwd):U.cwd,updatedAt:new Date().toISOString()};return await f.setPluginState(S,R.id,JSON.stringify(R)),R}async function B$(f,W){let G=await P(f,W);if(!G)throw new n(W);await f.deletePluginState(S,G.id)}function m(){let f=D$()??b();return{dir:f.dataDir,scope:f.name}}function j$(f){let{serviceRegistry:W,db:G}=f;return new p().get("/api-key",()=>({apiKey:C$()})).get("/audit",({query:U})=>{let R=U,$=R.limit?Math.min(5000,Math.max(1,Number.parseInt(R.limit,10)||100)):100,w=b().audit.listEvents({since:R.since,limit:$,event:R.event});return{events:w,count:w.length}},{query:F.Object({since:F.Optional(F.String()),limit:F.Optional(F.String()),event:F.Optional(F.String())})}).get("/setup/check",()=>{let U=K$();return{ready:U.filter(($)=>$.required).every(($)=>$.installed),dependencies:U}}).post("/setup/install",async({request:U,server:R,set:$})=>{let w=await A(U,"VIBECONTROLS_ALLOW_REMOTE_SETUP_INSTALL",R);if(w)return $.status=403,{error:"Forbidden",message:w};return await q$()}).get("/url",async()=>{let U=W.getProvider("tunnel"),R=U&&U.getActiveTunnelUrl?await U.getActiveTunnelUrl():null,$=`http://localhost:${process.env.PORT||3005}`;return{url:R||$,tunnelUrl:R,localUrl:$,source:R?"tunnel":"local"}}).get("/lifecycle/state",()=>{return{state:W.getService("agent","lifecycle")?.getState()??"running"}}).post("/lifecycle/stop",async({set:U})=>{let R=W.getService("agent","lifecycle");if(!R)return U.status=500,{error:"Lifecycle manager not initialized"};return await R.stop(),{state:"stopped"}}).post("/lifecycle/start",async({set:U})=>{let R=W.getService("agent","lifecycle");if(!R)return U.status=500,{error:"Lifecycle manager not initialized"};return await R.start(),{state:"running"}}).post("/lifecycle/kill",async({set:U})=>{let R=W.getService("agent","lifecycle");if(!R)return U.status=500,{error:"Lifecycle manager not initialized"};return setTimeout(()=>R.kill(),100),{state:"killing"}}).post("/log-level",async({body:U,request:R,server:$,set:w})=>{let I=await A(R,"VIBECONTROLS_ALLOW_REMOTE_LOG_LEVEL",$);if(I)return w.status=403,{error:"Forbidden",message:I};let O=String(U.level??"").toLowerCase();if(!["debug","info","warn","error"].includes(O))return w.status=400,{error:"Invalid level",message:"level must be debug | info | warn | error"};return b().logger.setLevel(O),b().logger.info("agent",`Log level set to ${O} via API`),{ok:!0,level:O}},{body:F.Object({level:F.String()})}).post("/reset",async({body:U,request:R,server:$,set:w})=>{if(!U.confirm)return w.status=400,{error:"Reset confirmation required",message:"Send { confirm: true } to reset local agent state."};let I=await A(R,"VIBECONTROLS_ALLOW_REMOTE_RESET",$);if(I)return w.status=403,{error:"Forbidden",message:I};let O=W.getService("agent","lifecycle");try{if(O)await O.prepareForReset()}catch(h){b().logger.warn("agent","prepareForReset failed during reset \u2014 proceeding to wipe anyway",{error:String(h)})}try{z$.configure({globalGatewayUrl:"",workspaceGatewayUrl:void 0,clientId:"",clientSecret:"",workspaceId:void 0})}catch{}await G.close();let{removed:B,agentDir:L}=R$();b().logger.info("agent","Reset wiped local agent state",{agentDir:L,removed:B});let C=new Uint8Array(32);crypto.getRandomValues(C);let H=`vcak_${Buffer.from(C).toString("base64url")}`;return T$({"static-api-key":H},m()),b().setBootState("awaiting-config"),w.status=200,{success:!0,state:"awaiting-config",...y(R,$)||process.env.VIBECONTROLS_RETURN_RESET_API_KEY==="1"?{newApiKey:H}:{},agentDir:L,removed:B}},{body:F.Object({confirm:F.Boolean()})}).post("/sessions/:sessionId/share",async({params:U,body:R,server:$,request:w,set:I})=>{if(!y(w,$)&&process.env.VIBECONTROLS_ALLOW_REMOTE_SESSION_SHARE!=="1")return I.status=403,{error:"Forbidden",message:"Session-share mint must come from a local request unless VIBECONTROLS_ALLOW_REMOTE_SESSION_SHARE=1."};if(!X$(U.sessionId))return I.status=400,{error:"BadRequest",message:"invalid sessionId"};let O=wU(R?.expiresIn)??1800000,B=crypto.randomUUID(),L=new Uint8Array(32);crypto.getRandomValues(L);let C=`vcak_${Buffer.from(L).toString("base64url")}`,H=new Date(Date.now()+O).toISOString(),r=[...(await import("./agent-config-85pskv43.js")).readAgentConfig({dir:m().dir}).apiKeys??[],{id:B,name:`session-share:${U.sessionId}:${R?.label??"viewer"}`,key:C,scopes:["read"],expiresAt:H,createdAt:new Date().toISOString()}];(await import("./agent-config-85pskv43.js")).writeAgentConfig({apiKeys:r},m());let h=W.getProvider("tunnel"),i$=(h&&h.getActiveTunnelUrl?await h.getActiveTunnelUrl():null)??`http://localhost:${process.env.PORT||3005}`,d$=L$({pathPrefixes:[`/terminal/${U.sessionId}`],methods:["GET"]},Math.min(600,Math.floor(O/1000))),s$=`${i$.replace(/\/$/,"")}/terminal/${encodeURIComponent(U.sessionId)}/#vt=${encodeURIComponent(d$.token)}`;return b().logger.info("session-share","Minted share credential",{sessionId:U.sessionId,keyId:B,expiresAt:H}),{ok:!0,keyId:B,apiKey:C,joinUrl:s$,sessionId:U.sessionId,expiresAt:H}},{params:F.Object({sessionId:F.String()}),body:F.Optional(F.Object({permissions:F.Optional(F.Array(F.String())),expiresIn:F.Optional(F.String()),label:F.Optional(F.String())}))}).get("/aliases",async()=>{return{aliases:await i(G)}}).get("/aliases/:name",async({params:U,set:R})=>{let $=await P(G,U.name);if(!$)return R.status=404,{error:"Alias not found"};return $},{params:F.Object({name:F.String()})}).post("/aliases",async({body:U,set:R})=>{try{let $=await Q$(G,U);return R.status=201,$}catch($){if($ instanceof E)return R.status=409,{error:"Alias already exists",message:$.message};if($ instanceof D)return R.status=400,{error:$.code,message:$.message};throw $}},{body:F.Object({name:F.String(),command:F.String(),description:F.Optional(F.String()),cwd:F.Optional(F.Union([F.String(),F.Null()]))})}).put("/aliases/:name",async({params:U,body:R,set:$})=>{try{return await Z$(G,U.name,R)}catch(w){if(w instanceof n)return $.status=404,{error:"Alias not found"};if(w instanceof D)return $.status=400,{error:w.code,message:w.message};throw w}},{params:F.Object({name:F.String()}),body:F.Object({command:F.Optional(F.String()),description:F.Optional(F.String()),cwd:F.Optional(F.Union([F.String(),F.Null()]))})}).delete("/aliases/:name",async({params:U,set:R})=>{try{return await B$(G,U.name),R.status=204,null}catch($){if($ instanceof n)return R.status=404,{error:"Alias not found"};throw $}},{params:F.Object({name:F.String()})}).post("/aliases/:name/execute",async({params:U,body:R,set:$})=>{let w=await P(G,U.name);if(!w)return $.status=404,{error:"Alias not found"};let I=R?.args??[],O=await H$(w,I);b().audit.emit("agent","alias.executed",{exit_code:O.exit_code});let B=Y$("alias.executed",{exit_code:O.exit_code});if(!B.ok)b().logger.debug("alias",`telemetry validate failed: ${B.reason}`);if(O.timed_out)$.status=408;return{exit_code:O.exit_code,stdout:O.stdout,stderr:O.stderr,duration_ms:O.duration_ms,truncated:O.truncated,cwd:O.cwd}},{params:F.Object({name:F.String()}),body:F.Optional(F.Object({args:F.Optional(F.Array(F.String()))}))}).post("/sessions/share/:keyId/revoke",async({params:U,server:R,request:$,set:w})=>{if(!y($,R)&&process.env.VIBECONTROLS_ALLOW_REMOTE_SESSION_SHARE!=="1")return w.status=403,{error:"Forbidden"};let I=await import("./agent-config-85pskv43.js"),O=m(),B=I.readAgentConfig({dir:O.dir}),L=(B.apiKeys??[]).length,C=(B.apiKeys??[]).filter((H)=>H.id!==U.keyId);if(C.length===L)return w.status=404,{error:"No such share key"};return I.writeAgentConfig({apiKeys:C},O),{ok:!0,revoked:U.keyId}},{params:F.Object({keyId:F.String()})})}function wU(f){if(!f)return null;let W=/^(\d+)([smhdw]?)$/.exec(f.trim());if(!W)return null;let G=Number(W[1]),U=W[2]||"m";return U==="s"?G*1000:U==="m"?G*60000:U==="h"?G*3600000:U==="d"?G*86400000:G*7*86400000}var GU="http://localhost:3005";function M$(f){f.command("health").description("Check health of a VibeControls agent instance").option("-n, --name <name>","Agent instance name").option("--agent-url <url>","Agent URL",GU).option("--json","Emit JSON").option("--plain","Force plain text output").action(async function(W){try{let G={...f.opts(),...W};await x({mode:M(G),fetchData:async()=>{if(G.name){let $=await new g().checkHealth(G.name);return{mode:"named",agentUrl:T(G),name:G.name,healthy:$.healthy,details:$.details??{}}}let U=T(G);try{let R=await j(U,"/health");return{mode:"url",agentUrl:U,healthy:!0,details:R}}catch(R){return{mode:"url",agentUrl:U,healthy:!1,details:{status:"unhealthy",...R instanceof Error?{error:K(R)}:{}}}}},plain:(U)=>{if(X("Agent Health"),Q(),U.mode==="named"){if(!U.healthy){Y(`Agent instance ${V.bold(U.name??"")} is not responding.`);return}let R=U.details;if(J("Instance",U.name??""),J("Status",u(R.status??"healthy")),R.uptime!==void 0)J("Uptime",`${R.uptime}s`);if(R.checks){Q(),z(`${Z.info} Health checks:`);for(let[$,w]of Object.entries(R.checks)){let I=w.status==="healthy"?Z.success:Z.error;J(` ${I} ${$}`,u(w.status))}}}else{if(J("URL",U.agentUrl),J("Status",u(U.details.status??"unhealthy")),U.details.version)J("Version",U.details.version);if(U.details.uptime!==void 0)J("Uptime",`${U.details.uptime}s`);if(U.details.timestamp)J("Timestamp",U.details.timestamp);if(U.details.checks){Q(),z(`${Z.info} Health checks:`);for(let[R,$]of Object.entries(U.details.checks)){let w=$.status==="healthy"?Z.success:Z.error;J(` ${w} ${R}`,u($.status))}}}if(Q(),U.healthy)c(`${Z.success} Agent is healthy.`)},interactive:async(U)=>{let R=[];if(U.mode==="named")R.push(`Instance: ${U.name??""}`);else R.push(`URL: ${U.agentUrl}`);if(R.push(`Status: ${u(U.details.status??(U.healthy?"healthy":"unhealthy"))}`),U.details.version)R.push(`Version: ${U.details.version}`);if(U.details.uptime!==void 0)R.push(`Uptime: ${U.details.uptime}s`);if(U.details.timestamp)R.push(`Time: ${U.details.timestamp}`);if(U.details.checks){R.push(""),R.push("Checks:");for(let[$,w]of Object.entries(U.details.checks))R.push(` ${$}: ${w.status}`)}await q({title:"Agent Health",body:R.join(`
|
|
4
|
-
`),footer:"press q to exit"})},json:(U)=>({mode:U.mode,agentUrl:U.agentUrl,name:U.name??null,healthy:U.healthy,details:U.details})})}catch(G){Y(`Health check failed: ${K(G)}`)}})}import{platform as fU,arch as WU,release as JU,hostname as IU,cpus as OU,totalmem as FU}from"os";var VU="http://localhost:3005";function x$(f){f.command("info").description("Show local and remote VibeControls agent information").option("--agent-url <url>","Agent URL",VU).option("--json","Emit JSON").option("--plain","Force plain text output").action(async function(W){try{let G={...f.opts(),...W},U=T(G),R=encodeURIComponent(_(G));await x({mode:M(G),fetchData:async()=>{let $={hostname:IU(),platform:fU(),arch:WU(),release:JU(),cpus:OU().length,totalMemory:FU(),nodeVersion:process.version,bunVersion:process.versions.bun};try{let w=await j(U,`/api/profiles/${R}/agent/version`);return{local:$,agentUrl:U,remote:w}}catch(w){return{local:$,agentUrl:U,remote:null,remoteError:w instanceof Error?K(w):String(w)}}},plain:($)=>{if(X("VibeControls Agent Info"),Q(),z(`${Z.info} Local System`),J("Hostname",$.local.hostname),J("Platform",`${$.local.platform} ${$.local.arch}`),J("OS Release",$.local.release),J("CPUs",String($.local.cpus)),J("Total Memory",N($.local.totalMemory)),J("Node.js",$.local.nodeVersion),$.local.bunVersion)J("Bun",$.local.bunVersion);if(Q(),z(`${Z.info} Remote Agent`),J("URL",$.agentUrl),$.remote){if(J("Version",V.bold($.remote.version)),$.remote.build)J("Build",$.remote.build);if($.remote.commit)J("Commit",$.remote.commit);if($.remote.nodeVersion)J("Node.js (remote)",$.remote.nodeVersion);if($.remote.bunVersion)J("Bun (remote)",$.remote.bunVersion)}else J("Status",V.dim("not reachable"));Q()},interactive:async($)=>{let w=[];if(w.push("Local System"),w.push(` Hostname: ${$.local.hostname}`),w.push(` Platform: ${$.local.platform} ${$.local.arch}`),w.push(` OS Release: ${$.local.release}`),w.push(` CPUs: ${$.local.cpus}`),w.push(` Total Memory: ${N($.local.totalMemory)}`),w.push(` Node.js: ${$.local.nodeVersion}`),$.local.bunVersion)w.push(` Bun: ${$.local.bunVersion}`);if(w.push(""),w.push("Remote Agent"),w.push(` URL: ${$.agentUrl}`),$.remote){if(w.push(` Version: ${$.remote.version}`),$.remote.build)w.push(` Build: ${$.remote.build}`);if($.remote.commit)w.push(` Commit: ${$.remote.commit}`);if($.remote.nodeVersion)w.push(` Node.js: ${$.remote.nodeVersion} (remote)`);if($.remote.bunVersion)w.push(` Bun: ${$.remote.bunVersion} (remote)`)}else w.push(" Status: not reachable");await q({title:"VibeControls Agent Info",body:w.join(`
|
|
5
|
-
`),footer:"press q to exit"})},json:($)=>({local:$.local,agentUrl:$.agentUrl,remote:$.remote,remoteError:$.remoteError??null})})}catch(G){Y(`Failed to get info: ${K(G)}`)}})}var QU="http://localhost:3005";function _$(f){f.command("system").description("Show system information for a running VibeControls agent").option("--agent-url <url>","Agent URL",QU).option("--json","Emit JSON").option("--plain","Force plain text output").action(async function(W){try{let G={...f.opts(),...W},U=T(G),R=encodeURIComponent(_(G));await x({mode:M(G),fetchData:()=>j(U,`/api/profiles/${R}/agent/system`),plain:($)=>{if(X("Agent System Information"),Q(),z(`${Z.info} Agent`),J("Version",V.bold($.agentVersion)),$.bunVersion)J("Bun",$.bunVersion);if($.environment)J("Environment",$.environment);J("Uptime",s($.uptime)),Q(),z(`${Z.info} Platform`),J("OS",`${$.platform} ${$.arch}`),J("Hostname",$.hostname),J("Release",$.release),Q(),z(`${Z.info} Resources`),J("CPUs",String($.cpus)),J("Total Memory",N($.totalMemory)),J("Free Memory",N($.freeMemory)),Q(),z(`${Z.info} Paths`),J("Home",$.homeDir),J("CWD",$.cwd),Q()},interactive:async($)=>{let w=["Agent",` Version: ${$.agentVersion}`,...$.bunVersion?[` Bun: ${$.bunVersion}`]:[],...$.environment?[` Environment: ${$.environment}`]:[],` Uptime: ${s($.uptime)}`,"","Platform",` OS: ${$.platform} ${$.arch}`,` Hostname: ${$.hostname}`,` Release: ${$.release}`,"","Resources",` CPUs: ${$.cpus}`,` Total Mem: ${N($.totalMemory)}`,` Free Mem: ${N($.freeMemory)}`,"","Paths",` Home: ${$.homeDir}`,` CWD: ${$.cwd}`];await q({title:"Agent System Information",body:w.join(`
|
|
6
|
-
`),footer:"press q to exit"})}})}catch(G){Y(`Failed to get system info: ${K(G)}`)}})}var ZU="http://localhost:3005";async function b$(f){try{let W=await fetch(`${f}/health/ready`);if(W.status===200||W.status===503)return await W.json();return{healthy:!1,status:W.status}}catch{return{healthy:!1,error:"unreachable"}}}async function u$(f,W){try{let G=await fetch(`${f}/api/profiles/${W}/agent/api-key`);if(!G.ok)return null;return(await G.json()).apiKey??null}catch{return null}}async function BU(f,W){try{return await j(f,`/api/profiles/${W}/plugins`)}catch{return null}}function o(f){let W=f??{};if(W.error==="unreachable")return V.red("unreachable");if(typeof W.status==="number"&&W.status>=400)return V.red(`http ${W.status}`);let G=typeof W.status==="string"?W.status:"",U=typeof W.bootState==="string"?W.bootState:"";if(G==="ok"&&U==="ready")return V.green("ready");if(U==="awaiting-config")return V.yellow("awaiting-config");if(U==="initializing")return V.yellow("initializing");if(U==="degraded"||G==="degraded")return V.red(`degraded${U?` (${U})`:""}`);if(W.healthy===!1)return V.red("unhealthy");return V.green("healthy")}function zU(f){let G=(f??{}).lastFinalizeError;if(!G||typeof G!=="object")return null;let U=G;if(typeof U.message!=="string"||typeof U.at!=="string")return null;return{message:U.message,at:U.at,attempt:typeof U.attempt==="number"?U.attempt:void 0}}function N$(f){let W=f??{},G=typeof W.bootState==="string"?W.bootState:"";if(G!=="awaiting-config"&&G!=="degraded")return null;let U=[],R=zU(f);if(R)if(U.push(`${V.gray("\xB7")} Last error: ${V.red(R.message)}`),R.attempt!==void 0)U.push(`${V.gray("\xB7")} Background retry: attempt ${R.attempt}`);else U.push(`${V.gray("\xB7")} Last seen: ${R.at}`);if(G==="awaiting-config")U.push(`${V.gray("\xB7")} Force retry now: ${V.bold("vibe retry-config")}`);return U.push(`${V.gray("\xB7")} Full trace: ${V.bold("vibe logs --since 10m")}`),U.join(`
|
|
7
|
-
`)}async function YU(f,W){let G={agentUrl:W},U=f.jsonKey??f.title.toLowerCase(),R;try{R=await f.render(G)}catch(w){R=V.red(`error (${w.message})`)}let $=null;if(f.json)try{$=await f.json(G)}catch{$=null}return{title:f.title,jsonKey:U,text:R,json:$}}async function n$(f){let G=h$().getStatusSections();return Promise.all(G.map((U)=>YU(U,f)))}function k$(f){f.command("status").description("Show comprehensive status of VibeControls agent instance(s)").option("-n, --name <name>","Agent instance name").option("--agent-url <url>","Agent URL",ZU).option("--profile <name>","Target a specific profile by name").option("--json","Emit JSON").option("--plain","Force plain text output").action(async function(W){try{let G={...f.opts(),...W},U=new g;await x({mode:M(G),fetchData:async()=>{if(G.name){let I=await U.getStatus(G.name);if(!I)return{kind:"instance",agentUrl:T(G),instance:null,contributed:[]};let O=I.status==="running"&&I.port?`http://localhost:${I.port}`:T(G);if(I.status!=="running")return{kind:"instance",agentUrl:O,instance:I,contributed:[]};let B=encodeURIComponent(_({profile:I.name})),[L,C,H,l]=await Promise.all([b$(O),u$(O,B),BU(O,B),n$(O)]);return{kind:"instance",agentUrl:O,instance:I,health:L,apiKey:C,plugins:H,contributed:l}}let R=await U.listInstances(),$=R.filter((I)=>I.status==="running"),w=await Promise.all($.map(async(I)=>{let O=`http://localhost:${I.port}`,B=encodeURIComponent(_({profile:I.name})),[L,C,H]=await Promise.all([b$(O),u$(O,B),n$(O)]);return{name:I.name,agentUrl:O,health:L,apiKey:C,contributed:H}}));return{kind:"overview",instances:R,perRunning:w}},plain:(R)=>{if(R.kind==="instance"){if(!R.instance){Y(`Agent instance ${V.bold(G.name??"")} not found.`);return}let w=R.instance;if(X(`Agent Status: ${w.name}`),J("Name",w.name),J("Status",u(w.status)),J("PID",w.pid?String(w.pid):V.dim("n/a")),J("Port",w.port?String(w.port):V.dim("n/a")),J("Host",w.config?.host||V.dim("n/a")),J("Database",w.config?.dbPath||V.dim("n/a")),w.startTime)J("Started",k(w.startTime));if(w.status==="running"){Q(),J("Health",o(R.health));let I=N$(R.health);if(I)Q(),console.log(I),Q();let O=R.health?.uptime;if(O)J("Uptime",String(O));if(J("API Key",R.apiKey??V.dim("(unavailable)")),R.plugins){let B=R.plugins.plugins??[],L=B.filter((C)=>C.isCore).length;J("Plugins",`${B.length} total (${L} core, ${B.length-L} external)`)}else J("Plugins",V.dim("(unable to fetch)"));for(let B of R.contributed){if(B.text===null)continue;J(B.title,B.text)}}Q();return}if(X("Agent Instances"),Q(),!R.instances||R.instances.length===0){z(`${Z.info} No agent instances found.`),z(`Run ${V.bold("vibe start")} to start an agent.`);return}let $=R.instances.map((w)=>({Name:w.name,Status:u(w.status),PID:w.pid||"-",Port:w.port||"-",Started:w.startTime?k(w.startTime):"-"}));P$($),Q();for(let w of R.perRunning){Q(),X(`Quick Status: ${w.name}`),J("Health",o(w.health));let I=N$(w.health);if(I)Q(),console.log(I),Q();J("API Key",w.apiKey??V.dim("(unavailable)"));for(let O of w.contributed){if(O.text===null)continue;J(O.title,O.text)}}Q(),z(`${Z.info} ${R.instances.length} instance(s) found. Use ${V.bold("vibe status -n <name>")} for full details.`)},interactive:async(R)=>{let $=[];if(R.kind==="instance"){if(!R.instance)$.push(`Agent instance "${G.name??""}" not found.`);else{let w=R.instance;if($.push(`Name: ${w.name}`),$.push(`Status: ${u(w.status)}`),$.push(`PID: ${w.pid??"n/a"}`),$.push(`Port: ${w.port??"n/a"}`),$.push(`Host: ${w.config?.host??"n/a"}`),$.push(`Database: ${w.config?.dbPath??"n/a"}`),w.startTime)$.push(`Started: ${k(w.startTime)}`);if(w.status==="running"){if($.push(""),$.push(`Health: ${o(R.health)}`),$.push(`API Key: ${R.apiKey??"(unavailable)"}`),R.plugins){let I=R.plugins.plugins??[],O=I.filter((B)=>B.isCore).length;$.push(`Plugins: ${I.length} (${O} core, ${I.length-O} external)`)}for(let I of R.contributed){if(I.text===null)continue;$.push(`${I.title.padEnd(9)} ${I.text}`)}}}await q({title:`vibe status${G.name?` \u2014 ${G.name}`:""}`,body:$.join(`
|
|
8
|
-
`),footer:"press q to exit"});return}if(!R.instances||R.instances.length===0)$.push("No agent instances found."),$.push("Run `vibe start` to start an agent.");else for(let w of R.instances){$.push(`${V.bold(w.name)} ${u(w.status)}`),$.push(` PID: ${w.pid??"-"}`),$.push(` Port: ${w.port??"-"}`),$.push(` Started: ${w.startTime?k(w.startTime):"-"}`);let I=R.perRunning.find((O)=>O.name===w.name);if(I){$.push(` Health: ${o(I.health)}`);for(let O of I.contributed){if(O.text===null)continue;$.push(` ${O.title.padEnd(9)} ${O.text}`)}}$.push("")}await q({title:`vibe status \u2014 ${R.instances.length} instance(s)`,body:$.join(`
|
|
9
|
-
`),footer:"press q to exit"})},json:(R)=>{let $=(w)=>Object.fromEntries(w.map((I)=>[I.jsonKey,I.json]));if(R.kind==="instance"){if(!R.instance)return{instance:null};let w={instance:{name:R.instance.name,status:R.instance.status,pid:R.instance.pid,port:R.instance.port,host:R.instance.config?.host,dbPath:R.instance.config?.dbPath,startTime:R.instance.startTime}};if(R.instance.status==="running")w.health=R.health??null,w.plugins=R.plugins??null,Object.assign(w,$(R.contributed));return w}return{instances:R.instances.map((w)=>({name:w.name,status:w.status,pid:w.pid,port:w.port,startTime:w.startTime})),perRunning:R.perRunning.map((w)=>({name:w.name,health:w.health??null,...$(w.contributed)}))}}})}catch(G){let U=G instanceof Error?K(G):String(G);Y(`Failed to get status: ${U}`)}})}var TU="http://localhost:3005";function S$(f){f.command("url").description("Show the active URL for a running VibeControls agent").option("--agent-url <url>","Agent URL",TU).option("--json","Emit JSON").option("--plain","Force plain text output").action(async(W)=>{try{let G={...f.opts(),...W},U=T(W),R=encodeURIComponent(_(G));await x({mode:M(G),fetchData:()=>j(U,`/api/profiles/${R}/agent/url`),plain:($)=>{if(X("Agent URL"),Q(),J("Active URL",V.bold($.url)),J("Local URL",$.localUrl),$.tunnelUrl)J("Tunnel URL",V.cyan($.tunnelUrl));if(J("Mode",$.isTunnel?`${Z.running} Tunnel active`:`${Z.info} Local only`),Q(),$.isTunnel)z(`${Z.info} Agent is accessible via tunnel at ${V.bold($.tunnelUrl)}`);else z(`${Z.info} Agent is running locally at ${V.bold($.localUrl)}`)},interactive:async($)=>{let w=[` Active URL: ${$.url}`,` Local URL: ${$.localUrl}`,` Tunnel URL: ${$.tunnelUrl??"-"}`,` Mode: ${$.isTunnel?"Tunnel active":"Local only"}`];await q({title:"Agent URL",body:w.join(`
|
|
10
|
-
`)})},json:($)=>v($)})}catch(G){Y(`Failed to get URL: ${G.message}`)}})}var E$="http://localhost:3005";function A$(f){let W=f.command("gateway-auth").description("Manage gateway authentication for VibeControls agent");W.command("configure").description("Configure gateway authentication credentials").requiredOption("--global-url <url>","Global gateway URL").requiredOption("--workspace-url <url>","Workspace gateway URL").requiredOption("--client-id <id>","OAuth client ID").requiredOption("--client-secret <secret>","OAuth client secret").option("--workspace-id <id>","Workspace ID for auto-report").option("--agent-record-id <id>","Existing backend agent record ID").option("--agent-url <url>","Agent URL",E$).option("--json","Emit JSON result").action(async(G)=>{try{let U={...f.opts(),...G},R=T(G),$=encodeURIComponent(_(U)),w=await m$(R,`/api/profiles/${$}/agent/gateway-auth`,{globalGatewayUrl:G.globalUrl,workspaceGatewayUrl:G.workspaceUrl,clientId:G.clientId,clientSecret:G.clientSecret,workspaceId:G.workspaceId,agentRecordId:G.agentRecordId});if(y$(U,{ok:!!w.success,message:w.message??null,globalGatewayUrl:G.globalUrl,workspaceGatewayUrl:G.workspaceUrl,clientId:G.clientId,workspaceId:G.workspaceId??null,agentRecordId:G.agentRecordId??null}))return;if(X("Configure Gateway Authentication"),Q(),z(`${Z.info} Sending gateway auth configuration...`),Q(),w.success){if(c(`${Z.success} Gateway authentication configured successfully.`),Q(),J("Global URL",G.globalUrl),J("Workspace URL",G.workspaceUrl),J("Client ID",G.clientId),J("Client Secret",V.dim("********")),G.workspaceId)J("Workspace ID",G.workspaceId);if(G.agentRecordId)J("Agent Record ID",G.agentRecordId)}else Y(w.message||"Failed to configure gateway authentication.");Q()}catch(U){Y(`Failed to configure gateway auth: ${U instanceof Error?K(U):String(U)}`)}}),W.command("status").description("Check gateway authentication status").option("--agent-url <url>","Agent URL",E$).option("--json","Emit JSON").option("--plain","Force plain text output").action(async(G)=>{try{let U={...f.opts(),...G},R=T(G),$=encodeURIComponent(_(U));await x({mode:M(U),fetchData:()=>j(R,`/api/profiles/${$}/agent/gateway-auth`),plain:(w)=>{if(X("Gateway Authentication Status"),Q(),J("Configured",w.configured?`${Z.success} ${V.green("Yes")}`:`${Z.error} ${V.red("No")}`),w.configured){if(J("Global URL",w.config?.globalGatewayUrl||V.dim("n/a")),J("Workspace URL",w.config?.workspaceGatewayUrl||V.dim("n/a")),J("Client ID",w.config?.clientId||V.dim("n/a")),w.config?.workspaceId)J("Workspace ID",w.config.workspaceId)}else Q(),z(`${Z.info} Run ${V.bold("vibe gateway-auth configure")} to set up gateway authentication.`);Q()},interactive:async(w)=>{let I=w.configured?[" Configured: yes",` Global URL: ${w.config?.globalGatewayUrl??"n/a"}`,` Workspace URL: ${w.config?.workspaceGatewayUrl??"n/a"}`,` Client ID: ${w.config?.clientId??"n/a"}`,` Workspace ID: ${w.config?.workspaceId??"-"}`]:[" Configured: no",""," Run `vibe gateway-auth configure` to set up."];await q({title:"Gateway Authentication Status",body:I.join(`
|
|
11
|
-
`)})},json:(w)=>v(w)})}catch(U){Y(`Failed to get gateway auth status: ${U instanceof Error?K(U):String(U)}`)}})}function g$(f,W){M$(f),x$(f),c$(f),_$(f),k$(f),S$(f),A$(f)}var o$="agent";function LR(f){let W=null,G=t({name:o$,onShutdown:()=>{l$(),v$()}});return{name:o$,version:"2.3.0",description:"Core agent identity, system info, setup, gateway authentication, and auto-report",capabilities:{storage:"rw",secrets:"rw",gateway:!0,broadcast:!0,audit:!0,telemetry:!0},tags:["backend","cli"],cliCommand:"agent",apiPrefix:"/api/agent",publicPaths:["/identity","/tunnel"],createRoutes:(U)=>{return W=U.db,j$(U)},onCliSetup:async(U,R)=>{g$(U,R)},onServerReady:async(U,R)=>{if(W){let $=U,w=(typeof $.decorator?.apiKey==="string"?$.decorator.apiKey:void 0)??(typeof $.store?.apiKey==="string"?$.store.apiKey:void 0)??"unknown",I=new e(R.logger,"agent-plugin");p$(W,R.serviceRegistry,w).catch((O)=>{I.warn(`Auto-report background task failed: ${O}`)})}},onServerStop:()=>G.onServerStop({})}}export{LR as createPlugin};
|
package/dist/key.cmd-wgcq6kt8.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Vb as a,Wb as b}from"./index-dm6yjmgq.js";import"./index-2xs9cvjn.js";import"./index-5mw3eshk.js";import"./index-z5a4yxzz.js";import"./index-ef95xr4z.js";import"./index-xjzmb1pn.js";import"./index-g2raeeh4.js";import"./index-9bqd8veb.js";import"./index-0cn9bv8z.js";import"./index-jw1k4vbk.js";import"./index-yy1mm8zs.js";export{a as resolveDefaultApiKey,b as register};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{nb as a,ob as b,pb as c,qb as d,rb as e,sb as f}from"./index-v9fx5wab.js";import"./index-01qzsnwd.js";import"./index-d5ysy1yn.js";import"./index-04n4qgvd.js";import"./index-g2raeeh4.js";import"./index-9bqd8veb.js";import"./index-0cn9bv8z.js";import"./index-jw1k4vbk.js";import"./index-yy1mm8zs.js";export{b as unmountProfileRoutes,a as mountProfileRoutes,c as dispatchProfileRequest,f as __setMountForTests,e as __resetProfileMountsForTests,d as __listMountedProfilesForTests};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{J as a}from"./index-c4xqp05z.js";import"./index-2gsarrbn.js";import"./index-b5dhmybd.js";import"./index-e1bw1bwr.js";import"./index-g8zv1gta.js";import"./index-qfz9fy56.js";import"./index-ssjmzqcz.js";import"./index-4wgjx8bf.js";import"./index-g3ap3xpr.js";import"./index-0ckffygp.js";import"./index-rc79x8fw.js";import"./index-yrgm89r8.js";import"./index-52cp759f.js";import"./index-01qzsnwd.js";import"./index-d5ysy1yn.js";import"./index-04n4qgvd.js";import"./index-5mw3eshk.js";import"./index-z5a4yxzz.js";import"./index-ef95xr4z.js";import"./index-xjzmb1pn.js";import"./index-g2raeeh4.js";import"./index-9bqd8veb.js";import"./index-0cn9bv8z.js";import"./index-jw1k4vbk.js";import"./index-yy1mm8zs.js";export{a as registerCoreCommands};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{x as a}from"./index-1hnw0rhc.js";import"./index-tp4y9jde.js";import"./index-4wgjx8bf.js";import"./index-g3ap3xpr.js";import"./index-0ckffygp.js";import"./index-v9fx5wab.js";import"./index-01qzsnwd.js";import"./index-d5ysy1yn.js";import"./index-04n4qgvd.js";import"./index-g2raeeh4.js";import"./index-9bqd8veb.js";import"./index-0cn9bv8z.js";import"./index-jw1k4vbk.js";import"./index-yy1mm8zs.js";export{a as attachSecondaryProfile};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{o as a,p as b,q as c,r as d,s as e}from"./index-n7qyrdr1.js";import"./index-0ckffygp.js";import"./index-9bqd8veb.js";import"./index-0cn9bv8z.js";import"./index-jw1k4vbk.js";import"./index-yy1mm8zs.js";export{a as spawnTracked,c as listTrackedByOwner,b as listTracked,d as killTracked,e as killAllTracked};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{pa as a,qa as b,ra as c,sa as d,ta as e,ua as f}from"./index-qfz9fy56.js";import"./index-0ckffygp.js";import"./index-yrgm89r8.js";import"./index-52cp759f.js";import"./index-9bqd8veb.js";import"./index-0cn9bv8z.js";import"./index-jw1k4vbk.js";import"./index-yy1mm8zs.js";export{c as tryHandoverBootstrapTunnel,d as stopBootstrapTunnel,b as startBootstrapTunnel,a as sanitizeEnvSuffix,f as reapOrphanTunnelsForProfile,e as getBootstrapTunnelUrl};
|