@wowok/agent-mcp 2.3.13 → 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.
Files changed (92) hide show
  1. package/dist/harness/checkpoint.d.ts +8 -0
  2. package/dist/harness/checkpoint.js +129 -0
  3. package/dist/harness/index.d.ts +33 -0
  4. package/dist/harness/index.js +75 -0
  5. package/dist/harness/plan.d.ts +18 -0
  6. package/dist/harness/plan.js +252 -0
  7. package/dist/harness/recover.d.ts +17 -0
  8. package/dist/harness/recover.js +139 -0
  9. package/dist/harness/types.d.ts +137 -0
  10. package/dist/harness/types.js +1 -0
  11. package/dist/harness/verify.d.ts +42 -0
  12. package/dist/harness/verify.js +237 -0
  13. package/dist/index.js +134 -52
  14. package/dist/loop-engineering/aggregate.d.ts +50 -0
  15. package/dist/loop-engineering/aggregate.js +132 -0
  16. package/dist/loop-engineering/diagnose.d.ts +21 -0
  17. package/dist/loop-engineering/diagnose.js +179 -0
  18. package/dist/loop-engineering/improve.d.ts +26 -0
  19. package/dist/loop-engineering/improve.js +178 -0
  20. package/dist/loop-engineering/index.d.ts +4 -0
  21. package/dist/loop-engineering/index.js +4 -0
  22. package/dist/loop-engineering/pipeline.d.ts +17 -0
  23. package/dist/loop-engineering/pipeline.js +56 -0
  24. package/dist/mode-market/index.d.ts +3 -0
  25. package/dist/mode-market/index.js +3 -0
  26. package/dist/mode-market/registry.d.ts +53 -0
  27. package/dist/mode-market/registry.js +124 -0
  28. package/dist/mode-market/review.d.ts +27 -0
  29. package/dist/mode-market/review.js +214 -0
  30. package/dist/mode-market/submission.d.ts +25 -0
  31. package/dist/mode-market/submission.js +85 -0
  32. package/dist/schema/call/allocation.d.ts +40 -40
  33. package/dist/schema/call/arbitration.d.ts +90 -90
  34. package/dist/schema/call/base.d.ts +1054 -0
  35. package/dist/schema/call/base.js +100 -22
  36. package/dist/schema/call/bridge-handler.js +36 -18
  37. package/dist/schema/call/bridge.d.ts +115 -115
  38. package/dist/schema/call/handler.d.ts +2 -1
  39. package/dist/schema/call/handler.js +94 -3
  40. package/dist/schema/call/index.d.ts +1 -0
  41. package/dist/schema/call/index.js +1 -0
  42. package/dist/schema/call/machine.d.ts +144 -144
  43. package/dist/schema/call/order.d.ts +12 -12
  44. package/dist/schema/call/progress.d.ts +6 -6
  45. package/dist/schema/call/reward.d.ts +6 -6
  46. package/dist/schema/call/semantic.d.ts +23 -0
  47. package/dist/schema/call/semantic.js +764 -0
  48. package/dist/schema/call/service.d.ts +142 -142
  49. package/dist/schema/call/treasury.d.ts +204 -204
  50. package/dist/schema/local/index.d.ts +113 -2
  51. package/dist/schema/local/index.js +11 -1
  52. package/dist/schema/messenger/index.d.ts +416 -92
  53. package/dist/schema/messenger/index.js +9 -0
  54. package/dist/schema/operations.d.ts +988 -495
  55. package/dist/schema/operations.js +14 -3
  56. package/dist/schema/query/index.d.ts +346 -342
  57. package/dist/schema/query/index.js +4 -1
  58. package/dist/schemas/account_operation.output.json +3 -0
  59. package/dist/schemas/account_operation.schema.json +1 -1
  60. package/dist/schemas/index.json +1 -1
  61. package/dist/schemas/local_info_operation.output.json +3 -0
  62. package/dist/schemas/local_mark_operation.output.json +3 -0
  63. package/dist/schemas/messenger_operation.output.json +21 -0
  64. package/dist/schemas/messenger_operation.schema.json +21 -0
  65. package/dist/schemas/onchain_events.output.json +3 -0
  66. package/dist/schemas/onchain_operations.output.json +464 -21
  67. package/dist/schemas/onchain_operations.schema.json +21 -17
  68. package/dist/schemas/onchain_operations_allocation.schema.json +11 -9
  69. package/dist/schemas/onchain_operations_arbitration.schema.json +11 -9
  70. package/dist/schemas/onchain_operations_contact.schema.json +11 -9
  71. package/dist/schemas/onchain_operations_demand.schema.json +11 -9
  72. package/dist/schemas/onchain_operations_gen_passport.schema.json +21 -17
  73. package/dist/schemas/onchain_operations_guard.schema.json +11 -9
  74. package/dist/schemas/onchain_operations_machine.schema.json +11 -9
  75. package/dist/schemas/onchain_operations_order.schema.json +11 -9
  76. package/dist/schemas/onchain_operations_payment.schema.json +11 -9
  77. package/dist/schemas/onchain_operations_permission.schema.json +11 -9
  78. package/dist/schemas/onchain_operations_personal.schema.json +11 -9
  79. package/dist/schemas/onchain_operations_progress.schema.json +11 -9
  80. package/dist/schemas/onchain_operations_repository.schema.json +11 -9
  81. package/dist/schemas/onchain_operations_reward.schema.json +11 -9
  82. package/dist/schemas/onchain_operations_service.schema.json +11 -9
  83. package/dist/schemas/onchain_operations_treasury.schema.json +11 -9
  84. package/dist/schemas/onchain_table_data.output.json +3 -0
  85. package/dist/schemas/query_toolkit.schema.json +5 -1
  86. package/dist/telemetry/index.d.ts +19 -0
  87. package/dist/telemetry/index.js +112 -0
  88. package/dist/telemetry/redact.d.ts +2 -0
  89. package/dist/telemetry/redact.js +23 -0
  90. package/dist/telemetry/storage.d.ts +8 -0
  91. package/dist/telemetry/storage.js +80 -0
  92. 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");
