@wowok/agent-mcp 3.0.3 → 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/event-semantics.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-puzzle.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-ledger.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 +11 -6
- package/dist/schema/call/arbitration.d.ts +5 -0
- package/dist/schema/call/base.d.ts +5 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +26 -1
- package/dist/schema/call/contact.d.ts +5 -0
- package/dist/schema/call/demand.d.ts +5 -0
- package/dist/schema/call/guard.d.ts +35 -20
- package/dist/schema/call/machine.d.ts +10 -0
- package/dist/schema/call/order.d.ts +5 -0
- package/dist/schema/call/payment.d.ts +5 -0
- package/dist/schema/call/permission.d.ts +5 -0
- package/dist/schema/call/personal.d.ts +5 -0
- package/dist/schema/call/progress.d.ts +5 -0
- package/dist/schema/call/proof.d.ts +10 -0
- package/dist/schema/call/repository.d.ts +5 -0
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.d.ts +5 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +9 -4
- package/dist/schema/call/treasury.d.ts +5 -0
- 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 +2 -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/interaction/index.d.ts +34 -0
- package/dist/schema/interaction/index.js +1 -0
- package/dist/schema/local/index.d.ts +8 -4
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +324 -64
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +236 -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/ask_user.output.json +54 -0
- package/dist/schemas/ask_user.schema.json +78 -0
- package/dist/schemas/bridge_operation.schema.json +50 -5
- package/dist/schemas/evaluation_operation.output.json +24 -0
- package/dist/schemas/goal_operation.schema.json +124 -0
- package/dist/schemas/guard2file.schema.json +10 -1
- package/dist/schemas/index.json +13 -1
- package/dist/schemas/industry_pack_operation.output.json +39 -0
- package/dist/schemas/local_mark_operation.schema.json +2 -2
- package/dist/schemas/machineNode2file.schema.json +10 -1
- package/dist/schemas/messenger_operation.output.json +678 -200
- package/dist/schemas/messenger_operation.schema.json +74 -239
- package/dist/schemas/onchain_events.output.json +2 -2
- package/dist/schemas/onchain_operations.schema.json +183 -21
- package/dist/schemas/onchain_operations_allocation.schema.json +10 -1
- package/dist/schemas/onchain_operations_arbitration.schema.json +10 -1
- package/dist/schemas/onchain_operations_contact.schema.json +10 -1
- package/dist/schemas/onchain_operations_demand.schema.json +10 -1
- package/dist/schemas/onchain_operations_gen_passport.schema.json +10 -1
- package/dist/schemas/onchain_operations_gen_proof.schema.json +10 -1
- package/dist/schemas/onchain_operations_guard.schema.json +10 -1
- package/dist/schemas/onchain_operations_machine.schema.json +10 -1
- package/dist/schemas/onchain_operations_order.schema.json +10 -1
- package/dist/schemas/onchain_operations_payment.schema.json +10 -1
- package/dist/schemas/onchain_operations_permission.schema.json +10 -1
- package/dist/schemas/onchain_operations_personal.schema.json +10 -1
- package/dist/schemas/onchain_operations_progress.schema.json +10 -1
- package/dist/schemas/onchain_operations_proof.schema.json +10 -1
- package/dist/schemas/onchain_operations_repository.schema.json +13 -4
- package/dist/schemas/onchain_operations_reward.schema.json +10 -1
- package/dist/schemas/onchain_operations_service.schema.json +10 -1
- package/dist/schemas/onchain_operations_treasury.schema.json +10 -1
- 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/ask-user.d.ts +3 -0
- package/dist/tools/handlers/ask-user.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 +5 -2
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/agent.js +1 -1
- package/dist/tools/registry/bridge.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/interaction.d.ts +2 -0
- package/dist/tools/registry/interaction.js +1 -0
- package/dist/tools/registry/local.js +1 -1
- package/dist/tools/registry/messenger.js +1 -1
- package/dist/tools/registry/monitor.js +1 -1
- package/dist/tools/registry/onchain.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/types.d.ts +7 -1
- package/dist/tools/wrap.d.ts +3 -3
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
"skipAutoMarkViewed": {
|
|
56
56
|
"description": "If true, preview messages will NOT be automatically marked as viewed when retrieved. Default is false, meaning preview messages are auto-marked as viewed",
|
|
57
57
|
"type": "boolean"
|
|
58
|
+
},
|
|
59
|
+
"sync": {
|
|
60
|
+
"description": "Sync mode (default true): true = block on one server pull per account before returning (freshest data, one-shot semantics); false = return local data immediately and trigger a background server pull whose results appear on later queries. Only set false when slightly stale data is acceptable",
|
|
61
|
+
"type": "boolean"
|
|
58
62
|
}
|
|
59
63
|
},
|
|
60
64
|
"additionalProperties": false
|
|
@@ -194,7 +198,7 @@
|
|
|
194
198
|
},
|
|
195
199
|
"filePath": {
|
|
196
200
|
"type": "string",
|
|
197
|
-
"description": "Local file path to send.
|
|
201
|
+
"description": "Local file path to send. Transported as an E2EE attachment envelope (zip container); the recipient restores the original file name/type via the encrypted manifest"
|
|
198
202
|
},
|
|
199
203
|
"options": {
|
|
200
204
|
"description": "Optional file sending settings",
|
|
@@ -205,7 +209,7 @@
|
|
|
205
209
|
"type": "string"
|
|
206
210
|
},
|
|
207
211
|
"contentType": {
|
|
208
|
-
"description": "
|
|
212
|
+
"description": "Legacy server-visible classification hint (auto-inferred from extension: .wts/.wip, otherwise zip). Evidence types wts/wip always win over extension",
|
|
209
213
|
"type": "string",
|
|
210
214
|
"enum": [
|
|
211
215
|
"wts",
|
|
@@ -213,6 +217,39 @@
|
|
|
213
217
|
"zip"
|
|
214
218
|
]
|
|
215
219
|
},
|
|
220
|
+
"kind": {
|
|
221
|
+
"description": "Attachment business type for the recipient's UI. Media kinds (image/video/audio/file) are auto-inferred from extension; set 'voice' explicitly for voice messages (webm cannot be distinguished from video automatically)",
|
|
222
|
+
"type": "string",
|
|
223
|
+
"enum": [
|
|
224
|
+
"image",
|
|
225
|
+
"video",
|
|
226
|
+
"audio",
|
|
227
|
+
"voice",
|
|
228
|
+
"file",
|
|
229
|
+
"wts",
|
|
230
|
+
"wip"
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
"mimeType": {
|
|
234
|
+
"description": "Explicit MIME type override (otherwise inferred from extension)",
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"caption": {
|
|
238
|
+
"description": "Caption text attached to the file. Stored inside the E2EE envelope manifest — the server cannot see it; the recipient sees it with the attachment",
|
|
239
|
+
"type": "string"
|
|
240
|
+
},
|
|
241
|
+
"durationMs": {
|
|
242
|
+
"description": "Audio/video duration in milliseconds",
|
|
243
|
+
"type": "number"
|
|
244
|
+
},
|
|
245
|
+
"width": {
|
|
246
|
+
"description": "Media width in pixels",
|
|
247
|
+
"type": "number"
|
|
248
|
+
},
|
|
249
|
+
"height": {
|
|
250
|
+
"description": "Media height in pixels",
|
|
251
|
+
"type": "number"
|
|
252
|
+
},
|
|
216
253
|
"guardAddress": {
|
|
217
254
|
"description": "Guard address. REQUIRED when sending Guard-verified files",
|
|
218
255
|
"type": "string"
|
|
@@ -437,6 +474,10 @@
|
|
|
437
474
|
"description": "Only return decrypted messages",
|
|
438
475
|
"type": "boolean"
|
|
439
476
|
},
|
|
477
|
+
"sync": {
|
|
478
|
+
"description": "Sync mode (default true): true = block on one server pull before returning (freshest data, one-shot semantics); false = return local data immediately and trigger a background server pull whose results appear on later queries. Only set false when slightly stale data is acceptable",
|
|
479
|
+
"type": "boolean"
|
|
480
|
+
},
|
|
440
481
|
"confirmedOnly": {
|
|
441
482
|
"description": "Only return confirmed messages",
|
|
442
483
|
"type": "boolean"
|
|
@@ -599,252 +640,28 @@
|
|
|
599
640
|
"properties": {
|
|
600
641
|
"operation": {
|
|
601
642
|
"type": "string",
|
|
602
|
-
"const": "
|
|
643
|
+
"const": "save_attachment"
|
|
603
644
|
},
|
|
604
645
|
"account": {
|
|
605
|
-
"description": "Account name or address. If not specified, uses default account",
|
|
646
|
+
"description": "Account name or address owning the message. If not specified, uses default account",
|
|
606
647
|
"type": "string"
|
|
607
648
|
},
|
|
608
|
-
"
|
|
609
|
-
"type": "
|
|
610
|
-
"
|
|
611
|
-
"anyOf": [
|
|
612
|
-
{
|
|
613
|
-
"type": "string"
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"type": "object",
|
|
617
|
-
"properties": {
|
|
618
|
-
"messageId": {
|
|
619
|
-
"type": "string",
|
|
620
|
-
"description": "Message ID"
|
|
621
|
-
},
|
|
622
|
-
"fromAddress": {
|
|
623
|
-
"type": "string",
|
|
624
|
-
"description": "Sender address"
|
|
625
|
-
},
|
|
626
|
-
"toAddress": {
|
|
627
|
-
"type": "string",
|
|
628
|
-
"description": "Recipient address"
|
|
629
|
-
},
|
|
630
|
-
"plaintextHash": {
|
|
631
|
-
"type": "string",
|
|
632
|
-
"description": "Plaintext hash"
|
|
633
|
-
},
|
|
634
|
-
"plaintext": {
|
|
635
|
-
"description": "Decrypted plaintext (optional)",
|
|
636
|
-
"type": "string"
|
|
637
|
-
},
|
|
638
|
-
"replyTo": {
|
|
639
|
-
"description": "Quoted (replied-to) message reference, if this message replies to a previous one",
|
|
640
|
-
"type": "object",
|
|
641
|
-
"properties": {
|
|
642
|
-
"messageId": {
|
|
643
|
-
"type": "string",
|
|
644
|
-
"description": "Replied-to message ID (unique within the conversation)"
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
"required": [
|
|
648
|
-
"messageId"
|
|
649
|
-
],
|
|
650
|
-
"additionalProperties": false
|
|
651
|
-
},
|
|
652
|
-
"guardAddress": {
|
|
653
|
-
"description": "Guard address",
|
|
654
|
-
"type": "string"
|
|
655
|
-
},
|
|
656
|
-
"passportAddress": {
|
|
657
|
-
"description": "Passport address",
|
|
658
|
-
"type": "string"
|
|
659
|
-
},
|
|
660
|
-
"lastReceivedLeafIndex": {
|
|
661
|
-
"description": "Last received leaf index",
|
|
662
|
-
"type": "number"
|
|
663
|
-
},
|
|
664
|
-
"direction": {
|
|
665
|
-
"type": "string",
|
|
666
|
-
"enum": [
|
|
667
|
-
"sent",
|
|
668
|
-
"received"
|
|
669
|
-
],
|
|
670
|
-
"description": "Message direction"
|
|
671
|
-
},
|
|
672
|
-
"status": {
|
|
673
|
-
"type": "string",
|
|
674
|
-
"enum": [
|
|
675
|
-
"pending",
|
|
676
|
-
"confirmed",
|
|
677
|
-
"read",
|
|
678
|
-
"failed",
|
|
679
|
-
"rejected",
|
|
680
|
-
"decrypted",
|
|
681
|
-
"decrypt_failed"
|
|
682
|
-
],
|
|
683
|
-
"description": "Message status"
|
|
684
|
-
},
|
|
685
|
-
"msgType": {
|
|
686
|
-
"anyOf": [
|
|
687
|
-
{
|
|
688
|
-
"type": "number",
|
|
689
|
-
"const": 1
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"type": "number",
|
|
693
|
-
"const": 3
|
|
694
|
-
}
|
|
695
|
-
],
|
|
696
|
-
"description": "Message type"
|
|
697
|
-
},
|
|
698
|
-
"leafIndex": {
|
|
699
|
-
"description": "Leaf index",
|
|
700
|
-
"type": "number"
|
|
701
|
-
},
|
|
702
|
-
"prevRoot": {
|
|
703
|
-
"description": "Previous Merkle Root",
|
|
704
|
-
"type": "string"
|
|
705
|
-
},
|
|
706
|
-
"newRoot": {
|
|
707
|
-
"description": "Current Merkle Root",
|
|
708
|
-
"type": "string"
|
|
709
|
-
},
|
|
710
|
-
"serverSignature": {
|
|
711
|
-
"description": "Server signature",
|
|
712
|
-
"type": "string"
|
|
713
|
-
},
|
|
714
|
-
"serverTimestamp": {
|
|
715
|
-
"description": "Server confirmation timestamp",
|
|
716
|
-
"type": "number"
|
|
717
|
-
},
|
|
718
|
-
"serverPublicKey": {
|
|
719
|
-
"description": "Server public key",
|
|
720
|
-
"type": "string"
|
|
721
|
-
},
|
|
722
|
-
"arkConfirmed": {
|
|
723
|
-
"description": "ARK confirmation",
|
|
724
|
-
"type": "object",
|
|
725
|
-
"properties": {
|
|
726
|
-
"recipient": {
|
|
727
|
-
"type": "string",
|
|
728
|
-
"description": "Recipient address"
|
|
729
|
-
},
|
|
730
|
-
"recipientPublicKey": {
|
|
731
|
-
"type": "string",
|
|
732
|
-
"description": "Recipient public key"
|
|
733
|
-
},
|
|
734
|
-
"signature": {
|
|
735
|
-
"type": "string",
|
|
736
|
-
"description": "Recipient signature"
|
|
737
|
-
},
|
|
738
|
-
"timestamp": {
|
|
739
|
-
"type": "number",
|
|
740
|
-
"description": "ARK confirmation time"
|
|
741
|
-
}
|
|
742
|
-
},
|
|
743
|
-
"required": [
|
|
744
|
-
"recipient",
|
|
745
|
-
"recipientPublicKey",
|
|
746
|
-
"signature",
|
|
747
|
-
"timestamp"
|
|
748
|
-
],
|
|
749
|
-
"additionalProperties": false
|
|
750
|
-
},
|
|
751
|
-
"createdAt": {
|
|
752
|
-
"type": "number",
|
|
753
|
-
"description": "Message creation time (client)"
|
|
754
|
-
},
|
|
755
|
-
"receivedAt": {
|
|
756
|
-
"description": "Local reception time",
|
|
757
|
-
"type": "number"
|
|
758
|
-
},
|
|
759
|
-
"zipMetadata": {
|
|
760
|
-
"description": "ZIP file metadata",
|
|
761
|
-
"type": "object",
|
|
762
|
-
"properties": {
|
|
763
|
-
"fileName": {
|
|
764
|
-
"type": "string",
|
|
765
|
-
"description": "ZIP filename"
|
|
766
|
-
},
|
|
767
|
-
"fileSize": {
|
|
768
|
-
"type": "number",
|
|
769
|
-
"description": "File size in bytes"
|
|
770
|
-
},
|
|
771
|
-
"fileHash": {
|
|
772
|
-
"type": "string",
|
|
773
|
-
"description": "File SHA256 hash"
|
|
774
|
-
},
|
|
775
|
-
"contentType": {
|
|
776
|
-
"type": "string",
|
|
777
|
-
"enum": [
|
|
778
|
-
"text",
|
|
779
|
-
"zip",
|
|
780
|
-
"wts",
|
|
781
|
-
"wip"
|
|
782
|
-
],
|
|
783
|
-
"description": "Content type"
|
|
784
|
-
},
|
|
785
|
-
"localCachePath": {
|
|
786
|
-
"description": "Local cache path",
|
|
787
|
-
"type": "string"
|
|
788
|
-
},
|
|
789
|
-
"downloadedAt": {
|
|
790
|
-
"description": "Download timestamp",
|
|
791
|
-
"type": "number"
|
|
792
|
-
}
|
|
793
|
-
},
|
|
794
|
-
"required": [
|
|
795
|
-
"fileName",
|
|
796
|
-
"fileSize",
|
|
797
|
-
"fileHash",
|
|
798
|
-
"contentType"
|
|
799
|
-
],
|
|
800
|
-
"additionalProperties": false
|
|
801
|
-
},
|
|
802
|
-
"proof": {
|
|
803
|
-
"description": "On-chain proof object address",
|
|
804
|
-
"type": "string"
|
|
805
|
-
},
|
|
806
|
-
"decryptError": {
|
|
807
|
-
"description": "Decryption failure reason",
|
|
808
|
-
"type": "string"
|
|
809
|
-
},
|
|
810
|
-
"decryptAttempts": {
|
|
811
|
-
"description": "Number of decryption attempts",
|
|
812
|
-
"type": "number"
|
|
813
|
-
},
|
|
814
|
-
"lastDecryptAttemptAt": {
|
|
815
|
-
"description": "Last decryption attempt timestamp",
|
|
816
|
-
"type": "number"
|
|
817
|
-
},
|
|
818
|
-
"viewedAt": {
|
|
819
|
-
"description": "Timestamp when the current user viewed this message (local storage). If present, indicates the message has been viewed by the user. Only applicable to received messages (direction === 'received')",
|
|
820
|
-
"type": "number"
|
|
821
|
-
}
|
|
822
|
-
},
|
|
823
|
-
"required": [
|
|
824
|
-
"messageId",
|
|
825
|
-
"fromAddress",
|
|
826
|
-
"toAddress",
|
|
827
|
-
"plaintextHash",
|
|
828
|
-
"direction",
|
|
829
|
-
"status",
|
|
830
|
-
"msgType",
|
|
831
|
-
"createdAt"
|
|
832
|
-
],
|
|
833
|
-
"additionalProperties": false,
|
|
834
|
-
"description": "Message object"
|
|
835
|
-
}
|
|
836
|
-
]
|
|
837
|
-
},
|
|
838
|
-
"description": "Array of message objects or message IDs to extract"
|
|
649
|
+
"messageId": {
|
|
650
|
+
"type": "string",
|
|
651
|
+
"description": "Attachment message ID (a message with attachment/zipMetadata, e.g. found via watch_messages)"
|
|
839
652
|
},
|
|
840
653
|
"outputDir": {
|
|
841
|
-
"description": "
|
|
654
|
+
"description": "Target directory. If not specified, saves to the workspace/attachments directory",
|
|
655
|
+
"type": "string"
|
|
656
|
+
},
|
|
657
|
+
"saveAs": {
|
|
658
|
+
"description": "Override file name (basename only; directories are stripped). Defaults to the original attachment file name. Collisions get a ' (1)' suffix",
|
|
842
659
|
"type": "string"
|
|
843
660
|
}
|
|
844
661
|
},
|
|
845
662
|
"required": [
|
|
846
663
|
"operation",
|
|
847
|
-
"
|
|
664
|
+
"messageId"
|
|
848
665
|
],
|
|
849
666
|
"additionalProperties": false
|
|
850
667
|
},
|
|
@@ -1754,12 +1571,30 @@
|
|
|
1754
1571
|
"const": "pull_messages"
|
|
1755
1572
|
},
|
|
1756
1573
|
"account": {
|
|
1757
|
-
"description": "Account name or address. If not specified, uses default account",
|
|
1574
|
+
"description": "Account name or address. If not specified, uses default account (ignored when allAccounts/accounts is set)",
|
|
1758
1575
|
"type": "string"
|
|
1759
1576
|
},
|
|
1760
1577
|
"limit": {
|
|
1761
|
-
"description": "Maximum number of messages to pull from server",
|
|
1578
|
+
"description": "Maximum number of messages to pull from server per account",
|
|
1762
1579
|
"type": "number"
|
|
1580
|
+
},
|
|
1581
|
+
"allAccounts": {
|
|
1582
|
+
"description": "Pull every messenger-enabled account in ONE bounded-concurrency fan-out (default concurrency 5). Only the process holding each account's polling lock pulls; per-account failures are isolated in the result entries. Returns one result entry per account",
|
|
1583
|
+
"type": "boolean"
|
|
1584
|
+
},
|
|
1585
|
+
"accounts": {
|
|
1586
|
+
"description": "Restrict the fan-out to these accounts (implies allAccounts flow). Cold accounts are initialized on demand",
|
|
1587
|
+
"type": "array",
|
|
1588
|
+
"items": {
|
|
1589
|
+
"type": "string",
|
|
1590
|
+
"description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
"concurrency": {
|
|
1594
|
+
"description": "Max concurrent account pulls in fan-out mode (default 5)",
|
|
1595
|
+
"type": "number",
|
|
1596
|
+
"minimum": 1,
|
|
1597
|
+
"maximum": 20
|
|
1763
1598
|
}
|
|
1764
1599
|
},
|
|
1765
1600
|
"required": [
|
|
@@ -1319,7 +1319,7 @@
|
|
|
1319
1319
|
},
|
|
1320
1320
|
"description": {
|
|
1321
1321
|
"type": "string",
|
|
1322
|
-
"description": "Service description
|
|
1322
|
+
"description": "Full Service description as carried on-chain (input creation still caps at 4000 UTF-8 chars)."
|
|
1323
1323
|
}
|
|
1324
1324
|
},
|
|
1325
1325
|
"required": [
|
|
@@ -1468,7 +1468,7 @@
|
|
|
1468
1468
|
},
|
|
1469
1469
|
"description": {
|
|
1470
1470
|
"type": "string",
|
|
1471
|
-
"description": "Demand description
|
|
1471
|
+
"description": "Full Demand description as carried on-chain (input creation still caps at 4000 UTF-8 chars)."
|
|
1472
1472
|
},
|
|
1473
1473
|
"rewards": {
|
|
1474
1474
|
"type": "array",
|