@wowok/agent-mcp 3.4.0 → 3.4.2
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/fund-flow.js +1 -1
- package/dist/chain-semantics/index.d.ts +1 -0
- package/dist/chain-semantics/index.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 +24 -3
- 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 +20 -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 +18 -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.js +1 -1
- 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 +7 -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/data/api/api.spec.js +1 -1
- package/dist/data/api/server.js +1 -1
- package/dist/data/projection/store.d.ts +2 -1
- package/dist/data/projection/store.js +1 -1
- package/dist/data/projection/types.d.ts +22 -0
- package/dist/data/sync/cdc.d.ts +1 -2
- package/dist/data/sync/cdc.js +1 -1
- 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/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/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/allocator-rail-verifier.d.ts +6 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/arbitration-puzzle.js +1 -1
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +4 -3
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/judgment-baselines.json +21 -2
- package/dist/knowledge/baselines/rules/oracle.json +120 -0
- package/dist/knowledge/baselines/rules/plan.json +384 -17
- package/dist/knowledge/baselines/rules/progress.json +20 -2
- package/dist/knowledge/builtin-templates.d.ts +28 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/component-schema.js +1 -1
- 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/fee-param-bindings.js +1 -1
- 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.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-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/jsonrpc-enum.d.ts +38 -0
- package/dist/knowledge/jsonrpc-enum.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 +2 -0
- package/dist/knowledge/onchain-constants.js +1 -1
- package/dist/knowledge/param-schema.d.ts +23 -0
- package/dist/knowledge/param-schema.js +1 -1
- package/dist/knowledge/param-tiers.js +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 +2 -0
- package/dist/knowledge/pattern-resolutions.js +1 -1
- 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/scenario-modes.d.ts +1 -0
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/semantic-ir.d.ts +4 -0
- package/dist/knowledge/semantic-ir.js +1 -1
- package/dist/knowledge/service-ledger.d.ts +1 -1
- package/dist/knowledge/service-ledger.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/supply-chain.d.ts +9 -0
- package/dist/knowledge/supply-chain.js +1 -1
- package/dist/knowledge/template-loader.d.ts +14 -6
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-nav.d.ts +3 -1
- package/dist/knowledge/template-nav.js +1 -1
- package/dist/knowledge/template-prose.d.ts +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +62 -0
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/template-test-profiles.js +1 -1
- package/dist/knowledge/tools-reference.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/customer-interest.d.ts +4 -0
- package/dist/participation/customer-interest.js +1 -1
- package/dist/participation/node-action-advisor.d.ts +4 -0
- package/dist/participation/node-action-advisor.js +1 -1
- package/dist/participation/radar-core.js +1 -1
- package/dist/participation/time-window.d.ts +11 -0
- package/dist/participation/time-window.js +1 -1
- 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.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +50 -23
- 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.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 +1 -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/review/index.js +1 -1
- package/dist/review/repository.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +104 -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/base.d.ts +256 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +32 -6
- package/dist/schema/call/demand.d.ts +15 -6
- package/dist/schema/call/demand.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/proof.js +1 -1
- 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 +143 -45
- 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 +216 -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 +115 -1
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +137 -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 +137 -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 +26 -0
- package/dist/schema/operations.d.ts +345 -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 +145 -4
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +266 -73
- 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 +94 -0
- package/dist/schemas/benchmark_migration_operation.output.json +338 -9
- package/dist/schemas/benchmark_migration_operation.schema.json +27 -2
- package/dist/schemas/bridge_operation.output.json +94 -0
- 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 +570 -4
- package/dist/schemas/evaluation_operation.schema.json +194 -3
- package/dist/schemas/goal_operation.schema.json +183 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +621 -0
- package/dist/schemas/industry_pack_operation.schema.json +20 -2
- package/dist/schemas/keeper_operation.output.json +94 -0
- package/dist/schemas/local_cache_operation.output.json +94 -0
- package/dist/schemas/local_history_operation.output.json +94 -0
- package/dist/schemas/local_info_operation.output.json +94 -0
- package/dist/schemas/local_mark_operation.output.json +94 -0
- package/dist/schemas/messenger_operation.output.json +94 -0
- package/dist/schemas/monitor_events.output.json +94 -0
- package/dist/schemas/monitor_subscription.output.json +94 -0
- package/dist/schemas/onchain_events.output.json +94 -0
- package/dist/schemas/onchain_operations.output.json +313 -1
- package/dist/schemas/onchain_operations.schema.json +1265 -671
- package/dist/schemas/onchain_operations_allocation.schema.json +30 -15
- package/dist/schemas/onchain_operations_arbitration.schema.json +9 -2
- package/dist/schemas/onchain_operations_contact.schema.json +8 -1
- package/dist/schemas/onchain_operations_demand.schema.json +29 -14
- package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -1
- package/dist/schemas/onchain_operations_guard.schema.json +290 -105
- package/dist/schemas/onchain_operations_machine.schema.json +49 -34
- package/dist/schemas/onchain_operations_order.schema.json +63 -40
- package/dist/schemas/onchain_operations_payment.schema.json +26 -11
- package/dist/schemas/onchain_operations_permission.schema.json +362 -235
- package/dist/schemas/onchain_operations_personal.schema.json +27 -15
- package/dist/schemas/onchain_operations_progress.schema.json +45 -30
- package/dist/schemas/onchain_operations_proof.schema.json +9 -2
- package/dist/schemas/onchain_operations_repository.schema.json +8 -1
- package/dist/schemas/onchain_operations_reward.schema.json +32 -17
- package/dist/schemas/onchain_operations_service.schema.json +232 -125
- package/dist/schemas/onchain_operations_treasury.schema.json +32 -17
- package/dist/schemas/onchain_table_data.output.json +258 -6
- package/dist/schemas/onchain_table_data.schema.json +92 -52
- 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 +756 -116
- package/dist/schemas/query_toolkit.schema.json +138 -7
- package/dist/schemas/schema_query.schema.json +1 -1
- package/dist/schemas/watch_operation.output.json +83 -0
- package/dist/schemas/wip_file.output.json +8 -0
- package/dist/schemas/workflow_operation.schema.json +2 -2
- package/dist/tools/handlers/benchmark-migration.d.ts +20 -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/onchain.d.ts +30 -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/query.js +1 -1
- package/dist/tools/transport-integrity.d.ts +7 -0
- package/dist/tools/transport-integrity.js +1 -0
- package/dist/tools/upgrade-check.js +1 -1
- package/dist/tools/wrap.d.ts +5 -0
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
- 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{JudgmentFragmentSchema}from'../../config/judgment.js';import{PERSONA_ROLES}from'../../persona/types.js';const IndustryEnum=z['string']()['regex'](/^[a-z][a-z0-9_]*$/,'industry\x20must\x20be\x20lowercase\x20snake_case'),RoleEnum=z['enum'](PERSONA_ROLES),ScopeEnum=z['enum'](['system','account']),PersonaIdentitySchema=z['object']({'region':z['string']()['optional'](),'languages':z['array'](z['string']())['optional'](),'self_description':z['string']()['optional']()})['strict'](),OverrideValueEnum=z['enum'](['auto','prompt','block','warn']),PersonaPolicySchema=z['object']({'confirm':z['object']({'mode':z['enum'](['full','streamlined','quiet'])['optional'](),'batch_standard':z['boolean']()['optional'](),'session_remember':z['array'](z['string']())['optional'](),'intent_bypass':z['boolean']()['optional']()})['strict']()['optional'](),'budget':z['object']({'daily_wow':z['string']()['nullable']()['optional']()})['strict']()['optional'](),'allowlist':z['array'](z['string']())['optional'](),'audit':z['boolean']()['optional']()})['strict'](),TasteProfileSchema=z['object']({'materials':z['array'](z['string']())['optional'](),'colors':z['array'](z['string']())['optional'](),'styles':z['array'](z['string']())['optional'](),'tags':z['array'](z['string']())['optional'](),'brands':z['array'](z['string']())['optional'](),'avoid':z['array'](z['string']())['optional']()})['strict'](),ConsumptionProfileSchema=z['object']({'frequency':z['enum'](['rare','occasional','regular','frequent'])['optional'](),'price_band':z['enum'](['budget','mid','premium','luxury'])['optional'](),'decision_speed':z['enum'](['fast','deliberate','slow'])['optional'](),'channels':z['array'](z['string']())['optional'](),'repeat_orientation':z['enum'](['novelty','balanced','loyal'])['optional'](),'avg_order_range':z['string']()['optional'](),'notes':z['array'](z['string']())['optional']()})['strict'](),MerchantRoleStyleSchema=z['object']({'posture':z['enum'](['volume','balanced','margin'])['optional'](),'pricing_style':z['enum'](['competitive','value','premium','custom_quote'])['optional'](),'service_style':z['array'](z['string']())['optional'](),'communication':z['string']()['optional'](),'growth_focus':z['array'](z['string']())['optional']()})['strict'](),SupplierRoleStyleSchema=z['object']({'min_order':z['string']()['optional'](),'lead_time':z['string']()['optional'](),'settlement_terms':z['array'](z['string']())['optional'](),'categories':z['array'](z['string']())['optional'](),'capacity':z['string']()['optional']()})['strict'](),CollaboratorRoleStyleSchema=z['object']({'scope_discipline':z['enum'](['strict','balanced','flexible'])['optional'](),'notifications':z['enum'](['minimal','digest','realtime'])['optional'](),'working_hours':z['string']()['optional'](),'advance_style':z['array'](z['string']())['optional']()})['strict'](),ArbitratorRoleStyleSchema=z['object']({'case_types':z['array'](z['string']())['optional'](),'response_speed':z['enum'](['fast','standard','thorough'])['optional'](),'ruling_style':z['enum'](['concise','detailed'])['optional']()})['strict'](),DemanderRoleStyleSchema=z['object']({'award_weights':z['record'](z['string'](),z['number']())['optional'](),'pilot_budget':z['string']()['optional'](),'rfp_openness':z['enum'](['open','passport_gated','invite_only'])['optional'](),'decision_basis':z['array'](z['string']())['optional']()})['strict'](),RoleProfileSchema=z['object']({'tastes':TasteProfileSchema['optional'](),'consumption':ConsumptionProfileSchema['optional'](),'merchant':MerchantRoleStyleSchema['optional'](),'supplier':SupplierRoleStyleSchema['optional'](),'collaborator':CollaboratorRoleStyleSchema['optional'](),'arbitrator':ArbitratorRoleStyleSchema['optional'](),'demander':DemanderRoleStyleSchema['optional'](),'preferences':z['record'](z['string'](),z['unknown']())['optional']()})['strict'](),RoleProfileMapSchema=z['object'](Object['fromEntries'](RoleEnum['options']['map'](a=>[a,RoleProfileSchema['optional']()])))['strict'](),PersonaLayerSchema=z['object']({'identity':PersonaIdentitySchema['optional'](),'preferences':z['record'](z['string'](),z['unknown']())['optional'](),'strategy':z['array'](z['string']())['optional'](),'rules':z['array'](z['string']())['optional'](),'requirements':z['array'](z['string']())['optional'](),'spec':z['string']()['optional'](),'overrides':z['record'](z['string'](),OverrideValueEnum)['optional'](),'policy':PersonaPolicySchema['optional'](),'profiles':RoleProfileMapSchema['optional'](),'analyze':z['object']({'key_questions':z['array'](z['string']())['max'](0x4)['describe']('The\x20user\x27s\x20key\x20follow-up\x20questions\x20for\x20the\x20Analyze\x20dossier\x20(up\x20to\x204\x20stored,\x202\x20effective\x20after\x20merge).')})['strict']()['optional'](),'judgment':JudgmentFragmentSchema['optional']()})['strict'](),PersonaControlsSchema=z['object']({'confirm_modes':z['array'](z['string']()),'overrides':z['array'](z['object']({'id':z['string'](),'default':OverrideValueEnum,'allowed':z['array'](OverrideValueEnum),'surface':z['enum'](['gate','client'])['optional']()})['strict']()),'locked_rules':z['array'](z['object']({'id':z['string'](),'level':z['string']()})['strict']()),'policy_keys':z['array'](z['string']())})['strict'](),PersonaSchema=z['object']({'version':z['number'](),'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum,'industries':z['array'](IndustryEnum),'long_term':PersonaLayerSchema,'current':PersonaLayerSchema,'updated_at':z['number']()})['strict'](),PersonaSourceSchema=z['object']({'scope':ScopeEnum,'account':z['string']()['optional'](),'part':z['enum'](['long_term','current'])})['strict'](),EffectivePersonaSchema=z['object']({'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum,'industries':z['array'](IndustryEnum),'layer':PersonaLayerSchema,'sources':z['array'](PersonaSourceSchema)})['strict'](),PersonaAnalysisSuggestionSchema=z['object']({'field':z['string'](),'value':z['unknown'](),'reason':z['string']()})['strict'](),PersonaAnalysisSchema=z['object']({'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum),'preferences':z['record'](z['string'](),z['unknown']()),'requirements':z['array'](z['string']()),'rules':z['array'](z['string']()),'suggestions':z['array'](PersonaAnalysisSuggestionSchema),'confidence':z['number']()})['strict'](),GoalSummarySchema=z['object']({'id':z['string'](),'title':z['string'](),'outcome_success':z['boolean']()['optional']()})['strict']();export const PersonaOperationInputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('get'),'account':z['string']()['optional']()['describe']('Chain\x20account\x20address;\x20omitted\x20=\x20the\x20on-chain\x20DEFAULT\x20account\x20(name=\x27\x27),\x20falling\x20back\x20to\x20the\x20system\x20persona\x20when\x20no\x20default\x20account\x20exists.'),'industry':IndustryEnum['optional'](),'role':RoleEnum['optional']()})['strict'](),z['object']({'action':z['literal']('list')})['strict'](),z['object']({'action':z['literal']('set'),'scope':ScopeEnum,'account':z['string']()['optional']()['describe']('Required\x20when\x20scope=account.'),'role':RoleEnum,'industries':z['array'](IndustryEnum)['default']([]),'long_term':PersonaLayerSchema['optional'](),'current':PersonaLayerSchema['optional']()})['strict'](),z['object']({'action':z['literal']('analyze'),'context':z['string']()['describe']('Free-form\x20context:\x20website\x20URL,\x20experience\x20summary,\x20self\x20description,\x20goal.')})['strict'](),z['object']({'action':z['literal']('apply'),'context':z['string']()['describe']('Free-form\x20context\x20whose\x20extracted\x20signals\x20feed\x20the\x20CURRENT\x20layer.'),'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum)['optional'](),'mode':z['enum'](['merge','replace'])['optional']()['describe']('merge\x20(default)\x20unions\x20strategy/rules/requirements\x20into\x20current;\x20replace\x20discards\x20the\x20existing\x20current\x20layer.')})['strict'](),z['object']({'action':z['literal']('sync'),'account':z['string']()['optional']()['describe']('Account\x20whose\x20behavior\x20(experience\x20layer)\x20is\x20merged\x20into\x20its\x20CURRENT\x20layer.\x20Omit\x20=\x20system\x20persona.')})['strict'](),z['object']({'action':z['literal']('apply_delta'),'scope':ScopeEnum,'account':z['string']()['optional']()['describe']('Required\x20when\x20scope=account.'),'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum)['optional'](),'delta':PersonaLayerSchema['describe']('Structured\x20CURRENT-layer\x20delta\x20to\x20merge\x20(e.g.\x20a\x20confirmed\x20strategy-review\x20proposal).\x20'+'Server-guarded:\x20policy/overrides\x20are\x20rejected;\x20long_term\x20is\x20never\x20written;\x20arrays\x20union\x20with\x20existing\x20current\x20values.')})['strict'](),z['object']({'action':z['literal']('remove'),'scope':ScopeEnum,'account':z['string']()['optional']()})['strict'](),z['object']({'action':z['literal']('strategy'),'account':z['string']()['optional']()['describe']('Chain\x20account\x20address;\x20omitted\x20=\x20the\x20on-chain\x20DEFAULT\x20account\x20(name=\x27\x27),\x20falling\x20back\x20to\x20the\x20system\x20persona\x20when\x20no\x20default\x20account\x20exists.'),'role':RoleEnum['optional']()['describe']('Role\x20override;\x20defaults\x20to\x20the\x20effective\x20persona\x27s\x20role.'),'strategy':z['array'](z['string']())['optional']()['describe']('Explicit\x20strategy\x20statements;\x20defaults\x20to\x20the\x20effective\x20persona\x27s\x20strategy[].')})['strict'](),z['object']({'action':z['literal']('region_hint'),'propose':z['string']()['optional']()['describe']('An\x20address\x20string\x20to\x20PROPOSE\x20storing\x20as\x20the\x20local\x20delivery\x20address.\x20Returns\x20a\x20consent-gated\x20save\x20proposal\x20—\x20NEVER\x20auto-writes;\x20the\x20user\x20must\x20confirm\x20via\x20local_info_operation.')})['strict'](),z['object']({'action':z['literal']('distill'),'goal_id':z['string']()['describe']('Goal\x20id\x20(goal_…)\x20whose\x20memory\x20(outcome,\x20problems,\x20feedback,\x20objects)\x20is\x20distilled\x20into\x20a\x20CURRENT-layer\x20proposal.'),'network':z['enum'](['mainnet','testnet'])['optional']()['describe']('Network\x20the\x20goal\x20was\x20created\x20under.')})['strict']()]);export const PersonaOperationOutputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('get'),'target_account':z['string']()['optional']()['describe']('The\x20account\x20the\x20persona\x20was\x20resolved\x20for\x20(explicit\x20account,\x20or\x20the\x20on-chain\x20default\x20account\x20when\x20omitted).'),'effective':EffectivePersonaSchema,'analyze_questions':z['array'](z['string']())['optional']()['describe']('Analyze-flow\x20defaults\x20(client\x20address\x20popover\x20\x22Analyze\x22\x20→\x20AI\x20dossier):\x20the\x20user\x27s\x20effective\x20key\x20follow-up\x20questions,\x20capped\x20at\x202\x20(higher-priority\x20persona\x20layer\x20first).\x20When\x20present,\x20these\x20REPLACE\x20the\x20generic\x20Analyze\x20follow-up\x20guidance.\x20Sourced\x20from\x20persona\x20layers\x27\x20analyze.key_questions;\x20industry\x20needs\x20still\x20provide\x20thematic\x20context.'),'context_text':z['string'](),'injection':z['record'](z['string'](),z['unknown']()),'controls':PersonaControlsSchema['optional']()['describe']('Static\x20catalog\x20of\x20editable\x20safety\x20controls:\x20overridable\x20rule\x20ids\x20(defaults/allowed),\x20hard-floor\x20locked\x20rules,\x20confirm\x20modes,\x20and\x20policy\x20key\x20paths.')})['strict'](),z['object']({'action':z['literal']('list'),'personas':z['array'](PersonaSchema),'defaults':z['array'](PersonaSchema)})['strict'](),z['object']({'action':z['literal']('set'),'persona':PersonaSchema,'line_count':z['number']()})['strict'](),z['object']({'action':z['literal']('analyze'),'analysis':PersonaAnalysisSchema})['strict'](),z['object']({'action':z['literal']('apply'),'persona':PersonaSchema,'effective':EffectivePersonaSchema,'applied':z['array'](PersonaAnalysisSuggestionSchema)})['strict'](),z['object']({'action':z['literal']('sync'),'persona':PersonaSchema,'applied':PersonaLayerSchema,'effective':EffectivePersonaSchema})['strict'](),z['object']({'action':z['literal']('apply_delta'),'persona':PersonaSchema,'effective':EffectivePersonaSchema,'applied':PersonaLayerSchema})['strict'](),z['object']({'action':z['literal']('remove'),'removed':z['boolean']()})['strict'](),z['object']({'action':z['literal']('strategy'),'role':RoleEnum,'intents':z['array'](z['object']({'objective':z['enum'](['sales_priority','profit_priority','buyer_screening','gross_margin_control']),'metrics':z['array'](z['string']()),'levers':z['array'](z['enum'](['discount','reward','buy_guard','machine_design'])),'target':z['string']()})['strict']()),'suggestions':z['array'](z['object']({'lever':z['enum'](['discount','reward','buy_guard','machine_design']),'objective':z['enum'](['sales_priority','profit_priority','buyer_screening','gross_margin_control']),'action':z['string'](),'target':z['string']()})['strict']()),'note':z['string']()['describe']('Empty\x20for\x20merchant;\x20explains\x20why\x20mapping\x20is\x20producer-only\x20for\x20other\x20roles.')})['strict'](),z['object']({'action':z['literal']('region_hint'),'hint':z['object']({'region':z['record'](z['string'](),z['unknown']())['describe']('Deterministic\x20region\x20skeleton\x20(mode/raw;\x20country/province/city\x20stay\x20AI-enriched).'),'source':z['literal']('local_info'),'raw':z['string']()})['strict']()['optional']()['describe']('Present\x20when\x20a\x20locally-stored\x20delivery\x20address\x20exists.'),'proposal':z['object']({'requires_user_consent':z['literal'](!![]),'raw':z['string'](),'region':z['record'](z['string'](),z['unknown']()),'review':z['string'](),'store_via':z['literal']('local_info_operation'),'info':z['object']({'name':z['string'](),'default':z['string']()})['strict']()})['strict']()['optional']()['describe']('Present\x20when\x20`propose`\x20was\x20given\x20—\x20a\x20consent-gated\x20save\x20proposal\x20(never\x20auto-written).'),'note':z['string']()['optional']()})['strict'](),z['object']({'action':z['literal']('distill'),'summary':z['string']()['describe']('Human-readable\x20distillation\x20of\x20what\x20the\x20goal\x27s\x20memory\x20shows.'),'current_delta':PersonaLayerSchema['describe']('PROPOSED\x20current-layer\x20delta\x20(rules/preferences).\x20Never\x20auto-written.'),'evidence':z['object']({'goal_type':z['string'](),'stage':z['string'](),'outcome_success':z['boolean']()['optional'](),'objects_count':z['number'](),'problems_open':z['number'](),'problems_resolved':z['number'](),'feedback_positive':z['number'](),'feedback_negative':z['number'](),'duration_days':z['number']()['optional']()})['strict'](),'apply_via':z['string']()['describe']('The\x20exact\x20user-driven\x20write\x20path\x20(persona_operation\x20set/apply)\x20that\x20persists\x20the\x20delta\x20after\x20user\x20confirmation.'),'goal':GoalSummarySchema['describe']('The\x20distilled\x20goal\x27s\x20id/title/outcome\x20for\x20display.')})['strict']()]);
|
|
1
|
+
import{z}from'zod';import{JudgmentFragmentSchema}from'../../config/judgment.js';import{MatchPolicySchema}from'../evaluation/index.js';import{PERSONA_ROLES}from'../../persona/types.js';const IndustryEnum=z['string']()['regex'](/^[a-z][a-z0-9_]*$/,'industry\x20must\x20be\x20lowercase\x20snake_case'),RoleEnum=z['enum'](PERSONA_ROLES),ScopeEnum=z['enum'](['system','account']),PersonaIdentitySchema=z['object']({'region':z['string']()['optional'](),'languages':z['array'](z['string']())['optional'](),'self_description':z['string']()['optional']()})['strict'](),OverrideValueEnum=z['enum'](['auto','prompt','block','warn']),PersonaPolicySchema=z['object']({'confirm':z['object']({'mode':z['enum'](['full','streamlined','quiet'])['optional'](),'batch_standard':z['boolean']()['optional'](),'session_remember':z['array'](z['string']())['optional'](),'intent_bypass':z['boolean']()['optional']()})['strict']()['optional'](),'budget':z['object']({'daily_wow':z['string']()['nullable']()['optional']()})['strict']()['optional'](),'allowlist':z['array'](z['string']())['optional'](),'audit':z['boolean']()['optional']()})['strict'](),TasteProfileSchema=z['object']({'materials':z['array'](z['string']())['optional'](),'colors':z['array'](z['string']())['optional'](),'styles':z['array'](z['string']())['optional'](),'tags':z['array'](z['string']())['optional'](),'brands':z['array'](z['string']())['optional'](),'avoid':z['array'](z['string']())['optional']()})['strict'](),ConsumptionProfileSchema=z['object']({'frequency':z['enum'](['rare','occasional','regular','frequent'])['optional'](),'price_band':z['enum'](['budget','mid','premium','luxury'])['optional'](),'decision_speed':z['enum'](['fast','deliberate','slow'])['optional'](),'channels':z['array'](z['string']())['optional'](),'repeat_orientation':z['enum'](['novelty','balanced','loyal'])['optional'](),'avg_order_range':z['string']()['optional'](),'notes':z['array'](z['string']())['optional']()})['strict'](),MerchantRoleStyleSchema=z['object']({'posture':z['enum'](['volume','balanced','margin'])['optional'](),'pricing_style':z['enum'](['competitive','value','premium','custom_quote'])['optional'](),'service_style':z['array'](z['string']())['optional'](),'communication':z['string']()['optional'](),'growth_focus':z['array'](z['string']())['optional']()})['strict'](),SupplierRoleStyleSchema=z['object']({'min_order':z['string']()['optional'](),'lead_time':z['string']()['optional'](),'settlement_terms':z['array'](z['string']())['optional'](),'categories':z['array'](z['string']())['optional'](),'capacity':z['string']()['optional']()})['strict'](),CollaboratorRoleStyleSchema=z['object']({'scope_discipline':z['enum'](['strict','balanced','flexible'])['optional'](),'notifications':z['enum'](['minimal','digest','realtime'])['optional'](),'working_hours':z['string']()['optional'](),'advance_style':z['array'](z['string']())['optional']()})['strict'](),ArbitratorRoleStyleSchema=z['object']({'case_types':z['array'](z['string']())['optional'](),'response_speed':z['enum'](['fast','standard','thorough'])['optional'](),'ruling_style':z['enum'](['concise','detailed'])['optional']()})['strict'](),DemanderRoleStyleSchema=z['object']({'award_weights':z['record'](z['string'](),z['number']())['optional'](),'pilot_budget':z['string']()['optional'](),'rfp_openness':z['enum'](['open','passport_gated','invite_only'])['optional'](),'decision_basis':z['array'](z['string']())['optional']()})['strict'](),RoleProfileSchema=z['object']({'tastes':TasteProfileSchema['optional'](),'consumption':ConsumptionProfileSchema['optional'](),'merchant':MerchantRoleStyleSchema['optional'](),'supplier':SupplierRoleStyleSchema['optional'](),'collaborator':CollaboratorRoleStyleSchema['optional'](),'arbitrator':ArbitratorRoleStyleSchema['optional'](),'demander':DemanderRoleStyleSchema['optional'](),'preferences':z['record'](z['string'](),z['unknown']())['optional']()})['strict'](),RoleProfileMapSchema=z['object'](Object['fromEntries'](RoleEnum['options']['map'](a=>[a,RoleProfileSchema['optional']()])))['strict'](),PersonaLayerSchema=z['object']({'identity':PersonaIdentitySchema['optional'](),'preferences':z['record'](z['string'](),z['unknown']())['optional'](),'strategy':z['array'](z['string']())['optional'](),'rules':z['array'](z['string']())['optional'](),'requirements':z['array'](z['string']())['optional'](),'spec':z['string']()['optional'](),'overrides':z['record'](z['string'](),OverrideValueEnum)['optional'](),'policy':PersonaPolicySchema['optional'](),'profiles':RoleProfileMapSchema['optional'](),'analyze':z['object']({'key_questions':z['array'](z['string']())['max'](0x4)['describe']('The\x20user\x27s\x20key\x20follow-up\x20questions\x20for\x20the\x20Analyze\x20dossier\x20(up\x20to\x204\x20stored,\x202\x20effective\x20after\x20merge).')})['strict']()['optional'](),'judgment':JudgmentFragmentSchema['optional'](),'match':z['object']({'demand_to_supply':MatchPolicySchema['optional'](),'supply_to_demand':MatchPolicySchema['optional']()})['strict']()['optional']()})['strict'](),PersonaControlsSchema=z['object']({'confirm_modes':z['array'](z['string']()),'overrides':z['array'](z['object']({'id':z['string'](),'default':OverrideValueEnum,'allowed':z['array'](OverrideValueEnum),'surface':z['enum'](['gate','client'])['optional']()})['strict']()),'locked_rules':z['array'](z['object']({'id':z['string'](),'level':z['string']()})['strict']()),'policy_keys':z['array'](z['string']())})['strict'](),PersonaSchema=z['object']({'version':z['number'](),'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum,'industries':z['array'](IndustryEnum),'long_term':PersonaLayerSchema,'current':PersonaLayerSchema,'updated_at':z['number']()})['strict'](),PersonaSourceSchema=z['object']({'scope':ScopeEnum,'account':z['string']()['optional'](),'part':z['enum'](['long_term','current'])})['strict'](),EffectivePersonaSchema=z['object']({'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum,'industries':z['array'](IndustryEnum),'layer':PersonaLayerSchema,'sources':z['array'](PersonaSourceSchema)})['strict'](),PersonaAnalysisSuggestionSchema=z['object']({'field':z['string'](),'value':z['unknown'](),'reason':z['string']()})['strict'](),PersonaAnalysisSchema=z['object']({'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum),'preferences':z['record'](z['string'](),z['unknown']()),'requirements':z['array'](z['string']()),'rules':z['array'](z['string']()),'suggestions':z['array'](PersonaAnalysisSuggestionSchema),'confidence':z['number']()})['strict'](),GoalSummarySchema=z['object']({'id':z['string'](),'title':z['string'](),'outcome_success':z['boolean']()['optional']()})['strict']();export const PersonaOperationInputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('get'),'account':z['string']()['optional']()['describe']('Chain\x20account\x20address;\x20omitted\x20=\x20the\x20on-chain\x20DEFAULT\x20account\x20(name=\x27\x27),\x20falling\x20back\x20to\x20the\x20system\x20persona\x20when\x20no\x20default\x20account\x20exists.'),'industry':IndustryEnum['optional'](),'role':RoleEnum['optional']()})['strict'](),z['object']({'action':z['literal']('list')})['strict'](),z['object']({'action':z['literal']('set'),'scope':ScopeEnum,'account':z['string']()['optional']()['describe']('Required\x20when\x20scope=account.'),'role':RoleEnum,'industries':z['array'](IndustryEnum)['default']([]),'long_term':PersonaLayerSchema['optional'](),'current':PersonaLayerSchema['optional'](),'confirm':z['boolean']()['optional']()['describe']('Explicit\x20human\x20confirmation\x20—\x20required\x20and\x20MUST\x20be\x20true\x20whenever\x20the\x20call\x20carries\x20a\x20long_term\x20payload\x20'+'(the\x20STABLE\x20identity\x20layer\x20is\x20user-driven:\x20the\x20AI\x20may\x20draft\x20and\x20propose\x20it,\x20but\x20the\x20write\x20lands\x20only\x20'+'after\x20the\x20human\x20approves).\x20current-layer\x20sets\x20need\x20no\x20confirmation.')})['strict'](),z['object']({'action':z['literal']('analyze'),'context':z['string']()['describe']('Free-form\x20context:\x20website\x20URL,\x20experience\x20summary,\x20self\x20description,\x20goal.')})['strict'](),z['object']({'action':z['literal']('apply'),'context':z['string']()['describe']('Free-form\x20context\x20whose\x20extracted\x20signals\x20feed\x20the\x20CURRENT\x20layer.'),'scope':ScopeEnum,'account':z['string']()['optional'](),'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum)['optional'](),'mode':z['enum'](['merge','replace'])['optional']()['describe']('merge\x20(default)\x20unions\x20strategy/rules/requirements\x20into\x20current;\x20replace\x20discards\x20the\x20existing\x20current\x20layer.')})['strict'](),z['object']({'action':z['literal']('sync'),'account':z['string']()['optional']()['describe']('Account\x20whose\x20behavior\x20(experience\x20layer)\x20is\x20merged\x20into\x20its\x20CURRENT\x20layer.\x20Omit\x20=\x20system\x20persona.')})['strict'](),z['object']({'action':z['literal']('apply_delta'),'scope':ScopeEnum,'account':z['string']()['optional']()['describe']('Required\x20when\x20scope=account.'),'role':RoleEnum['optional'](),'industries':z['array'](IndustryEnum)['optional'](),'delta':PersonaLayerSchema['describe']('Structured\x20CURRENT-layer\x20delta\x20to\x20merge\x20(e.g.\x20a\x20confirmed\x20strategy-review\x20proposal).\x20'+'Server-guarded:\x20policy/overrides\x20are\x20rejected;\x20long_term\x20is\x20never\x20written;\x20arrays\x20union\x20with\x20existing\x20current\x20values.')})['strict'](),z['object']({'action':z['literal']('remove'),'scope':ScopeEnum,'account':z['string']()['optional']()})['strict'](),z['object']({'action':z['literal']('strategy'),'account':z['string']()['optional']()['describe']('Chain\x20account\x20address;\x20omitted\x20=\x20the\x20on-chain\x20DEFAULT\x20account\x20(name=\x27\x27),\x20falling\x20back\x20to\x20the\x20system\x20persona\x20when\x20no\x20default\x20account\x20exists.'),'role':RoleEnum['optional']()['describe']('Role\x20override;\x20defaults\x20to\x20the\x20effective\x20persona\x27s\x20role.'),'strategy':z['array'](z['string']())['optional']()['describe']('Explicit\x20strategy\x20statements;\x20defaults\x20to\x20the\x20effective\x20persona\x27s\x20strategy[].')})['strict'](),z['object']({'action':z['literal']('region_hint'),'propose':z['string']()['optional']()['describe']('An\x20address\x20string\x20to\x20PROPOSE\x20storing\x20as\x20the\x20local\x20delivery\x20address.\x20Returns\x20a\x20consent-gated\x20save\x20proposal\x20—\x20NEVER\x20auto-writes;\x20the\x20user\x20must\x20confirm\x20via\x20local_info_operation.')})['strict'](),z['object']({'action':z['literal']('distill'),'goal_id':z['string']()['describe']('Goal\x20id\x20(goal_…)\x20whose\x20memory\x20(outcome,\x20problems,\x20feedback,\x20objects)\x20is\x20distilled\x20into\x20a\x20CURRENT-layer\x20proposal.'),'network':z['enum'](['mainnet','testnet'])['optional']()['describe']('Network\x20the\x20goal\x20was\x20created\x20under.')})['strict']()]);export const PersonaOperationOutputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('get'),'target_account':z['string']()['optional']()['describe']('The\x20account\x20the\x20persona\x20was\x20resolved\x20for\x20(explicit\x20account,\x20or\x20the\x20on-chain\x20default\x20account\x20when\x20omitted).'),'effective':EffectivePersonaSchema,'analyze_questions':z['array'](z['string']())['optional']()['describe']('Analyze-flow\x20defaults\x20(client\x20address\x20popover\x20\x22Analyze\x22\x20→\x20AI\x20dossier):\x20the\x20user\x27s\x20effective\x20key\x20follow-up\x20questions,\x20capped\x20at\x202\x20(higher-priority\x20persona\x20layer\x20first).\x20When\x20present,\x20these\x20REPLACE\x20the\x20generic\x20Analyze\x20follow-up\x20guidance.\x20Sourced\x20from\x20persona\x20layers\x27\x20analyze.key_questions;\x20industry\x20needs\x20still\x20provide\x20thematic\x20context.'),'context_text':z['string'](),'injection':z['record'](z['string'](),z['unknown']()),'controls':PersonaControlsSchema['optional']()['describe']('Static\x20catalog\x20of\x20editable\x20safety\x20controls:\x20overridable\x20rule\x20ids\x20(defaults/allowed),\x20hard-floor\x20locked\x20rules,\x20confirm\x20modes,\x20and\x20policy\x20key\x20paths.')})['strict'](),z['object']({'action':z['literal']('list'),'personas':z['array'](PersonaSchema),'defaults':z['array'](PersonaSchema)})['strict'](),z['object']({'action':z['literal']('set'),'persona':PersonaSchema,'line_count':z['number']()})['strict'](),z['object']({'action':z['literal']('analyze'),'analysis':PersonaAnalysisSchema})['strict'](),z['object']({'action':z['literal']('apply'),'persona':PersonaSchema,'effective':EffectivePersonaSchema,'applied':z['array'](PersonaAnalysisSuggestionSchema)})['strict'](),z['object']({'action':z['literal']('sync'),'persona':PersonaSchema,'applied':PersonaLayerSchema,'effective':EffectivePersonaSchema})['strict'](),z['object']({'action':z['literal']('apply_delta'),'persona':PersonaSchema,'effective':EffectivePersonaSchema,'applied':PersonaLayerSchema})['strict'](),z['object']({'action':z['literal']('remove'),'removed':z['boolean']()})['strict'](),z['object']({'action':z['literal']('strategy'),'role':RoleEnum,'intents':z['array'](z['object']({'objective':z['enum'](['sales_priority','profit_priority','buyer_screening','gross_margin_control']),'metrics':z['array'](z['string']()),'levers':z['array'](z['enum'](['discount','reward','buy_guard','machine_design'])),'target':z['string']()})['strict']()),'suggestions':z['array'](z['object']({'lever':z['enum'](['discount','reward','buy_guard','machine_design']),'objective':z['enum'](['sales_priority','profit_priority','buyer_screening','gross_margin_control']),'action':z['string'](),'target':z['string']()})['strict']()),'note':z['string']()['describe']('Empty\x20for\x20merchant;\x20explains\x20why\x20mapping\x20is\x20producer-only\x20for\x20other\x20roles.')})['strict'](),z['object']({'action':z['literal']('region_hint'),'hint':z['object']({'region':z['record'](z['string'](),z['unknown']())['describe']('Deterministic\x20region\x20skeleton\x20(mode/raw;\x20country/province/city\x20stay\x20AI-enriched).'),'source':z['literal']('local_info'),'raw':z['string']()})['strict']()['optional']()['describe']('Present\x20when\x20a\x20locally-stored\x20delivery\x20address\x20exists.'),'proposal':z['object']({'requires_user_consent':z['literal'](!![]),'raw':z['string'](),'region':z['record'](z['string'](),z['unknown']()),'review':z['string'](),'store_via':z['literal']('local_info_operation'),'info':z['object']({'name':z['string'](),'default':z['string']()})['strict']()})['strict']()['optional']()['describe']('Present\x20when\x20`propose`\x20was\x20given\x20—\x20a\x20consent-gated\x20save\x20proposal\x20(never\x20auto-written).'),'note':z['string']()['optional']()})['strict'](),z['object']({'action':z['literal']('distill'),'summary':z['string']()['describe']('Human-readable\x20distillation\x20of\x20what\x20the\x20goal\x27s\x20memory\x20shows.'),'current_delta':PersonaLayerSchema['describe']('PROPOSED\x20current-layer\x20delta\x20(rules/preferences).\x20Never\x20auto-written.'),'evidence':z['object']({'goal_type':z['string'](),'stage':z['string'](),'outcome_success':z['boolean']()['optional'](),'objects_count':z['number'](),'problems_open':z['number'](),'problems_resolved':z['number'](),'feedback_positive':z['number'](),'feedback_negative':z['number'](),'duration_days':z['number']()['optional']()})['strict'](),'apply_via':z['string']()['describe']('The\x20exact\x20user-driven\x20write\x20path\x20(persona_operation\x20set/apply)\x20that\x20persists\x20the\x20delta\x20after\x20user\x20confirmation.'),'goal':GoalSummarySchema['describe']('The\x20distilled\x20goal\x27s\x20id/title/outcome\x20for\x20display.')})['strict']()]);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ServicePanoramaQuerySchema: z.ZodObject<{
|
|
3
3
|
query_type: z.ZodLiteral<"service_panorama">;
|
|
4
|
+
object_address: z.ZodOptional<z.ZodString>;
|
|
4
5
|
service_address: z.ZodOptional<z.ZodString>;
|
|
5
6
|
context_network: z.ZodOptional<z.ZodEnum<{
|
|
6
7
|
testnet: "testnet";
|
|
@@ -10,7 +11,8 @@ export declare const ServicePanoramaQuerySchema: z.ZodObject<{
|
|
|
10
11
|
}, z.core.$strict>;
|
|
11
12
|
export declare const ServiceQuoteQuerySchema: z.ZodObject<{
|
|
12
13
|
query_type: z.ZodLiteral<"service_quote">;
|
|
13
|
-
|
|
14
|
+
object_address: z.ZodOptional<z.ZodString>;
|
|
15
|
+
service_address: z.ZodOptional<z.ZodString>;
|
|
14
16
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
17
|
name: z.ZodString;
|
|
16
18
|
quantity: z.ZodDefault<z.ZodNumber>;
|
|
@@ -101,6 +103,23 @@ export declare const ParticipationRadarQuerySchema: z.ZodObject<{
|
|
|
101
103
|
localnet: "localnet";
|
|
102
104
|
}>>;
|
|
103
105
|
}, z.core.$strict>;
|
|
106
|
+
export declare const OrderAggregateQuerySchema: z.ZodObject<{
|
|
107
|
+
query_type: z.ZodLiteral<"order_aggregate">;
|
|
108
|
+
group: z.ZodOptional<z.ZodEnum<{
|
|
109
|
+
owner: "owner";
|
|
110
|
+
service: "service";
|
|
111
|
+
machine: "machine";
|
|
112
|
+
}>>;
|
|
113
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
114
|
+
metric: z.ZodOptional<z.ZodLiteral<"amount">>;
|
|
115
|
+
exclude_claimed: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
context_network: z.ZodOptional<z.ZodEnum<{
|
|
118
|
+
testnet: "testnet";
|
|
119
|
+
mainnet: "mainnet";
|
|
120
|
+
localnet: "localnet";
|
|
121
|
+
}>>;
|
|
122
|
+
}, z.core.$strict>;
|
|
104
123
|
export declare const RelationshipProfileQuerySchema: z.ZodObject<{
|
|
105
124
|
query_type: z.ZodLiteral<"relationship_profile">;
|
|
106
125
|
radar_account: z.ZodOptional<z.ZodString>;
|
|
@@ -240,6 +259,7 @@ export declare const OnchainTopologyQuerySchema: z.ZodObject<{
|
|
|
240
259
|
}, z.core.$strict>;
|
|
241
260
|
export declare const BI_QUERY_OPERATIONS: readonly [z.ZodObject<{
|
|
242
261
|
query_type: z.ZodLiteral<"service_panorama">;
|
|
262
|
+
object_address: z.ZodOptional<z.ZodString>;
|
|
243
263
|
service_address: z.ZodOptional<z.ZodString>;
|
|
244
264
|
context_network: z.ZodOptional<z.ZodEnum<{
|
|
245
265
|
testnet: "testnet";
|
|
@@ -248,7 +268,8 @@ export declare const BI_QUERY_OPERATIONS: readonly [z.ZodObject<{
|
|
|
248
268
|
}>>;
|
|
249
269
|
}, z.core.$strict>, z.ZodObject<{
|
|
250
270
|
query_type: z.ZodLiteral<"service_quote">;
|
|
251
|
-
|
|
271
|
+
object_address: z.ZodOptional<z.ZodString>;
|
|
272
|
+
service_address: z.ZodOptional<z.ZodString>;
|
|
252
273
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
253
274
|
name: z.ZodString;
|
|
254
275
|
quantity: z.ZodDefault<z.ZodNumber>;
|
|
@@ -332,6 +353,22 @@ export declare const BI_QUERY_OPERATIONS: readonly [z.ZodObject<{
|
|
|
332
353
|
mainnet: "mainnet";
|
|
333
354
|
localnet: "localnet";
|
|
334
355
|
}>>;
|
|
356
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
357
|
+
query_type: z.ZodLiteral<"order_aggregate">;
|
|
358
|
+
group: z.ZodOptional<z.ZodEnum<{
|
|
359
|
+
owner: "owner";
|
|
360
|
+
service: "service";
|
|
361
|
+
machine: "machine";
|
|
362
|
+
}>>;
|
|
363
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
364
|
+
metric: z.ZodOptional<z.ZodLiteral<"amount">>;
|
|
365
|
+
exclude_claimed: z.ZodOptional<z.ZodBoolean>;
|
|
366
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
367
|
+
context_network: z.ZodOptional<z.ZodEnum<{
|
|
368
|
+
testnet: "testnet";
|
|
369
|
+
mainnet: "mainnet";
|
|
370
|
+
localnet: "localnet";
|
|
371
|
+
}>>;
|
|
335
372
|
}, z.core.$strict>, z.ZodObject<{
|
|
336
373
|
query_type: z.ZodLiteral<"relationship_profile">;
|
|
337
374
|
radar_account: z.ZodOptional<z.ZodString>;
|
|
@@ -1328,9 +1365,9 @@ export declare const OnchainTopologyResultSchema: z.ZodObject<{
|
|
|
1328
1365
|
role: z.ZodString;
|
|
1329
1366
|
path: z.ZodString;
|
|
1330
1367
|
viability: z.ZodEnum<{
|
|
1368
|
+
blocked: "blocked";
|
|
1331
1369
|
viable: "viable";
|
|
1332
1370
|
conditional: "conditional";
|
|
1333
|
-
blocked: "blocked";
|
|
1334
1371
|
unverifiable: "unverifiable";
|
|
1335
1372
|
}>;
|
|
1336
1373
|
gate: z.ZodString;
|
|
@@ -1480,6 +1517,14 @@ export declare const OnchainTopologyResultSchema: z.ZodObject<{
|
|
|
1480
1517
|
red_flag: z.ZodOptional<z.ZodBoolean>;
|
|
1481
1518
|
}, z.core.$strict>>;
|
|
1482
1519
|
red_flags: z.ZodArray<z.ZodString>;
|
|
1520
|
+
red_flag_basis: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1521
|
+
flag: z.ZodString;
|
|
1522
|
+
basis: z.ZodEnum<{
|
|
1523
|
+
object_defect: "object_defect";
|
|
1524
|
+
requirement_unmet: "requirement_unmet";
|
|
1525
|
+
}>;
|
|
1526
|
+
rule_id: z.ZodOptional<z.ZodString>;
|
|
1527
|
+
}, z.core.$strict>>>;
|
|
1483
1528
|
blocked: z.ZodBoolean;
|
|
1484
1529
|
trace: z.ZodArray<z.ZodObject<{
|
|
1485
1530
|
kind: z.ZodEnum<{
|
|
@@ -1539,6 +1584,14 @@ export declare const OnchainTopologyResultSchema: z.ZodObject<{
|
|
|
1539
1584
|
red_flag: z.ZodOptional<z.ZodBoolean>;
|
|
1540
1585
|
}, z.core.$strict>>;
|
|
1541
1586
|
red_flags: z.ZodArray<z.ZodString>;
|
|
1587
|
+
red_flag_basis: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1588
|
+
flag: z.ZodString;
|
|
1589
|
+
basis: z.ZodEnum<{
|
|
1590
|
+
object_defect: "object_defect";
|
|
1591
|
+
requirement_unmet: "requirement_unmet";
|
|
1592
|
+
}>;
|
|
1593
|
+
rule_id: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
}, z.core.$strict>>>;
|
|
1542
1595
|
blocked: z.ZodBoolean;
|
|
1543
1596
|
trace: z.ZodArray<z.ZodObject<{
|
|
1544
1597
|
kind: z.ZodEnum<{
|
|
@@ -1827,7 +1880,15 @@ export declare const ServiceQuoteResultSchema: z.ZodObject<{
|
|
|
1827
1880
|
suspended: z.ZodBoolean;
|
|
1828
1881
|
stock: z.ZodNullable<z.ZodString>;
|
|
1829
1882
|
stock_ok: z.ZodNullable<z.ZodBoolean>;
|
|
1883
|
+
buyable: z.ZodNullable<z.ZodBoolean>;
|
|
1884
|
+
buyable_blockers: z.ZodArray<z.ZodString>;
|
|
1885
|
+
wip: z.ZodNullable<z.ZodString>;
|
|
1830
1886
|
}, z.core.$strip>>;
|
|
1887
|
+
buyable: z.ZodObject<{
|
|
1888
|
+
purchasable: z.ZodNullable<z.ZodBoolean>;
|
|
1889
|
+
blocked_items: z.ZodArray<z.ZodString>;
|
|
1890
|
+
note: z.ZodString;
|
|
1891
|
+
}, z.core.$strip>;
|
|
1831
1892
|
total_pay: z.ZodObject<{
|
|
1832
1893
|
balance: z.ZodString;
|
|
1833
1894
|
display: z.ZodString;
|
|
@@ -1890,6 +1951,7 @@ export declare const ServiceQuoteResultSchema: z.ZodObject<{
|
|
|
1890
1951
|
expired: z.ZodNullable<z.ZodBoolean>;
|
|
1891
1952
|
min_rating: z.ZodNullable<z.ZodString>;
|
|
1892
1953
|
min_rows: z.ZodNullable<z.ZodNumber>;
|
|
1954
|
+
unreadable_legs: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1893
1955
|
claim_window: z.ZodNullable<z.ZodObject<{
|
|
1894
1956
|
opens_after_s: z.ZodNullable<z.ZodNumber>;
|
|
1895
1957
|
closes_after_s: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1916,11 +1978,36 @@ export declare const ServiceQuoteResultSchema: z.ZodObject<{
|
|
|
1916
1978
|
detail: z.ZodString;
|
|
1917
1979
|
per_order_note: z.ZodString;
|
|
1918
1980
|
}, z.core.$strip>;
|
|
1981
|
+
rating_floor: z.ZodNullable<z.ZodNumber>;
|
|
1982
|
+
opens_after_days: z.ZodNullable<z.ZodNumber>;
|
|
1983
|
+
closes_after_days: z.ZodNullable<z.ZodNumber>;
|
|
1984
|
+
per_order_limit: z.ZodNullable<z.ZodNumber>;
|
|
1919
1985
|
coverage: z.ZodNullable<z.ZodString>;
|
|
1920
1986
|
}, z.core.$strip>>;
|
|
1921
1987
|
data_gaps: z.ZodArray<z.ZodString>;
|
|
1922
1988
|
}, z.core.$strip>>;
|
|
1923
1989
|
}, z.core.$strict>;
|
|
1990
|
+
export declare const OrderAggregateResultSchema: z.ZodObject<{
|
|
1991
|
+
action: z.ZodLiteral<"order_aggregate">;
|
|
1992
|
+
chain_id: z.ZodString;
|
|
1993
|
+
kind: z.ZodString;
|
|
1994
|
+
group: z.ZodString;
|
|
1995
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
1996
|
+
metric: z.ZodString;
|
|
1997
|
+
exclude_claimed: z.ZodBoolean;
|
|
1998
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1999
|
+
group_id: z.ZodString;
|
|
2000
|
+
count: z.ZodNumber;
|
|
2001
|
+
metric_sum: z.ZodString;
|
|
2002
|
+
max_checkpoint: z.ZodString;
|
|
2003
|
+
}, z.core.$strict>>;
|
|
2004
|
+
totals: z.ZodObject<{
|
|
2005
|
+
count: z.ZodNumber;
|
|
2006
|
+
metric_sum: z.ZodString;
|
|
2007
|
+
}, z.core.$strict>;
|
|
2008
|
+
truncated: z.ZodBoolean;
|
|
2009
|
+
coverage: z.ZodUnknown;
|
|
2010
|
+
}, z.core.$strict>;
|
|
1924
2011
|
export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
|
|
1925
2012
|
query_type: z.ZodLiteral<"service_panorama">;
|
|
1926
2013
|
result: z.ZodUnknown;
|
|
@@ -1947,7 +2034,15 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
|
|
|
1947
2034
|
suspended: z.ZodBoolean;
|
|
1948
2035
|
stock: z.ZodNullable<z.ZodString>;
|
|
1949
2036
|
stock_ok: z.ZodNullable<z.ZodBoolean>;
|
|
2037
|
+
buyable: z.ZodNullable<z.ZodBoolean>;
|
|
2038
|
+
buyable_blockers: z.ZodArray<z.ZodString>;
|
|
2039
|
+
wip: z.ZodNullable<z.ZodString>;
|
|
1950
2040
|
}, z.core.$strip>>;
|
|
2041
|
+
buyable: z.ZodObject<{
|
|
2042
|
+
purchasable: z.ZodNullable<z.ZodBoolean>;
|
|
2043
|
+
blocked_items: z.ZodArray<z.ZodString>;
|
|
2044
|
+
note: z.ZodString;
|
|
2045
|
+
}, z.core.$strip>;
|
|
1951
2046
|
total_pay: z.ZodObject<{
|
|
1952
2047
|
balance: z.ZodString;
|
|
1953
2048
|
display: z.ZodString;
|
|
@@ -2010,6 +2105,7 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
|
|
|
2010
2105
|
expired: z.ZodNullable<z.ZodBoolean>;
|
|
2011
2106
|
min_rating: z.ZodNullable<z.ZodString>;
|
|
2012
2107
|
min_rows: z.ZodNullable<z.ZodNumber>;
|
|
2108
|
+
unreadable_legs: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
2013
2109
|
claim_window: z.ZodNullable<z.ZodObject<{
|
|
2014
2110
|
opens_after_s: z.ZodNullable<z.ZodNumber>;
|
|
2015
2111
|
closes_after_s: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2036,6 +2132,10 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
|
|
|
2036
2132
|
detail: z.ZodString;
|
|
2037
2133
|
per_order_note: z.ZodString;
|
|
2038
2134
|
}, z.core.$strip>;
|
|
2135
|
+
rating_floor: z.ZodNullable<z.ZodNumber>;
|
|
2136
|
+
opens_after_days: z.ZodNullable<z.ZodNumber>;
|
|
2137
|
+
closes_after_days: z.ZodNullable<z.ZodNumber>;
|
|
2138
|
+
per_order_limit: z.ZodNullable<z.ZodNumber>;
|
|
2039
2139
|
coverage: z.ZodNullable<z.ZodString>;
|
|
2040
2140
|
}, z.core.$strip>>;
|
|
2041
2141
|
data_gaps: z.ZodArray<z.ZodString>;
|
|
@@ -2412,6 +2512,29 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
|
|
|
2412
2512
|
data_gaps: z.ZodArray<z.ZodString>;
|
|
2413
2513
|
summary: z.ZodString;
|
|
2414
2514
|
}, z.core.$strict>;
|
|
2515
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2516
|
+
query_type: z.ZodLiteral<"order_aggregate">;
|
|
2517
|
+
result: z.ZodObject<{
|
|
2518
|
+
action: z.ZodLiteral<"order_aggregate">;
|
|
2519
|
+
chain_id: z.ZodString;
|
|
2520
|
+
kind: z.ZodString;
|
|
2521
|
+
group: z.ZodString;
|
|
2522
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
2523
|
+
metric: z.ZodString;
|
|
2524
|
+
exclude_claimed: z.ZodBoolean;
|
|
2525
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
2526
|
+
group_id: z.ZodString;
|
|
2527
|
+
count: z.ZodNumber;
|
|
2528
|
+
metric_sum: z.ZodString;
|
|
2529
|
+
max_checkpoint: z.ZodString;
|
|
2530
|
+
}, z.core.$strict>>;
|
|
2531
|
+
totals: z.ZodObject<{
|
|
2532
|
+
count: z.ZodNumber;
|
|
2533
|
+
metric_sum: z.ZodString;
|
|
2534
|
+
}, z.core.$strict>;
|
|
2535
|
+
truncated: z.ZodBoolean;
|
|
2536
|
+
coverage: z.ZodUnknown;
|
|
2537
|
+
}, z.core.$strict>;
|
|
2415
2538
|
}, z.core.$strip>, z.ZodObject<{
|
|
2416
2539
|
query_type: z.ZodLiteral<"relationship_profile">;
|
|
2417
2540
|
result: z.ZodObject<{
|
|
@@ -2702,9 +2825,9 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
|
|
|
2702
2825
|
role: z.ZodString;
|
|
2703
2826
|
path: z.ZodString;
|
|
2704
2827
|
viability: z.ZodEnum<{
|
|
2828
|
+
blocked: "blocked";
|
|
2705
2829
|
viable: "viable";
|
|
2706
2830
|
conditional: "conditional";
|
|
2707
|
-
blocked: "blocked";
|
|
2708
2831
|
unverifiable: "unverifiable";
|
|
2709
2832
|
}>;
|
|
2710
2833
|
gate: z.ZodString;
|
|
@@ -2854,6 +2977,14 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
|
|
|
2854
2977
|
red_flag: z.ZodOptional<z.ZodBoolean>;
|
|
2855
2978
|
}, z.core.$strict>>;
|
|
2856
2979
|
red_flags: z.ZodArray<z.ZodString>;
|
|
2980
|
+
red_flag_basis: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2981
|
+
flag: z.ZodString;
|
|
2982
|
+
basis: z.ZodEnum<{
|
|
2983
|
+
object_defect: "object_defect";
|
|
2984
|
+
requirement_unmet: "requirement_unmet";
|
|
2985
|
+
}>;
|
|
2986
|
+
rule_id: z.ZodOptional<z.ZodString>;
|
|
2987
|
+
}, z.core.$strict>>>;
|
|
2857
2988
|
blocked: z.ZodBoolean;
|
|
2858
2989
|
trace: z.ZodArray<z.ZodObject<{
|
|
2859
2990
|
kind: z.ZodEnum<{
|
|
@@ -2913,6 +3044,14 @@ export declare const BI_QUERY_RESULT_MEMBERS: readonly [z.ZodObject<{
|
|
|
2913
3044
|
red_flag: z.ZodOptional<z.ZodBoolean>;
|
|
2914
3045
|
}, z.core.$strict>>;
|
|
2915
3046
|
red_flags: z.ZodArray<z.ZodString>;
|
|
3047
|
+
red_flag_basis: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3048
|
+
flag: z.ZodString;
|
|
3049
|
+
basis: z.ZodEnum<{
|
|
3050
|
+
object_defect: "object_defect";
|
|
3051
|
+
requirement_unmet: "requirement_unmet";
|
|
3052
|
+
}>;
|
|
3053
|
+
rule_id: z.ZodOptional<z.ZodString>;
|
|
3054
|
+
}, z.core.$strict>>>;
|
|
2916
3055
|
blocked: z.ZodBoolean;
|
|
2917
3056
|
trace: z.ZodArray<z.ZodObject<{
|
|
2918
3057
|
kind: z.ZodEnum<{
|
|
@@ -3190,6 +3329,7 @@ export type ReviewPackInput = z.infer<typeof ReviewPackQuerySchema>;
|
|
|
3190
3329
|
export type AssembleContextInput = z.infer<typeof AssembleContextQuerySchema>;
|
|
3191
3330
|
export type ReverseMapInput = z.infer<typeof ReverseMapQuerySchema>;
|
|
3192
3331
|
export type ParticipationRadarInput = z.infer<typeof ParticipationRadarQuerySchema>;
|
|
3332
|
+
export type OrderAggregateInput = z.infer<typeof OrderAggregateQuerySchema>;
|
|
3193
3333
|
export type RelationshipProfileInput = z.infer<typeof RelationshipProfileQuerySchema>;
|
|
3194
3334
|
export type RelationshipProfileResult = z.infer<typeof RelationshipProfileResultSchema>;
|
|
3195
3335
|
export type ScenarioTopologyInput = z.infer<typeof ScenarioTopologyQuerySchema>;
|
|
@@ -3198,5 +3338,6 @@ export type WorkspaceListsInput = z.infer<typeof WorkspaceListsQuerySchema>;
|
|
|
3198
3338
|
export type AssembleContextResult = z.infer<typeof AssembleContextResultSchema>;
|
|
3199
3339
|
export type ReverseMapResult = z.infer<typeof ReverseMapResultSchema>;
|
|
3200
3340
|
export type ParticipationRadarResult = z.infer<typeof ParticipationRadarResultSchema>;
|
|
3341
|
+
export type OrderAggregateResult = z.infer<typeof OrderAggregateResultSchema>;
|
|
3201
3342
|
export type OnchainTopologyInput = z.infer<typeof OnchainTopologyQuerySchema>;
|
|
3202
3343
|
export type OnchainTopologyResult = z.infer<typeof OnchainTopologyResultSchema>;
|