@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
|
@@ -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": [
|
|
@@ -7668,7 +7698,7 @@
|
|
|
7668
7698
|
"description": "Forward weight — the contribution this forward makes toward its Pair's threshold. ⚠️ SINGLE-OPERATOR LOCK: a forward contributes its weight AT MOST ONCE. It is locked by the first operator that accomplishes it (progress.move session_accomplish_imp); a second operator re-executing the same accomplished forward aborts E_NOT_THE_HOLDER. Therefore multi-operator cooperation (threshold > 1) needs one DISTINCT forward per contributing operator (e.g. threshold 2 → begin_a + begin_b, each weight 1) — never reuse one forward."
|
|
7669
7699
|
},
|
|
7670
7700
|
"guard": {
|
|
7671
|
-
"description": "Guard reference for this forward. Accepts TWO formats:\n• STRING (preferred): \"my_guard_name\" — the Guard's name or address as a plain string.\n• OBJECT (only when retained_submission is needed): {guard: \"my_guard_name\", retained_submission: [1,2,3]}.\nFOLLOW THE SCHEMA FIELD STRUCTURE: A Guard reference is fundamentally a STRING (the Guard object's name or address). Provide a string when you only need to reference a Guard — do NOT wrap a bare string in an object structure. The OBJECT form {guard: \"...\", retained_submission: [...]} exists ONLY to carry additional `retained_submission` data alongside the string reference; inside the object, the `guard` field is STILL a string. In short: string-in for a string reference, object-in only when you need to pass extra data.\nCOGNITIVE PRINCIPLE: Guard validation ALWAYS occurs BEFORE the forward operation. A Guard that queries state of the SAME Progress object this forward operates on (e.g. progress.current) will see the PRE-transition value (source node), NOT the target node. If the Guard checks progress.current == target_node, it will ALWAYS FAIL. Querying a DIFFERENT Progress object (cross-machine) is safe and reasonable — that progress is not modified by this forward. For target-node verification after transition, bind the Guard to the Allocator instead (allocation.alloc runs AFTER the state transition completes).\n⚠️ T1 LOSSY POINT (B-3): WoWok has NO on-chain cron. A business phrase like 'after N days, auto-X' is NOT an automatic trigger — it decomposes into (1) a time_guard that checks elapsed time, and (2) an OFF-CHAIN keeper that must submit the forward when the guard passes. Configuring a time_guard WITHOUT a keeper means nothing ever fires.",
|
|
7701
|
+
"description": "Guard reference for this forward. Accepts TWO formats:\n• STRING (preferred): \"my_guard_name\" — the Guard's name or address as a plain string.\n• OBJECT (only when retained_submission is needed): {guard: \"my_guard_name\", retained_submission: [1,2,3]}.\nFOLLOW THE SCHEMA FIELD STRUCTURE: A Guard reference is fundamentally a STRING (the Guard object's name or address). Provide a string when you only need to reference a Guard — do NOT wrap a bare string in an object structure. The OBJECT form {guard: \"...\", retained_submission: [...]} exists ONLY to carry additional `retained_submission` data alongside the string reference; inside the object, the `guard` field is STILL a string. In short: string-in for a string reference, object-in only when you need to pass extra data.\nCOGNITIVE PRINCIPLE: Guard validation ALWAYS occurs BEFORE the forward operation. A Guard that queries state of the SAME Progress object this forward operates on (e.g. progress.current) will see the PRE-transition value (source node), NOT the target node. If the Guard checks progress.current == target_node, it will ALWAYS FAIL. Querying a DIFFERENT Progress object (cross-machine) is safe and reasonable — that progress is not modified by this forward. For target-node verification after transition, bind the Guard to the Allocator instead (allocation.alloc runs AFTER the state transition completes).\n⚠️ T1 LOSSY POINT (B-3): WoWok has NO on-chain cron. A business phrase like 'after N days, auto-X' is NOT an automatic trigger — it decomposes into (1) a time_guard that checks elapsed time, and (2) an OFF-CHAIN keeper that must submit the forward when the guard passes. Configuring a time_guard WITHOUT a keeper means nothing ever fires.\nRETAINED_SUBMISSION: a non-empty retained_submission does NOT relax Guard verification — the forward's Guard is always validated first. The list only selects which of the caller's already-verified submissions are persisted into the Progress history (see the guard field above).",
|
|
7672
7702
|
"anyOf": [
|
|
7673
7703
|
{
|
|
7674
7704
|
"anyOf": [
|
|
@@ -7680,7 +7710,7 @@
|
|
|
7680
7710
|
"description": "Guard object name or address (string). Example: 'my_attendance_guard' or '0x1234...'"
|
|
7681
7711
|
},
|
|
7682
7712
|
"retained_submission": {
|
|
7683
|
-
"description": "
|
|
7713
|
+
"description": "Guard table identifiers whose verified values are persisted into the Progress history when the forward is accomplished. The Guard is ALWAYS fully verified first (regardless of this list): the forward cannot complete unless the Passport carries a passing result for it. After verification, exactly the caller's submissions for the listed identifiers are copied into history (passport::submissions_get) as Guard-verified facts; empty array (default) records nothing. Use it for audit and downstream queries, never as a way to relax Guard conditions.",
|
|
7684
7714
|
"anyOf": [
|
|
7685
7715
|
{
|
|
7686
7716
|
"type": "array",
|
|
@@ -8468,7 +8498,7 @@
|
|
|
8468
8498
|
"additionalProperties": false,
|
|
8469
8499
|
"description": "Guard submission"
|
|
8470
8500
|
},
|
|
8471
|
-
"description": "
|
|
8501
|
+
"description": "Values persisted into the Progress history when this forward was accomplished. PROVENANCE: when the Machine forward lists retained_submission identifiers, the Guard is STILL fully verified first — the forward cannot complete without a passing Guard result. After verification, exactly the caller's submissions for the listed identifiers are copied here as Guard-verified facts (see MachineForwardGuardSchema)."
|
|
8472
8502
|
},
|
|
8473
8503
|
"msg": {
|
|
8474
8504
|
"type": "string",
|
|
@@ -9083,7 +9113,7 @@
|
|
|
9083
9113
|
"mainnet",
|
|
9084
9114
|
"localnet"
|
|
9085
9115
|
],
|
|
9086
|
-
"description": "Network for the query. Defaults to '
|
|
9116
|
+
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9087
9117
|
}
|
|
9088
9118
|
},
|
|
9089
9119
|
"required": [
|
|
@@ -9110,7 +9140,7 @@
|
|
|
9110
9140
|
"mainnet",
|
|
9111
9141
|
"localnet"
|
|
9112
9142
|
],
|
|
9113
|
-
"description": "Network for the query. Defaults to '
|
|
9143
|
+
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9114
9144
|
}
|
|
9115
9145
|
},
|
|
9116
9146
|
"required": [
|
|
@@ -9137,7 +9167,7 @@
|
|
|
9137
9167
|
"mainnet",
|
|
9138
9168
|
"localnet"
|
|
9139
9169
|
],
|
|
9140
|
-
"description": "Network for the query. Defaults to '
|
|
9170
|
+
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9141
9171
|
}
|
|
9142
9172
|
},
|
|
9143
9173
|
"required": [
|
|
@@ -9164,7 +9194,7 @@
|
|
|
9164
9194
|
"mainnet",
|
|
9165
9195
|
"localnet"
|
|
9166
9196
|
],
|
|
9167
|
-
"description": "Network for the query. Defaults to '
|
|
9197
|
+
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9168
9198
|
}
|
|
9169
9199
|
},
|
|
9170
9200
|
"required": [
|
|
@@ -9198,7 +9228,7 @@
|
|
|
9198
9228
|
"mainnet",
|
|
9199
9229
|
"localnet"
|
|
9200
9230
|
],
|
|
9201
|
-
"description": "Network for the query. Defaults to '
|
|
9231
|
+
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9202
9232
|
},
|
|
9203
9233
|
"context_depth": {
|
|
9204
9234
|
"description": "BFS recursion depth for dependency expansion in assemble_context (default 0 = no expansion). When >0, the assembly recursively queries objects referenced by the center objects (permission, guard, machine, service, repositories, etc.) up to the given depth, using the same address-field extraction rules as extractAddressFields. Each level issues one batched query_objects call (≤50 IDs per batch). Cycles are detected and skipped via a visited set. Discovered dependencies are returned in `dependencies` (edge metadata) and `dependency_objects` (full object states). Recommended: 1–2 for most use cases; 3+ may pull large subgraphs (use context_include to constrain).",
|
|
@@ -9241,7 +9271,7 @@
|
|
|
9241
9271
|
"mainnet",
|
|
9242
9272
|
"localnet"
|
|
9243
9273
|
],
|
|
9244
|
-
"description": "Network for the query. Defaults to '
|
|
9274
|
+
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9245
9275
|
},
|
|
9246
9276
|
"reverse_order_amount": {
|
|
9247
9277
|
"description": "Escrowed order amount (smallest-unit string) for reverse_map — included in the report summary as the concrete escrow mention.",
|
|
@@ -9338,7 +9368,7 @@
|
|
|
9338
9368
|
"mainnet",
|
|
9339
9369
|
"localnet"
|
|
9340
9370
|
],
|
|
9341
|
-
"description": "Network for the query. Defaults to '
|
|
9371
|
+
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9342
9372
|
}
|
|
9343
9373
|
},
|
|
9344
9374
|
"required": [
|
|
@@ -9383,7 +9413,7 @@
|
|
|
9383
9413
|
"mainnet",
|
|
9384
9414
|
"localnet"
|
|
9385
9415
|
],
|
|
9386
|
-
"description": "Network for the query. Defaults to '
|
|
9416
|
+
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9387
9417
|
}
|
|
9388
9418
|
},
|
|
9389
9419
|
"required": [
|
|
@@ -9428,7 +9458,7 @@
|
|
|
9428
9458
|
"mainnet",
|
|
9429
9459
|
"localnet"
|
|
9430
9460
|
],
|
|
9431
|
-
"description": "Network for the query. Defaults to '
|
|
9461
|
+
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9432
9462
|
},
|
|
9433
9463
|
"account": {
|
|
9434
9464
|
"description": "Scope the aggregation to ONE account address (the client's current account). Omit to aggregate across ALL local accounts.",
|
|
@@ -9463,7 +9493,7 @@
|
|
|
9463
9493
|
"mainnet",
|
|
9464
9494
|
"localnet"
|
|
9465
9495
|
],
|
|
9466
|
-
"description": "Network for the query. Defaults to '
|
|
9496
|
+
"description": "Network for the query. Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9467
9497
|
},
|
|
9468
9498
|
"account": {
|
|
9469
9499
|
"description": "Scope to ONE account address (the client's current account). Omit to merge across ALL local accounts.",
|
|
@@ -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 the user's CURRENT network (client UI selection / authority config) when 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
|
},
|