@agentvault/agentvault 0.19.63 → 0.19.64
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/cli.js +6 -3
- package/dist/cli.js.map +3 -3
- package/dist/create-agent.d.ts.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -88773,9 +88773,12 @@ async function runCreateCommand(options) {
|
|
|
88773
88773
|
].join(":");
|
|
88774
88774
|
const env = { ...process.env, PATH: `${extraPaths}:${process.env.PATH ?? ""}` };
|
|
88775
88775
|
try {
|
|
88776
|
-
execSync("openclaw --version", { stdio: "pipe", env });
|
|
88777
|
-
|
|
88778
|
-
|
|
88776
|
+
const result = execSync("openclaw --version", { stdio: "pipe", env });
|
|
88777
|
+
console.log(` OpenClaw found: ${result?.toString().trim()}`);
|
|
88778
|
+
} catch (err) {
|
|
88779
|
+
console.error(` Error: 'openclaw' not found in PATH. Is OpenClaw installed?`);
|
|
88780
|
+
console.error(` Debug \u2014 PATH includes: ${env.PATH?.split(":").filter((p2) => p2.includes("local")).join(", ")}`);
|
|
88781
|
+
console.error(` Debug \u2014 error: ${err?.message?.slice(0, 200)}`);
|
|
88779
88782
|
process.exit(1);
|
|
88780
88783
|
}
|
|
88781
88784
|
if (!existsSync2(configPath)) {
|