@toon-protocol/client-mcp 0.7.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-EY5GFEDH.js → chunk-6N2FGTST.js} +8 -3
- package/dist/chunk-6N2FGTST.js.map +1 -0
- package/dist/{chunk-76CTU2A5.js → chunk-CHTBE4PI.js} +8 -2
- package/dist/{chunk-76CTU2A5.js.map → chunk-CHTBE4PI.js.map} +1 -1
- package/dist/{chunk-PX3DOSEG.js → chunk-Y5U4UCHU.js} +2 -2
- package/dist/daemon.js +2 -2
- package/dist/index.d.ts +12 -0
- package/dist/index.js +3 -3
- package/dist/mcp.js +2 -2
- package/package.json +4 -4
- package/dist/chunk-EY5GFEDH.js.map +0 -1
- /package/dist/{chunk-PX3DOSEG.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,6 +654,12 @@ 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
|
/**
|
|
@@ -737,6 +743,12 @@ interface ResolvedDaemonConfig {
|
|
|
737
743
|
proxyUrl?: string;
|
|
738
744
|
/** Devnet faucet base URL, when configured. */
|
|
739
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;
|
|
740
752
|
destination: string;
|
|
741
753
|
/** Resolved default destination for relay-write publishes (falls back to `destination`). */
|
|
742
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.7.
|
|
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/views": "0.7.
|
|
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"
|