@venos-inc/venos 0.1.8 → 0.1.9
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/index.js +2 -2
- package/etc/mcp-server/node_modules/@babel/core/node_modules/.bin/json5 +2 -2
- package/etc/mcp-server/node_modules/@babel/core/node_modules/.bin/parser +2 -2
- package/etc/mcp-server/node_modules/@babel/core/node_modules/.bin/semver +2 -2
- package/etc/mcp-server/node_modules/@babel/generator/node_modules/.bin/jsesc +2 -2
- package/etc/mcp-server/node_modules/@babel/generator/node_modules/.bin/parser +2 -2
- package/etc/mcp-server/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist +2 -2
- package/etc/mcp-server/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver +2 -2
- package/etc/mcp-server/node_modules/@babel/template/node_modules/.bin/parser +2 -2
- package/etc/mcp-server/node_modules/@babel/traverse/node_modules/.bin/parser +2 -2
- package/etc/mcp-server/node_modules/@eslint/eslintrc/node_modules/.bin/js-yaml +2 -2
- package/etc/mcp-server/node_modules/@eslint-community/eslint-utils/node_modules/.bin/eslint +2 -2
- package/etc/mcp-server/node_modules/@types/babel__core/node_modules/.bin/parser +2 -2
- package/etc/mcp-server/node_modules/@types/babel__template/node_modules/.bin/parser +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/eslint-plugin/node_modules/.bin/eslint +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/eslint-plugin/node_modules/.bin/tsc +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/eslint-plugin/node_modules/.bin/tsserver +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/parser/node_modules/.bin/eslint +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/parser/node_modules/.bin/tsc +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/parser/node_modules/.bin/tsserver +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/project-service/node_modules/.bin/tsc +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/project-service/node_modules/.bin/tsserver +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/tsconfig-utils/node_modules/.bin/tsc +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/tsconfig-utils/node_modules/.bin/tsserver +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/type-utils/node_modules/.bin/eslint +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/type-utils/node_modules/.bin/tsc +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/type-utils/node_modules/.bin/tsserver +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/typescript-estree/node_modules/.bin/semver +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/typescript-estree/node_modules/.bin/tsc +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/typescript-estree/node_modules/.bin/tsserver +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/utils/node_modules/.bin/eslint +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/utils/node_modules/.bin/tsc +2 -2
- package/etc/mcp-server/node_modules/@typescript-eslint/utils/node_modules/.bin/tsserver +2 -2
- package/etc/mcp-server/node_modules/@vitest/mocker/node_modules/.bin/vite +2 -2
- package/etc/mcp-server/node_modules/acorn-jsx/node_modules/.bin/acorn +2 -2
- package/etc/mcp-server/node_modules/browserslist/node_modules/.bin/baseline-browser-mapping +2 -2
- package/etc/mcp-server/node_modules/browserslist/node_modules/.bin/update-browserslist-db +2 -2
- package/etc/mcp-server/node_modules/cross-spawn/node_modules/.bin/node-which +2 -2
- package/etc/mcp-server/node_modules/espree/node_modules/.bin/acorn +2 -2
- package/etc/mcp-server/node_modules/postcss/node_modules/.bin/nanoid +2 -2
- package/etc/mcp-server/node_modules/sharp/node_modules/.bin/semver +2 -2
- package/etc/mcp-server/node_modules/ts-api-utils/node_modules/.bin/tsc +2 -2
- package/etc/mcp-server/node_modules/ts-api-utils/node_modules/.bin/tsserver +2 -2
- package/etc/mcp-server/node_modules/typescript-eslint/node_modules/.bin/eslint +2 -2
- package/etc/mcp-server/node_modules/typescript-eslint/node_modules/.bin/tsc +2 -2
- package/etc/mcp-server/node_modules/typescript-eslint/node_modules/.bin/tsserver +2 -2
- package/etc/mcp-server/node_modules/update-browserslist-db/node_modules/.bin/browserslist +2 -2
- package/etc/mcp-server/node_modules/vite/node_modules/.bin/esbuild +2 -2
- package/etc/mcp-server/node_modules/vite/node_modules/.bin/rollup +2 -2
- package/etc/mcp-server/node_modules/vite-node/node_modules/.bin/vite +2 -2
- package/etc/mcp-server/node_modules/vitest/node_modules/.bin/vite +2 -2
- package/etc/mcp-server/node_modules/vitest/node_modules/.bin/vite-node +2 -2
- package/etc/mcp-server/node_modules/vitest/node_modules/.bin/why-is-node-running +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -93,7 +93,7 @@ Next steps:`);let n={"claude-code":"Restart Claude Code for the hook to take eff
|
|
|
93
93
|
Gateway routing (hard block via apps/mcp-proxy):`),console.log(` \u2022 Cursor \u2014 Settings \u2192 Models \u2192 Custom OpenAI Base URL: ${Re}`),console.log(" Optional: Custom HTTP Headers \u2192 X-Venos-Source: cursor"),console.log(` \u2022 Windsurf \u2014 Settings \u2192 Models \u2192 Custom OpenAI Base URL: ${Re}`),(!e||e.status==="no-workspace")&&(console.log(" \u2022 Cline \u2014 Open VS Code in your project, then add to .vscode/settings.json:"),console.log(` "cline.openaiBaseUrl": "${Re}"`)),console.log(" \u2022 VS Code Copilot \u2014 closed provider, no custom endpoint. Coverage = MCP advisory only."),console.log(" \u2022 JetBrains AI Assistant \u2014 closed provider, no custom endpoint. Coverage = MCP advisory only.")}function er(e,t){console.log(JSON.stringify({...t,outcomes:e},null,2))}var lo={removed:"OK","already-removed":"\xB7","skipped-not-installed":"\u2014",error:"FAIL"},uo={removed:"removed","already-removed":"already removed","skipped-not-installed":"skipped (not installed)",error:"ERROR"};function tr(e,t){let r=e.some(s=>s.status==="removed");console.log(`
|
|
94
94
|
venos init --remove ${r?"done":"(no changes)"}`);for(let s of e){let i=lo[s.status],a=uo[s.status],l=s.path?` ${s.path}`:"",c=s.error?` \u2014 ${s.error}`:"";console.log(` ${i} ${s.client.padEnd(12)} ${a}${l}${c}`)}let n=t.venosConfigRemoved?"OK":"\xB7",o=t.venosConfigRemoved?"removed":"already removed";if(console.log(` ${n} venos-config ${o} ${t.venosConfigPath}`),t.service){let s=qt(t.service);s&&console.log(s)}console.log("\nPre-venos `.venos-backup` snapshots are preserved \u2014 delete manually if you don't want them.")}function rr(e,t){console.log(JSON.stringify({...t,outcomes:e},null,2))}var nr=1;function J(e){return yo(e,".venos","config.json")}function So(){return`org-${vo(4).toString("hex")}`}function wo(e,t,r,n){let o=J(e);if(or(o))try{let s=JSON.parse(fo(o,"utf8")),i={schemaVersion:s.schemaVersion??nr,...s,orchestratorUrl:t};return r&&(i.apiKey=r),n&&(i.orgId=n),i}catch{}return{schemaVersion:nr,orgId:n??So(),orchestratorUrl:t,createdAt:new Date().toISOString(),failMode:"closed",...r?{apiKey:r}:{}}}function ko(e,t){let r=J(e);po(ho(r),{recursive:!0}),go(r,JSON.stringify(t,null,2)+`
|
|
95
95
|
`,"utf8")}var Co=5e3,xo=5e3;async function bo(e){let t=e.replace(/\/$/,""),r=new AbortController,n=setTimeout(()=>r.abort(),Co);try{return(await fetch(`${t}/healthz`,{signal:r.signal})).ok}catch{return!1}finally{clearTimeout(n)}}async function Oo(e,t){let r=e.replace(/\/$/,""),n=new AbortController,o=setTimeout(()=>n.abort(),xo);try{let s=await fetch(`${r}/api/activation/register`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({orgId:t}),signal:n.signal});s.ok||console.warn(`[venos] activation telemetry: non-200 response (${s.status}) \u2014 init continues`)}catch{console.warn("[venos] activation telemetry: failed to reach orchestrator \u2014 init continues")}finally{clearTimeout(o)}}function Po(e){try{let t=new URL(e);return t.hostname==="localhost"||t.hostname==="127.0.0.1"||t.hostname==="::1"}catch{return!1}}async function sr(e={}){let t=e.home??process.env.HOME??process.env.USERPROFILE??"",r=e.orchestratorUrl??"http://127.0.0.1:8788";await bo(r)||(console.error(`
|
|
96
|
-
venos init failed: orchestrator unreachable at ${r}/healthz`),console.error("Start the orchestrator first: apps/orchestrator/orchestrator"),process.exit(1));let n=wo(t,r,e.apiKey,e.orgId),o={orgId:n.orgId,orchestratorUrl:r,mcpServerPath:q(),hookCommand:"venos hook",usageSyncCommand:"venos usage-sync --throttle",...n.apiKey?{apiKey:n.apiKey}:{}},s=Tt(t,o,F);ko(t,n);let i=$t(e.cwd??process.cwd()),a=process.env.VITEST&&!e.serviceRun?void 0:zt({home:t,...e.serviceRun?{run:e.serviceRun}:{}});e.noTelemetry===!0||Po(r)||await Oo(r,n.orgId);let c={orgId:n.orgId,orchestratorUrl:r,clineWorkspace:i,...a?{service:a}:{}};e.json?er(s,c):Qt(s,c)}function ir(e={}){let t=e.home??process.env.HOME??process.env.USERPROFILE??"",r=At(t,F),n=process.env.VITEST&&!e.serviceRun?void 0:Zt({home:t,...e.serviceRun?{run:e.serviceRun}:{}}),o=J(t),s=or(o);s&&mo(o,{force:!0});let i={venosConfigPath:o,venosConfigRemoved:s,...n?{service:n}:{}};e.json?rr(r,i):tr(r,i)}import{mkdirSync as Eo,readFileSync as re,existsSync as Io,writeFileSync as Ro}from"node:fs";import{hostname as To,userInfo as Ao}from"node:os";import{execFileSync as cr}from"node:child_process";import{randomBytes as lr}from"node:crypto";import{dirname as _o,join as ur}from"node:path";function Uo(e){return ur(e,".venos","config.json")}function C(e){let t=Uo(e);if(!Io(t))throw new Error(`venos config not found at ${t} - run "venos init" first`);return JSON.parse(re(t,"utf8"))}function No(){return new Promise((e,t)=>{let r="";process.stdin.setEncoding("utf8"),process.stdin.on("data",n=>{r+=n}),process.stdin.on("end",()=>e(r)),process.stdin.on("error",t)})}function $o(e){let t;try{t=re(e,"utf8")}catch{return null}let r=t.split(/\r?\n/);for(let n=r.length-1;n>=0;n--){let o=r[n]?.trim();if(!o)continue;let s;try{s=JSON.parse(o)}catch{continue}if(s.type!=="assistant"||!s.message||s.message.model==="<synthetic>")continue;let i=s.message.usage;if(!i)continue;let a=typeof i.cache_creation_input_tokens=="number"?i.cache_creation_input_tokens:void 0,l=typeof i.cache_read_input_tokens=="number"?i.cache_read_input_tokens:void 0,c=(i.input_tokens??0)+(a??0)+(l??0),u=i.output_tokens??0,p=s.message.model??"";if(c===0&&u===0&&p==="")return null;let f={tokensIn:c,tokensOut:u,model:p};return l!==void 0&&(f.cacheReadTokens=l),a!==void 0&&(f.cacheWriteTokens=a),f}return null}function Mo(e){let t;try{t=JSON.parse(e)}catch{return e}if(typeof t!="object"||t===null||Array.isArray(t))return e;let r=t,n=r.transcript_path;if(typeof n!="string"||n==="")return e;let o=$o(n);return o?(r.usage_tokens_in=o.tokensIn,r.usage_tokens_out=o.tokensOut,o.cacheReadTokens!==void 0&&(r.cache_read_input_tokens=o.cacheReadTokens),o.cacheWriteTokens!==void 0&&(r.cache_creation_input_tokens=o.cacheWriteTokens),o.model!==""&&(r.usage_model=o.model),JSON.stringify(r)):e}function jo(e,t){if(t==="")return e;let r;try{r=JSON.parse(e)}catch{return JSON.stringify({orgId:t,content:e})}if(typeof r!="object"||r===null||Array.isArray(r))return e;let n=r;for(let o of["orgId","org_id","tenantId","tenant_id"]){let s=n[o];if(typeof s=="string"&&s.trim()!=="")return e}return n.orgId=t,JSON.stringify(n)}function Vo(e){try{let r=JSON.parse(e).cursor_version;return typeof r=="string"&&r!==""}catch{return!1}}function Te(){try{let e=Ao().username;if(typeof e=="string"&&e.trim()!=="")return e.trim()}catch{}for(let e of["USER","USERNAME","LOGNAME"]){let t=process.env[e];if(typeof t=="string"&&t.trim()!=="")return t.trim()}return""}function Wo(e,t,r){if(t==="")return e;let n;try{n=JSON.parse(e)}catch{return e}if(typeof n!="object"||n===null||Array.isArray(n))return e;let o=n;for(let s of["userId","user_id"]){let i=o[s];if(typeof i=="string"&&i.trim()!=="")return e}return o.userId=t,r&&(o.actor_email=r),JSON.stringify(o)}async function Lo(e){if(process.env.VENOS_EMIT_ACTOR_EMAIL==="false")return null;try{let t=cr("git",["config","user.email"],{encoding:"utf8",stdio:["pipe","pipe","pipe"]}).trim();if(t)return t.toLowerCase()}catch{}try{let t=C(e);if(t.actor_email?.trim())return t.actor_email.trim().toLowerCase()}catch{}return null}function y(e){let t=e===""?"":ur(e,".venos","machine-id");if(t!=="")try{let r=re(t,"utf8").trim();if(r!=="")return r}catch{}try{let r=re("/etc/machine-id","utf8").trim();if(r!=="")return r}catch{}if(t==="")return"";try{let r=lr(16).toString("hex");return Eo(_o(t),{recursive:!0}),Ro(t,r+`
|
|
96
|
+
venos init failed: orchestrator unreachable at ${r}/healthz`),console.error("Start the orchestrator first: apps/orchestrator/orchestrator"),process.exit(1));let n=wo(t,r,e.apiKey,e.orgId),o={orgId:n.orgId,orchestratorUrl:r,mcpServerPath:q(),hookCommand:"venos hook",usageSyncCommand:"venos usage-sync --throttle",...n.apiKey?{apiKey:n.apiKey}:{}},s=Tt(t,o,F);ko(t,n);let i=$t(e.cwd??process.cwd()),a=process.env.VITEST&&!e.serviceRun?void 0:zt({home:t,...e.serviceRun?{run:e.serviceRun}:{}});e.noTelemetry===!0||Po(r)||!!n.apiKey||await Oo(r,n.orgId);let c={orgId:n.orgId,orchestratorUrl:r,clineWorkspace:i,...a?{service:a}:{}};e.json?er(s,c):Qt(s,c)}function ir(e={}){let t=e.home??process.env.HOME??process.env.USERPROFILE??"",r=At(t,F),n=process.env.VITEST&&!e.serviceRun?void 0:Zt({home:t,...e.serviceRun?{run:e.serviceRun}:{}}),o=J(t),s=or(o);s&&mo(o,{force:!0});let i={venosConfigPath:o,venosConfigRemoved:s,...n?{service:n}:{}};e.json?rr(r,i):tr(r,i)}import{mkdirSync as Eo,readFileSync as re,existsSync as Io,writeFileSync as Ro}from"node:fs";import{hostname as To,userInfo as Ao}from"node:os";import{execFileSync as cr}from"node:child_process";import{randomBytes as lr}from"node:crypto";import{dirname as _o,join as ur}from"node:path";function Uo(e){return ur(e,".venos","config.json")}function C(e){let t=Uo(e);if(!Io(t))throw new Error(`venos config not found at ${t} - run "venos init" first`);return JSON.parse(re(t,"utf8"))}function No(){return new Promise((e,t)=>{let r="";process.stdin.setEncoding("utf8"),process.stdin.on("data",n=>{r+=n}),process.stdin.on("end",()=>e(r)),process.stdin.on("error",t)})}function $o(e){let t;try{t=re(e,"utf8")}catch{return null}let r=t.split(/\r?\n/);for(let n=r.length-1;n>=0;n--){let o=r[n]?.trim();if(!o)continue;let s;try{s=JSON.parse(o)}catch{continue}if(s.type!=="assistant"||!s.message||s.message.model==="<synthetic>")continue;let i=s.message.usage;if(!i)continue;let a=typeof i.cache_creation_input_tokens=="number"?i.cache_creation_input_tokens:void 0,l=typeof i.cache_read_input_tokens=="number"?i.cache_read_input_tokens:void 0,c=(i.input_tokens??0)+(a??0)+(l??0),u=i.output_tokens??0,p=s.message.model??"";if(c===0&&u===0&&p==="")return null;let f={tokensIn:c,tokensOut:u,model:p};return l!==void 0&&(f.cacheReadTokens=l),a!==void 0&&(f.cacheWriteTokens=a),f}return null}function Mo(e){let t;try{t=JSON.parse(e)}catch{return e}if(typeof t!="object"||t===null||Array.isArray(t))return e;let r=t,n=r.transcript_path;if(typeof n!="string"||n==="")return e;let o=$o(n);return o?(r.usage_tokens_in=o.tokensIn,r.usage_tokens_out=o.tokensOut,o.cacheReadTokens!==void 0&&(r.cache_read_input_tokens=o.cacheReadTokens),o.cacheWriteTokens!==void 0&&(r.cache_creation_input_tokens=o.cacheWriteTokens),o.model!==""&&(r.usage_model=o.model),JSON.stringify(r)):e}function jo(e,t){if(t==="")return e;let r;try{r=JSON.parse(e)}catch{return JSON.stringify({orgId:t,content:e})}if(typeof r!="object"||r===null||Array.isArray(r))return e;let n=r;for(let o of["orgId","org_id","tenantId","tenant_id"]){let s=n[o];if(typeof s=="string"&&s.trim()!=="")return e}return n.orgId=t,JSON.stringify(n)}function Vo(e){try{let r=JSON.parse(e).cursor_version;return typeof r=="string"&&r!==""}catch{return!1}}function Te(){try{let e=Ao().username;if(typeof e=="string"&&e.trim()!=="")return e.trim()}catch{}for(let e of["USER","USERNAME","LOGNAME"]){let t=process.env[e];if(typeof t=="string"&&t.trim()!=="")return t.trim()}return""}function Wo(e,t,r){if(t==="")return e;let n;try{n=JSON.parse(e)}catch{return e}if(typeof n!="object"||n===null||Array.isArray(n))return e;let o=n;for(let s of["userId","user_id"]){let i=o[s];if(typeof i=="string"&&i.trim()!=="")return e}return o.userId=t,r&&(o.actor_email=r),JSON.stringify(o)}async function Lo(e){if(process.env.VENOS_EMIT_ACTOR_EMAIL==="false")return null;try{let t=cr("git",["config","user.email"],{encoding:"utf8",stdio:["pipe","pipe","pipe"]}).trim();if(t)return t.toLowerCase()}catch{}try{let t=C(e);if(t.actor_email?.trim())return t.actor_email.trim().toLowerCase()}catch{}return null}function y(e){let t=e===""?"":ur(e,".venos","machine-id");if(t!=="")try{let r=re(t,"utf8").trim();if(r!=="")return r}catch{}try{let r=re("/etc/machine-id","utf8").trim();if(r!=="")return r}catch{}if(t==="")return"";try{let r=lr(16).toString("hex");return Eo(_o(t),{recursive:!0}),Ro(t,r+`
|
|
97
97
|
`,"utf8"),r}catch{return""}}function Ho(e,t,r){if(t===""&&r==="")return e;let n;try{n=JSON.parse(e)}catch{return e}if(typeof n!="object"||n===null||Array.isArray(n))return e;let o=n,s=i=>{let a=o[i];return typeof a=="string"&&a.trim()!==""};return t!==""&&!s("machine_id")&&!s("machineId")&&(o.machine_id=t),r!==""&&(o.hostname=r),JSON.stringify(o)}function w(e=process.platform,t=Fo){if(e==="darwin")try{let r=t().trim();if(r!=="")return r.endsWith(".local")?r:`${r}.local`}catch{}try{let r=To();return typeof r=="string"?r.trim():""}catch{return""}}function Fo(){try{return cr("scutil",["--get","LocalHostName"],{encoding:"utf8",timeout:1e3}).trim()}catch{return""}}function x(e,t,r){let n={"Content-Type":"application/json","X-Venos-Org":e};return t&&(n.Authorization=`Bearer ${t}`),r&&(n["X-Venos-Idempotency-Key"]=r),n}function Do(e){return e.failMode==="closed"?{mode:"closed",implicit:!1}:e.failMode==="open"?{mode:"open",implicit:!1}:{mode:"open",implicit:!0}}function dr(e){return e===502||e===503}async function A(e,t,r={}){let n=r.attempts??3,o=r.backoffMs??[250,750],s=r.timeoutMs??3e3,i;for(let a=0;a<n;a++){if(a>0){let l=o[Math.min(a-1,o.length-1)]??0;await new Promise(c=>setTimeout(c,l))}try{let l=await fetch(e,{...t,signal:AbortSignal.timeout(s)});if(!dr(l.status)||a===n-1)return l;i=new Error(`orchestrator returned ${l.status}`)}catch(l){i=l}}throw i}function Jo(e){let t=e.orchestratorUrl.replace(/\/$/,"").trim(),r=new Set([t]),n=[];for(let o of e.mirrors??[]){let s=(o?.url??"").replace(/\/$/,"").trim();s===""||r.has(s)||(r.add(s),n.push(o.apiKey?{url:s,apiKey:o.apiKey}:{url:s}))}return n}async function Ko(e,t,r,n,o){e.length!==0&&await Promise.allSettled(e.map(async s=>{let i=`${s.url}/v1/hooks/${encodeURIComponent(t)}`;try{await(await A(i,{method:"POST",headers:x(r,s.apiKey,o),body:n})).text()}catch{}}))}async function pr(e,t="claude-code"){let r=e??process.env.HOME??process.env.USERPROFILE??"",n=C(r),o=await No(),s=Vo(o),i=await Lo(r),a=Ho(Wo(Mo(jo(o,n.orgId)),Te(),i),y(r),w()),c=`${n.orchestratorUrl.replace(/\/$/,"")}/v1/hooks/${encodeURIComponent(t)}`,u=lr(16).toString("hex"),p=Ko(Jo(n),t,n.orgId,a,u),f;try{f=await A(c,{method:"POST",headers:x(n.orgId,n.apiKey,u),body:a})}catch{await p,ar(t,s,n);return}if(dr(f.status)){await f.text(),await p,ar(t,s,n);return}if(s){await f.text(),await p;return}let v=await f.text(),b=t==="codex"?Bo(v):t==="claude-code"?Go(v):v;process.stdout.write(b),await p,f.ok||(process.stderr.write(`venos hook: orchestrator returned ${f.status}
|
|
98
98
|
`),process.exit(1))}function ar(e,t,r){if(t)return;let{mode:n,implicit:o}=Do(r);if(n==="open"){o?process.stderr.write(`venos hook: orchestrator unreachable; proceeding because ~/.venos/config.json has no "failMode". This default flips to "closed" in a future release - set failMode explicitly to keep proceeding.
|
|
99
99
|
`):process.stderr.write(`venos hook: orchestrator unreachable; proceeding (failMode=open)
|
|
@@ -117,7 +117,7 @@ If you are developing locally, run: pnpm --filter @venos/session-waste build`)}f
|
|
|
117
117
|
sibling: ${r}
|
|
118
118
|
If you are developing locally, run: pnpm --filter @venos/session-waste build`)}var ns=rs(ts);async function yr(e){let t=e??process.env.HOME??process.env.USERPROFILE??"",r=hr(t,".venos","config.json");if(!es(r))throw new Error(`venos config not found at ${r} \u2014 run "venos init" first`);let n=JSON.parse(Qo(r,"utf8")),o=mr(),s=hr(t,".claude"),{stdout:i}=await ns(process.execPath,[o,s],{maxBuffer:32*1024*1024}),a=JSON.parse(i),l=Array.isArray(a.findings)?a.findings:[];if(l.length===0)return{sessionsScanned:a.sessionsScanned??0,findingsStored:0};let u=`${n.orchestratorUrl.replace(/\/$/,"")}/api/finops/session-waste?orgId=${encodeURIComponent(n.orgId)}`,p=await fetch(u,{method:"POST",headers:{"Content-Type":"application/json","X-Venos-Org":n.orgId},body:JSON.stringify({findings:l})});if(!p.ok)throw new Error(`venos waste-scan: orchestrator returned ${p.status}`);let f=await p.json();return{sessionsScanned:a.sessionsScanned??0,findingsStored:f.stored??l.length}}import{readFileSync as os,existsSync as ss,statSync as is,writeFileSync as as}from"node:fs";import{join as Ae}from"node:path";import{execFile as cs,spawn as ls}from"node:child_process";import{promisify as us}from"node:util";var ds=us(cs),ps=500;function fs(e,t,r=ps){let n=[];for(let o=0;o<e.length;o+=r)n.push({sessions:e.slice(o,o+r),attribution:[]});for(let o=0;o<t.length;o+=r)n.push({sessions:[],attribution:t.slice(o,o+r)});return n}function ms(e){return Ae(e,".venos","usage-sync.last")}function _e(e,t,r){try{return r-is(e).mtimeMs>=t}catch{return!0}}function vr(e,t=60,r=ls){let n=e??process.env.HOME??process.env.USERPROFILE??"",o=ms(n);if(!_e(o,t*6e4,Date.now()))return{ran:!1,reason:"throttled"};try{as(o,new Date().toISOString())}catch{return{ran:!1,reason:"stamp-write-failed"}}let s=process.argv[1]??"";return r(process.execPath,[s,"usage-sync"],{detached:!0,stdio:"ignore"}).unref(),{ran:!0,reason:"spawned"}}async function Sr(e={},t){let r=t??process.env.HOME??process.env.USERPROFILE??"",n=Ae(r,".venos","config.json");if(!ss(n))throw new Error(`venos config not found at ${n} \u2014 run "venos init" first`);let o=JSON.parse(os(n,"utf8")),s=e.orgId??o.orgId,i=e.orchestratorUrl??o.orchestratorUrl,a=e.apiKey??o.apiKey,l=gr(),c=Ae(r,".claude"),{stdout:u}=await ds(process.execPath,[l,c],{maxBuffer:64*1024*1024}),p=JSON.parse(u),f=Array.isArray(p.sessions)?p.sessions:[],v=Array.isArray(p.attribution)?p.attribution:[];if(f.length===0)return{sessionsScanned:p.sessionsScanned??0,sessionsStored:0};let ae=`${i.replace(/\/$/,"")}/api/finops/claude-usage?orgId=${encodeURIComponent(s)}`,N={"Content-Type":"application/json","X-Venos-Org":s};a&&(N.Authorization=`Bearer ${a}`);let $=0;for(let M of fs(f,v)){let ce=await A(ae,{method:"POST",headers:N,body:JSON.stringify(M)},{timeoutMs:1e4});if(!ce.ok)throw new Error(`venos usage-sync: orchestrator returned ${ce.status}`);let Lr=await ce.json();$+=Lr.sessionsStored??M.sessions.length}return{sessionsScanned:p.sessionsScanned??0,sessionsStored:$}}import{existsSync as ri,readFileSync as ni,writeFileSync as Pr}from"node:fs";import{join as Er}from"node:path";import{spawn as oi}from"node:child_process";import{execFileSync as se}from"node:child_process";import{existsSync as gs,readdirSync as hs,readFileSync as wr,realpathSync as ys}from"node:fs";import{homedir as vs,hostname as Ss,release as K}from"node:os";import{basename as ws,dirname as ks,join as Cs}from"node:path";var xs=[{key:"claude-code",displayName:"Claude Code",isCli:!0,detect:{darwin:["~/.local/bin/claude","~/.claude/local/claude","/opt/homebrew/bin/claude","/usr/local/bin/claude"],linux:["~/.local/bin/claude","~/.npm-global/bin/claude","/usr/local/bin/claude"],win32:["%APPDATA%\\npm\\claude.cmd","%USERPROFILE%\\.local\\bin\\claude.exe"]},version:{darwin:{strategy:"symlink-version"},linux:{strategy:"symlink-version"},win32:{strategy:"none"}}},{key:"claude-desktop",displayName:"Claude Desktop",isCli:!1,detect:{darwin:["/Applications/Claude.app/Contents/Info.plist","~/Applications/Claude.app/Contents/Info.plist"],win32:["%LOCALAPPDATA%\\AnthropicClaude\\claude.exe"]},version:{darwin:{strategy:"plist"},win32:{strategy:"none"}}},{key:"chatgpt-desktop",displayName:"ChatGPT Desktop",isCli:!1,detect:{darwin:["/Applications/ChatGPT.app/Contents/Info.plist","~/Applications/ChatGPT.app/Contents/Info.plist"]},version:{darwin:{strategy:"plist"}}},{key:"cursor",displayName:"Cursor",isCli:!1,detect:{darwin:["/Applications/Cursor.app/Contents/Info.plist"],win32:["%LOCALAPPDATA%\\Programs\\cursor\\Cursor.exe"],linux:["/usr/share/cursor/resources/app/package.json","/opt/cursor/resources/app/package.json"]},version:{darwin:{strategy:"plist"},linux:{strategy:"pkgjson"},win32:{strategy:"none"}}},{key:"windsurf",displayName:"Windsurf",isCli:!1,detect:{darwin:["/Applications/Windsurf.app/Contents/Info.plist"],win32:["%LOCALAPPDATA%\\Programs\\Windsurf\\Windsurf.exe"],linux:["/usr/share/windsurf/resources/app/package.json","/opt/windsurf/resources/app/package.json"]},version:{darwin:{strategy:"plist"},linux:{strategy:"pkgjson"},win32:{strategy:"none"}}},{key:"ollama",displayName:"Ollama",isCli:!0,detect:{darwin:["/opt/homebrew/bin/ollama","/usr/local/bin/ollama","/Applications/Ollama.app/Contents/Info.plist"],win32:["%LOCALAPPDATA%\\Programs\\Ollama\\ollama.exe"],linux:["/usr/local/bin/ollama","/usr/bin/ollama"]},version:{darwin:{strategy:"exec-version"},linux:{strategy:"exec-version"},win32:{strategy:"none"}}},{key:"openai-codex",displayName:"OpenAI Codex",isCli:!0,detect:{darwin:["/Applications/Codex.app/Contents/Info.plist","~/.npm-global/bin/codex"]},version:{darwin:{strategy:"plist"}}},{key:"perplexity-desktop",displayName:"Perplexity Desktop",isCli:!1,detect:{darwin:["/Applications/Perplexity.app/Contents/Info.plist"]},version:{darwin:{strategy:"plist"}}},{key:"google-antigravity",displayName:"Google Antigravity",isCli:!1,detect:{darwin:["/Applications/Antigravity.app/Contents/Info.plist"]},version:{darwin:{strategy:"plist"}}},{key:"warp",displayName:"Warp",isCli:!1,detect:{darwin:["/Applications/Warp.app/Contents/Info.plist"]},version:{darwin:{strategy:"plist"}}},{key:"wispr-flow",displayName:"Wispr Flow",isCli:!1,detect:{darwin:["/Applications/Wispr Flow.app/Contents/Info.plist"]},version:{darwin:{strategy:"plist"}}},{key:"conductor",displayName:"Conductor",isCli:!1,detect:{darwin:["/Applications/Conductor.app/Contents/Info.plist"]},version:{darwin:{strategy:"plist"}}},{key:"lm-studio",displayName:"LM Studio",isCli:!1,detect:{darwin:["/Applications/LM Studio.app/Contents/Info.plist"],win32:["%LOCALAPPDATA%\\Programs\\lm-studio\\LM Studio.exe"]},version:{darwin:{strategy:"plist"},win32:{strategy:"none"}}}],bs=/\d+(?:\.\d+){1,4}/;function Os(e,t){let r=e;return r.startsWith("~")&&(r=t+r.slice(1)),r=r.replace(/%([^%]+)%/g,(n,o)=>process.env[o]??""),r}function Ps(e){if(!e.includes("*"))return gs(e)?e:null;let t=ks(e),r=ws(e),n=r.indexOf("*"),o=r.slice(0,n),s=r.slice(n+1),i;try{i=hs(t)}catch{return null}for(let a of i)if(a.startsWith(o)&&a.endsWith(s)&&a.length>=o.length+s.length)return Cs(t,a);return null}function Es(e){let t=e.replace(/\.plist$/,"");try{return se("defaults",["read",t,"CFBundleShortVersionString"],{encoding:"utf8",timeout:4e3,stdio:["ignore","pipe","ignore"]}).trim()}catch{return""}}function Is(e){try{let t=JSON.parse(wr(e,"utf8"));return typeof t.version=="string"?t.version.trim():""}catch{return""}}function Rs(e){try{let t=ys(e);for(let r of t.split(/[/\\]/)){let n=r.match(/^\d+(?:\.\d+){1,4}$/);if(n)return n[0]}}catch{}return""}function Ts(e){try{let r=se(e,["--version"],{encoding:"utf8",timeout:4e3,stdio:["ignore","pipe","ignore"]}).match(bs);return r?r[0]:""}catch{return""}}function As(e,t){switch(e){case"plist":return Es(t);case"pkgjson":return Is(t);case"symlink-version":return Rs(t);case"exec-version":return Ts(t);case"none":return""}}function _s(e,t){let r=[];for(let n of xs){let o=n.detect[e];if(!o)continue;let s="";for(let l of o){let c=Ps(Os(l,t));if(c){s=c;break}}if(s==="")continue;let i=n.version[e],a=i?As(i.strategy,s):"";r.push({key:n.key,name:n.displayName,version:a,sourcePath:s})}return r.sort((n,o)=>n.name.localeCompare(o.name)),r}function Us(){try{let e=se("sw_vers",["-productName"],{encoding:"utf8",timeout:4e3}).trim(),t=se("sw_vers",["-productVersion"],{encoding:"utf8",timeout:4e3}).trim(),r=t.split(".")[0]??"";return{platform:r?`${e} ${r}`:e,version:t}}catch{return{platform:"macOS",version:K()}}}function Ns(){try{let t=wr("/etc/os-release","utf8").match(/^PRETTY_NAME="?([^"\n]+)"?/m);if(t&&t[1])return{platform:t[1],version:K()}}catch{}return{platform:"Linux",version:K()}}function $s(){let e=K();return{platform:Number(e.split(".")[2]??"0")>=22e3?"Windows 11":"Windows 10",version:e}}function Ue(e){let t;return e==="darwin"?t=Us():e==="linux"?t=Ns():e==="win32"?t=$s():t={platform:e,version:K()},{osPlatform:t.platform,osVersion:t.version}}function Ms(e){let t=Ue(e),r={platform:t.osPlatform,version:t.osVersion},n="";return e==="win32"&&(n=(process.env.USERDNSDOMAIN??process.env.USERDOMAIN??"").trim()),{hostname:w()||Ss(),osPlatform:r.platform,osVersion:r.version,deviceType:"Workstation",accountName:Te(),accountDomain:n}}async function Ne(e={}){let t=e.home??process.env.HOME??process.env.USERPROFILE??vs(),r=process.platform,n=_s(r,t),o=Ms(r);if(e.dryRun)return{agents:n.length,detected:n,host:o,uploaded:!1};let s=C(t),i=s.orchestratorUrl.replace(/\/$/,""),a=y(t),l=await fetch(`${i}/v1/inventory/agents`,{method:"POST",headers:x(s.orgId,s.apiKey),body:JSON.stringify({orgId:s.orgId,machineId:a,hostname:o.hostname,osPlatform:o.osPlatform,osVersion:o.osVersion,deviceType:o.deviceType,accountName:o.accountName,accountDomain:o.accountDomain,agents:n.map(c=>({key:c.key,name:c.name,version:c.version,sourcePath:c.sourcePath}))})});if(!l.ok){let c=await l.text();throw new Error(`scan-agents upload failed: ${l.status} ${c}`)}return{agents:n.length,detected:n,host:o,uploaded:!0}}import{execFile as js,spawn as Vs}from"node:child_process";import{existsSync as Ws,readFileSync as Ls,writeFileSync as Hs}from"node:fs";import{delimiter as kr,dirname as xr,join as $e}from"node:path";var Fs=1440*60*1e3,Ds=2e3,Js=6e4,Ks=/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;function br(e){return $e(e,".venos","update-check.json")}function Bs(e){try{let t=JSON.parse(Ls(br(e),"utf8"));if(typeof t.checkedAt=="number"&&t.policy&&typeof t.policy.mode=="string")return t}catch{}return null}function Gs(e,t){try{Hs(br(e),JSON.stringify(t))}catch{}}function Cr(e){let t=/^(\d+)\.(\d+)\.(\d+)/.exec(e.trim());return t?[Number(t[1]),Number(t[2]),Number(t[3])]:null}function Ys(e,t){let r=Cr(e),n=Cr(t);if(!r||!n)return!1;for(let o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]<n[o])return!1}return!1}async function zs(e,t,r,n){let s=`${e.replace(/\/$/,"")}/api/cli/policy?orgId=${encodeURIComponent(t)}`;n&&n.trim()!==""&&(s+=`&machineId=${encodeURIComponent(n)}`);try{let i=await r(s,{signal:AbortSignal.timeout(Ds)});if(!i.ok)return null;let a=await i.json();return{mode:typeof a.mode=="string"&&a.mode!==""?a.mode:"notify",latest:typeof a.latest=="string"?a.latest.trim():"",pinnedVersion:typeof a.pinnedVersion=="string"?a.pinnedVersion.trim():""}}catch{return null}}function Zs(e,t){if(e.mode==="off")return null;if(e.mode==="pinned"){let r=e.pinnedVersion;return r===""||r===t?null:{kind:"notify",targetVersion:r,message:`venos: your organization pins venos to ${r} (you have ${t}).
|
|
119
119
|
Install it with: npm i -g @venos-inc/venos@${r}`}}return Ys(e.latest,t)?e.mode==="auto"?{kind:"auto",targetVersion:e.latest,message:`venos: auto-updating ${t} -> ${e.latest} per your organization's policy...`}:{kind:"notify",targetVersion:e.latest,message:`venos: a newer version is available (${t} -> ${e.latest}).
|
|
120
|
-
Update with: npm i -g @venos-inc/venos@latest`}:null}async function Me(e){let t=e.now??Date.now(),r=e.fetchImpl??fetch,n,o=e.bypassCache?null:Bs(e.home);if(o&&t-o.checkedAt<Fs)n=o.policy;else{if(n=await zs(e.orchestratorUrl,e.orgId,r,e.machineId),n===null)return null;Gs(e.home,{checkedAt:t,policy:n})}return Zs(n,e.currentVersion)}function Xs(e=process.env,t=process.execPath){let r=xr(t),n=e.PATH??"";return n===""?{...e,PATH:r}:n.split(kr).includes(r)?{...e,PATH:n}:{...e,PATH:`${r}${kr}${n}`}}var qs=(e,t)=>new Promise((r,n)=>{js(e,t,{timeout:Js,env:Xs()},o=>{o?n(o):r()})});function Qs(e=process.execPath,t=Ws){let r=xr(e),n=[$e(r,"node_modules","npm","bin","npm-cli.js"),$e(r,"..","lib","node_modules","npm","bin","npm-cli.js")];for(let o of n)if(t(o))return o;return null}function ei(e,t,r=process.execPath){if(!Ks.test(e))return null;let n=`@venos-inc/venos@${e}`;return t!==null?{cmd:r,args:[t,"install","-g",n]}:{cmd:"npm",args:["install","-g",n]}}async function je(e,t=qs){let r=ei(e,Qs());if(r===null)return!1;try{return await t(r.cmd,r.args),!0}catch{return!1}}function ti(){let e=process.argv[1]??"";if(e!=="")try{Vs(process.execPath,[e,"heartbeat"],{detached:!0,stdio:"ignore",env:{...process.env,VENOS_SKIP_AUTOUPDATE:"1"}}).unref()}catch{}}async function Or(e,t=je,r=ti){try{let n=await Me({...e,bypassCache:!0});return!n||n.kind!=="auto"||!await t(n.targetVersion)?null:(r(),n.targetVersion)}catch{return null}}function si(e,t){let r=typeof t.orgId=="string"&&t.orgId.trim()!==""&&typeof t.orchestratorUrl=="string"&&t.orchestratorUrl.trim()!=="",n="";try{n=q()}catch{}let o={orgId:t.orgId,orchestratorUrl:t.orchestratorUrl,mcpServerPath:n,hookCommand:"venos hook",usageSyncCommand:"venos usage-sync --throttle",...t.apiKey?{apiKey:t.apiKey}:{}},s=!1,i=!1;for(let c of F)if(c.isInstalled(e)){s=!0;try{c.isWired(c.load(c.configPath(e)),o)&&(i=!0)}catch{}}let a=!s||i,l=Xt(e);return{config_valid:r,hooks_wired:a,service_installed:l}}async function Ir(e={},t){let r=t??process.env.HOME??process.env.USERPROFILE??"",n=Er(r,".venos","config.json");if(!ri(n))return{machineId:"",status:"skipped-no-config",checks:{}};let o=JSON.parse(ni(n,"utf8")),s=e.orgId??o.orgId,i=e.orchestratorUrl??o.orchestratorUrl,a=e.apiKey??o.apiKey,l=y(r),c=w(),u=si(r,o),{osPlatform:p,osVersion:f}=Ue(process.platform),v={orgId:s,machineId:l,hostname:c,cliVersion:e.cliVersion??"",osPlatform:p,osVersion:f,checks:u},ae=`${i.replace(/\/$/,"")}/v1/inventory/heartbeat?orgId=${encodeURIComponent(s)}`,N={"Content-Type":"application/json","X-Venos-Org":s};a&&(N.Authorization=`Bearer ${a}`);let $=await A(ae,{method:"POST",headers:N,body:JSON.stringify(v)},{timeoutMs:5e3});if(!$.ok)throw new Error(`venos heartbeat: orchestrator returned ${$.status}`);try{Pr(Rr(r),new Date().toISOString())}catch{}let M=e.cliVersion??"";return M!==""&&process.env.VENOS_SKIP_AUTOUPDATE!=="1"&&await Or({currentVersion:M,orchestratorUrl:i,orgId:s,home:r,machineId:l}),{machineId:l,status:"sent",checks:u}}function Rr(e){return Er(e,".venos","heartbeat.last")}function Ve(e,t=60,r=oi){let n=e??process.env.HOME??process.env.USERPROFILE??"",o=Rr(n);if(!_e(o,t*6e4,Date.now()))return{ran:!1,reason:"throttled"};try{Pr(o,new Date().toISOString())}catch{}let s=process.argv[1]??"";return r(process.execPath,[s,"heartbeat"],{detached:!0,stdio:"ignore"}).unref(),{ran:!0,reason:"spawned"}}import{readdirSync as Ar,readFileSync as _r}from"node:fs";import{join as S}from"node:path";function We(e){try{return Ar(e,{withFileTypes:!0}).filter(t=>t.isDirectory()).map(t=>t.name)}catch{return[]}}function ii(e,t){let r;try{r=_r(S(e,"SKILL.md"),"utf8")}catch{return null}let n=r.match(/^---\s*\n([\s\S]*?)\n---/);if(!n)return{name:t,description:""};let o=n[1]??"",s=o.match(/^name:\s*(.+)$/m)?.[1]?.trim()??t,a=o.match(/^description:\s*(.+?)(?=\n\w+:|$)/ms)?.[1]?.trim().replace(/\s+/g," ")??"";return{name:s,description:a}}function Tr(e,t,r){let n=[];for(let o of We(e)){let s=S(e,o),i=ii(s,o);i&&n.push({name:i.name,description:i.description,source:t,pluginName:r,path:s})}return n}function Ur(e){let t=[...Tr(S(e,"skills"),"user","")],r=[],n=S(e,"plugins","marketplaces");for(let o of We(n)){let s=S(n,o,"plugins");for(let i of We(s)){let a=S(s,i),l="",c=o;try{let f=JSON.parse(_r(S(a,".claude-plugin","plugin.json"),"utf8"));l=f.description??"",c=f.author?.name??o}catch{}let u=Tr(S(a,"skills"),"plugin",i);t.push(...u);let p=0;try{p=Ar(S(a,"commands"),{withFileTypes:!0}).filter(f=>f.name.endsWith(".md")).length}catch{}r.push({name:i,description:l,author:c,source:"marketplace",skillCount:u.length,commandCount:p})}}return t.sort((o,s)=>o.name.localeCompare(s.name)||o.pluginName.localeCompare(s.pluginName)),r.sort((o,s)=>o.name.localeCompare(s.name)),{skills:t,plugins:r}}function ai(e,t){let r=[],n={mode:"replace",skills:[],plugins:[]},o=JSON.stringify({skills:[],plugins:[]}).length,s=(i,a)=>{let l=JSON.stringify(i).length+1;o+l>t&&(n.skills.length>0||n.plugins.length>0)&&(r.push(n),n={mode:"append",skills:[],plugins:[]},o=JSON.stringify({skills:[],plugins:[]}).length),a==="skill"?n.skills.push(i):n.plugins.push(i),o+=l};for(let i of e.skills)s(i,"skill");for(let i of e.plugins)s(i,"plugin");return r.push(n),r}var Nr=6e3;async function $r(e){let t=e??process.env.HOME??process.env.USERPROFILE??"",r=C(t),n=Ur(S(t,".claude")),o=ai(n,Nr),s=r.orchestratorUrl.replace(/\/$/,""),i=y(t),a=w();for(let l of o){let c=await fetch(`${s}/v1/inventory/skills`,{method:"POST",headers:x(r.orgId,r.apiKey),body:JSON.stringify({orgId:r.orgId,machineId:i,hostname:a,mode:l.mode,skills:l.skills,plugins:l.plugins})});if(!c.ok){let u=await c.text();throw new Error(`scan-skills upload failed: ${c.status} ${u}`)}}return{uploaded:n.skills.length+n.plugins.length,skills:n.skills.length,plugins:n.plugins.length,chunks:o.length}}function ci(e,t,r){let n=r.risk_assessment?.recommendation??"",o=r.risk_assessment?.score??0;return(r.issues??[]).map(s=>({category:s.category??"uncategorized",severity:(s.severity??"low").toLowerCase(),title:s.finding??s.id??"finding",owaspMcp:"",skillName:e.name,recommendation:n,metadata:{rule_id:s.id??"",skill_name:e.name,plugin_name:e.pluginName,source_path:e.path,file:s.location?.file??"",start_line:s.location?.start_line??null,explanation:s.explanation??"",remediation:s.remediation??"",recommendation:n,risk_score:o,machine_id:t}}))}function li(e,t){let r=[],n=[],o=0;for(let s of e){let i=JSON.stringify(s).length+1;o+i>t&&n.length>0&&(r.push(n),n=[],o=0),n.push(s),o+=i}return n.length>0&&r.push(n),r}async function ui(e){let{execFile:t}=await import("node:child_process"),{promisify:r}=await import("node:util"),n=r(t),o;try{({stdout:o}=await n("skillspector",["scan",e,"--format","json","--no-llm"],{timeout:18e4,maxBuffer:50*1024*1024}))}catch(s){if(o=s.stdout??"",!o)return null}try{return JSON.parse(o)}catch{return null}}async function Mr(e,t=ui){let r=e??process.env.HOME??process.env.USERPROFILE??"",n=C(r),o=Ur(S(r,".claude")),s=y(r),i=w(),a=[],l=0;for(let p of o.skills){if(!p.path)continue;let f=await t(p.path);f&&(l++,a.push(...ci(p,s,f)))}let c=n.orchestratorUrl.replace(/\/$/,""),u=li(a,Nr);for(let p of u){let f=await fetch(`${c}/v1/inventory/skill-findings`,{method:"POST",headers:x(n.orgId,n.apiKey),body:JSON.stringify({orgId:n.orgId,machineId:s,hostname:i,findings:p})});if(!f.ok){let v=await f.text();throw new Error(`scan-skills findings upload failed: ${f.status} ${v}`)}}return{skillsScanned:l,findings:a.length,chunks:u.length}}import{readFileSync as di}from"node:fs";import{join as ie}from"node:path";function pi(e,t){let r;try{r=JSON.parse(di(e,"utf8"))}catch{return[]}let n=r.mcpServers;if(!n||typeof n!="object")return[];let o=[];for(let[s,i]of Object.entries(n)){if(!s||!i||typeof i!="object")continue;let a=i.url??i.serverUrl??"",l=(i.type??i.transport??"").toLowerCase(),c=a?l==="sse"?"sse":"streamable-http":"stdio";o.push({name:s,client:t,transport:c,command:i.command??"",args:Array.isArray(i.args)?i.args.map(String):[],url:a,sourcePath:e})}return o}function fi(e){let t=[{path:ie(e,".claude.json"),client:"Claude Code"},{path:ie(e,".cursor","mcp.json"),client:"Cursor"},{path:ie(e,".codeium","windsurf","mcp_config.json"),client:"Windsurf"},{path:ie(e,"Library","Application Support","Claude","claude_desktop_config.json"),client:"Claude Desktop"}],r=[];for(let n of t)r.push(...pi(n.path,n.client));return r.sort((n,o)=>n.name.localeCompare(o.name)||n.client.localeCompare(o.client)),r}function mi(e,t){let r=[],n={mode:"replace",servers:[]},o=JSON.stringify({servers:[]}).length;for(let s of e){let i=JSON.stringify(s).length+1;o+i>t&&n.servers.length>0&&(r.push(n),n={mode:"append",servers:[]},o=JSON.stringify({servers:[]}).length),n.servers.push(s),o+=i}return r.push(n),r}var gi=6e3;async function jr(e){let t=e??process.env.HOME??process.env.USERPROFILE??"",r=C(t),n=fi(t),o=mi(n,gi),s=r.orchestratorUrl.replace(/\/$/,""),i=y(t),a=w();for(let l of o){let c=await fetch(`${s}/v1/inventory/mcp`,{method:"POST",headers:x(r.orgId,r.apiKey),body:JSON.stringify({orgId:r.orgId,machineId:i,hostname:a,mode:l.mode,servers:l.servers})});if(!c.ok){let u=await c.text();throw new Error(`scan-mcp upload failed: ${c.status} ${u}`)}}return{servers:n.length,chunks:o.length}}var He="0.1.
|
|
120
|
+
Update with: npm i -g @venos-inc/venos@latest`}:null}async function Me(e){let t=e.now??Date.now(),r=e.fetchImpl??fetch,n,o=e.bypassCache?null:Bs(e.home);if(o&&t-o.checkedAt<Fs)n=o.policy;else{if(n=await zs(e.orchestratorUrl,e.orgId,r,e.machineId),n===null)return null;Gs(e.home,{checkedAt:t,policy:n})}return Zs(n,e.currentVersion)}function Xs(e=process.env,t=process.execPath){let r=xr(t),n=e.PATH??"";return n===""?{...e,PATH:r}:n.split(kr).includes(r)?{...e,PATH:n}:{...e,PATH:`${r}${kr}${n}`}}var qs=(e,t)=>new Promise((r,n)=>{js(e,t,{timeout:Js,env:Xs()},o=>{o?n(o):r()})});function Qs(e=process.execPath,t=Ws){let r=xr(e),n=[$e(r,"node_modules","npm","bin","npm-cli.js"),$e(r,"..","lib","node_modules","npm","bin","npm-cli.js")];for(let o of n)if(t(o))return o;return null}function ei(e,t,r=process.execPath){if(!Ks.test(e))return null;let n=`@venos-inc/venos@${e}`;return t!==null?{cmd:r,args:[t,"install","-g",n]}:{cmd:"npm",args:["install","-g",n]}}async function je(e,t=qs){let r=ei(e,Qs());if(r===null)return!1;try{return await t(r.cmd,r.args),!0}catch{return!1}}function ti(){let e=process.argv[1]??"";if(e!=="")try{Vs(process.execPath,[e,"heartbeat"],{detached:!0,stdio:"ignore",env:{...process.env,VENOS_SKIP_AUTOUPDATE:"1"}}).unref()}catch{}}async function Or(e,t=je,r=ti){try{let n=await Me({...e,bypassCache:!0});return!n||n.kind!=="auto"||!await t(n.targetVersion)?null:(r(),n.targetVersion)}catch{return null}}function si(e,t){let r=typeof t.orgId=="string"&&t.orgId.trim()!==""&&typeof t.orchestratorUrl=="string"&&t.orchestratorUrl.trim()!=="",n="";try{n=q()}catch{}let o={orgId:t.orgId,orchestratorUrl:t.orchestratorUrl,mcpServerPath:n,hookCommand:"venos hook",usageSyncCommand:"venos usage-sync --throttle",...t.apiKey?{apiKey:t.apiKey}:{}},s=!1,i=!1;for(let c of F)if(c.isInstalled(e)){s=!0;try{c.isWired(c.load(c.configPath(e)),o)&&(i=!0)}catch{}}let a=!s||i,l=Xt(e);return{config_valid:r,hooks_wired:a,service_installed:l}}async function Ir(e={},t){let r=t??process.env.HOME??process.env.USERPROFILE??"",n=Er(r,".venos","config.json");if(!ri(n))return{machineId:"",status:"skipped-no-config",checks:{}};let o=JSON.parse(ni(n,"utf8")),s=e.orgId??o.orgId,i=e.orchestratorUrl??o.orchestratorUrl,a=e.apiKey??o.apiKey,l=y(r),c=w(),u=si(r,o),{osPlatform:p,osVersion:f}=Ue(process.platform),v={orgId:s,machineId:l,hostname:c,cliVersion:e.cliVersion??"",osPlatform:p,osVersion:f,checks:u},ae=`${i.replace(/\/$/,"")}/v1/inventory/heartbeat?orgId=${encodeURIComponent(s)}`,N={"Content-Type":"application/json","X-Venos-Org":s};a&&(N.Authorization=`Bearer ${a}`);let $=await A(ae,{method:"POST",headers:N,body:JSON.stringify(v)},{timeoutMs:5e3});if(!$.ok)throw new Error(`venos heartbeat: orchestrator returned ${$.status}`);try{Pr(Rr(r),new Date().toISOString())}catch{}let M=e.cliVersion??"";return M!==""&&process.env.VENOS_SKIP_AUTOUPDATE!=="1"&&await Or({currentVersion:M,orchestratorUrl:i,orgId:s,home:r,machineId:l}),{machineId:l,status:"sent",checks:u}}function Rr(e){return Er(e,".venos","heartbeat.last")}function Ve(e,t=60,r=oi){let n=e??process.env.HOME??process.env.USERPROFILE??"",o=Rr(n);if(!_e(o,t*6e4,Date.now()))return{ran:!1,reason:"throttled"};try{Pr(o,new Date().toISOString())}catch{}let s=process.argv[1]??"";return r(process.execPath,[s,"heartbeat"],{detached:!0,stdio:"ignore"}).unref(),{ran:!0,reason:"spawned"}}import{readdirSync as Ar,readFileSync as _r}from"node:fs";import{join as S}from"node:path";function We(e){try{return Ar(e,{withFileTypes:!0}).filter(t=>t.isDirectory()).map(t=>t.name)}catch{return[]}}function ii(e,t){let r;try{r=_r(S(e,"SKILL.md"),"utf8")}catch{return null}let n=r.match(/^---\s*\n([\s\S]*?)\n---/);if(!n)return{name:t,description:""};let o=n[1]??"",s=o.match(/^name:\s*(.+)$/m)?.[1]?.trim()??t,a=o.match(/^description:\s*(.+?)(?=\n\w+:|$)/ms)?.[1]?.trim().replace(/\s+/g," ")??"";return{name:s,description:a}}function Tr(e,t,r){let n=[];for(let o of We(e)){let s=S(e,o),i=ii(s,o);i&&n.push({name:i.name,description:i.description,source:t,pluginName:r,path:s})}return n}function Ur(e){let t=[...Tr(S(e,"skills"),"user","")],r=[],n=S(e,"plugins","marketplaces");for(let o of We(n)){let s=S(n,o,"plugins");for(let i of We(s)){let a=S(s,i),l="",c=o;try{let f=JSON.parse(_r(S(a,".claude-plugin","plugin.json"),"utf8"));l=f.description??"",c=f.author?.name??o}catch{}let u=Tr(S(a,"skills"),"plugin",i);t.push(...u);let p=0;try{p=Ar(S(a,"commands"),{withFileTypes:!0}).filter(f=>f.name.endsWith(".md")).length}catch{}r.push({name:i,description:l,author:c,source:"marketplace",skillCount:u.length,commandCount:p})}}return t.sort((o,s)=>o.name.localeCompare(s.name)||o.pluginName.localeCompare(s.pluginName)),r.sort((o,s)=>o.name.localeCompare(s.name)),{skills:t,plugins:r}}function ai(e,t){let r=[],n={mode:"replace",skills:[],plugins:[]},o=JSON.stringify({skills:[],plugins:[]}).length,s=(i,a)=>{let l=JSON.stringify(i).length+1;o+l>t&&(n.skills.length>0||n.plugins.length>0)&&(r.push(n),n={mode:"append",skills:[],plugins:[]},o=JSON.stringify({skills:[],plugins:[]}).length),a==="skill"?n.skills.push(i):n.plugins.push(i),o+=l};for(let i of e.skills)s(i,"skill");for(let i of e.plugins)s(i,"plugin");return r.push(n),r}var Nr=6e3;async function $r(e){let t=e??process.env.HOME??process.env.USERPROFILE??"",r=C(t),n=Ur(S(t,".claude")),o=ai(n,Nr),s=r.orchestratorUrl.replace(/\/$/,""),i=y(t),a=w();for(let l of o){let c=await fetch(`${s}/v1/inventory/skills`,{method:"POST",headers:x(r.orgId,r.apiKey),body:JSON.stringify({orgId:r.orgId,machineId:i,hostname:a,mode:l.mode,skills:l.skills,plugins:l.plugins})});if(!c.ok){let u=await c.text();throw new Error(`scan-skills upload failed: ${c.status} ${u}`)}}return{uploaded:n.skills.length+n.plugins.length,skills:n.skills.length,plugins:n.plugins.length,chunks:o.length}}function ci(e,t,r){let n=r.risk_assessment?.recommendation??"",o=r.risk_assessment?.score??0;return(r.issues??[]).map(s=>({category:s.category??"uncategorized",severity:(s.severity??"low").toLowerCase(),title:s.finding??s.id??"finding",owaspMcp:"",skillName:e.name,recommendation:n,metadata:{rule_id:s.id??"",skill_name:e.name,plugin_name:e.pluginName,source_path:e.path,file:s.location?.file??"",start_line:s.location?.start_line??null,explanation:s.explanation??"",remediation:s.remediation??"",recommendation:n,risk_score:o,machine_id:t}}))}function li(e,t){let r=[],n=[],o=0;for(let s of e){let i=JSON.stringify(s).length+1;o+i>t&&n.length>0&&(r.push(n),n=[],o=0),n.push(s),o+=i}return n.length>0&&r.push(n),r}async function ui(e){let{execFile:t}=await import("node:child_process"),{promisify:r}=await import("node:util"),n=r(t),o;try{({stdout:o}=await n("skillspector",["scan",e,"--format","json","--no-llm"],{timeout:18e4,maxBuffer:50*1024*1024}))}catch(s){if(o=s.stdout??"",!o)return null}try{return JSON.parse(o)}catch{return null}}async function Mr(e,t=ui){let r=e??process.env.HOME??process.env.USERPROFILE??"",n=C(r),o=Ur(S(r,".claude")),s=y(r),i=w(),a=[],l=0;for(let p of o.skills){if(!p.path)continue;let f=await t(p.path);f&&(l++,a.push(...ci(p,s,f)))}let c=n.orchestratorUrl.replace(/\/$/,""),u=li(a,Nr);for(let p of u){let f=await fetch(`${c}/v1/inventory/skill-findings`,{method:"POST",headers:x(n.orgId,n.apiKey),body:JSON.stringify({orgId:n.orgId,machineId:s,hostname:i,findings:p})});if(!f.ok){let v=await f.text();throw new Error(`scan-skills findings upload failed: ${f.status} ${v}`)}}return{skillsScanned:l,findings:a.length,chunks:u.length}}import{readFileSync as di}from"node:fs";import{join as ie}from"node:path";function pi(e,t){let r;try{r=JSON.parse(di(e,"utf8"))}catch{return[]}let n=r.mcpServers;if(!n||typeof n!="object")return[];let o=[];for(let[s,i]of Object.entries(n)){if(!s||!i||typeof i!="object")continue;let a=i.url??i.serverUrl??"",l=(i.type??i.transport??"").toLowerCase(),c=a?l==="sse"?"sse":"streamable-http":"stdio";o.push({name:s,client:t,transport:c,command:i.command??"",args:Array.isArray(i.args)?i.args.map(String):[],url:a,sourcePath:e})}return o}function fi(e){let t=[{path:ie(e,".claude.json"),client:"Claude Code"},{path:ie(e,".cursor","mcp.json"),client:"Cursor"},{path:ie(e,".codeium","windsurf","mcp_config.json"),client:"Windsurf"},{path:ie(e,"Library","Application Support","Claude","claude_desktop_config.json"),client:"Claude Desktop"}],r=[];for(let n of t)r.push(...pi(n.path,n.client));return r.sort((n,o)=>n.name.localeCompare(o.name)||n.client.localeCompare(o.client)),r}function mi(e,t){let r=[],n={mode:"replace",servers:[]},o=JSON.stringify({servers:[]}).length;for(let s of e){let i=JSON.stringify(s).length+1;o+i>t&&n.servers.length>0&&(r.push(n),n={mode:"append",servers:[]},o=JSON.stringify({servers:[]}).length),n.servers.push(s),o+=i}return r.push(n),r}var gi=6e3;async function jr(e){let t=e??process.env.HOME??process.env.USERPROFILE??"",r=C(t),n=fi(t),o=mi(n,gi),s=r.orchestratorUrl.replace(/\/$/,""),i=y(t),a=w();for(let l of o){let c=await fetch(`${s}/v1/inventory/mcp`,{method:"POST",headers:x(r.orgId,r.apiKey),body:JSON.stringify({orgId:r.orgId,machineId:i,hostname:a,mode:l.mode,servers:l.servers})});if(!c.ok){let u=await c.text();throw new Error(`scan-mcp upload failed: ${c.status} ${u}`)}}return{servers:n.length,chunks:o.length}}var He="0.1.9";async function Vr(){try{let e=JSON.parse(hi(J(Le()),"utf8"));if(!e.orchestratorUrl||!e.orgId)return;let t=await Me({currentVersion:He,orchestratorUrl:e.orchestratorUrl,orgId:e.orgId,home:Le(),machineId:y(Le())});if(!t)return;if(t.kind==="auto"){process.stderr.write(`
|
|
121
121
|
${t.message}
|
|
122
122
|
`);let r=await je(t.targetVersion);process.stderr.write(r?`venos: updated to ${t.targetVersion}. Re-run venos to use it.
|
|
123
123
|
`:`venos: auto-update failed. Install manually: npm i -g @venos-inc/venos@${t.targetVersion}
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/json5@2.2.3/node_modules/json5/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/json5@2.2.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/json5@2.2.3/node_modules/json5/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/json5@2.2.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../json5@2.2.3/node_modules/json5/lib/cli.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.29.7/node_modules/@babel/parser/bin/babel-parser.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../semver@6.3.1/node_modules/semver/bin/semver.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/jsesc@3.1.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/jsesc@3.1.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../jsesc@3.1.0/node_modules/jsesc/bin/jsesc" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.29.7/node_modules/@babel/parser/bin/babel-parser.js" "$@"
|
package/etc/mcp-server/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist
CHANGED
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/browserslist@4.28.2/node_modules/browserslist/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/browserslist@4.28.2/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/browserslist@4.28.2/node_modules/browserslist/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/browserslist@4.28.2/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../browserslist@4.28.2/node_modules/browserslist/cli.js" "$@"
|
package/etc/mcp-server/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver
CHANGED
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/semver@6.3.1/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../semver@6.3.1/node_modules/semver/bin/semver.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.29.7/node_modules/@babel/parser/bin/babel-parser.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.29.7/node_modules/@babel/parser/bin/babel-parser.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/js-yaml@4.2.0/node_modules/js-yaml/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/js-yaml@4.2.0/node_modules/js-yaml/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/js-yaml@4.2.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/js-yaml@4.2.0/node_modules/js-yaml/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/js-yaml@4.2.0/node_modules/js-yaml/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/js-yaml@4.2.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../js-yaml@4.2.0/node_modules/js-yaml/bin/js-yaml.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../eslint@9.17.0/node_modules/eslint/bin/eslint.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.29.7/node_modules/@babel/parser/bin/babel-parser.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.29.7/node_modules/@babel/parser/bin/babel-parser.js" "$@"
|
package/etc/mcp-server/node_modules/@typescript-eslint/eslint-plugin/node_modules/.bin/eslint
CHANGED
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../eslint@9.17.0/node_modules/eslint/bin/eslint.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
|
package/etc/mcp-server/node_modules/@typescript-eslint/eslint-plugin/node_modules/.bin/tsserver
CHANGED
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../eslint@9.17.0/node_modules/eslint/bin/eslint.js" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
|
package/etc/mcp-server/node_modules/@typescript-eslint/project-service/node_modules/.bin/tsc
CHANGED
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
|
package/etc/mcp-server/node_modules/@typescript-eslint/project-service/node_modules/.bin/tsserver
CHANGED
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
|
package/etc/mcp-server/node_modules/@typescript-eslint/tsconfig-utils/node_modules/.bin/tsserver
CHANGED
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
9
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.
|
|
11
|
+
export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.9/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../../../../../../typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
|