@toon-protocol/client-mcp 0.6.0 → 0.7.1
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-XBD4J7XA.js → chunk-6N2FGTST.js} +8 -3
- package/dist/chunk-6N2FGTST.js.map +1 -0
- package/dist/{chunk-TDXKG3EI.js → chunk-CHTBE4PI.js} +96 -6
- package/dist/{chunk-TDXKG3EI.js.map → chunk-CHTBE4PI.js.map} +1 -1
- package/dist/{chunk-V2SV6C3U.js → chunk-Y5U4UCHU.js} +2 -2
- package/dist/daemon.js +2 -2
- package/dist/index.d.ts +25 -9
- package/dist/index.js +3 -3
- package/dist/mcp.js +2 -2
- package/package.json +4 -4
- package/dist/chunk-XBD4J7XA.js.map +0 -1
- /package/dist/{chunk-V2SV6C3U.js.map → chunk-Y5U4UCHU.js.map} +0 -0
|
@@ -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-CHTBE4PI.js";
|
|
6
6
|
|
|
7
7
|
// ../views/dist/tool-names.js
|
|
8
8
|
var PUBLISH_TOOL = "toon_publish_unsigned";
|
|
@@ -1122,4 +1122,4 @@ export {
|
|
|
1122
1122
|
TOOL_DEFINITIONS,
|
|
1123
1123
|
dispatchTool
|
|
1124
1124
|
};
|
|
1125
|
-
//# sourceMappingURL=chunk-
|
|
1125
|
+
//# sourceMappingURL=chunk-Y5U4UCHU.js.map
|
package/dist/daemon.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ClientRunner,
|
|
5
5
|
registerRoutes,
|
|
6
6
|
scaffoldFirstRun
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6N2FGTST.js";
|
|
8
8
|
import {
|
|
9
9
|
ControlClient,
|
|
10
10
|
ToonClient,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
resolveConfig,
|
|
18
18
|
spawnDaemonDetached,
|
|
19
19
|
waitForReady
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CHTBE4PI.js";
|
|
21
21
|
import "./chunk-32QD72IL.js";
|
|
22
22
|
import "./chunk-DLYE6U2Z.js";
|
|
23
23
|
import "./chunk-LR7W2ISE.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -654,22 +654,32 @@ interface DaemonConfigFile {
|
|
|
654
654
|
* override: `TOON_CLIENT_FAUCET_URL`.
|
|
655
655
|
*/
|
|
656
656
|
faucetUrl?: string;
|
|
657
|
+
/**
|
|
658
|
+
* Faucet HTTP request timeout in milliseconds. When set it overrides the
|
|
659
|
+
* chain-aware default (fast 30s for evm/solana, 120s for the slow-settling
|
|
660
|
+
* mina faucet). Env override: `TOON_CLIENT_FAUCET_TIMEOUT_MS`.
|
|
661
|
+
*/
|
|
662
|
+
faucetTimeoutMs?: number;
|
|
657
663
|
/** Town relay WS URL for FREE reads. */
|
|
658
664
|
relayUrl?: string;
|
|
659
|
-
/**
|
|
665
|
+
/**
|
|
666
|
+
* Apex CHANNEL ANCHOR (settlement peer). Defaults to the genesis seed apex's
|
|
667
|
+
* ILP anchor (core's `genesis-peers.json`); its last segment becomes the apex
|
|
668
|
+
* `peerId` the channel keys under. This is NOT a write route — see
|
|
669
|
+
* `publishDestination`/`storeDestination`.
|
|
670
|
+
*/
|
|
660
671
|
destination?: string;
|
|
661
672
|
/**
|
|
662
|
-
*
|
|
663
|
-
*
|
|
664
|
-
*
|
|
665
|
-
*
|
|
666
|
-
* `TOON_CLIENT_PUBLISH_DESTINATION`.
|
|
673
|
+
* ILP route for PUBLISHES (relay writes → `POST /write`). When unset it is
|
|
674
|
+
* DERIVED from the `….relay.store` anchor (`g.proxy.relay.store` →
|
|
675
|
+
* `g.proxy.relay`) — never the bare anchor, which the apex forwards to the
|
|
676
|
+
* store and which 404s a `/write`. Env: `TOON_CLIENT_PUBLISH_DESTINATION`.
|
|
667
677
|
*/
|
|
668
678
|
publishDestination?: string;
|
|
669
679
|
/**
|
|
670
|
-
*
|
|
671
|
-
*
|
|
672
|
-
* `g.proxy.store
|
|
680
|
+
* ILP route for UPLOADS (kind:5094 blob → `POST /store` → Arweave). When unset
|
|
681
|
+
* it is DERIVED from the `….relay.store` anchor (`g.proxy.relay.store` →
|
|
682
|
+
* `g.proxy.store`). Env: `TOON_CLIENT_STORE_DESTINATION`.
|
|
673
683
|
*/
|
|
674
684
|
storeDestination?: string;
|
|
675
685
|
/** Default fee per paid write, base units. Default `1`. */
|
|
@@ -733,6 +743,12 @@ interface ResolvedDaemonConfig {
|
|
|
733
743
|
proxyUrl?: string;
|
|
734
744
|
/** Devnet faucet base URL, when configured. */
|
|
735
745
|
faucetUrl?: string;
|
|
746
|
+
/**
|
|
747
|
+
* Explicit faucet HTTP request timeout (ms), when configured. Overrides the
|
|
748
|
+
* chain-aware default. When absent, {@link fundWallet} picks the per-chain
|
|
749
|
+
* default (longer for mina).
|
|
750
|
+
*/
|
|
751
|
+
faucetTimeoutMs?: number;
|
|
736
752
|
destination: string;
|
|
737
753
|
/** Resolved default destination for relay-write publishes (falls back to `destination`). */
|
|
738
754
|
publishDestination: string;
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
hasConfiguredIdentity,
|
|
9
9
|
registerRoutes,
|
|
10
10
|
scaffoldFirstRun
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6N2FGTST.js";
|
|
12
12
|
import {
|
|
13
13
|
PUBLISH_TOOL,
|
|
14
14
|
TOOL_DEFINITIONS,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
buildFollowListFilter,
|
|
19
19
|
buildProfileFilter,
|
|
20
20
|
dispatchTool
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Y5U4UCHU.js";
|
|
22
22
|
import {
|
|
23
23
|
ControlApiError,
|
|
24
24
|
ControlClient,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
resolveMnemonic,
|
|
37
37
|
spawnDaemonDetached,
|
|
38
38
|
waitForReady
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-CHTBE4PI.js";
|
|
40
40
|
import "./chunk-32QD72IL.js";
|
|
41
41
|
import "./chunk-DLYE6U2Z.js";
|
|
42
42
|
import "./chunk-LR7W2ISE.js";
|
package/dist/mcp.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
APP_RESOURCE_URI,
|
|
5
5
|
TOOL_DEFINITIONS,
|
|
6
6
|
dispatchTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y5U4UCHU.js";
|
|
8
8
|
import {
|
|
9
9
|
ControlClient,
|
|
10
10
|
defaultConfigPath,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readConfigFile,
|
|
13
13
|
spawnDaemonDetached,
|
|
14
14
|
waitForReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CHTBE4PI.js";
|
|
16
16
|
import "./chunk-32QD72IL.js";
|
|
17
17
|
import "./chunk-DLYE6U2Z.js";
|
|
18
18
|
import "./chunk-LR7W2ISE.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toon-protocol/client-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Always-on local daemon + MCP server letting a Claude agent (Desktop or Code) act as a TOON Protocol client: pay-to-write publishing, free reads, channel/balance management, and swaps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jonathan Green",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"tsx": "^4.19.2",
|
|
49
49
|
"typescript": "^5.3.0",
|
|
50
50
|
"vitest": "^1.0.0",
|
|
51
|
-
"@toon-protocol/
|
|
52
|
-
"@toon-protocol/
|
|
53
|
-
"@toon-protocol/
|
|
51
|
+
"@toon-protocol/client": "0.14.3",
|
|
52
|
+
"@toon-protocol/views": "0.7.1",
|
|
53
|
+
"@toon-protocol/arweave": "0.1.1"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=20"
|