@wowok/agent-mcp 2.3.12 → 2.3.14
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/harness/checkpoint.d.ts +8 -0
- package/dist/harness/checkpoint.js +129 -0
- package/dist/harness/index.d.ts +33 -0
- package/dist/harness/index.js +75 -0
- package/dist/harness/plan.d.ts +18 -0
- package/dist/harness/plan.js +252 -0
- package/dist/harness/recover.d.ts +17 -0
- package/dist/harness/recover.js +139 -0
- package/dist/harness/types.d.ts +137 -0
- package/dist/harness/types.js +1 -0
- package/dist/harness/verify.d.ts +42 -0
- package/dist/harness/verify.js +237 -0
- package/dist/index.js +134 -52
- package/dist/loop-engineering/aggregate.d.ts +50 -0
- package/dist/loop-engineering/aggregate.js +132 -0
- package/dist/loop-engineering/diagnose.d.ts +21 -0
- package/dist/loop-engineering/diagnose.js +179 -0
- package/dist/loop-engineering/improve.d.ts +26 -0
- package/dist/loop-engineering/improve.js +178 -0
- package/dist/loop-engineering/index.d.ts +4 -0
- package/dist/loop-engineering/index.js +4 -0
- package/dist/loop-engineering/pipeline.d.ts +17 -0
- package/dist/loop-engineering/pipeline.js +56 -0
- package/dist/mode-market/index.d.ts +3 -0
- package/dist/mode-market/index.js +3 -0
- package/dist/mode-market/registry.d.ts +53 -0
- package/dist/mode-market/registry.js +124 -0
- package/dist/mode-market/review.d.ts +27 -0
- package/dist/mode-market/review.js +214 -0
- package/dist/mode-market/submission.d.ts +25 -0
- package/dist/mode-market/submission.js +85 -0
- package/dist/schema/call/allocation.d.ts +40 -40
- package/dist/schema/call/arbitration.d.ts +90 -90
- package/dist/schema/call/base.d.ts +1054 -0
- package/dist/schema/call/base.js +100 -22
- package/dist/schema/call/bridge-handler.js +36 -18
- package/dist/schema/call/bridge.d.ts +115 -115
- package/dist/schema/call/handler.d.ts +2 -1
- package/dist/schema/call/handler.js +94 -3
- package/dist/schema/call/index.d.ts +1 -0
- package/dist/schema/call/index.js +1 -0
- package/dist/schema/call/machine.d.ts +144 -144
- package/dist/schema/call/order.d.ts +12 -12
- package/dist/schema/call/progress.d.ts +6 -6
- package/dist/schema/call/proof.js +7 -6
- package/dist/schema/call/reward.d.ts +6 -6
- package/dist/schema/call/semantic.d.ts +23 -0
- package/dist/schema/call/semantic.js +764 -0
- package/dist/schema/call/service.d.ts +142 -142
- package/dist/schema/call/treasury.d.ts +204 -204
- package/dist/schema/local/index.d.ts +113 -2
- package/dist/schema/local/index.js +11 -1
- package/dist/schema/messenger/index.d.ts +435 -95
- package/dist/schema/messenger/index.js +20 -8
- package/dist/schema/operations.d.ts +988 -495
- package/dist/schema/operations.js +14 -3
- package/dist/schema/query/index.d.ts +346 -342
- package/dist/schema/query/index.js +4 -1
- package/dist/schemas/account_operation.output.json +3 -0
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/local_info_operation.output.json +3 -0
- package/dist/schemas/local_mark_operation.output.json +3 -0
- package/dist/schemas/messenger_operation.output.json +21 -0
- package/dist/schemas/messenger_operation.schema.json +43 -8
- package/dist/schemas/onchain_events.output.json +3 -0
- package/dist/schemas/onchain_operations.output.json +464 -21
- package/dist/schemas/onchain_operations.schema.json +21 -17
- package/dist/schemas/onchain_operations_allocation.schema.json +11 -9
- package/dist/schemas/onchain_operations_arbitration.schema.json +11 -9
- package/dist/schemas/onchain_operations_contact.schema.json +11 -9
- package/dist/schemas/onchain_operations_demand.schema.json +11 -9
- package/dist/schemas/onchain_operations_gen_passport.schema.json +21 -17
- package/dist/schemas/onchain_operations_guard.schema.json +11 -9
- package/dist/schemas/onchain_operations_machine.schema.json +11 -9
- package/dist/schemas/onchain_operations_order.schema.json +11 -9
- package/dist/schemas/onchain_operations_payment.schema.json +11 -9
- package/dist/schemas/onchain_operations_permission.schema.json +11 -9
- package/dist/schemas/onchain_operations_personal.schema.json +11 -9
- package/dist/schemas/onchain_operations_progress.schema.json +11 -9
- package/dist/schemas/onchain_operations_repository.schema.json +11 -9
- package/dist/schemas/onchain_operations_reward.schema.json +11 -9
- package/dist/schemas/onchain_operations_service.schema.json +11 -9
- package/dist/schemas/onchain_operations_treasury.schema.json +11 -9
- package/dist/schemas/onchain_table_data.output.json +3 -0
- package/dist/schemas/query_toolkit.schema.json +5 -1
- package/dist/telemetry/index.d.ts +19 -0
- package/dist/telemetry/index.js +112 -0
- package/dist/telemetry/redact.d.ts +2 -0
- package/dist/telemetry/redact.js +23 -0
- package/dist/telemetry/storage.d.ts +8 -0
- package/dist/telemetry/storage.js +80 -0
- package/package.json +6 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { TokenTypeInfoSchema, QueryLocalMarkListResultSchema, QueryAccountListResultSchema, QueryLocalInfoListResultSchema, QueryLocalTokenListResultSchema, QueryAccountResultSchema } from "../local/index.js";
|
|
3
3
|
import { AccountOrMark_AddressSchema, BalanceTypeSchema, CacheExpireTypeSchema, EntrypointSchema, GuardIdentifierSchema, GuardTableItemSchema, NameOrAddressSchema, ObjectBaseSchema, ObjectTypeSchema, QueryIdSchema, SupportedValueSchema, ValueTypeSchema, QueryReceivedResultSchema, LongNameSchema, DescriptionSchema } from "../common/index.js";
|
|
4
|
+
const SemanticSummarySchema = z.any();
|
|
4
5
|
import { isValidPermissionIndex } from '../utils/permission-index-utils.js';
|
|
5
6
|
import { isValidGuardQueryId, isValidGuardQueryIdOrName } from '../utils/guard-query-utils.js';
|
|
6
7
|
import { ENTITY_LINKER_ADDRESS, ENTITY_REGISTRAR_ADDRESS, isWitnessType, } from "@wowok/wowok";
|
|
@@ -1034,6 +1035,7 @@ export const OnchainEventsInputSchema = z.object({
|
|
|
1034
1035
|
}).describe("Input parameters for querying on-chain WOWOK events");
|
|
1035
1036
|
export const OnchainEventsResultSchema = z.object({
|
|
1036
1037
|
result: z.union([EventAnswerSchema, z.null()]).describe("Event query result containing list of events and pagination info, or null if no data found"),
|
|
1038
|
+
semantic: SemanticSummarySchema.optional().describe("Business semantic summary for the event query"),
|
|
1037
1039
|
}).describe("Result of on-chain events query");
|
|
1038
1040
|
export const TableItem_RepositoryDataOrUndefinedSchema = z.union([TableItem_RepositoryDataSchema, z.null()]).describe("Repository data item or null");
|
|
1039
1041
|
export const TableItem_PermissionPermOrUndefinedSchema = z.union([TableItem_PermissionPermSchema, z.null()]).describe("Permission permission item or null");
|
|
@@ -1337,5 +1339,6 @@ export const AllQueryResultsSchema = z.union([
|
|
|
1337
1339
|
OnchainQueryResultSchema_Part2,
|
|
1338
1340
|
]);
|
|
1339
1341
|
export const WatchQueryOperationsResultSchema = z.object({
|
|
1340
|
-
result: AllQueryResultsSchema
|
|
1342
|
+
result: AllQueryResultsSchema,
|
|
1343
|
+
semantic: SemanticSummarySchema.optional().describe("Business semantic summary for the query operation"),
|
|
1341
1344
|
}).describe("Watch query operations result schema");
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
}
|
|
251
251
|
},
|
|
252
252
|
"additionalProperties": false,
|
|
253
|
-
"description": "Account operations"
|
|
253
|
+
"description": "Account operations. Parameters MUST be wrapped in the operation type property (e.g. {transfer: {...}}, NOT {amount: ...}). Unwrapped parameters are rejected."
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
}
|
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-14T07:50:49.195Z",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "onchain_operations",
|
|
@@ -1053,6 +1053,27 @@
|
|
|
1053
1053
|
"result"
|
|
1054
1054
|
],
|
|
1055
1055
|
"additionalProperties": false
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"type": "object",
|
|
1059
|
+
"properties": {
|
|
1060
|
+
"operation": {
|
|
1061
|
+
"type": "string",
|
|
1062
|
+
"const": "pull_messages"
|
|
1063
|
+
},
|
|
1064
|
+
"result": {
|
|
1065
|
+
"type": "array",
|
|
1066
|
+
"items": {
|
|
1067
|
+
"$ref": "#/definitions/messenger_operation/properties/result/anyOf/0/properties/result/items/properties/previewMessages/items"
|
|
1068
|
+
},
|
|
1069
|
+
"description": "List of messages pulled from server"
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
"required": [
|
|
1073
|
+
"operation",
|
|
1074
|
+
"result"
|
|
1075
|
+
],
|
|
1076
|
+
"additionalProperties": false
|
|
1056
1077
|
}
|
|
1057
1078
|
],
|
|
1058
1079
|
"description": "Messenger operation result discriminated union"
|
|
@@ -105,19 +105,19 @@
|
|
|
105
105
|
},
|
|
106
106
|
"content": {
|
|
107
107
|
"type": "string",
|
|
108
|
-
"maxLength":
|
|
109
|
-
"description": "Message content text"
|
|
108
|
+
"maxLength": 10240,
|
|
109
|
+
"description": "Message content text (max 10240 bytes)"
|
|
110
110
|
},
|
|
111
111
|
"options": {
|
|
112
112
|
"type": "object",
|
|
113
113
|
"properties": {
|
|
114
114
|
"guardAddress": {
|
|
115
115
|
"$ref": "#/definitions/messenger_operation/anyOf/1/properties/from",
|
|
116
|
-
"description": "Guard address"
|
|
116
|
+
"description": "Guard address. REQUIRED when sending Guard-verified messages"
|
|
117
117
|
},
|
|
118
118
|
"passportAddress": {
|
|
119
119
|
"$ref": "#/definitions/messenger_operation/anyOf/1/properties/from",
|
|
120
|
-
"description": "Passport address"
|
|
120
|
+
"description": "Passport address. REQUIRED when sending Guard-verified messages"
|
|
121
121
|
},
|
|
122
122
|
"force": {
|
|
123
123
|
"type": "boolean",
|
|
@@ -126,6 +126,15 @@
|
|
|
126
126
|
"new_messenger_name": {
|
|
127
127
|
"type": "string",
|
|
128
128
|
"description": "New messenger name for recipient"
|
|
129
|
+
},
|
|
130
|
+
"network": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"enum": [
|
|
133
|
+
"localnet",
|
|
134
|
+
"testnet",
|
|
135
|
+
"mainnet"
|
|
136
|
+
],
|
|
137
|
+
"description": "Target network for Guard verification (e.g., testnet, mainnet). REQUIRED when guardAddress and passportAddress are provided — Guard messages and regular messages are independent data systems on different networks"
|
|
129
138
|
}
|
|
130
139
|
},
|
|
131
140
|
"additionalProperties": false,
|
|
@@ -183,11 +192,11 @@
|
|
|
183
192
|
},
|
|
184
193
|
"guardAddress": {
|
|
185
194
|
"$ref": "#/definitions/messenger_operation/anyOf/1/properties/from",
|
|
186
|
-
"description": "Guard address"
|
|
195
|
+
"description": "Guard address. REQUIRED when sending Guard-verified files"
|
|
187
196
|
},
|
|
188
197
|
"passportAddress": {
|
|
189
198
|
"$ref": "#/definitions/messenger_operation/anyOf/1/properties/from",
|
|
190
|
-
"description": "Passport address"
|
|
199
|
+
"description": "Passport address. REQUIRED when sending Guard-verified files"
|
|
191
200
|
},
|
|
192
201
|
"force": {
|
|
193
202
|
"type": "boolean",
|
|
@@ -196,6 +205,10 @@
|
|
|
196
205
|
"new_messenger_name": {
|
|
197
206
|
"type": "string",
|
|
198
207
|
"description": "New messenger name for recipient"
|
|
208
|
+
},
|
|
209
|
+
"network": {
|
|
210
|
+
"$ref": "#/definitions/messenger_operation/anyOf/1/properties/options/properties/network",
|
|
211
|
+
"description": "Target network for Guard verification (e.g., testnet, mainnet). REQUIRED when guardAddress and passportAddress are provided — Guard messages and regular messages are independent data systems on different networks"
|
|
199
212
|
}
|
|
200
213
|
},
|
|
201
214
|
"additionalProperties": false,
|
|
@@ -895,12 +908,13 @@
|
|
|
895
908
|
"testnet",
|
|
896
909
|
"mainnet"
|
|
897
910
|
],
|
|
898
|
-
"description": "Network to use for on-chain proof"
|
|
911
|
+
"description": "Network to use for on-chain proof (required)"
|
|
899
912
|
}
|
|
900
913
|
},
|
|
901
914
|
"required": [
|
|
902
915
|
"operation",
|
|
903
|
-
"messageId"
|
|
916
|
+
"messageId",
|
|
917
|
+
"network"
|
|
904
918
|
],
|
|
905
919
|
"additionalProperties": false
|
|
906
920
|
},
|
|
@@ -1386,6 +1400,27 @@
|
|
|
1386
1400
|
"peerAddress"
|
|
1387
1401
|
],
|
|
1388
1402
|
"additionalProperties": false
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"type": "object",
|
|
1406
|
+
"properties": {
|
|
1407
|
+
"operation": {
|
|
1408
|
+
"type": "string",
|
|
1409
|
+
"const": "pull_messages"
|
|
1410
|
+
},
|
|
1411
|
+
"account": {
|
|
1412
|
+
"$ref": "#/definitions/messenger_operation/anyOf/1/properties/from",
|
|
1413
|
+
"description": "Account name or address. If not specified, uses default account"
|
|
1414
|
+
},
|
|
1415
|
+
"limit": {
|
|
1416
|
+
"type": "number",
|
|
1417
|
+
"description": "Maximum number of messages to pull from server"
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
"required": [
|
|
1421
|
+
"operation"
|
|
1422
|
+
],
|
|
1423
|
+
"additionalProperties": false
|
|
1389
1424
|
}
|
|
1390
1425
|
],
|
|
1391
1426
|
"description": "Messenger operation input schema"
|