@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.
- package/dist/{chunk-W6T6ZK7U.js → chunk-AYIP46A2.js} +45 -3
- package/dist/chunk-AYIP46A2.js.map +1 -0
- package/dist/{chunk-HLATGATX.js → chunk-EAPVMGLZ.js} +19 -2
- package/dist/{chunk-HLATGATX.js.map → chunk-EAPVMGLZ.js.map} +1 -1
- package/dist/{chunk-GTSWCJOE.js → chunk-XVGREVEL.js} +5 -2
- package/dist/{chunk-GTSWCJOE.js.map → chunk-XVGREVEL.js.map} +1 -1
- package/dist/daemon.js +2 -2
- package/dist/index.js +3 -3
- package/dist/mcp.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-W6T6ZK7U.js.map +0 -1
|
@@ -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-
|
|
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-
|
|
1527
|
+
//# sourceMappingURL=chunk-XVGREVEL.js.map
|