@wowok/agent-mcp 3.0.4 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -20
- package/dist/customer/account-events.js +1 -1
- 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 +123 -0
- package/dist/graph/onchain/sdk-batch.js +1 -0
- package/dist/graph/onchain/sdk-dataplane.d.ts +43 -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/allocation-risk.js +1 -1
- package/dist/knowledge/allocation-templates.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.d.ts +12 -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-risk.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 +10 -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/payment-tracker.d.ts +63 -0
- package/dist/knowledge/payment-tracker.js +1 -0
- package/dist/knowledge/recipient-constraint.d.ts +160 -0
- package/dist/knowledge/recipient-constraint.js +1 -0
- package/dist/knowledge/safety-rules.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.d.ts +4 -0
- 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/arbitrator-interest.d.ts +2 -0
- package/dist/participation/arbitrator-interest.js +1 -1
- package/dist/participation/collaborator-interest.d.ts +2 -0
- package/dist/participation/collaborator-interest.js +1 -1
- package/dist/participation/customer-interest.d.ts +2 -0
- package/dist/participation/customer-interest.js +1 -1
- package/dist/participation/merchant-interest.d.ts +2 -0
- package/dist/participation/merchant-interest.js +1 -1
- package/dist/participation/radar-core.d.ts +15 -15
- package/dist/participation/radar-core.js +1 -1
- package/dist/participation/supplier-interest.d.ts +2 -0
- package/dist/participation/supplier-interest.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/merchant-guide.d.ts +7 -0
- package/dist/playbooks/service-build/merchant-guide.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/pipeline-actions.d.ts +2 -2
- package/dist/playbooks/service-build/pipeline-actions.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/risk-aggregator.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/relationship/derivation.js +1 -1
- 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/allocation.js +1 -1
- package/dist/schema/call/base.js +1 -1
- 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/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/employee/index.d.ts +7 -7
- package/dist/schema/evaluation/index.d.ts +26 -13
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +53 -17
- package/dist/schema/goal/index.js +1 -1
- package/dist/schema/goal/planning.d.ts +7 -7
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +13 -6
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/industry-pack/modes.d.ts +6 -6
- package/dist/schema/intent-radar/index.d.ts +16 -16
- package/dist/schema/local/index.d.ts +8 -4
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +428 -72
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +177 -34
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +15744 -1
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +891 -24
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +168 -43
- 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/bridge_operation.schema.json +10 -10
- package/dist/schemas/evaluation_operation.output.json +24 -0
- package/dist/schemas/evaluation_operation.schema.json +7 -7
- package/dist/schemas/goal_operation.schema.json +124 -0
- package/dist/schemas/guard2file.schema.json +2 -2
- 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/machineNode2file.schema.json +2 -2
- package/dist/schemas/messenger_operation.output.json +934 -236
- package/dist/schemas/messenger_operation.schema.json +93 -242
- package/dist/schemas/onchain_events.schema.json +1 -1
- package/dist/schemas/onchain_operations.schema.json +54 -54
- package/dist/schemas/onchain_operations_allocation.schema.json +5 -5
- package/dist/schemas/onchain_operations_arbitration.schema.json +2 -2
- package/dist/schemas/onchain_operations_contact.schema.json +2 -2
- package/dist/schemas/onchain_operations_demand.schema.json +2 -2
- package/dist/schemas/onchain_operations_gen_passport.schema.json +2 -2
- package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -2
- package/dist/schemas/onchain_operations_guard.schema.json +2 -2
- package/dist/schemas/onchain_operations_machine.schema.json +8 -8
- package/dist/schemas/onchain_operations_order.schema.json +2 -2
- package/dist/schemas/onchain_operations_payment.schema.json +3 -3
- package/dist/schemas/onchain_operations_permission.schema.json +2 -2
- package/dist/schemas/onchain_operations_personal.schema.json +2 -2
- package/dist/schemas/onchain_operations_progress.schema.json +2 -2
- package/dist/schemas/onchain_operations_proof.schema.json +2 -2
- package/dist/schemas/onchain_operations_repository.schema.json +5 -5
- package/dist/schemas/onchain_operations_reward.schema.json +2 -2
- package/dist/schemas/onchain_operations_service.schema.json +5 -5
- package/dist/schemas/onchain_operations_treasury.schema.json +4 -4
- package/dist/schemas/onchain_table_data.output.json +197 -13
- 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 +1615 -10
- package/dist/schemas/query_toolkit.schema.json +232 -42
- 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/onchain.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/rules-hook.d.ts +2 -0
- 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
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"type": "boolean"
|
|
130
130
|
},
|
|
131
131
|
"network": {
|
|
132
|
-
"description": "Target network
|
|
132
|
+
"description": "Target network. REQUIRED when guardAddress and passportAddress are provided — Guard messages and regular messages are independent data systems on different networks. Guard verification is MAINNET-ONLY (no testnet)",
|
|
133
133
|
"type": "string",
|
|
134
134
|
"enum": [
|
|
135
135
|
"localnet",
|
|
@@ -150,6 +150,14 @@
|
|
|
150
150
|
"messageId"
|
|
151
151
|
],
|
|
152
152
|
"additionalProperties": false
|
|
153
|
+
},
|
|
154
|
+
"smart": {
|
|
155
|
+
"description": "Smart send (default true): when the recipient's guard policy rejects a plain send, silently resend using a local Passport issued via one of their guards; when no usable Passport exists, returns a structured guard_authorization_required result (authRequired=true) instead of an error. Set false for strict legacy behavior. Guard verification runs on MAINNET only",
|
|
156
|
+
"type": "boolean"
|
|
157
|
+
},
|
|
158
|
+
"authorize": {
|
|
159
|
+
"description": "One-click guard authorization: when the recipient's guard policy rejects the send, create a fresh Passport via ALL of their guards in one gas-consuming transaction and resend automatically. Use after showing the user the guard_authorization_required card and getting consent. If a guard demands submission answers, the result returns authRequired with submissions for follow-up. The Passport tx is always on MAINNET (guard verification is mainnet-only)",
|
|
160
|
+
"type": "boolean"
|
|
153
161
|
}
|
|
154
162
|
},
|
|
155
163
|
"additionalProperties": false
|
|
@@ -198,7 +206,7 @@
|
|
|
198
206
|
},
|
|
199
207
|
"filePath": {
|
|
200
208
|
"type": "string",
|
|
201
|
-
"description": "Local file path to send.
|
|
209
|
+
"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"
|
|
202
210
|
},
|
|
203
211
|
"options": {
|
|
204
212
|
"description": "Optional file sending settings",
|
|
@@ -209,7 +217,7 @@
|
|
|
209
217
|
"type": "string"
|
|
210
218
|
},
|
|
211
219
|
"contentType": {
|
|
212
|
-
"description": "
|
|
220
|
+
"description": "Legacy server-visible classification hint (auto-inferred from extension: .wts/.wip, otherwise zip). Evidence types wts/wip always win over extension",
|
|
213
221
|
"type": "string",
|
|
214
222
|
"enum": [
|
|
215
223
|
"wts",
|
|
@@ -217,6 +225,39 @@
|
|
|
217
225
|
"zip"
|
|
218
226
|
]
|
|
219
227
|
},
|
|
228
|
+
"kind": {
|
|
229
|
+
"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)",
|
|
230
|
+
"type": "string",
|
|
231
|
+
"enum": [
|
|
232
|
+
"image",
|
|
233
|
+
"video",
|
|
234
|
+
"audio",
|
|
235
|
+
"voice",
|
|
236
|
+
"file",
|
|
237
|
+
"wts",
|
|
238
|
+
"wip"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"mimeType": {
|
|
242
|
+
"description": "Explicit MIME type override (otherwise inferred from extension)",
|
|
243
|
+
"type": "string"
|
|
244
|
+
},
|
|
245
|
+
"caption": {
|
|
246
|
+
"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",
|
|
247
|
+
"type": "string"
|
|
248
|
+
},
|
|
249
|
+
"durationMs": {
|
|
250
|
+
"description": "Audio/video duration in milliseconds",
|
|
251
|
+
"type": "number"
|
|
252
|
+
},
|
|
253
|
+
"width": {
|
|
254
|
+
"description": "Media width in pixels",
|
|
255
|
+
"type": "number"
|
|
256
|
+
},
|
|
257
|
+
"height": {
|
|
258
|
+
"description": "Media height in pixels",
|
|
259
|
+
"type": "number"
|
|
260
|
+
},
|
|
220
261
|
"guardAddress": {
|
|
221
262
|
"description": "Guard address. REQUIRED when sending Guard-verified files",
|
|
222
263
|
"type": "string"
|
|
@@ -323,7 +364,7 @@
|
|
|
323
364
|
"type": "boolean"
|
|
324
365
|
},
|
|
325
366
|
"network": {
|
|
326
|
-
"description": "Target network
|
|
367
|
+
"description": "Target network. REQUIRED when guardAddress and passportAddress are provided — Guard messages and regular messages are independent data systems on different networks. Guard verification is MAINNET-ONLY (no testnet)",
|
|
327
368
|
"type": "string",
|
|
328
369
|
"enum": [
|
|
329
370
|
"localnet",
|
|
@@ -344,6 +385,14 @@
|
|
|
344
385
|
"messageId"
|
|
345
386
|
],
|
|
346
387
|
"additionalProperties": false
|
|
388
|
+
},
|
|
389
|
+
"smart": {
|
|
390
|
+
"description": "Smart send (default true): when the recipient's guard policy rejects a plain send, silently resend using a local Passport issued via one of their guards; when no usable Passport exists, returns a structured guard_authorization_required result (authRequired=true) instead of an error. Set false for strict legacy behavior. Guard verification runs on MAINNET only",
|
|
391
|
+
"type": "boolean"
|
|
392
|
+
},
|
|
393
|
+
"authorize": {
|
|
394
|
+
"description": "One-click guard authorization: when the recipient's guard policy rejects the send, create a fresh Passport via ALL of their guards in one gas-consuming transaction and resend automatically. Use after showing the user the guard_authorization_required card and getting consent. If a guard demands submission answers, the result returns authRequired with submissions for follow-up. The Passport tx is always on MAINNET (guard verification is mainnet-only)",
|
|
395
|
+
"type": "boolean"
|
|
347
396
|
}
|
|
348
397
|
},
|
|
349
398
|
"additionalProperties": false
|
|
@@ -526,6 +575,14 @@
|
|
|
526
575
|
"description": "Only return messages with proof",
|
|
527
576
|
"type": "boolean"
|
|
528
577
|
},
|
|
578
|
+
"beforeCreatedAt": {
|
|
579
|
+
"description": "Keyset pagination cursor: only return messages created strictly BEFORE this timestamp (ms). MUST be provided together with beforeMessageId; when both are absent the newest page is returned. Use for 'open conversation showing latest N, scroll up to load older pages'",
|
|
580
|
+
"type": "number"
|
|
581
|
+
},
|
|
582
|
+
"beforeMessageId": {
|
|
583
|
+
"description": "Keyset pagination cursor: message ID anchor paired with beforeCreatedAt (tie-breaker for messages with identical createdAt). MUST be provided together with beforeCreatedAt",
|
|
584
|
+
"type": "string"
|
|
585
|
+
},
|
|
529
586
|
"hasLastReceivedIndexOnly": {
|
|
530
587
|
"description": "Only return messages with lastReceivedLeafIndex",
|
|
531
588
|
"type": "boolean"
|
|
@@ -607,252 +664,28 @@
|
|
|
607
664
|
"properties": {
|
|
608
665
|
"operation": {
|
|
609
666
|
"type": "string",
|
|
610
|
-
"const": "
|
|
667
|
+
"const": "save_attachment"
|
|
611
668
|
},
|
|
612
669
|
"account": {
|
|
613
|
-
"description": "Account name or address. If not specified, uses default account",
|
|
670
|
+
"description": "Account name or address owning the message. If not specified, uses default account",
|
|
614
671
|
"type": "string"
|
|
615
672
|
},
|
|
616
|
-
"
|
|
617
|
-
"type": "
|
|
618
|
-
"
|
|
619
|
-
"anyOf": [
|
|
620
|
-
{
|
|
621
|
-
"type": "string"
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"type": "object",
|
|
625
|
-
"properties": {
|
|
626
|
-
"messageId": {
|
|
627
|
-
"type": "string",
|
|
628
|
-
"description": "Message ID"
|
|
629
|
-
},
|
|
630
|
-
"fromAddress": {
|
|
631
|
-
"type": "string",
|
|
632
|
-
"description": "Sender address"
|
|
633
|
-
},
|
|
634
|
-
"toAddress": {
|
|
635
|
-
"type": "string",
|
|
636
|
-
"description": "Recipient address"
|
|
637
|
-
},
|
|
638
|
-
"plaintextHash": {
|
|
639
|
-
"type": "string",
|
|
640
|
-
"description": "Plaintext hash"
|
|
641
|
-
},
|
|
642
|
-
"plaintext": {
|
|
643
|
-
"description": "Decrypted plaintext (optional)",
|
|
644
|
-
"type": "string"
|
|
645
|
-
},
|
|
646
|
-
"replyTo": {
|
|
647
|
-
"description": "Quoted (replied-to) message reference, if this message replies to a previous one",
|
|
648
|
-
"type": "object",
|
|
649
|
-
"properties": {
|
|
650
|
-
"messageId": {
|
|
651
|
-
"type": "string",
|
|
652
|
-
"description": "Replied-to message ID (unique within the conversation)"
|
|
653
|
-
}
|
|
654
|
-
},
|
|
655
|
-
"required": [
|
|
656
|
-
"messageId"
|
|
657
|
-
],
|
|
658
|
-
"additionalProperties": false
|
|
659
|
-
},
|
|
660
|
-
"guardAddress": {
|
|
661
|
-
"description": "Guard address",
|
|
662
|
-
"type": "string"
|
|
663
|
-
},
|
|
664
|
-
"passportAddress": {
|
|
665
|
-
"description": "Passport address",
|
|
666
|
-
"type": "string"
|
|
667
|
-
},
|
|
668
|
-
"lastReceivedLeafIndex": {
|
|
669
|
-
"description": "Last received leaf index",
|
|
670
|
-
"type": "number"
|
|
671
|
-
},
|
|
672
|
-
"direction": {
|
|
673
|
-
"type": "string",
|
|
674
|
-
"enum": [
|
|
675
|
-
"sent",
|
|
676
|
-
"received"
|
|
677
|
-
],
|
|
678
|
-
"description": "Message direction"
|
|
679
|
-
},
|
|
680
|
-
"status": {
|
|
681
|
-
"type": "string",
|
|
682
|
-
"enum": [
|
|
683
|
-
"pending",
|
|
684
|
-
"confirmed",
|
|
685
|
-
"read",
|
|
686
|
-
"failed",
|
|
687
|
-
"rejected",
|
|
688
|
-
"decrypted",
|
|
689
|
-
"decrypt_failed"
|
|
690
|
-
],
|
|
691
|
-
"description": "Message status"
|
|
692
|
-
},
|
|
693
|
-
"msgType": {
|
|
694
|
-
"anyOf": [
|
|
695
|
-
{
|
|
696
|
-
"type": "number",
|
|
697
|
-
"const": 1
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
"type": "number",
|
|
701
|
-
"const": 3
|
|
702
|
-
}
|
|
703
|
-
],
|
|
704
|
-
"description": "Message type"
|
|
705
|
-
},
|
|
706
|
-
"leafIndex": {
|
|
707
|
-
"description": "Leaf index",
|
|
708
|
-
"type": "number"
|
|
709
|
-
},
|
|
710
|
-
"prevRoot": {
|
|
711
|
-
"description": "Previous Merkle Root",
|
|
712
|
-
"type": "string"
|
|
713
|
-
},
|
|
714
|
-
"newRoot": {
|
|
715
|
-
"description": "Current Merkle Root",
|
|
716
|
-
"type": "string"
|
|
717
|
-
},
|
|
718
|
-
"serverSignature": {
|
|
719
|
-
"description": "Server signature",
|
|
720
|
-
"type": "string"
|
|
721
|
-
},
|
|
722
|
-
"serverTimestamp": {
|
|
723
|
-
"description": "Server confirmation timestamp",
|
|
724
|
-
"type": "number"
|
|
725
|
-
},
|
|
726
|
-
"serverPublicKey": {
|
|
727
|
-
"description": "Server public key",
|
|
728
|
-
"type": "string"
|
|
729
|
-
},
|
|
730
|
-
"arkConfirmed": {
|
|
731
|
-
"description": "ARK confirmation",
|
|
732
|
-
"type": "object",
|
|
733
|
-
"properties": {
|
|
734
|
-
"recipient": {
|
|
735
|
-
"type": "string",
|
|
736
|
-
"description": "Recipient address"
|
|
737
|
-
},
|
|
738
|
-
"recipientPublicKey": {
|
|
739
|
-
"type": "string",
|
|
740
|
-
"description": "Recipient public key"
|
|
741
|
-
},
|
|
742
|
-
"signature": {
|
|
743
|
-
"type": "string",
|
|
744
|
-
"description": "Recipient signature"
|
|
745
|
-
},
|
|
746
|
-
"timestamp": {
|
|
747
|
-
"type": "number",
|
|
748
|
-
"description": "ARK confirmation time"
|
|
749
|
-
}
|
|
750
|
-
},
|
|
751
|
-
"required": [
|
|
752
|
-
"recipient",
|
|
753
|
-
"recipientPublicKey",
|
|
754
|
-
"signature",
|
|
755
|
-
"timestamp"
|
|
756
|
-
],
|
|
757
|
-
"additionalProperties": false
|
|
758
|
-
},
|
|
759
|
-
"createdAt": {
|
|
760
|
-
"type": "number",
|
|
761
|
-
"description": "Message creation time (client)"
|
|
762
|
-
},
|
|
763
|
-
"receivedAt": {
|
|
764
|
-
"description": "Local reception time",
|
|
765
|
-
"type": "number"
|
|
766
|
-
},
|
|
767
|
-
"zipMetadata": {
|
|
768
|
-
"description": "ZIP file metadata",
|
|
769
|
-
"type": "object",
|
|
770
|
-
"properties": {
|
|
771
|
-
"fileName": {
|
|
772
|
-
"type": "string",
|
|
773
|
-
"description": "ZIP filename"
|
|
774
|
-
},
|
|
775
|
-
"fileSize": {
|
|
776
|
-
"type": "number",
|
|
777
|
-
"description": "File size in bytes"
|
|
778
|
-
},
|
|
779
|
-
"fileHash": {
|
|
780
|
-
"type": "string",
|
|
781
|
-
"description": "File SHA256 hash"
|
|
782
|
-
},
|
|
783
|
-
"contentType": {
|
|
784
|
-
"type": "string",
|
|
785
|
-
"enum": [
|
|
786
|
-
"text",
|
|
787
|
-
"zip",
|
|
788
|
-
"wts",
|
|
789
|
-
"wip"
|
|
790
|
-
],
|
|
791
|
-
"description": "Content type"
|
|
792
|
-
},
|
|
793
|
-
"localCachePath": {
|
|
794
|
-
"description": "Local cache path",
|
|
795
|
-
"type": "string"
|
|
796
|
-
},
|
|
797
|
-
"downloadedAt": {
|
|
798
|
-
"description": "Download timestamp",
|
|
799
|
-
"type": "number"
|
|
800
|
-
}
|
|
801
|
-
},
|
|
802
|
-
"required": [
|
|
803
|
-
"fileName",
|
|
804
|
-
"fileSize",
|
|
805
|
-
"fileHash",
|
|
806
|
-
"contentType"
|
|
807
|
-
],
|
|
808
|
-
"additionalProperties": false
|
|
809
|
-
},
|
|
810
|
-
"proof": {
|
|
811
|
-
"description": "On-chain proof object address",
|
|
812
|
-
"type": "string"
|
|
813
|
-
},
|
|
814
|
-
"decryptError": {
|
|
815
|
-
"description": "Decryption failure reason",
|
|
816
|
-
"type": "string"
|
|
817
|
-
},
|
|
818
|
-
"decryptAttempts": {
|
|
819
|
-
"description": "Number of decryption attempts",
|
|
820
|
-
"type": "number"
|
|
821
|
-
},
|
|
822
|
-
"lastDecryptAttemptAt": {
|
|
823
|
-
"description": "Last decryption attempt timestamp",
|
|
824
|
-
"type": "number"
|
|
825
|
-
},
|
|
826
|
-
"viewedAt": {
|
|
827
|
-
"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')",
|
|
828
|
-
"type": "number"
|
|
829
|
-
}
|
|
830
|
-
},
|
|
831
|
-
"required": [
|
|
832
|
-
"messageId",
|
|
833
|
-
"fromAddress",
|
|
834
|
-
"toAddress",
|
|
835
|
-
"plaintextHash",
|
|
836
|
-
"direction",
|
|
837
|
-
"status",
|
|
838
|
-
"msgType",
|
|
839
|
-
"createdAt"
|
|
840
|
-
],
|
|
841
|
-
"additionalProperties": false,
|
|
842
|
-
"description": "Message object"
|
|
843
|
-
}
|
|
844
|
-
]
|
|
845
|
-
},
|
|
846
|
-
"description": "Array of message objects or message IDs to extract"
|
|
673
|
+
"messageId": {
|
|
674
|
+
"type": "string",
|
|
675
|
+
"description": "Attachment message ID (a message with attachment/zipMetadata, e.g. found via watch_messages)"
|
|
847
676
|
},
|
|
848
677
|
"outputDir": {
|
|
849
|
-
"description": "
|
|
678
|
+
"description": "Target directory. If not specified, saves to the workspace/attachments directory",
|
|
679
|
+
"type": "string"
|
|
680
|
+
},
|
|
681
|
+
"saveAs": {
|
|
682
|
+
"description": "Override file name (basename only; directories are stripped). Defaults to the original attachment file name. Collisions get a ' (1)' suffix",
|
|
850
683
|
"type": "string"
|
|
851
684
|
}
|
|
852
685
|
},
|
|
853
686
|
"required": [
|
|
854
687
|
"operation",
|
|
855
|
-
"
|
|
688
|
+
"messageId"
|
|
856
689
|
],
|
|
857
690
|
"additionalProperties": false
|
|
858
691
|
},
|
|
@@ -1662,7 +1495,7 @@
|
|
|
1662
1495
|
"const": "set"
|
|
1663
1496
|
},
|
|
1664
1497
|
"allowStrangerMessages": {
|
|
1665
|
-
"description": "Allow messages from strangers",
|
|
1498
|
+
"description": "Allow messages from strangers. NOTE: only effective while the guard list is EMPTY — with any guard configured the stranger channel is disabled server-side and non-friends must hold a passport issued via one of the configured guards",
|
|
1666
1499
|
"type": "boolean"
|
|
1667
1500
|
},
|
|
1668
1501
|
"maxInboxSize": {
|
|
@@ -1762,12 +1595,30 @@
|
|
|
1762
1595
|
"const": "pull_messages"
|
|
1763
1596
|
},
|
|
1764
1597
|
"account": {
|
|
1765
|
-
"description": "Account name or address. If not specified, uses default account",
|
|
1598
|
+
"description": "Account name or address. If not specified, uses default account (ignored when allAccounts/accounts is set)",
|
|
1766
1599
|
"type": "string"
|
|
1767
1600
|
},
|
|
1768
1601
|
"limit": {
|
|
1769
|
-
"description": "Maximum number of messages to pull from server",
|
|
1602
|
+
"description": "Maximum number of messages to pull from server per account",
|
|
1770
1603
|
"type": "number"
|
|
1604
|
+
},
|
|
1605
|
+
"allAccounts": {
|
|
1606
|
+
"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",
|
|
1607
|
+
"type": "boolean"
|
|
1608
|
+
},
|
|
1609
|
+
"accounts": {
|
|
1610
|
+
"description": "Restrict the fan-out to these accounts (implies allAccounts flow). Cold accounts are initialized on demand",
|
|
1611
|
+
"type": "array",
|
|
1612
|
+
"items": {
|
|
1613
|
+
"type": "string",
|
|
1614
|
+
"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)."
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
"concurrency": {
|
|
1618
|
+
"description": "Max concurrent account pulls in fan-out mode (default 5)",
|
|
1619
|
+
"type": "number",
|
|
1620
|
+
"minimum": 1,
|
|
1621
|
+
"maximum": 20
|
|
1771
1622
|
}
|
|
1772
1623
|
},
|
|
1773
1624
|
"required": [
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"type": "string"
|
|
76
76
|
}
|
|
77
77
|
],
|
|
78
|
-
"description": "Event type to query. Supported types: ArbEvent (arbitration events), NewOrderEvent (new order events), ProgressEvent (progress events), DemandPresentEvent (demand presentation events), DemandFeedbackEvent (demand feedback events), NewEntityEvent (new entity registration events)"
|
|
78
|
+
"description": "Event type to query. Supported types (all 16 built-in framework events): ArbEvent (arbitration events), NewOrderEvent (new order events), ProgressEvent (progress events), DemandPresentEvent (demand presentation events), DemandFeedbackEvent (demand feedback events), NewEntityEvent (new entity registration events), ServiceEvent (service lifecycle events), ArbitrationEvent (arbitration creation events), DemandChangedEvent (demand update events), VoteEvent (voting events), FeedbackEvent (feedback events), AllocationEvent (allocation distribution events), TreasuryEvent (treasury deposit/withdraw events), RewardClaimEvent (reward claim events), RewardFundEvent (reward funding events), NewPaymentEvent (universal fund-flow receipt events). Any other string is accepted as a generic MoveEventType (e.g. '0x2::coin::CoinEvent')"
|
|
79
79
|
},
|
|
80
80
|
"cursor": {
|
|
81
81
|
"description": "Optional pagination cursor for fetching next page of results. Use null for first query, then use nextCursor from response for subsequent queries",
|