@wowok/agent-mcp 3.2.2 → 3.2.3

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 (134) hide show
  1. package/dist/chain-semantics/field-capability.d.ts +11 -0
  2. package/dist/chain-semantics/field-capability.js +1 -0
  3. package/dist/chain-semantics/freeze-map.d.ts +11 -0
  4. package/dist/chain-semantics/freeze-map.js +1 -0
  5. package/dist/chain-semantics/fund-flow.d.ts +10 -0
  6. package/dist/chain-semantics/fund-flow.js +1 -0
  7. package/dist/chain-semantics/guard-verbs.d.ts +22 -0
  8. package/dist/chain-semantics/guard-verbs.js +1 -0
  9. package/dist/chain-semantics/index.d.ts +10 -0
  10. package/dist/chain-semantics/index.js +1 -0
  11. package/dist/chain-semantics/object-graph.d.ts +18 -0
  12. package/dist/chain-semantics/object-graph.js +1 -0
  13. package/dist/composition/audit.d.ts +10 -0
  14. package/dist/composition/audit.js +1 -0
  15. package/dist/composition/compile.d.ts +38 -0
  16. package/dist/composition/compile.js +1 -0
  17. package/dist/composition/materialize.d.ts +64 -0
  18. package/dist/composition/materialize.js +1 -0
  19. package/dist/composition/plan.d.ts +92 -0
  20. package/dist/composition/plan.js +1 -0
  21. package/dist/composition/reflux.d.ts +28 -0
  22. package/dist/composition/reflux.js +1 -0
  23. package/dist/evaluation/builtins/graph-service.spec.js +1 -1
  24. package/dist/evaluation/engine.js +1 -1
  25. package/dist/experience/realtime-feedback.js +1 -1
  26. package/dist/extensions/business-modules.js +1 -1
  27. package/dist/extensions/industry-pack.js +1 -1
  28. package/dist/extensions/modes.js +1 -1
  29. package/dist/graph/onchain/expand.js +1 -1
  30. package/dist/graph/onchain/exposure.js +1 -1
  31. package/dist/graph/onchain/facts.js +1 -1
  32. package/dist/keeper/detectors.d.ts +7 -0
  33. package/dist/keeper/detectors.js +1 -1
  34. package/dist/keeper/types.d.ts +1 -1
  35. package/dist/keeper/types.js +1 -1
  36. package/dist/knowledge/allocation-ledger.js +1 -1
  37. package/dist/knowledge/allocation-puzzle.js +1 -1
  38. package/dist/knowledge/allocation-risk.js +1 -1
  39. package/dist/knowledge/allocation-templates.js +1 -1
  40. package/dist/knowledge/arb-fund-facts.d.ts +31 -0
  41. package/dist/knowledge/arb-fund-facts.js +1 -0
  42. package/dist/knowledge/baselines/rules/allocation.json +44 -15
  43. package/dist/knowledge/baselines/rules/guard.json +27 -8
  44. package/dist/knowledge/baselines/rules/plan.json +161 -0
  45. package/dist/knowledge/baselines/semantic-facts.d.ts +12 -0
  46. package/dist/knowledge/baselines/semantic-facts.js +1 -0
  47. package/dist/knowledge/builtin-templates.d.ts +1 -1
  48. package/dist/knowledge/builtin-templates.js +1 -1
  49. package/dist/knowledge/getting-started.js +1 -1
  50. package/dist/knowledge/guard-design-patterns.js +1 -1
  51. package/dist/knowledge/guard-ledger.js +1 -1
  52. package/dist/knowledge/guard-risk.js +1 -1
  53. package/dist/knowledge/guard-templates.js +1 -1
  54. package/dist/knowledge/index.js +1 -1
  55. package/dist/knowledge/industry-registry.js +1 -1
  56. package/dist/knowledge/jsonrpc-enum.js +1 -1
  57. package/dist/knowledge/onchain-constants.d.ts +2 -2
  58. package/dist/knowledge/onchain-constants.js +1 -1
  59. package/dist/knowledge/scenario-modes.d.ts +12 -0
  60. package/dist/knowledge/service-allocation-semantics.js +1 -1
  61. package/dist/knowledge/service-ledger.js +1 -1
  62. package/dist/knowledge/service-templates.js +1 -1
  63. package/dist/knowledge/strategy-manuals.js +1 -1
  64. package/dist/knowledge/template-loader.d.ts +16 -1
  65. package/dist/knowledge/template-loader.js +1 -1
  66. package/dist/knowledge/template-registry.js +1 -1
  67. package/dist/knowledge/template-scanner.js +1 -1
  68. package/dist/knowledge/tools-reference.js +1 -1
  69. package/dist/knowledge/workflow-guidance.js +1 -1
  70. package/dist/monitor/MonitorLoop.js +1 -1
  71. package/dist/participation/radar-core.d.ts +6 -0
  72. package/dist/participation/radar-core.js +1 -1
  73. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  74. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  75. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  76. package/dist/playbooks/service-build/migration-planner.js +1 -1
  77. package/dist/playbooks/service-build/object-panorama.js +1 -1
  78. package/dist/playbooks/service-build/participation-radar.js +1 -1
  79. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  80. package/dist/playbooks/service-build/service-panorama.js +1 -1
  81. package/dist/playbooks/service-build/service-quote.js +1 -1
  82. package/dist/review/index.js +1 -1
  83. package/dist/safety/confirm-gate.js +1 -1
  84. package/dist/schema/call/order.d.ts +60 -0
  85. package/dist/schema/call/order.js +1 -1
  86. package/dist/schema/call/semantic.js +1 -1
  87. package/dist/schema/call/service.d.ts +56 -0
  88. package/dist/schema/call/service.js +1 -1
  89. package/dist/schema/common/index.js +1 -1
  90. package/dist/schema/index.d.ts +1 -0
  91. package/dist/schema/index.js +1 -1
  92. package/dist/schema/industry-pack/index.d.ts +2 -0
  93. package/dist/schema/industry-pack/index.js +1 -1
  94. package/dist/schema/local/index.js +1 -1
  95. package/dist/schema/operations.d.ts +48 -0
  96. package/dist/schema/query/index.js +1 -1
  97. package/dist/schema/schema-version.js +1 -1
  98. package/dist/schema/service-clone/index.d.ts +46 -0
  99. package/dist/schema/service-clone/index.js +1 -0
  100. package/dist/schema-query-impl/index.js +1 -1
  101. package/dist/schemas/index.json +7 -1
  102. package/dist/schemas/industry_pack_operation.output.json +4 -0
  103. package/dist/schemas/industry_pack_operation.schema.json +4 -0
  104. package/dist/schemas/onchain_operations.output.json +1 -1
  105. package/dist/schemas/onchain_operations.schema.json +405 -94
  106. package/dist/schemas/onchain_operations_allocation.schema.json +5 -5
  107. package/dist/schemas/onchain_operations_arbitration.schema.json +2 -2
  108. package/dist/schemas/onchain_operations_contact.schema.json +1 -1
  109. package/dist/schemas/onchain_operations_demand.schema.json +3 -3
  110. package/dist/schemas/onchain_operations_gen_passport.schema.json +1 -1
  111. package/dist/schemas/onchain_operations_guard.schema.json +59 -59
  112. package/dist/schemas/onchain_operations_machine.schema.json +1 -1
  113. package/dist/schemas/onchain_operations_order.schema.json +133 -1
  114. package/dist/schemas/onchain_operations_progress.schema.json +1 -1
  115. package/dist/schemas/onchain_operations_proof.schema.json +1 -1
  116. package/dist/schemas/onchain_operations_repository.schema.json +1 -1
  117. package/dist/schemas/onchain_operations_reward.schema.json +4 -4
  118. package/dist/schemas/onchain_operations_service.schema.json +186 -7
  119. package/dist/schemas/onchain_operations_treasury.schema.json +7 -7
  120. package/dist/schemas/query_toolkit.output.json +45 -45
  121. package/dist/schemas/service_clone_operation.output.json +168 -0
  122. package/dist/schemas/service_clone_operation.schema.json +49 -0
  123. package/dist/schemas/workflow_operation.schema.json +1 -1
  124. package/dist/tools/handlers/config.js +1 -1
  125. package/dist/tools/handlers/industry-pack.js +1 -1
  126. package/dist/tools/handlers/onchain.js +1 -1
  127. package/dist/tools/handlers/query.js +1 -1
  128. package/dist/tools/handlers/service-clone.d.ts +2 -0
  129. package/dist/tools/handlers/service-clone.js +1 -0
  130. package/dist/tools/index.js +1 -1
  131. package/dist/tools/registry/business.js +1 -1
  132. package/dist/tools/wrap.d.ts +6 -1
  133. package/dist/tools/wrap.js +1 -1
  134. package/package.json +2 -2
