@agentvault/secure-channel 0.6.0 → 0.6.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/cli.js +10 -1
- package/dist/cli.js.map +2 -2
- package/dist/openclaw-entry.d.ts +7 -6
- package/dist/openclaw-entry.d.ts.map +1 -1
- package/dist/openclaw-entry.js +165 -0
- package/dist/openclaw-entry.js.map +7 -0
- package/dist/setup.d.ts.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -45849,6 +45849,15 @@ async function runSetupCommand(options) {
|
|
|
45849
45849
|
});
|
|
45850
45850
|
await channel2.stop();
|
|
45851
45851
|
console.log(" Registering AgentVault channel in OpenClaw config...\n");
|
|
45852
|
+
const home = process.env.HOME ?? "";
|
|
45853
|
+
const extraPaths = [
|
|
45854
|
+
`${home}/.local/bin`,
|
|
45855
|
+
`${home}/.pnpm/bin`,
|
|
45856
|
+
`${home}/Library/pnpm/bin`,
|
|
45857
|
+
"/usr/local/bin",
|
|
45858
|
+
"/opt/homebrew/bin"
|
|
45859
|
+
].join(":");
|
|
45860
|
+
const env = { ...process.env, PATH: `${extraPaths}:${process.env.PATH ?? ""}` };
|
|
45852
45861
|
const patchCommands = [
|
|
45853
45862
|
`openclaw config set channels.agentvault.dataDir "${dataDir2}"`,
|
|
45854
45863
|
`openclaw config set channels.agentvault.apiUrl "${apiUrl2}"`,
|
|
@@ -45857,7 +45866,7 @@ async function runSetupCommand(options) {
|
|
|
45857
45866
|
let configPatched = false;
|
|
45858
45867
|
for (const cmd of patchCommands) {
|
|
45859
45868
|
try {
|
|
45860
|
-
execSync(cmd, { stdio: "pipe" });
|
|
45869
|
+
execSync(cmd, { stdio: "pipe", env });
|
|
45861
45870
|
configPatched = true;
|
|
45862
45871
|
} catch {
|
|
45863
45872
|
configPatched = false;
|