@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.
Files changed (108) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +558 -0
  3. package/dist/agent-config-85pskv43.js +2 -0
  4. package/dist/agent-ready-tracker-zp6p8e6f.js +2 -0
  5. package/dist/app-yvjadjmh.js +2 -0
  6. package/dist/bootstrap-workspace-zpm20zez.js +2 -0
  7. package/dist/bootstrap.service-pjmnpxha.js +2 -0
  8. package/dist/bridge-client-341r9rry.js +2 -0
  9. package/dist/cli.js +5 -0
  10. package/dist/daemon-profile-vas1vf2t.js +2 -0
  11. package/dist/esm-9fpye77x.js +2 -0
  12. package/dist/finalize-retry-handle-registry-vv241fsq.js +2 -0
  13. package/dist/finalize-retry-worker-xp1nhv3c.js +2 -0
  14. package/dist/gateway-client-43gzvj5s.js +2 -0
  15. package/dist/getMachineId-bsd-a56s0v8c.js +2 -0
  16. package/dist/getMachineId-darwin-w9k0yw9r.js +3 -0
  17. package/dist/getMachineId-linux-anh31jbf.js +2 -0
  18. package/dist/getMachineId-unsupported-5hv3pwca.js +2 -0
  19. package/dist/getMachineId-win-njb8tery.js +2 -0
  20. package/dist/highlights-8d9mgr01.js +2 -0
  21. package/dist/highlights-eq9cgrbb.scm +604 -0
  22. package/dist/highlights-ghv9g403.scm +205 -0
  23. package/dist/highlights-hk7bwhj4.scm +284 -0
  24. package/dist/highlights-jwvdxm9x.js +2 -0
  25. package/dist/highlights-qbx2vnme.js +2 -0
  26. package/dist/highlights-r3m83kn9.js +2 -0
  27. package/dist/highlights-r812a2qc.scm +150 -0
  28. package/dist/highlights-s7mqapt6.js +2 -0
  29. package/dist/highlights-x6tmsnaa.scm +115 -0
  30. package/dist/index-01qzsnwd.js +16 -0
  31. package/dist/index-0248afsn.js +3 -0
  32. package/dist/index-04n4qgvd.js +407 -0
  33. package/dist/index-0ckffygp.js +5 -0
  34. package/dist/index-0cn9bv8z.js +4 -0
  35. package/dist/index-1hnw0rhc.js +178 -0
  36. package/dist/index-1zw3kea7.js +10 -0
  37. package/dist/index-2gsarrbn.js +4 -0
  38. package/dist/index-2xs9cvjn.js +28 -0
  39. package/dist/index-3ys16efc.js +231 -0
  40. package/dist/index-4wgjx8bf.js +3 -0
  41. package/dist/index-52cp759f.js +3 -0
  42. package/dist/index-5mw3eshk.js +4 -0
  43. package/dist/index-678rwfc0.js +5 -0
  44. package/dist/index-6jq17k9s.js +7 -0
  45. package/dist/index-6jzsthh9.js +3 -0
  46. package/dist/index-6mprnf7p.js +9 -0
  47. package/dist/index-8kvc8ttn.js +15 -0
  48. package/dist/index-8sm0nkh8.js +3 -0
  49. package/dist/index-9bqd8veb.js +21 -0
  50. package/dist/index-b5dhmybd.js +4 -0
  51. package/dist/index-c58g96mb.js +26 -0
  52. package/dist/index-cs78wq6y.js +3 -0
  53. package/dist/index-d5ysy1yn.js +3 -0
  54. package/dist/index-dm6yjmgq.js +3 -0
  55. package/dist/index-e1bw1bwr.js +4 -0
  56. package/dist/index-ef95xr4z.js +9 -0
  57. package/dist/index-g2raeeh4.js +11 -0
  58. package/dist/index-g3ap3xpr.js +5 -0
  59. package/dist/index-g8zv1gta.js +17 -0
  60. package/dist/index-h8a8s8sn.js +3 -0
  61. package/dist/index-hrdamx5j.js +2 -0
  62. package/dist/index-jw1k4vbk.js +3 -0
  63. package/dist/index-mtm8cfyt.js +158 -0
  64. package/dist/index-mxc61yr1.js +3 -0
  65. package/dist/index-n7qyrdr1.js +3 -0
  66. package/dist/index-qfz9fy56.js +3 -0
  67. package/dist/index-rc79x8fw.js +3 -0
  68. package/dist/index-rdp5xq4r.js +15 -0
  69. package/dist/index-scsjyj4m.js +171 -0
  70. package/dist/index-ssjmzqcz.js +13 -0
  71. package/dist/index-tmrbs96r.js +11 -0
  72. package/dist/index-tp4y9jde.js +83 -0
  73. package/dist/index-v9fx5wab.js +83 -0
  74. package/dist/index-vdahdt49.js +2 -0
  75. package/dist/index-x1h8r7pr.js +3 -0
  76. package/dist/index-xjzmb1pn.js +3 -0
  77. package/dist/index-yrgm89r8.js +3 -0
  78. package/dist/index-yy1mm8zs.js +3 -0
  79. package/dist/index-z5a4yxzz.js +8 -0
  80. package/dist/index.js +5 -0
  81. package/dist/injections-73j83es3.scm +27 -0
  82. package/dist/injections-srewsjcz.js +2 -0
  83. package/dist/interactive-22ta89hc.js +2 -0
  84. package/dist/key.cmd-wgcq6kt8.js +2 -0
  85. package/dist/log-shipper-k24m8yw5.js +2 -0
  86. package/dist/path-utils-35re7qf9.js +2 -0
  87. package/dist/plugin-system-c916v9an.js +2 -0
  88. package/dist/postinstall-shim-fix.cjs +382 -0
  89. package/dist/prereqs-runner-ca4kt803.js +2 -0
  90. package/dist/preuninstall.cjs +254 -0
  91. package/dist/profile-mount-npcknw6v.js +2 -0
  92. package/dist/prune-stale-shims-nkx9vq5m.js +2 -0
  93. package/dist/register-core-qrawzyym.js +2 -0
  94. package/dist/secondary-profile-attach-db5cr3e1.js +2 -0
  95. package/dist/subprocess-g9sk1ep9.js +2 -0
  96. package/dist/telemetry-tnq47dcs.js +2 -0
  97. package/dist/tree-sitter-javascript-3h25c6bs.js +2 -0
  98. package/dist/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
  99. package/dist/tree-sitter-markdown-3nemcjhe.js +2 -0
  100. package/dist/tree-sitter-markdown-411r6y9b.wasm +0 -0
  101. package/dist/tree-sitter-markdown_inline-16ftwa53.js +2 -0
  102. package/dist/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
  103. package/dist/tree-sitter-typescript-f6mq6ze6.js +2 -0
  104. package/dist/tree-sitter-typescript-zxjzwt75.wasm +0 -0
  105. package/dist/tree-sitter-zig-e78zbjpm.wasm +0 -0
  106. package/dist/tree-sitter-zig-s2trkm2d.js +2 -0
  107. package/dist/tunnel-bootstrap-2kg79ng8.js +2 -0
  108. 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};