@sjawhar/claude-envoy 5.15.1 → 5.15.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/.omp-plugin/plugin.json
CHANGED
package/dist/envoy-channel.js
CHANGED
|
@@ -62199,7 +62199,7 @@ var import_nats5 = __toESM(require_mod4(), 1);
|
|
|
62199
62199
|
|
|
62200
62200
|
// package.json
|
|
62201
62201
|
var name2 = "@sjawhar/claude-envoy";
|
|
62202
|
-
var version2 = "5.15.
|
|
62202
|
+
var version2 = "5.15.2";
|
|
62203
62203
|
var legion = {
|
|
62204
62204
|
daemonApiVersion: 219
|
|
62205
62205
|
};
|
package/dist/session-hook.js
CHANGED
|
@@ -33625,7 +33625,7 @@ function scopeTable(pair, issueKey, workspace) {
|
|
|
33625
33625
|
function withoutOverlays(chain) {
|
|
33626
33626
|
return chain.split(":").filter((entry) => entry && !ATTRIBUTION_OVERLAY.test(path2.basename(entry))).join(":");
|
|
33627
33627
|
}
|
|
33628
|
-
async function userConfigChain(timeoutMs = JJ_CONFIG_PATH_TIMEOUT_MS, env = process.env) {
|
|
33628
|
+
async function userConfigChain(timeoutMs = JJ_CONFIG_PATH_TIMEOUT_MS, env = process.env, giveUp) {
|
|
33629
33629
|
try {
|
|
33630
33630
|
const child = Bun.spawn(["jj", "config", "path", "--user"], {
|
|
33631
33631
|
detached: true,
|
|
@@ -33646,15 +33646,22 @@ async function userConfigChain(timeoutMs = JJ_CONFIG_PATH_TIMEOUT_MS, env = proc
|
|
|
33646
33646
|
new Response(child.stderr).text()
|
|
33647
33647
|
]);
|
|
33648
33648
|
const stdout = await new Promise((resolve) => {
|
|
33649
|
-
const
|
|
33649
|
+
const stop = () => {
|
|
33650
|
+
clearTimeout(timer);
|
|
33650
33651
|
killGroup();
|
|
33651
33652
|
resolve(undefined);
|
|
33652
|
-
}
|
|
33653
|
+
};
|
|
33654
|
+
const timer = setTimeout(stop, timeoutMs);
|
|
33655
|
+
if (giveUp?.aborted)
|
|
33656
|
+
stop();
|
|
33657
|
+
giveUp?.addEventListener("abort", stop, { once: true });
|
|
33653
33658
|
completed.then(([code, output]) => {
|
|
33654
33659
|
clearTimeout(timer);
|
|
33660
|
+
giveUp?.removeEventListener("abort", stop);
|
|
33655
33661
|
resolve(code === 0 ? output : undefined);
|
|
33656
33662
|
}, () => {
|
|
33657
33663
|
clearTimeout(timer);
|
|
33664
|
+
giveUp?.removeEventListener("abort", stop);
|
|
33658
33665
|
resolve(undefined);
|
|
33659
33666
|
});
|
|
33660
33667
|
});
|