@wowok/agent-mcp 3.0.4 → 3.0.5
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/evaluation/path-reasoning.d.ts +4 -2
- package/dist/evaluation/path-reasoning.js +1 -1
- package/dist/extensions/constraint-registry.d.ts +2 -2
- package/dist/extensions/constraint-registry.js +1 -1
- package/dist/extensions/custom-registry-file.d.ts +22 -0
- package/dist/extensions/custom-registry-file.js +1 -0
- package/dist/extensions/index.d.ts +2 -1
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/industry-pack.d.ts +7 -0
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/metric-registry.d.ts +2 -2
- package/dist/extensions/metric-registry.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/extensions/registry.d.ts +2 -2
- package/dist/extensions/registry.js +1 -1
- package/dist/extensions/types.d.ts +4 -0
- package/dist/goal/GoalEngine.d.ts +13 -1
- package/dist/goal/GoalEngine.js +1 -1
- package/dist/goal/next-steps.d.ts +12 -0
- package/dist/goal/next-steps.js +1 -0
- package/dist/goal/pursue.d.ts +18 -0
- package/dist/goal/pursue.js +1 -0
- package/dist/goal/types.d.ts +72 -0
- package/dist/goal/types.js +1 -1
- package/dist/graph/onchain/analyze.d.ts +44 -0
- package/dist/graph/onchain/analyze.js +1 -0
- package/dist/graph/onchain/analyze.spec.d.ts +1 -0
- package/dist/graph/onchain/analyze.spec.js +1 -0
- package/dist/graph/onchain/anti-cheat.d.ts +39 -0
- package/dist/graph/onchain/anti-cheat.js +1 -0
- package/dist/graph/onchain/anti-cheat.spec.d.ts +1 -0
- package/dist/graph/onchain/anti-cheat.spec.js +1 -0
- package/dist/graph/onchain/dataplane.d.ts +44 -0
- package/dist/graph/onchain/dataplane.js +1 -0
- package/dist/graph/onchain/edge-schema.d.ts +60 -0
- package/dist/graph/onchain/edge-schema.js +1 -0
- package/dist/graph/onchain/expand.d.ts +4 -0
- package/dist/graph/onchain/expand.js +1 -0
- package/dist/graph/onchain/extract.d.ts +21 -0
- package/dist/graph/onchain/extract.js +1 -0
- package/dist/graph/onchain/index.d.ts +17 -0
- package/dist/graph/onchain/index.js +1 -0
- package/dist/graph/onchain/interest.d.ts +10 -0
- package/dist/graph/onchain/interest.js +1 -0
- package/dist/graph/onchain/interest.spec.d.ts +1 -0
- package/dist/graph/onchain/interest.spec.js +1 -0
- package/dist/graph/onchain/onchain.spec.d.ts +1 -0
- package/dist/graph/onchain/onchain.spec.js +1 -0
- package/dist/graph/onchain/order-status.d.ts +53 -0
- package/dist/graph/onchain/order-status.js +1 -0
- package/dist/graph/onchain/project-relationship.d.ts +3 -0
- package/dist/graph/onchain/project-relationship.js +1 -0
- package/dist/graph/onchain/sdk-batch.d.ts +117 -0
- package/dist/graph/onchain/sdk-batch.js +1 -0
- package/dist/graph/onchain/sdk-dataplane.d.ts +40 -0
- package/dist/graph/onchain/sdk-dataplane.js +1 -0
- package/dist/graph/onchain/strategy.d.ts +54 -0
- package/dist/graph/onchain/strategy.js +1 -0
- package/dist/graph/onchain/strategy.spec.d.ts +1 -0
- package/dist/graph/onchain/strategy.spec.js +1 -0
- package/dist/graph/onchain/types.d.ts +238 -0
- package/dist/graph/onchain/types.js +1 -0
- package/dist/graph/onchain/viewport.d.ts +5 -0
- package/dist/graph/onchain/viewport.js +1 -0
- package/dist/harness/recover.js +1 -1
- package/dist/index.js +1 -1
- package/dist/intent/enrich.js +1 -1
- package/dist/keeper/detectors.d.ts +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/knowledge/account-marks.js +1 -1
- package/dist/knowledge/anti-cheat.d.ts +2 -37
- package/dist/knowledge/anti-cheat.js +1 -1
- package/dist/knowledge/contract-invariants.js +1 -1
- package/dist/knowledge/getting-started.d.ts +37 -0
- package/dist/knowledge/getting-started.js +1 -0
- package/dist/knowledge/goal-completion.js +1 -1
- package/dist/knowledge/guard-render.d.ts +1 -0
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-submission-brief.d.ts +83 -0
- package/dist/knowledge/guard-submission-brief.js +1 -0
- package/dist/knowledge/guard-submission-prompt.d.ts +13 -0
- package/dist/knowledge/guard-submission-prompt.js +1 -1
- package/dist/knowledge/index.d.ts +6 -4
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/industry-strategy.d.ts +91 -0
- package/dist/knowledge/industry-strategy.js +1 -0
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/market-metrics.d.ts +14 -3
- package/dist/knowledge/market-metrics.js +1 -1
- package/dist/knowledge/migration-preflight.js +1 -1
- package/dist/knowledge/operation-dictionary.d.ts +1 -1
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/scenario-topology.d.ts +6 -1
- package/dist/knowledge/scenario-topology.js +1 -1
- package/dist/knowledge/service-risk-node.d.ts +3 -0
- package/dist/knowledge/service-risk-node.js +1 -0
- package/dist/knowledge/service-risk.d.ts +2 -0
- package/dist/knowledge/service-risk.js +1 -1
- package/dist/knowledge/service-templates.d.ts +2 -0
- package/dist/knowledge/service-templates.js +1 -1
- package/dist/knowledge/strategy-manuals.d.ts +17 -0
- package/dist/knowledge/strategy-manuals.js +1 -0
- package/dist/knowledge/supply-chain.d.ts +3 -1
- package/dist/knowledge/supply-chain.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +3 -118
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/knowledge/workspace-lists.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/monitor/ScopeResolver.js +1 -1
- package/dist/participation/radar-core.d.ts +15 -15
- package/dist/participation/radar-core.js +1 -1
- package/dist/persona/analyzer.d.ts +2 -1
- package/dist/persona/bridge.d.ts +5 -1
- package/dist/persona/bridge.js +1 -1
- package/dist/persona/defaults.js +1 -1
- package/dist/persona/distill-goal.d.ts +7 -1
- package/dist/persona/distill-goal.js +1 -1
- package/dist/persona/index.d.ts +13 -3
- package/dist/persona/index.js +1 -1
- package/dist/persona/model.d.ts +12 -2
- package/dist/persona/model.js +1 -1
- package/dist/persona/overrides.d.ts +1 -0
- package/dist/persona/overrides.js +1 -1
- package/dist/persona/topology-focus.d.ts +29 -0
- package/dist/persona/topology-focus.js +1 -0
- package/dist/persona/types.d.ts +81 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/context-assembly.js +1 -1
- package/dist/playbooks/service-build/machine-nodes.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.d.ts +1 -0
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/service-panorama.d.ts +4 -0
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/topology-query.d.ts +14 -0
- package/dist/playbooks/service-build/topology-query.js +1 -0
- package/dist/role/index.d.ts +1 -0
- package/dist/role/index.js +1 -1
- package/dist/role/profiles.d.ts +26 -0
- package/dist/role/profiles.js +1 -0
- package/dist/safety/confirm-gate.d.ts +4 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/call/allocation.d.ts +6 -6
- package/dist/schema/call/bridge.d.ts +1 -1
- package/dist/schema/call/guard.d.ts +20 -20
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +4 -4
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/employee/index.d.ts +7 -7
- package/dist/schema/evaluation/index.d.ts +22 -9
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +37 -1
- package/dist/schema/goal/index.js +1 -1
- package/dist/schema/goal/planning.d.ts +1 -1
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +7 -0
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/local/index.d.ts +8 -4
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +318 -64
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +146 -11
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +15743 -0
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +869 -2
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +163 -41
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +16 -0
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/strategy-review/index.d.ts +137 -0
- package/dist/schema/strategy-review/index.js +1 -0
- package/dist/schema/trust/index.d.ts +6 -6
- package/dist/schema/workflow/index.d.ts +2 -2
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +8 -4
- package/dist/schemas/account_operation.schema.json +6 -2
- package/dist/schemas/evaluation_operation.output.json +24 -0
- package/dist/schemas/goal_operation.schema.json +124 -0
- package/dist/schemas/index.json +7 -1
- package/dist/schemas/industry_pack_operation.output.json +39 -0
- package/dist/schemas/local_mark_operation.schema.json +2 -2
- package/dist/schemas/messenger_operation.output.json +670 -200
- package/dist/schemas/messenger_operation.schema.json +66 -239
- package/dist/schemas/onchain_operations.schema.json +3 -3
- package/dist/schemas/onchain_operations_repository.schema.json +3 -3
- package/dist/schemas/onchain_table_data.output.json +184 -0
- package/dist/schemas/onchain_table_data.schema.json +43 -43
- package/dist/schemas/persona_operation.output.json +37778 -262
- package/dist/schemas/persona_operation.schema.json +5960 -1
- package/dist/schemas/query_toolkit.output.json +1580 -2
- package/dist/schemas/query_toolkit.schema.json +194 -32
- package/dist/schemas/schema_query.schema.json +25 -1
- package/dist/schemas/strategy_review_operation.output.json +532 -0
- package/dist/schemas/strategy_review_operation.schema.json +66 -0
- package/dist/schemas/wowok_buildin_info.output.json +188 -6
- package/dist/schemas/wowok_buildin_info.schema.json +14 -0
- package/dist/strategy/collectors.d.ts +66 -0
- package/dist/strategy/collectors.js +1 -0
- package/dist/strategy/collectors.spec.d.ts +1 -0
- package/dist/strategy/collectors.spec.js +1 -0
- package/dist/strategy/index.d.ts +5 -0
- package/dist/strategy/index.js +1 -0
- package/dist/strategy/metrics.d.ts +20 -0
- package/dist/strategy/metrics.js +1 -0
- package/dist/strategy/review.d.ts +48 -0
- package/dist/strategy/review.js +1 -0
- package/dist/strategy/scorecard.d.ts +32 -0
- package/dist/strategy/scorecard.js +1 -0
- package/dist/strategy/store.d.ts +26 -0
- package/dist/strategy/store.js +1 -0
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/goal.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/permission.js +1 -1
- package/dist/tools/handlers/persona.js +1 -1
- package/dist/tools/handlers/query.d.ts +6 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/handlers/strategy-review.d.ts +2 -0
- package/dist/tools/handlers/strategy-review.js +1 -0
- package/dist/tools/handlers/watch.js +1 -1
- package/dist/tools/handlers/workflow.js +1 -1
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/agent.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/local.js +1 -1
- package/dist/tools/registry/messenger.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/rules-hook.js +1 -1
- package/dist/tools/shared.d.ts +2 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{z}from'zod';import{NameOrAddressSchema,EntrypointSchema,AccountOrMark_AddressAISchema,ManyAccountOrMark_AddressAISchema}from'../common/index.js';import{SemanticSummarySchema}from'../call/base.js';import{NORMAL_MESSAGE_BYTES_LIMIT}from'@wowok/wowok';export const MessageStatusSchema=z['enum'](['pending','confirmed','read','failed','rejected','decrypted','decrypt_failed']);export const MessageDirectionSchema=z['enum'](['sent','received']);export const MessageTypeSchema=z['union']([z['literal'](0x1),z['literal'](0x3)]);export const MessageContentTypeSchema=z['enum'](['text','zip','wts','wip']);export const MessageTimeFieldSchema=z['enum'](['createdAt','receivedAt','serverTimestamp']);export const RangeTypeSchema=z['enum'](['time','messageId','seqIndex']);export const ZipMetadataSchema=z['object']({'fileName':z['string']()['describe']('ZIP\x20filename'),'fileSize':z['number']()['describe']('File\x20size\x20in\x20bytes'),'fileHash':z['string']()['describe']('File\x20SHA256\x20hash'),'contentType':MessageContentTypeSchema['describe']('Content\x20type'),'localCachePath':z['string']()['optional']()['describe']('Local\x20cache\x20path'),'downloadedAt':z['number']()['optional']()['describe']('Download\x20timestamp')})['describe']('ZIP\x20file\x20metadata');export const ReplyToSchema=z['object']({'messageId':z['string']()['describe']('Replied-to\x20message\x20ID\x20(unique\x20within\x20the\x20conversation)')})['describe']('Reply\x20(quote)\x20relationship\x20—\x20references\x20a\x20previous\x20message\x20in\x20the\x20same\x20conversation.\x20The\x20referenced\x20message\x27s\x20sender/preview\x20are\x20resolved\x20locally\x20by\x20messageId');export const MessageSchema=z['object']({'messageId':z['string']()['describe']('Message\x20ID'),'fromAddress':z['string']()['describe']('Sender\x20address'),'toAddress':z['string']()['describe']('Recipient\x20address'),'plaintextHash':z['string']()['describe']('Plaintext\x20hash'),'plaintext':z['string']()['optional']()['describe']('Decrypted\x20plaintext\x20(optional)'),'replyTo':ReplyToSchema['optional']()['describe']('Quoted\x20(replied-to)\x20message\x20reference,\x20if\x20this\x20message\x20replies\x20to\x20a\x20previous\x20one'),'guardAddress':z['string']()['optional']()['describe']('Guard\x20address'),'passportAddress':z['string']()['optional']()['describe']('Passport\x20address'),'lastReceivedLeafIndex':z['number']()['optional']()['describe']('Last\x20received\x20leaf\x20index'),'direction':MessageDirectionSchema['describe']('Message\x20direction'),'status':MessageStatusSchema['describe']('Message\x20status'),'msgType':MessageTypeSchema['describe']('Message\x20type'),'leafIndex':z['number']()['optional']()['describe']('Leaf\x20index'),'prevRoot':z['string']()['optional']()['describe']('Previous\x20Merkle\x20Root'),'newRoot':z['string']()['optional']()['describe']('Current\x20Merkle\x20Root'),'serverSignature':z['string']()['optional']()['describe']('Server\x20signature'),'serverTimestamp':z['number']()['optional']()['describe']('Server\x20confirmation\x20timestamp'),'serverPublicKey':z['string']()['optional']()['describe']('Server\x20public\x20key'),'arkConfirmed':z['object']({'recipient':z['string']()['describe']('Recipient\x20address'),'recipientPublicKey':z['string']()['describe']('Recipient\x20public\x20key'),'signature':z['string']()['describe']('Recipient\x20signature'),'timestamp':z['number']()['describe']('ARK\x20confirmation\x20time')})['optional']()['describe']('ARK\x20confirmation'),'createdAt':z['number']()['describe']('Message\x20creation\x20time\x20(client)'),'receivedAt':z['number']()['optional']()['describe']('Local\x20reception\x20time'),'zipMetadata':ZipMetadataSchema['optional']()['describe']('ZIP\x20file\x20metadata'),'proof':z['string']()['optional']()['describe']('On-chain\x20proof\x20object\x20address'),'decryptError':z['string']()['optional']()['describe']('Decryption\x20failure\x20reason'),'decryptAttempts':z['number']()['optional']()['describe']('Number\x20of\x20decryption\x20attempts'),'lastDecryptAttemptAt':z['number']()['optional']()['describe']('Last\x20decryption\x20attempt\x20timestamp'),'viewedAt':z['number']()['optional']()['describe']('Timestamp\x20when\x20the\x20current\x20user\x20viewed\x20this\x20message\x20(local\x20storage).\x20If\x20present,\x20indicates\x20the\x20message\x20has\x20been\x20viewed\x20by\x20the\x20user.\x20Only\x20applicable\x20to\x20received\x20messages\x20(direction\x20===\x20\x27received\x27)')})['describe']('Message\x20object');export const ConversationInfoSchema=z['object']({'peerAddress':z['string']()['describe']('Peer\x20address'),'lastMessageAt':z['number']()['describe']('Last\x20message\x20time'),'messageCount':z['number']()['describe']('Total\x20message\x20count'),'unreadCount':z['number']()['describe']('Unread\x20message\x20count\x20-\x20count\x20of\x20received\x20messages\x20that\x20have\x20not\x20been\x20viewed\x20(viewedAt\x20is\x20undefined)'),'lastMessagePreview':z['string']()['optional']()['describe']('Last\x20message\x20preview\x20text'),'previewMessages':z['array'](MessageSchema)['optional']()['describe']('Preview\x20messages\x20for\x20this\x20conversation\x20(default\x202\x20messages,\x20sorted\x20by\x20time\x20descending)')})['describe']('Conversation\x20info\x20with\x20unread\x20count\x20and\x20preview\x20messages');export const ConversationsFilterSchema=z['object']({'account':z['string']()['optional']()['describe']('Account\x20name\x20or\x20address\x20to\x20query\x20conversations\x20for.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'unreadOnly':z['boolean']()['optional']()['describe']('If\x20true,\x20only\x20return\x20conversations\x20with\x20unread\x20messages\x20(unreadCount\x20>\x200).\x20Useful\x20for\x20quickly\x20finding\x20conversations\x20needing\x20attention'),'startTime':z['number']()['optional']()['describe']('Start\x20timestamp\x20(ms)\x20for\x20filtering\x20conversations\x20by\x20lastMessageAt.\x20Only\x20returns\x20conversations\x20where\x20lastMessageAt\x20>=\x20this\x20value'),'endTime':z['number']()['optional']()['describe']('End\x20timestamp\x20(ms)\x20for\x20filtering\x20conversations\x20by\x20lastMessageAt.\x20Only\x20returns\x20conversations\x20where\x20lastMessageAt\x20<=\x20this\x20value'),'previewMessageCount':z['number']()['optional']()['describe']('Number\x20of\x20preview\x20messages\x20to\x20include\x20for\x20each\x20conversation\x20(default:\x202).\x20Set\x20to\x200\x20to\x20disable\x20preview\x20messages.\x20If\x20>\x200,\x20preview\x20messages\x20are\x20automatically\x20included'),'sortBy':z['enum'](['lastMessageAt','unreadCount','messageCount'])['optional']()['describe']('Sort\x20conversations\x20by:\x20\x27lastMessageAt\x27\x20=\x20most\x20recent\x20activity\x20first,\x20\x27unreadCount\x27\x20=\x20most\x20unread\x20messages\x20first,\x20\x27messageCount\x27\x20=\x20most\x20total\x20messages\x20first'),'sortOrder':z['enum'](['asc','desc'])['optional']()['describe']('Sort\x20order:\x20\x27asc\x27\x20=\x20ascending\x20(oldest/smallest\x20first),\x20\x27desc\x27\x20=\x20descending\x20(newest/largest\x20first).\x20Default\x20is\x20\x27desc\x27\x20for\x20time-based\x20sorting'),'skipAutoMarkViewed':z['boolean']()['optional']()['describe']('If\x20true,\x20preview\x20messages\x20will\x20NOT\x20be\x20automatically\x20marked\x20as\x20viewed\x20when\x20retrieved.\x20Default\x20is\x20false,\x20meaning\x20preview\x20messages\x20are\x20auto-marked\x20as\x20viewed'),'sync':z['boolean']()['optional']()['describe']('Sync\x20mode\x20(default\x20true):\x20true\x20=\x20block\x20on\x20one\x20server\x20pull\x20per\x20account\x20before\x20returning\x20(freshest\x20data,\x20one-shot\x20semantics);\x20false\x20=\x20return\x20local\x20data\x20immediately\x20and\x20trigger\x20a\x20background\x20server\x20pull\x20whose\x20results\x20appear\x20on\x20later\x20queries.\x20Only\x20set\x20false\x20when\x20slightly\x20stale\x20data\x20is\x20acceptable')})['describe']('Conversations\x20filter\x20options\x20-\x20use\x20unreadOnly\x20to\x20quickly\x20find\x20active\x20conversations,\x20and\x20previewMessageCount\x20to\x20control\x20how\x20many\x20recent\x20messages\x20are\x20included');export const MessageFilterSchema=z['object']({'account':z['string']()['optional']()['describe']('Account\x20to\x20filter\x20messages\x20for'),'direction':MessageDirectionSchema['optional']()['describe']('Filter\x20by\x20message\x20direction'),'status':MessageStatusSchema['optional']()['describe']('Filter\x20by\x20message\x20status'),'peerAddress':AccountOrMark_AddressAISchema['optional']()['describe']('Filter\x20by\x20peer\x20address\x20-\x20can\x20be\x20a\x20string\x20(name/address)\x20or\x20full\x20object'),'msgType':MessageTypeSchema['optional']()['describe']('Filter\x20by\x20message\x20type'),'contentType':MessageContentTypeSchema['optional']()['describe']('Filter\x20by\x20content\x20type'),'decryptedOnly':z['boolean']()['optional']()['describe']('Only\x20return\x20decrypted\x20messages'),'sync':z['boolean']()['optional']()['describe']('Sync\x20mode\x20(default\x20true):\x20true\x20=\x20block\x20on\x20one\x20server\x20pull\x20before\x20returning\x20(freshest\x20data,\x20one-shot\x20semantics);\x20false\x20=\x20return\x20local\x20data\x20immediately\x20and\x20trigger\x20a\x20background\x20server\x20pull\x20whose\x20results\x20appear\x20on\x20later\x20queries.\x20Only\x20set\x20false\x20when\x20slightly\x20stale\x20data\x20is\x20acceptable'),'confirmedOnly':z['boolean']()['optional']()['describe']('Only\x20return\x20confirmed\x20messages'),'keyword':z['string']()['optional']()['describe']('Search\x20keyword\x20in\x20plaintext'),'sortOrder':z['enum'](['asc','desc'])['optional']()['describe']('Sort\x20order:\x20asc\x20or\x20desc'),'limit':z['number']()['optional']()['describe']('Return\x20limit'),'offset':z['number']()['optional']()['describe']('Pagination\x20offset'),'timeField':MessageTimeFieldSchema['optional']()['describe']('Time\x20field\x20for\x20time\x20filtering'),'startTime':z['number']()['optional']()['describe']('Start\x20timestamp\x20(ms)'),'endTime':z['number']()['optional']()['describe']('End\x20timestamp\x20(ms)'),'createdAtStart':z['number']()['optional']()['describe']('Created\x20at\x20start\x20time'),'createdAtEnd':z['number']()['optional']()['describe']('Created\x20at\x20end\x20time'),'receivedAtStart':z['number']()['optional']()['describe']('Received\x20at\x20start\x20time'),'receivedAtEnd':z['number']()['optional']()['describe']('Received\x20at\x20end\x20time'),'serverTimestampStart':z['number']()['optional']()['describe']('Server\x20timestamp\x20start\x20time'),'serverTimestampEnd':z['number']()['optional']()['describe']('Server\x20timestamp\x20end\x20time'),'arkConfirmedOnly':z['boolean']()['optional']()['describe']('Only\x20return\x20ARK\x20confirmed\x20messages'),'arkTimestampStart':z['number']()['optional']()['describe']('ARK\x20timestamp\x20start'),'arkTimestampEnd':z['number']()['optional']()['describe']('ARK\x20timestamp\x20end'),'proofedOnly':z['boolean']()['optional']()['describe']('Only\x20return\x20messages\x20with\x20proof'),'hasLastReceivedIndexOnly':z['boolean']()['optional']()['describe']('Only\x20return\x20messages\x20with\x20lastReceivedLeafIndex'),'lastReceivedIndexMin':z['number']()['optional']()['describe']('Min\x20lastReceivedLeafIndex'),'lastReceivedIndexMax':z['number']()['optional']()['describe']('Max\x20lastReceivedLeafIndex'),'listFilterMode':z['enum'](['friends','guard','stranger','any'])['optional']()['describe']('List\x20filter\x20mode:\x20\x27friends\x27\x20=\x20only\x20messages\x20from\x20friends\x20list,\x20\x27guard\x27\x20=\x20only\x20messages\x20from\x20Guard\x20list,\x20\x27stranger\x27\x20=\x20only\x20messages\x20from\x20strangers\x20(not\x20in\x20friends/guard\x20lists),\x20\x27any\x27\x20=\x20no\x20filtering\x20(default)'),'customListFilter':z['object']({'includeAddresses':z['array'](z['string']())['optional']()['describe']('Include\x20addresses\x20-\x20only\x20return\x20messages\x20from\x20these\x20addresses\x20(highest\x20priority)'),'excludeAddresses':z['array'](z['string']())['optional']()['describe']('Exclude\x20addresses\x20-\x20exclude\x20messages\x20from\x20these\x20addresses'),'relation':z['enum'](['union','intersection'])['optional']()['describe']('Address\x20list\x20relation:\x20\x27union\x27\x20=\x20combine\x20lists\x20as\x20union,\x20\x27intersection\x27\x20=\x20combine\x20lists\x20as\x20intersection')})['optional']()['describe']('Custom\x20list\x20filter\x20for\x20advanced\x20address-based\x20filtering,\x20works\x20in\x20combination\x20with\x20listFilterMode'),'viewed':z['boolean']()['optional']()['describe']('Filter\x20by\x20viewed\x20status:\x20true\x20=\x20only\x20viewed\x20messages,\x20false\x20=\x20only\x20unviewed\x20messages.\x20A\x20message\x20is\x20considered\x20\x27viewed\x27\x20if\x20viewedAt\x20field\x20exists.\x20Only\x20applicable\x20to\x20received\x20messages'),'viewedAtStart':z['number']()['optional']()['describe']('Filter\x20by\x20viewed\x20timestamp\x20start\x20(inclusive).\x20Only\x20returns\x20messages\x20where\x20viewedAt\x20>=\x20this\x20value.\x20Useful\x20for\x20finding\x20recently\x20viewed\x20messages'),'viewedAtEnd':z['number']()['optional']()['describe']('Filter\x20by\x20viewed\x20timestamp\x20end\x20(inclusive).\x20Only\x20returns\x20messages\x20where\x20viewedAt\x20<=\x20this\x20value.\x20Useful\x20for\x20finding\x20messages\x20viewed\x20before\x20a\x20certain\x20time'),'skipAutoMarkViewed':z['boolean']()['optional']()['describe']('If\x20true,\x20messages\x20returned\x20by\x20this\x20query\x20will\x20NOT\x20be\x20automatically\x20marked\x20as\x20viewed.\x20Default\x20is\x20false,\x20meaning\x20messages\x20are\x20auto-marked\x20as\x20viewed\x20when\x20retrieved\x20through\x20watch_messages')})['describe']('Message\x20filter\x20options\x20-\x20all\x20conditions\x20are\x20optional\x20and\x20combined\x20with\x20AND\x20logic.\x20Use\x20viewed\x20field\x20to\x20filter\x20by\x20read/unread\x20status,\x20and\x20viewedAtStart/viewedAtEnd\x20to\x20filter\x20by\x20when\x20messages\x20were\x20viewed');export const SendMessageOptionsSchema=z['object']({'guardAddress':NameOrAddressSchema['optional']()['describe']('Guard\x20address.\x20REQUIRED\x20when\x20sending\x20Guard-verified\x20messages'),'passportAddress':NameOrAddressSchema['optional']()['describe']('Passport\x20address.\x20REQUIRED\x20when\x20sending\x20Guard-verified\x20messages'),'force':z['boolean']()['optional']()['describe']('Force\x20send\x20even\x20if\x20there\x20are\x20pending\x20Guard\x20messages'),'enable_messenger':z['boolean']()['optional']()['describe']('Auto-enable\x20messenger\x20for\x20the\x20sender\x20account\x20if\x20not\x20already\x20enabled'),'network':EntrypointSchema['optional']()['describe']('Target\x20network\x20for\x20Guard\x20verification\x20(e.g.,\x20testnet,\x20mainnet).\x20REQUIRED\x20when\x20guardAddress\x20and\x20passportAddress\x20are\x20provided\x20—\x20Guard\x20messages\x20and\x20regular\x20messages\x20are\x20independent\x20data\x20systems\x20on\x20different\x20networks'),'replyTo':ReplyToSchema['optional']()['describe']('Quote/reply\x20to\x20a\x20previous\x20message\x20in\x20the\x20SAME\x20conversation.\x20The\x20messageId\x20MUST\x20exist\x20in\x20local\x20storage\x20for\x20the\x20current\x20conversation,\x20otherwise\x20sending\x20fails')})['describe']('Send\x20message\x20options.\x20When\x20guardAddress\x20+\x20passportAddress\x20are\x20provided,\x20the\x20message\x20enters\x20Guard\x20verification\x20flow\x20and\x20network\x20MUST\x20be\x20specified');export const SendFileOptionsSchema=z['object']({'fileName':z['string']()['optional']()['describe']('Custom\x20file\x20name'),'contentType':z['enum'](['wts','wip','zip'])['optional']()['describe']('Content\x20type\x20hint'),'guardAddress':NameOrAddressSchema['optional']()['describe']('Guard\x20address.\x20REQUIRED\x20when\x20sending\x20Guard-verified\x20files'),'passportAddress':NameOrAddressSchema['optional']()['describe']('Passport\x20address.\x20REQUIRED\x20when\x20sending\x20Guard-verified\x20files'),'force':z['boolean']()['optional']()['describe']('Force\x20send\x20even\x20if\x20there\x20are\x20pending\x20Guard\x20messages'),'enable_messenger':z['boolean']()['optional']()['describe']('Auto-enable\x20messenger\x20for\x20the\x20sender\x20account\x20if\x20not\x20already\x20enabled'),'network':EntrypointSchema['optional']()['describe']('Target\x20network\x20for\x20Guard\x20verification\x20(e.g.,\x20testnet,\x20mainnet).\x20REQUIRED\x20when\x20guardAddress\x20and\x20passportAddress\x20are\x20provided\x20—\x20Guard\x20messages\x20and\x20regular\x20messages\x20are\x20independent\x20data\x20systems\x20on\x20different\x20networks')})['describe']('Send\x20file\x20options.\x20When\x20guardAddress\x20+\x20passportAddress\x20are\x20provided,\x20the\x20file\x20enters\x20Guard\x20verification\x20flow\x20and\x20network\x20MUST\x20be\x20specified');export const SendMessageResultSchema=z['object']({'messageId':z['string']()['describe']('Message\x20ID'),'status':MessageStatusSchema['describe']('Message\x20status'),'merkleData':z['object']({'leafIndex':z['number']()['describe']('Leaf\x20index'),'prevRoot':z['string']()['describe']('Previous\x20Merkle\x20Root'),'newRoot':z['string']()['describe']('Current\x20Merkle\x20Root'),'serverSignature':z['string']()['describe']('Server\x20signature'),'serverTimestamp':z['number']()['describe']('Server\x20confirmation\x20timestamp'),'serverPublicKey':z['string']()['describe']('Server\x20public\x20key')})['optional']()['describe']('Merkle\x20Tree\x20proof\x20data'),'guardList':z['array'](z['string']())['optional']()['describe']('Guard\x20list\x20(only\x20returned\x20on\x20error)'),'lastReceivedLeafIndex':z['number']()['optional']()['describe']('Last\x20received\x20leaf\x20index\x20(for\x20message\x20confirmation)')})['describe']('Send\x20message\x20result');const BaseRangeSchema=z['object']({'type':RangeTypeSchema['describe']('Range\x20type'),'start':z['union']([z['number'](),z['string']()])['describe']('Start\x20value'),'end':z['union']([z['number'](),z['string']()])['describe']('End\x20value')});export const TimeRangeSchema=BaseRangeSchema['extend']({'type':z['literal']('time'),'start':z['number'](),'end':z['number']()});export const MessageIdRangeSchema=BaseRangeSchema['extend']({'type':z['literal']('messageId'),'start':z['string'](),'end':z['string']()});export const SeqIndexRangeSchema=BaseRangeSchema['extend']({'type':z['literal']('seqIndex'),'start':z['number'](),'end':z['number']()});export const WtsRangeSchema=z['discriminatedUnion']('type',[TimeRangeSchema,MessageIdRangeSchema,SeqIndexRangeSchema])['describe']('WTS\x20range\x20filter\x20parameters');export const WtsGenerationParamsSchema=z['object']({'myAccount':NameOrAddressSchema['describe']('My\x20account\x20name\x20or\x20address\x20(string)'),'peerAccount':AccountOrMark_AddressAISchema['describe']('Peer\x20account\x20name\x20or\x20address\x20-\x20can\x20be\x20a\x20string\x20(name/address)\x20or\x20full\x20object'),'range':WtsRangeSchema['optional']()['describe']('Range\x20filter\x20parameters'),'excludePlaintext':z['boolean']()['optional']()['describe']('Whether\x20to\x20exclude\x20plaintext'),'outputDir':z['string']()['optional']()['describe']('Output\x20directory\x20path.\x20If\x20not\x20specified,\x20defaults\x20to\x20the\x20workspace/wts\x20directory')})['describe']('WTS\x20generation\x20parameters');export const WtsFileResultSchema=z['object']({'files':z['array'](z['string']())['describe']('Generated\x20WTS\x20file\x20paths'),'htmlFiles':z['array'](z['string']())['describe']('Generated\x20HTML\x20report\x20paths\x20—\x20one\x20human-readable\x20companion\x20per\x20WTS\x20file,\x20written\x20next\x20to\x20it\x20(same\x20base\x20name)'),'totalMessageCount':z['number']()['describe']('Total\x20message\x20count'),'timeRange':z['object']({'start':z['number']()['describe']('Start\x20time'),'end':z['number']()['describe']('End\x20time')})['describe']('Time\x20range')})['describe']('WTS\x20file\x20result');export const WtsSignatureVerificationSchema=z['object']({'publicKey':z['string']()['describe']('Signer\x20public\x20key'),'address':z['string']()['optional']()['describe']('Signer\x20address'),'valid':z['boolean']()['describe']('Whether\x20signature\x20is\x20valid')})['describe']('WTS\x20signature\x20verification\x20details');export const WtsVerificationResultSchema=z['object']({'valid':z['boolean']()['describe']('Whether\x20verification\x20succeeded'),'error':z['string']()['optional']()['describe']('Error\x20message\x20if\x20verification\x20failed'),'hashValid':z['boolean']()['describe']('Whether\x20hash\x20validation\x20passed'),'hasSignature':z['boolean']()['describe']('Whether\x20WTS\x20has\x20signatures'),'signatureValid':z['boolean']()['optional']()['describe']('Whether\x20signature\x20validation\x20passed'),'signatures':z['array'](WtsSignatureVerificationSchema)['optional']()['describe']('Signature\x20verification\x20details')})['describe']('WTS\x20verification\x20result');export const WtsToHtmlOptionsSchema=z['object']({'title':z['string']()['optional']()['describe']('HTML\x20document\x20title'),'theme':z['enum'](['light','dark'])['optional']()['describe']('HTML\x20theme'),'outputPath':z['string']()['optional']()['describe']('Output\x20file\x20path')})['describe']('WTS\x20to\x20HTML\x20conversion\x20options');export const AddressExistenceSchema=z['object']({'address':z['string']()['describe']('Address'),'exists':z['boolean']()['describe']('Whether\x20address\x20exists\x20in\x20list')})['describe']('Address\x20existence\x20check\x20result');export const GuardListItemSchema=z['object']({'guardAddress':z['string']()['describe']('Guard\x20address'),'passportValiditySeconds':z['number']()['describe']('Passport\x20validity\x20in\x20seconds')})['describe']('Guard\x20list\x20item');export const ListOperationResponseSchema=z['object']({'success':z['boolean']()['describe']('Whether\x20operation\x20succeeded'),'operation':z['string']()['describe']('Operation\x20performed'),'modifiedCount':z['number']()['describe']('Number\x20of\x20items\x20modified'),'currentCount':z['number']()['describe']('Current\x20list\x20size'),'maxCount':z['number']()['describe']('Maximum\x20list\x20size'),'invalidAddresses':z['array'](z['string']())['optional']()['nullable']()['describe']('Invalid\x20addresses'),'existResults':z['array'](AddressExistenceSchema)['optional']()['nullable']()['describe']('Existence\x20check\x20results'),'message':z['string']()['optional']()['nullable']()['describe']('Operation\x20message'),'currentList':z['array'](z['string']())['optional']()['nullable']()['describe']('Current\x20list\x20content'),'currentGuardList':z['array'](GuardListItemSchema)['optional']()['nullable']()['describe']('Current\x20guard\x20list\x20content')})['describe']('List\x20operation\x20response');export const BlacklistOperationSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('add'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20add\x20to\x20blacklist\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')}),z['object']({'op':z['literal']('remove'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20remove\x20from\x20blacklist\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')}),z['object']({'op':z['literal']('clear')}),z['object']({'op':z['literal']('get')}),z['object']({'op':z['literal']('exist'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20check\x20existence\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')})])['describe']('Blacklist\x20management\x20operation');export const FriendslistOperationSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('add'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20add\x20to\x20friends\x20list\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')}),z['object']({'op':z['literal']('remove'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20remove\x20from\x20friends\x20list\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')}),z['object']({'op':z['literal']('clear')}),z['object']({'op':z['literal']('get')}),z['object']({'op':z['literal']('exist'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20check\x20existence\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')})])['describe']('Friends\x20list\x20management\x20operation');export const GuardParamSchema=z['object']({'guard':NameOrAddressSchema['describe']('Guard\x20address\x20or\x20name'),'passportValiditySeconds':z['number']()['min'](0xa)['max'](0x12cc0300)['describe']('Passport\x20validity\x20in\x20seconds\x20(10s\x20to\x2010\x20years)')})['describe']('Guard\x20parameter');export const GuardlistOperationSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('add'),'guards':z['array'](GuardParamSchema)['min'](0x1)['max'](0xa)['describe']('Guards\x20to\x20add\x20to\x20guard\x20list')}),z['object']({'op':z['literal']('remove'),'guards':z['array'](NameOrAddressSchema)['min'](0x1)['max'](0xa)['describe']('Guard\x20addresses\x20to\x20remove\x20from\x20guard\x20list')}),z['object']({'op':z['literal']('get')})])['describe']('Guard\x20list\x20management\x20operation');export const SettingsOperationSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('get')}),z['object']({'op':z['literal']('set'),'allowStrangerMessages':z['boolean']()['optional']()['describe']('Allow\x20messages\x20from\x20strangers'),'maxInboxSize':z['number']()['min'](0x1)['optional']()['describe']('Maximum\x20inbox\x20size')})])['describe']('Settings\x20management\x20operation');export const GetSettingsResponseSchema=z['object']({'allowStrangerMessages':z['boolean']()['optional']()['describe']('Whether\x20messages\x20from\x20strangers\x20are\x20allowed'),'maxInboxSize':z['number']()['optional']()['describe']('Current\x20maximum\x20inbox\x20size'),'minUserInboxSize':z['number']()['describe']('Server\x20minimum\x20allowed\x20inbox\x20size\x20limit'),'maxUserInboxSize':z['number']()['describe']('Server\x20maximum\x20allowed\x20inbox\x20size\x20limit'),'defaultAllowStrangerMessages':z['boolean']()['describe']('Server\x20default\x20setting\x20for\x20allowing\x20stranger\x20messages')})['describe']('Get\x20settings\x20response');const GoalEvidenceRef={'goal_id':z['string']()['optional']()['describe']('Optional\x20goal\x20id\x20(from\x20goal_operation).\x20When\x20set,\x20this\x20act\x20is\x20recorded\x20as\x20communication\x20'+'evidence\x20on\x20the\x20goal\x27s\x20TaskProcess\x20(K3\x2027\x20G5)\x20—\x20use\x20it\x20only\x20when\x20the\x20act\x20belongs\x20to\x20an\x20active\x20'+'goal\x27s\x20execution\x20(order\x20negotiation,\x20required-info\x20confirmation,\x20WTS\x20evidence,\x20on-chain\x20proof).')};export const MessengerOperationInputSchema=z['discriminatedUnion']('operation',[z['object']({'operation':z['literal']('watch_conversations'),'filter':ConversationsFilterSchema['optional']()['describe']('Conversations\x20filter\x20options\x20-\x20use\x20unreadOnly\x20to\x20find\x20conversations\x20with\x20unread\x20messages,\x20previewMessageCount\x20to\x20control\x20message\x20previews\x20(default\x202),\x20and\x20sortBy/sortOrder\x20to\x20customize\x20sorting')})['strict'](),z['object']({'operation':z['literal']('send_message'),'from':NameOrAddressSchema['optional']()['describe']('Sender\x20account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'to':AccountOrMark_AddressAISchema['describe']('Recipient\x20address\x20or\x20account\x20name\x20-\x20can\x20be\x20a\x20string\x20(name/address)\x20or\x20full\x20object'),'content':z['string']()['max'](NORMAL_MESSAGE_BYTES_LIMIT)['describe']('Message\x20content\x20text\x20(max\x2010240\x20bytes)'),'options':SendMessageOptionsSchema['optional']()['describe']('Optional\x20message\x20settings')})['strict'](),z['object']({'operation':z['literal']('send_file'),'from':NameOrAddressSchema['optional']()['describe']('Sender\x20account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'to':AccountOrMark_AddressAISchema['describe']('Recipient\x20address\x20or\x20account\x20name\x20-\x20can\x20be\x20a\x20string\x20(name/address)\x20or\x20full\x20object'),'filePath':z['string']()['describe']('Local\x20file\x20path\x20to\x20send.\x20File\x20will\x20be\x20compressed\x20as\x20ZIP\x20before\x20sending'),'options':SendFileOptionsSchema['optional']()['describe']('Optional\x20file\x20sending\x20settings'),...GoalEvidenceRef})['strict'](),z['object']({'operation':z['literal']('send_required_info'),'from':NameOrAddressSchema['optional']()['describe']('Sender\x20account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'to':AccountOrMark_AddressAISchema['describe']('Recipient\x20address\x20(the\x20merchant\x27s\x20Contact\x20IM\x20address).\x20Can\x20be\x20a\x20string\x20or\x20full\x20object'),'fields':z['array'](z['string']())['optional']()['describe']('LocalInfo\x20field\x20names\x20to\x20send\x20(e.g.\x20[\x27phone\x27,\x27shipping_address\x27]).\x20If\x20omitted,\x20ALL\x20LocalInfo\x20fields\x20are\x20included'),'content':z['string']()['optional']()['describe']('Explicit\x20plaintext\x20content\x20to\x20send.\x20If\x20provided,\x20fields\x20are\x20ignored\x20and\x20LocalInfo\x20is\x20NOT\x20auto-assembled'),'options':SendMessageOptionsSchema['optional']()['describe']('Optional\x20message\x20settings\x20(guardAddress/passportAddress/network/replyTo/force/enable_messenger)')})['strict'](),z['object']({'operation':z['literal']('watch_messages'),'filter':MessageFilterSchema['optional']()['describe']('Message\x20filter\x20options')})['strict'](),z['object']({'operation':z['literal']('extract_zip_messages'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'messages':z['array'](z['union']([z['string'](),MessageSchema]))['describe']('Array\x20of\x20message\x20objects\x20or\x20message\x20IDs\x20to\x20extract'),'outputDir':z['string']()['optional']()['describe']('Output\x20directory\x20path\x20for\x20extracted\x20files.\x20If\x20not\x20specified,\x20defaults\x20to\x20the\x20workspace/extracted\x20directory')})['strict'](),z['object']({'operation':z['literal']('generate_wts'),'params':WtsGenerationParamsSchema['describe']('WTS\x20generation\x20parameters')})['strict'](),z['object']({'operation':z['literal']('verify_wts'),'wtsFilePath':z['string']()['describe']('WTS\x20file\x20path\x20to\x20verify')})['strict'](),z['object']({'operation':z['literal']('sign_wts'),'wtsFilePath':z['string']()['describe']('WTS\x20file\x20path\x20to\x20sign'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address\x20to\x20sign\x20with.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'outputPath':z['string']()['optional']()['describe']('Output\x20file\x20path.\x20If\x20not\x20specified,\x20saves\x20to\x20signed_*.wts')})['strict'](),z['object']({'operation':z['literal']('wts2html'),'wtsPath':z['string']()['describe']('WTS\x20file\x20path\x20or\x20directory\x20to\x20convert'),'options':WtsToHtmlOptionsSchema['optional']()['describe']('Conversion\x20options')})['strict'](),z['object']({'operation':z['literal']('proof_message'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'messageId':z['string']()['describe']('Message\x20ID\x20to\x20proof\x20on-chain'),'network':EntrypointSchema['describe']('Network\x20to\x20use\x20for\x20on-chain\x20proof\x20(required)'),...GoalEvidenceRef})['strict'](),z['object']({'operation':z['literal']('blacklist'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'blacklist':BlacklistOperationSchema['describe']('Blacklist\x20management\x20operation')})['strict'](),z['object']({'operation':z['literal']('friendslist'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'friendslist':FriendslistOperationSchema['describe']('Friends\x20list\x20management\x20operation')})['strict'](),z['object']({'operation':z['literal']('guardlist'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'guardlist':GuardlistOperationSchema['describe']('Guard\x20list\x20management\x20operation')})['strict'](),z['object']({'operation':z['literal']('settings'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'settings':SettingsOperationSchema['describe']('Settings\x20management\x20operation')})['strict'](),z['object']({'operation':z['literal']('mark_messages_as_viewed'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'messageIds':z['array'](z['string']())['min'](0x1)['max'](0x3e8)['describe']('Array\x20of\x20message\x20IDs\x20to\x20mark\x20as\x20viewed\x20(1-1000\x20messages).\x20Only\x20messages\x20belonging\x20to\x20this\x20account\x20will\x20be\x20marked')})['strict'](),z['object']({'operation':z['literal']('mark_conversation_as_viewed'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'peerAddress':AccountOrMark_AddressAISchema['describe']('Peer\x20address\x20or\x20account\x20name\x20-\x20can\x20be\x20a\x20string\x20(name/address)\x20or\x20full\x20object.\x20All\x20unviewed\x20received\x20messages\x20from\x20this\x20peer\x20will\x20be\x20marked\x20as\x20viewed')})['strict'](),z['object']({'operation':z['literal']('pull_messages'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'limit':z['number']()['optional']()['describe']('Maximum\x20number\x20of\x20messages\x20to\x20pull\x20from\x20server')})['strict']()])['describe']('Messenger\x20operation\x20input\x20schema.\x20PREREQUISITE:\x20an\x20account\x20must\x20ENABLE\x20messenger\x20before\x20sending/receiving.\x20'+'There\x20is\x20NO\x20\x27enable\x27\x20operation\x20in\x20this\x20tool\x20—\x20enable\x20via\x20account_operation\x20{messenger:\x20{enabled:\x20true,\x20name_or_account:\x20\x27<account>\x27}},\x20'+'or\x20implicitly\x20via\x20send_message/send_file\x20with\x20options.enable_messenger:\x20true.\x20'+'Use\x20proof_message\x20to\x20anchor\x20a\x20message\x27s\x20WTS\x20proof\x20on-chain\x20(creates\x20a\x20Proof\x20object\x20consumable\x20by\x20Guards\x20via\x20proof.signer/proof.time\x20queries).');export const MessengerOperationOutputSchema=z['object']({'result':z['discriminatedUnion']('operation',[z['object']({'operation':z['literal']('watch_conversations'),'result':z['array'](ConversationInfoSchema)['describe']('List\x20of\x20conversations')}),z['object']({'operation':z['literal']('send_message'),'result':SendMessageResultSchema['describe']('Send\x20message\x20result')}),z['object']({'operation':z['literal']('send_file'),'result':SendMessageResultSchema['describe']('Send\x20file\x20result')}),z['object']({'operation':z['literal']('send_required_info'),'result':SendMessageResultSchema['extend']({'sent_fields':z['array'](z['string']())['describe']('LocalInfo\x20field\x20names\x20that\x20were\x20assembled\x20and\x20sent')})['describe']('Send\x20required-info\x20result\x20(with\x20the\x20assembled\x20field\x20names)')}),z['object']({'operation':z['literal']('watch_messages'),'result':z['array'](MessageSchema)['describe']('List\x20of\x20messages')}),z['object']({'operation':z['literal']('extract_zip_messages'),'result':z['array'](z['string']())['describe']('Extracted\x20file\x20paths')}),z['object']({'operation':z['literal']('generate_wts'),'result':WtsFileResultSchema['describe']('Generate\x20WTS\x20result')}),z['object']({'operation':z['literal']('verify_wts'),'result':WtsVerificationResultSchema['describe']('WTS\x20verification\x20result')}),z['object']({'operation':z['literal']('sign_wts'),'result':z['string']()['describe']('Signed\x20WTS\x20file\x20path')}),z['object']({'operation':z['literal']('wts2html'),'result':z['union']([z['string'](),z['array'](z['string']())])['describe']('Output\x20file\x20path(s)\x20(always\x20writes\x20files;\x20never\x20returns\x20raw\x20HTML)')}),z['object']({'operation':z['literal']('proof_message'),'result':z['object']({'proofAddress':z['string']()['describe']('Proof\x20object\x20address\x20on\x20blockchain')})['describe']('Proof\x20message\x20result')}),z['object']({'operation':z['literal']('blacklist'),'op':z['enum'](['add','remove','clear','get','exist'])['describe']('Operation\x20type'),'result':z['union']([ListOperationResponseSchema,z['array'](z['string']())])['describe']('Blacklist\x20operation\x20result')}),z['object']({'operation':z['literal']('friendslist'),'op':z['enum'](['add','remove','clear','get','exist'])['describe']('Operation\x20type'),'result':z['union']([ListOperationResponseSchema,z['array'](z['string']())])['describe']('Friends\x20list\x20operation\x20result')}),z['object']({'operation':z['literal']('guardlist'),'op':z['enum'](['add','remove','get'])['describe']('Operation\x20type'),'result':ListOperationResponseSchema['describe']('Guard\x20list\x20operation\x20result')}),z['object']({'operation':z['literal']('settings'),'op':z['enum'](['get','set'])['describe']('Operation\x20type'),'result':z['union']([GetSettingsResponseSchema,z['boolean']()])['describe']('Settings\x20operation\x20result\x20-\x20GetSettingsResponse\x20for\x20\x27get\x27\x20operation,\x20boolean\x20for\x20\x27set\x27\x20operation')}),z['object']({'operation':z['literal']('mark_messages_as_viewed'),'result':z['number']()['describe']('Number\x20of\x20messages\x20successfully\x20marked\x20as\x20viewed.\x20Only\x20messages\x20that\x20were\x20previously\x20unviewed\x20are\x20counted')}),z['object']({'operation':z['literal']('mark_conversation_as_viewed'),'result':z['number']()['describe']('Number\x20of\x20messages\x20successfully\x20marked\x20as\x20viewed\x20in\x20the\x20conversation.\x20Only\x20received\x20messages\x20that\x20were\x20previously\x20unviewed\x20are\x20counted')}),z['object']({'operation':z['literal']('pull_messages'),'result':z['array'](MessageSchema)['describe']('List\x20of\x20messages\x20pulled\x20from\x20server')}),z['object']({'operation':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),'error_code':z['string']()['optional']()['describe']('Error\x20code'),'retryable':z['boolean']()['optional']()['describe']('Whether\x20the\x20operation\x20is\x20retryable'),'recovery_hint':z['string']()['optional']()['describe']('Recovery\x20hint')})['describe']('Error\x20response')])['describe']('Messenger\x20operation\x20result\x20discriminated\x20union'),'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20messenger\x20operation')})['describe']('Messenger\x20operation\x20output\x20schema');
|
|
1
|
+
import{z}from'zod';import{NameOrAddressSchema,EntrypointSchema,AccountOrMark_AddressAISchema,ManyAccountOrMark_AddressAISchema}from'../common/index.js';import{SemanticSummarySchema}from'../call/base.js';import{NORMAL_MESSAGE_BYTES_LIMIT}from'@wowok/wowok';export const MessageStatusSchema=z['enum'](['pending','confirmed','read','failed','rejected','decrypted','decrypt_failed']);export const MessageDirectionSchema=z['enum'](['sent','received']);export const MessageTypeSchema=z['union']([z['literal'](0x1),z['literal'](0x3)]);export const MessageContentTypeSchema=z['enum'](['text','zip','wts','wip']);export const MessageTimeFieldSchema=z['enum'](['createdAt','receivedAt','serverTimestamp']);export const RangeTypeSchema=z['enum'](['time','messageId','seqIndex']);export const AttachmentKindSchema=z['enum'](['image','video','audio','voice','file','wts','wip']);export const AttachmentDescriptorSchema=z['object']({'kind':AttachmentKindSchema['describe']('Attachment\x20business\x20type:\x20image/video/audio\x20are\x20inline-renderable\x20media;\x20\x27voice\x27\x20is\x20an\x20explicit\x20voice\x20message\x20(webm\x20cannot\x20be\x20auto-distinguished\x20from\x20video);\x20\x27file\x27\x20is\x20a\x20generic\x20document;\x20wts/wip\x20are\x20evidence\x20files'),'fileName':z['string']()['describe']('Original\x20file\x20name\x20(transport\x20.zip\x20suffix\x20stripped)'),'mimeType':z['string']()['describe']('MIME\x20type\x20inferred\x20from\x20extension\x20or\x20sender-provided'),'size':z['number']()['describe']('Payload\x20size\x20in\x20bytes\x20(uncompressed)'),'caption':z['string']()['optional']()['describe']('Sender-provided\x20caption\x20(E2EE,\x20inside\x20the\x20encrypted\x20envelope)'),'durationMs':z['number']()['optional']()['describe']('Audio/video\x20duration\x20in\x20milliseconds'),'width':z['number']()['optional']()['describe']('Media\x20width\x20in\x20pixels'),'height':z['number']()['optional']()['describe']('Media\x20height\x20in\x20pixels')})['describe']('Byte-free\x20attachment\x20descriptor.\x20The\x20base64\x20payload\x20is\x20deliberately\x20NOT\x20included\x20—\x20use\x20save_attachment\x20to\x20persist\x20the\x20file');export const ZipMetadataSchema=z['object']({'fileName':z['string']()['describe']('ZIP\x20filename'),'fileSize':z['number']()['describe']('File\x20size\x20in\x20bytes'),'fileHash':z['string']()['describe']('File\x20SHA256\x20hash'),'contentType':MessageContentTypeSchema['describe']('Content\x20type'),'localCachePath':z['string']()['optional']()['describe']('Local\x20cache\x20path'),'downloadedAt':z['number']()['optional']()['describe']('Download\x20timestamp')})['describe']('ZIP\x20file\x20metadata');export const ReplyToSchema=z['object']({'messageId':z['string']()['describe']('Replied-to\x20message\x20ID\x20(unique\x20within\x20the\x20conversation)')})['describe']('Reply\x20(quote)\x20relationship\x20—\x20references\x20a\x20previous\x20message\x20in\x20the\x20same\x20conversation.\x20The\x20referenced\x20message\x27s\x20sender/preview\x20are\x20resolved\x20locally\x20by\x20messageId');export const MessageSchema=z['object']({'messageId':z['string']()['describe']('Message\x20ID'),'fromAddress':z['string']()['describe']('Sender\x20address'),'toAddress':z['string']()['describe']('Recipient\x20address'),'plaintextHash':z['string']()['describe']('Plaintext\x20hash'),'plaintext':z['string']()['optional']()['describe']('Decrypted\x20plaintext\x20text.\x20UNDEFINED\x20for\x20attachment\x20messages\x20(zipMetadata\x20present)\x20—\x20their\x20base64\x20envelope\x20is\x20stripped\x20at\x20the\x20read\x20boundary;\x20read\x20msg.attachment\x20for\x20metadata\x20and\x20use\x20save_attachment\x20for\x20bytes'),'attachment':AttachmentDescriptorSchema['optional']()['describe']('Present\x20when\x20this\x20message\x20is\x20an\x20attachment\x20(zipMetadata\x20present).\x20Byte-free\x20descriptor;\x20payload\x20never\x20embedded'),'replyTo':ReplyToSchema['optional']()['describe']('Quoted\x20(replied-to)\x20message\x20reference,\x20if\x20this\x20message\x20replies\x20to\x20a\x20previous\x20one'),'guardAddress':z['string']()['optional']()['describe']('Guard\x20address'),'passportAddress':z['string']()['optional']()['describe']('Passport\x20address'),'lastReceivedLeafIndex':z['number']()['optional']()['describe']('Last\x20received\x20leaf\x20index'),'direction':MessageDirectionSchema['describe']('Message\x20direction'),'status':MessageStatusSchema['describe']('Message\x20status'),'msgType':MessageTypeSchema['describe']('Message\x20type'),'leafIndex':z['number']()['optional']()['describe']('Leaf\x20index'),'prevRoot':z['string']()['optional']()['describe']('Previous\x20Merkle\x20Root'),'newRoot':z['string']()['optional']()['describe']('Current\x20Merkle\x20Root'),'serverSignature':z['string']()['optional']()['describe']('Server\x20signature'),'serverTimestamp':z['number']()['optional']()['describe']('Server\x20confirmation\x20timestamp'),'serverPublicKey':z['string']()['optional']()['describe']('Server\x20public\x20key'),'arkConfirmed':z['object']({'recipient':z['string']()['describe']('Recipient\x20address'),'recipientPublicKey':z['string']()['describe']('Recipient\x20public\x20key'),'signature':z['string']()['describe']('Recipient\x20signature'),'timestamp':z['number']()['describe']('ARK\x20confirmation\x20time')})['optional']()['describe']('ARK\x20confirmation'),'createdAt':z['number']()['describe']('Message\x20creation\x20time\x20(client)'),'receivedAt':z['number']()['optional']()['describe']('Local\x20reception\x20time'),'zipMetadata':ZipMetadataSchema['optional']()['describe']('ZIP\x20file\x20metadata'),'proof':z['string']()['optional']()['describe']('On-chain\x20proof\x20object\x20address'),'decryptError':z['string']()['optional']()['describe']('Decryption\x20failure\x20reason'),'decryptAttempts':z['number']()['optional']()['describe']('Number\x20of\x20decryption\x20attempts'),'lastDecryptAttemptAt':z['number']()['optional']()['describe']('Last\x20decryption\x20attempt\x20timestamp'),'viewedAt':z['number']()['optional']()['describe']('Timestamp\x20when\x20the\x20current\x20user\x20viewed\x20this\x20message\x20(local\x20storage).\x20If\x20present,\x20indicates\x20the\x20message\x20has\x20been\x20viewed\x20by\x20the\x20user.\x20Only\x20applicable\x20to\x20received\x20messages\x20(direction\x20===\x20\x27received\x27)')})['describe']('Message\x20object');export const PullAccountResultSchema=z['object']({'account':z['string']()['describe']('Account\x20address'),'pulled':z['number']()['describe']('Number\x20of\x20messages\x20pulled\x20and\x20decrypted\x20in\x20this\x20round'),'messages':z['array'](MessageSchema)['describe']('Newly\x20pulled\x20messages\x20(read\x20boundary\x20applied:\x20attachment\x20payloads\x20stripped\x20into\x20descriptors)'),'error':z['string']()['optional']()['describe']('Per-account\x20pull\x20error;\x20absent\x20on\x20success.\x20Other\x20accounts\x20are\x20unaffected')})['describe']('Per-account\x20fan-out\x20pull\x20result');export const ConversationInfoSchema=z['object']({'peerAddress':z['string']()['describe']('Peer\x20address'),'lastMessageAt':z['number']()['describe']('Last\x20message\x20time'),'messageCount':z['number']()['describe']('Total\x20message\x20count'),'unreadCount':z['number']()['describe']('Unread\x20message\x20count\x20-\x20count\x20of\x20received\x20messages\x20that\x20have\x20not\x20been\x20viewed\x20(viewedAt\x20is\x20undefined)'),'lastMessagePreview':z['string']()['optional']()['describe']('Last\x20message\x20preview\x20text'),'previewMessages':z['array'](MessageSchema)['optional']()['describe']('Preview\x20messages\x20for\x20this\x20conversation\x20(default\x202\x20messages,\x20sorted\x20by\x20time\x20descending)')})['describe']('Conversation\x20info\x20with\x20unread\x20count\x20and\x20preview\x20messages');export const ConversationsFilterSchema=z['object']({'account':z['string']()['optional']()['describe']('Account\x20name\x20or\x20address\x20to\x20query\x20conversations\x20for.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'unreadOnly':z['boolean']()['optional']()['describe']('If\x20true,\x20only\x20return\x20conversations\x20with\x20unread\x20messages\x20(unreadCount\x20>\x200).\x20Useful\x20for\x20quickly\x20finding\x20conversations\x20needing\x20attention'),'startTime':z['number']()['optional']()['describe']('Start\x20timestamp\x20(ms)\x20for\x20filtering\x20conversations\x20by\x20lastMessageAt.\x20Only\x20returns\x20conversations\x20where\x20lastMessageAt\x20>=\x20this\x20value'),'endTime':z['number']()['optional']()['describe']('End\x20timestamp\x20(ms)\x20for\x20filtering\x20conversations\x20by\x20lastMessageAt.\x20Only\x20returns\x20conversations\x20where\x20lastMessageAt\x20<=\x20this\x20value'),'previewMessageCount':z['number']()['optional']()['describe']('Number\x20of\x20preview\x20messages\x20to\x20include\x20for\x20each\x20conversation\x20(default:\x202).\x20Set\x20to\x200\x20to\x20disable\x20preview\x20messages.\x20If\x20>\x200,\x20preview\x20messages\x20are\x20automatically\x20included'),'sortBy':z['enum'](['lastMessageAt','unreadCount','messageCount'])['optional']()['describe']('Sort\x20conversations\x20by:\x20\x27lastMessageAt\x27\x20=\x20most\x20recent\x20activity\x20first,\x20\x27unreadCount\x27\x20=\x20most\x20unread\x20messages\x20first,\x20\x27messageCount\x27\x20=\x20most\x20total\x20messages\x20first'),'sortOrder':z['enum'](['asc','desc'])['optional']()['describe']('Sort\x20order:\x20\x27asc\x27\x20=\x20ascending\x20(oldest/smallest\x20first),\x20\x27desc\x27\x20=\x20descending\x20(newest/largest\x20first).\x20Default\x20is\x20\x27desc\x27\x20for\x20time-based\x20sorting'),'skipAutoMarkViewed':z['boolean']()['optional']()['describe']('If\x20true,\x20preview\x20messages\x20will\x20NOT\x20be\x20automatically\x20marked\x20as\x20viewed\x20when\x20retrieved.\x20Default\x20is\x20false,\x20meaning\x20preview\x20messages\x20are\x20auto-marked\x20as\x20viewed'),'sync':z['boolean']()['optional']()['describe']('Sync\x20mode\x20(default\x20true):\x20true\x20=\x20block\x20on\x20one\x20server\x20pull\x20per\x20account\x20before\x20returning\x20(freshest\x20data,\x20one-shot\x20semantics);\x20false\x20=\x20return\x20local\x20data\x20immediately\x20and\x20trigger\x20a\x20background\x20server\x20pull\x20whose\x20results\x20appear\x20on\x20later\x20queries.\x20Only\x20set\x20false\x20when\x20slightly\x20stale\x20data\x20is\x20acceptable')})['describe']('Conversations\x20filter\x20options\x20-\x20use\x20unreadOnly\x20to\x20quickly\x20find\x20active\x20conversations,\x20and\x20previewMessageCount\x20to\x20control\x20how\x20many\x20recent\x20messages\x20are\x20included');export const MessageFilterSchema=z['object']({'account':z['string']()['optional']()['describe']('Account\x20to\x20filter\x20messages\x20for'),'direction':MessageDirectionSchema['optional']()['describe']('Filter\x20by\x20message\x20direction'),'status':MessageStatusSchema['optional']()['describe']('Filter\x20by\x20message\x20status'),'peerAddress':AccountOrMark_AddressAISchema['optional']()['describe']('Filter\x20by\x20peer\x20address\x20-\x20can\x20be\x20a\x20string\x20(name/address)\x20or\x20full\x20object'),'msgType':MessageTypeSchema['optional']()['describe']('Filter\x20by\x20message\x20type'),'contentType':MessageContentTypeSchema['optional']()['describe']('Filter\x20by\x20content\x20type'),'decryptedOnly':z['boolean']()['optional']()['describe']('Only\x20return\x20decrypted\x20messages'),'sync':z['boolean']()['optional']()['describe']('Sync\x20mode\x20(default\x20true):\x20true\x20=\x20block\x20on\x20one\x20server\x20pull\x20before\x20returning\x20(freshest\x20data,\x20one-shot\x20semantics);\x20false\x20=\x20return\x20local\x20data\x20immediately\x20and\x20trigger\x20a\x20background\x20server\x20pull\x20whose\x20results\x20appear\x20on\x20later\x20queries.\x20Only\x20set\x20false\x20when\x20slightly\x20stale\x20data\x20is\x20acceptable'),'confirmedOnly':z['boolean']()['optional']()['describe']('Only\x20return\x20confirmed\x20messages'),'keyword':z['string']()['optional']()['describe']('Search\x20keyword\x20in\x20plaintext'),'sortOrder':z['enum'](['asc','desc'])['optional']()['describe']('Sort\x20order:\x20asc\x20or\x20desc'),'limit':z['number']()['optional']()['describe']('Return\x20limit'),'offset':z['number']()['optional']()['describe']('Pagination\x20offset'),'timeField':MessageTimeFieldSchema['optional']()['describe']('Time\x20field\x20for\x20time\x20filtering'),'startTime':z['number']()['optional']()['describe']('Start\x20timestamp\x20(ms)'),'endTime':z['number']()['optional']()['describe']('End\x20timestamp\x20(ms)'),'createdAtStart':z['number']()['optional']()['describe']('Created\x20at\x20start\x20time'),'createdAtEnd':z['number']()['optional']()['describe']('Created\x20at\x20end\x20time'),'receivedAtStart':z['number']()['optional']()['describe']('Received\x20at\x20start\x20time'),'receivedAtEnd':z['number']()['optional']()['describe']('Received\x20at\x20end\x20time'),'serverTimestampStart':z['number']()['optional']()['describe']('Server\x20timestamp\x20start\x20time'),'serverTimestampEnd':z['number']()['optional']()['describe']('Server\x20timestamp\x20end\x20time'),'arkConfirmedOnly':z['boolean']()['optional']()['describe']('Only\x20return\x20ARK\x20confirmed\x20messages'),'arkTimestampStart':z['number']()['optional']()['describe']('ARK\x20timestamp\x20start'),'arkTimestampEnd':z['number']()['optional']()['describe']('ARK\x20timestamp\x20end'),'proofedOnly':z['boolean']()['optional']()['describe']('Only\x20return\x20messages\x20with\x20proof'),'hasLastReceivedIndexOnly':z['boolean']()['optional']()['describe']('Only\x20return\x20messages\x20with\x20lastReceivedLeafIndex'),'lastReceivedIndexMin':z['number']()['optional']()['describe']('Min\x20lastReceivedLeafIndex'),'lastReceivedIndexMax':z['number']()['optional']()['describe']('Max\x20lastReceivedLeafIndex'),'listFilterMode':z['enum'](['friends','guard','stranger','any'])['optional']()['describe']('List\x20filter\x20mode:\x20\x27friends\x27\x20=\x20only\x20messages\x20from\x20friends\x20list,\x20\x27guard\x27\x20=\x20only\x20messages\x20from\x20Guard\x20list,\x20\x27stranger\x27\x20=\x20only\x20messages\x20from\x20strangers\x20(not\x20in\x20friends/guard\x20lists),\x20\x27any\x27\x20=\x20no\x20filtering\x20(default)'),'customListFilter':z['object']({'includeAddresses':z['array'](z['string']())['optional']()['describe']('Include\x20addresses\x20-\x20only\x20return\x20messages\x20from\x20these\x20addresses\x20(highest\x20priority)'),'excludeAddresses':z['array'](z['string']())['optional']()['describe']('Exclude\x20addresses\x20-\x20exclude\x20messages\x20from\x20these\x20addresses'),'relation':z['enum'](['union','intersection'])['optional']()['describe']('Address\x20list\x20relation:\x20\x27union\x27\x20=\x20combine\x20lists\x20as\x20union,\x20\x27intersection\x27\x20=\x20combine\x20lists\x20as\x20intersection')})['optional']()['describe']('Custom\x20list\x20filter\x20for\x20advanced\x20address-based\x20filtering,\x20works\x20in\x20combination\x20with\x20listFilterMode'),'viewed':z['boolean']()['optional']()['describe']('Filter\x20by\x20viewed\x20status:\x20true\x20=\x20only\x20viewed\x20messages,\x20false\x20=\x20only\x20unviewed\x20messages.\x20A\x20message\x20is\x20considered\x20\x27viewed\x27\x20if\x20viewedAt\x20field\x20exists.\x20Only\x20applicable\x20to\x20received\x20messages'),'viewedAtStart':z['number']()['optional']()['describe']('Filter\x20by\x20viewed\x20timestamp\x20start\x20(inclusive).\x20Only\x20returns\x20messages\x20where\x20viewedAt\x20>=\x20this\x20value.\x20Useful\x20for\x20finding\x20recently\x20viewed\x20messages'),'viewedAtEnd':z['number']()['optional']()['describe']('Filter\x20by\x20viewed\x20timestamp\x20end\x20(inclusive).\x20Only\x20returns\x20messages\x20where\x20viewedAt\x20<=\x20this\x20value.\x20Useful\x20for\x20finding\x20messages\x20viewed\x20before\x20a\x20certain\x20time'),'skipAutoMarkViewed':z['boolean']()['optional']()['describe']('If\x20true,\x20messages\x20returned\x20by\x20this\x20query\x20will\x20NOT\x20be\x20automatically\x20marked\x20as\x20viewed.\x20Default\x20is\x20false,\x20meaning\x20messages\x20are\x20auto-marked\x20as\x20viewed\x20when\x20retrieved\x20through\x20watch_messages')})['describe']('Message\x20filter\x20options\x20-\x20all\x20conditions\x20are\x20optional\x20and\x20combined\x20with\x20AND\x20logic.\x20Use\x20viewed\x20field\x20to\x20filter\x20by\x20read/unread\x20status,\x20and\x20viewedAtStart/viewedAtEnd\x20to\x20filter\x20by\x20when\x20messages\x20were\x20viewed');export const SendMessageOptionsSchema=z['object']({'guardAddress':NameOrAddressSchema['optional']()['describe']('Guard\x20address.\x20REQUIRED\x20when\x20sending\x20Guard-verified\x20messages'),'passportAddress':NameOrAddressSchema['optional']()['describe']('Passport\x20address.\x20REQUIRED\x20when\x20sending\x20Guard-verified\x20messages'),'force':z['boolean']()['optional']()['describe']('Force\x20send\x20even\x20if\x20there\x20are\x20pending\x20Guard\x20messages'),'enable_messenger':z['boolean']()['optional']()['describe']('Auto-enable\x20messenger\x20for\x20the\x20sender\x20account\x20if\x20not\x20already\x20enabled'),'network':EntrypointSchema['optional']()['describe']('Target\x20network\x20for\x20Guard\x20verification\x20(e.g.,\x20testnet,\x20mainnet).\x20REQUIRED\x20when\x20guardAddress\x20and\x20passportAddress\x20are\x20provided\x20—\x20Guard\x20messages\x20and\x20regular\x20messages\x20are\x20independent\x20data\x20systems\x20on\x20different\x20networks'),'replyTo':ReplyToSchema['optional']()['describe']('Quote/reply\x20to\x20a\x20previous\x20message\x20in\x20the\x20SAME\x20conversation.\x20The\x20messageId\x20MUST\x20exist\x20in\x20local\x20storage\x20for\x20the\x20current\x20conversation,\x20otherwise\x20sending\x20fails')})['describe']('Send\x20message\x20options.\x20When\x20guardAddress\x20+\x20passportAddress\x20are\x20provided,\x20the\x20message\x20enters\x20Guard\x20verification\x20flow\x20and\x20network\x20MUST\x20be\x20specified');export const SendFileOptionsSchema=z['object']({'fileName':z['string']()['optional']()['describe']('Custom\x20file\x20name'),'contentType':z['enum'](['wts','wip','zip'])['optional']()['describe']('Legacy\x20server-visible\x20classification\x20hint\x20(auto-inferred\x20from\x20extension:\x20.wts/.wip,\x20otherwise\x20zip).\x20Evidence\x20types\x20wts/wip\x20always\x20win\x20over\x20extension'),'kind':AttachmentKindSchema['optional']()['describe']('Attachment\x20business\x20type\x20for\x20the\x20recipient\x27s\x20UI.\x20Media\x20kinds\x20(image/video/audio/file)\x20are\x20auto-inferred\x20from\x20extension;\x20set\x20\x27voice\x27\x20explicitly\x20for\x20voice\x20messages\x20(webm\x20cannot\x20be\x20distinguished\x20from\x20video\x20automatically)'),'mimeType':z['string']()['optional']()['describe']('Explicit\x20MIME\x20type\x20override\x20(otherwise\x20inferred\x20from\x20extension)'),'caption':z['string']()['optional']()['describe']('Caption\x20text\x20attached\x20to\x20the\x20file.\x20Stored\x20inside\x20the\x20E2EE\x20envelope\x20manifest\x20—\x20the\x20server\x20cannot\x20see\x20it;\x20the\x20recipient\x20sees\x20it\x20with\x20the\x20attachment'),'durationMs':z['number']()['optional']()['describe']('Audio/video\x20duration\x20in\x20milliseconds'),'width':z['number']()['optional']()['describe']('Media\x20width\x20in\x20pixels'),'height':z['number']()['optional']()['describe']('Media\x20height\x20in\x20pixels'),'guardAddress':NameOrAddressSchema['optional']()['describe']('Guard\x20address.\x20REQUIRED\x20when\x20sending\x20Guard-verified\x20files'),'passportAddress':NameOrAddressSchema['optional']()['describe']('Passport\x20address.\x20REQUIRED\x20when\x20sending\x20Guard-verified\x20files'),'force':z['boolean']()['optional']()['describe']('Force\x20send\x20even\x20if\x20there\x20are\x20pending\x20Guard\x20messages'),'enable_messenger':z['boolean']()['optional']()['describe']('Auto-enable\x20messenger\x20for\x20the\x20sender\x20account\x20if\x20not\x20already\x20enabled'),'network':EntrypointSchema['optional']()['describe']('Target\x20network\x20for\x20Guard\x20verification\x20(e.g.,\x20testnet,\x20mainnet).\x20REQUIRED\x20when\x20guardAddress\x20and\x20passportAddress\x20are\x20provided\x20—\x20Guard\x20messages\x20and\x20regular\x20messages\x20are\x20independent\x20data\x20systems\x20on\x20different\x20networks')})['describe']('Send\x20file\x20options.\x20The\x20file\x20travels\x20as\x20an\x20E2EE\x20attachment\x20envelope\x20(zip\x20transport\x20container\x20with\x20an\x20encrypted\x20manifest);\x20media\x20(jpg/mp4/webm/...)\x20is\x20stored\x20uncompressed,\x20documents/evidence\x20deflated.\x20When\x20guardAddress\x20+\x20passportAddress\x20are\x20provided,\x20the\x20file\x20enters\x20Guard\x20verification\x20flow\x20and\x20network\x20MUST\x20be\x20specified');export const SendMessageResultSchema=z['object']({'messageId':z['string']()['describe']('Message\x20ID'),'status':MessageStatusSchema['describe']('Message\x20status'),'merkleData':z['object']({'leafIndex':z['number']()['describe']('Leaf\x20index'),'prevRoot':z['string']()['describe']('Previous\x20Merkle\x20Root'),'newRoot':z['string']()['describe']('Current\x20Merkle\x20Root'),'serverSignature':z['string']()['describe']('Server\x20signature'),'serverTimestamp':z['number']()['describe']('Server\x20confirmation\x20timestamp'),'serverPublicKey':z['string']()['describe']('Server\x20public\x20key')})['optional']()['describe']('Merkle\x20Tree\x20proof\x20data'),'guardList':z['array'](z['string']())['optional']()['describe']('Guard\x20list\x20(only\x20returned\x20on\x20error)'),'lastReceivedLeafIndex':z['number']()['optional']()['describe']('Last\x20received\x20leaf\x20index\x20(for\x20message\x20confirmation)')})['describe']('Send\x20message\x20result');const BaseRangeSchema=z['object']({'type':RangeTypeSchema['describe']('Range\x20type'),'start':z['union']([z['number'](),z['string']()])['describe']('Start\x20value'),'end':z['union']([z['number'](),z['string']()])['describe']('End\x20value')});export const TimeRangeSchema=BaseRangeSchema['extend']({'type':z['literal']('time'),'start':z['number'](),'end':z['number']()});export const MessageIdRangeSchema=BaseRangeSchema['extend']({'type':z['literal']('messageId'),'start':z['string'](),'end':z['string']()});export const SeqIndexRangeSchema=BaseRangeSchema['extend']({'type':z['literal']('seqIndex'),'start':z['number'](),'end':z['number']()});export const WtsRangeSchema=z['discriminatedUnion']('type',[TimeRangeSchema,MessageIdRangeSchema,SeqIndexRangeSchema])['describe']('WTS\x20range\x20filter\x20parameters');export const WtsGenerationParamsSchema=z['object']({'myAccount':NameOrAddressSchema['describe']('My\x20account\x20name\x20or\x20address\x20(string)'),'peerAccount':AccountOrMark_AddressAISchema['describe']('Peer\x20account\x20name\x20or\x20address\x20-\x20can\x20be\x20a\x20string\x20(name/address)\x20or\x20full\x20object'),'range':WtsRangeSchema['optional']()['describe']('Range\x20filter\x20parameters'),'excludePlaintext':z['boolean']()['optional']()['describe']('Whether\x20to\x20exclude\x20plaintext'),'outputDir':z['string']()['optional']()['describe']('Output\x20directory\x20path.\x20If\x20not\x20specified,\x20defaults\x20to\x20the\x20workspace/wts\x20directory')})['describe']('WTS\x20generation\x20parameters');export const WtsFileResultSchema=z['object']({'files':z['array'](z['string']())['describe']('Generated\x20WTS\x20file\x20paths'),'htmlFiles':z['array'](z['string']())['describe']('Generated\x20HTML\x20report\x20paths\x20—\x20one\x20human-readable\x20companion\x20per\x20WTS\x20file,\x20written\x20next\x20to\x20it\x20(same\x20base\x20name)'),'totalMessageCount':z['number']()['describe']('Total\x20message\x20count'),'timeRange':z['object']({'start':z['number']()['describe']('Start\x20time'),'end':z['number']()['describe']('End\x20time')})['describe']('Time\x20range')})['describe']('WTS\x20file\x20result');export const WtsSignatureVerificationSchema=z['object']({'publicKey':z['string']()['describe']('Signer\x20public\x20key'),'address':z['string']()['optional']()['describe']('Signer\x20address'),'valid':z['boolean']()['describe']('Whether\x20signature\x20is\x20valid')})['describe']('WTS\x20signature\x20verification\x20details');export const WtsVerificationResultSchema=z['object']({'valid':z['boolean']()['describe']('Whether\x20verification\x20succeeded'),'error':z['string']()['optional']()['describe']('Error\x20message\x20if\x20verification\x20failed'),'hashValid':z['boolean']()['describe']('Whether\x20hash\x20validation\x20passed'),'hasSignature':z['boolean']()['describe']('Whether\x20WTS\x20has\x20signatures'),'signatureValid':z['boolean']()['optional']()['describe']('Whether\x20signature\x20validation\x20passed'),'signatures':z['array'](WtsSignatureVerificationSchema)['optional']()['describe']('Signature\x20verification\x20details')})['describe']('WTS\x20verification\x20result');export const WtsToHtmlOptionsSchema=z['object']({'title':z['string']()['optional']()['describe']('HTML\x20document\x20title'),'theme':z['enum'](['light','dark'])['optional']()['describe']('HTML\x20theme'),'outputPath':z['string']()['optional']()['describe']('Output\x20file\x20path')})['describe']('WTS\x20to\x20HTML\x20conversion\x20options');export const AddressExistenceSchema=z['object']({'address':z['string']()['describe']('Address'),'exists':z['boolean']()['describe']('Whether\x20address\x20exists\x20in\x20list')})['describe']('Address\x20existence\x20check\x20result');export const GuardListItemSchema=z['object']({'guardAddress':z['string']()['describe']('Guard\x20address'),'passportValiditySeconds':z['number']()['describe']('Passport\x20validity\x20in\x20seconds')})['describe']('Guard\x20list\x20item');export const ListOperationResponseSchema=z['object']({'success':z['boolean']()['describe']('Whether\x20operation\x20succeeded'),'operation':z['string']()['describe']('Operation\x20performed'),'modifiedCount':z['number']()['describe']('Number\x20of\x20items\x20modified'),'currentCount':z['number']()['describe']('Current\x20list\x20size'),'maxCount':z['number']()['describe']('Maximum\x20list\x20size'),'invalidAddresses':z['array'](z['string']())['optional']()['nullable']()['describe']('Invalid\x20addresses'),'existResults':z['array'](AddressExistenceSchema)['optional']()['nullable']()['describe']('Existence\x20check\x20results'),'message':z['string']()['optional']()['nullable']()['describe']('Operation\x20message'),'currentList':z['array'](z['string']())['optional']()['nullable']()['describe']('Current\x20list\x20content'),'currentGuardList':z['array'](GuardListItemSchema)['optional']()['nullable']()['describe']('Current\x20guard\x20list\x20content')})['describe']('List\x20operation\x20response');export const BlacklistOperationSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('add'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20add\x20to\x20blacklist\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')}),z['object']({'op':z['literal']('remove'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20remove\x20from\x20blacklist\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')}),z['object']({'op':z['literal']('clear')}),z['object']({'op':z['literal']('get')}),z['object']({'op':z['literal']('exist'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20check\x20existence\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')})])['describe']('Blacklist\x20management\x20operation');export const FriendslistOperationSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('add'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20add\x20to\x20friends\x20list\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')}),z['object']({'op':z['literal']('remove'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20remove\x20from\x20friends\x20list\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')}),z['object']({'op':z['literal']('clear')}),z['object']({'op':z['literal']('get')}),z['object']({'op':z['literal']('exist'),'users':ManyAccountOrMark_AddressAISchema['describe']('Users\x20to\x20check\x20existence\x20-\x20can\x20be\x20array\x20of\x20strings\x20(names/addresses)\x20or\x20full\x20object')})])['describe']('Friends\x20list\x20management\x20operation');export const GuardParamSchema=z['object']({'guard':NameOrAddressSchema['describe']('Guard\x20address\x20or\x20name'),'passportValiditySeconds':z['number']()['min'](0xa)['max'](0x12cc0300)['describe']('Passport\x20validity\x20in\x20seconds\x20(10s\x20to\x2010\x20years)')})['describe']('Guard\x20parameter');export const GuardlistOperationSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('add'),'guards':z['array'](GuardParamSchema)['min'](0x1)['max'](0xa)['describe']('Guards\x20to\x20add\x20to\x20guard\x20list')}),z['object']({'op':z['literal']('remove'),'guards':z['array'](NameOrAddressSchema)['min'](0x1)['max'](0xa)['describe']('Guard\x20addresses\x20to\x20remove\x20from\x20guard\x20list')}),z['object']({'op':z['literal']('get')})])['describe']('Guard\x20list\x20management\x20operation');export const SettingsOperationSchema=z['discriminatedUnion']('op',[z['object']({'op':z['literal']('get')}),z['object']({'op':z['literal']('set'),'allowStrangerMessages':z['boolean']()['optional']()['describe']('Allow\x20messages\x20from\x20strangers'),'maxInboxSize':z['number']()['min'](0x1)['optional']()['describe']('Maximum\x20inbox\x20size')})])['describe']('Settings\x20management\x20operation');export const GetSettingsResponseSchema=z['object']({'allowStrangerMessages':z['boolean']()['optional']()['describe']('Whether\x20messages\x20from\x20strangers\x20are\x20allowed'),'maxInboxSize':z['number']()['optional']()['describe']('Current\x20maximum\x20inbox\x20size'),'minUserInboxSize':z['number']()['describe']('Server\x20minimum\x20allowed\x20inbox\x20size\x20limit'),'maxUserInboxSize':z['number']()['describe']('Server\x20maximum\x20allowed\x20inbox\x20size\x20limit'),'defaultAllowStrangerMessages':z['boolean']()['describe']('Server\x20default\x20setting\x20for\x20allowing\x20stranger\x20messages')})['describe']('Get\x20settings\x20response');const GoalEvidenceRef={'goal_id':z['string']()['optional']()['describe']('Optional\x20goal\x20id\x20(from\x20goal_operation).\x20When\x20set,\x20this\x20act\x20is\x20recorded\x20as\x20communication\x20'+'evidence\x20on\x20the\x20goal\x27s\x20TaskProcess\x20(K3\x2027\x20G5)\x20—\x20use\x20it\x20only\x20when\x20the\x20act\x20belongs\x20to\x20an\x20active\x20'+'goal\x27s\x20execution\x20(order\x20negotiation,\x20required-info\x20confirmation,\x20WTS\x20evidence,\x20on-chain\x20proof).')};export const MessengerOperationInputSchema=z['discriminatedUnion']('operation',[z['object']({'operation':z['literal']('watch_conversations'),'filter':ConversationsFilterSchema['optional']()['describe']('Conversations\x20filter\x20options\x20-\x20use\x20unreadOnly\x20to\x20find\x20conversations\x20with\x20unread\x20messages,\x20previewMessageCount\x20to\x20control\x20message\x20previews\x20(default\x202),\x20and\x20sortBy/sortOrder\x20to\x20customize\x20sorting')})['strict'](),z['object']({'operation':z['literal']('send_message'),'from':NameOrAddressSchema['optional']()['describe']('Sender\x20account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'to':AccountOrMark_AddressAISchema['describe']('Recipient\x20address\x20or\x20account\x20name\x20-\x20can\x20be\x20a\x20string\x20(name/address)\x20or\x20full\x20object'),'content':z['string']()['max'](NORMAL_MESSAGE_BYTES_LIMIT)['describe']('Message\x20content\x20text\x20(max\x2010240\x20bytes)'),'options':SendMessageOptionsSchema['optional']()['describe']('Optional\x20message\x20settings')})['strict'](),z['object']({'operation':z['literal']('send_file'),'from':NameOrAddressSchema['optional']()['describe']('Sender\x20account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'to':AccountOrMark_AddressAISchema['describe']('Recipient\x20address\x20or\x20account\x20name\x20-\x20can\x20be\x20a\x20string\x20(name/address)\x20or\x20full\x20object'),'filePath':z['string']()['describe']('Local\x20file\x20path\x20to\x20send.\x20Transported\x20as\x20an\x20E2EE\x20attachment\x20envelope\x20(zip\x20container);\x20the\x20recipient\x20restores\x20the\x20original\x20file\x20name/type\x20via\x20the\x20encrypted\x20manifest'),'options':SendFileOptionsSchema['optional']()['describe']('Optional\x20file\x20sending\x20settings'),...GoalEvidenceRef})['strict'](),z['object']({'operation':z['literal']('send_required_info'),'from':NameOrAddressSchema['optional']()['describe']('Sender\x20account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'to':AccountOrMark_AddressAISchema['describe']('Recipient\x20address\x20(the\x20merchant\x27s\x20Contact\x20IM\x20address).\x20Can\x20be\x20a\x20string\x20or\x20full\x20object'),'fields':z['array'](z['string']())['optional']()['describe']('LocalInfo\x20field\x20names\x20to\x20send\x20(e.g.\x20[\x27phone\x27,\x27shipping_address\x27]).\x20If\x20omitted,\x20ALL\x20LocalInfo\x20fields\x20are\x20included'),'content':z['string']()['optional']()['describe']('Explicit\x20plaintext\x20content\x20to\x20send.\x20If\x20provided,\x20fields\x20are\x20ignored\x20and\x20LocalInfo\x20is\x20NOT\x20auto-assembled'),'options':SendMessageOptionsSchema['optional']()['describe']('Optional\x20message\x20settings\x20(guardAddress/passportAddress/network/replyTo/force/enable_messenger)')})['strict'](),z['object']({'operation':z['literal']('watch_messages'),'filter':MessageFilterSchema['optional']()['describe']('Message\x20filter\x20options')})['strict'](),z['object']({'operation':z['literal']('save_attachment'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address\x20owning\x20the\x20message.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'messageId':z['string']()['describe']('Attachment\x20message\x20ID\x20(a\x20message\x20with\x20attachment/zipMetadata,\x20e.g.\x20found\x20via\x20watch_messages)'),'outputDir':z['string']()['optional']()['describe']('Target\x20directory.\x20If\x20not\x20specified,\x20saves\x20to\x20the\x20workspace/attachments\x20directory'),'saveAs':z['string']()['optional']()['describe']('Override\x20file\x20name\x20(basename\x20only;\x20directories\x20are\x20stripped).\x20Defaults\x20to\x20the\x20original\x20attachment\x20file\x20name.\x20Collisions\x20get\x20a\x20\x27\x20(1)\x27\x20suffix')})['strict'](),z['object']({'operation':z['literal']('generate_wts'),'params':WtsGenerationParamsSchema['describe']('WTS\x20generation\x20parameters')})['strict'](),z['object']({'operation':z['literal']('verify_wts'),'wtsFilePath':z['string']()['describe']('WTS\x20file\x20path\x20to\x20verify')})['strict'](),z['object']({'operation':z['literal']('sign_wts'),'wtsFilePath':z['string']()['describe']('WTS\x20file\x20path\x20to\x20sign'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address\x20to\x20sign\x20with.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'outputPath':z['string']()['optional']()['describe']('Output\x20file\x20path.\x20If\x20not\x20specified,\x20saves\x20to\x20signed_*.wts')})['strict'](),z['object']({'operation':z['literal']('wts2html'),'wtsPath':z['string']()['describe']('WTS\x20file\x20path\x20or\x20directory\x20to\x20convert'),'options':WtsToHtmlOptionsSchema['optional']()['describe']('Conversion\x20options')})['strict'](),z['object']({'operation':z['literal']('proof_message'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'messageId':z['string']()['describe']('Message\x20ID\x20to\x20proof\x20on-chain'),'network':EntrypointSchema['describe']('Network\x20to\x20use\x20for\x20on-chain\x20proof\x20(required)'),...GoalEvidenceRef})['strict'](),z['object']({'operation':z['literal']('blacklist'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'blacklist':BlacklistOperationSchema['describe']('Blacklist\x20management\x20operation')})['strict'](),z['object']({'operation':z['literal']('friendslist'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'friendslist':FriendslistOperationSchema['describe']('Friends\x20list\x20management\x20operation')})['strict'](),z['object']({'operation':z['literal']('guardlist'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'guardlist':GuardlistOperationSchema['describe']('Guard\x20list\x20management\x20operation')})['strict'](),z['object']({'operation':z['literal']('settings'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'settings':SettingsOperationSchema['describe']('Settings\x20management\x20operation')})['strict'](),z['object']({'operation':z['literal']('mark_messages_as_viewed'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'messageIds':z['array'](z['string']())['min'](0x1)['max'](0x3e8)['describe']('Array\x20of\x20message\x20IDs\x20to\x20mark\x20as\x20viewed\x20(1-1000\x20messages).\x20Only\x20messages\x20belonging\x20to\x20this\x20account\x20will\x20be\x20marked')})['strict'](),z['object']({'operation':z['literal']('mark_conversation_as_viewed'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account'),'peerAddress':AccountOrMark_AddressAISchema['describe']('Peer\x20address\x20or\x20account\x20name\x20-\x20can\x20be\x20a\x20string\x20(name/address)\x20or\x20full\x20object.\x20All\x20unviewed\x20received\x20messages\x20from\x20this\x20peer\x20will\x20be\x20marked\x20as\x20viewed')})['strict'](),z['object']({'operation':z['literal']('pull_messages'),'account':NameOrAddressSchema['optional']()['describe']('Account\x20name\x20or\x20address.\x20If\x20not\x20specified,\x20uses\x20default\x20account\x20(ignored\x20when\x20allAccounts/accounts\x20is\x20set)'),'limit':z['number']()['optional']()['describe']('Maximum\x20number\x20of\x20messages\x20to\x20pull\x20from\x20server\x20per\x20account'),'allAccounts':z['boolean']()['optional']()['describe']('Pull\x20every\x20messenger-enabled\x20account\x20in\x20ONE\x20bounded-concurrency\x20fan-out\x20(default\x20concurrency\x205).\x20Only\x20the\x20process\x20holding\x20each\x20account\x27s\x20polling\x20lock\x20pulls;\x20per-account\x20failures\x20are\x20isolated\x20in\x20the\x20result\x20entries.\x20Returns\x20one\x20result\x20entry\x20per\x20account'),'accounts':z['array'](NameOrAddressSchema)['optional']()['describe']('Restrict\x20the\x20fan-out\x20to\x20these\x20accounts\x20(implies\x20allAccounts\x20flow).\x20Cold\x20accounts\x20are\x20initialized\x20on\x20demand'),'concurrency':z['number']()['min'](0x1)['max'](0x14)['optional']()['describe']('Max\x20concurrent\x20account\x20pulls\x20in\x20fan-out\x20mode\x20(default\x205)')})['strict']()])['describe']('Messenger\x20operation\x20input\x20schema.\x20PREREQUISITE:\x20an\x20account\x20must\x20ENABLE\x20messenger\x20before\x20sending/receiving.\x20'+'There\x20is\x20NO\x20\x27enable\x27\x20operation\x20in\x20this\x20tool\x20—\x20enable\x20via\x20account_operation\x20{messenger:\x20{enabled:\x20true,\x20name_or_account:\x20\x27<account>\x27}},\x20'+'or\x20implicitly\x20via\x20send_message/send_file\x20with\x20options.enable_messenger:\x20true.\x20'+'Use\x20proof_message\x20to\x20anchor\x20a\x20message\x27s\x20WTS\x20proof\x20on-chain\x20(creates\x20a\x20Proof\x20object\x20consumable\x20by\x20Guards\x20via\x20proof.signer/proof.time\x20queries).');export const MessengerOperationOutputSchema=z['object']({'result':z['discriminatedUnion']('operation',[z['object']({'operation':z['literal']('watch_conversations'),'result':z['array'](ConversationInfoSchema)['describe']('List\x20of\x20conversations')}),z['object']({'operation':z['literal']('send_message'),'result':SendMessageResultSchema['describe']('Send\x20message\x20result')}),z['object']({'operation':z['literal']('send_file'),'result':SendMessageResultSchema['describe']('Send\x20file\x20result')}),z['object']({'operation':z['literal']('send_required_info'),'result':SendMessageResultSchema['extend']({'sent_fields':z['array'](z['string']())['describe']('LocalInfo\x20field\x20names\x20that\x20were\x20assembled\x20and\x20sent')})['describe']('Send\x20required-info\x20result\x20(with\x20the\x20assembled\x20field\x20names)')}),z['object']({'operation':z['literal']('watch_messages'),'result':z['array'](MessageSchema)['describe']('List\x20of\x20messages')}),z['object']({'operation':z['literal']('save_attachment'),'result':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20saved\x20attachment\x20file')}),z['object']({'operation':z['literal']('generate_wts'),'result':WtsFileResultSchema['describe']('Generate\x20WTS\x20result')}),z['object']({'operation':z['literal']('verify_wts'),'result':WtsVerificationResultSchema['describe']('WTS\x20verification\x20result')}),z['object']({'operation':z['literal']('sign_wts'),'result':z['string']()['describe']('Signed\x20WTS\x20file\x20path')}),z['object']({'operation':z['literal']('wts2html'),'result':z['union']([z['string'](),z['array'](z['string']())])['describe']('Output\x20file\x20path(s)\x20(always\x20writes\x20files;\x20never\x20returns\x20raw\x20HTML)')}),z['object']({'operation':z['literal']('proof_message'),'result':z['object']({'proofAddress':z['string']()['describe']('Proof\x20object\x20address\x20on\x20blockchain')})['describe']('Proof\x20message\x20result')}),z['object']({'operation':z['literal']('blacklist'),'op':z['enum'](['add','remove','clear','get','exist'])['describe']('Operation\x20type'),'result':z['union']([ListOperationResponseSchema,z['array'](z['string']())])['describe']('Blacklist\x20operation\x20result')}),z['object']({'operation':z['literal']('friendslist'),'op':z['enum'](['add','remove','clear','get','exist'])['describe']('Operation\x20type'),'result':z['union']([ListOperationResponseSchema,z['array'](z['string']())])['describe']('Friends\x20list\x20operation\x20result')}),z['object']({'operation':z['literal']('guardlist'),'op':z['enum'](['add','remove','get'])['describe']('Operation\x20type'),'result':ListOperationResponseSchema['describe']('Guard\x20list\x20operation\x20result')}),z['object']({'operation':z['literal']('settings'),'op':z['enum'](['get','set'])['describe']('Operation\x20type'),'result':z['union']([GetSettingsResponseSchema,z['boolean']()])['describe']('Settings\x20operation\x20result\x20-\x20GetSettingsResponse\x20for\x20\x27get\x27\x20operation,\x20boolean\x20for\x20\x27set\x27\x20operation')}),z['object']({'operation':z['literal']('mark_messages_as_viewed'),'result':z['number']()['describe']('Number\x20of\x20messages\x20successfully\x20marked\x20as\x20viewed.\x20Only\x20messages\x20that\x20were\x20previously\x20unviewed\x20are\x20counted')}),z['object']({'operation':z['literal']('mark_conversation_as_viewed'),'result':z['number']()['describe']('Number\x20of\x20messages\x20successfully\x20marked\x20as\x20viewed\x20in\x20the\x20conversation.\x20Only\x20received\x20messages\x20that\x20were\x20previously\x20unviewed\x20are\x20counted')}),z['object']({'operation':z['literal']('pull_messages'),'result':z['union']([z['array'](MessageSchema)['describe']('Single-account\x20mode:\x20messages\x20pulled\x20from\x20server'),z['array'](PullAccountResultSchema)['describe']('Fan-out\x20mode\x20(allAccounts/accounts\x20set):\x20one\x20entry\x20per\x20account\x20with\x20isolated\x20errors')])}),z['object']({'operation':z['literal']('error'),'error':z['string']()['describe']('Error\x20message'),'error_code':z['string']()['optional']()['describe']('Error\x20code'),'retryable':z['boolean']()['optional']()['describe']('Whether\x20the\x20operation\x20is\x20retryable'),'recovery_hint':z['string']()['optional']()['describe']('Recovery\x20hint')})['describe']('Error\x20response')])['describe']('Messenger\x20operation\x20result\x20discriminated\x20union'),'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary\x20for\x20messenger\x20operation')})['describe']('Messenger\x20operation\x20output\x20schema');
|
|
@@ -160,9 +160,9 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
160
160
|
sharing: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
161
161
|
mode: z.ZodUnion<readonly [z.ZodEnum<{
|
|
162
162
|
Amount: "Amount";
|
|
163
|
-
Rate: "Rate";
|
|
164
163
|
Surplus: "Surplus";
|
|
165
|
-
|
|
164
|
+
Rate: "Rate";
|
|
165
|
+
}>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Amount" | "Surplus" | "Rate", number>>]>;
|
|
166
166
|
}, z.core.$strip>>;
|
|
167
167
|
fix: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
168
168
|
max: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
|
|
@@ -1641,9 +1641,9 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
1641
1641
|
sharing: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1642
1642
|
mode: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1643
1643
|
Amount: "Amount";
|
|
1644
|
-
Rate: "Rate";
|
|
1645
1644
|
Surplus: "Surplus";
|
|
1646
|
-
|
|
1645
|
+
Rate: "Rate";
|
|
1646
|
+
}>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Amount" | "Surplus" | "Rate", number>>]>;
|
|
1647
1647
|
}, z.core.$strip>>;
|
|
1648
1648
|
fix: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
1649
1649
|
max: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
|
|
@@ -1972,12 +1972,12 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
1972
1972
|
action: z.ZodEnum<{
|
|
1973
1973
|
custom: "custom";
|
|
1974
1974
|
forward: "forward";
|
|
1975
|
-
gen_passport: "gen_passport";
|
|
1976
1975
|
dispute: "dispute";
|
|
1977
|
-
|
|
1976
|
+
vote: "vote";
|
|
1978
1977
|
allocate: "allocate";
|
|
1978
|
+
gen_passport: "gen_passport";
|
|
1979
|
+
buy: "buy";
|
|
1979
1980
|
claim_reward: "claim_reward";
|
|
1980
|
-
vote: "vote";
|
|
1981
1981
|
write_repository: "write_repository";
|
|
1982
1982
|
submit_progress: "submit_progress";
|
|
1983
1983
|
}>;
|
|
@@ -1995,12 +1995,12 @@ export declare const OnchainOperationsSchema: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
1995
1995
|
guard: "guard";
|
|
1996
1996
|
none: "none";
|
|
1997
1997
|
submission: "submission";
|
|
1998
|
+
voting_guard: "voting_guard";
|
|
1999
|
+
usage_guard: "usage_guard";
|
|
1998
2000
|
order_allocators: "order_allocators";
|
|
1999
2001
|
buy_guard: "buy_guard";
|
|
2000
2002
|
"Forward.guard": "Forward.guard";
|
|
2001
2003
|
write_guard: "write_guard";
|
|
2002
|
-
usage_guard: "usage_guard";
|
|
2003
|
-
voting_guard: "voting_guard";
|
|
2004
2004
|
ServiceGuard: "ServiceGuard";
|
|
2005
2005
|
}>;
|
|
2006
2006
|
rule_sentence: z.ZodOptional<z.ZodString>;
|
|
@@ -3213,6 +3213,10 @@ export declare const WatchQueryOperationsSchema: z.ZodPreprocess<z.ZodDiscrimina
|
|
|
3213
3213
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
3214
3214
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
3215
3215
|
}, z.core.$strict>]>;
|
|
3216
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
3217
|
+
received: "received";
|
|
3218
|
+
sent: "sent";
|
|
3219
|
+
}>>;
|
|
3216
3220
|
cursor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3217
3221
|
limit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3218
3222
|
order: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"ascending">, z.ZodLiteral<"descending">]>>;
|
|
@@ -3355,12 +3359,12 @@ export declare const WatchQueryOperationsSchema: z.ZodPreprocess<z.ZodDiscrimina
|
|
|
3355
3359
|
radar_account: z.ZodOptional<z.ZodString>;
|
|
3356
3360
|
relation_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3357
3361
|
transaction: "transaction";
|
|
3358
|
-
dispute_resolution: "dispute_resolution";
|
|
3359
3362
|
employment: "employment";
|
|
3360
3363
|
process_operation: "process_operation";
|
|
3361
3364
|
agency: "agency";
|
|
3362
3365
|
supply: "supply";
|
|
3363
3366
|
arbitration_delegation: "arbitration_delegation";
|
|
3367
|
+
dispute_resolution: "dispute_resolution";
|
|
3364
3368
|
value_distribution: "value_distribution";
|
|
3365
3369
|
contact_membership: "contact_membership";
|
|
3366
3370
|
}>>>;
|
|
@@ -3406,6 +3410,69 @@ export declare const WatchQueryOperationsSchema: z.ZodPreprocess<z.ZodDiscrimina
|
|
|
3406
3410
|
testnet: "testnet";
|
|
3407
3411
|
localnet: "localnet";
|
|
3408
3412
|
}>>;
|
|
3413
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3414
|
+
query_type: z.ZodLiteral<"onchain_topology">;
|
|
3415
|
+
focus: z.ZodOptional<z.ZodString>;
|
|
3416
|
+
context_network: z.ZodOptional<z.ZodEnum<{
|
|
3417
|
+
mainnet: "mainnet";
|
|
3418
|
+
testnet: "testnet";
|
|
3419
|
+
localnet: "localnet";
|
|
3420
|
+
}>>;
|
|
3421
|
+
intent: z.ZodOptional<z.ZodEnum<{
|
|
3422
|
+
fund_flow: "fund_flow";
|
|
3423
|
+
reputation: "reputation";
|
|
3424
|
+
permission: "permission";
|
|
3425
|
+
arbitration: "arbitration";
|
|
3426
|
+
workflow: "workflow";
|
|
3427
|
+
full_map: "full_map";
|
|
3428
|
+
order_health: "order_health";
|
|
3429
|
+
counterparty: "counterparty";
|
|
3430
|
+
supply_chain: "supply_chain";
|
|
3431
|
+
demand_match: "demand_match";
|
|
3432
|
+
}>>;
|
|
3433
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
3434
|
+
merchant: "merchant";
|
|
3435
|
+
customer: "customer";
|
|
3436
|
+
demander: "demander";
|
|
3437
|
+
prospect: "prospect";
|
|
3438
|
+
supplier: "supplier";
|
|
3439
|
+
collaborator: "collaborator";
|
|
3440
|
+
arbitrator: "arbitrator";
|
|
3441
|
+
}>>;
|
|
3442
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
3443
|
+
context_account: z.ZodOptional<z.ZodString>;
|
|
3444
|
+
interest_role: z.ZodOptional<z.ZodEnum<{
|
|
3445
|
+
merchant: "merchant";
|
|
3446
|
+
customer: "customer";
|
|
3447
|
+
demander: "demander";
|
|
3448
|
+
prospect: "prospect";
|
|
3449
|
+
supplier: "supplier";
|
|
3450
|
+
collaborator: "collaborator";
|
|
3451
|
+
arbitrator: "arbitrator";
|
|
3452
|
+
neutral: "neutral";
|
|
3453
|
+
system: "system";
|
|
3454
|
+
}>>;
|
|
3455
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
3456
|
+
analyze: z.ZodOptional<z.ZodBoolean>;
|
|
3457
|
+
analyzer_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3458
|
+
risk: "risk";
|
|
3459
|
+
arbitrage: "arbitrage";
|
|
3460
|
+
opportunity: "opportunity";
|
|
3461
|
+
game: "game";
|
|
3462
|
+
}>>>;
|
|
3463
|
+
only_analyzers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3464
|
+
include_raw: z.ZodOptional<z.ZodBoolean>;
|
|
3465
|
+
table_edges: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3466
|
+
"machine.node": "machine.node";
|
|
3467
|
+
"permission.entity": "permission.entity";
|
|
3468
|
+
"demand.presenter": "demand.presenter";
|
|
3469
|
+
}>>>;
|
|
3470
|
+
budget: z.ZodOptional<z.ZodObject<{
|
|
3471
|
+
max_depth: z.ZodOptional<z.ZodNumber>;
|
|
3472
|
+
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
3473
|
+
max_rpcs: z.ZodOptional<z.ZodNumber>;
|
|
3474
|
+
max_fanout: z.ZodOptional<z.ZodNumber>;
|
|
3475
|
+
}, z.core.$strict>>;
|
|
3409
3476
|
}, z.core.$strict>], "query_type">>;
|
|
3410
3477
|
export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
3411
3478
|
result: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -4561,6 +4628,11 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
4561
4628
|
merchant_signal: z.ZodBoolean;
|
|
4562
4629
|
role_hint: z.ZodString;
|
|
4563
4630
|
}, z.core.$strict>;
|
|
4631
|
+
follow_ups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4632
|
+
label: z.ZodString;
|
|
4633
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4634
|
+
call: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4635
|
+
}, z.core.$strict>>>;
|
|
4564
4636
|
service_analysis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4565
4637
|
description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
4566
4638
|
sales_count: z.ZodNumber;
|
|
@@ -5217,12 +5289,12 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
5217
5289
|
radar_account: z.ZodOptional<z.ZodString>;
|
|
5218
5290
|
relation_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5219
5291
|
transaction: "transaction";
|
|
5220
|
-
dispute_resolution: "dispute_resolution";
|
|
5221
5292
|
employment: "employment";
|
|
5222
5293
|
process_operation: "process_operation";
|
|
5223
5294
|
agency: "agency";
|
|
5224
5295
|
supply: "supply";
|
|
5225
5296
|
arbitration_delegation: "arbitration_delegation";
|
|
5297
|
+
dispute_resolution: "dispute_resolution";
|
|
5226
5298
|
value_distribution: "value_distribution";
|
|
5227
5299
|
contact_membership: "contact_membership";
|
|
5228
5300
|
}>>>;
|
|
@@ -5268,6 +5340,69 @@ export declare const OnchainTableDataResultSchema: z.ZodObject<{
|
|
|
5268
5340
|
testnet: "testnet";
|
|
5269
5341
|
localnet: "localnet";
|
|
5270
5342
|
}>>;
|
|
5343
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5344
|
+
query_type: z.ZodLiteral<"onchain_topology">;
|
|
5345
|
+
focus: z.ZodOptional<z.ZodString>;
|
|
5346
|
+
context_network: z.ZodOptional<z.ZodEnum<{
|
|
5347
|
+
mainnet: "mainnet";
|
|
5348
|
+
testnet: "testnet";
|
|
5349
|
+
localnet: "localnet";
|
|
5350
|
+
}>>;
|
|
5351
|
+
intent: z.ZodOptional<z.ZodEnum<{
|
|
5352
|
+
fund_flow: "fund_flow";
|
|
5353
|
+
reputation: "reputation";
|
|
5354
|
+
permission: "permission";
|
|
5355
|
+
arbitration: "arbitration";
|
|
5356
|
+
workflow: "workflow";
|
|
5357
|
+
full_map: "full_map";
|
|
5358
|
+
order_health: "order_health";
|
|
5359
|
+
counterparty: "counterparty";
|
|
5360
|
+
supply_chain: "supply_chain";
|
|
5361
|
+
demand_match: "demand_match";
|
|
5362
|
+
}>>;
|
|
5363
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
5364
|
+
merchant: "merchant";
|
|
5365
|
+
customer: "customer";
|
|
5366
|
+
demander: "demander";
|
|
5367
|
+
prospect: "prospect";
|
|
5368
|
+
supplier: "supplier";
|
|
5369
|
+
collaborator: "collaborator";
|
|
5370
|
+
arbitrator: "arbitrator";
|
|
5371
|
+
}>>;
|
|
5372
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
5373
|
+
context_account: z.ZodOptional<z.ZodString>;
|
|
5374
|
+
interest_role: z.ZodOptional<z.ZodEnum<{
|
|
5375
|
+
merchant: "merchant";
|
|
5376
|
+
customer: "customer";
|
|
5377
|
+
demander: "demander";
|
|
5378
|
+
prospect: "prospect";
|
|
5379
|
+
supplier: "supplier";
|
|
5380
|
+
collaborator: "collaborator";
|
|
5381
|
+
arbitrator: "arbitrator";
|
|
5382
|
+
neutral: "neutral";
|
|
5383
|
+
system: "system";
|
|
5384
|
+
}>>;
|
|
5385
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
5386
|
+
analyze: z.ZodOptional<z.ZodBoolean>;
|
|
5387
|
+
analyzer_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5388
|
+
risk: "risk";
|
|
5389
|
+
arbitrage: "arbitrage";
|
|
5390
|
+
opportunity: "opportunity";
|
|
5391
|
+
game: "game";
|
|
5392
|
+
}>>>;
|
|
5393
|
+
only_analyzers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5394
|
+
include_raw: z.ZodOptional<z.ZodBoolean>;
|
|
5395
|
+
table_edges: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5396
|
+
"machine.node": "machine.node";
|
|
5397
|
+
"permission.entity": "permission.entity";
|
|
5398
|
+
"demand.presenter": "demand.presenter";
|
|
5399
|
+
}>>>;
|
|
5400
|
+
budget: z.ZodOptional<z.ZodObject<{
|
|
5401
|
+
max_depth: z.ZodOptional<z.ZodNumber>;
|
|
5402
|
+
max_nodes: z.ZodOptional<z.ZodNumber>;
|
|
5403
|
+
max_rpcs: z.ZodOptional<z.ZodNumber>;
|
|
5404
|
+
max_fanout: z.ZodOptional<z.ZodNumber>;
|
|
5405
|
+
}, z.core.$strict>>;
|
|
5271
5406
|
}, z.core.$strict>]>;
|
|
5272
5407
|
semantic: z.ZodOptional<z.ZodObject<{
|
|
5273
5408
|
intent: z.ZodString;
|