@wowok/agent-mcp 3.3.5 → 3.3.6

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 (157) hide show
  1. package/dist/chain-semantics/eval-order.d.ts +17 -0
  2. package/dist/chain-semantics/eval-order.js +1 -0
  3. package/dist/chain-semantics/freeze-map.js +1 -1
  4. package/dist/chain-semantics/fund-flow.js +1 -1
  5. package/dist/chain-semantics/index.d.ts +1 -0
  6. package/dist/chain-semantics/index.js +1 -1
  7. package/dist/chain-semantics/object-graph.js +1 -1
  8. package/dist/composition/audit.js +1 -1
  9. package/dist/composition/compile.d.ts +1 -1
  10. package/dist/composition/compile.js +1 -1
  11. package/dist/data/api/api.spec.d.ts +1 -0
  12. package/dist/data/api/api.spec.js +1 -0
  13. package/dist/data/api/cli.d.ts +1 -0
  14. package/dist/data/api/cli.js +1 -0
  15. package/dist/data/api/head.d.ts +16 -0
  16. package/dist/data/api/head.js +1 -0
  17. package/dist/data/api/head.spec.d.ts +1 -0
  18. package/dist/data/api/head.spec.js +1 -0
  19. package/dist/data/api/index.d.ts +2 -0
  20. package/dist/data/api/index.js +1 -0
  21. package/dist/data/api/match.d.ts +69 -0
  22. package/dist/data/api/match.js +1 -0
  23. package/dist/data/api/match.spec.d.ts +1 -0
  24. package/dist/data/api/match.spec.js +1 -0
  25. package/dist/data/api/server.d.ts +12 -0
  26. package/dist/data/api/server.js +1 -0
  27. package/dist/data/projection/cli.d.ts +1 -0
  28. package/dist/data/projection/cli.js +1 -0
  29. package/dist/data/projection/edges.d.ts +8 -0
  30. package/dist/data/projection/edges.js +1 -0
  31. package/dist/data/projection/edges.spec.d.ts +1 -0
  32. package/dist/data/projection/edges.spec.js +1 -0
  33. package/dist/data/projection/facets.d.ts +18 -0
  34. package/dist/data/projection/facets.js +1 -0
  35. package/dist/data/projection/facets.spec.d.ts +1 -0
  36. package/dist/data/projection/facets.spec.js +1 -0
  37. package/dist/data/projection/facts.d.ts +40 -0
  38. package/dist/data/projection/facts.js +1 -0
  39. package/dist/data/projection/index.d.ts +6 -0
  40. package/dist/data/projection/index.js +1 -0
  41. package/dist/data/projection/project.d.ts +10 -0
  42. package/dist/data/projection/project.js +1 -0
  43. package/dist/data/projection/projection.spec.d.ts +1 -0
  44. package/dist/data/projection/projection.spec.js +1 -0
  45. package/dist/data/projection/schema.d.ts +1 -0
  46. package/dist/data/projection/schema.js +1 -0
  47. package/dist/data/projection/store.d.ts +49 -0
  48. package/dist/data/projection/store.js +1 -0
  49. package/dist/data/projection/types.d.ts +137 -0
  50. package/dist/data/projection/types.js +1 -0
  51. package/dist/data/sync/cdc.d.ts +34 -0
  52. package/dist/data/sync/cdc.js +1 -0
  53. package/dist/data/sync/cdc.spec.d.ts +1 -0
  54. package/dist/data/sync/cdc.spec.js +1 -0
  55. package/dist/data/sync/graphql-source.d.ts +16 -0
  56. package/dist/data/sync/graphql-source.js +1 -0
  57. package/dist/data/sync/index.d.ts +5 -0
  58. package/dist/data/sync/index.js +1 -0
  59. package/dist/data/sync/reconciler.d.ts +14 -0
  60. package/dist/data/sync/reconciler.js +1 -0
  61. package/dist/data/sync/reconciler.spec.d.ts +1 -0
  62. package/dist/data/sync/reconciler.spec.js +1 -0
  63. package/dist/data/sync/schema.d.ts +1 -0
  64. package/dist/data/sync/schema.js +1 -0
  65. package/dist/data/sync/store.d.ts +19 -0
  66. package/dist/data/sync/store.js +1 -0
  67. package/dist/data/sync/sync.spec.d.ts +1 -0
  68. package/dist/data/sync/sync.spec.js +1 -0
  69. package/dist/data/sync/synchronizer.d.ts +10 -0
  70. package/dist/data/sync/synchronizer.js +1 -0
  71. package/dist/data/sync/types.d.ts +162 -0
  72. package/dist/data/sync/types.js +1 -0
  73. package/dist/evaluation/builtins/demand-match.js +1 -1
  74. package/dist/evaluation/builtins/graph-service.spec.js +1 -1
  75. package/dist/evaluation/capability.d.ts +1 -0
  76. package/dist/evaluation/engine.js +1 -1
  77. package/dist/evaluation/extract.d.ts +7 -1
  78. package/dist/evaluation/extract.js +1 -1
  79. package/dist/evaluation/match-policy.d.ts +118 -0
  80. package/dist/evaluation/match-policy.js +1 -0
  81. package/dist/evaluation/match-policy.spec.d.ts +1 -0
  82. package/dist/evaluation/match-policy.spec.js +1 -0
  83. package/dist/experience/realtime-feedback.js +1 -1
  84. package/dist/graph/onchain/expand.js +1 -1
  85. package/dist/graph/onchain/exposure.js +1 -1
  86. package/dist/knowledge/arbitration-ledger.js +1 -1
  87. package/dist/knowledge/baselines/rules/plan.json +16 -1
  88. package/dist/knowledge/builtin-templates.d.ts +1 -1
  89. package/dist/knowledge/builtin-templates.js +1 -1
  90. package/dist/knowledge/getting-started.js +1 -1
  91. package/dist/knowledge/guard-design-patterns.d.ts +1 -1
  92. package/dist/knowledge/guard-design-patterns.js +1 -1
  93. package/dist/knowledge/guard-ledger.js +1 -1
  94. package/dist/knowledge/guard-puzzle.js +1 -1
  95. package/dist/knowledge/guard-render.js +1 -1
  96. package/dist/knowledge/guard-risk.js +1 -1
  97. package/dist/knowledge/guard-templates.js +1 -1
  98. package/dist/knowledge/guard-translation.js +1 -1
  99. package/dist/knowledge/index.js +1 -1
  100. package/dist/knowledge/industry-registry.js +1 -1
  101. package/dist/knowledge/jsonrpc-enum.d.ts +26 -10
  102. package/dist/knowledge/jsonrpc-enum.js +1 -1
  103. package/dist/knowledge/projection.d.ts +54 -0
  104. package/dist/knowledge/projection.js +1 -0
  105. package/dist/knowledge/projection.spec.d.ts +1 -0
  106. package/dist/knowledge/projection.spec.js +1 -0
  107. package/dist/knowledge/recipient-constraint.d.ts +1 -1
  108. package/dist/knowledge/recipient-constraint.js +1 -1
  109. package/dist/knowledge/service-ledger.d.ts +1 -1
  110. package/dist/knowledge/service-ledger.js +1 -1
  111. package/dist/knowledge/template-registry.js +1 -1
  112. package/dist/knowledge/template-scanner.js +1 -1
  113. package/dist/monitor/MonitorLoop.js +1 -1
  114. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  115. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  116. package/dist/playbooks/service-build/object-panorama.js +1 -1
  117. package/dist/playbooks/service-build/participation-radar.js +1 -1
  118. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  119. package/dist/playbooks/service-build/service-panorama.js +1 -1
  120. package/dist/playbooks/service-build/service-quote.js +1 -1
  121. package/dist/playbooks/service-build/service-quote.spec.js +1 -1
  122. package/dist/review/index.js +1 -1
  123. package/dist/role/profiles.js +1 -1
  124. package/dist/safety/confirm-gate.js +1 -1
  125. package/dist/schema/call/allocation.js +1 -1
  126. package/dist/schema/call/proof.js +1 -1
  127. package/dist/schema/call/semantic.js +1 -1
  128. package/dist/schema/call/service.js +1 -1
  129. package/dist/schema/common/index.js +1 -1
  130. package/dist/schema/evaluation/index.d.ts +189 -0
  131. package/dist/schema/evaluation/index.js +1 -1
  132. package/dist/schema/local/index.js +1 -1
  133. package/dist/schema/query/bi.d.ts +4 -0
  134. package/dist/schema/query/bi.js +1 -1
  135. package/dist/schema/query/index.js +1 -1
  136. package/dist/schema/schema-version.js +1 -1
  137. package/dist/schema-query-impl/index.js +1 -1
  138. package/dist/schemas/evaluation_operation.output.json +384 -2
  139. package/dist/schemas/evaluation_operation.schema.json +202 -4
  140. package/dist/schemas/index.json +1 -1
  141. package/dist/schemas/onchain_operations.schema.json +666 -100
  142. package/dist/schemas/onchain_operations_allocation.schema.json +1 -1
  143. package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
  144. package/dist/schemas/onchain_operations_guard.schema.json +660 -94
  145. package/dist/schemas/onchain_operations_service.schema.json +4 -4
  146. package/dist/schemas/query_toolkit.output.json +299 -0
  147. package/dist/tools/handlers/benchmark-migration.d.ts +4 -2
  148. package/dist/tools/handlers/benchmark-migration.js +1 -1
  149. package/dist/tools/handlers/config.js +1 -1
  150. package/dist/tools/handlers/evaluation.js +1 -1
  151. package/dist/tools/handlers/evaluation.spec.js +1 -1
  152. package/dist/tools/handlers/onchain.d.ts +1 -0
  153. package/dist/tools/handlers/onchain.js +1 -1
  154. package/dist/tools/index.js +1 -1
  155. package/dist/tools/registry/business.js +1 -1
  156. package/dist/tools/wrap.js +1 -1
  157. package/package.json +7 -2
