@toon-protocol/client-mcp 0.12.1 → 0.12.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.
@@ -2,7 +2,7 @@ import { createRequire as __cr } from 'module'; const require = __cr(import.meta
2
2
  import {
3
3
  ControlApiError,
4
4
  DaemonUnreachableError
5
- } from "./chunk-W6T6ZK7U.js";
5
+ } from "./chunk-AYIP46A2.js";
6
6
 
7
7
  // ../views/dist/tool-names.js
8
8
  var PUBLISH_TOOL = "toon_publish_unsigned";
@@ -1399,6 +1399,9 @@ async function dispatchTool(client, name, args) {
1399
1399
  `${e.detail ?? e.message} \u2014 retry once the relay is reachable and the apex is online.`
1400
1400
  );
1401
1401
  }
1402
+ if (e instanceof ControlApiError && e.status === 402) {
1403
+ return err(e.detail ?? e.message);
1404
+ }
1402
1405
  if (e instanceof ControlApiError && e.retryable) {
1403
1406
  return err(
1404
1407
  `TOON client is still bootstrapping (the BTP session can take a few seconds) \u2014 retry shortly. (${e.message})`
@@ -1521,4 +1524,4 @@ export {
1521
1524
  TOOL_DEFINITIONS,
1522
1525
  dispatchTool
1523
1526
  };
1524
- //# sourceMappingURL=chunk-GTSWCJOE.js.map
1527
+ //# sourceMappingURL=chunk-XVGREVEL.js.map