@toon-protocol/client-mcp 0.6.0 → 0.7.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.
- package/dist/{chunk-TDXKG3EI.js → chunk-76CTU2A5.js} +89 -5
- package/dist/{chunk-TDXKG3EI.js.map → chunk-76CTU2A5.js.map} +1 -1
- package/dist/{chunk-XBD4J7XA.js → chunk-EY5GFEDH.js} +2 -2
- package/dist/{chunk-V2SV6C3U.js → chunk-PX3DOSEG.js} +2 -2
- package/dist/daemon.js +2 -2
- package/dist/index.d.ts +13 -9
- package/dist/index.js +3 -3
- package/dist/mcp.js +2 -2
- package/package.json +3 -3
- /package/dist/{chunk-XBD4J7XA.js.map → chunk-EY5GFEDH.js.map} +0 -0
- /package/dist/{chunk-V2SV6C3U.js.map → chunk-PX3DOSEG.js.map} +0 -0
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
isEventExpired,
|
|
16
16
|
parseIlpPeerInfo,
|
|
17
17
|
readConfigFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-76CTU2A5.js";
|
|
19
19
|
import {
|
|
20
20
|
__require
|
|
21
21
|
} from "./chunk-F22GNSF6.js";
|
|
@@ -2540,4 +2540,4 @@ export {
|
|
|
2540
2540
|
PublishRejectedError,
|
|
2541
2541
|
registerRoutes
|
|
2542
2542
|
};
|
|
2543
|
-
//# sourceMappingURL=chunk-
|
|
2543
|
+
//# sourceMappingURL=chunk-EY5GFEDH.js.map
|
|
@@ -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-76CTU2A5.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-PX3DOSEG.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-EY5GFEDH.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-76CTU2A5.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
|
@@ -656,20 +656,24 @@ interface DaemonConfigFile {
|
|
|
656
656
|
faucetUrl?: string;
|
|
657
657
|
/** Town relay WS URL for FREE reads. */
|
|
658
658
|
relayUrl?: string;
|
|
659
|
-
/**
|
|
659
|
+
/**
|
|
660
|
+
* Apex CHANNEL ANCHOR (settlement peer). Defaults to the genesis seed apex's
|
|
661
|
+
* ILP anchor (core's `genesis-peers.json`); its last segment becomes the apex
|
|
662
|
+
* `peerId` the channel keys under. This is NOT a write route — see
|
|
663
|
+
* `publishDestination`/`storeDestination`.
|
|
664
|
+
*/
|
|
660
665
|
destination?: string;
|
|
661
666
|
/**
|
|
662
|
-
*
|
|
663
|
-
*
|
|
664
|
-
*
|
|
665
|
-
*
|
|
666
|
-
* `TOON_CLIENT_PUBLISH_DESTINATION`.
|
|
667
|
+
* ILP route for PUBLISHES (relay writes → `POST /write`). When unset it is
|
|
668
|
+
* DERIVED from the `….relay.store` anchor (`g.proxy.relay.store` →
|
|
669
|
+
* `g.proxy.relay`) — never the bare anchor, which the apex forwards to the
|
|
670
|
+
* store and which 404s a `/write`. Env: `TOON_CLIENT_PUBLISH_DESTINATION`.
|
|
667
671
|
*/
|
|
668
672
|
publishDestination?: string;
|
|
669
673
|
/**
|
|
670
|
-
*
|
|
671
|
-
*
|
|
672
|
-
* `g.proxy.store
|
|
674
|
+
* ILP route for UPLOADS (kind:5094 blob → `POST /store` → Arweave). When unset
|
|
675
|
+
* it is DERIVED from the `….relay.store` anchor (`g.proxy.relay.store` →
|
|
676
|
+
* `g.proxy.store`). Env: `TOON_CLIENT_STORE_DESTINATION`.
|
|
673
677
|
*/
|
|
674
678
|
storeDestination?: string;
|
|
675
679
|
/** Default fee per paid write, base units. Default `1`. */
|
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-EY5GFEDH.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-PX3DOSEG.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-76CTU2A5.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-PX3DOSEG.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-76CTU2A5.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.0",
|
|
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",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"typescript": "^5.3.0",
|
|
50
50
|
"vitest": "^1.0.0",
|
|
51
51
|
"@toon-protocol/arweave": "0.1.1",
|
|
52
|
-
"@toon-protocol/
|
|
53
|
-
"@toon-protocol/
|
|
52
|
+
"@toon-protocol/views": "0.7.0",
|
|
53
|
+
"@toon-protocol/client": "0.14.2"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=20"
|
|
File without changes
|
|
File without changes
|