@@ -1 +1 @@
1
- import{z}from'zod';import{CallEnvSchema,NamedObjectSchema}from'./base.js';import{DescriptionSchema,WowAddressSchema}from'../common/index.js';import{MAX_PROOF_SIZE,MAX_SERVER_PUBKEY_SIZE,MAX_SERVER_SIGNATURE_SIZE,WOWOK_WTS_PROOF_TYPE}from'@wowok/wowok';const ProofTypeSchema=z['union']([z['number']()['int']()['min'](0x1,'proof_type\x20number\x20must\x20be\x20>=\x201\x20(WOWOK_WTS_PROOF_TYPE=1\x20is\x20the\x20minimum)'),z['string']()['regex'](/^\d+$/,'proof_type\x20string\x20must\x20be\x20numeric\x20(digits\x20only)')['refine'](a=>BigInt(a)>=0x1n,'proof_type\x20must\x20be\x20>=\x201')])['describe']('Proof\x20type.\x20'+WOWOK_WTS_PROOF_TYPE+':\x20WOWOK_WTS_PROOF_TYPE\x20(WTS\x20proof);\x201-100\x20reserved\x20for\x20Wowok;\x20user-defined\x20must\x20be\x20>\x20100.\x20Numeric\x20string\x20accepted.');export const CallProof_DataSchema=z['object']({'namedNew':NamedObjectSchema['optional'](),'description':DescriptionSchema['describe']('Human-readable\x20description\x20of\x20this\x20Proof.\x20Required\x20field.'),'proof':z['string']()['max'](MAX_PROOF_SIZE)['describe']('Proof\x20content.\x20e.g.\x20merkle\x20tree\x20root'),'server_pubkey':z['string']()['max'](MAX_SERVER_PUBKEY_SIZE)['describe']('Server\x20public\x20key'),'server_signature':z['string']()['max'](MAX_SERVER_SIGNATURE_SIZE)['describe']('Server\x20signature'),'proof_type':ProofTypeSchema,'item_count':z['union']([z['number']()['int']()['min'](0x0),z['string'](),z['null']()])['optional']()['describe']('Item\x20count.\x20e.g.\x20number\x20of\x20items\x20in\x20the\x20merkle\x20tree'),'about_address':z['union']([WowAddressSchema,z['null']()])['optional']()['describe']('About\x20binding\x20(K3\x20contract):\x20ONLY\x20the\x20counterparty\x20ACCOUNT\x20address\x20(address\x20first\x20byte\x20=\x20account\x20type)\x20or\x20a\x20Proof\x20object\x20address\x20(first\x20byte\x20=\x20Proof\x20type)\x20—\x20a\x20messenger\x20contact\x20record.\x20NEVER\x20a\x20business\x20object\x20(Progress/Order/Arb)\x20and\x20never\x20a\x20guard\x20decision\x20condition.\x20Accepts\x20null/undefined\x20(→\x20Move\x20Option::none).\x20When\x20provided,\x20must\x20be\x20a\x20raw\x200x-prefixed\x20address\x20(NOT\x20a\x20name).\x20e.g.\x20the\x20peer\x20account\x20being\x20proved\x20with.')})['strict']()['describe']('On-chain\x20Proof\x20creation.\x20USAGE:\x20Set\x20\x27namedNew\x27\x20field\x20with\x20{name,\x20tag?}\x20to\x20create\x20a\x20named\x20Proof.\x20Proof\x20is\x20an\x20immutable\x20object\x20-\x20it\x20can\x20only\x20be\x20created,\x20not\x20modified.\x20The\x20\x27namedNew\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED.');export const CallProof_InputSchema=z['object']({'data':CallProof_DataSchema,'env':CallEnvSchema['optional']()})['strict']()['describe']('On-chain,\x20create\x20a\x20new\x20Proof\x20object');export const CallGenProof_InputSchema=z['object']({'proof':z['string']()['max'](MAX_PROOF_SIZE)['describe']('Proof\x20content.\x20e.g.\x20merkle\x20tree\x20root'),'server_pubkey':z['string']()['max'](MAX_SERVER_PUBKEY_SIZE)['describe']('Server\x20public\x20key'),'server_signature':z['string']()['max'](MAX_SERVER_SIGNATURE_SIZE)['describe']('Server\x20signature'),'proof_type':ProofTypeSchema,'description':DescriptionSchema['describe']('Human-readable\x20description\x20of\x20this\x20Proof.\x20Required\x20field.'),'item_count':z['union']([z['number']()['int']()['min'](0x0),z['string'](),z['null']()])['optional']()['describe']('Item\x20count.\x20e.g.\x20number\x20of\x20items\x20in\x20the\x20merkle\x20tree'),'about_address':z['union']([WowAddressSchema,z['null']()])['optional']()['describe']('About\x20binding\x20(K3\x20contract):\x20ONLY\x20the\x20counterparty\x20ACCOUNT\x20address\x20(address\x20first\x20byte\x20=\x20account\x20type)\x20or\x20a\x20Proof\x20object\x20address\x20(first\x20byte\x20=\x20Proof\x20type)\x20—\x20a\x20messenger\x20contact\x20record.\x20NEVER\x20a\x20business\x20object\x20(Progress/Order/Arb)\x20and\x20never\x20a\x20guard\x20decision\x20condition.\x20Accepts\x20null/undefined\x20(→\x20Move\x20Option::none).\x20When\x20provided,\x20must\x20be\x20a\x20raw\x200x-prefixed\x20address\x20(NOT\x20a\x20name).'),'env':CallEnvSchema['optional']()})['strict']()['describe']('Generate\x20a\x20new\x20Proof\x20object\x20on-chain');
1
+ import{z}from'zod';import{CallEnvSchema,NamedObjectSchema}from'./base.js';import{DescriptionSchema,WowAddressSchema}from'../common/index.js';import{MAX_PROOF_SIZE,MAX_SERVER_PUBKEY_SIZE,MAX_SERVER_SIGNATURE_SIZE,WOWOK_WTS_PROOF_TYPE}from'@wowok/wowok';const ProofTypeSchema=z['union']([z['number']()['int']()['min'](0x1,'proof_type\x20number\x20must\x20be\x20>=\x201\x20(WOWOK_WTS_PROOF_TYPE=1\x20is\x20the\x20minimum)'),z['string']()['regex'](/^\d+$/,'proof_type\x20string\x20must\x20be\x20numeric\x20(digits\x20only)')['refine'](a=>BigInt(a)>=0x1n,'proof_type\x20must\x20be\x20>=\x201')])['describe']('Proof\x20type.\x20'+WOWOK_WTS_PROOF_TYPE+':\x20WOWOK_WTS_PROOF_TYPE\x20(WTS\x20proof);\x201-100\x20reserved\x20for\x20Wowok;\x20user-defined\x20must\x20be\x20>\x20100.\x20Numeric\x20string\x20accepted.');export const CallProof_DataSchema=z['object']({'namedNew':NamedObjectSchema['optional'](),'description':DescriptionSchema['describe']('Human-readable\x20description\x20of\x20this\x20Proof.\x20Required\x20field.'),'proof':z['string']()['max'](MAX_PROOF_SIZE)['describe']('Proof\x20content.\x20e.g.\x20merkle\x20tree\x20root'),'server_pubkey':z['string']()['max'](MAX_SERVER_PUBKEY_SIZE)['describe']('Server\x20public\x20key'),'server_signature':z['string']()['max'](MAX_SERVER_SIGNATURE_SIZE)['describe']('Server\x20signature'),'proof_type':ProofTypeSchema,'item_count':z['union']([z['number']()['int']()['min'](0x0),z['string'](),z['null']()])['optional']()['describe']('Item\x20count.\x20e.g.\x20number\x20of\x20items\x20in\x20the\x20merkle\x20tree'),'about_address':z['union']([WowAddressSchema,z['null']()])['optional']()['describe']('About\x20binding\x20(K3\x20contract):\x20ONLY\x20the\x20counterparty\x20ACCOUNT\x20address\x20(address\x20first\x20byte\x20=\x20account\x20type)\x20or\x20a\x20Proof\x20object\x20address\x20(first\x20byte\x20=\x20Proof\x20type)\x20—\x20a\x20messenger\x20contact\x20record.\x20NEVER\x20a\x20business\x20object\x20(Progress/Order/Arb)\x20and\x20never\x20a\x20guard\x20decision\x20condition.\x20Accepts\x20null/undefined\x20(→\x20Move\x20Option::none).\x20When\x20provided,\x20must\x20be\x20a\x20raw\x200x-prefixed\x20address\x20(NOT\x20a\x20name).\x20e.g.\x20the\x20peer\x20account\x20being\x20proved\x20with.')})['strict']()['describe']('On-chain\x20Proof\x20creation.\x20USAGE:\x20Set\x20\x27namedNew\x27\x20field\x20with\x20{name,\x20tag?}\x20to\x20create\x20a\x20named\x20Proof.\x20Proof\x20is\x20an\x20immutable\x20object\x20-\x20it\x20can\x20only\x20be\x20created,\x20not\x20modified.\x20The\x20\x27namedNew\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED.');export const CallProof_InputSchema=z['object']({'data':CallProof_DataSchema,'env':CallEnvSchema['optional']()})['strict']()['describe']('On-chain,\x20create\x20a\x20new\x20Proof\x20object');export const CallGenProof_InputSchema=z['object']({'proof':z['string']()['max'](MAX_PROOF_SIZE)['describe']('Proof\x20content.\x20e.g.\x20merkle\x20tree\x20root'),'server_pubkey':z['string']()['max'](MAX_SERVER_PUBKEY_SIZE)['describe']('Server\x20public\x20key'),'server_signature':z['string']()['max'](MAX_SERVER_SIGNATURE_SIZE)['describe']('Server\x20signature'),'proof_type':ProofTypeSchema,'description':DescriptionSchema['describe']('Human-readable\x20description\x20of\x20this\x20Proof.\x20Required\x20field.'),'item_count':z['union']([z['number']()['int']()['min'](0x0),z['string'](),z['null']()])['optional']()['describe']('Item\x20count.\x20e.g.\x20number\x20of\x20items\x20in\x20the\x20merkle\x20tree'),'about_address':z['union']([WowAddressSchema,z['null']()])['optional']()['describe']('About\x20binding\x20(K3\x20contract):\x20ONLY\x20the\x20counterparty\x20ACCOUNT\x20address\x20(address\x20first\x20byte\x20=\x20account\x20type)\x20or\x20a\x20Proof\x20object\x20address\x20(first\x20byte\x20=\x20Proof\x20type)\x20—\x20a\x20messenger\x20contact\x20record.\x20NEVER\x20a\x20business\x20object\x20(Progress/Order/Arb)\x20and\x20never\x20a\x20guard\x20decision\x20condition.\x20ONE\x20EXCEPTION\x20(bstn-tn-261024\x20F-30,\x20live-proven):\x20a\x20Proof\x20intended\x20for\x20order.required_info_bind\x20MUST\x20carry\x20about\x20=\x20the\x20ORDER\x27s\x20own\x20address,\x20with\x20the\x20Proof\x20creator\x20=\x20the\x20order\x20owner\x20(the\x20owner-signed\x20contact/attn\x20proof\x20the\x20bind\x20entry\x20demands;\x20the\x20messenger-contact\x20restriction\x20does\x20not\x20apply\x20to\x20that\x20flow).\x20Accepts\x20null/undefined\x20(→\x20Move\x20Option::none).\x20When\x20provided,\x20must\x20be\x20a\x20raw\x200x-prefixed\x20address\x20(NOT\x20a\x20name).'),'env':CallEnvSchema['optional']()})['strict']()['describe']('Generate\x20a\x20new\x20Proof\x20object\x20on-chain');