@wowok/agent-mcp 3.4.3 → 3.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.build-stamp.json +3 -3
- package/dist/build-stamp.js +1 -0
- package/dist/chain-semantics/composition-truth.js +1 -1
- package/dist/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/freeze-map.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.js +1 -1
- package/dist/composition/generate.js +1 -1
- package/dist/composition/guard-fill.js +1 -1
- package/dist/composition/input-normalize.js +1 -1
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.js +1 -1
- package/dist/composition/plan.js +1 -1
- package/dist/composition/product-card.js +1 -1
- package/dist/composition/shape-expand.js +1 -0
- package/dist/config/judgment.js +1 -1
- package/dist/config/template-params.js +1 -1
- package/dist/data/sync/cdc.js +1 -1
- package/dist/data/sync/graphql-source.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/sdk-batch.js +1 -1
- package/dist/harness/entry-ignite-selfheal.js +1 -0
- package/dist/harness/forward-leg-preflight.js +1 -0
- package/dist/harness/recover.js +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arb-operation-face.js +1 -0
- package/dist/knowledge/arbitration-rail-verifier.js +1 -1
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +15 -0
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/alloc_audit.json.good +310 -0
- package/dist/knowledge/baselines/rules/allocation.json.good +568 -0
- package/dist/knowledge/baselines/rules/arb.json.good +174 -0
- package/dist/knowledge/baselines/rules/arbitration.json.good +393 -0
- package/dist/knowledge/baselines/rules/bridge.json.good +197 -0
- package/dist/knowledge/baselines/rules/contact.json.good +152 -0
- package/dist/knowledge/baselines/rules/demand.json.good +158 -0
- package/dist/knowledge/baselines/rules/graph.json.good +534 -0
- package/dist/knowledge/baselines/rules/guard.json +18 -5
- package/dist/knowledge/baselines/rules/guard.json.good +1192 -0
- package/dist/knowledge/baselines/rules/machine.json.good +734 -0
- package/dist/knowledge/baselines/rules/oracle.json +1 -1
- package/dist/knowledge/baselines/rules/oracle.json.good +120 -0
- package/dist/knowledge/baselines/rules/order.json.good +549 -0
- package/dist/knowledge/baselines/rules/payment.json.good +205 -0
- package/dist/knowledge/baselines/rules/permission.json.good +330 -0
- package/dist/knowledge/baselines/rules/personal.json.good +139 -0
- package/dist/knowledge/baselines/rules/plan.json +343 -1
- package/dist/knowledge/baselines/rules/plan.json.good +1187 -0
- package/dist/knowledge/baselines/rules/progress.json.good +364 -0
- package/dist/knowledge/baselines/rules/proof.json.good +158 -0
- package/dist/knowledge/baselines/rules/registrar.json.good +159 -0
- package/dist/knowledge/baselines/rules/repository.json.good +244 -0
- package/dist/knowledge/baselines/rules/resource.json.good +117 -0
- package/dist/knowledge/baselines/rules/reward.json +10 -10
- package/dist/knowledge/baselines/rules/reward.json.good +586 -0
- package/dist/knowledge/baselines/rules/service.json.good +595 -0
- package/dist/knowledge/baselines/rules/treasury.json.good +440 -0
- package/dist/knowledge/baselines/rules/util.json.good +101 -0
- package/dist/knowledge/builtin-templates.d.ts +13 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/chain-query-registry.js +1 -1
- package/dist/knowledge/discount-threshold.js +1 -1
- package/dist/knowledge/fee-param-bindings.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +2 -0
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-binding-table.js +1 -1
- package/dist/knowledge/guard-binding-verifier.js +1 -1
- package/dist/knowledge/guard-create-preflight.js +1 -0
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-host-context.js +1 -1
- package/dist/knowledge/guard-leg-eval.js +1 -0
- package/dist/knowledge/guard-node-gates.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-quality.js +1 -0
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-semantic-walk.js +1 -0
- package/dist/knowledge/guard-templates.d.ts +1 -0
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/param-schema.js +1 -1
- package/dist/knowledge/param-tiers.js +1 -1
- package/dist/knowledge/path-oracle/coverage.js +1 -1
- package/dist/knowledge/path-oracle/index.js +1 -1
- package/dist/knowledge/path-oracle/products/airbnb.js +1 -0
- package/dist/knowledge/path-oracle/products/algora.js +1 -0
- package/dist/knowledge/path-oracle/products/alibaba-1688.js +1 -0
- package/dist/knowledge/path-oracle/products/amazon.js +1 -0
- package/dist/knowledge/path-oracle/products/beatstars.js +1 -0
- package/dist/knowledge/path-oracle/products/booking-com.js +1 -0
- package/dist/knowledge/path-oracle/products/contra.js +1 -0
- package/dist/knowledge/path-oracle/products/costco.js +1 -0
- package/dist/knowledge/path-oracle/products/coursera.js +1 -0
- package/dist/knowledge/path-oracle/products/duoduo-maicai.js +1 -0
- package/dist/knowledge/path-oracle/products/etsy.js +1 -0
- package/dist/knowledge/path-oracle/products/food-delivery.js +1 -1
- package/dist/knowledge/path-oracle/products/gamefound.js +1 -0
- package/dist/knowledge/path-oracle/products/gofundme.js +1 -0
- package/dist/knowledge/path-oracle/products/hackerone.js +1 -0
- package/dist/knowledge/path-oracle/products/kickstarter.js +1 -0
- package/dist/knowledge/path-oracle/products/klook.js +1 -0
- package/dist/knowledge/path-oracle/products/ninety-nine-designs.js +1 -0
- package/dist/knowledge/path-oracle/products/onlyfans.js +1 -0
- package/dist/knowledge/path-oracle/products/patreon.js +1 -0
- package/dist/knowledge/path-oracle/products/pinduoduo-kuaituantuan.js +1 -0
- package/dist/knowledge/path-oracle/products/royalty-exchange.js +1 -0
- package/dist/knowledge/path-oracle/products/shansong.js +1 -0
- package/dist/knowledge/path-oracle/products/taobao-presale.js +1 -0
- package/dist/knowledge/path-oracle/products/upwork-catalog.js +1 -0
- package/dist/knowledge/path-oracle/products/upwork.js +1 -0
- package/dist/knowledge/path-oracle/products/yuanfudao.js +1 -0
- package/dist/knowledge/path-oracle/products/ziroom.js +1 -0
- package/dist/knowledge/pattern-resolutions.js +1 -1
- package/dist/knowledge/product-detail-source.js +1 -1
- package/dist/knowledge/product-doc-b5.js +1 -1
- package/dist/knowledge/product-doc-facets.js +1 -0
- package/dist/knowledge/projection.js +1 -1
- package/dist/knowledge/publish-gate.js +1 -1
- package/dist/knowledge/publish-surface-contract.js +1 -1
- package/dist/knowledge/recipient-constraint.d.ts +20 -0
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/rule-declaration-types.d.ts +13 -0
- package/dist/knowledge/rule-declaration-types.js +1 -0
- package/dist/knowledge/rule-declarations.js +1 -0
- package/dist/knowledge/scenario-modes.d.ts +6 -0
- package/dist/knowledge/scenario-topology.js +1 -1
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-prose.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- 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/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/review/service.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +9 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/arbitration.d.ts +8 -0
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +8 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +2 -0
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/handler.d.ts +2 -1
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/progress.d.ts +15 -0
- package/dist/schema/call/progress.js +1 -1
- package/dist/schema/call/receipt.d.ts +1 -0
- package/dist/schema/call/receipt.js +1 -1
- package/dist/schema/call/repository.d.ts +12 -0
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.d.ts +1 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +5 -3
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/envelope-unify.js +1 -1
- package/dist/schema/goal/index.d.ts +23 -0
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +2 -2
- package/dist/schema/local/index.d.ts +20 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +4 -0
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +5 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +944 -1
- package/dist/schema/operations.js +1 -1
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +5 -5
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workspace/index.d.ts +2 -2
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.schema.json +1 -257
- package/dist/schemas/ask_user.schema.json +1 -78
- package/dist/schemas/benchmark_migration_operation.schema.json +1 -626
- package/dist/schemas/bridge_operation.schema.json +1 -1069
- package/dist/schemas/config_operation.schema.json +1 -82
- package/dist/schemas/employee_operation.schema.json +1 -319
- package/dist/schemas/evaluation_operation.schema.json +1 -3932
- package/dist/schemas/goal_operation.schema.json +1 -1650
- package/dist/schemas/guard2file.schema.json +1 -137
- package/dist/schemas/index.json +1 -285
- package/dist/schemas/industry_pack_operation.schema.json +1 -582
- package/dist/schemas/intent_radar.schema.json +1 -155
- package/dist/schemas/keeper_operation.schema.json +1 -364
- package/dist/schemas/local_cache_operation.schema.json +1 -116
- package/dist/schemas/local_history_operation.schema.json +1 -105
- package/dist/schemas/local_info_operation.schema.json +1 -140
- package/dist/schemas/local_mark_operation.schema.json +1 -124
- package/dist/schemas/machineNode2file.schema.json +1 -137
- package/dist/schemas/messenger_operation.schema.json +1 -2068
- package/dist/schemas/monitor_events.schema.json +1 -87
- package/dist/schemas/monitor_subscription.schema.json +1 -327
- package/dist/schemas/onchain_events.schema.json +1 -207
- package/dist/schemas/onchain_operations.schema.json +1 -28699
- package/dist/schemas/onchain_operations_allocation.schema.json +1 -1376
- package/dist/schemas/onchain_operations_arbitration.schema.json +1 -1355
- package/dist/schemas/onchain_operations_contact.schema.json +1 -988
- package/dist/schemas/onchain_operations_demand.schema.json +1 -1146
- package/dist/schemas/onchain_operations_gen_passport.schema.json +1 -663
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -180
- package/dist/schemas/onchain_operations_guard.schema.json +1 -8518
- package/dist/schemas/onchain_operations_machine.schema.json +1 -1879
- package/dist/schemas/onchain_operations_order.schema.json +1 -1121
- package/dist/schemas/onchain_operations_payment.schema.json +1 -316
- package/dist/schemas/onchain_operations_permission.schema.json +1 -1036
- package/dist/schemas/onchain_operations_personal.schema.json +1 -1463
- package/dist/schemas/onchain_operations_progress.schema.json +1 -1041
- package/dist/schemas/onchain_operations_proof.schema.json +1 -750
- package/dist/schemas/onchain_operations_repository.schema.json +1 -2046
- package/dist/schemas/onchain_operations_reward.schema.json +1 -1286
- package/dist/schemas/onchain_operations_service.schema.json +1 -2602
- package/dist/schemas/onchain_operations_treasury.schema.json +1 -1527
- package/dist/schemas/onchain_table_data.schema.json +1 -1146
- package/dist/schemas/permission_operation.schema.json +1 -43
- package/dist/schemas/persona_operation.schema.json +1 -10424
- package/dist/schemas/query_toolkit.schema.json +1 -1867
- package/dist/schemas/schema_query.schema.json +1 -116
- package/dist/schemas/service_clone_operation.schema.json +1 -49
- package/dist/schemas/settle_sweep.schema.json +1 -0
- package/dist/schemas/strategy_review_operation.schema.json +1 -66
- package/dist/schemas/verify_guard_dry_run.schema.json +1 -0
- package/dist/schemas/watch_operation.schema.json +1 -145
- package/dist/schemas/wip_file.schema.json +1 -299
- package/dist/schemas/workflow_operation.schema.json +1 -722
- package/dist/schemas/workspace_operation.schema.json +1 -104
- package/dist/schemas/wowok_buildin_info.schema.json +1 -758
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/entry-edge-recipe.js +1 -1
- package/dist/tools/handlers/file-export.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/pending-settlement-recipe.js +1 -0
- package/dist/tools/handlers/plan-recovery.js +1 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/repository-row-id.js +1 -0
- package/dist/tools/handlers/review-chain.js +1 -1
- package/dist/tools/handlers/settle-sweep.js +1 -0
- package/dist/tools/handlers/stale-build-check.js +1 -1
- package/dist/tools/handlers/submission-assembly.js +1 -1
- package/dist/tools/handlers/verify-guard-dry-run.js +1 -0
- package/dist/tools/handlers/wip-upload.js +1 -1
- package/dist/tools/index.d.ts +3 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.js +1 -1
- package/dist/tools/publish-gate-state.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/types.d.ts +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +11 -4
- package/dist/chain-semantics/composition-truth.d.ts +0 -102
- package/dist/chain-semantics/eval-order.d.ts +0 -17
- package/dist/chain-semantics/field-capability.d.ts +0 -11
- package/dist/chain-semantics/freeze-map.d.ts +0 -11
- package/dist/chain-semantics/fund-flow.d.ts +0 -10
- package/dist/chain-semantics/guard-verbs.d.ts +0 -22
- package/dist/chain-semantics/index.d.ts +0 -12
- package/dist/chain-semantics/object-graph.d.ts +0 -18
- package/dist/communication/evidence.d.ts +0 -6
- package/dist/communication/message-cursors.d.ts +0 -35
- package/dist/communication/proof-reuse.d.ts +0 -9
- package/dist/communication/wts-attestation.d.ts +0 -39
- package/dist/composition/audit.d.ts +0 -15
- package/dist/composition/blueprint-view.d.ts +0 -63
- package/dist/composition/compile.d.ts +0 -83
- package/dist/composition/emit-phases.d.ts +0 -234
- package/dist/composition/generate.d.ts +0 -40
- package/dist/composition/guard-fill.d.ts +0 -52
- package/dist/composition/inflight.d.ts +0 -86
- package/dist/composition/input-normalize.d.ts +0 -15
- package/dist/composition/materialize.d.ts +0 -78
- package/dist/composition/mode-gates.d.ts +0 -35
- package/dist/composition/param-disclosure.d.ts +0 -61
- package/dist/composition/plan-retry-ledger.d.ts +0 -37
- package/dist/composition/plan.d.ts +0 -121
- package/dist/composition/product-card.d.ts +0 -94
- package/dist/composition/reflux.d.ts +0 -28
- package/dist/composition/supply-chain-emit.d.ts +0 -46
- package/dist/config/config-audit.spec.d.ts +0 -1
- package/dist/config/config-audit.spec.js +0 -1
- package/dist/config/config-warnings.d.ts +0 -2
- package/dist/config/index.d.ts +0 -4
- package/dist/config/judgment.spec.d.ts +0 -1
- package/dist/config/judgment.spec.js +0 -1
- package/dist/config/match-policy-file.d.ts +0 -34
- package/dist/config/match-policy-file.spec.d.ts +0 -1
- package/dist/config/match-policy-file.spec.js +0 -1
- package/dist/config/rule-engine.spec.d.ts +0 -1
- package/dist/config/rule-engine.spec.js +0 -1
- package/dist/config/runtime.d.ts +0 -29
- package/dist/config/store-policy.d.ts +0 -14
- package/dist/config/store-policy.spec.d.ts +0 -1
- package/dist/config/store-policy.spec.js +0 -1
- package/dist/config/template-params.d.ts +0 -42
- package/dist/config/template-params.spec.d.ts +0 -1
- package/dist/config/template-params.spec.js +0 -1
- package/dist/customer/account-events.d.ts +0 -32
- package/dist/data/api/api.spec.d.ts +0 -1
- package/dist/data/api/api.spec.js +0 -1
- package/dist/data/api/cli.d.ts +0 -1
- package/dist/data/api/head.d.ts +0 -16
- package/dist/data/api/head.spec.d.ts +0 -1
- package/dist/data/api/head.spec.js +0 -1
- package/dist/data/api/index.d.ts +0 -2
- package/dist/data/api/match.d.ts +0 -69
- package/dist/data/api/match.spec.d.ts +0 -1
- package/dist/data/api/match.spec.js +0 -1
- package/dist/data/api/server.d.ts +0 -13
- package/dist/data/projection/cli.d.ts +0 -1
- package/dist/data/projection/edges.d.ts +0 -8
- package/dist/data/projection/edges.spec.d.ts +0 -1
- package/dist/data/projection/edges.spec.js +0 -1
- package/dist/data/projection/facets.d.ts +0 -18
- package/dist/data/projection/facets.spec.d.ts +0 -1
- package/dist/data/projection/facets.spec.js +0 -1
- package/dist/data/projection/facts.d.ts +0 -40
- package/dist/data/projection/index.d.ts +0 -6
- package/dist/data/projection/project.d.ts +0 -10
- package/dist/data/projection/projection.spec.d.ts +0 -1
- package/dist/data/projection/projection.spec.js +0 -1
- package/dist/data/projection/schema.d.ts +0 -1
- package/dist/data/projection/store.d.ts +0 -51
- package/dist/data/projection/types.d.ts +0 -169
- package/dist/data/sync/cdc.d.ts +0 -33
- package/dist/data/sync/cdc.spec.d.ts +0 -1
- package/dist/data/sync/cdc.spec.js +0 -1
- package/dist/data/sync/graphql-source.d.ts +0 -16
- package/dist/data/sync/index.d.ts +0 -5
- package/dist/data/sync/reconciler.d.ts +0 -14
- package/dist/data/sync/reconciler.spec.d.ts +0 -1
- package/dist/data/sync/reconciler.spec.js +0 -1
- package/dist/data/sync/schema.d.ts +0 -1
- package/dist/data/sync/store.d.ts +0 -24
- package/dist/data/sync/sync.spec.d.ts +0 -1
- package/dist/data/sync/sync.spec.js +0 -1
- package/dist/data/sync/synchronizer.d.ts +0 -10
- package/dist/data/sync/types.d.ts +0 -164
- package/dist/evaluation/acceptance.d.ts +0 -33
- package/dist/evaluation/architecture.spec.d.ts +0 -1
- package/dist/evaluation/architecture.spec.js +0 -1
- package/dist/evaluation/builtins/arbitration-score.d.ts +0 -42
- package/dist/evaluation/builtins/demand-match.d.ts +0 -16
- package/dist/evaluation/builtins/graph-service.spec.d.ts +0 -1
- package/dist/evaluation/builtins/graph-service.spec.js +0 -1
- package/dist/evaluation/builtins/index.d.ts +0 -4
- package/dist/evaluation/builtins/purity.spec.d.ts +0 -1
- package/dist/evaluation/builtins/purity.spec.js +0 -1
- package/dist/evaluation/composer.d.ts +0 -38
- package/dist/evaluation/facets/catalog.d.ts +0 -19
- package/dist/evaluation/gap.d.ts +0 -2
- package/dist/evaluation/guard-scan.d.ts +0 -10
- package/dist/evaluation/index.d.ts +0 -14
- package/dist/evaluation/injection.d.ts +0 -6
- package/dist/evaluation/location-match.d.ts +0 -42
- package/dist/evaluation/match-operation.d.ts +0 -23
- package/dist/evaluation/match-policy-resolver.d.ts +0 -9
- package/dist/evaluation/match-policy.spec.d.ts +0 -1
- package/dist/evaluation/match-policy.spec.js +0 -1
- package/dist/evaluation/path-reasoning.d.ts +0 -37
- package/dist/evaluation/standards.d.ts +0 -11
- package/dist/evaluation/standards.spec.d.ts +0 -1
- package/dist/evaluation/standards.spec.js +0 -1
- package/dist/evaluation/structured-lines.d.ts +0 -8
- package/dist/evaluation/user-injection.d.ts +0 -6
- package/dist/experience/experience-reuse.d.ts +0 -10
- package/dist/experience/index.d.ts +0 -7
- package/dist/experience/persistence-config.d.ts +0 -6
- package/dist/experience/persistence.d.ts +0 -21
- package/dist/experience/realtime-feedback.d.ts +0 -5
- package/dist/experience/user-profile.d.ts +0 -25
- package/dist/extensions/capability.d.ts +0 -91
- package/dist/extensions/industry-audit.spec.d.ts +0 -1
- package/dist/extensions/industry-audit.spec.js +0 -1
- package/dist/goal/GoalClassifier.d.ts +0 -17
- package/dist/goal/GoalEngine.d.ts +0 -175
- package/dist/goal/GoalStore.d.ts +0 -27
- package/dist/goal/next-steps.d.ts +0 -12
- package/dist/goal/plan-approval.d.ts +0 -5
- package/dist/goal/pursue.d.ts +0 -18
- package/dist/graph/base.d.ts +0 -8
- package/dist/graph/onchain/analyze.d.ts +0 -59
- package/dist/graph/onchain/analyze.spec.d.ts +0 -1
- package/dist/graph/onchain/analyze.spec.js +0 -1
- package/dist/graph/onchain/anti-cheat.d.ts +0 -69
- package/dist/graph/onchain/anti-cheat.spec.d.ts +0 -1
- package/dist/graph/onchain/anti-cheat.spec.js +0 -1
- package/dist/graph/onchain/dataplane.d.ts +0 -44
- package/dist/graph/onchain/edge-batch.spec.d.ts +0 -1
- package/dist/graph/onchain/edge-batch.spec.js +0 -1
- package/dist/graph/onchain/edge-schema.d.ts +0 -69
- package/dist/graph/onchain/entity-profile.spec.d.ts +0 -1
- package/dist/graph/onchain/entity-profile.spec.js +0 -1
- package/dist/graph/onchain/event-history.spec.d.ts +0 -1
- package/dist/graph/onchain/event-history.spec.js +0 -1
- package/dist/graph/onchain/expand.d.ts +0 -4
- package/dist/graph/onchain/exploration.d.ts +0 -28
- package/dist/graph/onchain/exploration.spec.d.ts +0 -1
- package/dist/graph/onchain/exploration.spec.js +0 -1
- package/dist/graph/onchain/exposure.d.ts +0 -18
- package/dist/graph/onchain/exposure.spec.d.ts +0 -1
- package/dist/graph/onchain/exposure.spec.js +0 -1
- package/dist/graph/onchain/extract-deep.spec.d.ts +0 -1
- package/dist/graph/onchain/extract-deep.spec.js +0 -1
- package/dist/graph/onchain/extract.d.ts +0 -29
- package/dist/graph/onchain/facet-projection.d.ts +0 -99
- package/dist/graph/onchain/facet-projection.spec.d.ts +0 -1
- package/dist/graph/onchain/facet-projection.spec.js +0 -1
- package/dist/graph/onchain/facts.spec.d.ts +0 -1
- package/dist/graph/onchain/facts.spec.js +0 -1
- package/dist/graph/onchain/field-manifest.d.ts +0 -29
- package/dist/graph/onchain/field-manifest.spec.d.ts +0 -1
- package/dist/graph/onchain/field-manifest.spec.js +0 -1
- package/dist/graph/onchain/fixtures.d.ts +0 -80
- package/dist/graph/onchain/fixtures.spec.d.ts +0 -1
- package/dist/graph/onchain/fixtures.spec.js +0 -1
- package/dist/graph/onchain/graph-policy.spec.d.ts +0 -1
- package/dist/graph/onchain/graph-policy.spec.js +0 -1
- package/dist/graph/onchain/index.d.ts +0 -29
- package/dist/graph/onchain/interest.d.ts +0 -10
- package/dist/graph/onchain/interest.spec.d.ts +0 -1
- package/dist/graph/onchain/interest.spec.js +0 -1
- package/dist/graph/onchain/label-lint.spec.d.ts +0 -1
- package/dist/graph/onchain/label-lint.spec.js +0 -1
- package/dist/graph/onchain/names.d.ts +0 -23
- package/dist/graph/onchain/names.spec.d.ts +0 -1
- package/dist/graph/onchain/names.spec.js +0 -1
- package/dist/graph/onchain/object-held-receipts.d.ts +0 -20
- package/dist/graph/onchain/object-held-receipts.spec.d.ts +0 -1
- package/dist/graph/onchain/object-held-receipts.spec.js +0 -1
- package/dist/graph/onchain/onchain.spec.d.ts +0 -1
- package/dist/graph/onchain/onchain.spec.js +0 -1
- package/dist/graph/onchain/policy.d.ts +0 -8
- package/dist/graph/onchain/project-relationship.d.ts +0 -3
- package/dist/graph/onchain/proposal-graph.d.ts +0 -11
- package/dist/graph/onchain/proposal-graph.spec.d.ts +0 -1
- package/dist/graph/onchain/proposal-graph.spec.js +0 -1
- package/dist/graph/onchain/sdk-batch.d.ts +0 -129
- package/dist/graph/onchain/sdk-dataplane.d.ts +0 -44
- package/dist/graph/onchain/strategy.spec.d.ts +0 -1
- package/dist/graph/onchain/strategy.spec.js +0 -1
- package/dist/graph/onchain/synthesis.d.ts +0 -20
- package/dist/graph/onchain/synthesis.spec.d.ts +0 -1
- package/dist/graph/onchain/synthesis.spec.js +0 -1
- package/dist/graph/onchain/table-ledger.spec.d.ts +0 -1
- package/dist/graph/onchain/table-ledger.spec.js +0 -1
- package/dist/graph/onchain/viewport.d.ts +0 -6
- package/dist/harness/auto-escalation.d.ts +0 -15
- package/dist/intent/enrich.d.ts +0 -1
- package/dist/intent/index.d.ts +0 -23
- package/dist/intent/matcher.d.ts +0 -2
- package/dist/intent/store.d.ts +0 -19
- package/dist/intent/types.d.ts +0 -32
- package/dist/keeper/KeeperScan.d.ts +0 -41
- package/dist/keeper/KeeperStore.d.ts +0 -43
- package/dist/keeper/detectors.d.ts +0 -42
- package/dist/keeper/keeper.spec.d.ts +0 -1
- package/dist/keeper/keeper.spec.js +0 -1
- package/dist/keeper/types.d.ts +0 -67
- package/dist/knowledge/account-marks.d.ts +0 -36
- package/dist/knowledge/allocation-ledger.d.ts +0 -75
- package/dist/knowledge/allocation-puzzle.d.ts +0 -138
- package/dist/knowledge/allocation-risk.d.ts +0 -82
- package/dist/knowledge/allocation-templates.d.ts +0 -38
- package/dist/knowledge/allocator-rail-verifier.d.ts +0 -59
- package/dist/knowledge/anti-cheat.d.ts +0 -2
- package/dist/knowledge/arb-fund-facts.d.ts +0 -51
- package/dist/knowledge/arb-risk.d.ts +0 -39
- package/dist/knowledge/arbitration-puzzle.d.ts +0 -84
- package/dist/knowledge/arbitration-rail-verifier.d.ts +0 -35
- package/dist/knowledge/arbitration-risk.d.ts +0 -114
- package/dist/knowledge/arbitration-templates.d.ts +0 -39
- package/dist/knowledge/arbitration-venue-order.d.ts +0 -25
- package/dist/knowledge/baselines/guard-lint-baseline.spec.d.ts +0 -1
- package/dist/knowledge/baselines/guard-lint-baseline.spec.js +0 -1
- package/dist/knowledge/baselines/risk-baselines.spec.d.ts +0 -1
- package/dist/knowledge/baselines/risk-baselines.spec.js +0 -1
- package/dist/knowledge/baselines/risk-cases.d.ts +0 -8
- package/dist/knowledge/baselines/semantic-facts.d.ts +0 -12
- package/dist/knowledge/bridge-risk.d.ts +0 -36
- package/dist/knowledge/catalog-facts.d.ts +0 -4
- package/dist/knowledge/chain-query-registry.d.ts +0 -14
- package/dist/knowledge/commission-landing.d.ts +0 -26
- package/dist/knowledge/component-schema.d.ts +0 -64
- package/dist/knowledge/contact-risk.d.ts +0 -32
- package/dist/knowledge/contact-templates.d.ts +0 -26
- package/dist/knowledge/contract-invariants.d.ts +0 -54
- package/dist/knowledge/demand-risk.d.ts +0 -30
- package/dist/knowledge/discount-threshold.d.ts +0 -26
- package/dist/knowledge/dynamic-pricing.d.ts +0 -29
- package/dist/knowledge/entity-recipient-guard.d.ts +0 -21
- package/dist/knowledge/event-semantics.d.ts +0 -23
- package/dist/knowledge/evidence-review.d.ts +0 -35
- package/dist/knowledge/fee-param-bindings.d.ts +0 -28
- package/dist/knowledge/flywheel-loop.d.ts +0 -41
- package/dist/knowledge/game-scenarios.d.ts +0 -21
- package/dist/knowledge/getting-started.d.ts +0 -37
- package/dist/knowledge/goal-completion.d.ts +0 -31
- package/dist/knowledge/guard-anchor-reach.d.ts +0 -19
- package/dist/knowledge/guard-binding-table.d.ts +0 -52
- package/dist/knowledge/guard-binding-verifier.d.ts +0 -37
- package/dist/knowledge/guard-bindings.d.ts +0 -21
- package/dist/knowledge/guard-blueprint.d.ts +0 -68
- package/dist/knowledge/guard-design-patterns.d.ts +0 -38
- package/dist/knowledge/guard-eval.d.ts +0 -15
- package/dist/knowledge/guard-field-cognition.d.ts +0 -48
- package/dist/knowledge/guard-host-context.d.ts +0 -24
- package/dist/knowledge/guard-ledger.d.ts +0 -19
- package/dist/knowledge/guard-leg-map.d.ts +0 -5
- package/dist/knowledge/guard-lint.d.ts +0 -79
- package/dist/knowledge/guard-node-gates.d.ts +0 -9
- package/dist/knowledge/guard-puzzle.d.ts +0 -188
- package/dist/knowledge/guard-render.d.ts +0 -71
- package/dist/knowledge/guard-risk.d.ts +0 -71
- package/dist/knowledge/guard-submission-brief.d.ts +0 -94
- package/dist/knowledge/guard-submission-prompt.d.ts +0 -63
- package/dist/knowledge/guard-translation.d.ts +0 -58
- package/dist/knowledge/index.d.ts +0 -299
- package/dist/knowledge/industry-evolution.d.ts +0 -82
- package/dist/knowledge/industry-generalizer.d.ts +0 -63
- package/dist/knowledge/industry-rule-node.d.ts +0 -7
- package/dist/knowledge/industry-strategy.d.ts +0 -91
- package/dist/knowledge/intent-metrics.d.ts +0 -43
- package/dist/knowledge/jsonrpc-enum.d.ts +0 -102
- package/dist/knowledge/knob-docs.d.ts +0 -5
- package/dist/knowledge/machine-fork-watch.d.ts +0 -9
- package/dist/knowledge/machine-ledger.d.ts +0 -42
- package/dist/knowledge/machine-puzzle.d.ts +0 -206
- package/dist/knowledge/machine-risk.d.ts +0 -72
- package/dist/knowledge/machine-templates.d.ts +0 -92
- package/dist/knowledge/machine-topology.d.ts +0 -116
- package/dist/knowledge/machine-translation.d.ts +0 -96
- package/dist/knowledge/market-metrics.d.ts +0 -34
- package/dist/knowledge/market-operations.d.ts +0 -46
- package/dist/knowledge/migration-preflight.d.ts +0 -27
- package/dist/knowledge/object-dependency.d.ts +0 -31
- package/dist/knowledge/operation-dictionary.d.ts +0 -18
- package/dist/knowledge/order-ledger.d.ts +0 -69
- package/dist/knowledge/order-puzzle.d.ts +0 -162
- package/dist/knowledge/order-risk.d.ts +0 -62
- package/dist/knowledge/order-templates.d.ts +0 -50
- package/dist/knowledge/param-schema.d.ts +0 -93
- package/dist/knowledge/param-tiers.d.ts +0 -27
- package/dist/knowledge/passport-ledger.d.ts +0 -60
- package/dist/knowledge/passport-templates.d.ts +0 -40
- package/dist/knowledge/path-oracle/coverage.d.ts +0 -16
- package/dist/knowledge/path-oracle/index.d.ts +0 -5
- package/dist/knowledge/path-oracle/products/food-delivery.d.ts +0 -2
- package/dist/knowledge/path-oracle/schema.d.ts +0 -188
- package/dist/knowledge/pattern-resolutions.d.ts +0 -110
- package/dist/knowledge/payment-risk.d.ts +0 -38
- package/dist/knowledge/payment-tracker.d.ts +0 -63
- package/dist/knowledge/permission-ledger.d.ts +0 -49
- package/dist/knowledge/permission-puzzle.d.ts +0 -122
- package/dist/knowledge/permission-risk.d.ts +0 -70
- package/dist/knowledge/permission-templates.d.ts +0 -38
- package/dist/knowledge/personal-risk.d.ts +0 -36
- package/dist/knowledge/product-detail-source.d.ts +0 -37
- package/dist/knowledge/product-doc-b5.d.ts +0 -16
- package/dist/knowledge/progress-ledger.d.ts +0 -63
- package/dist/knowledge/progress-puzzle.d.ts +0 -82
- package/dist/knowledge/progress-risk.d.ts +0 -75
- package/dist/knowledge/progress-templates.d.ts +0 -38
- package/dist/knowledge/projection.d.ts +0 -54
- package/dist/knowledge/projection.spec.d.ts +0 -1
- package/dist/knowledge/projection.spec.js +0 -1
- package/dist/knowledge/proof-risk.d.ts +0 -33
- package/dist/knowledge/protocol-facts.d.ts +0 -17
- package/dist/knowledge/publish-gate.d.ts +0 -20
- package/dist/knowledge/publish-readiness.d.ts +0 -25
- package/dist/knowledge/publish-surface-contract.d.ts +0 -16
- package/dist/knowledge/puzzle-projections.d.ts +0 -11
- package/dist/knowledge/rail-exit-satisfiability.d.ts +0 -25
- package/dist/knowledge/registrar-risk.d.ts +0 -34
- package/dist/knowledge/release-sentinel.d.ts +0 -12
- package/dist/knowledge/repository-risk.d.ts +0 -46
- package/dist/knowledge/repository-write-semantics.d.ts +0 -27
- package/dist/knowledge/reputation-rules.d.ts +0 -36
- package/dist/knowledge/requirement-families.d.ts +0 -13
- package/dist/knowledge/resource-risk.d.ts +0 -32
- package/dist/knowledge/reward-ledger.d.ts +0 -97
- package/dist/knowledge/reward-puzzle.d.ts +0 -98
- package/dist/knowledge/reward-risk.d.ts +0 -86
- package/dist/knowledge/reward-templates.d.ts +0 -25
- package/dist/knowledge/rule-node-analyzers.d.ts +0 -49
- package/dist/knowledge/rule-outcome.d.ts +0 -5
- package/dist/knowledge/scenario-topology.d.ts +0 -48
- package/dist/knowledge/semantic-ir.d.ts +0 -136
- package/dist/knowledge/service-allocation-semantics.d.ts +0 -36
- package/dist/knowledge/service-allocator-audit-node.d.ts +0 -3
- package/dist/knowledge/service-ledger.d.ts +0 -87
- package/dist/knowledge/service-puzzle.d.ts +0 -158
- package/dist/knowledge/service-risk-node.d.ts +0 -3
- package/dist/knowledge/service-risk.d.ts +0 -110
- package/dist/knowledge/service-templates.d.ts +0 -41
- package/dist/knowledge/settlement-semantics.d.ts +0 -1
- package/dist/knowledge/strategy-manuals.d.ts +0 -15
- package/dist/knowledge/supply-chain.d.ts +0 -35
- package/dist/knowledge/template-index.d.ts +0 -19
- package/dist/knowledge/template-loader.d.ts +0 -425
- package/dist/knowledge/template-nav.d.ts +0 -9
- package/dist/knowledge/template-prose.d.ts +0 -50
- package/dist/knowledge/template-registry.d.ts +0 -48
- package/dist/knowledge/template-scanner.d.ts +0 -158
- package/dist/knowledge/template-test-profiles.d.ts +0 -17
- package/dist/knowledge/template-validation.d.ts +0 -3
- package/dist/knowledge/tools-reference.d.ts +0 -17
- package/dist/knowledge/treasury-ledger.d.ts +0 -42
- package/dist/knowledge/treasury-puzzle.d.ts +0 -163
- package/dist/knowledge/treasury-risk.d.ts +0 -88
- package/dist/knowledge/treasury-templates.d.ts +0 -38
- package/dist/knowledge/universal-template.d.ts +0 -22
- package/dist/knowledge/util-risk.d.ts +0 -30
- package/dist/knowledge/workflow-guidance.d.ts +0 -194
- package/dist/knowledge/workspace-lists.d.ts +0 -61
- package/dist/monitor/SuggestionBridge.spec.d.ts +0 -1
- package/dist/monitor/SuggestionBridge.spec.js +0 -1
- package/dist/participation/arbitrator-interest.d.ts +0 -22
- package/dist/participation/demander-interest.d.ts +0 -23
- package/dist/participation/employee-kpi.d.ts +0 -37
- package/dist/participation/employee-kpi.spec.d.ts +0 -1
- package/dist/participation/employee-kpi.spec.js +0 -1
- package/dist/participation/employee-store.d.ts +0 -16
- package/dist/participation/game-context.d.ts +0 -25
- package/dist/participation/index.d.ts +0 -2
- package/dist/participation/node-action-advisor.d.ts +0 -68
- package/dist/participation/time-window.d.ts +0 -48
- package/dist/persona/facet-profile.d.ts +0 -33
- package/dist/persona/persona-audit.spec.d.ts +0 -1
- package/dist/persona/persona-audit.spec.js +0 -1
- package/dist/playbooks/service-build/business-puzzle.d.ts +0 -48
- package/dist/playbooks/service-build/context-assembly.d.ts +0 -32
- package/dist/playbooks/service-build/facet-money.d.ts +0 -33
- package/dist/playbooks/service-build/facet-money.spec.d.ts +0 -1
- package/dist/playbooks/service-build/facet-money.spec.js +0 -1
- package/dist/playbooks/service-build/game-theory.d.ts +0 -47
- package/dist/playbooks/service-build/index.d.ts +0 -15
- package/dist/playbooks/service-build/intent-analyzer.d.ts +0 -72
- package/dist/playbooks/service-build/machine-nodes.d.ts +0 -27
- package/dist/playbooks/service-build/machine-panorama.d.ts +0 -71
- package/dist/playbooks/service-build/merchant-guide.d.ts +0 -382
- package/dist/playbooks/service-build/migration-planner.d.ts +0 -61
- package/dist/playbooks/service-build/mode-actions.d.ts +0 -260
- package/dist/playbooks/service-build/object-panorama.d.ts +0 -317
- package/dist/playbooks/service-build/object-type.d.ts +0 -1
- package/dist/playbooks/service-build/participation-radar.d.ts +0 -20
- package/dist/playbooks/service-build/pipeline-actions.d.ts +0 -108
- package/dist/playbooks/service-build/process.d.ts +0 -6
- package/dist/playbooks/service-build/relationship-profile.d.ts +0 -3
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.d.ts +0 -1
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +0 -1
- package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.d.ts +0 -1
- package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.js +0 -1
- package/dist/playbooks/service-build/reverse-mapping.d.ts +0 -66
- package/dist/playbooks/service-build/risk-aggregator.d.ts +0 -59
- package/dist/playbooks/service-build/service-panorama.d.ts +0 -229
- package/dist/playbooks/service-build/service-quote.d.ts +0 -2
- package/dist/playbooks/service-build/service-quote.spec.d.ts +0 -1
- package/dist/playbooks/service-build/service-quote.spec.js +0 -1
- package/dist/playbooks/service-build/topology-evaluation.spec.d.ts +0 -1
- package/dist/playbooks/service-build/topology-evaluation.spec.js +0 -1
- package/dist/playbooks/service-build/topology-query.d.ts +0 -25
- package/dist/playbooks/service-build/workflow-design-assessment.d.ts +0 -33
- package/dist/relationship/derivation.d.ts +0 -95
- package/dist/relationship/derivation.spec.d.ts +0 -1
- package/dist/relationship/derivation.spec.js +0 -1
- package/dist/relationship/incentive.d.ts +0 -38
- package/dist/relationship/index.d.ts +0 -4
- package/dist/relationship/registry.d.ts +0 -13
- package/dist/relationship/types.d.ts +0 -45
- package/dist/review/arb.d.ts +0 -4
- package/dist/review/demand.d.ts +0 -3
- package/dist/review/index.d.ts +0 -3
- package/dist/review/machine.d.ts +0 -3
- package/dist/review/order.d.ts +0 -8
- package/dist/review/progress.d.ts +0 -3
- package/dist/review/repository.d.ts +0 -3
- package/dist/review/service.d.ts +0 -5
- package/dist/review/types.d.ts +0 -163
- package/dist/role/derivation.d.ts +0 -35
- package/dist/role/index.d.ts +0 -6
- package/dist/role/intent.d.ts +0 -23
- package/dist/role/model.d.ts +0 -9
- package/dist/role/profiles.d.ts +0 -26
- package/dist/role/resolution.d.ts +0 -27
- package/dist/runtime/instance-registry.d.ts +0 -14
- package/dist/safety/index.d.ts +0 -3
- package/dist/schema/call/permission-handler.d.ts +0 -5
- package/dist/schema/call/semantic-customer-advice.spec.d.ts +0 -1
- package/dist/schema/call/semantic-customer-advice.spec.js +0 -1
- package/dist/schema/common/tokentype-short-probe.spec.d.ts +0 -1
- package/dist/schema/common/tokentype-short-probe.spec.js +0 -1
- package/dist/schema/envelope-unify.d.ts +0 -5
- package/dist/schema/goal/planning.d.ts +0 -742
- package/dist/schema/industry-pack/modes.d.ts +0 -447
- package/dist/schema/query/bi.d.ts +0 -3369
- package/dist/schema/utils/guard-query-utils.d.ts +0 -18
- package/dist/schema/utils/permission-index-utils.d.ts +0 -2
- package/dist/schema/utils/skills-recommendation.d.ts +0 -2
- package/dist/schema-query-impl/index.d.ts +0 -83
- package/dist/schemas/account_operation.output.json +0 -3869
- package/dist/schemas/ask_user.output.json +0 -54
- package/dist/schemas/benchmark_migration_operation.output.json +0 -1669
- package/dist/schemas/bridge_operation.output.json +0 -1548
- package/dist/schemas/config_operation.output.json +0 -896
- package/dist/schemas/employee_operation.output.json +0 -307
- package/dist/schemas/evaluation_operation.output.json +0 -4716
- package/dist/schemas/guard2file.output.json +0 -83
- package/dist/schemas/industry_pack_operation.output.json +0 -2985
- package/dist/schemas/intent_radar.output.json +0 -326
- package/dist/schemas/keeper_operation.output.json +0 -1441
- package/dist/schemas/local_cache_operation.output.json +0 -1718
- package/dist/schemas/local_history_operation.output.json +0 -1644
- package/dist/schemas/local_info_operation.output.json +0 -1530
- package/dist/schemas/local_mark_operation.output.json +0 -1622
- package/dist/schemas/machineNode2file.output.json +0 -88
- package/dist/schemas/messenger_operation.output.json +0 -4692
- package/dist/schemas/monitor_events.output.json +0 -1602
- package/dist/schemas/monitor_subscription.output.json +0 -1629
- package/dist/schemas/onchain_events.output.json +0 -4053
- package/dist/schemas/onchain_operations.output.json +0 -7788
- package/dist/schemas/onchain_table_data.output.json +0 -11868
- package/dist/schemas/permission_operation.output.json +0 -205
- package/dist/schemas/persona_operation.output.json +0 -64612
- package/dist/schemas/query_toolkit.output.json +0 -28302
- package/dist/schemas/schema_query.output.json +0 -81
- package/dist/schemas/service_clone_operation.output.json +0 -247
- package/dist/schemas/strategy_review_operation.output.json +0 -532
- package/dist/schemas/watch_operation.output.json +0 -930
- package/dist/schemas/wip_file.output.json +0 -360
- package/dist/schemas/workflow_operation.output.json +0 -422
- package/dist/schemas/workspace_operation.output.json +0 -477
- package/dist/schemas/wowok_buildin_info.output.json +0 -2477
- package/dist/strategy/collectors.d.ts +0 -66
- package/dist/strategy/collectors.spec.d.ts +0 -1
- package/dist/strategy/collectors.spec.js +0 -1
- package/dist/strategy/index.d.ts +0 -5
- package/dist/strategy/metrics.d.ts +0 -20
- package/dist/strategy/review.d.ts +0 -48
- package/dist/strategy/scorecard.d.ts +0 -32
- package/dist/strategy/store.d.ts +0 -26
- package/dist/task/ProcessStore.d.ts +0 -98
- package/dist/task/playbook.d.ts +0 -11
- package/dist/task/substep-trace.d.ts +0 -91
- package/dist/tools/build-fingerprint.d.ts +0 -28
- package/dist/tools/error-catalog.d.ts +0 -17
- package/dist/tools/handlers/ask-user.d.ts +0 -3
- package/dist/tools/handlers/benchmark-migration.d.ts +0 -121
- package/dist/tools/handlers/bridge.d.ts +0 -8
- package/dist/tools/handlers/config.d.ts +0 -2
- package/dist/tools/handlers/dispatch-expectations.d.ts +0 -2
- package/dist/tools/handlers/dispatch-expectations.spec.d.ts +0 -1
- package/dist/tools/handlers/dispatch-expectations.spec.js +0 -1
- package/dist/tools/handlers/employee.d.ts +0 -8
- package/dist/tools/handlers/employee.spec.d.ts +0 -1
- package/dist/tools/handlers/employee.spec.js +0 -1
- package/dist/tools/handlers/entry-edge-recipe.d.ts +0 -101
- package/dist/tools/handlers/escrow-deficit.d.ts +0 -10
- package/dist/tools/handlers/evaluation.d.ts +0 -2
- package/dist/tools/handlers/evaluation.spec.d.ts +0 -1
- package/dist/tools/handlers/evaluation.spec.js +0 -1
- package/dist/tools/handlers/file-export.d.ts +0 -3
- package/dist/tools/handlers/fund-rail-recipe.d.ts +0 -10
- package/dist/tools/handlers/goal.d.ts +0 -4
- package/dist/tools/handlers/industry-pack.d.ts +0 -3
- package/dist/tools/handlers/intent-radar.d.ts +0 -2
- package/dist/tools/handlers/keeper.d.ts +0 -12
- package/dist/tools/handlers/local.d.ts +0 -6
- package/dist/tools/handlers/mark-namespace.d.ts +0 -30
- package/dist/tools/handlers/messenger.d.ts +0 -24
- package/dist/tools/handlers/monitor.d.ts +0 -26
- package/dist/tools/handlers/name-resolution.d.ts +0 -4
- package/dist/tools/handlers/name-resolution.spec.d.ts +0 -1
- package/dist/tools/handlers/name-resolution.spec.js +0 -1
- package/dist/tools/handlers/network.d.ts +0 -1
- package/dist/tools/handlers/onchain-name-registration.d.ts +0 -49
- package/dist/tools/handlers/onchain-name-registration.spec.d.ts +0 -1
- package/dist/tools/handlers/onchain-name-registration.spec.js +0 -1
- package/dist/tools/handlers/onchain.d.ts +0 -132
- package/dist/tools/handlers/permission.d.ts +0 -2
- package/dist/tools/handlers/persona.d.ts +0 -4
- package/dist/tools/handlers/publish-binding-echo.d.ts +0 -22
- package/dist/tools/handlers/review-chain.d.ts +0 -19
- package/dist/tools/handlers/schema-query.d.ts +0 -2
- package/dist/tools/handlers/service-clone.d.ts +0 -20
- package/dist/tools/handlers/stale-build-check.d.ts +0 -9
- package/dist/tools/handlers/strategy-review.d.ts +0 -2
- package/dist/tools/handlers/submission-assembly.d.ts +0 -55
- package/dist/tools/handlers/watch.d.ts +0 -2
- package/dist/tools/handlers/winner-derivation.d.ts +0 -20
- package/dist/tools/handlers/wip-upload.d.ts +0 -22
- package/dist/tools/handlers/wip.d.ts +0 -2
- package/dist/tools/handlers/workflow.d.ts +0 -2
- package/dist/tools/handlers/workspace.d.ts +0 -4
- package/dist/tools/move-fn-index.gen.d.ts +0 -3
- package/dist/tools/publish-gate-state.d.ts +0 -5
- package/dist/tools/registry/agent.d.ts +0 -2
- package/dist/tools/registry/bridge.d.ts +0 -2
- package/dist/tools/registry/business.d.ts +0 -2
- package/dist/tools/registry/config.d.ts +0 -2
- package/dist/tools/registry/evaluation.d.ts +0 -2
- package/dist/tools/registry/files.d.ts +0 -2
- package/dist/tools/registry/identity.d.ts +0 -2
- package/dist/tools/registry/interaction.d.ts +0 -2
- package/dist/tools/registry/local.d.ts +0 -2
- package/dist/tools/registry/messenger.d.ts +0 -2
- package/dist/tools/registry/monitor.d.ts +0 -2
- package/dist/tools/registry/onchain.d.ts +0 -2
- package/dist/tools/registry/query.d.ts +0 -2
- package/dist/tools/retry.d.ts +0 -8
- package/dist/tools/rules-hook.d.ts +0 -5
- package/dist/tools/runtime-health.d.ts +0 -10
- package/dist/tools/sanitize-description-roundtrip.spec.d.ts +0 -1
- package/dist/tools/sanitize-description-roundtrip.spec.js +0 -1
- package/dist/tools/sanitize-output.d.ts +0 -4
- package/dist/tools/sanitize-output.spec.d.ts +0 -1
- package/dist/tools/sanitize-output.spec.js +0 -1
- package/dist/tools/shared.d.ts +0 -20
- package/dist/tools/transport-integrity.d.ts +0 -7
- package/dist/tools/upgrade-check.d.ts +0 -75
- package/dist/tools/wip-deploy-assist.d.ts +0 -34
- package/dist/tools/wip-verify-ledger.d.ts +0 -16
- package/dist/tools/wrap.d.ts +0 -45
|
@@ -1,4692 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://wowok.net/schemas/messenger_operation.output.json",
|
|
4
|
-
"title": "Messenger Operations",
|
|
5
|
-
"description": "Messenger operation output schema",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"result": {
|
|
9
|
-
"oneOf": [
|
|
10
|
-
{
|
|
11
|
-
"type": "object",
|
|
12
|
-
"properties": {
|
|
13
|
-
"operation": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"const": "watch_conversations"
|
|
16
|
-
},
|
|
17
|
-
"result": {
|
|
18
|
-
"type": "array",
|
|
19
|
-
"items": {
|
|
20
|
-
"type": "object",
|
|
21
|
-
"properties": {
|
|
22
|
-
"peerAddress": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "Peer address"
|
|
25
|
-
},
|
|
26
|
-
"lastMessageAt": {
|
|
27
|
-
"type": "number",
|
|
28
|
-
"description": "Last message time"
|
|
29
|
-
},
|
|
30
|
-
"messageCount": {
|
|
31
|
-
"type": "number",
|
|
32
|
-
"description": "Total message count"
|
|
33
|
-
},
|
|
34
|
-
"unreadCount": {
|
|
35
|
-
"type": "number",
|
|
36
|
-
"description": "Unread message count - count of received messages that have not been viewed (viewedAt is undefined)"
|
|
37
|
-
},
|
|
38
|
-
"lastMessagePreview": {
|
|
39
|
-
"description": "Last message preview text",
|
|
40
|
-
"type": "string"
|
|
41
|
-
},
|
|
42
|
-
"previewMessages": {
|
|
43
|
-
"description": "Preview messages for this conversation (default 2 messages, sorted by time descending)",
|
|
44
|
-
"type": "array",
|
|
45
|
-
"items": {
|
|
46
|
-
"type": "object",
|
|
47
|
-
"properties": {
|
|
48
|
-
"messageId": {
|
|
49
|
-
"type": "string",
|
|
50
|
-
"description": "Message ID"
|
|
51
|
-
},
|
|
52
|
-
"fromAddress": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Sender address"
|
|
55
|
-
},
|
|
56
|
-
"toAddress": {
|
|
57
|
-
"type": "string",
|
|
58
|
-
"description": "Recipient address"
|
|
59
|
-
},
|
|
60
|
-
"plaintextHash": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"description": "Plaintext hash"
|
|
63
|
-
},
|
|
64
|
-
"plaintext": {
|
|
65
|
-
"description": "Decrypted plaintext text. UNDEFINED for attachment messages (zipMetadata present) — their base64 envelope is stripped at the read boundary; read msg.attachment for metadata and use save_attachment for bytes",
|
|
66
|
-
"type": "string"
|
|
67
|
-
},
|
|
68
|
-
"attachment": {
|
|
69
|
-
"description": "Present when this message is an attachment (zipMetadata present). Byte-free descriptor; payload never embedded",
|
|
70
|
-
"type": "object",
|
|
71
|
-
"properties": {
|
|
72
|
-
"kind": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"enum": [
|
|
75
|
-
"image",
|
|
76
|
-
"video",
|
|
77
|
-
"audio",
|
|
78
|
-
"voice",
|
|
79
|
-
"file",
|
|
80
|
-
"wts",
|
|
81
|
-
"wip"
|
|
82
|
-
],
|
|
83
|
-
"description": "Attachment business type: image/video/audio are inline-renderable media; 'voice' is an explicit voice message (webm cannot be auto-distinguished from video); 'file' is a generic document; wts/wip are evidence files"
|
|
84
|
-
},
|
|
85
|
-
"fileName": {
|
|
86
|
-
"type": "string",
|
|
87
|
-
"description": "Original file name (transport .zip suffix stripped)"
|
|
88
|
-
},
|
|
89
|
-
"mimeType": {
|
|
90
|
-
"type": "string",
|
|
91
|
-
"description": "MIME type inferred from extension or sender-provided"
|
|
92
|
-
},
|
|
93
|
-
"size": {
|
|
94
|
-
"type": "number",
|
|
95
|
-
"description": "Payload size in bytes (uncompressed)"
|
|
96
|
-
},
|
|
97
|
-
"caption": {
|
|
98
|
-
"description": "Sender-provided caption (E2EE, inside the encrypted envelope)",
|
|
99
|
-
"type": "string"
|
|
100
|
-
},
|
|
101
|
-
"durationMs": {
|
|
102
|
-
"description": "Audio/video duration in milliseconds",
|
|
103
|
-
"type": "number"
|
|
104
|
-
},
|
|
105
|
-
"width": {
|
|
106
|
-
"description": "Media width in pixels",
|
|
107
|
-
"type": "number"
|
|
108
|
-
},
|
|
109
|
-
"height": {
|
|
110
|
-
"description": "Media height in pixels",
|
|
111
|
-
"type": "number"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"required": [
|
|
115
|
-
"kind",
|
|
116
|
-
"fileName",
|
|
117
|
-
"mimeType",
|
|
118
|
-
"size"
|
|
119
|
-
],
|
|
120
|
-
"additionalProperties": false
|
|
121
|
-
},
|
|
122
|
-
"replyTo": {
|
|
123
|
-
"description": "Quoted (replied-to) message reference, if this message replies to a previous one",
|
|
124
|
-
"type": "object",
|
|
125
|
-
"properties": {
|
|
126
|
-
"messageId": {
|
|
127
|
-
"type": "string",
|
|
128
|
-
"description": "Replied-to message ID (unique within the conversation)"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"required": [
|
|
132
|
-
"messageId"
|
|
133
|
-
],
|
|
134
|
-
"additionalProperties": false
|
|
135
|
-
},
|
|
136
|
-
"guardAddress": {
|
|
137
|
-
"description": "Guard address",
|
|
138
|
-
"type": "string"
|
|
139
|
-
},
|
|
140
|
-
"passportAddress": {
|
|
141
|
-
"description": "Passport address",
|
|
142
|
-
"type": "string"
|
|
143
|
-
},
|
|
144
|
-
"lastReceivedLeafIndex": {
|
|
145
|
-
"description": "Last received leaf index",
|
|
146
|
-
"type": "number"
|
|
147
|
-
},
|
|
148
|
-
"direction": {
|
|
149
|
-
"type": "string",
|
|
150
|
-
"enum": [
|
|
151
|
-
"sent",
|
|
152
|
-
"received"
|
|
153
|
-
],
|
|
154
|
-
"description": "Message direction"
|
|
155
|
-
},
|
|
156
|
-
"status": {
|
|
157
|
-
"type": "string",
|
|
158
|
-
"enum": [
|
|
159
|
-
"pending",
|
|
160
|
-
"confirmed",
|
|
161
|
-
"read",
|
|
162
|
-
"failed",
|
|
163
|
-
"rejected",
|
|
164
|
-
"decrypted",
|
|
165
|
-
"decrypt_failed"
|
|
166
|
-
],
|
|
167
|
-
"description": "Message status"
|
|
168
|
-
},
|
|
169
|
-
"msgType": {
|
|
170
|
-
"anyOf": [
|
|
171
|
-
{
|
|
172
|
-
"type": "number",
|
|
173
|
-
"const": 1
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"type": "number",
|
|
177
|
-
"const": 3
|
|
178
|
-
}
|
|
179
|
-
],
|
|
180
|
-
"description": "Message type"
|
|
181
|
-
},
|
|
182
|
-
"leafIndex": {
|
|
183
|
-
"description": "Leaf index",
|
|
184
|
-
"type": "number"
|
|
185
|
-
},
|
|
186
|
-
"prevRoot": {
|
|
187
|
-
"description": "Previous Merkle Root",
|
|
188
|
-
"type": "string"
|
|
189
|
-
},
|
|
190
|
-
"newRoot": {
|
|
191
|
-
"description": "Current Merkle Root",
|
|
192
|
-
"type": "string"
|
|
193
|
-
},
|
|
194
|
-
"serverSignature": {
|
|
195
|
-
"description": "Server signature",
|
|
196
|
-
"type": "string"
|
|
197
|
-
},
|
|
198
|
-
"serverTimestamp": {
|
|
199
|
-
"description": "Server confirmation timestamp",
|
|
200
|
-
"type": "number"
|
|
201
|
-
},
|
|
202
|
-
"serverPublicKey": {
|
|
203
|
-
"description": "Server public key",
|
|
204
|
-
"type": "string"
|
|
205
|
-
},
|
|
206
|
-
"arkConfirmed": {
|
|
207
|
-
"description": "ARK confirmation",
|
|
208
|
-
"type": "object",
|
|
209
|
-
"properties": {
|
|
210
|
-
"recipient": {
|
|
211
|
-
"type": "string",
|
|
212
|
-
"description": "Recipient address"
|
|
213
|
-
},
|
|
214
|
-
"recipientPublicKey": {
|
|
215
|
-
"type": "string",
|
|
216
|
-
"description": "Recipient public key"
|
|
217
|
-
},
|
|
218
|
-
"signature": {
|
|
219
|
-
"type": "string",
|
|
220
|
-
"description": "Recipient signature"
|
|
221
|
-
},
|
|
222
|
-
"timestamp": {
|
|
223
|
-
"type": "number",
|
|
224
|
-
"description": "ARK confirmation time"
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
"required": [
|
|
228
|
-
"recipient",
|
|
229
|
-
"recipientPublicKey",
|
|
230
|
-
"signature",
|
|
231
|
-
"timestamp"
|
|
232
|
-
],
|
|
233
|
-
"additionalProperties": false
|
|
234
|
-
},
|
|
235
|
-
"createdAt": {
|
|
236
|
-
"type": "number",
|
|
237
|
-
"description": "Message creation time (client)"
|
|
238
|
-
},
|
|
239
|
-
"receivedAt": {
|
|
240
|
-
"description": "Local reception time",
|
|
241
|
-
"type": "number"
|
|
242
|
-
},
|
|
243
|
-
"zipMetadata": {
|
|
244
|
-
"description": "ZIP file metadata",
|
|
245
|
-
"type": "object",
|
|
246
|
-
"properties": {
|
|
247
|
-
"fileName": {
|
|
248
|
-
"type": "string",
|
|
249
|
-
"description": "ZIP filename"
|
|
250
|
-
},
|
|
251
|
-
"fileSize": {
|
|
252
|
-
"type": "number",
|
|
253
|
-
"description": "File size in bytes"
|
|
254
|
-
},
|
|
255
|
-
"fileHash": {
|
|
256
|
-
"type": "string",
|
|
257
|
-
"description": "File SHA256 hash"
|
|
258
|
-
},
|
|
259
|
-
"contentType": {
|
|
260
|
-
"type": "string",
|
|
261
|
-
"enum": [
|
|
262
|
-
"text",
|
|
263
|
-
"zip",
|
|
264
|
-
"wts",
|
|
265
|
-
"wip"
|
|
266
|
-
],
|
|
267
|
-
"description": "Content type"
|
|
268
|
-
},
|
|
269
|
-
"localCachePath": {
|
|
270
|
-
"description": "Local cache path",
|
|
271
|
-
"type": "string"
|
|
272
|
-
},
|
|
273
|
-
"downloadedAt": {
|
|
274
|
-
"description": "Download timestamp",
|
|
275
|
-
"type": "number"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"required": [
|
|
279
|
-
"fileName",
|
|
280
|
-
"fileSize",
|
|
281
|
-
"fileHash",
|
|
282
|
-
"contentType"
|
|
283
|
-
],
|
|
284
|
-
"additionalProperties": false
|
|
285
|
-
},
|
|
286
|
-
"proof": {
|
|
287
|
-
"description": "Latest on-chain proof object address (projection of the last entry in proofs; derived at the read boundary for single-value consumers)",
|
|
288
|
-
"type": "string"
|
|
289
|
-
},
|
|
290
|
-
"proofs": {
|
|
291
|
-
"description": "All on-chain proofs anchored for this message, ascending by publish time (one-to-many; a message may be proofed multiple times)",
|
|
292
|
-
"type": "array",
|
|
293
|
-
"items": {
|
|
294
|
-
"type": "object",
|
|
295
|
-
"properties": {
|
|
296
|
-
"address": {
|
|
297
|
-
"type": "string",
|
|
298
|
-
"description": "On-chain Proof object address"
|
|
299
|
-
},
|
|
300
|
-
"network": {
|
|
301
|
-
"description": "Network the proof was published on (testnet/mainnet/localnet); absent in legacy local records",
|
|
302
|
-
"type": "string"
|
|
303
|
-
},
|
|
304
|
-
"createdAt": {
|
|
305
|
-
"type": "number",
|
|
306
|
-
"description": "Local record time (ms)"
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
"required": [
|
|
310
|
-
"address",
|
|
311
|
-
"createdAt"
|
|
312
|
-
],
|
|
313
|
-
"additionalProperties": false,
|
|
314
|
-
"description": "One on-chain proof anchored for this message"
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
"decryptError": {
|
|
318
|
-
"description": "Decryption failure reason",
|
|
319
|
-
"type": "string"
|
|
320
|
-
},
|
|
321
|
-
"decryptAttempts": {
|
|
322
|
-
"description": "Number of decryption attempts",
|
|
323
|
-
"type": "number"
|
|
324
|
-
},
|
|
325
|
-
"lastDecryptAttemptAt": {
|
|
326
|
-
"description": "Last decryption attempt timestamp",
|
|
327
|
-
"type": "number"
|
|
328
|
-
},
|
|
329
|
-
"viewedAt": {
|
|
330
|
-
"description": "Timestamp when the current user viewed this message (local storage). If present, indicates the message has been viewed by the user. Only applicable to received messages (direction === 'received')",
|
|
331
|
-
"type": "number"
|
|
332
|
-
}
|
|
333
|
-
},
|
|
334
|
-
"required": [
|
|
335
|
-
"messageId",
|
|
336
|
-
"fromAddress",
|
|
337
|
-
"toAddress",
|
|
338
|
-
"plaintextHash",
|
|
339
|
-
"direction",
|
|
340
|
-
"status",
|
|
341
|
-
"msgType",
|
|
342
|
-
"createdAt"
|
|
343
|
-
],
|
|
344
|
-
"additionalProperties": false,
|
|
345
|
-
"description": "Message object"
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
"required": [
|
|
350
|
-
"peerAddress",
|
|
351
|
-
"lastMessageAt",
|
|
352
|
-
"messageCount",
|
|
353
|
-
"unreadCount"
|
|
354
|
-
],
|
|
355
|
-
"additionalProperties": false,
|
|
356
|
-
"description": "Conversation info with unread count and preview messages"
|
|
357
|
-
},
|
|
358
|
-
"description": "List of conversations"
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
"required": [
|
|
362
|
-
"operation",
|
|
363
|
-
"result"
|
|
364
|
-
],
|
|
365
|
-
"additionalProperties": false
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"type": "object",
|
|
369
|
-
"properties": {
|
|
370
|
-
"operation": {
|
|
371
|
-
"type": "string",
|
|
372
|
-
"const": "send_message"
|
|
373
|
-
},
|
|
374
|
-
"result": {
|
|
375
|
-
"type": "object",
|
|
376
|
-
"properties": {
|
|
377
|
-
"messageId": {
|
|
378
|
-
"type": "string",
|
|
379
|
-
"description": "Message ID (empty on guard_authorization_required)"
|
|
380
|
-
},
|
|
381
|
-
"status": {
|
|
382
|
-
"anyOf": [
|
|
383
|
-
{
|
|
384
|
-
"type": "string",
|
|
385
|
-
"enum": [
|
|
386
|
-
"pending",
|
|
387
|
-
"confirmed",
|
|
388
|
-
"read",
|
|
389
|
-
"failed",
|
|
390
|
-
"rejected",
|
|
391
|
-
"decrypted",
|
|
392
|
-
"decrypt_failed"
|
|
393
|
-
]
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"type": "string",
|
|
397
|
-
"const": "guard_authorization_required"
|
|
398
|
-
}
|
|
399
|
-
],
|
|
400
|
-
"description": "Message status; 'guard_authorization_required' means smart send needs one-click authorization before delivery"
|
|
401
|
-
},
|
|
402
|
-
"merkleData": {
|
|
403
|
-
"description": "Merkle Tree proof data",
|
|
404
|
-
"type": "object",
|
|
405
|
-
"properties": {
|
|
406
|
-
"leafIndex": {
|
|
407
|
-
"type": "number",
|
|
408
|
-
"description": "Leaf index"
|
|
409
|
-
},
|
|
410
|
-
"prevRoot": {
|
|
411
|
-
"type": "string",
|
|
412
|
-
"description": "Previous Merkle Root"
|
|
413
|
-
},
|
|
414
|
-
"newRoot": {
|
|
415
|
-
"type": "string",
|
|
416
|
-
"description": "Current Merkle Root"
|
|
417
|
-
},
|
|
418
|
-
"serverSignature": {
|
|
419
|
-
"type": "string",
|
|
420
|
-
"description": "Server signature"
|
|
421
|
-
},
|
|
422
|
-
"serverTimestamp": {
|
|
423
|
-
"type": "number",
|
|
424
|
-
"description": "Server confirmation timestamp"
|
|
425
|
-
},
|
|
426
|
-
"serverPublicKey": {
|
|
427
|
-
"type": "string",
|
|
428
|
-
"description": "Server public key"
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
"required": [
|
|
432
|
-
"leafIndex",
|
|
433
|
-
"prevRoot",
|
|
434
|
-
"newRoot",
|
|
435
|
-
"serverSignature",
|
|
436
|
-
"serverTimestamp",
|
|
437
|
-
"serverPublicKey"
|
|
438
|
-
],
|
|
439
|
-
"additionalProperties": false
|
|
440
|
-
},
|
|
441
|
-
"guardList": {
|
|
442
|
-
"description": "Guard list (only returned on error)",
|
|
443
|
-
"type": "array",
|
|
444
|
-
"items": {
|
|
445
|
-
"type": "string"
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
"lastReceivedLeafIndex": {
|
|
449
|
-
"description": "Last received leaf index (for message confirmation)",
|
|
450
|
-
"type": "number"
|
|
451
|
-
},
|
|
452
|
-
"authRequired": {
|
|
453
|
-
"description": "True on the guard_authorization_required result shape — show the user ONE confirmation card, then resend via send_message with options.authorize=true",
|
|
454
|
-
"type": "boolean"
|
|
455
|
-
},
|
|
456
|
-
"network": {
|
|
457
|
-
"description": "Network the Passport must be created on (present on guard_authorization_required)",
|
|
458
|
-
"type": "string",
|
|
459
|
-
"enum": [
|
|
460
|
-
"localnet",
|
|
461
|
-
"testnet",
|
|
462
|
-
"mainnet"
|
|
463
|
-
]
|
|
464
|
-
},
|
|
465
|
-
"reason": {
|
|
466
|
-
"description": "Why silent passport reuse failed (present on guard_authorization_required)",
|
|
467
|
-
"type": "string",
|
|
468
|
-
"enum": [
|
|
469
|
-
"no_local_passport",
|
|
470
|
-
"local_passport_stale"
|
|
471
|
-
]
|
|
472
|
-
},
|
|
473
|
-
"hint": {
|
|
474
|
-
"description": "Guidance text incl. the auto-friend hint — once the recipient replies, the sender is auto-friended and future messages need no verification",
|
|
475
|
-
"type": "string"
|
|
476
|
-
},
|
|
477
|
-
"serverError": {
|
|
478
|
-
"description": "Original server rejection message",
|
|
479
|
-
"type": "string"
|
|
480
|
-
},
|
|
481
|
-
"submissions": {
|
|
482
|
-
"description": "Guard submission requirements, when a guard demands answers before issuing a Passport (route through onchain_operations gen_passport with info)"
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
"required": [
|
|
486
|
-
"messageId",
|
|
487
|
-
"status"
|
|
488
|
-
],
|
|
489
|
-
"additionalProperties": false,
|
|
490
|
-
"description": "Send message result"
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
"required": [
|
|
494
|
-
"operation",
|
|
495
|
-
"result"
|
|
496
|
-
],
|
|
497
|
-
"additionalProperties": false
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"type": "object",
|
|
501
|
-
"properties": {
|
|
502
|
-
"operation": {
|
|
503
|
-
"type": "string",
|
|
504
|
-
"const": "send_file"
|
|
505
|
-
},
|
|
506
|
-
"result": {
|
|
507
|
-
"type": "object",
|
|
508
|
-
"properties": {
|
|
509
|
-
"messageId": {
|
|
510
|
-
"type": "string",
|
|
511
|
-
"description": "Message ID (empty on guard_authorization_required)"
|
|
512
|
-
},
|
|
513
|
-
"status": {
|
|
514
|
-
"anyOf": [
|
|
515
|
-
{
|
|
516
|
-
"type": "string",
|
|
517
|
-
"enum": [
|
|
518
|
-
"pending",
|
|
519
|
-
"confirmed",
|
|
520
|
-
"read",
|
|
521
|
-
"failed",
|
|
522
|
-
"rejected",
|
|
523
|
-
"decrypted",
|
|
524
|
-
"decrypt_failed"
|
|
525
|
-
]
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"type": "string",
|
|
529
|
-
"const": "guard_authorization_required"
|
|
530
|
-
}
|
|
531
|
-
],
|
|
532
|
-
"description": "Message status; 'guard_authorization_required' means smart send needs one-click authorization before delivery"
|
|
533
|
-
},
|
|
534
|
-
"merkleData": {
|
|
535
|
-
"description": "Merkle Tree proof data",
|
|
536
|
-
"type": "object",
|
|
537
|
-
"properties": {
|
|
538
|
-
"leafIndex": {
|
|
539
|
-
"type": "number",
|
|
540
|
-
"description": "Leaf index"
|
|
541
|
-
},
|
|
542
|
-
"prevRoot": {
|
|
543
|
-
"type": "string",
|
|
544
|
-
"description": "Previous Merkle Root"
|
|
545
|
-
},
|
|
546
|
-
"newRoot": {
|
|
547
|
-
"type": "string",
|
|
548
|
-
"description": "Current Merkle Root"
|
|
549
|
-
},
|
|
550
|
-
"serverSignature": {
|
|
551
|
-
"type": "string",
|
|
552
|
-
"description": "Server signature"
|
|
553
|
-
},
|
|
554
|
-
"serverTimestamp": {
|
|
555
|
-
"type": "number",
|
|
556
|
-
"description": "Server confirmation timestamp"
|
|
557
|
-
},
|
|
558
|
-
"serverPublicKey": {
|
|
559
|
-
"type": "string",
|
|
560
|
-
"description": "Server public key"
|
|
561
|
-
}
|
|
562
|
-
},
|
|
563
|
-
"required": [
|
|
564
|
-
"leafIndex",
|
|
565
|
-
"prevRoot",
|
|
566
|
-
"newRoot",
|
|
567
|
-
"serverSignature",
|
|
568
|
-
"serverTimestamp",
|
|
569
|
-
"serverPublicKey"
|
|
570
|
-
],
|
|
571
|
-
"additionalProperties": false
|
|
572
|
-
},
|
|
573
|
-
"guardList": {
|
|
574
|
-
"description": "Guard list (only returned on error)",
|
|
575
|
-
"type": "array",
|
|
576
|
-
"items": {
|
|
577
|
-
"type": "string"
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
"lastReceivedLeafIndex": {
|
|
581
|
-
"description": "Last received leaf index (for message confirmation)",
|
|
582
|
-
"type": "number"
|
|
583
|
-
},
|
|
584
|
-
"authRequired": {
|
|
585
|
-
"description": "True on the guard_authorization_required result shape — show the user ONE confirmation card, then resend via send_message with options.authorize=true",
|
|
586
|
-
"type": "boolean"
|
|
587
|
-
},
|
|
588
|
-
"network": {
|
|
589
|
-
"description": "Network the Passport must be created on (present on guard_authorization_required)",
|
|
590
|
-
"type": "string",
|
|
591
|
-
"enum": [
|
|
592
|
-
"localnet",
|
|
593
|
-
"testnet",
|
|
594
|
-
"mainnet"
|
|
595
|
-
]
|
|
596
|
-
},
|
|
597
|
-
"reason": {
|
|
598
|
-
"description": "Why silent passport reuse failed (present on guard_authorization_required)",
|
|
599
|
-
"type": "string",
|
|
600
|
-
"enum": [
|
|
601
|
-
"no_local_passport",
|
|
602
|
-
"local_passport_stale"
|
|
603
|
-
]
|
|
604
|
-
},
|
|
605
|
-
"hint": {
|
|
606
|
-
"description": "Guidance text incl. the auto-friend hint — once the recipient replies, the sender is auto-friended and future messages need no verification",
|
|
607
|
-
"type": "string"
|
|
608
|
-
},
|
|
609
|
-
"serverError": {
|
|
610
|
-
"description": "Original server rejection message",
|
|
611
|
-
"type": "string"
|
|
612
|
-
},
|
|
613
|
-
"submissions": {
|
|
614
|
-
"description": "Guard submission requirements, when a guard demands answers before issuing a Passport (route through onchain_operations gen_passport with info)"
|
|
615
|
-
}
|
|
616
|
-
},
|
|
617
|
-
"required": [
|
|
618
|
-
"messageId",
|
|
619
|
-
"status"
|
|
620
|
-
],
|
|
621
|
-
"additionalProperties": false,
|
|
622
|
-
"description": "Send file result"
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
"required": [
|
|
626
|
-
"operation",
|
|
627
|
-
"result"
|
|
628
|
-
],
|
|
629
|
-
"additionalProperties": false
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
"type": "object",
|
|
633
|
-
"properties": {
|
|
634
|
-
"operation": {
|
|
635
|
-
"type": "string",
|
|
636
|
-
"const": "send_required_info"
|
|
637
|
-
},
|
|
638
|
-
"result": {
|
|
639
|
-
"type": "object",
|
|
640
|
-
"properties": {
|
|
641
|
-
"messageId": {
|
|
642
|
-
"type": "string",
|
|
643
|
-
"description": "Message ID (empty on guard_authorization_required)"
|
|
644
|
-
},
|
|
645
|
-
"status": {
|
|
646
|
-
"anyOf": [
|
|
647
|
-
{
|
|
648
|
-
"type": "string",
|
|
649
|
-
"enum": [
|
|
650
|
-
"pending",
|
|
651
|
-
"confirmed",
|
|
652
|
-
"read",
|
|
653
|
-
"failed",
|
|
654
|
-
"rejected",
|
|
655
|
-
"decrypted",
|
|
656
|
-
"decrypt_failed"
|
|
657
|
-
]
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
"type": "string",
|
|
661
|
-
"const": "guard_authorization_required"
|
|
662
|
-
}
|
|
663
|
-
],
|
|
664
|
-
"description": "Message status; 'guard_authorization_required' means smart send needs one-click authorization before delivery"
|
|
665
|
-
},
|
|
666
|
-
"merkleData": {
|
|
667
|
-
"description": "Merkle Tree proof data",
|
|
668
|
-
"type": "object",
|
|
669
|
-
"properties": {
|
|
670
|
-
"leafIndex": {
|
|
671
|
-
"type": "number",
|
|
672
|
-
"description": "Leaf index"
|
|
673
|
-
},
|
|
674
|
-
"prevRoot": {
|
|
675
|
-
"type": "string",
|
|
676
|
-
"description": "Previous Merkle Root"
|
|
677
|
-
},
|
|
678
|
-
"newRoot": {
|
|
679
|
-
"type": "string",
|
|
680
|
-
"description": "Current Merkle Root"
|
|
681
|
-
},
|
|
682
|
-
"serverSignature": {
|
|
683
|
-
"type": "string",
|
|
684
|
-
"description": "Server signature"
|
|
685
|
-
},
|
|
686
|
-
"serverTimestamp": {
|
|
687
|
-
"type": "number",
|
|
688
|
-
"description": "Server confirmation timestamp"
|
|
689
|
-
},
|
|
690
|
-
"serverPublicKey": {
|
|
691
|
-
"type": "string",
|
|
692
|
-
"description": "Server public key"
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
"required": [
|
|
696
|
-
"leafIndex",
|
|
697
|
-
"prevRoot",
|
|
698
|
-
"newRoot",
|
|
699
|
-
"serverSignature",
|
|
700
|
-
"serverTimestamp",
|
|
701
|
-
"serverPublicKey"
|
|
702
|
-
],
|
|
703
|
-
"additionalProperties": false
|
|
704
|
-
},
|
|
705
|
-
"guardList": {
|
|
706
|
-
"description": "Guard list (only returned on error)",
|
|
707
|
-
"type": "array",
|
|
708
|
-
"items": {
|
|
709
|
-
"type": "string"
|
|
710
|
-
}
|
|
711
|
-
},
|
|
712
|
-
"lastReceivedLeafIndex": {
|
|
713
|
-
"description": "Last received leaf index (for message confirmation)",
|
|
714
|
-
"type": "number"
|
|
715
|
-
},
|
|
716
|
-
"authRequired": {
|
|
717
|
-
"description": "True on the guard_authorization_required result shape — show the user ONE confirmation card, then resend via send_message with options.authorize=true",
|
|
718
|
-
"type": "boolean"
|
|
719
|
-
},
|
|
720
|
-
"network": {
|
|
721
|
-
"description": "Network the Passport must be created on (present on guard_authorization_required)",
|
|
722
|
-
"type": "string",
|
|
723
|
-
"enum": [
|
|
724
|
-
"localnet",
|
|
725
|
-
"testnet",
|
|
726
|
-
"mainnet"
|
|
727
|
-
]
|
|
728
|
-
},
|
|
729
|
-
"reason": {
|
|
730
|
-
"description": "Why silent passport reuse failed (present on guard_authorization_required)",
|
|
731
|
-
"type": "string",
|
|
732
|
-
"enum": [
|
|
733
|
-
"no_local_passport",
|
|
734
|
-
"local_passport_stale"
|
|
735
|
-
]
|
|
736
|
-
},
|
|
737
|
-
"hint": {
|
|
738
|
-
"description": "Guidance text incl. the auto-friend hint — once the recipient replies, the sender is auto-friended and future messages need no verification",
|
|
739
|
-
"type": "string"
|
|
740
|
-
},
|
|
741
|
-
"serverError": {
|
|
742
|
-
"description": "Original server rejection message",
|
|
743
|
-
"type": "string"
|
|
744
|
-
},
|
|
745
|
-
"submissions": {
|
|
746
|
-
"description": "Guard submission requirements, when a guard demands answers before issuing a Passport (route through onchain_operations gen_passport with info)"
|
|
747
|
-
},
|
|
748
|
-
"sent_fields": {
|
|
749
|
-
"type": "array",
|
|
750
|
-
"items": {
|
|
751
|
-
"type": "string"
|
|
752
|
-
},
|
|
753
|
-
"description": "LocalInfo field names that were assembled and sent"
|
|
754
|
-
},
|
|
755
|
-
"fields_ignored": {
|
|
756
|
-
"description": "When explicit content was supplied alongside `fields`: the requested fields that were NOT sent (content takes precedence). Empty/absent means every assembled field was delivered",
|
|
757
|
-
"type": "array",
|
|
758
|
-
"items": {
|
|
759
|
-
"type": "string"
|
|
760
|
-
}
|
|
761
|
-
},
|
|
762
|
-
"note": {
|
|
763
|
-
"description": "Mechanism disclosure attached when fields were ignored due to content precedence",
|
|
764
|
-
"type": "string"
|
|
765
|
-
}
|
|
766
|
-
},
|
|
767
|
-
"required": [
|
|
768
|
-
"messageId",
|
|
769
|
-
"status",
|
|
770
|
-
"sent_fields"
|
|
771
|
-
],
|
|
772
|
-
"additionalProperties": false,
|
|
773
|
-
"description": "Send required-info result (with the assembled field names)"
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
"required": [
|
|
777
|
-
"operation",
|
|
778
|
-
"result"
|
|
779
|
-
],
|
|
780
|
-
"additionalProperties": false
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
"type": "object",
|
|
784
|
-
"properties": {
|
|
785
|
-
"operation": {
|
|
786
|
-
"type": "string",
|
|
787
|
-
"const": "watch_messages"
|
|
788
|
-
},
|
|
789
|
-
"result": {
|
|
790
|
-
"type": "array",
|
|
791
|
-
"items": {
|
|
792
|
-
"type": "object",
|
|
793
|
-
"properties": {
|
|
794
|
-
"messageId": {
|
|
795
|
-
"type": "string",
|
|
796
|
-
"description": "Message ID"
|
|
797
|
-
},
|
|
798
|
-
"fromAddress": {
|
|
799
|
-
"type": "string",
|
|
800
|
-
"description": "Sender address"
|
|
801
|
-
},
|
|
802
|
-
"toAddress": {
|
|
803
|
-
"type": "string",
|
|
804
|
-
"description": "Recipient address"
|
|
805
|
-
},
|
|
806
|
-
"plaintextHash": {
|
|
807
|
-
"type": "string",
|
|
808
|
-
"description": "Plaintext hash"
|
|
809
|
-
},
|
|
810
|
-
"plaintext": {
|
|
811
|
-
"description": "Decrypted plaintext text. UNDEFINED for attachment messages (zipMetadata present) — their base64 envelope is stripped at the read boundary; read msg.attachment for metadata and use save_attachment for bytes",
|
|
812
|
-
"type": "string"
|
|
813
|
-
},
|
|
814
|
-
"attachment": {
|
|
815
|
-
"description": "Present when this message is an attachment (zipMetadata present). Byte-free descriptor; payload never embedded",
|
|
816
|
-
"type": "object",
|
|
817
|
-
"properties": {
|
|
818
|
-
"kind": {
|
|
819
|
-
"type": "string",
|
|
820
|
-
"enum": [
|
|
821
|
-
"image",
|
|
822
|
-
"video",
|
|
823
|
-
"audio",
|
|
824
|
-
"voice",
|
|
825
|
-
"file",
|
|
826
|
-
"wts",
|
|
827
|
-
"wip"
|
|
828
|
-
],
|
|
829
|
-
"description": "Attachment business type: image/video/audio are inline-renderable media; 'voice' is an explicit voice message (webm cannot be auto-distinguished from video); 'file' is a generic document; wts/wip are evidence files"
|
|
830
|
-
},
|
|
831
|
-
"fileName": {
|
|
832
|
-
"type": "string",
|
|
833
|
-
"description": "Original file name (transport .zip suffix stripped)"
|
|
834
|
-
},
|
|
835
|
-
"mimeType": {
|
|
836
|
-
"type": "string",
|
|
837
|
-
"description": "MIME type inferred from extension or sender-provided"
|
|
838
|
-
},
|
|
839
|
-
"size": {
|
|
840
|
-
"type": "number",
|
|
841
|
-
"description": "Payload size in bytes (uncompressed)"
|
|
842
|
-
},
|
|
843
|
-
"caption": {
|
|
844
|
-
"description": "Sender-provided caption (E2EE, inside the encrypted envelope)",
|
|
845
|
-
"type": "string"
|
|
846
|
-
},
|
|
847
|
-
"durationMs": {
|
|
848
|
-
"description": "Audio/video duration in milliseconds",
|
|
849
|
-
"type": "number"
|
|
850
|
-
},
|
|
851
|
-
"width": {
|
|
852
|
-
"description": "Media width in pixels",
|
|
853
|
-
"type": "number"
|
|
854
|
-
},
|
|
855
|
-
"height": {
|
|
856
|
-
"description": "Media height in pixels",
|
|
857
|
-
"type": "number"
|
|
858
|
-
}
|
|
859
|
-
},
|
|
860
|
-
"required": [
|
|
861
|
-
"kind",
|
|
862
|
-
"fileName",
|
|
863
|
-
"mimeType",
|
|
864
|
-
"size"
|
|
865
|
-
],
|
|
866
|
-
"additionalProperties": false
|
|
867
|
-
},
|
|
868
|
-
"replyTo": {
|
|
869
|
-
"description": "Quoted (replied-to) message reference, if this message replies to a previous one",
|
|
870
|
-
"type": "object",
|
|
871
|
-
"properties": {
|
|
872
|
-
"messageId": {
|
|
873
|
-
"type": "string",
|
|
874
|
-
"description": "Replied-to message ID (unique within the conversation)"
|
|
875
|
-
}
|
|
876
|
-
},
|
|
877
|
-
"required": [
|
|
878
|
-
"messageId"
|
|
879
|
-
],
|
|
880
|
-
"additionalProperties": false
|
|
881
|
-
},
|
|
882
|
-
"guardAddress": {
|
|
883
|
-
"description": "Guard address",
|
|
884
|
-
"type": "string"
|
|
885
|
-
},
|
|
886
|
-
"passportAddress": {
|
|
887
|
-
"description": "Passport address",
|
|
888
|
-
"type": "string"
|
|
889
|
-
},
|
|
890
|
-
"lastReceivedLeafIndex": {
|
|
891
|
-
"description": "Last received leaf index",
|
|
892
|
-
"type": "number"
|
|
893
|
-
},
|
|
894
|
-
"direction": {
|
|
895
|
-
"type": "string",
|
|
896
|
-
"enum": [
|
|
897
|
-
"sent",
|
|
898
|
-
"received"
|
|
899
|
-
],
|
|
900
|
-
"description": "Message direction"
|
|
901
|
-
},
|
|
902
|
-
"status": {
|
|
903
|
-
"type": "string",
|
|
904
|
-
"enum": [
|
|
905
|
-
"pending",
|
|
906
|
-
"confirmed",
|
|
907
|
-
"read",
|
|
908
|
-
"failed",
|
|
909
|
-
"rejected",
|
|
910
|
-
"decrypted",
|
|
911
|
-
"decrypt_failed"
|
|
912
|
-
],
|
|
913
|
-
"description": "Message status"
|
|
914
|
-
},
|
|
915
|
-
"msgType": {
|
|
916
|
-
"anyOf": [
|
|
917
|
-
{
|
|
918
|
-
"type": "number",
|
|
919
|
-
"const": 1
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
"type": "number",
|
|
923
|
-
"const": 3
|
|
924
|
-
}
|
|
925
|
-
],
|
|
926
|
-
"description": "Message type"
|
|
927
|
-
},
|
|
928
|
-
"leafIndex": {
|
|
929
|
-
"description": "Leaf index",
|
|
930
|
-
"type": "number"
|
|
931
|
-
},
|
|
932
|
-
"prevRoot": {
|
|
933
|
-
"description": "Previous Merkle Root",
|
|
934
|
-
"type": "string"
|
|
935
|
-
},
|
|
936
|
-
"newRoot": {
|
|
937
|
-
"description": "Current Merkle Root",
|
|
938
|
-
"type": "string"
|
|
939
|
-
},
|
|
940
|
-
"serverSignature": {
|
|
941
|
-
"description": "Server signature",
|
|
942
|
-
"type": "string"
|
|
943
|
-
},
|
|
944
|
-
"serverTimestamp": {
|
|
945
|
-
"description": "Server confirmation timestamp",
|
|
946
|
-
"type": "number"
|
|
947
|
-
},
|
|
948
|
-
"serverPublicKey": {
|
|
949
|
-
"description": "Server public key",
|
|
950
|
-
"type": "string"
|
|
951
|
-
},
|
|
952
|
-
"arkConfirmed": {
|
|
953
|
-
"description": "ARK confirmation",
|
|
954
|
-
"type": "object",
|
|
955
|
-
"properties": {
|
|
956
|
-
"recipient": {
|
|
957
|
-
"type": "string",
|
|
958
|
-
"description": "Recipient address"
|
|
959
|
-
},
|
|
960
|
-
"recipientPublicKey": {
|
|
961
|
-
"type": "string",
|
|
962
|
-
"description": "Recipient public key"
|
|
963
|
-
},
|
|
964
|
-
"signature": {
|
|
965
|
-
"type": "string",
|
|
966
|
-
"description": "Recipient signature"
|
|
967
|
-
},
|
|
968
|
-
"timestamp": {
|
|
969
|
-
"type": "number",
|
|
970
|
-
"description": "ARK confirmation time"
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
|
-
"required": [
|
|
974
|
-
"recipient",
|
|
975
|
-
"recipientPublicKey",
|
|
976
|
-
"signature",
|
|
977
|
-
"timestamp"
|
|
978
|
-
],
|
|
979
|
-
"additionalProperties": false
|
|
980
|
-
},
|
|
981
|
-
"createdAt": {
|
|
982
|
-
"type": "number",
|
|
983
|
-
"description": "Message creation time (client)"
|
|
984
|
-
},
|
|
985
|
-
"receivedAt": {
|
|
986
|
-
"description": "Local reception time",
|
|
987
|
-
"type": "number"
|
|
988
|
-
},
|
|
989
|
-
"zipMetadata": {
|
|
990
|
-
"description": "ZIP file metadata",
|
|
991
|
-
"type": "object",
|
|
992
|
-
"properties": {
|
|
993
|
-
"fileName": {
|
|
994
|
-
"type": "string",
|
|
995
|
-
"description": "ZIP filename"
|
|
996
|
-
},
|
|
997
|
-
"fileSize": {
|
|
998
|
-
"type": "number",
|
|
999
|
-
"description": "File size in bytes"
|
|
1000
|
-
},
|
|
1001
|
-
"fileHash": {
|
|
1002
|
-
"type": "string",
|
|
1003
|
-
"description": "File SHA256 hash"
|
|
1004
|
-
},
|
|
1005
|
-
"contentType": {
|
|
1006
|
-
"type": "string",
|
|
1007
|
-
"enum": [
|
|
1008
|
-
"text",
|
|
1009
|
-
"zip",
|
|
1010
|
-
"wts",
|
|
1011
|
-
"wip"
|
|
1012
|
-
],
|
|
1013
|
-
"description": "Content type"
|
|
1014
|
-
},
|
|
1015
|
-
"localCachePath": {
|
|
1016
|
-
"description": "Local cache path",
|
|
1017
|
-
"type": "string"
|
|
1018
|
-
},
|
|
1019
|
-
"downloadedAt": {
|
|
1020
|
-
"description": "Download timestamp",
|
|
1021
|
-
"type": "number"
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
"required": [
|
|
1025
|
-
"fileName",
|
|
1026
|
-
"fileSize",
|
|
1027
|
-
"fileHash",
|
|
1028
|
-
"contentType"
|
|
1029
|
-
],
|
|
1030
|
-
"additionalProperties": false
|
|
1031
|
-
},
|
|
1032
|
-
"proof": {
|
|
1033
|
-
"description": "Latest on-chain proof object address (projection of the last entry in proofs; derived at the read boundary for single-value consumers)",
|
|
1034
|
-
"type": "string"
|
|
1035
|
-
},
|
|
1036
|
-
"proofs": {
|
|
1037
|
-
"description": "All on-chain proofs anchored for this message, ascending by publish time (one-to-many; a message may be proofed multiple times)",
|
|
1038
|
-
"type": "array",
|
|
1039
|
-
"items": {
|
|
1040
|
-
"type": "object",
|
|
1041
|
-
"properties": {
|
|
1042
|
-
"address": {
|
|
1043
|
-
"type": "string",
|
|
1044
|
-
"description": "On-chain Proof object address"
|
|
1045
|
-
},
|
|
1046
|
-
"network": {
|
|
1047
|
-
"description": "Network the proof was published on (testnet/mainnet/localnet); absent in legacy local records",
|
|
1048
|
-
"type": "string"
|
|
1049
|
-
},
|
|
1050
|
-
"createdAt": {
|
|
1051
|
-
"type": "number",
|
|
1052
|
-
"description": "Local record time (ms)"
|
|
1053
|
-
}
|
|
1054
|
-
},
|
|
1055
|
-
"required": [
|
|
1056
|
-
"address",
|
|
1057
|
-
"createdAt"
|
|
1058
|
-
],
|
|
1059
|
-
"additionalProperties": false,
|
|
1060
|
-
"description": "One on-chain proof anchored for this message"
|
|
1061
|
-
}
|
|
1062
|
-
},
|
|
1063
|
-
"decryptError": {
|
|
1064
|
-
"description": "Decryption failure reason",
|
|
1065
|
-
"type": "string"
|
|
1066
|
-
},
|
|
1067
|
-
"decryptAttempts": {
|
|
1068
|
-
"description": "Number of decryption attempts",
|
|
1069
|
-
"type": "number"
|
|
1070
|
-
},
|
|
1071
|
-
"lastDecryptAttemptAt": {
|
|
1072
|
-
"description": "Last decryption attempt timestamp",
|
|
1073
|
-
"type": "number"
|
|
1074
|
-
},
|
|
1075
|
-
"viewedAt": {
|
|
1076
|
-
"description": "Timestamp when the current user viewed this message (local storage). If present, indicates the message has been viewed by the user. Only applicable to received messages (direction === 'received')",
|
|
1077
|
-
"type": "number"
|
|
1078
|
-
}
|
|
1079
|
-
},
|
|
1080
|
-
"required": [
|
|
1081
|
-
"messageId",
|
|
1082
|
-
"fromAddress",
|
|
1083
|
-
"toAddress",
|
|
1084
|
-
"plaintextHash",
|
|
1085
|
-
"direction",
|
|
1086
|
-
"status",
|
|
1087
|
-
"msgType",
|
|
1088
|
-
"createdAt"
|
|
1089
|
-
],
|
|
1090
|
-
"additionalProperties": false,
|
|
1091
|
-
"description": "Message object"
|
|
1092
|
-
},
|
|
1093
|
-
"description": "List of messages"
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1096
|
-
"required": [
|
|
1097
|
-
"operation",
|
|
1098
|
-
"result"
|
|
1099
|
-
],
|
|
1100
|
-
"additionalProperties": false
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"type": "object",
|
|
1104
|
-
"properties": {
|
|
1105
|
-
"operation": {
|
|
1106
|
-
"type": "string",
|
|
1107
|
-
"const": "save_attachment"
|
|
1108
|
-
},
|
|
1109
|
-
"result": {
|
|
1110
|
-
"type": "string",
|
|
1111
|
-
"description": "Absolute path of the saved attachment file"
|
|
1112
|
-
}
|
|
1113
|
-
},
|
|
1114
|
-
"required": [
|
|
1115
|
-
"operation",
|
|
1116
|
-
"result"
|
|
1117
|
-
],
|
|
1118
|
-
"additionalProperties": false
|
|
1119
|
-
},
|
|
1120
|
-
{
|
|
1121
|
-
"type": "object",
|
|
1122
|
-
"properties": {
|
|
1123
|
-
"operation": {
|
|
1124
|
-
"type": "string",
|
|
1125
|
-
"const": "generate_wts"
|
|
1126
|
-
},
|
|
1127
|
-
"result": {
|
|
1128
|
-
"type": "object",
|
|
1129
|
-
"properties": {
|
|
1130
|
-
"files": {
|
|
1131
|
-
"type": "array",
|
|
1132
|
-
"items": {
|
|
1133
|
-
"type": "string"
|
|
1134
|
-
},
|
|
1135
|
-
"description": "Generated WTS file paths"
|
|
1136
|
-
},
|
|
1137
|
-
"htmlFiles": {
|
|
1138
|
-
"type": "array",
|
|
1139
|
-
"items": {
|
|
1140
|
-
"type": "string"
|
|
1141
|
-
},
|
|
1142
|
-
"description": "Generated HTML report paths — one human-readable companion per WTS file, written next to it (same base name)"
|
|
1143
|
-
},
|
|
1144
|
-
"totalMessageCount": {
|
|
1145
|
-
"type": "number",
|
|
1146
|
-
"description": "Total message count"
|
|
1147
|
-
},
|
|
1148
|
-
"timeRange": {
|
|
1149
|
-
"type": "object",
|
|
1150
|
-
"properties": {
|
|
1151
|
-
"start": {
|
|
1152
|
-
"type": "number",
|
|
1153
|
-
"description": "Start time"
|
|
1154
|
-
},
|
|
1155
|
-
"end": {
|
|
1156
|
-
"type": "number",
|
|
1157
|
-
"description": "End time"
|
|
1158
|
-
}
|
|
1159
|
-
},
|
|
1160
|
-
"required": [
|
|
1161
|
-
"start",
|
|
1162
|
-
"end"
|
|
1163
|
-
],
|
|
1164
|
-
"additionalProperties": false,
|
|
1165
|
-
"description": "Time range"
|
|
1166
|
-
},
|
|
1167
|
-
"sealed_available": {
|
|
1168
|
-
"anyOf": [
|
|
1169
|
-
{
|
|
1170
|
-
"type": "boolean"
|
|
1171
|
-
},
|
|
1172
|
-
{
|
|
1173
|
-
"type": "null"
|
|
1174
|
-
}
|
|
1175
|
-
],
|
|
1176
|
-
"description": "KB-03 evidence-tier PRE-CHECK (fail-open, never interrupts generation): whether the third-party-verifiable evidence tier is reachable in this environment. Probed by running the guarded verifier against the freshly generated packet and reading its on-chain key-book anchor verdict (serverKeyAnchor.verified). true = after sign_wts the packet can verify as third-party-verifiable evidence. false = the key book does NOT match its on-chain anchor — a WTS is a private conversation record, NOT third-party-verifiable evidence; promise it only as a private record and use proof_message for anything that must hold chain-side. null = the probe could not score the anchor (probe failed, or the packet carried no server-attested messages) — the tier is UNVERIFIED, not denied; re-probe with verify_wts after sign_wts."
|
|
1177
|
-
},
|
|
1178
|
-
"sealed_available_note": {
|
|
1179
|
-
"anyOf": [
|
|
1180
|
-
{
|
|
1181
|
-
"type": "string"
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
"type": "null"
|
|
1185
|
-
}
|
|
1186
|
-
],
|
|
1187
|
-
"description": "Human-readable consequence of sealed_available: the tier-available confirmation when true; the 'WTS is a private conversation record, NOT third-party-verifiable evidence' warning when false; the unverified-tier caveat when null."
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
|
-
"required": [
|
|
1191
|
-
"files",
|
|
1192
|
-
"htmlFiles",
|
|
1193
|
-
"totalMessageCount",
|
|
1194
|
-
"timeRange",
|
|
1195
|
-
"sealed_available",
|
|
1196
|
-
"sealed_available_note"
|
|
1197
|
-
],
|
|
1198
|
-
"additionalProperties": false,
|
|
1199
|
-
"description": "Generate WTS result"
|
|
1200
|
-
}
|
|
1201
|
-
},
|
|
1202
|
-
"required": [
|
|
1203
|
-
"operation",
|
|
1204
|
-
"result"
|
|
1205
|
-
],
|
|
1206
|
-
"additionalProperties": false
|
|
1207
|
-
},
|
|
1208
|
-
{
|
|
1209
|
-
"type": "object",
|
|
1210
|
-
"properties": {
|
|
1211
|
-
"operation": {
|
|
1212
|
-
"type": "string",
|
|
1213
|
-
"const": "verify_wts"
|
|
1214
|
-
},
|
|
1215
|
-
"result": {
|
|
1216
|
-
"type": "object",
|
|
1217
|
-
"properties": {
|
|
1218
|
-
"valid": {
|
|
1219
|
-
"type": "boolean",
|
|
1220
|
-
"description": "Whether verification succeeded. TRUE only when ALL hold (no opt-out exists): the packet is self-consistent (Merkle chain + digest), EVERY message carries a verifying per-message Falcon512 serverSignature, meta.signature seals the packet (binding the declared serverPublicKeys), AND every message's server key exists in the messenger server's official key history with a validity window covering the message's server timestamp (serverKeysOfficial). A freshly generated packet is valid:false until sign_wts seals it."
|
|
1221
|
-
},
|
|
1222
|
-
"error": {
|
|
1223
|
-
"description": "Error message if verification failed",
|
|
1224
|
-
"type": "string"
|
|
1225
|
-
},
|
|
1226
|
-
"hashValid": {
|
|
1227
|
-
"type": "boolean",
|
|
1228
|
-
"description": "Whether hash validation passed"
|
|
1229
|
-
},
|
|
1230
|
-
"hasSignature": {
|
|
1231
|
-
"type": "boolean",
|
|
1232
|
-
"description": "Whether the packet carries a meta.signature seal"
|
|
1233
|
-
},
|
|
1234
|
-
"signatureValid": {
|
|
1235
|
-
"description": "Whether the packet seal (meta.signature) verified",
|
|
1236
|
-
"type": "boolean"
|
|
1237
|
-
},
|
|
1238
|
-
"signatures": {
|
|
1239
|
-
"description": "Packet seal verification details (per signer address)",
|
|
1240
|
-
"type": "array",
|
|
1241
|
-
"items": {
|
|
1242
|
-
"type": "object",
|
|
1243
|
-
"properties": {
|
|
1244
|
-
"publicKey": {
|
|
1245
|
-
"type": "string",
|
|
1246
|
-
"description": "Signer public key"
|
|
1247
|
-
},
|
|
1248
|
-
"address": {
|
|
1249
|
-
"description": "Signer address",
|
|
1250
|
-
"type": "string"
|
|
1251
|
-
},
|
|
1252
|
-
"valid": {
|
|
1253
|
-
"type": "boolean",
|
|
1254
|
-
"description": "Whether signature is valid"
|
|
1255
|
-
}
|
|
1256
|
-
},
|
|
1257
|
-
"required": [
|
|
1258
|
-
"publicKey",
|
|
1259
|
-
"valid"
|
|
1260
|
-
],
|
|
1261
|
-
"additionalProperties": false,
|
|
1262
|
-
"description": "WTS signature verification details"
|
|
1263
|
-
}
|
|
1264
|
-
},
|
|
1265
|
-
"attestedCount": {
|
|
1266
|
-
"description": "Messages whose serverSignature verified under a key the packet supplies",
|
|
1267
|
-
"type": "number"
|
|
1268
|
-
},
|
|
1269
|
-
"unattestedCount": {
|
|
1270
|
-
"description": "Messages with no verifying server signature (absent, or key unresolvable)",
|
|
1271
|
-
"type": "number"
|
|
1272
|
-
},
|
|
1273
|
-
"serverKeysOfficial": {
|
|
1274
|
-
"description": "True when every message's server key is in the server's OFFICIAL key history (rotation-aware) AND the key book itself matches its ON-CHAIN anchor (a well-known Repository record writable only by the pinned wowok signer). False — or absent because the key book or chain was unreachable — means the packet must NOT be treated as third-party evidence: a forger can mint a server key and self-sign a fully 'verifying' packet, and a fake server can serve a book full of forger keys.",
|
|
1275
|
-
"type": "boolean"
|
|
1276
|
-
},
|
|
1277
|
-
"serverKeyAnchor": {
|
|
1278
|
-
"description": "On-chain anchor verdict for the key book: the locally recomputed canonical hash must equal the hash in the keybook Repository record. verified:false (signer not pinned, anchor not deployed, hash mismatch, chain unreachable) forces valid:false and serverKeysOfficial:false.",
|
|
1279
|
-
"type": "object",
|
|
1280
|
-
"properties": {
|
|
1281
|
-
"verified": {
|
|
1282
|
-
"type": "boolean"
|
|
1283
|
-
},
|
|
1284
|
-
"network": {
|
|
1285
|
-
"type": "string"
|
|
1286
|
-
},
|
|
1287
|
-
"anchoredHash": {
|
|
1288
|
-
"type": "string"
|
|
1289
|
-
},
|
|
1290
|
-
"computedHash": {
|
|
1291
|
-
"type": "string"
|
|
1292
|
-
},
|
|
1293
|
-
"reason": {
|
|
1294
|
-
"type": "string"
|
|
1295
|
-
}
|
|
1296
|
-
},
|
|
1297
|
-
"required": [
|
|
1298
|
-
"verified",
|
|
1299
|
-
"network"
|
|
1300
|
-
],
|
|
1301
|
-
"additionalProperties": false
|
|
1302
|
-
},
|
|
1303
|
-
"serverKeysOfficialNetwork": {
|
|
1304
|
-
"description": "The network partition ('mainnet' | 'testnet' | 'localnet') the official-key verdict was scored in — present only when serverKeysOfficial is true. A verdict is evidence for THIS partition only; keys registered under another partition fail the check as 'key unknown in this network'.",
|
|
1305
|
-
"type": "string"
|
|
1306
|
-
},
|
|
1307
|
-
"network_caveat": {
|
|
1308
|
-
"description": "Advisory block on official-key verdicts: the partition the verdict binds vs the served network, and the mainnet consumer rule — for a MAINNET case the ONLY network-level truth is an on-chain Proof anchor (proof_message re-anchored on mainnet); a file-level official verdict from a non-mainnet partition never grounds a mainnet ruling.",
|
|
1309
|
-
"type": "string"
|
|
1310
|
-
}
|
|
1311
|
-
},
|
|
1312
|
-
"required": [
|
|
1313
|
-
"valid",
|
|
1314
|
-
"hashValid",
|
|
1315
|
-
"hasSignature"
|
|
1316
|
-
],
|
|
1317
|
-
"additionalProperties": false,
|
|
1318
|
-
"description": "WTS verification result"
|
|
1319
|
-
}
|
|
1320
|
-
},
|
|
1321
|
-
"required": [
|
|
1322
|
-
"operation",
|
|
1323
|
-
"result"
|
|
1324
|
-
],
|
|
1325
|
-
"additionalProperties": false
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"type": "object",
|
|
1329
|
-
"properties": {
|
|
1330
|
-
"operation": {
|
|
1331
|
-
"type": "string",
|
|
1332
|
-
"const": "sign_wts"
|
|
1333
|
-
},
|
|
1334
|
-
"result": {
|
|
1335
|
-
"type": "string",
|
|
1336
|
-
"description": "Signed WTS file path"
|
|
1337
|
-
}
|
|
1338
|
-
},
|
|
1339
|
-
"required": [
|
|
1340
|
-
"operation",
|
|
1341
|
-
"result"
|
|
1342
|
-
],
|
|
1343
|
-
"additionalProperties": false
|
|
1344
|
-
},
|
|
1345
|
-
{
|
|
1346
|
-
"type": "object",
|
|
1347
|
-
"properties": {
|
|
1348
|
-
"operation": {
|
|
1349
|
-
"type": "string",
|
|
1350
|
-
"const": "wts2html"
|
|
1351
|
-
},
|
|
1352
|
-
"result": {
|
|
1353
|
-
"anyOf": [
|
|
1354
|
-
{
|
|
1355
|
-
"type": "string"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
"type": "array",
|
|
1359
|
-
"items": {
|
|
1360
|
-
"type": "string"
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
],
|
|
1364
|
-
"description": "Output file path(s) (always writes files; never returns raw HTML)"
|
|
1365
|
-
}
|
|
1366
|
-
},
|
|
1367
|
-
"required": [
|
|
1368
|
-
"operation",
|
|
1369
|
-
"result"
|
|
1370
|
-
],
|
|
1371
|
-
"additionalProperties": false
|
|
1372
|
-
},
|
|
1373
|
-
{
|
|
1374
|
-
"type": "object",
|
|
1375
|
-
"properties": {
|
|
1376
|
-
"operation": {
|
|
1377
|
-
"type": "string",
|
|
1378
|
-
"const": "proof_message"
|
|
1379
|
-
},
|
|
1380
|
-
"result": {
|
|
1381
|
-
"type": "object",
|
|
1382
|
-
"properties": {
|
|
1383
|
-
"proofAddress": {
|
|
1384
|
-
"type": "string",
|
|
1385
|
-
"description": "Proof object address on blockchain"
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
|
-
"required": [
|
|
1389
|
-
"proofAddress"
|
|
1390
|
-
],
|
|
1391
|
-
"additionalProperties": false,
|
|
1392
|
-
"description": "Proof message result"
|
|
1393
|
-
}
|
|
1394
|
-
},
|
|
1395
|
-
"required": [
|
|
1396
|
-
"operation",
|
|
1397
|
-
"result"
|
|
1398
|
-
],
|
|
1399
|
-
"additionalProperties": false
|
|
1400
|
-
},
|
|
1401
|
-
{
|
|
1402
|
-
"type": "object",
|
|
1403
|
-
"properties": {
|
|
1404
|
-
"operation": {
|
|
1405
|
-
"type": "string",
|
|
1406
|
-
"const": "blacklist"
|
|
1407
|
-
},
|
|
1408
|
-
"op": {
|
|
1409
|
-
"type": "string",
|
|
1410
|
-
"enum": [
|
|
1411
|
-
"add",
|
|
1412
|
-
"remove",
|
|
1413
|
-
"clear",
|
|
1414
|
-
"get",
|
|
1415
|
-
"exist"
|
|
1416
|
-
],
|
|
1417
|
-
"description": "Operation type"
|
|
1418
|
-
},
|
|
1419
|
-
"result": {
|
|
1420
|
-
"anyOf": [
|
|
1421
|
-
{
|
|
1422
|
-
"type": "object",
|
|
1423
|
-
"properties": {
|
|
1424
|
-
"success": {
|
|
1425
|
-
"type": "boolean",
|
|
1426
|
-
"description": "Whether operation succeeded"
|
|
1427
|
-
},
|
|
1428
|
-
"operation": {
|
|
1429
|
-
"type": "string",
|
|
1430
|
-
"description": "Operation performed"
|
|
1431
|
-
},
|
|
1432
|
-
"modifiedCount": {
|
|
1433
|
-
"type": "number",
|
|
1434
|
-
"description": "Number of items modified"
|
|
1435
|
-
},
|
|
1436
|
-
"currentCount": {
|
|
1437
|
-
"type": "number",
|
|
1438
|
-
"description": "Current list size"
|
|
1439
|
-
},
|
|
1440
|
-
"maxCount": {
|
|
1441
|
-
"type": "number",
|
|
1442
|
-
"description": "Maximum list size"
|
|
1443
|
-
},
|
|
1444
|
-
"invalidAddresses": {
|
|
1445
|
-
"anyOf": [
|
|
1446
|
-
{
|
|
1447
|
-
"type": "array",
|
|
1448
|
-
"items": {
|
|
1449
|
-
"type": "string"
|
|
1450
|
-
}
|
|
1451
|
-
},
|
|
1452
|
-
{
|
|
1453
|
-
"type": "null"
|
|
1454
|
-
}
|
|
1455
|
-
],
|
|
1456
|
-
"description": "Invalid addresses"
|
|
1457
|
-
},
|
|
1458
|
-
"existResults": {
|
|
1459
|
-
"anyOf": [
|
|
1460
|
-
{
|
|
1461
|
-
"type": "array",
|
|
1462
|
-
"items": {
|
|
1463
|
-
"type": "object",
|
|
1464
|
-
"properties": {
|
|
1465
|
-
"address": {
|
|
1466
|
-
"type": "string",
|
|
1467
|
-
"description": "Address"
|
|
1468
|
-
},
|
|
1469
|
-
"exists": {
|
|
1470
|
-
"type": "boolean",
|
|
1471
|
-
"description": "Whether address exists in list"
|
|
1472
|
-
}
|
|
1473
|
-
},
|
|
1474
|
-
"required": [
|
|
1475
|
-
"address",
|
|
1476
|
-
"exists"
|
|
1477
|
-
],
|
|
1478
|
-
"additionalProperties": false,
|
|
1479
|
-
"description": "Address existence check result"
|
|
1480
|
-
}
|
|
1481
|
-
},
|
|
1482
|
-
{
|
|
1483
|
-
"type": "null"
|
|
1484
|
-
}
|
|
1485
|
-
],
|
|
1486
|
-
"description": "Existence check results"
|
|
1487
|
-
},
|
|
1488
|
-
"message": {
|
|
1489
|
-
"anyOf": [
|
|
1490
|
-
{
|
|
1491
|
-
"type": "string"
|
|
1492
|
-
},
|
|
1493
|
-
{
|
|
1494
|
-
"type": "null"
|
|
1495
|
-
}
|
|
1496
|
-
],
|
|
1497
|
-
"description": "Operation message"
|
|
1498
|
-
},
|
|
1499
|
-
"currentList": {
|
|
1500
|
-
"anyOf": [
|
|
1501
|
-
{
|
|
1502
|
-
"type": "array",
|
|
1503
|
-
"items": {
|
|
1504
|
-
"type": "string"
|
|
1505
|
-
}
|
|
1506
|
-
},
|
|
1507
|
-
{
|
|
1508
|
-
"type": "null"
|
|
1509
|
-
}
|
|
1510
|
-
],
|
|
1511
|
-
"description": "Current list content"
|
|
1512
|
-
},
|
|
1513
|
-
"currentGuardList": {
|
|
1514
|
-
"anyOf": [
|
|
1515
|
-
{
|
|
1516
|
-
"type": "array",
|
|
1517
|
-
"items": {
|
|
1518
|
-
"type": "object",
|
|
1519
|
-
"properties": {
|
|
1520
|
-
"guardAddress": {
|
|
1521
|
-
"type": "string",
|
|
1522
|
-
"description": "Guard address"
|
|
1523
|
-
},
|
|
1524
|
-
"passportValiditySeconds": {
|
|
1525
|
-
"type": "number",
|
|
1526
|
-
"description": "Passport validity in seconds"
|
|
1527
|
-
}
|
|
1528
|
-
},
|
|
1529
|
-
"required": [
|
|
1530
|
-
"guardAddress",
|
|
1531
|
-
"passportValiditySeconds"
|
|
1532
|
-
],
|
|
1533
|
-
"additionalProperties": false,
|
|
1534
|
-
"description": "Guard list item"
|
|
1535
|
-
}
|
|
1536
|
-
},
|
|
1537
|
-
{
|
|
1538
|
-
"type": "null"
|
|
1539
|
-
}
|
|
1540
|
-
],
|
|
1541
|
-
"description": "Current guard list content"
|
|
1542
|
-
}
|
|
1543
|
-
},
|
|
1544
|
-
"required": [
|
|
1545
|
-
"success",
|
|
1546
|
-
"operation",
|
|
1547
|
-
"modifiedCount",
|
|
1548
|
-
"currentCount",
|
|
1549
|
-
"maxCount"
|
|
1550
|
-
],
|
|
1551
|
-
"additionalProperties": false,
|
|
1552
|
-
"description": "List operation response"
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
"type": "array",
|
|
1556
|
-
"items": {
|
|
1557
|
-
"type": "string"
|
|
1558
|
-
}
|
|
1559
|
-
}
|
|
1560
|
-
],
|
|
1561
|
-
"description": "Blacklist operation result"
|
|
1562
|
-
}
|
|
1563
|
-
},
|
|
1564
|
-
"required": [
|
|
1565
|
-
"operation",
|
|
1566
|
-
"op",
|
|
1567
|
-
"result"
|
|
1568
|
-
],
|
|
1569
|
-
"additionalProperties": false
|
|
1570
|
-
},
|
|
1571
|
-
{
|
|
1572
|
-
"type": "object",
|
|
1573
|
-
"properties": {
|
|
1574
|
-
"operation": {
|
|
1575
|
-
"type": "string",
|
|
1576
|
-
"const": "friendslist"
|
|
1577
|
-
},
|
|
1578
|
-
"op": {
|
|
1579
|
-
"type": "string",
|
|
1580
|
-
"enum": [
|
|
1581
|
-
"add",
|
|
1582
|
-
"remove",
|
|
1583
|
-
"clear",
|
|
1584
|
-
"get",
|
|
1585
|
-
"exist"
|
|
1586
|
-
],
|
|
1587
|
-
"description": "Operation type"
|
|
1588
|
-
},
|
|
1589
|
-
"result": {
|
|
1590
|
-
"anyOf": [
|
|
1591
|
-
{
|
|
1592
|
-
"type": "object",
|
|
1593
|
-
"properties": {
|
|
1594
|
-
"success": {
|
|
1595
|
-
"type": "boolean",
|
|
1596
|
-
"description": "Whether operation succeeded"
|
|
1597
|
-
},
|
|
1598
|
-
"operation": {
|
|
1599
|
-
"type": "string",
|
|
1600
|
-
"description": "Operation performed"
|
|
1601
|
-
},
|
|
1602
|
-
"modifiedCount": {
|
|
1603
|
-
"type": "number",
|
|
1604
|
-
"description": "Number of items modified"
|
|
1605
|
-
},
|
|
1606
|
-
"currentCount": {
|
|
1607
|
-
"type": "number",
|
|
1608
|
-
"description": "Current list size"
|
|
1609
|
-
},
|
|
1610
|
-
"maxCount": {
|
|
1611
|
-
"type": "number",
|
|
1612
|
-
"description": "Maximum list size"
|
|
1613
|
-
},
|
|
1614
|
-
"invalidAddresses": {
|
|
1615
|
-
"anyOf": [
|
|
1616
|
-
{
|
|
1617
|
-
"type": "array",
|
|
1618
|
-
"items": {
|
|
1619
|
-
"type": "string"
|
|
1620
|
-
}
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"type": "null"
|
|
1624
|
-
}
|
|
1625
|
-
],
|
|
1626
|
-
"description": "Invalid addresses"
|
|
1627
|
-
},
|
|
1628
|
-
"existResults": {
|
|
1629
|
-
"anyOf": [
|
|
1630
|
-
{
|
|
1631
|
-
"type": "array",
|
|
1632
|
-
"items": {
|
|
1633
|
-
"type": "object",
|
|
1634
|
-
"properties": {
|
|
1635
|
-
"address": {
|
|
1636
|
-
"type": "string",
|
|
1637
|
-
"description": "Address"
|
|
1638
|
-
},
|
|
1639
|
-
"exists": {
|
|
1640
|
-
"type": "boolean",
|
|
1641
|
-
"description": "Whether address exists in list"
|
|
1642
|
-
}
|
|
1643
|
-
},
|
|
1644
|
-
"required": [
|
|
1645
|
-
"address",
|
|
1646
|
-
"exists"
|
|
1647
|
-
],
|
|
1648
|
-
"additionalProperties": false,
|
|
1649
|
-
"description": "Address existence check result"
|
|
1650
|
-
}
|
|
1651
|
-
},
|
|
1652
|
-
{
|
|
1653
|
-
"type": "null"
|
|
1654
|
-
}
|
|
1655
|
-
],
|
|
1656
|
-
"description": "Existence check results"
|
|
1657
|
-
},
|
|
1658
|
-
"message": {
|
|
1659
|
-
"anyOf": [
|
|
1660
|
-
{
|
|
1661
|
-
"type": "string"
|
|
1662
|
-
},
|
|
1663
|
-
{
|
|
1664
|
-
"type": "null"
|
|
1665
|
-
}
|
|
1666
|
-
],
|
|
1667
|
-
"description": "Operation message"
|
|
1668
|
-
},
|
|
1669
|
-
"currentList": {
|
|
1670
|
-
"anyOf": [
|
|
1671
|
-
{
|
|
1672
|
-
"type": "array",
|
|
1673
|
-
"items": {
|
|
1674
|
-
"type": "string"
|
|
1675
|
-
}
|
|
1676
|
-
},
|
|
1677
|
-
{
|
|
1678
|
-
"type": "null"
|
|
1679
|
-
}
|
|
1680
|
-
],
|
|
1681
|
-
"description": "Current list content"
|
|
1682
|
-
},
|
|
1683
|
-
"currentGuardList": {
|
|
1684
|
-
"anyOf": [
|
|
1685
|
-
{
|
|
1686
|
-
"type": "array",
|
|
1687
|
-
"items": {
|
|
1688
|
-
"type": "object",
|
|
1689
|
-
"properties": {
|
|
1690
|
-
"guardAddress": {
|
|
1691
|
-
"type": "string",
|
|
1692
|
-
"description": "Guard address"
|
|
1693
|
-
},
|
|
1694
|
-
"passportValiditySeconds": {
|
|
1695
|
-
"type": "number",
|
|
1696
|
-
"description": "Passport validity in seconds"
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
"required": [
|
|
1700
|
-
"guardAddress",
|
|
1701
|
-
"passportValiditySeconds"
|
|
1702
|
-
],
|
|
1703
|
-
"additionalProperties": false,
|
|
1704
|
-
"description": "Guard list item"
|
|
1705
|
-
}
|
|
1706
|
-
},
|
|
1707
|
-
{
|
|
1708
|
-
"type": "null"
|
|
1709
|
-
}
|
|
1710
|
-
],
|
|
1711
|
-
"description": "Current guard list content"
|
|
1712
|
-
}
|
|
1713
|
-
},
|
|
1714
|
-
"required": [
|
|
1715
|
-
"success",
|
|
1716
|
-
"operation",
|
|
1717
|
-
"modifiedCount",
|
|
1718
|
-
"currentCount",
|
|
1719
|
-
"maxCount"
|
|
1720
|
-
],
|
|
1721
|
-
"additionalProperties": false,
|
|
1722
|
-
"description": "List operation response"
|
|
1723
|
-
},
|
|
1724
|
-
{
|
|
1725
|
-
"type": "array",
|
|
1726
|
-
"items": {
|
|
1727
|
-
"type": "string"
|
|
1728
|
-
}
|
|
1729
|
-
}
|
|
1730
|
-
],
|
|
1731
|
-
"description": "Friends list operation result"
|
|
1732
|
-
}
|
|
1733
|
-
},
|
|
1734
|
-
"required": [
|
|
1735
|
-
"operation",
|
|
1736
|
-
"op",
|
|
1737
|
-
"result"
|
|
1738
|
-
],
|
|
1739
|
-
"additionalProperties": false
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"type": "object",
|
|
1743
|
-
"properties": {
|
|
1744
|
-
"operation": {
|
|
1745
|
-
"type": "string",
|
|
1746
|
-
"const": "guardlist"
|
|
1747
|
-
},
|
|
1748
|
-
"op": {
|
|
1749
|
-
"type": "string",
|
|
1750
|
-
"enum": [
|
|
1751
|
-
"add",
|
|
1752
|
-
"remove",
|
|
1753
|
-
"get"
|
|
1754
|
-
],
|
|
1755
|
-
"description": "Operation type"
|
|
1756
|
-
},
|
|
1757
|
-
"result": {
|
|
1758
|
-
"type": "object",
|
|
1759
|
-
"properties": {
|
|
1760
|
-
"success": {
|
|
1761
|
-
"type": "boolean",
|
|
1762
|
-
"description": "Whether operation succeeded"
|
|
1763
|
-
},
|
|
1764
|
-
"operation": {
|
|
1765
|
-
"type": "string",
|
|
1766
|
-
"description": "Operation performed"
|
|
1767
|
-
},
|
|
1768
|
-
"modifiedCount": {
|
|
1769
|
-
"type": "number",
|
|
1770
|
-
"description": "Number of items modified"
|
|
1771
|
-
},
|
|
1772
|
-
"currentCount": {
|
|
1773
|
-
"type": "number",
|
|
1774
|
-
"description": "Current list size"
|
|
1775
|
-
},
|
|
1776
|
-
"maxCount": {
|
|
1777
|
-
"type": "number",
|
|
1778
|
-
"description": "Maximum list size"
|
|
1779
|
-
},
|
|
1780
|
-
"invalidAddresses": {
|
|
1781
|
-
"anyOf": [
|
|
1782
|
-
{
|
|
1783
|
-
"type": "array",
|
|
1784
|
-
"items": {
|
|
1785
|
-
"type": "string"
|
|
1786
|
-
}
|
|
1787
|
-
},
|
|
1788
|
-
{
|
|
1789
|
-
"type": "null"
|
|
1790
|
-
}
|
|
1791
|
-
],
|
|
1792
|
-
"description": "Invalid addresses"
|
|
1793
|
-
},
|
|
1794
|
-
"existResults": {
|
|
1795
|
-
"anyOf": [
|
|
1796
|
-
{
|
|
1797
|
-
"type": "array",
|
|
1798
|
-
"items": {
|
|
1799
|
-
"type": "object",
|
|
1800
|
-
"properties": {
|
|
1801
|
-
"address": {
|
|
1802
|
-
"type": "string",
|
|
1803
|
-
"description": "Address"
|
|
1804
|
-
},
|
|
1805
|
-
"exists": {
|
|
1806
|
-
"type": "boolean",
|
|
1807
|
-
"description": "Whether address exists in list"
|
|
1808
|
-
}
|
|
1809
|
-
},
|
|
1810
|
-
"required": [
|
|
1811
|
-
"address",
|
|
1812
|
-
"exists"
|
|
1813
|
-
],
|
|
1814
|
-
"additionalProperties": false,
|
|
1815
|
-
"description": "Address existence check result"
|
|
1816
|
-
}
|
|
1817
|
-
},
|
|
1818
|
-
{
|
|
1819
|
-
"type": "null"
|
|
1820
|
-
}
|
|
1821
|
-
],
|
|
1822
|
-
"description": "Existence check results"
|
|
1823
|
-
},
|
|
1824
|
-
"message": {
|
|
1825
|
-
"anyOf": [
|
|
1826
|
-
{
|
|
1827
|
-
"type": "string"
|
|
1828
|
-
},
|
|
1829
|
-
{
|
|
1830
|
-
"type": "null"
|
|
1831
|
-
}
|
|
1832
|
-
],
|
|
1833
|
-
"description": "Operation message"
|
|
1834
|
-
},
|
|
1835
|
-
"currentList": {
|
|
1836
|
-
"anyOf": [
|
|
1837
|
-
{
|
|
1838
|
-
"type": "array",
|
|
1839
|
-
"items": {
|
|
1840
|
-
"type": "string"
|
|
1841
|
-
}
|
|
1842
|
-
},
|
|
1843
|
-
{
|
|
1844
|
-
"type": "null"
|
|
1845
|
-
}
|
|
1846
|
-
],
|
|
1847
|
-
"description": "Current list content"
|
|
1848
|
-
},
|
|
1849
|
-
"currentGuardList": {
|
|
1850
|
-
"anyOf": [
|
|
1851
|
-
{
|
|
1852
|
-
"type": "array",
|
|
1853
|
-
"items": {
|
|
1854
|
-
"type": "object",
|
|
1855
|
-
"properties": {
|
|
1856
|
-
"guardAddress": {
|
|
1857
|
-
"type": "string",
|
|
1858
|
-
"description": "Guard address"
|
|
1859
|
-
},
|
|
1860
|
-
"passportValiditySeconds": {
|
|
1861
|
-
"type": "number",
|
|
1862
|
-
"description": "Passport validity in seconds"
|
|
1863
|
-
}
|
|
1864
|
-
},
|
|
1865
|
-
"required": [
|
|
1866
|
-
"guardAddress",
|
|
1867
|
-
"passportValiditySeconds"
|
|
1868
|
-
],
|
|
1869
|
-
"additionalProperties": false,
|
|
1870
|
-
"description": "Guard list item"
|
|
1871
|
-
}
|
|
1872
|
-
},
|
|
1873
|
-
{
|
|
1874
|
-
"type": "null"
|
|
1875
|
-
}
|
|
1876
|
-
],
|
|
1877
|
-
"description": "Current guard list content"
|
|
1878
|
-
}
|
|
1879
|
-
},
|
|
1880
|
-
"required": [
|
|
1881
|
-
"success",
|
|
1882
|
-
"operation",
|
|
1883
|
-
"modifiedCount",
|
|
1884
|
-
"currentCount",
|
|
1885
|
-
"maxCount"
|
|
1886
|
-
],
|
|
1887
|
-
"additionalProperties": false,
|
|
1888
|
-
"description": "Guard list operation result"
|
|
1889
|
-
}
|
|
1890
|
-
},
|
|
1891
|
-
"required": [
|
|
1892
|
-
"operation",
|
|
1893
|
-
"op",
|
|
1894
|
-
"result"
|
|
1895
|
-
],
|
|
1896
|
-
"additionalProperties": false
|
|
1897
|
-
},
|
|
1898
|
-
{
|
|
1899
|
-
"type": "object",
|
|
1900
|
-
"properties": {
|
|
1901
|
-
"operation": {
|
|
1902
|
-
"type": "string",
|
|
1903
|
-
"const": "settings"
|
|
1904
|
-
},
|
|
1905
|
-
"op": {
|
|
1906
|
-
"type": "string",
|
|
1907
|
-
"enum": [
|
|
1908
|
-
"get",
|
|
1909
|
-
"set"
|
|
1910
|
-
],
|
|
1911
|
-
"description": "Operation type"
|
|
1912
|
-
},
|
|
1913
|
-
"result": {
|
|
1914
|
-
"anyOf": [
|
|
1915
|
-
{
|
|
1916
|
-
"type": "object",
|
|
1917
|
-
"properties": {
|
|
1918
|
-
"allowStrangerMessages": {
|
|
1919
|
-
"description": "Whether messages from strangers are allowed (ineffective while the guard list is non-empty)",
|
|
1920
|
-
"type": "boolean"
|
|
1921
|
-
},
|
|
1922
|
-
"maxInboxSize": {
|
|
1923
|
-
"description": "Current maximum inbox size",
|
|
1924
|
-
"type": "number"
|
|
1925
|
-
},
|
|
1926
|
-
"minUserInboxSize": {
|
|
1927
|
-
"type": "number",
|
|
1928
|
-
"description": "Server minimum allowed inbox size limit"
|
|
1929
|
-
},
|
|
1930
|
-
"maxUserInboxSize": {
|
|
1931
|
-
"type": "number",
|
|
1932
|
-
"description": "Server maximum allowed inbox size limit"
|
|
1933
|
-
},
|
|
1934
|
-
"defaultAllowStrangerMessages": {
|
|
1935
|
-
"type": "boolean",
|
|
1936
|
-
"description": "Server default setting for allowing stranger messages"
|
|
1937
|
-
}
|
|
1938
|
-
},
|
|
1939
|
-
"required": [
|
|
1940
|
-
"minUserInboxSize",
|
|
1941
|
-
"maxUserInboxSize",
|
|
1942
|
-
"defaultAllowStrangerMessages"
|
|
1943
|
-
],
|
|
1944
|
-
"additionalProperties": false,
|
|
1945
|
-
"description": "Get settings response"
|
|
1946
|
-
},
|
|
1947
|
-
{
|
|
1948
|
-
"type": "boolean"
|
|
1949
|
-
}
|
|
1950
|
-
],
|
|
1951
|
-
"description": "Settings operation result - GetSettingsResponse for 'get' operation, boolean for 'set' operation"
|
|
1952
|
-
}
|
|
1953
|
-
},
|
|
1954
|
-
"required": [
|
|
1955
|
-
"operation",
|
|
1956
|
-
"op",
|
|
1957
|
-
"result"
|
|
1958
|
-
],
|
|
1959
|
-
"additionalProperties": false
|
|
1960
|
-
},
|
|
1961
|
-
{
|
|
1962
|
-
"type": "object",
|
|
1963
|
-
"properties": {
|
|
1964
|
-
"operation": {
|
|
1965
|
-
"type": "string",
|
|
1966
|
-
"const": "mark_messages_as_viewed"
|
|
1967
|
-
},
|
|
1968
|
-
"result": {
|
|
1969
|
-
"type": "number",
|
|
1970
|
-
"description": "Number of messages successfully marked as viewed. Only messages that were previously unviewed are counted"
|
|
1971
|
-
}
|
|
1972
|
-
},
|
|
1973
|
-
"required": [
|
|
1974
|
-
"operation",
|
|
1975
|
-
"result"
|
|
1976
|
-
],
|
|
1977
|
-
"additionalProperties": false
|
|
1978
|
-
},
|
|
1979
|
-
{
|
|
1980
|
-
"type": "object",
|
|
1981
|
-
"properties": {
|
|
1982
|
-
"operation": {
|
|
1983
|
-
"type": "string",
|
|
1984
|
-
"const": "mark_conversation_as_viewed"
|
|
1985
|
-
},
|
|
1986
|
-
"result": {
|
|
1987
|
-
"type": "number",
|
|
1988
|
-
"description": "Number of messages successfully marked as viewed in the conversation. Only received messages that were previously unviewed are counted"
|
|
1989
|
-
}
|
|
1990
|
-
},
|
|
1991
|
-
"required": [
|
|
1992
|
-
"operation",
|
|
1993
|
-
"result"
|
|
1994
|
-
],
|
|
1995
|
-
"additionalProperties": false
|
|
1996
|
-
},
|
|
1997
|
-
{
|
|
1998
|
-
"type": "object",
|
|
1999
|
-
"properties": {
|
|
2000
|
-
"operation": {
|
|
2001
|
-
"type": "string",
|
|
2002
|
-
"const": "mark_conversation_read"
|
|
2003
|
-
},
|
|
2004
|
-
"result": {
|
|
2005
|
-
"type": "object",
|
|
2006
|
-
"properties": {
|
|
2007
|
-
"account": {
|
|
2008
|
-
"type": "string",
|
|
2009
|
-
"description": "Account the watermark belongs to"
|
|
2010
|
-
},
|
|
2011
|
-
"peer": {
|
|
2012
|
-
"type": "string",
|
|
2013
|
-
"description": "Conversation peer"
|
|
2014
|
-
},
|
|
2015
|
-
"read_through_seq": {
|
|
2016
|
-
"anyOf": [
|
|
2017
|
-
{
|
|
2018
|
-
"type": "number"
|
|
2019
|
-
},
|
|
2020
|
-
{
|
|
2021
|
-
"type": "null"
|
|
2022
|
-
}
|
|
2023
|
-
],
|
|
2024
|
-
"description": "Highest conversation sequence (leafIndex) this account has marked read locally. null = nothing marked read yet"
|
|
2025
|
-
},
|
|
2026
|
-
"read_at": {
|
|
2027
|
-
"anyOf": [
|
|
2028
|
-
{
|
|
2029
|
-
"type": "number"
|
|
2030
|
-
},
|
|
2031
|
-
{
|
|
2032
|
-
"type": "null"
|
|
2033
|
-
}
|
|
2034
|
-
],
|
|
2035
|
-
"description": "Local timestamp (ms) of the last watermark advance; null when no watermark exists"
|
|
2036
|
-
},
|
|
2037
|
-
"peer_read_through_seq": {
|
|
2038
|
-
"type": "null",
|
|
2039
|
-
"description": "ALWAYS null: the network exposes no peer read-receipt primitive. Do NOT read this as 'not read' — it is UNKNOWN, never reported as delivered or read"
|
|
2040
|
-
},
|
|
2041
|
-
"peer_receipt_available": {
|
|
2042
|
-
"type": "boolean",
|
|
2043
|
-
"const": false,
|
|
2044
|
-
"description": "ALWAYS false: no peer read-receipt primitive exists on the messenger network"
|
|
2045
|
-
},
|
|
2046
|
-
"scope": {
|
|
2047
|
-
"type": "string",
|
|
2048
|
-
"const": "local-session",
|
|
2049
|
-
"description": "Scope of the local watermark: this MCP server session only"
|
|
2050
|
-
},
|
|
2051
|
-
"disclosure": {
|
|
2052
|
-
"type": "string",
|
|
2053
|
-
"description": "Honest statement of why the peer side is unknown (server confirmation != read; viewedAt is local-only)"
|
|
2054
|
-
},
|
|
2055
|
-
"marked_count": {
|
|
2056
|
-
"type": "number",
|
|
2057
|
-
"description": "Received messages locally marked as viewed by this call (viewedAt update)"
|
|
2058
|
-
},
|
|
2059
|
-
"capped": {
|
|
2060
|
-
"type": "boolean",
|
|
2061
|
-
"description": "True when through_seq exceeded the highest received seq retained locally and the watermark was capped to it"
|
|
2062
|
-
},
|
|
2063
|
-
"requested_through_seq": {
|
|
2064
|
-
"anyOf": [
|
|
2065
|
-
{
|
|
2066
|
-
"type": "number"
|
|
2067
|
-
},
|
|
2068
|
-
{
|
|
2069
|
-
"type": "null"
|
|
2070
|
-
}
|
|
2071
|
-
],
|
|
2072
|
-
"description": "through_seq the caller asked for; null when it was omitted"
|
|
2073
|
-
}
|
|
2074
|
-
},
|
|
2075
|
-
"required": [
|
|
2076
|
-
"account",
|
|
2077
|
-
"peer",
|
|
2078
|
-
"read_through_seq",
|
|
2079
|
-
"read_at",
|
|
2080
|
-
"peer_read_through_seq",
|
|
2081
|
-
"peer_receipt_available",
|
|
2082
|
-
"scope",
|
|
2083
|
-
"disclosure",
|
|
2084
|
-
"marked_count",
|
|
2085
|
-
"capped",
|
|
2086
|
-
"requested_through_seq"
|
|
2087
|
-
],
|
|
2088
|
-
"additionalProperties": false,
|
|
2089
|
-
"description": "Local read watermark result (peer watermark unavailable by design)"
|
|
2090
|
-
}
|
|
2091
|
-
},
|
|
2092
|
-
"required": [
|
|
2093
|
-
"operation",
|
|
2094
|
-
"result"
|
|
2095
|
-
],
|
|
2096
|
-
"additionalProperties": false
|
|
2097
|
-
},
|
|
2098
|
-
{
|
|
2099
|
-
"type": "object",
|
|
2100
|
-
"properties": {
|
|
2101
|
-
"operation": {
|
|
2102
|
-
"type": "string",
|
|
2103
|
-
"const": "pull_messages"
|
|
2104
|
-
},
|
|
2105
|
-
"result": {
|
|
2106
|
-
"anyOf": [
|
|
2107
|
-
{
|
|
2108
|
-
"type": "array",
|
|
2109
|
-
"items": {
|
|
2110
|
-
"type": "object",
|
|
2111
|
-
"properties": {
|
|
2112
|
-
"messageId": {
|
|
2113
|
-
"type": "string",
|
|
2114
|
-
"description": "Message ID"
|
|
2115
|
-
},
|
|
2116
|
-
"fromAddress": {
|
|
2117
|
-
"type": "string",
|
|
2118
|
-
"description": "Sender address"
|
|
2119
|
-
},
|
|
2120
|
-
"toAddress": {
|
|
2121
|
-
"type": "string",
|
|
2122
|
-
"description": "Recipient address"
|
|
2123
|
-
},
|
|
2124
|
-
"plaintextHash": {
|
|
2125
|
-
"type": "string",
|
|
2126
|
-
"description": "Plaintext hash"
|
|
2127
|
-
},
|
|
2128
|
-
"plaintext": {
|
|
2129
|
-
"description": "Decrypted plaintext text. UNDEFINED for attachment messages (zipMetadata present) — their base64 envelope is stripped at the read boundary; read msg.attachment for metadata and use save_attachment for bytes",
|
|
2130
|
-
"type": "string"
|
|
2131
|
-
},
|
|
2132
|
-
"attachment": {
|
|
2133
|
-
"description": "Present when this message is an attachment (zipMetadata present). Byte-free descriptor; payload never embedded",
|
|
2134
|
-
"type": "object",
|
|
2135
|
-
"properties": {
|
|
2136
|
-
"kind": {
|
|
2137
|
-
"type": "string",
|
|
2138
|
-
"enum": [
|
|
2139
|
-
"image",
|
|
2140
|
-
"video",
|
|
2141
|
-
"audio",
|
|
2142
|
-
"voice",
|
|
2143
|
-
"file",
|
|
2144
|
-
"wts",
|
|
2145
|
-
"wip"
|
|
2146
|
-
],
|
|
2147
|
-
"description": "Attachment business type: image/video/audio are inline-renderable media; 'voice' is an explicit voice message (webm cannot be auto-distinguished from video); 'file' is a generic document; wts/wip are evidence files"
|
|
2148
|
-
},
|
|
2149
|
-
"fileName": {
|
|
2150
|
-
"type": "string",
|
|
2151
|
-
"description": "Original file name (transport .zip suffix stripped)"
|
|
2152
|
-
},
|
|
2153
|
-
"mimeType": {
|
|
2154
|
-
"type": "string",
|
|
2155
|
-
"description": "MIME type inferred from extension or sender-provided"
|
|
2156
|
-
},
|
|
2157
|
-
"size": {
|
|
2158
|
-
"type": "number",
|
|
2159
|
-
"description": "Payload size in bytes (uncompressed)"
|
|
2160
|
-
},
|
|
2161
|
-
"caption": {
|
|
2162
|
-
"description": "Sender-provided caption (E2EE, inside the encrypted envelope)",
|
|
2163
|
-
"type": "string"
|
|
2164
|
-
},
|
|
2165
|
-
"durationMs": {
|
|
2166
|
-
"description": "Audio/video duration in milliseconds",
|
|
2167
|
-
"type": "number"
|
|
2168
|
-
},
|
|
2169
|
-
"width": {
|
|
2170
|
-
"description": "Media width in pixels",
|
|
2171
|
-
"type": "number"
|
|
2172
|
-
},
|
|
2173
|
-
"height": {
|
|
2174
|
-
"description": "Media height in pixels",
|
|
2175
|
-
"type": "number"
|
|
2176
|
-
}
|
|
2177
|
-
},
|
|
2178
|
-
"required": [
|
|
2179
|
-
"kind",
|
|
2180
|
-
"fileName",
|
|
2181
|
-
"mimeType",
|
|
2182
|
-
"size"
|
|
2183
|
-
],
|
|
2184
|
-
"additionalProperties": false
|
|
2185
|
-
},
|
|
2186
|
-
"replyTo": {
|
|
2187
|
-
"description": "Quoted (replied-to) message reference, if this message replies to a previous one",
|
|
2188
|
-
"type": "object",
|
|
2189
|
-
"properties": {
|
|
2190
|
-
"messageId": {
|
|
2191
|
-
"type": "string",
|
|
2192
|
-
"description": "Replied-to message ID (unique within the conversation)"
|
|
2193
|
-
}
|
|
2194
|
-
},
|
|
2195
|
-
"required": [
|
|
2196
|
-
"messageId"
|
|
2197
|
-
],
|
|
2198
|
-
"additionalProperties": false
|
|
2199
|
-
},
|
|
2200
|
-
"guardAddress": {
|
|
2201
|
-
"description": "Guard address",
|
|
2202
|
-
"type": "string"
|
|
2203
|
-
},
|
|
2204
|
-
"passportAddress": {
|
|
2205
|
-
"description": "Passport address",
|
|
2206
|
-
"type": "string"
|
|
2207
|
-
},
|
|
2208
|
-
"lastReceivedLeafIndex": {
|
|
2209
|
-
"description": "Last received leaf index",
|
|
2210
|
-
"type": "number"
|
|
2211
|
-
},
|
|
2212
|
-
"direction": {
|
|
2213
|
-
"type": "string",
|
|
2214
|
-
"enum": [
|
|
2215
|
-
"sent",
|
|
2216
|
-
"received"
|
|
2217
|
-
],
|
|
2218
|
-
"description": "Message direction"
|
|
2219
|
-
},
|
|
2220
|
-
"status": {
|
|
2221
|
-
"type": "string",
|
|
2222
|
-
"enum": [
|
|
2223
|
-
"pending",
|
|
2224
|
-
"confirmed",
|
|
2225
|
-
"read",
|
|
2226
|
-
"failed",
|
|
2227
|
-
"rejected",
|
|
2228
|
-
"decrypted",
|
|
2229
|
-
"decrypt_failed"
|
|
2230
|
-
],
|
|
2231
|
-
"description": "Message status"
|
|
2232
|
-
},
|
|
2233
|
-
"msgType": {
|
|
2234
|
-
"anyOf": [
|
|
2235
|
-
{
|
|
2236
|
-
"type": "number",
|
|
2237
|
-
"const": 1
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
"type": "number",
|
|
2241
|
-
"const": 3
|
|
2242
|
-
}
|
|
2243
|
-
],
|
|
2244
|
-
"description": "Message type"
|
|
2245
|
-
},
|
|
2246
|
-
"leafIndex": {
|
|
2247
|
-
"description": "Leaf index",
|
|
2248
|
-
"type": "number"
|
|
2249
|
-
},
|
|
2250
|
-
"prevRoot": {
|
|
2251
|
-
"description": "Previous Merkle Root",
|
|
2252
|
-
"type": "string"
|
|
2253
|
-
},
|
|
2254
|
-
"newRoot": {
|
|
2255
|
-
"description": "Current Merkle Root",
|
|
2256
|
-
"type": "string"
|
|
2257
|
-
},
|
|
2258
|
-
"serverSignature": {
|
|
2259
|
-
"description": "Server signature",
|
|
2260
|
-
"type": "string"
|
|
2261
|
-
},
|
|
2262
|
-
"serverTimestamp": {
|
|
2263
|
-
"description": "Server confirmation timestamp",
|
|
2264
|
-
"type": "number"
|
|
2265
|
-
},
|
|
2266
|
-
"serverPublicKey": {
|
|
2267
|
-
"description": "Server public key",
|
|
2268
|
-
"type": "string"
|
|
2269
|
-
},
|
|
2270
|
-
"arkConfirmed": {
|
|
2271
|
-
"description": "ARK confirmation",
|
|
2272
|
-
"type": "object",
|
|
2273
|
-
"properties": {
|
|
2274
|
-
"recipient": {
|
|
2275
|
-
"type": "string",
|
|
2276
|
-
"description": "Recipient address"
|
|
2277
|
-
},
|
|
2278
|
-
"recipientPublicKey": {
|
|
2279
|
-
"type": "string",
|
|
2280
|
-
"description": "Recipient public key"
|
|
2281
|
-
},
|
|
2282
|
-
"signature": {
|
|
2283
|
-
"type": "string",
|
|
2284
|
-
"description": "Recipient signature"
|
|
2285
|
-
},
|
|
2286
|
-
"timestamp": {
|
|
2287
|
-
"type": "number",
|
|
2288
|
-
"description": "ARK confirmation time"
|
|
2289
|
-
}
|
|
2290
|
-
},
|
|
2291
|
-
"required": [
|
|
2292
|
-
"recipient",
|
|
2293
|
-
"recipientPublicKey",
|
|
2294
|
-
"signature",
|
|
2295
|
-
"timestamp"
|
|
2296
|
-
],
|
|
2297
|
-
"additionalProperties": false
|
|
2298
|
-
},
|
|
2299
|
-
"createdAt": {
|
|
2300
|
-
"type": "number",
|
|
2301
|
-
"description": "Message creation time (client)"
|
|
2302
|
-
},
|
|
2303
|
-
"receivedAt": {
|
|
2304
|
-
"description": "Local reception time",
|
|
2305
|
-
"type": "number"
|
|
2306
|
-
},
|
|
2307
|
-
"zipMetadata": {
|
|
2308
|
-
"description": "ZIP file metadata",
|
|
2309
|
-
"type": "object",
|
|
2310
|
-
"properties": {
|
|
2311
|
-
"fileName": {
|
|
2312
|
-
"type": "string",
|
|
2313
|
-
"description": "ZIP filename"
|
|
2314
|
-
},
|
|
2315
|
-
"fileSize": {
|
|
2316
|
-
"type": "number",
|
|
2317
|
-
"description": "File size in bytes"
|
|
2318
|
-
},
|
|
2319
|
-
"fileHash": {
|
|
2320
|
-
"type": "string",
|
|
2321
|
-
"description": "File SHA256 hash"
|
|
2322
|
-
},
|
|
2323
|
-
"contentType": {
|
|
2324
|
-
"type": "string",
|
|
2325
|
-
"enum": [
|
|
2326
|
-
"text",
|
|
2327
|
-
"zip",
|
|
2328
|
-
"wts",
|
|
2329
|
-
"wip"
|
|
2330
|
-
],
|
|
2331
|
-
"description": "Content type"
|
|
2332
|
-
},
|
|
2333
|
-
"localCachePath": {
|
|
2334
|
-
"description": "Local cache path",
|
|
2335
|
-
"type": "string"
|
|
2336
|
-
},
|
|
2337
|
-
"downloadedAt": {
|
|
2338
|
-
"description": "Download timestamp",
|
|
2339
|
-
"type": "number"
|
|
2340
|
-
}
|
|
2341
|
-
},
|
|
2342
|
-
"required": [
|
|
2343
|
-
"fileName",
|
|
2344
|
-
"fileSize",
|
|
2345
|
-
"fileHash",
|
|
2346
|
-
"contentType"
|
|
2347
|
-
],
|
|
2348
|
-
"additionalProperties": false
|
|
2349
|
-
},
|
|
2350
|
-
"proof": {
|
|
2351
|
-
"description": "Latest on-chain proof object address (projection of the last entry in proofs; derived at the read boundary for single-value consumers)",
|
|
2352
|
-
"type": "string"
|
|
2353
|
-
},
|
|
2354
|
-
"proofs": {
|
|
2355
|
-
"description": "All on-chain proofs anchored for this message, ascending by publish time (one-to-many; a message may be proofed multiple times)",
|
|
2356
|
-
"type": "array",
|
|
2357
|
-
"items": {
|
|
2358
|
-
"type": "object",
|
|
2359
|
-
"properties": {
|
|
2360
|
-
"address": {
|
|
2361
|
-
"type": "string",
|
|
2362
|
-
"description": "On-chain Proof object address"
|
|
2363
|
-
},
|
|
2364
|
-
"network": {
|
|
2365
|
-
"description": "Network the proof was published on (testnet/mainnet/localnet); absent in legacy local records",
|
|
2366
|
-
"type": "string"
|
|
2367
|
-
},
|
|
2368
|
-
"createdAt": {
|
|
2369
|
-
"type": "number",
|
|
2370
|
-
"description": "Local record time (ms)"
|
|
2371
|
-
}
|
|
2372
|
-
},
|
|
2373
|
-
"required": [
|
|
2374
|
-
"address",
|
|
2375
|
-
"createdAt"
|
|
2376
|
-
],
|
|
2377
|
-
"additionalProperties": false,
|
|
2378
|
-
"description": "One on-chain proof anchored for this message"
|
|
2379
|
-
}
|
|
2380
|
-
},
|
|
2381
|
-
"decryptError": {
|
|
2382
|
-
"description": "Decryption failure reason",
|
|
2383
|
-
"type": "string"
|
|
2384
|
-
},
|
|
2385
|
-
"decryptAttempts": {
|
|
2386
|
-
"description": "Number of decryption attempts",
|
|
2387
|
-
"type": "number"
|
|
2388
|
-
},
|
|
2389
|
-
"lastDecryptAttemptAt": {
|
|
2390
|
-
"description": "Last decryption attempt timestamp",
|
|
2391
|
-
"type": "number"
|
|
2392
|
-
},
|
|
2393
|
-
"viewedAt": {
|
|
2394
|
-
"description": "Timestamp when the current user viewed this message (local storage). If present, indicates the message has been viewed by the user. Only applicable to received messages (direction === 'received')",
|
|
2395
|
-
"type": "number"
|
|
2396
|
-
}
|
|
2397
|
-
},
|
|
2398
|
-
"required": [
|
|
2399
|
-
"messageId",
|
|
2400
|
-
"fromAddress",
|
|
2401
|
-
"toAddress",
|
|
2402
|
-
"plaintextHash",
|
|
2403
|
-
"direction",
|
|
2404
|
-
"status",
|
|
2405
|
-
"msgType",
|
|
2406
|
-
"createdAt"
|
|
2407
|
-
],
|
|
2408
|
-
"additionalProperties": false,
|
|
2409
|
-
"description": "Message object"
|
|
2410
|
-
},
|
|
2411
|
-
"description": "Single-account mode: messages pulled from server"
|
|
2412
|
-
},
|
|
2413
|
-
{
|
|
2414
|
-
"type": "array",
|
|
2415
|
-
"items": {
|
|
2416
|
-
"type": "object",
|
|
2417
|
-
"properties": {
|
|
2418
|
-
"account": {
|
|
2419
|
-
"type": "string",
|
|
2420
|
-
"description": "Account address"
|
|
2421
|
-
},
|
|
2422
|
-
"pulled": {
|
|
2423
|
-
"type": "number",
|
|
2424
|
-
"description": "Number of messages pulled and decrypted in this round"
|
|
2425
|
-
},
|
|
2426
|
-
"messages": {
|
|
2427
|
-
"type": "array",
|
|
2428
|
-
"items": {
|
|
2429
|
-
"type": "object",
|
|
2430
|
-
"properties": {
|
|
2431
|
-
"messageId": {
|
|
2432
|
-
"type": "string",
|
|
2433
|
-
"description": "Message ID"
|
|
2434
|
-
},
|
|
2435
|
-
"fromAddress": {
|
|
2436
|
-
"type": "string",
|
|
2437
|
-
"description": "Sender address"
|
|
2438
|
-
},
|
|
2439
|
-
"toAddress": {
|
|
2440
|
-
"type": "string",
|
|
2441
|
-
"description": "Recipient address"
|
|
2442
|
-
},
|
|
2443
|
-
"plaintextHash": {
|
|
2444
|
-
"type": "string",
|
|
2445
|
-
"description": "Plaintext hash"
|
|
2446
|
-
},
|
|
2447
|
-
"plaintext": {
|
|
2448
|
-
"description": "Decrypted plaintext text. UNDEFINED for attachment messages (zipMetadata present) — their base64 envelope is stripped at the read boundary; read msg.attachment for metadata and use save_attachment for bytes",
|
|
2449
|
-
"type": "string"
|
|
2450
|
-
},
|
|
2451
|
-
"attachment": {
|
|
2452
|
-
"description": "Present when this message is an attachment (zipMetadata present). Byte-free descriptor; payload never embedded",
|
|
2453
|
-
"type": "object",
|
|
2454
|
-
"properties": {
|
|
2455
|
-
"kind": {
|
|
2456
|
-
"type": "string",
|
|
2457
|
-
"enum": [
|
|
2458
|
-
"image",
|
|
2459
|
-
"video",
|
|
2460
|
-
"audio",
|
|
2461
|
-
"voice",
|
|
2462
|
-
"file",
|
|
2463
|
-
"wts",
|
|
2464
|
-
"wip"
|
|
2465
|
-
],
|
|
2466
|
-
"description": "Attachment business type: image/video/audio are inline-renderable media; 'voice' is an explicit voice message (webm cannot be auto-distinguished from video); 'file' is a generic document; wts/wip are evidence files"
|
|
2467
|
-
},
|
|
2468
|
-
"fileName": {
|
|
2469
|
-
"type": "string",
|
|
2470
|
-
"description": "Original file name (transport .zip suffix stripped)"
|
|
2471
|
-
},
|
|
2472
|
-
"mimeType": {
|
|
2473
|
-
"type": "string",
|
|
2474
|
-
"description": "MIME type inferred from extension or sender-provided"
|
|
2475
|
-
},
|
|
2476
|
-
"size": {
|
|
2477
|
-
"type": "number",
|
|
2478
|
-
"description": "Payload size in bytes (uncompressed)"
|
|
2479
|
-
},
|
|
2480
|
-
"caption": {
|
|
2481
|
-
"description": "Sender-provided caption (E2EE, inside the encrypted envelope)",
|
|
2482
|
-
"type": "string"
|
|
2483
|
-
},
|
|
2484
|
-
"durationMs": {
|
|
2485
|
-
"description": "Audio/video duration in milliseconds",
|
|
2486
|
-
"type": "number"
|
|
2487
|
-
},
|
|
2488
|
-
"width": {
|
|
2489
|
-
"description": "Media width in pixels",
|
|
2490
|
-
"type": "number"
|
|
2491
|
-
},
|
|
2492
|
-
"height": {
|
|
2493
|
-
"description": "Media height in pixels",
|
|
2494
|
-
"type": "number"
|
|
2495
|
-
}
|
|
2496
|
-
},
|
|
2497
|
-
"required": [
|
|
2498
|
-
"kind",
|
|
2499
|
-
"fileName",
|
|
2500
|
-
"mimeType",
|
|
2501
|
-
"size"
|
|
2502
|
-
],
|
|
2503
|
-
"additionalProperties": false
|
|
2504
|
-
},
|
|
2505
|
-
"replyTo": {
|
|
2506
|
-
"description": "Quoted (replied-to) message reference, if this message replies to a previous one",
|
|
2507
|
-
"type": "object",
|
|
2508
|
-
"properties": {
|
|
2509
|
-
"messageId": {
|
|
2510
|
-
"type": "string",
|
|
2511
|
-
"description": "Replied-to message ID (unique within the conversation)"
|
|
2512
|
-
}
|
|
2513
|
-
},
|
|
2514
|
-
"required": [
|
|
2515
|
-
"messageId"
|
|
2516
|
-
],
|
|
2517
|
-
"additionalProperties": false
|
|
2518
|
-
},
|
|
2519
|
-
"guardAddress": {
|
|
2520
|
-
"description": "Guard address",
|
|
2521
|
-
"type": "string"
|
|
2522
|
-
},
|
|
2523
|
-
"passportAddress": {
|
|
2524
|
-
"description": "Passport address",
|
|
2525
|
-
"type": "string"
|
|
2526
|
-
},
|
|
2527
|
-
"lastReceivedLeafIndex": {
|
|
2528
|
-
"description": "Last received leaf index",
|
|
2529
|
-
"type": "number"
|
|
2530
|
-
},
|
|
2531
|
-
"direction": {
|
|
2532
|
-
"type": "string",
|
|
2533
|
-
"enum": [
|
|
2534
|
-
"sent",
|
|
2535
|
-
"received"
|
|
2536
|
-
],
|
|
2537
|
-
"description": "Message direction"
|
|
2538
|
-
},
|
|
2539
|
-
"status": {
|
|
2540
|
-
"type": "string",
|
|
2541
|
-
"enum": [
|
|
2542
|
-
"pending",
|
|
2543
|
-
"confirmed",
|
|
2544
|
-
"read",
|
|
2545
|
-
"failed",
|
|
2546
|
-
"rejected",
|
|
2547
|
-
"decrypted",
|
|
2548
|
-
"decrypt_failed"
|
|
2549
|
-
],
|
|
2550
|
-
"description": "Message status"
|
|
2551
|
-
},
|
|
2552
|
-
"msgType": {
|
|
2553
|
-
"anyOf": [
|
|
2554
|
-
{
|
|
2555
|
-
"type": "number",
|
|
2556
|
-
"const": 1
|
|
2557
|
-
},
|
|
2558
|
-
{
|
|
2559
|
-
"type": "number",
|
|
2560
|
-
"const": 3
|
|
2561
|
-
}
|
|
2562
|
-
],
|
|
2563
|
-
"description": "Message type"
|
|
2564
|
-
},
|
|
2565
|
-
"leafIndex": {
|
|
2566
|
-
"description": "Leaf index",
|
|
2567
|
-
"type": "number"
|
|
2568
|
-
},
|
|
2569
|
-
"prevRoot": {
|
|
2570
|
-
"description": "Previous Merkle Root",
|
|
2571
|
-
"type": "string"
|
|
2572
|
-
},
|
|
2573
|
-
"newRoot": {
|
|
2574
|
-
"description": "Current Merkle Root",
|
|
2575
|
-
"type": "string"
|
|
2576
|
-
},
|
|
2577
|
-
"serverSignature": {
|
|
2578
|
-
"description": "Server signature",
|
|
2579
|
-
"type": "string"
|
|
2580
|
-
},
|
|
2581
|
-
"serverTimestamp": {
|
|
2582
|
-
"description": "Server confirmation timestamp",
|
|
2583
|
-
"type": "number"
|
|
2584
|
-
},
|
|
2585
|
-
"serverPublicKey": {
|
|
2586
|
-
"description": "Server public key",
|
|
2587
|
-
"type": "string"
|
|
2588
|
-
},
|
|
2589
|
-
"arkConfirmed": {
|
|
2590
|
-
"description": "ARK confirmation",
|
|
2591
|
-
"type": "object",
|
|
2592
|
-
"properties": {
|
|
2593
|
-
"recipient": {
|
|
2594
|
-
"type": "string",
|
|
2595
|
-
"description": "Recipient address"
|
|
2596
|
-
},
|
|
2597
|
-
"recipientPublicKey": {
|
|
2598
|
-
"type": "string",
|
|
2599
|
-
"description": "Recipient public key"
|
|
2600
|
-
},
|
|
2601
|
-
"signature": {
|
|
2602
|
-
"type": "string",
|
|
2603
|
-
"description": "Recipient signature"
|
|
2604
|
-
},
|
|
2605
|
-
"timestamp": {
|
|
2606
|
-
"type": "number",
|
|
2607
|
-
"description": "ARK confirmation time"
|
|
2608
|
-
}
|
|
2609
|
-
},
|
|
2610
|
-
"required": [
|
|
2611
|
-
"recipient",
|
|
2612
|
-
"recipientPublicKey",
|
|
2613
|
-
"signature",
|
|
2614
|
-
"timestamp"
|
|
2615
|
-
],
|
|
2616
|
-
"additionalProperties": false
|
|
2617
|
-
},
|
|
2618
|
-
"createdAt": {
|
|
2619
|
-
"type": "number",
|
|
2620
|
-
"description": "Message creation time (client)"
|
|
2621
|
-
},
|
|
2622
|
-
"receivedAt": {
|
|
2623
|
-
"description": "Local reception time",
|
|
2624
|
-
"type": "number"
|
|
2625
|
-
},
|
|
2626
|
-
"zipMetadata": {
|
|
2627
|
-
"description": "ZIP file metadata",
|
|
2628
|
-
"type": "object",
|
|
2629
|
-
"properties": {
|
|
2630
|
-
"fileName": {
|
|
2631
|
-
"type": "string",
|
|
2632
|
-
"description": "ZIP filename"
|
|
2633
|
-
},
|
|
2634
|
-
"fileSize": {
|
|
2635
|
-
"type": "number",
|
|
2636
|
-
"description": "File size in bytes"
|
|
2637
|
-
},
|
|
2638
|
-
"fileHash": {
|
|
2639
|
-
"type": "string",
|
|
2640
|
-
"description": "File SHA256 hash"
|
|
2641
|
-
},
|
|
2642
|
-
"contentType": {
|
|
2643
|
-
"type": "string",
|
|
2644
|
-
"enum": [
|
|
2645
|
-
"text",
|
|
2646
|
-
"zip",
|
|
2647
|
-
"wts",
|
|
2648
|
-
"wip"
|
|
2649
|
-
],
|
|
2650
|
-
"description": "Content type"
|
|
2651
|
-
},
|
|
2652
|
-
"localCachePath": {
|
|
2653
|
-
"description": "Local cache path",
|
|
2654
|
-
"type": "string"
|
|
2655
|
-
},
|
|
2656
|
-
"downloadedAt": {
|
|
2657
|
-
"description": "Download timestamp",
|
|
2658
|
-
"type": "number"
|
|
2659
|
-
}
|
|
2660
|
-
},
|
|
2661
|
-
"required": [
|
|
2662
|
-
"fileName",
|
|
2663
|
-
"fileSize",
|
|
2664
|
-
"fileHash",
|
|
2665
|
-
"contentType"
|
|
2666
|
-
],
|
|
2667
|
-
"additionalProperties": false
|
|
2668
|
-
},
|
|
2669
|
-
"proof": {
|
|
2670
|
-
"description": "Latest on-chain proof object address (projection of the last entry in proofs; derived at the read boundary for single-value consumers)",
|
|
2671
|
-
"type": "string"
|
|
2672
|
-
},
|
|
2673
|
-
"proofs": {
|
|
2674
|
-
"description": "All on-chain proofs anchored for this message, ascending by publish time (one-to-many; a message may be proofed multiple times)",
|
|
2675
|
-
"type": "array",
|
|
2676
|
-
"items": {
|
|
2677
|
-
"type": "object",
|
|
2678
|
-
"properties": {
|
|
2679
|
-
"address": {
|
|
2680
|
-
"type": "string",
|
|
2681
|
-
"description": "On-chain Proof object address"
|
|
2682
|
-
},
|
|
2683
|
-
"network": {
|
|
2684
|
-
"description": "Network the proof was published on (testnet/mainnet/localnet); absent in legacy local records",
|
|
2685
|
-
"type": "string"
|
|
2686
|
-
},
|
|
2687
|
-
"createdAt": {
|
|
2688
|
-
"type": "number",
|
|
2689
|
-
"description": "Local record time (ms)"
|
|
2690
|
-
}
|
|
2691
|
-
},
|
|
2692
|
-
"required": [
|
|
2693
|
-
"address",
|
|
2694
|
-
"createdAt"
|
|
2695
|
-
],
|
|
2696
|
-
"additionalProperties": false,
|
|
2697
|
-
"description": "One on-chain proof anchored for this message"
|
|
2698
|
-
}
|
|
2699
|
-
},
|
|
2700
|
-
"decryptError": {
|
|
2701
|
-
"description": "Decryption failure reason",
|
|
2702
|
-
"type": "string"
|
|
2703
|
-
},
|
|
2704
|
-
"decryptAttempts": {
|
|
2705
|
-
"description": "Number of decryption attempts",
|
|
2706
|
-
"type": "number"
|
|
2707
|
-
},
|
|
2708
|
-
"lastDecryptAttemptAt": {
|
|
2709
|
-
"description": "Last decryption attempt timestamp",
|
|
2710
|
-
"type": "number"
|
|
2711
|
-
},
|
|
2712
|
-
"viewedAt": {
|
|
2713
|
-
"description": "Timestamp when the current user viewed this message (local storage). If present, indicates the message has been viewed by the user. Only applicable to received messages (direction === 'received')",
|
|
2714
|
-
"type": "number"
|
|
2715
|
-
}
|
|
2716
|
-
},
|
|
2717
|
-
"required": [
|
|
2718
|
-
"messageId",
|
|
2719
|
-
"fromAddress",
|
|
2720
|
-
"toAddress",
|
|
2721
|
-
"plaintextHash",
|
|
2722
|
-
"direction",
|
|
2723
|
-
"status",
|
|
2724
|
-
"msgType",
|
|
2725
|
-
"createdAt"
|
|
2726
|
-
],
|
|
2727
|
-
"additionalProperties": false,
|
|
2728
|
-
"description": "Message object"
|
|
2729
|
-
},
|
|
2730
|
-
"description": "Newly pulled messages (read boundary applied: attachment payloads stripped into descriptors)"
|
|
2731
|
-
},
|
|
2732
|
-
"error": {
|
|
2733
|
-
"description": "Per-account pull error; absent on success. Other accounts are unaffected",
|
|
2734
|
-
"type": "string"
|
|
2735
|
-
}
|
|
2736
|
-
},
|
|
2737
|
-
"required": [
|
|
2738
|
-
"account",
|
|
2739
|
-
"pulled",
|
|
2740
|
-
"messages"
|
|
2741
|
-
],
|
|
2742
|
-
"additionalProperties": false,
|
|
2743
|
-
"description": "Per-account fan-out pull result"
|
|
2744
|
-
},
|
|
2745
|
-
"description": "Fan-out mode (allAccounts/accounts set): one entry per account with isolated errors"
|
|
2746
|
-
},
|
|
2747
|
-
{
|
|
2748
|
-
"type": "object",
|
|
2749
|
-
"properties": {
|
|
2750
|
-
"mode": {
|
|
2751
|
-
"type": "string",
|
|
2752
|
-
"const": "incremental",
|
|
2753
|
-
"description": "Incremental (cursor) read, as opposed to the legacy bare-array pull"
|
|
2754
|
-
},
|
|
2755
|
-
"account": {
|
|
2756
|
-
"type": "string",
|
|
2757
|
-
"description": "Account read from (resolved address)"
|
|
2758
|
-
},
|
|
2759
|
-
"peer": {
|
|
2760
|
-
"type": "string",
|
|
2761
|
-
"description": "Conversation peer this cursor is scoped to"
|
|
2762
|
-
},
|
|
2763
|
-
"after": {
|
|
2764
|
-
"type": "number",
|
|
2765
|
-
"description": "Cursor supplied by the caller; returned messages all have seq > after"
|
|
2766
|
-
},
|
|
2767
|
-
"messages": {
|
|
2768
|
-
"type": "array",
|
|
2769
|
-
"items": {
|
|
2770
|
-
"type": "object",
|
|
2771
|
-
"properties": {
|
|
2772
|
-
"messageId": {
|
|
2773
|
-
"type": "string",
|
|
2774
|
-
"description": "Message ID"
|
|
2775
|
-
},
|
|
2776
|
-
"fromAddress": {
|
|
2777
|
-
"type": "string",
|
|
2778
|
-
"description": "Sender address"
|
|
2779
|
-
},
|
|
2780
|
-
"toAddress": {
|
|
2781
|
-
"type": "string",
|
|
2782
|
-
"description": "Recipient address"
|
|
2783
|
-
},
|
|
2784
|
-
"plaintextHash": {
|
|
2785
|
-
"type": "string",
|
|
2786
|
-
"description": "Plaintext hash"
|
|
2787
|
-
},
|
|
2788
|
-
"plaintext": {
|
|
2789
|
-
"description": "Decrypted plaintext text. UNDEFINED for attachment messages (zipMetadata present) — their base64 envelope is stripped at the read boundary; read msg.attachment for metadata and use save_attachment for bytes",
|
|
2790
|
-
"type": "string"
|
|
2791
|
-
},
|
|
2792
|
-
"attachment": {
|
|
2793
|
-
"description": "Present when this message is an attachment (zipMetadata present). Byte-free descriptor; payload never embedded",
|
|
2794
|
-
"type": "object",
|
|
2795
|
-
"properties": {
|
|
2796
|
-
"kind": {
|
|
2797
|
-
"type": "string",
|
|
2798
|
-
"enum": [
|
|
2799
|
-
"image",
|
|
2800
|
-
"video",
|
|
2801
|
-
"audio",
|
|
2802
|
-
"voice",
|
|
2803
|
-
"file",
|
|
2804
|
-
"wts",
|
|
2805
|
-
"wip"
|
|
2806
|
-
],
|
|
2807
|
-
"description": "Attachment business type: image/video/audio are inline-renderable media; 'voice' is an explicit voice message (webm cannot be auto-distinguished from video); 'file' is a generic document; wts/wip are evidence files"
|
|
2808
|
-
},
|
|
2809
|
-
"fileName": {
|
|
2810
|
-
"type": "string",
|
|
2811
|
-
"description": "Original file name (transport .zip suffix stripped)"
|
|
2812
|
-
},
|
|
2813
|
-
"mimeType": {
|
|
2814
|
-
"type": "string",
|
|
2815
|
-
"description": "MIME type inferred from extension or sender-provided"
|
|
2816
|
-
},
|
|
2817
|
-
"size": {
|
|
2818
|
-
"type": "number",
|
|
2819
|
-
"description": "Payload size in bytes (uncompressed)"
|
|
2820
|
-
},
|
|
2821
|
-
"caption": {
|
|
2822
|
-
"description": "Sender-provided caption (E2EE, inside the encrypted envelope)",
|
|
2823
|
-
"type": "string"
|
|
2824
|
-
},
|
|
2825
|
-
"durationMs": {
|
|
2826
|
-
"description": "Audio/video duration in milliseconds",
|
|
2827
|
-
"type": "number"
|
|
2828
|
-
},
|
|
2829
|
-
"width": {
|
|
2830
|
-
"description": "Media width in pixels",
|
|
2831
|
-
"type": "number"
|
|
2832
|
-
},
|
|
2833
|
-
"height": {
|
|
2834
|
-
"description": "Media height in pixels",
|
|
2835
|
-
"type": "number"
|
|
2836
|
-
}
|
|
2837
|
-
},
|
|
2838
|
-
"required": [
|
|
2839
|
-
"kind",
|
|
2840
|
-
"fileName",
|
|
2841
|
-
"mimeType",
|
|
2842
|
-
"size"
|
|
2843
|
-
],
|
|
2844
|
-
"additionalProperties": false
|
|
2845
|
-
},
|
|
2846
|
-
"replyTo": {
|
|
2847
|
-
"description": "Quoted (replied-to) message reference, if this message replies to a previous one",
|
|
2848
|
-
"type": "object",
|
|
2849
|
-
"properties": {
|
|
2850
|
-
"messageId": {
|
|
2851
|
-
"type": "string",
|
|
2852
|
-
"description": "Replied-to message ID (unique within the conversation)"
|
|
2853
|
-
}
|
|
2854
|
-
},
|
|
2855
|
-
"required": [
|
|
2856
|
-
"messageId"
|
|
2857
|
-
],
|
|
2858
|
-
"additionalProperties": false
|
|
2859
|
-
},
|
|
2860
|
-
"guardAddress": {
|
|
2861
|
-
"description": "Guard address",
|
|
2862
|
-
"type": "string"
|
|
2863
|
-
},
|
|
2864
|
-
"passportAddress": {
|
|
2865
|
-
"description": "Passport address",
|
|
2866
|
-
"type": "string"
|
|
2867
|
-
},
|
|
2868
|
-
"lastReceivedLeafIndex": {
|
|
2869
|
-
"description": "Last received leaf index",
|
|
2870
|
-
"type": "number"
|
|
2871
|
-
},
|
|
2872
|
-
"direction": {
|
|
2873
|
-
"type": "string",
|
|
2874
|
-
"enum": [
|
|
2875
|
-
"sent",
|
|
2876
|
-
"received"
|
|
2877
|
-
],
|
|
2878
|
-
"description": "Message direction"
|
|
2879
|
-
},
|
|
2880
|
-
"status": {
|
|
2881
|
-
"type": "string",
|
|
2882
|
-
"enum": [
|
|
2883
|
-
"pending",
|
|
2884
|
-
"confirmed",
|
|
2885
|
-
"read",
|
|
2886
|
-
"failed",
|
|
2887
|
-
"rejected",
|
|
2888
|
-
"decrypted",
|
|
2889
|
-
"decrypt_failed"
|
|
2890
|
-
],
|
|
2891
|
-
"description": "Message status"
|
|
2892
|
-
},
|
|
2893
|
-
"msgType": {
|
|
2894
|
-
"anyOf": [
|
|
2895
|
-
{
|
|
2896
|
-
"type": "number",
|
|
2897
|
-
"const": 1
|
|
2898
|
-
},
|
|
2899
|
-
{
|
|
2900
|
-
"type": "number",
|
|
2901
|
-
"const": 3
|
|
2902
|
-
}
|
|
2903
|
-
],
|
|
2904
|
-
"description": "Message type"
|
|
2905
|
-
},
|
|
2906
|
-
"leafIndex": {
|
|
2907
|
-
"description": "Leaf index",
|
|
2908
|
-
"type": "number"
|
|
2909
|
-
},
|
|
2910
|
-
"prevRoot": {
|
|
2911
|
-
"description": "Previous Merkle Root",
|
|
2912
|
-
"type": "string"
|
|
2913
|
-
},
|
|
2914
|
-
"newRoot": {
|
|
2915
|
-
"description": "Current Merkle Root",
|
|
2916
|
-
"type": "string"
|
|
2917
|
-
},
|
|
2918
|
-
"serverSignature": {
|
|
2919
|
-
"description": "Server signature",
|
|
2920
|
-
"type": "string"
|
|
2921
|
-
},
|
|
2922
|
-
"serverTimestamp": {
|
|
2923
|
-
"description": "Server confirmation timestamp",
|
|
2924
|
-
"type": "number"
|
|
2925
|
-
},
|
|
2926
|
-
"serverPublicKey": {
|
|
2927
|
-
"description": "Server public key",
|
|
2928
|
-
"type": "string"
|
|
2929
|
-
},
|
|
2930
|
-
"arkConfirmed": {
|
|
2931
|
-
"description": "ARK confirmation",
|
|
2932
|
-
"type": "object",
|
|
2933
|
-
"properties": {
|
|
2934
|
-
"recipient": {
|
|
2935
|
-
"type": "string",
|
|
2936
|
-
"description": "Recipient address"
|
|
2937
|
-
},
|
|
2938
|
-
"recipientPublicKey": {
|
|
2939
|
-
"type": "string",
|
|
2940
|
-
"description": "Recipient public key"
|
|
2941
|
-
},
|
|
2942
|
-
"signature": {
|
|
2943
|
-
"type": "string",
|
|
2944
|
-
"description": "Recipient signature"
|
|
2945
|
-
},
|
|
2946
|
-
"timestamp": {
|
|
2947
|
-
"type": "number",
|
|
2948
|
-
"description": "ARK confirmation time"
|
|
2949
|
-
}
|
|
2950
|
-
},
|
|
2951
|
-
"required": [
|
|
2952
|
-
"recipient",
|
|
2953
|
-
"recipientPublicKey",
|
|
2954
|
-
"signature",
|
|
2955
|
-
"timestamp"
|
|
2956
|
-
],
|
|
2957
|
-
"additionalProperties": false
|
|
2958
|
-
},
|
|
2959
|
-
"createdAt": {
|
|
2960
|
-
"type": "number",
|
|
2961
|
-
"description": "Message creation time (client)"
|
|
2962
|
-
},
|
|
2963
|
-
"receivedAt": {
|
|
2964
|
-
"description": "Local reception time",
|
|
2965
|
-
"type": "number"
|
|
2966
|
-
},
|
|
2967
|
-
"zipMetadata": {
|
|
2968
|
-
"description": "ZIP file metadata",
|
|
2969
|
-
"type": "object",
|
|
2970
|
-
"properties": {
|
|
2971
|
-
"fileName": {
|
|
2972
|
-
"type": "string",
|
|
2973
|
-
"description": "ZIP filename"
|
|
2974
|
-
},
|
|
2975
|
-
"fileSize": {
|
|
2976
|
-
"type": "number",
|
|
2977
|
-
"description": "File size in bytes"
|
|
2978
|
-
},
|
|
2979
|
-
"fileHash": {
|
|
2980
|
-
"type": "string",
|
|
2981
|
-
"description": "File SHA256 hash"
|
|
2982
|
-
},
|
|
2983
|
-
"contentType": {
|
|
2984
|
-
"type": "string",
|
|
2985
|
-
"enum": [
|
|
2986
|
-
"text",
|
|
2987
|
-
"zip",
|
|
2988
|
-
"wts",
|
|
2989
|
-
"wip"
|
|
2990
|
-
],
|
|
2991
|
-
"description": "Content type"
|
|
2992
|
-
},
|
|
2993
|
-
"localCachePath": {
|
|
2994
|
-
"description": "Local cache path",
|
|
2995
|
-
"type": "string"
|
|
2996
|
-
},
|
|
2997
|
-
"downloadedAt": {
|
|
2998
|
-
"description": "Download timestamp",
|
|
2999
|
-
"type": "number"
|
|
3000
|
-
}
|
|
3001
|
-
},
|
|
3002
|
-
"required": [
|
|
3003
|
-
"fileName",
|
|
3004
|
-
"fileSize",
|
|
3005
|
-
"fileHash",
|
|
3006
|
-
"contentType"
|
|
3007
|
-
],
|
|
3008
|
-
"additionalProperties": false
|
|
3009
|
-
},
|
|
3010
|
-
"proof": {
|
|
3011
|
-
"description": "Latest on-chain proof object address (projection of the last entry in proofs; derived at the read boundary for single-value consumers)",
|
|
3012
|
-
"type": "string"
|
|
3013
|
-
},
|
|
3014
|
-
"proofs": {
|
|
3015
|
-
"description": "All on-chain proofs anchored for this message, ascending by publish time (one-to-many; a message may be proofed multiple times)",
|
|
3016
|
-
"type": "array",
|
|
3017
|
-
"items": {
|
|
3018
|
-
"type": "object",
|
|
3019
|
-
"properties": {
|
|
3020
|
-
"address": {
|
|
3021
|
-
"type": "string",
|
|
3022
|
-
"description": "On-chain Proof object address"
|
|
3023
|
-
},
|
|
3024
|
-
"network": {
|
|
3025
|
-
"description": "Network the proof was published on (testnet/mainnet/localnet); absent in legacy local records",
|
|
3026
|
-
"type": "string"
|
|
3027
|
-
},
|
|
3028
|
-
"createdAt": {
|
|
3029
|
-
"type": "number",
|
|
3030
|
-
"description": "Local record time (ms)"
|
|
3031
|
-
}
|
|
3032
|
-
},
|
|
3033
|
-
"required": [
|
|
3034
|
-
"address",
|
|
3035
|
-
"createdAt"
|
|
3036
|
-
],
|
|
3037
|
-
"additionalProperties": false,
|
|
3038
|
-
"description": "One on-chain proof anchored for this message"
|
|
3039
|
-
}
|
|
3040
|
-
},
|
|
3041
|
-
"decryptError": {
|
|
3042
|
-
"description": "Decryption failure reason",
|
|
3043
|
-
"type": "string"
|
|
3044
|
-
},
|
|
3045
|
-
"decryptAttempts": {
|
|
3046
|
-
"description": "Number of decryption attempts",
|
|
3047
|
-
"type": "number"
|
|
3048
|
-
},
|
|
3049
|
-
"lastDecryptAttemptAt": {
|
|
3050
|
-
"description": "Last decryption attempt timestamp",
|
|
3051
|
-
"type": "number"
|
|
3052
|
-
},
|
|
3053
|
-
"viewedAt": {
|
|
3054
|
-
"description": "Timestamp when the current user viewed this message (local storage). If present, indicates the message has been viewed by the user. Only applicable to received messages (direction === 'received')",
|
|
3055
|
-
"type": "number"
|
|
3056
|
-
}
|
|
3057
|
-
},
|
|
3058
|
-
"required": [
|
|
3059
|
-
"messageId",
|
|
3060
|
-
"fromAddress",
|
|
3061
|
-
"toAddress",
|
|
3062
|
-
"plaintextHash",
|
|
3063
|
-
"direction",
|
|
3064
|
-
"status",
|
|
3065
|
-
"msgType",
|
|
3066
|
-
"createdAt"
|
|
3067
|
-
],
|
|
3068
|
-
"additionalProperties": false,
|
|
3069
|
-
"description": "Message object"
|
|
3070
|
-
},
|
|
3071
|
-
"description": "Messages with seq > after, ascending, at most `limit` of them"
|
|
3072
|
-
},
|
|
3073
|
-
"highest_seq": {
|
|
3074
|
-
"anyOf": [
|
|
3075
|
-
{
|
|
3076
|
-
"type": "number"
|
|
3077
|
-
},
|
|
3078
|
-
{
|
|
3079
|
-
"type": "null"
|
|
3080
|
-
}
|
|
3081
|
-
],
|
|
3082
|
-
"description": "Highest seq returned in this page — persist it and pass it as `after` for the next page. null = no new messages"
|
|
3083
|
-
},
|
|
3084
|
-
"latest_seq": {
|
|
3085
|
-
"anyOf": [
|
|
3086
|
-
{
|
|
3087
|
-
"type": "number"
|
|
3088
|
-
},
|
|
3089
|
-
{
|
|
3090
|
-
"type": "null"
|
|
3091
|
-
}
|
|
3092
|
-
],
|
|
3093
|
-
"description": "Highest seq retained locally for this conversation (compare with after to see what is pending)"
|
|
3094
|
-
},
|
|
3095
|
-
"has_more": {
|
|
3096
|
-
"type": "boolean",
|
|
3097
|
-
"description": "True when further messages beyond highest_seq are already available locally"
|
|
3098
|
-
},
|
|
3099
|
-
"gap": {
|
|
3100
|
-
"anyOf": [
|
|
3101
|
-
{
|
|
3102
|
-
"type": "object",
|
|
3103
|
-
"properties": {
|
|
3104
|
-
"from_seq": {
|
|
3105
|
-
"type": "number",
|
|
3106
|
-
"description": "First missing conversation sequence number"
|
|
3107
|
-
},
|
|
3108
|
-
"to_seq": {
|
|
3109
|
-
"type": "number",
|
|
3110
|
-
"description": "Last missing conversation sequence number"
|
|
3111
|
-
},
|
|
3112
|
-
"missing_count": {
|
|
3113
|
-
"type": "number",
|
|
3114
|
-
"description": "Total missing sequence numbers inside the scanned window"
|
|
3115
|
-
},
|
|
3116
|
-
"reason": {
|
|
3117
|
-
"type": "string",
|
|
3118
|
-
"description": "Why continuity cannot be assumed"
|
|
3119
|
-
}
|
|
3120
|
-
},
|
|
3121
|
-
"required": [
|
|
3122
|
-
"from_seq",
|
|
3123
|
-
"to_seq",
|
|
3124
|
-
"missing_count",
|
|
3125
|
-
"reason"
|
|
3126
|
-
],
|
|
3127
|
-
"additionalProperties": false,
|
|
3128
|
-
"description": "Detected message-sequence gap. A result carrying a gap is DEGRADED — do not treat it as a continuous stream"
|
|
3129
|
-
},
|
|
3130
|
-
{
|
|
3131
|
-
"type": "null"
|
|
3132
|
-
}
|
|
3133
|
-
],
|
|
3134
|
-
"description": "First detected sequence gap, or null when this page is continuous"
|
|
3135
|
-
},
|
|
3136
|
-
"degraded": {
|
|
3137
|
-
"type": "boolean",
|
|
3138
|
-
"description": "True when the result is discontinuous or incomplete in any way — never present a degraded page as complete"
|
|
3139
|
-
},
|
|
3140
|
-
"degraded_reasons": {
|
|
3141
|
-
"type": "array",
|
|
3142
|
-
"items": {
|
|
3143
|
-
"type": "string"
|
|
3144
|
-
},
|
|
3145
|
-
"description": "Every reason the result is marked degraded (empty when degraded=false)"
|
|
3146
|
-
},
|
|
3147
|
-
"read_receipt": {
|
|
3148
|
-
"type": "object",
|
|
3149
|
-
"properties": {
|
|
3150
|
-
"account": {
|
|
3151
|
-
"type": "string",
|
|
3152
|
-
"description": "Account the watermark belongs to"
|
|
3153
|
-
},
|
|
3154
|
-
"peer": {
|
|
3155
|
-
"type": "string",
|
|
3156
|
-
"description": "Conversation peer"
|
|
3157
|
-
},
|
|
3158
|
-
"read_through_seq": {
|
|
3159
|
-
"anyOf": [
|
|
3160
|
-
{
|
|
3161
|
-
"type": "number"
|
|
3162
|
-
},
|
|
3163
|
-
{
|
|
3164
|
-
"type": "null"
|
|
3165
|
-
}
|
|
3166
|
-
],
|
|
3167
|
-
"description": "Highest conversation sequence (leafIndex) this account has marked read locally. null = nothing marked read yet"
|
|
3168
|
-
},
|
|
3169
|
-
"read_at": {
|
|
3170
|
-
"anyOf": [
|
|
3171
|
-
{
|
|
3172
|
-
"type": "number"
|
|
3173
|
-
},
|
|
3174
|
-
{
|
|
3175
|
-
"type": "null"
|
|
3176
|
-
}
|
|
3177
|
-
],
|
|
3178
|
-
"description": "Local timestamp (ms) of the last watermark advance; null when no watermark exists"
|
|
3179
|
-
},
|
|
3180
|
-
"peer_read_through_seq": {
|
|
3181
|
-
"type": "null",
|
|
3182
|
-
"description": "ALWAYS null: the network exposes no peer read-receipt primitive. Do NOT read this as 'not read' — it is UNKNOWN, never reported as delivered or read"
|
|
3183
|
-
},
|
|
3184
|
-
"peer_receipt_available": {
|
|
3185
|
-
"type": "boolean",
|
|
3186
|
-
"const": false,
|
|
3187
|
-
"description": "ALWAYS false: no peer read-receipt primitive exists on the messenger network"
|
|
3188
|
-
},
|
|
3189
|
-
"scope": {
|
|
3190
|
-
"type": "string",
|
|
3191
|
-
"const": "local-session",
|
|
3192
|
-
"description": "Scope of the local watermark: this MCP server session only"
|
|
3193
|
-
},
|
|
3194
|
-
"disclosure": {
|
|
3195
|
-
"type": "string",
|
|
3196
|
-
"description": "Honest statement of why the peer side is unknown (server confirmation != read; viewedAt is local-only)"
|
|
3197
|
-
}
|
|
3198
|
-
},
|
|
3199
|
-
"required": [
|
|
3200
|
-
"account",
|
|
3201
|
-
"peer",
|
|
3202
|
-
"read_through_seq",
|
|
3203
|
-
"read_at",
|
|
3204
|
-
"peer_read_through_seq",
|
|
3205
|
-
"peer_receipt_available",
|
|
3206
|
-
"scope",
|
|
3207
|
-
"disclosure"
|
|
3208
|
-
],
|
|
3209
|
-
"additionalProperties": false,
|
|
3210
|
-
"description": "Local read watermark for this conversation (peer watermark unavailable by design)"
|
|
3211
|
-
}
|
|
3212
|
-
},
|
|
3213
|
-
"required": [
|
|
3214
|
-
"mode",
|
|
3215
|
-
"account",
|
|
3216
|
-
"peer",
|
|
3217
|
-
"after",
|
|
3218
|
-
"messages",
|
|
3219
|
-
"highest_seq",
|
|
3220
|
-
"latest_seq",
|
|
3221
|
-
"has_more",
|
|
3222
|
-
"gap",
|
|
3223
|
-
"degraded",
|
|
3224
|
-
"degraded_reasons",
|
|
3225
|
-
"read_receipt"
|
|
3226
|
-
],
|
|
3227
|
-
"additionalProperties": false,
|
|
3228
|
-
"description": "Incremental mode (`after` set): cursor page with highest_seq/has_more/gap/read watermark"
|
|
3229
|
-
}
|
|
3230
|
-
]
|
|
3231
|
-
}
|
|
3232
|
-
},
|
|
3233
|
-
"required": [
|
|
3234
|
-
"operation",
|
|
3235
|
-
"result"
|
|
3236
|
-
],
|
|
3237
|
-
"additionalProperties": false
|
|
3238
|
-
},
|
|
3239
|
-
{
|
|
3240
|
-
"type": "object",
|
|
3241
|
-
"properties": {
|
|
3242
|
-
"operation": {
|
|
3243
|
-
"type": "string",
|
|
3244
|
-
"const": "error"
|
|
3245
|
-
},
|
|
3246
|
-
"error": {
|
|
3247
|
-
"type": "string",
|
|
3248
|
-
"description": "Error message"
|
|
3249
|
-
},
|
|
3250
|
-
"error_code": {
|
|
3251
|
-
"description": "Error code",
|
|
3252
|
-
"type": "string"
|
|
3253
|
-
},
|
|
3254
|
-
"retryable": {
|
|
3255
|
-
"description": "Whether the operation is retryable",
|
|
3256
|
-
"type": "boolean"
|
|
3257
|
-
},
|
|
3258
|
-
"recovery_hint": {
|
|
3259
|
-
"description": "Recovery hint",
|
|
3260
|
-
"type": "string"
|
|
3261
|
-
}
|
|
3262
|
-
},
|
|
3263
|
-
"required": [
|
|
3264
|
-
"operation",
|
|
3265
|
-
"error"
|
|
3266
|
-
],
|
|
3267
|
-
"additionalProperties": false,
|
|
3268
|
-
"description": "Error response"
|
|
3269
|
-
}
|
|
3270
|
-
],
|
|
3271
|
-
"description": "Messenger operation result discriminated union"
|
|
3272
|
-
},
|
|
3273
|
-
"semantic": {
|
|
3274
|
-
"description": "Business semantic summary for messenger operation",
|
|
3275
|
-
"type": "object",
|
|
3276
|
-
"properties": {
|
|
3277
|
-
"intent": {
|
|
3278
|
-
"type": "string",
|
|
3279
|
-
"description": "Inferred user intent / operation goal. Constraint: snake_case string. Relation: derived from operation_type + data signals. Example: 'publish_service'"
|
|
3280
|
-
},
|
|
3281
|
-
"status": {
|
|
3282
|
-
"type": "string",
|
|
3283
|
-
"enum": [
|
|
3284
|
-
"success",
|
|
3285
|
-
"partial",
|
|
3286
|
-
"failed",
|
|
3287
|
-
"pending_input"
|
|
3288
|
-
],
|
|
3289
|
-
"description": "Business-level status (not raw tx status). 'pending_input' = needs Guard submission. Example: 'success'"
|
|
3290
|
-
},
|
|
3291
|
-
"summary": {
|
|
3292
|
-
"type": "string",
|
|
3293
|
-
"description": "One-sentence human-readable summary of what happened. AI should read this first. Example: 'Successfully published Service my-shop with Machine bound'"
|
|
3294
|
-
},
|
|
3295
|
-
"created": {
|
|
3296
|
-
"description": "Objects newly created in this operation, tagged with roles",
|
|
3297
|
-
"type": "array",
|
|
3298
|
-
"items": {
|
|
3299
|
-
"type": "object",
|
|
3300
|
-
"properties": {
|
|
3301
|
-
"id": {
|
|
3302
|
-
"type": "string",
|
|
3303
|
-
"description": "Object ID (64-hex with 0x prefix). Identifies the on-chain object. Example: '0xa1d4...'"
|
|
3304
|
-
},
|
|
3305
|
-
"name": {
|
|
3306
|
-
"description": "Local mark name if assigned, else null. Relation: resolved via local_mark_operation. Example: 'my-shop' or null",
|
|
3307
|
-
"anyOf": [
|
|
3308
|
-
{
|
|
3309
|
-
"type": "string"
|
|
3310
|
-
},
|
|
3311
|
-
{
|
|
3312
|
-
"type": "null"
|
|
3313
|
-
}
|
|
3314
|
-
]
|
|
3315
|
-
},
|
|
3316
|
-
"role": {
|
|
3317
|
-
"type": "string",
|
|
3318
|
-
"enum": [
|
|
3319
|
-
"Permission",
|
|
3320
|
-
"Guard",
|
|
3321
|
-
"Machine",
|
|
3322
|
-
"Progress",
|
|
3323
|
-
"Service",
|
|
3324
|
-
"Order",
|
|
3325
|
-
"Allocation",
|
|
3326
|
-
"Arbitration",
|
|
3327
|
-
"ArbCase",
|
|
3328
|
-
"Messenger",
|
|
3329
|
-
"Contact",
|
|
3330
|
-
"Demand",
|
|
3331
|
-
"Reward",
|
|
3332
|
-
"Personal",
|
|
3333
|
-
"Repository",
|
|
3334
|
-
"Treasury",
|
|
3335
|
-
"Discount",
|
|
3336
|
-
"Payment",
|
|
3337
|
-
"Passport",
|
|
3338
|
-
"Proof",
|
|
3339
|
-
"Other"
|
|
3340
|
-
],
|
|
3341
|
-
"description": "Business role of the object in the dependency graph. Constraint: enum of 21 values. Relation: derived from objectType last segment; drives Plan/Verify Loop positioning. Example: 'Service'"
|
|
3342
|
-
},
|
|
3343
|
-
"relation": {
|
|
3344
|
-
"description": "Relationship to another object in the dependency graph",
|
|
3345
|
-
"type": "object",
|
|
3346
|
-
"properties": {
|
|
3347
|
-
"parent": {
|
|
3348
|
-
"description": "Parent object ID, if this object belongs to another (e.g. Machine belongs to Service). Example: '0x123...' or null",
|
|
3349
|
-
"anyOf": [
|
|
3350
|
-
{
|
|
3351
|
-
"type": "string"
|
|
3352
|
-
},
|
|
3353
|
-
{
|
|
3354
|
-
"type": "null"
|
|
3355
|
-
}
|
|
3356
|
-
]
|
|
3357
|
-
},
|
|
3358
|
-
"relation_type": {
|
|
3359
|
-
"description": "How this object relates to its parent. Example: 'machine_of'",
|
|
3360
|
-
"type": "string",
|
|
3361
|
-
"enum": [
|
|
3362
|
-
"machine_of",
|
|
3363
|
-
"guard_of",
|
|
3364
|
-
"allocator_of",
|
|
3365
|
-
"permission_of",
|
|
3366
|
-
"progress_of",
|
|
3367
|
-
"allocation_of",
|
|
3368
|
-
"arb_of",
|
|
3369
|
-
"other"
|
|
3370
|
-
]
|
|
3371
|
-
}
|
|
3372
|
-
},
|
|
3373
|
-
"additionalProperties": false
|
|
3374
|
-
},
|
|
3375
|
-
"immutable": {
|
|
3376
|
-
"description": "Whether the object has entered an immutable state (e.g. Service published). Constraint: true after publish. Example: true",
|
|
3377
|
-
"type": "boolean"
|
|
3378
|
-
}
|
|
3379
|
-
},
|
|
3380
|
-
"required": [
|
|
3381
|
-
"id",
|
|
3382
|
-
"role"
|
|
3383
|
-
],
|
|
3384
|
-
"additionalProperties": false,
|
|
3385
|
-
"description": "An object tagged with its business role and relationship within the object dependency graph"
|
|
3386
|
-
}
|
|
3387
|
-
},
|
|
3388
|
-
"modified": {
|
|
3389
|
-
"description": "Objects mutated in this operation, tagged with roles",
|
|
3390
|
-
"type": "array",
|
|
3391
|
-
"items": {
|
|
3392
|
-
"type": "object",
|
|
3393
|
-
"properties": {
|
|
3394
|
-
"id": {
|
|
3395
|
-
"type": "string",
|
|
3396
|
-
"description": "Object ID (64-hex with 0x prefix). Identifies the on-chain object. Example: '0xa1d4...'"
|
|
3397
|
-
},
|
|
3398
|
-
"name": {
|
|
3399
|
-
"description": "Local mark name if assigned, else null. Relation: resolved via local_mark_operation. Example: 'my-shop' or null",
|
|
3400
|
-
"anyOf": [
|
|
3401
|
-
{
|
|
3402
|
-
"type": "string"
|
|
3403
|
-
},
|
|
3404
|
-
{
|
|
3405
|
-
"type": "null"
|
|
3406
|
-
}
|
|
3407
|
-
]
|
|
3408
|
-
},
|
|
3409
|
-
"role": {
|
|
3410
|
-
"type": "string",
|
|
3411
|
-
"enum": [
|
|
3412
|
-
"Permission",
|
|
3413
|
-
"Guard",
|
|
3414
|
-
"Machine",
|
|
3415
|
-
"Progress",
|
|
3416
|
-
"Service",
|
|
3417
|
-
"Order",
|
|
3418
|
-
"Allocation",
|
|
3419
|
-
"Arbitration",
|
|
3420
|
-
"ArbCase",
|
|
3421
|
-
"Messenger",
|
|
3422
|
-
"Contact",
|
|
3423
|
-
"Demand",
|
|
3424
|
-
"Reward",
|
|
3425
|
-
"Personal",
|
|
3426
|
-
"Repository",
|
|
3427
|
-
"Treasury",
|
|
3428
|
-
"Discount",
|
|
3429
|
-
"Payment",
|
|
3430
|
-
"Passport",
|
|
3431
|
-
"Proof",
|
|
3432
|
-
"Other"
|
|
3433
|
-
],
|
|
3434
|
-
"description": "Business role of the object in the dependency graph. Constraint: enum of 21 values. Relation: derived from objectType last segment; drives Plan/Verify Loop positioning. Example: 'Service'"
|
|
3435
|
-
},
|
|
3436
|
-
"relation": {
|
|
3437
|
-
"description": "Relationship to another object in the dependency graph",
|
|
3438
|
-
"type": "object",
|
|
3439
|
-
"properties": {
|
|
3440
|
-
"parent": {
|
|
3441
|
-
"description": "Parent object ID, if this object belongs to another (e.g. Machine belongs to Service). Example: '0x123...' or null",
|
|
3442
|
-
"anyOf": [
|
|
3443
|
-
{
|
|
3444
|
-
"type": "string"
|
|
3445
|
-
},
|
|
3446
|
-
{
|
|
3447
|
-
"type": "null"
|
|
3448
|
-
}
|
|
3449
|
-
]
|
|
3450
|
-
},
|
|
3451
|
-
"relation_type": {
|
|
3452
|
-
"description": "How this object relates to its parent. Example: 'machine_of'",
|
|
3453
|
-
"type": "string",
|
|
3454
|
-
"enum": [
|
|
3455
|
-
"machine_of",
|
|
3456
|
-
"guard_of",
|
|
3457
|
-
"allocator_of",
|
|
3458
|
-
"permission_of",
|
|
3459
|
-
"progress_of",
|
|
3460
|
-
"allocation_of",
|
|
3461
|
-
"arb_of",
|
|
3462
|
-
"other"
|
|
3463
|
-
]
|
|
3464
|
-
}
|
|
3465
|
-
},
|
|
3466
|
-
"additionalProperties": false
|
|
3467
|
-
},
|
|
3468
|
-
"immutable": {
|
|
3469
|
-
"description": "Whether the object has entered an immutable state (e.g. Service published). Constraint: true after publish. Example: true",
|
|
3470
|
-
"type": "boolean"
|
|
3471
|
-
}
|
|
3472
|
-
},
|
|
3473
|
-
"required": [
|
|
3474
|
-
"id",
|
|
3475
|
-
"role"
|
|
3476
|
-
],
|
|
3477
|
-
"additionalProperties": false,
|
|
3478
|
-
"description": "An object tagged with its business role and relationship within the object dependency graph"
|
|
3479
|
-
}
|
|
3480
|
-
},
|
|
3481
|
-
"released": {
|
|
3482
|
-
"description": "Fund movements in this operation, tagged with roles",
|
|
3483
|
-
"type": "array",
|
|
3484
|
-
"items": {
|
|
3485
|
-
"type": "object",
|
|
3486
|
-
"properties": {
|
|
3487
|
-
"amount": {
|
|
3488
|
-
"type": "string",
|
|
3489
|
-
"description": "Amount change as stringified integer (smallest unit). Negative=spend, positive=receive. Example: '-10000000000'"
|
|
3490
|
-
},
|
|
3491
|
-
"coinType": {
|
|
3492
|
-
"type": "string",
|
|
3493
|
-
"description": "Coin type tag (format: {address}::{module}::{struct}). Example: '0x2::wow::WOW'"
|
|
3494
|
-
},
|
|
3495
|
-
"role": {
|
|
3496
|
-
"type": "string",
|
|
3497
|
-
"enum": [
|
|
3498
|
-
"payment",
|
|
3499
|
-
"refund",
|
|
3500
|
-
"change",
|
|
3501
|
-
"compensation",
|
|
3502
|
-
"reward",
|
|
3503
|
-
"gas",
|
|
3504
|
-
"deposit",
|
|
3505
|
-
"release",
|
|
3506
|
-
"other"
|
|
3507
|
-
],
|
|
3508
|
-
"description": "Business role of this fund movement. Constraint: enum of 9 values. Relation: derived from operation context. Example: 'payment'"
|
|
3509
|
-
},
|
|
3510
|
-
"from": {
|
|
3511
|
-
"description": "Sender address if known. Example: '0xabc...' or null",
|
|
3512
|
-
"anyOf": [
|
|
3513
|
-
{
|
|
3514
|
-
"type": "string"
|
|
3515
|
-
},
|
|
3516
|
-
{
|
|
3517
|
-
"type": "null"
|
|
3518
|
-
}
|
|
3519
|
-
]
|
|
3520
|
-
},
|
|
3521
|
-
"to": {
|
|
3522
|
-
"description": "Recipient address if known. Example: '0xdef...' or null",
|
|
3523
|
-
"anyOf": [
|
|
3524
|
-
{
|
|
3525
|
-
"type": "string"
|
|
3526
|
-
},
|
|
3527
|
-
{
|
|
3528
|
-
"type": "null"
|
|
3529
|
-
}
|
|
3530
|
-
]
|
|
3531
|
-
}
|
|
3532
|
-
},
|
|
3533
|
-
"required": [
|
|
3534
|
-
"amount",
|
|
3535
|
-
"coinType",
|
|
3536
|
-
"role"
|
|
3537
|
-
],
|
|
3538
|
-
"additionalProperties": false,
|
|
3539
|
-
"description": "A fund movement tagged with its business role"
|
|
3540
|
-
}
|
|
3541
|
-
},
|
|
3542
|
-
"events": {
|
|
3543
|
-
"description": "On-chain events annotated with business semantics (S-8)",
|
|
3544
|
-
"type": "array",
|
|
3545
|
-
"items": {
|
|
3546
|
-
"type": "object",
|
|
3547
|
-
"properties": {
|
|
3548
|
-
"event_type": {
|
|
3549
|
-
"type": "string",
|
|
3550
|
-
"description": "Raw on-chain event type tag. Example: '0x2::service::ServicePublishedEvent'"
|
|
3551
|
-
},
|
|
3552
|
-
"business_meaning": {
|
|
3553
|
-
"type": "string",
|
|
3554
|
-
"description": "Human-readable business meaning. Example: 'Service has been published and is now immutable'"
|
|
3555
|
-
},
|
|
3556
|
-
"category": {
|
|
3557
|
-
"type": "string",
|
|
3558
|
-
"enum": [
|
|
3559
|
-
"lifecycle",
|
|
3560
|
-
"state_change",
|
|
3561
|
-
"fund_flow",
|
|
3562
|
-
"market_opportunity",
|
|
3563
|
-
"reputation",
|
|
3564
|
-
"permission",
|
|
3565
|
-
"guard",
|
|
3566
|
-
"other"
|
|
3567
|
-
],
|
|
3568
|
-
"description": "Business category. Constraint: enum of 8 values. 'market_opportunity' = supply/demand discovery signal (ServiceEvent/DemandChangedEvent/DemandPresentEvent, K3 13 §6.7); 'reputation' = trust-affecting signal (DemandFeedbackEvent). Example: 'fund_flow'"
|
|
3569
|
-
},
|
|
3570
|
-
"related_object": {
|
|
3571
|
-
"description": "Object ID the event relates to, if extractable. Example: '0x123...'",
|
|
3572
|
-
"type": "string"
|
|
3573
|
-
},
|
|
3574
|
-
"side_effect": {
|
|
3575
|
-
"description": "Side effect description for AI. Example: 'Customers can now place orders against this Service'",
|
|
3576
|
-
"type": "string"
|
|
3577
|
-
}
|
|
3578
|
-
},
|
|
3579
|
-
"required": [
|
|
3580
|
-
"event_type",
|
|
3581
|
-
"business_meaning",
|
|
3582
|
-
"category"
|
|
3583
|
-
],
|
|
3584
|
-
"additionalProperties": false,
|
|
3585
|
-
"description": "An on-chain event annotated with business semantics"
|
|
3586
|
-
}
|
|
3587
|
-
},
|
|
3588
|
-
"next_actions": {
|
|
3589
|
-
"description": "Recommended next actions to drive the workflow forward",
|
|
3590
|
-
"type": "array",
|
|
3591
|
-
"items": {
|
|
3592
|
-
"type": "object",
|
|
3593
|
-
"properties": {
|
|
3594
|
-
"action": {
|
|
3595
|
-
"type": "string",
|
|
3596
|
-
"description": "Recommended next action. Example: 'add sales products'"
|
|
3597
|
-
},
|
|
3598
|
-
"reason": {
|
|
3599
|
-
"type": "string",
|
|
3600
|
-
"description": "Why this action is recommended. Example: 'Service has no products; customers cannot order'"
|
|
3601
|
-
},
|
|
3602
|
-
"tool": {
|
|
3603
|
-
"description": "MCP tool to use, if applicable. Example: 'onchain_operations'",
|
|
3604
|
-
"type": "string"
|
|
3605
|
-
},
|
|
3606
|
-
"prerequisite": {
|
|
3607
|
-
"description": "Condition that must hold before this action. Example: 'Service must be created first'",
|
|
3608
|
-
"type": "string"
|
|
3609
|
-
},
|
|
3610
|
-
"priority": {
|
|
3611
|
-
"type": "string",
|
|
3612
|
-
"enum": [
|
|
3613
|
-
"required",
|
|
3614
|
-
"recommended",
|
|
3615
|
-
"optional"
|
|
3616
|
-
],
|
|
3617
|
-
"description": "Priority. Constraint: enum. Example: 'required'"
|
|
3618
|
-
}
|
|
3619
|
-
},
|
|
3620
|
-
"required": [
|
|
3621
|
-
"action",
|
|
3622
|
-
"reason",
|
|
3623
|
-
"priority"
|
|
3624
|
-
],
|
|
3625
|
-
"additionalProperties": false,
|
|
3626
|
-
"description": "A recommended next action with priority and rationale"
|
|
3627
|
-
}
|
|
3628
|
-
},
|
|
3629
|
-
"warnings": {
|
|
3630
|
-
"description": "Business-level warnings. Example: 'order_allocators not configured; order funds cannot be distributed'",
|
|
3631
|
-
"type": "array",
|
|
3632
|
-
"items": {
|
|
3633
|
-
"type": "string"
|
|
3634
|
-
}
|
|
3635
|
-
},
|
|
3636
|
-
"experience": {
|
|
3637
|
-
"description": "Experience layer feedback from past operations (Phase 2 Topic 2)",
|
|
3638
|
-
"type": "object",
|
|
3639
|
-
"properties": {
|
|
3640
|
-
"advice": {
|
|
3641
|
-
"description": "Advice from past experience. Example: 'Last time you forgot to set buy_guard; add it before publishing'",
|
|
3642
|
-
"type": "string"
|
|
3643
|
-
},
|
|
3644
|
-
"avoid": {
|
|
3645
|
-
"description": "Pitfalls to avoid based on history. Example: ['Guard rejection on delivery_proof']",
|
|
3646
|
-
"type": "array",
|
|
3647
|
-
"items": {
|
|
3648
|
-
"type": "string"
|
|
3649
|
-
}
|
|
3650
|
-
},
|
|
3651
|
-
"relevance": {
|
|
3652
|
-
"description": "Relevance score 0-1 of the matched experience. Example: 0.85",
|
|
3653
|
-
"type": "number",
|
|
3654
|
-
"minimum": 0,
|
|
3655
|
-
"maximum": 1
|
|
3656
|
-
},
|
|
3657
|
-
"matched_scenario": {
|
|
3658
|
-
"description": "Matched historical scenario. Example: 'publish_service_freelance'",
|
|
3659
|
-
"type": "string"
|
|
3660
|
-
}
|
|
3661
|
-
},
|
|
3662
|
-
"additionalProperties": false
|
|
3663
|
-
},
|
|
3664
|
-
"service_status": {
|
|
3665
|
-
"description": "Phase 2 runtime service status (populated when semantic_rich is enabled). Lets AI see active services in each response.",
|
|
3666
|
-
"type": "object",
|
|
3667
|
-
"properties": {
|
|
3668
|
-
"active": {
|
|
3669
|
-
"type": "array",
|
|
3670
|
-
"items": {
|
|
3671
|
-
"type": "string"
|
|
3672
|
-
},
|
|
3673
|
-
"description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','experience_layer']"
|
|
3674
|
-
},
|
|
3675
|
-
"inactive": {
|
|
3676
|
-
"description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness']",
|
|
3677
|
-
"type": "array",
|
|
3678
|
-
"items": {
|
|
3679
|
-
"type": "string"
|
|
3680
|
-
}
|
|
3681
|
-
}
|
|
3682
|
-
},
|
|
3683
|
-
"required": [
|
|
3684
|
-
"active"
|
|
3685
|
-
],
|
|
3686
|
-
"additionalProperties": false
|
|
3687
|
-
},
|
|
3688
|
-
"customer_advice": {
|
|
3689
|
-
"description": "Buyer-side advice (Phase 3 C-3.3). Populated when customer_intelligence service is enabled AND operation is order/query on a Service. Contains risk_score, recommendations, reminders, and preference_match.",
|
|
3690
|
-
"type": "object",
|
|
3691
|
-
"properties": {
|
|
3692
|
-
"risk_score": {
|
|
3693
|
-
"description": "Composite risk score 0-100 (higher = safer). Relation: risk dimension of the onchain_topology graph evaluation. Example: 75",
|
|
3694
|
-
"type": "number",
|
|
3695
|
-
"minimum": 0,
|
|
3696
|
-
"maximum": 100
|
|
3697
|
-
},
|
|
3698
|
-
"risk_level": {
|
|
3699
|
-
"description": "Risk level bucket. 'high' = strongly discourage purchase. Example: 'medium_high'",
|
|
3700
|
-
"type": "string",
|
|
3701
|
-
"enum": [
|
|
3702
|
-
"low",
|
|
3703
|
-
"medium_low",
|
|
3704
|
-
"medium_high",
|
|
3705
|
-
"high"
|
|
3706
|
-
]
|
|
3707
|
-
},
|
|
3708
|
-
"recommendations": {
|
|
3709
|
-
"type": "array",
|
|
3710
|
-
"items": {
|
|
3711
|
-
"type": "string"
|
|
3712
|
-
},
|
|
3713
|
-
"description": "Actionable recommendations for the buyer. Example: ['Require merchant to configure arbitration','Negotiate refund terms via Messenger']"
|
|
3714
|
-
},
|
|
3715
|
-
"reminders": {
|
|
3716
|
-
"type": "array",
|
|
3717
|
-
"items": {
|
|
3718
|
-
"type": "object",
|
|
3719
|
-
"properties": {
|
|
3720
|
-
"id": {
|
|
3721
|
-
"type": "string",
|
|
3722
|
-
"description": "Reminder rule id. Example: 'high_risk_score'"
|
|
3723
|
-
},
|
|
3724
|
-
"stage": {
|
|
3725
|
-
"type": "string",
|
|
3726
|
-
"enum": [
|
|
3727
|
-
"browse",
|
|
3728
|
-
"evaluate",
|
|
3729
|
-
"preorder",
|
|
3730
|
-
"in_progress",
|
|
3731
|
-
"complete",
|
|
3732
|
-
"after_sale"
|
|
3733
|
-
],
|
|
3734
|
-
"description": "Order lifecycle stage when this reminder fires. Example: 'evaluate'"
|
|
3735
|
-
},
|
|
3736
|
-
"priority": {
|
|
3737
|
-
"type": "string",
|
|
3738
|
-
"enum": [
|
|
3739
|
-
"required",
|
|
3740
|
-
"recommended",
|
|
3741
|
-
"info",
|
|
3742
|
-
"reminder"
|
|
3743
|
-
],
|
|
3744
|
-
"description": "Priority. 'required' = blocks purchase; 'recommended' = strong caution. Example: 'required'"
|
|
3745
|
-
},
|
|
3746
|
-
"message": {
|
|
3747
|
-
"type": "string",
|
|
3748
|
-
"description": "Human-readable reminder message. Example: 'Composite risk score 25/100, strongly discourage purchase'"
|
|
3749
|
-
},
|
|
3750
|
-
"action": {
|
|
3751
|
-
"description": "Suggested next action. Example: 'require merchant to bind Arbitration before ordering'",
|
|
3752
|
-
"type": "string"
|
|
3753
|
-
}
|
|
3754
|
-
},
|
|
3755
|
-
"required": [
|
|
3756
|
-
"id",
|
|
3757
|
-
"stage",
|
|
3758
|
-
"priority",
|
|
3759
|
-
"message"
|
|
3760
|
-
],
|
|
3761
|
-
"additionalProperties": false,
|
|
3762
|
-
"description": "A buyer-side reminder triggered at a specific order lifecycle stage (Phase 3 C-3)."
|
|
3763
|
-
},
|
|
3764
|
-
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'Ambiguous Guard must be human-reviewed'}]"
|
|
3765
|
-
},
|
|
3766
|
-
"preference_match": {
|
|
3767
|
-
"description": "Service-to-preference match (populated when user preferences exist). Example: {score:75, matches:[...], mismatches:[...]}",
|
|
3768
|
-
"type": "object",
|
|
3769
|
-
"properties": {
|
|
3770
|
-
"score": {
|
|
3771
|
-
"type": "number",
|
|
3772
|
-
"minimum": 0,
|
|
3773
|
-
"maximum": 100,
|
|
3774
|
-
"description": "Match score 0-100 (higher = better fit). Example: 75"
|
|
3775
|
-
},
|
|
3776
|
-
"matches": {
|
|
3777
|
-
"type": "array",
|
|
3778
|
-
"items": {
|
|
3779
|
-
"type": "string"
|
|
3780
|
-
},
|
|
3781
|
-
"description": "Aspects that match user preferences. Example: ['Price 10% below average','Has arbitration']"
|
|
3782
|
-
},
|
|
3783
|
-
"mismatches": {
|
|
3784
|
-
"type": "array",
|
|
3785
|
-
"items": {
|
|
3786
|
-
"type": "string"
|
|
3787
|
-
},
|
|
3788
|
-
"description": "Aspects that mismatch user preferences. Example: ['Delivery cycle exceeds expectation']"
|
|
3789
|
-
}
|
|
3790
|
-
},
|
|
3791
|
-
"required": [
|
|
3792
|
-
"score",
|
|
3793
|
-
"matches",
|
|
3794
|
-
"mismatches"
|
|
3795
|
-
],
|
|
3796
|
-
"additionalProperties": false
|
|
3797
|
-
}
|
|
3798
|
-
},
|
|
3799
|
-
"required": [
|
|
3800
|
-
"recommendations",
|
|
3801
|
-
"reminders"
|
|
3802
|
-
],
|
|
3803
|
-
"additionalProperties": false
|
|
3804
|
-
},
|
|
3805
|
-
"evolution_context": {
|
|
3806
|
-
"description": "Phase 4 industry evolution context (populated when industry_evolution service is enabled). Provides AI with industry health signals and evolution advice.",
|
|
3807
|
-
"type": "object",
|
|
3808
|
-
"properties": {
|
|
3809
|
-
"industry_signal": {
|
|
3810
|
-
"description": "Industry evolution signal summary. Example: 'Industry health 82/100 (healthy); 25 cumulative industry signals'",
|
|
3811
|
-
"type": "string"
|
|
3812
|
-
},
|
|
3813
|
-
"evolution_advice": {
|
|
3814
|
-
"description": "Evolution advice for the current operation. Example: 'Recommend mandatory arbitration + compensation fund + delivery Guard'",
|
|
3815
|
-
"type": "string"
|
|
3816
|
-
},
|
|
3817
|
-
"confidence": {
|
|
3818
|
-
"type": "number",
|
|
3819
|
-
"minimum": 0,
|
|
3820
|
-
"maximum": 1,
|
|
3821
|
-
"description": "Confidence of the evolution context 0-1. <0.5 means no data yet. Example: 0.75"
|
|
3822
|
-
},
|
|
3823
|
-
"health_score": {
|
|
3824
|
-
"description": "Industry health score 0-100 if available. Example: 82",
|
|
3825
|
-
"type": "number",
|
|
3826
|
-
"minimum": 0,
|
|
3827
|
-
"maximum": 100
|
|
3828
|
-
},
|
|
3829
|
-
"pending_suggestions": {
|
|
3830
|
-
"description": "Count of pending industry update suggestions (filtered by role if role is set). Example: 3",
|
|
3831
|
-
"type": "integer",
|
|
3832
|
-
"minimum": 0,
|
|
3833
|
-
"maximum": 9007199254740991
|
|
3834
|
-
},
|
|
3835
|
-
"intent": {
|
|
3836
|
-
"description": "Phase 4 P4-6.C: Current business intent driving the scoring model. Absent = 'default'. Example: 'growth'",
|
|
3837
|
-
"type": "string",
|
|
3838
|
-
"enum": [
|
|
3839
|
-
"default",
|
|
3840
|
-
"growth",
|
|
3841
|
-
"retention",
|
|
3842
|
-
"compliance",
|
|
3843
|
-
"efficiency",
|
|
3844
|
-
"trust_building",
|
|
3845
|
-
"custom"
|
|
3846
|
-
]
|
|
3847
|
-
},
|
|
3848
|
-
"role_advice": {
|
|
3849
|
-
"description": "Phase 4 P4-6.C: Role-targeted advice strings (merchant/customer/demander/prospect/supplier/collaborator/arbitrator). Example: ['Strengthen loyalty flywheel','Optimize first-order conversion']",
|
|
3850
|
-
"type": "array",
|
|
3851
|
-
"items": {
|
|
3852
|
-
"type": "string"
|
|
3853
|
-
}
|
|
3854
|
-
},
|
|
3855
|
-
"role": {
|
|
3856
|
-
"description": "Phase 4 P4-6.C: Role used for advice routing. Example: 'merchant'",
|
|
3857
|
-
"type": "string",
|
|
3858
|
-
"enum": [
|
|
3859
|
-
"merchant",
|
|
3860
|
-
"customer",
|
|
3861
|
-
"demander",
|
|
3862
|
-
"prospect",
|
|
3863
|
-
"supplier",
|
|
3864
|
-
"collaborator",
|
|
3865
|
-
"arbitrator"
|
|
3866
|
-
]
|
|
3867
|
-
}
|
|
3868
|
-
},
|
|
3869
|
-
"required": [
|
|
3870
|
-
"confidence"
|
|
3871
|
-
],
|
|
3872
|
-
"additionalProperties": false
|
|
3873
|
-
},
|
|
3874
|
-
"guard_advice": {
|
|
3875
|
-
"description": "Phase 5 Guard capability advice (populated when user intent involves Guard). Provides puzzle status, scene matching, suggested patterns, available queries, risk warnings, and confirmation text. AI uses this to guide Guard design dialogue (R1-R10).",
|
|
3876
|
-
"type": "object",
|
|
3877
|
-
"properties": {
|
|
3878
|
-
"current_round": {
|
|
3879
|
-
"description": "Current R1-R10 dialogue round. R1=intent, R2=table, R3=tree, R4=rely, R5=binding, R6=review, R7=CREATE, R8=test, R9=bind, R10=verify. Example: 'R3'",
|
|
3880
|
-
"type": "string",
|
|
3881
|
-
"enum": [
|
|
3882
|
-
"R1",
|
|
3883
|
-
"R2",
|
|
3884
|
-
"R3",
|
|
3885
|
-
"R4",
|
|
3886
|
-
"R5",
|
|
3887
|
-
"R6",
|
|
3888
|
-
"R7",
|
|
3889
|
-
"R8",
|
|
3890
|
-
"R9",
|
|
3891
|
-
"R10"
|
|
3892
|
-
]
|
|
3893
|
-
},
|
|
3894
|
-
"puzzle_status": {
|
|
3895
|
-
"description": "Information puzzle completeness (6 dimensions). Missing dimensions need user input before CREATE.",
|
|
3896
|
-
"type": "object",
|
|
3897
|
-
"properties": {
|
|
3898
|
-
"intent": {
|
|
3899
|
-
"type": "boolean",
|
|
3900
|
-
"description": "Intent dimension complete (action + rule + failure conditions)"
|
|
3901
|
-
},
|
|
3902
|
-
"binding": {
|
|
3903
|
-
"type": "boolean",
|
|
3904
|
-
"description": "Binding dimension complete (host object + field + circular ref)"
|
|
3905
|
-
},
|
|
3906
|
-
"data": {
|
|
3907
|
-
"type": "boolean",
|
|
3908
|
-
"description": "Data dimension complete (table entries + witnesses)"
|
|
3909
|
-
},
|
|
3910
|
-
"query": {
|
|
3911
|
-
"type": "boolean",
|
|
3912
|
-
"description": "Query dimension complete (query instructions if needed)"
|
|
3913
|
-
},
|
|
3914
|
-
"logic": {
|
|
3915
|
-
"type": "boolean",
|
|
3916
|
-
"description": "Logic dimension complete (root node returns Bool)"
|
|
3917
|
-
},
|
|
3918
|
-
"constraints": {
|
|
3919
|
-
"type": "boolean",
|
|
3920
|
-
"description": "Constraints dimension complete (10 Pitfalls checked)"
|
|
3921
|
-
}
|
|
3922
|
-
},
|
|
3923
|
-
"required": [
|
|
3924
|
-
"intent",
|
|
3925
|
-
"binding",
|
|
3926
|
-
"data",
|
|
3927
|
-
"query",
|
|
3928
|
-
"logic",
|
|
3929
|
-
"constraints"
|
|
3930
|
-
],
|
|
3931
|
-
"additionalProperties": false
|
|
3932
|
-
},
|
|
3933
|
-
"matched_scene": {
|
|
3934
|
-
"description": "Matched Guard scene id from the 8 binding scenarios ledger. Example: 'machine_forward_guard'",
|
|
3935
|
-
"type": "string"
|
|
3936
|
-
},
|
|
3937
|
-
"scene_description": {
|
|
3938
|
-
"description": "Human-readable scene description. Example: 'Workflow node forward validation (Forward.guard)'",
|
|
3939
|
-
"type": "string"
|
|
3940
|
-
},
|
|
3941
|
-
"scene_constraints": {
|
|
3942
|
-
"description": "Special constraints for the matched scene. Example: ['Forward.guard cannot be modified after Machine is published']",
|
|
3943
|
-
"type": "array",
|
|
3944
|
-
"items": {
|
|
3945
|
-
"type": "string"
|
|
3946
|
-
}
|
|
3947
|
-
},
|
|
3948
|
-
"suggested_patterns": {
|
|
3949
|
-
"description": "Suggested Guard patterns based on user intent. Example: ['time lock','progress status check']",
|
|
3950
|
-
"type": "array",
|
|
3951
|
-
"items": {
|
|
3952
|
-
"type": "string"
|
|
3953
|
-
}
|
|
3954
|
-
},
|
|
3955
|
-
"available_queries": {
|
|
3956
|
-
"description": "Available query instructions for the current context (subset of the GUARDQUERY catalog)",
|
|
3957
|
-
"type": "array",
|
|
3958
|
-
"items": {
|
|
3959
|
-
"type": "object",
|
|
3960
|
-
"properties": {
|
|
3961
|
-
"id": {
|
|
3962
|
-
"type": "integer",
|
|
3963
|
-
"minimum": -9007199254740991,
|
|
3964
|
-
"maximum": 9007199254740991,
|
|
3965
|
-
"description": "Query instruction ID. Example: 1253"
|
|
3966
|
-
},
|
|
3967
|
-
"name": {
|
|
3968
|
-
"type": "string",
|
|
3969
|
-
"description": "Query instruction name. Example: 'progress.current'"
|
|
3970
|
-
},
|
|
3971
|
-
"objectType": {
|
|
3972
|
-
"type": "string",
|
|
3973
|
-
"description": "Target object type. Example: 'Progress'"
|
|
3974
|
-
},
|
|
3975
|
-
"returnType": {
|
|
3976
|
-
"type": "string",
|
|
3977
|
-
"description": "Return value type. Example: 'String'"
|
|
3978
|
-
},
|
|
3979
|
-
"description": {
|
|
3980
|
-
"description": "Query description",
|
|
3981
|
-
"type": "string"
|
|
3982
|
-
}
|
|
3983
|
-
},
|
|
3984
|
-
"required": [
|
|
3985
|
-
"id",
|
|
3986
|
-
"name",
|
|
3987
|
-
"objectType",
|
|
3988
|
-
"returnType"
|
|
3989
|
-
],
|
|
3990
|
-
"additionalProperties": false,
|
|
3991
|
-
"description": "A Guard query instruction available for the current context (subset of the GUARDQUERY catalog)."
|
|
3992
|
-
}
|
|
3993
|
-
},
|
|
3994
|
-
"risk_warnings": {
|
|
3995
|
-
"description": "Risk warnings for the current Guard design. Example: ['Guard cannot be modified after creation','Time lock test uses 1000ms']",
|
|
3996
|
-
"type": "array",
|
|
3997
|
-
"items": {
|
|
3998
|
-
"type": "string"
|
|
3999
|
-
}
|
|
4000
|
-
},
|
|
4001
|
-
"pending_questions": {
|
|
4002
|
-
"description": "Questions for the user to complete the puzzle. Example: ['Which Host Object will the Guard bind to?']",
|
|
4003
|
-
"type": "array",
|
|
4004
|
-
"items": {
|
|
4005
|
-
"type": "string"
|
|
4006
|
-
}
|
|
4007
|
-
},
|
|
4008
|
-
"confirmation_text": {
|
|
4009
|
-
"description": "Structured semantic confirmation text for user review (generated when puzzle is complete). User must explicitly confirm before CREATE.",
|
|
4010
|
-
"type": "string"
|
|
4011
|
-
},
|
|
4012
|
-
"test_result": {
|
|
4013
|
-
"description": "gen_passport static test result. status is read from the created Passport's on-chain result field; tx success alone never means the Guard passed.",
|
|
4014
|
-
"type": "object",
|
|
4015
|
-
"properties": {
|
|
4016
|
-
"status": {
|
|
4017
|
-
"type": "string",
|
|
4018
|
-
"enum": [
|
|
4019
|
-
"pass",
|
|
4020
|
-
"fail",
|
|
4021
|
-
"not_tested"
|
|
4022
|
-
]
|
|
4023
|
-
},
|
|
4024
|
-
"failure_node": {
|
|
4025
|
-
"description": "Node that caused failure (if fail)",
|
|
4026
|
-
"type": "string"
|
|
4027
|
-
},
|
|
4028
|
-
"passport_id": {
|
|
4029
|
-
"description": "Generated Passport ID (if pass)",
|
|
4030
|
-
"type": "string"
|
|
4031
|
-
},
|
|
4032
|
-
"guard_results": {
|
|
4033
|
-
"description": "Per-Guard evaluation result read from the Passport (docs#40: the pass/fail status comes from Passport.result, not transaction success)",
|
|
4034
|
-
"type": "array",
|
|
4035
|
-
"items": {
|
|
4036
|
-
"type": "object",
|
|
4037
|
-
"properties": {
|
|
4038
|
-
"guard": {
|
|
4039
|
-
"type": "string"
|
|
4040
|
-
},
|
|
4041
|
-
"result": {
|
|
4042
|
-
"type": "boolean"
|
|
4043
|
-
},
|
|
4044
|
-
"impack": {
|
|
4045
|
-
"type": "boolean"
|
|
4046
|
-
}
|
|
4047
|
-
},
|
|
4048
|
-
"required": [
|
|
4049
|
-
"guard",
|
|
4050
|
-
"result"
|
|
4051
|
-
],
|
|
4052
|
-
"additionalProperties": false
|
|
4053
|
-
}
|
|
4054
|
-
}
|
|
4055
|
-
},
|
|
4056
|
-
"required": [
|
|
4057
|
-
"status"
|
|
4058
|
-
],
|
|
4059
|
-
"additionalProperties": false
|
|
4060
|
-
},
|
|
4061
|
-
"risk_assessment": {
|
|
4062
|
-
"description": "Business-layer risk assessment (game theory, data source trust, logic gaps). Populated during Guard design to warn about business risks beyond syntax.",
|
|
4063
|
-
"type": "object",
|
|
4064
|
-
"properties": {
|
|
4065
|
-
"overall_risk": {
|
|
4066
|
-
"type": "string",
|
|
4067
|
-
"enum": [
|
|
4068
|
-
"critical",
|
|
4069
|
-
"high",
|
|
4070
|
-
"medium",
|
|
4071
|
-
"low",
|
|
4072
|
-
"info"
|
|
4073
|
-
],
|
|
4074
|
-
"description": "Overall risk level (highest from all risks)"
|
|
4075
|
-
},
|
|
4076
|
-
"risk_count": {
|
|
4077
|
-
"type": "integer",
|
|
4078
|
-
"minimum": -9007199254740991,
|
|
4079
|
-
"maximum": 9007199254740991,
|
|
4080
|
-
"description": "Total number of detected risks"
|
|
4081
|
-
},
|
|
4082
|
-
"critical_count": {
|
|
4083
|
-
"type": "integer",
|
|
4084
|
-
"minimum": -9007199254740991,
|
|
4085
|
-
"maximum": 9007199254740991,
|
|
4086
|
-
"description": "Number of critical risks"
|
|
4087
|
-
},
|
|
4088
|
-
"high_count": {
|
|
4089
|
-
"type": "integer",
|
|
4090
|
-
"minimum": -9007199254740991,
|
|
4091
|
-
"maximum": 9007199254740991,
|
|
4092
|
-
"description": "Number of high risks"
|
|
4093
|
-
},
|
|
4094
|
-
"needs_human_review": {
|
|
4095
|
-
"type": "boolean",
|
|
4096
|
-
"description": "Whether human review is required (critical or 2+ high risks)"
|
|
4097
|
-
},
|
|
4098
|
-
"top_risks": {
|
|
4099
|
-
"type": "array",
|
|
4100
|
-
"items": {
|
|
4101
|
-
"type": "string"
|
|
4102
|
-
},
|
|
4103
|
-
"description": "Top risk titles (critical and high, max 3)"
|
|
4104
|
-
},
|
|
4105
|
-
"stakeholder_advice": {
|
|
4106
|
-
"description": "Per-stakeholder advice. Key=stakeholder (customer/provider/arbitrator/claimant), value=advice list",
|
|
4107
|
-
"type": "object",
|
|
4108
|
-
"propertyNames": {
|
|
4109
|
-
"type": "string"
|
|
4110
|
-
},
|
|
4111
|
-
"additionalProperties": {
|
|
4112
|
-
"type": "array",
|
|
4113
|
-
"items": {
|
|
4114
|
-
"type": "string"
|
|
4115
|
-
}
|
|
4116
|
-
}
|
|
4117
|
-
}
|
|
4118
|
-
},
|
|
4119
|
-
"required": [
|
|
4120
|
-
"overall_risk",
|
|
4121
|
-
"risk_count",
|
|
4122
|
-
"critical_count",
|
|
4123
|
-
"high_count",
|
|
4124
|
-
"needs_human_review",
|
|
4125
|
-
"top_risks"
|
|
4126
|
-
],
|
|
4127
|
-
"additionalProperties": false
|
|
4128
|
-
},
|
|
4129
|
-
"blueprint_verdict": {
|
|
4130
|
-
"description": "Creation-time blueprint verdict: business intent + host rich semantics + logic tree composed and run through the full per-host verification battery BEFORE the guard create tx. Present when binding_hint maps to a catalog host; absent when no host is known (add binding_hint to enable).",
|
|
4131
|
-
"type": "object",
|
|
4132
|
-
"properties": {
|
|
4133
|
-
"host": {
|
|
4134
|
-
"type": "string",
|
|
4135
|
-
"description": "Catalog host id this guard was verified against (guard-host-context)."
|
|
4136
|
-
},
|
|
4137
|
-
"status": {
|
|
4138
|
-
"type": "string",
|
|
4139
|
-
"enum": [
|
|
4140
|
-
"blocked",
|
|
4141
|
-
"proceed_with_warnings",
|
|
4142
|
-
"proceed"
|
|
4143
|
-
],
|
|
4144
|
-
"description": "Single authority over create readiness. blocked = structural defect, fix BEFORE create (guards are immutable after create)."
|
|
4145
|
-
},
|
|
4146
|
-
"statement": {
|
|
4147
|
-
"type": "string",
|
|
4148
|
-
"description": "One authoritative verdict statement naming the finding codes."
|
|
4149
|
-
},
|
|
4150
|
-
"findings": {
|
|
4151
|
-
"type": "array",
|
|
4152
|
-
"items": {
|
|
4153
|
-
"type": "object",
|
|
4154
|
-
"properties": {
|
|
4155
|
-
"source": {
|
|
4156
|
-
"type": "string",
|
|
4157
|
-
"description": "Which verifier produced the finding (verifyGuardBinding / auditGuardRelies / auditQuoteGuardCandidate / blueprint)."
|
|
4158
|
-
},
|
|
4159
|
-
"code": {
|
|
4160
|
-
"type": "string",
|
|
4161
|
-
"description": "Stable finding id (e.g. MF_SLOT_IDENTITY_ANCHOR, RC_NO_ORDER_ANCHOR)."
|
|
4162
|
-
},
|
|
4163
|
-
"level": {
|
|
4164
|
-
"type": "string",
|
|
4165
|
-
"enum": [
|
|
4166
|
-
"critical",
|
|
4167
|
-
"warning",
|
|
4168
|
-
"info"
|
|
4169
|
-
]
|
|
4170
|
-
},
|
|
4171
|
-
"detail": {
|
|
4172
|
-
"type": "string"
|
|
4173
|
-
}
|
|
4174
|
-
},
|
|
4175
|
-
"required": [
|
|
4176
|
-
"source",
|
|
4177
|
-
"code",
|
|
4178
|
-
"level",
|
|
4179
|
-
"detail"
|
|
4180
|
-
],
|
|
4181
|
-
"additionalProperties": false
|
|
4182
|
-
},
|
|
4183
|
-
"description": "All findings from the composed verification battery."
|
|
4184
|
-
},
|
|
4185
|
-
"host_context": {
|
|
4186
|
-
"description": "The host rich semantics this guard inherits — inlined so the design dialogue argues from facts, not memory.",
|
|
4187
|
-
"type": "object",
|
|
4188
|
-
"properties": {
|
|
4189
|
-
"signer_subject": {
|
|
4190
|
-
"type": "string"
|
|
4191
|
-
},
|
|
4192
|
-
"order_anchor": {
|
|
4193
|
-
"type": "string"
|
|
4194
|
-
},
|
|
4195
|
-
"identity_obligation": {
|
|
4196
|
-
"type": "string"
|
|
4197
|
-
}
|
|
4198
|
-
},
|
|
4199
|
-
"required": [
|
|
4200
|
-
"signer_subject",
|
|
4201
|
-
"order_anchor",
|
|
4202
|
-
"identity_obligation"
|
|
4203
|
-
],
|
|
4204
|
-
"additionalProperties": false
|
|
4205
|
-
}
|
|
4206
|
-
},
|
|
4207
|
-
"required": [
|
|
4208
|
-
"host",
|
|
4209
|
-
"status",
|
|
4210
|
-
"statement",
|
|
4211
|
-
"findings"
|
|
4212
|
-
],
|
|
4213
|
-
"additionalProperties": false
|
|
4214
|
-
}
|
|
4215
|
-
},
|
|
4216
|
-
"additionalProperties": false
|
|
4217
|
-
},
|
|
4218
|
-
"workflow_guidance": {
|
|
4219
|
-
"description": "K3 permission-aware workflow guidance: current node + ALL reachable next nodes with their operator/permission/guard + K3 recommendation. Populated when a Progress (or Order with Progress) is queried and after progress operate. AI must read this BEFORE proposing the next workflow operation.",
|
|
4220
|
-
"type": "object",
|
|
4221
|
-
"properties": {
|
|
4222
|
-
"current_node": {
|
|
4223
|
-
"type": "string",
|
|
4224
|
-
"description": "Current node of the Progress. Example: 'serving'"
|
|
4225
|
-
},
|
|
4226
|
-
"caller": {
|
|
4227
|
-
"description": "The account (name/address) this guidance is framed for (env.account). Example: 'london_guide'",
|
|
4228
|
-
"type": "string"
|
|
4229
|
-
},
|
|
4230
|
-
"options": {
|
|
4231
|
-
"type": "array",
|
|
4232
|
-
"items": {
|
|
4233
|
-
"type": "object",
|
|
4234
|
-
"properties": {
|
|
4235
|
-
"next_node": {
|
|
4236
|
-
"type": "string",
|
|
4237
|
-
"description": "Target node this forward advances INTO. Example: 'serving'"
|
|
4238
|
-
},
|
|
4239
|
-
"forward": {
|
|
4240
|
-
"type": "string",
|
|
4241
|
-
"description": "Forward (operation) name. Example: 'StartService'"
|
|
4242
|
-
},
|
|
4243
|
-
"weight": {
|
|
4244
|
-
"type": "number",
|
|
4245
|
-
"description": "Forward weight contributed toward the pair threshold. Example: 1"
|
|
4246
|
-
},
|
|
4247
|
-
"operator": {
|
|
4248
|
-
"type": "object",
|
|
4249
|
-
"properties": {
|
|
4250
|
-
"kind": {
|
|
4251
|
-
"type": "string",
|
|
4252
|
-
"enum": [
|
|
4253
|
-
"order_holder",
|
|
4254
|
-
"permission_index",
|
|
4255
|
-
"named_operator"
|
|
4256
|
-
],
|
|
4257
|
-
"description": "Who can execute this forward (K3 feasibility). 'order_holder' = the Order owner (customer; forward namedOperator=''), 'permission_index' = a permission role, 'named_operator' = a specific Progress namespace operator."
|
|
4258
|
-
},
|
|
4259
|
-
"permission_index": {
|
|
4260
|
-
"description": "Permission index when kind='permission_index'. Example: 1000",
|
|
4261
|
-
"type": "integer",
|
|
4262
|
-
"minimum": -9007199254740991,
|
|
4263
|
-
"maximum": 9007199254740991
|
|
4264
|
-
},
|
|
4265
|
-
"role_name": {
|
|
4266
|
-
"description": "Resolved role display name. Example: 'merchant (permission 1000)' / 'order holder (customer)'",
|
|
4267
|
-
"type": "string"
|
|
4268
|
-
},
|
|
4269
|
-
"account_name": {
|
|
4270
|
-
"description": "Resolved local account/mark name when the operator maps to a concrete account. Example: 'london_guide'",
|
|
4271
|
-
"type": "string"
|
|
4272
|
-
},
|
|
4273
|
-
"named_operator": {
|
|
4274
|
-
"description": "NamedOperator namespace when kind='named_operator'. Example: 'delivery_team'",
|
|
4275
|
-
"type": "string"
|
|
4276
|
-
}
|
|
4277
|
-
},
|
|
4278
|
-
"required": [
|
|
4279
|
-
"kind"
|
|
4280
|
-
],
|
|
4281
|
-
"additionalProperties": false,
|
|
4282
|
-
"description": "Who can execute this forward (which account + which permission)."
|
|
4283
|
-
},
|
|
4284
|
-
"guard": {
|
|
4285
|
-
"description": "Guard bound to the forward — acceptance condition verified BEFORE the transition. Example: 'guard_payout'",
|
|
4286
|
-
"type": "string"
|
|
4287
|
-
},
|
|
4288
|
-
"business_meaning": {
|
|
4289
|
-
"type": "string",
|
|
4290
|
-
"description": "Business meaning of advancing to this node. Example: 'Guide starts the day service'"
|
|
4291
|
-
},
|
|
4292
|
-
"gains": {
|
|
4293
|
-
"description": "Gains for the caller if this option is chosen (K3 Game G1 gain separation). Example: ['Settlement unlocked — funds releasable to provider via an explicit allocation step']",
|
|
4294
|
-
"type": "array",
|
|
4295
|
-
"items": {
|
|
4296
|
-
"type": "string"
|
|
4297
|
-
}
|
|
4298
|
-
},
|
|
4299
|
-
"risks": {
|
|
4300
|
-
"description": "Risks for the caller if this option is chosen (K3 Game G1 risk separation). Example: ['Refund leverage lost after confirmation']",
|
|
4301
|
-
"type": "array",
|
|
4302
|
-
"items": {
|
|
4303
|
-
"type": "string"
|
|
4304
|
-
}
|
|
4305
|
-
},
|
|
4306
|
-
"consistency": {
|
|
4307
|
-
"description": "Consistency 0-100 between this option's business semantics and the caller's interests (K3 Game optimality). Higher = more aligned.",
|
|
4308
|
-
"type": "number",
|
|
4309
|
-
"minimum": 0,
|
|
4310
|
-
"maximum": 100
|
|
4311
|
-
},
|
|
4312
|
-
"recommended": {
|
|
4313
|
-
"description": "Whether this is the recommended option (highest consistency).",
|
|
4314
|
-
"type": "boolean"
|
|
4315
|
-
}
|
|
4316
|
-
},
|
|
4317
|
-
"required": [
|
|
4318
|
-
"next_node",
|
|
4319
|
-
"forward",
|
|
4320
|
-
"weight",
|
|
4321
|
-
"operator",
|
|
4322
|
-
"business_meaning"
|
|
4323
|
-
],
|
|
4324
|
-
"additionalProperties": false,
|
|
4325
|
-
"description": "A reachable next-node option with its operator/permission, guard, business meaning, and K3-style gains/risks/consistency."
|
|
4326
|
-
},
|
|
4327
|
-
"description": "ALL reachable next-node directions (every operator/permission/guard disclosed)."
|
|
4328
|
-
},
|
|
4329
|
-
"recommendation": {
|
|
4330
|
-
"description": "Recommended option with rationale (K3 Game intent and interests).",
|
|
4331
|
-
"type": "object",
|
|
4332
|
-
"properties": {
|
|
4333
|
-
"best": {
|
|
4334
|
-
"description": "Recommended action in '<forward> → <next_node>' form. Example: 'StartService → serving'",
|
|
4335
|
-
"type": "string"
|
|
4336
|
-
},
|
|
4337
|
-
"rationale": {
|
|
4338
|
-
"description": "Why this option is recommended (framed at the caller's value: gains/risks). Example: 'For the guide, advancing to serving triggers the delivery flow'",
|
|
4339
|
-
"type": "string"
|
|
4340
|
-
},
|
|
4341
|
-
"caveat": {
|
|
4342
|
-
"description": "Disclosed trade-off / opportunity cost of NOT taking another path (K3 Game G3 opportunity cost). Example: 'Choosing cancelled forfeits this order's settlement'",
|
|
4343
|
-
"type": "string"
|
|
4344
|
-
}
|
|
4345
|
-
},
|
|
4346
|
-
"additionalProperties": false
|
|
4347
|
-
},
|
|
4348
|
-
"note": {
|
|
4349
|
-
"description": "Additional note (e.g. wait for the other party, entry/terminal hint).",
|
|
4350
|
-
"type": "string"
|
|
4351
|
-
}
|
|
4352
|
-
},
|
|
4353
|
-
"required": [
|
|
4354
|
-
"current_node",
|
|
4355
|
-
"options"
|
|
4356
|
-
],
|
|
4357
|
-
"additionalProperties": false
|
|
4358
|
-
},
|
|
4359
|
-
"workflow_receipt": {
|
|
4360
|
-
"description": "K3 operate receipt: which account did what, whether the node migrated, and threshold/weight cooperation status when it did not. AI must relay this to the user after every progress operation.",
|
|
4361
|
-
"type": "object",
|
|
4362
|
-
"properties": {
|
|
4363
|
-
"account": {
|
|
4364
|
-
"type": "string",
|
|
4365
|
-
"description": "The account that executed the operation (env.account). Example: 'london_guide'"
|
|
4366
|
-
},
|
|
4367
|
-
"action": {
|
|
4368
|
-
"type": "string",
|
|
4369
|
-
"description": "What was done. Example: 'london_guide executed StartService (paid → serving)'"
|
|
4370
|
-
},
|
|
4371
|
-
"forward": {
|
|
4372
|
-
"type": "string",
|
|
4373
|
-
"description": "Forward name executed. Example: 'StartService'"
|
|
4374
|
-
},
|
|
4375
|
-
"target_node": {
|
|
4376
|
-
"type": "string",
|
|
4377
|
-
"description": "Target node of the executed forward. Example: 'serving'"
|
|
4378
|
-
},
|
|
4379
|
-
"op": {
|
|
4380
|
-
"description": "Operation type executed.",
|
|
4381
|
-
"type": "string",
|
|
4382
|
-
"enum": [
|
|
4383
|
-
"next",
|
|
4384
|
-
"hold",
|
|
4385
|
-
"unhold",
|
|
4386
|
-
"adminUnhold"
|
|
4387
|
-
]
|
|
4388
|
-
},
|
|
4389
|
-
"migrated": {
|
|
4390
|
-
"type": "boolean",
|
|
4391
|
-
"description": "Whether the Progress migrated to the target node (true) or stayed (false — weights still accumulating toward threshold)."
|
|
4392
|
-
},
|
|
4393
|
-
"current_node": {
|
|
4394
|
-
"type": "string",
|
|
4395
|
-
"description": "Progress.current after the operation."
|
|
4396
|
-
},
|
|
4397
|
-
"threshold": {
|
|
4398
|
-
"description": "Pair threshold when NOT migrated (threshold > 0).",
|
|
4399
|
-
"type": "number"
|
|
4400
|
-
},
|
|
4401
|
-
"accumulated_weight": {
|
|
4402
|
-
"description": "Accumulated forward weight in the current session when NOT migrated.",
|
|
4403
|
-
"type": "number"
|
|
4404
|
-
},
|
|
4405
|
-
"remaining": {
|
|
4406
|
-
"description": "threshold - accumulated_weight when NOT migrated.",
|
|
4407
|
-
"type": "number"
|
|
4408
|
-
},
|
|
4409
|
-
"waiting_on": {
|
|
4410
|
-
"description": "Pending forwards + their operators when NOT migrated (K3 Game G4 — who must cooperate next).",
|
|
4411
|
-
"type": "array",
|
|
4412
|
-
"items": {
|
|
4413
|
-
"type": "object",
|
|
4414
|
-
"properties": {
|
|
4415
|
-
"forward": {
|
|
4416
|
-
"type": "string",
|
|
4417
|
-
"description": "Forward still required to reach the threshold. Example: 'GuideConfirm'"
|
|
4418
|
-
},
|
|
4419
|
-
"operator": {
|
|
4420
|
-
"type": "object",
|
|
4421
|
-
"properties": {
|
|
4422
|
-
"kind": {
|
|
4423
|
-
"type": "string",
|
|
4424
|
-
"enum": [
|
|
4425
|
-
"order_holder",
|
|
4426
|
-
"permission_index",
|
|
4427
|
-
"named_operator"
|
|
4428
|
-
],
|
|
4429
|
-
"description": "Who can execute this forward (K3 feasibility). 'order_holder' = the Order owner (customer; forward namedOperator=''), 'permission_index' = a permission role, 'named_operator' = a specific Progress namespace operator."
|
|
4430
|
-
},
|
|
4431
|
-
"permission_index": {
|
|
4432
|
-
"description": "Permission index when kind='permission_index'. Example: 1000",
|
|
4433
|
-
"type": "integer",
|
|
4434
|
-
"minimum": -9007199254740991,
|
|
4435
|
-
"maximum": 9007199254740991
|
|
4436
|
-
},
|
|
4437
|
-
"role_name": {
|
|
4438
|
-
"description": "Resolved role display name. Example: 'merchant (permission 1000)' / 'order holder (customer)'",
|
|
4439
|
-
"type": "string"
|
|
4440
|
-
},
|
|
4441
|
-
"account_name": {
|
|
4442
|
-
"description": "Resolved local account/mark name when the operator maps to a concrete account. Example: 'london_guide'",
|
|
4443
|
-
"type": "string"
|
|
4444
|
-
},
|
|
4445
|
-
"named_operator": {
|
|
4446
|
-
"description": "NamedOperator namespace when kind='named_operator'. Example: 'delivery_team'",
|
|
4447
|
-
"type": "string"
|
|
4448
|
-
}
|
|
4449
|
-
},
|
|
4450
|
-
"required": [
|
|
4451
|
-
"kind"
|
|
4452
|
-
],
|
|
4453
|
-
"additionalProperties": false,
|
|
4454
|
-
"description": "Who must execute this forward next."
|
|
4455
|
-
}
|
|
4456
|
-
},
|
|
4457
|
-
"required": [
|
|
4458
|
-
"forward",
|
|
4459
|
-
"operator"
|
|
4460
|
-
],
|
|
4461
|
-
"additionalProperties": false,
|
|
4462
|
-
"description": "A forward still pending — who must act next (threshold cooperation, K3 Game G4)."
|
|
4463
|
-
}
|
|
4464
|
-
},
|
|
4465
|
-
"next_guidance": {
|
|
4466
|
-
"description": "Next-node guidance from the resulting current node.",
|
|
4467
|
-
"type": "object",
|
|
4468
|
-
"properties": {
|
|
4469
|
-
"current_node": {
|
|
4470
|
-
"type": "string",
|
|
4471
|
-
"description": "Current node of the Progress. Example: 'serving'"
|
|
4472
|
-
},
|
|
4473
|
-
"caller": {
|
|
4474
|
-
"description": "The account (name/address) this guidance is framed for (env.account). Example: 'london_guide'",
|
|
4475
|
-
"type": "string"
|
|
4476
|
-
},
|
|
4477
|
-
"options": {
|
|
4478
|
-
"type": "array",
|
|
4479
|
-
"items": {
|
|
4480
|
-
"type": "object",
|
|
4481
|
-
"properties": {
|
|
4482
|
-
"next_node": {
|
|
4483
|
-
"type": "string",
|
|
4484
|
-
"description": "Target node this forward advances INTO. Example: 'serving'"
|
|
4485
|
-
},
|
|
4486
|
-
"forward": {
|
|
4487
|
-
"type": "string",
|
|
4488
|
-
"description": "Forward (operation) name. Example: 'StartService'"
|
|
4489
|
-
},
|
|
4490
|
-
"weight": {
|
|
4491
|
-
"type": "number",
|
|
4492
|
-
"description": "Forward weight contributed toward the pair threshold. Example: 1"
|
|
4493
|
-
},
|
|
4494
|
-
"operator": {
|
|
4495
|
-
"type": "object",
|
|
4496
|
-
"properties": {
|
|
4497
|
-
"kind": {
|
|
4498
|
-
"type": "string",
|
|
4499
|
-
"enum": [
|
|
4500
|
-
"order_holder",
|
|
4501
|
-
"permission_index",
|
|
4502
|
-
"named_operator"
|
|
4503
|
-
],
|
|
4504
|
-
"description": "Who can execute this forward (K3 feasibility). 'order_holder' = the Order owner (customer; forward namedOperator=''), 'permission_index' = a permission role, 'named_operator' = a specific Progress namespace operator."
|
|
4505
|
-
},
|
|
4506
|
-
"permission_index": {
|
|
4507
|
-
"description": "Permission index when kind='permission_index'. Example: 1000",
|
|
4508
|
-
"type": "integer",
|
|
4509
|
-
"minimum": -9007199254740991,
|
|
4510
|
-
"maximum": 9007199254740991
|
|
4511
|
-
},
|
|
4512
|
-
"role_name": {
|
|
4513
|
-
"description": "Resolved role display name. Example: 'merchant (permission 1000)' / 'order holder (customer)'",
|
|
4514
|
-
"type": "string"
|
|
4515
|
-
},
|
|
4516
|
-
"account_name": {
|
|
4517
|
-
"description": "Resolved local account/mark name when the operator maps to a concrete account. Example: 'london_guide'",
|
|
4518
|
-
"type": "string"
|
|
4519
|
-
},
|
|
4520
|
-
"named_operator": {
|
|
4521
|
-
"description": "NamedOperator namespace when kind='named_operator'. Example: 'delivery_team'",
|
|
4522
|
-
"type": "string"
|
|
4523
|
-
}
|
|
4524
|
-
},
|
|
4525
|
-
"required": [
|
|
4526
|
-
"kind"
|
|
4527
|
-
],
|
|
4528
|
-
"additionalProperties": false,
|
|
4529
|
-
"description": "Who can execute this forward (which account + which permission)."
|
|
4530
|
-
},
|
|
4531
|
-
"guard": {
|
|
4532
|
-
"description": "Guard bound to the forward — acceptance condition verified BEFORE the transition. Example: 'guard_payout'",
|
|
4533
|
-
"type": "string"
|
|
4534
|
-
},
|
|
4535
|
-
"business_meaning": {
|
|
4536
|
-
"type": "string",
|
|
4537
|
-
"description": "Business meaning of advancing to this node. Example: 'Guide starts the day service'"
|
|
4538
|
-
},
|
|
4539
|
-
"gains": {
|
|
4540
|
-
"description": "Gains for the caller if this option is chosen (K3 Game G1 gain separation). Example: ['Settlement unlocked — funds releasable to provider via an explicit allocation step']",
|
|
4541
|
-
"type": "array",
|
|
4542
|
-
"items": {
|
|
4543
|
-
"type": "string"
|
|
4544
|
-
}
|
|
4545
|
-
},
|
|
4546
|
-
"risks": {
|
|
4547
|
-
"description": "Risks for the caller if this option is chosen (K3 Game G1 risk separation). Example: ['Refund leverage lost after confirmation']",
|
|
4548
|
-
"type": "array",
|
|
4549
|
-
"items": {
|
|
4550
|
-
"type": "string"
|
|
4551
|
-
}
|
|
4552
|
-
},
|
|
4553
|
-
"consistency": {
|
|
4554
|
-
"description": "Consistency 0-100 between this option's business semantics and the caller's interests (K3 Game optimality). Higher = more aligned.",
|
|
4555
|
-
"type": "number",
|
|
4556
|
-
"minimum": 0,
|
|
4557
|
-
"maximum": 100
|
|
4558
|
-
},
|
|
4559
|
-
"recommended": {
|
|
4560
|
-
"description": "Whether this is the recommended option (highest consistency).",
|
|
4561
|
-
"type": "boolean"
|
|
4562
|
-
}
|
|
4563
|
-
},
|
|
4564
|
-
"required": [
|
|
4565
|
-
"next_node",
|
|
4566
|
-
"forward",
|
|
4567
|
-
"weight",
|
|
4568
|
-
"operator",
|
|
4569
|
-
"business_meaning"
|
|
4570
|
-
],
|
|
4571
|
-
"additionalProperties": false,
|
|
4572
|
-
"description": "A reachable next-node option with its operator/permission, guard, business meaning, and K3-style gains/risks/consistency."
|
|
4573
|
-
},
|
|
4574
|
-
"description": "ALL reachable next-node directions (every operator/permission/guard disclosed)."
|
|
4575
|
-
},
|
|
4576
|
-
"recommendation": {
|
|
4577
|
-
"description": "Recommended option with rationale (K3 Game intent and interests).",
|
|
4578
|
-
"type": "object",
|
|
4579
|
-
"properties": {
|
|
4580
|
-
"best": {
|
|
4581
|
-
"description": "Recommended action in '<forward> → <next_node>' form. Example: 'StartService → serving'",
|
|
4582
|
-
"type": "string"
|
|
4583
|
-
},
|
|
4584
|
-
"rationale": {
|
|
4585
|
-
"description": "Why this option is recommended (framed at the caller's value: gains/risks). Example: 'For the guide, advancing to serving triggers the delivery flow'",
|
|
4586
|
-
"type": "string"
|
|
4587
|
-
},
|
|
4588
|
-
"caveat": {
|
|
4589
|
-
"description": "Disclosed trade-off / opportunity cost of NOT taking another path (K3 Game G3 opportunity cost). Example: 'Choosing cancelled forfeits this order's settlement'",
|
|
4590
|
-
"type": "string"
|
|
4591
|
-
}
|
|
4592
|
-
},
|
|
4593
|
-
"additionalProperties": false
|
|
4594
|
-
},
|
|
4595
|
-
"note": {
|
|
4596
|
-
"description": "Additional note (e.g. wait for the other party, entry/terminal hint).",
|
|
4597
|
-
"type": "string"
|
|
4598
|
-
}
|
|
4599
|
-
},
|
|
4600
|
-
"required": [
|
|
4601
|
-
"current_node",
|
|
4602
|
-
"options"
|
|
4603
|
-
],
|
|
4604
|
-
"additionalProperties": false
|
|
4605
|
-
},
|
|
4606
|
-
"note": {
|
|
4607
|
-
"description": "Additional note.",
|
|
4608
|
-
"type": "string"
|
|
4609
|
-
},
|
|
4610
|
-
"digest": {
|
|
4611
|
-
"description": "REAL transaction digest of this operation (ddmc4 B-37) — paste into onchain_transaction or a block explorer to audit. Absent under dry-run/simulation.",
|
|
4612
|
-
"type": "string"
|
|
4613
|
-
},
|
|
4614
|
-
"signer": {
|
|
4615
|
-
"description": "Signing account's on-chain address — a SEPARATE field from digest ({signer, digest}), never occupying the digest slot.",
|
|
4616
|
-
"type": "string"
|
|
4617
|
-
}
|
|
4618
|
-
},
|
|
4619
|
-
"required": [
|
|
4620
|
-
"account",
|
|
4621
|
-
"action",
|
|
4622
|
-
"forward",
|
|
4623
|
-
"target_node",
|
|
4624
|
-
"migrated",
|
|
4625
|
-
"current_node"
|
|
4626
|
-
],
|
|
4627
|
-
"additionalProperties": false
|
|
4628
|
-
},
|
|
4629
|
-
"review_steps": {
|
|
4630
|
-
"description": "Composite review submission report (F01 ordering): the structured-reputation repository write runs BEFORE the progress forward (its review-edge guard anchors the PRE node), the optional reward claim runs AFTER — one passport submission, fail-isolated steps. A failed step never rolled back the forward. Relay failed/unknown steps to the user with next_action (probe before retry; dedicated repository/reward tools).",
|
|
4631
|
-
"type": "array",
|
|
4632
|
-
"items": {
|
|
4633
|
-
"type": "object",
|
|
4634
|
-
"properties": {
|
|
4635
|
-
"step": {
|
|
4636
|
-
"type": "string",
|
|
4637
|
-
"enum": [
|
|
4638
|
-
"repository_write",
|
|
4639
|
-
"rating_write",
|
|
4640
|
-
"reward_claim"
|
|
4641
|
-
],
|
|
4642
|
-
"description": "Which chained review step this report describes. repository_write = structured reputation record (rating/tags) into the caller-named Repository; rating_write = the derived U64 star row (F30 gf32-mn-261103: written alongside repository_write when the repository declares a U64 rating policy — like→5, dislike→1 — so reward guards that read the U64 star policy can pass without a hand-built second write); reward_claim = incentive claim on the caller-named Reward."
|
|
4643
|
-
},
|
|
4644
|
-
"status": {
|
|
4645
|
-
"type": "string",
|
|
4646
|
-
"enum": [
|
|
4647
|
-
"success",
|
|
4648
|
-
"failed",
|
|
4649
|
-
"unknown"
|
|
4650
|
-
],
|
|
4651
|
-
"description": "Step outcome. Steps are fail-isolated: a failed step never affects the forward or the other step (on-chain has no rollback). 'unknown' (esln-261023 E-6) = the submission outcome could NOT be observed (transport drop after submit) — the step MAY have landed; this is NOT a confirmed failure. Follow next_action (probe) before any retry; a blind retry double-writes."
|
|
4652
|
-
},
|
|
4653
|
-
"detail": {
|
|
4654
|
-
"type": "string",
|
|
4655
|
-
"description": "On success: what was written/claimed (payload summary). On failure or unknown: what the step attempted."
|
|
4656
|
-
},
|
|
4657
|
-
"digest": {
|
|
4658
|
-
"description": "Transaction digest: on success the landing digest; on an unknown outcome the transport-reported pre-submit digest — verify it via onchain_transaction (executed → landed, adopt; failure → final; unresolvable → nothing landed).",
|
|
4659
|
-
"type": "string"
|
|
4660
|
-
},
|
|
4661
|
-
"error": {
|
|
4662
|
-
"description": "Error message when the step failed or stayed unknown. Retry via the dedicated repository/reward tools with the same submission values — only after a probe confirms nothing landed.",
|
|
4663
|
-
"type": "string"
|
|
4664
|
-
},
|
|
4665
|
-
"next_action": {
|
|
4666
|
-
"description": "Present on failed/unknown steps: the concrete recovery move (the probe to run, the safe-retry condition, or the two-phase split).",
|
|
4667
|
-
"type": "string"
|
|
4668
|
-
}
|
|
4669
|
-
},
|
|
4670
|
-
"required": [
|
|
4671
|
-
"step",
|
|
4672
|
-
"status",
|
|
4673
|
-
"detail"
|
|
4674
|
-
],
|
|
4675
|
-
"additionalProperties": false,
|
|
4676
|
-
"description": "One fail-isolated chained step of the progress composite review submission (REVIEW component, data.review block)."
|
|
4677
|
-
}
|
|
4678
|
-
}
|
|
4679
|
-
},
|
|
4680
|
-
"required": [
|
|
4681
|
-
"intent",
|
|
4682
|
-
"status",
|
|
4683
|
-
"summary"
|
|
4684
|
-
],
|
|
4685
|
-
"additionalProperties": false
|
|
4686
|
-
}
|
|
4687
|
-
},
|
|
4688
|
-
"required": [
|
|
4689
|
-
"result"
|
|
4690
|
-
],
|
|
4691
|
-
"additionalProperties": false
|
|
4692
|
-
}
|