@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
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
},
|
|
199
199
|
"filePath": {
|
|
200
200
|
"type": "string",
|
|
201
|
-
"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"
|
|
202
202
|
},
|
|
203
203
|
"options": {
|
|
204
204
|
"description": "Optional file sending settings",
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
"type": "string"
|
|
210
210
|
},
|
|
211
211
|
"contentType": {
|
|
212
|
-
"description": "
|
|
212
|
+
"description": "Legacy server-visible classification hint (auto-inferred from extension: .wts/.wip, otherwise zip). Evidence types wts/wip always win over extension",
|
|
213
213
|
"type": "string",
|
|
214
214
|
"enum": [
|
|
215
215
|
"wts",
|
|
@@ -217,6 +217,39 @@
|
|
|
217
217
|
"zip"
|
|
218
218
|
]
|
|
219
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
|
+
},
|
|
220
253
|
"guardAddress": {
|
|
221
254
|
"description": "Guard address. REQUIRED when sending Guard-verified files",
|
|
222
255
|
"type": "string"
|
|
@@ -607,252 +640,28 @@
|
|
|
607
640
|
"properties": {
|
|
608
641
|
"operation": {
|
|
609
642
|
"type": "string",
|
|
610
|
-
"const": "
|
|
643
|
+
"const": "save_attachment"
|
|
611
644
|
},
|
|
612
645
|
"account": {
|
|
613
|
-
"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",
|
|
614
647
|
"type": "string"
|
|
615
648
|
},
|
|
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"
|
|
649
|
+
"messageId": {
|
|
650
|
+
"type": "string",
|
|
651
|
+
"description": "Attachment message ID (a message with attachment/zipMetadata, e.g. found via watch_messages)"
|
|
847
652
|
},
|
|
848
653
|
"outputDir": {
|
|
849
|
-
"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",
|
|
850
659
|
"type": "string"
|
|
851
660
|
}
|
|
852
661
|
},
|
|
853
662
|
"required": [
|
|
854
663
|
"operation",
|
|
855
|
-
"
|
|
664
|
+
"messageId"
|
|
856
665
|
],
|
|
857
666
|
"additionalProperties": false
|
|
858
667
|
},
|
|
@@ -1762,12 +1571,30 @@
|
|
|
1762
1571
|
"const": "pull_messages"
|
|
1763
1572
|
},
|
|
1764
1573
|
"account": {
|
|
1765
|
-
"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)",
|
|
1766
1575
|
"type": "string"
|
|
1767
1576
|
},
|
|
1768
1577
|
"limit": {
|
|
1769
|
-
"description": "Maximum number of messages to pull from server",
|
|
1578
|
+
"description": "Maximum number of messages to pull from server per account",
|
|
1770
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
|
|
1771
1598
|
}
|
|
1772
1599
|
},
|
|
1773
1600
|
"required": [
|
|
@@ -4890,7 +4890,7 @@
|
|
|
4890
4890
|
"additionalProperties": false,
|
|
4891
4891
|
"description": "Guard object that needs verification when writing policy"
|
|
4892
4892
|
},
|
|
4893
|
-
"description": "Guard object list that can be verified when writing data"
|
|
4893
|
+
"description": "Guard object list that can be verified when writing data. REQUIRED (non-empty) when id_from is 0/None (chain abort 22); optional when id_from is Clock/Signer."
|
|
4894
4894
|
},
|
|
4895
4895
|
"quote_guard": {
|
|
4896
4896
|
"description": "Guard object ID that needs verification when referencing this policy data on-chain (e.g., verifying if user has paid subscription). If null, no verification is needed for on-chain references. The Guard must have empty 'relies' field and 'rep' field true.",
|
|
@@ -5383,7 +5383,7 @@
|
|
|
5383
5383
|
"description": "Data item list."
|
|
5384
5384
|
},
|
|
5385
5385
|
"write_guard": {
|
|
5386
|
-
"description": "Guard ID or name.
|
|
5386
|
+
"description": "Guard ID or name. REQUIRED for data_add items when the matching policy uses id_from=None(0): it must reference one of that policy's write_guard guards, otherwise the chain aborts with 22 (E_POLICY_WRITE_GUARD_REQUIRED). Optional for Clock/Signer policies.",
|
|
5387
5387
|
"type": "string"
|
|
5388
5388
|
}
|
|
5389
5389
|
},
|
|
@@ -5469,7 +5469,7 @@
|
|
|
5469
5469
|
"description": "Data item ID list."
|
|
5470
5470
|
},
|
|
5471
5471
|
"write_guard": {
|
|
5472
|
-
"description": "Guard ID or name.
|
|
5472
|
+
"description": "Guard ID or name. REQUIRED for data_remove items when the matching policy uses id_from=None(0); optional for Clock/Signer policies.",
|
|
5473
5473
|
"type": "string"
|
|
5474
5474
|
}
|
|
5475
5475
|
},
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"additionalProperties": false,
|
|
145
145
|
"description": "Guard object that needs verification when writing policy"
|
|
146
146
|
},
|
|
147
|
-
"description": "Guard object list that can be verified when writing data"
|
|
147
|
+
"description": "Guard object list that can be verified when writing data. REQUIRED (non-empty) when id_from is 0/None (chain abort 22); optional when id_from is Clock/Signer."
|
|
148
148
|
},
|
|
149
149
|
"quote_guard": {
|
|
150
150
|
"description": "Guard object ID that needs verification when referencing this policy data on-chain (e.g., verifying if user has paid subscription). If null, no verification is needed for on-chain references. The Guard must have empty 'relies' field and 'rep' field true.",
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
"description": "Data item list."
|
|
638
638
|
},
|
|
639
639
|
"write_guard": {
|
|
640
|
-
"description": "Guard ID or name.
|
|
640
|
+
"description": "Guard ID or name. REQUIRED for data_add items when the matching policy uses id_from=None(0): it must reference one of that policy's write_guard guards, otherwise the chain aborts with 22 (E_POLICY_WRITE_GUARD_REQUIRED). Optional for Clock/Signer policies.",
|
|
641
641
|
"type": "string"
|
|
642
642
|
}
|
|
643
643
|
},
|
|
@@ -723,7 +723,7 @@
|
|
|
723
723
|
"description": "Data item ID list."
|
|
724
724
|
},
|
|
725
725
|
"write_guard": {
|
|
726
|
-
"description": "Guard ID or name.
|
|
726
|
+
"description": "Guard ID or name. REQUIRED for data_remove items when the matching policy uses id_from=None(0); optional for Clock/Signer policies.",
|
|
727
727
|
"type": "string"
|
|
728
728
|
}
|
|
729
729
|
},
|
|
@@ -5997,6 +5997,36 @@
|
|
|
5997
5997
|
"additionalProperties": false,
|
|
5998
5998
|
"description": "Role evidence derived from the address's on-chain facts (K3 22 §13 P1-7)."
|
|
5999
5999
|
},
|
|
6000
|
+
"follow_ups": {
|
|
6001
|
+
"description": "Guided follow-ups (INTERACTION FLOOR: always at least 2). Data-driven probes first (permission organizations / order footprint when memberships exist), generic relation probes (public personal profile / reverse map / recent activity) fill up to the floor. Present at least two, numbered, so the user can answer with one short reply.",
|
|
6002
|
+
"type": "array",
|
|
6003
|
+
"items": {
|
|
6004
|
+
"type": "object",
|
|
6005
|
+
"properties": {
|
|
6006
|
+
"label": {
|
|
6007
|
+
"type": "string",
|
|
6008
|
+
"description": "Short label of the guided follow-up probe."
|
|
6009
|
+
},
|
|
6010
|
+
"detail": {
|
|
6011
|
+
"description": "One line on what the probe answers.",
|
|
6012
|
+
"type": "string"
|
|
6013
|
+
},
|
|
6014
|
+
"call": {
|
|
6015
|
+
"type": "object",
|
|
6016
|
+
"propertyNames": {
|
|
6017
|
+
"type": "string"
|
|
6018
|
+
},
|
|
6019
|
+
"additionalProperties": {},
|
|
6020
|
+
"description": "READY-TO-RUN query_toolkit arguments for this probe — present it to the user so a single short reply runs it."
|
|
6021
|
+
}
|
|
6022
|
+
},
|
|
6023
|
+
"required": [
|
|
6024
|
+
"label",
|
|
6025
|
+
"call"
|
|
6026
|
+
],
|
|
6027
|
+
"additionalProperties": false
|
|
6028
|
+
}
|
|
6029
|
+
},
|
|
6000
6030
|
"service_analysis": {
|
|
6001
6031
|
"description": "Service-type analysis merged into the address profile (present for Service addresses).",
|
|
6002
6032
|
"anyOf": [
|
|
@@ -9520,6 +9550,160 @@
|
|
|
9520
9550
|
],
|
|
9521
9551
|
"additionalProperties": false,
|
|
9522
9552
|
"description": "Cross-network build detection + mainnet customization preflight (first-touch migration): detect whether the account has already built Services/Machines/etc. on the source network (default testnet), report the same on the target network (default mainnet), and return a business-facing checklist of the key settings to confirm/change when migrating — payment token, location, arbitration, WIP, gas. Read-only."
|
|
9553
|
+
},
|
|
9554
|
+
{
|
|
9555
|
+
"type": "object",
|
|
9556
|
+
"properties": {
|
|
9557
|
+
"query_type": {
|
|
9558
|
+
"type": "string",
|
|
9559
|
+
"const": "onchain_topology"
|
|
9560
|
+
},
|
|
9561
|
+
"focus": {
|
|
9562
|
+
"description": "Seed of the topology — an on-chain address (EOA 0x00… or any object 0x10..0x24/0xf1) or a LocalMark name (resolved automatically). Required when query_type='onchain_topology'. The read-side topology kernel expands OUTWARD from this seed over the machine-readable EdgeSchema: holder fields, global reverse indexes (orders/permissions/bindings/votes), Machine node tables (the workflow graph) and derived money-flow edges.",
|
|
9563
|
+
"type": "string"
|
|
9564
|
+
},
|
|
9565
|
+
"context_network": {
|
|
9566
|
+
"type": "string",
|
|
9567
|
+
"enum": [
|
|
9568
|
+
"testnet",
|
|
9569
|
+
"mainnet",
|
|
9570
|
+
"localnet"
|
|
9571
|
+
],
|
|
9572
|
+
"description": "Network for the query. Defaults to 'testnet' if omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9573
|
+
},
|
|
9574
|
+
"intent": {
|
|
9575
|
+
"description": "SEMANTIC exploration strategy (G3) — what this topology call is trying to establish. Deterministically shapes the edge whitelist, per-family depth caps and budget: full_map=complete structural map; order_health=order lifecycle+completion+disputes; fund_flow=payments+allocation waterfall+guard-gated splits; workflow=Machine node graphs+transitions+progress; counterparty=who is on the other side (buyer/seller/agents/operators); reputation=votes+arbitration record+contacts; permission=permission groups+bindings+entity tables; supply_chain=multi-leg allocation/sub-order settlement; arbitration=dispute cases+voters; demand_match=demand presenters+guards+rewards. When omitted, defaults come from the persona system (role default intents < account persona preference), then industry templates; every applied layer is reported in result.strategy.trace.",
|
|
9576
|
+
"type": "string",
|
|
9577
|
+
"enum": [
|
|
9578
|
+
"full_map",
|
|
9579
|
+
"order_health",
|
|
9580
|
+
"fund_flow",
|
|
9581
|
+
"workflow",
|
|
9582
|
+
"counterparty",
|
|
9583
|
+
"reputation",
|
|
9584
|
+
"permission",
|
|
9585
|
+
"supply_chain",
|
|
9586
|
+
"arbitration",
|
|
9587
|
+
"demand_match"
|
|
9588
|
+
]
|
|
9589
|
+
},
|
|
9590
|
+
"role": {
|
|
9591
|
+
"description": "Identity lens for the default strategy: the persona role whose default intents and RoleProfile.topology preference drive the exploration when 'intent' is omitted (e.g. prospect → counterparty+reputation+fund_flow due diligence).",
|
|
9592
|
+
"type": "string",
|
|
9593
|
+
"enum": [
|
|
9594
|
+
"merchant",
|
|
9595
|
+
"customer",
|
|
9596
|
+
"demander",
|
|
9597
|
+
"prospect",
|
|
9598
|
+
"supplier",
|
|
9599
|
+
"collaborator",
|
|
9600
|
+
"arbitrator"
|
|
9601
|
+
]
|
|
9602
|
+
},
|
|
9603
|
+
"industry": {
|
|
9604
|
+
"description": "Industry template lens (freelance/rental/education/travel/subscription/retail or a registered pack industry): shapes per-family depth caps — e.g. rental deepens money edges (deposit round-trip), travel deepens workflow (multi-leg trips).",
|
|
9605
|
+
"type": "string"
|
|
9606
|
+
},
|
|
9607
|
+
"context_account": {
|
|
9608
|
+
"description": "Optional EOA address whose persona record supplies the identity-specific exploration preference (RoleProfile.topology). Omit to use the system persona. Also serves as the OBSERVER of the G2 role-interest view when interest_role is set.",
|
|
9609
|
+
"type": "string"
|
|
9610
|
+
},
|
|
9611
|
+
"interest_role": {
|
|
9612
|
+
"description": "G2 role interest view — project THIS CommercialRole's complete interest view (利益评估 stakes + 可行操作路径 node-game actions + 博弈对手分析 + 风险提醒) for context_account (or the seed when it is an EOA) over the same expanded graph. The view is returned as result.role_interest and as one IR:<role> finding carrying the same structured payload. Scoring comes exclusively from the evaluation game modules; when omitted, defaults to the persona 'role' lens if provided.",
|
|
9613
|
+
"type": "string",
|
|
9614
|
+
"enum": [
|
|
9615
|
+
"merchant",
|
|
9616
|
+
"customer",
|
|
9617
|
+
"demander",
|
|
9618
|
+
"prospect",
|
|
9619
|
+
"supplier",
|
|
9620
|
+
"collaborator",
|
|
9621
|
+
"arbitrator",
|
|
9622
|
+
"neutral",
|
|
9623
|
+
"system"
|
|
9624
|
+
]
|
|
9625
|
+
},
|
|
9626
|
+
"no_cache": {
|
|
9627
|
+
"description": "Set true to bypass the SDK chain-read cache. In-call batching/dedup still applies.",
|
|
9628
|
+
"type": "boolean"
|
|
9629
|
+
},
|
|
9630
|
+
"analyze": {
|
|
9631
|
+
"description": "Run the registered graph Analyzer suite (R/A/O/G — risk / structural-arbitrage / opportunity / game) over the NEUTRAL viewport and return objective findings. Default true; set false for raw topology only. Findings are facts + structural suggestions, never scores — scoring stays in the game-theory modules.",
|
|
9632
|
+
"type": "boolean"
|
|
9633
|
+
},
|
|
9634
|
+
"analyzer_kinds": {
|
|
9635
|
+
"description": "Filter analyzer kinds when analyze=true (default: all four): risk=R rules, arbitrage=A structural-arbitrage, opportunity=O, game=G objective situations.",
|
|
9636
|
+
"type": "array",
|
|
9637
|
+
"items": {
|
|
9638
|
+
"type": "string",
|
|
9639
|
+
"enum": [
|
|
9640
|
+
"risk",
|
|
9641
|
+
"arbitrage",
|
|
9642
|
+
"opportunity",
|
|
9643
|
+
"game"
|
|
9644
|
+
]
|
|
9645
|
+
}
|
|
9646
|
+
},
|
|
9647
|
+
"only_analyzers": {
|
|
9648
|
+
"description": "Run ONLY these analyzer ids (whitelist, e.g. ['R1','G2']). The full registered id list is returned in `analyzers` of every response.",
|
|
9649
|
+
"type": "array",
|
|
9650
|
+
"items": {
|
|
9651
|
+
"type": "string"
|
|
9652
|
+
}
|
|
9653
|
+
},
|
|
9654
|
+
"include_raw": {
|
|
9655
|
+
"description": "Attach each node's full raw on-chain object as nodes[].raw. Default false — nodes then carry only kind/object_type/coin_type/state/depth, keeping the payload compact.",
|
|
9656
|
+
"type": "boolean"
|
|
9657
|
+
},
|
|
9658
|
+
"table_edges": {
|
|
9659
|
+
"description": "Dynamic-table edges to expand (channel B). Default ['machine.node'] — expands every reached Machine's workflow node table and DERIVES the wf.transition graph. Add 'permission.entity' for permission-group members (EOA/Guard + perm indices) and 'demand.presenter' for demand proposals.",
|
|
9660
|
+
"type": "array",
|
|
9661
|
+
"items": {
|
|
9662
|
+
"type": "string",
|
|
9663
|
+
"enum": [
|
|
9664
|
+
"machine.node",
|
|
9665
|
+
"permission.entity",
|
|
9666
|
+
"demand.presenter"
|
|
9667
|
+
]
|
|
9668
|
+
}
|
|
9669
|
+
},
|
|
9670
|
+
"budget": {
|
|
9671
|
+
"description": "Optional expansion-budget overrides. Every fetch stays batched (<=50 ids/request) regardless of these caps; exhaustion is reported honestly in budget_exhausted.",
|
|
9672
|
+
"type": "object",
|
|
9673
|
+
"properties": {
|
|
9674
|
+
"max_depth": {
|
|
9675
|
+
"description": "BFS wave depth (default 4).",
|
|
9676
|
+
"type": "integer",
|
|
9677
|
+
"minimum": 0,
|
|
9678
|
+
"maximum": 8
|
|
9679
|
+
},
|
|
9680
|
+
"max_nodes": {
|
|
9681
|
+
"description": "Hard node cap (default 500).",
|
|
9682
|
+
"type": "integer",
|
|
9683
|
+
"minimum": 1,
|
|
9684
|
+
"maximum": 3000
|
|
9685
|
+
},
|
|
9686
|
+
"max_rpcs": {
|
|
9687
|
+
"description": "Hard logical RPC-batch cap; each batch carries at most 50 ids (default 120).",
|
|
9688
|
+
"type": "integer",
|
|
9689
|
+
"minimum": 1,
|
|
9690
|
+
"maximum": 400
|
|
9691
|
+
},
|
|
9692
|
+
"max_fanout": {
|
|
9693
|
+
"description": "Per-node fanout cap per edge schema (default 60).",
|
|
9694
|
+
"type": "integer",
|
|
9695
|
+
"minimum": 1,
|
|
9696
|
+
"maximum": 5200
|
|
9697
|
+
}
|
|
9698
|
+
},
|
|
9699
|
+
"additionalProperties": false
|
|
9700
|
+
}
|
|
9701
|
+
},
|
|
9702
|
+
"required": [
|
|
9703
|
+
"query_type"
|
|
9704
|
+
],
|
|
9705
|
+
"additionalProperties": false,
|
|
9706
|
+
"description": "Read-only on-chain TOPOLOGY network around ONE seed address: batched multi-hop BFS over the machine-readable EdgeSchema (never per-id RPC; objects / EOA keyed fields / tables / events use four separate batched channels). Returns nodes + typed edges (family F=field / R=reverse-index / W=workflow / M=money-flow / S=social) with per-edge retention semantics (complete / bounded_exact / membership / bounded_window / derived), the STRUCTURAL workflow subgraph of each reached Machine (incl. its structural terminal set), structural completion of every Order reached, R/A/O/G analyzer findings, and truncation / data-gap / budget honesty markers. Read-only."
|
|
9523
9707
|
}
|
|
9524
9708
|
]
|
|
9525
9709
|
},
|