@messenger-agent/client 0.26.0-alpha.0 → 0.26.0-alpha.2
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/exec.js +2 -2
- package/package.json +5 -5
package/dist/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{spawn as f}from"node:child_process";function
|
|
2
|
-
${
|
|
1
|
+
import{spawn as f}from"node:child_process";function p(n,o,e={}){return new Promise((c,s)=>{console.log(`$ ${n} ${o.join(" ")}`);const r=f(n,o,{stdio:e.interactive?"inherit":["ignore","pipe","pipe"],env:{...process.env,...e.env}}),u=[],d=[];r.stdout?.on("data",t=>{u.push(t)}),r.stderr?.on("data",t=>{d.push(t)}),r.on("error",s),r.on("close",t=>{const i={status:t,stdout:Buffer.concat(u).toString("utf8"),stderr:Buffer.concat(d).toString("utf8")};if(!e.allowFailure&&t!==0){s(new Error(`${n} ${o.join(" ")} failed with status ${t}
|
|
2
|
+
${i.stderr||i.stdout}`));return}c(i)})})}export{p as runCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@messenger-agent/client",
|
|
3
|
-
"version": "0.26.0-alpha.
|
|
3
|
+
"version": "0.26.0-alpha.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"cac": "^7.0.0",
|
|
22
22
|
"yaml": "^2.9.0",
|
|
23
|
-
"@messenger-agent/
|
|
24
|
-
"@messenger-agent/
|
|
25
|
-
"@messenger-agent/
|
|
26
|
-
"@messenger-agent/
|
|
23
|
+
"@messenger-agent/claude-agent": "0.26.0-alpha.2",
|
|
24
|
+
"@messenger-agent/shared": "0.26.0-alpha.2",
|
|
25
|
+
"@messenger-agent/codex-agent": "0.26.0-alpha.2",
|
|
26
|
+
"@messenger-agent/messenger-agent": "0.26.0-alpha.2"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "rm -rf dist && tsc -p tsconfig.json && node ../../scripts/copy-client-assets.mjs && chmod +x dist/index.js",
|