@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 +1 @@
|
|
|
1
|
-
export const MOVE_FUNCTIONS={'allocation':['alloc','alloc_batch','allocator_add','allocators','allocators_guard_at','allocators_length','assert_allocation_mode','assert_allocators_extension','assert_allocators_matched','assert_allocators_not_empty','create','formula_spec','formula_spec_set','new_with_balance','new_with_coin','receive','receive_new','sharing_for_address','sharing_for_guard_identifier','sharing_for_signer','sharing_imp'],'arb':['arbitration','arbitration_address','arbitrator_confirm','assert_objection_round_budget','assert_permission','dedupe_indices','description_change','emit_arb_event','feedback','finish','indemnity_cap_base','is_concluded','is_dismissal','new','normalize_votes','objection','principal_confirm','proposition','proposition_change','reset','statement','status','vote','voting_deadline_change','withdraw'],'arbitration':['arb_withdraw','arb_withdraw_with_passport','arbitration','arbitration_event_emit','arbitration_imp','arbitration_with_passport','compensate','confirm','confirm_imp','confirm_with_passport','description_set','description_set_imp','description_set_with_passport','dispute','dispute_with_passport','fee_set','fee_set_imp','fee_set_with_passport','feed_back_imp','feedback','feedback_with_passport','fees_alloc','fees_alloc_with_passport','fees_transfer','fees_transfer_imp','fees_transfer_with_passport','location_set','location_set_imp','location_set_with_passport','new','new_imp','new_with_passport','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','pause','pause_imp','pause_with_passport','permission','permission_set','reset','reset_imp','reset_with_passport','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport','usage_guard_none','usage_guard_none_imp','usage_guard_none_with_passport','usage_guard_set','usage_guard_set_imp','usage_guard_set_with_passport','vote','vote_imp','vote_imp_','vote_with_passport','vote_with_voting_guard','voting_deadline_change','voting_deadline_change_imp','voting_deadline_change_with_passport','voting_guard_add_by_id_add_with_passport','voting_guard_add_imp','voting_guard_by_id_add','voting_guard_clear','voting_guard_clear_imp','voting_guard_clear_with_passport','voting_guard_fixed_add','voting_guard_fixed_add_with_passport','voting_guard_remove','voting_guard_remove_imp','voting_guard_remove_with_passport','withdraw_imp'],'common':['assert_service_object_type','assert_valid_value','de_address','de_address_compatible','de_number','de_u64','is_number_type','is_number_type2','is_type_address_compatible','is_valid_value','is_value_type','object_type_as_u8','object_type_from_u8','truncate_utf8_chars','value_type_as_u8','value_type_from_u8'],'parent_linked_table':['back','borrow','borrow_mut','contains','front','is_empty','length','new','next','pop_back','pop_front','prev','push_back','push_front','remove'],'parent_table':['add','borrow','borrow_mut','contains','is_empty','length','new','remove'],'parent_table_vec':['borrow','borrow_mut','empty','is_empty','length','pop_back','push_back','singleton','swap','swap_remove'],'util':['is_chiild_object_address_byte','is_child_object_address','is_object_address','is_object_address_byte','is_user_address','is_user_address_byte'],'contact':['change_status','create','description_set','description_set_imp','description_set_with_passport','im_add','im_add_imp','im_add_with_passport','im_clear','im_clear_imp','im_clear_with_passport','im_remove','im_remove_imp','im_remove_with_passport','location_set','location_set_imp','location_set_with_passport','new','new_imp','new_with_passport','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','permission_set','permission_um_set'],'demand':['demand_changed_event_emit','description_set','description_set_imp','description_set_with_passport','feedback','feedback_imp','feedback_with_passport','guard_add','guard_add_imp','guard_add_with_passport','guard_clear','guard_clear_imp','guard_clear_with_passport','guard_remove','guard_remove_imp','guard_remove_with_passport','location_set','location_set_imp','location_set_with_passport','new','new_imp','new_with_passport','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','permission_set','present','present_imp','present_service','present_service_with_passport','present_with_passport','present_with_passport_imp','reward_add','reward_add_imp','reward_add_with_passport','reward_clear','reward_clear_imp','reward_clear_with_passport','reward_remove','reward_remove_imp','reward_remove_with_passport','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport'],'entity_contact':['contact_add','contact_remove','contact_remove_imp','create'],'entity_order':['create','order_role_remove_imp','role_add','role_agent','role_move','role_owner','role_remove'],'entity_permission':['create','permission_role_remove_imp','role_add','role_admin','role_entity','role_move','role_owner','role_remove'],'guard':['assert_submission_object_type','create','create_imp','get_submission_object_type','get_submission_value_type','has_identifier','has_submissions','is_depended','is_identifier_address','is_identifier_address_compatible','is_immutable','is_submission_retained','make_submissions','new','parse_constant_data_modules','relies','relies_add','relies_clear','relies_logic_and','relies_remove','rep','submission','submission_slot_defects','submission_value','table_item','try_submission_value','validate_guard_data'],'machine':['assert_not_published','assert_publishable','assert_published','consensus_repositories_add','consensus_repositories_add_imp','consensus_repositories_add_with_passport','consensus_repositories_clear','consensus_repositories_clear_imp','consensus_repositories_clear_with_passport','consensus_repositories_remove','consensus_repositories_remove_imp','consensus_repositories_remove_with_passport','description_set','description_set_imp','description_set_with_passport','forward','forward_remove','forward_remove2','forward_with_guard','forwards_add','forwards_add_imp','forwards_add_with_passport','forwards_remove','forwards_remove_imp','forwards_remove_with_passport','info_borrow','init_node_name','is_init_node_name','new','new_imp','new_with_passport','node','node2','node3','node_add','node_add2','node_add2_with_passport','node_add_imp','node_add_imp_','node_add_single','node_add_with_passport','node_clear','node_clear_imp','node_clear_with_passport','node_exchange_name','node_exchange_name_imp','node_exchange_name_with_passport','node_remove','node_remove2','node_remove2_with_passport','node_remove_imp','node_remove_imp_','node_remove_single','node_remove_with_passport','node_rename','node_rename_imp','node_rename_with_passport','nodepair','nodepair2','nodepair3','nodepair_add','nodepair_exchange_name_imp','nodepair_remove','nodepair_remove2','nodepair_remove_imp','nodepair_rename_imp','nodepair_threshold_set','on_progress_new','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','pause','pause_imp','pause_with_passport','permission_id','permission_set','prev_nodes_remove','prev_nodes_remove_imp','prev_nodes_remove_with_passport','publish','publish_imp','publish_with_passport','threshold_get','threshold_set','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport'],'object_linker':['affiliation_change_core','affiliation_change_tx','affiliation_core','affiliation_tx','create','disaffiliation_core','disaffiliation_tx'],'order':['agent_set','agent_set_imp','amount','assert_not_claimed','assert_op_permission','assert_owner','compensate','conclude','destroy_for_testing','discount','dispute','disputes_for_testing','has_op_permission','has_op_permission_by_address','has_open_dispute','item','item_name','item_price','item_quantity','items','mark_principal_refunded_imp','new','on_allocation','on_progress','owner','owner_change','owner_change_imp','owner_receive','owner_receive_object','principal_refunded','principal_refunded_amount','required_info_bind','required_info_for_testing','required_info_update','service'],'passport':['calculate_relies_result','destroy','failed_impack_guard','freezen','guard_add','guard_clear','guard_table_item','has_impack_guard','mark_verified_for_testing','new','result','result_for_guard','result_for_permission','submission_get','submission_try','submissions_get','verify','verify_guard','verify_guard_failure_legs','verify_guard_failure_legs_imp','verify_strict'],'payment':['assert_count','create','for_object','from_object_set','from_object_set2','has_recipient','new','new_inner','new_self','new_singleton','new_singleton2','payment_info','payment_info2','payment_info2_with_guard','payment_info_imp','payment_info_with_guard','payment_signer','transfer_multi_imp','unwrap','unwrap_to_myself','unwrap_with_check'],'permission':['admin_add','admin_remove','admin_set','assert_admin','assert_owner','assert_permission','assert_permission_with_passport','assert_permission_with_sender','assert_rebind','assert_with_passport','assert_with_sender','create','description_set','emit_changed','entity_add','entity_copy','entity_del','entity_remove','entity_replace','entity_set','entity_swap','has_permission','has_permission_idchecked','new','owner_receive','owner_receive_inner','owner_receive_object','perm_add','perm_remove','perm_set','remark_clear','remark_remove','remark_set','sender_has_permission','sender_has_permission_idcheck','transfer','um_none','um_set'],'progress':['assert_task_binding','assert_task_is_order','context_repository_add','context_repository_add_imp','context_repository_add_with_passport','context_repository_clear','context_repository_clear_imp','context_repository_clear_with_passport','context_repository_remove','context_repository_remove_imp','context_repository_remove_with_passport','hold','hold_imp','hold_imp_with_passport','hold_with_passport','named','new','new_imp','new_with_passport','next','next_imp','next_with_passport','next_with_passport_imp','order_hold','order_hold_with_passport','order_next','order_next_with_passport','order_owner_set','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','session_accomplish','session_accomplish_imp','session_hold','task_set','task_set_imp','task_set_with_passport','unhold','unhold_with_passport'],'proof':['about','create_for_testing','create_wowok_proof','create_wowok_proof_imp','creator','destroy_for_testing'],'registrar':['clear_favor','clear_vote','create','dislike','entity_cancel','entity_description_set','entity_info_add','entity_info_clear','entity_info_remove','entity_new','entity_register','entity_register_with_resource_forced','entity_resource_destroy','entity_resource_transfer','entity_resource_use','favor','find_vote','handle_vote','is_all_votes_cleared','is_dislike_set','is_favor_set','is_like_set','like','record','record_add','set_dislike','set_favor','set_like','toggle_dislike','toggle_favor','toggle_like','toggle_vote','vote_name'],'repository':['assert_id_from','data_add_imp','data_batch_imp','data_batch_remove_imp','data_remove_imp','data_remove_when_id_from_set','data_remove_when_id_from_set_with_passport','data_when_id_from_set','data_when_id_from_set_with_passport','description_set','description_set_imp','description_set_with_passport','formula_count','formula_count_where','formula_sum','formula_sum_bound','formula_sum_where','formula_sum_where_bound','gen_id','has_order_tag','id_data','id_data_mixed_remove_with_passport','id_data_mixed_with_passport','id_data_remove','id_data_remove_with_passport','id_data_with_passport','new','new_imp','new_with_passport','order_tag_data_remove_with_passport','order_tag_data_with_passport','order_tag_validate_and_key','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','permission_set','policy','policy_add','policy_add_imp','policy_add_with_passport','policy_by_name','policy_clear','policy_clear_imp','policy_clear_with_passport','policy_guard','policy_quote_guard_none','policy_quote_guard_set','policy_remove','policy_remove_imp','policy_remove_with_passport','policy_set','policy_set_imp','policy_set_with_passport','policy_write_guard_add','policy_write_guard_clear','policy_write_guard_has','policy_write_guard_set','reward_add','reward_add_imp','reward_add_with_passport','reward_clear','reward_clear_imp','reward_clear_with_passport','reward_remove','reward_remove_imp','reward_remove_with_passport','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport'],'resource':['add_object_tags','destroy','new','remove_object','remove_object_tags','switch','tag_set','tag_unset','transfer'],'reward':['claim','claim_imp','coin_add','coin_add_imp','coin_add_with_passport','create','description_set','description_set_imp','description_set_with_passport','evidence_bind','evidence_bind_imp','evidence_bound','evidence_count','evidence_unbind','evidence_unbind_imp','guard_add','guard_add_imp','guard_add_with_passport','guard_entity_u64','guard_entity_u8','guard_expiration_time_add','guard_expiration_time_add_imp','guard_expiration_time_add_with_passport','guard_remove','guard_remove_expired','guard_remove_expired_imp','guard_remove_expired_with_passport','guard_remove_imp','guard_remove_with_passport','guard_signer_u64','guard_signer_u8','guard_u8_u64','guard_u8_u8','new','new_imp','new_with_passport','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','permission_set','receive','receive_imp','receive_with_passport','reward_guard','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport','withdraw','withdraw_and_unwrap','withdraw_and_unwrap_imp','withdraw_and_unwrap_with_passport','withdraw_imp','withdraw_precheck','withdraw_with_passport'],'service':['apply_discount','arb_statement','arb_statement_imp','arb_statement_with_passport','arbitration_add','arbitration_add_imp','arbitration_add_with_passport','arbitration_clear','arbitration_clear_imp','arbitration_clear_with_passport','arbitration_remove','arbitration_remove_imp','arbitration_remove_with_passport','assert_discount_type','assert_not_published','buy','buy2','buy2_imp','buy2_with_passport','buy_guard_none','buy_guard_none_imp','buy_guard_none_with_passport','buy_guard_set','buy_guard_set_imp','buy_guard_set_with_passport','buy_with_passport','case_conclude','compensation_claim','compensation_fund_add','compensation_fund_add_imp','compensation_fund_add_with_passport','compensation_fund_receive','compensation_fund_receive_with_passport','compensation_fund_withdraw','compensation_fund_withdraw_imp','compensation_fund_withdraw_with_passport','custom_required_info_set','custom_required_info_set_imp','custom_required_info_set_with_passport','decrement_stock','description_set','description_set_imp','description_set_with_passport','discount','discount_destroy','discount_send','discount_send_singleton','discount_with_passport','discounts','dispute','dispute_with_passport','location_set','location_set_imp','location_set_with_passport','machine_none','machine_none_imp','machine_none_with_passport','machine_set','machine_set_imp','machine_set_with_passport','new','new_imp','new_with_passport','order_allocation','order_allocators_append','order_allocators_append_imp','order_allocators_append_with_passport','order_allocators_set','order_allocators_set_imp','order_allocators_set_with_passport','order_progress','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','pause','pause_imp','pause_with_passport','permission_set','price_add','price_add_imp','price_add_with_passport','price_reduce','price_reduce_imp','price_reduce_with_passport','publish','publish_imp','publish_with_passport','quote','quote2','quote2_with_discount','quote_calc','quote_item','quote_with_discount','receive_imp','repository_add','repository_add_imp','repository_add_with_passport','repository_clear','repository_clear_imp','repository_clear_with_passport','repository_remove','repository_remove_imp','repository_remove_with_passport','restock_applied','restock_flag_set','restock_for_order','reward_add','reward_add_imp','reward_add_with_passport','reward_clear','reward_clear_imp','reward_clear_with_passport','reward_remove','reward_remove_imp','reward_remove_with_passport','sale','sale_borrow','sale_borrow_mut','sale_suspension','sale_suspension_imp','sale_suspension_with_passport','sales_add','sales_add_imp','sales_add_with_passport','sales_clear','sales_clear_imp','sales_clear_with_passport','sales_remove','sales_remove_imp','sales_remove_with_passport','sales_set','sales_set_imp','sales_set_with_passport','service_event_emit','setting_lock_duration_add','setting_lock_duration_add_imp','setting_lock_duration_add_with_passport','stock_add','stock_add_imp','stock_add_with_passport','stock_reduce','stock_reduce_imp','stock_reduce_with_passport','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport'],'treasury':['deposit','deposit2','deposit2_with_passport','deposit_imp','deposit_imp_','deposit_with_passport','description_set','description_set_imp','description_set_with_passport','external_deposit','external_deposit_guard_add','external_deposit_guard_add_imp','external_deposit_guard_add_with_passport','external_deposit_guard_clear','external_deposit_guard_clear_imp','external_deposit_guard_clear_with_passport','external_deposit_guard_remove','external_deposit_guard_remove_imp','external_deposit_guard_remove_with_passport','external_withdraw','external_withdraw_guard_add','external_withdraw_guard_add_imp','external_withdraw_guard_add_with_passport','external_withdraw_guard_clear','external_withdraw_guard_clear_imp','external_withdraw_guard_clear_with_passport','external_withdraw_guard_remove','external_withdraw_guard_remove_imp','external_withdraw_guard_remove_with_passport','inflow','join_coins','new','new_imp','new_with_passport','outflow','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','permission_set','receive','receive_imp','receive_with_passport','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport','withdraw','withdraw_imp','withdraw_with_passport']};export const MOVE_MODULE_NAMES=['allocation','arb','arbitration','common','contact','demand','entity_contact','entity_order','entity_permission','guard','machine','object_linker','order','parent_linked_table','parent_table','parent_table_vec','passport','payment','permission','progress','proof','registrar','repository','resource','reward','service','treasury','util'];export const MOVE_DISTINCTIVE_FN_NAMES=['add_object_tags','admin_add','admin_remove','admin_set','affiliation_change_core','affiliation_change_tx','affiliation_core','affiliation_tx','agent_set','agent_set_imp','alloc_batch','allocator_add','allocators_guard_at','allocators_length','apply_discount','arb_statement','arb_statement_imp','arb_statement_with_passport','arb_withdraw','arb_withdraw_with_passport','arbitration_add','arbitration_add_imp','arbitration_add_with_passport','arbitration_address','arbitration_clear','arbitration_clear_imp','arbitration_clear_with_passport','arbitration_event_emit','arbitration_imp','arbitration_remove','arbitration_remove_imp','arbitration_remove_with_passport','arbitration_with_passport','arbitrator_confirm','assert_admin','assert_allocation_mode','assert_allocators_extension','assert_allocators_matched','assert_allocators_not_empty','assert_count','assert_discount_type','assert_id_from','assert_not_claimed','assert_not_published','assert_objection_round_budget','assert_op_permission','assert_owner','assert_permission','assert_permission_with_passport','assert_permission_with_sender','assert_publishable','assert_published','assert_rebind','assert_service_object_type','assert_submission_object_type','assert_task_binding','assert_task_is_order','assert_valid_value','assert_with_passport','assert_with_sender','borrow_mut','buy2_imp','buy2_with_passport','buy_guard_none','buy_guard_none_imp','buy_guard_none_with_passport','buy_guard_set','buy_guard_set_imp','buy_guard_set_with_passport','buy_with_passport','calculate_relies_result','case_conclude','change_status','claim_imp','clear_favor','clear_vote','coin_add','coin_add_imp','coin_add_with_passport','compensation_claim','compensation_fund_add','compensation_fund_add_imp','compensation_fund_add_with_passport','compensation_fund_receive','compensation_fund_receive_with_passport','compensation_fund_withdraw','compensation_fund_withdraw_imp','compensation_fund_withdraw_with_passport','confirm_imp','confirm_with_passport','consensus_repositories_add','consensus_repositories_add_imp','consensus_repositories_add_with_passport','consensus_repositories_clear','consensus_repositories_clear_imp','consensus_repositories_clear_with_passport','consensus_repositories_remove','consensus_repositories_remove_imp','consensus_repositories_remove_with_passport','contact_add','contact_remove','contact_remove_imp','context_repository_add','context_repository_add_imp','context_repository_add_with_passport','context_repository_clear','context_repository_clear_imp','context_repository_clear_with_passport','context_repository_remove','context_repository_remove_imp','context_repository_remove_with_passport','create_for_testing','create_imp','create_wowok_proof','create_wowok_proof_imp','custom_required_info_set','custom_required_info_set_imp','custom_required_info_set_with_passport','data_add_imp','data_batch_imp','data_batch_remove_imp','data_remove_imp','data_remove_when_id_from_set','data_remove_when_id_from_set_with_passport','data_when_id_from_set','data_when_id_from_set_with_passport','de_address','de_address_compatible','de_number','de_u64','decrement_stock','dedupe_indices','demand_changed_event_emit','deposit2_with_passport','deposit_imp','deposit_imp_','deposit_with_passport','description_change','description_set','description_set_imp','description_set_with_passport','destroy_for_testing','disaffiliation_core','disaffiliation_tx','discount_destroy','discount_send','discount_send_singleton','discount_with_passport','dispute_with_passport','disputes_for_testing','emit_arb_event','emit_changed','entity_add','entity_cancel','entity_copy','entity_del','entity_description_set','entity_info_add','entity_info_clear','entity_info_remove','entity_new','entity_register','entity_register_with_resource_forced','entity_remove','entity_replace','entity_resource_destroy','entity_resource_transfer','entity_resource_use','entity_set','entity_swap','evidence_bind','evidence_bind_imp','evidence_bound','evidence_count','evidence_unbind','evidence_unbind_imp','external_deposit','external_deposit_guard_add','external_deposit_guard_add_imp','external_deposit_guard_add_with_passport','external_deposit_guard_clear','external_deposit_guard_clear_imp','external_deposit_guard_clear_with_passport','external_deposit_guard_remove','external_deposit_guard_remove_imp','external_deposit_guard_remove_with_passport','external_withdraw','external_withdraw_guard_add','external_withdraw_guard_add_imp','external_withdraw_guard_add_with_passport','external_withdraw_guard_clear','external_withdraw_guard_clear_imp','external_withdraw_guard_clear_with_passport','external_withdraw_guard_remove','external_withdraw_guard_remove_imp','external_withdraw_guard_remove_with_passport','failed_impack_guard','fee_set','fee_set_imp','fee_set_with_passport','feed_back_imp','feedback_imp','feedback_with_passport','fees_alloc','fees_alloc_with_passport','fees_transfer','fees_transfer_imp','fees_transfer_with_passport','find_vote','for_object','formula_count','formula_count_where','formula_spec','formula_spec_set','formula_sum','formula_sum_bound','formula_sum_where','formula_sum_where_bound','forward_remove','forward_remove2','forward_with_guard','forwards_add','forwards_add_imp','forwards_add_with_passport','forwards_remove','forwards_remove_imp','forwards_remove_with_passport','from_object_set','from_object_set2','gen_id','get_submission_object_type','get_submission_value_type','guard_add','guard_add_imp','guard_add_with_passport','guard_clear','guard_clear_imp','guard_clear_with_passport','guard_entity_u64','guard_entity_u8','guard_expiration_time_add','guard_expiration_time_add_imp','guard_expiration_time_add_with_passport','guard_remove','guard_remove_expired','guard_remove_expired_imp','guard_remove_expired_with_passport','guard_remove_imp','guard_remove_with_passport','guard_signer_u64','guard_signer_u8','guard_table_item','guard_u8_u64','guard_u8_u8','handle_vote','has_identifier','has_impack_guard','has_op_permission','has_op_permission_by_address','has_open_dispute','has_order_tag','has_permission','has_permission_idchecked','has_recipient','has_submissions','hold_imp','hold_imp_with_passport','hold_with_passport','id_data','id_data_mixed_remove_with_passport','id_data_mixed_with_passport','id_data_remove','id_data_remove_with_passport','id_data_with_passport','im_add','im_add_imp','im_add_with_passport','im_clear','im_clear_imp','im_clear_with_passport','im_remove','im_remove_imp','im_remove_with_passport','indemnity_cap_base','info_borrow','init_node_name','is_all_votes_cleared','is_chiild_object_address_byte','is_child_object_address','is_concluded','is_depended','is_dislike_set','is_dismissal','is_empty','is_favor_set','is_identifier_address','is_identifier_address_compatible','is_immutable','is_init_node_name','is_like_set','is_number_type','is_number_type2','is_object_address','is_object_address_byte','is_submission_retained','is_type_address_compatible','is_user_address','is_user_address_byte','is_valid_value','is_value_type','item_name','item_price','item_quantity','join_coins','location_set','location_set_imp','location_set_with_passport','machine_none','machine_none_imp','machine_none_with_passport','machine_set','machine_set_imp','machine_set_with_passport','make_submissions','mark_principal_refunded_imp','mark_verified_for_testing','new_imp','new_inner','new_self','new_singleton','new_singleton2','new_with_balance','new_with_coin','new_with_passport','next_imp','next_with_passport','next_with_passport_imp','node_add','node_add2','node_add2_with_passport','node_add_imp','node_add_imp_','node_add_single','node_add_with_passport','node_clear','node_clear_imp','node_clear_with_passport','node_exchange_name','node_exchange_name_imp','node_exchange_name_with_passport','node_remove','node_remove2','node_remove2_with_passport','node_remove_imp','node_remove_imp_','node_remove_single','node_remove_with_passport','node_rename','node_rename_imp','node_rename_with_passport','nodepair_add','nodepair_exchange_name_imp','nodepair_remove','nodepair_remove2','nodepair_remove_imp','nodepair_rename_imp','nodepair_threshold_set','normalize_votes','object_type_as_u8','object_type_from_u8','on_allocation','on_progress','on_progress_new','order_allocation','order_allocators_append','order_allocators_append_imp','order_allocators_append_with_passport','order_allocators_set','order_allocators_set_imp','order_allocators_set_with_passport','order_hold','order_hold_with_passport','order_next','order_next_with_passport','order_owner_set','order_progress','order_role_remove_imp','order_tag_data_remove_with_passport','order_tag_data_with_passport','order_tag_validate_and_key','owner_change','owner_change_imp','owner_receive','owner_receive_imp','owner_receive_inner','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','parse_constant_data_modules','pause_imp','pause_with_passport','payment_info','payment_info2','payment_info2_with_guard','payment_info_imp','payment_info_with_guard','payment_signer','perm_add','perm_remove','perm_set','permission_id','permission_role_remove_imp','permission_set','permission_um_set','policy_add','policy_add_imp','policy_add_with_passport','policy_by_name','policy_clear','policy_clear_imp','policy_clear_with_passport','policy_guard','policy_quote_guard_none','policy_quote_guard_set','policy_remove','policy_remove_imp','policy_remove_with_passport','policy_set','policy_set_imp','policy_set_with_passport','policy_write_guard_add','policy_write_guard_clear','policy_write_guard_has','policy_write_guard_set','pop_back','pop_front','present_imp','present_service','present_service_with_passport','present_with_passport','present_with_passport_imp','prev_nodes_remove','prev_nodes_remove_imp','prev_nodes_remove_with_passport','price_add','price_add_imp','price_add_with_passport','price_reduce','price_reduce_imp','price_reduce_with_passport','principal_confirm','principal_refunded','principal_refunded_amount','proposition_change','publish_imp','publish_with_passport','push_back','push_front','quote2_with_discount','quote_calc','quote_item','quote_with_discount','receive_imp','receive_new','receive_with_passport','record_add','relies_add','relies_clear','relies_logic_and','relies_remove','remark_clear','remark_remove','remark_set','remove_object','remove_object_tags','repository_add','repository_add_imp','repository_add_with_passport','repository_clear','repository_clear_imp','repository_clear_with_passport','repository_remove','repository_remove_imp','repository_remove_with_passport','required_info_bind','required_info_for_testing','required_info_update','reset_imp','reset_with_passport','restock_applied','restock_flag_set','restock_for_order','result_for_guard','result_for_permission','reward_add','reward_add_imp','reward_add_with_passport','reward_clear','reward_clear_imp','reward_clear_with_passport','reward_guard','reward_remove','reward_remove_imp','reward_remove_with_passport','role_add','role_admin','role_agent','role_entity','role_move','role_owner','role_remove','sale_borrow','sale_borrow_mut','sale_suspension','sale_suspension_imp','sale_suspension_with_passport','sales_add','sales_add_imp','sales_add_with_passport','sales_clear','sales_clear_imp','sales_clear_with_passport','sales_remove','sales_remove_imp','sales_remove_with_passport','sales_set','sales_set_imp','sales_set_with_passport','sender_has_permission','sender_has_permission_idcheck','service_event_emit','session_accomplish','session_accomplish_imp','session_hold','set_dislike','set_favor','set_like','setting_lock_duration_add','setting_lock_duration_add_imp','setting_lock_duration_add_with_passport','sharing_for_address','sharing_for_guard_identifier','sharing_for_signer','sharing_imp','stock_add','stock_add_imp','stock_add_with_passport','stock_reduce','stock_reduce_imp','stock_reduce_with_passport','submission_get','submission_slot_defects','submission_try','submission_value','submissions_get','swap_remove','table_item','tag_set','tag_unset','task_set','task_set_imp','task_set_with_passport','threshold_get','threshold_set','toggle_dislike','toggle_favor','toggle_like','toggle_vote','transfer_multi_imp','truncate_utf8_chars','try_submission_value','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport','unhold_with_passport','unwrap_to_myself','unwrap_with_check','usage_guard_none','usage_guard_none_imp','usage_guard_none_with_passport','usage_guard_set','usage_guard_set_imp','usage_guard_set_with_passport','validate_guard_data','value_type_as_u8','value_type_from_u8','verify_guard','verify_guard_failure_legs','verify_guard_failure_legs_imp','verify_strict','vote_imp','vote_imp_','vote_name','vote_with_passport','vote_with_voting_guard','voting_deadline_change','voting_deadline_change_imp','voting_deadline_change_with_passport','voting_guard_add_by_id_add_with_passport','voting_guard_add_imp','voting_guard_by_id_add','voting_guard_clear','voting_guard_clear_imp','voting_guard_clear_with_passport','voting_guard_fixed_add','voting_guard_fixed_add_with_passport','voting_guard_remove','voting_guard_remove_imp','voting_guard_remove_with_passport','withdraw_and_unwrap','withdraw_and_unwrap_imp','withdraw_and_unwrap_with_passport','withdraw_imp','withdraw_precheck','withdraw_with_passport'];
|
|
1
|
+
export const MOVE_FUNCTIONS={'allocation':['alloc','alloc_batch','allocator_add','allocators','allocators_guard_at','allocators_length','assert_allocation_mode','assert_allocators_extension','assert_allocators_matched','assert_allocators_not_empty','create','formula_spec','formula_spec_set','new_with_balance','new_with_coin','receive','receive_new','sharing_for_address','sharing_for_guard_identifier','sharing_for_signer','sharing_imp'],'arb':['arbitration','arbitration_address','arbitrator_confirm','assert_objection_round_budget','assert_permission','dedupe_indices','description_change','emit_arb_event','feedback','finish','indemnity_cap_base','is_concluded','is_dismissal','new','new_with_deadline','normalize_votes','objection','principal_confirm','proposition','proposition_change','reset','statement','status','vote','voting_deadline_change','withdraw'],'arbitration':['arb_withdraw','arb_withdraw_with_passport','arbitration','arbitration_event_emit','arbitration_imp','arbitration_with_passport','compensate','confirm','confirm_imp','confirm_with_passport','description_set','description_set_imp','description_set_with_passport','dispute','dispute_with_passport','fee_set','fee_set_imp','fee_set_with_passport','feed_back_imp','feedback','feedback_with_passport','fees_alloc','fees_alloc_with_passport','fees_transfer','fees_transfer_imp','fees_transfer_with_passport','filing_policy','filing_policy_read','filing_policy_set','location_set','location_set_imp','location_set_with_passport','new','new_imp','new_with_passport','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','pause','pause_imp','pause_with_passport','permission','permission_set','reset','reset_imp','reset_with_passport','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport','usage_guard_none','usage_guard_none_imp','usage_guard_none_with_passport','usage_guard_set','usage_guard_set_imp','usage_guard_set_with_passport','vote','vote_imp','vote_imp_','vote_with_passport','vote_with_voting_guard','voting_deadline_change','voting_deadline_change_imp','voting_deadline_change_with_passport','voting_guard_add_by_id_add_with_passport','voting_guard_add_imp','voting_guard_by_id_add','voting_guard_clear','voting_guard_clear_imp','voting_guard_clear_with_passport','voting_guard_fixed_add','voting_guard_fixed_add_with_passport','voting_guard_remove','voting_guard_remove_imp','voting_guard_remove_with_passport','withdraw_imp'],'common':['assert_service_object_type','assert_valid_value','de_address','de_address_compatible','de_number','de_u64','is_number_type','is_number_type2','is_type_address_compatible','is_valid_value','is_value_type','object_type_as_u8','object_type_from_u8','truncate_utf8_chars','value_type_as_u8','value_type_from_u8'],'parent_linked_table':['back','borrow','borrow_mut','contains','front','is_empty','length','new','next','pop_back','pop_front','prev','push_back','push_front','remove'],'parent_table':['add','borrow','borrow_mut','contains','is_empty','length','new','remove'],'parent_table_vec':['borrow','borrow_mut','empty','is_empty','length','pop_back','push_back','singleton','swap','swap_remove'],'util':['is_chiild_object_address_byte','is_child_object_address','is_object_address','is_object_address_byte','is_user_address','is_user_address_byte'],'contact':['change_status','create','description_set','description_set_imp','description_set_with_passport','im_add','im_add_imp','im_add_with_passport','im_clear','im_clear_imp','im_clear_with_passport','im_remove','im_remove_imp','im_remove_with_passport','location_set','location_set_imp','location_set_with_passport','new','new_imp','new_with_passport','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','permission_set','permission_um_set'],'demand':['demand_changed_event_emit','description_set','description_set_imp','description_set_with_passport','feedback','feedback_imp','feedback_with_passport','guard_add','guard_add_imp','guard_add_with_passport','guard_clear','guard_clear_imp','guard_clear_with_passport','guard_remove','guard_remove_imp','guard_remove_with_passport','location_set','location_set_imp','location_set_with_passport','new','new_imp','new_with_passport','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','permission_set','present','present_imp','present_service','present_service_with_passport','present_with_passport','present_with_passport_imp','reward_add','reward_add_imp','reward_add_with_passport','reward_clear','reward_clear_imp','reward_clear_with_passport','reward_remove','reward_remove_imp','reward_remove_with_passport','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport'],'entity_contact':['contact_add','contact_remove','contact_remove_imp','create'],'entity_order':['create','order_role_remove_imp','role_add','role_agent','role_move','role_owner','role_remove'],'entity_permission':['create','permission_role_remove_imp','role_add','role_admin','role_entity','role_move','role_owner','role_remove'],'guard':['assert_submission_object_type','create','create_imp','get_submission_object_type','get_submission_value_type','has_identifier','has_submissions','is_depended','is_identifier_address','is_identifier_address_compatible','is_immutable','is_submission_retained','make_submissions','new','parse_constant_data_modules','relies','relies_add','relies_clear','relies_logic_and','relies_remove','rep','submission','submission_slot_defects','submission_value','table_item','try_submission_value','validate_guard_data'],'machine':['assert_not_published','assert_publishable','assert_published','consensus_repositories_add','consensus_repositories_add_imp','consensus_repositories_add_with_passport','consensus_repositories_clear','consensus_repositories_clear_imp','consensus_repositories_clear_with_passport','consensus_repositories_remove','consensus_repositories_remove_imp','consensus_repositories_remove_with_passport','description_set','description_set_imp','description_set_with_passport','forward','forward_remove','forward_remove2','forward_with_guard','forwards_add','forwards_add_imp','forwards_add_with_passport','forwards_remove','forwards_remove_imp','forwards_remove_with_passport','info_borrow','init_node_name','is_init_node_name','new','new_imp','new_with_passport','node','node2','node3','node_add','node_add2','node_add2_with_passport','node_add_imp','node_add_imp_','node_add_single','node_add_with_passport','node_clear','node_clear_imp','node_clear_with_passport','node_exchange_name','node_exchange_name_imp','node_exchange_name_with_passport','node_remove','node_remove2','node_remove2_with_passport','node_remove_imp','node_remove_imp_','node_remove_single','node_remove_with_passport','node_rename','node_rename_imp','node_rename_with_passport','nodepair','nodepair2','nodepair3','nodepair_add','nodepair_exchange_name_imp','nodepair_remove','nodepair_remove2','nodepair_remove_imp','nodepair_rename_imp','nodepair_threshold_set','on_progress_new','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','pause','pause_imp','pause_with_passport','permission_id','permission_set','prev_nodes_remove','prev_nodes_remove_imp','prev_nodes_remove_with_passport','publish','publish_imp','publish_with_passport','threshold_get','threshold_set','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport'],'object_linker':['affiliation_change_core','affiliation_change_tx','affiliation_core','affiliation_tx','create','disaffiliation_core','disaffiliation_tx'],'order':['agent_set','agent_set_imp','amount','assert_not_claimed','assert_op_permission','assert_owner','compensate','conclude','destroy_for_testing','discount','dispute','disputes_for_testing','has_op_permission','has_op_permission_by_address','has_open_dispute','item','item_name','item_price','item_quantity','items','mark_principal_refunded_imp','new','on_allocation','on_progress','owner','owner_change','owner_change_imp','owner_receive','owner_receive_object','principal_refunded','principal_refunded_amount','required_info_bind','required_info_for_testing','required_info_update','service'],'passport':['calculate_relies_result','destroy','failed_impack_guard','freezen','guard_add','guard_clear','guard_table_item','has_impack_guard','mark_verified_for_testing','new','result','result_for_guard','result_for_permission','submission_get','submission_try','submissions_get','verify','verify_guard','verify_guard_failure_legs','verify_guard_failure_legs_imp','verify_strict'],'payment':['assert_count','create','for_object','from_object_set','from_object_set2','has_recipient','new','new_inner','new_self','new_singleton','new_singleton2','payment_info','payment_info2','payment_info2_with_guard','payment_info_imp','payment_info_with_guard','payment_signer','transfer_multi_imp','unwrap','unwrap_to_myself','unwrap_with_check'],'permission':['admin_add','admin_remove','admin_set','assert_admin','assert_owner','assert_permission','assert_permission_with_passport','assert_permission_with_sender','assert_rebind','assert_with_passport','assert_with_sender','create','description_set','emit_changed','entity_add','entity_copy','entity_del','entity_remove','entity_replace','entity_set','entity_swap','has_permission','has_permission_idchecked','new','owner_receive','owner_receive_inner','owner_receive_object','perm_add','perm_remove','perm_set','remark_clear','remark_remove','remark_set','sender_has_permission','sender_has_permission_idcheck','transfer','um_none','um_set'],'progress':['assert_task_binding','assert_task_is_order','assert_zombie_order','context_repository_add','context_repository_add_imp','context_repository_add_with_passport','context_repository_clear','context_repository_clear_imp','context_repository_clear_with_passport','context_repository_remove','context_repository_remove_imp','context_repository_remove_with_passport','hold','hold_imp','hold_imp_with_passport','hold_with_passport','named','new','new_imp','new_with_passport','next','next_imp','next_with_passport','next_with_passport_imp','order_hold','order_hold_with_passport','order_next','order_next_with_passport','order_next_with_passport_contribute','order_owner_set','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','session_accomplish','session_accomplish_imp','session_hold','task_set','task_set_imp','task_set_with_passport','unhold','unhold_with_passport'],'proof':['about','create_for_testing','create_wowok_proof','create_wowok_proof_imp','creator','destroy_for_testing'],'registrar':['clear_favor','clear_vote','create','dislike','entity_cancel','entity_description_set','entity_info_add','entity_info_clear','entity_info_remove','entity_new','entity_register','entity_register_with_resource_forced','entity_resource_destroy','entity_resource_transfer','entity_resource_use','favor','find_vote','handle_vote','is_all_votes_cleared','is_dislike_set','is_favor_set','is_like_set','like','record','record_add','set_dislike','set_favor','set_like','toggle_dislike','toggle_favor','toggle_like','toggle_vote','vote_name'],'repository':['assert_id_from','author_stamp_imp','author_stamp_remove_imp','builtin_contribute_imp','builtin_spec_arm','builtin_spec_none','builtin_spec_of','data_add_imp','data_author','data_author_of','data_batch_imp','data_batch_remove_imp','data_remove_imp','data_remove_when_id_from_set','data_remove_when_id_from_set_with_passport','data_when_id_from_set','data_when_id_from_set_with_passport','description_set','description_set_imp','description_set_with_passport','formula_count','formula_count_where','formula_sum','formula_sum_bound','formula_sum_where','formula_sum_where_bound','gen_id','goal_reached','goal_stamp_of','has_order_tag','id_data','id_data_mixed_remove_with_passport','id_data_mixed_with_passport','id_data_remove','id_data_remove_with_passport','id_data_v2','id_data_with_passport','new','new_imp','new_with_passport','order_tag_data_remove_with_passport','order_tag_data_with_passport','order_tag_validate_and_key','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','permission_set','policy','policy_add','policy_add_imp','policy_add_with_passport','policy_by_name','policy_clear','policy_clear_imp','policy_clear_with_passport','policy_guard','policy_quote_guard_none','policy_quote_guard_set','policy_remove','policy_remove_imp','policy_remove_with_passport','policy_set','policy_set_imp','policy_set_with_passport','policy_write_guard_add','policy_write_guard_clear','policy_write_guard_has','policy_write_guard_set','reward_add','reward_add_imp','reward_add_with_passport','reward_clear','reward_clear_imp','reward_clear_with_passport','reward_remove','reward_remove_imp','reward_remove_with_passport','roster_add_imp','roster_remove_imp','roster_sum','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport'],'resource':['add_object_tags','destroy','new','remove_object','remove_object_tags','switch','tag_set','tag_unset','transfer'],'reward':['claim','claim_imp','coin_add','coin_add_imp','coin_add_with_passport','create','description_set','description_set_imp','description_set_with_passport','evidence_author_bound','evidence_bind','evidence_bind_author_bound','evidence_bind_author_bound_imp','evidence_bind_imp','evidence_bound','evidence_count','evidence_unbind','evidence_unbind_imp','guard_add','guard_add_imp','guard_add_with_passport','guard_entity_u64','guard_entity_u8','guard_expiration_time_add','guard_expiration_time_add_imp','guard_expiration_time_add_with_passport','guard_remove','guard_remove_expired','guard_remove_expired_imp','guard_remove_expired_with_passport','guard_remove_imp','guard_remove_with_passport','guard_signer_u64','guard_signer_u8','guard_u8_u64','guard_u8_u8','new','new_imp','new_with_passport','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','permission_set','receive','receive_imp','receive_with_passport','reward_guard','row_author','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport','withdraw','withdraw_and_unwrap','withdraw_and_unwrap_imp','withdraw_and_unwrap_with_passport','withdraw_imp','withdraw_precheck','withdraw_with_passport'],'service':['apply_discount','arb_statement','arb_statement_imp','arb_statement_with_passport','arbitration_add','arbitration_add_imp','arbitration_add_with_passport','arbitration_clear','arbitration_clear_imp','arbitration_clear_with_passport','arbitration_remove','arbitration_remove_imp','arbitration_remove_with_passport','assert_discount_type','assert_not_published','buy','buy2','buy2_imp','buy2_with_passport','buy_guard_none','buy_guard_none_imp','buy_guard_none_with_passport','buy_guard_set','buy_guard_set_imp','buy_guard_set_with_passport','buy_with_passport','case_conclude','compensation_claim','compensation_fund_add','compensation_fund_add_imp','compensation_fund_add_with_passport','compensation_fund_receive','compensation_fund_receive_with_passport','compensation_fund_withdraw','compensation_fund_withdraw_imp','compensation_fund_withdraw_with_passport','custom_required_info_set','custom_required_info_set_imp','custom_required_info_set_with_passport','decrement_stock','description_set','description_set_imp','description_set_with_passport','discount','discount_destroy','discount_send','discount_send_singleton','discount_with_passport','discounts','dispute','dispute_with_passport','location_set','location_set_imp','location_set_with_passport','machine_none','machine_none_imp','machine_none_with_passport','machine_set','machine_set_imp','machine_set_with_passport','new','new_imp','new_with_passport','order_allocation','order_allocators_append','order_allocators_append_imp','order_allocators_append_with_passport','order_allocators_set','order_allocators_set_imp','order_allocators_set_with_passport','order_progress','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','pause','pause_imp','pause_with_passport','permission_set','price_add','price_add_imp','price_add_with_passport','price_reduce','price_reduce_imp','price_reduce_with_passport','publish','publish_imp','publish_with_passport','quote','quote2','quote2_with_discount','quote_calc','quote_item','quote_with_discount','receive_imp','repository_add','repository_add_imp','repository_add_with_passport','repository_clear','repository_clear_imp','repository_clear_with_passport','repository_remove','repository_remove_imp','repository_remove_with_passport','restock_applied','restock_flag_set','restock_for_order','reward_add','reward_add_imp','reward_add_with_passport','reward_clear','reward_clear_imp','reward_clear_with_passport','reward_remove','reward_remove_imp','reward_remove_with_passport','sale','sale_borrow','sale_borrow_mut','sale_suspension','sale_suspension_imp','sale_suspension_with_passport','sales_add','sales_add_imp','sales_add_with_passport','sales_clear','sales_clear_imp','sales_clear_with_passport','sales_remove','sales_remove_imp','sales_remove_with_passport','sales_set','sales_set_imp','sales_set_with_passport','service_event_emit','setting_lock_duration_add','setting_lock_duration_add_imp','setting_lock_duration_add_with_passport','stock_add','stock_add_imp','stock_add_with_passport','stock_reduce','stock_reduce_imp','stock_reduce_with_passport','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport'],'treasury':['deposit','deposit2','deposit2_with_passport','deposit_imp','deposit_imp_','deposit_with_passport','description_set','description_set_imp','description_set_with_passport','external_deposit','external_deposit_guard_add','external_deposit_guard_add_imp','external_deposit_guard_add_with_passport','external_deposit_guard_clear','external_deposit_guard_clear_imp','external_deposit_guard_clear_with_passport','external_deposit_guard_remove','external_deposit_guard_remove_imp','external_deposit_guard_remove_with_passport','external_withdraw','external_withdraw_guard_add','external_withdraw_guard_add_imp','external_withdraw_guard_add_with_passport','external_withdraw_guard_clear','external_withdraw_guard_clear_imp','external_withdraw_guard_clear_with_passport','external_withdraw_guard_remove','external_withdraw_guard_remove_imp','external_withdraw_guard_remove_with_passport','inflow','join_coins','new','new_imp','new_with_passport','outflow','owner_receive','owner_receive_imp','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','permission_set','receive','receive_imp','receive_with_passport','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport','withdraw','withdraw_imp','withdraw_with_passport']};export const MOVE_MODULE_NAMES=['allocation','arb','arbitration','common','contact','demand','entity_contact','entity_order','entity_permission','guard','machine','object_linker','order','parent_linked_table','parent_table','parent_table_vec','passport','payment','permission','progress','proof','registrar','repository','resource','reward','service','treasury','util'];export const MOVE_DISTINCTIVE_FN_NAMES=['add_object_tags','admin_add','admin_remove','admin_set','affiliation_change_core','affiliation_change_tx','affiliation_core','affiliation_tx','agent_set','agent_set_imp','alloc_batch','allocator_add','allocators_guard_at','allocators_length','apply_discount','arb_statement','arb_statement_imp','arb_statement_with_passport','arb_withdraw','arb_withdraw_with_passport','arbitration_add','arbitration_add_imp','arbitration_add_with_passport','arbitration_address','arbitration_clear','arbitration_clear_imp','arbitration_clear_with_passport','arbitration_event_emit','arbitration_imp','arbitration_remove','arbitration_remove_imp','arbitration_remove_with_passport','arbitration_with_passport','arbitrator_confirm','assert_admin','assert_allocation_mode','assert_allocators_extension','assert_allocators_matched','assert_allocators_not_empty','assert_count','assert_discount_type','assert_id_from','assert_not_claimed','assert_not_published','assert_objection_round_budget','assert_op_permission','assert_owner','assert_permission','assert_permission_with_passport','assert_permission_with_sender','assert_publishable','assert_published','assert_rebind','assert_service_object_type','assert_submission_object_type','assert_task_binding','assert_task_is_order','assert_valid_value','assert_with_passport','assert_with_sender','assert_zombie_order','author_stamp_imp','author_stamp_remove_imp','borrow_mut','builtin_contribute_imp','builtin_spec_arm','builtin_spec_none','builtin_spec_of','buy2_imp','buy2_with_passport','buy_guard_none','buy_guard_none_imp','buy_guard_none_with_passport','buy_guard_set','buy_guard_set_imp','buy_guard_set_with_passport','buy_with_passport','calculate_relies_result','case_conclude','change_status','claim_imp','clear_favor','clear_vote','coin_add','coin_add_imp','coin_add_with_passport','compensation_claim','compensation_fund_add','compensation_fund_add_imp','compensation_fund_add_with_passport','compensation_fund_receive','compensation_fund_receive_with_passport','compensation_fund_withdraw','compensation_fund_withdraw_imp','compensation_fund_withdraw_with_passport','confirm_imp','confirm_with_passport','consensus_repositories_add','consensus_repositories_add_imp','consensus_repositories_add_with_passport','consensus_repositories_clear','consensus_repositories_clear_imp','consensus_repositories_clear_with_passport','consensus_repositories_remove','consensus_repositories_remove_imp','consensus_repositories_remove_with_passport','contact_add','contact_remove','contact_remove_imp','context_repository_add','context_repository_add_imp','context_repository_add_with_passport','context_repository_clear','context_repository_clear_imp','context_repository_clear_with_passport','context_repository_remove','context_repository_remove_imp','context_repository_remove_with_passport','create_for_testing','create_imp','create_wowok_proof','create_wowok_proof_imp','custom_required_info_set','custom_required_info_set_imp','custom_required_info_set_with_passport','data_add_imp','data_author','data_author_of','data_batch_imp','data_batch_remove_imp','data_remove_imp','data_remove_when_id_from_set','data_remove_when_id_from_set_with_passport','data_when_id_from_set','data_when_id_from_set_with_passport','de_address','de_address_compatible','de_number','de_u64','decrement_stock','dedupe_indices','demand_changed_event_emit','deposit2_with_passport','deposit_imp','deposit_imp_','deposit_with_passport','description_change','description_set','description_set_imp','description_set_with_passport','destroy_for_testing','disaffiliation_core','disaffiliation_tx','discount_destroy','discount_send','discount_send_singleton','discount_with_passport','dispute_with_passport','disputes_for_testing','emit_arb_event','emit_changed','entity_add','entity_cancel','entity_copy','entity_del','entity_description_set','entity_info_add','entity_info_clear','entity_info_remove','entity_new','entity_register','entity_register_with_resource_forced','entity_remove','entity_replace','entity_resource_destroy','entity_resource_transfer','entity_resource_use','entity_set','entity_swap','evidence_author_bound','evidence_bind','evidence_bind_author_bound','evidence_bind_author_bound_imp','evidence_bind_imp','evidence_bound','evidence_count','evidence_unbind','evidence_unbind_imp','external_deposit','external_deposit_guard_add','external_deposit_guard_add_imp','external_deposit_guard_add_with_passport','external_deposit_guard_clear','external_deposit_guard_clear_imp','external_deposit_guard_clear_with_passport','external_deposit_guard_remove','external_deposit_guard_remove_imp','external_deposit_guard_remove_with_passport','external_withdraw','external_withdraw_guard_add','external_withdraw_guard_add_imp','external_withdraw_guard_add_with_passport','external_withdraw_guard_clear','external_withdraw_guard_clear_imp','external_withdraw_guard_clear_with_passport','external_withdraw_guard_remove','external_withdraw_guard_remove_imp','external_withdraw_guard_remove_with_passport','failed_impack_guard','fee_set','fee_set_imp','fee_set_with_passport','feed_back_imp','feedback_imp','feedback_with_passport','fees_alloc','fees_alloc_with_passport','fees_transfer','fees_transfer_imp','fees_transfer_with_passport','filing_policy','filing_policy_read','filing_policy_set','find_vote','for_object','formula_count','formula_count_where','formula_spec','formula_spec_set','formula_sum','formula_sum_bound','formula_sum_where','formula_sum_where_bound','forward_remove','forward_remove2','forward_with_guard','forwards_add','forwards_add_imp','forwards_add_with_passport','forwards_remove','forwards_remove_imp','forwards_remove_with_passport','from_object_set','from_object_set2','gen_id','get_submission_object_type','get_submission_value_type','goal_reached','goal_stamp_of','guard_add','guard_add_imp','guard_add_with_passport','guard_clear','guard_clear_imp','guard_clear_with_passport','guard_entity_u64','guard_entity_u8','guard_expiration_time_add','guard_expiration_time_add_imp','guard_expiration_time_add_with_passport','guard_remove','guard_remove_expired','guard_remove_expired_imp','guard_remove_expired_with_passport','guard_remove_imp','guard_remove_with_passport','guard_signer_u64','guard_signer_u8','guard_table_item','guard_u8_u64','guard_u8_u8','handle_vote','has_identifier','has_impack_guard','has_op_permission','has_op_permission_by_address','has_open_dispute','has_order_tag','has_permission','has_permission_idchecked','has_recipient','has_submissions','hold_imp','hold_imp_with_passport','hold_with_passport','id_data','id_data_mixed_remove_with_passport','id_data_mixed_with_passport','id_data_remove','id_data_remove_with_passport','id_data_v2','id_data_with_passport','im_add','im_add_imp','im_add_with_passport','im_clear','im_clear_imp','im_clear_with_passport','im_remove','im_remove_imp','im_remove_with_passport','indemnity_cap_base','info_borrow','init_node_name','is_all_votes_cleared','is_chiild_object_address_byte','is_child_object_address','is_concluded','is_depended','is_dislike_set','is_dismissal','is_empty','is_favor_set','is_identifier_address','is_identifier_address_compatible','is_immutable','is_init_node_name','is_like_set','is_number_type','is_number_type2','is_object_address','is_object_address_byte','is_submission_retained','is_type_address_compatible','is_user_address','is_user_address_byte','is_valid_value','is_value_type','item_name','item_price','item_quantity','join_coins','location_set','location_set_imp','location_set_with_passport','machine_none','machine_none_imp','machine_none_with_passport','machine_set','machine_set_imp','machine_set_with_passport','make_submissions','mark_principal_refunded_imp','mark_verified_for_testing','new_imp','new_inner','new_self','new_singleton','new_singleton2','new_with_balance','new_with_coin','new_with_deadline','new_with_passport','next_imp','next_with_passport','next_with_passport_imp','node_add','node_add2','node_add2_with_passport','node_add_imp','node_add_imp_','node_add_single','node_add_with_passport','node_clear','node_clear_imp','node_clear_with_passport','node_exchange_name','node_exchange_name_imp','node_exchange_name_with_passport','node_remove','node_remove2','node_remove2_with_passport','node_remove_imp','node_remove_imp_','node_remove_single','node_remove_with_passport','node_rename','node_rename_imp','node_rename_with_passport','nodepair_add','nodepair_exchange_name_imp','nodepair_remove','nodepair_remove2','nodepair_remove_imp','nodepair_rename_imp','nodepair_threshold_set','normalize_votes','object_type_as_u8','object_type_from_u8','on_allocation','on_progress','on_progress_new','order_allocation','order_allocators_append','order_allocators_append_imp','order_allocators_append_with_passport','order_allocators_set','order_allocators_set_imp','order_allocators_set_with_passport','order_hold','order_hold_with_passport','order_next','order_next_with_passport','order_next_with_passport_contribute','order_owner_set','order_progress','order_role_remove_imp','order_tag_data_remove_with_passport','order_tag_data_with_passport','order_tag_validate_and_key','owner_change','owner_change_imp','owner_receive','owner_receive_imp','owner_receive_inner','owner_receive_object','owner_receive_object_imp','owner_receive_object_with_passport','owner_receive_with_passport','parse_constant_data_modules','pause_imp','pause_with_passport','payment_info','payment_info2','payment_info2_with_guard','payment_info_imp','payment_info_with_guard','payment_signer','perm_add','perm_remove','perm_set','permission_id','permission_role_remove_imp','permission_set','permission_um_set','policy_add','policy_add_imp','policy_add_with_passport','policy_by_name','policy_clear','policy_clear_imp','policy_clear_with_passport','policy_guard','policy_quote_guard_none','policy_quote_guard_set','policy_remove','policy_remove_imp','policy_remove_with_passport','policy_set','policy_set_imp','policy_set_with_passport','policy_write_guard_add','policy_write_guard_clear','policy_write_guard_has','policy_write_guard_set','pop_back','pop_front','present_imp','present_service','present_service_with_passport','present_with_passport','present_with_passport_imp','prev_nodes_remove','prev_nodes_remove_imp','prev_nodes_remove_with_passport','price_add','price_add_imp','price_add_with_passport','price_reduce','price_reduce_imp','price_reduce_with_passport','principal_confirm','principal_refunded','principal_refunded_amount','proposition_change','publish_imp','publish_with_passport','push_back','push_front','quote2_with_discount','quote_calc','quote_item','quote_with_discount','receive_imp','receive_new','receive_with_passport','record_add','relies_add','relies_clear','relies_logic_and','relies_remove','remark_clear','remark_remove','remark_set','remove_object','remove_object_tags','repository_add','repository_add_imp','repository_add_with_passport','repository_clear','repository_clear_imp','repository_clear_with_passport','repository_remove','repository_remove_imp','repository_remove_with_passport','required_info_bind','required_info_for_testing','required_info_update','reset_imp','reset_with_passport','restock_applied','restock_flag_set','restock_for_order','result_for_guard','result_for_permission','reward_add','reward_add_imp','reward_add_with_passport','reward_clear','reward_clear_imp','reward_clear_with_passport','reward_guard','reward_remove','reward_remove_imp','reward_remove_with_passport','role_add','role_admin','role_agent','role_entity','role_move','role_owner','role_remove','roster_add_imp','roster_remove_imp','roster_sum','row_author','sale_borrow','sale_borrow_mut','sale_suspension','sale_suspension_imp','sale_suspension_with_passport','sales_add','sales_add_imp','sales_add_with_passport','sales_clear','sales_clear_imp','sales_clear_with_passport','sales_remove','sales_remove_imp','sales_remove_with_passport','sales_set','sales_set_imp','sales_set_with_passport','sender_has_permission','sender_has_permission_idcheck','service_event_emit','session_accomplish','session_accomplish_imp','session_hold','set_dislike','set_favor','set_like','setting_lock_duration_add','setting_lock_duration_add_imp','setting_lock_duration_add_with_passport','sharing_for_address','sharing_for_guard_identifier','sharing_for_signer','sharing_imp','stock_add','stock_add_imp','stock_add_with_passport','stock_reduce','stock_reduce_imp','stock_reduce_with_passport','submission_get','submission_slot_defects','submission_try','submission_value','submissions_get','swap_remove','table_item','tag_set','tag_unset','task_set','task_set_imp','task_set_with_passport','threshold_get','threshold_set','toggle_dislike','toggle_favor','toggle_like','toggle_vote','transfer_multi_imp','truncate_utf8_chars','try_submission_value','um_none','um_none_imp','um_none_with_passport','um_set','um_set_imp','um_set_with_passport','unhold_with_passport','unwrap_to_myself','unwrap_with_check','usage_guard_none','usage_guard_none_imp','usage_guard_none_with_passport','usage_guard_set','usage_guard_set_imp','usage_guard_set_with_passport','validate_guard_data','value_type_as_u8','value_type_from_u8','verify_guard','verify_guard_failure_legs','verify_guard_failure_legs_imp','verify_strict','vote_imp','vote_imp_','vote_name','vote_with_passport','vote_with_voting_guard','voting_deadline_change','voting_deadline_change_imp','voting_deadline_change_with_passport','voting_guard_add_by_id_add_with_passport','voting_guard_add_imp','voting_guard_by_id_add','voting_guard_clear','voting_guard_clear_imp','voting_guard_clear_with_passport','voting_guard_fixed_add','voting_guard_fixed_add_with_passport','voting_guard_remove','voting_guard_remove_imp','voting_guard_remove_with_passport','withdraw_and_unwrap','withdraw_and_unwrap_imp','withdraw_and_unwrap_with_passport','withdraw_imp','withdraw_precheck','withdraw_with_passport'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function dryRunGateKey(a,b){const c=b??{},{env:d,...e}=c,f=stableStringify(e);let g=0x1505;for(let j=0x0;j<f['length'];j++)g=(g<<0x5)+g+f['charCodeAt'](j)>>>0x0;return a+':'+g['toString'](0x10);}function stableStringify(a){if(a===null||typeof a!=='object')return JSON['stringify'](a)??'undefined';if(Array['isArray'](a))return'['+a['map'](stableStringify)['join'](',')+']';const b=Object['entries'](a)['filter'](([,c])=>c!==undefined)['sort'](([c],[d])=>c['localeCompare'](d));return'{'+b['map'](([c,d])=>JSON['stringify'](c)+':'+stableStringify(d))['join'](',')+'}';}const ledger=new Map();export function recordDryRunAudit(a){ledger['set'](a,
|
|
1
|
+
import{existsSync,mkdirSync,readFileSync,writeFileSync}from'fs';import{join}from'path';import{getWowMcpDir}from'@wowok/wowok';export function dryRunGateKey(a,b){const c=b??{},{env:d,...e}=c,f=stableStringify(e);let g=0x1505;for(let j=0x0;j<f['length'];j++)g=(g<<0x5)+g+f['charCodeAt'](j)>>>0x0;return a+':'+g['toString'](0x10);}function stableStringify(a){if(a===null||typeof a!=='object')return JSON['stringify'](a)??'undefined';if(Array['isArray'](a))return'['+a['map'](stableStringify)['join'](',')+']';const b=Object['entries'](a)['filter'](([,c])=>c!==undefined)['sort'](([c],[d])=>c['localeCompare'](d));return'{'+b['map'](([c,d])=>JSON['stringify'](c)+':'+stableStringify(d))['join'](',')+'}';}const LEDGER_TTL_MS=Number(process['env']['WOWOK_DRYRUN_LEDGER_TTL_MS']??0x6*0x3c*0x3c*0x3e8),ledger=new Map(),failedDryRuns=new Map(),PERSIST_ENABLED=process['env']['NODE_ENV']!=='test';let disk;function ledgerPath(){try{return join(getWowMcpDir(),'harness-dryrun-ledger.json');}catch{return undefined;}}function loadDisk(){if(!PERSIST_ENABLED||disk!==undefined)return;disk={'version':0x1,'entries':{},'failures':{}};const a=ledgerPath();if(a===undefined||!existsSync(a))return;try{const c=JSON['parse'](readFileSync(a,'utf8'));c&&c['version']===0x1&&(disk['entries']=c['entries']??{},disk['failures']=c['failures']??{});}catch{disk={'version':0x1,'entries':{},'failures':{}};}const b=Date['now']();for(const [d,f]of Object['entries'](disk['entries'])){if(b-f['at']>LEDGER_TTL_MS)delete disk['entries'][d];}for(const [g,h]of Object['entries'](disk['failures'])){if(b-h['at']>LEDGER_TTL_MS)delete disk['failures'][g];}}function flushDisk(){if(!PERSIST_ENABLED||disk===undefined)return;const a=ledgerPath();if(a===undefined)return;try{mkdirSync(join(a,'..'),{'recursive':!![]}),writeFileSync(a,JSON['stringify'](disk),'utf8');}catch{}}function entryFresh(a,b){if(a===undefined)return![];if(Date['now']()-a['at']>LEDGER_TTL_MS)return![];if(b!==undefined&&a['network']!==undefined&&a['network']!==b)return![];return!![];}export function recordDryRunAudit(a,b){const c={'at':Date['now'](),...b!==undefined?{'network':b}:{}};ledger['set'](a,c),failedDryRuns['delete'](a),PERSIST_ENABLED&&(loadDisk(),disk['entries'][a]=c,delete disk['failures'][a],flushDisk());}export function hasDryRunAudit(a,b){if(entryFresh(ledger['get'](a),b))return!![];if(PERSIST_ENABLED){loadDisk();if(entryFresh(disk['entries'][a],b))return ledger['set'](a,disk['entries'][a]),!![];}return![];}export function recordDryRunFailure(a,b,c){const d={'criticals':b,'at':Date['now'](),...c!==undefined?{'network':c}:{}};failedDryRuns['set'](a,d),PERSIST_ENABLED&&(loadDisk(),disk['failures'][a]=d,flushDisk());}export function lastDryRunFailure(a,b){const c=failedDryRuns['get'](a);if(c!==undefined&&Date['now']()-c['at']<=LEDGER_TTL_MS&&(b===undefined||c['network']===undefined||c['network']===b))return c;if(PERSIST_ENABLED){loadDisk();const e=disk['failures'][a];if(e!==undefined&&Date['now']()-e['at']<=LEDGER_TTL_MS&&(b===undefined||e['network']===undefined||e['network']===b))return e;}return undefined;}export function resetDryRunLedgerForTests(){ledger['clear'](),failedDryRuns['clear']();}export function dryRunGateWaived(a){if(process['env']['WOWOK_SKIP_DRYRUN_GATE']==='1')return!![];const b=a?.['env'];return b?.['skip_dryrun_gate']===!![];}const pendingPlanFunding=new Map();export function setPendingPlanFunding(a){pendingPlanFunding['clear']();for(const [b,c]of Object['entries'](a))pendingPlanFunding['set'](b['toLowerCase'](),c);}export function pendingPlanFundingAmount(a){return pendingPlanFunding['get'](a['toLowerCase']());}export function consumePendingPlanFunding(a){pendingPlanFunding['delete'](a['toLowerCase']());}export function clearPendingPlanFunding(){pendingPlanFunding['clear']();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{handleIndustryPackOperation}from'../handlers/industry-pack.js';import{handleBenchmarkMigrationOperation}from'../handlers/benchmark-migration.js';import{handleStrategyReviewOperation}from'../handlers/strategy-review.js';import{handleWorkspaceOperation}from'../handlers/workspace.js';import{handleWorkflowOperation}from'../handlers/workflow.js';import{handlePermissionOperation}from'../handlers/permission.js';import{handleServiceCloneOperation}from'../handlers/service-clone.js';import{createToolMeta,IndustryPackOperationInputSchema,IndustryPackOperationOutputSchema,BenchmarkMigrationSchema,BenchmarkMigrationOutputSchema,StrategyReviewOperationInputSchema,StrategyReviewOperationOutputSchema,WorkspaceOperationInputSchema,WorkspaceOperationOutputSchema,WorkflowOperationInputSchema,WorkflowOperationOutputSchema,PermissionOperationInputSchema,PermissionOperationOutputSchema,ServiceCloneSchema,ServiceCloneOutputSchema}from'../../schema/index.js';import{CATALOG_INDUSTRY_COUNT as a598a,CATALOG_TEMPLATE_COUNT as a598b}from'../../knowledge/catalog-facts.js';export const BUSINESS_TOOLS=[{'name':'industry_pack_operation','handler':handleIndustryPackOperation,'config':{'title':'🧩\x20Industry\x20Pack\x20-\x20Knowledge\x20Template\x20Orchestration','summary':'Industry\x20knowledge\x20packs:\x20scaffold,\x20register,\x20list,\x20reset\x20templates.','description':'Manage\x20industry\x20knowledge\x20packs\x20(distributable,\x20registrable,\x20versionable\x20units\x20carrying\x20'+'one\x20industry\x27s\x20object-shape,\x20matching\x20rules,\x20and\x20role\x20personae).\x0a\x0a'+'Pack\x20layout\x20(merged\x20v2):\x20pack.json\x20(settings\x20only\x20—\x20manifest\x20+\x20match\x20+\x20personae\x20+\x20'+'dispute/compliance/supply/rules\x20sections;\x20field\x20explanations\x20live\x20in\x20the\x20industry-root\x20'+'README.md)\x20and\x20playbook.md\x20(chaptered\x20AI\x20prompt\x20guide).\x20Legacy\x20split-file\x20layouts\x20'+'(manifest.json/match.json/personae)\x20are\x20still\x20read\x20for\x20backward\x20compatibility.\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20scaffold\x20—\x20generate\x20a\x20pack\x20template\x20skeleton\x20(pack.json\x20+\x20playbook.md,\x20settings\x20only)\x20'+'into\x20the\x20industry\x20directory;\x20the\x20user\x20fills\x20in\x20the\x20content.\x0a'+'\x20\x20•\x20list\x20—\x20list\x20currently\x20registered\x20packs.\x0a'+'\x20\x20•\x20scan\x20—\x20scan\x20+\x20register\x20every\x20pack\x20under\x20the\x20default\x20industry\x20directory.\x0a'+'\x20\x20?\x20template_drift\x20-\x20REPORT\x20builtin\x20template\x20files\x20whose\x20on-disk\x20body\x20differs\x20from\x20the\x20'+'in-code\x20catalog\x20(no_sentinel_legacy\x20/\x20stale_release\x20/\x20user_modified).\x20Run\x20this\x20FIRST\x20when\x20a\x20'+'template\x20change\x20appears\x20to\x20have\x20no\x20effect:\x20a\x20builtin\x20file\x20seeded\x20before\x20the\x20release\x20'+'sentinel\x20existed\x20carries\x20no\x20sentinel\x20and\x20is\x20never\x20upgraded\x20automatically.'+'\x20\x20?\x20repair_builtin_templates\x20-\x20RESEED\x20those\x20legacy\x20files\x20from\x20the\x20in-code\x20catalog.\x20'+'Identity-gated\x20on\x20a\x20known\x20builtin\x20id;\x20the\x20previous\x20body\x20is\x20kept\x20in\x20the\x20hidden\x20templates/.archive/\x20dir\x20and\x20a\x20'+'custom\x20(user)\x20template\x20is\x20never\x20touched.'+'\x20\x20•\x20resolve\x20—\x20return\x20the\x20industry\x20root\x20directory.\x0a'+'\x20\x20•\x20list_files\x20—\x20list\x20files\x20under\x20the\x20industry\x20directory.\x0a'+'\x20\x20•\x20read_file\x20—\x20read\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20required).\x0a'+'\x20\x20•\x20write_file\x20—\x20write\x20content\x20to\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20+\x20content\x20required).\x0a'+'\x20\x20•\x20get\x20—\x20return\x20registered\x20layer\x20data\x20for\x20an\x20industry\x20(name\x20required;\x20dispute/compliance/supply/rules/playbook).\x0a'+'\x20\x20\x20\x20layer=\x27template\x27\x20returns\x20one\x20builtin\x20template\x20(merge-safe\x20projection);\x20layer=\x27params\x27\x20is\x20the\x0a'+'\x20\x20\x20\x20merchant-facing\x20SETTINGS\x20surface:\x20with\x20template=\x27<id>\x27\x20every\x20declared\x20parameter\x20in\x20business\x20order\x0a'+'\x20\x20\x20\x20(tier,\x20tags,\x20kind/unit,\x20meaning,\x20default,\x20accepted\x20values,\x20PROVEN\x20live/inert\x20status,\x20landing,\x20editable);\x0a'+'\x20\x20\x20\x20with\x20\x27query\x27\x20instead\x20of\x20a\x20template\x20id\x20it\x20searches\x20the\x20catalog\x20for\x20a\x20business\x20facet\x20(\x27settlement\x20window\x27,\x0a'+'\x20\x20\x20\x20\x27take\x20rate\x27)\x20and\x20returns\x20ranked\x20hits\x20with\x20explainable\x20reasons\x20—\x20an\x20empty\x20list\x20means\x20no\x20such\x20setting.\x0a'+'\x20\x20\x20\x20layer=\x27components\x27\x20is\x20the\x20COMPONENT\x20surface\x20beside\x20it:\x20one\x20slot\x20per\x20Service/Sale\x20field,\x20allocator\x0a'+'\x20\x20\x20\x20row,\x20per-order\x20Allocation,\x20Machine,\x20Guard,\x20Repository\x20policy,\x20reward,\x20arbitration\x20binding,\x20permission\x0a'+'\x20\x20\x20\x20and\x20treasury\x20item\x20—\x20each\x20with\x20what\x20it\x20is,\x20how\x20it\x20is\x20configured\x20(lifecycle\x20surface\x20create/pre-publish/\x0a'+'\x20\x20\x20\x20append-only/post-publish/immutable\x20+\x20the\x20exact\x20field\x20path),\x20the\x20effect\x20once\x20it\x20applies,\x20and\x20what\x20it\x20is\x0a'+'\x20\x20\x20\x20bound\x20to;\x20a\x20non-configurable\x20slot\x20always\x20carries\x20why_not\x20(e.g.\x20a\x20split\x20hard-coded\x20in\x20the\x20template\x20body).\x0a'+'\x20\x20•\x20capability_list\x20—\x20list\x20the\x20Capability\x20Lattice\x20registry\x20(composable\x20business\x20units;\x20optional\x20group\x20filter).\x0a'+'\x20\x20•\x20capability_get\x20—\x20full\x20card\x20of\x20ONE\x20capability\x20(intent/binds/requires/excludes/risks/disclosures/cost/constraints).\x0a'+'\x20\x20•\x20compose_probe\x20—\x20probe\x20whether\x20a\x20capability\x20selection\x20can\x20coexist\x20in\x20one\x20build\x20(capabilities[]\x20required;\x20optional\x20template\x20as\x20base\x20build).\x0a'+'\x20\x20•\x20product_cards\x20—\x20FRONT-stage\x20ProductCard\x20summaries\x20for\x20the\x20catalog\x20or\x20one\x20industry\x20(optional\x20name\x20filter).\x0a'+'\x20\x20•\x20product_card\x20—\x20the\x20full\x20ProductCard\x20of\x20ONE\x20builtin\x20template\x20(template\x20id\x20required):\x20alignment/features/cost/params/risks,\x20every\x20assertion\x20projected\x20from\x20declared\x20data.\x0a'+'\x20\x20•\x20diff\x20—\x20compare\x20registered\x20vs\x20on-disk\x20manifest\x20version/layers\x20(name\x20required).\x0a'+'\x20\x20•\x20reset\x20—\x20restore\x20a\x20file\x20or\x20entire\x20pack\x20folder\x20to\x20its\x20pristine\x20annotated\x20template\x20(path\x20required).\x0a'+'\x20\x20•\x20delete_file\x20—\x20delete\x20a\x20file\x20or\x20directory\x20(path\x20required).\x0a'+'\x20\x20•\x20create_file\x20—\x20create\x20an\x20empty\x20file\x20(path\x20required;\x20content\x20optional).\x0a'+'\x20\x20•\x20create_dir\x20—\x20create\x20a\x20directory\x20recursively\x20(path\x20required).\x0a'+'\x20\x20•\x20copy\x20—\x20copy\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x0a'+'\x20\x20•\x20move\x20/\x20rename\x20—\x20move\x20or\x20rename\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x0a'+'\x20\x20•\x20recommend_industry\x20—\x20business\x20intent\x20text\x20→\x20top-3\x20similar\x20industry\x20modes\x20(trait\x20similarity;\x20optional\x20strategy\x20statements\x20re-rank\x20by\x20lever\x20alignment).\x0a'+'\x20\x20•\x20list_modes\x20—\x20list\x20builtin\x20+\x20caller\x27s\x20custom\x20industry\x20modes.\x0a'+'\x20\x20•\x20derive_user_mode\x20—\x20derive\x20(and\x20register)\x20a\x20custom\x20mode\x20from\x20a\x20builtin\x20mode.\x0a'+'\x20\x20•\x20evolve_user_mode\x20—\x20iterate\x20an\x20existing\x20custom\x20mode\x20(version-bumped\x20evolution\x20history).\x0a'+'\x20\x20•\x20register_user_mode\x20—\x20register\x20a\x20fully\x20custom\x20mode\x20(machine_shape\x20+\x20key_risk\x20required).\x0a'+'\x20\x20•\x20unregister_user_mode\x20—\x20delete\x20a\x20custom\x20mode\x20(owner\x20only).\x0a'+'\x20\x20•\x20register_custom_metric\x20—\x20register\x20a\x20global\x20custom\x20evaluation\x20metric\x20(risk/benefit;\x20persisted).\x0a'+'\x20\x20•\x20unregister_custom_metric\x20—\x20delete\x20a\x20custom\x20metric\x20(custom\x20only;\x20builtin\x20metrics\x20cannot\x20be\x20deleted).\x0a'+'\x20\x20•\x20register_custom_constraint\x20—\x20register\x20a\x20custom\x20mode\x20constraint\x20(4\x20rule\x20types;\x20hard/soft;\x20persisted).\x0a'+'\x20\x20•\x20unregister_custom_constraint\x20—\x20delete\x20a\x20custom\x20constraint\x20(custom\x20only;\x20builtin\x20constraints\x20cannot\x20be\x20deleted).\x0a'+'\x20\x20•\x20list_metrics_constraints\x20—\x20list\x20metrics\x20+\x20constraints\x20(filterable\x20by\x20type/scope).\x0a\x0a'+'Local\x20filesystem\x20+\x20in-memory\x20registry\x20only;\x20never\x20mutates\x20chain\x20state.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27industry_pack_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':IndustryPackOperationInputSchema,'outputSchema':IndustryPackOperationOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':![]},'_meta':createToolMeta('industry_pack',['industry','pack','mode','match','persona','scaffold','template'])}},{'name':'benchmark_migration_operation','handler':handleBenchmarkMigrationOperation,'config':{'title':'🏆\x20Template\x20Migration\x20-\x20Industry\x20Templates\x20&\x20Competitor\x20Migration','summary':'MD\x20industry-archetype\x20templates\x20(hot-loaded,\x20'+a598b+'\x20built-ins)\x20+\x20pre-deploy\x20risk\x20scan\x20+\x20one-click\x20competitor\x20migration.','description':'Industry-archetype\x20MD\x20templates\x20and\x20one-click\x20competitor\x20migration\x20(V2\x20MD-template\x20architecture).\x20'+'Templates\x20live\x20in\x20`.wowok/industry/<industry>/templates/<variant>.md`\x20(the\x20client\x27s\x20industry\x20drawer\x20tree\x20—\x20hot-loaded,\x20zod-validated\x20frontmatter;\x20'+(a598b+'\x20built-in\x20archetypes\x20across\x20'+a598a+'\x20industries\x20are\x20seeded\x20idempotently\x20and\x20never\x20')+'overwritten).\x20Each\x20template\x20is\x20a\x20ScenarioMode-compatible\x20build\x20shape\x20(machine_shape\x20/\x20guards\x20/\x20'+'allocator)\x20plus\x20fee\x20parameters\x20and\x20R1-R10\x20trust\x20mechanisms.\x0a\x0a'+'Product\x20tagging:\x20every\x20built-in\x20carries\x20a\x20`product_ref`\x20benchmark\x20slug\x20(e.g.\x20retail/scale-marketplace\x20→\x20'+'\x27amazon\x27,\x20travel/global-ota\x20→\x20\x27booking-com\x27).\x20This\x20is\x20the\x20ONLY\x20sanctioned\x20company\x20name\x20—\x20it\x20lets\x20a\x20user\x20'+'pick\x20a\x20template\x20by\x20naming\x20the\x20incumbent\x20product\x20they\x20want\x20to\x20migrate\x20from.\x20When\x20the\x20user\x20names\x20a\x20product,\x20'+'call\x20template_list\x20and\x20match\x20on\x20product_ref,\x20then\x20template_generate/migration_apply\x20with\x20that\x20template_id.\x0a\x0a'+'Three\x20build\x20modes\x20(choose\x20from\x20the\x20user\x27s\x20intent):\x0a'+'\x20\x20•\x20template-driven\x20—\x20pick\x20the\x20closest\x20product_ref/industry\x20template,\x20adopt\x20it\x20as-is\x20(template_generate).\x0a'+'\x20\x20•\x20template\x20+\x20partial\x20customization\x20—\x20start\x20from\x20a\x20template,\x20then\x20override\x20fee_params\x20(fee_overrides)\x20or\x20'+'edit\x20the\x20MD\x20file\x20via\x20industry_pack_operation\x20write_file\x20before\x20generating.\x0a'+'\x20\x20•\x20fully\x20custom\x20—\x20skip\x20templates;\x20drive\x20the\x20merchant-guide\x20pipeline\x20from\x20a\x20free-text\x20description.\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20template_list\x20—\x20list\x20the\x20loaded\x20MD\x20templates\x20(optional\x20industry\x20filter;\x20rows\x20carry\x20product_ref);\x20load\x20errors\x20are\x20'+'reported,\x20never\x20silently\x20dropped.\x0a'+'\x20\x20•\x20template_get\x20—\x20fetch\x20one\x20template\x20by\x20template_id\x20(full\x20machine_shape/guards/allocator/'+'fee_params/trust_mechanisms/body).\x0a'+'\x20\x20•\x20template_generate\x20—\x20generate\x20a\x20creation\x20plan\x20from\x20a\x20template\x20via\x20the\x20merchant-guide\x20pipeline\x20'+'(template_id\x20required;\x20scan-first\x20—\x20CRITICAL\x20findings\x20block;\x20description\x20optional\x20as\x20the\x20intent\x20'+'text;\x20fee_overrides\x20optional;\x20never\x20executes\x20on-chain).\x0a'+'\x20\x20•\x20plan_execute\x20—\x20execute\x20the\x20plan\x20returned\x20by\x20template_generate\x20in\x20ONE\x20call\x20(plan\x20required):\x20'+'materializes\x20every\x20step\x20in\x20order\x20through\x20the\x20built-in\x20executor\x20(chain\x20writes).\x20On\x20a\x20mid-plan\x20'+'failure\x20the\x20response\x20carries\x20a\x20ready-to-pass\x20`resume`\x20payload\x20(completed_steps\x20+\x20previous_outputs)\x20—\x20'+'send\x20it\x20back\x20VERBATIM\x20with\x20the\x20SAME\x20plan\x20to\x20RESUME\x20where\x20it\x20halted\x20(never\x20re-run\x20from\x20scratch:\x20the\x20'+'already-created\x20objects\x20would\x20duplicate),\x20or\x20use\x20resume_from_step\x20(first\x20non-executed\x20step\x20id)\x20+\x20'+'previous_outputs.\x20A\x20step\x20failing\x20with\x20the\x20IDENTICAL\x20error\x20in\x202+\x20consecutive\x20rounds\x20withholds\x20the\x20'+'RESUME\x20recipe\x20(repeated_failures)\x20and\x20a\x20third\x20unchanged\x20re-run\x20is\x20REFUSED\x20(retry_override\x20{step_id,\x20'+'note}\x20is\x20the\x20audited\x20escape\x20hatch).\x0a'+'\x20\x20•\x20template_scan\x20—\x20pre-deploy\x20risk\x20scan\x20of\x20one\x20template\x20(template_id\x20required):\x20synthetic\x20draft\x20'+'topology\x20through\x20the\x20same\x20rule\x20surface\x20as\x20on-chain\x20analyze\x20+\x20static\x20R1-R10\x20checks;\x20returns\x20'+'risk_level/findings/red_flags\x20plus\x20a\x20drift\x20face\x20(disk-vs-catalog\x20provenance\x20of\x20the\x20scanned\x20'+'body\x20—\x20blocked=true\x20means\x20the\x20audited\x20body\x20is\x20not\x20the\x20shipped\x20catalog\x20body)\x20and\x20a\x20compile\x20'+'dry-run\x20verdict\x20(compile_dry_run.status\x20ready/blocked/unavailable\x20—\x20synthetic-probe\x20'+'buildability\x20through\x20the\x20same\x20pipeline\x20template_generate\x20uses,\x20mirrored\x20to\x20the\x20'+'generate\x20gate:\x20CRITICAL\x20+\x20N-21\x20HIGH\x20findings\x20+\x20graph\x20+\x20audit\x20blockers;\x20blocked\x20lists\x20'+'the\x20named\x20rules\x20the\x20generate\x20face\x20would\x20refuse\x20on);\x20CRITICAL\x20blocks\x20generation/apply.\x0a'+'\x20\x20•\x20migration_import\x20—\x20competitor\x20URL/description\x20→\x20structured\x20MigrationLog:\x20mapped\x20/\x20'+'unmapped\x20/\x20manual_review\x20entries,\x20WoWok\x20advantages,\x20customizable\x20modules,\x20role\x20assessment\x20'+'and\x20a\x20dry-run\x20risk\x20check\x20(description\x20required;\x20url\x20recorded\x20as\x20provenance\x20only;\x20default\x20'+'network\x20testnet).\x0a'+'\x20\x20•\x20migration_review\x20—\x20surface\x20a\x20prior\x20MigrationLog\x20with\x20counts\x20+\x20risk\x20status\x20for\x20user\x20'+'confirmation\x20(log\x20required).\x0a'+'\x20\x20•\x20migration_apply\x20—\x20run\x20the\x20approved\x20template\x20through\x20the\x20merchant-guide\x20pipeline\x20'+'(template_id\x20required;\x20scan-first\x20—\x20CRITICAL\x20findings\x20block;\x20creation\x20plan\x20only\x20—\x20never\x20executes\x20'+'on-chain;\x20default\x20network\x20testnet,\x20mainnet\x20requires\x20explicit\x20user\x20confirmation).\x0a\x0a'+'Deterministic\x20planning;\x20only\x20plan_execute\x20writes\x20chain\x20state\x20(its\x20plan\x27s\x20steps)\x20—\x20every\x20other\x20action\x20is\x20a\x20read/plan\x20emission.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27benchmark_migration_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':BenchmarkMigrationSchema,'outputSchema':BenchmarkMigrationOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':![]},'_meta':createToolMeta('benchmark_migration',['template','migration','competitor','industry','leader','challenger','scan','risk'])},'timeoutMs':0xdbba0},{'name':'service_clone_operation','handler':handleServiceCloneOperation,'config':{'title':'🧬\x20Service\x20Clone\x20-\x20Rebuild\x20On-chain\x20Services','summary':'Read\x20an\x20existing\x20Service\x27s\x20full\x20configuration\x20and\x20rebuild\x20it\x20as\x20a\x20new\x20object\x20with\x20optional\x20overrides\x20(token,\x20network,\x20fees).','description':'Clone\x20an\x20existing\x20on-chain\x20Service\x20into\x20a\x20new\x20object.\x20'+'Two\x20actions:\x0a'+'\x20\x20•\x20clone_plan\x20—\x20read\x20the\x20source\x20Service\x20(service\x20fields,\x20machine\x20graph,\x20guards,\x20permission,\x20'+'allocators)\x20and\x20emit\x20a\x20reconstruction\x20plan.\x20Optional\x20overrides:\x20token_type\x20(change\x20payment\x20'+'token),\x20network\x20(target\x20network),\x20description,\x20location,\x20sales,\x20compensation_fund,\x20'+'order_allocators.\x20Never\x20executes\x20on-chain.\x0a'+'\x20\x20•\x20clone_apply\x20—\x20take\x20a\x20prior\x20clone_plan\x20(possibly\x20user-edited),\x20apply\x20overrides,\x20run\x20the\x20'+'pre-publish\x20gate\x20(machine\x20topology,\x20allocator\x20guard\x20lint,\x20immutability\x20warnings),\x20and\x20emit\x20'+'the\x20exact\x20onchain_operations\x20payloads\x20in\x20execution\x20order.\x20Never\x20executes\x20on-chain.\x0a\x0a'+'Workflow:\x20clone_plan\x20→\x20review/edit\x20the\x20plan\x20→\x20clone_apply\x20→\x20review\x20gate\x20findings\x20→\x20execute\x20'+'the\x20operations\x20via\x20onchain_operations.\x0a\x0a'+'Deterministic\x20knowledge\x20lookups\x20+\x20planning;\x20never\x20mutates\x20chain\x20state.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27service_clone_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':ServiceCloneSchema,'outputSchema':ServiceCloneOutputSchema,'annotations':{'readOnlyHint':!![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':![]},'_meta':createToolMeta('service_clone',['clone','service','rebuild','token','network','migrate'])}},{'name':'strategy_review_operation','handler':handleStrategyReviewOperation,'config':{'title':'📈\x20Strategy\x20Review\x20-\x20Posture-Weighted\x20Scorecard\x20&\x20Periodic\x20Review','summary':'Collect\x20on-chain/derived\x20evidence\x20for\x20an\x20(account,\x20industry),\x20snapshot\x20it\x20locally,\x20and\x20assemble\x20posture-weighted\x20strategy\x20reviews\x20with\x20current-layer\x20persona\x20proposals.','description':'Evidence-driven\x20operating\x20review\x20for\x20one\x20merchant\x20account\x20in\x20one\x20industry,\x20built\x20on\x20the\x20six-industry\x20'+'strategy\x20catalog\x20(education/rental/freelance/subscription/travel/retail\x20+\x20pack-registered\x20ids).\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20collect\x20—\x20gather\x20fresh\x20evidence\x20(journey\x20funnel,\x20order\x20flow,\x20market\x20metrics,\x20service\x20discovery\x20/\x20'+'competitor\x20count,\x20arbitration\x20trust,\x20account\x20attention),\x20persist\x20ONE\x20append-only\x20snapshot\x20in\x20local\x20'+'SQLite\x20KV,\x20and\x20return\x20the\x20raw\x20collection.\x20Failed\x20evidence\x20sources\x20degrade\x20single\x20metrics\x20to\x20'+'unavailable/error\x20—\x20never\x20zero-filled;\x20storage\x20failure\x20is\x20fail-soft\x20and\x20never\x20loses\x20the\x20collection.\x0a'+'\x20\x20•\x20review\x20—\x20gather\x20fresh\x20evidence\x20WITHOUT\x20persisting,\x20diff\x20against\x20the\x20latest\x20stored\x20snapshot,\x20'+'score\x200–100\x20under\x20the\x20persona\x27s\x20merchant\x20posture\x20(volume/balanced/margin,\x20renormalized\x20over\x20'+'available\x20anchored\x20metrics),\x20and\x20return\x20findings,\x20deterministic\x20pricing/posture\x20recommendations,\x20'+'cadence\x20status\x20and\x20at\x20most\x20two\x20persona\x20proposals.\x20Proposals\x20target\x20the\x20CURRENT\x20layer\x20ONLY\x20and\x20are\x20'+'applied\x20only\x20when\x20the\x20user\x20explicitly\x20calls\x20persona_operation\x20apply\x20—\x20this\x20tool\x20never\x20writes\x20the\x20'+'persona\x20and\x20never\x20mutates\x20chain\x20state.\x0a'+'\x20\x20•\x20list_snapshots\x20—\x20list\x20stored\x20snapshot\x20summaries\x20(oldest-first)\x20for\x20account+industry.\x0a\x0a'+'Posture\x20defaults:\x20explicit\x20`posture`\x20arg\x20→\x20merchant\x20posture\x20in\x20the\x20effective\x20persona\x20→\x20\x27balanced\x27.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27strategy_review_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':StrategyReviewOperationInputSchema,'outputSchema':StrategyReviewOperationOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':![],'idempotentHint':![],'openWorldHint':!![]},'_meta':createToolMeta('strategy',['strategy','scorecard','review','posture','metrics','industry','competitor','retention','dispute'])},'timeoutMs':0x1d4c0},{'name':'workspace_operation','handler':handleWorkspaceOperation,'config':{'title':'📁\x20Workspace\x20-\x20File\x20Generation\x20&\x20User\x20Data','summary':'Local\x20workspace\x20files:\x20list,\x20read,\x20search,\x20glob,\x20edit,\x20write,\x20move,\x20copy,\x20delete.','description':'Manage\x20the\x20local\x20workspace\x20directory\x20(`.wowok/workspace`):\x20files\x20generated\x20for\x20review\x20'+'(machine/guard/wts/wip\x20JSON)\x20and\x20user-created\x20documents.\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20resolve\x20—\x20return\x20the\x20workspace\x20root\x20directory.\x0a'+'\x20\x20•\x20list\x20—\x20list\x20files\x20under\x20the\x20workspace.\x0a'+'\x20\x20•\x20read\x20—\x20read\x20a\x20file\x27s\x20content\x20(use\x20as\x20AI\x20context);\x20optional\x20offset/limit\x20line\x20slicing\x20'+'(1-based\x20offset,\x20max\x202000\x20lines)\x20and\x20encoding=\x27base64\x27\x20for\x20raw\x20bytes\x20(≤10MB).\x0a'+'\x20\x20•\x20search\x20—\x20regex\x20content\x20search\x20across\x20workspace\x20files\x20(pattern\x20required;\x20optional\x20path\x20scope,\x20'+'glob\x20basename\x20filter,\x20ignore_case,\x20max_results\x20≤200,\x20context_lines\x20≤5).\x20Skips\x20binary/large\x20files.\x0a'+'\x20\x20•\x20glob\x20—\x20list\x20files\x20whose\x20workspace-relative\x20path\x20matches\x20a\x20wildcard\x20pattern\x20(\x27**\x27\x20spans\x20'+'directories,\x20\x27*\x27\x20stays\x20within\x20one\x20segment,\x20\x27?\x27\x20=\x20one\x20char,\x20\x27{a,b}\x27\x20alternation).\x0a'+'\x20\x20•\x20edit\x20—\x20exact\x20string\x20replacement\x20inside\x20a\x20file\x20(path\x20+\x20old_string\x20+\x20new_string\x20required;\x20'+'errors\x20when\x20old_string\x20is\x20not\x20unique\x20unless\x20replace_all=true;\x20files\x20≤2MB).\x0a'+'\x20\x20•\x20write\x20—\x20write/overwrite\x20a\x20file\x20(path\x20+\x20content).\x0a'+'\x20\x20•\x20delete\x20—\x20delete\x20a\x20file.\x0a'+'\x20\x20•\x20create_file\x20—\x20create\x20an\x20empty\x20file\x20(path\x20required;\x20content\x20optional).\x0a'+'\x20\x20•\x20create_dir\x20—\x20create\x20a\x20directory\x20recursively\x20(path\x20required).\x0a'+'\x20\x20•\x20copy\x20—\x20copy\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x0a'+'\x20\x20•\x20move\x20—\x20move\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x0a'+'\x20\x20•\x20rename\x20—\x20rename\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x0a\x0a'+'Local\x20filesystem\x20only;\x20never\x20mutates\x20chain\x20state.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27workspace_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':WorkspaceOperationInputSchema,'outputSchema':WorkspaceOperationOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':![]},'_meta':createToolMeta('workspace',['workspace','file','document','machine','guard','wts','wip','context'])}},{'name':'workflow_operation','handler':handleWorkflowOperation,'config':{'title':'🔀\x20Workflow\x20-\x20Local-Account\x20Progress\x20Tasks','summary':'List\x20local-account\x20progress\x20(actionable\x20+\x20related/history)\x20+\x20advance/hold/unhold\x20forwards\x20+\x20view\x20progress\x20history.','description':'Local-account\x20workflow\x20view\x20over\x20on-chain\x20Progress\x20objects.\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20list\x20—\x20enumerate\x20progress\x20related\x20to\x20local\x20accounts:\x20actionable\x20first\x20(a\x20'+'local\x20account\x20can\x20advance\x20a\x20forward),\x20plus\x20related\x20/\x20completed\x20progress\x20(order\x20'+'holder,\x20named\x20operator,\x20or\x20session\x20operator\x20involvement)\x20so\x20the\x20user\x20always\x20'+'keeps\x20visibility\x20of\x20their\x20own\x20progress\x20history.\x20Each\x20task\x20carries\x20every\x20'+'reachable\x20next\x20node\x20+\x20forward,\x20the\x20local\x20accounts\x20that\x20can\x20execute\x20each\x20'+'forward\x20(order\x20holder\x20/\x20named\x20operator\x20/\x20permission\x20index,\x20including\x20admin),\x20'+'guard\x20reminders\x20(a\x20forward\x20with\x20a\x20guard\x20must\x20be\x20verified\x20via\x20passport),\x20and\x20'+'the\x20on-chain\x20history_count.\x0a'+'\x20\x20•\x20operate\x20—\x20advance\x20(\x27next\x27)\x20/\x20block\x20(\x27hold\x27)\x20/\x20release\x20(\x27unhold\x27)\x20/\x20force-release\x20'+'(\x27adminUnhold\x27)\x20a\x20forward\x20as\x20a\x20chosen\x20local\x20account\x20(env.account).\x20Delegates\x20to\x20the\x20'+'on-chain\x20progress\x20operation\x20(guard-aware).\x0a'+'\x20\x20•\x20history\x20—\x20incrementally\x20sync\x20a\x20progress\x27s\x20ON-CHAIN\x20history\x20(Progress.history\x20'+'append-only\x20u64\x20index)\x20into\x20the\x20local\x20SQLite\x20mirror\x20via\x20a\x20per-progress\x20cursor\x20'+'(only\x20NEW\x20records\x20are\x20pulled),\x20then\x20return\x20the\x20migration\x20timeline\x20(newest\x20first)\x20'+'with\x20each\x20migration\x27s\x20session\x20snapshot\x20(forwards\x20/\x20operator\x20address\x20/\x20weight\x20/\x20time).\x20'+'Also\x20runs\x20a\x2090-day\x20retention\x20cleanup\x20of\x20stale\x20progress\x20histories\x20by\x20default.\x0a\x0a'+'Permission\x20model\x20(chain-authoritative):\x20a\x20forward\x20is\x20executable\x20by\x20an\x20account\x20when\x20'+'(a)\x20namedOperator=\x22\x22\x20and\x20the\x20account\x20is\x20the\x20order\x20holder\x20(order\x20builder\x20or\x20agent),\x20'+'or\x20(b)\x20namedOperator=name\x20and\x20the\x20account\x20is\x20in\x20progress.namedOperator[name],\x20or\x20'+'(c)\x20permissionIndex\x20is\x20set\x20and\x20the\x20account\x20is\x20in\x20permission.admin\x20or\x20permission.table.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27workflow_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':WorkflowOperationInputSchema,'outputSchema':WorkflowOperationOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':!![],'idempotentHint':![],'openWorldHint':!![]},'_meta':createToolMeta('workflow',['workflow','progress','forward','permission','named-operator','guard','advance','hold'])},'timeoutMs':0x1d4c0},{'name':'permission_operation','handler':handlePermissionOperation,'config':{'title':'🛡️\x20Permissions\x20-\x20Local-Account\x20Overview','summary':'List\x20Permissions\x20related\x20to\x20local\x20accounts\x20with\x20related\x20accounts/objects.','description':'Local-account\x20Permission\x20overview.\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20list\x20—\x20enumerate\x20every\x20on-chain\x20Permission\x20object\x20related\x20to\x20at\x20least\x20one\x20LOCAL\x20'+'account\x20(reverse-looked-up\x20via\x20the\x20global\x20entity_permission\x20index\x20@0xaad),\x20deduplicated\x20'+'and\x20merged.\x20Each\x20row\x20includes\x20description,\x20owner,\x20latest\x20on-chain\x20update\x20time,\x20related\x20'+'accounts\x20(owner/admin/entity),\x20and\x20related\x20objects\x20(grouped\x20by\x20type\x20via\x20the\x20registrar\x20'+'linker).\x20Pass\x20`permission`\x20to\x20scope\x20the\x20listing\x20to\x20ONE\x20Permission\x20address\x20—\x20fast\x20path\x20'+'(metadata\x20+\x20local-account\x20roles\x20only;\x20skips\x20the\x20per-permission\x20linker/tx-time\x20fan-out)\x20'+'for\x20detail-page\x20Permission\x20rows.\x0a\x0a'+'Read-only\x20(no\x20on-chain\x20mutation).\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27permission_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':PermissionOperationInputSchema,'outputSchema':PermissionOperationOutputSchema,'annotations':{'readOnlyHint':!![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':![]},'_meta':createToolMeta('query',['permission','account','role','owner','admin','entity','overview','registrar','reverse-index'])}}];
|
|
1
|
+
import{handleIndustryPackOperation}from'../handlers/industry-pack.js';import{handleBenchmarkMigrationOperation}from'../handlers/benchmark-migration.js';import{handleStrategyReviewOperation}from'../handlers/strategy-review.js';import{handleWorkspaceOperation}from'../handlers/workspace.js';import{handleWorkflowOperation}from'../handlers/workflow.js';import{handlePermissionOperation}from'../handlers/permission.js';import{handleServiceCloneOperation}from'../handlers/service-clone.js';import{createToolMeta,IndustryPackOperationInputSchema,IndustryPackOperationOutputSchema,BenchmarkMigrationSchema,BenchmarkMigrationOutputSchema,StrategyReviewOperationInputSchema,StrategyReviewOperationOutputSchema,WorkspaceOperationInputSchema,WorkspaceOperationOutputSchema,WorkflowOperationInputSchema,WorkflowOperationOutputSchema,PermissionOperationInputSchema,PermissionOperationOutputSchema,ServiceCloneSchema,ServiceCloneOutputSchema}from'../../schema/index.js';import{CATALOG_INDUSTRY_COUNT as a578a,CATALOG_TEMPLATE_COUNT as a578b}from'../../knowledge/catalog-facts.js';export const BUSINESS_TOOLS=[{'name':'industry_pack_operation','handler':handleIndustryPackOperation,'config':{'title':'🧩\x20Industry\x20Pack\x20-\x20Knowledge\x20Template\x20Orchestration','summary':'Industry\x20knowledge\x20packs:\x20scaffold,\x20register,\x20list,\x20reset\x20templates.','description':'Manage\x20industry\x20knowledge\x20packs\x20(distributable,\x20registrable,\x20versionable\x20units\x20carrying\x20'+'one\x20industry\x27s\x20object-shape,\x20matching\x20rules,\x20and\x20role\x20personae).\x0a\x0a'+'Pack\x20layout\x20(merged\x20v2):\x20pack.json\x20(settings\x20only\x20—\x20manifest\x20+\x20match\x20+\x20personae\x20+\x20'+'dispute/compliance/supply/rules\x20sections;\x20field\x20explanations\x20live\x20in\x20the\x20industry-root\x20'+'README.md)\x20and\x20playbook.md\x20(chaptered\x20AI\x20prompt\x20guide).\x20Legacy\x20split-file\x20layouts\x20'+'(manifest.json/match.json/personae)\x20are\x20still\x20read\x20for\x20backward\x20compatibility.\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20scaffold\x20—\x20generate\x20a\x20pack\x20template\x20skeleton\x20(pack.json\x20+\x20playbook.md,\x20settings\x20only)\x20'+'into\x20the\x20industry\x20directory;\x20the\x20user\x20fills\x20in\x20the\x20content.\x0a'+'\x20\x20•\x20list\x20—\x20list\x20currently\x20registered\x20packs.\x0a'+'\x20\x20•\x20scan\x20—\x20scan\x20+\x20register\x20every\x20pack\x20under\x20the\x20default\x20industry\x20directory.\x0a'+'\x20\x20?\x20template_drift\x20-\x20REPORT\x20builtin\x20template\x20files\x20whose\x20on-disk\x20body\x20differs\x20from\x20the\x20'+'in-code\x20catalog\x20(no_sentinel_legacy\x20/\x20stale_release\x20/\x20user_modified).\x20Run\x20this\x20FIRST\x20when\x20a\x20'+'template\x20change\x20appears\x20to\x20have\x20no\x20effect:\x20a\x20builtin\x20file\x20seeded\x20before\x20the\x20release\x20'+'sentinel\x20existed\x20carries\x20no\x20sentinel\x20and\x20is\x20never\x20upgraded\x20automatically.'+'\x20\x20?\x20repair_builtin_templates\x20-\x20RESEED\x20those\x20legacy\x20files\x20from\x20the\x20in-code\x20catalog.\x20'+'Identity-gated\x20on\x20a\x20known\x20builtin\x20id;\x20the\x20previous\x20body\x20is\x20kept\x20in\x20the\x20hidden\x20templates/.archive/\x20dir\x20and\x20a\x20'+'custom\x20(user)\x20template\x20is\x20never\x20touched.'+'\x20\x20•\x20resolve\x20—\x20return\x20the\x20industry\x20root\x20directory.\x0a'+'\x20\x20•\x20list_files\x20—\x20list\x20files\x20under\x20the\x20industry\x20directory.\x0a'+'\x20\x20•\x20read_file\x20—\x20read\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20required).\x0a'+'\x20\x20•\x20write_file\x20—\x20write\x20content\x20to\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20+\x20content\x20required).\x0a'+'\x20\x20•\x20get\x20—\x20return\x20registered\x20layer\x20data\x20for\x20an\x20industry\x20(name\x20required;\x20dispute/compliance/supply/rules/playbook).\x0a'+'\x20\x20\x20\x20layer=\x27template\x27\x20returns\x20one\x20builtin\x20template\x20(merge-safe\x20projection);\x20layer=\x27params\x27\x20is\x20the\x0a'+'\x20\x20\x20\x20merchant-facing\x20SETTINGS\x20surface:\x20with\x20template=\x27<id>\x27\x20every\x20declared\x20parameter\x20in\x20business\x20order\x0a'+'\x20\x20\x20\x20(tier,\x20tags,\x20kind/unit,\x20meaning,\x20default,\x20accepted\x20values,\x20PROVEN\x20live/inert\x20status,\x20landing,\x20editable);\x0a'+'\x20\x20\x20\x20with\x20\x27query\x27\x20instead\x20of\x20a\x20template\x20id\x20it\x20searches\x20the\x20catalog\x20for\x20a\x20business\x20facet\x20(\x27settlement\x20window\x27,\x0a'+'\x20\x20\x20\x20\x27take\x20rate\x27)\x20and\x20returns\x20ranked\x20hits\x20with\x20explainable\x20reasons\x20—\x20an\x20empty\x20list\x20means\x20no\x20such\x20setting.\x0a'+'\x20\x20\x20\x20layer=\x27components\x27\x20is\x20the\x20COMPONENT\x20surface\x20beside\x20it:\x20one\x20slot\x20per\x20Service/Sale\x20field,\x20allocator\x0a'+'\x20\x20\x20\x20row,\x20per-order\x20Allocation,\x20Machine,\x20Guard,\x20Repository\x20policy,\x20reward,\x20arbitration\x20binding,\x20permission\x0a'+'\x20\x20\x20\x20and\x20treasury\x20item\x20—\x20each\x20with\x20what\x20it\x20is,\x20how\x20it\x20is\x20configured\x20(lifecycle\x20surface\x20create/pre-publish/\x0a'+'\x20\x20\x20\x20append-only/post-publish/immutable\x20+\x20the\x20exact\x20field\x20path),\x20the\x20effect\x20once\x20it\x20applies,\x20and\x20what\x20it\x20is\x0a'+'\x20\x20\x20\x20bound\x20to;\x20a\x20non-configurable\x20slot\x20always\x20carries\x20why_not\x20(e.g.\x20a\x20split\x20hard-coded\x20in\x20the\x20template\x20body).\x0a'+'\x20\x20•\x20capability_list\x20—\x20list\x20the\x20Capability\x20Lattice\x20registry\x20(composable\x20business\x20units;\x20optional\x20group\x20filter).\x0a'+'\x20\x20•\x20capability_get\x20—\x20full\x20card\x20of\x20ONE\x20capability\x20(intent/binds/requires/excludes/risks/disclosures/cost/constraints).\x0a'+'\x20\x20•\x20compose_probe\x20—\x20probe\x20whether\x20a\x20capability\x20selection\x20can\x20coexist\x20in\x20one\x20build\x20(capabilities[]\x20required;\x20optional\x20template\x20as\x20base\x20build).\x0a'+'\x20\x20•\x20product_cards\x20—\x20FRONT-stage\x20ProductCard\x20summaries\x20for\x20the\x20catalog\x20or\x20one\x20industry\x20(optional\x20name\x20filter).\x0a'+'\x20\x20•\x20product_card\x20—\x20the\x20full\x20ProductCard\x20of\x20ONE\x20builtin\x20template\x20(template\x20id\x20required):\x20alignment/features/cost/params/risks,\x20every\x20assertion\x20projected\x20from\x20declared\x20data.\x0a'+'\x20\x20•\x20diff\x20—\x20compare\x20registered\x20vs\x20on-disk\x20manifest\x20version/layers\x20(name\x20required).\x0a'+'\x20\x20•\x20reset\x20—\x20restore\x20a\x20file\x20or\x20entire\x20pack\x20folder\x20to\x20its\x20pristine\x20annotated\x20template\x20(path\x20required).\x0a'+'\x20\x20•\x20delete_file\x20—\x20delete\x20a\x20file\x20or\x20directory\x20(path\x20required).\x0a'+'\x20\x20•\x20create_file\x20—\x20create\x20an\x20empty\x20file\x20(path\x20required;\x20content\x20optional).\x0a'+'\x20\x20•\x20create_dir\x20—\x20create\x20a\x20directory\x20recursively\x20(path\x20required).\x0a'+'\x20\x20•\x20copy\x20—\x20copy\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x0a'+'\x20\x20•\x20move\x20/\x20rename\x20—\x20move\x20or\x20rename\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x0a'+'\x20\x20•\x20recommend_industry\x20—\x20business\x20intent\x20text\x20→\x20top-3\x20similar\x20industry\x20modes\x20(trait\x20similarity;\x20optional\x20strategy\x20statements\x20re-rank\x20by\x20lever\x20alignment).\x0a'+'\x20\x20•\x20list_modes\x20—\x20list\x20builtin\x20+\x20caller\x27s\x20custom\x20industry\x20modes.\x0a'+'\x20\x20•\x20derive_user_mode\x20—\x20derive\x20(and\x20register)\x20a\x20custom\x20mode\x20from\x20a\x20builtin\x20mode.\x0a'+'\x20\x20•\x20evolve_user_mode\x20—\x20iterate\x20an\x20existing\x20custom\x20mode\x20(version-bumped\x20evolution\x20history).\x0a'+'\x20\x20•\x20register_user_mode\x20—\x20register\x20a\x20fully\x20custom\x20mode\x20(machine_shape\x20+\x20key_risk\x20required).\x0a'+'\x20\x20•\x20unregister_user_mode\x20—\x20delete\x20a\x20custom\x20mode\x20(owner\x20only).\x0a'+'\x20\x20•\x20register_custom_metric\x20—\x20register\x20a\x20global\x20custom\x20evaluation\x20metric\x20(risk/benefit;\x20persisted).\x0a'+'\x20\x20•\x20unregister_custom_metric\x20—\x20delete\x20a\x20custom\x20metric\x20(custom\x20only;\x20builtin\x20metrics\x20cannot\x20be\x20deleted).\x0a'+'\x20\x20•\x20register_custom_constraint\x20—\x20register\x20a\x20custom\x20mode\x20constraint\x20(4\x20rule\x20types;\x20hard/soft;\x20persisted).\x0a'+'\x20\x20•\x20unregister_custom_constraint\x20—\x20delete\x20a\x20custom\x20constraint\x20(custom\x20only;\x20builtin\x20constraints\x20cannot\x20be\x20deleted).\x0a'+'\x20\x20•\x20list_metrics_constraints\x20—\x20list\x20metrics\x20+\x20constraints\x20(filterable\x20by\x20type/scope).\x0a\x0a'+'Local\x20filesystem\x20+\x20in-memory\x20registry\x20only;\x20never\x20mutates\x20chain\x20state.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27industry_pack_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':IndustryPackOperationInputSchema,'outputSchema':IndustryPackOperationOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':![]},'_meta':createToolMeta('industry_pack',['industry','pack','mode','match','persona','scaffold','template'])}},{'name':'benchmark_migration_operation','handler':handleBenchmarkMigrationOperation,'config':{'title':'🏆\x20Template\x20Migration\x20-\x20Industry\x20Templates\x20&\x20Competitor\x20Migration','summary':'MD\x20industry-archetype\x20templates\x20(hot-loaded,\x20'+a578b+'\x20built-ins)\x20+\x20pre-deploy\x20risk\x20scan\x20+\x20one-click\x20competitor\x20migration.','description':'Industry-archetype\x20MD\x20templates\x20and\x20one-click\x20competitor\x20migration\x20(V2\x20MD-template\x20architecture).\x20'+'Templates\x20live\x20in\x20`.wowok/industry/<industry>/templates/<variant>.md`\x20(the\x20client\x27s\x20industry\x20drawer\x20tree\x20—\x20hot-loaded,\x20zod-validated\x20frontmatter;\x20'+(a578b+'\x20built-in\x20archetypes\x20across\x20'+a578a+'\x20industries\x20are\x20seeded\x20idempotently\x20and\x20never\x20')+'overwritten).\x20Each\x20template\x20is\x20a\x20ScenarioMode-compatible\x20build\x20shape\x20(machine_shape\x20/\x20guards\x20/\x20'+'allocator)\x20plus\x20fee\x20parameters\x20and\x20R1-R10\x20trust\x20mechanisms.\x0a\x0a'+'Product\x20tagging:\x20every\x20built-in\x20carries\x20a\x20`product_ref`\x20benchmark\x20slug\x20(e.g.\x20retail/scale-marketplace\x20→\x20'+'\x27amazon\x27,\x20travel/global-ota\x20→\x20\x27booking-com\x27).\x20This\x20is\x20the\x20ONLY\x20sanctioned\x20company\x20name\x20—\x20it\x20lets\x20a\x20user\x20'+'pick\x20a\x20template\x20by\x20naming\x20the\x20incumbent\x20product\x20they\x20want\x20to\x20migrate\x20from.\x20When\x20the\x20user\x20names\x20a\x20product,\x20'+'call\x20template_list\x20and\x20match\x20on\x20product_ref,\x20then\x20template_generate/migration_apply\x20with\x20that\x20template_id.\x0a\x0a'+'Three\x20build\x20modes\x20(choose\x20from\x20the\x20user\x27s\x20intent):\x0a'+'\x20\x20•\x20template-driven\x20—\x20pick\x20the\x20closest\x20product_ref/industry\x20template,\x20adopt\x20it\x20as-is\x20(template_generate).\x0a'+'\x20\x20•\x20template\x20+\x20partial\x20customization\x20—\x20start\x20from\x20a\x20template,\x20then\x20override\x20fee_params\x20(fee_overrides)\x20or\x20'+'edit\x20the\x20MD\x20file\x20via\x20industry_pack_operation\x20write_file\x20before\x20generating.\x0a'+'\x20\x20•\x20fully\x20custom\x20—\x20skip\x20templates;\x20drive\x20the\x20merchant-guide\x20pipeline\x20from\x20a\x20free-text\x20description.\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20template_list\x20—\x20list\x20the\x20loaded\x20MD\x20templates\x20(optional\x20industry\x20filter;\x20rows\x20carry\x20product_ref);\x20load\x20errors\x20are\x20'+'reported,\x20never\x20silently\x20dropped.\x0a'+'\x20\x20•\x20template_get\x20—\x20fetch\x20one\x20template\x20by\x20template_id\x20(full\x20machine_shape/guards/allocator/'+'fee_params/trust_mechanisms/body).\x0a'+'\x20\x20•\x20template_generate\x20—\x20generate\x20a\x20creation\x20plan\x20from\x20a\x20template\x20via\x20the\x20merchant-guide\x20pipeline\x20'+'(template_id\x20required;\x20scan-first\x20—\x20CRITICAL\x20findings\x20block;\x20description\x20optional\x20as\x20the\x20intent\x20'+'text;\x20fee_overrides\x20optional;\x20never\x20executes\x20on-chain).\x0a'+'\x20\x20•\x20plan_execute\x20—\x20execute\x20the\x20plan\x20returned\x20by\x20template_generate\x20in\x20ONE\x20call\x20(plan\x20required):\x20'+'materializes\x20every\x20step\x20in\x20order\x20through\x20the\x20built-in\x20executor\x20(chain\x20writes).\x20On\x20a\x20mid-plan\x20'+'failure\x20the\x20response\x20carries\x20a\x20ready-to-pass\x20`resume`\x20payload\x20(completed_steps\x20+\x20previous_outputs)\x20—\x20'+'send\x20it\x20back\x20VERBATIM\x20with\x20the\x20SAME\x20plan\x20to\x20RESUME\x20where\x20it\x20halted\x20(never\x20re-run\x20from\x20scratch:\x20the\x20'+'already-created\x20objects\x20would\x20duplicate),\x20or\x20use\x20resume_from_step\x20(first\x20non-executed\x20step\x20id)\x20+\x20'+'previous_outputs.\x20A\x20step\x20failing\x20with\x20the\x20IDENTICAL\x20error\x20in\x202+\x20consecutive\x20rounds\x20withholds\x20the\x20'+'RESUME\x20recipe\x20(repeated_failures)\x20and\x20a\x20third\x20unchanged\x20re-run\x20is\x20REFUSED\x20(retry_override\x20{step_id,\x20'+'note}\x20is\x20the\x20audited\x20escape\x20hatch).\x0a'+'\x20\x20•\x20template_scan\x20—\x20pre-deploy\x20risk\x20scan\x20of\x20one\x20template\x20(template_id\x20required):\x20synthetic\x20draft\x20'+'topology\x20through\x20the\x20same\x20rule\x20surface\x20as\x20on-chain\x20analyze\x20+\x20static\x20R1-R10\x20checks;\x20returns\x20'+'risk_level/findings/red_flags\x20plus\x20a\x20drift\x20face\x20(disk-vs-catalog\x20provenance\x20of\x20the\x20scanned\x20'+'body\x20—\x20blocked=true\x20means\x20the\x20audited\x20body\x20is\x20not\x20the\x20shipped\x20catalog\x20body)\x20and\x20a\x20compile\x20'+'dry-run\x20verdict\x20(compile_dry_run.status\x20ready/blocked/unavailable\x20—\x20synthetic-probe\x20'+'buildability\x20through\x20the\x20same\x20pipeline\x20template_generate\x20uses,\x20mirrored\x20to\x20the\x20'+'generate\x20gate:\x20CRITICAL\x20+\x20N-21\x20HIGH\x20findings\x20+\x20graph\x20+\x20audit\x20blockers;\x20blocked\x20lists\x20'+'the\x20named\x20rules\x20the\x20generate\x20face\x20would\x20refuse\x20on);\x20CRITICAL\x20blocks\x20generation/apply.\x0a'+'\x20\x20•\x20migration_import\x20—\x20competitor\x20URL/description\x20→\x20structured\x20MigrationLog:\x20mapped\x20/\x20'+'unmapped\x20/\x20manual_review\x20entries,\x20WoWok\x20advantages,\x20customizable\x20modules,\x20role\x20assessment\x20'+'and\x20a\x20dry-run\x20risk\x20check\x20(description\x20required;\x20url\x20recorded\x20as\x20provenance\x20only;\x20default\x20'+'network\x20testnet).\x0a'+'\x20\x20•\x20migration_review\x20—\x20surface\x20a\x20prior\x20MigrationLog\x20with\x20counts\x20+\x20risk\x20status\x20for\x20user\x20'+'confirmation\x20(log\x20required).\x0a'+'\x20\x20•\x20migration_apply\x20—\x20run\x20the\x20approved\x20template\x20through\x20the\x20merchant-guide\x20pipeline\x20'+'(template_id\x20required;\x20scan-first\x20—\x20CRITICAL\x20findings\x20block;\x20creation\x20plan\x20only\x20—\x20never\x20executes\x20'+'on-chain;\x20default\x20network\x20testnet,\x20mainnet\x20requires\x20explicit\x20user\x20confirmation).\x0a\x0a'+'Deterministic\x20planning;\x20only\x20plan_execute\x20writes\x20chain\x20state\x20(its\x20plan\x27s\x20steps)\x20—\x20every\x20other\x20action\x20is\x20a\x20read/plan\x20emission.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27benchmark_migration_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':BenchmarkMigrationSchema,'outputSchema':BenchmarkMigrationOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':![]},'_meta':createToolMeta('benchmark_migration',['template','migration','competitor','industry','leader','challenger','scan','risk'])},'timeoutMs':0xdbba0},{'name':'service_clone_operation','handler':handleServiceCloneOperation,'config':{'title':'🧬\x20Service\x20Clone\x20-\x20Rebuild\x20On-chain\x20Services','summary':'Read\x20an\x20existing\x20Service\x27s\x20full\x20configuration\x20and\x20rebuild\x20it\x20as\x20a\x20new\x20object\x20with\x20optional\x20overrides\x20(token,\x20network,\x20fees).','description':'Clone\x20an\x20existing\x20on-chain\x20Service\x20into\x20a\x20new\x20object.\x20'+'Two\x20actions:\x0a'+'\x20\x20•\x20clone_plan\x20—\x20read\x20the\x20source\x20Service\x20(service\x20fields,\x20machine\x20graph,\x20guards,\x20permission,\x20'+'allocators)\x20and\x20emit\x20a\x20reconstruction\x20plan.\x20Optional\x20overrides:\x20token_type\x20(change\x20payment\x20'+'token),\x20network\x20(target\x20network),\x20description,\x20location,\x20sales,\x20compensation_fund,\x20'+'order_allocators.\x20Never\x20executes\x20on-chain.\x0a'+'\x20\x20•\x20clone_apply\x20—\x20take\x20a\x20prior\x20clone_plan\x20(possibly\x20user-edited),\x20apply\x20overrides,\x20run\x20the\x20'+'pre-publish\x20gate\x20(machine\x20topology,\x20allocator\x20guard\x20lint,\x20immutability\x20warnings),\x20and\x20emit\x20'+'the\x20exact\x20onchain_operations\x20payloads\x20in\x20execution\x20order.\x20Never\x20executes\x20on-chain.\x0a\x0a'+'Workflow:\x20clone_plan\x20→\x20review/edit\x20the\x20plan\x20→\x20clone_apply\x20→\x20review\x20gate\x20findings\x20→\x20execute\x20'+'the\x20operations\x20via\x20onchain_operations.\x0a\x0a'+'Deterministic\x20knowledge\x20lookups\x20+\x20planning;\x20never\x20mutates\x20chain\x20state.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27service_clone_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':ServiceCloneSchema,'outputSchema':ServiceCloneOutputSchema,'annotations':{'readOnlyHint':!![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':![]},'_meta':createToolMeta('service_clone',['clone','service','rebuild','token','network','migrate'])}},{'name':'strategy_review_operation','handler':handleStrategyReviewOperation,'config':{'title':'📈\x20Strategy\x20Review\x20-\x20Posture-Weighted\x20Scorecard\x20&\x20Periodic\x20Review','summary':'Collect\x20on-chain/derived\x20evidence\x20for\x20an\x20(account,\x20industry),\x20snapshot\x20it\x20locally,\x20and\x20assemble\x20posture-weighted\x20strategy\x20reviews\x20with\x20current-layer\x20persona\x20proposals.','description':'Evidence-driven\x20operating\x20review\x20for\x20one\x20merchant\x20account\x20in\x20one\x20industry,\x20built\x20on\x20the\x20six-industry\x20'+'strategy\x20catalog\x20(education/rental/freelance/subscription/travel/retail\x20+\x20pack-registered\x20ids).\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20collect\x20—\x20gather\x20fresh\x20evidence\x20(journey\x20funnel,\x20order\x20flow,\x20market\x20metrics,\x20service\x20discovery\x20/\x20'+'competitor\x20count,\x20arbitration\x20trust,\x20account\x20attention),\x20persist\x20ONE\x20append-only\x20snapshot\x20in\x20local\x20'+'SQLite\x20KV,\x20and\x20return\x20the\x20raw\x20collection.\x20Failed\x20evidence\x20sources\x20degrade\x20single\x20metrics\x20to\x20'+'unavailable/error\x20—\x20never\x20zero-filled;\x20storage\x20failure\x20is\x20fail-soft\x20and\x20never\x20loses\x20the\x20collection.\x0a'+'\x20\x20•\x20review\x20—\x20gather\x20fresh\x20evidence\x20WITHOUT\x20persisting,\x20diff\x20against\x20the\x20latest\x20stored\x20snapshot,\x20'+'score\x200–100\x20under\x20the\x20persona\x27s\x20merchant\x20posture\x20(volume/balanced/margin,\x20renormalized\x20over\x20'+'available\x20anchored\x20metrics),\x20and\x20return\x20findings,\x20deterministic\x20pricing/posture\x20recommendations,\x20'+'cadence\x20status\x20and\x20at\x20most\x20two\x20persona\x20proposals.\x20Proposals\x20target\x20the\x20CURRENT\x20layer\x20ONLY\x20and\x20are\x20'+'applied\x20only\x20when\x20the\x20user\x20explicitly\x20calls\x20persona_operation\x20apply\x20—\x20this\x20tool\x20never\x20writes\x20the\x20'+'persona\x20and\x20never\x20mutates\x20chain\x20state.\x0a'+'\x20\x20•\x20list_snapshots\x20—\x20list\x20stored\x20snapshot\x20summaries\x20(oldest-first)\x20for\x20account+industry.\x0a\x0a'+'Posture\x20defaults:\x20explicit\x20`posture`\x20arg\x20→\x20merchant\x20posture\x20in\x20the\x20effective\x20persona\x20→\x20\x27balanced\x27.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27strategy_review_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':StrategyReviewOperationInputSchema,'outputSchema':StrategyReviewOperationOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':![],'idempotentHint':![],'openWorldHint':!![]},'_meta':createToolMeta('strategy',['strategy','scorecard','review','posture','metrics','industry','competitor','retention','dispute'])},'timeoutMs':0x1d4c0},{'name':'workspace_operation','handler':handleWorkspaceOperation,'config':{'title':'📁\x20Workspace\x20-\x20File\x20Generation\x20&\x20User\x20Data','summary':'Local\x20workspace\x20files:\x20list,\x20read,\x20search,\x20glob,\x20edit,\x20write,\x20move,\x20copy,\x20delete.','description':'Manage\x20the\x20local\x20workspace\x20directory\x20(`.wowok/workspace`):\x20files\x20generated\x20for\x20review\x20'+'(machine/guard/wts/wip\x20JSON)\x20and\x20user-created\x20documents.\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20resolve\x20—\x20return\x20the\x20workspace\x20root\x20directory.\x0a'+'\x20\x20•\x20list\x20—\x20list\x20files\x20under\x20the\x20workspace.\x0a'+'\x20\x20•\x20read\x20—\x20read\x20a\x20file\x27s\x20content\x20(use\x20as\x20AI\x20context);\x20optional\x20offset/limit\x20line\x20slicing\x20'+'(1-based\x20offset,\x20max\x202000\x20lines)\x20and\x20encoding=\x27base64\x27\x20for\x20raw\x20bytes\x20(≤10MB).\x0a'+'\x20\x20•\x20search\x20—\x20regex\x20content\x20search\x20across\x20workspace\x20files\x20(pattern\x20required;\x20optional\x20path\x20scope,\x20'+'glob\x20basename\x20filter,\x20ignore_case,\x20max_results\x20≤200,\x20context_lines\x20≤5).\x20Skips\x20binary/large\x20files.\x0a'+'\x20\x20•\x20glob\x20—\x20list\x20files\x20whose\x20workspace-relative\x20path\x20matches\x20a\x20wildcard\x20pattern\x20(\x27**\x27\x20spans\x20'+'directories,\x20\x27*\x27\x20stays\x20within\x20one\x20segment,\x20\x27?\x27\x20=\x20one\x20char,\x20\x27{a,b}\x27\x20alternation).\x0a'+'\x20\x20•\x20edit\x20—\x20exact\x20string\x20replacement\x20inside\x20a\x20file\x20(path\x20+\x20old_string\x20+\x20new_string\x20required;\x20'+'errors\x20when\x20old_string\x20is\x20not\x20unique\x20unless\x20replace_all=true;\x20files\x20≤2MB).\x0a'+'\x20\x20•\x20write\x20—\x20write/overwrite\x20a\x20file\x20(path\x20+\x20content).\x0a'+'\x20\x20•\x20delete\x20—\x20delete\x20a\x20file.\x0a'+'\x20\x20•\x20create_file\x20—\x20create\x20an\x20empty\x20file\x20(path\x20required;\x20content\x20optional).\x0a'+'\x20\x20•\x20create_dir\x20—\x20create\x20a\x20directory\x20recursively\x20(path\x20required).\x0a'+'\x20\x20•\x20copy\x20—\x20copy\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x0a'+'\x20\x20•\x20move\x20—\x20move\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x0a'+'\x20\x20•\x20rename\x20—\x20rename\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x0a\x0a'+'Local\x20filesystem\x20only;\x20never\x20mutates\x20chain\x20state.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27workspace_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':WorkspaceOperationInputSchema,'outputSchema':WorkspaceOperationOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':![]},'_meta':createToolMeta('workspace',['workspace','file','document','machine','guard','wts','wip','context'])}},{'name':'workflow_operation','handler':handleWorkflowOperation,'config':{'title':'🔀\x20Workflow\x20-\x20Local-Account\x20Progress\x20Tasks','summary':'List\x20local-account\x20progress\x20(actionable\x20+\x20related/history)\x20+\x20advance/hold/unhold\x20forwards\x20+\x20view\x20progress\x20history.','description':'Local-account\x20workflow\x20view\x20over\x20on-chain\x20Progress\x20objects.\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20list\x20—\x20enumerate\x20progress\x20related\x20to\x20local\x20accounts:\x20actionable\x20first\x20(a\x20'+'local\x20account\x20can\x20advance\x20a\x20forward),\x20plus\x20related\x20/\x20completed\x20progress\x20(order\x20'+'holder,\x20named\x20operator,\x20or\x20session\x20operator\x20involvement)\x20so\x20the\x20user\x20always\x20'+'keeps\x20visibility\x20of\x20their\x20own\x20progress\x20history.\x20Each\x20task\x20carries\x20every\x20'+'reachable\x20next\x20node\x20+\x20forward,\x20the\x20local\x20accounts\x20that\x20can\x20execute\x20each\x20'+'forward\x20(order\x20holder\x20/\x20named\x20operator\x20/\x20permission\x20index,\x20including\x20admin),\x20'+'guard\x20reminders\x20(a\x20forward\x20with\x20a\x20guard\x20must\x20be\x20verified\x20via\x20passport),\x20and\x20'+'the\x20on-chain\x20history_count.\x0a'+'\x20\x20•\x20operate\x20—\x20advance\x20(\x27next\x27)\x20/\x20block\x20(\x27hold\x27)\x20/\x20release\x20(\x27unhold\x27)\x20/\x20force-release\x20'+'(\x27adminUnhold\x27)\x20a\x20forward\x20as\x20a\x20chosen\x20local\x20account\x20(env.account).\x20Delegates\x20to\x20the\x20'+'on-chain\x20progress\x20operation\x20(guard-aware).\x0a'+'\x20\x20•\x20history\x20—\x20incrementally\x20sync\x20a\x20progress\x27s\x20ON-CHAIN\x20history\x20(Progress.history\x20'+'append-only\x20u64\x20index)\x20into\x20the\x20local\x20SQLite\x20mirror\x20via\x20a\x20per-progress\x20cursor\x20'+'(only\x20NEW\x20records\x20are\x20pulled),\x20then\x20return\x20the\x20migration\x20timeline\x20(newest\x20first)\x20'+'with\x20each\x20migration\x27s\x20session\x20snapshot\x20(forwards\x20/\x20operator\x20address\x20/\x20weight\x20/\x20time).\x20'+'Also\x20runs\x20a\x2090-day\x20retention\x20cleanup\x20of\x20stale\x20progress\x20histories\x20by\x20default.\x0a\x0a'+'Permission\x20model\x20(chain-authoritative):\x20a\x20forward\x20is\x20executable\x20by\x20an\x20account\x20when\x20'+'(a)\x20namedOperator=\x22\x22\x20and\x20the\x20account\x20is\x20the\x20order\x20holder\x20(order\x20builder\x20or\x20agent),\x20'+'or\x20(b)\x20namedOperator=name\x20and\x20the\x20account\x20is\x20in\x20progress.namedOperator[name],\x20or\x20'+'(c)\x20permissionIndex\x20is\x20set\x20and\x20the\x20account\x20is\x20in\x20permission.admin\x20or\x20permission.table.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27workflow_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':WorkflowOperationInputSchema,'outputSchema':WorkflowOperationOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':!![],'idempotentHint':![],'openWorldHint':!![]},'_meta':createToolMeta('workflow',['workflow','progress','forward','permission','named-operator','guard','advance','hold'])},'timeoutMs':0x1d4c0},{'name':'permission_operation','handler':handlePermissionOperation,'config':{'title':'🛡️\x20Permissions\x20-\x20Local-Account\x20Overview','summary':'List\x20Permissions\x20related\x20to\x20local\x20accounts\x20with\x20related\x20accounts/objects.','description':'Local-account\x20Permission\x20overview.\x0a\x0a'+'Actions:\x0a'+'\x20\x20•\x20list\x20—\x20enumerate\x20every\x20on-chain\x20Permission\x20object\x20related\x20to\x20at\x20least\x20one\x20LOCAL\x20'+'account\x20(reverse-looked-up\x20via\x20the\x20global\x20entity_permission\x20index\x20@0xaad),\x20deduplicated\x20'+'and\x20merged.\x20Each\x20row\x20includes\x20description,\x20owner,\x20latest\x20on-chain\x20update\x20time,\x20related\x20'+'accounts\x20(owner/admin/entity),\x20and\x20related\x20objects\x20(grouped\x20by\x20type\x20via\x20the\x20registrar\x20'+'linker).\x20Pass\x20`permission`\x20to\x20scope\x20the\x20listing\x20to\x20ONE\x20Permission\x20address\x20—\x20fast\x20path\x20'+'(metadata\x20+\x20local-account\x20roles\x20only;\x20skips\x20the\x20per-permission\x20linker/tx-time\x20fan-out)\x20'+'for\x20detail-page\x20Permission\x20rows.\x0a\x0a'+'Read-only\x20(no\x20on-chain\x20mutation).\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27permission_operation\x27\x20to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':PermissionOperationInputSchema,'outputSchema':PermissionOperationOutputSchema,'annotations':{'readOnlyHint':!![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':![]},'_meta':createToolMeta('query',['permission','account','role','owner','admin','entity','overview','registrar','reverse-index'])}}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{handleOnchainOperations,onchainTimeoutVerify}from'../handlers/onchain.js';import{applyOnchainRules}from'../rules-hook.js';import{createToolMeta,OnchainOperationsSchema,CallOutputSchema}from'../../schema/index.js';export const ONCHAIN_TOOLS=[{'name':'onchain_operations','handler':handleOnchainOperations,'config':{'title':'⛓️\x20On-chain\x20Operations','summary':'On-chain\x20ops:\x20service,\x20machine,\x20progress,\x20repository,\x20arbitration,\x20etc.','description':'On-chain\x20operations\x20for\x20WoWok\x20object:\x20service\x20(marketplace\x20listings),\x20machine\x20(workflow\x20templates),\x20progress\x20(order\x20tracking),\x20repository\x20(on-chain\x20database),\x20arbitration\x20(dispute\x20resolution),\x20contact\x20(IM\x20management),\x20treasury\x20(team\x20funds),\x20reward\x20(incentive\x20pools),\x20allocation\x20(auto-distribution),\x20permission\x20(access\x20control),\x20guard\x20(programmable\x20trust\x20rules),\x20personal\x20(public\x20profile),\x20payment\x20(direct\x20coin\x20transfers),\x20demand\x20(service\x20requests),\x20order\x20(order\x20management),\x20gen_passport\x20(verified\x20credentials),\x20proof\x20(on-chain\x20proof\x20objects),\x20gen_proof\x20(generate\x20proof\x20shortcut).\x0a\x0a🎯\x20NETWORK\x20(CRITICAL):\x20never\x20guess\x20or\x20hardcode\x20a\x20network.\x20OMIT\x20env.network\x20—\x20the\x20runtime\x20stamps\x20the\x20user\x27s\x20CURRENT\x20network\x20(the\x20client\x27s\x20UI\x20selection)\x20onto\x20every\x20call;\x20the\x20confirmation\x20card\x20and\x20response\x20echo\x20the\x20actual\x20network.\x20Set\x20env.network\x20ONLY\x20when\x20the\x20user\x20explicitly\x20names\x20a\x20different\x20network\x20(a\x20mismatch\x20pauses\x20for\x20user\x20confirmation).\x0a\x0a💰\x20FUND\x20SAFETY\x20(service/arbitration/treasury/reward/allocation/payment):\x20amounts\x20are\x20parsed\x20against\x20the\x20target\x20object\x27s\x20IMMUTABLE\x20generic\x20token\x20type\x20(e.g.\x20Treasury<USDT>\x20accepts\x20ONLY\x20USDT\x20—\x20mismatched\x20coins/token_types\x20are\x20BLOCKED\x20before\x20execution).\x20Monetary\x20input\x20with\x20unresolvable\x20token\x20precision\x20is\x20BLOCKED\x20(never\x20guesses\x20decimals)\x20with\x20known-token\x20suggestions;\x20retry\x20once\x20the\x20token\x20info\x20resolves.\x20Display-format\x20amounts\x20like\x20\x222WOW\x22\x20are\x20converted\x20to\x20raw\x20u64\x20using\x20the\x20token\x27s\x20own\x20decimals.\x0a\x0a🔒\x20GUARD\x20PRESET\x20BINDINGS:\x20objects\x20declare\x20preset\x20slots\x20where\x20guard\x20submissions\x20gain\x20business\x20meaning\x20—\x20Reward\x20reads\x20claim\x20recipient\x20(address)\x20/\x20amount\x20(u64)\x20/\x20expiration_time\x20(claim\x20deadline;\x20contract\x20asserts\x20clock\x20≤\x20expiration_time);\x20Allocation\x20reads\x20split\x20payee\x20(address)\x20and\x20Rate\x20(basis\x20points,\x20must\x20complete\x2010000\x20unless\x20a\x20Surplus\x20entry\x20exists);\x20Demand\x20reads\x20the\x20presented\x20service\x20(address);\x20Treasury\x20reads\x20deposit/withdraw\x20amounts\x20(number)\x20—\x20external_withdraw\x20is\x20a\x20PAYMENT\x20AUTHORIZATION;\x20Repository\x20reads\x20row\x20key\x20(address)\x20and\x20row\x20data\x20(any\x20type);\x20its\x20composite\x20(order,\x20tag)\x20evidence\x20plane\x20(repository\x20op\x20order_tag_add\x20/\x20order_tag_remove,\x20v140)\x20files\x20per-order\x20rows\x20under\x20the\x20policy\x20NAMED\x20by\x20the\x20tag\x20—\x20the\x20policy\x20must\x20exist\x20with\x20id_from=None,\x20write_guard\x20is\x20mandatory,\x20the\x20passport\x20is\x20REQUIRED\x20on-chain,\x20and\x20write_once\x20policies\x20refuse\x20BOTH\x20overwrite\x20and\x20(while\x20enable_repo_write_once_remove_guard\x20is\x20on)\x20removal\x20with\x20the\x20repository\x20write-once\x20conflict\x20abort\x20(E_POLICY_WRITE_ONCE_CONFLICT);\x20Arbitration\x20reads\x20vote\x20weight\x20(number)\x20and\x20usage_guard\x20(dispute-opening\x20gate);\x20Machine\x20Forward\x20requires\x20retained_submissions\x20as\x20mandatory\x20evidence.\x20When\x20configuring\x20rewards\x20for\x20staff:\x20consider\x20an\x20owner\x20fund-recovery\x20escape\x20guard\x20(Signer\x20recipient\x20+\x20GuardU64Identifier\x20amount\x20+\x20Clock-based\x20lock)\x20—\x20claim\x20is\x20the\x20ONLY\x20exit\x20from\x20a\x20Reward\x27s\x20balance\x20(owner_receive\x20extracts\x20RECEIVED\x20objects,\x20never\x20the\x20balance).\x20relationship_profile\x20surfaces\x20these\x20creator/user\x20semantics\x20on\x20touched\x20objects.\x0a\x0a🌐\x20SCENARIO\x20TOPOLOGY:\x20object\x20fields\x20that\x20reference\x20other\x20objects\x20are\x20SCENARIO\x20BRIDGES,\x20not\x20data\x20pointers\x20—\x20Demand.present(Service)\x20welds\x20need-expression\x20and\x20product-listing\x20into\x20a\x20matchmaking\x20capability\x20that\x20belongs\x20to\x20neither\x20object\x20alone;\x20Order\x20copies\x20the\x20Service\x27s\x20machine\x20at\x20creation\x20(order\x20keeps\x20its\x20own\x20fulfillment\x20path);\x20Service\x20pre-binds\x20arbitrations\x20+\x20compensation_fund\x20(fairness:\x20E_ARBITRATION_PERMISSION_CONFLICT\x20rejects\x20arbitrations\x20sharing\x20the\x20service\x27s\x20own\x20permission);\x20um\x20binds\x20a\x20Contact\x20per\x20object;\x20permission\x20fields\x20route\x20ALL\x20admin\x20operations\x20through\x20one\x20governance\x20backbone.\x20Whole\x20applications\x20are\x20BRIDGE\x20CHAINS\x20(standard\x20e-commerce:\x20qualification→purchase→communication→fulfillment→escrow_split→incentive;\x20procurement\x20tender:\x20supply_match→…→dispute).\x20relationship_profile\x20auto-surfaces\x20the\x20bridges\x20implied\x20by\x20a\x20topology\x27s\x20touched\x20objects\x20(K3\x2003\x20§3.5).\x0a\x0a⚡\x20MACHINE\x20FORWARD\x20LOCK\x20(threshold\x20design):\x20each\x20forward\x20is\x20SINGLE-OPERATOR-LOCKED\x20—\x20it\x20contributes\x20its\x20weight\x20AT\x20MOST\x20ONCE\x20(a\x20second\x20operator\x20re-executing\x20the\x20same\x20accomplished\x20forward\x20aborts\x20E_NOT_THE_HOLDER).\x20A\x20Pair\x27s\x20maximum\x20achievable\x20weight\x20=\x20sum\x20of\x20its\x20DISTINCT\x20forward\x20weights;\x20if\x20that\x20sum\x20<\x20threshold\x20the\x20transition\x20can\x20never\x20migrate\x20(workflow\x20stuck).\x20Multi-operator\x20cooperation\x20(threshold\x20>\x201)\x20MUST\x20use\x20one\x20DISTINCT\x20forward\x20per\x20contributing\x20operator\x20(e.g.\x20threshold\x202\x20→\x20begin_a\x20+\x20begin_b,\x20each\x20weight\x201)\x20—\x20never\x20one\x20forward\x20reused\x20by\x20several\x20people.\x20machine-risk\x20R-M1-12/13\x20and\x20machine-confirm\x20C-12\x20flag\x20such\x20designs\x20before\x20publish.\x0a\x0a🧱\x20REBUILD\x20COST\x20(machine\x20publish\x20/\x20re-publish\x20class\x20ops,\x20S12-②):\x20publishing\x20a\x20Machine\x20is\x20a\x20one-way\x20door\x20—\x20business\x20constants\x20baked\x20into\x20the\x20node\x20graph\x20(deadline/goal/windows)\x20freeze\x20WITH\x20it.\x20Any\x20later\x20change\x20requires\x20a\x20NEW\x20machine\x20+\x20a\x20NEW\x20Service\x20+\x20re-hanging\x20every\x20repository/reward/arbitration/allocator\x20(≈5\x20txs\x20/\x20~1\x20min\x20on\x20a\x2016-node\x20graph);\x20in-flight\x20orders\x20stay\x20on\x20the\x20OLD\x20machine\x20forever.\x20THIS\x20OPERATION\x20WILL\x20REQUIRE\x20A\x20NEW\x20SERVICE\x20if\x20a\x20baked-in\x20parameter\x20later\x20changes\x20—\x20finalize\x20mutable\x20parameters\x20BEFORE\x20publish\x20(details\x20in\x20the\x20machine\x20publish\x20field\x20description;\x20protocol-train\x20item\x20for\x20a\x20Campaign\x20structure).\x0a\x0a💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27onchain_operations\x27\x20to\x20retrieve\x20the\x20complete\x20parameter\x20schema.\x20For\x20individual\x20operation\x20schemas\x20(e.g.,\x20\x27onchain_operations_permission\x27),\x20use\x20schema_query\x20with\x20action=\x27list_operations\x27\x20to\x20see\x20all\x20available\x20operation\x20schemas.\x0a\x0a🏷️\x20AUTO\x20NAMING:\x20a\x20successful\x20creation\x20auto-registers\x20the\x20primary\x20created\x20object\x20in\x20the\x20local\x20name\x20index\x20as\x20<type>_<last-6-hex>\x20(e.g.\x20guard_a1b2c3)\x20unless\x20you\x20supplied\x20a\x20name\x20—\x20you\x20NEVER\x20need\x20local_mark_operation\x20add\x20after\x20a\x20create;\x20keep\x20the\x20returned\x20address\x20(or\x20the\x20derived\x20name)\x20and\x20reference\x20either\x20everywhere.','inputSchema':OnchainOperationsSchema,'outputSchema':CallOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':!![],'idempotentHint':![],'openWorldHint':!![]},'_meta':createToolMeta('operation',['service','machine','progress','repository','arbitration','contact','treasury','reward','allocation','permission','guard','personal','payment','demand','order','gen_passport','proof','gen_proof','on-chain','blockchain'])},'applyRules':applyOnchainRules,'onTimeoutVerify':onchainTimeoutVerify,'timeoutMs':0x1d4c0}];
|
|
1
|
+
import{handleOnchainOperations,onchainTimeoutVerify}from'../handlers/onchain.js';import{handleSettleSweep}from'../handlers/settle-sweep.js';import{handleVerifyGuardDryRun}from'../handlers/verify-guard-dry-run.js';import{applyOnchainRules}from'../rules-hook.js';import{createToolMeta,OnchainOperationsSchema,CallOutputSchema,SettleSweepInputSchema,SettleSweepOutputSchema,VerifyGuardDryRunInputSchema,VerifyGuardDryRunOutputSchema}from'../../schema/index.js';export const ONCHAIN_TOOLS=[{'name':'onchain_operations','handler':handleOnchainOperations,'config':{'title':'⛓️\x20On-chain\x20Operations','summary':'On-chain\x20ops:\x20service,\x20machine,\x20progress,\x20repository,\x20arbitration,\x20etc.','description':'On-chain\x20operations\x20for\x20WoWok\x20object:\x20service\x20(marketplace\x20listings),\x20machine\x20(workflow\x20templates),\x20progress\x20(order\x20tracking),\x20repository\x20(on-chain\x20database),\x20arbitration\x20(dispute\x20resolution),\x20contact\x20(IM\x20management),\x20treasury\x20(team\x20funds),\x20reward\x20(incentive\x20pools),\x20allocation\x20(auto-distribution),\x20permission\x20(access\x20control),\x20guard\x20(programmable\x20trust\x20rules),\x20personal\x20(public\x20profile),\x20payment\x20(direct\x20coin\x20transfers),\x20demand\x20(service\x20requests),\x20order\x20(order\x20management),\x20gen_passport\x20(verified\x20credentials),\x20proof\x20(on-chain\x20proof\x20objects),\x20gen_proof\x20(generate\x20proof\x20shortcut).\x0a\x0a🎯\x20NETWORK\x20(CRITICAL):\x20never\x20guess\x20or\x20hardcode\x20a\x20network.\x20OMIT\x20env.network\x20—\x20the\x20runtime\x20stamps\x20the\x20user\x27s\x20CURRENT\x20network\x20(the\x20client\x27s\x20UI\x20selection)\x20onto\x20every\x20call;\x20the\x20confirmation\x20card\x20and\x20response\x20echo\x20the\x20actual\x20network.\x20Set\x20env.network\x20ONLY\x20when\x20the\x20user\x20explicitly\x20names\x20a\x20different\x20network\x20(a\x20mismatch\x20pauses\x20for\x20user\x20confirmation).\x0a\x0a💰\x20FUND\x20SAFETY\x20(service/arbitration/treasury/reward/allocation/payment):\x20amounts\x20are\x20parsed\x20against\x20the\x20target\x20object\x27s\x20IMMUTABLE\x20generic\x20token\x20type\x20(e.g.\x20Treasury<USDT>\x20accepts\x20ONLY\x20USDT\x20—\x20mismatched\x20coins/token_types\x20are\x20BLOCKED\x20before\x20execution).\x20Monetary\x20input\x20with\x20unresolvable\x20token\x20precision\x20is\x20BLOCKED\x20(never\x20guesses\x20decimals)\x20with\x20known-token\x20suggestions;\x20retry\x20once\x20the\x20token\x20info\x20resolves.\x20Display-format\x20amounts\x20like\x20\x222WOW\x22\x20are\x20converted\x20to\x20raw\x20u64\x20using\x20the\x20token\x27s\x20own\x20decimals.\x0a\x0a🔒\x20GUARD\x20PRESET\x20BINDINGS:\x20objects\x20declare\x20preset\x20slots\x20where\x20guard\x20submissions\x20gain\x20business\x20meaning\x20—\x20Reward\x20reads\x20claim\x20recipient\x20(address)\x20/\x20amount\x20(u64)\x20/\x20expiration_time\x20(claim\x20deadline;\x20contract\x20asserts\x20clock\x20≤\x20expiration_time);\x20Allocation\x20reads\x20split\x20payee\x20(address)\x20and\x20Rate\x20(basis\x20points,\x20must\x20complete\x2010000\x20unless\x20a\x20Surplus\x20entry\x20exists);\x20Demand\x20reads\x20the\x20presented\x20service\x20(address);\x20Treasury\x20reads\x20deposit/withdraw\x20amounts\x20(number)\x20—\x20external_withdraw\x20is\x20a\x20PAYMENT\x20AUTHORIZATION;\x20Repository\x20reads\x20row\x20key\x20(address)\x20and\x20row\x20data\x20(any\x20type);\x20its\x20composite\x20(order,\x20tag)\x20evidence\x20plane\x20(repository\x20op\x20order_tag_add\x20/\x20order_tag_remove,\x20v140)\x20files\x20per-order\x20rows\x20under\x20the\x20policy\x20NAMED\x20by\x20the\x20tag\x20—\x20the\x20policy\x20must\x20exist\x20with\x20id_from=None,\x20write_guard\x20is\x20mandatory,\x20the\x20passport\x20is\x20REQUIRED\x20on-chain,\x20and\x20write_once\x20policies\x20refuse\x20BOTH\x20overwrite\x20and\x20(while\x20enable_repo_write_once_remove_guard\x20is\x20on)\x20removal\x20with\x20the\x20repository\x20write-once\x20conflict\x20abort\x20(E_POLICY_WRITE_ONCE_CONFLICT);\x20Arbitration\x20reads\x20vote\x20weight\x20(number)\x20and\x20usage_guard\x20(dispute-opening\x20gate);\x20Machine\x20Forward\x20requires\x20retained_submissions\x20as\x20mandatory\x20evidence.\x20When\x20configuring\x20rewards\x20for\x20staff:\x20consider\x20an\x20owner\x20fund-recovery\x20escape\x20guard\x20(Signer\x20recipient\x20+\x20GuardU64Identifier\x20amount\x20+\x20Clock-based\x20lock)\x20—\x20claim\x20is\x20the\x20ONLY\x20exit\x20from\x20a\x20Reward\x27s\x20balance\x20(owner_receive\x20extracts\x20RECEIVED\x20objects,\x20never\x20the\x20balance).\x20relationship_profile\x20surfaces\x20these\x20creator/user\x20semantics\x20on\x20touched\x20objects.\x0a\x0a🌐\x20SCENARIO\x20TOPOLOGY:\x20object\x20fields\x20that\x20reference\x20other\x20objects\x20are\x20SCENARIO\x20BRIDGES,\x20not\x20data\x20pointers\x20—\x20Demand.present(Service)\x20welds\x20need-expression\x20and\x20product-listing\x20into\x20a\x20matchmaking\x20capability\x20that\x20belongs\x20to\x20neither\x20object\x20alone;\x20Order\x20copies\x20the\x20Service\x27s\x20machine\x20at\x20creation\x20(order\x20keeps\x20its\x20own\x20fulfillment\x20path);\x20Service\x20pre-binds\x20arbitrations\x20+\x20compensation_fund\x20(fairness:\x20E_ARBITRATION_PERMISSION_CONFLICT\x20rejects\x20arbitrations\x20sharing\x20the\x20service\x27s\x20own\x20permission);\x20um\x20binds\x20a\x20Contact\x20per\x20object;\x20permission\x20fields\x20route\x20ALL\x20admin\x20operations\x20through\x20one\x20governance\x20backbone.\x20Whole\x20applications\x20are\x20BRIDGE\x20CHAINS\x20(standard\x20e-commerce:\x20qualification→purchase→communication→fulfillment→escrow_split→incentive;\x20procurement\x20tender:\x20supply_match→…→dispute).\x20relationship_profile\x20auto-surfaces\x20the\x20bridges\x20implied\x20by\x20a\x20topology\x27s\x20touched\x20objects\x20(K3\x2003\x20§3.5).\x0a\x0a⚡\x20MACHINE\x20FORWARD\x20LOCK\x20(threshold\x20design):\x20each\x20forward\x20is\x20SINGLE-OPERATOR-LOCKED\x20—\x20it\x20contributes\x20its\x20weight\x20AT\x20MOST\x20ONCE\x20(a\x20second\x20operator\x20re-executing\x20the\x20same\x20accomplished\x20forward\x20aborts\x20E_NOT_THE_HOLDER).\x20A\x20Pair\x27s\x20maximum\x20achievable\x20weight\x20=\x20sum\x20of\x20its\x20DISTINCT\x20forward\x20weights;\x20if\x20that\x20sum\x20<\x20threshold\x20the\x20transition\x20can\x20never\x20migrate\x20(workflow\x20stuck).\x20Multi-operator\x20cooperation\x20(threshold\x20>\x201)\x20MUST\x20use\x20one\x20DISTINCT\x20forward\x20per\x20contributing\x20operator\x20(e.g.\x20threshold\x202\x20→\x20begin_a\x20+\x20begin_b,\x20each\x20weight\x201)\x20—\x20never\x20one\x20forward\x20reused\x20by\x20several\x20people.\x20machine-risk\x20R-M1-12/13\x20and\x20machine-confirm\x20C-12\x20flag\x20such\x20designs\x20before\x20publish.\x0a\x0a🧱\x20REBUILD\x20COST\x20(machine\x20publish\x20/\x20re-publish\x20class\x20ops,\x20S12-②):\x20publishing\x20a\x20Machine\x20is\x20a\x20one-way\x20door\x20—\x20business\x20constants\x20baked\x20into\x20the\x20node\x20graph\x20(deadline/goal/windows)\x20freeze\x20WITH\x20it.\x20Any\x20later\x20change\x20requires\x20a\x20NEW\x20machine\x20+\x20a\x20NEW\x20Service\x20+\x20re-hanging\x20every\x20repository/reward/arbitration/allocator\x20(≈5\x20txs\x20/\x20~1\x20min\x20on\x20a\x2016-node\x20graph);\x20in-flight\x20orders\x20stay\x20on\x20the\x20OLD\x20machine\x20forever.\x20THIS\x20OPERATION\x20WILL\x20REQUIRE\x20A\x20NEW\x20SERVICE\x20if\x20a\x20baked-in\x20parameter\x20later\x20changes\x20—\x20finalize\x20mutable\x20parameters\x20BEFORE\x20publish\x20(details\x20in\x20the\x20machine\x20publish\x20field\x20description;\x20protocol-train\x20item\x20for\x20a\x20Campaign\x20structure).\x0a\x0a💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27onchain_operations\x27\x20to\x20retrieve\x20the\x20complete\x20parameter\x20schema.\x20For\x20individual\x20operation\x20schemas\x20(e.g.,\x20\x27onchain_operations_permission\x27),\x20use\x20schema_query\x20with\x20action=\x27list_operations\x27\x20to\x20see\x20all\x20available\x20operation\x20schemas.\x0a\x0a🏷️\x20AUTO\x20NAMING:\x20a\x20successful\x20creation\x20auto-registers\x20the\x20primary\x20created\x20object\x20in\x20the\x20local\x20name\x20index\x20as\x20<type>_<last-6-hex>\x20(e.g.\x20guard_a1b2c3)\x20unless\x20you\x20supplied\x20a\x20name\x20—\x20you\x20NEVER\x20need\x20local_mark_operation\x20add\x20after\x20a\x20create;\x20keep\x20the\x20returned\x20address\x20(or\x20the\x20derived\x20name)\x20and\x20reference\x20either\x20everywhere.','inputSchema':OnchainOperationsSchema,'outputSchema':CallOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':!![],'idempotentHint':![],'openWorldHint':!![]},'_meta':createToolMeta('operation',['service','machine','progress','repository','arbitration','contact','treasury','reward','allocation','permission','guard','personal','payment','demand','order','gen_passport','proof','gen_proof','on-chain','blockchain'])},'applyRules':applyOnchainRules,'onTimeoutVerify':onchainTimeoutVerify,'timeoutMs':0x493e0},{'name':'settle_sweep','handler':handleSettleSweep,'config':{'title':'🧹\x20Settle\x20Sweep','summary':'One-shot\x20batch\x20settlement\x20of\x20pending\x20terminal\x20escrows:\x20enumerate\x20→\x20static\x20guard\x20screen\x20→\x20alloc_by_guard\x20per\x20order\x20(dry-run\x20first).','description':'Settle\x20every\x20order\x20whose\x20escrow\x20sits\x20stranded\x20on\x20a\x20TERMINAL\x20node\x20(balance\x20>\x200,\x20no\x20Payment\x20'+'yet)\x20in\x20ONE\x20call,\x20from\x20a\x20Service\x20(batch)\x20or\x20a\x20single\x20Order\x20source.\x20The\x20chain\x20NEVER\x20'+'auto-settles:\x20each\x20order\x20needs\x20a\x20manual\x20alloc_by_guard\x20+\x20a\x20recipient\x20claim\x20hop\x20—\x20this\x20tool\x20'+'does\x20the\x20alloc\x20hop\x20per\x20order\x20and\x20hands\x20back\x20the\x20per-order\x20claim\x20path.\x0a\x0a'+'🔒\x20DRY-RUN\x20FIRST\x20(default\x20dry_run:true):\x20the\x20default\x20call\x20only\x20enumerates\x20and\x20lists\x20the\x20'+'alloc_by_guard\x20actions\x20it\x20WOULD\x20fire\x20—\x20zero\x20transactions,\x20zero\x20gas\x20—\x20and\x20registers\x20the\x20'+'payload\x20in\x20the\x20session\x20dry-run\x20ledger.\x20A\x20real\x20face\x20(dry_run:false)\x20is\x20BLOCKED\x20unless\x20the\x20'+'same\x20payload\x20passed\x20a\x20dry_run:true\x20face\x20earlier\x20in\x20this\x20session\x20or\x20you\x20pass\x20confirm:true.\x0a\x0a'+'🧠\x20SHARED\x20JUDGMENT:\x20enumeration\x20reuses\x20the\x20exact\x20settlement\x20judgment\x20of\x20the\x20keeper\x20'+'detector,\x20the\x20PENDING\x20SETTLEMENT\x20receipt\x20and\x20service_panorama\x20pending_allocations\x20(single\x20'+'throat)\x20—\x20this\x20tool\x20adds\x20no\x20state\x20opinion\x20of\x20its\x20own.\x0a\x0a'+'🛡️\x20GUARD\x20SCREEN:\x20candidate\x20settle\x20guards\x20are\x20screened\x20STATICALLY\x20—\x20a\x20guard\x20whose\x20'+'submission\x20slots\x20are\x20all\x20deterministic\x20auto-fill\x20tiers\x20(254\x20task-binding\x20/\x206\x20caller-auth\x20'+'Permission)\x20is\x20dispatchable;\x20anything\x20else\x20is\x20skipped\x20as\x20needs_context\x20(guard\x20semantics\x20'+'need\x20human\x20review,\x20never\x20guessed).\x20max_orders\x20(default\x2010)\x20caps\x20the\x20batch\x20against\x20'+'batch-amplified\x20mistakes;\x20overflow\x20is\x20deferred,\x20re-run\x20to\x20continue.\x0a\x0a'+'🧯\x20ISOLATION:\x20execution\x20goes\x20per\x20order\x20through\x20the\x20SAME\x20onchain\x20pipeline\x20and\x20gates\x20'+'(dual-payout\x20refusal,\x20missing-slot\x20refusal,\x20in-flight\x20resend\x20hold).\x20One\x20failed\x20order\x20lands\x20'+'in\x20failed[]\x20and\x20never\x20blocks\x20the\x20rest.\x20Enumeration\x20failure\x20returns\x20an\x20EMPTY\x20plan\x20+\x20reason\x20—\x20'+'never\x20a\x20throw.\x0a\x0a'+'💰\x20CLAIM\x20HOP:\x20a\x20settled\x20pool\x20is\x20NOT\x20spendable\x20yet\x20—\x20refund\x20terminals\x20pay\x20into\x20the\x20Order\x20'+'(order\x20receive:\x27recently\x27);\x20completion\x20terminals\x20pay\x20CoinWrappers\x20to\x20each\x20recipient\x20'+'(payment\x20receive:true;\x20find\x20them\x20via\x20onchain_received).\x20Every\x20receipt\x20carries\x20the\x20exact\x20path.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27settle_sweep\x27\x20'+'to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':SettleSweepInputSchema,'outputSchema':SettleSweepOutputSchema,'annotations':{'readOnlyHint':![],'destructiveHint':!![],'idempotentHint':![],'openWorldHint':!![]},'_meta':createToolMeta('operation',['allocation','settlement','alloc_by_guard','sweep','escrow','keeper'])},'timeoutMs':0x927c0},{'name':'verify_guard_dry_run','handler':handleVerifyGuardDryRun,'config':{'title':'🧪\x20Guard\x20Dry-Run\x20Pre-Check','summary':'Read-only\x20pre-submission\x20guard\x20check:\x20evaluates\x20an\x20INTENDED\x20submission\x20against\x20the\x20guard\x27s\x20production\x20on-chain\x20evaluator\x20(devInspect)\x20and\x20reports\x20per-slot/per-leg\x20satisfied/missing/unknown\x20with\x20a\x20would_pass/would_fail/inconclusive\x20verdict\x20and\x20completion\x20remedies.','description':'Pre-check\x20whether\x20a\x20guard\x20submission\x20would\x20pass\x20BEFORE\x20spending\x20gas\x20on\x20it\x20(K3\x20PDK-05).\x20'+'Reads\x20the\x20guard\x20from\x20the\x20chain\x20(or\x20resolves\x20a\x20Service\x27s\x20on-chain\x20buy_guard),\x20evaluates\x20the\x20'+'INTENDED\x20submission\x20with\x20the\x20SAME\x20production\x20evaluator\x20the\x20failure\x20diagnosis\x20replays\x20with\x20'+'(devInspect\x20—\x20no\x20signature,\x20no\x20gas,\x20no\x20state\x20change),\x20and\x20reports:\x0a\x0a'+'•\x20per\x20required\x20submission\x20slot:\x20satisfied\x20/\x20missing\x20(with\x20the\x20exact\x20identifier/value_type\x20'+'submission\x20shape\x20to\x20complete\x20it)\x20/\x20unknown\x20(runtime-derived\x20task\x20binding\x20254\x20or\x20caller-auth\x20'+'Permission\x206\x20—\x20supply\x20task:<order>\x20or\x20an\x20explicit\x20entry\x20to\x20pre-check);\x0a'+'•\x20per\x20top-level\x20leg\x20of\x20the\x20guard\x27s\x20root\x20logic:\x20satisfied\x20/\x20missing\x20(evaluated\x20FALSE\x20—\x20the\x20failing\x20'+'leg\x20is\x20named\x20with\x20what\x20it\x20reads)\x20/\x20unknown;\x0a'+'•\x20a\x20verdict:\x20would_pass\x20(every\x20slot\x20supplied\x20AND\x20the\x20evaluator\x20returned\x20pass\x20on\x20this\x20snapshot),\x20'+'would_fail\x20(a\x20missing\x20slot,\x20or\x20the\x20evaluator\x20returned\x20fail\x20/\x20structured\x20absence-reject),\x20or\x20'+'inconclusive\x20(any\x20unknown\x20leg\x20or\x20an\x20evaluation\x20error\x20—\x20NEVER\x20reported\x20as\x20would_pass).\x0a\x0a'+'⚠️\x20SNAPSHOT\x20DISCIPLINE\x20(anti-fake-green):\x20the\x20verdict\x20is\x20a\x20simulation\x20over\x20the\x20CURRENT\x20on-chain\x20'+'snapshot\x20—\x20every\x20response\x20carries\x20snapshot_note,\x20and\x20the\x20real\x20submission\x20is\x20still\x20judged\x20by\x20'+'actual\x20execution.\x20Re-run\x20after\x20any\x20state\x20change.\x0a\x0a'+'🎯\x20WHEN\x20TO\x20USE:\x20before\x20a\x20progress\x20forward\x20/\x20allocation\x20alloc_by_guard\x20/\x20service\x20buy\x20that\x20carries\x20'+'a\x20guard\x20submission\x20—\x20especially\x20after\x20a\x20first\x20E_VERIFY_FAILED\x20attempt\x20(the\x20failure\x20copy\x20points\x20'+'here)\x20or\x20whenever\x20a\x20guard\x20has\x20submission\x20slots\x20you\x20are\x20not\x20sure\x20how\x20to\x20fill.\x20Use\x20service:<address>\x20'+'to\x20pre-check\x20a\x20buy\x20admission\x20gate.\x0a\x0a'+'💡\x20Schema\x20hint:\x20call\x20the\x20OTHER\x20tool\x20`schema_query`\x20with\x20action=\x27get\x27\x20and\x20name=\x27verify_guard_dry_run\x27\x20'+'to\x20retrieve\x20the\x20exact\x20parameter\x20schema.','inputSchema':VerifyGuardDryRunInputSchema,'outputSchema':VerifyGuardDryRunOutputSchema,'annotations':{'readOnlyHint':!![],'destructiveHint':![],'idempotentHint':!![],'openWorldHint':!![]},'_meta':createToolMeta('query',['guard','dry-run','pre-check','verify','submission','legs','E_VERIFY_FAILED'])}}];
|
package/dist/tools/shared.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{confirmGate}from'../safety/confirm-gate.js';import{renderPreview}from'../safety/preview.js';import{validateOperation,hasBlockingViolations,getWarningViolations}from'../knowledge/index.js';import{recover}from'../harness/recover.js';import{classifyError,buildDataSemantic,normalizeErrorMessage}from'../schema/call/semantic.js';import{strictParse}from'../schema/index.js';export function wrapLocalHandler(a){const {schema:b,operationFn:c,parseLabel:d,buildContext:e}=a;return async f=>{let g;try{g=strictParse(b,f,d);const h=await c(g),i=e(g);return{'content':[{'type':'text','text':JSON['stringify'](h)}],'structuredContent':{'result':{'status':'success','data':h},'semantic':buildDataSemantic(h,i)}};}catch(j){const k=normalizeErrorMessage(j),l=g?e(g):undefined,m=classifyError(k),n={'status':'error','error':k};if(m['error_code']!==undefined)n['error_code']=m['error_code'];if(m['retryable']!==undefined)n['retryable']=m['retryable'];if(m['recovery_hint']!==undefined)n['recovery_hint']=m['recovery_hint'];return{'content':[{'type':'text','text':'Error:\x20'+k}],'structuredContent':{'result':n,'semantic':buildDataSemantic(undefined,l,!![],k)}};}};}export function buildPendingConfirmation(a,b,c,d,e){const f=confirmGate(a,b,c,c?.['user_intent_phrases'],d,e);if(f['pass'])return{'content':[],'structuredContent':null};const g=f['preview'],h=renderPreview(g),i={'outcome':'pending_input','message':h,'result':{'type':'pending_confirmation','preview':g,'rule_id':f['rule_id']},'semantic':{'intent':a+'_awaiting_confirmation','status':'pending_input','summary':'Operation\x20blocked\x20by\x20ConfirmGate\x20('+f['level']+').\x20Review\x20the\x20preview\x20and\x20re-call\x20with\x20env.confirmed=true\x20to\x20proceed.','next_actions':[{'action':'confirm:\x20re-call\x20the\x20SAME\x20operation\x20with\x20env.confirmed=true','reason':'ConfirmGate\x20rule\x20\x27'+f['rule_id']+'\x27\x20matched.\x20The\x20operation\x20was\x20NOT\x20executed.','tool':'onchain_operations','priority':'required'}],'warnings':g['warnings']??[]}};return{'content':[{'type':'text','text':h}],'structuredContent':i};}export function buildConstraintError(a,b){const c=b['filter'](g=>g['severity']==='error'),d=c['map'](g=>'\x20\x20•\x20['+g['field']+']\x20'+g['message'])['join']('\x0a'),e='Pre-call\x20constraint\x20violations\x20for\x20\x27'+a+'\x27:\x0a'+d+'\x0a\x0aFix\x20the\x20listed\x20field(s)\x20and\x20retry.',f={'outcome':'failed','message':e,'result':{'type':'error','error':e,'error_code':'invalid_parameter','retryable':![],'recovery_hint':'Review\x20the\x20constraint\x20violations\x20above\x20and\x20correct\x20the\x20corresponding\x20fields.'},'recovery':recover('invalid_parameter',a)};return{'content':[{'type':'text','text':e}],'structuredContent':f};}export function buildClassifiedErrorResult(a,b,c){const
|
|
1
|
+
import{confirmGate}from'../safety/confirm-gate.js';import{renderPreview}from'../safety/preview.js';import{validateOperation,hasBlockingViolations,getWarningViolations}from'../knowledge/index.js';import{recover}from'../harness/recover.js';import{classifyError,buildDataSemantic,normalizeErrorMessage}from'../schema/call/semantic.js';import{strictParse,onchainStateForError}from'../schema/index.js';export function wrapLocalHandler(a){const {schema:b,operationFn:c,parseLabel:d,buildContext:e}=a;return async f=>{let g;try{g=strictParse(b,f,d);const h=await c(g),i=e(g);return{'content':[{'type':'text','text':JSON['stringify'](h)}],'structuredContent':{'result':{'status':'success','data':h},'semantic':buildDataSemantic(h,i)}};}catch(j){const k=normalizeErrorMessage(j),l=g?e(g):undefined,m=classifyError(k),n={'status':'error','error':k};if(m['error_code']!==undefined)n['error_code']=m['error_code'];if(m['retryable']!==undefined)n['retryable']=m['retryable'];if(m['recovery_hint']!==undefined)n['recovery_hint']=m['recovery_hint'];return{'content':[{'type':'text','text':'Error:\x20'+k}],'structuredContent':{'result':n,'semantic':buildDataSemantic(undefined,l,!![],k)}};}};}export function buildPendingConfirmation(a,b,c,d,e){const f=confirmGate(a,b,c,c?.['user_intent_phrases'],d,e);if(f['pass'])return{'content':[],'structuredContent':null};const g=f['preview'],h=renderPreview(g),i={'outcome':'pending_input','message':h,'result':{'type':'pending_confirmation','preview':g,'rule_id':f['rule_id']},'semantic':{'intent':a+'_awaiting_confirmation','status':'pending_input','summary':'Operation\x20blocked\x20by\x20ConfirmGate\x20('+f['level']+').\x20Review\x20the\x20preview\x20and\x20re-call\x20with\x20env.confirmed=true\x20to\x20proceed.','next_actions':[{'action':'confirm:\x20re-call\x20the\x20SAME\x20operation\x20with\x20env.confirmed=true','reason':'ConfirmGate\x20rule\x20\x27'+f['rule_id']+'\x27\x20matched.\x20The\x20operation\x20was\x20NOT\x20executed.','tool':'onchain_operations','priority':'required'}],'warnings':g['warnings']??[]}};return{'content':[{'type':'text','text':h}],'structuredContent':i};}export function buildConstraintError(a,b){const c=b['filter'](g=>g['severity']==='error'),d=c['map'](g=>'\x20\x20•\x20['+g['field']+']\x20'+g['message'])['join']('\x0a'),e='Pre-call\x20constraint\x20violations\x20for\x20\x27'+a+'\x27:\x0a'+d+'\x0a\x0aFix\x20the\x20listed\x20field(s)\x20and\x20retry.',f={'outcome':'failed','message':e,'result':{'type':'error','error':e,'error_code':'invalid_parameter','retryable':![],'recovery_hint':'Review\x20the\x20constraint\x20violations\x20above\x20and\x20correct\x20the\x20corresponding\x20fields.'},'recovery':recover('invalid_parameter',a)};return{'content':[{'type':'text','text':e}],'structuredContent':f};}export function buildClassifiedErrorResult(a,b,c,d){const e={...a,'error':b};if(c['error_code']!==undefined)e['error_code']=c['error_code'];if(c['retryable']!==undefined)e['retryable']=c['retryable'];if(c['recovery_hint']!==undefined)e['recovery_hint']=c['recovery_hint'];if(d)for(const [f,g]of Object['entries'](d)){if(g!==undefined)e[f]=g;}return e;}export function unknownOutcomeFields(a,b,c,d){if(c?.['dry_run']===!![])return{'onchain_state':'absent'};const e=onchainStateForError(a['error_code']),f={'onchain_state':e};if(e!=='unknown')return f;if(a['error_code']==='submission_unknown')f['submission_state']='unknown';const g=b?.['submission_verification'];if(g&&typeof g['sender']==='string')return f['submission_verification']=g,f;const h=b?.['digest'];if(!c?.['account'])return f;return f['submission_verification']={'sender':c['account'],'failed_at':new Date()['toISOString'](),'verify_events_since':new Date(Date['now']()-0x5a*0x3e8)['toISOString'](),'digests':typeof h==='string'&&h?[h]:[],...typeof d==='string'&&d?{'idempotency_key':d}:{}},f;}export{validateOperation,hasBlockingViolations,getWarningViolations};
|
package/dist/tools/types.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface ToolConfig {
|
|
|
15
15
|
};
|
|
16
16
|
_meta?: Record<string, unknown>;
|
|
17
17
|
}
|
|
18
|
-
export type ErrorShapeBuilder = (error: string, classified: ReturnType<typeof classifyError>, ctx: SemanticContext) => Record<string, unknown>;
|
|
18
|
+
export type ErrorShapeBuilder = (error: string, classified: ReturnType<typeof classifyError>, ctx: SemanticContext, raw?: unknown) => Record<string, unknown>;
|
|
19
19
|
export interface ToolDispatchResult {
|
|
20
20
|
content: {
|
|
21
21
|
type: "text";
|