@wowok/agent-mcp 2.2.17 → 2.2.18
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 -0
- package/dist/index.js +29 -2
- package/dist/schemas/index.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,8 @@ Skills provide structured guidance for AI assistants:
|
|
|
48
48
|
| `wowok-machine` | 🏪 Provider | Workflow design — state machines, node definitions, progress tracking |
|
|
49
49
|
| `wowok-arbitrator` | ⚖️ Arbitrator | Arbitration service — dispute resolution, voting organization, fee management |
|
|
50
50
|
| `wowok-guard` | 🛠️ Shared | Guard design mastery — programmable trust rules, multi-signature authorization |
|
|
51
|
+
| `wowok-messenger` | 🛠️ Shared | Encrypted messaging — E2E communication, WTS evidence, conversation management |
|
|
52
|
+
| `wowok-output` | 🛠️ Shared | Output processing — post-process responses for human-readable presentation |
|
|
51
53
|
| `wowok-tools` | 🛠️ Shared | MCP tool usage mastery — 13+ tools, parameter formats, schema references |
|
|
52
54
|
| `wowok-safety` | 🛠️ Shared | Safety protocol — dry-run validation, user confirmation checkpoints |
|
|
53
55
|
|
package/dist/index.js
CHANGED
|
@@ -1448,7 +1448,14 @@ async function main() {
|
|
|
1448
1448
|
}, handleWowokInfo);
|
|
1449
1449
|
server.registerTool("schema_query", {
|
|
1450
1450
|
title: "📋 Schema Query",
|
|
1451
|
-
description: "
|
|
1451
|
+
description: "Look up JSON Schemas for WoWok MCP tools and on-chain operations. " +
|
|
1452
|
+
"This is the authoritative reference for exact parameter structures, types, and required fields. " +
|
|
1453
|
+
"Always check the schema before calling an unfamiliar tool.\n\n" +
|
|
1454
|
+
"Actions:\n" +
|
|
1455
|
+
" 'list' - Show all available schemas (tools + on-chain operations). Start here to discover what exists.\n" +
|
|
1456
|
+
" 'get' - Fetch the full JSON Schema by name (e.g. 'onchain_operations'). Use with the 'name' param.\n" +
|
|
1457
|
+
" 'search' - Find schemas by keyword, matching name/title/description. Use with the 'query' param.\n" +
|
|
1458
|
+
" 'list_operations' - Show only on-chain operation schemas (prefixed 'onchain_operations_'). Narrower than 'list'.",
|
|
1452
1459
|
inputSchema: z.object({
|
|
1453
1460
|
action: z.enum(["list", "get", "search", "list_operations"])
|
|
1454
1461
|
.describe("Action to perform: 'list' to see all available schemas, 'get' to retrieve a specific schema, 'search' to find schemas by keyword, 'list_operations' to list all on-chain operations"),
|
|
@@ -1476,9 +1483,23 @@ async function main() {
|
|
|
1476
1483
|
if (response.success && data) {
|
|
1477
1484
|
switch (args.action) {
|
|
1478
1485
|
case "list":
|
|
1486
|
+
if (Array.isArray(data) && data.length > 0) {
|
|
1487
|
+
textContent += "\n\nAll available schemas:\n";
|
|
1488
|
+
for (const item of data) {
|
|
1489
|
+
textContent += `\n • ${item.name}`;
|
|
1490
|
+
if (item.title) {
|
|
1491
|
+
textContent += ` - ${item.title}`;
|
|
1492
|
+
}
|
|
1493
|
+
if (item.description) {
|
|
1494
|
+
textContent += `\n ${item.description.slice(0, 100)}...`;
|
|
1495
|
+
}
|
|
1496
|
+
textContent += "\n";
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
break;
|
|
1479
1500
|
case "list_operations":
|
|
1480
1501
|
if (Array.isArray(data) && data.length > 0) {
|
|
1481
|
-
textContent += "\n\
|
|
1502
|
+
textContent += "\n\nOn-chain operation schemas:\n";
|
|
1482
1503
|
for (const item of data) {
|
|
1483
1504
|
textContent += `\n • ${item.name}`;
|
|
1484
1505
|
if (item.title) {
|
|
@@ -1507,9 +1528,15 @@ async function main() {
|
|
|
1507
1528
|
if (item.title) {
|
|
1508
1529
|
textContent += ` - ${item.title}`;
|
|
1509
1530
|
}
|
|
1531
|
+
if (item.description) {
|
|
1532
|
+
textContent += `\n ${item.description.slice(0, 100)}...`;
|
|
1533
|
+
}
|
|
1510
1534
|
textContent += "\n";
|
|
1511
1535
|
}
|
|
1512
1536
|
}
|
|
1537
|
+
else {
|
|
1538
|
+
textContent += "\n\nNo schemas found. Try 'list' to browse all available schemas, or use a broader search term.";
|
|
1539
|
+
}
|
|
1513
1540
|
break;
|
|
1514
1541
|
}
|
|
1515
1542
|
}
|
package/dist/schemas/index.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "WoWok MCP Schema Index",
|
|
4
4
|
"description": "Index of all available JSON schemas for WoWok MCP tools",
|
|
5
|
-
"generatedAt": "2026-05-
|
|
5
|
+
"generatedAt": "2026-05-22T02:20:38.513Z",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "onchain_operations",
|