@vibecontrols/agent 2026.601.30
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/LICENSE +22 -0
- package/README.md +558 -0
- package/dist/agent-config-85pskv43.js +2 -0
- package/dist/agent-ready-tracker-zp6p8e6f.js +2 -0
- package/dist/app-yvjadjmh.js +2 -0
- package/dist/bootstrap-workspace-zpm20zez.js +2 -0
- package/dist/bootstrap.service-pjmnpxha.js +2 -0
- package/dist/bridge-client-341r9rry.js +2 -0
- package/dist/cli.js +5 -0
- package/dist/daemon-profile-vas1vf2t.js +2 -0
- package/dist/esm-9fpye77x.js +2 -0
- package/dist/finalize-retry-handle-registry-vv241fsq.js +2 -0
- package/dist/finalize-retry-worker-xp1nhv3c.js +2 -0
- package/dist/gateway-client-43gzvj5s.js +2 -0
- package/dist/getMachineId-bsd-a56s0v8c.js +2 -0
- package/dist/getMachineId-darwin-w9k0yw9r.js +3 -0
- package/dist/getMachineId-linux-anh31jbf.js +2 -0
- package/dist/getMachineId-unsupported-5hv3pwca.js +2 -0
- package/dist/getMachineId-win-njb8tery.js +2 -0
- package/dist/highlights-8d9mgr01.js +2 -0
- package/dist/highlights-eq9cgrbb.scm +604 -0
- package/dist/highlights-ghv9g403.scm +205 -0
- package/dist/highlights-hk7bwhj4.scm +284 -0
- package/dist/highlights-jwvdxm9x.js +2 -0
- package/dist/highlights-qbx2vnme.js +2 -0
- package/dist/highlights-r3m83kn9.js +2 -0
- package/dist/highlights-r812a2qc.scm +150 -0
- package/dist/highlights-s7mqapt6.js +2 -0
- package/dist/highlights-x6tmsnaa.scm +115 -0
- package/dist/index-01qzsnwd.js +16 -0
- package/dist/index-0248afsn.js +3 -0
- package/dist/index-04n4qgvd.js +407 -0
- package/dist/index-0ckffygp.js +5 -0
- package/dist/index-0cn9bv8z.js +4 -0
- package/dist/index-1hnw0rhc.js +178 -0
- package/dist/index-1zw3kea7.js +10 -0
- package/dist/index-2gsarrbn.js +4 -0
- package/dist/index-2xs9cvjn.js +28 -0
- package/dist/index-3ys16efc.js +231 -0
- package/dist/index-4wgjx8bf.js +3 -0
- package/dist/index-52cp759f.js +3 -0
- package/dist/index-5mw3eshk.js +4 -0
- package/dist/index-678rwfc0.js +5 -0
- package/dist/index-6jq17k9s.js +7 -0
- package/dist/index-6jzsthh9.js +3 -0
- package/dist/index-6mprnf7p.js +9 -0
- package/dist/index-8kvc8ttn.js +15 -0
- package/dist/index-8sm0nkh8.js +3 -0
- package/dist/index-9bqd8veb.js +21 -0
- package/dist/index-b5dhmybd.js +4 -0
- package/dist/index-c58g96mb.js +26 -0
- package/dist/index-cs78wq6y.js +3 -0
- package/dist/index-d5ysy1yn.js +3 -0
- package/dist/index-dm6yjmgq.js +3 -0
- package/dist/index-e1bw1bwr.js +4 -0
- package/dist/index-ef95xr4z.js +9 -0
- package/dist/index-g2raeeh4.js +11 -0
- package/dist/index-g3ap3xpr.js +5 -0
- package/dist/index-g8zv1gta.js +17 -0
- package/dist/index-h8a8s8sn.js +3 -0
- package/dist/index-hrdamx5j.js +2 -0
- package/dist/index-jw1k4vbk.js +3 -0
- package/dist/index-mtm8cfyt.js +158 -0
- package/dist/index-mxc61yr1.js +3 -0
- package/dist/index-n7qyrdr1.js +3 -0
- package/dist/index-qfz9fy56.js +3 -0
- package/dist/index-rc79x8fw.js +3 -0
- package/dist/index-rdp5xq4r.js +15 -0
- package/dist/index-scsjyj4m.js +171 -0
- package/dist/index-ssjmzqcz.js +13 -0
- package/dist/index-tmrbs96r.js +11 -0
- package/dist/index-tp4y9jde.js +83 -0
- package/dist/index-v9fx5wab.js +83 -0
- package/dist/index-vdahdt49.js +2 -0
- package/dist/index-x1h8r7pr.js +3 -0
- package/dist/index-xjzmb1pn.js +3 -0
- package/dist/index-yrgm89r8.js +3 -0
- package/dist/index-yy1mm8zs.js +3 -0
- package/dist/index-z5a4yxzz.js +8 -0
- package/dist/index.js +5 -0
- package/dist/injections-73j83es3.scm +27 -0
- package/dist/injections-srewsjcz.js +2 -0
- package/dist/interactive-22ta89hc.js +2 -0
- package/dist/key.cmd-wgcq6kt8.js +2 -0
- package/dist/log-shipper-k24m8yw5.js +2 -0
- package/dist/path-utils-35re7qf9.js +2 -0
- package/dist/plugin-system-c916v9an.js +2 -0
- package/dist/postinstall-shim-fix.cjs +382 -0
- package/dist/prereqs-runner-ca4kt803.js +2 -0
- package/dist/preuninstall.cjs +254 -0
- package/dist/profile-mount-npcknw6v.js +2 -0
- package/dist/prune-stale-shims-nkx9vq5m.js +2 -0
- package/dist/register-core-qrawzyym.js +2 -0
- package/dist/secondary-profile-attach-db5cr3e1.js +2 -0
- package/dist/subprocess-g9sk1ep9.js +2 -0
- package/dist/telemetry-tnq47dcs.js +2 -0
- package/dist/tree-sitter-javascript-3h25c6bs.js +2 -0
- package/dist/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
- package/dist/tree-sitter-markdown-3nemcjhe.js +2 -0
- package/dist/tree-sitter-markdown-411r6y9b.wasm +0 -0
- package/dist/tree-sitter-markdown_inline-16ftwa53.js +2 -0
- package/dist/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
- package/dist/tree-sitter-typescript-f6mq6ze6.js +2 -0
- package/dist/tree-sitter-typescript-zxjzwt75.wasm +0 -0
- package/dist/tree-sitter-zig-e78zbjpm.wasm +0 -0
- package/dist/tree-sitter-zig-s2trkm2d.js +2 -0
- package/dist/tunnel-bootstrap-2kg79ng8.js +2 -0
- package/package.json +122 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{homedir as B,platform as G,tmpdir as H}from"os";import{delimiter as I}from"path";import{existsSync as K,readFileSync as M}from"fs";function N(){if(G()!=="linux")return!1;try{if(process.env.WSL_DISTRO_NAME)return!0;let b="/proc/version";if(!K(b))return!1;let j=M(b,"utf8").toLowerCase();return j.includes("microsoft")||j.includes("wsl")}catch{return!1}}function q(b){try{let j=Bun.spawnSync(b,{stdout:"pipe",stderr:"pipe"});return{code:j.exitCode??1,out:j.stdout.toString().trim(),err:j.stderr.toString().trim()}}catch(j){return{code:127,out:"",err:j instanceof Error?j.message:String(j)}}}class C{platform;isWSL;homeDir=B();tmpDir=H();pathSep=I;eol=`
|
|
3
|
+
`;executableSuffix="";constructor(b){this.platform=b,this.isWSL=N()}which(b,j){return Bun.which(b,{PATH:process.env.PATH})??null}isProcessAlive(b){if(!Number.isInteger(b)||b<=0)return!1;try{return process.kill(b,0),!0}catch(j){return j.code==="EPERM"}}platformLabel(){if(this.platform==="darwin")return"macOS";return this.isWSL?"WSL":"Linux"}killProcessTree(b,j){try{return process.kill(-b,j),!0}catch{try{return process.kill(b,j),!0}catch{return!1}}}listChildPids(b){let j=q(["pgrep","-P",String(b)]);if(j.code!==0)return[];return j.out.split(/\s+/).map((k)=>Number(k)).filter((k)=>Number.isInteger(k)&&k>0)}npmGlobalBin(){let b=q(["npm","bin","-g"]);if(b.code===0&&b.out)return b.out;let j=q(["npm","root","-g"]);if(j.code===0&&j.out)return`${j.out}/.bin`;return null}npmGlobalRoot(){let b=q(["npm","root","-g"]);return b.code===0&&b.out?b.out:null}bunGlobalBin(){let b=q(["bun","pm","-g","bin"]);if(b.code===0&&b.out)return b.out;return`${B()}/.bun/bin`}shellQuote(b){if(/^[A-Za-z0-9._\-/=:]+$/.test(b))return b;return`'${b.replace(/'/g,"'\\''")}'`}shellInvocation(){return{cmd:"/bin/sh",flag:"-c"}}shellArgv(b){let{cmd:j,flag:k}=this.shellInvocation();return[j,k,b]}processGroupSpawnOpts(){return{processGroupId:0}}}class J{platform="win32";isWSL=!1;homeDir=B();tmpDir=H();pathSep=I;eol=`\r
|
|
4
|
+
`;executableSuffix=".exe";which(b,j){return Bun.which(b,{PATH:process.env.PATH})??null}platformLabel(){return"Windows"}isProcessAlive(b){if(!Number.isInteger(b)||b<=0)return!1;try{return process.kill(b,0),!0}catch(j){return j.code==="EPERM"}}killProcessTree(b,j){let k=j==="SIGKILL"||j==="SIGTERM",E=["taskkill.exe","/T","/PID",String(b)];if(k)E.push("/F");return q(E).code===0}listChildPids(b){let j=q(["wmic.exe","process","where",`(ParentProcessId=${b})`,"get","ProcessId"]);if(j.code!==0)return[];return j.out.split(/\r?\n/).map((k)=>Number(k.trim())).filter((k)=>Number.isInteger(k)&&k>0&&k!==b)}npmGlobalBin(){let b=q(["npm.cmd","bin","-g"]);if(b.code===0&&b.out)return b.out;return null}npmGlobalRoot(){let b=q(["npm.cmd","root","-g"]);return b.code===0&&b.out?b.out:null}bunGlobalBin(){let b=q(["bun.exe","pm","-g","bin"]);if(b.code===0&&b.out)return b.out;return null}shellQuote(b){return`'${b.replace(/'/g,"''")}'`}shellInvocation(){return{cmd:"cmd.exe",flag:"/c"}}shellArgv(b){let{cmd:j,flag:k}=this.shellInvocation();return[j,k,b]}processGroupSpawnOpts(){return{}}}var z=null;function X(){if(z)return z;let b=G();if(b==="win32")z=new J;else if(b==="darwin"||b==="linux")z=new C(b);else z=new C("linux");return z}
|
|
5
|
+
export{X as Xa};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{isAbsolute as S,join as Z,relative as v,resolve as H}from"path";import{existsSync as E,readFileSync as m}from"fs";import{homedir as u}from"os";import{existsSync as F,mkdirSync as P,readFileSync as V,renameSync as j,writeFileSync as w}from"fs";import{homedir as I}from"os";import{dirname as N,join as U,resolve as b}from"path";var Q=new Map;async function B(q,z){let J=Q.get(q)??Promise.resolve(),$,K=new Promise((W)=>{$=W});Q.set(q,J.then(()=>K));try{return await J,await z()}finally{if($(),Q.get(q)===J.then(()=>K));queueMicrotask(()=>{let W=Q.get(q);if(!W)return;Promise.race([W,new Promise((D)=>{D(void 0)})]).then(()=>{if(Q.get(q)===W)Q.delete(q)})})}}var A="agents-registry";async function s(q){return B(A,q)}function T(){return b(process.env.VIBECONTROLS_HOME??U(I(),".boff","vibecontrols"))}var C=2,k="default";function M(){return U(T(),"agents.json")}function _(){let q=M();if(!F(q))return null;try{let z=JSON.parse(V(q,"utf8"));if(z&&typeof z==="object"&&!Array.isArray(z)&&"instances"in z)return z;return null}catch{return null}}function X(){let q=_();if(!q)return{schemaVersion:C,instances:[]};return q}function Y(q){let z=M();P(N(z),{recursive:!0});let J=`${z}.${process.pid}.tmp`,$={...q,schemaVersion:C};w(J,`${JSON.stringify($,null,2)}
|
|
3
|
+
`,{encoding:"utf8",mode:384}),j(J,z)}function o(){return X().instances}function a(q){let z=X();Y({...z,instances:q})}function O(){try{let z=X().defaultProfile;if(z&&typeof z==="string"&&z.length>0)return z}catch{}return k}function n(q){if(!q||typeof q!=="string")throw Error("setDefaultProfile: name is required");let z=X();Y({...z,defaultProfile:q})}var R=/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/,p=/^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/;function G(q){if(!R.test(q))throw Error("Invalid VIBECONTROLS_PROFILE. Use 1-128 characters: letters, numbers, dot, underscore, or dash.");return q}function h(){let q=process.env.VIBECONTROLS_PROFILE;if(q)return G(q);let z=O();return G(z)}function zq(q){if(!p.test(q))throw Error("Agent name must use 1-64 characters: letters, numbers, dot, underscore, or dash.");return q}function Jq(q,z){let J=v(H(q),H(z));return J===""||!!J&&!J.startsWith("..")&&!S(J)}function L(){let q=x(),z=h();return Z(q,"agents",z)}function Qq(){return Z(x(),"agents")}function Wq(){return Z(L(),"agent-db")}function x(){return H(process.env.VIBECONTROLS_HOME??Z(u(),".boff","vibecontrols"))}var y="https://registry.npmjs.org/";function Zq(){if(process.env.VIBECONTROLS_REGISTRY)return process.env.VIBECONTROLS_REGISTRY;try{let q=Z(L(),"config.json");if(E(q)){let z=JSON.parse(m(q,"utf8"));if(z.registry)return z.registry}}catch{}return y}
|
|
4
|
+
export{B as Qd,s as Rd,o as Sd,a as Td,O as Ud,n as Vd,G as Wd,h as Xd,zq as Yd,Jq as Zd,L as _d,Qq as $d,Wq as ae,x as be,Zq as ce};
|