@@ -1385,6 +1385,9 @@
1385
1385
  }
1386
1386
  ],
1387
1387
  "description": "Account operation output schema with discriminator"
1388
+ },
1389
+ "semantic": {
1390
+ "description": "Business semantic summary for account operation"
1388
1391
  }
1389
1392
  },
1390
1393
  "required": [
@@ -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
  }
@@ -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-13T08:10:04.689Z",
5
+ "generatedAt": "2026-07-14T07:50:49.195Z",
6
6
  "tools": [
7
7
  {
8
8
  "name": "onchain_operations",
@@ -58,6 +58,9 @@
58
58
  }
59
59
  ],
60
60
  "description": "Local info operation output schema with discriminator"
61
+ },
62
+ "semantic": {
63
+ "description": "Business semantic summary for local info operation"
61
64
  }
62
65
  },
63
66
  "required": [
@@ -102,6 +102,9 @@
102
102
  }
103
103
  ],
104
104
  "description": "Local mark operation output schema with discriminator"
105
+ },
106
+ "semantic": {
107
+ "description": "Business semantic summary for local mark operation"
105
108
  }
106
109
  },
107
110
  "required": [
@@ -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"
@@ -1400,6 +1400,27 @@
1400
1400
  "peerAddress"
1401
1401
  ],
1402
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
1403
1424
  }
1404
1425
  ],
1405
1426
  "description": "Messenger operation input schema"
@@ -501,6 +501,9 @@
501
501
  }
502
502
  ],
503
503
  "description": "Event query result containing list of events and pagination info, or null if no data found"
504
+ },
505
+ "semantic": {
506
+ "description": "Business semantic summary for the event query"
504
507
  }
505
508
  },
506
509
  "required": [