claudemesh-cli 1.10.0 → 1.12.0

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.
@@ -3003,7 +3003,7 @@ __export(exports_urls, {
3003
3003
  VERSION: () => VERSION,
3004
3004
  URLS: () => URLS
3005
3005
  });
3006
- var URLS, VERSION = "1.10.0", env;
3006
+ var URLS, VERSION = "1.12.0", env;
3007
3007
  var init_urls = __esm(() => {
3008
3008
  URLS = {
3009
3009
  BROKER: process.env.CLAUDEMESH_BROKER_URL ?? "wss://ic.claudemesh.com/ws",
@@ -3105,12 +3105,11 @@ async function request(opts) {
3105
3105
  signal: controller.signal
3106
3106
  });
3107
3107
  if (!res.ok) {
3108
- let body;
3108
+ const text2 = await res.text();
3109
+ let body = text2;
3109
3110
  try {
3110
- body = await res.json();
3111
- } catch {
3112
- body = await res.text();
3113
- }
3111
+ body = JSON.parse(text2);
3112
+ } catch {}
3114
3113
  throw new ApiError(res.status, res.statusText, body);
3115
3114
  }
3116
3115
  const text = await res.text();
@@ -4559,4 +4558,4 @@ startMcpServer().catch((err) => {
4559
4558
  process.exit(1);
4560
4559
  });
4561
4560
 
4562
- //# debugId=779B4F134259F1A164756E2164756E21
4561
+ //# debugId=355A8C0DA6309A3F64756E2164756E21