@burtson-labs/bandit-stealth-cli 1.7.376 → 1.7.377
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/README.md +3 -2
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,10 +31,11 @@ Your code never leaves your machine. Works with any Ollama model.
|
|
|
31
31
|
ollama pull qwen2.5-coder:7b # fast, tool-calling, ~4.7 GB
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
2. Install the CLI globally:
|
|
34
|
+
2. Install the CLI globally — curl, or npm if you prefer:
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
|
|
37
|
+
curl -fsSL https://burtson.ai/bandit-stealth-cli/install.sh | sh
|
|
38
|
+
# or: npm i -g bandit-stealth-cli
|
|
38
39
|
```
|
|
39
40
|
|
|
40
41
|
3. Run it:
|
package/dist/cli.js
CHANGED
|
@@ -1808,7 +1808,7 @@ ${(()=>{let H=`Bandit insights \u2014 ${new Date(i).toISOString().slice(0,10)}`,
|
|
|
1808
1808
|
<h1>You're signed in.</h1>
|
|
1809
1809
|
<p>Bandit picked up your session. You can close this tab and return to your terminal.</p>
|
|
1810
1810
|
</div>
|
|
1811
|
-
</body></html>`;t(Yzn,"startLoopbackListener");t(Xzn,"openBrowser");t(eQn,"buildDefaultDeviceLabel");t(tQn,"runOAuthSignIn")});var Vbe=Ft((w_r,nQn)=>{nQn.exports={name:"@burtson-labs/bandit-stealth-cli",version:"1.7.
|
|
1811
|
+
</body></html>`;t(Yzn,"startLoopbackListener");t(Xzn,"openBrowser");t(eQn,"buildDefaultDeviceLabel");t(tQn,"runOAuthSignIn")});var Vbe=Ft((w_r,nQn)=>{nQn.exports={name:"@burtson-labs/bandit-stealth-cli",version:"1.7.377",description:"Bandit \u2014 a local-first AI coding agent for your terminal. Same runtime as the Bandit Stealth VS Code / Cursor extension.",keywords:["ai","agent","cli","coding-agent","llm","ollama","local-first","bandit","burtson-labs","terminal","repl","developer-tools"],homepage:"https://burtson.ai",bugs:{url:"https://github.com/Burtson-Labs/bandit-agent-framework/issues",email:"team@burtson.ai"},license:"Apache-2.0",author:{name:"Burtson Labs",email:"team@burtson.ai",url:"https://burtson.ai"},repository:{type:"git",url:"git+https://github.com/Burtson-Labs/bandit-agent-framework.git",directory:"apps/bandit-cli"},type:"module",bin:{bandit:"./dist/cli.js"},main:"dist/cli.js",files:["dist/cli.js","README.md","LICENSE"],engines:{node:">=20"},publishConfig:{access:"public"},scripts:{test:"vitest run",typecheck:"tsc -p tsconfig.json --noEmit",build:"node build.mjs","build:publish":"node build.mjs --publish",dev:"node build.mjs --watch",start:"node dist/cli.js",smoke:"node build.mjs && node dist/__smoke__/smoke.js",integration:"node build.mjs && node dist/__integration__/ollama.js",eval:"node build.mjs && node dist/__eval__/eval.js",benchmark:"node build.mjs && node dist/__eval__/benchmark.js","gen-logo":"node scripts/gen-logo.mjs","preview-banner":"node scripts/preview-banner.mjs",clean:"rm -rf dist",prepack:"node scripts/prepack.mjs",postpack:"node scripts/postpack.mjs",prepublishOnly:"pnpm run clean && pnpm run typecheck && pnpm run build:publish"},dependencies:{"pdf-parse":"^2.4.5"},devDependencies:{"@burtson-labs/agent-core":"workspace:*","@burtson-labs/host-kit":"workspace:*","@burtson-labs/stealth-core-runtime":"workspace:*","@types/node":"^20.11.0","@types/pdf-parse":"^1.1.5","@types/pngjs":"^6.0.5","@types/react":"^19.2.2",esbuild:"^0.28.0",ink:"^7.0.4","ink-text-input":"^6.0.0",pngjs:"^7.0.0",react:"^19.2.0",typescript:"^5.4.0",vitest:"^4.0.10"}}});var aze={};lie(aze,{resolveEditor:()=>ize,spawnEditorOnFile:()=>_Qn});import{spawnSync as dQn,spawn as pQn}from"child_process";import*as _Dt from"path";function ize(r=process.env){let i=(r.VISUAL??"").trim();if(i.length>0){let{cmd:l,args:u}=dDt(i);return{label:`$VISUAL (${l})`,cmd:l,args:u}}let o=(r.EDITOR??"").trim();if(o.length>0){let{cmd:l,args:u}=dDt(o);return{label:`$EDITOR (${l})`,cmd:l,args:u}}return r.TERM_PROGRAM==="vscode"&&pDt("code",r)?{label:"code --wait (VS Code tab)",cmd:"code",args:["--wait"]}:process.platform==="win32"?{label:"notepad",cmd:"notepad.exe",args:[]}:pDt("nano",r)?{label:"nano",cmd:"nano",args:[]}:null}async function _Qn(r,i){let o=_Dt.resolve(i);return new Promise(l=>{let u=pQn(r.cmd,[...r.args,o],{stdio:"inherit",shell:!1});u.on("exit",(m,y)=>{l({exitCode:typeof m=="number"?m:y?130:1})}),u.on("error",()=>l({exitCode:1}))})}function dDt(r){let i=r.split(/\s+/).filter(Boolean);return{cmd:i[0]??"",args:i.slice(1)}}function pDt(r,i){let o=process.platform==="win32"?"where":"which";return dQn(o,[r],{stdio:"ignore",env:i}).status===0}var Kbe=M3(()=>{"use strict";t(ize,"resolveEditor");t(_Qn,"spawnEditorOnFile");t(dDt,"splitEditorEnv");t(pDt,"commandExists")});var hDt={};lie(hDt,{PLAN_FILE:()=>mDt,STAGING_DIR:()=>WK,loadPlan:()=>gDt,runWizard:()=>mQn});import*as sq from"fs";import*as aM from"path";async function gDt(r){let i=aM.join(r,WK,mDt),o;try{o=await sq.promises.readFile(i,"utf-8")}catch{return null}try{let l=JSON.parse(o);return l.version!==1||!Array.isArray(l.entries)||l.entries.length===0?null:l}catch{return null}}async function mQn(r){let i=await gDt(r.cwd);if(!i)return process.stdout.write(W.red("No migration plan found. ")+W.dim(`Run ${W.cyan("/memory migrate")} first to generate one, then ${W.cyan("/memory migrate apply")} to launch this wizard.
|
|
1812
1812
|
`)),{applied:0,skipped:0,edited:0,quit:!0,originalBackup:""};let o=ize();if(!o)return process.stdout.write(W.red("No editor available. ")+W.dim("Set $EDITOR (e.g. ")+W.cyan("EDITOR=code")+W.dim(") or ")+W.cyan("EDITOR=nano")+W.dim(" and rerun ")+W.cyan("/memory migrate apply")+W.dim(". ")+W.dim("You can also edit the files under ")+W.cyan(WK)+W.dim(` directly with any editor before running apply \u2014 the wizard reads them as-is.
|
|
1813
1813
|
`)),{applied:0,skipped:0,edited:0,quit:!0,originalBackup:""};let l="\u2550".repeat(60);process.stdout.write(`
|
|
1814
1814
|
`+W.accent(l)+`
|
package/package.json
CHANGED