@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
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
"const": "account_balance"
|
|
249
249
|
},
|
|
250
250
|
"name_or_address": {
|
|
251
|
-
"description": "Account name or address to query. Examples: \"my_account\", \"0xabc123...\", or \"\" for the default account.
|
|
251
|
+
"description": "Account name or address to query. Examples: \"my_account\", \"0xabc123...\", or \"\" for the default account. Aliases 'account' and 'address' are accepted and auto-renamed to 'name_or_address'. Defaults to '' (default account) if omitted.",
|
|
252
252
|
"type": "string"
|
|
253
253
|
},
|
|
254
254
|
"balance": {
|
|
@@ -289,20 +289,20 @@
|
|
|
289
289
|
"type": "string"
|
|
290
290
|
},
|
|
291
291
|
"network": {
|
|
292
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
292
293
|
"type": "string",
|
|
293
294
|
"enum": [
|
|
294
295
|
"localnet",
|
|
295
296
|
"testnet",
|
|
296
297
|
"mainnet"
|
|
297
|
-
]
|
|
298
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
298
|
+
]
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
301
|
"required": [
|
|
302
302
|
"query_type"
|
|
303
303
|
],
|
|
304
304
|
"additionalProperties": false,
|
|
305
|
-
"description": "Query an account's coin balance OR paginated coin objects. LIVE QUERY: the balance is always fetched fresh from the fullnode — there is NO cache, so 'no_cache' is not needed and not accepted on this query type. PARAMETERS: Use 'name_or_address' to specify the account
|
|
305
|
+
"description": "Query an account's coin balance OR paginated coin objects. LIVE QUERY: the balance is always fetched fresh from the fullnode — there is NO cache, so 'no_cache' is not needed and not accepted on this query type. PARAMETERS: Use 'name_or_address' to specify the account. Use balance=true for total amount, or coin={cursor,limit} to list individual coin objects. Use token_type to query non-default tokens (format: 0x<package>::<module>::<struct>). If the input resolves to an ON-CHAIN OBJECT (e.g. a Treasury name), the result auto-routes: it returns the object with its 'balance' field plus a routing hint. Returns: { address, balance? | coin? | object?, hint? }"
|
|
306
306
|
},
|
|
307
307
|
{
|
|
308
308
|
"type": "object",
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
"const": "onchain_personal_profile"
|
|
335
335
|
},
|
|
336
336
|
"account": {
|
|
337
|
-
"description": "Account name or ID to query. Use empty string '' for the default account.",
|
|
337
|
+
"description": "Account name or ID to query. Use empty string '' for the default account. Aliases 'name_or_address' and 'address' are accepted and auto-renamed to 'account'.",
|
|
338
338
|
"type": "string"
|
|
339
339
|
},
|
|
340
340
|
"no_cache": {
|
|
@@ -342,13 +342,13 @@
|
|
|
342
342
|
"type": "boolean"
|
|
343
343
|
},
|
|
344
344
|
"network": {
|
|
345
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
345
346
|
"type": "string",
|
|
346
347
|
"enum": [
|
|
347
348
|
"localnet",
|
|
348
349
|
"testnet",
|
|
349
350
|
"mainnet"
|
|
350
|
-
]
|
|
351
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
351
|
+
]
|
|
352
352
|
}
|
|
353
353
|
},
|
|
354
354
|
"required": [
|
|
@@ -377,13 +377,13 @@
|
|
|
377
377
|
"type": "boolean"
|
|
378
378
|
},
|
|
379
379
|
"network": {
|
|
380
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
380
381
|
"type": "string",
|
|
381
382
|
"enum": [
|
|
382
383
|
"localnet",
|
|
383
384
|
"testnet",
|
|
384
385
|
"mainnet"
|
|
385
|
-
]
|
|
386
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
386
|
+
]
|
|
387
387
|
}
|
|
388
388
|
},
|
|
389
389
|
"required": [
|
|
@@ -465,13 +465,13 @@
|
|
|
465
465
|
"type": "boolean"
|
|
466
466
|
},
|
|
467
467
|
"network": {
|
|
468
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
468
469
|
"type": "string",
|
|
469
470
|
"enum": [
|
|
470
471
|
"localnet",
|
|
471
472
|
"testnet",
|
|
472
473
|
"mainnet"
|
|
473
|
-
]
|
|
474
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
474
|
+
]
|
|
475
475
|
}
|
|
476
476
|
},
|
|
477
477
|
"required": [
|
|
@@ -497,13 +497,13 @@
|
|
|
497
497
|
"type": "boolean"
|
|
498
498
|
},
|
|
499
499
|
"network": {
|
|
500
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
500
501
|
"type": "string",
|
|
501
502
|
"enum": [
|
|
502
503
|
"localnet",
|
|
503
504
|
"testnet",
|
|
504
505
|
"mainnet"
|
|
505
|
-
]
|
|
506
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
506
|
+
]
|
|
507
507
|
}
|
|
508
508
|
},
|
|
509
509
|
"required": [
|
|
@@ -513,6 +513,34 @@
|
|
|
513
513
|
"additionalProperties": false,
|
|
514
514
|
"description": "Verify what a specific transaction did on-chain — the 'OperationProof' primitive. After executing any operation, call this with the returned digest to confirm: status (success/failed), object changes (created/mutated/deleted), balance changes, gas used, and events. Essential for the 5-step loop's Verify step. Returns: TransactionDetail | undefined"
|
|
515
515
|
},
|
|
516
|
+
{
|
|
517
|
+
"type": "object",
|
|
518
|
+
"properties": {
|
|
519
|
+
"query_type": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"const": "onchain_block"
|
|
522
|
+
},
|
|
523
|
+
"block": {
|
|
524
|
+
"type": "string",
|
|
525
|
+
"description": "Checkpoint sequence number (e.g. \"12345\") or checkpoint digest. A checkpoint (block) is the chain's unit of finalization — use it to answer 'what happened at block N', look up block time/transaction count, or place a transaction in the global order (checkpoint sequences appear in onchain_transaction/onchain_object_history results)."
|
|
526
|
+
},
|
|
527
|
+
"network": {
|
|
528
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
529
|
+
"type": "string",
|
|
530
|
+
"enum": [
|
|
531
|
+
"localnet",
|
|
532
|
+
"testnet",
|
|
533
|
+
"mainnet"
|
|
534
|
+
]
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"required": [
|
|
538
|
+
"query_type",
|
|
539
|
+
"block"
|
|
540
|
+
],
|
|
541
|
+
"additionalProperties": false,
|
|
542
|
+
"description": "Query ONE checkpoint (block) by sequence number or digest — returns the RAW fullnode checkpoint summary VERBATIM (no semantic shaping): sequence, digest, timestampMs, transaction count, epoch bindings, networkTransactions, endOfEpoch data when present. Checkpoints are immutable, so the value is authoritative forever. Distinct from onchain_transaction (per-tx proof) — use this for block-level facts. Returns: raw checkpoint summary object | undefined"
|
|
543
|
+
},
|
|
516
544
|
{
|
|
517
545
|
"type": "object",
|
|
518
546
|
"properties": {
|
|
@@ -522,7 +550,7 @@
|
|
|
522
550
|
},
|
|
523
551
|
"object": {
|
|
524
552
|
"type": "string",
|
|
525
|
-
"description": "Object ID (0x...) or LocalMark name. Query the provenance chain — every transaction that created, mutated, or deleted this object. Use to trace how an object reached its current state."
|
|
553
|
+
"description": "Object ID (0x...) or LocalMark name. Query the provenance chain — every transaction that created, mutated, unwrapped, or deleted this object (plus transactions that consumed it as an input). The CREATING/arrival transaction IS included (ChangedObject ∪ InputObject indexes are merged), so freshly received coins and never-used objects no longer return an empty history. Use to trace how an object reached its current state."
|
|
526
554
|
},
|
|
527
555
|
"cursor": {
|
|
528
556
|
"description": "Pagination cursor from previous page's next_cursor",
|
|
@@ -564,13 +592,13 @@
|
|
|
564
592
|
"type": "boolean"
|
|
565
593
|
},
|
|
566
594
|
"network": {
|
|
595
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
567
596
|
"type": "string",
|
|
568
597
|
"enum": [
|
|
569
598
|
"localnet",
|
|
570
599
|
"testnet",
|
|
571
600
|
"mainnet"
|
|
572
|
-
]
|
|
573
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
601
|
+
]
|
|
574
602
|
}
|
|
575
603
|
},
|
|
576
604
|
"required": [
|
|
@@ -600,13 +628,13 @@
|
|
|
600
628
|
"type": "boolean"
|
|
601
629
|
},
|
|
602
630
|
"network": {
|
|
631
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
603
632
|
"type": "string",
|
|
604
633
|
"enum": [
|
|
605
634
|
"localnet",
|
|
606
635
|
"testnet",
|
|
607
636
|
"mainnet"
|
|
608
|
-
]
|
|
609
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
637
|
+
]
|
|
610
638
|
}
|
|
611
639
|
},
|
|
612
640
|
"required": [
|
|
@@ -614,7 +642,7 @@
|
|
|
614
642
|
"objects"
|
|
615
643
|
],
|
|
616
644
|
"additionalProperties": false,
|
|
617
|
-
"description": "Batch query the LAST on-chain
|
|
645
|
+
"description": "Batch query the LAST on-chain WRITE time of objects — the timestamp of the most recent transaction that touched each object (SDK query_object_last_updated, cached TTL 2 min). WARNING: this is a LAST-MODIFIED stamp, NOT the creation or arrival time, and it is silently replaced by every later write (a coin merge, a field update, any re-use). For creation/arrival provenance use onchain_object_history (its first/ascending entry includes the creating tx) or onchain_address_activity with direction='received'. Returns: { items: [{ object, timestamp_ms, digest, sender }] }"
|
|
618
646
|
},
|
|
619
647
|
{
|
|
620
648
|
"type": "object",
|
|
@@ -644,7 +672,15 @@
|
|
|
644
672
|
"description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
|
|
645
673
|
}
|
|
646
674
|
],
|
|
647
|
-
"description": "Address (0x...) or account name. Query
|
|
675
|
+
"description": "Address (0x...) or account name. Query on-chain activity of this actor. Use to build a user's on-chain activity profile, verify an actor's history, or trace when funds/objects ARRIVED at an address."
|
|
676
|
+
},
|
|
677
|
+
"direction": {
|
|
678
|
+
"description": "'sent' (default): transactions SENT BY this address. 'received': transactions that delivered objects/coins TO this address (inbound transfers — the route for 'when did this arrive' without knowing the sender).",
|
|
679
|
+
"type": "string",
|
|
680
|
+
"enum": [
|
|
681
|
+
"sent",
|
|
682
|
+
"received"
|
|
683
|
+
]
|
|
648
684
|
},
|
|
649
685
|
"cursor": {
|
|
650
686
|
"description": "Pagination cursor from previous page's next_cursor",
|
|
@@ -686,13 +722,13 @@
|
|
|
686
722
|
"type": "boolean"
|
|
687
723
|
},
|
|
688
724
|
"network": {
|
|
725
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
689
726
|
"type": "string",
|
|
690
727
|
"enum": [
|
|
691
728
|
"localnet",
|
|
692
729
|
"testnet",
|
|
693
730
|
"mainnet"
|
|
694
|
-
]
|
|
695
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
731
|
+
]
|
|
696
732
|
}
|
|
697
733
|
},
|
|
698
734
|
"required": [
|
|
@@ -700,7 +736,7 @@
|
|
|
700
736
|
"name_or_address"
|
|
701
737
|
],
|
|
702
738
|
"additionalProperties": false,
|
|
703
|
-
"description": "FORENSICS TOOL — query
|
|
739
|
+
"description": "FORENSICS TOOL — query transactions sent BY an address (direction='sent', default) or inbound deliveries TO an address (direction='received'). WARNING: like onchain_object_history, this can lead to non-convergent queries. For AI context building, use assemble_context (extracts embedded history) or query_events (real-time transitions) instead. This tool is for auditing/user-activity profiling and inbound-arrival lookup only. Returns: TransactionHistoryAnswer | undefined"
|
|
704
740
|
},
|
|
705
741
|
{
|
|
706
742
|
"type": "object",
|
|
@@ -736,13 +772,13 @@
|
|
|
736
772
|
]
|
|
737
773
|
},
|
|
738
774
|
"network": {
|
|
775
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
739
776
|
"type": "string",
|
|
740
777
|
"enum": [
|
|
741
778
|
"localnet",
|
|
742
779
|
"testnet",
|
|
743
780
|
"mainnet"
|
|
744
|
-
]
|
|
745
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
781
|
+
]
|
|
746
782
|
}
|
|
747
783
|
},
|
|
748
784
|
"required": [
|
|
@@ -780,20 +816,20 @@
|
|
|
780
816
|
"description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
|
|
781
817
|
}
|
|
782
818
|
],
|
|
783
|
-
"description": "Address to profile. Supports string (name/address) or object form. LocalMark names are resolved automatically."
|
|
819
|
+
"description": "Address to profile. Supports string (name/address) or object form. LocalMark names are resolved automatically. Aliases 'name_or_address' and 'account' are accepted and auto-renamed to 'address'."
|
|
784
820
|
},
|
|
785
821
|
"no_cache": {
|
|
786
822
|
"description": "Set to true to bypass cache and fetch fresh on-chain data",
|
|
787
823
|
"type": "boolean"
|
|
788
824
|
},
|
|
789
825
|
"network": {
|
|
826
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
790
827
|
"type": "string",
|
|
791
828
|
"enum": [
|
|
792
829
|
"localnet",
|
|
793
830
|
"testnet",
|
|
794
831
|
"mainnet"
|
|
795
|
-
]
|
|
796
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
832
|
+
]
|
|
797
833
|
}
|
|
798
834
|
},
|
|
799
835
|
"required": [
|
|
@@ -844,13 +880,13 @@
|
|
|
844
880
|
"type": "boolean"
|
|
845
881
|
},
|
|
846
882
|
"network": {
|
|
883
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
847
884
|
"type": "string",
|
|
848
885
|
"enum": [
|
|
849
886
|
"localnet",
|
|
850
887
|
"testnet",
|
|
851
888
|
"mainnet"
|
|
852
|
-
]
|
|
853
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
889
|
+
]
|
|
854
890
|
}
|
|
855
891
|
},
|
|
856
892
|
"required": [
|
|
@@ -895,13 +931,13 @@
|
|
|
895
931
|
"type": "boolean"
|
|
896
932
|
},
|
|
897
933
|
"network": {
|
|
934
|
+
"description": "Network to query: 'mainnet' or 'testnet'. If omitted, the SDK's current default network is used (check via wowok_buildin_info info='current network'); the response echoes the resolved network so results can never be misattributed.",
|
|
898
935
|
"type": "string",
|
|
899
936
|
"enum": [
|
|
900
937
|
"localnet",
|
|
901
938
|
"testnet",
|
|
902
939
|
"mainnet"
|
|
903
|
-
]
|
|
904
|
-
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
940
|
+
]
|
|
905
941
|
}
|
|
906
942
|
},
|
|
907
943
|
"required": [
|
|
@@ -929,7 +965,7 @@
|
|
|
929
965
|
"mainnet",
|
|
930
966
|
"localnet"
|
|
931
967
|
],
|
|
932
|
-
"description": "Network for the query. Defaults to '
|
|
968
|
+
"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."
|
|
933
969
|
}
|
|
934
970
|
},
|
|
935
971
|
"required": [
|
|
@@ -956,7 +992,7 @@
|
|
|
956
992
|
"mainnet",
|
|
957
993
|
"localnet"
|
|
958
994
|
],
|
|
959
|
-
"description": "Network for the query. Defaults to '
|
|
995
|
+
"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."
|
|
960
996
|
}
|
|
961
997
|
},
|
|
962
998
|
"required": [
|
|
@@ -983,7 +1019,7 @@
|
|
|
983
1019
|
"mainnet",
|
|
984
1020
|
"localnet"
|
|
985
1021
|
],
|
|
986
|
-
"description": "Network for the query. Defaults to '
|
|
1022
|
+
"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."
|
|
987
1023
|
}
|
|
988
1024
|
},
|
|
989
1025
|
"required": [
|
|
@@ -1010,7 +1046,7 @@
|
|
|
1010
1046
|
"mainnet",
|
|
1011
1047
|
"localnet"
|
|
1012
1048
|
],
|
|
1013
|
-
"description": "Network for the query. Defaults to '
|
|
1049
|
+
"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."
|
|
1014
1050
|
}
|
|
1015
1051
|
},
|
|
1016
1052
|
"required": [
|
|
@@ -1044,7 +1080,7 @@
|
|
|
1044
1080
|
"mainnet",
|
|
1045
1081
|
"localnet"
|
|
1046
1082
|
],
|
|
1047
|
-
"description": "Network for the query. Defaults to '
|
|
1083
|
+
"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."
|
|
1048
1084
|
},
|
|
1049
1085
|
"context_depth": {
|
|
1050
1086
|
"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).",
|
|
@@ -1087,7 +1123,7 @@
|
|
|
1087
1123
|
"mainnet",
|
|
1088
1124
|
"localnet"
|
|
1089
1125
|
],
|
|
1090
|
-
"description": "Network for the query. Defaults to '
|
|
1126
|
+
"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."
|
|
1091
1127
|
},
|
|
1092
1128
|
"reverse_order_amount": {
|
|
1093
1129
|
"description": "Escrowed order amount (smallest-unit string) for reverse_map — included in the report summary as the concrete escrow mention.",
|
|
@@ -1184,7 +1220,7 @@
|
|
|
1184
1220
|
"mainnet",
|
|
1185
1221
|
"localnet"
|
|
1186
1222
|
],
|
|
1187
|
-
"description": "Network for the query. Defaults to '
|
|
1223
|
+
"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."
|
|
1188
1224
|
}
|
|
1189
1225
|
},
|
|
1190
1226
|
"required": [
|
|
@@ -1229,7 +1265,7 @@
|
|
|
1229
1265
|
"mainnet",
|
|
1230
1266
|
"localnet"
|
|
1231
1267
|
],
|
|
1232
|
-
"description": "Network for the query. Defaults to '
|
|
1268
|
+
"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."
|
|
1233
1269
|
}
|
|
1234
1270
|
},
|
|
1235
1271
|
"required": [
|
|
@@ -1274,7 +1310,7 @@
|
|
|
1274
1310
|
"mainnet",
|
|
1275
1311
|
"localnet"
|
|
1276
1312
|
],
|
|
1277
|
-
"description": "Network for the query. Defaults to '
|
|
1313
|
+
"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."
|
|
1278
1314
|
},
|
|
1279
1315
|
"account": {
|
|
1280
1316
|
"description": "Scope the aggregation to ONE account address (the client's current account). Omit to aggregate across ALL local accounts.",
|
|
@@ -1309,7 +1345,7 @@
|
|
|
1309
1345
|
"mainnet",
|
|
1310
1346
|
"localnet"
|
|
1311
1347
|
],
|
|
1312
|
-
"description": "Network for the query. Defaults to '
|
|
1348
|
+
"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."
|
|
1313
1349
|
},
|
|
1314
1350
|
"account": {
|
|
1315
1351
|
"description": "Scope to ONE account address (the client's current account). Omit to merge across ALL local accounts.",
|
|
@@ -1366,6 +1402,160 @@
|
|
|
1366
1402
|
],
|
|
1367
1403
|
"additionalProperties": false,
|
|
1368
1404
|
"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."
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"type": "object",
|
|
1408
|
+
"properties": {
|
|
1409
|
+
"query_type": {
|
|
1410
|
+
"type": "string",
|
|
1411
|
+
"const": "onchain_topology"
|
|
1412
|
+
},
|
|
1413
|
+
"focus": {
|
|
1414
|
+
"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.",
|
|
1415
|
+
"type": "string"
|
|
1416
|
+
},
|
|
1417
|
+
"context_network": {
|
|
1418
|
+
"type": "string",
|
|
1419
|
+
"enum": [
|
|
1420
|
+
"testnet",
|
|
1421
|
+
"mainnet",
|
|
1422
|
+
"localnet"
|
|
1423
|
+
],
|
|
1424
|
+
"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."
|
|
1425
|
+
},
|
|
1426
|
+
"intent": {
|
|
1427
|
+
"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.",
|
|
1428
|
+
"type": "string",
|
|
1429
|
+
"enum": [
|
|
1430
|
+
"full_map",
|
|
1431
|
+
"order_health",
|
|
1432
|
+
"fund_flow",
|
|
1433
|
+
"workflow",
|
|
1434
|
+
"counterparty",
|
|
1435
|
+
"reputation",
|
|
1436
|
+
"permission",
|
|
1437
|
+
"supply_chain",
|
|
1438
|
+
"arbitration",
|
|
1439
|
+
"demand_match"
|
|
1440
|
+
]
|
|
1441
|
+
},
|
|
1442
|
+
"role": {
|
|
1443
|
+
"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).",
|
|
1444
|
+
"type": "string",
|
|
1445
|
+
"enum": [
|
|
1446
|
+
"merchant",
|
|
1447
|
+
"customer",
|
|
1448
|
+
"demander",
|
|
1449
|
+
"prospect",
|
|
1450
|
+
"supplier",
|
|
1451
|
+
"collaborator",
|
|
1452
|
+
"arbitrator"
|
|
1453
|
+
]
|
|
1454
|
+
},
|
|
1455
|
+
"industry": {
|
|
1456
|
+
"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).",
|
|
1457
|
+
"type": "string"
|
|
1458
|
+
},
|
|
1459
|
+
"context_account": {
|
|
1460
|
+
"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.",
|
|
1461
|
+
"type": "string"
|
|
1462
|
+
},
|
|
1463
|
+
"interest_role": {
|
|
1464
|
+
"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.",
|
|
1465
|
+
"type": "string",
|
|
1466
|
+
"enum": [
|
|
1467
|
+
"merchant",
|
|
1468
|
+
"customer",
|
|
1469
|
+
"demander",
|
|
1470
|
+
"prospect",
|
|
1471
|
+
"supplier",
|
|
1472
|
+
"collaborator",
|
|
1473
|
+
"arbitrator",
|
|
1474
|
+
"neutral",
|
|
1475
|
+
"system"
|
|
1476
|
+
]
|
|
1477
|
+
},
|
|
1478
|
+
"no_cache": {
|
|
1479
|
+
"description": "Set true to bypass the SDK chain-read cache. In-call batching/dedup still applies.",
|
|
1480
|
+
"type": "boolean"
|
|
1481
|
+
},
|
|
1482
|
+
"analyze": {
|
|
1483
|
+
"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.",
|
|
1484
|
+
"type": "boolean"
|
|
1485
|
+
},
|
|
1486
|
+
"analyzer_kinds": {
|
|
1487
|
+
"description": "Filter analyzer kinds when analyze=true (default: all four): risk=R rules, arbitrage=A structural-arbitrage, opportunity=O, game=G objective situations.",
|
|
1488
|
+
"type": "array",
|
|
1489
|
+
"items": {
|
|
1490
|
+
"type": "string",
|
|
1491
|
+
"enum": [
|
|
1492
|
+
"risk",
|
|
1493
|
+
"arbitrage",
|
|
1494
|
+
"opportunity",
|
|
1495
|
+
"game"
|
|
1496
|
+
]
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
"only_analyzers": {
|
|
1500
|
+
"description": "Run ONLY these analyzer ids (whitelist, e.g. ['R1','G2']). The full registered id list is returned in `analyzers` of every response.",
|
|
1501
|
+
"type": "array",
|
|
1502
|
+
"items": {
|
|
1503
|
+
"type": "string"
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
"include_raw": {
|
|
1507
|
+
"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.",
|
|
1508
|
+
"type": "boolean"
|
|
1509
|
+
},
|
|
1510
|
+
"table_edges": {
|
|
1511
|
+
"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.",
|
|
1512
|
+
"type": "array",
|
|
1513
|
+
"items": {
|
|
1514
|
+
"type": "string",
|
|
1515
|
+
"enum": [
|
|
1516
|
+
"machine.node",
|
|
1517
|
+
"permission.entity",
|
|
1518
|
+
"demand.presenter"
|
|
1519
|
+
]
|
|
1520
|
+
}
|
|
1521
|
+
},
|
|
1522
|
+
"budget": {
|
|
1523
|
+
"description": "Optional expansion-budget overrides. Every fetch stays batched (<=50 ids/request) regardless of these caps; exhaustion is reported honestly in budget_exhausted.",
|
|
1524
|
+
"type": "object",
|
|
1525
|
+
"properties": {
|
|
1526
|
+
"max_depth": {
|
|
1527
|
+
"description": "BFS wave depth (default 4).",
|
|
1528
|
+
"type": "integer",
|
|
1529
|
+
"minimum": 0,
|
|
1530
|
+
"maximum": 8
|
|
1531
|
+
},
|
|
1532
|
+
"max_nodes": {
|
|
1533
|
+
"description": "Hard node cap (default 500).",
|
|
1534
|
+
"type": "integer",
|
|
1535
|
+
"minimum": 1,
|
|
1536
|
+
"maximum": 3000
|
|
1537
|
+
},
|
|
1538
|
+
"max_rpcs": {
|
|
1539
|
+
"description": "Hard logical RPC-batch cap; each batch carries at most 50 ids (default 120).",
|
|
1540
|
+
"type": "integer",
|
|
1541
|
+
"minimum": 1,
|
|
1542
|
+
"maximum": 400
|
|
1543
|
+
},
|
|
1544
|
+
"max_fanout": {
|
|
1545
|
+
"description": "Per-node fanout cap per edge schema (default 60).",
|
|
1546
|
+
"type": "integer",
|
|
1547
|
+
"minimum": 1,
|
|
1548
|
+
"maximum": 5200
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
"additionalProperties": false
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
"required": [
|
|
1555
|
+
"query_type"
|
|
1556
|
+
],
|
|
1557
|
+
"additionalProperties": false,
|
|
1558
|
+
"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."
|
|
1369
1559
|
}
|
|
1370
1560
|
]
|
|
1371
1561
|
}
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"type": "string"
|
|
66
66
|
},
|
|
67
67
|
"guard": {
|
|
68
|
-
"description": "Guard
|
|
68
|
+
"description": "Guard for 'analyze_guard_semantics' action. THREE accepted forms: (1) Guard JSON object, (2) JSON-encoded string (the guard2file export format: {description?, table: [...], root: {...}, rely?, binding_hint?}), (3) an on-chain Guard ADDRESS (0x...) or LocalMark name — loaded from chain automatically. Forms (1)/(2) analyze a local definition; form (3) analyzes the LIVE on-chain Guard.",
|
|
69
69
|
"anyOf": [
|
|
70
70
|
{
|
|
71
71
|
"type": "string"
|
|
@@ -78,6 +78,30 @@
|
|
|
78
78
|
"additionalProperties": {}
|
|
79
79
|
}
|
|
80
80
|
]
|
|
81
|
+
},
|
|
82
|
+
"binding": {
|
|
83
|
+
"description": "Optional business-slot binding for 'analyze_guard_semantics' (G1). When set, the analysis includes the slot's business semantics (what the Guard means, what your submission means, pass/fail consequences, stakes). E.g. 'buy' for a Service.buy_guard, 'forward' for a Machine Forward.guard, 'allocate' when the submission identifies a payment recipient.",
|
|
84
|
+
"type": "string",
|
|
85
|
+
"enum": [
|
|
86
|
+
"buy",
|
|
87
|
+
"forward",
|
|
88
|
+
"allocate",
|
|
89
|
+
"claim_reward",
|
|
90
|
+
"vote",
|
|
91
|
+
"dispute",
|
|
92
|
+
"write_repository",
|
|
93
|
+
"submit_progress",
|
|
94
|
+
"gen_passport",
|
|
95
|
+
"custom"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"network": {
|
|
99
|
+
"description": "Network for 'analyze_guard_semantics' when the guard is given as an on-chain address/name (G1). Defaults to the configured network.",
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enum": [
|
|
102
|
+
"mainnet",
|
|
103
|
+
"testnet"
|
|
104
|
+
]
|
|
81
105
|
}
|
|
82
106
|
},
|
|
83
107
|
"required": [
|