claudemesh-cli 1.0.0-alpha.34 → 1.0.0-alpha.35
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/entrypoints/cli.js
CHANGED
|
@@ -88,7 +88,7 @@ __export(exports_urls, {
|
|
|
88
88
|
VERSION: () => VERSION,
|
|
89
89
|
URLS: () => URLS
|
|
90
90
|
});
|
|
91
|
-
var URLS, VERSION = "1.0.0-alpha.
|
|
91
|
+
var URLS, VERSION = "1.0.0-alpha.35", env;
|
|
92
92
|
var init_urls = __esm(() => {
|
|
93
93
|
URLS = {
|
|
94
94
|
BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
|
|
@@ -2479,10 +2479,9 @@ class BrokerClient {
|
|
|
2479
2479
|
if (msg.type === "ack") {
|
|
2480
2480
|
const pending = this.pendingSends.get(String(msg.id ?? ""));
|
|
2481
2481
|
if (pending) {
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
});
|
|
2482
|
+
const queued = msg.queued !== false;
|
|
2483
|
+
const errStr = typeof msg.error === "string" ? msg.error : undefined;
|
|
2484
|
+
pending.resolve(queued ? { ok: true, messageId: String(msg.messageId ?? "") } : { ok: false, error: errStr ?? "broker rejected send" });
|
|
2486
2485
|
this.pendingSends.delete(pending.id);
|
|
2487
2486
|
}
|
|
2488
2487
|
return;
|
|
@@ -12490,4 +12489,4 @@ main().catch((err) => {
|
|
|
12490
12489
|
process.exit(EXIT.INTERNAL_ERROR);
|
|
12491
12490
|
});
|
|
12492
12491
|
|
|
12493
|
-
//# debugId=
|
|
12492
|
+
//# debugId=5BA2A4C8E9E8C67464756E2164756E21
|