@wowok/agent-mcp 3.4.3 → 3.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.build-stamp.json +3 -3
- package/dist/build-stamp.js +1 -0
- package/dist/chain-semantics/composition-truth.js +1 -1
- package/dist/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/freeze-map.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.js +1 -1
- package/dist/composition/generate.js +1 -1
- package/dist/composition/guard-fill.js +1 -1
- package/dist/composition/input-normalize.js +1 -1
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.js +1 -1
- package/dist/composition/plan.js +1 -1
- package/dist/composition/product-card.js +1 -1
- package/dist/composition/shape-expand.js +1 -0
- package/dist/config/judgment.js +1 -1
- package/dist/config/template-params.js +1 -1
- package/dist/data/sync/cdc.js +1 -1
- package/dist/data/sync/graphql-source.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/sdk-batch.js +1 -1
- package/dist/harness/entry-ignite-selfheal.js +1 -0
- package/dist/harness/forward-leg-preflight.js +1 -0
- package/dist/harness/recover.js +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arb-operation-face.js +1 -0
- package/dist/knowledge/arbitration-rail-verifier.js +1 -1
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +15 -0
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/alloc_audit.json.good +310 -0
- package/dist/knowledge/baselines/rules/allocation.json.good +568 -0
- package/dist/knowledge/baselines/rules/arb.json.good +174 -0
- package/dist/knowledge/baselines/rules/arbitration.json.good +393 -0
- package/dist/knowledge/baselines/rules/bridge.json.good +197 -0
- package/dist/knowledge/baselines/rules/contact.json.good +152 -0
- package/dist/knowledge/baselines/rules/demand.json.good +158 -0
- package/dist/knowledge/baselines/rules/graph.json.good +534 -0
- package/dist/knowledge/baselines/rules/guard.json +18 -5
- package/dist/knowledge/baselines/rules/guard.json.good +1192 -0
- package/dist/knowledge/baselines/rules/machine.json.good +734 -0
- package/dist/knowledge/baselines/rules/oracle.json +1 -1
- package/dist/knowledge/baselines/rules/oracle.json.good +120 -0
- package/dist/knowledge/baselines/rules/order.json.good +549 -0
- package/dist/knowledge/baselines/rules/payment.json.good +205 -0
- package/dist/knowledge/baselines/rules/permission.json.good +330 -0
- package/dist/knowledge/baselines/rules/personal.json.good +139 -0
- package/dist/knowledge/baselines/rules/plan.json +343 -1
- package/dist/knowledge/baselines/rules/plan.json.good +1187 -0
- package/dist/knowledge/baselines/rules/progress.json.good +364 -0
- package/dist/knowledge/baselines/rules/proof.json.good +158 -0
- package/dist/knowledge/baselines/rules/registrar.json.good +159 -0
- package/dist/knowledge/baselines/rules/repository.json.good +244 -0
- package/dist/knowledge/baselines/rules/resource.json.good +117 -0
- package/dist/knowledge/baselines/rules/reward.json +10 -10
- package/dist/knowledge/baselines/rules/reward.json.good +586 -0
- package/dist/knowledge/baselines/rules/service.json.good +595 -0
- package/dist/knowledge/baselines/rules/treasury.json.good +440 -0
- package/dist/knowledge/baselines/rules/util.json.good +101 -0
- package/dist/knowledge/builtin-templates.d.ts +13 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/chain-query-registry.js +1 -1
- package/dist/knowledge/discount-threshold.js +1 -1
- package/dist/knowledge/fee-param-bindings.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +2 -0
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-binding-table.js +1 -1
- package/dist/knowledge/guard-binding-verifier.js +1 -1
- package/dist/knowledge/guard-create-preflight.js +1 -0
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-host-context.js +1 -1
- package/dist/knowledge/guard-leg-eval.js +1 -0
- package/dist/knowledge/guard-node-gates.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-quality.js +1 -0
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-semantic-walk.js +1 -0
- package/dist/knowledge/guard-templates.d.ts +1 -0
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/param-schema.js +1 -1
- package/dist/knowledge/param-tiers.js +1 -1
- package/dist/knowledge/path-oracle/coverage.js +1 -1
- package/dist/knowledge/path-oracle/index.js +1 -1
- package/dist/knowledge/path-oracle/products/airbnb.js +1 -0
- package/dist/knowledge/path-oracle/products/algora.js +1 -0
- package/dist/knowledge/path-oracle/products/alibaba-1688.js +1 -0
- package/dist/knowledge/path-oracle/products/amazon.js +1 -0
- package/dist/knowledge/path-oracle/products/beatstars.js +1 -0
- package/dist/knowledge/path-oracle/products/booking-com.js +1 -0
- package/dist/knowledge/path-oracle/products/contra.js +1 -0
- package/dist/knowledge/path-oracle/products/costco.js +1 -0
- package/dist/knowledge/path-oracle/products/coursera.js +1 -0
- package/dist/knowledge/path-oracle/products/duoduo-maicai.js +1 -0
- package/dist/knowledge/path-oracle/products/etsy.js +1 -0
- package/dist/knowledge/path-oracle/products/food-delivery.js +1 -1
- package/dist/knowledge/path-oracle/products/gamefound.js +1 -0
- package/dist/knowledge/path-oracle/products/gofundme.js +1 -0
- package/dist/knowledge/path-oracle/products/hackerone.js +1 -0
- package/dist/knowledge/path-oracle/products/kickstarter.js +1 -0
- package/dist/knowledge/path-oracle/products/klook.js +1 -0
- package/dist/knowledge/path-oracle/products/ninety-nine-designs.js +1 -0
- package/dist/knowledge/path-oracle/products/onlyfans.js +1 -0
- package/dist/knowledge/path-oracle/products/patreon.js +1 -0
- package/dist/knowledge/path-oracle/products/pinduoduo-kuaituantuan.js +1 -0
- package/dist/knowledge/path-oracle/products/royalty-exchange.js +1 -0
- package/dist/knowledge/path-oracle/products/shansong.js +1 -0
- package/dist/knowledge/path-oracle/products/taobao-presale.js +1 -0
- package/dist/knowledge/path-oracle/products/upwork-catalog.js +1 -0
- package/dist/knowledge/path-oracle/products/upwork.js +1 -0
- package/dist/knowledge/path-oracle/products/yuanfudao.js +1 -0
- package/dist/knowledge/path-oracle/products/ziroom.js +1 -0
- package/dist/knowledge/pattern-resolutions.js +1 -1
- package/dist/knowledge/product-detail-source.js +1 -1
- package/dist/knowledge/product-doc-b5.js +1 -1
- package/dist/knowledge/product-doc-facets.js +1 -0
- package/dist/knowledge/projection.js +1 -1
- package/dist/knowledge/publish-gate.js +1 -1
- package/dist/knowledge/publish-surface-contract.js +1 -1
- package/dist/knowledge/recipient-constraint.d.ts +20 -0
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/rule-declaration-types.d.ts +13 -0
- package/dist/knowledge/rule-declaration-types.js +1 -0
- package/dist/knowledge/rule-declarations.js +1 -0
- package/dist/knowledge/scenario-modes.d.ts +6 -0
- package/dist/knowledge/scenario-topology.js +1 -1
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-prose.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/review/service.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +9 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/arbitration.d.ts +8 -0
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +8 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +2 -0
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/handler.d.ts +2 -1
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/progress.d.ts +15 -0
- package/dist/schema/call/progress.js +1 -1
- package/dist/schema/call/receipt.d.ts +1 -0
- package/dist/schema/call/receipt.js +1 -1
- package/dist/schema/call/repository.d.ts +12 -0
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.d.ts +1 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +5 -3
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/envelope-unify.js +1 -1
- package/dist/schema/goal/index.d.ts +23 -0
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +2 -2
- package/dist/schema/local/index.d.ts +20 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +4 -0
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +5 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +944 -1
- package/dist/schema/operations.js +1 -1
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +5 -5
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workspace/index.d.ts +2 -2
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.schema.json +1 -257
- package/dist/schemas/ask_user.schema.json +1 -78
- package/dist/schemas/benchmark_migration_operation.schema.json +1 -626
- package/dist/schemas/bridge_operation.schema.json +1 -1069
- package/dist/schemas/config_operation.schema.json +1 -82
- package/dist/schemas/employee_operation.schema.json +1 -319
- package/dist/schemas/evaluation_operation.schema.json +1 -3932
- package/dist/schemas/goal_operation.schema.json +1 -1650
- package/dist/schemas/guard2file.schema.json +1 -137
- package/dist/schemas/index.json +1 -285
- package/dist/schemas/industry_pack_operation.schema.json +1 -582
- package/dist/schemas/intent_radar.schema.json +1 -155
- package/dist/schemas/keeper_operation.schema.json +1 -364
- package/dist/schemas/local_cache_operation.schema.json +1 -116
- package/dist/schemas/local_history_operation.schema.json +1 -105
- package/dist/schemas/local_info_operation.schema.json +1 -140
- package/dist/schemas/local_mark_operation.schema.json +1 -124
- package/dist/schemas/machineNode2file.schema.json +1 -137
- package/dist/schemas/messenger_operation.schema.json +1 -2068
- package/dist/schemas/monitor_events.schema.json +1 -87
- package/dist/schemas/monitor_subscription.schema.json +1 -327
- package/dist/schemas/onchain_events.schema.json +1 -207
- package/dist/schemas/onchain_operations.schema.json +1 -28699
- package/dist/schemas/onchain_operations_allocation.schema.json +1 -1376
- package/dist/schemas/onchain_operations_arbitration.schema.json +1 -1355
- package/dist/schemas/onchain_operations_contact.schema.json +1 -988
- package/dist/schemas/onchain_operations_demand.schema.json +1 -1146
- package/dist/schemas/onchain_operations_gen_passport.schema.json +1 -663
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -180
- package/dist/schemas/onchain_operations_guard.schema.json +1 -8518
- package/dist/schemas/onchain_operations_machine.schema.json +1 -1879
- package/dist/schemas/onchain_operations_order.schema.json +1 -1121
- package/dist/schemas/onchain_operations_payment.schema.json +1 -316
- package/dist/schemas/onchain_operations_permission.schema.json +1 -1036
- package/dist/schemas/onchain_operations_personal.schema.json +1 -1463
- package/dist/schemas/onchain_operations_progress.schema.json +1 -1041
- package/dist/schemas/onchain_operations_proof.schema.json +1 -750
- package/dist/schemas/onchain_operations_repository.schema.json +1 -2046
- package/dist/schemas/onchain_operations_reward.schema.json +1 -1286
- package/dist/schemas/onchain_operations_service.schema.json +1 -2602
- package/dist/schemas/onchain_operations_treasury.schema.json +1 -1527
- package/dist/schemas/onchain_table_data.schema.json +1 -1146
- package/dist/schemas/permission_operation.schema.json +1 -43
- package/dist/schemas/persona_operation.schema.json +1 -10424
- package/dist/schemas/query_toolkit.schema.json +1 -1867
- package/dist/schemas/schema_query.schema.json +1 -116
- package/dist/schemas/service_clone_operation.schema.json +1 -49
- package/dist/schemas/settle_sweep.schema.json +1 -0
- package/dist/schemas/strategy_review_operation.schema.json +1 -66
- package/dist/schemas/verify_guard_dry_run.schema.json +1 -0
- package/dist/schemas/watch_operation.schema.json +1 -145
- package/dist/schemas/wip_file.schema.json +1 -299
- package/dist/schemas/workflow_operation.schema.json +1 -722
- package/dist/schemas/workspace_operation.schema.json +1 -104
- package/dist/schemas/wowok_buildin_info.schema.json +1 -758
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/entry-edge-recipe.js +1 -1
- package/dist/tools/handlers/file-export.js +1 -1
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/pending-settlement-recipe.js +1 -0
- package/dist/tools/handlers/plan-recovery.js +1 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/repository-row-id.js +1 -0
- package/dist/tools/handlers/review-chain.js +1 -1
- package/dist/tools/handlers/settle-sweep.js +1 -0
- package/dist/tools/handlers/stale-build-check.js +1 -1
- package/dist/tools/handlers/submission-assembly.js +1 -1
- package/dist/tools/handlers/verify-guard-dry-run.js +1 -0
- package/dist/tools/handlers/wip-upload.js +1 -1
- package/dist/tools/index.d.ts +3 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.js +1 -1
- package/dist/tools/publish-gate-state.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/types.d.ts +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +11 -4
- package/dist/chain-semantics/composition-truth.d.ts +0 -102
- package/dist/chain-semantics/eval-order.d.ts +0 -17
- package/dist/chain-semantics/field-capability.d.ts +0 -11
- package/dist/chain-semantics/freeze-map.d.ts +0 -11
- package/dist/chain-semantics/fund-flow.d.ts +0 -10
- package/dist/chain-semantics/guard-verbs.d.ts +0 -22
- package/dist/chain-semantics/index.d.ts +0 -12
- package/dist/chain-semantics/object-graph.d.ts +0 -18
- package/dist/communication/evidence.d.ts +0 -6
- package/dist/communication/message-cursors.d.ts +0 -35
- package/dist/communication/proof-reuse.d.ts +0 -9
- package/dist/communication/wts-attestation.d.ts +0 -39
- package/dist/composition/audit.d.ts +0 -15
- package/dist/composition/blueprint-view.d.ts +0 -63
- package/dist/composition/compile.d.ts +0 -83
- package/dist/composition/emit-phases.d.ts +0 -234
- package/dist/composition/generate.d.ts +0 -40
- package/dist/composition/guard-fill.d.ts +0 -52
- package/dist/composition/inflight.d.ts +0 -86
- package/dist/composition/input-normalize.d.ts +0 -15
- package/dist/composition/materialize.d.ts +0 -78
- package/dist/composition/mode-gates.d.ts +0 -35
- package/dist/composition/param-disclosure.d.ts +0 -61
- package/dist/composition/plan-retry-ledger.d.ts +0 -37
- package/dist/composition/plan.d.ts +0 -121
- package/dist/composition/product-card.d.ts +0 -94
- package/dist/composition/reflux.d.ts +0 -28
- package/dist/composition/supply-chain-emit.d.ts +0 -46
- package/dist/config/config-audit.spec.d.ts +0 -1
- package/dist/config/config-audit.spec.js +0 -1
- package/dist/config/config-warnings.d.ts +0 -2
- package/dist/config/index.d.ts +0 -4
- package/dist/config/judgment.spec.d.ts +0 -1
- package/dist/config/judgment.spec.js +0 -1
- package/dist/config/match-policy-file.d.ts +0 -34
- package/dist/config/match-policy-file.spec.d.ts +0 -1
- package/dist/config/match-policy-file.spec.js +0 -1
- package/dist/config/rule-engine.spec.d.ts +0 -1
- package/dist/config/rule-engine.spec.js +0 -1
- package/dist/config/runtime.d.ts +0 -29
- package/dist/config/store-policy.d.ts +0 -14
- package/dist/config/store-policy.spec.d.ts +0 -1
- package/dist/config/store-policy.spec.js +0 -1
- package/dist/config/template-params.d.ts +0 -42
- package/dist/config/template-params.spec.d.ts +0 -1
- package/dist/config/template-params.spec.js +0 -1
- package/dist/customer/account-events.d.ts +0 -32
- package/dist/data/api/api.spec.d.ts +0 -1
- package/dist/data/api/api.spec.js +0 -1
- package/dist/data/api/cli.d.ts +0 -1
- package/dist/data/api/head.d.ts +0 -16
- package/dist/data/api/head.spec.d.ts +0 -1
- package/dist/data/api/head.spec.js +0 -1
- package/dist/data/api/index.d.ts +0 -2
- package/dist/data/api/match.d.ts +0 -69
- package/dist/data/api/match.spec.d.ts +0 -1
- package/dist/data/api/match.spec.js +0 -1
- package/dist/data/api/server.d.ts +0 -13
- package/dist/data/projection/cli.d.ts +0 -1
- package/dist/data/projection/edges.d.ts +0 -8
- package/dist/data/projection/edges.spec.d.ts +0 -1
- package/dist/data/projection/edges.spec.js +0 -1
- package/dist/data/projection/facets.d.ts +0 -18
- package/dist/data/projection/facets.spec.d.ts +0 -1
- package/dist/data/projection/facets.spec.js +0 -1
- package/dist/data/projection/facts.d.ts +0 -40
- package/dist/data/projection/index.d.ts +0 -6
- package/dist/data/projection/project.d.ts +0 -10
- package/dist/data/projection/projection.spec.d.ts +0 -1
- package/dist/data/projection/projection.spec.js +0 -1
- package/dist/data/projection/schema.d.ts +0 -1
- package/dist/data/projection/store.d.ts +0 -51
- package/dist/data/projection/types.d.ts +0 -169
- package/dist/data/sync/cdc.d.ts +0 -33
- package/dist/data/sync/cdc.spec.d.ts +0 -1
- package/dist/data/sync/cdc.spec.js +0 -1
- package/dist/data/sync/graphql-source.d.ts +0 -16
- package/dist/data/sync/index.d.ts +0 -5
- package/dist/data/sync/reconciler.d.ts +0 -14
- package/dist/data/sync/reconciler.spec.d.ts +0 -1
- package/dist/data/sync/reconciler.spec.js +0 -1
- package/dist/data/sync/schema.d.ts +0 -1
- package/dist/data/sync/store.d.ts +0 -24
- package/dist/data/sync/sync.spec.d.ts +0 -1
- package/dist/data/sync/sync.spec.js +0 -1
- package/dist/data/sync/synchronizer.d.ts +0 -10
- package/dist/data/sync/types.d.ts +0 -164
- package/dist/evaluation/acceptance.d.ts +0 -33
- package/dist/evaluation/architecture.spec.d.ts +0 -1
- package/dist/evaluation/architecture.spec.js +0 -1
- package/dist/evaluation/builtins/arbitration-score.d.ts +0 -42
- package/dist/evaluation/builtins/demand-match.d.ts +0 -16
- package/dist/evaluation/builtins/graph-service.spec.d.ts +0 -1
- package/dist/evaluation/builtins/graph-service.spec.js +0 -1
- package/dist/evaluation/builtins/index.d.ts +0 -4
- package/dist/evaluation/builtins/purity.spec.d.ts +0 -1
- package/dist/evaluation/builtins/purity.spec.js +0 -1
- package/dist/evaluation/composer.d.ts +0 -38
- package/dist/evaluation/facets/catalog.d.ts +0 -19
- package/dist/evaluation/gap.d.ts +0 -2
- package/dist/evaluation/guard-scan.d.ts +0 -10
- package/dist/evaluation/index.d.ts +0 -14
- package/dist/evaluation/injection.d.ts +0 -6
- package/dist/evaluation/location-match.d.ts +0 -42
- package/dist/evaluation/match-operation.d.ts +0 -23
- package/dist/evaluation/match-policy-resolver.d.ts +0 -9
- package/dist/evaluation/match-policy.spec.d.ts +0 -1
- package/dist/evaluation/match-policy.spec.js +0 -1
- package/dist/evaluation/path-reasoning.d.ts +0 -37
- package/dist/evaluation/standards.d.ts +0 -11
- package/dist/evaluation/standards.spec.d.ts +0 -1
- package/dist/evaluation/standards.spec.js +0 -1
- package/dist/evaluation/structured-lines.d.ts +0 -8
- package/dist/evaluation/user-injection.d.ts +0 -6
- package/dist/experience/experience-reuse.d.ts +0 -10
- package/dist/experience/index.d.ts +0 -7
- package/dist/experience/persistence-config.d.ts +0 -6
- package/dist/experience/persistence.d.ts +0 -21
- package/dist/experience/realtime-feedback.d.ts +0 -5
- package/dist/experience/user-profile.d.ts +0 -25
- package/dist/extensions/capability.d.ts +0 -91
- package/dist/extensions/industry-audit.spec.d.ts +0 -1
- package/dist/extensions/industry-audit.spec.js +0 -1
- package/dist/goal/GoalClassifier.d.ts +0 -17
- package/dist/goal/GoalEngine.d.ts +0 -175
- package/dist/goal/GoalStore.d.ts +0 -27
- package/dist/goal/next-steps.d.ts +0 -12
- package/dist/goal/plan-approval.d.ts +0 -5
- package/dist/goal/pursue.d.ts +0 -18
- package/dist/graph/base.d.ts +0 -8
- package/dist/graph/onchain/analyze.d.ts +0 -59
- package/dist/graph/onchain/analyze.spec.d.ts +0 -1
- package/dist/graph/onchain/analyze.spec.js +0 -1
- package/dist/graph/onchain/anti-cheat.d.ts +0 -69
- package/dist/graph/onchain/anti-cheat.spec.d.ts +0 -1
- package/dist/graph/onchain/anti-cheat.spec.js +0 -1
- package/dist/graph/onchain/dataplane.d.ts +0 -44
- package/dist/graph/onchain/edge-batch.spec.d.ts +0 -1
- package/dist/graph/onchain/edge-batch.spec.js +0 -1
- package/dist/graph/onchain/edge-schema.d.ts +0 -69
- package/dist/graph/onchain/entity-profile.spec.d.ts +0 -1
- package/dist/graph/onchain/entity-profile.spec.js +0 -1
- package/dist/graph/onchain/event-history.spec.d.ts +0 -1
- package/dist/graph/onchain/event-history.spec.js +0 -1
- package/dist/graph/onchain/expand.d.ts +0 -4
- package/dist/graph/onchain/exploration.d.ts +0 -28
- package/dist/graph/onchain/exploration.spec.d.ts +0 -1
- package/dist/graph/onchain/exploration.spec.js +0 -1
- package/dist/graph/onchain/exposure.d.ts +0 -18
- package/dist/graph/onchain/exposure.spec.d.ts +0 -1
- package/dist/graph/onchain/exposure.spec.js +0 -1
- package/dist/graph/onchain/extract-deep.spec.d.ts +0 -1
- package/dist/graph/onchain/extract-deep.spec.js +0 -1
- package/dist/graph/onchain/extract.d.ts +0 -29
- package/dist/graph/onchain/facet-projection.d.ts +0 -99
- package/dist/graph/onchain/facet-projection.spec.d.ts +0 -1
- package/dist/graph/onchain/facet-projection.spec.js +0 -1
- package/dist/graph/onchain/facts.spec.d.ts +0 -1
- package/dist/graph/onchain/facts.spec.js +0 -1
- package/dist/graph/onchain/field-manifest.d.ts +0 -29
- package/dist/graph/onchain/field-manifest.spec.d.ts +0 -1
- package/dist/graph/onchain/field-manifest.spec.js +0 -1
- package/dist/graph/onchain/fixtures.d.ts +0 -80
- package/dist/graph/onchain/fixtures.spec.d.ts +0 -1
- package/dist/graph/onchain/fixtures.spec.js +0 -1
- package/dist/graph/onchain/graph-policy.spec.d.ts +0 -1
- package/dist/graph/onchain/graph-policy.spec.js +0 -1
- package/dist/graph/onchain/index.d.ts +0 -29
- package/dist/graph/onchain/interest.d.ts +0 -10
- package/dist/graph/onchain/interest.spec.d.ts +0 -1
- package/dist/graph/onchain/interest.spec.js +0 -1
- package/dist/graph/onchain/label-lint.spec.d.ts +0 -1
- package/dist/graph/onchain/label-lint.spec.js +0 -1
- package/dist/graph/onchain/names.d.ts +0 -23
- package/dist/graph/onchain/names.spec.d.ts +0 -1
- package/dist/graph/onchain/names.spec.js +0 -1
- package/dist/graph/onchain/object-held-receipts.d.ts +0 -20
- package/dist/graph/onchain/object-held-receipts.spec.d.ts +0 -1
- package/dist/graph/onchain/object-held-receipts.spec.js +0 -1
- package/dist/graph/onchain/onchain.spec.d.ts +0 -1
- package/dist/graph/onchain/onchain.spec.js +0 -1
- package/dist/graph/onchain/policy.d.ts +0 -8
- package/dist/graph/onchain/project-relationship.d.ts +0 -3
- package/dist/graph/onchain/proposal-graph.d.ts +0 -11
- package/dist/graph/onchain/proposal-graph.spec.d.ts +0 -1
- package/dist/graph/onchain/proposal-graph.spec.js +0 -1
- package/dist/graph/onchain/sdk-batch.d.ts +0 -129
- package/dist/graph/onchain/sdk-dataplane.d.ts +0 -44
- package/dist/graph/onchain/strategy.spec.d.ts +0 -1
- package/dist/graph/onchain/strategy.spec.js +0 -1
- package/dist/graph/onchain/synthesis.d.ts +0 -20
- package/dist/graph/onchain/synthesis.spec.d.ts +0 -1
- package/dist/graph/onchain/synthesis.spec.js +0 -1
- package/dist/graph/onchain/table-ledger.spec.d.ts +0 -1
- package/dist/graph/onchain/table-ledger.spec.js +0 -1
- package/dist/graph/onchain/viewport.d.ts +0 -6
- package/dist/harness/auto-escalation.d.ts +0 -15
- package/dist/intent/enrich.d.ts +0 -1
- package/dist/intent/index.d.ts +0 -23
- package/dist/intent/matcher.d.ts +0 -2
- package/dist/intent/store.d.ts +0 -19
- package/dist/intent/types.d.ts +0 -32
- package/dist/keeper/KeeperScan.d.ts +0 -41
- package/dist/keeper/KeeperStore.d.ts +0 -43
- package/dist/keeper/detectors.d.ts +0 -42
- package/dist/keeper/keeper.spec.d.ts +0 -1
- package/dist/keeper/keeper.spec.js +0 -1
- package/dist/keeper/types.d.ts +0 -67
- package/dist/knowledge/account-marks.d.ts +0 -36
- package/dist/knowledge/allocation-ledger.d.ts +0 -75
- package/dist/knowledge/allocation-puzzle.d.ts +0 -138
- package/dist/knowledge/allocation-risk.d.ts +0 -82
- package/dist/knowledge/allocation-templates.d.ts +0 -38
- package/dist/knowledge/allocator-rail-verifier.d.ts +0 -59
- package/dist/knowledge/anti-cheat.d.ts +0 -2
- package/dist/knowledge/arb-fund-facts.d.ts +0 -51
- package/dist/knowledge/arb-risk.d.ts +0 -39
- package/dist/knowledge/arbitration-puzzle.d.ts +0 -84
- package/dist/knowledge/arbitration-rail-verifier.d.ts +0 -35
- package/dist/knowledge/arbitration-risk.d.ts +0 -114
- package/dist/knowledge/arbitration-templates.d.ts +0 -39
- package/dist/knowledge/arbitration-venue-order.d.ts +0 -25
- package/dist/knowledge/baselines/guard-lint-baseline.spec.d.ts +0 -1
- package/dist/knowledge/baselines/guard-lint-baseline.spec.js +0 -1
- package/dist/knowledge/baselines/risk-baselines.spec.d.ts +0 -1
- package/dist/knowledge/baselines/risk-baselines.spec.js +0 -1
- package/dist/knowledge/baselines/risk-cases.d.ts +0 -8
- package/dist/knowledge/baselines/semantic-facts.d.ts +0 -12
- package/dist/knowledge/bridge-risk.d.ts +0 -36
- package/dist/knowledge/catalog-facts.d.ts +0 -4
- package/dist/knowledge/chain-query-registry.d.ts +0 -14
- package/dist/knowledge/commission-landing.d.ts +0 -26
- package/dist/knowledge/component-schema.d.ts +0 -64
- package/dist/knowledge/contact-risk.d.ts +0 -32
- package/dist/knowledge/contact-templates.d.ts +0 -26
- package/dist/knowledge/contract-invariants.d.ts +0 -54
- package/dist/knowledge/demand-risk.d.ts +0 -30
- package/dist/knowledge/discount-threshold.d.ts +0 -26
- package/dist/knowledge/dynamic-pricing.d.ts +0 -29
- package/dist/knowledge/entity-recipient-guard.d.ts +0 -21
- package/dist/knowledge/event-semantics.d.ts +0 -23
- package/dist/knowledge/evidence-review.d.ts +0 -35
- package/dist/knowledge/fee-param-bindings.d.ts +0 -28
- package/dist/knowledge/flywheel-loop.d.ts +0 -41
- package/dist/knowledge/game-scenarios.d.ts +0 -21
- package/dist/knowledge/getting-started.d.ts +0 -37
- package/dist/knowledge/goal-completion.d.ts +0 -31
- package/dist/knowledge/guard-anchor-reach.d.ts +0 -19
- package/dist/knowledge/guard-binding-table.d.ts +0 -52
- package/dist/knowledge/guard-binding-verifier.d.ts +0 -37
- package/dist/knowledge/guard-bindings.d.ts +0 -21
- package/dist/knowledge/guard-blueprint.d.ts +0 -68
- package/dist/knowledge/guard-design-patterns.d.ts +0 -38
- package/dist/knowledge/guard-eval.d.ts +0 -15
- package/dist/knowledge/guard-field-cognition.d.ts +0 -48
- package/dist/knowledge/guard-host-context.d.ts +0 -24
- package/dist/knowledge/guard-ledger.d.ts +0 -19
- package/dist/knowledge/guard-leg-map.d.ts +0 -5
- package/dist/knowledge/guard-lint.d.ts +0 -79
- package/dist/knowledge/guard-node-gates.d.ts +0 -9
- package/dist/knowledge/guard-puzzle.d.ts +0 -188
- package/dist/knowledge/guard-render.d.ts +0 -71
- package/dist/knowledge/guard-risk.d.ts +0 -71
- package/dist/knowledge/guard-submission-brief.d.ts +0 -94
- package/dist/knowledge/guard-submission-prompt.d.ts +0 -63
- package/dist/knowledge/guard-translation.d.ts +0 -58
- package/dist/knowledge/index.d.ts +0 -299
- package/dist/knowledge/industry-evolution.d.ts +0 -82
- package/dist/knowledge/industry-generalizer.d.ts +0 -63
- package/dist/knowledge/industry-rule-node.d.ts +0 -7
- package/dist/knowledge/industry-strategy.d.ts +0 -91
- package/dist/knowledge/intent-metrics.d.ts +0 -43
- package/dist/knowledge/jsonrpc-enum.d.ts +0 -102
- package/dist/knowledge/knob-docs.d.ts +0 -5
- package/dist/knowledge/machine-fork-watch.d.ts +0 -9
- package/dist/knowledge/machine-ledger.d.ts +0 -42
- package/dist/knowledge/machine-puzzle.d.ts +0 -206
- package/dist/knowledge/machine-risk.d.ts +0 -72
- package/dist/knowledge/machine-templates.d.ts +0 -92
- package/dist/knowledge/machine-topology.d.ts +0 -116
- package/dist/knowledge/machine-translation.d.ts +0 -96
- package/dist/knowledge/market-metrics.d.ts +0 -34
- package/dist/knowledge/market-operations.d.ts +0 -46
- package/dist/knowledge/migration-preflight.d.ts +0 -27
- package/dist/knowledge/object-dependency.d.ts +0 -31
- package/dist/knowledge/operation-dictionary.d.ts +0 -18
- package/dist/knowledge/order-ledger.d.ts +0 -69
- package/dist/knowledge/order-puzzle.d.ts +0 -162
- package/dist/knowledge/order-risk.d.ts +0 -62
- package/dist/knowledge/order-templates.d.ts +0 -50
- package/dist/knowledge/param-schema.d.ts +0 -93
- package/dist/knowledge/param-tiers.d.ts +0 -27
- package/dist/knowledge/passport-ledger.d.ts +0 -60
- package/dist/knowledge/passport-templates.d.ts +0 -40
- package/dist/knowledge/path-oracle/coverage.d.ts +0 -16
- package/dist/knowledge/path-oracle/index.d.ts +0 -5
- package/dist/knowledge/path-oracle/products/food-delivery.d.ts +0 -2
- package/dist/knowledge/path-oracle/schema.d.ts +0 -188
- package/dist/knowledge/pattern-resolutions.d.ts +0 -110
- package/dist/knowledge/payment-risk.d.ts +0 -38
- package/dist/knowledge/payment-tracker.d.ts +0 -63
- package/dist/knowledge/permission-ledger.d.ts +0 -49
- package/dist/knowledge/permission-puzzle.d.ts +0 -122
- package/dist/knowledge/permission-risk.d.ts +0 -70
- package/dist/knowledge/permission-templates.d.ts +0 -38
- package/dist/knowledge/personal-risk.d.ts +0 -36
- package/dist/knowledge/product-detail-source.d.ts +0 -37
- package/dist/knowledge/product-doc-b5.d.ts +0 -16
- package/dist/knowledge/progress-ledger.d.ts +0 -63
- package/dist/knowledge/progress-puzzle.d.ts +0 -82
- package/dist/knowledge/progress-risk.d.ts +0 -75
- package/dist/knowledge/progress-templates.d.ts +0 -38
- package/dist/knowledge/projection.d.ts +0 -54
- package/dist/knowledge/projection.spec.d.ts +0 -1
- package/dist/knowledge/projection.spec.js +0 -1
- package/dist/knowledge/proof-risk.d.ts +0 -33
- package/dist/knowledge/protocol-facts.d.ts +0 -17
- package/dist/knowledge/publish-gate.d.ts +0 -20
- package/dist/knowledge/publish-readiness.d.ts +0 -25
- package/dist/knowledge/publish-surface-contract.d.ts +0 -16
- package/dist/knowledge/puzzle-projections.d.ts +0 -11
- package/dist/knowledge/rail-exit-satisfiability.d.ts +0 -25
- package/dist/knowledge/registrar-risk.d.ts +0 -34
- package/dist/knowledge/release-sentinel.d.ts +0 -12
- package/dist/knowledge/repository-risk.d.ts +0 -46
- package/dist/knowledge/repository-write-semantics.d.ts +0 -27
- package/dist/knowledge/reputation-rules.d.ts +0 -36
- package/dist/knowledge/requirement-families.d.ts +0 -13
- package/dist/knowledge/resource-risk.d.ts +0 -32
- package/dist/knowledge/reward-ledger.d.ts +0 -97
- package/dist/knowledge/reward-puzzle.d.ts +0 -98
- package/dist/knowledge/reward-risk.d.ts +0 -86
- package/dist/knowledge/reward-templates.d.ts +0 -25
- package/dist/knowledge/rule-node-analyzers.d.ts +0 -49
- package/dist/knowledge/rule-outcome.d.ts +0 -5
- package/dist/knowledge/scenario-topology.d.ts +0 -48
- package/dist/knowledge/semantic-ir.d.ts +0 -136
- package/dist/knowledge/service-allocation-semantics.d.ts +0 -36
- package/dist/knowledge/service-allocator-audit-node.d.ts +0 -3
- package/dist/knowledge/service-ledger.d.ts +0 -87
- package/dist/knowledge/service-puzzle.d.ts +0 -158
- package/dist/knowledge/service-risk-node.d.ts +0 -3
- package/dist/knowledge/service-risk.d.ts +0 -110
- package/dist/knowledge/service-templates.d.ts +0 -41
- package/dist/knowledge/settlement-semantics.d.ts +0 -1
- package/dist/knowledge/strategy-manuals.d.ts +0 -15
- package/dist/knowledge/supply-chain.d.ts +0 -35
- package/dist/knowledge/template-index.d.ts +0 -19
- package/dist/knowledge/template-loader.d.ts +0 -425
- package/dist/knowledge/template-nav.d.ts +0 -9
- package/dist/knowledge/template-prose.d.ts +0 -50
- package/dist/knowledge/template-registry.d.ts +0 -48
- package/dist/knowledge/template-scanner.d.ts +0 -158
- package/dist/knowledge/template-test-profiles.d.ts +0 -17
- package/dist/knowledge/template-validation.d.ts +0 -3
- package/dist/knowledge/tools-reference.d.ts +0 -17
- package/dist/knowledge/treasury-ledger.d.ts +0 -42
- package/dist/knowledge/treasury-puzzle.d.ts +0 -163
- package/dist/knowledge/treasury-risk.d.ts +0 -88
- package/dist/knowledge/treasury-templates.d.ts +0 -38
- package/dist/knowledge/universal-template.d.ts +0 -22
- package/dist/knowledge/util-risk.d.ts +0 -30
- package/dist/knowledge/workflow-guidance.d.ts +0 -194
- package/dist/knowledge/workspace-lists.d.ts +0 -61
- package/dist/monitor/SuggestionBridge.spec.d.ts +0 -1
- package/dist/monitor/SuggestionBridge.spec.js +0 -1
- package/dist/participation/arbitrator-interest.d.ts +0 -22
- package/dist/participation/demander-interest.d.ts +0 -23
- package/dist/participation/employee-kpi.d.ts +0 -37
- package/dist/participation/employee-kpi.spec.d.ts +0 -1
- package/dist/participation/employee-kpi.spec.js +0 -1
- package/dist/participation/employee-store.d.ts +0 -16
- package/dist/participation/game-context.d.ts +0 -25
- package/dist/participation/index.d.ts +0 -2
- package/dist/participation/node-action-advisor.d.ts +0 -68
- package/dist/participation/time-window.d.ts +0 -48
- package/dist/persona/facet-profile.d.ts +0 -33
- package/dist/persona/persona-audit.spec.d.ts +0 -1
- package/dist/persona/persona-audit.spec.js +0 -1
- package/dist/playbooks/service-build/business-puzzle.d.ts +0 -48
- package/dist/playbooks/service-build/context-assembly.d.ts +0 -32
- package/dist/playbooks/service-build/facet-money.d.ts +0 -33
- package/dist/playbooks/service-build/facet-money.spec.d.ts +0 -1
- package/dist/playbooks/service-build/facet-money.spec.js +0 -1
- package/dist/playbooks/service-build/game-theory.d.ts +0 -47
- package/dist/playbooks/service-build/index.d.ts +0 -15
- package/dist/playbooks/service-build/intent-analyzer.d.ts +0 -72
- package/dist/playbooks/service-build/machine-nodes.d.ts +0 -27
- package/dist/playbooks/service-build/machine-panorama.d.ts +0 -71
- package/dist/playbooks/service-build/merchant-guide.d.ts +0 -382
- package/dist/playbooks/service-build/migration-planner.d.ts +0 -61
- package/dist/playbooks/service-build/mode-actions.d.ts +0 -260
- package/dist/playbooks/service-build/object-panorama.d.ts +0 -317
- package/dist/playbooks/service-build/object-type.d.ts +0 -1
- package/dist/playbooks/service-build/participation-radar.d.ts +0 -20
- package/dist/playbooks/service-build/pipeline-actions.d.ts +0 -108
- package/dist/playbooks/service-build/process.d.ts +0 -6
- package/dist/playbooks/service-build/relationship-profile.d.ts +0 -3
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.d.ts +0 -1
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +0 -1
- package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.d.ts +0 -1
- package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.js +0 -1
- package/dist/playbooks/service-build/reverse-mapping.d.ts +0 -66
- package/dist/playbooks/service-build/risk-aggregator.d.ts +0 -59
- package/dist/playbooks/service-build/service-panorama.d.ts +0 -229
- package/dist/playbooks/service-build/service-quote.d.ts +0 -2
- package/dist/playbooks/service-build/service-quote.spec.d.ts +0 -1
- package/dist/playbooks/service-build/service-quote.spec.js +0 -1
- package/dist/playbooks/service-build/topology-evaluation.spec.d.ts +0 -1
- package/dist/playbooks/service-build/topology-evaluation.spec.js +0 -1
- package/dist/playbooks/service-build/topology-query.d.ts +0 -25
- package/dist/playbooks/service-build/workflow-design-assessment.d.ts +0 -33
- package/dist/relationship/derivation.d.ts +0 -95
- package/dist/relationship/derivation.spec.d.ts +0 -1
- package/dist/relationship/derivation.spec.js +0 -1
- package/dist/relationship/incentive.d.ts +0 -38
- package/dist/relationship/index.d.ts +0 -4
- package/dist/relationship/registry.d.ts +0 -13
- package/dist/relationship/types.d.ts +0 -45
- package/dist/review/arb.d.ts +0 -4
- package/dist/review/demand.d.ts +0 -3
- package/dist/review/index.d.ts +0 -3
- package/dist/review/machine.d.ts +0 -3
- package/dist/review/order.d.ts +0 -8
- package/dist/review/progress.d.ts +0 -3
- package/dist/review/repository.d.ts +0 -3
- package/dist/review/service.d.ts +0 -5
- package/dist/review/types.d.ts +0 -163
- package/dist/role/derivation.d.ts +0 -35
- package/dist/role/index.d.ts +0 -6
- package/dist/role/intent.d.ts +0 -23
- package/dist/role/model.d.ts +0 -9
- package/dist/role/profiles.d.ts +0 -26
- package/dist/role/resolution.d.ts +0 -27
- package/dist/runtime/instance-registry.d.ts +0 -14
- package/dist/safety/index.d.ts +0 -3
- package/dist/schema/call/permission-handler.d.ts +0 -5
- package/dist/schema/call/semantic-customer-advice.spec.d.ts +0 -1
- package/dist/schema/call/semantic-customer-advice.spec.js +0 -1
- package/dist/schema/common/tokentype-short-probe.spec.d.ts +0 -1
- package/dist/schema/common/tokentype-short-probe.spec.js +0 -1
- package/dist/schema/envelope-unify.d.ts +0 -5
- package/dist/schema/goal/planning.d.ts +0 -742
- package/dist/schema/industry-pack/modes.d.ts +0 -447
- package/dist/schema/query/bi.d.ts +0 -3369
- package/dist/schema/utils/guard-query-utils.d.ts +0 -18
- package/dist/schema/utils/permission-index-utils.d.ts +0 -2
- package/dist/schema/utils/skills-recommendation.d.ts +0 -2
- package/dist/schema-query-impl/index.d.ts +0 -83
- package/dist/schemas/account_operation.output.json +0 -3869
- package/dist/schemas/ask_user.output.json +0 -54
- package/dist/schemas/benchmark_migration_operation.output.json +0 -1669
- package/dist/schemas/bridge_operation.output.json +0 -1548
- package/dist/schemas/config_operation.output.json +0 -896
- package/dist/schemas/employee_operation.output.json +0 -307
- package/dist/schemas/evaluation_operation.output.json +0 -4716
- package/dist/schemas/guard2file.output.json +0 -83
- package/dist/schemas/industry_pack_operation.output.json +0 -2985
- package/dist/schemas/intent_radar.output.json +0 -326
- package/dist/schemas/keeper_operation.output.json +0 -1441
- package/dist/schemas/local_cache_operation.output.json +0 -1718
- package/dist/schemas/local_history_operation.output.json +0 -1644
- package/dist/schemas/local_info_operation.output.json +0 -1530
- package/dist/schemas/local_mark_operation.output.json +0 -1622
- package/dist/schemas/machineNode2file.output.json +0 -88
- package/dist/schemas/messenger_operation.output.json +0 -4692
- package/dist/schemas/monitor_events.output.json +0 -1602
- package/dist/schemas/monitor_subscription.output.json +0 -1629
- package/dist/schemas/onchain_events.output.json +0 -4053
- package/dist/schemas/onchain_operations.output.json +0 -7788
- package/dist/schemas/onchain_table_data.output.json +0 -11868
- package/dist/schemas/permission_operation.output.json +0 -205
- package/dist/schemas/persona_operation.output.json +0 -64612
- package/dist/schemas/query_toolkit.output.json +0 -28302
- package/dist/schemas/schema_query.output.json +0 -81
- package/dist/schemas/service_clone_operation.output.json +0 -247
- package/dist/schemas/strategy_review_operation.output.json +0 -532
- package/dist/schemas/watch_operation.output.json +0 -930
- package/dist/schemas/wip_file.output.json +0 -360
- package/dist/schemas/workflow_operation.output.json +0 -422
- package/dist/schemas/workspace_operation.output.json +0 -477
- package/dist/schemas/wowok_buildin_info.output.json +0 -2477
- package/dist/strategy/collectors.d.ts +0 -66
- package/dist/strategy/collectors.spec.d.ts +0 -1
- package/dist/strategy/collectors.spec.js +0 -1
- package/dist/strategy/index.d.ts +0 -5
- package/dist/strategy/metrics.d.ts +0 -20
- package/dist/strategy/review.d.ts +0 -48
- package/dist/strategy/scorecard.d.ts +0 -32
- package/dist/strategy/store.d.ts +0 -26
- package/dist/task/ProcessStore.d.ts +0 -98
- package/dist/task/playbook.d.ts +0 -11
- package/dist/task/substep-trace.d.ts +0 -91
- package/dist/tools/build-fingerprint.d.ts +0 -28
- package/dist/tools/error-catalog.d.ts +0 -17
- package/dist/tools/handlers/ask-user.d.ts +0 -3
- package/dist/tools/handlers/benchmark-migration.d.ts +0 -121
- package/dist/tools/handlers/bridge.d.ts +0 -8
- package/dist/tools/handlers/config.d.ts +0 -2
- package/dist/tools/handlers/dispatch-expectations.d.ts +0 -2
- package/dist/tools/handlers/dispatch-expectations.spec.d.ts +0 -1
- package/dist/tools/handlers/dispatch-expectations.spec.js +0 -1
- package/dist/tools/handlers/employee.d.ts +0 -8
- package/dist/tools/handlers/employee.spec.d.ts +0 -1
- package/dist/tools/handlers/employee.spec.js +0 -1
- package/dist/tools/handlers/entry-edge-recipe.d.ts +0 -101
- package/dist/tools/handlers/escrow-deficit.d.ts +0 -10
- package/dist/tools/handlers/evaluation.d.ts +0 -2
- package/dist/tools/handlers/evaluation.spec.d.ts +0 -1
- package/dist/tools/handlers/evaluation.spec.js +0 -1
- package/dist/tools/handlers/file-export.d.ts +0 -3
- package/dist/tools/handlers/fund-rail-recipe.d.ts +0 -10
- package/dist/tools/handlers/goal.d.ts +0 -4
- package/dist/tools/handlers/industry-pack.d.ts +0 -3
- package/dist/tools/handlers/intent-radar.d.ts +0 -2
- package/dist/tools/handlers/keeper.d.ts +0 -12
- package/dist/tools/handlers/local.d.ts +0 -6
- package/dist/tools/handlers/mark-namespace.d.ts +0 -30
- package/dist/tools/handlers/messenger.d.ts +0 -24
- package/dist/tools/handlers/monitor.d.ts +0 -26
- package/dist/tools/handlers/name-resolution.d.ts +0 -4
- package/dist/tools/handlers/name-resolution.spec.d.ts +0 -1
- package/dist/tools/handlers/name-resolution.spec.js +0 -1
- package/dist/tools/handlers/network.d.ts +0 -1
- package/dist/tools/handlers/onchain-name-registration.d.ts +0 -49
- package/dist/tools/handlers/onchain-name-registration.spec.d.ts +0 -1
- package/dist/tools/handlers/onchain-name-registration.spec.js +0 -1
- package/dist/tools/handlers/onchain.d.ts +0 -132
- package/dist/tools/handlers/permission.d.ts +0 -2
- package/dist/tools/handlers/persona.d.ts +0 -4
- package/dist/tools/handlers/publish-binding-echo.d.ts +0 -22
- package/dist/tools/handlers/review-chain.d.ts +0 -19
- package/dist/tools/handlers/schema-query.d.ts +0 -2
- package/dist/tools/handlers/service-clone.d.ts +0 -20
- package/dist/tools/handlers/stale-build-check.d.ts +0 -9
- package/dist/tools/handlers/strategy-review.d.ts +0 -2
- package/dist/tools/handlers/submission-assembly.d.ts +0 -55
- package/dist/tools/handlers/watch.d.ts +0 -2
- package/dist/tools/handlers/winner-derivation.d.ts +0 -20
- package/dist/tools/handlers/wip-upload.d.ts +0 -22
- package/dist/tools/handlers/wip.d.ts +0 -2
- package/dist/tools/handlers/workflow.d.ts +0 -2
- package/dist/tools/handlers/workspace.d.ts +0 -4
- package/dist/tools/move-fn-index.gen.d.ts +0 -3
- package/dist/tools/publish-gate-state.d.ts +0 -5
- package/dist/tools/registry/agent.d.ts +0 -2
- package/dist/tools/registry/bridge.d.ts +0 -2
- package/dist/tools/registry/business.d.ts +0 -2
- package/dist/tools/registry/config.d.ts +0 -2
- package/dist/tools/registry/evaluation.d.ts +0 -2
- package/dist/tools/registry/files.d.ts +0 -2
- package/dist/tools/registry/identity.d.ts +0 -2
- package/dist/tools/registry/interaction.d.ts +0 -2
- package/dist/tools/registry/local.d.ts +0 -2
- package/dist/tools/registry/messenger.d.ts +0 -2
- package/dist/tools/registry/monitor.d.ts +0 -2
- package/dist/tools/registry/onchain.d.ts +0 -2
- package/dist/tools/registry/query.d.ts +0 -2
- package/dist/tools/retry.d.ts +0 -8
- package/dist/tools/rules-hook.d.ts +0 -5
- package/dist/tools/runtime-health.d.ts +0 -10
- package/dist/tools/sanitize-description-roundtrip.spec.d.ts +0 -1
- package/dist/tools/sanitize-description-roundtrip.spec.js +0 -1
- package/dist/tools/sanitize-output.d.ts +0 -4
- package/dist/tools/sanitize-output.spec.d.ts +0 -1
- package/dist/tools/sanitize-output.spec.js +0 -1
- package/dist/tools/shared.d.ts +0 -20
- package/dist/tools/transport-integrity.d.ts +0 -7
- package/dist/tools/upgrade-check.d.ts +0 -75
- package/dist/tools/wip-deploy-assist.d.ts +0 -34
- package/dist/tools/wip-verify-ledger.d.ts +0 -16
- package/dist/tools/wrap.d.ts +0 -45
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { ENTRYPOINT } from "@wowok/wowok";
|
|
2
|
-
import type { Industry } from "../persona/types.js";
|
|
3
|
-
import { type MetricSourceId, type StrategyMetricId } from "./metrics.js";
|
|
4
|
-
export interface ScorecardOrderEvidence {
|
|
5
|
-
id: string;
|
|
6
|
-
customer: string;
|
|
7
|
-
time: number;
|
|
8
|
-
disputed?: boolean;
|
|
9
|
-
status?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface CollectContext {
|
|
12
|
-
account: string;
|
|
13
|
-
industry: Industry;
|
|
14
|
-
network?: ENTRYPOINT;
|
|
15
|
-
limit?: number;
|
|
16
|
-
no_cache?: boolean;
|
|
17
|
-
orders?: ScorecardOrderEvidence[];
|
|
18
|
-
due_diligence?: number;
|
|
19
|
-
reviews_count?: number;
|
|
20
|
-
arbitration_object?: string;
|
|
21
|
-
discovery_terms?: string[];
|
|
22
|
-
}
|
|
23
|
-
export type MetricValueEntry = number | {
|
|
24
|
-
value?: number;
|
|
25
|
-
note?: string;
|
|
26
|
-
};
|
|
27
|
-
export type MetricValueMap = Record<string, MetricValueEntry>;
|
|
28
|
-
export interface MetricFetcher {
|
|
29
|
-
id: MetricSourceId;
|
|
30
|
-
fetch(ctx: CollectContext): Promise<MetricValueMap>;
|
|
31
|
-
}
|
|
32
|
-
export type CollectedMetricStatus = "ok" | "unavailable" | "error";
|
|
33
|
-
export interface CollectedMetric {
|
|
34
|
-
id: StrategyMetricId;
|
|
35
|
-
source: MetricSourceId;
|
|
36
|
-
status: CollectedMetricStatus;
|
|
37
|
-
value?: number;
|
|
38
|
-
note?: string;
|
|
39
|
-
collected_at: number;
|
|
40
|
-
}
|
|
41
|
-
export interface ScorecardCollection {
|
|
42
|
-
account: string;
|
|
43
|
-
industry: string;
|
|
44
|
-
network: ENTRYPOINT;
|
|
45
|
-
collected_at: number;
|
|
46
|
-
metrics: CollectedMetric[];
|
|
47
|
-
unavailable: StrategyMetricId[];
|
|
48
|
-
errors: Array<{
|
|
49
|
-
id: StrategyMetricId;
|
|
50
|
-
error: string;
|
|
51
|
-
}>;
|
|
52
|
-
}
|
|
53
|
-
export interface ShopOrderResolution {
|
|
54
|
-
orders: ScorecardOrderEvidence[];
|
|
55
|
-
service_count: number;
|
|
56
|
-
observed_total: number;
|
|
57
|
-
truncated: boolean;
|
|
58
|
-
unknown_workflow: number;
|
|
59
|
-
}
|
|
60
|
-
export declare function resolveShopOrderEvidence(ctx: CollectContext): Promise<ShopOrderResolution>;
|
|
61
|
-
export declare const DEFAULT_METRIC_FETCHERS: MetricFetcher[];
|
|
62
|
-
export declare function collectScorecard(ctx: CollectContext, opts?: {
|
|
63
|
-
fetchers?: MetricFetcher[];
|
|
64
|
-
metricIds?: StrategyMetricId[];
|
|
65
|
-
resolveOrders?: (ctx: CollectContext) => Promise<ScorecardOrderEvidence[]>;
|
|
66
|
-
}): Promise<ScorecardCollection>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{describe,it,expect}from'vitest';import{collectScorecard}from'./collectors.js';describe('collectScorecard\x20—\x20shop\x20operations\x20metrics',()=>{const a={'account':'0xshop1','industry':'retail'},b=['order_count','completed_count','completion_rate','repeat_customer_rate','dispute_rate','dd_to_order_rate'],c=[{'id':'o1','customer':'A','time':0x3e8,'status':'completed'},{'id':'o2','customer':'A','time':0x7d0,'status':'completed'},{'id':'o3','customer':'B','time':0xbb8,'status':'completed'},{'id':'o4','customer':'C','time':0xfa0,'status':'in_progress','disputed':!![]},{'id':'o5','customer':'D','time':0x1388,'status':'unknown'}];it('computes\x20the\x20six\x20shop\x20metrics\x20from\x20resolved\x20chain\x20evidence',async()=>{const d=await collectScorecard(a,{'metricIds':b,'resolveOrders':async()=>c}),e=new Map(d['metrics']['map'](f=>[f['id'],f]));expect(e['get']('order_count')['value'])['toBe'](0x5),expect(e['get']('completed_count')['value'])['toBe'](0x3),expect(e['get']('completion_rate')['value'])['toBeCloseTo'](0.6,0x5),expect(e['get']('repeat_customer_rate')['value'])['toBeCloseTo'](0.25,0x5),expect(e['get']('dispute_rate')['value'])['toBeCloseTo'](0.2,0x5),expect(e['get']('dd_to_order_rate')['status'])['toBe']('unavailable');}),it('does\x20not\x20invoke\x20the\x20resolver\x20when\x20explicit\x20evidence\x20is\x20supplied',async()=>{let d=![];await collectScorecard({...a,'orders':c['slice'](0x0,0x1)},{'metricIds':['order_count'],'resolveOrders':async()=>{return d=!![],[];}}),expect(d)['toBe'](![]);}),it('degrades\x20shop\x20metrics\x20to\x20unavailable\x20when\x20the\x20resolver\x20fails',async()=>{const d=await collectScorecard(a,{'metricIds':['order_count'],'resolveOrders':async()=>{throw new Error('rpc\x20down');}}),e=d['metrics']['find'](f=>f['id']==='order_count');expect(e['status'])['toBe']('unavailable'),expect(d['unavailable'])['toContain']('order_count');});}),describe('collectScorecard\x20—\x20fetcher\x20envelopes',()=>{const a={'account':'0xshop2','industry':'retail','orders':[{'id':'o1','customer':'A','time':0x1,'status':'completed'}]};it('accepts\x20value\x20envelopes\x20with\x20notes\x20and\x20treats\x20note-only\x20envelopes\x20as\x20unavailable',async()=>{const b={'id':'market_operations',async 'fetch'(){return{'order_count':{'value':0x7,'note':'capped\x20recent\x20window'},'completed_count':{'note':'workflow\x20unverifiable'}};}},c=await collectScorecard(a,{'metricIds':['order_count','completed_count'],'fetchers':[b]}),d=new Map(c['metrics']['map'](e=>[e['id'],e]));expect(d['get']('order_count')['status'])['toBe']('ok'),expect(d['get']('order_count')['value'])['toBe'](0x7),expect(d['get']('order_count')['note'])['toContain']('capped'),expect(d['get']('completed_count')['status'])['toBe']('unavailable'),expect(d['get']('completed_count')['note'])['toContain']('unverifiable');});});
|
package/dist/strategy/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { STRATEGY_METRIC_CATALOG, getMetricDef, metricsBySource, listMetricSources, type MetricDef, type MetricSourceId, type MetricUnit, type MetricDirection, type StrategyMetricId, } from "./metrics.js";
|
|
2
|
-
export { DEFAULT_METRIC_FETCHERS, collectScorecard, type CollectContext, type ScorecardOrderEvidence, type MetricFetcher, type MetricValueMap, type CollectedMetric, type CollectedMetricStatus, type ScorecardCollection, } from "./collectors.js";
|
|
3
|
-
export { getScorecardStore, setScorecardStore, SqliteScorecardStore, type SnapshotStore, type ScorecardSnapshot, } from "./store.js";
|
|
4
|
-
export { scoreScorecard, scoreMetricValue, computeMetricDeltas, describeDelta, type ScorecardScore, type MetricScore, type MetricDelta, type DeltaDirection, } from "./scorecard.js";
|
|
5
|
-
export { buildReview, reviewCadenceDays, isReviewDue, reviewNudgeLine, type StrategyReview, type StrategyProposal, type ReviewCadence, type BuildReviewOptions, } from "./review.js";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { StrategicPosture } from "../persona/types.js";
|
|
2
|
-
export type MetricSourceId = "market_operations" | "order_flow" | "market_metrics" | "discover_services" | "arbitration_score" | "account_events";
|
|
3
|
-
export type MetricUnit = "count" | "rate" | "ratio" | "score" | "token_units";
|
|
4
|
-
export type MetricDirection = "higher_better" | "lower_better";
|
|
5
|
-
export type StrategyMetricId = "order_count" | "completed_count" | "completion_rate" | "repeat_customer_rate" | "dispute_rate" | "dd_to_order_rate" | "market_recent_orders" | "market_recent_gmv" | "supply_demand_ratio" | "market_active_services" | "competitor_count" | "category_enumerated_count" | "arbitration_trust_score" | "open_attention_count";
|
|
6
|
-
export interface MetricDef {
|
|
7
|
-
id: StrategyMetricId;
|
|
8
|
-
label: string;
|
|
9
|
-
source: MetricSourceId;
|
|
10
|
-
unit: MetricUnit;
|
|
11
|
-
direction: MetricDirection;
|
|
12
|
-
weight: Record<StrategicPosture, number>;
|
|
13
|
-
good_threshold?: number;
|
|
14
|
-
bad_threshold?: number;
|
|
15
|
-
description: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const STRATEGY_METRIC_CATALOG: MetricDef[];
|
|
18
|
-
export declare function getMetricDef(id: StrategyMetricId): MetricDef | undefined;
|
|
19
|
-
export declare function metricsBySource(source: MetricSourceId): MetricDef[];
|
|
20
|
-
export declare function listMetricSources(): MetricSourceId[];
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { PersonaLayer, StrategicPosture } from "../persona/types.js";
|
|
2
|
-
import type { ScorecardCollection } from "./collectors.js";
|
|
3
|
-
import { type ScorecardScore } from "./scorecard.js";
|
|
4
|
-
import type { ScorecardSnapshot } from "./store.js";
|
|
5
|
-
import type { StrategyMetricId } from "./metrics.js";
|
|
6
|
-
export interface StrategyProposal {
|
|
7
|
-
id: string;
|
|
8
|
-
rationale: string;
|
|
9
|
-
target_layer: "current";
|
|
10
|
-
delta: Partial<PersonaLayer>;
|
|
11
|
-
apply_via: {
|
|
12
|
-
tool: "persona_operation";
|
|
13
|
-
action: "apply_delta";
|
|
14
|
-
note: string;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
export interface ReviewCadence {
|
|
18
|
-
cadence_days: number;
|
|
19
|
-
days_since_last: number | null;
|
|
20
|
-
due: boolean;
|
|
21
|
-
next_review_after: number | null;
|
|
22
|
-
}
|
|
23
|
-
export interface StrategyReview {
|
|
24
|
-
account: string;
|
|
25
|
-
industry: string;
|
|
26
|
-
posture: StrategicPosture;
|
|
27
|
-
generated_at: number;
|
|
28
|
-
scorecard: ScorecardScore;
|
|
29
|
-
cadence: ReviewCadence;
|
|
30
|
-
summary: string;
|
|
31
|
-
findings: string[];
|
|
32
|
-
recommendations: string[];
|
|
33
|
-
proposals: StrategyProposal[];
|
|
34
|
-
unavailable: StrategyMetricId[];
|
|
35
|
-
}
|
|
36
|
-
export interface BuildReviewOptions {
|
|
37
|
-
account: string;
|
|
38
|
-
industry: string;
|
|
39
|
-
posture?: StrategicPosture;
|
|
40
|
-
collection: ScorecardCollection;
|
|
41
|
-
previous?: ScorecardSnapshot | null;
|
|
42
|
-
current_merchant_posture?: StrategicPosture;
|
|
43
|
-
now?: number;
|
|
44
|
-
}
|
|
45
|
-
export declare function reviewCadenceDays(industry: string): number;
|
|
46
|
-
export declare function isReviewDue(industry: string, lastCollectedAt: number | null | undefined, now?: number): boolean;
|
|
47
|
-
export declare function reviewNudgeLine(industry: string, lastCollectedAt: number | null | undefined, now?: number): string | null;
|
|
48
|
-
export declare function buildReview(opts: BuildReviewOptions): StrategyReview;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { StrategicPosture } from "../persona/types.js";
|
|
2
|
-
import { type StrategyMetricId } from "./metrics.js";
|
|
3
|
-
import type { ScorecardCollection, CollectedMetric } from "./collectors.js";
|
|
4
|
-
export type DeltaDirection = "up" | "down" | "flat";
|
|
5
|
-
export interface MetricDelta {
|
|
6
|
-
id: StrategyMetricId;
|
|
7
|
-
from: number;
|
|
8
|
-
to: number;
|
|
9
|
-
change: number;
|
|
10
|
-
direction: DeltaDirection;
|
|
11
|
-
improved: boolean | null;
|
|
12
|
-
}
|
|
13
|
-
export interface MetricScore {
|
|
14
|
-
id: StrategyMetricId;
|
|
15
|
-
label: string;
|
|
16
|
-
status: CollectedMetric["status"];
|
|
17
|
-
value: number | null;
|
|
18
|
-
weight: number;
|
|
19
|
-
score: number | null;
|
|
20
|
-
delta: MetricDelta | null;
|
|
21
|
-
}
|
|
22
|
-
export interface ScorecardScore {
|
|
23
|
-
posture: StrategicPosture;
|
|
24
|
-
overall: number | null;
|
|
25
|
-
scored_metric_count: number;
|
|
26
|
-
metric_scores: MetricScore[];
|
|
27
|
-
unavailable: StrategyMetricId[];
|
|
28
|
-
}
|
|
29
|
-
export declare function scoreMetricValue(id: StrategyMetricId, value: number): number | null;
|
|
30
|
-
export declare function computeMetricDeltas(current: ScorecardCollection, previous?: ScorecardCollection | null): Map<StrategyMetricId, MetricDelta>;
|
|
31
|
-
export declare function scoreScorecard(collection: ScorecardCollection, posture: StrategicPosture, previous?: ScorecardCollection | null): ScorecardScore;
|
|
32
|
-
export declare function describeDelta(delta: MetricDelta): string;
|
package/dist/strategy/store.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { SQLiteStorage } from "@wowok/wowok";
|
|
2
|
-
import type { ScorecardCollection } from "./collectors.js";
|
|
3
|
-
import type { StrategicPosture } from "../persona/types.js";
|
|
4
|
-
export interface ScorecardSnapshot {
|
|
5
|
-
id: string;
|
|
6
|
-
account: string;
|
|
7
|
-
industry: string;
|
|
8
|
-
posture?: StrategicPosture;
|
|
9
|
-
collected_at: number;
|
|
10
|
-
created_at: number;
|
|
11
|
-
collection: ScorecardCollection;
|
|
12
|
-
}
|
|
13
|
-
export interface SnapshotStore {
|
|
14
|
-
append(snapshot: ScorecardSnapshot): Promise<void>;
|
|
15
|
-
list(account: string, industry: string): Promise<ScorecardSnapshot[]>;
|
|
16
|
-
latest(account: string, industry: string): Promise<ScorecardSnapshot | null>;
|
|
17
|
-
}
|
|
18
|
-
export declare class SqliteScorecardStore implements SnapshotStore {
|
|
19
|
-
private readonly kv;
|
|
20
|
-
constructor(kv?: SQLiteStorage);
|
|
21
|
-
append(snapshot: ScorecardSnapshot): Promise<void>;
|
|
22
|
-
list(account: string, industry: string): Promise<ScorecardSnapshot[]>;
|
|
23
|
-
latest(account: string, industry: string): Promise<ScorecardSnapshot | null>;
|
|
24
|
-
}
|
|
25
|
-
export declare function getScorecardStore(): SnapshotStore;
|
|
26
|
-
export declare function setScorecardStore(store: SnapshotStore | null): void;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { type DecisionRecord, type FeedbackRecord, type ProblemRecord, type ProcessEvent, type ProcessManifest, type ProcessStageState, type SubstepRecord, type SuggestionRecord, type StageMeta } from "./types.js";
|
|
2
|
-
export declare function processesRootDir(): string;
|
|
3
|
-
export declare function processDir(id: string): string;
|
|
4
|
-
export declare function deleteProcessDir(dir: string): void;
|
|
5
|
-
export declare function initProcess(dir: string, manifest: ProcessManifest, stages: string[]): ProcessManifest;
|
|
6
|
-
export declare function loadManifest(dir: string): ProcessManifest;
|
|
7
|
-
export declare function saveManifest(dir: string, manifest: ProcessManifest): void;
|
|
8
|
-
export declare function loadStageState(dir: string): ProcessStageState | undefined;
|
|
9
|
-
export declare function saveStageState(dir: string, state: ProcessStageState): void;
|
|
10
|
-
export declare function advanceStage(dir: string, toStage: string, opts?: {
|
|
11
|
-
allowSkip?: boolean;
|
|
12
|
-
}): ProcessStageState;
|
|
13
|
-
export declare function updateStageMeta(dir: string, stage: string, patch: Partial<StageMeta>): StageMeta;
|
|
14
|
-
export declare function appendEvent(dir: string, event: ProcessEvent): void;
|
|
15
|
-
export declare function readEvents(dir: string): ProcessEvent[];
|
|
16
|
-
export declare function addProblem(dir: string, input: {
|
|
17
|
-
stage?: string;
|
|
18
|
-
object?: string;
|
|
19
|
-
severity: ProblemRecord["severity"];
|
|
20
|
-
title: string;
|
|
21
|
-
detail?: string;
|
|
22
|
-
note?: {
|
|
23
|
-
by: "user" | "agent" | "system";
|
|
24
|
-
text: string;
|
|
25
|
-
};
|
|
26
|
-
origin?: ProblemRecord["origin"];
|
|
27
|
-
}): ProblemRecord;
|
|
28
|
-
export declare function updateProblem(dir: string, id: string, patch: Partial<Pick<ProblemRecord, "status" | "severity" | "title" | "detail" | "stage" | "object">>, note?: {
|
|
29
|
-
by: "user" | "agent" | "system";
|
|
30
|
-
text: string;
|
|
31
|
-
}): ProblemRecord;
|
|
32
|
-
export declare function listProblems(dir: string, filter?: {
|
|
33
|
-
status?: ProblemRecord["status"];
|
|
34
|
-
}): ProblemRecord[];
|
|
35
|
-
export declare function addSuggestion(dir: string, input: {
|
|
36
|
-
object?: string;
|
|
37
|
-
kind: SuggestionRecord["kind"];
|
|
38
|
-
stage?: string;
|
|
39
|
-
objects?: {
|
|
40
|
-
type: string;
|
|
41
|
-
object: string;
|
|
42
|
-
}[];
|
|
43
|
-
title: string;
|
|
44
|
-
detail?: string;
|
|
45
|
-
origin?: SuggestionRecord["origin"];
|
|
46
|
-
}): SuggestionRecord;
|
|
47
|
-
export declare function updateSuggestion(dir: string, id: string, patch: Partial<Pick<SuggestionRecord, "status" | "resolution_note" | "applied" | "stage" | "object">>): SuggestionRecord;
|
|
48
|
-
export declare function listSuggestions(dir: string, filter?: {
|
|
49
|
-
status?: SuggestionRecord["status"];
|
|
50
|
-
}): SuggestionRecord[];
|
|
51
|
-
export declare function addFeedback(dir: string, input: {
|
|
52
|
-
source: FeedbackRecord["source"];
|
|
53
|
-
sentiment: FeedbackRecord["sentiment"];
|
|
54
|
-
comment: string;
|
|
55
|
-
refs?: FeedbackRecord["refs"];
|
|
56
|
-
}): FeedbackRecord;
|
|
57
|
-
export declare function listFeedback(dir: string): FeedbackRecord[];
|
|
58
|
-
export declare function addDecision(dir: string, input: {
|
|
59
|
-
stage?: string;
|
|
60
|
-
by: DecisionRecord["by"];
|
|
61
|
-
decision: string;
|
|
62
|
-
rationale?: string;
|
|
63
|
-
reversible: boolean;
|
|
64
|
-
}): DecisionRecord;
|
|
65
|
-
export declare function listDecisions(dir: string): DecisionRecord[];
|
|
66
|
-
export declare function appendSubstep(dir: string, network: string, record: SubstepRecord): void;
|
|
67
|
-
export declare function readSubsteps(dir: string, network: string): SubstepRecord[];
|
|
68
|
-
export declare function savePayload(dir: string, relPath: string, data: unknown): string;
|
|
69
|
-
export declare function loadPayload<T = unknown>(dir: string, relPath: string): T | undefined;
|
|
70
|
-
export interface ProcessBundle {
|
|
71
|
-
schema_version: string;
|
|
72
|
-
exported_at: string;
|
|
73
|
-
manifest: ProcessManifest;
|
|
74
|
-
stage?: ProcessStageState;
|
|
75
|
-
events: ProcessEvent[];
|
|
76
|
-
problems: ProblemRecord[];
|
|
77
|
-
suggestions: SuggestionRecord[];
|
|
78
|
-
feedback: FeedbackRecord[];
|
|
79
|
-
decisions: DecisionRecord[];
|
|
80
|
-
substeps: Record<string, SubstepRecord[]>;
|
|
81
|
-
payloads: Record<string, unknown>;
|
|
82
|
-
}
|
|
83
|
-
export declare function exportBundle(dir: string): ProcessBundle;
|
|
84
|
-
export declare function importBundle(destDir: string, bundle: ProcessBundle, opts?: {
|
|
85
|
-
remap?: Record<string, string>;
|
|
86
|
-
}): ProcessManifest;
|
|
87
|
-
export declare function forkProcess(srcDir: string, destDir: string): ProcessManifest;
|
|
88
|
-
export interface ProcessListEntry {
|
|
89
|
-
dir_name: string;
|
|
90
|
-
path: string;
|
|
91
|
-
manifest?: ProcessManifest;
|
|
92
|
-
current_stage?: string;
|
|
93
|
-
stages?: string[];
|
|
94
|
-
committed_stages?: string[];
|
|
95
|
-
archived: boolean;
|
|
96
|
-
mtime: number;
|
|
97
|
-
}
|
|
98
|
-
export declare function listProcesses(root?: string): ProcessListEntry[];
|
package/dist/task/playbook.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface ProcessPlaybook {
|
|
2
|
-
name: string;
|
|
3
|
-
stages: string[];
|
|
4
|
-
description?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function registerPlaybook(playbook: ProcessPlaybook): void;
|
|
7
|
-
export declare function getPlaybook(name: string): ProcessPlaybook | undefined;
|
|
8
|
-
export declare function listPlaybooks(): ProcessPlaybook[];
|
|
9
|
-
export declare function hasPlaybook(name: string): boolean;
|
|
10
|
-
export declare const GENERIC_PLAYBOOK = "generic";
|
|
11
|
-
export declare function playbookForGoalType(goalType: string): ProcessPlaybook;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import type { SubstepEdge, SubstepRecord } from "./types.js";
|
|
2
|
-
export type SubstepStatus = "PENDING" | "SUCCESS" | "FAILED" | "SKIPPED";
|
|
3
|
-
export interface SubstepDAG {
|
|
4
|
-
namespace: {
|
|
5
|
-
prefix: string;
|
|
6
|
-
version: string;
|
|
7
|
-
};
|
|
8
|
-
network: string;
|
|
9
|
-
substeps: SubstepRecord[];
|
|
10
|
-
edges: SubstepEdge[];
|
|
11
|
-
topological_order: string[];
|
|
12
|
-
}
|
|
13
|
-
export interface DanglingInput {
|
|
14
|
-
substep_id: string;
|
|
15
|
-
missing_ref: string;
|
|
16
|
-
field_path: string;
|
|
17
|
-
}
|
|
18
|
-
export interface CircularRef {
|
|
19
|
-
cycle: string[];
|
|
20
|
-
}
|
|
21
|
-
export interface MissingOutput {
|
|
22
|
-
substep_id: string;
|
|
23
|
-
expected_field: string;
|
|
24
|
-
dependent_substeps: string[];
|
|
25
|
-
}
|
|
26
|
-
export interface CrossStepBreak {
|
|
27
|
-
source_step: string;
|
|
28
|
-
target_step: string;
|
|
29
|
-
missing_field: string;
|
|
30
|
-
}
|
|
31
|
-
export interface StepTraceDetail {
|
|
32
|
-
parent_step: string;
|
|
33
|
-
total_substeps: number;
|
|
34
|
-
successful: number;
|
|
35
|
-
failed: number;
|
|
36
|
-
pending: number;
|
|
37
|
-
skipped: number;
|
|
38
|
-
substep_ids: string[];
|
|
39
|
-
}
|
|
40
|
-
export interface SubstepTraceInput {
|
|
41
|
-
project_prefix: string;
|
|
42
|
-
version: string;
|
|
43
|
-
network: string;
|
|
44
|
-
substeps: SubstepRecord[];
|
|
45
|
-
edges?: SubstepEdge[];
|
|
46
|
-
}
|
|
47
|
-
export interface SubstepTraceResult {
|
|
48
|
-
namespace: {
|
|
49
|
-
prefix: string;
|
|
50
|
-
version: string;
|
|
51
|
-
};
|
|
52
|
-
network: string;
|
|
53
|
-
coherent: boolean;
|
|
54
|
-
dangling_inputs: DanglingInput[];
|
|
55
|
-
circular_refs: CircularRef[];
|
|
56
|
-
missing_outputs: MissingOutput[];
|
|
57
|
-
cross_step_breaks: CrossStepBreak[];
|
|
58
|
-
step_details: StepTraceDetail[];
|
|
59
|
-
topological_order: string[];
|
|
60
|
-
d10_check: D10CheckResult;
|
|
61
|
-
}
|
|
62
|
-
export interface D10CheckResult {
|
|
63
|
-
check_id: "D-10";
|
|
64
|
-
description: string;
|
|
65
|
-
status: "PASS" | "FAIL" | "WARN";
|
|
66
|
-
notes: string[];
|
|
67
|
-
}
|
|
68
|
-
export declare function detectDanglingInputs(substeps: SubstepRecord[], edges?: SubstepEdge[]): DanglingInput[];
|
|
69
|
-
export declare function detectCircularRefs(substeps: SubstepRecord[], edges: SubstepEdge[]): CircularRef[];
|
|
70
|
-
export declare function detectMissingOutputs(substeps: SubstepRecord[]): MissingOutput[];
|
|
71
|
-
export declare function detectCrossStepBreaks(substeps: SubstepRecord[], edges: SubstepEdge[]): CrossStepBreak[];
|
|
72
|
-
export declare function traceSubsteps(input: SubstepTraceInput): SubstepTraceResult;
|
|
73
|
-
export declare class SubstepTracer {
|
|
74
|
-
private records;
|
|
75
|
-
private namespace;
|
|
76
|
-
private network;
|
|
77
|
-
constructor(prefix: string, version: string, network: string);
|
|
78
|
-
record(rec: SubstepRecord): void;
|
|
79
|
-
getTrace(): SubstepRecord[];
|
|
80
|
-
updateStatus(step_id: string, status: SubstepStatus, output?: Record<string, unknown>, failure_reason?: string): void;
|
|
81
|
-
getDAG(): SubstepDAG;
|
|
82
|
-
checkCoherence(): SubstepTraceResult;
|
|
83
|
-
toJSON(): {
|
|
84
|
-
namespace: {
|
|
85
|
-
prefix: string;
|
|
86
|
-
version: string;
|
|
87
|
-
};
|
|
88
|
-
network: string;
|
|
89
|
-
substeps: SubstepRecord[];
|
|
90
|
-
};
|
|
91
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { type WorkspaceStaleness, type ChainStamp } from "./upgrade-check.js";
|
|
2
|
-
export interface GitState {
|
|
3
|
-
describe: string | null;
|
|
4
|
-
branch: string | null;
|
|
5
|
-
dirty: boolean | null;
|
|
6
|
-
}
|
|
7
|
-
export interface BuildFingerprint {
|
|
8
|
-
builtin_templates_version: number;
|
|
9
|
-
git: GitState;
|
|
10
|
-
mcp_dist_stale: WorkspaceStaleness | null;
|
|
11
|
-
sdk_dist_stale: WorkspaceStaleness | null;
|
|
12
|
-
captured_at: string;
|
|
13
|
-
}
|
|
14
|
-
export declare function captureGitState(): GitState;
|
|
15
|
-
export declare function currentBuildFingerprint(): BuildFingerprint;
|
|
16
|
-
export interface FingerprintComparison {
|
|
17
|
-
verdict: "current" | "stale" | "incomparable";
|
|
18
|
-
downgrades_findings: boolean;
|
|
19
|
-
skews: string[];
|
|
20
|
-
}
|
|
21
|
-
export type ReportedFingerprint = {
|
|
22
|
-
builtin_templates_version?: number;
|
|
23
|
-
git?: Partial<GitState> | null;
|
|
24
|
-
chain_stamp?: Pick<ChainStamp, "epoch" | "protocol_version" | "network"> | null;
|
|
25
|
-
};
|
|
26
|
-
export declare function compareReportFingerprint(report: ReportedFingerprint): FingerprintComparison;
|
|
27
|
-
export declare let currentChainEpoch: string | null;
|
|
28
|
-
export declare function setComparisonChainEpoch(epoch: string | null): void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type ErrorClassification } from "../schema/call/semantic.js";
|
|
2
|
-
export interface ErrorCatalogEntry {
|
|
3
|
-
module: string;
|
|
4
|
-
code: string;
|
|
5
|
-
canonical: string;
|
|
6
|
-
next_action: string;
|
|
7
|
-
}
|
|
8
|
-
export interface CatalogFields {
|
|
9
|
-
code: string;
|
|
10
|
-
canonical: string;
|
|
11
|
-
next_action: string;
|
|
12
|
-
detail?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const ERROR_CATALOG: Record<string, ErrorCatalogEntry>;
|
|
15
|
-
export declare function lookupCatalogEntry(module: string, abortCode: number): ErrorCatalogEntry | undefined;
|
|
16
|
-
export declare function translateVmAbort(raw: unknown): CatalogFields | undefined;
|
|
17
|
-
export declare function catalogFieldsFor(classified: ErrorClassification | undefined, rawError?: unknown): CatalogFields | undefined;
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { validateAllocatorRows, type IndustryTemplate } from "../../knowledge/template-loader.js";
|
|
2
|
-
import { type TemplateScanResult } from "../../knowledge/template-scanner.js";
|
|
3
|
-
import type { DeliverableDefinition } from "../../playbooks/service-build/intent-analyzer.js";
|
|
4
|
-
import type { IndustryMode } from "../../extensions/index.js";
|
|
5
|
-
import type { ToolDispatchResult } from "../types.js";
|
|
6
|
-
import { staleBuildFace, type StaleBuildDisclosure } from "./stale-build-check.js";
|
|
7
|
-
export { staleBuildFace };
|
|
8
|
-
export type { StaleBuildDisclosure };
|
|
9
|
-
export declare function platformMarkRefusal(addr: string, network: string): string | undefined;
|
|
10
|
-
export declare function recipientMarkRefusal(mark: string, addr: string, network: string): string | undefined;
|
|
11
|
-
export declare function wipAnchorFace(sales: unknown): {
|
|
12
|
-
status: string;
|
|
13
|
-
rule_id: string;
|
|
14
|
-
severity: string;
|
|
15
|
-
unpinned_skus: string[];
|
|
16
|
-
remediation: string;
|
|
17
|
-
} | undefined;
|
|
18
|
-
export declare function returnNoExitFace(templateId: string): {
|
|
19
|
-
status: string;
|
|
20
|
-
rule_id: string;
|
|
21
|
-
severity: string;
|
|
22
|
-
stranded_nodes: string[];
|
|
23
|
-
remediation: string;
|
|
24
|
-
} | undefined;
|
|
25
|
-
declare function driftFace(templateId: string): {
|
|
26
|
-
template: string;
|
|
27
|
-
state: "current";
|
|
28
|
-
catalog_version: number;
|
|
29
|
-
blocked: boolean;
|
|
30
|
-
repairable: boolean;
|
|
31
|
-
detail: string;
|
|
32
|
-
} | {
|
|
33
|
-
template: string;
|
|
34
|
-
state: "untracked";
|
|
35
|
-
catalog_version: number;
|
|
36
|
-
blocked: boolean;
|
|
37
|
-
repairable: boolean;
|
|
38
|
-
detail: string;
|
|
39
|
-
} | {
|
|
40
|
-
template: string;
|
|
41
|
-
state: "modified" | "missing";
|
|
42
|
-
catalog_version: number;
|
|
43
|
-
blocked: boolean;
|
|
44
|
-
repairable: boolean;
|
|
45
|
-
detail: string;
|
|
46
|
-
};
|
|
47
|
-
export declare function planEnvelopeFromInput(planInput: unknown): Record<string, unknown>;
|
|
48
|
-
export declare function templateAdvisoryFaces(templateId: string | undefined): Record<string, unknown>;
|
|
49
|
-
declare function scanSummary(scan: TemplateScanResult, drift?: ReturnType<typeof driftFace>): {
|
|
50
|
-
template_id: string;
|
|
51
|
-
risk_level: import("../../knowledge/template-scanner.js").TemplateRiskLevel;
|
|
52
|
-
preflight_scan_passed: boolean;
|
|
53
|
-
finding_count: number;
|
|
54
|
-
findings_by_severity: Record<string, number>;
|
|
55
|
-
red_flags: string[];
|
|
56
|
-
findings: import("../../knowledge/template-scanner.js").TemplateScanFinding[];
|
|
57
|
-
drift: {
|
|
58
|
-
template: string;
|
|
59
|
-
state: "current";
|
|
60
|
-
catalog_version: number;
|
|
61
|
-
blocked: boolean;
|
|
62
|
-
repairable: boolean;
|
|
63
|
-
detail: string;
|
|
64
|
-
} | {
|
|
65
|
-
template: string;
|
|
66
|
-
state: "untracked";
|
|
67
|
-
catalog_version: number;
|
|
68
|
-
blocked: boolean;
|
|
69
|
-
repairable: boolean;
|
|
70
|
-
detail: string;
|
|
71
|
-
} | {
|
|
72
|
-
template: string;
|
|
73
|
-
state: "modified" | "missing";
|
|
74
|
-
catalog_version: number;
|
|
75
|
-
blocked: boolean;
|
|
76
|
-
repairable: boolean;
|
|
77
|
-
detail: string;
|
|
78
|
-
} | undefined;
|
|
79
|
-
};
|
|
80
|
-
export interface PlaceholderResidualHit {
|
|
81
|
-
placeholder: string;
|
|
82
|
-
artifact: string;
|
|
83
|
-
path: string;
|
|
84
|
-
}
|
|
85
|
-
export declare function placeholderResidualCheck(artifacts: Record<string, unknown>): {
|
|
86
|
-
hits: PlaceholderResidualHit[];
|
|
87
|
-
} | null;
|
|
88
|
-
export interface AllocatorCriteriaIssue {
|
|
89
|
-
row: string;
|
|
90
|
-
field: string;
|
|
91
|
-
problem: string;
|
|
92
|
-
}
|
|
93
|
-
export declare function allocatorCriteriaDryRun(artifacts: Record<string, unknown>): {
|
|
94
|
-
hits: AllocatorCriteriaIssue[];
|
|
95
|
-
} | null;
|
|
96
|
-
export declare function buildVerdict(summary: ReturnType<typeof scanSummary>, plan: Record<string, unknown>, mirrorGenerateHighGate?: boolean, freshness?: StaleBuildDisclosure): {
|
|
97
|
-
buildable: boolean;
|
|
98
|
-
blockers: string[];
|
|
99
|
-
status: "READY" | "BLOCKED" | "UNVERIFIED";
|
|
100
|
-
};
|
|
101
|
-
export declare function planNextAction(plan: Record<string, unknown>, retryAction: string, verdict?: {
|
|
102
|
-
buildable: boolean;
|
|
103
|
-
blockers: string[];
|
|
104
|
-
}, freshness?: StaleBuildDisclosure): string;
|
|
105
|
-
export interface RewardPoolPrefill {
|
|
106
|
-
fee_key: "review_reward_pool";
|
|
107
|
-
value: number;
|
|
108
|
-
claim_source?: "semantic_ir";
|
|
109
|
-
}
|
|
110
|
-
export declare function extractRewardPoolCandidate(description: string | undefined): number | undefined;
|
|
111
|
-
export interface NumericFeePrefill {
|
|
112
|
-
fee_key: string;
|
|
113
|
-
value: number;
|
|
114
|
-
claim_source?: "semantic_ir";
|
|
115
|
-
}
|
|
116
|
-
export declare function extractFundingThresholdCandidate(description: string | undefined): number | undefined;
|
|
117
|
-
export declare function extractMinOrderCandidate(description: string | undefined): number | undefined;
|
|
118
|
-
export { validateAllocatorRows };
|
|
119
|
-
export declare function variantPaymentModel(t: IndustryTemplate): "milestone" | "subscription" | "escrow";
|
|
120
|
-
export declare function variantDeliverables(t: IndustryTemplate, traits: IndustryMode["traits"] | undefined): DeliverableDefinition[];
|
|
121
|
-
export declare function handleBenchmarkMigrationOperation(args: unknown): Promise<ToolDispatchResult>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{describe,expect,it}from'vitest';import{declareDispatchExpectation}from'./dispatch-expectations.js';import{verify}from'../../harness/verify.js';function expectFor(a,b){const c=declareDispatchExpectation(a,b);return expect(c)['toBeDefined'](),c['expected'];}const FAILED_ACTUAL={'result_type':'transaction','semantic':{'intent':'x','status':'failed'},'error':'Move\x20abort:\x20guard\x20rejected'};describe('declareDispatchExpectation\x20—\x20order\x20(docs#26\x20residual\x20#2)',()=>{it('progress\x20forward\x20on\x20an\x20existing\x20order\x20expects\x20a\x20mutation,\x20never\x20a\x20creation',()=>{const a=expectFor('order',{'object':'0xorder','progress':{'operation':{'next_node_name':'cancelled_late_build','forward':'cancel_late'}}});expect(a['semantic_created'])['toBeUndefined'](),expect(a['semantic_modified'])['toEqual']([{'role':'Order'}]),expect(a['events'])['toEqual']([{'type':'ProgressEvent','expect_count':'>=1'}]);const b=verify({'expected':{'operation':'order','intent':'advance\x20order','pre_conditions':[],'expected':a},'actual':FAILED_ACTUAL});for(const c of b['mismatches']){expect(c['detail'])['not']['toContain']('Expected\x20to\x20create\x20object\x20with\x20role\x20\x27Order\x27');}expect(b['mismatches']['some'](d=>d['dimension']==='modified'))['toBe'](!![]);}),it('arb_confirm\x20routes\x20to\x20the\x20arbitration\x20branch\x20(old\x20data?.arb\x20matched\x20nothing)',()=>{const a=expectFor('order',{'object':'0xorder','arb_confirm':{'arb':'0xarb','confirm':!![]}});expect(a['semantic_created'])['toBeUndefined'](),expect(a['state_transition'])['toEqual']({'from':'ordered','to':'arbitration'}),expect(a['events'])['toEqual']([{'type':'ArbEvent','expect_count':'>=1'}]);}),it('arb_objection\x20/\x20arb_claim_compensation\x20expect\x20an\x20Order\x20mutation',()=>{const a=expectFor('order',{'object':'0xorder','arb_objection':{'arb':'0xarb','objection':'appeal'}});expect(a['semantic_created'])['toBeUndefined'](),expect(a['semantic_modified'])['toEqual']([{'role':'Order'}]);const b=expectFor('order',{'object':'0xorder','arb_claim_compensation':{'arb':'0xarb'}});expect(b['semantic_created'])['toBeUndefined'](),expect(b['semantic_modified'])['toEqual']([{'role':'Order'}]);}),it('metadata\x20sub-ops\x20(agent/transfer_to)\x20never\x20expect\x20an\x20Order\x20creation',()=>{const a=expectFor('order',{'object':'0xorder','agent':'0xagent'});expect(a['semantic_created'])['toBeUndefined'](),expect(a['semantic_modified'])['toEqual']([{'role':'Order'}]);});}),describe('declareDispatchExpectation\x20—\x20service\x20purchase\x20(order_new)',()=>{it('order_new\x20is\x20a\x20purchase:\x20created\x20Order\x20+\x20payment\x20release,\x20not\x20\x27modify\x20service\x27',()=>{const a=expectFor('service',{'object':'0xservice','order_new':{'buy':{'name':'svc','items':[],'total_pay':{'fixed':'100'}}}});expect(a['semantic_created'])['toEqual']([{'role':'Order'}]),expect(a['semantic_released'])['toEqual']([{'role':'payment'}]),expect(a['events'])['toEqual']([{'type':'NewOrderEvent','expect_count':'>=1'}]);}),it('plain\x20service\x20modification\x20keeps\x20the\x20modified\x20expectation',()=>{const a=expectFor('service',{'object':'0xservice','description':'updated'});expect(a['semantic_created'])['toBeUndefined'](),expect(a['semantic_modified'])['toEqual']([{'role':'Service'}]);});}),describe('declareDispatchExpectation\x20—\x20reward\x20(dead\x20coin/add\x20predicates)',()=>{it('coin_add\x20funds\x20an\x20existing\x20reward\x20instead\x20of\x20expecting\x20a\x20creation',()=>{const a=expectFor('reward',{'object':'0xreward','coin_add':{'coin':'0x2::wow::WOW','pay':{'fixed':'500'}}});expect(a['semantic_created'])['toBeUndefined'](),expect(a['events'])['toEqual']([{'type':'RewardFundEvent','expect_count':'>=1'}]);}),it('configuration\x20on\x20an\x20existing\x20reward\x20(string\x20object)\x20expects\x20a\x20mutation',()=>{const a=expectFor('reward',{'object':'0xreward','description':'d'});expect(a['semantic_created'])['toBeUndefined'](),expect(a['semantic_modified'])['toEqual']([{'role':'Reward'}]);}),it('inline\x20object\x20definition\x20still\x20expects\x20a\x20creation',()=>{const a=expectFor('reward',{'object':{'name':'my-reward'},'claim':'0xguard'}),b=expectFor('reward',{'object':{'name':'my-reward'}});expect(b['semantic_created'])['toEqual']([{'role':'Reward'}]),expect(a['semantic_released'])['toEqual']([{'role':'reward'}]);});}),describe('declareDispatchExpectation\x20—\x20demand\x20(dual-mode\x20object)',()=>{it('description\x20update\x20on\x20an\x20existing\x20demand\x20expects\x20a\x20mutation,\x20not\x20a\x20creation',()=>{const a=expectFor('demand',{'object':'0xdemand','description':'d'});expect(a['semantic_created'])['toBeUndefined'](),expect(a['semantic_modified'])['toEqual']([{'role':'Demand'}]);}),it('present\x20keeps\x20the\x20DemandPresentEvent\x20expectation',()=>{const a=expectFor('demand',{'object':'0xdemand','present':{'recommend':'try\x20this','service':'0xsvc'}});expect(a['semantic_modified'])['toEqual']([{'role':'Demand'}]),expect(a['events'])['toEqual']([{'type':'DemandPresentEvent','expect_count':'>=1'}]);}),it('inline\x20object\x20definition\x20still\x20expects\x20a\x20creation',()=>{const a=expectFor('demand',{'object':{'name':'my-demand'}});expect(a['semantic_created'])['toEqual']([{'role':'Demand'}]);});}),describe('declareDispatchExpectation\x20—\x20treasury\x20(unconditional\x20release\x20fall-through)',()=>{it('external_deposit_guard\x20on\x20an\x20existing\x20treasury\x20is\x20a\x20mutation,\x20no\x20fund\x20release',()=>{const a=expectFor('treasury',{'object':'0xtreasury','external_deposit_guard':'0xguard'});expect(a['semantic_released'])['toBeUndefined'](),expect(a['semantic_modified'])['toEqual']([{'role':'Treasury'}]);}),it('deposit\x20/\x20withdraw\x20keep\x20their\x20fund-movement\x20expectations',()=>{const a=expectFor('treasury',{'object':'0xtreasury','deposit':{'coin':'0x2::wow::WOW','pay':{'fixed':'1'}}});expect(a['semantic_released'])['toEqual']([{'role':'deposit'}]);const b=expectFor('treasury',{'object':'0xtreasury','withdraw':{'amount':{'fixed':'1'},'recipient':'0xa'}});expect(b['semantic_released'])['toEqual']([{'role':'release'}]);}),it('inline\x20object\x20definition\x20still\x20expects\x20a\x20creation',()=>{const a=expectFor('treasury',{'object':{'name':'my-treasury'}});expect(a['semantic_created'])['toEqual']([{'role':'Treasury'}]);});});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type MonitorEventStore } from "../../monitor/EventStore.js";
|
|
2
|
-
import type { ToolDispatchResult } from "../types.js";
|
|
3
|
-
export interface AssessKpiDeps {
|
|
4
|
-
events: Pick<MonitorEventStore, "list">;
|
|
5
|
-
resolveNetwork: (network?: string) => Promise<string>;
|
|
6
|
-
}
|
|
7
|
-
export declare function setAssessKpiDeps(deps?: AssessKpiDeps): void;
|
|
8
|
-
export declare function handleEmployeeOperation(args: unknown): Promise<ToolDispatchResult>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|