@wowok/agent-mcp 2.3.1 → 2.3.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.
@@ -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-06-07T14:21:20.621Z",
5
+ "generatedAt": "2026-06-11T01:04:09.620Z",
6
6
  "tools": [
7
7
  {
8
8
  "name": "onchain_operations",
@@ -54,44 +54,42 @@
54
54
  "maximum": 255,
55
55
  "description": "Identifier index (0-255) for referencing this value in Guard nodes"
56
56
  },
57
- "bWitness": {
57
+ "b_submission": {
58
58
  "type": "boolean",
59
- "description": "Whether this is a witness parameter (provided at runtime)"
59
+ "description": "Whether user submission is required for this data"
60
60
  },
61
61
  "value_type": {
62
62
  "type": "string",
63
63
  "description": "Value type: Bool, Address, String, U8, U16, U32, U64, U128, U256, VecBool, VecAddress, VecString, VecU8, VecU16, VecU32, VecU64, VecU128, VecU256, VecVecU8"
64
64
  },
65
65
  "value": {
66
- "description": "The actual value (omit if bWitness is true)"
66
+ "description": "The actual value (omit if b_submission is true)"
67
+ },
68
+ "name": {
69
+ "type": "string",
70
+ "description": "Name or description of this data"
67
71
  }
68
72
  },
69
73
  "required": [
70
74
  "identifier",
71
- "bWitness",
75
+ "b_submission",
72
76
  "value_type"
73
77
  ]
74
78
  }
75
79
  },
76
80
  "root": {
77
- "description": "Root definition: either a direct node tree (type='node') or a file reference (type='file'). When type='file', the file can define all Guard fields (namedNew, description, table, root, rely), and schema fields override file content.",
81
+ "description": "Root definition: either a direct node tree (type='node') or a file reference (type='file'). When type='file', the file can define all Guard fields (namedNew, description, table, root, rely), and schema fields override file content. For the node structure, see guard-node-schema.json for complete GuardNode definitions.",
78
82
  "oneOf": [
79
83
  {
80
84
  "type": "object",
81
- "description": "Direct node tree",
85
+ "description": "Direct node tree - the node MUST be a logical operation returning Bool (e.g., logic_and, logic_or, logic_equal, query_reward_record_exists, etc.)",
82
86
  "properties": {
83
87
  "type": {
84
88
  "const": "node"
85
89
  },
86
90
  "node": {
87
- "type": "object",
88
- "description": "Guard computational tree root node. MUST return a Bool value (pass/fail). See GuardNode documentation for details.",
89
- "properties": {
90
- "type": {
91
- "type": "string"
92
- }
93
- },
94
- "additionalProperties": true
91
+ "$ref": "guard-node-schema.json",
92
+ "description": "Guard computational tree root node. MUST return a Bool value (pass/fail). See guard-node-schema.json for complete node type definitions including: identifier, query, logic_*, calc_*, convert_*, vec_*, query_reward_record_*, query_progress_history_*, etc."
95
93
  }
96
94
  },
97
95
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wowok/agent-mcp",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,7 +13,6 @@
13
13
  "homepage": "https://wowok.net",
14
14
  "files": [
15
15
  "dist",
16
- "docs",
17
16
  "LICENSE",
18
17
  "README.md"
19
18
  ],
@@ -37,7 +36,7 @@
37
36
  "license": "Apache-2.0",
38
37
  "dependencies": {
39
38
  "@modelcontextprotocol/sdk": "^1.29.0",
40
- "@wowok/wowok": "2.3.1",
39
+ "@wowok/wowok": "2.3.2",
41
40
  "lodash": "^4.18.1",
42
41
  "zod": "^3.25.76"
43
42
  },
@@ -49,7 +48,7 @@
49
48
  },
50
49
  "scripts": {
51
50
  "clean": "rm -rf dist",
52
- "build": "tsc",
51
+ "build": "tsc && pnpm generate:schemas",
53
52
  "watch": "tsc --watch",
54
53
  "start": "tsx src/index.ts",
55
54
  "generate:schemas": "tsx scripts/generate-json-schemas.ts"