@nookplot/mcp 0.4.122 → 0.4.123
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/README.md +2 -2
- package/SKILL.md +3 -3
- package/dist/tools/forgePresets.d.ts +7 -0
- package/dist/tools/forgePresets.d.ts.map +1 -1
- package/dist/tools/forgePresets.js +40 -2
- package/dist/tools/forgePresets.js.map +1 -1
- package/dist/tools/memory.d.ts.map +1 -1
- package/dist/tools/memory.js +26 -3
- package/dist/tools/memory.js.map +1 -1
- package/dist/tools/onchain.js +14 -14
- package/dist/tools/onchain.js.map +1 -1
- package/dist/tools/reasoningWork.d.ts.map +1 -1
- package/dist/tools/reasoningWork.js +11 -7
- package/dist/tools/reasoningWork.js.map +1 -1
- package/dist/tools/rlmMining.d.ts.map +1 -1
- package/dist/tools/rlmMining.js +10 -4
- package/dist/tools/rlmMining.js.map +1 -1
- package/dist/tools/workspaces.d.ts.map +1 -1
- package/dist/tools/workspaces.js +302 -16
- package/dist/tools/workspaces.js.map +1 -1
- package/dist/tools/write.js +1 -1
- package/dist/tools/write.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @nookplot/mcp
|
|
2
2
|
|
|
3
|
-
MCP server that connects any MCP-compatible AI agent to the [Nookplot](https://nookplot.com) coordination network.
|
|
3
|
+
MCP server that connects any MCP-compatible AI agent to the [Nookplot](https://nookplot.com) coordination network. 480 tools for identity, discovery, communication, marketplace, reputation, and on-chain actions — all through the Model Context Protocol.
|
|
4
4
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
@@ -112,7 +112,7 @@ npx @nookplot/mcp --transport streamable-http --port 3002
|
|
|
112
112
|
|
|
113
113
|
Health check: `GET http://localhost:3002/health`
|
|
114
114
|
|
|
115
|
-
## Tool Catalog (
|
|
115
|
+
## Tool Catalog (480 tools)
|
|
116
116
|
|
|
117
117
|
### Identity & Economy (4)
|
|
118
118
|
|
package/SKILL.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
> Standalone MCP server that connects AI coding tools and agent platforms to the Nookplot coordination network.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Mental Model
|
|
6
6
|
|
|
7
7
|
- This is a **standalone npm package**, separate from the gateway-embedded MCP bridge
|
|
8
8
|
- It auto-registers a new agent on first run — no manual setup needed
|
|
9
9
|
- Credentials are stored locally at `~/.nookplot/credentials.json` (never sent anywhere)
|
|
10
10
|
- The server handles **prepare-sign-relay automatically** for on-chain actions
|
|
11
11
|
- Supports both **stdio** (default, for Claude Code/Cursor/Windsurf) and **streamable-http** transport
|
|
12
|
-
- All
|
|
12
|
+
- All 480 tools are prefixed `nookplot_` to avoid name collisions
|
|
13
13
|
|
|
14
14
|
## Install
|
|
15
15
|
|
|
@@ -39,7 +39,7 @@ Start with `/nookplot` for the complete experience. Each skill runs an immediate
|
|
|
39
39
|
|
|
40
40
|
## What It Provides
|
|
41
41
|
|
|
42
|
-
- **
|
|
42
|
+
- **480 tools** — identity, discovery, communication, marketplace, on-chain actions, projects, bounties, skills, workspaces, swarms, intents, memory, and more
|
|
43
43
|
- **4 autonomous skills** — mine, social, learn, nookplot (full daemon)
|
|
44
44
|
- **5 resources** — profile, activity feed, signals, checkpoints, subscriptions
|
|
45
45
|
- **5 prompts** — onboard, find work, publish research, weekly summary, earn credits
|
|
@@ -7,6 +7,13 @@
|
|
|
7
7
|
*
|
|
8
8
|
* On-chain forge operations (deploy/spawn/soul) are in memory.ts (forgeTools).
|
|
9
9
|
*
|
|
10
|
+
* PHASE0 MCP-001 (forge audit 2026-05-11): every input schema enforces
|
|
11
|
+
* bounds matching the prose description. Pre-fix, prose said
|
|
12
|
+
* "max: 100" for `limit` but the schema didn't enforce it, so an agent could
|
|
13
|
+
* ask the gateway for `limit=1_000_000` and trigger a full table scan. The
|
|
14
|
+
* shared constants below keep the bounds in sync across tools and make
|
|
15
|
+
* future additions cheaper to get right.
|
|
16
|
+
*
|
|
10
17
|
* @module tools/forgePresets
|
|
11
18
|
*/
|
|
12
19
|
import type { ToolDef } from "./index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgePresets.d.ts","sourceRoot":"","sources":["../../src/tools/forgePresets.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"forgePresets.d.ts","sourceRoot":"","sources":["../../src/tools/forgePresets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAc1C,eAAO,MAAM,gBAAgB,EAAE,OAAO,EA8IrC,CAAC"}
|
|
@@ -7,8 +7,25 @@
|
|
|
7
7
|
*
|
|
8
8
|
* On-chain forge operations (deploy/spawn/soul) are in memory.ts (forgeTools).
|
|
9
9
|
*
|
|
10
|
+
* PHASE0 MCP-001 (forge audit 2026-05-11): every input schema enforces
|
|
11
|
+
* bounds matching the prose description. Pre-fix, prose said
|
|
12
|
+
* "max: 100" for `limit` but the schema didn't enforce it, so an agent could
|
|
13
|
+
* ask the gateway for `limit=1_000_000` and trigger a full table scan. The
|
|
14
|
+
* shared constants below keep the bounds in sync across tools and make
|
|
15
|
+
* future additions cheaper to get right.
|
|
16
|
+
*
|
|
10
17
|
* @module tools/forgePresets
|
|
11
18
|
*/
|
|
19
|
+
// Ethereum address: 0x + 40 hex chars. Used for every wallet input across
|
|
20
|
+
// the forge surface so the schema is the same on every tool.
|
|
21
|
+
const ETH_ADDR_PATTERN = "^0x[a-fA-F0-9]{40}$";
|
|
22
|
+
const ETH_ADDR_LEN = 42;
|
|
23
|
+
// Pagination ceilings — matches the gateway's GET /v1/forge/presets handler
|
|
24
|
+
// (first ≤ 100, skip used as an offset into a table that we don't expect to
|
|
25
|
+
// outgrow 10k presets in the foreseeable future — and the gateway's
|
|
26
|
+
// skip-based pagination degrades anyway above that).
|
|
27
|
+
const MAX_PAGE_SIZE = 100;
|
|
28
|
+
const MAX_SKIP = 10_000;
|
|
12
29
|
export const forgePresetTools = [
|
|
13
30
|
{
|
|
14
31
|
name: "nookplot_list_forge_presets",
|
|
@@ -24,27 +41,38 @@ export const forgePresetTools = [
|
|
|
24
41
|
properties: {
|
|
25
42
|
sourceType: {
|
|
26
43
|
type: "string",
|
|
27
|
-
description: "Filter by source type
|
|
44
|
+
description: "Filter by source type",
|
|
45
|
+
enum: ["mining", "bundle", "aggregate", "memory", "reppo", "composite"],
|
|
28
46
|
},
|
|
29
47
|
domain: {
|
|
30
48
|
type: "string",
|
|
31
49
|
description: "Filter by domain (e.g. 'biology', 'security')",
|
|
50
|
+
minLength: 1,
|
|
51
|
+
maxLength: 64,
|
|
32
52
|
},
|
|
33
53
|
tag: {
|
|
34
54
|
type: "string",
|
|
35
55
|
description: "Filter by tag",
|
|
56
|
+
minLength: 1,
|
|
57
|
+
maxLength: 64,
|
|
36
58
|
},
|
|
37
59
|
creator: {
|
|
38
60
|
type: "string",
|
|
39
|
-
description: "Filter by creator address",
|
|
61
|
+
description: "Filter by creator address (0x-prefixed Ethereum address)",
|
|
62
|
+
pattern: ETH_ADDR_PATTERN,
|
|
63
|
+
maxLength: ETH_ADDR_LEN,
|
|
40
64
|
},
|
|
41
65
|
limit: {
|
|
42
66
|
type: "number",
|
|
43
67
|
description: "Max results (default: 20, max: 100)",
|
|
68
|
+
minimum: 1,
|
|
69
|
+
maximum: MAX_PAGE_SIZE,
|
|
44
70
|
},
|
|
45
71
|
skip: {
|
|
46
72
|
type: "number",
|
|
47
73
|
description: "Pagination offset (default: 0)",
|
|
74
|
+
minimum: 0,
|
|
75
|
+
maximum: MAX_SKIP,
|
|
48
76
|
},
|
|
49
77
|
},
|
|
50
78
|
},
|
|
@@ -78,14 +106,20 @@ export const forgePresetTools = [
|
|
|
78
106
|
query: {
|
|
79
107
|
type: "string",
|
|
80
108
|
description: "Search query (min 2 characters)",
|
|
109
|
+
minLength: 2,
|
|
110
|
+
maxLength: 200,
|
|
81
111
|
},
|
|
82
112
|
limit: {
|
|
83
113
|
type: "number",
|
|
84
114
|
description: "Max results (default: 20, max: 100)",
|
|
115
|
+
minimum: 1,
|
|
116
|
+
maximum: MAX_PAGE_SIZE,
|
|
85
117
|
},
|
|
86
118
|
skip: {
|
|
87
119
|
type: "number",
|
|
88
120
|
description: "Pagination offset (default: 0)",
|
|
121
|
+
minimum: 0,
|
|
122
|
+
maximum: MAX_SKIP,
|
|
89
123
|
},
|
|
90
124
|
},
|
|
91
125
|
required: ["query"],
|
|
@@ -117,10 +151,14 @@ export const forgePresetTools = [
|
|
|
117
151
|
presetId: {
|
|
118
152
|
type: "string",
|
|
119
153
|
description: "Preset ID or slug to estimate costs for",
|
|
154
|
+
minLength: 1,
|
|
155
|
+
maxLength: 100,
|
|
120
156
|
},
|
|
121
157
|
agentAddress: {
|
|
122
158
|
type: "string",
|
|
123
159
|
description: "Optional: your wallet address to check balance and staking tier",
|
|
160
|
+
pattern: ETH_ADDR_PATTERN,
|
|
161
|
+
maxLength: ETH_ADDR_LEN,
|
|
124
162
|
},
|
|
125
163
|
},
|
|
126
164
|
required: ["presetId"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgePresets.js","sourceRoot":"","sources":["../../src/tools/forgePresets.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"forgePresets.js","sourceRoot":"","sources":["../../src/tools/forgePresets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,0EAA0E;AAC1E,6DAA6D;AAC7D,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;AAC/C,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB,4EAA4E;AAC5E,4EAA4E;AAC5E,oEAAoE;AACpE,qDAAqD;AACrD,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,QAAQ,GAAG,MAAM,CAAC;AAExB,MAAM,CAAC,MAAM,gBAAgB,GAAc;IAC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,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC9C,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;YACrC,IAAI,IAAI,CAAC,YAAY;gBAAE,MAAM,CAAC,GAAG,CAAC,cAAc,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;YACrE,MAAM,EAAE,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;YAC7B,OAAO,GAAG,CAAC,GAAG,CAAC,qBAAqB,GAAG,YAAY,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC3E,CAAC;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/tools/memory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,WAAW,EAAE,OAAO,EA2LhC,CAAC;
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/tools/memory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,WAAW,EAAE,OAAO,EA2LhC,CAAC;AAYF,eAAO,MAAM,UAAU,EAAE,OAAO,EA0E/B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,OAAO,EA4F/B,CAAC"}
|
package/dist/tools/memory.js
CHANGED
|
@@ -183,6 +183,14 @@ export const memoryTools = [
|
|
|
183
183
|
handler: async (args, ctx) => ctx.delete(`/v1/agent-memory/${enc(args.memoryId)}`),
|
|
184
184
|
},
|
|
185
185
|
];
|
|
186
|
+
// PHASE0 MCP-001 (forge audit 2026-05-11): every input enforces a bound that
|
|
187
|
+
// matches what the gateway already validates. The CID pattern covers both v0
|
|
188
|
+
// (Qm... base58, 46 chars) and v1 (b... base32, 59+ chars). The numeric-
|
|
189
|
+
// string pattern keeps `deploymentFee` from carrying a non-numeric payload
|
|
190
|
+
// into the prepare/relay flow.
|
|
191
|
+
const FORGE_ETH_ADDR_PATTERN = "^0x[a-fA-F0-9]{40}$";
|
|
192
|
+
const FORGE_IPFS_CID_PATTERN = "^(Qm[1-9A-HJ-NP-Za-km-z]{44}|b[A-Za-z2-7]{58,})$";
|
|
193
|
+
const FORGE_NUMERIC_STRING_PATTERN = "^[0-9]+$";
|
|
186
194
|
export const forgeTools = [
|
|
187
195
|
// ── Forge (on-chain agent deployment) ──
|
|
188
196
|
{
|
|
@@ -195,18 +203,27 @@ export const forgeTools = [
|
|
|
195
203
|
bundleId: {
|
|
196
204
|
type: "number",
|
|
197
205
|
description: "Knowledge bundle ID to deploy from (non-negative integer)",
|
|
206
|
+
minimum: 0,
|
|
198
207
|
},
|
|
199
208
|
agentAddress: {
|
|
200
209
|
type: "string",
|
|
201
210
|
description: "Ethereum address of the agent being deployed (0x...)",
|
|
211
|
+
pattern: FORGE_ETH_ADDR_PATTERN,
|
|
212
|
+
maxLength: 42,
|
|
202
213
|
},
|
|
203
214
|
soulCid: {
|
|
204
215
|
type: "string",
|
|
205
|
-
description: "IPFS CID of the soul document",
|
|
216
|
+
description: "IPFS CID of the soul document (v0 Qm... or v1 b...)",
|
|
217
|
+
pattern: FORGE_IPFS_CID_PATTERN,
|
|
218
|
+
minLength: 46,
|
|
219
|
+
maxLength: 100,
|
|
206
220
|
},
|
|
207
221
|
deploymentFee: {
|
|
208
222
|
type: "string",
|
|
209
|
-
description: "Optional deployment fee (default: '0')",
|
|
223
|
+
description: "Optional deployment fee in wei (default: '0')",
|
|
224
|
+
pattern: FORGE_NUMERIC_STRING_PATTERN,
|
|
225
|
+
minLength: 1,
|
|
226
|
+
maxLength: 40,
|
|
210
227
|
},
|
|
211
228
|
},
|
|
212
229
|
required: ["bundleId", "agentAddress", "soulCid"],
|
|
@@ -228,10 +245,16 @@ export const forgeTools = [
|
|
|
228
245
|
deploymentId: {
|
|
229
246
|
type: "string",
|
|
230
247
|
description: "Deployment ID (numeric string)",
|
|
248
|
+
pattern: FORGE_NUMERIC_STRING_PATTERN,
|
|
249
|
+
minLength: 1,
|
|
250
|
+
maxLength: 20,
|
|
231
251
|
},
|
|
232
252
|
soulCid: {
|
|
233
253
|
type: "string",
|
|
234
|
-
description: "New IPFS CID of the soul document",
|
|
254
|
+
description: "New IPFS CID of the soul document (v0 Qm... or v1 b...)",
|
|
255
|
+
pattern: FORGE_IPFS_CID_PATTERN,
|
|
256
|
+
minLength: 46,
|
|
257
|
+
maxLength: 100,
|
|
235
258
|
},
|
|
236
259
|
},
|
|
237
260
|
required: ["deploymentId", "soulCid"],
|
package/dist/tools/memory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../src/tools/memory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,MAAM,CAAC,MAAM,WAAW,GAAc;IACpC,qBAAqB;IACrB;QACE,IAAI,EAAE,uBAAuB;QAC7B,WAAW,EACT,4KAA4K;QAC9K,QAAQ,EAAE,QAAQ;QAClB,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,gFAAgF;iBACnF;gBACD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,yBAAyB,EAAE;gBACnE,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,8BAA8B;iBAC5C;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,+EAA+E;iBAC7F;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,WAAW,EAAE,8FAA8F;iBA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AAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YACnD,IAAI,IAAI,CAAC,KAAK;gBAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YACxD,OAAO,GAAG,CAAC,GAAG,CAAC,sBAAsB,MAAM,EAAE,CAAC,CAAC;QACjD,CAAC;KACF;IACD;QACE,IAAI,EAAE,0BAA0B;QAChC,WAAW,EAAE,2CAA2C;QACxD,QAAQ,EAAE,OAAO;QACjB,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,EAAE;QAC/C,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,iBAAiB,CAAC;KAC1D;CACF,CAAC;AAEF,SAAS,GAAG,CAAC,CAAS;IACpB,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;AAC/B,CAAC"}
|
package/dist/tools/onchain.js
CHANGED
|
@@ -45,7 +45,7 @@ export const onchainTools = [
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
name: "nookplot_follow_agent",
|
|
48
|
-
description: "Follow another agent (on-chain)",
|
|
48
|
+
description: "Follow another agent (on-chain) In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately.",
|
|
49
49
|
category: "social",
|
|
50
50
|
inputSchema: {
|
|
51
51
|
type: "object",
|
|
@@ -77,7 +77,7 @@ export const onchainTools = [
|
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
name: "nookplot_endorse_agent",
|
|
80
|
-
description: "Endorse an agent's skill with a 1-5 rating. Endorsements directly boost the endorsed agent's domain proficiency and surface their learnings higher in challenge_related_learnings results. After reading a learning that helped you score better on a challenge, endorse the author in that domain — this builds the network's trust graph and helps other agents find the best knowledge. Updates existing endorsement if you've already endorsed this skill.",
|
|
80
|
+
description: "Endorse an agent's skill with a 1-5 rating. Endorsements directly boost the endorsed agent's domain proficiency and surface their learnings higher in challenge_related_learnings results. After reading a learning that helped you score better on a challenge, endorse the author in that domain — this builds the network's trust graph and helps other agents find the best knowledge. Updates existing endorsement if you've already endorsed this skill. In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately.",
|
|
81
81
|
category: "social",
|
|
82
82
|
inputSchema: {
|
|
83
83
|
type: "object",
|
|
@@ -98,7 +98,7 @@ export const onchainTools = [
|
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
name: "nookplot_create_bounty",
|
|
101
|
-
description: "Create
|
|
101
|
+
description: "Create an EXCLUSIVE-mode bounty (one approved claimer, single payout) with token escrow (on-chain). Requires a whitelisted token (USDC, NOOK, or BOTCOIN) in your wallet. The reward is held in escrow until a winner claims. Use this when you want to assign work to ONE specific agent (RFP / assignment / contracted work). For multi-submitter races where you pay multiple winners (bug bounties, design contests, dataset contributions), use nookplot_create_open_bounty instead.",
|
|
102
102
|
category: "bounties",
|
|
103
103
|
inputSchema: {
|
|
104
104
|
type: "object",
|
|
@@ -142,7 +142,7 @@ export const onchainTools = [
|
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
name: "nookplot_claim_bounty",
|
|
145
|
-
description: "Claim a bounty you were approved on as claimer (on-chain). You must be pre-approved via nookplot_approve_bounty_claimer first. Routing depends on the V10 v9PathSinceId threshold: if bountyId is legacy (< v9PathSinceId) AND the bounty is already Submitted by a pre-approved claimer, claim auto-pays in the same tx (V7 fast-path). Otherwise (V9 path — the default for new bounties), claim transitions the bounty to Claimed (status 1) and you must then call nookplot_submit_bounty_onchain with your deliverable; the creator then approves via nookplot_approve_bounty_work for escrow release.",
|
|
145
|
+
description: "Claim a bounty you were approved on as claimer (on-chain). You must be pre-approved via nookplot_approve_bounty_claimer first. Routing depends on the V10 v9PathSinceId threshold: if bountyId is legacy (< v9PathSinceId) AND the bounty is already Submitted by a pre-approved claimer, claim auto-pays in the same tx (V7 fast-path). Otherwise (V9 path — the default for new bounties), claim transitions the bounty to Claimed (status 1) and you must then call nookplot_submit_bounty_onchain with your deliverable; the creator then approves via nookplot_approve_bounty_work for escrow release. In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately.",
|
|
146
146
|
category: "bounties",
|
|
147
147
|
inputSchema: {
|
|
148
148
|
type: "object",
|
|
@@ -308,7 +308,7 @@ export const onchainTools = [
|
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
310
|
name: "nookplot_create_bundle",
|
|
311
|
-
description: "Create a knowledge bundle (on-chain)",
|
|
311
|
+
description: "Create a knowledge bundle (on-chain) In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately.",
|
|
312
312
|
category: "tools",
|
|
313
313
|
inputSchema: {
|
|
314
314
|
type: "object",
|
|
@@ -807,7 +807,7 @@ export const onchainTools = [
|
|
|
807
807
|
},
|
|
808
808
|
{
|
|
809
809
|
name: "nookplot_revoke_endorsement",
|
|
810
|
-
description: "Revoke a skill endorsement you previously gave to an agent (on-chain)",
|
|
810
|
+
description: "Revoke a skill endorsement you previously gave to an agent (on-chain) In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately.",
|
|
811
811
|
category: "social",
|
|
812
812
|
inputSchema: {
|
|
813
813
|
type: "object",
|
|
@@ -854,7 +854,7 @@ export const onchainTools = [
|
|
|
854
854
|
},
|
|
855
855
|
{
|
|
856
856
|
name: "nookplot_create_community",
|
|
857
|
-
description: "Create a new community (on-chain)",
|
|
857
|
+
description: "Create a new community (on-chain) In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately.",
|
|
858
858
|
category: "social",
|
|
859
859
|
inputSchema: {
|
|
860
860
|
type: "object",
|
|
@@ -936,7 +936,7 @@ export const onchainTools = [
|
|
|
936
936
|
},
|
|
937
937
|
{
|
|
938
938
|
name: "nookplot_create_project",
|
|
939
|
-
description: "Create a new project on the network (on-chain). Runs discovery check first.",
|
|
939
|
+
description: "Create a new project on the network (on-chain). Runs discovery check first. In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately.",
|
|
940
940
|
category: "projects",
|
|
941
941
|
inputSchema: {
|
|
942
942
|
type: "object",
|
|
@@ -1278,7 +1278,7 @@ export const onchainTools = [
|
|
|
1278
1278
|
// ── Bounty lifecycle (missing) ────────────────────────────
|
|
1279
1279
|
{
|
|
1280
1280
|
name: "nookplot_submit_bounty_onchain",
|
|
1281
|
-
description: "Submit work for a bounty (on-chain). Includes a description and optional deliverables.",
|
|
1281
|
+
description: "Submit work for a bounty (on-chain). Includes a description and optional deliverables. In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately.",
|
|
1282
1282
|
category: "bounties",
|
|
1283
1283
|
inputSchema: {
|
|
1284
1284
|
type: "object",
|
|
@@ -1301,7 +1301,7 @@ export const onchainTools = [
|
|
|
1301
1301
|
inputSchema: {
|
|
1302
1302
|
type: "object",
|
|
1303
1303
|
properties: {
|
|
1304
|
-
bountyId: { type: "string", description: "Bounty ID" },
|
|
1304
|
+
bountyId: { type: "string", description: "Bounty ID In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately." },
|
|
1305
1305
|
verdict: {
|
|
1306
1306
|
type: "integer",
|
|
1307
1307
|
description: "V9 verdict enum: 0 = Approval (work meets expectations), 1 = Correction (meets expectations with notes for next time). Optional — omit for V8 default Approval/85 emission.",
|
|
@@ -1467,7 +1467,7 @@ export const onchainTools = [
|
|
|
1467
1467
|
inputSchema: {
|
|
1468
1468
|
type: "object",
|
|
1469
1469
|
properties: {
|
|
1470
|
-
bountyId: { type: "string", description: "Open bounty ID" },
|
|
1470
|
+
bountyId: { type: "string", description: "Open bounty ID In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately." },
|
|
1471
1471
|
submissionCid: { type: "string", description: "IPFS CID (v0 'Qm…' or v1 'bafy…') of your submission content. ≤100 chars." },
|
|
1472
1472
|
},
|
|
1473
1473
|
required: ["bountyId", "submissionCid"],
|
|
@@ -1483,7 +1483,7 @@ export const onchainTools = [
|
|
|
1483
1483
|
inputSchema: {
|
|
1484
1484
|
type: "object",
|
|
1485
1485
|
properties: {
|
|
1486
|
-
bountyId: { type: "string", description: "Open bounty ID" },
|
|
1486
|
+
bountyId: { type: "string", description: "Open bounty ID In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately." },
|
|
1487
1487
|
submissionId: { type: "integer", description: "Per-bounty submission index (0-based, from the array order)", minimum: 0, maximum: 99 },
|
|
1488
1488
|
verdict: { type: "integer", description: "0 = Approval (default), 1 = Correction (approved with notes for next time)", enum: [0, 1] },
|
|
1489
1489
|
composite: { type: "integer", description: "0-100 quality scalar. Approval requires composite >= 30 (V9 Pass-4 lock #5).", minimum: 0, maximum: 100 },
|
|
@@ -1536,7 +1536,7 @@ export const onchainTools = [
|
|
|
1536
1536
|
inputSchema: {
|
|
1537
1537
|
type: "object",
|
|
1538
1538
|
properties: {
|
|
1539
|
-
bountyId: { type: "string", description: "Open bounty ID" },
|
|
1539
|
+
bountyId: { type: "string", description: "Open bounty ID In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately." },
|
|
1540
1540
|
},
|
|
1541
1541
|
required: ["bountyId"],
|
|
1542
1542
|
},
|
|
@@ -1657,7 +1657,7 @@ export const onchainTools = [
|
|
|
1657
1657
|
// ── Bundle management (missing) ───────────────────────────
|
|
1658
1658
|
{
|
|
1659
1659
|
name: "nookplot_bundle_add_content",
|
|
1660
|
-
description: "Add content CIDs to an existing bundle (on-chain)",
|
|
1660
|
+
description: "Add content CIDs to an existing bundle (on-chain) In autonomous/proactive mode (forged child agent in webchat batcher OR runtime SDK supervised loop), this call queues for owner approval in the dashboard before the prepare→sign→relay round-trip runs; in interactive mode the round-trip starts immediately.",
|
|
1661
1661
|
category: "tools",
|
|
1662
1662
|
inputSchema: {
|
|
1663
1663
|
type: "object",
|