@toon-protocol/client-mcp 0.13.0 → 0.13.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/app/index.html +8 -8
- package/dist/{chunk-GQENVTED.js → chunk-BINI3PEC.js} +883 -877
- package/dist/chunk-BINI3PEC.js.map +1 -0
- package/dist/daemon.js +1 -1
- package/dist/index.d.ts +9 -4
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-GQENVTED.js.map +0 -1
package/dist/daemon.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NostrEvent, EventTemplate } from 'nostr-tools/pure';
|
|
2
2
|
import { SwapPair } from '@toon-protocol/core';
|
|
3
3
|
import { ToonClientConfig, FaucetChain } from '@toon-protocol/client';
|
|
4
|
-
import { fetchRemoteState, GitRepoReader } from '@toon-protocol/
|
|
4
|
+
import { fetchRemoteState, GitRepoReader } from '@toon-protocol/rig';
|
|
5
5
|
import { FastifyInstance } from 'fastify';
|
|
6
6
|
import { ViewSpec } from '@toon-protocol/views';
|
|
7
7
|
|
|
@@ -537,7 +537,7 @@ interface GitEstimateRequest {
|
|
|
537
537
|
description?: string;
|
|
538
538
|
};
|
|
539
539
|
}
|
|
540
|
-
/** One planned ref update (wire shape of @toon-protocol/
|
|
540
|
+
/** One planned ref update (wire shape of @toon-protocol/rig `RefUpdate`). */
|
|
541
541
|
interface GitRefUpdate {
|
|
542
542
|
refname: string;
|
|
543
543
|
localSha: string;
|
|
@@ -659,6 +659,11 @@ interface GitPatchRequest {
|
|
|
659
659
|
repoAddr: GitRepoAddr;
|
|
660
660
|
/** Patch/PR title (`subject` tag). */
|
|
661
661
|
title: string;
|
|
662
|
+
/**
|
|
663
|
+
* PR body/cover text (`description` tag). Kept OUT of the event content so
|
|
664
|
+
* `git am` still consumes the patch text verbatim (#280).
|
|
665
|
+
*/
|
|
666
|
+
description?: string;
|
|
662
667
|
/** Literal patch text. Mutually exclusive with `repoPath`+`range`. */
|
|
663
668
|
patchText?: string;
|
|
664
669
|
/** Local repository to run format-patch in. Requires `range`. */
|
|
@@ -1299,7 +1304,7 @@ interface ClientRunnerDeps {
|
|
|
1299
1304
|
targetsPath?: string;
|
|
1300
1305
|
/**
|
|
1301
1306
|
* Test seams for the `/git/*` pipeline (default: the real
|
|
1302
|
-
* @toon-protocol/
|
|
1307
|
+
* @toon-protocol/rig implementations). `fetchRemoteState` opens relay
|
|
1303
1308
|
* WebSockets, so tests inject a canned reader instead of hitting the network.
|
|
1304
1309
|
*/
|
|
1305
1310
|
gitDeps?: {
|
|
@@ -1556,7 +1561,7 @@ declare class ClientRunner {
|
|
|
1556
1561
|
*/
|
|
1557
1562
|
httpFetchPaid(req: HttpFetchPaidRequest): Promise<HttpFetchPaidResponse>;
|
|
1558
1563
|
/**
|
|
1559
|
-
* The daemon `Publisher` implementation (see @toon-protocol/
|
|
1564
|
+
* The daemon `Publisher` implementation (see @toon-protocol/rig) for one
|
|
1560
1565
|
* apex. Maps the interface onto the runner's production paid-write
|
|
1561
1566
|
* machinery:
|
|
1562
1567
|
*
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toon-protocol/client-mcp",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
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",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"vitest": "^1.0.0",
|
|
51
51
|
"@toon-protocol/arweave": "0.2.0",
|
|
52
52
|
"@toon-protocol/client": "0.15.0",
|
|
53
|
-
"@toon-protocol/
|
|
54
|
-
"@toon-protocol/views": "0.13.
|
|
53
|
+
"@toon-protocol/rig": "2.2.0",
|
|
54
|
+
"@toon-protocol/views": "0.13.2"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
|
57
57
|
"node": ">=20"
|