open-agents-ai 0.186.27 → 0.186.29
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/index.js +16 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -51200,7 +51200,7 @@ Clone a new voice: /voice clone <wav-file> [name]`);
|
|
|
51200
51200
|
return "handled";
|
|
51201
51201
|
}
|
|
51202
51202
|
const { loadSponsorConfig: loadSponsorConfig2, saveSponsorConfig: saveSponsorConfig2, runSponsorWizard: runSponsorWizard2, showSponsorDashboard: showSponsorDashboard2 } = await Promise.resolve().then(() => (init_sponsor_wizard(), sponsor_wizard_exports));
|
|
51203
|
-
const projectDir = process.cwd();
|
|
51203
|
+
const projectDir = ctx.repoRoot ?? process.cwd();
|
|
51204
51204
|
const existingConfig = loadSponsorConfig2(projectDir);
|
|
51205
51205
|
const sponsorRl = ctx.rl;
|
|
51206
51206
|
if (arg === "pause" && existingConfig?.status === "active") {
|
|
@@ -71977,6 +71977,21 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
|
|
|
71977
71977
|
});
|
|
71978
71978
|
}
|
|
71979
71979
|
}
|
|
71980
|
+
try {
|
|
71981
|
+
const { unlinkSync: _rmStale } = await import("node:fs");
|
|
71982
|
+
const { homedir: _hdir } = await import("node:os");
|
|
71983
|
+
for (const dp of [
|
|
71984
|
+
join75(repoRoot, ".oa", "nexus", "nexus-daemon.mjs"),
|
|
71985
|
+
join75(_hdir(), ".open-agents", ".oa", "nexus", "nexus-daemon.mjs")
|
|
71986
|
+
]) {
|
|
71987
|
+
if (existsSync58(dp))
|
|
71988
|
+
try {
|
|
71989
|
+
_rmStale(dp);
|
|
71990
|
+
} catch {
|
|
71991
|
+
}
|
|
71992
|
+
}
|
|
71993
|
+
} catch {
|
|
71994
|
+
}
|
|
71980
71995
|
try {
|
|
71981
71996
|
const autoNexus = new NexusTool(repoRoot);
|
|
71982
71997
|
autoNexus.execute({ action: "connect" }).then((r) => {
|
package/package.json
CHANGED