@zibby/cli 0.1.60 → 0.1.62
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/auth/cli-login.js +12 -12
- package/dist/bin/zibby.js +2 -2
- package/dist/commands/agent-reliability.js +4 -4
- package/dist/commands/analyze-graph.js +14 -14
- package/dist/commands/chat-session-store.js +1 -1
- package/dist/commands/chat.js +71 -62
- package/dist/commands/ci-setup.js +3 -3
- package/dist/commands/generate.js +60 -21
- package/dist/commands/implement.js +15 -15
- package/dist/commands/init.js +88 -67
- package/dist/commands/list-projects.js +9 -9
- package/dist/commands/memory.js +13 -13
- package/dist/commands/project.js +8 -8
- package/dist/commands/run-capacity-queue-cli.js +2 -2
- package/dist/commands/run.js +52 -50
- package/dist/commands/setup-scripts.js +6 -6
- package/dist/commands/studio.js +21 -15
- package/dist/commands/uninstall.js +10 -10
- package/dist/commands/upload.js +15 -15
- package/dist/commands/video.js +1 -1
- package/dist/commands/workflow.js +35 -35
- package/dist/commands/workflows/delete.js +8 -0
- package/dist/commands/workflows/deploy.js +10 -10
- package/dist/commands/workflows/generate.js +17 -17
- package/dist/commands/workflows/list.js +15 -15
- package/dist/commands/workflows/logs.js +13 -13
- package/dist/commands/workflows/run.js +7 -7
- package/dist/commands/workflows/start.js +6 -6
- package/dist/commands/workflows/trigger.js +14 -8
- package/dist/config/config-loader.js +1 -1
- package/dist/config/config.js +1 -1
- package/dist/config/environments.js +1 -1
- package/dist/package.json +2 -2
- package/dist/utils/agent-credentials.js +3 -3
- package/dist/utils/chat-run-lifecycle.js +3 -3
- package/dist/utils/execution-context.js +1 -1
- package/dist/utils/progress-reporter.js +1 -1
- package/dist/utils/studio-cli-log-mirror.js +1 -1
- package/dist/utils/studio-installer.js +5 -5
- package/dist/utils/studio-launcher.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{spawn as
|
|
1
|
+
import{spawn as m,execFileSync as p}from"child_process";import l from"os";import S from"path";import{existsSync as h,mkdirSync as b,writeFileSync as g}from"fs";import c from"os";import s from"path";import{existsSync as w,readFileSync as O,readdirSync as y,createWriteStream as j,mkdirSync as A,rmSync as D,unlinkSync as R}from"fs";import F from"chalk";var T=process.env.ZIBBY_STUDIO_CDN||"https://dl.zibby.app",a=s.join(c.homedir(),".zibby","studio");function d(){if(c.platform()==="darwin")return s.join(a,"Zibby Studio.app");if(c.platform()==="win32")return s.join(a,"Zibby Studio.exe");if(c.platform()==="linux"){if(!w(a))return null;let o=y(a).find(t=>t.endsWith(".AppImage"));return o?s.join(a,o):null}return null}var u=S.join(l.homedir(),".zibby","studio-launch.json");function x(o){let t={};o.projectRoot&&(t.projectRoot=o.projectRoot),o.port&&(t.port=o.port),t.launchedAt=Date.now();let n=S.dirname(u);b(n,{recursive:!0}),g(u,JSON.stringify(t,null,2))}function I(o){if(l.platform()==="darwin"){try{p("xattr",["-cr",o])}catch{}try{p("spctl",["--add","--label","ZibbyStudio",o])}catch{}}}function f(o,t){return new Promise(n=>{let e=m("open",["-a",o,"--env",`ZIBBY_STUDIO_PROJECT_ROOT=${t.projectRoot}`],{stdio:["ignore","pipe","pipe"]}),r="";e.stderr?.on("data",i=>{r+=i.toString()}),e.on("close",i=>n({code:i,stderr:r})),e.on("error",i=>n({code:1,stderr:i.message}))})}async function E(o={}){let t=d();if(!t)throw new Error("Studio not installed");if(!h(t))throw new Error(`Studio app not found at ${t}`);x(o);let n=o.projectRoot||process.cwd();if(l.platform()==="darwin"){let e=await f(t,{projectRoot:n});if(e.code!==0&&e.stderr.includes("Launch failed")&&(I(t),e=await f(t,{projectRoot:n})),e.code!==0){let r=e.stderr.trim();r&&console.error(`[Studio Desktop] ${r}`),console.error(`Zibby Studio exited with code ${e.code}`)}}else{let e=m(t,[],{detached:!0,stdio:["ignore","pipe","pipe"],env:{...process.env,ZIBBY_STUDIO_PROJECT_ROOT:n}});e.unref(),e.stderr?.on("data",r=>{let i=r.toString().trim();i&&console.error(`[Studio Desktop] ${i}`)}),e.on("error",r=>{console.error(`Failed to open Zibby Studio: ${r.message}`)})}}export{E as launchStudio};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zibby/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.62",
|
|
4
4
|
"description": "Zibby CLI - Test automation generator and runner",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"glob": "^13.0.0",
|
|
46
46
|
"handlebars": "^4.7.9",
|
|
47
47
|
"inquirer": "^13.4.1",
|
|
48
|
-
"mem0ai": "npm:@zibby/mem0ai@^
|
|
48
|
+
"mem0ai": "npm:@zibby/mem0ai@^3.0.2",
|
|
49
49
|
"open": "^10.2.0",
|
|
50
50
|
"ora": "^8.0.1",
|
|
51
51
|
"tar": "^7.5.2",
|