@@ -1 +1 @@
1
- import{z}from'zod';import{CallEnvSchema,SubmissionCallSchema}from'./base.js';import{OperateSchema}from'./progress.js';import{AccountOrMark_AddressSchema,DescriptionSchema,LongNameSchema,ManyAccountOrMark_AddressSchema,NameOrAddressSchema,ReceivedObjectsOrRecentlySchema,RECEIVE_FORMAT_BLOCK_OBJECTS}from'../common/index.js';export const ArbConfirmSchema=z['object']({'arb':NameOrAddressSchema['describe']('Arb\x20object\x20ID\x20or\x20name.'),'confirm':z['boolean']()['describe']('Whether\x20to\x20confirm\x20that\x20the\x20submitted\x20arbitration\x20materials\x20are\x20valid\x20for\x20arbitration.'),'description':DescriptionSchema['optional']()['describe']('Message\x20description\x20for\x20compensation\x20application.'),'proposition':z['array'](LongNameSchema)['optional']()['describe']('Compensation\x20claims.')})['strict']();export const ArbObjectionSchema=z['object']({'arb':NameOrAddressSchema['describe']('Arb\x20object\x20ID\x20or\x20name.'),'objection':DescriptionSchema['describe']('Oppose\x20and\x20appeal\x20the\x20arbitration\x20result,\x20request\x20re-arbitration')})['strict']();export const ArbClaimCompensationSchema=z['object']({'arb':NameOrAddressSchema['describe']('Arb\x20object\x20ID\x20or\x20name.')})['strict']();export const CallOrder_DataSchema=z['object']({'object':NameOrAddressSchema['describe']('Order\x20object\x20ID\x20or\x20name.'),'agent':ManyAccountOrMark_AddressSchema['optional']()['describe']('Order\x20agent.\x20Agents\x20can\x20operate\x20the\x20order,\x20such\x20as\x20canceling\x20the\x20order,\x20modifying\x20the\x20order\x20status,\x20etc.;\x20but\x20cannot\x20receive\x20the\x20funds\x20received\x20by\x20the\x20order.'),'required_info':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Credential\x20recorded\x20on\x20the\x20order:\x20the\x20merchant\x27s\x20IM\x20user\x20address\x20resolved\x20from\x20the\x20Service\x27s\x20Contact\x20(zero\x20cost)\x20or\x20a\x20WTS\x20Proof\x20object\x20id\x20(on-chain\x20delivery\x20proof\x20embedding\x20that\x20IM\x20address\x20and\x20timestamp;\x20costs\x20gas).\x20The\x20information\x20itself\x20is\x20delivered\x20via\x20Wowok\x20Messenger.'),'progress':OperateSchema['optional']()['describe']('Advance\x20order\x20process'),'arb_confirm':ArbConfirmSchema['optional']()['describe']('CUSTOMER-side\x20confirm\x20on\x20an\x20Arb\x20case\x20(the\x20order\x20owner;\x20the\x20arbitration\x20object\x27s\x20own\x20confirm\x20tool\x20is\x20the\x20arbitrator\x27s\x20and\x20rejects\x20customers).\x20'+'Moves\x20the\x20case\x20from\x20state\x200\x20to\x20state\x201.\x20REQUIRED\x20after\x20an\x20arbitrator\x20reset\x20—\x20a\x20reset\x20returns\x20the\x20case\x20to\x20state\x200\x20with\x20the\x20indemnity\x20cleared,\x20'+'and\x20only\x20the\x20customer\x20can\x20advance\x20it\x20again;\x20the\x20fee\x20stays\x20locked\x20until\x20this\x20is\x20called.\x20Not\x20the\x20filing\x20step:\x20filing\x20(dispute)\x20lands\x20the\x20case\x20directly\x20in\x20state\x201.'),'arb_objection':ArbObjectionSchema['optional']()['describe']('Oppose\x20and\x20appeal\x20the\x20arbitration\x20result,\x20request\x20re-arbitration.'),'arb_claim_compensation':ArbClaimCompensationSchema['optional']()['describe']('Specify\x20the\x20adjudicated\x20Arb\x20object\x20to\x20obtain\x20order\x20compensation.\x20Succeeds\x20even\x20when\x20the\x20ruled\x20indemnity\x20is\x200\x20—\x20'+'the\x20claim\x20closes\x20the\x20case\x20(state\x205)\x20and\x20lets\x20the\x20arbitrator\x20withdraw\x20the\x20dispute\x20fee\x20immediately.'),'receive':ReceivedObjectsOrRecentlySchema['optional']()['describe']('Unwrap\x20CoinWrapper\x20objects\x20or\x20other\x20objects\x20received\x20by\x20the\x20order\x20and\x20transfer\x20them\x20to\x20the\x20order\x20owner.\x20'+'Consistent\x20with\x20`owner_receive`\x20on\x20other\x20objects\x20(arbitration/contact/demand/machine/permission/repository/reward/service/treasury).'+RECEIVE_FORMAT_BLOCK_OBJECTS),'transfer_to':AccountOrMark_AddressSchema['optional']()['describe']('Set\x20new\x20owner\x20of\x20the\x20order.\x20Requires\x20order\x20owner\x20permission\x20to\x20set.')})['strict']()['describe']('On-chain,\x20operate\x20on\x20an\x20Order\x20object.');export const CallOrder_InputSchema=z['object']({'data':CallOrder_DataSchema,'env':CallEnvSchema['optional'](),'submission':SubmissionCallSchema['optional']()})['strict']();
1
+ import{z}from'zod';import{CallEnvSchema,CoinParamSchema,SubmissionCallSchema}from'./base.js';import{OperateSchema,ProgressNextSchema}from'./progress.js';import{AccountOrMark_AddressSchema,DescriptionSchema,LongNameSchema,ManyAccountOrMark_AddressSchema,NameOrAddressSchema,ReceivedObjectsOrRecentlySchema,RECEIVE_FORMAT_BLOCK_OBJECTS}from'../common/index.js';import{PaymentInfoSchema}from'../query/index.js';export const ArbConfirmSchema=z['object']({'arb':NameOrAddressSchema['describe']('Arb\x20object\x20ID\x20or\x20name.'),'confirm':z['boolean']()['describe']('Whether\x20to\x20confirm\x20that\x20the\x20submitted\x20arbitration\x20materials\x20are\x20valid\x20for\x20arbitration.'),'description':DescriptionSchema['optional']()['describe']('Message\x20description\x20for\x20compensation\x20application.'),'proposition':z['array'](LongNameSchema)['optional']()['describe']('Compensation\x20claims.')})['strict']();export const ArbObjectionSchema=z['object']({'arb':NameOrAddressSchema['describe']('Arb\x20object\x20ID\x20or\x20name.'),'objection':DescriptionSchema['describe']('Oppose\x20and\x20appeal\x20the\x20arbitration\x20result,\x20request\x20re-arbitration')})['strict']();export const ArbClaimCompensationSchema=z['object']({'arb':NameOrAddressSchema['describe']('Arb\x20object\x20ID\x20or\x20name.')})['strict']();export const OrderRenewSchema=z['object']({'allocation':NameOrAddressSchema['describe']('Allocation\x20object\x20ID\x20or\x20name\x20receiving\x20the\x20renewal\x20funds.'),'type_parameter':z['string']()['describe']('Coin\x20type,\x20e.g.\x20\x220x2::wow::WOW\x22.'),'amount':CoinParamSchema['describe']('Renewal\x20payment.'),'info':PaymentInfoSchema['describe']('PaymentInfo\x20for\x20the\x20new\x20Payment\x20object\x20(remark/index,\x20optional\x20for_object/for_guard).'),'operation':ProgressNextSchema['describe']('Renew\x20forward\x20to\x20advance\x20after\x20the\x20funding\x20lands.'),'message':LongNameSchema['optional']()['describe']('Message\x20attached\x20to\x20the\x20forward\x20advance.')})['strict']();export const CallOrder_DataSchema=z['object']({'object':NameOrAddressSchema['describe']('Order\x20object\x20ID\x20or\x20name.'),'agent':ManyAccountOrMark_AddressSchema['optional']()['describe']('Order\x20agent.\x20Agents\x20can\x20operate\x20the\x20order,\x20such\x20as\x20canceling\x20the\x20order,\x20modifying\x20the\x20order\x20status,\x20etc.;\x20but\x20cannot\x20receive\x20the\x20funds\x20received\x20by\x20the\x20order.'),'required_info':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Credential\x20recorded\x20on\x20the\x20order:\x20the\x20merchant\x27s\x20IM\x20user\x20address\x20resolved\x20from\x20the\x20Service\x27s\x20Contact\x20(zero\x20cost)\x20or\x20a\x20WTS\x20Proof\x20object\x20id\x20(on-chain\x20delivery\x20proof\x20embedding\x20that\x20IM\x20address\x20and\x20timestamp;\x20costs\x20gas).\x20The\x20information\x20itself\x20is\x20delivered\x20via\x20Wowok\x20Messenger.'),'progress':OperateSchema['optional']()['describe']('Advance\x20order\x20process'),'arb_confirm':ArbConfirmSchema['optional']()['describe']('CUSTOMER-side\x20confirm\x20on\x20an\x20Arb\x20case\x20(the\x20order\x20owner;\x20the\x20arbitration\x20object\x27s\x20own\x20confirm\x20tool\x20is\x20the\x20arbitrator\x27s\x20and\x20rejects\x20customers).\x20'+'Moves\x20the\x20case\x20from\x20state\x200\x20to\x20state\x201.\x20REQUIRED\x20after\x20an\x20arbitrator\x20reset\x20—\x20a\x20reset\x20returns\x20the\x20case\x20to\x20state\x200\x20with\x20the\x20indemnity\x20cleared,\x20'+'and\x20only\x20the\x20customer\x20can\x20advance\x20it\x20again;\x20the\x20fee\x20stays\x20locked\x20until\x20this\x20is\x20called.\x20Not\x20the\x20filing\x20step:\x20filing\x20(dispute)\x20lands\x20the\x20case\x20directly\x20in\x20state\x201.'),'arb_objection':ArbObjectionSchema['optional']()['describe']('Oppose\x20and\x20appeal\x20the\x20arbitration\x20result,\x20request\x20re-arbitration.'),'arb_claim_compensation':ArbClaimCompensationSchema['optional']()['describe']('Specify\x20the\x20adjudicated\x20Arb\x20object\x20to\x20obtain\x20order\x20compensation.\x20Succeeds\x20even\x20when\x20the\x20ruled\x20indemnity\x20is\x200\x20—\x20'+'the\x20claim\x20closes\x20the\x20case\x20(state\x205)\x20and\x20lets\x20the\x20arbitrator\x20withdraw\x20the\x20dispute\x20fee\x20immediately.'),'receive':ReceivedObjectsOrRecentlySchema['optional']()['describe']('Unwrap\x20CoinWrapper\x20objects\x20or\x20other\x20objects\x20received\x20by\x20the\x20order\x20and\x20transfer\x20them\x20to\x20the\x20order\x20owner.\x20'+'Consistent\x20with\x20`owner_receive`\x20on\x20other\x20objects\x20(arbitration/contact/demand/machine/permission/repository/reward/service/treasury).'+RECEIVE_FORMAT_BLOCK_OBJECTS),'transfer_to':AccountOrMark_AddressSchema['optional']()['describe']('Set\x20new\x20owner\x20of\x20the\x20order.\x20Requires\x20order\x20owner\x20permission\x20to\x20set.'),'order_renew':OrderRenewSchema['optional']()['describe']('Renewal\x20in\x20ONE\x20transaction:\x20pays\x20into\x20the\x20order\x27s\x20allocation\x20and\x20advances\x20the\x20renew\x20forward\x20atomically\x20'+'(fund\x20+\x20record\x20+\x20advance\x20in\x20a\x20single\x20step).\x20Replaces\x20the\x20legacy\x203-transaction\x20renewal\x20split.\x20'+'The\x20new\x20Payment\x27s\x20sole\x20recipient\x20is\x20the\x20allocation\x20object\x20itself\x20(enforced\x20on-chain).')})['strict']()['describe']('On-chain,\x20operate\x20on\x20an\x20Order\x20object.');export const CallOrder_InputSchema=z['object']({'data':CallOrder_DataSchema,'env':CallEnvSchema['optional'](),'submission':SubmissionCallSchema['optional']()})['strict']();