@wowok/agent-mcp 2.3.16 → 2.4.1
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/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +4 -0
- package/dist/customer/industry-risks.js +45 -31
- package/dist/customer/order-monitor.js +57 -57
- package/dist/customer/order-strategy.js +89 -89
- package/dist/customer/post-purchase.js +97 -97
- package/dist/customer/reminder-system.js +26 -26
- package/dist/customer/risk-assessment.js +46 -46
- package/dist/customer/types.d.ts +4 -4
- package/dist/customer/types.js +4 -4
- package/dist/customer/user-preferences.d.ts +3 -0
- package/dist/customer/user-preferences.js +59 -50
- package/dist/experience/intent-distill.js +6 -6
- package/dist/experience/realtime-feedback.js +17 -0
- package/dist/index.js +360 -273
- package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
- package/dist/knowledge/acquisition-flywheel.js +73 -64
- package/dist/knowledge/arbitration-trust.js +10 -10
- package/dist/knowledge/demand-matching.js +8 -8
- package/dist/knowledge/dynamic-pricing.js +18 -18
- package/dist/knowledge/flywheel-loop.js +11 -11
- package/dist/knowledge/glossary.js +22 -22
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +246 -0
- package/dist/knowledge/guard-lint.d.ts +76 -0
- package/dist/knowledge/guard-lint.js +590 -0
- package/dist/knowledge/guard-puzzle.d.ts +188 -0
- package/dist/knowledge/guard-puzzle.js +804 -0
- package/dist/knowledge/guard-risk.d.ts +67 -0
- package/dist/knowledge/guard-risk.js +1046 -0
- package/dist/knowledge/guard-templates.d.ts +37 -0
- package/dist/knowledge/guard-templates.js +329 -0
- package/dist/knowledge/guard-translation.d.ts +58 -0
- package/dist/knowledge/guard-translation.js +1118 -0
- package/dist/knowledge/index.d.ts +17 -0
- package/dist/knowledge/index.js +17 -0
- package/dist/knowledge/industry-evolution.js +29 -29
- package/dist/knowledge/industry-generalizer.js +52 -52
- package/dist/knowledge/industry-registry.d.ts +1 -2
- package/dist/knowledge/industry-registry.js +43 -36
- package/dist/knowledge/intent-metrics.js +67 -67
- package/dist/knowledge/process-model.js +80 -80
- package/dist/knowledge/reputation-rules.js +9 -9
- package/dist/knowledge/reward-templates.js +51 -51
- package/dist/knowledge/safety-rules.js +63 -2
- package/dist/knowledge/tool-constraints.js +17 -11
- package/dist/knowledge/trust-metrics.js +26 -26
- package/dist/safety/confirm-gate.d.ts +4 -2
- package/dist/safety/confirm-gate.js +48 -4
- package/dist/schema/call/allocation.d.ts +24 -14
- package/dist/schema/call/arbitration.d.ts +142 -132
- package/dist/schema/call/base.d.ts +901 -43
- package/dist/schema/call/base.js +77 -13
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +795 -27
- package/dist/schema/call/bridge.js +37 -0
- package/dist/schema/call/contact.d.ts +10 -0
- package/dist/schema/call/demand.d.ts +94 -84
- package/dist/schema/call/guard.d.ts +229 -46
- package/dist/schema/call/guard.js +50 -0
- package/dist/schema/call/handler.js +46 -14
- package/dist/schema/call/machine.d.ts +158 -138
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/payment.d.ts +10 -0
- package/dist/schema/call/permission.d.ts +314 -304
- package/dist/schema/call/personal.d.ts +10 -0
- package/dist/schema/call/progress.d.ts +10 -0
- package/dist/schema/call/proof.d.ts +20 -0
- package/dist/schema/call/repository.d.ts +32 -22
- package/dist/schema/call/reward.d.ts +10 -0
- package/dist/schema/call/semantic.d.ts +9 -2
- package/dist/schema/call/semantic.js +617 -25
- package/dist/schema/call/service.d.ts +20 -10
- package/dist/schema/call/treasury.d.ts +10 -0
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +9 -9
- package/dist/schema/local/index.js +9 -0
- package/dist/schema/local/wip.d.ts +39 -19
- package/dist/schema/local/wip.js +5 -5
- package/dist/schema/messenger/index.d.ts +376 -55
- package/dist/schema/messenger/index.js +19 -19
- package/dist/schema/operations.d.ts +1881 -681
- package/dist/schema/operations.js +91 -96
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +1074 -168
- package/dist/schema/query/index.js +8 -8
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schema/utils/guard-parser.js +4 -4
- package/dist/schema/utils/node-parser.js +14 -14
- package/dist/schemas/bridge_operation.output.json +233 -9
- package/dist/schemas/bridge_operation.schema.json +67 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +8 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/machineNode2file.schema.json +8 -0
- package/dist/schemas/messenger_operation.output.json +236 -10
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +286 -11
- package/dist/schemas/onchain_operations.schema.json +19 -16
- package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
- package/dist/schemas/onchain_operations_contact.schema.json +8 -0
- package/dist/schemas/onchain_operations_demand.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
- package/dist/schemas/onchain_operations_guard.schema.json +11 -16
- package/dist/schemas/onchain_operations_machine.schema.json +8 -0
- package/dist/schemas/onchain_operations_order.schema.json +8 -0
- package/dist/schemas/onchain_operations_payment.schema.json +8 -0
- package/dist/schemas/onchain_operations_permission.schema.json +8 -0
- package/dist/schemas/onchain_operations_personal.schema.json +8 -0
- package/dist/schemas/onchain_operations_progress.schema.json +8 -0
- package/dist/schemas/onchain_operations_repository.schema.json +8 -0
- package/dist/schemas/onchain_operations_reward.schema.json +8 -0
- package/dist/schemas/onchain_operations_service.schema.json +8 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
- package/dist/schemas/onchain_table_data.output.json +718 -0
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/dist/schemas/wip_file.output.json +24 -1
- package/package.json +2 -2
|
@@ -36,6 +36,16 @@
|
|
|
36
36
|
"type": "string",
|
|
37
37
|
"pattern": "^0x[0-9a-fA-F]{40}$",
|
|
38
38
|
"description": "Final withdrawal EVM address; if omitted, assets remain in activeEvmAccount. When provided, the SDK uses the activeEvmAccount key to transfer to this address."
|
|
39
|
+
},
|
|
40
|
+
"idempotencyKey": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"minLength": 1,
|
|
43
|
+
"maxLength": 128,
|
|
44
|
+
"description": "Idempotency key to prevent duplicate deposits on retry. If a successful transfer with this key exists, returns it immediately (idempotentHit=true)."
|
|
45
|
+
},
|
|
46
|
+
"idempotentByParams": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"description": "If true, auto-generates an idempotency key from token+amount+withdrawTo. Use when you want implicit idempotency without managing explicit keys."
|
|
39
49
|
}
|
|
40
50
|
},
|
|
41
51
|
"required": [
|
|
@@ -91,6 +101,14 @@
|
|
|
91
101
|
"project": {
|
|
92
102
|
"type": "string",
|
|
93
103
|
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
104
|
+
},
|
|
105
|
+
"client_schema_version": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
108
|
+
},
|
|
109
|
+
"schema_strict_mode": {
|
|
110
|
+
"type": "boolean",
|
|
111
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
94
112
|
}
|
|
95
113
|
},
|
|
96
114
|
"additionalProperties": false,
|
|
@@ -132,6 +150,14 @@
|
|
|
132
150
|
"recipientWowAddress": {
|
|
133
151
|
"type": "string",
|
|
134
152
|
"description": "WOW recipient address or account name; defaults to env.account if omitted"
|
|
153
|
+
},
|
|
154
|
+
"idempotencyKey": {
|
|
155
|
+
"$ref": "#/definitions/bridge_operation/anyOf/0/properties/data/properties/idempotencyKey",
|
|
156
|
+
"description": "Idempotency key to prevent duplicate deposits on retry. If a successful transfer with this key exists, returns it immediately (idempotentHit=true)."
|
|
157
|
+
},
|
|
158
|
+
"idempotentByParams": {
|
|
159
|
+
"type": "boolean",
|
|
160
|
+
"description": "If true, auto-generates an idempotency key from token+amount+recipientWowAddress. Use when you want implicit idempotency without managing explicit keys."
|
|
135
161
|
}
|
|
136
162
|
},
|
|
137
163
|
"required": [
|
|
@@ -186,6 +212,39 @@
|
|
|
186
212
|
"additionalProperties": false,
|
|
187
213
|
"description": "WOW→EVM claim (step 2): claim assets on EVM after bridge signed. Requires activeEvmAccount to have EVM gas. [Requires WOW mainnet env]"
|
|
188
214
|
},
|
|
215
|
+
{
|
|
216
|
+
"type": "object",
|
|
217
|
+
"properties": {
|
|
218
|
+
"operation_type": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"const": "resume_transfer"
|
|
221
|
+
},
|
|
222
|
+
"data": {
|
|
223
|
+
"type": "object",
|
|
224
|
+
"properties": {
|
|
225
|
+
"transferId": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"description": "Transfer ID to resume (br_<timestamp>_<counter>)"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"required": [
|
|
231
|
+
"transferId"
|
|
232
|
+
],
|
|
233
|
+
"additionalProperties": false,
|
|
234
|
+
"description": "Resume an interrupted transfer from its current step. Use this when a transfer was interrupted (e.g. MCP restart, network error) and you want to continue from where it left off. The SDK determines the current step and attempts to advance it: - If deposit step failed: retries the deposit - If deposit is pending/confirmed: waits for bridge signatures and proceeds to claim - If claim step is ready: executes the claim - If transfer is already complete: returns the existing record (idempotentHit=true) [Returns] The updated transfer record after attempting to advance it. [Requires env] WOW env is needed for WOW-side operations; EVM-side operations use activeEvmAccount."
|
|
235
|
+
},
|
|
236
|
+
"env": {
|
|
237
|
+
"$ref": "#/definitions/bridge_operation/anyOf/0/properties/env",
|
|
238
|
+
"description": "IMPORTANT: Execution environment includes: account for signing operations, network selection ([object Object]), additional Guard permissions, and more. Used to specify context information during the call. If account is not specified, the default account (\"\") will be used."
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"required": [
|
|
242
|
+
"operation_type",
|
|
243
|
+
"data"
|
|
244
|
+
],
|
|
245
|
+
"additionalProperties": false,
|
|
246
|
+
"description": "Resume an interrupted transfer from its current step. Safe to retry. [Requires WOW mainnet env for WOW-side operations]"
|
|
247
|
+
},
|
|
189
248
|
{
|
|
190
249
|
"type": "object",
|
|
191
250
|
"properties": {
|
|
@@ -255,7 +314,7 @@
|
|
|
255
314
|
"type": "object",
|
|
256
315
|
"properties": {
|
|
257
316
|
"network": {
|
|
258
|
-
"$ref": "#/definitions/bridge_operation/anyOf/
|
|
317
|
+
"$ref": "#/definitions/bridge_operation/anyOf/4/properties/data/properties/network",
|
|
259
318
|
"description": "Specific chain; if omitted, queries all supported chains"
|
|
260
319
|
},
|
|
261
320
|
"tokens": {
|
|
@@ -301,7 +360,7 @@
|
|
|
301
360
|
"type": "object",
|
|
302
361
|
"properties": {
|
|
303
362
|
"network": {
|
|
304
|
-
"$ref": "#/definitions/bridge_operation/anyOf/
|
|
363
|
+
"$ref": "#/definitions/bridge_operation/anyOf/4/properties/data/properties/network",
|
|
305
364
|
"description": "Specific chain; if omitted, returns token lists for all supported chains"
|
|
306
365
|
}
|
|
307
366
|
},
|
|
@@ -349,7 +408,7 @@
|
|
|
349
408
|
"description": "Filter by transfer direction"
|
|
350
409
|
},
|
|
351
410
|
"token": {
|
|
352
|
-
"$ref": "#/definitions/bridge_operation/anyOf/
|
|
411
|
+
"$ref": "#/definitions/bridge_operation/anyOf/4/properties/data/properties/token",
|
|
353
412
|
"description": "Filter by token type (ETH/WETH/WBTC/USDC/USDT)"
|
|
354
413
|
},
|
|
355
414
|
"limit": {
|
|
@@ -421,7 +480,7 @@
|
|
|
421
480
|
"description": "List all configured RPC endpoints with health status"
|
|
422
481
|
},
|
|
423
482
|
"network": {
|
|
424
|
-
"$ref": "#/definitions/bridge_operation/anyOf/
|
|
483
|
+
"$ref": "#/definitions/bridge_operation/anyOf/4/properties/data/properties/network",
|
|
425
484
|
"description": "Target chain (defaults to Ethereum mainnet)"
|
|
426
485
|
}
|
|
427
486
|
},
|
|
@@ -440,7 +499,7 @@
|
|
|
440
499
|
"description": "Append one or more RPC endpoints"
|
|
441
500
|
},
|
|
442
501
|
"network": {
|
|
443
|
-
"$ref": "#/definitions/bridge_operation/anyOf/
|
|
502
|
+
"$ref": "#/definitions/bridge_operation/anyOf/4/properties/data/properties/network",
|
|
444
503
|
"description": "Target chain (defaults to Ethereum mainnet)"
|
|
445
504
|
},
|
|
446
505
|
"rpcUrls": {
|
|
@@ -469,7 +528,7 @@
|
|
|
469
528
|
"description": "Remove one or more RPC endpoints"
|
|
470
529
|
},
|
|
471
530
|
"network": {
|
|
472
|
-
"$ref": "#/definitions/bridge_operation/anyOf/
|
|
531
|
+
"$ref": "#/definitions/bridge_operation/anyOf/4/properties/data/properties/network",
|
|
473
532
|
"description": "Target chain (defaults to Ethereum mainnet)"
|
|
474
533
|
},
|
|
475
534
|
"rpcUrls": {
|
|
@@ -498,7 +557,7 @@
|
|
|
498
557
|
"description": "Full replace all RPC endpoints"
|
|
499
558
|
},
|
|
500
559
|
"network": {
|
|
501
|
-
"$ref": "#/definitions/bridge_operation/anyOf/
|
|
560
|
+
"$ref": "#/definitions/bridge_operation/anyOf/4/properties/data/properties/network",
|
|
502
561
|
"description": "Target chain (defaults to Ethereum mainnet)"
|
|
503
562
|
},
|
|
504
563
|
"rpcUrls": {
|
|
@@ -527,7 +586,7 @@
|
|
|
527
586
|
"description": "Health check one or more RPC endpoints"
|
|
528
587
|
},
|
|
529
588
|
"network": {
|
|
530
|
-
"$ref": "#/definitions/bridge_operation/anyOf/
|
|
589
|
+
"$ref": "#/definitions/bridge_operation/anyOf/4/properties/data/properties/network",
|
|
531
590
|
"description": "Target chain (defaults to Ethereum mainnet)"
|
|
532
591
|
},
|
|
533
592
|
"rpcUrls": {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://wowok.net/schemas/config_operation.json",
|
|
4
|
+
"title": "Config - Runtime Service Toggles",
|
|
5
|
+
"description": "Runtime configuration — toggle Phase 2/3/4 services on/off at runtime WITHOUT restarting the MCP server. Actions: list, toggle, enable, disable, reset, info. Services (9 total): confirm_gate, project_service, harness, graph_persist, semantic_rich, experience_layer, customer_intelligence, order_monitor, industry_evolution.",
|
|
6
|
+
"$ref": "#/definitions/config_operation",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"config_operation": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"result": {
|
|
12
|
+
"description": "Config result — shape depends on action"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": false
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://wowok.net/schemas/config_operation.json",
|
|
4
|
+
"title": "Config - Runtime Service Toggles",
|
|
5
|
+
"description": "Runtime configuration — toggle Phase 2/3/4 services on/off at runtime WITHOUT restarting the MCP server. Actions: list, toggle, enable, disable, reset, info. Services (9 total): confirm_gate, project_service, harness, graph_persist, semantic_rich, experience_layer, customer_intelligence, order_monitor, industry_evolution.",
|
|
6
|
+
"$ref": "#/definitions/config_operation",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"config_operation": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"action": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"list",
|
|
15
|
+
"toggle",
|
|
16
|
+
"enable",
|
|
17
|
+
"disable",
|
|
18
|
+
"reset",
|
|
19
|
+
"info"
|
|
20
|
+
],
|
|
21
|
+
"description": "Config action to perform"
|
|
22
|
+
},
|
|
23
|
+
"service": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Service name (required for toggle/enable/disable/reset/info)"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"action"
|
|
30
|
+
],
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -40,12 +40,18 @@
|
|
|
40
40
|
{ "$ref": "#/definitions/ConvertSafeU64Node" },
|
|
41
41
|
{ "$ref": "#/definitions/ConvertSafeU128Node" },
|
|
42
42
|
{ "$ref": "#/definitions/ConvertSafeU256Node" },
|
|
43
|
+
{ "$ref": "#/definitions/ValueTypeNode" },
|
|
43
44
|
{ "$ref": "#/definitions/VecLengthNode" },
|
|
44
45
|
{ "$ref": "#/definitions/VecContainsBoolNode" },
|
|
45
46
|
{ "$ref": "#/definitions/VecContainsAddressNode" },
|
|
46
47
|
{ "$ref": "#/definitions/VecContainsStringNode" },
|
|
47
48
|
{ "$ref": "#/definitions/VecContainsStringNocaseNode" },
|
|
48
49
|
{ "$ref": "#/definitions/VecContainsNumberNode" },
|
|
50
|
+
{ "$ref": "#/definitions/VecIndexofBoolNode" },
|
|
51
|
+
{ "$ref": "#/definitions/VecIndexofAddressNode" },
|
|
52
|
+
{ "$ref": "#/definitions/VecIndexofStringNode" },
|
|
53
|
+
{ "$ref": "#/definitions/VecIndexofStringNocaseNode" },
|
|
54
|
+
{ "$ref": "#/definitions/VecIndexofNumberNode" },
|
|
49
55
|
{ "$ref": "#/definitions/QueryProgressHistoryFindNode" },
|
|
50
56
|
{ "$ref": "#/definitions/QueryProgressHistorySessionFindNode" },
|
|
51
57
|
{ "$ref": "#/definitions/QueryProgressHistorySessionForwardFindNode" },
|
|
@@ -554,6 +560,17 @@
|
|
|
554
560
|
"returns": "U256",
|
|
555
561
|
"description": "Returns U256. Safely converts a number to U256 with overflow protection."
|
|
556
562
|
},
|
|
563
|
+
"ValueTypeNode": {
|
|
564
|
+
"type": "object",
|
|
565
|
+
"properties": {
|
|
566
|
+
"type": { "const": "value_type" },
|
|
567
|
+
"node": { "$ref": "#/definitions/GuardNodeRef" }
|
|
568
|
+
},
|
|
569
|
+
"required": ["type", "node"],
|
|
570
|
+
"additionalProperties": false,
|
|
571
|
+
"returns": "U8",
|
|
572
|
+
"description": "Returns U8. Gets the value type identifier (ValueType) of the child node value. Value types: Bool=0, Address=1, String=2, U8=3, U16=4, U32=5, U64=6, U128=7, U256=8, VecBool=9, VecAddress=10, VecString=11, VecU8=12, VecU16=13, VecU32=14, VecU64=15, VecU128=16, VecU256=17, VecVecU8=18, Value=19."
|
|
573
|
+
},
|
|
557
574
|
"VecLengthNode": {
|
|
558
575
|
"type": "object",
|
|
559
576
|
"properties": {
|
|
@@ -620,6 +637,71 @@
|
|
|
620
637
|
"returns": "Bool",
|
|
621
638
|
"description": "Returns Bool. Checks if vector contains a number."
|
|
622
639
|
},
|
|
640
|
+
"VecIndexofBoolNode": {
|
|
641
|
+
"type": "object",
|
|
642
|
+
"properties": {
|
|
643
|
+
"type": { "const": "vec_indexof_bool" },
|
|
644
|
+
"nodeLeft": { "$ref": "#/definitions/GuardNodeRef" },
|
|
645
|
+
"nodeRight": { "$ref": "#/definitions/GuardNodeRef" },
|
|
646
|
+
"order": { "type": "string", "enum": ["forward", "backward"] }
|
|
647
|
+
},
|
|
648
|
+
"required": ["type", "nodeLeft", "nodeRight", "order"],
|
|
649
|
+
"additionalProperties": false,
|
|
650
|
+
"returns": "U64",
|
|
651
|
+
"description": "Returns U64. Finds the index of a bool value in a vector. nodeLeft must be VecBool (ValueType=9) or Value (ValueType=19), nodeRight must be Bool (ValueType=0) or Value (ValueType=19). Returns index of first occurrence in the specified direction. If not found, returns u64::MAX (18446744073709551615)."
|
|
652
|
+
},
|
|
653
|
+
"VecIndexofAddressNode": {
|
|
654
|
+
"type": "object",
|
|
655
|
+
"properties": {
|
|
656
|
+
"type": { "const": "vec_indexof_address" },
|
|
657
|
+
"nodeLeft": { "$ref": "#/definitions/GuardNodeRef" },
|
|
658
|
+
"nodeRight": { "$ref": "#/definitions/GuardNodeRef" },
|
|
659
|
+
"order": { "type": "string", "enum": ["forward", "backward"] }
|
|
660
|
+
},
|
|
661
|
+
"required": ["type", "nodeLeft", "nodeRight", "order"],
|
|
662
|
+
"additionalProperties": false,
|
|
663
|
+
"returns": "U64",
|
|
664
|
+
"description": "Returns U64. Finds the index of an address value in a vector. nodeLeft must be VecAddress (ValueType=10) or Value (ValueType=19), nodeRight must be Address (ValueType=1) or Value (ValueType=19). Returns index of first occurrence in the specified direction. If not found, returns u64::MAX (18446744073709551615)."
|
|
665
|
+
},
|
|
666
|
+
"VecIndexofStringNode": {
|
|
667
|
+
"type": "object",
|
|
668
|
+
"properties": {
|
|
669
|
+
"type": { "const": "vec_indexof_string" },
|
|
670
|
+
"nodeLeft": { "$ref": "#/definitions/GuardNodeRef" },
|
|
671
|
+
"nodeRight": { "$ref": "#/definitions/GuardNodeRef" },
|
|
672
|
+
"order": { "type": "string", "enum": ["forward", "backward"] }
|
|
673
|
+
},
|
|
674
|
+
"required": ["type", "nodeLeft", "nodeRight", "order"],
|
|
675
|
+
"additionalProperties": false,
|
|
676
|
+
"returns": "U64",
|
|
677
|
+
"description": "Returns U64. Finds the index of a string value in a vector. nodeLeft must be VecString (ValueType=11) or Value (ValueType=19), nodeRight must be String (ValueType=2) or Value (ValueType=19). Returns index of first occurrence in the specified direction. If not found, returns u64::MAX (18446744073709551615)."
|
|
678
|
+
},
|
|
679
|
+
"VecIndexofStringNocaseNode": {
|
|
680
|
+
"type": "object",
|
|
681
|
+
"properties": {
|
|
682
|
+
"type": { "const": "vec_indexof_string_nocase" },
|
|
683
|
+
"nodeLeft": { "$ref": "#/definitions/GuardNodeRef" },
|
|
684
|
+
"nodeRight": { "$ref": "#/definitions/GuardNodeRef" },
|
|
685
|
+
"order": { "type": "string", "enum": ["forward", "backward"] }
|
|
686
|
+
},
|
|
687
|
+
"required": ["type", "nodeLeft", "nodeRight", "order"],
|
|
688
|
+
"additionalProperties": false,
|
|
689
|
+
"returns": "U64",
|
|
690
|
+
"description": "Returns U64. Finds the index of a string value in a vector (case-insensitive). nodeLeft must be VecString (ValueType=11) or Value (ValueType=19), nodeRight must be String (ValueType=2) or Value (ValueType=19). Returns index of first occurrence in the specified direction. If not found, returns u64::MAX (18446744073709551615)."
|
|
691
|
+
},
|
|
692
|
+
"VecIndexofNumberNode": {
|
|
693
|
+
"type": "object",
|
|
694
|
+
"properties": {
|
|
695
|
+
"type": { "const": "vec_indexof_number" },
|
|
696
|
+
"nodeLeft": { "$ref": "#/definitions/GuardNodeRef" },
|
|
697
|
+
"nodeRight": { "$ref": "#/definitions/GuardNodeRef" },
|
|
698
|
+
"order": { "type": "string", "enum": ["forward", "backward"] }
|
|
699
|
+
},
|
|
700
|
+
"required": ["type", "nodeLeft", "nodeRight", "order"],
|
|
701
|
+
"additionalProperties": false,
|
|
702
|
+
"returns": "U64",
|
|
703
|
+
"description": "Returns U64. Finds the index of a number value in a vector. nodeLeft must be VecU8 (12), VecU16 (13), VecU32 (14), VecU64 (15), VecU128 (16), VecU256 (17) or Value (ValueType=19), nodeRight must be U8 (3), U16 (4), U32 (5), U64 (6), U128 (7), U256 (8) or Value (ValueType=19). Returns index of first occurrence in the specified direction. If not found, returns u64::MAX (18446744073709551615)."
|
|
704
|
+
},
|
|
623
705
|
"QueryProgressHistoryFindNode": {
|
|
624
706
|
"type": "object",
|
|
625
707
|
"properties": {
|
|
@@ -70,6 +70,14 @@
|
|
|
70
70
|
"project": {
|
|
71
71
|
"type": "string",
|
|
72
72
|
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
73
|
+
},
|
|
74
|
+
"client_schema_version": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
77
|
+
},
|
|
78
|
+
"schema_strict_mode": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
73
81
|
}
|
|
74
82
|
},
|
|
75
83
|
"additionalProperties": false,
|
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-07-
|
|
5
|
+
"generatedAt": "2026-07-17T00:22:14.123Z",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "onchain_operations",
|
|
@@ -87,6 +87,24 @@
|
|
|
87
87
|
"title": "Bridge - Cross-Chain Operations",
|
|
88
88
|
"path": "./bridge_operation.schema.json",
|
|
89
89
|
"outputPath": "./bridge_operation.output.json"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "project_operation",
|
|
93
|
+
"title": "Project - Namespace & Object Graph",
|
|
94
|
+
"path": "./project_operation.schema.json",
|
|
95
|
+
"outputPath": "./project_operation.output.json"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "config_operation",
|
|
99
|
+
"title": "Config - Runtime Service Toggles",
|
|
100
|
+
"path": "./config_operation.schema.json",
|
|
101
|
+
"outputPath": "./config_operation.output.json"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "trust_score",
|
|
105
|
+
"title": "Trust Score - Service Risk & Trust Assessment",
|
|
106
|
+
"path": "./trust_score.schema.json",
|
|
107
|
+
"outputPath": "./trust_score.output.json"
|
|
90
108
|
}
|
|
91
109
|
],
|
|
92
110
|
"operations": [
|
|
@@ -70,6 +70,14 @@
|
|
|
70
70
|
"project": {
|
|
71
71
|
"type": "string",
|
|
72
72
|
"description": "Phase 2 ProjectService: explicit project prefix to assign this object to (e.g. 'myshop'). When set, the object is tagged with 'project:<prefix>' automatically. Overrides the prefix parsed from the object name."
|
|
73
|
+
},
|
|
74
|
+
"client_schema_version": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "Client-side schema version (semver, e.g. '1.0.0'). When provided, the server checks compatibility and attaches warnings if mismatched."
|
|
77
|
+
},
|
|
78
|
+
"schema_strict_mode": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
73
81
|
}
|
|
74
82
|
},
|
|
75
83
|
"additionalProperties": false,
|