@wowok/agent-mcp 3.3.9 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/chain-semantics/composition-truth.d.ts +102 -0
- package/dist/chain-semantics/composition-truth.js +1 -0
- package/dist/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/field-capability.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/guard-verbs.js +1 -1
- package/dist/chain-semantics/index.d.ts +1 -0
- package/dist/chain-semantics/index.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/blueprint-view.d.ts +3 -3
- package/dist/composition/blueprint-view.js +1 -1
- package/dist/composition/compile.d.ts +26 -4
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.d.ts +206 -0
- package/dist/composition/emit-phases.js +1 -0
- package/dist/composition/generate.d.ts +40 -0
- package/dist/composition/generate.js +1 -0
- package/dist/composition/guard-fill.d.ts +44 -0
- package/dist/composition/guard-fill.js +1 -0
- package/dist/composition/inflight.d.ts +26 -2
- package/dist/composition/inflight.js +1 -1
- package/dist/composition/input-normalize.d.ts +15 -0
- package/dist/composition/input-normalize.js +1 -0
- package/dist/composition/materialize.d.ts +22 -13
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.d.ts +35 -0
- package/dist/composition/mode-gates.js +1 -0
- package/dist/composition/param-disclosure.d.ts +61 -0
- package/dist/composition/param-disclosure.js +1 -0
- package/dist/composition/plan-retry-ledger.d.ts +21 -0
- package/dist/composition/plan-retry-ledger.js +1 -0
- package/dist/composition/plan.d.ts +17 -2
- package/dist/composition/plan.js +1 -1
- package/dist/composition/product-card.d.ts +94 -0
- package/dist/composition/product-card.js +1 -0
- package/dist/composition/supply-chain-emit.d.ts +46 -0
- package/dist/composition/supply-chain-emit.js +1 -0
- package/dist/config/config-audit.spec.js +1 -1
- package/dist/config/config-warnings.d.ts +2 -0
- package/dist/config/config-warnings.js +1 -0
- package/dist/config/exposure.d.ts +2 -2
- package/dist/config/judgment.d.ts +31 -5
- package/dist/config/judgment.js +1 -1
- package/dist/config/judgment.spec.js +1 -1
- package/dist/config/match-policy-file.d.ts +34 -0
- package/dist/config/match-policy-file.js +1 -0
- package/dist/config/match-policy-file.spec.d.ts +1 -0
- package/dist/config/match-policy-file.spec.js +1 -0
- package/dist/config/rule-engine.d.ts +5 -5
- package/dist/config/rule-engine.js +1 -1
- package/dist/config/runtime.d.ts +0 -1
- package/dist/config/runtime.js +1 -1
- package/dist/config/severity.d.ts +0 -2
- package/dist/config/severity.js +1 -1
- package/dist/config/store-policy.spec.js +1 -1
- package/dist/config/template-params.d.ts +42 -0
- package/dist/config/template-params.js +1 -0
- package/dist/config/template-params.spec.d.ts +1 -0
- package/dist/config/template-params.spec.js +1 -0
- package/dist/customer/account-events.js +1 -1
- package/dist/data/api/api.spec.js +1 -1
- package/dist/data/api/cli.js +1 -1
- package/dist/data/api/server.d.ts +1 -0
- package/dist/data/api/server.js +1 -1
- package/dist/data/projection/store.d.ts +3 -1
- package/dist/data/projection/store.js +1 -1
- package/dist/data/projection/types.d.ts +32 -0
- package/dist/data/sync/cdc.d.ts +1 -2
- package/dist/data/sync/cdc.js +1 -1
- package/dist/data/sync/cdc.spec.js +1 -1
- package/dist/data/sync/store.d.ts +5 -0
- package/dist/data/sync/store.js +1 -1
- package/dist/data/sync/types.d.ts +2 -0
- package/dist/evaluation/acceptance.d.ts +8 -0
- package/dist/evaluation/acceptance.js +1 -1
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/graph-service.spec.js +1 -1
- package/dist/evaluation/capability.d.ts +2 -0
- package/dist/evaluation/category-match-rules.d.ts +0 -1
- package/dist/evaluation/category-match-rules.js +1 -1
- package/dist/evaluation/composer.d.ts +25 -0
- package/dist/evaluation/composer.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/extract.d.ts +7 -0
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/game-strategy.d.ts +0 -3
- package/dist/evaluation/game-strategy.js +1 -1
- package/dist/evaluation/guard-scan.js +1 -1
- package/dist/evaluation/match-operation.d.ts +9 -0
- package/dist/evaluation/match-operation.js +1 -1
- package/dist/evaluation/match-policy-resolver.d.ts +9 -0
- package/dist/evaluation/match-policy-resolver.js +1 -0
- package/dist/evaluation/match-policy.d.ts +3 -1
- package/dist/evaluation/match-policy.js +1 -1
- package/dist/evaluation/region.d.ts +0 -6
- package/dist/evaluation/region.js +1 -1
- package/dist/evaluation/standards.d.ts +2 -1
- package/dist/evaluation/standards.js +1 -1
- package/dist/evaluation/structured-lines.d.ts +8 -0
- package/dist/evaluation/structured-lines.js +1 -0
- package/dist/evaluation/types.d.ts +6 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/capability-manifest.d.ts +1 -0
- package/dist/extensions/capability-manifest.js +1 -1
- package/dist/extensions/capability.d.ts +91 -0
- package/dist/extensions/capability.js +1 -0
- package/dist/extensions/industry-audit.spec.js +1 -1
- package/dist/extensions/industry-pack.d.ts +13 -0
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/extensions/registry.d.ts +0 -2
- package/dist/extensions/registry.js +1 -1
- package/dist/goal/GoalEngine.js +1 -1
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/facts.js +1 -1
- package/dist/graph/onchain/order-status.d.ts +0 -1
- package/dist/graph/onchain/order-status.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/harness/verify.d.ts +0 -3
- package/dist/harness/verify.js +1 -1
- package/dist/index.js +1 -1
- package/dist/intent/types.d.ts +0 -1
- package/dist/intent/types.js +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/keeper/types.d.ts +0 -1
- package/dist/keeper/types.js +1 -1
- package/dist/knowledge/allocation-risk.d.ts +1 -0
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/allocation-templates.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.d.ts +6 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arb-fund-facts.d.ts +1 -0
- package/dist/knowledge/arb-fund-facts.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/arbitration-puzzle.js +1 -1
- package/dist/knowledge/arbitration-risk.d.ts +1 -0
- package/dist/knowledge/arbitration-risk.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +2 -2
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/judgment-baselines.json +21 -2
- package/dist/knowledge/baselines/rules/allocation.json +6 -6
- package/dist/knowledge/baselines/rules/arb.json +2 -2
- package/dist/knowledge/baselines/rules/guard.json +11 -11
- package/dist/knowledge/baselines/rules/oracle.json +120 -0
- package/dist/knowledge/baselines/rules/order.json +1 -1
- package/dist/knowledge/baselines/rules/plan.json +385 -18
- package/dist/knowledge/baselines/rules/progress.json +20 -2
- package/dist/knowledge/baselines/semantic-facts.js +1 -1
- package/dist/knowledge/builtin-templates.d.ts +25 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/catalog-facts.d.ts +4 -0
- package/dist/knowledge/catalog-facts.js +1 -0
- package/dist/knowledge/commission-landing.js +1 -1
- package/dist/knowledge/component-schema.d.ts +64 -0
- package/dist/knowledge/component-schema.js +1 -0
- package/dist/knowledge/contact-templates.d.ts +0 -1
- package/dist/knowledge/contact-templates.js +1 -1
- package/dist/knowledge/dynamic-pricing.js +1 -1
- package/dist/knowledge/entity-recipient-guard.js +1 -1
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/fee-param-bindings.d.ts +26 -0
- package/dist/knowledge/fee-param-bindings.js +1 -0
- package/dist/knowledge/fund-layer.d.ts +1 -0
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/game-scenarios.js +1 -1
- package/dist/knowledge/getting-started.d.ts +2 -2
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-anchor-reach.js +1 -1
- package/dist/knowledge/guard-binding-table.d.ts +52 -0
- package/dist/knowledge/guard-binding-table.js +1 -0
- package/dist/knowledge/guard-binding-verifier.d.ts +30 -0
- package/dist/knowledge/guard-binding-verifier.js +1 -0
- package/dist/knowledge/guard-bindings.js +1 -1
- package/dist/knowledge/guard-blueprint.d.ts +68 -0
- package/dist/knowledge/guard-blueprint.js +1 -0
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-host-context.d.ts +24 -0
- package/dist/knowledge/guard-host-context.js +1 -0
- package/dist/knowledge/guard-ledger.js +1 -1
- package/dist/knowledge/guard-lint.d.ts +1 -0
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-node-gates.d.ts +3 -0
- package/dist/knowledge/guard-node-gates.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-submission-prompt.d.ts +11 -0
- package/dist/knowledge/guard-submission-prompt.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.d.ts +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-generalizer.d.ts +6 -1
- package/dist/knowledge/industry-generalizer.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/industry-strategy.js +1 -1
- package/dist/knowledge/jsonrpc-enum.d.ts +52 -3
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/knob-docs.d.ts +5 -0
- package/dist/knowledge/knob-docs.js +1 -0
- package/dist/knowledge/machine-templates.js +1 -1
- package/dist/knowledge/machine-topology.js +1 -1
- package/dist/knowledge/machine-translation.js +1 -1
- package/dist/knowledge/object-dependency.d.ts +31 -0
- package/dist/knowledge/object-dependency.js +1 -0
- package/dist/knowledge/onchain-constants.d.ts +4 -0
- package/dist/knowledge/onchain-constants.js +1 -1
- package/dist/knowledge/order-ledger.js +1 -1
- package/dist/knowledge/param-schema.d.ts +93 -0
- package/dist/knowledge/param-schema.js +1 -0
- package/dist/knowledge/param-tiers.d.ts +25 -0
- package/dist/knowledge/param-tiers.js +1 -0
- package/dist/knowledge/passport-ledger.d.ts +1 -1
- package/dist/knowledge/passport-ledger.js +1 -1
- package/dist/knowledge/path-oracle/coverage.d.ts +16 -0
- package/dist/knowledge/path-oracle/coverage.js +1 -0
- package/dist/knowledge/path-oracle/index.d.ts +5 -0
- package/dist/knowledge/path-oracle/index.js +1 -0
- package/dist/knowledge/path-oracle/products/food-delivery.d.ts +2 -0
- package/dist/knowledge/path-oracle/products/food-delivery.js +1 -0
- package/dist/knowledge/path-oracle/schema.d.ts +188 -0
- package/dist/knowledge/path-oracle/schema.js +1 -0
- package/dist/knowledge/pattern-resolutions.d.ts +108 -0
- package/dist/knowledge/pattern-resolutions.js +1 -0
- package/dist/knowledge/progress-ledger.js +1 -1
- package/dist/knowledge/progress-risk.js +1 -1
- package/dist/knowledge/projection.spec.js +1 -1
- package/dist/knowledge/protocol-facts.js +1 -1
- package/dist/knowledge/requirement-families.d.ts +13 -0
- package/dist/knowledge/requirement-families.js +1 -0
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +2 -0
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/scenario-topology.js +1 -1
- package/dist/knowledge/semantic-ir.d.ts +4 -0
- package/dist/knowledge/semantic-ir.js +1 -1
- package/dist/knowledge/service-allocation-semantics.js +1 -1
- package/dist/knowledge/service-ledger.d.ts +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/service-templates.js +1 -1
- package/dist/knowledge/sku-name-gate.d.ts +17 -0
- package/dist/knowledge/sku-name-gate.js +1 -0
- package/dist/knowledge/strategy-manuals.d.ts +1 -1
- package/dist/knowledge/strategy-manuals.js +1 -1
- package/dist/knowledge/supply-chain.d.ts +9 -0
- package/dist/knowledge/supply-chain.js +1 -1
- package/dist/knowledge/template-loader.d.ts +114 -6
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-nav.d.ts +9 -0
- package/dist/knowledge/template-nav.js +1 -0
- package/dist/knowledge/template-prose.d.ts +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +95 -0
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/template-test-profiles.d.ts +17 -0
- package/dist/knowledge/template-test-profiles.js +1 -0
- package/dist/knowledge/template-validation.d.ts +1 -0
- package/dist/knowledge/template-validation.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/treasury-templates.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +5 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/participation/radar-core.js +1 -1
- package/dist/participation/time-window.d.ts +37 -0
- package/dist/participation/time-window.js +1 -0
- package/dist/persona/address-format.d.ts +0 -1
- package/dist/persona/address-format.js +1 -1
- package/dist/persona/bridge.js +1 -1
- package/dist/persona/index.d.ts +0 -2
- package/dist/persona/index.js +1 -1
- package/dist/persona/model.js +1 -1
- package/dist/persona/persona-audit.spec.js +1 -1
- package/dist/persona/types.d.ts +6 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/game-theory.d.ts +2 -2
- package/dist/playbooks/service-build/intent-analyzer.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.d.ts +1 -0
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +52 -22
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.d.ts +2 -0
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/mode-actions.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +8 -0
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.d.ts +1 -0
- 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/reverse-mapping.d.ts +6 -0
- package/dist/playbooks/service-build/reverse-mapping.js +1 -1
- package/dist/playbooks/service-build/service-panorama.d.ts +2 -0
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/playbooks/service-build/service-quote.spec.js +1 -1
- package/dist/playbooks/service-build/workflow-design-assessment.d.ts +10 -1
- package/dist/playbooks/service-build/workflow-design-assessment.js +1 -1
- package/dist/relationship/registry.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/review/repository.js +1 -1
- package/dist/runtime/instance-registry.d.ts +7 -1
- package/dist/runtime/instance-registry.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +106 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +15 -6
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +264 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +34 -6
- package/dist/schema/call/demand.d.ts +15 -6
- package/dist/schema/call/demand.js +1 -1
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/guard.d.ts +8 -8
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +32 -8
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +26 -8
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.d.ts +20 -8
- package/dist/schema/call/payment.js +1 -1
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.d.ts +330 -114
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/personal.d.ts +10 -4
- package/dist/schema/call/personal.js +1 -1
- package/dist/schema/call/progress.d.ts +16 -4
- package/dist/schema/call/reward.d.ts +10 -4
- 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 +131 -43
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +15 -6
- package/dist/schema/call/treasury.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/config/index.d.ts +61 -0
- package/dist/schema/config/index.js +1 -1
- package/dist/schema/envelope-unify.d.ts +4 -0
- package/dist/schema/envelope-unify.js +1 -0
- package/dist/schema/evaluation/index.d.ts +224 -19
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +47 -0
- package/dist/schema/goal/planning.d.ts +116 -1
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +166 -6
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/industry-pack/modes.d.ts +6 -6
- package/dist/schema/keeper/index.d.ts +26 -0
- package/dist/schema/local/index.d.ts +157 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +6 -0
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +28 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +343 -84
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +2907 -640
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +251 -4
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +271 -78
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +1 -1
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/utils/permission-machine-check.d.ts +2 -0
- package/dist/schema/utils/permission-machine-check.js +1 -1
- package/dist/schema/watch/index.d.ts +16 -0
- package/dist/schema/watch/index.js +1 -1
- package/dist/schema/workflow/index.d.ts +2 -2
- package/dist/schema/workflow/index.js +1 -1
- package/dist/schema-query-impl/index.d.ts +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +98 -2
- package/dist/schemas/benchmark_migration_operation.output.json +341 -12
- package/dist/schemas/benchmark_migration_operation.schema.json +42 -3
- package/dist/schemas/bridge_operation.output.json +98 -2
- package/dist/schemas/bridge_operation.schema.json +5 -5
- package/dist/schemas/config_operation.output.json +352 -0
- package/dist/schemas/config_operation.schema.json +20 -2
- package/dist/schemas/evaluation_operation.output.json +586 -4
- package/dist/schemas/evaluation_operation.schema.json +194 -3
- package/dist/schemas/goal_operation.schema.json +183 -0
- package/dist/schemas/guard2file.schema.json +1 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +771 -1
- package/dist/schemas/industry_pack_operation.schema.json +28 -4
- package/dist/schemas/keeper_operation.output.json +96 -2
- package/dist/schemas/local_cache_operation.output.json +98 -2
- package/dist/schemas/local_history_operation.output.json +98 -2
- package/dist/schemas/local_info_operation.output.json +98 -2
- package/dist/schemas/local_mark_operation.output.json +98 -2
- package/dist/schemas/machineNode2file.schema.json +1 -1
- package/dist/schemas/messenger_operation.output.json +107 -2
- package/dist/schemas/messenger_operation.schema.json +41 -34
- package/dist/schemas/monitor_events.output.json +96 -2
- package/dist/schemas/monitor_subscription.output.json +96 -2
- package/dist/schemas/onchain_events.output.json +108 -14
- package/dist/schemas/onchain_operations.output.json +326 -11
- package/dist/schemas/onchain_operations.schema.json +1343 -734
- package/dist/schemas/onchain_operations_allocation.schema.json +35 -19
- package/dist/schemas/onchain_operations_arbitration.schema.json +16 -8
- package/dist/schemas/onchain_operations_contact.schema.json +12 -4
- package/dist/schemas/onchain_operations_demand.schema.json +33 -17
- package/dist/schemas/onchain_operations_gen_passport.schema.json +12 -4
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
- package/dist/schemas/onchain_operations_guard.schema.json +297 -111
- package/dist/schemas/onchain_operations_machine.schema.json +56 -39
- package/dist/schemas/onchain_operations_order.schema.json +67 -42
- package/dist/schemas/onchain_operations_payment.schema.json +27 -12
- package/dist/schemas/onchain_operations_permission.schema.json +363 -232
- package/dist/schemas/onchain_operations_personal.schema.json +43 -28
- package/dist/schemas/onchain_operations_progress.schema.json +49 -32
- package/dist/schemas/onchain_operations_proof.schema.json +12 -4
- package/dist/schemas/onchain_operations_repository.schema.json +17 -8
- package/dist/schemas/onchain_operations_reward.schema.json +36 -20
- package/dist/schemas/onchain_operations_service.schema.json +230 -130
- package/dist/schemas/onchain_operations_treasury.schema.json +36 -20
- package/dist/schemas/onchain_table_data.output.json +276 -19
- package/dist/schemas/onchain_table_data.schema.json +104 -64
- package/dist/schemas/persona_operation.output.json +7752 -0
- package/dist/schemas/persona_operation.schema.json +1232 -4
- package/dist/schemas/query_toolkit.output.json +1054 -146
- package/dist/schemas/query_toolkit.schema.json +144 -13
- package/dist/schemas/schema_query.schema.json +1 -1
- package/dist/schemas/watch_operation.output.json +86 -3
- package/dist/schemas/wip_file.output.json +8 -0
- package/dist/schemas/workflow_operation.schema.json +5 -4
- package/dist/schemas/wowok_buildin_info.schema.json +1 -1
- package/dist/task/playbook.js +1 -1
- package/dist/tools/handlers/benchmark-migration.d.ts +12 -3
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +24 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/persona.js +1 -1
- package/dist/tools/handlers/query.d.ts +8 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/winner-derivation.d.ts +20 -0
- package/dist/tools/handlers/winner-derivation.js +1 -0
- package/dist/tools/handlers/wip-upload.js +1 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/config.js +1 -1
- package/dist/tools/registry/evaluation.js +1 -1
- package/dist/tools/registry/identity.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/sanitize-output.js +1 -1
- package/dist/tools/sanitize-output.spec.js +1 -1
- package/dist/tools/transport-integrity.d.ts +7 -0
- package/dist/tools/transport-integrity.js +1 -0
- package/dist/tools/types.d.ts +1 -0
- package/dist/tools/upgrade-check.d.ts +22 -0
- package/dist/tools/upgrade-check.js +1 -1
- package/dist/tools/wrap.d.ts +6 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +7 -6
- package/dist/extensions/business-modules.d.ts +0 -54
- package/dist/extensions/business-modules.js +0 -1
- package/dist/schemas/guard-templates.json +0 -379
|
@@ -1 +1 @@
|
|
|
1
|
-
import{z}from'zod';import{TypedPermissionObjectSchema,CoinParamSchema,NamedObjectSchema,CallEnvSchema,SubmissionCallSchema}from'./base.js';import{VotingGuardSchema}from'../query/index.js';import{BalanceTypeSchema,DescriptionSchema,LongNameSchema,NameOrAddressSchema,NameSchema,ReceivedObjectsOrRecentlySchema,RECEIVE_FORMAT_BLOCK_OBJECTS}from'../common/index.js';const ARB_CASE_FIELD=NameOrAddressSchema['describe']('Arb\x20CASE\x20object\x20—\x20the\x20single\x20dispute\x20case\x20created\x20by\x20`dispute`\x20(the\x20object\x20you\x20may\x20have\x20named\x20via\x20`namedArb`).\x20'+'NOT\x20the\x20arbitrator\x20registration\x20object:\x20that\x20one\x20goes\x20in\x20the\x20ROOT\x20`object`\x20field,\x20while\x20every\x20case-scoped\x20'+'operation\x20(confirm\x20/\x20voting_deadline_change\x20/\x20vote\x20/\x20feedback\x20/\x20arbitration\x20/\x20reset\x20/\x20arb_withdraw)\x20addresses\x20'+'the\x20case\x20through\x20THIS\x20field.\x20Accepts\x20the\x20Arb\x27s\x200x\x20address\x20or\x20its\x20LocalMark\x20name.');export const DisputeSchema=z['object']({'order':NameOrAddressSchema['describe']('Order\x20ID\x20or\x20name.'),'description':DescriptionSchema['describe']('Dispute\x20description.\x20REQUIRED\x20and\x20NON-EMPTY\x20on-chain\x20(the\x20dispute\x20call\x20aborts\x20when\x20it\x20is\x20empty;\x20max\x204000\x20bytes).\x20State\x20what\x20the\x20dispute\x20is\x20about\x20—\x20it\x20is\x20permanent\x20on-chain\x20case\x20context.'),'proposition':z['array'](LongNameSchema)['describe']('List\x20of\x20dispute\x20propositions.'),'fee':CoinParamSchema['describe']('Dispute\x20processing\x20fee.\x20FORMAT:\x20{balance:\x20<amount_in_smallest_unit>}\x20—\x20field\x20name\x20is\x20\x27balance\x27\x20(NOT\x20\x27amount\x27).\x20'+'The\x20token\x20type\x20and\x20precision\x20are\x20determined\x20by\x20the\x20Arbitration\x20object\x27s\x20type_parameter\x20(the\x20generic\x20type\x20set\x20when\x20the\x20Arbitration\x20was\x20created).\x20'+'For\x20WOW\x20(9\x20decimals):\x20{balance:\x2050000000}\x20=\x200.05\x20WOW.\x20'+'For\x20tokens\x20with\x20different\x20decimals,\x20adjust\x20accordingly\x20(e.g.\x20USDC\x20has\x206\x20decimals,\x20so\x20{balance:\x2050000}\x20=\x200.05\x20USDC).\x20'+'docs#45:\x20the\x20fee\x20does\x20NOT\x20return\x20to\x20the\x20filer\x20on\x20a\x20win\x20—\x20it\x20stays\x20in\x20the\x20Arbitration\x20object\x20and\x20is\x20withdrawable\x20by\x20the\x20arbitrator.'),'namedArb':NamedObjectSchema['optional']()['describe']('RECOMMENDED:\x20Set\x20a\x20local\x20name\x20for\x20the\x20newly\x20created\x20Arb\x20(arbitration\x20case)\x20object.\x20'+'Without\x20this,\x20the\x20Arb\x20is\x20only\x20referenceable\x20by\x20its\x20on-chain\x20address.\x20'+'Example:\x20{name:\x20\x27my_dispute_v1\x27}\x20allows\x20subsequent\x20vote/feedback\x20operations\x20to\x20use\x20\x27my_dispute_v1\x27.')})['strict']();export const ConfirmSchema=z['object']({'arb':ARB_CASE_FIELD,'voting_deadline':z['union']([z['number']()['int']()['min'](0x0),z['null']()])['default'](null)['describe']('Voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'null\x20(DEFAULT\x20when\x20omitted)\x20=\x20open-ended\x20voting,\x20no\x20deadline;\x20parties\x20may\x20vote\x20at\x20any\x20time\x20and\x20the\x20arbitrator\x20may\x20deliver\x20the\x20verdict\x20after\x20casting\x20at\x20least\x20one\x20ballot\x20(arb.move\x20skips\x20the\x20deadline\x20assert\x20when\x20the\x20Option\x20is\x20none)\x20—\x20this\x20is\x20the\x20SAFE\x20default;\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20bounded\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours);\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20the\x20case\x20PERMANENTLY\x20DEADLOCKS\x20(kl-real-261016\x20F-01,\x20chain-verified):\x20every\x20vote\x20aborts\x20E_VOTING_DEADLINE_PASSED,\x20so\x20no\x20ballot\x20can\x20ever\x20exist,\x20the\x20verdict\x20then\x20aborts\x20E_NO_VOTE_CAST\x20(a\x20verdict\x20requires\x20>=\x201\x20cast\x20ballot),\x20and\x20reset\x20aborts\x20as\x20well.\x20NEVER\x20pass\x200.\x20Direct\x20verdict\x20=\x20null\x20+\x20cast\x20one\x20ballot\x20first,\x20then\x20deliver\x20the\x20verdict.\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VotingDeadlineChangeSchema=z['object']({'arb':ARB_CASE_FIELD,'voting_deadline':z['union']([z['number'](),z['null']()])['describe']('New\x20voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20the\x20case\x20PERMANENTLY\x20DEADLOCKS\x20(votes\x20abort\x20E_VOTING_DEADLINE_PASSED,\x20no\x20ballot\x20can\x20ever\x20exist,\x20verdict\x20aborts\x20E_NO_VOTE_CAST,\x20reset\x20aborts).\x20NEVER\x20pass\x200;\x20'+'null\x20=\x20open-ended\x20voting\x20with\x20no\x20deadline\x20(verdict\x20allowed\x20after\x20casting\x20at\x20least\x20one\x20ballot\x20—\x20use\x20this\x20for\x20the\x20immediate-verdict\x20flow:\x20cast\x20one\x20ballot,\x20then\x20deliver);\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours).\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VoteSchema=z['object']({'arb':ARB_CASE_FIELD,'votes':z['array'](z['number']()['int']()['min'](0x0)['max'](0xff))['describe']('Proposition\x20INDICES\x20(0-based,\x20u8)\x20the\x20voter\x20agrees\x20with\x20—\x20e.g.\x20[0]\x20votes\x20for\x20the\x20first\x20proposition.\x20'+'Re-voting\x20REPLACES\x20the\x20voter\x27s\x20previous\x20vote\x20(old\x20weight\x20removed,\x20new\x20applied).\x20'+'Out-of-range\x20index\x20aborts\x20with\x20E_PROPOSITION_NOT_FOUND.'),'voting_guard':NameOrAddressSchema['optional']()['describe']('Voting\x20Guard\x20for\x20WEIGHTED\x20voting.\x20DECISION\x20RULE\x20(contract-enforced):\x0a'+'(A)\x20Arbitration\x20HAS\x20a\x20non-empty\x20voting_guard\x20list\x20→\x20plain\x20vote\x20is\x20REJECTED\x20on-chain\x20with\x20E_VOTING_GUARD_USED\x20(abort\x202).\x20'+'You\x20MUST\x20provide\x20this\x20field\x20set\x20to\x20ONE\x20guard\x20from\x20the\x20Arbitration\x27s\x20voting_guard\x20list,\x20and\x20fill\x20its\x20submission:\x20'+'when\x20the\x20guard\x27s\x20vote_weight\x20is\x20{GuardIdentifier:\x20pos},\x20the\x20number\x20you\x20submit\x20at\x20that\x20table\x20position\x20IS\x20the\x20vote\x20weight;\x20'+'when\x20it\x20is\x20{FixedValue:\x20v},\x20no\x20submission\x20is\x20needed\x20(weight\x20is\x20fixed).\x20The\x20SDK\x20then\x20routes\x20the\x20call\x20through\x20the\x20Guard-weighted\x20vote\x20path\x20via\x20a\x20Passport.\x20'+'Omitting\x20this\x20field\x20on\x20such\x20an\x20Arbitration\x20now\x20fails\x20fast\x20pre-call\x20with\x20the\x20list\x20of\x20valid\x20guards.\x0a'+'(B)\x20Arbitration\x20has\x20NO\x20voting_guard\x20→\x20omit\x20this\x20field;\x20the\x20SDK\x20uses\x20plain\x20vote\x20(weight\x201,\x20permission-gated),\x20or\x20the\x20passport-gated\x20vote\x20path\x20when\x20other\x20guards\x20require\x20it.\x0a'+'BOTH\x20(B)\x20paths\x20still\x20assert\x20ARBITRATION_VOTE=358\x20on-chain\x20(the\x20SDK\x20now\x20pre-checks\x20358\x20and\x20fails\x20fast\x20with\x20\x27Missing\x20permissions\x20358\x27).\x20'+'An\x20empty\x20voting_guard\x20means\x20EQUAL\x20WEIGHT\x20(1\x20person\x201\x20vote),\x20NOT\x20permissionless\x20—\x20there\x20is\x20no\x20permission-free\x20vote\x20entry.\x20'+'For\x20genuinely\x20open\x20voting,\x20configure\x20a\x20public\x20voting_guard\x20(op=\x22set\x22)\x20and\x20vote\x20via\x20path\x20(A):\x20the\x20weighted\x20passport\x20path\x20authorizes\x20by\x20the\x20guard\x20and\x20does\x20NOT\x20require\x20358.\x0a'+'The\x20Guard\x20(when\x20provided)\x20MUST\x20be\x20in\x20the\x20Arbitration\x27s\x20voting_guard\x20list\x20—\x20an\x20unlisted\x20guard\x20aborts\x20with\x20E_VOTING_GUARD_NOT_FOUND.\x20'+'WEIGHTED\x20REVOTE\x20RESIDUE\x20(az3-mn-261013,\x20arb.move:315-320\x20source\x20comment):\x20under\x20weighted\x20voting\x20a\x20re-vote\x20is\x20NOT\x20clean\x20—\x20'+'re-voting\x20with\x20a\x20LARGER\x20weight\x20than\x20the\x20previous\x20one\x20aborts\x20on\x20underflow\x20(re-vote\x20DoS\x20surface);\x20'+'re-voting\x20with\x20a\x20SMALLER\x20weight\x20succeeds\x20but\x20leaves\x20phantom\x20votes\x20behind.\x20Treat\x20the\x20first\x20weighted\x20vote\x20as\x20final\x20when\x20possible.')})['strict']();export const FeedbackSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbitrationActionSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.'),'indemnity':z['number']()['int']()['min'](0x0)['describe']('Awarded\x20compensation\x20in\x20integer\x20smallest\x20units\x20(0\x20=\x20a\x20denial\x20ruling\x20that\x20pays\x20nothing).\x20'+'Hard-capped\x20at\x203x\x20the\x20disputed\x20order\x20amount\x20on\x20chain.\x20Funded\x20from\x20the\x20Service\x27s\x20merchant-prepaid\x20'+'compensation\x20fund\x20—\x20an\x20award\x20larger\x20than\x20the\x20fund\x20balance\x20aborts\x20the\x20later\x20payout\x20until\x20the\x20'+'merchant\x20tops\x20up.\x20A\x20non-zero\x20award\x20consumes\x20the\x20order\x27s\x20one-shot\x20compensation\x20latch:\x20refund\x20rails\x20'+'gated\x20on\x20\x27no\x20award\x20paid\x27\x20can\x20never\x20fire\x20afterwards,\x20so\x20pair\x20them\x20with\x20a\x20merchant-recovery\x20rail\x20at\x20build\x20time.')})['strict']();export const ResetSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbWithdrawSchema=z['object']({'arb':ARB_CASE_FIELD})['strict']();export const FeesTransferToSchema=z['union']([z['object']({'allocation':NameOrAddressSchema['describe']('Allocation\x20object\x20ID\x20or\x20name.')})['strict'](),z['object']({'treasury':NameOrAddressSchema['describe']('Treasury\x20object\x20ID\x20or\x20name.\x20NOTE:\x20the\x20transferred\x20funds\x20arrive\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20Treasury\x20and\x20only\x20count\x20'+'after\x20the\x20Treasury\x20intakes\x20them\x20—\x20call\x20treasury\x20receive:\x20\x22recently\x22\x20(requires\x20permission\x20253\x20TREASURY_RECEIVE\x20on\x20the\x20Treasury).')})['strict']()]);export const FeesTransferSchema=z['object']({'to':FeesTransferToSchema['describe']('Transfer\x20arbitration\x20fees\x20to\x20the\x20specified\x20Allocation\x20object\x20or\x20Treasury\x20object.'),'payment_remark':NameSchema['describe']('Payment\x20remark.'),'payment_index':z['number']()['int']()['min'](0x0)['describe']('0-based\x20index\x20of\x20the\x20fee\x20payment\x20inside\x20the\x20Arb\x20case\x27s\x20fees\x20table\x20(query\x20the\x20Arb\x20case\x20with\x20onchain_operations\x20type\x20\x27q\x27\x20/\x20onchain_table_data\x20to\x20list\x20its\x20fees\x20and\x20their\x20indices).\x20REQUIRED\x20—\x20without\x20it\x20the\x20transfer\x20cannot\x20name\x20which\x20fee\x20record\x20to\x20move.'),'newPayment':NamedObjectSchema['optional']()['describe']('Name\x20for\x20the\x20newly\x20created\x20payment\x20object.')})['strict']();export const VotingGuardActionSchema=z['discriminatedUnion']('op',[z['object']({'op':z['enum'](['add','set']),'guards':z['array'](VotingGuardSchema)})['strict'](),z['object']({'op':z['literal']('remove'),'guards':z['array'](NameOrAddressSchema)})['strict'](),z['object']({'op':z['literal']('clear')})['strict']()]);export const CallArbitration_DataSchema=z['object']({'object':TypedPermissionObjectSchema,'dispute':DisputeSchema['optional']()['describe']('Create\x20a\x20new\x20Arb\x20object\x20for\x20the\x20order;\x20the\x20case\x20lands\x20directly\x20in\x20state\x201\x20(Arbitrator_confirming)\x20—\x20the\x20customer\x20does\x20not\x20confirm\x20at\x20filing\x20time.\x20FILING\x20IS\x20SERVICE-BOUND:\x20the\x20SDK\x20resolves\x20the\x20order\x27s\x20Service\x20and\x20files\x20through\x20its\x20Service-side\x20dispute\x20entry\x20points,\x20which\x20enforce\x20the\x20merchant\x27s\x20arbitrator\x20allowlist,\x20the\x20service-arbitration\x20neutrality\x20rule\x20and\x20the\x20order\x20binding\x20before\x20the\x20case\x20is\x20minted\x20(venues\x20gated\x20by\x20a\x20usage_guard\x20require\x20the\x20passport\x20path,\x20verified\x20in\x20the\x20same\x20transaction).\x20The\x20arbitration-side\x20filing\x20entries\x20are\x20package-internal\x20and\x20cannot\x20be\x20called\x20directly'),'description':DescriptionSchema['optional']()['describe']('Introduction\x20of\x20the\x20Arbitration\x20object.'),'location':LongNameSchema['optional']()['describe']('Arbitration\x20location.'),'fee':BalanceTypeSchema['optional']()['describe']('Arbitration\x20filing\x20fee.\x20FORMAT:\x20a\x20direct\x20amount\x20value\x20—\x20NOT\x20wrapped\x20in\x20'+'{balance:\x20...}\x20(that\x20CoinParam\x20shape\x20is\x20only\x20for\x20dispute.fee,\x20which\x20pays\x20a\x20coin\x20object).\x20'+'Accepted:\x20smallest-unit\x20number\x20or\x20string\x20(e.g.\x2050000000\x20=\x200.05\x20WOW\x20at\x209\x20decimals),\x20or\x20'+'display\x20format\x20with\x20the\x20token\x20symbol\x20(e.g.\x20\x220.05WOW\x22)\x20—\x20the\x20Fund\x20Processing\x20Layer\x20'+'converts\x20it\x20using\x20the\x20Arbitration\x20object\x27s\x20own\x20token\x20decimals.\x20'+'Default\x200\x20on\x20creation:\x20disputes\x20are\x20then\x20free\x20(the\x20filer\x27s\x20coin\x20is\x20fully\x20refunded\x20on\x20'+'filing)\x20and\x20the\x20arbitrator\x20earns\x20no\x20per-case\x20fee.'),'pause':z['boolean']()['optional']()['describe']('Whether\x20to\x20pause\x20arbitration.'),'confirm':ConfirmSchema['optional']()['describe']('ARBITRATOR-side\x20material\x20confirmation\x20(from\x20state\x201):\x20moves\x20the\x20case\x20to\x20state\x202\x20(Voting).\x20'+'Customers\x20cannot\x20call\x20this\x20—\x20the\x20customer-side\x20step\x20is\x20order.arb_confirm\x20(state\x200\x20to\x201).'),'voting_deadline_change':VotingDeadlineChangeSchema['optional']()['describe']('Change\x20the\x20voting\x20deadline.'),'vote':VoteSchema['optional']()['describe']('Vote\x20on\x20user\x20propositions.'),'feedback':FeedbackSchema['optional']()['describe']('Arbitration\x20feedback\x20for\x20the\x20Arb\x20object.'),'arbitration':ArbitrationActionSchema['optional']()['describe']('Provide\x20a\x20definitive\x20arbitration\x20result.'),'reset':ResetSchema['optional']()['describe']('ARBITRATOR-side\x20reset\x20(arbitration\x20permission\x20holder;\x20valid\x20from\x20state\x204\x20Objectionable\x20or\x20state\x201):\x20voids\x20the\x20ruling,\x20'+'clears\x20the\x20indemnity\x20and\x20returns\x20the\x20case\x20to\x20state\x200\x20(Principal_confirming).\x20After\x20a\x20reset\x20ONLY\x20the\x20customer\x20can\x20advance\x20the\x20case\x20'+'again\x20via\x20order.arb_confirm\x20—\x20state\x200\x20has\x20no\x20timeout\x20and\x20the\x20fee\x20stays\x20locked\x20until\x20the\x20customer\x20re-confirms.'),'arb_withdraw':ArbWithdrawSchema['optional']()['describe']('Withdraw\x20arbitration\x20fees\x20from\x20the\x20Arb\x20object\x20(arbitrator).\x20Immediately\x20from\x20state\x205\x20(Finished);\x20from\x20state\x203\x20only\x20after\x2030\x20days\x20'+'from\x20the\x20ruling\x20time\x20(no\x20objection\x20filed\x20—\x20silence\x20=\x20acceptance);\x20rejected\x20in\x20states\x200/1/2.\x20'+'State\x204\x20(Objectionable)\x20can\x20NEVER\x20withdraw\x20(protocol\x20141):\x20a\x20contested\x20case\x20keeps\x20its\x20fee\x20escrowed\x20until\x20the\x20customer\x20'+'closes\x20the\x20objection\x20cycle\x20—\x20reset\x20→\x20order.arb_confirm\x20→\x20new\x20ruling\x20→\x20unchallenged\x20(or\x20accepted\x20via\x20finish).\x20'+'⚠️\x20TWO-STAGE\x20FEE\x20CASH-OUT\x20(verified\x20on\x20testnet):\x20this\x20call\x20does\x20NOT\x20pay\x20the\x20arbitrator\x27s\x20wallet\x20—\x20it\x20moves\x20the\x20case\x20fee\x20'+'into\x20the\x20Arbitration\x20(Registration)\x20object\x27s\x20own\x20balance\x20pool.\x20To\x20actually\x20receive\x20the\x20money:\x20'+'fees_transfer\x20(to\x20a\x20treasury\x20or\x20allocation)\x20→\x20treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20→\x20treasury\x20withdraw\x20→\x20'+'recipient\x20payment\x20receive.\x20A\x20successful\x20arb_withdraw\x20with\x20no\x20wallet\x20balance\x20change\x20is\x20EXPECTED,\x20not\x20a\x20failure.'),'fees_transfer':FeesTransferSchema['optional']()['describe']('Distribute\x20the\x20withdrawn\x20arbitration\x20fees.\x20SHAPE\x20(exact\x20—\x20a\x20malformed\x20shape\x20aborts\x20on-chain\x20with\x20'+'CommandArgumentError\x20TypeMismatch,\x20observed\x20on\x20testnet):\x20\x27to\x27\x20is\x20a\x20SINGLE-KEY\x20object\x20with\x20EXACTLY\x20ONE\x20of\x20'+'{allocation:\x20\x27<Allocation\x20object\x20ID\x20or\x20registered\x20name>\x27}\x20or\x20{treasury:\x20\x27<Treasury\x20object\x20ID\x20or\x20registered\x20name>\x27}.\x20'+'The\x20value\x20must\x20reference\x20an\x20actual\x20Allocation\x20/\x20Treasury\x20OBJECT\x20(its\x20on-chain\x20address\x20or\x20LocalMark\x20name)\x20—\x20'+'a\x20plain\x20wallet\x20address,\x20the\x20Arb\x20case,\x20or\x20the\x20Arbitration\x20registration\x20object\x20is\x20NOT\x20a\x20valid\x20target.\x20'+'payment_index\x20is\x20REQUIRED\x20and\x20must\x20name\x20an\x20existing\x20fee\x20payment\x20record\x20in\x20the\x20Arb\x20case\x27s\x20fees\x20table\x20'+'(list\x20the\x20fees\x20and\x20their\x20indices\x20via\x20onchain_operations\x20type\x20\x27q\x27\x20/\x20onchain_table_data\x20on\x20the\x20Arb\x20case).\x20'+'Moves\x20the\x20Arbitration\x27s\x20ENTIRE\x20balance\x20pool\x20in\x20ONE\x20call\x20—\x20there\x20is\x20NO\x20amount\x20parameter;\x20the\x20pool\x20must\x20be\x20'+'funded\x20first\x20with\x20arb_withdraw.\x20The\x20balance\x20leaves\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20target;\x20for\x20a\x20treasury\x20'+'target,\x20intake\x20it\x20with\x20treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20—\x20see\x20the\x20\x27to\x27\x20field\x20description.'),'usage_guard':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20when\x20users\x20apply\x20for\x20arbitration;\x20if\x20Guard\x20verification\x20fails,\x20users\x20will\x20not\x20be\x20able\x20to\x20apply\x20for\x20arbitration.'),'voting_guard':VotingGuardActionSchema['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20during\x20arbitration\x20voting;\x20if\x20Guard\x20verification\x20fails,\x20arbitration\x20voting\x20will\x20fail.'),'owner_receive':ReceivedObjectsOrRecentlySchema['optional']()['describe']('Unwrap\x20CoinWrapper\x20objects\x20and\x20other\x20objects\x20received\x20by\x20this\x20Arbitration\x20object\x20and\x20send\x20them\x20to\x20the\x20owner\x20of\x20its\x20Permission\x20object.'+RECEIVE_FORMAT_BLOCK_OBJECTS),'um':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Contact\x20object\x20ID\x20or\x20name.')})['strict']()['describe']('On-chain\x20Arbitration\x20operations.\x20TWO\x20OBJECT\x20KINDS\x20—\x20do\x20not\x20confuse\x20them\x20(§5.9):\x20the\x20ROOT\x20\x27object\x27\x20field\x20is\x20the\x20Arbitration\x20(arbitrator\x20REGISTRATION)\x20object;\x20the\x20Arb\x20(single\x20CASE)\x20created\x20by\x20\x27dispute\x27\x20is\x20addressed\x20via\x20each\x20case\x20operation\x27s\x20\x27arb\x27\x20field.\x20USAGE:\x20(1)\x20CREATE\x20NEW:\x20Set\x20\x27object\x27\x20field\x20with\x20OBJECT\x20format\x20{name,\x20type_parameter,\x20permission,\x20...}\x20to\x20create\x20an\x20Arbitration.\x20NOTE:\x27name\x27\x20goes\x20INSIDE\x20\x27object\x27,\x20NOT\x20at\x20the\x20data\x20root\x20level.\x20\x27permission\x27\x20can\x20be\x20a\x20new\x20Permission\x20object\x20or\x20reference\x20an\x20existing\x20one\x20-\x20check\x20\x27object\x27\x20field\x20description\x20for\x20details.\x20⚠️\x20PERMISSION\x20RULE\x20(contract-enforced):\x20the\x20Arbitration\x27s\x20permission\x20MUST\x20be\x20DIFFERENT\x20from\x20the\x20permission\x20of\x20any\x20Service\x20it\x20will\x20be\x20bound\x20to\x20—\x20binding\x20an\x20Arbitration\x20that\x20SHARES\x20the\x20Service\x27s\x20Permission\x20aborts\x20with\x20E_ARBITRATION_PERMISSION_CONFLICT\x20(error\x2033).\x20Always\x20create\x20a\x20DEDICATED\x20Permission\x20object\x20for\x20each\x20Arbitration.\x20(2)\x20OPERATE\x20EXISTING:\x20Set\x20\x27object\x27\x20field\x20with\x20STRING\x20format\x20(object\x20ID\x20or\x20name).\x20The\x20\x27object\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED\x20in\x20both\x20cases.\x20STRING\x20for\x20existing,\x20OBJECT\x20for\x20new\x20creation.');export const CallArbitration_InputSchema=z['object']({'data':CallArbitration_DataSchema,'env':CallEnvSchema['optional'](),'submission':SubmissionCallSchema['optional']()})['strict']();
|
|
1
|
+
import{z}from'zod';import{TypedPermissionObjectSchema,CoinParamSchema,NamedObjectSchema,CallEnvSchema,SubmissionCallSchema}from'./base.js';import{VotingGuardSchema}from'../query/index.js';import{BalanceTypeSchema,DescriptionSchema,LongNameSchema,NameOrAddressSchema,NameSchema,ReceivedObjectsOrRecentlySchema,RECEIVE_FORMAT_BLOCK_OBJECTS}from'../common/index.js';const ARB_CASE_FIELD=NameOrAddressSchema['describe']('Arb\x20CASE\x20object\x20—\x20the\x20single\x20dispute\x20case\x20created\x20by\x20`dispute`\x20(the\x20object\x20you\x20may\x20have\x20named\x20via\x20`namedArb`).\x20'+'NOT\x20the\x20arbitrator\x20registration\x20object:\x20that\x20one\x20goes\x20in\x20the\x20ROOT\x20`object`\x20field,\x20while\x20every\x20case-scoped\x20'+'operation\x20(confirm\x20/\x20voting_deadline_change\x20/\x20vote\x20/\x20feedback\x20/\x20arbitration\x20/\x20reset\x20/\x20arb_withdraw)\x20addresses\x20'+'the\x20case\x20through\x20THIS\x20field.\x20Accepts\x20the\x20Arb\x27s\x200x\x20address\x20or\x20its\x20LocalMark\x20name.');export const DisputeSchema=z['object']({'order':NameOrAddressSchema['describe']('Order\x20ID\x20or\x20name.'),'description':DescriptionSchema['describe']('Dispute\x20description.\x20REQUIRED\x20and\x20NON-EMPTY\x20on-chain\x20(the\x20dispute\x20call\x20aborts\x20when\x20it\x20is\x20empty;\x20max\x204000\x20bytes).\x20State\x20what\x20the\x20dispute\x20is\x20about\x20—\x20it\x20is\x20permanent\x20on-chain\x20case\x20context.'),'proposition':z['array'](LongNameSchema)['describe']('List\x20of\x20dispute\x20propositions.'),'fee':CoinParamSchema['describe']('Coin\x20attached\x20to\x20the\x20dispute\x20filing.\x20FORMAT:\x20{balance:\x20<amount_in_smallest_unit>}\x20—\x20field\x20name\x20is\x20\x27balance\x27\x20(NOT\x20\x27amount\x27).\x20'+'The\x20token\x20type\x20and\x20precision\x20are\x20determined\x20by\x20the\x20Arbitration\x20object\x27s\x20type_parameter\x20(the\x20generic\x20type\x20set\x20when\x20the\x20Arbitration\x20was\x20created).\x20'+'For\x20WOW\x20(9\x20decimals):\x20{balance:\x2050000000}\x20=\x200.05\x20WOW.\x20'+'CHAIN\x20MECHANISM\x20(S14-F②,\x20on\x20dispute\x20filing):\x20the\x20case\x20escrows\x20the\x20ARBITRATION\x20VENUE\x27s\x20configured\x20fee\x20'+'(self.fee),\x20NOT\x20this\x20amount\x20—\x20any\x20residue\x20above\x20the\x20venue\x20fee\x20is\x20REFUNDED\x20to\x20the\x20filer\x20in\x20the\x20SAME\x20transaction.\x20'+'If\x20the\x20venue\x20fee\x20is\x200,\x20the\x20entire\x20attached\x20coin\x20refunds\x20and\x20the\x20case\x20escrows\x20nothing\x20(the\x20created\x20Arb\x27s\x20fee\x20reads\x20\x270\x27).\x20'+'To\x20charge\x20a\x20real\x20per-case\x20fee,\x20the\x20VENUE\x20must\x20set\x20it\x20first:\x20{operation_type:\x27arbitration\x27,\x20data:{object:\x27<venue>\x27,\x20fee:<amount>}}\x20'+'(arbitrator\x20permission\x20357);\x20filing\x20then\x20requires\x20balance\x20>=\x20that\x20fee\x20(E_FEE_NOT_ENOUGH).\x20'+'ATTACHING\x20MORE\x20THAN\x20THE\x20VENUE\x20FEE\x20IS\x20A\x20NO-OP\x20for\x20the\x20case\x20—\x20the\x20excess\x20comes\x20straight\x20back.'),'namedArb':NamedObjectSchema['optional']()['describe']('RECOMMENDED:\x20Set\x20a\x20local\x20name\x20for\x20the\x20newly\x20created\x20Arb\x20(arbitration\x20case)\x20object.\x20'+'Without\x20this,\x20the\x20Arb\x20is\x20only\x20referenceable\x20by\x20its\x20on-chain\x20address.\x20'+'Example:\x20{name:\x20\x27my_dispute_v1\x27}\x20allows\x20subsequent\x20vote/feedback\x20operations\x20to\x20use\x20\x27my_dispute_v1\x27.')})['strict']();export const ConfirmSchema=z['object']({'arb':ARB_CASE_FIELD,'voting_deadline':z['union']([z['number']()['int']()['min'](0x0),z['null']()])['default'](null)['describe']('Voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'null\x20(DEFAULT\x20when\x20omitted)\x20=\x20open-ended\x20voting,\x20no\x20deadline;\x20parties\x20may\x20vote\x20at\x20any\x20time\x20and\x20the\x20arbitrator\x20may\x20deliver\x20the\x20verdict\x20after\x20casting\x20at\x20least\x20one\x20ballot\x20(the\x20on-chain\x20arbitration\x20skips\x20the\x20deadline\x20assert\x20when\x20the\x20Option\x20is\x20none)\x20—\x20this\x20is\x20the\x20SAFE\x20default;\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20bounded\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours);\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20the\x20case\x20PERMANENTLY\x20DEADLOCKS\x20(kl-real-261016\x20F-01,\x20chain-verified):\x20every\x20vote\x20aborts\x20E_VOTING_DEADLINE_PASSED,\x20so\x20no\x20ballot\x20can\x20ever\x20exist,\x20the\x20verdict\x20then\x20aborts\x20E_NO_VOTE_CAST\x20(a\x20verdict\x20requires\x20>=\x201\x20cast\x20ballot),\x20and\x20reset\x20aborts\x20as\x20well.\x20NEVER\x20pass\x200.\x20Direct\x20verdict\x20=\x20null\x20+\x20cast\x20one\x20ballot\x20first,\x20then\x20deliver\x20the\x20verdict.\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VotingDeadlineChangeSchema=z['object']({'arb':ARB_CASE_FIELD,'voting_deadline':z['union']([z['number'](),z['null']()])['describe']('New\x20voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20the\x20case\x20PERMANENTLY\x20DEADLOCKS\x20(votes\x20abort\x20E_VOTING_DEADLINE_PASSED,\x20no\x20ballot\x20can\x20ever\x20exist,\x20verdict\x20aborts\x20E_NO_VOTE_CAST,\x20reset\x20aborts).\x20NEVER\x20pass\x200;\x20'+'null\x20=\x20open-ended\x20voting\x20with\x20no\x20deadline\x20(verdict\x20allowed\x20after\x20casting\x20at\x20least\x20one\x20ballot\x20—\x20use\x20this\x20for\x20the\x20immediate-verdict\x20flow:\x20cast\x20one\x20ballot,\x20then\x20deliver);\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours).\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VoteSchema=z['object']({'arb':ARB_CASE_FIELD,'votes':z['array'](z['number']()['int']()['min'](0x0)['max'](0xff))['describe']('Proposition\x20INDICES\x20(0-based,\x20u8)\x20the\x20voter\x20agrees\x20with\x20—\x20e.g.\x20[0]\x20votes\x20for\x20the\x20first\x20proposition.\x20'+'Re-voting\x20REPLACES\x20the\x20voter\x27s\x20previous\x20vote\x20(old\x20weight\x20removed,\x20new\x20applied).\x20'+'Out-of-range\x20index\x20aborts\x20with\x20E_PROPOSITION_NOT_FOUND.'),'voting_guard':NameOrAddressSchema['optional']()['describe']('Voting\x20Guard\x20for\x20WEIGHTED\x20voting.\x20DECISION\x20RULE\x20(contract-enforced):\x0a'+'(A)\x20Arbitration\x20HAS\x20a\x20non-empty\x20voting_guard\x20list\x20→\x20plain\x20vote\x20is\x20REJECTED\x20on-chain\x20with\x20E_VOTING_GUARD_USED\x20(abort\x202).\x20'+'You\x20MUST\x20provide\x20this\x20field\x20set\x20to\x20ONE\x20guard\x20from\x20the\x20Arbitration\x27s\x20voting_guard\x20list,\x20and\x20fill\x20its\x20submission:\x20'+'when\x20the\x20guard\x27s\x20vote_weight\x20is\x20{GuardIdentifier:\x20pos},\x20the\x20number\x20you\x20submit\x20at\x20that\x20table\x20position\x20IS\x20the\x20vote\x20weight;\x20'+'when\x20it\x20is\x20{FixedValue:\x20v},\x20no\x20submission\x20is\x20needed\x20(weight\x20is\x20fixed).\x20The\x20SDK\x20then\x20routes\x20the\x20call\x20through\x20the\x20Guard-weighted\x20vote\x20path\x20via\x20a\x20Passport.\x20'+'Omitting\x20this\x20field\x20on\x20such\x20an\x20Arbitration\x20now\x20fails\x20fast\x20pre-call\x20with\x20the\x20list\x20of\x20valid\x20guards.\x0a'+'(B)\x20Arbitration\x20has\x20NO\x20voting_guard\x20→\x20omit\x20this\x20field;\x20the\x20SDK\x20uses\x20plain\x20vote\x20(weight\x201,\x20permission-gated),\x20or\x20the\x20passport-gated\x20vote\x20path\x20when\x20other\x20guards\x20require\x20it.\x0a'+'BOTH\x20(B)\x20paths\x20still\x20assert\x20ARBITRATION_VOTE=358\x20on-chain\x20(the\x20SDK\x20now\x20pre-checks\x20358\x20and\x20fails\x20fast\x20with\x20\x27Missing\x20permissions\x20358\x27).\x20'+'An\x20empty\x20voting_guard\x20means\x20EQUAL\x20WEIGHT\x20(1\x20person\x201\x20vote),\x20NOT\x20permissionless\x20—\x20there\x20is\x20no\x20permission-free\x20vote\x20entry.\x20'+'For\x20genuinely\x20open\x20voting,\x20configure\x20a\x20public\x20voting_guard\x20(op=\x22set\x22)\x20and\x20vote\x20via\x20path\x20(A):\x20the\x20weighted\x20passport\x20path\x20authorizes\x20by\x20the\x20guard\x20and\x20does\x20NOT\x20require\x20358.\x0a'+'The\x20Guard\x20(when\x20provided)\x20MUST\x20be\x20in\x20the\x20Arbitration\x27s\x20voting_guard\x20list\x20—\x20an\x20unlisted\x20guard\x20aborts\x20with\x20E_VOTING_GUARD_NOT_FOUND.\x20'+'WEIGHTED\x20REVOTE\x20RESIDUE\x20(az3-mn-261013):\x20under\x20weighted\x20voting\x20a\x20re-vote\x20is\x20NOT\x20clean\x20—\x20'+'re-voting\x20with\x20a\x20LARGER\x20weight\x20than\x20the\x20previous\x20one\x20aborts\x20on\x20underflow\x20(re-vote\x20DoS\x20surface);\x20'+'re-voting\x20with\x20a\x20SMALLER\x20weight\x20succeeds\x20but\x20leaves\x20phantom\x20votes\x20behind.\x20Treat\x20the\x20first\x20weighted\x20vote\x20as\x20final\x20when\x20possible.')})['strict']();export const FeedbackSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbitrationActionSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.'),'indemnity':z['number']()['int']()['min'](0x0)['describe']('Awarded\x20compensation\x20in\x20integer\x20smallest\x20units\x20(0\x20=\x20a\x20denial\x20ruling\x20that\x20pays\x20nothing).\x20'+'Hard-capped\x20at\x203x\x20the\x20disputed\x20order\x20amount\x20on\x20chain.\x20Funded\x20from\x20the\x20Service\x27s\x20merchant-prepaid\x20'+'compensation\x20fund\x20—\x20an\x20award\x20larger\x20than\x20the\x20fund\x20balance\x20aborts\x20the\x20later\x20payout\x20until\x20the\x20'+'merchant\x20tops\x20up.\x20A\x20non-zero\x20award\x20consumes\x20the\x20order\x27s\x20one-shot\x20compensation\x20latch:\x20refund\x20rails\x20'+'gated\x20on\x20\x27no\x20award\x20paid\x27\x20can\x20never\x20fire\x20afterwards,\x20so\x20pair\x20them\x20with\x20a\x20merchant-recovery\x20rail\x20at\x20build\x20time.')})['strict']();export const ResetSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbWithdrawSchema=z['object']({'arb':ARB_CASE_FIELD})['strict']();export const FeesTransferToSchema=z['union']([z['object']({'allocation':NameOrAddressSchema['describe']('Allocation\x20object\x20ID\x20or\x20name.')})['strict'](),z['object']({'treasury':NameOrAddressSchema['describe']('Treasury\x20object\x20ID\x20or\x20name.\x20NOTE:\x20the\x20transferred\x20funds\x20arrive\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20Treasury\x20and\x20only\x20count\x20'+'after\x20the\x20Treasury\x20intakes\x20them\x20—\x20call\x20treasury\x20receive:\x20\x22recently\x22\x20(requires\x20permission\x20253\x20TREASURY_RECEIVE\x20on\x20the\x20Treasury).')})['strict']()]);export const FeesTransferSchema=z['object']({'to':FeesTransferToSchema['describe']('Transfer\x20arbitration\x20fees\x20to\x20the\x20specified\x20Allocation\x20object\x20or\x20Treasury\x20object.'),'payment_remark':NameSchema['describe']('Payment\x20remark.'),'payment_index':z['number']()['int']()['min'](0x0)['describe']('0-based\x20index\x20of\x20the\x20fee\x20payment\x20inside\x20the\x20Arb\x20case\x27s\x20fees\x20table\x20(query\x20the\x20Arb\x20case\x20with\x20onchain_operations\x20type\x20\x27q\x27\x20/\x20onchain_table_data\x20to\x20list\x20its\x20fees\x20and\x20their\x20indices).\x20REQUIRED\x20—\x20without\x20it\x20the\x20transfer\x20cannot\x20name\x20which\x20fee\x20record\x20to\x20move.'),'newPayment':NamedObjectSchema['optional']()['describe']('Name\x20for\x20the\x20newly\x20created\x20payment\x20object.')})['strict']();export const VotingGuardActionSchema=z['discriminatedUnion']('op',[z['object']({'op':z['enum'](['add','set']),'guards':z['array'](VotingGuardSchema)})['strict'](),z['object']({'op':z['literal']('remove'),'guards':z['array'](NameOrAddressSchema)})['strict'](),z['object']({'op':z['literal']('clear')})['strict']()]);export const CallArbitration_DataSchema=z['object']({'object':TypedPermissionObjectSchema,'dispute':DisputeSchema['optional']()['describe']('Create\x20a\x20new\x20Arb\x20object\x20for\x20the\x20order;\x20the\x20case\x20lands\x20directly\x20in\x20state\x201\x20(Arbitrator_confirming)\x20—\x20the\x20customer\x20does\x20not\x20confirm\x20at\x20filing\x20time.\x20FILING\x20IS\x20SERVICE-BOUND:\x20the\x20SDK\x20resolves\x20the\x20order\x27s\x20Service\x20and\x20files\x20through\x20its\x20Service-side\x20dispute\x20entry\x20points,\x20which\x20enforce\x20the\x20merchant\x27s\x20arbitrator\x20allowlist,\x20the\x20service-arbitration\x20neutrality\x20rule\x20and\x20the\x20order\x20binding\x20before\x20the\x20case\x20is\x20minted\x20(venues\x20gated\x20by\x20a\x20usage_guard\x20require\x20the\x20passport\x20path,\x20verified\x20in\x20the\x20same\x20transaction).\x20The\x20arbitration-side\x20filing\x20entries\x20are\x20package-internal\x20and\x20cannot\x20be\x20called\x20directly'),'description':DescriptionSchema['optional']()['describe']('Introduction\x20of\x20the\x20Arbitration\x20object.'),'location':LongNameSchema['optional']()['describe']('Arbitration\x20location.'),'fee':BalanceTypeSchema['optional']()['describe']('Arbitration\x20filing\x20fee.\x20FORMAT:\x20a\x20direct\x20amount\x20value\x20—\x20NOT\x20wrapped\x20in\x20'+'{balance:\x20...}\x20(that\x20CoinParam\x20shape\x20is\x20only\x20for\x20dispute.fee,\x20which\x20pays\x20a\x20coin\x20object).\x20'+'Accepted:\x20smallest-unit\x20number\x20or\x20string\x20(e.g.\x2050000000\x20=\x200.05\x20WOW\x20at\x209\x20decimals),\x20or\x20'+'display\x20format\x20with\x20the\x20token\x20symbol\x20(e.g.\x20\x220.05WOW\x22)\x20—\x20the\x20Fund\x20Processing\x20Layer\x20'+'converts\x20it\x20using\x20the\x20Arbitration\x20object\x27s\x20own\x20token\x20decimals.\x20'+'Default\x200\x20on\x20creation:\x20disputes\x20are\x20then\x20free\x20(the\x20filer\x27s\x20coin\x20is\x20fully\x20refunded\x20on\x20'+'filing)\x20and\x20the\x20arbitrator\x20earns\x20no\x20per-case\x20fee.'),'pause':z['boolean']()['optional']()['describe']('Whether\x20to\x20pause\x20arbitration.'),'confirm':ConfirmSchema['optional']()['describe']('ARBITRATOR-side\x20material\x20confirmation\x20(from\x20state\x201):\x20moves\x20the\x20case\x20to\x20state\x202\x20(Voting).\x20'+'Customers\x20cannot\x20call\x20this\x20—\x20the\x20customer-side\x20step\x20is\x20order.arb_confirm\x20(state\x200\x20to\x201).'),'voting_deadline_change':VotingDeadlineChangeSchema['optional']()['describe']('Change\x20the\x20voting\x20deadline.'),'vote':VoteSchema['optional']()['describe']('Vote\x20on\x20user\x20propositions.'),'feedback':FeedbackSchema['optional']()['describe']('Arbitration\x20feedback\x20for\x20the\x20Arb\x20object.'),'arbitration':ArbitrationActionSchema['optional']()['describe']('Provide\x20a\x20definitive\x20arbitration\x20result.'),'reset':ResetSchema['optional']()['describe']('ARBITRATOR-side\x20reset\x20(arbitration\x20permission\x20holder;\x20valid\x20from\x20state\x204\x20Objectionable\x20or\x20state\x201):\x20voids\x20the\x20ruling,\x20'+'clears\x20the\x20indemnity\x20and\x20returns\x20the\x20case\x20to\x20state\x200\x20(Principal_confirming).\x20After\x20a\x20reset\x20ONLY\x20the\x20customer\x20can\x20advance\x20the\x20case\x20'+'again\x20via\x20order.arb_confirm\x20—\x20state\x200\x20has\x20no\x20timeout\x20and\x20the\x20fee\x20stays\x20locked\x20until\x20the\x20customer\x20re-confirms.'),'arb_withdraw':ArbWithdrawSchema['optional']()['describe']('Withdraw\x20arbitration\x20fees\x20from\x20the\x20Arb\x20object\x20(arbitrator).\x20Immediately\x20from\x20state\x205\x20(Finished);\x20from\x20state\x203\x20only\x20after\x2030\x20days\x20'+'from\x20the\x20ruling\x20time\x20(no\x20objection\x20filed\x20—\x20silence\x20=\x20acceptance);\x20rejected\x20in\x20states\x200/1/2.\x20'+'State\x204\x20(Objectionable)\x20can\x20NEVER\x20withdraw\x20(protocol\x20141):\x20a\x20contested\x20case\x20keeps\x20its\x20fee\x20escrowed\x20until\x20the\x20customer\x20'+'closes\x20the\x20objection\x20cycle\x20—\x20reset\x20→\x20order.arb_confirm\x20→\x20new\x20ruling\x20→\x20unchallenged\x20(or\x20accepted\x20via\x20finish).\x20'+'⚠️\x20TWO-STAGE\x20FEE\x20CASH-OUT\x20(verified\x20on\x20testnet):\x20this\x20call\x20does\x20NOT\x20pay\x20the\x20arbitrator\x27s\x20wallet\x20—\x20it\x20moves\x20the\x20case\x20fee\x20'+'into\x20the\x20Arbitration\x20(Registration)\x20object\x27s\x20own\x20balance\x20pool.\x20To\x20actually\x20receive\x20the\x20money:\x20'+'fees_transfer\x20(to\x20a\x20treasury\x20or\x20allocation)\x20→\x20treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20→\x20treasury\x20withdraw\x20→\x20'+'recipient\x20payment\x20receive.\x20A\x20successful\x20arb_withdraw\x20with\x20no\x20wallet\x20balance\x20change\x20is\x20EXPECTED,\x20not\x20a\x20failure.'),'fees_transfer':FeesTransferSchema['optional']()['describe']('Distribute\x20the\x20withdrawn\x20arbitration\x20fees.\x20SHAPE\x20(exact\x20—\x20a\x20malformed\x20shape\x20aborts\x20on-chain\x20with\x20'+'CommandArgumentError\x20TypeMismatch,\x20observed\x20on\x20testnet):\x20\x27to\x27\x20is\x20a\x20SINGLE-KEY\x20object\x20with\x20EXACTLY\x20ONE\x20of\x20'+'{allocation:\x20\x27<Allocation\x20object\x20ID\x20or\x20registered\x20name>\x27}\x20or\x20{treasury:\x20\x27<Treasury\x20object\x20ID\x20or\x20registered\x20name>\x27}.\x20'+'The\x20value\x20must\x20reference\x20an\x20actual\x20Allocation\x20/\x20Treasury\x20OBJECT\x20(its\x20on-chain\x20address\x20or\x20LocalMark\x20name)\x20—\x20'+'a\x20plain\x20wallet\x20address,\x20the\x20Arb\x20case,\x20or\x20the\x20Arbitration\x20registration\x20object\x20is\x20NOT\x20a\x20valid\x20target.\x20'+'payment_index\x20is\x20REQUIRED\x20and\x20must\x20name\x20an\x20existing\x20fee\x20payment\x20record\x20in\x20the\x20Arb\x20case\x27s\x20fees\x20table\x20'+'(list\x20the\x20fees\x20and\x20their\x20indices\x20via\x20onchain_operations\x20type\x20\x27q\x27\x20/\x20onchain_table_data\x20on\x20the\x20Arb\x20case).\x20'+'Moves\x20the\x20Arbitration\x27s\x20ENTIRE\x20balance\x20pool\x20in\x20ONE\x20call\x20—\x20there\x20is\x20NO\x20amount\x20parameter;\x20the\x20pool\x20must\x20be\x20'+'funded\x20first\x20with\x20arb_withdraw.\x20The\x20balance\x20leaves\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20target;\x20for\x20a\x20treasury\x20'+'target,\x20intake\x20it\x20with\x20treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20—\x20see\x20the\x20\x27to\x27\x20field\x20description.'),'usage_guard':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20when\x20users\x20apply\x20for\x20arbitration;\x20if\x20Guard\x20verification\x20fails,\x20users\x20will\x20not\x20be\x20able\x20to\x20apply\x20for\x20arbitration.'),'voting_guard':VotingGuardActionSchema['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20during\x20arbitration\x20voting;\x20if\x20Guard\x20verification\x20fails,\x20arbitration\x20voting\x20will\x20fail.'),'owner_receive':ReceivedObjectsOrRecentlySchema['optional']()['describe']('Unwrap\x20CoinWrapper\x20objects\x20and\x20other\x20objects\x20received\x20by\x20this\x20Arbitration\x20object\x20and\x20send\x20them\x20to\x20the\x20owner\x20of\x20its\x20Permission\x20object.'+RECEIVE_FORMAT_BLOCK_OBJECTS),'um':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Contact\x20object\x20ID\x20or\x20name.')})['strict']()['describe']('On-chain\x20Arbitration\x20operations.\x20TWO\x20OBJECT\x20KINDS\x20—\x20do\x20not\x20confuse\x20them\x20(§5.9):\x20the\x20ROOT\x20\x27object\x27\x20field\x20is\x20the\x20Arbitration\x20(arbitrator\x20REGISTRATION)\x20object;\x20the\x20Arb\x20(single\x20CASE)\x20created\x20by\x20\x27dispute\x27\x20is\x20addressed\x20via\x20each\x20case\x20operation\x27s\x20\x27arb\x27\x20field.\x20USAGE:\x20(1)\x20CREATE\x20NEW:\x20Set\x20\x27object\x27\x20field\x20with\x20OBJECT\x20format\x20{name,\x20type_parameter,\x20permission,\x20...}\x20to\x20create\x20an\x20Arbitration.\x20NOTE:\x27name\x27\x20goes\x20INSIDE\x20\x27object\x27,\x20NOT\x20at\x20the\x20data\x20root\x20level.\x20\x27permission\x27\x20can\x20be\x20a\x20new\x20Permission\x20object\x20or\x20reference\x20an\x20existing\x20one\x20-\x20check\x20\x27object\x27\x20field\x20description\x20for\x20details.\x20⚠️\x20PERMISSION\x20RULE\x20(contract-enforced):\x20the\x20Arbitration\x27s\x20permission\x20MUST\x20be\x20DIFFERENT\x20from\x20the\x20permission\x20of\x20any\x20Service\x20it\x20will\x20be\x20bound\x20to\x20—\x20binding\x20an\x20Arbitration\x20that\x20SHARES\x20the\x20Service\x27s\x20Permission\x20aborts\x20with\x20E_ARBITRATION_PERMISSION_CONFLICT\x20(error\x2033).\x20Always\x20create\x20a\x20DEDICATED\x20Permission\x20object\x20for\x20each\x20Arbitration.\x20(2)\x20OPERATE\x20EXISTING:\x20Set\x20\x27object\x27\x20field\x20with\x20STRING\x20format\x20(object\x20ID\x20or\x20name).\x20The\x20\x27object\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED\x20in\x20both\x20cases.\x20STRING\x20for\x20existing,\x20OBJECT\x20for\x20new\x20creation.');export const CallArbitration_InputSchema=z['object']({'data':CallArbitration_DataSchema,'env':CallEnvSchema['optional'](),'submission':SubmissionCallSchema['optional']()})['strict']();
|
|
@@ -419,6 +419,30 @@ export declare const GuardAdviceSchema: z.ZodObject<{
|
|
|
419
419
|
top_risks: z.ZodArray<z.ZodString>;
|
|
420
420
|
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
421
421
|
}, z.core.$strip>>;
|
|
422
|
+
blueprint_verdict: z.ZodOptional<z.ZodObject<{
|
|
423
|
+
host: z.ZodString;
|
|
424
|
+
status: z.ZodEnum<{
|
|
425
|
+
blocked: "blocked";
|
|
426
|
+
proceed_with_warnings: "proceed_with_warnings";
|
|
427
|
+
proceed: "proceed";
|
|
428
|
+
}>;
|
|
429
|
+
statement: z.ZodString;
|
|
430
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
431
|
+
source: z.ZodString;
|
|
432
|
+
code: z.ZodString;
|
|
433
|
+
level: z.ZodEnum<{
|
|
434
|
+
info: "info";
|
|
435
|
+
critical: "critical";
|
|
436
|
+
warning: "warning";
|
|
437
|
+
}>;
|
|
438
|
+
detail: z.ZodString;
|
|
439
|
+
}, z.core.$strip>>;
|
|
440
|
+
host_context: z.ZodOptional<z.ZodObject<{
|
|
441
|
+
signer_subject: z.ZodString;
|
|
442
|
+
order_anchor: z.ZodString;
|
|
443
|
+
identity_obligation: z.ZodString;
|
|
444
|
+
}, z.core.$strip>>;
|
|
445
|
+
}, z.core.$strip>>;
|
|
422
446
|
}, z.core.$strict>;
|
|
423
447
|
export declare const WorkflowOperatorSchema: z.ZodObject<{
|
|
424
448
|
kind: z.ZodEnum<{
|
|
@@ -567,6 +591,8 @@ export declare const WorkflowReceiptSchema: z.ZodObject<{
|
|
|
567
591
|
note: z.ZodOptional<z.ZodString>;
|
|
568
592
|
}, z.core.$strict>>;
|
|
569
593
|
note: z.ZodOptional<z.ZodString>;
|
|
594
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
595
|
+
signer: z.ZodOptional<z.ZodString>;
|
|
570
596
|
}, z.core.$strict>;
|
|
571
597
|
export declare const ReviewChainStepSchema: z.ZodObject<{
|
|
572
598
|
step: z.ZodEnum<{
|
|
@@ -853,6 +879,30 @@ export declare const SemanticSummarySchema: z.ZodObject<{
|
|
|
853
879
|
top_risks: z.ZodArray<z.ZodString>;
|
|
854
880
|
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
855
881
|
}, z.core.$strip>>;
|
|
882
|
+
blueprint_verdict: z.ZodOptional<z.ZodObject<{
|
|
883
|
+
host: z.ZodString;
|
|
884
|
+
status: z.ZodEnum<{
|
|
885
|
+
blocked: "blocked";
|
|
886
|
+
proceed_with_warnings: "proceed_with_warnings";
|
|
887
|
+
proceed: "proceed";
|
|
888
|
+
}>;
|
|
889
|
+
statement: z.ZodString;
|
|
890
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
891
|
+
source: z.ZodString;
|
|
892
|
+
code: z.ZodString;
|
|
893
|
+
level: z.ZodEnum<{
|
|
894
|
+
info: "info";
|
|
895
|
+
critical: "critical";
|
|
896
|
+
warning: "warning";
|
|
897
|
+
}>;
|
|
898
|
+
detail: z.ZodString;
|
|
899
|
+
}, z.core.$strip>>;
|
|
900
|
+
host_context: z.ZodOptional<z.ZodObject<{
|
|
901
|
+
signer_subject: z.ZodString;
|
|
902
|
+
order_anchor: z.ZodString;
|
|
903
|
+
identity_obligation: z.ZodString;
|
|
904
|
+
}, z.core.$strip>>;
|
|
905
|
+
}, z.core.$strip>>;
|
|
856
906
|
}, z.core.$strict>>;
|
|
857
907
|
workflow_guidance: z.ZodOptional<z.ZodObject<{
|
|
858
908
|
current_node: z.ZodString;
|
|
@@ -949,6 +999,8 @@ export declare const SemanticSummarySchema: z.ZodObject<{
|
|
|
949
999
|
note: z.ZodOptional<z.ZodString>;
|
|
950
1000
|
}, z.core.$strict>>;
|
|
951
1001
|
note: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
1003
|
+
signer: z.ZodOptional<z.ZodString>;
|
|
952
1004
|
}, z.core.$strict>>;
|
|
953
1005
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
954
1006
|
step: z.ZodEnum<{
|
|
@@ -1006,17 +1058,27 @@ export declare const CallResponseErrorSchema: z.ZodObject<{
|
|
|
1006
1058
|
delivery_unknown: "delivery_unknown";
|
|
1007
1059
|
capability_unavailable: "capability_unavailable";
|
|
1008
1060
|
transport_unavailable: "transport_unavailable";
|
|
1061
|
+
peer_not_registered: "peer_not_registered";
|
|
1062
|
+
submission_too_large: "submission_too_large";
|
|
1009
1063
|
}>>;
|
|
1010
1064
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1011
1065
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
1012
1066
|
related_object: z.ZodOptional<z.ZodString>;
|
|
1013
1067
|
committed_digest: z.ZodOptional<z.ZodString>;
|
|
1014
1068
|
submission_state: z.ZodOptional<z.ZodLiteral<"unknown">>;
|
|
1069
|
+
onchain_state: z.ZodOptional<z.ZodEnum<{
|
|
1070
|
+
unknown: "unknown";
|
|
1071
|
+
committed: "committed";
|
|
1072
|
+
absent: "absent";
|
|
1073
|
+
}>>;
|
|
1074
|
+
refused: z.ZodOptional<z.ZodBoolean>;
|
|
1075
|
+
tx_submitted: z.ZodOptional<z.ZodLiteral<false>>;
|
|
1015
1076
|
submission_verification: z.ZodOptional<z.ZodObject<{
|
|
1016
1077
|
sender: z.ZodString;
|
|
1017
1078
|
failed_at: z.ZodString;
|
|
1018
1079
|
verify_events_since: z.ZodString;
|
|
1019
1080
|
digests: z.ZodArray<z.ZodString>;
|
|
1081
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1020
1082
|
}, z.core.$strip>>;
|
|
1021
1083
|
}, z.core.$strip>;
|
|
1022
1084
|
export declare const OperationPreviewSchema: z.ZodObject<{
|
|
@@ -1509,6 +1571,10 @@ export declare const CallTransactionResultSchema: z.ZodObject<{
|
|
|
1509
1571
|
txSignatures: z.ZodArray<z.ZodString>;
|
|
1510
1572
|
}, z.core.$strip>, z.ZodNull]>>;
|
|
1511
1573
|
type: z.ZodLiteral<"transaction">;
|
|
1574
|
+
onchain_state: z.ZodOptional<z.ZodEnum<{
|
|
1575
|
+
committed: "committed";
|
|
1576
|
+
absent: "absent";
|
|
1577
|
+
}>>;
|
|
1512
1578
|
receive_receipt: z.ZodOptional<z.ZodObject<{
|
|
1513
1579
|
tx_ok: z.ZodBoolean;
|
|
1514
1580
|
objects_moved: z.ZodNumber;
|
|
@@ -1938,6 +2004,10 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1938
2004
|
txSignatures: z.ZodArray<z.ZodString>;
|
|
1939
2005
|
}, z.core.$strip>, z.ZodNull]>>;
|
|
1940
2006
|
type: z.ZodLiteral<"transaction">;
|
|
2007
|
+
onchain_state: z.ZodOptional<z.ZodEnum<{
|
|
2008
|
+
committed: "committed";
|
|
2009
|
+
absent: "absent";
|
|
2010
|
+
}>>;
|
|
1941
2011
|
receive_receipt: z.ZodOptional<z.ZodObject<{
|
|
1942
2012
|
tx_ok: z.ZodBoolean;
|
|
1943
2013
|
objects_moved: z.ZodNumber;
|
|
@@ -1985,17 +2055,27 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1985
2055
|
delivery_unknown: "delivery_unknown";
|
|
1986
2056
|
capability_unavailable: "capability_unavailable";
|
|
1987
2057
|
transport_unavailable: "transport_unavailable";
|
|
2058
|
+
peer_not_registered: "peer_not_registered";
|
|
2059
|
+
submission_too_large: "submission_too_large";
|
|
1988
2060
|
}>>;
|
|
1989
2061
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1990
2062
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
1991
2063
|
related_object: z.ZodOptional<z.ZodString>;
|
|
1992
2064
|
committed_digest: z.ZodOptional<z.ZodString>;
|
|
1993
2065
|
submission_state: z.ZodOptional<z.ZodLiteral<"unknown">>;
|
|
2066
|
+
onchain_state: z.ZodOptional<z.ZodEnum<{
|
|
2067
|
+
unknown: "unknown";
|
|
2068
|
+
committed: "committed";
|
|
2069
|
+
absent: "absent";
|
|
2070
|
+
}>>;
|
|
2071
|
+
refused: z.ZodOptional<z.ZodBoolean>;
|
|
2072
|
+
tx_submitted: z.ZodOptional<z.ZodLiteral<false>>;
|
|
1994
2073
|
submission_verification: z.ZodOptional<z.ZodObject<{
|
|
1995
2074
|
sender: z.ZodString;
|
|
1996
2075
|
failed_at: z.ZodString;
|
|
1997
2076
|
verify_events_since: z.ZodString;
|
|
1998
2077
|
digests: z.ZodArray<z.ZodString>;
|
|
2078
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
1999
2079
|
}, z.core.$strip>>;
|
|
2000
2080
|
}, z.core.$strip>, z.ZodObject<{
|
|
2001
2081
|
type: z.ZodLiteral<"data">;
|
|
@@ -2465,6 +2545,10 @@ export declare const CallOutputExecutedSchema: z.ZodObject<{
|
|
|
2465
2545
|
txSignatures: z.ZodArray<z.ZodString>;
|
|
2466
2546
|
}, z.core.$strip>, z.ZodNull]>>;
|
|
2467
2547
|
type: z.ZodLiteral<"transaction">;
|
|
2548
|
+
onchain_state: z.ZodOptional<z.ZodEnum<{
|
|
2549
|
+
committed: "committed";
|
|
2550
|
+
absent: "absent";
|
|
2551
|
+
}>>;
|
|
2468
2552
|
receive_receipt: z.ZodOptional<z.ZodObject<{
|
|
2469
2553
|
tx_ok: z.ZodBoolean;
|
|
2470
2554
|
objects_moved: z.ZodNumber;
|
|
@@ -2815,6 +2899,30 @@ export declare const CallOutputExecutedSchema: z.ZodObject<{
|
|
|
2815
2899
|
top_risks: z.ZodArray<z.ZodString>;
|
|
2816
2900
|
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
2817
2901
|
}, z.core.$strip>>;
|
|
2902
|
+
blueprint_verdict: z.ZodOptional<z.ZodObject<{
|
|
2903
|
+
host: z.ZodString;
|
|
2904
|
+
status: z.ZodEnum<{
|
|
2905
|
+
blocked: "blocked";
|
|
2906
|
+
proceed_with_warnings: "proceed_with_warnings";
|
|
2907
|
+
proceed: "proceed";
|
|
2908
|
+
}>;
|
|
2909
|
+
statement: z.ZodString;
|
|
2910
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2911
|
+
source: z.ZodString;
|
|
2912
|
+
code: z.ZodString;
|
|
2913
|
+
level: z.ZodEnum<{
|
|
2914
|
+
info: "info";
|
|
2915
|
+
critical: "critical";
|
|
2916
|
+
warning: "warning";
|
|
2917
|
+
}>;
|
|
2918
|
+
detail: z.ZodString;
|
|
2919
|
+
}, z.core.$strip>>;
|
|
2920
|
+
host_context: z.ZodOptional<z.ZodObject<{
|
|
2921
|
+
signer_subject: z.ZodString;
|
|
2922
|
+
order_anchor: z.ZodString;
|
|
2923
|
+
identity_obligation: z.ZodString;
|
|
2924
|
+
}, z.core.$strip>>;
|
|
2925
|
+
}, z.core.$strip>>;
|
|
2818
2926
|
}, z.core.$strict>>;
|
|
2819
2927
|
workflow_guidance: z.ZodOptional<z.ZodObject<{
|
|
2820
2928
|
current_node: z.ZodString;
|
|
@@ -2911,6 +3019,8 @@ export declare const CallOutputExecutedSchema: z.ZodObject<{
|
|
|
2911
3019
|
note: z.ZodOptional<z.ZodString>;
|
|
2912
3020
|
}, z.core.$strict>>;
|
|
2913
3021
|
note: z.ZodOptional<z.ZodString>;
|
|
3022
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
3023
|
+
signer: z.ZodOptional<z.ZodString>;
|
|
2914
3024
|
}, z.core.$strict>>;
|
|
2915
3025
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2916
3026
|
step: z.ZodEnum<{
|
|
@@ -3296,6 +3406,30 @@ export declare const CallOutputPendingInputSchema: z.ZodObject<{
|
|
|
3296
3406
|
top_risks: z.ZodArray<z.ZodString>;
|
|
3297
3407
|
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
3298
3408
|
}, z.core.$strip>>;
|
|
3409
|
+
blueprint_verdict: z.ZodOptional<z.ZodObject<{
|
|
3410
|
+
host: z.ZodString;
|
|
3411
|
+
status: z.ZodEnum<{
|
|
3412
|
+
blocked: "blocked";
|
|
3413
|
+
proceed_with_warnings: "proceed_with_warnings";
|
|
3414
|
+
proceed: "proceed";
|
|
3415
|
+
}>;
|
|
3416
|
+
statement: z.ZodString;
|
|
3417
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
3418
|
+
source: z.ZodString;
|
|
3419
|
+
code: z.ZodString;
|
|
3420
|
+
level: z.ZodEnum<{
|
|
3421
|
+
info: "info";
|
|
3422
|
+
critical: "critical";
|
|
3423
|
+
warning: "warning";
|
|
3424
|
+
}>;
|
|
3425
|
+
detail: z.ZodString;
|
|
3426
|
+
}, z.core.$strip>>;
|
|
3427
|
+
host_context: z.ZodOptional<z.ZodObject<{
|
|
3428
|
+
signer_subject: z.ZodString;
|
|
3429
|
+
order_anchor: z.ZodString;
|
|
3430
|
+
identity_obligation: z.ZodString;
|
|
3431
|
+
}, z.core.$strip>>;
|
|
3432
|
+
}, z.core.$strip>>;
|
|
3299
3433
|
}, z.core.$strict>>;
|
|
3300
3434
|
workflow_guidance: z.ZodOptional<z.ZodObject<{
|
|
3301
3435
|
current_node: z.ZodString;
|
|
@@ -3392,6 +3526,8 @@ export declare const CallOutputPendingInputSchema: z.ZodObject<{
|
|
|
3392
3526
|
note: z.ZodOptional<z.ZodString>;
|
|
3393
3527
|
}, z.core.$strict>>;
|
|
3394
3528
|
note: z.ZodOptional<z.ZodString>;
|
|
3529
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
3530
|
+
signer: z.ZodOptional<z.ZodString>;
|
|
3395
3531
|
}, z.core.$strict>>;
|
|
3396
3532
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3397
3533
|
step: z.ZodEnum<{
|
|
@@ -3461,17 +3597,27 @@ export declare const CallOutputFailedSchema: z.ZodObject<{
|
|
|
3461
3597
|
delivery_unknown: "delivery_unknown";
|
|
3462
3598
|
capability_unavailable: "capability_unavailable";
|
|
3463
3599
|
transport_unavailable: "transport_unavailable";
|
|
3600
|
+
peer_not_registered: "peer_not_registered";
|
|
3601
|
+
submission_too_large: "submission_too_large";
|
|
3464
3602
|
}>>;
|
|
3465
3603
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3466
3604
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
3467
3605
|
related_object: z.ZodOptional<z.ZodString>;
|
|
3468
3606
|
committed_digest: z.ZodOptional<z.ZodString>;
|
|
3469
3607
|
submission_state: z.ZodOptional<z.ZodLiteral<"unknown">>;
|
|
3608
|
+
onchain_state: z.ZodOptional<z.ZodEnum<{
|
|
3609
|
+
unknown: "unknown";
|
|
3610
|
+
committed: "committed";
|
|
3611
|
+
absent: "absent";
|
|
3612
|
+
}>>;
|
|
3613
|
+
refused: z.ZodOptional<z.ZodBoolean>;
|
|
3614
|
+
tx_submitted: z.ZodOptional<z.ZodLiteral<false>>;
|
|
3470
3615
|
submission_verification: z.ZodOptional<z.ZodObject<{
|
|
3471
3616
|
sender: z.ZodString;
|
|
3472
3617
|
failed_at: z.ZodString;
|
|
3473
3618
|
verify_events_since: z.ZodString;
|
|
3474
3619
|
digests: z.ZodArray<z.ZodString>;
|
|
3620
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
3475
3621
|
}, z.core.$strip>>;
|
|
3476
3622
|
}, z.core.$strip>;
|
|
3477
3623
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3745,6 +3891,30 @@ export declare const CallOutputFailedSchema: z.ZodObject<{
|
|
|
3745
3891
|
top_risks: z.ZodArray<z.ZodString>;
|
|
3746
3892
|
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
3747
3893
|
}, z.core.$strip>>;
|
|
3894
|
+
blueprint_verdict: z.ZodOptional<z.ZodObject<{
|
|
3895
|
+
host: z.ZodString;
|
|
3896
|
+
status: z.ZodEnum<{
|
|
3897
|
+
blocked: "blocked";
|
|
3898
|
+
proceed_with_warnings: "proceed_with_warnings";
|
|
3899
|
+
proceed: "proceed";
|
|
3900
|
+
}>;
|
|
3901
|
+
statement: z.ZodString;
|
|
3902
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
3903
|
+
source: z.ZodString;
|
|
3904
|
+
code: z.ZodString;
|
|
3905
|
+
level: z.ZodEnum<{
|
|
3906
|
+
info: "info";
|
|
3907
|
+
critical: "critical";
|
|
3908
|
+
warning: "warning";
|
|
3909
|
+
}>;
|
|
3910
|
+
detail: z.ZodString;
|
|
3911
|
+
}, z.core.$strip>>;
|
|
3912
|
+
host_context: z.ZodOptional<z.ZodObject<{
|
|
3913
|
+
signer_subject: z.ZodString;
|
|
3914
|
+
order_anchor: z.ZodString;
|
|
3915
|
+
identity_obligation: z.ZodString;
|
|
3916
|
+
}, z.core.$strip>>;
|
|
3917
|
+
}, z.core.$strip>>;
|
|
3748
3918
|
}, z.core.$strict>>;
|
|
3749
3919
|
workflow_guidance: z.ZodOptional<z.ZodObject<{
|
|
3750
3920
|
current_node: z.ZodString;
|
|
@@ -3841,6 +4011,8 @@ export declare const CallOutputFailedSchema: z.ZodObject<{
|
|
|
3841
4011
|
note: z.ZodOptional<z.ZodString>;
|
|
3842
4012
|
}, z.core.$strict>>;
|
|
3843
4013
|
note: z.ZodOptional<z.ZodString>;
|
|
4014
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
4015
|
+
signer: z.ZodOptional<z.ZodString>;
|
|
3844
4016
|
}, z.core.$strict>>;
|
|
3845
4017
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3846
4018
|
step: z.ZodEnum<{
|
|
@@ -4204,6 +4376,10 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4204
4376
|
txSignatures: z.ZodArray<z.ZodString>;
|
|
4205
4377
|
}, z.core.$strip>, z.ZodNull]>>;
|
|
4206
4378
|
type: z.ZodLiteral<"transaction">;
|
|
4379
|
+
onchain_state: z.ZodOptional<z.ZodEnum<{
|
|
4380
|
+
committed: "committed";
|
|
4381
|
+
absent: "absent";
|
|
4382
|
+
}>>;
|
|
4207
4383
|
receive_receipt: z.ZodOptional<z.ZodObject<{
|
|
4208
4384
|
tx_ok: z.ZodBoolean;
|
|
4209
4385
|
objects_moved: z.ZodNumber;
|
|
@@ -4554,6 +4730,30 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4554
4730
|
top_risks: z.ZodArray<z.ZodString>;
|
|
4555
4731
|
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
4556
4732
|
}, z.core.$strip>>;
|
|
4733
|
+
blueprint_verdict: z.ZodOptional<z.ZodObject<{
|
|
4734
|
+
host: z.ZodString;
|
|
4735
|
+
status: z.ZodEnum<{
|
|
4736
|
+
blocked: "blocked";
|
|
4737
|
+
proceed_with_warnings: "proceed_with_warnings";
|
|
4738
|
+
proceed: "proceed";
|
|
4739
|
+
}>;
|
|
4740
|
+
statement: z.ZodString;
|
|
4741
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
4742
|
+
source: z.ZodString;
|
|
4743
|
+
code: z.ZodString;
|
|
4744
|
+
level: z.ZodEnum<{
|
|
4745
|
+
info: "info";
|
|
4746
|
+
critical: "critical";
|
|
4747
|
+
warning: "warning";
|
|
4748
|
+
}>;
|
|
4749
|
+
detail: z.ZodString;
|
|
4750
|
+
}, z.core.$strip>>;
|
|
4751
|
+
host_context: z.ZodOptional<z.ZodObject<{
|
|
4752
|
+
signer_subject: z.ZodString;
|
|
4753
|
+
order_anchor: z.ZodString;
|
|
4754
|
+
identity_obligation: z.ZodString;
|
|
4755
|
+
}, z.core.$strip>>;
|
|
4756
|
+
}, z.core.$strip>>;
|
|
4557
4757
|
}, z.core.$strict>>;
|
|
4558
4758
|
workflow_guidance: z.ZodOptional<z.ZodObject<{
|
|
4559
4759
|
current_node: z.ZodString;
|
|
@@ -4650,6 +4850,8 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4650
4850
|
note: z.ZodOptional<z.ZodString>;
|
|
4651
4851
|
}, z.core.$strict>>;
|
|
4652
4852
|
note: z.ZodOptional<z.ZodString>;
|
|
4853
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
4854
|
+
signer: z.ZodOptional<z.ZodString>;
|
|
4653
4855
|
}, z.core.$strict>>;
|
|
4654
4856
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4655
4857
|
step: z.ZodEnum<{
|
|
@@ -5034,6 +5236,30 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5034
5236
|
top_risks: z.ZodArray<z.ZodString>;
|
|
5035
5237
|
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
5036
5238
|
}, z.core.$strip>>;
|
|
5239
|
+
blueprint_verdict: z.ZodOptional<z.ZodObject<{
|
|
5240
|
+
host: z.ZodString;
|
|
5241
|
+
status: z.ZodEnum<{
|
|
5242
|
+
blocked: "blocked";
|
|
5243
|
+
proceed_with_warnings: "proceed_with_warnings";
|
|
5244
|
+
proceed: "proceed";
|
|
5245
|
+
}>;
|
|
5246
|
+
statement: z.ZodString;
|
|
5247
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
5248
|
+
source: z.ZodString;
|
|
5249
|
+
code: z.ZodString;
|
|
5250
|
+
level: z.ZodEnum<{
|
|
5251
|
+
info: "info";
|
|
5252
|
+
critical: "critical";
|
|
5253
|
+
warning: "warning";
|
|
5254
|
+
}>;
|
|
5255
|
+
detail: z.ZodString;
|
|
5256
|
+
}, z.core.$strip>>;
|
|
5257
|
+
host_context: z.ZodOptional<z.ZodObject<{
|
|
5258
|
+
signer_subject: z.ZodString;
|
|
5259
|
+
order_anchor: z.ZodString;
|
|
5260
|
+
identity_obligation: z.ZodString;
|
|
5261
|
+
}, z.core.$strip>>;
|
|
5262
|
+
}, z.core.$strip>>;
|
|
5037
5263
|
}, z.core.$strict>>;
|
|
5038
5264
|
workflow_guidance: z.ZodOptional<z.ZodObject<{
|
|
5039
5265
|
current_node: z.ZodString;
|
|
@@ -5130,6 +5356,8 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5130
5356
|
note: z.ZodOptional<z.ZodString>;
|
|
5131
5357
|
}, z.core.$strict>>;
|
|
5132
5358
|
note: z.ZodOptional<z.ZodString>;
|
|
5359
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
5360
|
+
signer: z.ZodOptional<z.ZodString>;
|
|
5133
5361
|
}, z.core.$strict>>;
|
|
5134
5362
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5135
5363
|
step: z.ZodEnum<{
|
|
@@ -5198,17 +5426,27 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5198
5426
|
delivery_unknown: "delivery_unknown";
|
|
5199
5427
|
capability_unavailable: "capability_unavailable";
|
|
5200
5428
|
transport_unavailable: "transport_unavailable";
|
|
5429
|
+
peer_not_registered: "peer_not_registered";
|
|
5430
|
+
submission_too_large: "submission_too_large";
|
|
5201
5431
|
}>>;
|
|
5202
5432
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
5203
5433
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
5204
5434
|
related_object: z.ZodOptional<z.ZodString>;
|
|
5205
5435
|
committed_digest: z.ZodOptional<z.ZodString>;
|
|
5206
5436
|
submission_state: z.ZodOptional<z.ZodLiteral<"unknown">>;
|
|
5437
|
+
onchain_state: z.ZodOptional<z.ZodEnum<{
|
|
5438
|
+
unknown: "unknown";
|
|
5439
|
+
committed: "committed";
|
|
5440
|
+
absent: "absent";
|
|
5441
|
+
}>>;
|
|
5442
|
+
refused: z.ZodOptional<z.ZodBoolean>;
|
|
5443
|
+
tx_submitted: z.ZodOptional<z.ZodLiteral<false>>;
|
|
5207
5444
|
submission_verification: z.ZodOptional<z.ZodObject<{
|
|
5208
5445
|
sender: z.ZodString;
|
|
5209
5446
|
failed_at: z.ZodString;
|
|
5210
5447
|
verify_events_since: z.ZodString;
|
|
5211
5448
|
digests: z.ZodArray<z.ZodString>;
|
|
5449
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
5212
5450
|
}, z.core.$strip>>;
|
|
5213
5451
|
}, z.core.$strip>;
|
|
5214
5452
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -5482,6 +5720,30 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5482
5720
|
top_risks: z.ZodArray<z.ZodString>;
|
|
5483
5721
|
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
5484
5722
|
}, z.core.$strip>>;
|
|
5723
|
+
blueprint_verdict: z.ZodOptional<z.ZodObject<{
|
|
5724
|
+
host: z.ZodString;
|
|
5725
|
+
status: z.ZodEnum<{
|
|
5726
|
+
blocked: "blocked";
|
|
5727
|
+
proceed_with_warnings: "proceed_with_warnings";
|
|
5728
|
+
proceed: "proceed";
|
|
5729
|
+
}>;
|
|
5730
|
+
statement: z.ZodString;
|
|
5731
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
5732
|
+
source: z.ZodString;
|
|
5733
|
+
code: z.ZodString;
|
|
5734
|
+
level: z.ZodEnum<{
|
|
5735
|
+
info: "info";
|
|
5736
|
+
critical: "critical";
|
|
5737
|
+
warning: "warning";
|
|
5738
|
+
}>;
|
|
5739
|
+
detail: z.ZodString;
|
|
5740
|
+
}, z.core.$strip>>;
|
|
5741
|
+
host_context: z.ZodOptional<z.ZodObject<{
|
|
5742
|
+
signer_subject: z.ZodString;
|
|
5743
|
+
order_anchor: z.ZodString;
|
|
5744
|
+
identity_obligation: z.ZodString;
|
|
5745
|
+
}, z.core.$strip>>;
|
|
5746
|
+
}, z.core.$strip>>;
|
|
5485
5747
|
}, z.core.$strict>>;
|
|
5486
5748
|
workflow_guidance: z.ZodOptional<z.ZodObject<{
|
|
5487
5749
|
current_node: z.ZodString;
|
|
@@ -5578,6 +5840,8 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5578
5840
|
note: z.ZodOptional<z.ZodString>;
|
|
5579
5841
|
}, z.core.$strict>>;
|
|
5580
5842
|
note: z.ZodOptional<z.ZodString>;
|
|
5843
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
5844
|
+
signer: z.ZodOptional<z.ZodString>;
|
|
5581
5845
|
}, z.core.$strict>>;
|
|
5582
5846
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5583
5847
|
step: z.ZodEnum<{
|