@wowok/agent-mcp 3.1.2 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/config-audit.spec.d.ts +1 -0
- package/dist/config/config-audit.spec.js +1 -0
- package/dist/config/exposure.d.ts +108 -0
- package/dist/config/exposure.js +1 -0
- package/dist/config/index.d.ts +2 -0
- package/dist/config/index.js +1 -1
- package/dist/config/judgment.d.ts +1228 -0
- package/dist/config/judgment.js +1 -0
- package/dist/config/judgment.spec.d.ts +1 -0
- package/dist/config/judgment.spec.js +1 -0
- package/dist/config/rule-engine.d.ts +299 -0
- package/dist/config/rule-engine.js +1 -0
- package/dist/config/rule-engine.spec.d.ts +1 -0
- package/dist/config/rule-engine.spec.js +1 -0
- package/dist/config/runtime.js +1 -1
- package/dist/config/severity.d.ts +7 -0
- package/dist/config/severity.js +1 -0
- package/dist/customer/index.d.ts +3 -9
- package/dist/customer/index.js +1 -1
- package/dist/customer/industry-risks.d.ts +3 -17
- package/dist/customer/industry-risks.js +1 -1
- package/dist/customer/order-monitor.d.ts +3 -1
- package/dist/customer/order-monitor.js +1 -1
- package/dist/customer/types.d.ts +1 -165
- package/dist/customer/types.js +1 -1
- package/dist/customer/user-preferences.d.ts +0 -49
- package/dist/customer/user-preferences.js +1 -1
- package/dist/evaluation/acceptance.d.ts +1 -0
- package/dist/evaluation/acceptance.js +1 -1
- package/dist/evaluation/arbitration-game.js +1 -1
- package/dist/evaluation/architecture.spec.d.ts +1 -0
- package/dist/evaluation/architecture.spec.js +1 -0
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/graph-service.d.ts +16 -0
- package/dist/evaluation/builtins/graph-service.js +1 -0
- package/dist/evaluation/builtins/graph-service.spec.d.ts +1 -0
- package/dist/evaluation/builtins/graph-service.spec.js +1 -0
- package/dist/evaluation/builtins/index.d.ts +1 -1
- package/dist/evaluation/builtins/index.js +1 -1
- package/dist/evaluation/builtins/purity.spec.d.ts +1 -0
- package/dist/evaluation/builtins/purity.spec.js +1 -0
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/facets/catalog.d.ts +19 -0
- package/dist/evaluation/facets/catalog.js +1 -0
- package/dist/evaluation/game-strategy.d.ts +2 -2
- package/dist/evaluation/game-strategy.js +1 -1
- package/dist/evaluation/guard-scan.d.ts +10 -0
- package/dist/evaluation/guard-scan.js +1 -0
- package/dist/evaluation/match-operation.d.ts +2 -2
- package/dist/evaluation/match-operation.js +1 -1
- package/dist/evaluation/standards.d.ts +9 -0
- package/dist/evaluation/standards.js +1 -0
- package/dist/evaluation/standards.spec.d.ts +1 -0
- package/dist/evaluation/standards.spec.js +1 -0
- package/dist/evaluation/types.d.ts +11 -1
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/business-modules.js +1 -1
- package/dist/extensions/custom-registry-file.js +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/industry-audit.spec.d.ts +1 -0
- package/dist/extensions/industry-audit.spec.js +1 -0
- package/dist/extensions/industry-layers.d.ts +14 -5
- package/dist/extensions/industry-layers.js +1 -1
- package/dist/extensions/industry-pack.d.ts +2 -0
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/mode-evaluator.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/graph/onchain/analyze.d.ts +16 -1
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/analyze.spec.js +1 -1
- package/dist/graph/onchain/dataplane.d.ts +1 -1
- package/dist/graph/onchain/dataplane.js +1 -1
- package/dist/graph/onchain/edge-batch.spec.d.ts +1 -0
- package/dist/graph/onchain/edge-batch.spec.js +1 -0
- package/dist/graph/onchain/edge-schema.d.ts +11 -2
- package/dist/graph/onchain/edge-schema.js +1 -1
- package/dist/graph/onchain/entity-profile.spec.d.ts +1 -0
- package/dist/graph/onchain/entity-profile.spec.js +1 -0
- package/dist/graph/onchain/event-history.spec.d.ts +1 -0
- package/dist/graph/onchain/event-history.spec.js +1 -0
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exploration.d.ts +28 -0
- package/dist/graph/onchain/exploration.js +1 -0
- package/dist/graph/onchain/exploration.spec.d.ts +1 -0
- package/dist/graph/onchain/exploration.spec.js +1 -0
- package/dist/graph/onchain/exposure.d.ts +18 -0
- package/dist/graph/onchain/exposure.js +1 -0
- package/dist/graph/onchain/exposure.spec.d.ts +1 -0
- package/dist/graph/onchain/exposure.spec.js +1 -0
- package/dist/graph/onchain/extract-deep.spec.d.ts +1 -0
- package/dist/graph/onchain/extract-deep.spec.js +1 -0
- package/dist/graph/onchain/extract.d.ts +11 -3
- package/dist/graph/onchain/extract.js +1 -1
- package/dist/graph/onchain/facet-projection.d.ts +99 -0
- package/dist/graph/onchain/facet-projection.js +1 -0
- package/dist/graph/onchain/facet-projection.spec.d.ts +1 -0
- package/dist/graph/onchain/facet-projection.spec.js +1 -0
- package/dist/graph/onchain/facts.d.ts +103 -0
- package/dist/graph/onchain/facts.js +1 -0
- package/dist/graph/onchain/facts.spec.d.ts +1 -0
- package/dist/graph/onchain/facts.spec.js +1 -0
- package/dist/graph/onchain/field-manifest.d.ts +29 -0
- package/dist/graph/onchain/field-manifest.js +1 -0
- package/dist/graph/onchain/field-manifest.spec.d.ts +1 -0
- package/dist/graph/onchain/field-manifest.spec.js +1 -0
- package/dist/graph/onchain/fixtures.d.ts +80 -0
- package/dist/graph/onchain/fixtures.js +1 -0
- package/dist/graph/onchain/fixtures.spec.d.ts +1 -0
- package/dist/graph/onchain/fixtures.spec.js +1 -0
- package/dist/graph/onchain/graph-policy.spec.d.ts +1 -0
- package/dist/graph/onchain/graph-policy.spec.js +1 -0
- package/dist/graph/onchain/index.d.ts +14 -2
- package/dist/graph/onchain/index.js +1 -1
- package/dist/graph/onchain/interest.js +1 -1
- package/dist/graph/onchain/interest.spec.js +1 -1
- package/dist/graph/onchain/label-lint.spec.d.ts +1 -0
- package/dist/graph/onchain/label-lint.spec.js +1 -0
- package/dist/graph/onchain/names.d.ts +23 -0
- package/dist/graph/onchain/names.js +1 -0
- package/dist/graph/onchain/names.spec.d.ts +1 -0
- package/dist/graph/onchain/names.spec.js +1 -0
- package/dist/graph/onchain/onchain.spec.js +1 -1
- package/dist/graph/onchain/policy.d.ts +8 -0
- package/dist/graph/onchain/policy.js +1 -0
- package/dist/graph/onchain/proposal-graph.d.ts +11 -0
- package/dist/graph/onchain/proposal-graph.js +1 -0
- package/dist/graph/onchain/proposal-graph.spec.d.ts +1 -0
- package/dist/graph/onchain/proposal-graph.spec.js +1 -0
- package/dist/graph/onchain/sdk-batch.d.ts +5 -1
- package/dist/graph/onchain/sdk-batch.js +1 -1
- package/dist/graph/onchain/strategy.d.ts +16 -0
- package/dist/graph/onchain/strategy.js +1 -1
- package/dist/graph/onchain/strategy.spec.js +1 -1
- package/dist/graph/onchain/synthesis.d.ts +20 -0
- package/dist/graph/onchain/synthesis.js +1 -0
- package/dist/graph/onchain/synthesis.spec.d.ts +1 -0
- package/dist/graph/onchain/synthesis.spec.js +1 -0
- package/dist/graph/onchain/table-ledger.spec.d.ts +1 -0
- package/dist/graph/onchain/table-ledger.spec.js +1 -0
- package/dist/graph/onchain/types.d.ts +57 -7
- package/dist/graph/onchain/viewport.d.ts +1 -0
- package/dist/graph/onchain/viewport.js +1 -1
- package/dist/harness/index.d.ts +1 -5
- package/dist/harness/index.js +1 -1
- package/dist/harness/verify.d.ts +6 -1
- package/dist/harness/verify.js +1 -1
- package/dist/index.js +1 -1
- package/dist/keeper/keeper.spec.js +1 -1
- package/dist/knowledge/alloc-audit-policy.spec.d.ts +1 -0
- package/dist/knowledge/alloc-audit-policy.spec.js +1 -0
- package/dist/knowledge/allocation-ledger.js +1 -1
- package/dist/knowledge/allocation-puzzle.d.ts +1 -1
- package/dist/knowledge/allocation-puzzle.js +1 -1
- package/dist/knowledge/allocation-risk.d.ts +4 -3
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/allocation-templates.js +1 -1
- package/dist/knowledge/arb-risk.d.ts +6 -6
- package/dist/knowledge/arb-risk.js +1 -1
- package/dist/knowledge/arbitration-ledger.d.ts +4 -4
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/arbitration-puzzle.d.ts +1 -1
- package/dist/knowledge/arbitration-puzzle.js +1 -1
- package/dist/knowledge/arbitration-risk.d.ts +4 -3
- package/dist/knowledge/arbitration-risk.js +1 -1
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/baselines/guard-lint-baseline.spec.d.ts +1 -0
- package/dist/knowledge/baselines/guard-lint-baseline.spec.js +1 -0
- package/dist/knowledge/baselines/judgment-baselines.json +289 -0
- package/dist/knowledge/baselines/risk-baselines.spec.d.ts +1 -0
- package/dist/knowledge/baselines/risk-baselines.spec.js +1 -0
- package/dist/knowledge/baselines/risk-cases.d.ts +8 -0
- package/dist/knowledge/baselines/risk-cases.js +1 -0
- package/dist/knowledge/baselines/rules/alloc_audit.json +290 -0
- package/dist/knowledge/baselines/rules/allocation.json +492 -0
- package/dist/knowledge/baselines/rules/arb.json +155 -0
- package/dist/knowledge/baselines/rules/arbitration.json +366 -0
- package/dist/knowledge/baselines/rules/bridge.json +197 -0
- package/dist/knowledge/baselines/rules/contact.json +152 -0
- package/dist/knowledge/baselines/rules/demand.json +158 -0
- package/dist/knowledge/baselines/rules/graph.json +453 -0
- package/dist/knowledge/baselines/rules/guard.json +981 -0
- package/dist/knowledge/baselines/rules/machine.json +706 -0
- package/dist/knowledge/baselines/rules/order.json +549 -0
- package/dist/knowledge/baselines/rules/payment.json +205 -0
- package/dist/knowledge/baselines/rules/permission.json +330 -0
- package/dist/knowledge/baselines/rules/personal.json +139 -0
- package/dist/knowledge/baselines/rules/progress.json +346 -0
- package/dist/knowledge/baselines/rules/proof.json +158 -0
- package/dist/knowledge/baselines/rules/registrar.json +159 -0
- package/dist/knowledge/baselines/rules/repository.json +244 -0
- package/dist/knowledge/baselines/rules/resource.json +117 -0
- package/dist/knowledge/baselines/rules/reward.json +471 -0
- package/dist/knowledge/baselines/rules/service.json +595 -0
- package/dist/knowledge/baselines/rules/treasury.json +440 -0
- package/dist/knowledge/baselines/rules/util.json +101 -0
- package/dist/knowledge/bridge-risk.d.ts +6 -6
- package/dist/knowledge/bridge-risk.js +1 -1
- package/dist/knowledge/builtin-templates.d.ts +26 -0
- package/dist/knowledge/builtin-templates.js +1 -0
- package/dist/knowledge/contact-risk.d.ts +6 -6
- package/dist/knowledge/contact-risk.js +1 -1
- package/dist/knowledge/contract-invariants.d.ts +1 -0
- package/dist/knowledge/contract-invariants.js +1 -1
- package/dist/knowledge/demand-risk.d.ts +6 -6
- package/dist/knowledge/demand-risk.js +1 -1
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/facts-sync.spec.d.ts +1 -0
- package/dist/knowledge/facts-sync.spec.js +1 -0
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-eval.d.ts +15 -0
- package/dist/knowledge/guard-eval.js +1 -0
- package/dist/knowledge/guard-eval.spec.d.ts +1 -0
- package/dist/knowledge/guard-eval.spec.js +1 -0
- package/dist/knowledge/guard-field-cognition.d.ts +1 -1
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-ledger.js +1 -1
- package/dist/knowledge/guard-lint.d.ts +1 -1
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-risk.d.ts +7 -19
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.d.ts +51 -45
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/industry-rule-node.d.ts +7 -0
- package/dist/knowledge/industry-rule-node.js +1 -0
- package/dist/knowledge/industry-strategy.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/machine-ledger.js +1 -1
- package/dist/knowledge/machine-risk.d.ts +4 -7
- package/dist/knowledge/machine-risk.js +1 -1
- package/dist/knowledge/machine-templates.js +1 -1
- package/dist/knowledge/machine-translation.js +1 -1
- package/dist/knowledge/migration-preflight.js +1 -1
- package/dist/knowledge/operation-dictionary.js +1 -1
- package/dist/knowledge/order-ledger.js +1 -1
- package/dist/knowledge/order-puzzle.d.ts +3 -3
- package/dist/knowledge/order-puzzle.js +1 -1
- package/dist/knowledge/order-risk.d.ts +7 -12
- package/dist/knowledge/order-risk.js +1 -1
- package/dist/knowledge/order-templates.js +1 -1
- package/dist/knowledge/passport-ledger.js +1 -1
- package/dist/knowledge/passport-templates.js +1 -1
- package/dist/knowledge/payment-risk.d.ts +8 -7
- package/dist/knowledge/payment-risk.js +1 -1
- package/dist/knowledge/payment-tracker.js +1 -1
- package/dist/knowledge/permission-ledger.js +1 -1
- package/dist/knowledge/permission-puzzle.d.ts +12 -12
- package/dist/knowledge/permission-puzzle.js +1 -1
- package/dist/knowledge/permission-risk.d.ts +4 -10
- package/dist/knowledge/permission-risk.js +1 -1
- package/dist/knowledge/permission-templates.js +1 -1
- package/dist/knowledge/personal-risk.d.ts +6 -6
- package/dist/knowledge/personal-risk.js +1 -1
- package/dist/knowledge/progress-ledger.js +1 -1
- package/dist/knowledge/progress-puzzle.d.ts +2 -2
- package/dist/knowledge/progress-puzzle.js +1 -1
- package/dist/knowledge/progress-risk.d.ts +4 -3
- package/dist/knowledge/progress-risk.js +1 -1
- package/dist/knowledge/progress-templates.js +1 -1
- package/dist/knowledge/proof-risk.d.ts +6 -6
- package/dist/knowledge/proof-risk.js +1 -1
- package/dist/knowledge/puzzle-projections.d.ts +11 -0
- package/dist/knowledge/puzzle-projections.js +1 -0
- package/dist/knowledge/recipient-constraint.d.ts +20 -1
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/registrar-risk.d.ts +6 -6
- package/dist/knowledge/registrar-risk.js +1 -1
- package/dist/knowledge/repository-risk.d.ts +7 -7
- package/dist/knowledge/repository-risk.js +1 -1
- package/dist/knowledge/resource-risk.d.ts +6 -6
- package/dist/knowledge/resource-risk.js +1 -1
- package/dist/knowledge/reward-ledger.d.ts +1 -1
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/reward-puzzle.d.ts +2 -2
- package/dist/knowledge/reward-puzzle.js +1 -1
- package/dist/knowledge/reward-risk.d.ts +5 -6
- package/dist/knowledge/reward-risk.js +1 -1
- package/dist/knowledge/rule-node-analyzers.d.ts +43 -0
- package/dist/knowledge/rule-node-analyzers.js +1 -0
- package/dist/knowledge/rule-node-analyzers.spec.d.ts +1 -0
- package/dist/knowledge/rule-node-analyzers.spec.js +1 -0
- package/dist/knowledge/rule-outcome.d.ts +5 -0
- package/dist/knowledge/rule-outcome.js +1 -0
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +2 -2
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/scenario-topology.js +1 -1
- package/dist/knowledge/service-allocator-audit-node.js +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/service-puzzle.d.ts +2 -2
- package/dist/knowledge/service-puzzle.js +1 -1
- package/dist/knowledge/service-risk-node.js +1 -1
- package/dist/knowledge/service-risk.d.ts +4 -4
- package/dist/knowledge/service-risk.js +1 -1
- package/dist/knowledge/service-templates.js +1 -1
- package/dist/knowledge/strategy-manuals.d.ts +1 -1
- package/dist/knowledge/strategy-manuals.js +1 -1
- package/dist/knowledge/template-loader.d.ts +84 -0
- package/dist/knowledge/template-loader.js +1 -0
- package/dist/knowledge/template-loader.spec.d.ts +1 -0
- package/dist/knowledge/template-loader.spec.js +1 -0
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +17 -0
- package/dist/knowledge/template-scanner.js +1 -0
- package/dist/knowledge/template-scanner.spec.d.ts +1 -0
- package/dist/knowledge/template-scanner.spec.js +1 -0
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/treasury-ledger.d.ts +1 -1
- package/dist/knowledge/treasury-ledger.js +1 -1
- package/dist/knowledge/treasury-puzzle.d.ts +3 -3
- package/dist/knowledge/treasury-puzzle.js +1 -1
- package/dist/knowledge/treasury-risk.d.ts +6 -4
- package/dist/knowledge/treasury-risk.js +1 -1
- package/dist/knowledge/treasury-templates.js +1 -1
- package/dist/knowledge/util-risk.d.ts +6 -6
- package/dist/knowledge/util-risk.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +4 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/knowledge/workspace-lists.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/participation/arbitrator-interest.js +1 -1
- package/dist/participation/radar-core.js +1 -1
- package/dist/persona/analyzer.js +1 -1
- package/dist/persona/bridge.js +1 -1
- package/dist/persona/facet-profile.d.ts +33 -0
- package/dist/persona/facet-profile.js +1 -0
- package/dist/persona/index.js +1 -1
- package/dist/persona/model.d.ts +2 -1
- package/dist/persona/model.js +1 -1
- package/dist/persona/persona-audit.spec.d.ts +1 -0
- package/dist/persona/persona-audit.spec.js +1 -0
- package/dist/persona/topology-focus.d.ts +2 -2
- package/dist/persona/topology-focus.js +1 -1
- package/dist/persona/types.d.ts +14 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/facet-money.d.ts +33 -0
- package/dist/playbooks/service-build/facet-money.js +1 -0
- package/dist/playbooks/service-build/facet-money.spec.d.ts +1 -0
- package/dist/playbooks/service-build/facet-money.spec.js +1 -0
- package/dist/playbooks/service-build/machine-panorama.d.ts +20 -0
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +2 -2
- package/dist/playbooks/service-build/migration-planner.d.ts +43 -0
- package/dist/playbooks/service-build/migration-planner.js +1 -0
- package/dist/playbooks/service-build/object-panorama.d.ts +65 -24
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/pipeline-actions.d.ts +3 -3
- package/dist/playbooks/service-build/pipeline-actions.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping.d.ts +1 -0
- package/dist/playbooks/service-build/reverse-mapping.js +1 -1
- package/dist/playbooks/service-build/risk-aggregator.d.ts +4 -2
- package/dist/playbooks/service-build/risk-aggregator.js +1 -1
- package/dist/playbooks/service-build/semantic-graph.js +1 -1
- package/dist/playbooks/service-build/service-panorama.d.ts +56 -9
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/topology-evaluation.spec.d.ts +1 -0
- package/dist/playbooks/service-build/topology-evaluation.spec.js +1 -0
- package/dist/playbooks/service-build/topology-query.d.ts +13 -2
- package/dist/playbooks/service-build/topology-query.js +1 -1
- package/dist/playbooks/service-build/workflow-design-assessment.d.ts +2 -2
- package/dist/playbooks/service-build/workflow-design-assessment.js +1 -1
- package/dist/relationship/registry.js +1 -1
- package/dist/review/arb.d.ts +0 -2
- package/dist/review/arb.js +1 -1
- package/dist/review/machine.js +1 -1
- package/dist/review/order.d.ts +0 -1
- package/dist/review/order.js +1 -1
- package/dist/review/service.js +1 -1
- package/dist/review/types.d.ts +7 -0
- package/dist/role/profiles.js +1 -1
- package/dist/rules.d.ts +1 -2
- package/dist/rules.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +207 -0
- package/dist/schema/benchmark-migration/index.js +1 -0
- package/dist/schema/call/allocation.d.ts +1 -1
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/arbitration.d.ts +1 -1
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +3374 -670
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/contact.d.ts +1 -1
- package/dist/schema/call/demand.d.ts +1 -1
- package/dist/schema/call/guard.d.ts +3 -3
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +5 -5
- package/dist/schema/call/order.d.ts +3 -3
- package/dist/schema/call/payment.js +1 -1
- package/dist/schema/call/permission-handler.d.ts +1 -1
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.d.ts +16 -16
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/personal.d.ts +8 -8
- package/dist/schema/call/personal.js +1 -1
- package/dist/schema/call/progress.d.ts +3 -3
- package/dist/schema/call/receipt.d.ts +28 -0
- package/dist/schema/call/receipt.js +1 -0
- package/dist/schema/call/repository.d.ts +11 -11
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.d.ts +1 -1
- package/dist/schema/call/semantic-customer-advice.spec.d.ts +1 -0
- package/dist/schema/call/semantic-customer-advice.spec.js +1 -0
- package/dist/schema/call/semantic.d.ts +5 -2
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +7 -7
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +1 -1
- package/dist/schema/call/treasury.js +1 -1
- package/dist/schema/common/index.d.ts +6 -6
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/config/index.d.ts +50 -1
- package/dist/schema/config/index.js +1 -1
- package/dist/schema/evaluation/index.d.ts +307 -213
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +6 -6
- package/dist/schema/goal/planning.d.ts +17 -17
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/schema/index.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +1 -1
- package/dist/schema/interaction/index.d.ts +1 -1
- package/dist/schema/keeper/index.d.ts +1 -1
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +26 -26
- package/dist/schema/operations.d.ts +59 -43
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +4732 -24
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +830 -10
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +44 -44
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workflow/index.d.ts +1 -1
- package/dist/schema/workspace/index.d.ts +2 -2
- package/dist/schema-query-impl/index.d.ts +9 -0
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +1 -1
- package/dist/schemas/benchmark_migration_operation.output.json +793 -0
- package/dist/schemas/benchmark_migration_operation.schema.json +83 -0
- package/dist/schemas/bridge_operation.output.json +1 -1
- package/dist/schemas/bridge_operation.schema.json +5 -5
- package/dist/schemas/config_operation.output.json +252 -0
- package/dist/schemas/config_operation.schema.json +21 -1
- package/dist/schemas/evaluation_operation.output.json +702 -162
- package/dist/schemas/evaluation_operation.schema.json +0 -429
- package/dist/schemas/goal_operation.schema.json +8 -8
- package/dist/schemas/guard2file.schema.json +1 -1
- package/dist/schemas/index.json +7 -7
- package/dist/schemas/keeper_operation.output.json +1 -1
- package/dist/schemas/local_history_operation.output.json +1 -1
- package/dist/schemas/local_info_operation.output.json +1 -1
- package/dist/schemas/local_mark_operation.output.json +1 -1
- package/dist/schemas/machineNode2file.schema.json +1 -1
- package/dist/schemas/messenger_operation.output.json +1 -1
- package/dist/schemas/messenger_operation.schema.json +24 -12
- package/dist/schemas/monitor_events.output.json +1 -1
- package/dist/schemas/monitor_subscription.output.json +1 -1
- package/dist/schemas/onchain_events.output.json +2 -2
- package/dist/schemas/onchain_operations.output.json +6359 -3724
- package/dist/schemas/onchain_operations.schema.json +191 -141
- package/dist/schemas/onchain_operations_allocation.schema.json +13 -11
- package/dist/schemas/onchain_operations_arbitration.schema.json +10 -8
- package/dist/schemas/onchain_operations_contact.schema.json +7 -5
- package/dist/schemas/onchain_operations_demand.schema.json +7 -5
- package/dist/schemas/onchain_operations_gen_passport.schema.json +5 -3
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
- package/dist/schemas/onchain_operations_guard.schema.json +5 -3
- package/dist/schemas/onchain_operations_machine.schema.json +22 -18
- package/dist/schemas/onchain_operations_order.schema.json +11 -7
- package/dist/schemas/onchain_operations_payment.schema.json +3 -3
- package/dist/schemas/onchain_operations_permission.schema.json +19 -11
- package/dist/schemas/onchain_operations_personal.schema.json +16 -10
- package/dist/schemas/onchain_operations_progress.schema.json +11 -7
- package/dist/schemas/onchain_operations_proof.schema.json +5 -3
- package/dist/schemas/onchain_operations_repository.schema.json +12 -8
- package/dist/schemas/onchain_operations_reward.schema.json +11 -9
- package/dist/schemas/onchain_operations_service.schema.json +28 -22
- package/dist/schemas/onchain_operations_treasury.schema.json +13 -11
- package/dist/schemas/onchain_table_data.output.json +88 -88
- package/dist/schemas/persona_operation.output.json +15875 -1
- package/dist/schemas/persona_operation.schema.json +3056 -478
- package/dist/schemas/query_toolkit.output.json +1325 -212
- package/dist/schemas/query_toolkit.schema.json +60 -2
- package/dist/schemas/workflow_operation.schema.json +4 -2
- package/dist/strategy/metrics.js +1 -1
- package/dist/strategy/scorecard.js +1 -1
- package/dist/tools/handlers/benchmark-migration.d.ts +2 -0
- package/dist/tools/handlers/benchmark-migration.js +1 -0
- package/dist/tools/handlers/bridge.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/dispatch-expectations.d.ts +3 -0
- package/dist/tools/handlers/dispatch-expectations.js +1 -0
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.d.ts +3 -0
- package/dist/tools/move-fn-index.gen.js +1 -0
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/config.js +1 -1
- package/dist/tools/registry/evaluation.d.ts +2 -0
- package/dist/tools/registry/evaluation.js +1 -0
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/sanitize-output.d.ts +3 -0
- package/dist/tools/sanitize-output.js +1 -0
- package/dist/tools/sanitize-output.spec.d.ts +1 -0
- package/dist/tools/sanitize-output.spec.js +1 -0
- package/dist/tools/shared.d.ts +0 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +9 -3
- package/dist/customer/customer-advice.d.ts +0 -32
- package/dist/customer/customer-advice.js +0 -1
- package/dist/customer/info-puzzle.d.ts +0 -146
- package/dist/customer/info-puzzle.js +0 -1
- package/dist/customer/order-strategy.d.ts +0 -17
- package/dist/customer/order-strategy.js +0 -1
- package/dist/customer/preorder-compare.d.ts +0 -24
- package/dist/customer/preorder-compare.js +0 -1
- package/dist/customer/reminder-system.d.ts +0 -42
- package/dist/customer/reminder-system.js +0 -1
- package/dist/customer/risk-assessment.d.ts +0 -13
- package/dist/customer/risk-assessment.js +0 -1
- package/dist/evaluation/builtins/service-risk.d.ts +0 -7
- package/dist/evaluation/builtins/service-risk.js +0 -1
- package/dist/knowledge/trust-metrics.d.ts +0 -66
- package/dist/knowledge/trust-metrics.js +0 -1
- package/dist/schema/trust/index.d.ts +0 -334
- package/dist/schema/trust/index.js +0 -1
- package/dist/schemas/trust_score.output.json +0 -847
- package/dist/schemas/trust_score.schema.json +0 -364
- package/dist/tools/handlers/trust.d.ts +0 -16
- package/dist/tools/handlers/trust.js +0 -1
- package/dist/tools/registry/trust.d.ts +0 -2
- package/dist/tools/registry/trust.js +0 -1
|
@@ -1,334 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const TrustScoreInputSchema: z.ZodObject<{
|
|
3
|
-
service: z.ZodString;
|
|
4
|
-
order_amount: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
5
|
-
depth: z.ZodOptional<z.ZodEnum<{
|
|
6
|
-
browse: "browse";
|
|
7
|
-
evaluate: "evaluate";
|
|
8
|
-
preorder: "preorder";
|
|
9
|
-
}>>;
|
|
10
|
-
industry: z.ZodOptional<z.ZodEnum<{
|
|
11
|
-
freelance: "freelance";
|
|
12
|
-
rental: "rental";
|
|
13
|
-
education: "education";
|
|
14
|
-
travel: "travel";
|
|
15
|
-
subscription: "subscription";
|
|
16
|
-
retail: "retail";
|
|
17
|
-
}>>;
|
|
18
|
-
preferences: z.ZodOptional<z.ZodObject<{
|
|
19
|
-
price_sensitivity: z.ZodOptional<z.ZodEnum<{
|
|
20
|
-
low: "low";
|
|
21
|
-
high: "high";
|
|
22
|
-
medium: "medium";
|
|
23
|
-
}>>;
|
|
24
|
-
budget_range: z.ZodOptional<z.ZodObject<{
|
|
25
|
-
min: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
26
|
-
max: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
27
|
-
}, z.core.$strict>>;
|
|
28
|
-
value_orientation: z.ZodOptional<z.ZodEnum<{
|
|
29
|
-
budget: "budget";
|
|
30
|
-
balanced: "balanced";
|
|
31
|
-
quality: "quality";
|
|
32
|
-
}>>;
|
|
33
|
-
discount_sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
34
|
-
delivery_speed_priority: z.ZodOptional<z.ZodEnum<{
|
|
35
|
-
urgent: "urgent";
|
|
36
|
-
normal: "normal";
|
|
37
|
-
flexible: "flexible";
|
|
38
|
-
}>>;
|
|
39
|
-
max_acceptable_cycle: z.ZodOptional<z.ZodNumber>;
|
|
40
|
-
response_time_expectation: z.ZodOptional<z.ZodNumber>;
|
|
41
|
-
merchant_preference: z.ZodOptional<z.ZodEnum<{
|
|
42
|
-
neutral: "neutral";
|
|
43
|
-
established: "established";
|
|
44
|
-
emerging: "emerging";
|
|
45
|
-
}>>;
|
|
46
|
-
min_order_history: z.ZodOptional<z.ZodNumber>;
|
|
47
|
-
bargain_hunting: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
reward_seeking: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
-
referral_participation: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
-
communication_style: z.ZodOptional<z.ZodEnum<{
|
|
51
|
-
formal: "formal";
|
|
52
|
-
casual: "casual";
|
|
53
|
-
friendly: "friendly";
|
|
54
|
-
}>>;
|
|
55
|
-
transparency_demand: z.ZodOptional<z.ZodNumber>;
|
|
56
|
-
after_sales_expectation: z.ZodOptional<z.ZodEnum<{
|
|
57
|
-
full: "full";
|
|
58
|
-
basic: "basic";
|
|
59
|
-
minimal: "minimal";
|
|
60
|
-
}>>;
|
|
61
|
-
risk_appetite: z.ZodOptional<z.ZodEnum<{
|
|
62
|
-
conservative: "conservative";
|
|
63
|
-
balanced: "balanced";
|
|
64
|
-
aggressive: "aggressive";
|
|
65
|
-
}>>;
|
|
66
|
-
min_trust_score: z.ZodOptional<z.ZodNumber>;
|
|
67
|
-
require_arbitration: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
-
require_compensation_fund: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
-
preferred_industries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
70
|
-
preferred_tokens: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
|
-
preferred_merchants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
|
-
}, z.core.$strict>>;
|
|
73
|
-
user_metrics: z.ZodOptional<z.ZodObject<{
|
|
74
|
-
metrics: z.ZodArray<z.ZodObject<{
|
|
75
|
-
name: z.ZodString;
|
|
76
|
-
label: z.ZodString;
|
|
77
|
-
evaluator: z.ZodEnum<{
|
|
78
|
-
boolean: "boolean";
|
|
79
|
-
threshold: "threshold";
|
|
80
|
-
ratio: "ratio";
|
|
81
|
-
presence: "presence";
|
|
82
|
-
regex_match: "regex_match";
|
|
83
|
-
custom_query: "custom_query";
|
|
84
|
-
}>;
|
|
85
|
-
params: z.ZodObject<{
|
|
86
|
-
path: z.ZodOptional<z.ZodString>;
|
|
87
|
-
threshold: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
88
|
-
invert: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
90
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
91
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
92
|
-
query_key: z.ZodOptional<z.ZodString>;
|
|
93
|
-
}, z.core.$strict>;
|
|
94
|
-
weight: z.ZodNumber;
|
|
95
|
-
advice_on_fail: z.ZodOptional<z.ZodString>;
|
|
96
|
-
advice_on_pass: z.ZodOptional<z.ZodString>;
|
|
97
|
-
}, z.core.$strict>>;
|
|
98
|
-
adjustment_cap: z.ZodOptional<z.ZodNumber>;
|
|
99
|
-
}, z.core.$strict>>;
|
|
100
|
-
trust_weights: z.ZodOptional<z.ZodObject<{
|
|
101
|
-
arbitration: z.ZodOptional<z.ZodNumber>;
|
|
102
|
-
reviews: z.ZodOptional<z.ZodNumber>;
|
|
103
|
-
fulfillment: z.ZodOptional<z.ZodNumber>;
|
|
104
|
-
fund_safety: z.ZodOptional<z.ZodNumber>;
|
|
105
|
-
transparency: z.ZodOptional<z.ZodNumber>;
|
|
106
|
-
}, z.core.$strict>>;
|
|
107
|
-
network: z.ZodOptional<z.ZodString>;
|
|
108
|
-
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
-
compare_with: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
110
|
-
}, z.core.$strict>;
|
|
111
|
-
export declare const TrustScoreOutputSchema: z.ZodObject<{
|
|
112
|
-
result: z.ZodObject<{
|
|
113
|
-
service_id: z.ZodString;
|
|
114
|
-
service_name: z.ZodString;
|
|
115
|
-
service_basics: z.ZodObject<{
|
|
116
|
-
bPublished: z.ZodBoolean;
|
|
117
|
-
bPaused: z.ZodBoolean;
|
|
118
|
-
sales_count: z.ZodNumber;
|
|
119
|
-
has_machine: z.ZodBoolean;
|
|
120
|
-
has_buy_guard: z.ZodBoolean;
|
|
121
|
-
has_um_contact: z.ZodBoolean;
|
|
122
|
-
arbitrations_count: z.ZodNumber;
|
|
123
|
-
}, z.core.$strip>;
|
|
124
|
-
trust_score: z.ZodObject<{
|
|
125
|
-
score: z.ZodNumber;
|
|
126
|
-
level: z.ZodEnum<{
|
|
127
|
-
high_risk: "high_risk";
|
|
128
|
-
caution: "caution";
|
|
129
|
-
moderate: "moderate";
|
|
130
|
-
trusted: "trusted";
|
|
131
|
-
}>;
|
|
132
|
-
summary: z.ZodString;
|
|
133
|
-
warnings: z.ZodArray<z.ZodString>;
|
|
134
|
-
findings: z.ZodArray<z.ZodObject<{
|
|
135
|
-
kind: z.ZodString;
|
|
136
|
-
severity: z.ZodEnum<{
|
|
137
|
-
info: "info";
|
|
138
|
-
critical: "critical";
|
|
139
|
-
warning: "warning";
|
|
140
|
-
}>;
|
|
141
|
-
message: z.ZodString;
|
|
142
|
-
deduction: z.ZodNumber;
|
|
143
|
-
}, z.core.$strip>>;
|
|
144
|
-
breakdown: z.ZodArray<z.ZodObject<{
|
|
145
|
-
score: z.ZodNumber;
|
|
146
|
-
maxScore: z.ZodNumber;
|
|
147
|
-
description: z.ZodString;
|
|
148
|
-
humanReadable: z.ZodString;
|
|
149
|
-
}, z.core.$strip>>;
|
|
150
|
-
}, z.core.$strip>;
|
|
151
|
-
order_amount: z.ZodString;
|
|
152
|
-
depth: z.ZodEnum<{
|
|
153
|
-
browse: "browse";
|
|
154
|
-
evaluate: "evaluate";
|
|
155
|
-
preorder: "preorder";
|
|
156
|
-
}>;
|
|
157
|
-
risk_score: z.ZodOptional<z.ZodObject<{
|
|
158
|
-
total: z.ZodNumber;
|
|
159
|
-
level: z.ZodEnum<{
|
|
160
|
-
low: "low";
|
|
161
|
-
medium_low: "medium_low";
|
|
162
|
-
medium_high: "medium_high";
|
|
163
|
-
high: "high";
|
|
164
|
-
}>;
|
|
165
|
-
red_flags: z.ZodArray<z.ZodString>;
|
|
166
|
-
advice: z.ZodArray<z.ZodString>;
|
|
167
|
-
dimensions: z.ZodArray<z.ZodObject<{
|
|
168
|
-
name: z.ZodEnum<{
|
|
169
|
-
fund: "fund";
|
|
170
|
-
workflow: "workflow";
|
|
171
|
-
trust: "trust";
|
|
172
|
-
behavior: "behavior";
|
|
173
|
-
}>;
|
|
174
|
-
score: z.ZodNumber;
|
|
175
|
-
max_score: z.ZodNumber;
|
|
176
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
177
|
-
id: z.ZodString;
|
|
178
|
-
dimension: z.ZodEnum<{
|
|
179
|
-
fund: "fund";
|
|
180
|
-
workflow: "workflow";
|
|
181
|
-
trust: "trust";
|
|
182
|
-
behavior: "behavior";
|
|
183
|
-
}>;
|
|
184
|
-
description: z.ZodString;
|
|
185
|
-
weight: z.ZodNumber;
|
|
186
|
-
passed: z.ZodBoolean;
|
|
187
|
-
advice: z.ZodOptional<z.ZodString>;
|
|
188
|
-
}, z.core.$strip>>;
|
|
189
|
-
}, z.core.$strip>>;
|
|
190
|
-
}, z.core.$strip>>;
|
|
191
|
-
info_puzzle: z.ZodOptional<z.ZodObject<{
|
|
192
|
-
completeness: z.ZodNumber;
|
|
193
|
-
gaps: z.ZodArray<z.ZodString>;
|
|
194
|
-
assembled_at: z.ZodNumber;
|
|
195
|
-
}, z.core.$strip>>;
|
|
196
|
-
preorder_advice: z.ZodOptional<z.ZodObject<{
|
|
197
|
-
confidence: z.ZodObject<{
|
|
198
|
-
score: z.ZodNumber;
|
|
199
|
-
base: z.ZodNumber;
|
|
200
|
-
user_adjustment: z.ZodNumber;
|
|
201
|
-
preference_nudge: z.ZodNumber;
|
|
202
|
-
explanation: z.ZodString;
|
|
203
|
-
}, z.core.$strip>;
|
|
204
|
-
industry: z.ZodOptional<z.ZodEnum<{
|
|
205
|
-
freelance: "freelance";
|
|
206
|
-
rental: "rental";
|
|
207
|
-
education: "education";
|
|
208
|
-
travel: "travel";
|
|
209
|
-
subscription: "subscription";
|
|
210
|
-
retail: "retail";
|
|
211
|
-
}>>;
|
|
212
|
-
strategies: z.ZodArray<z.ZodObject<{
|
|
213
|
-
scenario: z.ZodEnum<{
|
|
214
|
-
fund_safety: "fund_safety";
|
|
215
|
-
info_asymmetry: "info_asymmetry";
|
|
216
|
-
refund_dispute: "refund_dispute";
|
|
217
|
-
arbitration_fairness: "arbitration_fairness";
|
|
218
|
-
pricing: "pricing";
|
|
219
|
-
delivery_sla: "delivery_sla";
|
|
220
|
-
quality_verification: "quality_verification";
|
|
221
|
-
after_sales: "after_sales";
|
|
222
|
-
}>;
|
|
223
|
-
merchant_tactic: z.ZodString;
|
|
224
|
-
user_strategy: z.ZodString;
|
|
225
|
-
nash_equilibrium: z.ZodString;
|
|
226
|
-
confidence: z.ZodNumber;
|
|
227
|
-
fallback: z.ZodOptional<z.ZodString>;
|
|
228
|
-
rationale: z.ZodString;
|
|
229
|
-
}, z.core.$strip>>;
|
|
230
|
-
preference_match: z.ZodOptional<z.ZodObject<{
|
|
231
|
-
score: z.ZodNumber;
|
|
232
|
-
matches: z.ZodArray<z.ZodString>;
|
|
233
|
-
mismatches: z.ZodArray<z.ZodString>;
|
|
234
|
-
warnings: z.ZodArray<z.ZodString>;
|
|
235
|
-
}, z.core.$strip>>;
|
|
236
|
-
preference_issues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
237
|
-
industry_risks: z.ZodOptional<z.ZodObject<{
|
|
238
|
-
score_adjustment: z.ZodNumber;
|
|
239
|
-
summary: z.ZodString;
|
|
240
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
241
|
-
id: z.ZodString;
|
|
242
|
-
dimension: z.ZodEnum<{
|
|
243
|
-
fund: "fund";
|
|
244
|
-
workflow: "workflow";
|
|
245
|
-
trust: "trust";
|
|
246
|
-
behavior: "behavior";
|
|
247
|
-
}>;
|
|
248
|
-
description: z.ZodString;
|
|
249
|
-
weight: z.ZodNumber;
|
|
250
|
-
passed: z.ZodBoolean;
|
|
251
|
-
advice: z.ZodOptional<z.ZodString>;
|
|
252
|
-
}, z.core.$strip>>;
|
|
253
|
-
unmet_needs: z.ZodArray<z.ZodObject<{
|
|
254
|
-
id: z.ZodString;
|
|
255
|
-
tier: z.ZodEnum<{
|
|
256
|
-
common: "common";
|
|
257
|
-
personalized: "personalized";
|
|
258
|
-
advanced: "advanced";
|
|
259
|
-
}>;
|
|
260
|
-
description: z.ZodString;
|
|
261
|
-
advice: z.ZodOptional<z.ZodString>;
|
|
262
|
-
}, z.core.$strip>>;
|
|
263
|
-
}, z.core.$strip>>;
|
|
264
|
-
reminders: z.ZodArray<z.ZodObject<{
|
|
265
|
-
id: z.ZodString;
|
|
266
|
-
stage: z.ZodEnum<{
|
|
267
|
-
browse: "browse";
|
|
268
|
-
evaluate: "evaluate";
|
|
269
|
-
preorder: "preorder";
|
|
270
|
-
in_progress: "in_progress";
|
|
271
|
-
complete: "complete";
|
|
272
|
-
after_sale: "after_sale";
|
|
273
|
-
}>;
|
|
274
|
-
priority: z.ZodEnum<{
|
|
275
|
-
required: "required";
|
|
276
|
-
recommended: "recommended";
|
|
277
|
-
info: "info";
|
|
278
|
-
reminder: "reminder";
|
|
279
|
-
}>;
|
|
280
|
-
message: z.ZodString;
|
|
281
|
-
action: z.ZodOptional<z.ZodString>;
|
|
282
|
-
}, z.core.$strip>>;
|
|
283
|
-
blocking_reminders: z.ZodArray<z.ZodObject<{
|
|
284
|
-
id: z.ZodString;
|
|
285
|
-
stage: z.ZodEnum<{
|
|
286
|
-
browse: "browse";
|
|
287
|
-
evaluate: "evaluate";
|
|
288
|
-
preorder: "preorder";
|
|
289
|
-
in_progress: "in_progress";
|
|
290
|
-
complete: "complete";
|
|
291
|
-
after_sale: "after_sale";
|
|
292
|
-
}>;
|
|
293
|
-
priority: z.ZodEnum<{
|
|
294
|
-
required: "required";
|
|
295
|
-
recommended: "recommended";
|
|
296
|
-
info: "info";
|
|
297
|
-
reminder: "reminder";
|
|
298
|
-
}>;
|
|
299
|
-
message: z.ZodString;
|
|
300
|
-
action: z.ZodOptional<z.ZodString>;
|
|
301
|
-
}, z.core.$strip>>;
|
|
302
|
-
summary: z.ZodString;
|
|
303
|
-
}, z.core.$strip>>;
|
|
304
|
-
comparison: z.ZodOptional<z.ZodObject<{
|
|
305
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
306
|
-
service_id: z.ZodString;
|
|
307
|
-
service_name: z.ZodString;
|
|
308
|
-
error: z.ZodOptional<z.ZodString>;
|
|
309
|
-
industry: z.ZodOptional<z.ZodEnum<{
|
|
310
|
-
freelance: "freelance";
|
|
311
|
-
rental: "rental";
|
|
312
|
-
education: "education";
|
|
313
|
-
travel: "travel";
|
|
314
|
-
subscription: "subscription";
|
|
315
|
-
retail: "retail";
|
|
316
|
-
}>>;
|
|
317
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
318
|
-
risk_total: z.ZodOptional<z.ZodNumber>;
|
|
319
|
-
risk_level: z.ZodOptional<z.ZodString>;
|
|
320
|
-
trust_score: z.ZodOptional<z.ZodNumber>;
|
|
321
|
-
trust_level: z.ZodOptional<z.ZodString>;
|
|
322
|
-
preference_match: z.ZodOptional<z.ZodNumber>;
|
|
323
|
-
reputation_like_ratio: z.ZodOptional<z.ZodNumber>;
|
|
324
|
-
reputation_votes: z.ZodOptional<z.ZodNumber>;
|
|
325
|
-
red_flags_count: z.ZodOptional<z.ZodNumber>;
|
|
326
|
-
blocking_reminders_count: z.ZodOptional<z.ZodNumber>;
|
|
327
|
-
info_gaps_count: z.ZodOptional<z.ZodNumber>;
|
|
328
|
-
}, z.core.$strict>>;
|
|
329
|
-
best_per_metric: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
330
|
-
evaluated_metrics: z.ZodArray<z.ZodString>;
|
|
331
|
-
note: z.ZodString;
|
|
332
|
-
}, z.core.$strict>>;
|
|
333
|
-
}, z.core.$strip>;
|
|
334
|
-
}, z.core.$strip>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{z}from'zod';import{NameOrAddressSchema}from'../common/index.js';const RiskCheckOutputSchema=z['object']({'id':z['string']()['describe']('Check\x20identifier.'),'dimension':z['enum'](['workflow','fund','trust','behavior'])['describe']('Dimension\x20this\x20check\x20belongs\x20to.'),'description':z['string']()['describe']('Check\x20description.'),'weight':z['number']()['describe']('Check\x20weight\x20within\x20its\x20dimension\x20(percentage).'),'passed':z['boolean']()['describe']('Whether\x20the\x20check\x20passed.'),'advice':z['string']()['optional']()['describe']('Advice\x20when\x20the\x20check\x20failed.')}),ReminderOutputSchema=z['object']({'id':z['string']()['describe']('Reminder\x20rule\x20identifier.'),'stage':z['enum'](['browse','evaluate','preorder','in_progress','complete','after_sale'])['describe']('Workflow\x20stage\x20this\x20reminder\x20belongs\x20to.'),'priority':z['enum'](['required','recommended','info','reminder'])['describe']('Priority:\x20required\x20=\x20blocking,\x20recommended\x20=\x20strongly\x20suggested.'),'message':z['string']()['describe']('Human-readable\x20reminder\x20message.'),'action':z['string']()['optional']()['describe']('Suggested\x20follow-up\x20action,\x20if\x20any.')}),IndustryEnumSchema=z['enum'](['freelance','rental','education','travel','subscription','retail']),PreorderPreferencesInputSchema=z['object']({'price_sensitivity':z['enum'](['low','medium','high'])['optional'](),'budget_range':z['object']({'min':z['union']([z['string'](),z['number']()])['describe']('Budget\x20lower\x20bound\x20(smallest\x20token\x20unit).'),'max':z['union']([z['string'](),z['number']()])['describe']('Budget\x20upper\x20bound\x20(smallest\x20token\x20unit).')})['strict']()['optional'](),'value_orientation':z['enum'](['quality','balanced','budget'])['optional'](),'discount_sensitivity':z['number']()['min'](0x0)['max'](0x1)['optional'](),'delivery_speed_priority':z['enum'](['urgent','normal','flexible'])['optional'](),'max_acceptable_cycle':z['number']()['nonnegative']()['describe']('Max\x20acceptable\x20delivery\x20cycle\x20(days).')['optional'](),'response_time_expectation':z['number']()['nonnegative']()['describe']('Expected\x20merchant\x20response\x20time\x20(hours).')['optional'](),'merchant_preference':z['enum'](['established','emerging','neutral'])['optional'](),'min_order_history':z['number']()['int']()['nonnegative']()['optional'](),'bargain_hunting':z['number']()['min'](0x0)['max'](0x1)['optional'](),'reward_seeking':z['boolean']()['optional'](),'referral_participation':z['boolean']()['optional'](),'communication_style':z['enum'](['formal','casual','friendly'])['optional'](),'transparency_demand':z['number']()['min'](0x0)['max'](0x1)['optional'](),'after_sales_expectation':z['enum'](['full','basic','minimal'])['optional'](),'risk_appetite':z['enum'](['conservative','balanced','aggressive'])['optional'](),'min_trust_score':z['number']()['min'](0x0)['max'](0x64)['optional'](),'require_arbitration':z['boolean']()['optional'](),'require_compensation_fund':z['boolean']()['optional'](),'preferred_industries':z['array'](z['string']())['optional'](),'preferred_tokens':z['array'](z['string']())['optional'](),'preferred_merchants':z['array'](z['string']())['optional']()})['strict'](),UserMetricInputSchema=z['object']({'name':z['string']()['describe']('Stable\x20metric\x20identifier\x20(e.g.\x20\x27merchant_tenure_days\x27).'),'label':z['string']()['describe']('Human-readable\x20label\x20shown\x20to\x20the\x20user.'),'evaluator':z['enum'](['threshold','ratio','boolean','presence','regex_match','custom_query'])['describe']('How\x20the\x20metric\x20is\x20evaluated\x20against\x20the\x20puzzle\x20context.'),'params':z['object']({'path':z['string']()['optional']()['describe']('JSON\x20path\x20in\x20the\x20raw\x20data\x20context\x20(e.g.\x20\x27service.name\x27).'),'threshold':z['union']([z['string'](),z['number']()])['optional']()['describe']('Threshold\x20value\x20(threshold/presence\x20evaluators).'),'invert':z['boolean']()['optional']()['describe']('true:\x20pass\x20when\x20value\x20<=\x20threshold.'),'min':z['number']()['optional']()['describe']('Min\x20ratio\x20(ratio\x20evaluator).'),'max':z['number']()['optional']()['describe']('Max\x20ratio\x20(ratio\x20evaluator).'),'pattern':z['string']()['optional']()['describe']('Regex\x20pattern\x20(regex_match\x20evaluator).'),'query_key':z['string']()['optional']()['describe']('Custom\x20query\x20identifier\x20(custom_query\x20evaluator).')})['strict'](),'weight':z['number']()['min'](0x0)['max'](0x1)['describe']('Relative\x20weight\x20vs\x20other\x20user\x20metrics\x20(0-1).'),'advice_on_fail':z['string']()['optional'](),'advice_on_pass':z['string']()['optional']()})['strict'](),UserMetricsInputSchema=z['object']({'metrics':z['array'](UserMetricInputSchema)['min'](0x1)['describe']('User-defined\x20scoring\x20factors.'),'adjustment_cap':z['number']()['positive']()['optional']()['describe']('Global\x20cap\x20for\x20the\x20composite\x20confidence\x20adjustment\x20(default\x20±10\x20points).')})['strict']();export const TrustScoreInputSchema=z['object']({'service':NameOrAddressSchema['describe']('Service\x20object\x20ID\x20or\x20local_mark\x20name\x20to\x20evaluate.\x20'+'Must\x20reference\x20an\x20existing\x20Service\x20object\x20on-chain.'),'order_amount':z['union']([z['string'](),z['number']()])['optional']()['describe']('Optional\x20order\x20amount\x20(in\x20smallest\x20token\x20unit,\x20e.g.\x202000000000\x20for\x202\x20WOW).\x20'+'Used\x20for\x20fund-safety\x20dimension\x20risk\x20assessment.\x20'+'If\x20omitted,\x20the\x20first\x20active\x20sale\x20price\x20of\x20the\x20service\x20is\x20used.'),'depth':z['enum'](['browse','evaluate','preorder'])['optional']()['describe']('InfoPuzzle\x20collection\x20depth.\x20'+'browse:\x20only\x20Service\x20basics\x20+\x20trust\x20score;\x20'+'evaluate\x20(default):\x20+\x20workflow/fund/trust\x20dimensions\x20risk\x20assessment;\x20'+'preorder:\x20+\x20full\x20preorder\x20advice\x20(confidence,\x20game\x20strategies,\x20preference\x20match,\x20industry\x20risks,\x20blocking\x20reminders).'),'industry':IndustryEnumSchema['optional']()['describe']('Explicit\x20industry\x20override\x20for\x20industry-specific\x20risk\x20checks\x20and\x20needs\x20matrix.\x20'+'If\x20omitted\x20at\x20depth=preorder,\x20the\x20industry\x20is\x20inferred\x20from\x20the\x20puzzle.'),'preferences':PreorderPreferencesInputSchema['optional']()['describe']('Optional\x20user\x20preference\x20overrides\x20(partial;\x20merged\x20over\x20profile-derived\x20defaults).\x20'+'Only\x20used\x20at\x20depth=preorder\x20for\x20preference\x20matching\x20and\x20pref-aware\x20strategies.'),'user_metrics':UserMetricsInputSchema['optional']()['describe']('Optional\x20user-controllable\x20scoring\x20factors.\x20'+'Evaluated\x20at\x20depth=preorder;\x20the\x20composite\x20adjustment\x20(±cap)\x20nudges\x20the\x20order\x20confidence\x20score.'),'trust_weights':z['object']({'arbitration':z['number']()['min'](0x0)['optional']()['describe']('Weight\x20for\x20the\x20arbitration\x20dimension\x20(default\x2020).'),'reviews':z['number']()['min'](0x0)['optional']()['describe']('Weight\x20for\x20the\x20reviews\x20dimension\x20(default\x2035).'),'fulfillment':z['number']()['min'](0x0)['optional']()['describe']('Weight\x20for\x20the\x20fulfillment\x20dimension\x20(default\x2020).'),'fund_safety':z['number']()['min'](0x0)['optional']()['describe']('Weight\x20for\x20the\x20fund_safety\x20dimension\x20(default\x2015).'),'transparency':z['number']()['min'](0x0)['optional']()['describe']('Weight\x20for\x20the\x20transparency\x20dimension\x20(default\x2010).')})['strict']()['optional']()['describe']('Optional\x20per-dimension\x20weight\x20overrides\x20for\x20the\x20trust\x20score\x20(K3\x2022\x20§4.3).\x20'+'User-participatory:\x20re-weight\x20the\x205\x20trust\x20dimensions;\x20the\x20engine\x20renormalizes\x20to\x20100.\x20'+'Highest-priority\x20channel\x20for\x20a\x20user\x20to\x20shape\x20how\x20WoWok\x20evaluates\x20trust.'),'network':z['string']()['optional']()['describe']('Network\x20override\x20(e.g.\x20\x27mainnet\x27,\x20\x27testnet\x27).\x20If\x20omitted,\x20uses\x20default.'),'no_cache':z['boolean']()['optional']()['describe']('Skip\x20object\x20cache\x20and\x20force\x20a\x20fresh\x20on-chain\x20query.'),'compare_with':z['array'](z['string']())['min'](0x1)['max'](0x9)['optional']()['describe']('Optional\x20candidate\x20Service\x20addresses/LocalMark\x20names\x20(1-9)\x20for\x20deterministic\x20multi-service\x20comparison.\x20'+'Only\x20used\x20at\x20depth=preorder.\x20The\x20SAME\x20preferences/user_metrics/industry\x20are\x20applied\x20uniformly\x20to\x20all\x20'+'candidates;\x20output\x20gains\x20a\x20`comparison`\x20block\x20with\x20per-metric\x20bests\x20(NO\x20overall\x20ranking\x20—\x20the\x20buyer\x20decides).')})['strict']();export const TrustScoreOutputSchema=z['object']({'result':z['object']({'service_id':z['string']()['describe']('The\x20Service\x20object\x20ID\x20or\x20local_mark\x20that\x20was\x20evaluated.'),'service_name':z['string']()['describe']('Service\x20display\x20name\x20(falls\x20back\x20to\x20service_id\x20if\x20unnamed).'),'service_basics':z['object']({'bPublished':z['boolean']()['describe']('Whether\x20the\x20Service\x20is\x20published\x20(open\x20for\x20orders).'),'bPaused':z['boolean']()['describe']('Whether\x20the\x20Service\x20is\x20temporarily\x20paused.'),'sales_count':z['number']()['int']()['nonnegative']()['describe']('Number\x20of\x20active\x20(non-suspended)\x20sale\x20entries.'),'has_machine':z['boolean']()['describe']('Whether\x20a\x20Machine\x20workflow\x20is\x20attached.'),'has_buy_guard':z['boolean']()['describe']('Whether\x20a\x20buy-side\x20Guard\x20is\x20configured.'),'has_um_contact':z['boolean']()['describe']('Whether\x20a\x20Messenger\x20(um)\x20contact\x20is\x20configured.'),'arbitrations_count':z['number']()['int']()['nonnegative']()['describe']('Number\x20of\x20arbitration\x20entries\x20attached\x20to\x20the\x20Service.')})['describe']('Service\x20snapshot\x20—\x20basic\x20on-chain\x20state.'),'trust_score':z['object']({'score':z['number']()['min'](0x0)['max'](0x64)['describe']('Overall\x20trust\x20score\x20(0-100,\x20higher\x20=\x20more\x20trustworthy).'),'level':z['enum'](['high_risk','caution','moderate','trusted'])['describe']('Trust\x20level\x20label\x20derived\x20from\x20the\x20score.'),'summary':z['string']()['describe']('One-line\x20human-readable\x20trust\x20summary.'),'warnings':z['array'](z['string']())['describe']('Trust\x20warnings\x20(e.g.\x20low\x20arbitration\x20dimension\x20score).'),'findings':z['array'](z['object']({'kind':z['string']()['describe']('Finding\x20kind\x20(e.g.\x20fund_safety_missing,\x20shell_merchant).'),'severity':z['enum'](['critical','warning','info'])['describe']('Finding\x20severity.'),'message':z['string']()['describe']('Human-readable\x20finding\x20message.'),'deduction':z['number']()['describe']('Score\x20deduction\x20applied\x20to\x20the\x20additive\x20total\x20(0-100).')}))['describe']('Major-recognition\x20findings\x20(recent\x20arbitration\x20payouts,\x20verified\x20dislike,\x20shell\x20merchant,\x20…)\x20—\x20independent\x20of\x20the\x20additive\x20score.'),'breakdown':z['array'](z['object']({'score':z['number']()['describe']('Dimension\x20score\x20achieved.'),'maxScore':z['number']()['describe']('Dimension\x20max\x20possible\x20score.'),'description':z['string']()['describe']('Dimension\x20name\x20/\x20description.'),'humanReadable':z['string']()['describe']('Human-readable\x20dimension\x20explanation.')}))['describe']('5-dimension\x20breakdown:\x20arbitration\x20/\x20reviews\x20/\x20fulfillment\x20/\x20fund_safety\x20/\x20transparency.')})['describe']('ServiceTrustScore\x20—\x200-100\x20score\x20across\x205\x20trust\x20dimensions.'),'order_amount':z['string']()['describe']('Order\x20amount\x20used\x20for\x20fund-safety\x20assessment,\x20in\x20smallest\x20token\x20unit\x20(bigint\x20as\x20string).'),'depth':z['enum'](['browse','evaluate','preorder'])['describe']('Actual\x20InfoPuzzle\x20collection\x20depth\x20used\x20(defaults\x20to\x20\x27evaluate\x27).'),'risk_score':z['object']({'total':z['number']()['min'](0x0)['max'](0x64)['describe']('Overall\x20risk\x20score\x20(0-100,\x20higher\x20=\x20riskier).'),'level':z['enum'](['low','medium_low','medium_high','high'])['describe']('Risk\x20level\x20label\x20derived\x20from\x20the\x20total\x20score.'),'red_flags':z['array'](z['string']())['describe']('Critical\x20risk\x20red\x20flags\x20detected.'),'advice':z['array'](z['string']())['describe']('Risk\x20mitigation\x20advice.'),'dimensions':z['array'](z['object']({'name':z['enum'](['workflow','fund','trust','behavior'])['describe']('Risk\x20dimension\x20name.'),'score':z['number']()['describe']('Dimension\x20score\x20achieved.'),'max_score':z['number']()['describe']('Dimension\x20max\x20possible\x20score.'),'checks':z['array'](RiskCheckOutputSchema)['describe']('Individual\x20risk\x20checks\x20within\x20this\x20dimension.')}))['describe']('4-dimension\x20breakdown:\x20workflow\x20/\x20fund\x20/\x20trust\x20/\x20behavior.')})['optional']()['describe']('RiskScore\x20—\x20present\x20only\x20when\x20depth\x20>=\x20\x27evaluate\x27.'),'info_puzzle':z['object']({'completeness':z['number']()['min'](0x0)['max'](0x1)['describe']('InfoPuzzle\x20completeness\x20ratio\x20(0-1).'),'gaps':z['array'](z['string']())['describe']('Missing\x20key\x20puzzle\x20pieces.'),'assembled_at':z['number']()['describe']('Assembly\x20timestamp\x20(ms\x20since\x20epoch).')})['optional']()['describe']('InfoPuzzle\x20summary\x20—\x20present\x20only\x20when\x20depth\x20>=\x20\x27evaluate\x27.'),'preorder_advice':z['object']({'confidence':z['object']({'score':z['number']()['min'](0x0)['max'](0x64)['describe']('Composite\x20order\x20confidence\x20(0-100,\x20higher\x20=\x20safer\x20to\x20order).'),'base':z['number']()['describe']('Base\x20confidence\x20=\x20100\x20-\x20risk.total.'),'user_adjustment':z['number']()['describe']('User-controllable\x20adjustment\x20from\x20user_metrics\x20(±cap).'),'preference_nudge':z['number']()['describe']('Preference-match\x20nudge\x20(±5,\x20only\x20when\x20preferences\x20were\x20provided).'),'explanation':z['string']()['describe']('Transparent\x20breakdown\x20of\x20the\x20confidence\x20components.')})['describe']('ConfidenceScore\x20—\x20user-controllable\x20composite\x20order\x20confidence.'),'industry':IndustryEnumSchema['optional']()['describe']('Industry\x20used\x20for\x20the\x20industry-specific\x20risk\x20checks\x20(explicit\x20input\x20or\x20inferred).'),'strategies':z['array'](z['object']({'scenario':z['enum'](['info_asymmetry','fund_safety','refund_dispute','arbitration_fairness','pricing','delivery_sla','quality_verification','after_sales'])['describe']('Game\x20scenario\x20detected\x20from\x20the\x20puzzle.'),'merchant_tactic':z['string']()['describe']('Merchant\x27s\x20potential\x20tactic\x20in\x20this\x20scenario.'),'user_strategy':z['string']()['describe']('Recommended\x20user-side\x20strategy\x20(protection/mitigation).'),'nash_equilibrium':z['string']()['describe']('Win-win\x20equilibrium\x20the\x20strategy\x20pushes\x20toward.'),'confidence':z['number']()['min'](0x0)['max'](0x1)['describe']('Strategy\x20confidence\x20(0-1).'),'fallback':z['string']()['optional']()['describe']('Alternative\x20when\x20the\x20user\x20rejects\x20the\x20main\x20strategy.'),'rationale':z['string']()['describe']('Trigger-condition\x20explanation\x20from\x20puzzle\x20evidence.')}))['describe']('Top\x20merchant-vs-user\x20game\x20strategies\x20(user\x20side,\x20max\x203).'),'preference_match':z['object']({'score':z['number']()['min'](0x0)['max'](0x64)['describe']('Preference\x20match\x20score\x20(0-100).'),'matches':z['array'](z['string']())['describe']('Aspects\x20matching\x20the\x20user\x27s\x20preferences.'),'mismatches':z['array'](z['string']())['describe']('Aspects\x20mismatching\x20the\x20user\x27s\x20preferences.'),'warnings':z['array'](z['string']())['describe']('Match\x20warnings\x20(e.g.\x20budget\x20stretch).')})['optional']()['describe']('PreferenceMatchResult\x20—\x20present\x20when\x20preferences\x20(input\x20or\x20profile)\x20were\x20available.'),'preference_issues':z['array'](z['string']())['optional']()['describe']('Validation\x20issues\x20found\x20in\x20the\x20merged\x20preferences\x20(e.g.\x20budget\x20min\x20>\x20max).'),'industry_risks':z['object']({'score_adjustment':z['number']()['describe']('Industry\x20risk\x20adjustment\x20applied\x20to\x20the\x20base\x20risk\x20score\x20(-10\x20to\x20+10).'),'summary':z['string']()['describe']('Industry\x20risk\x20assessment\x20summary.'),'checks':z['array'](RiskCheckOutputSchema)['describe']('Industry-specific\x20risk\x20checks.'),'unmet_needs':z['array'](z['object']({'id':z['string']()['describe']('Need\x20identifier.'),'tier':z['enum'](['common','personalized','advanced'])['describe']('Need\x20tier.'),'description':z['string']()['describe']('Need\x20description.'),'advice':z['string']()['optional']()['describe']('Advice\x20for\x20fulfilling\x20the\x20need.')}))['describe']('Industry\x20needs\x20not\x20satisfied\x20by\x20this\x20Service.')})['optional']()['describe']('IndustryRiskResult\x20—\x20industry\x20pain-point\x20checks\x20(needs\x20met\x20/\x20risks\x20triggered).'),'reminders':z['array'](ReminderOutputSchema)['describe']('Transaction-safety\x20reminders\x20at\x20the\x20preorder\x20stage\x20(sorted,\x20capped).'),'blocking_reminders':z['array'](ReminderOutputSchema)['describe']('Blocking\x20(priority=required)\x20reminders\x20—\x20resolve\x20these\x20before\x20ordering.'),'summary':z['string']()['describe']('AI-ready\x20paragraph\x20summarizing\x20the\x20whole\x20preorder\x20report.')})['optional']()['describe']('PreorderAdvice\x20(GLM6/94\x20§3)\x20—\x20present\x20only\x20when\x20depth\x20=\x20\x27preorder\x27.\x20'+'AI\x20presents\x20evidence\x20and\x20options;\x20the\x20USER\x20decides\x20whether\x20to\x20order.'),'comparison':z['object']({'rows':z['array'](z['object']({'service_id':z['string'](),'service_name':z['string'](),'error':z['string']()['optional']()['describe']('Per-service\x20evaluation\x20failure\x20(row\x20excluded\x20from\x20best-per-metric).'),'industry':IndustryEnumSchema['optional'](),'confidence':z['number']()['optional']()['describe']('Order\x20confidence\x200-100\x20(higher\x20=\x20safer).'),'risk_total':z['number']()['optional']()['describe']('Risk\x20score\x200-100\x20(lower\x20=\x20safer).'),'risk_level':z['string']()['optional'](),'trust_score':z['number']()['optional']()['describe']('Trust\x20score\x200-100\x20(higher\x20=\x20more\x20trustworthy).'),'trust_level':z['string']()['optional'](),'preference_match':z['number']()['optional']()['describe']('Preference\x20match\x200-100\x20(higher\x20=\x20better\x20fit).'),'reputation_like_ratio':z['number']()['optional']()['describe']('likes/(likes+dislikes);\x201\x20when\x20no\x20votes.'),'reputation_votes':z['number']()['optional'](),'red_flags_count':z['number']()['optional'](),'blocking_reminders_count':z['number']()['optional'](),'info_gaps_count':z['number']()['optional']()})['strict']())['describe']('One\x20row\x20per\x20evaluated\x20service\x20(primary\x20first,\x20then\x20compare_with\x20candidates).'),'best_per_metric':z['record'](z['string'](),z['array'](z['string']()))['describe']('metric\x20name\x20→\x20service_ids\x20with\x20the\x20best\x20value\x20(ties\x20all\x20listed).\x20Per-metric\x20ONLY.'),'evaluated_metrics':z['array'](z['string']())['describe']('Metrics\x20actually\x20compared\x20(skipped\x20when\x20fewer\x20than\x202\x20rows\x20have\x20data).'),'note':z['string']()['describe']('Neutrality\x20note:\x20no\x20overall\x20ranking;\x20metric\x20weights\x20belong\x20to\x20the\x20buyer.')})['strict']()['optional']()['describe']('Deterministic\x20multi-service\x20comparison\x20(GLM6/94\x20L6)\x20—\x20present\x20only\x20when\x20depth=\x27preorder\x27\x20'+'and\x20compare_with\x20is\x20provided.\x20Per-metric\x20bests\x20ONLY,\x20no\x20overall\x20ranking\x20—\x20the\x20buyer\x20decides.')})['describe']('Trust\x20score\x20result.\x20Contains:\x20trust_score\x20(ServiceTrustScore),\x20'+'risk_score\x20(RiskScore,\x20when\x20depth\x20>=\x20evaluate),\x20info_puzzle\x20summary,\x20'+'preorder_advice\x20(PreorderAdvice,\x20when\x20depth\x20=\x20preorder),\x20'+'comparison\x20(PreorderComparison,\x20when\x20depth\x20=\x20preorder\x20and\x20compare_with\x20given),\x20'+'and\x20service_basics\x20snapshot.')});
|