@wowok/agent-mcp 3.4.1 → 3.4.3
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 +5 -0
- package/dist/chain-semantics/composition-truth.js +1 -1
- package/dist/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/field-capability.js +1 -1
- package/dist/chain-semantics/freeze-map.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/guard-verbs.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.d.ts +10 -3
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.d.ts +30 -2
- package/dist/composition/emit-phases.js +1 -1
- package/dist/composition/guard-fill.d.ts +8 -0
- package/dist/composition/guard-fill.js +1 -1
- package/dist/composition/inflight.js +1 -1
- package/dist/composition/input-normalize.js +1 -1
- package/dist/composition/materialize.d.ts +2 -0
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.js +1 -1
- package/dist/composition/param-disclosure.js +1 -1
- package/dist/composition/plan-retry-ledger.d.ts +16 -0
- package/dist/composition/plan-retry-ledger.js +1 -1
- package/dist/composition/plan.d.ts +15 -1
- package/dist/composition/plan.js +1 -1
- package/dist/config/config-audit.spec.js +1 -1
- package/dist/config/judgment.d.ts +5 -0
- package/dist/config/judgment.js +1 -1
- package/dist/evaluation/builtins/arbitration-score.d.ts +1 -0
- package/dist/evaluation/builtins/arbitration-score.js +1 -1
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/graph-service.d.ts +8 -0
- package/dist/evaluation/builtins/graph-service.js +1 -1
- package/dist/evaluation/capability.d.ts +9 -0
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/extract.d.ts +9 -1
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/match-operation.js +1 -1
- package/dist/evaluation/match-policy.d.ts +5 -3
- package/dist/evaluation/match-policy.js +1 -1
- package/dist/evaluation/standards.d.ts +1 -0
- package/dist/evaluation/standards.js +1 -1
- package/dist/evaluation/structured-lines.js +1 -1
- package/dist/evaluation/types.d.ts +1 -0
- package/dist/extensions/capability.js +1 -1
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/index.js +1 -1
- package/dist/intent/types.d.ts +1 -1
- package/dist/intent/types.js +1 -1
- package/dist/knowledge/allocation-ledger.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.d.ts +17 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arb-fund-facts.d.ts +7 -0
- package/dist/knowledge/arb-fund-facts.js +1 -1
- package/dist/knowledge/arbitration-rail-verifier.d.ts +35 -0
- package/dist/knowledge/arbitration-rail-verifier.js +1 -0
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +13 -1
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/judgment-baselines.json +1 -0
- package/dist/knowledge/baselines/rules/guard.json +7 -6
- package/dist/knowledge/baselines/rules/progress.json +4 -4
- package/dist/knowledge/baselines/rules/reward.json +118 -3
- package/dist/knowledge/builtin-templates.d.ts +19 -2
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/chain-query-registry.d.ts +14 -0
- package/dist/knowledge/chain-query-registry.js +1 -0
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/fee-param-bindings.d.ts +2 -0
- package/dist/knowledge/fee-param-bindings.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.d.ts +7 -0
- package/dist/knowledge/guard-binding-verifier.js +1 -1
- package/dist/knowledge/guard-bindings.js +1 -1
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-host-context.js +1 -1
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-node-gates.d.ts +3 -1
- package/dist/knowledge/guard-node-gates.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +2 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.d.ts +2 -0
- 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/knob-docs.js +1 -1
- package/dist/knowledge/param-schema.d.ts +1 -1
- package/dist/knowledge/param-schema.js +1 -1
- package/dist/knowledge/param-tiers.d.ts +2 -0
- package/dist/knowledge/param-tiers.js +1 -1
- package/dist/knowledge/path-oracle/products/food-delivery.js +1 -1
- package/dist/knowledge/pattern-resolutions.d.ts +2 -0
- package/dist/knowledge/pattern-resolutions.js +1 -1
- package/dist/knowledge/product-detail-source.d.ts +37 -0
- package/dist/knowledge/product-detail-source.js +1 -0
- package/dist/knowledge/product-doc-b5.d.ts +16 -0
- package/dist/knowledge/product-doc-b5.js +1 -0
- package/dist/knowledge/progress-ledger.js +1 -1
- package/dist/knowledge/projection.spec.js +1 -1
- package/dist/knowledge/publish-gate.d.ts +20 -0
- package/dist/knowledge/publish-gate.js +1 -0
- package/dist/knowledge/publish-readiness.d.ts +25 -0
- package/dist/knowledge/publish-readiness.js +1 -0
- package/dist/knowledge/publish-surface-contract.d.ts +16 -0
- package/dist/knowledge/publish-surface-contract.js +1 -0
- package/dist/knowledge/rail-exit-satisfiability.d.ts +25 -0
- package/dist/knowledge/rail-exit-satisfiability.js +1 -0
- package/dist/knowledge/reward-ledger.d.ts +1 -1
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/reward-risk.d.ts +1 -1
- package/dist/knowledge/reward-risk.js +1 -1
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/service-ledger.d.ts +3 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/template-loader.d.ts +41 -2
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +17 -0
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/template-test-profiles.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +4 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/monitor/normalize.d.ts +1 -1
- package/dist/monitor/normalize.js +1 -1
- package/dist/monitor/types.js +1 -1
- package/dist/participation/customer-interest.d.ts +4 -0
- package/dist/participation/customer-interest.js +1 -1
- package/dist/participation/game-context.js +1 -1
- package/dist/participation/node-action-advisor.d.ts +4 -0
- package/dist/participation/node-action-advisor.js +1 -1
- package/dist/participation/radar-core.js +1 -1
- package/dist/participation/time-window.d.ts +11 -0
- package/dist/participation/time-window.js +1 -1
- package/dist/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.d.ts +28 -3
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +4 -0
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/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/order.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +24 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +11 -7
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/arbitration.d.ts +4 -0
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +28 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +21 -0
- package/dist/schema/call/contact.d.ts +4 -0
- package/dist/schema/call/demand.d.ts +4 -0
- package/dist/schema/call/guard.d.ts +12 -0
- package/dist/schema/call/handler.d.ts +1 -0
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +16 -8
- package/dist/schema/call/normalize-error.d.ts +1 -0
- package/dist/schema/call/normalize-error.js +1 -0
- package/dist/schema/call/order.d.ts +7 -3
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.d.ts +7 -3
- package/dist/schema/call/permission.d.ts +4 -0
- package/dist/schema/call/personal.d.ts +4 -0
- package/dist/schema/call/progress.d.ts +4 -0
- package/dist/schema/call/progress.js +1 -1
- package/dist/schema/call/proof.d.ts +8 -0
- package/dist/schema/call/proof.js +1 -1
- package/dist/schema/call/receipt.js +1 -1
- package/dist/schema/call/repository.d.ts +4 -0
- package/dist/schema/call/reward.d.ts +6 -2
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.d.ts +2 -2
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +21 -7
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +10 -6
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/envelope-unify.d.ts +1 -0
- package/dist/schema/envelope-unify.js +1 -1
- package/dist/schema/evaluation/index.d.ts +43 -0
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +14 -2
- package/dist/schema/goal/planning.d.ts +18 -0
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/intent-radar/index.d.ts +12 -0
- package/dist/schema/intent-radar/index.js +1 -1
- package/dist/schema/keeper/index.d.ts +1 -0
- package/dist/schema/local/index.d.ts +10 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +1 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +98 -13
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +22 -0
- package/dist/schema/query/bi.d.ts +28 -2
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +67 -61
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workflow/index.js +1 -1
- package/dist/schema-query-impl/index.d.ts +1 -0
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +2 -1
- package/dist/schemas/benchmark_migration_operation.output.json +74 -0
- package/dist/schemas/benchmark_migration_operation.schema.json +33 -1
- package/dist/schemas/bridge_operation.output.json +2 -1
- package/dist/schemas/bridge_operation.schema.json +40 -0
- package/dist/schemas/evaluation_operation.output.json +96 -0
- package/dist/schemas/evaluation_operation.schema.json +39 -0
- package/dist/schemas/goal_operation.schema.json +32 -0
- package/dist/schemas/guard2file.schema.json +8 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/intent_radar.output.json +10 -2
- package/dist/schemas/intent_radar.schema.json +5 -1
- package/dist/schemas/keeper_operation.output.json +2 -1
- package/dist/schemas/local_cache_operation.output.json +2 -1
- package/dist/schemas/local_history_operation.output.json +2 -1
- package/dist/schemas/local_info_operation.output.json +2 -1
- package/dist/schemas/local_mark_operation.output.json +2 -1
- package/dist/schemas/local_mark_operation.schema.json +10 -1
- package/dist/schemas/machineNode2file.schema.json +8 -0
- package/dist/schemas/messenger_operation.output.json +2 -1
- package/dist/schemas/messenger_operation.schema.json +2 -1
- package/dist/schemas/monitor_events.output.json +2 -1
- package/dist/schemas/monitor_subscription.output.json +2 -1
- package/dist/schemas/onchain_events.output.json +206 -13
- package/dist/schemas/onchain_events.schema.json +16 -0
- package/dist/schemas/onchain_operations.output.json +22 -3
- package/dist/schemas/onchain_operations.schema.json +982 -327
- package/dist/schemas/onchain_operations_allocation.schema.json +20 -13
- package/dist/schemas/onchain_operations_arbitration.schema.json +9 -1
- package/dist/schemas/onchain_operations_contact.schema.json +8 -0
- package/dist/schemas/onchain_operations_demand.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_proof.schema.json +8 -0
- package/dist/schemas/onchain_operations_guard.schema.json +655 -115
- package/dist/schemas/onchain_operations_machine.schema.json +11 -3
- package/dist/schemas/onchain_operations_order.schema.json +14 -11
- package/dist/schemas/onchain_operations_payment.schema.json +12 -9
- package/dist/schemas/onchain_operations_permission.schema.json +8 -0
- package/dist/schemas/onchain_operations_personal.schema.json +8 -0
- package/dist/schemas/onchain_operations_progress.schema.json +9 -1
- package/dist/schemas/onchain_operations_proof.schema.json +9 -1
- package/dist/schemas/onchain_operations_repository.schema.json +8 -0
- package/dist/schemas/onchain_operations_reward.schema.json +14 -11
- package/dist/schemas/onchain_operations_service.schema.json +25 -12
- package/dist/schemas/onchain_operations_treasury.schema.json +17 -19
- package/dist/schemas/onchain_table_data.output.json +52 -10
- package/dist/schemas/persona_operation.output.json +57 -0
- package/dist/schemas/persona_operation.schema.json +9 -0
- package/dist/schemas/query_toolkit.output.json +326 -23
- package/dist/schemas/query_toolkit.schema.json +18 -5
- package/dist/schemas/wip_file.output.json +2 -2
- package/dist/schemas/wip_file.schema.json +2 -2
- package/dist/schemas/workflow_operation.schema.json +1 -1
- package/dist/tools/error-catalog.d.ts +17 -0
- package/dist/tools/error-catalog.js +1 -0
- package/dist/tools/handlers/benchmark-migration.d.ts +29 -8
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/entry-edge-recipe.d.ts +101 -0
- package/dist/tools/handlers/entry-edge-recipe.js +1 -0
- package/dist/tools/handlers/escrow-deficit.d.ts +10 -0
- package/dist/tools/handlers/escrow-deficit.js +1 -0
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/fund-rail-recipe.d.ts +10 -0
- package/dist/tools/handlers/fund-rail-recipe.js +1 -0
- package/dist/tools/handlers/intent-radar.js +1 -1
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/mark-namespace.d.ts +30 -0
- package/dist/tools/handlers/mark-namespace.js +1 -0
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain-name-registration.d.ts +1 -0
- package/dist/tools/handlers/onchain-name-registration.js +1 -1
- package/dist/tools/handlers/onchain-name-registration.spec.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +40 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/publish-binding-echo.d.ts +22 -0
- package/dist/tools/handlers/publish-binding-echo.js +1 -0
- package/dist/tools/handlers/query.d.ts +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/review-chain.d.ts +1 -0
- package/dist/tools/handlers/review-chain.js +1 -1
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/handlers/stale-build-check.d.ts +9 -0
- package/dist/tools/handlers/stale-build-check.js +1 -0
- package/dist/tools/handlers/submission-assembly.d.ts +55 -0
- package/dist/tools/handlers/submission-assembly.js +1 -0
- package/dist/tools/handlers/wip.js +1 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.js +1 -1
- package/dist/tools/publish-gate-state.d.ts +5 -0
- package/dist/tools/publish-gate-state.js +1 -0
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/retry.js +1 -1
- package/dist/tools/runtime-health.js +1 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/upgrade-check.d.ts +1 -0
- package/dist/tools/upgrade-check.js +1 -1
- package/dist/tools/wip-verify-ledger.d.ts +2 -0
- package/dist/tools/wip-verify-ledger.js +1 -1
- package/dist/tools/wrap.d.ts +15 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +5 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{z}from'zod';const NetworkEnum=z['enum'](['mainnet','testnet']);export const PlanningIndustryEnum=z['string']()['regex'](/^[a-z][a-z0-9_]*$/,'industry\x20must\x20be\x20lowercase\x20snake_case');export const ProjectObjectTypeEnum=z['enum'](['service','machine','guard','permission','reward','arb','progress','treasury','demand','repository','contact','order','allocation','personal','payment','proof']);const IntentContextFields={'intent':z['string']()['max'](0x7d0)['optional']()['describe']('Business\x20intent\x20text\x20(e.g.\x20\x27I\x20rent\x20cameras\x20to\x20photographers\x20with\x20deposit\x20and\x20damage\x20inspection\x27).\x20'+'Used\x20as\x20the\x20primary\x20input;\x20falls\x20back\x20to\x20project_description\x20/\x20project_name\x20when\x20omitted.'),'project_name':z['string']()['min'](0x1)['max'](0xc8)['optional']()['describe']('Optional\x20business\x20name\x20—\x20used\x20as\x20an\x20intent\x20fallback\x20when\x20\x27intent\x27\x20is\x20omitted.'),'project_description':z['string']()['max'](0x7d0)['optional']()['describe']('Optional\x20business\x20description\x20—\x20used\x20as\x20an\x20intent\x20fallback\x20when\x20\x27intent\x27\x20is\x20omitted.'),'project_industry':PlanningIndustryEnum['optional']()['describe']('Industry\x20tag.\x20Drives\x20industry-specific\x20risk\x20calibration\x20(e.g.\x20\x27freelance\x27\x20does\x20NOT\x20require\x20'+'compensation_fund,\x20while\x20\x27rental\x27/\x27travel\x27\x20do).\x20Any\x20registered\x20industry\x20is\x20accepted\x20—\x20'+'builtin:\x20\x27general\x27,\x20\x27retail\x27,\x20\x27retail_d2c\x27,\x20\x27service\x27,\x20\x27rental\x27,\x20\x27freelance\x27,\x20\x27education\x27,\x20'+'\x27travel\x27,\x20\x27subscription\x27,\x20\x27custom\x27\x20—\x20plus\x20custom\x20industries\x20registered\x20via\x20industry\x20packs.')};export const GuardResolutionInputSchema=z['union']([z['object']({'kind':z['literal']('template'),'template_id':z['string']()['describe']('A\x20\x27tpl_*\x27\x20guard\x20template\x20id\x20to\x20fill\x20(template\x20fee_params\x20+\x20params\x20feed\x20the\x20fill).'),'params':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Extra\x20fill\x20params\x20over\x20the\x20merged\x20fee_params.')})['strict'](),z['object']({'kind':z['literal']('inline'),'description':z['string']()['optional']()['describe']('Guard\x20description\x20(defaults\x20to\x20the\x20pending\x20design\x27s\x20purpose).'),'table':z['array'](z['record'](z['string'](),z['unknown']()))['min'](0x1)['describe']('Guard\x20passport\x20table\x20rows\x20(identifier/b_submission/value_type/...).'),'root':z['object']({'type':z['string']()})['passthrough']()['describe']('Guard\x20logic\x20root\x20node\x20(a\x20typed\x20tree\x20node).')['refine'](a=>a['type']['length']>0x0,{'message':'guard\x20root.type\x20must\x20be\x20a\x20non-empty\x20node\x20type'})})['strict'](),z['object']({'kind':z['literal']('omit')})['strict']()]);export const SupplyChainPromiseInputSchema=z['object']({'sub_service':z['string']()['describe']('The\x20procured\x20sub-Service:\x20an\x20on-chain\x20address\x20or\x20a\x20resolvable\x20LocalMark/service\x20name.'),'axis':z['enum'](['merchant_procured','user_procured'])['describe']('Who\x20owns\x20the\x20fulfilment\x20order.\x20merchant_procured\x20=\x20this\x20merchant\x20buys\x20it\x20(the\x20merchant-side\x20rail\x20pays\x20payout_to\x20and\x20no\x20cross-order\x20owner\x20tie\x20is\x20emitted);\x20'+'user_procured\x20=\x20the\x20buyer\x20buys\x20it\x20and\x20presents\x20the\x20foreign\x20order\x20(the\x20rail\x20asserts\x20order.owner(host)\x20==\x20order.owner(foreign)).'),'service_name':z['string']()['optional']()['describe']('The\x20host\x20Service\x27s\x20own\x20name\x20(the\x20money\x20gate\x27s\x20host\x20binding).\x20Default:\x20the\x20plan\x27s\x20Service\x20create\x20name.'),'done_node':z['string']()['describe']('The\x20node\x20whose\x20arrival\x20makes\x20an\x20order\x20settle-eligible\x20(e.g.\x20\x27completed\x27\x20or\x20\x27delivered\x27).'),'done_node_alt':z['string']()['optional']()['describe']('A\x20further\x20settle-eligible\x20node\x20—\x20pass\x20every\x20optional\x20post-settlement\x20side\x20action\x27s\x20node\x20so\x20the\x20rail\x20still\x20fires\x20after\x20Praise\x20moves\x20progress.current.'),'done_node_alt2':z['string']()['optional']()['describe']('A\x20third\x20settle-eligible\x20node.'),'form':z['enum'](['rendezvous','submission'])['optional']()['describe']('How\x20the\x20fulfilment\x20fact\x20reaches\x20the\x20money\x20gate.\x20rendezvous\x20(default)\x20proves\x20the\x20pairing\x20through\x20a\x20shared\x20ledger\x20row;\x20submission\x20only\x20records\x20the\x20caller-supplied\x20foreign\x20order\x20address\x20(P2\x20only,\x20weaker).'),'fact_key':z['string']()['optional']()['describe']('Policy\x20key\x20of\x20the\x20forward\x20fulfilment\x20row.\x20Default\x20\x27fulfilment\x27.'),'ack_key':z['string']()['optional']()['describe']('Policy\x20key\x20of\x20the\x20buyer\x20acknowledgement.\x20Default\x20\x27<fact_key>_ack\x27.'),'ack_window_days':z['number']()['optional']()['describe']('merchant_procured\x20only:\x20days\x20of\x20buyer\x20silence\x20that\x20count\x20as\x20acknowledgement,\x20measured\x20from\x20the\x20order\x27s\x20LAST\x20entry\x20into\x20done_node.\x20Default\x203;\x200\x20is\x20refused\x20(a\x20costless\x20veto).'),'payout_to':z['string']()['optional']()['describe']('The\x20fulfilment\x20party\x27s\x20payout\x20address.\x20Absent\x20=\x20no\x20third-party\x20rail\x20(the\x20host\x20merchant\x20settles\x20the\x20sub-service\x20itself).'),'payout_rate':z['number']()['optional']()['describe']('Basis\x20points\x20(1..10000)\x20of\x20the\x20settlement\x20rail\x20paid\x20to\x20payout_to.\x20Default\x2010000.'),'repository':z['string']()['optional']()['describe']('An\x20EXISTING\x20rendezvous\x20Repository\x20name\x20to\x20reuse.\x20Omit\x20to\x20create\x20one\x20(see\x20repository_name).'),'repository_name':z['string']()['optional']()['describe']('The\x20name\x20a\x20CREATED\x20rendezvous\x20Repository\x20takes.\x20Default\x20\x27<service_name>_supply_chain\x27.\x20Ignored\x20when\x20`repository`\x20names\x20an\x20existing\x20one.'),'id_prefix':z['string']()['optional']()['describe']('Step-id\x20prefix\x20for\x20the\x20emitted\x20objects.\x20Default\x20\x27sc\x27\x20for\x20the\x20first\x20promise,\x20\x27sc2\x27,\x20\x27sc3\x27...\x20for\x20later\x20ones.\x20An\x20explicit\x20duplicate\x20is\x20refused\x20(SUPPLY_CHAIN_ID_CONFLICT).')})['strict']();export const PlanningActionMembers=[z['object']({'action':z['literal']('analyze_intent'),...IntentContextFields,'target_objects':z['array'](z['string']())['optional']()['describe']('Optional\x20explicit\x20target\x20objects\x20(entry_ids\x20or\x20object_type\x20names).\x20'+'When\x20provided,\x20puzzle\x20snapshots\x20are\x20restricted\x20to\x20these\x20objects.'),'network':NetworkEnum['optional']()})['strict']()['describe']('C1:\x20natural-language\x20business\x20intent\x20→\x20parsed\x20intent\x20(primary/secondary\x20objects,\x20'+'detected\x20scenes,\x20industry)\x20+\x20per-object\x20puzzle\x20snapshots\x20+\x20recommended\x20creation\x20order.'),z['object']({'action':z['literal']('aggregate_risks'),'project':z['string']()['optional']()['describe']('Project\x20prefix\x20(human-readable\x20unique\x20identifier,\x20e.g.\x20\x27myshop\x27).\x20Used\x20to\x20key\x20the\x20service-build\x20stage\x20cache.'),'version':z['string']()['regex'](/^v\d+$/)['optional']()['describe']('Project\x20version\x20(e.g.\x20\x27v1\x27)\x20for\x20the\x20service-build\x20stage\x20cache.\x20Defaults\x20to\x20\x27v1\x27.'),'puzzles':z['record'](z['string'](),z['object']({'puzzle':z['unknown']()['describe']('Puzzle\x20snapshot\x20(opaque\x20—\x20pass\x20through\x20from\x20analyze_intent\x20output\x20unchanged).'),'completeness':z['unknown']()['describe']('Completeness\x20snapshot\x20(opaque\x20—\x20pass\x20through\x20unchanged).'),'missing_dimensions':z['array'](z['string']())['describe']('Dimensions\x20still\x20missing\x20for\x20this\x20object.')})['strict']())['optional']()['describe']('Per-object\x20puzzle\x20snapshots,\x20keyed\x20by\x20object_type.\x20Pass\x20the\x20\x27puzzles\x27\x20field\x20from\x20a\x20prior\x20'+'analyze_intent\x20result\x20UNCHANGED.\x20When\x20omitted\x20but\x20\x27intent\x27\x20is\x20present,\x20the\x20handler\x20runs\x20'+'analyze_intent\x20first\x20(C1→C2\x20in\x20one\x20call).'),...IntentContextFields,'severity_threshold':z['enum'](['critical','high','medium','low','info'])['optional']()['describe']('Severity\x20threshold\x20(default\x20\x27high\x27).\x20Risks\x20at\x20or\x20above\x20this\x20level\x20block\x20deployment\x20(status\x20RISK_BLOCKED).'),'user_confirmed_high_risks':z['array'](z['string']())['optional']()['describe']('IDs\x20of\x20high\x20risks\x20already\x20confirmed\x20in\x20a\x20prior\x20round.\x20Confirmed\x20high\x20risks\x20no\x20longer\x20'+'trigger\x20RISK_PENDING_CONFIRM.'),'planned_objects':z['array'](z['object']({'object_type':z['string']()['describe']('Wowok\x20object\x20type\x20(e.g.\x20\x27service\x27,\x20\x27guard\x27,\x20\x27machine\x27).'),'is_new':z['boolean']()['describe']('true\x20when\x20creating\x20a\x20NEW\x20object;\x20false\x20when\x20reusing\x20an\x20existing\x20one.'),'name':z['string']()['optional']()['describe']('Planned\x20object\x20name\x20(for\x20readable\x20messages).')})['strict']())['optional']()['describe']('Planned\x20objects\x20for\x20the\x20OBJECT_REUSE\x20check\x20(safety-rules).\x20Flags\x20NEW\x20objects\x20whose\x20type\x20'+'carries\x20an\x20always/strongly-recommended\x20reuse\x20rule.'),'planned_operations':z['array'](z['object']({'object_type':z['string']()['describe']('Wowok\x20object\x20type\x20(e.g.\x20\x27service\x27,\x20\x27arbitration\x27).'),'trigger':z['enum'](['create','publish'])['describe']('Lifecycle\x20trigger\x20that\x20locks\x20fields.'),'name':z['string']()['optional']()['describe']('Object\x20name\x20(for\x20readable\x20messages).')})['strict']())['optional']()['describe']('Planned\x20create/publish\x20operations\x20for\x20the\x20IMMUTABILITY\x20check\x20(safety-rules).\x20Warns\x20which\x20'+'fields\x20become\x20permanently\x20locked\x20after\x20each\x20operation.'),'network':NetworkEnum['optional']()})['strict']()['describe']('C2:\x20puzzle\x20snapshots\x20→\x20cross-object\x20risk\x20calibration\x20(critical/high/medium/low/info)\x20with\x20blocking\x20'+'status.\x20DX\x20sugar:\x20when\x20\x27puzzles\x27\x20is\x20omitted\x20but\x20\x27intent\x27\x20is\x20present,\x20the\x20handler\x20runs\x20analyze_intent\x20first.'),z['object']({'action':z['literal']('trace_substeps'),'project':z['string']()['optional']()['describe']('Project\x20prefix\x20(human-readable\x20unique\x20identifier,\x20e.g.\x20\x27myshop\x27).\x20Used\x20to\x20key\x20the\x20service-build\x20stage\x20cache.'),'version':z['string']()['regex'](/^v\d+$/)['optional']()['describe']('Project\x20version\x20(e.g.\x20\x27v1\x27)\x20for\x20the\x20service-build\x20stage\x20cache.\x20Defaults\x20to\x20\x27v1\x27.'),'substeps':z['array'](z['object']({'step_id':z['string']()['describe']('Substep\x20id,\x20format\x20\x27T<step>.<substep>\x27\x20e.g.\x20\x27T1.1\x27.'),'parent_step':z['string']()['describe']('Parent\x20step\x20id,\x20format\x20\x27T<step>\x27\x20e.g.\x20\x27T1\x27.'),'object_type':ProjectObjectTypeEnum['describe']('Wowok\x20object\x20type\x20this\x20substep\x20operates\x20on.'),'entry_id':z['string']()['describe']('Puzzle\x20entry_id\x20this\x20substep\x20corresponds\x20to.'),'operation_type':z['string']()['describe']('operation_type\x20for\x20onchain_operations.'),'network':z['enum'](['testnet','mainnet'])['describe']('Target\x20network.'),'input':z['object']({'data':z['record'](z['string'](),z['unknown']())['describe']('Input\x20data\x20payload.'),'input_refs':z['array'](z['string']())['describe']('Upstream\x20substep_ids\x20this\x20substep\x20consumes.')})['strict'](),'output':z['object']({'object_id':z['string']()['optional'](),'tx_digest':z['string']()['optional']()})['catchall'](z['unknown']())['optional']()['describe']('Output\x20data\x20(filled\x20after\x20execution).'),'timestamp':z['number']()['describe']('Execution\x20timestamp\x20(ms).'),'status':z['enum'](['PENDING','SUCCESS','FAILED','SKIPPED'])['describe']('Execution\x20status.'),'failure_reason':z['string']()['optional']()['describe']('Failure\x20reason\x20(when\x20status=\x27FAILED\x27).'),'dependencies':z['object']({'input_refs':z['array'](z['string']()),'output_refs':z['array'](z['object']({'substep_id':z['string']()['describe']('Downstream\x20substep\x20that\x20consumes\x20this\x20output.'),'field_path':z['string']()['describe']('Field\x20path\x20produced\x20by\x20this\x20substep\x20(e.g.\x20\x27permission_address\x27).')})['strict']())})['strict']()['describe']('Dependencies\x20(input_refs\x20+\x20output_refs).'),'retry_info':z['object']({'original_step_id':z['string'](),'retry_count':z['number'](),'retry_reason':z['string']()})['strict']()['optional']()['describe']('Retry\x20info\x20(when\x20this\x20substep\x20is\x20a\x20retry\x20of\x20an\x20earlier\x20one).')})['strict']())['optional']()['describe']('Substep\x20execution\x20records\x20(63-spec\x20§2.1).\x20Required\x20when\x20action=\x27trace_substeps\x27.\x20'+'Construct\x20from\x20your\x20deployment\x20execution\x20trace.'),'substep_edges':z['array'](z['object']({'source':z['string']()['describe']('Source\x20substep\x20id.'),'target':z['string']()['describe']('Target\x20substep\x20id\x20(depends\x20on\x20source).'),'field_path':z['string']()['describe']('Field\x20path\x20flowing\x20along\x20this\x20edge.')})['strict']())['optional']()['describe']('Explicit\x20DAG\x20edges.\x20When\x20omitted,\x20edges\x20are\x20derived\x20from\x20each\x20substep\x27s\x20input_refs.'),'network':NetworkEnum['optional']()})['strict']()['describe']('C3:\x20substep\x20execution\x20records\x20→\x20DAG\x20coherence\x20analysis\x20(dangling\x20inputs,\x20circular\x20refs,\x20'+'missing\x20outputs,\x20cross-step\x20breaks,\x20topological\x20order,\x20D-10\x20verdict).'),z['object']({'action':z['literal']('merchant_guide'),...IntentContextFields,'guide_state':z['object']({'intent_text':z['string']()['describe']('Step\x201:\x20raw\x20merchant\x20business\x20description.'),'confirmed_industry':z['string']()['optional']()['describe']('Step\x202:\x20merchant-confirmed\x20industry\x20id.'),'currency':z['string']()['optional']()['describe']('Step\x205:\x20payment\x20currency\x20(default\x20WOW).'),'deliverables':z['array'](z['unknown']())['optional']()['describe']('Step\x204:\x20merchant-defined\x20deliverables\x20(opaque\x20passthrough).'),'payment_override':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Step\x205:\x20payment\x20structure\x20overrides\x20(opaque\x20passthrough).'),'trust_override':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Step\x206:\x20trust\x20mechanism\x20overrides\x20(opaque\x20passthrough).'),'adopted_module_ids':z['array'](z['string']())['optional']()['describe']('Step\x206:\x20merchant-confirmed\x20business\x20module\x20ids.'),'guard_resolutions':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Accumulated\x20judgment-layer\x20guard\x20resolutions\x20(C6-DEEP)\x20—\x20pass\x20back\x20UNCHANGED\x20with\x20the\x20rest\x20of\x20the\x20state.'),'review_mode':z['enum'](['review','review_reward','none'])['optional']()['describe']('Per-build\x20review-rail\x20mode\x20(v53).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20review_mode\x20applies.'),'reward_funding':z['string']()['optional']()['describe']('Review\x20reward\x20pool\x20funding,\x20smallest-unit\x20string\x20(required\x20when\x20the\x20effective\x20review\x20mode\x20is\x20review_reward).'),'reward_claim_amount':z['string']()['optional']()['describe']('Per-claim\x20reward\x20bounty\x20mounted\x20on\x20the\x20claim\x20guard_add,\x20smallest-unit\x20string\x20(BK15-F09:\x20schema-required\x20on\x20the\x20mount;\x20the\x20kernel\x20never\x20fabricates\x20a\x20real-money\x20parameter).'),'after_sales_mode':z['enum'](['return','exchange','warranty','none'])['optional']()['describe']('Per-build\x20after-sales\x20mode\x20(D12\x20refactor\x204).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20after_sales_mode\x20applies.\x20Declaring\x20a\x20mode\x20with\x20no\x20backing\x20rail\x20in\x20machine_shape\x20is\x20a\x20compile\x20blocker\x20(AFTER_SALES_RAIL_MISSING).'),'acceptance_mode':z['enum'](['milestone','contest','bounty','agent','none'])['optional']()['describe']('Per-build\x20acceptance/judging\x20mode\x20(D12\x20refactor\x202).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20acceptance_mode\x20applies.\x20A\x20judge-decided\x20mode\x20(contest/bounty/agent)\x20without\x20arbitration_mode\x20\x27third_party\x27\x20is\x20a\x20compile\x20blocker\x20(ACCEPTANCE_JUDGE_NOT_INDEPENDENT);\x20a\x20finite\x20revision_rounds_max\x20with\x20no\x20counter\x20Repository\x20guard\x20is\x20a\x20compile\x20blocker\x20(ACCEPTANCE_REVISION_UNBOUNDED).'),'installment_mode':z['enum'](['deposit_balance','milestone_n','none'])['optional']()['describe']('Per-build\x20installment/deposit\x20mode\x20(D12\x20refactor\x203).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20installment_mode\x20applies.\x20A\x20capture\x20forward\x20with\x20no\x20fund-gate\x20Guard\x20is\x20a\x20compile\x20blocker\x20(INSTALLMENT_FUNDING_UNGATED);\x20a\x20deposit-held\x20state\x20with\x20no\x20exit\x20rail\x20is\x20a\x20compile\x20blocker\x20(INSTALLMENT_DEPOSIT_STRANDED).'),'affiliate_mode':z['enum'](['commission','none'])['optional']()['describe']('Per-build\x20affiliate\x20commission\x20overlay\x20(D12\x20batch\x205).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20affiliate_mode\x20applies.\x20A\x20declared\x20commission\x20overlay\x20with\x20no\x20commission\x20rail\x20is\x20a\x20compile\x20blocker\x20(AFFILIATE_RAIL_MISSING);\x20a\x20commission\x20with\x20no\x20post-lock\x20no-clawback\x20disclosure\x20build_note\x20is\x20a\x20compile\x20blocker\x20(AFFILIATE_CLAWBACK_UNDISCLOSED).'),'crowdfunding_mode':z['enum'](['threshold','flexible','none'])['optional']()['describe']('Per-build\x20crowdfunding\x20campaign\x20overlay\x20(D12\x20batch\x207).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20crowdfunding_mode\x20applies.\x20A\x20declared\x20threshold/flexible\x20overlay\x20with\x20no\x20two-leg\x20escrow-exit\x20gate\x20(release\x20XOR\x20refund,\x20D-BUG-2)\x20is\x20a\x20compile\x20blocker\x20(CROWDFUNDING_THRESHOLD_GATE_MISSING);\x20a\x20threshold\x20gate\x20whose\x20aggregate\x20is\x20NOT\x20a\x20writer-bound\x20sum-where\x20(id_from\x20signer)\x20is\x20a\x20compile\x20blocker\x20(CROWDFUNDING_AGGREGATE_UNBOUND);\x20a\x20missing\x20L-04/L-01/L-05\x20disclosure\x20build_note\x20is\x20a\x20compile\x20blocker\x20(CROWDFUNDING_DISCLOSURE_MISSING).'),'logistics_mode':z['enum'](['none','carrier','merchant_managed','courier','pickup_point'])['optional']()['describe']('Per-build\x20fulfillment\x20topology\x20(K3\x20batch\x20C,\x20K-2).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20logistics_mode\x20applies.\x20A\x20declared\x20topology\x20the\x20machine_shape\x20cannot\x20honor\x20is\x20a\x20compile\x20blocker:\x20courier\x20with\x20no\x20named_operator\x20handover\x20rail\x20(LOGISTICS_COURIER_RAIL_MISSING)\x20or\x20a\x20pooled\x20delivery\x20fee\x20(LOGISTICS_COURIER_FEE_POOLED);\x20pickup_point\x20without\x20the\x20absolute\x20batch\x20cutoff\x20or\x20the\x20unclaimed-goods\x20exit\x20window\x20(LOGISTICS_PICKUP_CUTOFF_MISSING);\x20carrier\x20without\x20tracking\x20evidence\x20(LOGISTICS_CARRIER_EVIDENCE_MISSING);\x20any\x20physical\x20mode\x20without\x20a\x20transit-loss\x20story\x20(LOGISTICS_TRANSIT_LOSS_UNCOVERED);\x20courier/pickup_point\x20without\x20the\x20two\x20dispatch\x20disclosures\x20(LOGISTICS_DISPATCH_UNDISCLOSED).'),'supply_chain':z['array'](SupplyChainPromiseInputSchema)['optional']()['describe']('Supply-chain\x20composition\x20(Goal\x202/4):\x20the\x20Services\x20this\x20shop\x20PROCURES\x20fulfilment\x20from.\x20compile\x20appends\x20each\x20promise\x27s\x20material\x20(order_allocators-bound\x20settlement\x20gate,\x20rendezvous\x20ledger,\x20optional\x20third-party\x20payout\x20rail)\x20BEFORE\x20the\x20Service\x20publish\x20and\x20declares\x20plan.inputs.fulfillment_axis.\x20Incomplete\x20or\x20conflicting\x20promises\x20are\x20compile\x20blockers\x20(SUPPLY_CHAIN_PROMISE_INCOMPLETE\x20/\x20_GATE_TEMPLATE\x20/\x20_ACK_WITHOUT_DEADLINE\x20/\x20_PAYOUT_RATE\x20/\x20_ID_CONFLICT).\x20Absent\x20=\x20the\x20shop\x20fulfils\x20everything\x20itself.'),'fee_overrides':z['record'](z['string'](),z['union']([z['number'](),z['string']()]))['optional']()['describe']('P2-3:\x20answers\x20to\x20the\x20template\x27s\x20structured\x20business\x20questions\x20(user_input_questions\x20of\x20the\x20prior\x20result),\x20keyed\x20by\x20the\x20fee_params\x20name\x20—\x20e.g.\x20{\x20settlement_days:\x2020\x20}.\x20Each\x20entry\x20is\x20a\x20compile\x20input,\x20so\x20the\x20answer\x20overrides\x20the\x20template\x20default;\x20unanswered\x20questions\x20keep\x20the\x20default.')})['strict']()['optional']()['describe']('Wizard\x20state\x20from\x20a\x20prior\x20merchant_guide\x20result.\x20Pass\x20back\x20UNCHANGED\x20on\x20every\x20subsequent\x20call.\x20'+'The\x20handler\x20re-runs\x20the\x20pipeline\x20deterministically\x20and\x20advances\x20to\x20the\x20furthest\x20reachable\x20step.'),'guide_confirm':z['object']({'industry':z['string']()['optional']()['describe']('Step\x202\x20confirmation:\x20industry\x20id\x20(e.g.\x20\x27freelance\x27).'),'currency':z['string']()['optional']()['describe']('Step\x205\x20confirmation:\x20payment\x20currency.'),'deliverables':z['array'](z['unknown']())['optional']()['describe']('Step\x204\x20confirmation:\x20deliverable\x20definitions.'),'payment':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Step\x205\x20confirmation:\x20{\x20model,\x20triggers,\x20allocation\x20}\x20overrides.'),'trust':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Step\x206\x20confirmation:\x20{\x20refundPolicy,\x20arbitration,\x20escrow\x20}\x20overrides.'),'adopted_module_ids':z['array'](z['string']())['optional']()['describe']('Step\x206\x20confirmation:\x20business\x20module\x20ids\x20to\x20adopt\x20(overrides\x20recommendation).'),'guard_resolutions':z['record'](z['string'](),GuardResolutionInputSchema)['optional']()['describe']('Judgment-layer\x20resolutions\x20for\x20pending\x20guard\x20designs\x20(keyed\x20by\x20pending_guard_designs[].key;\x20C6-DEEP).\x20'+'A\x20blocked\x20audit\x20lists\x20every\x20unresolved\x20design\x20—\x20resolve\x20each\x20here\x20(kind\x20\x27inline\x27\x20with\x20the\x20resolved\x20Guard\x20table+root,\x20or\x20'+'kind\x20\x27template\x27\x20with\x20a\x20matching\x20tpl_*\x20id)\x20and\x20call\x20merchant_guide\x20again.\x20Advisory\x20designs\x20that\x20do\x20not\x20apply\x20to\x20this\x20'+'shop\x20may\x20be\x20resolved\x20with\x20{kind:\x27omit\x27}\x20instead\x20(honored\x20only\x20for\x20designs\x20with\x20no\x20inbound\x20binding;\x20an\x20omit\x20of\x20a\x20bound\x20'+'design\x20is\x20refused\x20with\x20GUARD_OMIT_UNSUPPORTED).\x20Caller\x20input\x20wins\x20over\x20module-derived\x20resolutions.\x20'+'The\x20publish\x20freeze\x20gate\x20still\x20runs:\x20a\x20resolution\x20only\x20unblocks\x20the\x20plan\x20when\x20the\x20closed\x20audit\x20is\x20clean.'),'review_mode':z['enum'](['review','review_reward','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20review-rail\x20mode\x20(v53).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20review_mode\x20applies.'),'reward_funding':z['string']()['optional']()['describe']('Step\x206\x20confirmation:\x20review\x20reward\x20pool\x20funding,\x20smallest-unit\x20string\x20(required\x20when\x20the\x20effective\x20review\x20mode\x20is\x20review_reward).'),'reward_claim_amount':z['string']()['optional']()['describe']('Step\x206\x20confirmation:\x20per-claim\x20reward\x20bounty\x20on\x20the\x20claim\x20guard_add,\x20smallest-unit\x20string\x20(BK15-F09).'),'after_sales_mode':z['enum'](['return','exchange','warranty','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20after-sales\x20mode\x20(D12\x20refactor\x204).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20after_sales_mode\x20applies.'),'acceptance_mode':z['enum'](['milestone','contest','bounty','agent','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20acceptance/judging\x20mode\x20(D12\x20refactor\x202).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20acceptance_mode\x20applies.'),'installment_mode':z['enum'](['deposit_balance','milestone_n','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20installment/deposit\x20mode\x20(D12\x20refactor\x203).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20installment_mode\x20applies.'),'affiliate_mode':z['enum'](['commission','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20affiliate\x20commission\x20overlay\x20(D12\x20batch\x205).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20affiliate_mode\x20applies.'),'crowdfunding_mode':z['enum'](['threshold','flexible','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20crowdfunding\x20campaign\x20overlay\x20(D12\x20batch\x207).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20crowdfunding_mode\x20applies.'),'logistics_mode':z['enum'](['none','carrier','merchant_managed','courier','pickup_point'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20fulfillment\x20topology\x20(K3\x20batch\x20C,\x20K-2).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20logistics_mode\x20applies.'),'supply_chain':z['array'](SupplyChainPromiseInputSchema)['optional']()['describe']('Step\x206\x20confirmation:\x20Supply-chain\x20composition\x20(Goal\x202/4)\x20—\x20the\x20Services\x20this\x20shop\x20PROCURES\x20fulfilment\x20from.\x20Emitted\x20by\x20compile\x20as\x20build\x20material\x20(rendezvous\x20gate\x20+\x20ledger\x20+\x20optional\x20third-party\x20payout\x20rail)\x20before\x20the\x20Service\x20publish.')})['strict']()['optional']()['describe']('Merchant\x20decisions\x20for\x20the\x20current\x20wizard\x20step.\x20Merged\x20over\x20guide_state.\x20Typical\x20flow:\x20'+'call\x201\x20with\x20intent\x20only\x20→\x20receive\x20step-2\x20industry\x20options\x20→\x20call\x202\x20with\x20guide_state\x20+\x20'+'guide_confirm={industry}\x20→\x20receive\x20full\x20blueprint\x20plan\x20(steps\x207-10).'),'network':NetworkEnum['optional']()})['strict']()['describe']('10-step\x20merchant\x20onboarding\x20wizard:\x20intent\x20text\x20→\x20BusinessIntent\x20→\x20industry\x20confirmation\x20→\x20'+'module\x20adoption\x20→\x20Blueprint\x20(L1\x20plan\x20projection)\x20→\x20evaluation\x20preview\x20→\x20harness\x20check\x20→\x20creation\x20'+'plan.\x20NEVER\x20executes\x20on-chain\x20operations.\x20Stateless:\x20pass\x20guide_state/guide_confirm\x20to\x20advance.')];const KeywordMatchSchema=z['object']({'keyword':z['string'](),'category':z['string'](),'matched_objects':z['array'](z['string']()),'required_level':z['enum'](['R','C','OPTIONAL']),'match_count':z['number']()})['strict']();export const AnalyzeIntentResultSchema=z['object']({'action':z['literal']('analyze_intent'),'intent_parsed':z['object']({'primary_object':z['string']()['describe']('Primary\x20object\x20inferred\x20from\x20the\x20intent\x20keywords.'),'secondary_objects':z['array'](z['string']())['describe']('Supporting\x20objects\x20typically\x20required\x20alongside\x20the\x20primary\x20one.'),'detected_scenes':z['array'](z['object']({'object':z['string'](),'scene_id':z['string']()['describe']('Free-form\x20scene\x20id,\x20e.g.\x20\x27retail\x27,\x20\x27rental_return\x27.')})['strict']())['describe']('Scenes\x20detected\x20from\x20the\x20intent\x20(used\x20for\x20template\x20selection).'),'industry':z['string']()['describe']('Industry\x20mode\x20resolved\x20from\x20the\x20intent\x20(defaults\x20to\x20\x27general\x27).'),'keyword_matches':z['array'](KeywordMatchSchema)['describe']('All\x20keyword\x20matches\x20that\x20drove\x20the\x20identification.')})['strict'](),'puzzles':z['record'](z['string'](),z['object']({'puzzle':z['unknown'](),'completeness':z['unknown'](),'missing_dimensions':z['array'](z['string']())})['strict']())['describe']('Per-object\x20puzzle\x20snapshot,\x20keyed\x20by\x20object_type.\x20Pass\x20this\x20UNCHANGED\x20to\x20aggregate_risks.'),'overall_completeness':z['enum'](['complete','partial','empty']),'next_step':z['string']()['describe']('Human-readable\x20suggestion\x20for\x20the\x20next\x20puzzle\x20step.'),'recommended_creation_order':z['array'](z['string']())['describe']('Recommended\x20object\x20creation\x20order\x20(dependency\x20topology).'),'warnings':z['array'](z['string']())})['strict']();const AggregatedRiskSchema=z['object']({'risk_rule_id':z['string']()['describe']('Unified\x20risk\x20rule\x20id,\x20e.g.\x20\x27R-S-01\x27.'),'object_type':z['string'](),'entry_id':z['string']()['describe']('Object\x20entry_id\x20(\x27*\x27\x20when\x20cross-object).'),'severity':z['enum'](['critical','high','medium','low','info']),'message':z['string'](),'fix_suggestion':z['string'](),'details':z['object']({'field_path':z['string']()['optional'](),'actual_value':z['unknown']()['optional'](),'expected_value':z['unknown']()['optional'](),'rule_source':z['string']()['optional']()})['strict']()['optional']()})['strict'](),SafetyFindingSchema=z['object']({'rule_id':z['string']()['describe']('Safety\x20rule\x20id\x20(e.g.\x20\x27REUSE-SERVICE-01\x27,\x20\x27IMMUT-001\x27).'),'severity':z['enum'](['info','warn']),'message':z['string']()})['strict']();export const AggregateRisksResultSchema=z['object']({'action':z['literal']('aggregate_risks'),'namespace':z['object']({'prefix':z['string'](),'version':z['string'](),'industry':z['string']()['optional']()})['strict'](),'findings':z['array'](AggregatedRiskSchema)['describe']('All\x20risks\x20found,\x20sorted\x20(critical\x20first).'),'severity_summary':z['record'](z['string'](),z['number']())['describe']('Counts\x20keyed\x20by\x20severity.'),'status':z['enum'](['CLEAN_WITHIN_SCOPE','STATIC_ANALYZERS_CLEAN','RISK_BLOCKED','RISK_PENDING_CONFIRM','RISK_CANCELLED'])['describe']('Aggregated\x20status\x20(62-spec\x20§3.2).\x20RISK_BLOCKED\x20=\x20critical\x20or\x20above-threshold\x20risks\x20present.\x20'+'⚠️\x20THIS\x20IS\x20A\x20SEVERITY\x20VERDICT,\x20NOT\x20PUBLISH\x20CLEARANCE:\x20the\x20aggregation\x20is\x20a\x20pure\x20transformation\x20over\x20puzzle\x20'+'snapshots\x20and\x20planned\x20objects/operations\x20and\x20never\x20reads\x20a\x20live\x20object.\x20CLEAN_WITHIN_SCOPE\x20means\x20\x27no\x20finding\x20in\x20the\x20static\x20'+'analyzers\x20AND\x20zero\x20on-chain\x20objects\x20inspected\x27\x20—\x20read\x20`evidence_scope`\x20/\x20`objects_inspected`\x20/\x20`publish_authorized`\x20before\x20'+'treating\x20it\x20as\x20a\x20green\x20light.\x20STATIC_ANALYZERS_CLEAN\x20is\x20reserved\x20for\x20a\x20future\x20object-grounded\x20clean\x20run.'),'status_note':z['string']()['optional']()['describe']('One-line\x20honesty\x20note\x20for\x20the\x20status:\x20it\x20reflects\x20static\x20analyzers\x20over\x20plan\x20snapshots\x20only\x20—\x20zero\x20on-chain\x20objects\x20inspected;\x20not\x20a\x20publish\x20clearance.'),'objects_inspected':z['number']()['optional']()['describe']('How\x20many\x20live\x20on-chain\x20objects\x20this\x20aggregation\x20inspected.\x20Always\x200\x20today\x20(the\x20C1→C4\x20pipeline\x20performs\x20no\x20chain\x20reads)\x20—\x20a\x20clean\x20status\x20over\x20zero\x20objects\x20must\x20never\x20read\x20as\x20clearance.'),'pending_confirmations':z['array'](z['object']({'risk_rule_id':z['string'](),'description':z['string'](),'fix_suggestion':z['string'](),'object_type':z['string'](),'entry_id':z['string']()})['strict']())['optional']()['describe']('high\x20risks\x20awaiting\x20user\x20confirmation\x20(only\x20when\x20status=\x27RISK_PENDING_CONFIRM\x27).'),'evidence_scope':z['enum'](['puzzle_snapshots_only','object_grounded'])['optional']()['describe']('What\x20this\x20aggregation\x20actually\x20inspected.\x20Always\x20\x27puzzle_snapshots_only\x27\x20today:\x20the\x20C1→C4\x20pipeline\x20performs\x20no\x20chain\x20'+'reads.\x20Machine-readable\x20form\x20of\x20the\x20scope\x20warning\x20—\x20a\x20caller\x20must\x20not\x20have\x20to\x20infer\x20it\x20from\x20prose.'),'object_grounded':z['boolean']()['optional']()['describe']('True\x20only\x20if\x20a\x20live\x20on-chain\x20object\x20was\x20inspected.\x20Currently\x20always\x20false\x20(see\x20evidence_scope).'),'publish_authorized':z['boolean']()['optional']()['describe']('Whether\x20this\x20gate\x20alone\x20authorizes\x20publishing.\x20Currently\x20always\x20false:\x20use\x20template_scan\x20before\x20deploying\x20and\x20'+'service_panorama\x20/\x20onchain_objects\x20after,\x20plus\x20the\x20publish-time\x20gates\x20in\x20onchain_operations.'),'publish_authorized_reason':z['string']()['optional']()['describe']('Why\x20publish_authorized\x20is\x20false,\x20and\x20which\x20checks\x20to\x20run\x20instead.'),'calibrated_at':z['number']()['describe']('Calibration\x20timestamp\x20(ms).'),'fix_suggestions_grouped':z['record'](z['string'](),z['array'](z['object']({'risk_rule_id':z['string'](),'severity':z['enum'](['critical','high','medium','low','info']),'message':z['string'](),'fix_suggestion':z['string'](),'entry_id':z['string']()})['strict']()))['optional']()['describe']('Fix\x20suggestions\x20grouped\x20by\x20object_type.'),'safety_findings':z['array'](SafetyFindingSchema)['optional']()['describe']('OBJECT_REUSE\x20/\x20IMMUTABILITY\x20findings\x20from\x20safety-rules\x20(only\x20when\x20planned_objects\x20/\x20planned_operations\x20were\x20provided).'),'intent_echo':z['object']({'primary_object':z['string'](),'industry':z['string'](),'overall_completeness':z['enum'](['complete','partial','empty']),'classification_source':z['string']()['optional']()['describe']('Where\x20the\x20industry\x20guess\x20came\x20from.\x20\x27aggregate_risks_intent_echo\x27\x20=\x20this\x20tool\x27s\x20own\x20classification\x20of\x20the\x20intent\x20text\x20—\x20NOT\x20a\x20reconciled\x20verdict\x20(other\x20subsystems\x20may\x20classify\x20the\x20same\x20intent\x20differently).')})['strict']()['optional']()['describe']('Echo\x20of\x20the\x20auto-run\x20analyze_intent\x20(only\x20when\x20\x27puzzles\x27\x20was\x20omitted\x20and\x20\x27intent\x27\x20was\x20used).'),'warnings':z['array'](z['string']())})['strict']();export const TraceSubstepsResultSchema=z['object']({'action':z['literal']('trace_substeps'),'namespace':z['object']({'prefix':z['string'](),'version':z['string']()})['strict'](),'network':z['enum'](['testnet','mainnet']),'coherent':z['boolean']()['describe']('True\x20when\x20no\x20dangling\x20inputs,\x20no\x20cycles,\x20no\x20missing\x20outputs,\x20no\x20cross-step\x20breaks.'),'dangling_inputs':z['array'](z['object']({'substep_id':z['string'](),'missing_ref':z['string'](),'field_path':z['string']()})['strict']())['describe']('Input\x20refs\x20pointing\x20to\x20non-existent\x20substeps.'),'circular_refs':z['array'](z['object']({'cycle':z['array'](z['string']())})['strict']())['describe']('Substep\x20id\x20cycles\x20(when\x20present,\x20topological_order\x20is\x20empty).'),'missing_outputs':z['array'](z['object']({'substep_id':z['string'](),'expected_field':z['string'](),'dependent_substeps':z['array'](z['string']())})['strict']())['describe']('Substeps\x20that\x20should\x20have\x20produced\x20a\x20field\x20but\x20did\x20not.'),'cross_step_breaks':z['array'](z['object']({'source_step':z['string'](),'target_step':z['string'](),'missing_field':z['string']()})['strict']())['describe']('Upstream\x20step\x20failed\x20→\x20downstream\x20cannot\x20proceed.'),'step_details':z['array'](z['object']({'parent_step':z['string'](),'total_substeps':z['number'](),'successful':z['number'](),'failed':z['number'](),'pending':z['number'](),'skipped':z['number'](),'substep_ids':z['array'](z['string']())})['strict']())['describe']('Per-step\x20summary,\x20keyed\x20by\x20parent_step.'),'topological_order':z['array'](z['string']())['describe']('Topological\x20order\x20of\x20substep\x20ids\x20(empty\x20when\x20a\x20cycle\x20exists).'),'d10_check':z['object']({'check_id':z['literal']('D-10'),'description':z['string'](),'status':z['enum'](['PASS','FAIL','WARN']),'notes':z['array'](z['string']())})['strict']()['describe']('D-10\x20substep\x20linkage\x20completeness\x20verdict.')})['strict']();export const MerchantGuideResultSchema=z['object']({'action':z['literal']('merchant_guide'),'current_step':z['number']()['describe']('Furthest\x20wizard\x20step\x20reached\x20(2\x20=\x20awaiting\x20industry\x20confirmation;\x209\x20=\x20harness\x20issues\x20found;\x2010\x20=\x20plan\x20ready).'),'step_name':z['string'](),'guide_state':z['object']({'intent_text':z['string'](),'confirmed_industry':z['string']()['optional'](),'currency':z['string']()['optional'](),'deliverables':z['array'](z['unknown']())['optional'](),'payment_override':z['record'](z['string'](),z['unknown']())['optional'](),'trust_override':z['record'](z['string'](),z['unknown']())['optional'](),'adopted_module_ids':z['array'](z['string']())['optional'](),'guard_resolutions':z['record'](z['string'](),z['unknown']())['optional'](),'review_mode':z['enum'](['review','review_reward','none'])['optional'](),'reward_funding':z['string']()['optional'](),'reward_claim_amount':z['string']()['optional'](),'after_sales_mode':z['enum'](['return','exchange','warranty','none'])['optional'](),'acceptance_mode':z['enum'](['milestone','contest','bounty','agent','none'])['optional'](),'installment_mode':z['enum'](['deposit_balance','milestone_n','none'])['optional'](),'affiliate_mode':z['enum'](['commission','none'])['optional'](),'crowdfunding_mode':z['enum'](['threshold','flexible','none'])['optional'](),'logistics_mode':z['enum'](['none','carrier','merchant_managed','courier','pickup_point'])['optional'](),'supply_chain':z['array'](SupplyChainPromiseInputSchema)['optional'](),'fee_overrides':z['record'](z['string'](),z['union']([z['number'](),z['string']()]))['optional']()})['strict']()['describe']('Wizard\x20state\x20—\x20pass\x20back\x20UNCHANGED\x20on\x20the\x20next\x20merchant_guide\x20call.'),'intent_draft':z['unknown']()['optional']()['describe']('Step\x201-2\x20only:\x20BusinessIntent\x20draft\x20inferred\x20from\x20the\x20description.'),'industry_options':z['object']({'inferred':z['string'](),'confidence':z['number'](),'similar':z['array'](z['string']())})['strict']()['optional']()['describe']('Step\x202\x20only:\x20industry\x20candidates\x20awaiting\x20merchant\x20confirmation.'),'intent':z['unknown']()['optional']()['describe']('Steps\x207-10:\x20final\x20BusinessIntent\x20after\x20merchant\x20overrides.'),'adopted_modules':z['array'](z['object']({'id':z['string'](),'name':z['string'](),'description':z['string'](),'requires_keeper':z['boolean'](),'keeper_hint':z['string']()['optional'](),'user_protections':z['array'](z['string']()),'merchant_obligations':z['array'](z['string']())})['strict']())['optional']()['describe']('Steps\x206-10:\x20adopted\x20business\x20modules\x20with\x20protections/obligations.'),'blueprint':z['object']({'nodes':z['array'](z['object']({'id':z['string'](),'type':z['string'](),'purpose':z['string']()})['strict']()),'edges':z['array'](z['object']({'from':z['string'](),'to':z['string'](),'relation':z['string'](),'required':z['boolean']()})['strict']())})['strict']()['optional']()['describe']('Step\x207:\x20semantic\x20object\x20graph\x20(nodes\x20+\x20edges).'),'evaluation_preview':z['unknown']()['optional']()['describe']('Step\x208:\x20estimated\x20risk/completeness\x20scores\x20+\x20key\x20risks\x20+\x20module\x20boosts\x20(G-04:\x20no\x20trust\x20score\x20—\x20none\x20is\x20evaluated\x20at\x20build\x20time).'),'graph_validation':z['object']({'valid':z['boolean'](),'hard_violations':z['array'](z['object']({'id':z['string'](),'description':z['string'](),'fix':z['string']()['optional']()})['strict']()),'soft_notes':z['array'](z['object']({'id':z['string'](),'description':z['string']()})['strict']())})['strict']()['optional']()['describe']('Step\x208:\x20structural\x20validation\x20of\x20the\x20semantic\x20graph.'),'harness_check':z['object']({'module_constraints':z['array'](z['object']({'module':z['string'](),'plan_satisfied':z['boolean'](),'missing':z['array'](z['string']())['optional'](),'reason':z['string']()['optional'](),'findings':z['array'](z['object']({'rule':z['string'](),'severity':z['string'](),'detail':z['string']()})['strict']())['describe']('Score-extinction\x20(M5):\x20adoption\x20verdict\x20evidence\x20as\x20findings,\x20never\x20a\x20numeric\x20boost\x20—\x20MODULE-CONSTRAINTS-MISSING\x20(high:\x20blocking\x20constraints\x20unsatisfied)\x20/\x20MODULE-EVIDENCE-MISSING\x20(medium:\x20score-only\x20auto-recommendation\x20DROPPED;\x20keep\x20via\x20guide_state.adopted_module_ids).'),'evidence_matched':z['boolean']()['optional']()['describe']('G-03:\x20false\x20=\x20the\x20module\x20was\x20auto-recommended\x20by\x20score\x20with\x20no\x20explicit\x20intent\x20evidence\x20—\x20it\x20is\x20NOT\x20adopted\x20(see\x20findings).')})['strict']()),'module_gaps':z['array'](z['object']({'module':z['string'](),'missing_constraints':z['array'](z['string']())['optional'](),'fix':z['string']()['optional']()})['strict']()),'blocking_issues':z['array'](z['object']({'module':z['string'](),'missing_constraints':z['array'](z['string']())['optional'](),'fix':z['string']()['optional']()})['strict']()),'deploy_time_checks':z['array'](z['string']())})['strict']()['optional']()['describe']('Step\x209:\x20module\x20constraint\x20check\x20at\x20blueprint\x20stage\x20+\x20deploy-time\x20checklist.'),'pending_guard_designs':z['array'](z['object']({'key':z['string']()['describe']('Guard\x20design\x20key\x20—\x20the\x20guide_confirm.guard_resolutions\x20lookup\x20key.'),'template_id':z['string']()['describe']('The\x20pattern.*/tpl_*\x20design\x20id.'),'host':z['string']()['describe']('Attachment\x20surface\x20(service\x20buy\x20path,\x20machine\x20forward,\x20allocator\x20row,\x20...).'),'purpose':z['string']()['describe']('What\x20the\x20design\x20gates.'),'logic_summary':z['string']()['optional']()['describe']('Pattern\x20logic\x20sketch\x20(pattern.*\x20catalog)\x20to\x20guide\x20the\x20resolution.'),'logic_summary_note':z['string']()['optional']()['describe']('p8k2\x20T-03:\x20the\x20sketch\x20above\x20is\x20POLARITY-BLIND\x20for\x20refund/recover\x20rails\x20—\x20this\x20note\x20names\x20the\x20claimed_by\x20polarity\x20leg\x20the\x20rail\x20REQUIRES\x20and\x20warns\x20against\x20sharing\x20one\x20resolved\x20guard\x20across\x20the\x20twin\x20rails.'),'key_queries':z['array'](z['string']())['optional']()['describe']('Key\x20queries\x20the\x20pattern\x20reads.'),'how_to_resolve':z['string']()['describe']('Exact\x20guide_confirm.guard_resolutions\x20entry\x20shape\x20for\x20this\x20design.')})['strict']())['optional']()['describe']('Step\x209\x20(blocked):\x20every\x20unresolved\x20guard\x20design\x20with\x20its\x20pattern\x27s\x20logic\x20sketch\x20(C6-DEEP).\x20'+'The\x20judgment\x20layer\x20resolves\x20each\x20via\x20guide_confirm.guard_resolutions;\x20the\x20audit\x20freeze\x20gate\x20still\x20decides.'),'game_theory':z['object']({'summary':z['string'](),'coverage':z['string']()['describe']('Covered/total\x20scenario\x20count,\x20e.g.\x20\x274/5\x27.'),'exposed_scenarios':z['array'](z['string']()),'wow_alignments':z['array'](z['string']())['describe']('Active\x20WOW\x20mechanisms\x20aligning\x20merchant/user\x20incentives.'),'scenarios':z['array'](z['object']({'scenario':z['string'](),'covered':z['boolean'](),'conflict':z['string'](),'user_protection':z['string'](),'evaluation_metric':z['string'](),'recommendation':z['string']()['optional']()})['strict']())})['strict']()['optional']()['describe']('Step\x209:\x20merchant-user\x20adversarial\x20scenario\x20coverage.\x205\x20canonical\x20scenarios\x20checked\x20against\x20the\x20blueprint.'),'creation_plan':z['array'](z['object']({'order':z['number'](),'node_id':z['string'](),'object_type':z['string'](),'suggested_name':z['string'](),'depends_on':z['array'](z['string']()),'operation_hint':z['string']()})['strict']())['optional']()['describe']('Step\x2010:\x20topologically\x20ordered\x20creation\x20plan.\x20NOT\x20executed\x20—\x20materialize\x20via\x20onchain_operations.'),'post_deploy_steps':z['array'](z['object']({'order':z['number'](),'id':z['string'](),'title':z['string'](),'when':z['string'](),'action':z['string'](),'tool_hint':z['string'](),'failure_if_skipped':z['string']()})['strict']())['optional']()['describe']('Step\x2010:\x20ordered\x20executable\x20post-deploy\x20steps\x20(compensation\x20fund\x20top-up\x20R-4,\x20arbitration\x20unpause\x20R-5,\x20settlement\x20alloc_by_guard\x20R-2,\x20panorama\x20verification).\x20Run\x20via\x20onchain_operations\x20AFTER\x20the\x20creation\x20plan\x20materializes.'),'supply_chain':z['array'](z['object']({'steps':z['array'](z['string']())['describe']('Emitted\x20step\x20ids\x20(rendezvous\x20gate,\x20ledger\x20create,\x20write/ack\x20policies,\x20bind,\x20allocation).'),'inputs':z['record'](z['string'](),z['string']())['describe']('Plan\x20inputs\x20the\x20emission\x20depends\x20on\x20(fulfillment_axis).'),'primitives':z['array'](z['string']())['describe']('composition-truth\x20primitives\x20this\x20emission\x20puts\x20on\x20chain.'),'notes':z['array'](z['string']())['describe']('Operator\x20duties\x20and\x20residual\x20trust,\x20in\x20the\x20merchant\x27s\x20own\x20terms.'),'handoff':z['object']({'repository':z['string']()['describe']('The\x20rendezvous\x20Repository\x20(name\x20or\x20step\x20id).'),'writes':z['array'](z['object']({'policy':z['string'](),'row_id':z['string'](),'value':z['string'](),'write_guard':z['string'](),'submissions':z['string']()})['strict']())})['strict']()['optional']()['describe']('Present\x20when\x20the\x20fulfilment\x20side\x20is\x20a\x20SEPARATE\x20build:\x20the\x20rows\x20its\x20operator\x20must\x20write,\x20and\x20under\x20which\x20credential\x20guard.')})['strict']())['optional']()['describe']('Supply-chain\x20composition\x20emissions\x20(Goal\x202/4):\x20one\x20entry\x20per\x20guide_confirm.supply_chain\x20promise\x20that\x20compiled.'),'warnings':z['array'](z['string']()),'next_action':z['string']()['describe']('Human-readable\x20guidance\x20for\x20the\x20next\x20call.')})['strict']();
|
|
1
|
+
import{z}from'zod';const NetworkEnum=z['enum'](['mainnet','testnet']);export const PlanningIndustryEnum=z['string']()['regex'](/^[a-z][a-z0-9_]*$/,'industry\x20must\x20be\x20lowercase\x20snake_case');export const ProjectObjectTypeEnum=z['enum'](['service','machine','guard','permission','reward','arb','progress','treasury','demand','repository','contact','order','allocation','personal','payment','proof']);const IntentContextFields={'intent':z['string']()['max'](0x7d0)['optional']()['describe']('Business\x20intent\x20text\x20(e.g.\x20\x27I\x20rent\x20cameras\x20to\x20photographers\x20with\x20deposit\x20and\x20damage\x20inspection\x27).\x20'+'Used\x20as\x20the\x20primary\x20input;\x20falls\x20back\x20to\x20project_description\x20/\x20project_name\x20when\x20omitted.'),'project_name':z['string']()['min'](0x1)['max'](0xc8)['optional']()['describe']('Optional\x20business\x20name\x20—\x20used\x20as\x20an\x20intent\x20fallback\x20when\x20\x27intent\x27\x20is\x20omitted.'),'project_description':z['string']()['max'](0x7d0)['optional']()['describe']('Optional\x20business\x20description\x20—\x20used\x20as\x20an\x20intent\x20fallback\x20when\x20\x27intent\x27\x20is\x20omitted.'),'project_industry':PlanningIndustryEnum['optional']()['describe']('Industry\x20tag.\x20Drives\x20industry-specific\x20risk\x20calibration\x20(e.g.\x20\x27freelance\x27\x20does\x20NOT\x20require\x20'+'compensation_fund,\x20while\x20\x27rental\x27/\x27travel\x27\x20do).\x20Any\x20registered\x20industry\x20is\x20accepted\x20—\x20'+'builtin:\x20\x27general\x27,\x20\x27retail\x27,\x20\x27retail_d2c\x27,\x20\x27service\x27,\x20\x27rental\x27,\x20\x27freelance\x27,\x20\x27education\x27,\x20'+'\x27travel\x27,\x20\x27subscription\x27,\x20\x27custom\x27\x20—\x20plus\x20custom\x20industries\x20registered\x20via\x20industry\x20packs.')};export const GuardResolutionInputSchema=z['union']([z['object']({'kind':z['literal']('template'),'template_id':z['string']()['describe']('A\x20\x27tpl_*\x27\x20guard\x20template\x20id\x20to\x20fill\x20(template\x20fee_params\x20+\x20params\x20feed\x20the\x20fill).'),'params':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Extra\x20fill\x20params\x20over\x20the\x20merged\x20fee_params.')})['strict'](),z['object']({'kind':z['literal']('inline'),'description':z['string']()['optional']()['describe']('Guard\x20description\x20(defaults\x20to\x20the\x20pending\x20design\x27s\x20purpose).'),'table':z['array'](z['record'](z['string'](),z['unknown']()))['min'](0x1)['describe']('Guard\x20passport\x20table\x20rows\x20(identifier/b_submission/value_type/...).'),'root':z['object']({'type':z['string']()})['passthrough']()['describe']('Guard\x20logic\x20root\x20node\x20(a\x20typed\x20tree\x20node).')['refine'](a=>a['type']['length']>0x0,{'message':'guard\x20root.type\x20must\x20be\x20a\x20non-empty\x20node\x20type'})})['strict'](),z['object']({'kind':z['literal']('omit')})['strict']()]);export const SupplyChainPromiseInputSchema=z['object']({'sub_service':z['string']()['describe']('The\x20procured\x20sub-Service:\x20an\x20on-chain\x20address\x20or\x20a\x20resolvable\x20LocalMark/service\x20name.'),'axis':z['enum'](['merchant_procured','user_procured'])['describe']('Who\x20owns\x20the\x20fulfilment\x20order.\x20merchant_procured\x20=\x20this\x20merchant\x20buys\x20it\x20(the\x20merchant-side\x20rail\x20pays\x20payout_to\x20and\x20no\x20cross-order\x20owner\x20tie\x20is\x20emitted);\x20'+'user_procured\x20=\x20the\x20buyer\x20buys\x20it\x20and\x20presents\x20the\x20foreign\x20order\x20(the\x20rail\x20asserts\x20order.owner(host)\x20==\x20order.owner(foreign)).'),'service_name':z['string']()['optional']()['describe']('The\x20host\x20Service\x27s\x20own\x20name\x20(the\x20money\x20gate\x27s\x20host\x20binding).\x20Default:\x20the\x20plan\x27s\x20Service\x20create\x20name.'),'done_node':z['string']()['describe']('The\x20node\x20whose\x20arrival\x20makes\x20an\x20order\x20settle-eligible\x20(e.g.\x20\x27completed\x27\x20or\x20\x27delivered\x27).'),'done_node_alt':z['string']()['optional']()['describe']('A\x20further\x20settle-eligible\x20node\x20—\x20pass\x20every\x20optional\x20post-settlement\x20side\x20action\x27s\x20node\x20so\x20the\x20rail\x20still\x20fires\x20after\x20Praise\x20moves\x20progress.current.'),'done_node_alt2':z['string']()['optional']()['describe']('A\x20third\x20settle-eligible\x20node.'),'form':z['enum'](['rendezvous','submission'])['optional']()['describe']('How\x20the\x20fulfilment\x20fact\x20reaches\x20the\x20money\x20gate.\x20rendezvous\x20(default)\x20proves\x20the\x20pairing\x20through\x20a\x20shared\x20ledger\x20row;\x20submission\x20only\x20records\x20the\x20caller-supplied\x20foreign\x20order\x20address\x20(P2\x20only,\x20weaker).'),'fact_key':z['string']()['optional']()['describe']('Policy\x20key\x20of\x20the\x20forward\x20fulfilment\x20row.\x20Default\x20\x27fulfilment\x27.'),'ack_key':z['string']()['optional']()['describe']('Policy\x20key\x20of\x20the\x20buyer\x20acknowledgement.\x20Default\x20\x27<fact_key>_ack\x27.'),'ack_window_days':z['number']()['optional']()['describe']('merchant_procured\x20only:\x20days\x20of\x20buyer\x20silence\x20that\x20count\x20as\x20acknowledgement,\x20measured\x20from\x20the\x20order\x27s\x20LAST\x20entry\x20into\x20done_node.\x20Default\x203;\x200\x20is\x20refused\x20(a\x20costless\x20veto).'),'payout_to':z['string']()['optional']()['describe']('The\x20fulfilment\x20party\x27s\x20payout\x20address.\x20Absent\x20=\x20no\x20third-party\x20rail\x20(the\x20host\x20merchant\x20settles\x20the\x20sub-service\x20itself).'),'payout_rate':z['number']()['optional']()['describe']('Basis\x20points\x20(1..10000)\x20of\x20the\x20settlement\x20rail\x20paid\x20to\x20payout_to.\x20Default\x2010000.'),'repository':z['string']()['optional']()['describe']('An\x20EXISTING\x20rendezvous\x20Repository\x20name\x20to\x20reuse.\x20Omit\x20to\x20create\x20one\x20(see\x20repository_name).'),'repository_name':z['string']()['optional']()['describe']('The\x20name\x20a\x20CREATED\x20rendezvous\x20Repository\x20takes.\x20Default\x20\x27<service_name>_supply_chain\x27.\x20Ignored\x20when\x20`repository`\x20names\x20an\x20existing\x20one.'),'id_prefix':z['string']()['optional']()['describe']('Step-id\x20prefix\x20for\x20the\x20emitted\x20objects.\x20Default\x20\x27sc\x27\x20for\x20the\x20first\x20promise,\x20\x27sc2\x27,\x20\x27sc3\x27...\x20for\x20later\x20ones.\x20An\x20explicit\x20duplicate\x20is\x20refused\x20(SUPPLY_CHAIN_ID_CONFLICT).')})['strict']();export const PlanningActionMembers=[z['object']({'action':z['literal']('analyze_intent'),...IntentContextFields,'target_objects':z['array'](z['string']())['optional']()['describe']('Optional\x20explicit\x20target\x20objects\x20(entry_ids\x20or\x20object_type\x20names).\x20'+'When\x20provided,\x20puzzle\x20snapshots\x20are\x20restricted\x20to\x20these\x20objects.'),'network':NetworkEnum['optional']()})['strict']()['describe']('C1:\x20natural-language\x20business\x20intent\x20→\x20parsed\x20intent\x20(primary/secondary\x20objects,\x20'+'detected\x20scenes,\x20industry)\x20+\x20per-object\x20puzzle\x20snapshots\x20+\x20recommended\x20creation\x20order.'),z['object']({'action':z['literal']('aggregate_risks'),'project':z['string']()['optional']()['describe']('Project\x20prefix\x20(human-readable\x20unique\x20identifier,\x20e.g.\x20\x27myshop\x27).\x20Used\x20to\x20key\x20the\x20service-build\x20stage\x20cache.'),'version':z['string']()['regex'](/^v\d+$/)['optional']()['describe']('Project\x20version\x20(e.g.\x20\x27v1\x27)\x20for\x20the\x20service-build\x20stage\x20cache.\x20Defaults\x20to\x20\x27v1\x27.'),'puzzles':z['record'](z['string'](),z['object']({'puzzle':z['unknown']()['describe']('Puzzle\x20snapshot\x20(opaque\x20—\x20pass\x20through\x20from\x20analyze_intent\x20output\x20unchanged).'),'completeness':z['unknown']()['describe']('Completeness\x20snapshot\x20(opaque\x20—\x20pass\x20through\x20unchanged).'),'missing_dimensions':z['array'](z['string']())['describe']('Dimensions\x20still\x20missing\x20for\x20this\x20object.')})['strict']())['optional']()['describe']('Per-object\x20puzzle\x20snapshots,\x20keyed\x20by\x20object_type.\x20Pass\x20the\x20\x27puzzles\x27\x20field\x20from\x20a\x20prior\x20'+'analyze_intent\x20result\x20UNCHANGED.\x20When\x20omitted\x20but\x20\x27intent\x27\x20is\x20present,\x20the\x20handler\x20runs\x20'+'analyze_intent\x20first\x20(C1→C2\x20in\x20one\x20call).'),...IntentContextFields,'severity_threshold':z['enum'](['critical','high','medium','low','info'])['optional']()['describe']('Severity\x20threshold\x20(default\x20\x27high\x27).\x20Risks\x20at\x20or\x20above\x20this\x20level\x20block\x20deployment\x20(status\x20RISK_BLOCKED).'),'user_confirmed_high_risks':z['array'](z['string']())['optional']()['describe']('IDs\x20of\x20high\x20risks\x20already\x20confirmed\x20in\x20a\x20prior\x20round.\x20Confirmed\x20high\x20risks\x20no\x20longer\x20'+'trigger\x20RISK_PENDING_CONFIRM.'),'planned_objects':z['array'](z['object']({'object_type':z['string']()['describe']('Wowok\x20object\x20type\x20(e.g.\x20\x27service\x27,\x20\x27guard\x27,\x20\x27machine\x27).'),'is_new':z['boolean']()['describe']('true\x20when\x20creating\x20a\x20NEW\x20object;\x20false\x20when\x20reusing\x20an\x20existing\x20one.'),'name':z['string']()['optional']()['describe']('Planned\x20object\x20name\x20(for\x20readable\x20messages).')})['strict']())['optional']()['describe']('Planned\x20objects\x20for\x20the\x20OBJECT_REUSE\x20check\x20(safety-rules).\x20Flags\x20NEW\x20objects\x20whose\x20type\x20'+'carries\x20an\x20always/strongly-recommended\x20reuse\x20rule.'),'planned_operations':z['array'](z['object']({'object_type':z['string']()['describe']('Wowok\x20object\x20type\x20(e.g.\x20\x27service\x27,\x20\x27arbitration\x27).'),'trigger':z['enum'](['create','publish'])['describe']('Lifecycle\x20trigger\x20that\x20locks\x20fields.'),'name':z['string']()['optional']()['describe']('Object\x20name\x20(for\x20readable\x20messages).')})['strict']())['optional']()['describe']('Planned\x20create/publish\x20operations\x20for\x20the\x20IMMUTABILITY\x20check\x20(safety-rules).\x20Warns\x20which\x20'+'fields\x20become\x20permanently\x20locked\x20after\x20each\x20operation.'),'network':NetworkEnum['optional']()})['strict']()['describe']('C2:\x20puzzle\x20snapshots\x20→\x20cross-object\x20risk\x20calibration\x20(critical/high/medium/low/info)\x20with\x20blocking\x20'+'status.\x20DX\x20sugar:\x20when\x20\x27puzzles\x27\x20is\x20omitted\x20but\x20\x27intent\x27\x20is\x20present,\x20the\x20handler\x20runs\x20analyze_intent\x20first.'),z['object']({'action':z['literal']('trace_substeps'),'project':z['string']()['optional']()['describe']('Project\x20prefix\x20(human-readable\x20unique\x20identifier,\x20e.g.\x20\x27myshop\x27).\x20Used\x20to\x20key\x20the\x20service-build\x20stage\x20cache.'),'version':z['string']()['regex'](/^v\d+$/)['optional']()['describe']('Project\x20version\x20(e.g.\x20\x27v1\x27)\x20for\x20the\x20service-build\x20stage\x20cache.\x20Defaults\x20to\x20\x27v1\x27.'),'substeps':z['array'](z['object']({'step_id':z['string']()['describe']('Substep\x20id,\x20format\x20\x27T<step>.<substep>\x27\x20e.g.\x20\x27T1.1\x27.'),'parent_step':z['string']()['describe']('Parent\x20step\x20id,\x20format\x20\x27T<step>\x27\x20e.g.\x20\x27T1\x27.'),'object_type':ProjectObjectTypeEnum['describe']('Wowok\x20object\x20type\x20this\x20substep\x20operates\x20on.'),'entry_id':z['string']()['describe']('Puzzle\x20entry_id\x20this\x20substep\x20corresponds\x20to.'),'operation_type':z['string']()['describe']('operation_type\x20for\x20onchain_operations.'),'network':z['enum'](['testnet','mainnet'])['describe']('Target\x20network.'),'input':z['object']({'data':z['record'](z['string'](),z['unknown']())['describe']('Input\x20data\x20payload.'),'input_refs':z['array'](z['string']())['describe']('Upstream\x20substep_ids\x20this\x20substep\x20consumes.')})['strict'](),'output':z['object']({'object_id':z['string']()['optional'](),'tx_digest':z['string']()['optional']()})['catchall'](z['unknown']())['optional']()['describe']('Output\x20data\x20(filled\x20after\x20execution).'),'timestamp':z['number']()['describe']('Execution\x20timestamp\x20(ms).'),'status':z['enum'](['PENDING','SUCCESS','FAILED','SKIPPED'])['describe']('Execution\x20status.'),'failure_reason':z['string']()['optional']()['describe']('Failure\x20reason\x20(when\x20status=\x27FAILED\x27).'),'dependencies':z['object']({'input_refs':z['array'](z['string']()),'output_refs':z['array'](z['object']({'substep_id':z['string']()['describe']('Downstream\x20substep\x20that\x20consumes\x20this\x20output.'),'field_path':z['string']()['describe']('Field\x20path\x20produced\x20by\x20this\x20substep\x20(e.g.\x20\x27permission_address\x27).')})['strict']())})['strict']()['describe']('Dependencies\x20(input_refs\x20+\x20output_refs).'),'retry_info':z['object']({'original_step_id':z['string'](),'retry_count':z['number'](),'retry_reason':z['string']()})['strict']()['optional']()['describe']('Retry\x20info\x20(when\x20this\x20substep\x20is\x20a\x20retry\x20of\x20an\x20earlier\x20one).')})['strict']())['optional']()['describe']('Substep\x20execution\x20records\x20(63-spec\x20§2.1).\x20Required\x20when\x20action=\x27trace_substeps\x27.\x20'+'Construct\x20from\x20your\x20deployment\x20execution\x20trace.'),'substep_edges':z['array'](z['object']({'source':z['string']()['describe']('Source\x20substep\x20id.'),'target':z['string']()['describe']('Target\x20substep\x20id\x20(depends\x20on\x20source).'),'field_path':z['string']()['describe']('Field\x20path\x20flowing\x20along\x20this\x20edge.')})['strict']())['optional']()['describe']('Explicit\x20DAG\x20edges.\x20When\x20omitted,\x20edges\x20are\x20derived\x20from\x20each\x20substep\x27s\x20input_refs.'),'network':NetworkEnum['optional']()})['strict']()['describe']('C3:\x20substep\x20execution\x20records\x20→\x20DAG\x20coherence\x20analysis\x20(dangling\x20inputs,\x20circular\x20refs,\x20'+'missing\x20outputs,\x20cross-step\x20breaks,\x20topological\x20order,\x20D-10\x20verdict).'),z['object']({'action':z['literal']('merchant_guide'),...IntentContextFields,'guide_state':z['object']({'intent_text':z['string']()['describe']('Step\x201:\x20raw\x20merchant\x20business\x20description.'),'confirmed_industry':z['string']()['optional']()['describe']('Step\x202:\x20merchant-confirmed\x20industry\x20id.'),'currency':z['string']()['optional']()['describe']('Step\x205:\x20payment\x20currency\x20(default\x20WOW).'),'deliverables':z['array'](z['unknown']())['optional']()['describe']('Step\x204:\x20merchant-defined\x20deliverables\x20(opaque\x20passthrough).'),'payment_override':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Step\x205:\x20payment\x20structure\x20overrides\x20(opaque\x20passthrough).'),'trust_override':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Step\x206:\x20trust\x20mechanism\x20overrides\x20(opaque\x20passthrough).'),'adopted_module_ids':z['array'](z['string']())['optional']()['describe']('Step\x206:\x20merchant-confirmed\x20business\x20module\x20ids.'),'guard_resolutions':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Accumulated\x20judgment-layer\x20guard\x20resolutions\x20(C6-DEEP)\x20—\x20pass\x20back\x20UNCHANGED\x20with\x20the\x20rest\x20of\x20the\x20state.'),'review_mode':z['enum'](['review','review_reward','none'])['optional']()['describe']('Per-build\x20review-rail\x20mode\x20(v53).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20review_mode\x20applies.'),'reward_funding':z['string']()['optional']()['describe']('Review\x20reward\x20pool\x20funding,\x20smallest-unit\x20string\x20(required\x20when\x20the\x20effective\x20review\x20mode\x20is\x20review_reward).'),'reward_claim_amount':z['string']()['optional']()['describe']('Per-claim\x20reward\x20bounty\x20mounted\x20on\x20the\x20claim\x20guard_add,\x20smallest-unit\x20string\x20(BK15-F09:\x20schema-required\x20on\x20the\x20mount;\x20the\x20kernel\x20never\x20fabricates\x20a\x20real-money\x20parameter).'),'experience_compensation_mode':z['enum'](['reward','none'])['optional']()['describe']('Per-build\x20goodwill\x20track\x20mode\x20(K3\x20C-11).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20experience_compensation_mode\x20applies\x20(the\x20delivery\x20templates\x20ship\x20\x27reward\x27\x20as\x20the\x20catalog\x20default).'),'experience_pool_funding':z['string']()['optional']()['describe']('Goodwill\x20pool\x20funding,\x20smallest-unit\x20string\x20(K3\x20C-11\x20+\x20N2\x20K4R-261103/ssd\x20F-01:\x20required\x20when\x20the\x20effective\x20experience_compensation_mode\x20is\x20\x27reward\x27\x20—\x20compile\x20blocks\x20with\x20EXPERIENCE_COMPENSATION_UNFUNDED\x20otherwise).'),'compensation_fund':z['string']()['optional']()['describe']('Arbitration\x20compensation-pool\x20funding,\x20smallest-unit\x20string\x20(N1\x20K4R-261103/ddmq\x20F-22:\x20required\x20on\x20any\x20build\x20mounting\x20an\x20arb-ruling-won\x20edge\x20—\x20compile\x20blocks\x20with\x20COMPENSATION_FUND_REQUIRED;\x20plan\x20>=\x203x\x20a\x20typical\x20order,\x20MAX_INDEMNITY_MULTIPLE).'),'after_sales_mode':z['enum'](['return','exchange','warranty','none'])['optional']()['describe']('Per-build\x20after-sales\x20mode\x20(D12\x20refactor\x204).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20after_sales_mode\x20applies.\x20Declaring\x20a\x20mode\x20with\x20no\x20backing\x20rail\x20in\x20machine_shape\x20is\x20a\x20compile\x20blocker\x20(AFTER_SALES_RAIL_MISSING).'),'acceptance_mode':z['enum'](['milestone','contest','bounty','agent','none'])['optional']()['describe']('Per-build\x20acceptance/judging\x20mode\x20(D12\x20refactor\x202).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20acceptance_mode\x20applies.\x20A\x20judge-decided\x20mode\x20(contest/bounty/agent)\x20without\x20arbitration_mode\x20\x27third_party\x27\x20is\x20a\x20compile\x20blocker\x20(ACCEPTANCE_JUDGE_NOT_INDEPENDENT);\x20a\x20finite\x20revision_rounds_max\x20with\x20no\x20counter\x20Repository\x20guard\x20is\x20a\x20compile\x20blocker\x20(ACCEPTANCE_REVISION_UNBOUNDED).'),'installment_mode':z['enum'](['deposit_balance','milestone_n','none'])['optional']()['describe']('Per-build\x20installment/deposit\x20mode\x20(D12\x20refactor\x203).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20installment_mode\x20applies.\x20A\x20capture\x20forward\x20with\x20no\x20fund-gate\x20Guard\x20is\x20a\x20compile\x20blocker\x20(INSTALLMENT_FUNDING_UNGATED);\x20a\x20deposit-held\x20state\x20with\x20no\x20exit\x20rail\x20is\x20a\x20compile\x20blocker\x20(INSTALLMENT_DEPOSIT_STRANDED).'),'affiliate_mode':z['enum'](['commission','none'])['optional']()['describe']('Per-build\x20affiliate\x20commission\x20overlay\x20(D12\x20batch\x205).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20affiliate_mode\x20applies.\x20A\x20declared\x20commission\x20overlay\x20with\x20no\x20commission\x20rail\x20is\x20a\x20compile\x20blocker\x20(AFFILIATE_RAIL_MISSING);\x20a\x20commission\x20with\x20no\x20post-lock\x20no-clawback\x20disclosure\x20build_note\x20is\x20a\x20compile\x20blocker\x20(AFFILIATE_CLAWBACK_UNDISCLOSED).'),'crowdfunding_mode':z['enum'](['threshold','flexible','none'])['optional']()['describe']('Per-build\x20crowdfunding\x20campaign\x20overlay\x20(D12\x20batch\x207).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20crowdfunding_mode\x20applies.\x20A\x20declared\x20threshold/flexible\x20overlay\x20with\x20no\x20two-leg\x20escrow-exit\x20gate\x20(release\x20XOR\x20refund,\x20D-BUG-2)\x20is\x20a\x20compile\x20blocker\x20(CROWDFUNDING_THRESHOLD_GATE_MISSING);\x20a\x20threshold\x20gate\x20whose\x20aggregate\x20is\x20NOT\x20a\x20writer-bound\x20sum-where\x20(id_from\x20signer)\x20is\x20a\x20compile\x20blocker\x20(CROWDFUNDING_AGGREGATE_UNBOUND);\x20a\x20missing\x20L-04/L-01/L-05\x20disclosure\x20build_note\x20is\x20a\x20compile\x20blocker\x20(CROWDFUNDING_DISCLOSURE_MISSING).'),'logistics_mode':z['enum'](['none','carrier','merchant_managed','courier','pickup_point'])['optional']()['describe']('Per-build\x20fulfillment\x20topology\x20(K3\x20batch\x20C,\x20K-2).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20logistics_mode\x20applies.\x20A\x20declared\x20topology\x20the\x20machine_shape\x20cannot\x20honor\x20is\x20a\x20compile\x20blocker:\x20courier\x20with\x20no\x20named_operator\x20handover\x20rail\x20(LOGISTICS_COURIER_RAIL_MISSING)\x20or\x20a\x20pooled\x20delivery\x20fee\x20(LOGISTICS_COURIER_FEE_POOLED);\x20pickup_point\x20without\x20the\x20absolute\x20batch\x20cutoff\x20or\x20the\x20unclaimed-goods\x20exit\x20window\x20(LOGISTICS_PICKUP_CUTOFF_MISSING);\x20carrier\x20without\x20tracking\x20evidence\x20(LOGISTICS_CARRIER_EVIDENCE_MISSING);\x20any\x20physical\x20mode\x20without\x20a\x20transit-loss\x20story\x20(LOGISTICS_TRANSIT_LOSS_UNCOVERED);\x20courier/pickup_point\x20without\x20the\x20two\x20dispatch\x20disclosures\x20(LOGISTICS_DISPATCH_UNDISCLOSED).'),'supply_chain':z['array'](SupplyChainPromiseInputSchema)['optional']()['describe']('Supply-chain\x20composition\x20(Goal\x202/4):\x20the\x20Services\x20this\x20shop\x20PROCURES\x20fulfilment\x20from.\x20compile\x20appends\x20each\x20promise\x27s\x20material\x20(order_allocators-bound\x20settlement\x20gate,\x20rendezvous\x20ledger,\x20optional\x20third-party\x20payout\x20rail)\x20BEFORE\x20the\x20Service\x20publish\x20and\x20declares\x20plan.inputs.fulfillment_axis.\x20Incomplete\x20or\x20conflicting\x20promises\x20are\x20compile\x20blockers\x20(SUPPLY_CHAIN_PROMISE_INCOMPLETE\x20/\x20_GATE_TEMPLATE\x20/\x20_ACK_WITHOUT_DEADLINE\x20/\x20_PAYOUT_RATE\x20/\x20_ID_CONFLICT).\x20Absent\x20=\x20the\x20shop\x20fulfils\x20everything\x20itself.'),'fee_overrides':z['record'](z['string'](),z['union']([z['number'](),z['string']()]))['optional']()['describe']('P2-3:\x20answers\x20to\x20the\x20template\x27s\x20structured\x20business\x20questions\x20(user_input_questions\x20of\x20the\x20prior\x20result),\x20keyed\x20by\x20the\x20fee_params\x20name\x20—\x20e.g.\x20{\x20settlement_days:\x2020\x20}.\x20Each\x20entry\x20is\x20a\x20compile\x20input,\x20so\x20the\x20answer\x20overrides\x20the\x20template\x20default;\x20unanswered\x20questions\x20keep\x20the\x20default.')})['strict']()['optional']()['describe']('Wizard\x20state\x20from\x20a\x20prior\x20merchant_guide\x20result.\x20Pass\x20back\x20UNCHANGED\x20on\x20every\x20subsequent\x20call.\x20'+'The\x20handler\x20re-runs\x20the\x20pipeline\x20deterministically\x20and\x20advances\x20to\x20the\x20furthest\x20reachable\x20step.'),'guide_confirm':z['object']({'industry':z['string']()['optional']()['describe']('Step\x202\x20confirmation:\x20industry\x20id\x20(e.g.\x20\x27freelance\x27).'),'currency':z['string']()['optional']()['describe']('Step\x205\x20confirmation:\x20payment\x20currency.'),'deliverables':z['array'](z['unknown']())['optional']()['describe']('Step\x204\x20confirmation:\x20deliverable\x20definitions.'),'payment':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Step\x205\x20confirmation:\x20{\x20model,\x20triggers,\x20allocation\x20}\x20overrides.'),'trust':z['record'](z['string'](),z['unknown']())['optional']()['describe']('Step\x206\x20confirmation:\x20{\x20refundPolicy,\x20arbitration,\x20escrow\x20}\x20overrides.'),'adopted_module_ids':z['array'](z['string']())['optional']()['describe']('Step\x206\x20confirmation:\x20business\x20module\x20ids\x20to\x20adopt\x20(overrides\x20recommendation).'),'guard_resolutions':z['record'](z['string'](),GuardResolutionInputSchema)['optional']()['describe']('Judgment-layer\x20resolutions\x20for\x20pending\x20guard\x20designs\x20(keyed\x20by\x20pending_guard_designs[].key;\x20C6-DEEP).\x20'+'A\x20blocked\x20audit\x20lists\x20every\x20unresolved\x20design\x20—\x20resolve\x20each\x20here\x20(kind\x20\x27inline\x27\x20with\x20the\x20resolved\x20Guard\x20table+root,\x20or\x20'+'kind\x20\x27template\x27\x20with\x20a\x20matching\x20tpl_*\x20id)\x20and\x20call\x20merchant_guide\x20again.\x20Advisory\x20designs\x20that\x20do\x20not\x20apply\x20to\x20this\x20'+'shop\x20may\x20be\x20resolved\x20with\x20{kind:\x27omit\x27}\x20instead\x20(honored\x20only\x20for\x20designs\x20with\x20no\x20inbound\x20binding;\x20an\x20omit\x20of\x20a\x20bound\x20'+'design\x20is\x20refused\x20with\x20GUARD_OMIT_UNSUPPORTED).\x20Caller\x20input\x20wins\x20over\x20module-derived\x20resolutions.\x20'+'The\x20publish\x20freeze\x20gate\x20still\x20runs:\x20a\x20resolution\x20only\x20unblocks\x20the\x20plan\x20when\x20the\x20closed\x20audit\x20is\x20clean.'),'review_mode':z['enum'](['review','review_reward','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20review-rail\x20mode\x20(v53).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20review_mode\x20applies.'),'reward_funding':z['string']()['optional']()['describe']('Step\x206\x20confirmation:\x20review\x20reward\x20pool\x20funding,\x20smallest-unit\x20string\x20(required\x20when\x20the\x20effective\x20review\x20mode\x20is\x20review_reward).'),'reward_claim_amount':z['string']()['optional']()['describe']('Step\x206\x20confirmation:\x20per-claim\x20reward\x20bounty\x20on\x20the\x20claim\x20guard_add,\x20smallest-unit\x20string\x20(BK15-F09).'),'experience_compensation_mode':z['enum'](['reward','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20goodwill\x20track\x20mode\x20(K3\x20C-11).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20experience_compensation_mode\x20applies.'),'experience_pool_funding':z['string']()['optional']()['describe']('Step\x206\x20confirmation:\x20goodwill\x20pool\x20funding,\x20smallest-unit\x20string\x20(N2\x20K4R-261103/ssd\x20F-01:\x20required\x20when\x20the\x20effective\x20experience_compensation_mode\x20is\x20\x27reward\x27\x20—\x20compile\x20blocks\x20with\x20EXPERIENCE_COMPENSATION_UNFUNDED\x20otherwise).'),'compensation_fund':z['string']()['optional']()['describe']('Step\x206\x20confirmation:\x20arbitration\x20compensation-pool\x20funding,\x20smallest-unit\x20string\x20(N1\x20K4R-261103/ddmq\x20F-22:\x20required\x20on\x20any\x20build\x20mounting\x20an\x20arb-ruling-won\x20edge\x20—\x20compile\x20blocks\x20with\x20COMPENSATION_FUND_REQUIRED).'),'after_sales_mode':z['enum'](['return','exchange','warranty','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20after-sales\x20mode\x20(D12\x20refactor\x204).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20after_sales_mode\x20applies.'),'acceptance_mode':z['enum'](['milestone','contest','bounty','agent','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20acceptance/judging\x20mode\x20(D12\x20refactor\x202).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20acceptance_mode\x20applies.'),'installment_mode':z['enum'](['deposit_balance','milestone_n','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20installment/deposit\x20mode\x20(D12\x20refactor\x203).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20installment_mode\x20applies.'),'affiliate_mode':z['enum'](['commission','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20affiliate\x20commission\x20overlay\x20(D12\x20batch\x205).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20affiliate_mode\x20applies.'),'crowdfunding_mode':z['enum'](['threshold','flexible','none'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20crowdfunding\x20campaign\x20overlay\x20(D12\x20batch\x207).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20crowdfunding_mode\x20applies.'),'logistics_mode':z['enum'](['none','carrier','merchant_managed','courier','pickup_point'])['optional']()['describe']('Step\x206\x20confirmation:\x20per-build\x20fulfillment\x20topology\x20(K3\x20batch\x20C,\x20K-2).\x20Absent\x20=\x20the\x20template\x27s\x20declared\x20logistics_mode\x20applies.'),'supply_chain':z['array'](SupplyChainPromiseInputSchema)['optional']()['describe']('Step\x206\x20confirmation:\x20Supply-chain\x20composition\x20(Goal\x202/4)\x20—\x20the\x20Services\x20this\x20shop\x20PROCURES\x20fulfilment\x20from.\x20Emitted\x20by\x20compile\x20as\x20build\x20material\x20(rendezvous\x20gate\x20+\x20ledger\x20+\x20optional\x20third-party\x20payout\x20rail)\x20before\x20the\x20Service\x20publish.')})['strict']()['optional']()['describe']('Merchant\x20decisions\x20for\x20the\x20current\x20wizard\x20step.\x20Merged\x20over\x20guide_state.\x20Typical\x20flow:\x20'+'call\x201\x20with\x20intent\x20only\x20→\x20receive\x20step-2\x20industry\x20options\x20→\x20call\x202\x20with\x20guide_state\x20+\x20'+'guide_confirm={industry}\x20→\x20receive\x20full\x20blueprint\x20plan\x20(steps\x207-10).'),'network':NetworkEnum['optional']()})['strict']()['describe']('10-step\x20merchant\x20onboarding\x20wizard:\x20intent\x20text\x20→\x20BusinessIntent\x20→\x20industry\x20confirmation\x20→\x20'+'module\x20adoption\x20→\x20Blueprint\x20(L1\x20plan\x20projection)\x20→\x20evaluation\x20preview\x20→\x20harness\x20check\x20→\x20creation\x20'+'plan.\x20NEVER\x20executes\x20on-chain\x20operations.\x20Stateless:\x20pass\x20guide_state/guide_confirm\x20to\x20advance.')];const KeywordMatchSchema=z['object']({'keyword':z['string'](),'category':z['string'](),'matched_objects':z['array'](z['string']()),'required_level':z['enum'](['R','C','OPTIONAL']),'match_count':z['number']()})['strict']();export const AnalyzeIntentResultSchema=z['object']({'action':z['literal']('analyze_intent'),'intent_parsed':z['object']({'primary_object':z['string']()['describe']('Primary\x20object\x20inferred\x20from\x20the\x20intent\x20keywords.'),'secondary_objects':z['array'](z['string']())['describe']('Supporting\x20objects\x20typically\x20required\x20alongside\x20the\x20primary\x20one.'),'detected_scenes':z['array'](z['object']({'object':z['string'](),'scene_id':z['string']()['describe']('Free-form\x20scene\x20id,\x20e.g.\x20\x27retail\x27,\x20\x27rental_return\x27.')})['strict']())['describe']('Scenes\x20detected\x20from\x20the\x20intent\x20(used\x20for\x20template\x20selection).'),'industry':z['string']()['describe']('Industry\x20mode\x20resolved\x20from\x20the\x20intent\x20(defaults\x20to\x20\x27general\x27).'),'keyword_matches':z['array'](KeywordMatchSchema)['describe']('All\x20keyword\x20matches\x20that\x20drove\x20the\x20identification.')})['strict'](),'puzzles':z['record'](z['string'](),z['object']({'puzzle':z['unknown'](),'completeness':z['unknown'](),'missing_dimensions':z['array'](z['string']())})['strict']())['describe']('Per-object\x20puzzle\x20snapshot,\x20keyed\x20by\x20object_type.\x20Pass\x20this\x20UNCHANGED\x20to\x20aggregate_risks.'),'overall_completeness':z['enum'](['complete','partial','empty']),'next_step':z['string']()['describe']('Human-readable\x20suggestion\x20for\x20the\x20next\x20puzzle\x20step.'),'recommended_creation_order':z['array'](z['string']())['describe']('Recommended\x20object\x20creation\x20order\x20(dependency\x20topology).'),'warnings':z['array'](z['string']())})['strict']();const AggregatedRiskSchema=z['object']({'risk_rule_id':z['string']()['describe']('Unified\x20risk\x20rule\x20id,\x20e.g.\x20\x27R-S-01\x27.'),'object_type':z['string'](),'entry_id':z['string']()['describe']('Object\x20entry_id\x20(\x27*\x27\x20when\x20cross-object).'),'severity':z['enum'](['critical','high','medium','low','info']),'message':z['string'](),'fix_suggestion':z['string'](),'details':z['object']({'field_path':z['string']()['optional'](),'actual_value':z['unknown']()['optional'](),'expected_value':z['unknown']()['optional'](),'rule_source':z['string']()['optional']()})['strict']()['optional']()})['strict'](),SafetyFindingSchema=z['object']({'rule_id':z['string']()['describe']('Safety\x20rule\x20id\x20(e.g.\x20\x27REUSE-SERVICE-01\x27,\x20\x27IMMUT-001\x27).'),'severity':z['enum'](['info','warn']),'message':z['string']()})['strict']();export const AggregateRisksResultSchema=z['object']({'action':z['literal']('aggregate_risks'),'namespace':z['object']({'prefix':z['string'](),'version':z['string'](),'industry':z['string']()['optional']()})['strict'](),'findings':z['array'](AggregatedRiskSchema)['describe']('All\x20risks\x20found,\x20sorted\x20(critical\x20first).'),'severity_summary':z['record'](z['string'](),z['number']())['describe']('Counts\x20keyed\x20by\x20severity.'),'status':z['enum'](['CLEAN_WITHIN_SCOPE','STATIC_ANALYZERS_CLEAN','RISK_BLOCKED','RISK_PENDING_CONFIRM','RISK_CANCELLED'])['describe']('Aggregated\x20status\x20(62-spec\x20§3.2).\x20RISK_BLOCKED\x20=\x20critical\x20or\x20above-threshold\x20risks\x20present.\x20'+'⚠️\x20THIS\x20IS\x20A\x20SEVERITY\x20VERDICT,\x20NOT\x20PUBLISH\x20CLEARANCE:\x20the\x20aggregation\x20is\x20a\x20pure\x20transformation\x20over\x20puzzle\x20'+'snapshots\x20and\x20planned\x20objects/operations\x20and\x20never\x20reads\x20a\x20live\x20object.\x20CLEAN_WITHIN_SCOPE\x20means\x20\x27no\x20finding\x20in\x20the\x20static\x20'+'analyzers\x20AND\x20zero\x20on-chain\x20objects\x20inspected\x27\x20—\x20read\x20`evidence_scope`\x20/\x20`objects_inspected`\x20/\x20`publish_authorized`\x20before\x20'+'treating\x20it\x20as\x20a\x20green\x20light.\x20STATIC_ANALYZERS_CLEAN\x20is\x20reserved\x20for\x20a\x20future\x20object-grounded\x20clean\x20run.'),'status_note':z['string']()['optional']()['describe']('One-line\x20honesty\x20note\x20for\x20the\x20status:\x20it\x20reflects\x20static\x20analyzers\x20over\x20plan\x20snapshots\x20only\x20—\x20zero\x20on-chain\x20objects\x20inspected;\x20not\x20a\x20publish\x20clearance.'),'objects_inspected':z['number']()['optional']()['describe']('How\x20many\x20live\x20on-chain\x20objects\x20this\x20aggregation\x20inspected.\x20Always\x200\x20today\x20(the\x20C1→C4\x20pipeline\x20performs\x20no\x20chain\x20reads)\x20—\x20a\x20clean\x20status\x20over\x20zero\x20objects\x20must\x20never\x20read\x20as\x20clearance.'),'pending_confirmations':z['array'](z['object']({'risk_rule_id':z['string'](),'description':z['string'](),'fix_suggestion':z['string'](),'object_type':z['string'](),'entry_id':z['string']()})['strict']())['optional']()['describe']('high\x20risks\x20awaiting\x20user\x20confirmation\x20(only\x20when\x20status=\x27RISK_PENDING_CONFIRM\x27).'),'evidence_scope':z['enum'](['puzzle_snapshots_only','object_grounded'])['optional']()['describe']('What\x20this\x20aggregation\x20actually\x20inspected.\x20Always\x20\x27puzzle_snapshots_only\x27\x20today:\x20the\x20C1→C4\x20pipeline\x20performs\x20no\x20chain\x20'+'reads.\x20Machine-readable\x20form\x20of\x20the\x20scope\x20warning\x20—\x20a\x20caller\x20must\x20not\x20have\x20to\x20infer\x20it\x20from\x20prose.'),'object_grounded':z['boolean']()['optional']()['describe']('True\x20only\x20if\x20a\x20live\x20on-chain\x20object\x20was\x20inspected.\x20Currently\x20always\x20false\x20(see\x20evidence_scope).'),'publish_authorized':z['boolean']()['optional']()['describe']('Whether\x20this\x20gate\x20alone\x20authorizes\x20publishing.\x20Currently\x20always\x20false:\x20use\x20template_scan\x20before\x20deploying\x20and\x20'+'service_panorama\x20/\x20onchain_objects\x20after,\x20plus\x20the\x20publish-time\x20gates\x20in\x20onchain_operations.'),'publish_authorized_reason':z['string']()['optional']()['describe']('Why\x20publish_authorized\x20is\x20false,\x20and\x20which\x20checks\x20to\x20run\x20instead.'),'calibrated_at':z['number']()['describe']('Calibration\x20timestamp\x20(ms).'),'fix_suggestions_grouped':z['record'](z['string'](),z['array'](z['object']({'risk_rule_id':z['string'](),'severity':z['enum'](['critical','high','medium','low','info']),'message':z['string'](),'fix_suggestion':z['string'](),'entry_id':z['string']()})['strict']()))['optional']()['describe']('Fix\x20suggestions\x20grouped\x20by\x20object_type.'),'safety_findings':z['array'](SafetyFindingSchema)['optional']()['describe']('OBJECT_REUSE\x20/\x20IMMUTABILITY\x20findings\x20from\x20safety-rules\x20(only\x20when\x20planned_objects\x20/\x20planned_operations\x20were\x20provided).'),'intent_echo':z['object']({'primary_object':z['string'](),'industry':z['string'](),'overall_completeness':z['enum'](['complete','partial','empty']),'classification_source':z['string']()['optional']()['describe']('Where\x20the\x20industry\x20guess\x20came\x20from.\x20\x27aggregate_risks_intent_echo\x27\x20=\x20this\x20tool\x27s\x20own\x20classification\x20of\x20the\x20intent\x20text\x20—\x20NOT\x20a\x20reconciled\x20verdict\x20(other\x20subsystems\x20may\x20classify\x20the\x20same\x20intent\x20differently).')})['strict']()['optional']()['describe']('Echo\x20of\x20the\x20auto-run\x20analyze_intent\x20(only\x20when\x20\x27puzzles\x27\x20was\x20omitted\x20and\x20\x27intent\x27\x20was\x20used).'),'warnings':z['array'](z['string']())})['strict']();export const TraceSubstepsResultSchema=z['object']({'action':z['literal']('trace_substeps'),'namespace':z['object']({'prefix':z['string'](),'version':z['string']()})['strict'](),'network':z['enum'](['testnet','mainnet']),'coherent':z['boolean']()['describe']('True\x20when\x20no\x20dangling\x20inputs,\x20no\x20cycles,\x20no\x20missing\x20outputs,\x20no\x20cross-step\x20breaks.'),'dangling_inputs':z['array'](z['object']({'substep_id':z['string'](),'missing_ref':z['string'](),'field_path':z['string']()})['strict']())['describe']('Input\x20refs\x20pointing\x20to\x20non-existent\x20substeps.'),'circular_refs':z['array'](z['object']({'cycle':z['array'](z['string']())})['strict']())['describe']('Substep\x20id\x20cycles\x20(when\x20present,\x20topological_order\x20is\x20empty).'),'missing_outputs':z['array'](z['object']({'substep_id':z['string'](),'expected_field':z['string'](),'dependent_substeps':z['array'](z['string']())})['strict']())['describe']('Substeps\x20that\x20should\x20have\x20produced\x20a\x20field\x20but\x20did\x20not.'),'cross_step_breaks':z['array'](z['object']({'source_step':z['string'](),'target_step':z['string'](),'missing_field':z['string']()})['strict']())['describe']('Upstream\x20step\x20failed\x20→\x20downstream\x20cannot\x20proceed.'),'step_details':z['array'](z['object']({'parent_step':z['string'](),'total_substeps':z['number'](),'successful':z['number'](),'failed':z['number'](),'pending':z['number'](),'skipped':z['number'](),'substep_ids':z['array'](z['string']())})['strict']())['describe']('Per-step\x20summary,\x20keyed\x20by\x20parent_step.'),'topological_order':z['array'](z['string']())['describe']('Topological\x20order\x20of\x20substep\x20ids\x20(empty\x20when\x20a\x20cycle\x20exists).'),'d10_check':z['object']({'check_id':z['literal']('D-10'),'description':z['string'](),'status':z['enum'](['PASS','FAIL','WARN']),'notes':z['array'](z['string']())})['strict']()['describe']('D-10\x20substep\x20linkage\x20completeness\x20verdict.')})['strict']();export const MerchantGuideResultSchema=z['object']({'action':z['literal']('merchant_guide'),'current_step':z['number']()['describe']('Furthest\x20wizard\x20step\x20reached\x20(2\x20=\x20awaiting\x20industry\x20confirmation;\x209\x20=\x20harness\x20issues\x20found;\x2010\x20=\x20plan\x20ready).'),'step_name':z['string'](),'guide_state':z['object']({'intent_text':z['string'](),'confirmed_industry':z['string']()['optional'](),'currency':z['string']()['optional'](),'deliverables':z['array'](z['unknown']())['optional'](),'payment_override':z['record'](z['string'](),z['unknown']())['optional'](),'trust_override':z['record'](z['string'](),z['unknown']())['optional'](),'adopted_module_ids':z['array'](z['string']())['optional'](),'guard_resolutions':z['record'](z['string'](),z['unknown']())['optional'](),'review_mode':z['enum'](['review','review_reward','none'])['optional'](),'reward_funding':z['string']()['optional'](),'reward_claim_amount':z['string']()['optional'](),'experience_compensation_mode':z['enum'](['reward','none'])['optional'](),'experience_pool_funding':z['string']()['optional'](),'compensation_fund':z['string']()['optional'](),'after_sales_mode':z['enum'](['return','exchange','warranty','none'])['optional'](),'acceptance_mode':z['enum'](['milestone','contest','bounty','agent','none'])['optional'](),'installment_mode':z['enum'](['deposit_balance','milestone_n','none'])['optional'](),'affiliate_mode':z['enum'](['commission','none'])['optional'](),'crowdfunding_mode':z['enum'](['threshold','flexible','none'])['optional'](),'logistics_mode':z['enum'](['none','carrier','merchant_managed','courier','pickup_point'])['optional'](),'supply_chain':z['array'](SupplyChainPromiseInputSchema)['optional'](),'fee_overrides':z['record'](z['string'](),z['union']([z['number'](),z['string']()]))['optional']()})['strict']()['describe']('Wizard\x20state\x20—\x20pass\x20back\x20UNCHANGED\x20on\x20the\x20next\x20merchant_guide\x20call.'),'intent_draft':z['unknown']()['optional']()['describe']('Step\x201-2\x20only:\x20BusinessIntent\x20draft\x20inferred\x20from\x20the\x20description.'),'industry_options':z['object']({'inferred':z['string'](),'confidence':z['number'](),'similar':z['array'](z['string']())})['strict']()['optional']()['describe']('Step\x202\x20only:\x20industry\x20candidates\x20awaiting\x20merchant\x20confirmation.'),'intent':z['unknown']()['optional']()['describe']('Steps\x207-10:\x20final\x20BusinessIntent\x20after\x20merchant\x20overrides.'),'adopted_modules':z['array'](z['object']({'id':z['string'](),'name':z['string'](),'description':z['string'](),'requires_keeper':z['boolean'](),'keeper_hint':z['string']()['optional'](),'user_protections':z['array'](z['string']()),'merchant_obligations':z['array'](z['string']())})['strict']())['optional']()['describe']('Steps\x206-10:\x20adopted\x20business\x20modules\x20with\x20protections/obligations.'),'blueprint':z['object']({'nodes':z['array'](z['object']({'id':z['string'](),'type':z['string'](),'purpose':z['string']()})['strict']()),'edges':z['array'](z['object']({'from':z['string'](),'to':z['string'](),'relation':z['string'](),'required':z['boolean']()})['strict']())})['strict']()['optional']()['describe']('Step\x207:\x20semantic\x20object\x20graph\x20(nodes\x20+\x20edges).'),'evaluation_preview':z['unknown']()['optional']()['describe']('Step\x208:\x20estimated\x20risk/completeness\x20scores\x20+\x20key\x20risks\x20+\x20module\x20boosts\x20(G-04:\x20no\x20trust\x20score\x20—\x20none\x20is\x20evaluated\x20at\x20build\x20time).'),'graph_validation':z['object']({'valid':z['boolean'](),'hard_violations':z['array'](z['object']({'id':z['string'](),'description':z['string'](),'fix':z['string']()['optional']()})['strict']()),'soft_notes':z['array'](z['object']({'id':z['string'](),'description':z['string']()})['strict']())})['strict']()['optional']()['describe']('Step\x208:\x20structural\x20validation\x20of\x20the\x20semantic\x20graph.'),'harness_check':z['object']({'module_constraints':z['array'](z['object']({'module':z['string'](),'plan_satisfied':z['boolean'](),'missing':z['array'](z['string']())['optional'](),'reason':z['string']()['optional'](),'findings':z['array'](z['object']({'rule':z['string'](),'severity':z['string'](),'detail':z['string']()})['strict']())['describe']('Score-extinction\x20(M5):\x20adoption\x20verdict\x20evidence\x20as\x20findings,\x20never\x20a\x20numeric\x20boost\x20—\x20MODULE-CONSTRAINTS-MISSING\x20(high:\x20blocking\x20constraints\x20unsatisfied)\x20/\x20MODULE-EVIDENCE-MISSING\x20(medium:\x20score-only\x20auto-recommendation\x20DROPPED;\x20keep\x20via\x20guide_state.adopted_module_ids).'),'evidence_matched':z['boolean']()['optional']()['describe']('G-03:\x20false\x20=\x20the\x20module\x20was\x20auto-recommended\x20by\x20score\x20with\x20no\x20explicit\x20intent\x20evidence\x20—\x20it\x20is\x20NOT\x20adopted\x20(see\x20findings).')})['strict']()),'module_gaps':z['array'](z['object']({'module':z['string'](),'missing_constraints':z['array'](z['string']())['optional'](),'fix':z['string']()['optional']()})['strict']()),'blocking_issues':z['array'](z['object']({'module':z['string'](),'missing_constraints':z['array'](z['string']())['optional'](),'fix':z['string']()['optional']()})['strict']()),'deploy_time_checks':z['array'](z['string']())})['strict']()['optional']()['describe']('Step\x209:\x20module\x20constraint\x20check\x20at\x20blueprint\x20stage\x20+\x20deploy-time\x20checklist.'),'pending_guard_designs':z['array'](z['object']({'key':z['string']()['describe']('Guard\x20design\x20key\x20—\x20the\x20guide_confirm.guard_resolutions\x20lookup\x20key.'),'template_id':z['string']()['describe']('The\x20pattern.*/tpl_*\x20design\x20id.'),'host':z['string']()['describe']('Attachment\x20surface\x20(service\x20buy\x20path,\x20machine\x20forward,\x20allocator\x20row,\x20...).'),'purpose':z['string']()['describe']('What\x20the\x20design\x20gates.'),'logic_summary':z['string']()['optional']()['describe']('Pattern\x20logic\x20sketch\x20(pattern.*\x20catalog)\x20to\x20guide\x20the\x20resolution.'),'logic_summary_note':z['string']()['optional']()['describe']('p8k2\x20T-03:\x20the\x20sketch\x20above\x20is\x20POLARITY-BLIND\x20for\x20refund/recover\x20rails\x20—\x20this\x20note\x20names\x20the\x20claimed_by\x20polarity\x20leg\x20the\x20rail\x20REQUIRES\x20and\x20warns\x20against\x20sharing\x20one\x20resolved\x20guard\x20across\x20the\x20twin\x20rails.'),'key_queries':z['array'](z['string']())['optional']()['describe']('Key\x20queries\x20the\x20pattern\x20reads.'),'how_to_resolve':z['string']()['describe']('Exact\x20guide_confirm.guard_resolutions\x20entry\x20shape\x20for\x20this\x20design.')})['strict']())['optional']()['describe']('Step\x209\x20(blocked):\x20every\x20unresolved\x20guard\x20design\x20with\x20its\x20pattern\x27s\x20logic\x20sketch\x20(C6-DEEP).\x20'+'The\x20judgment\x20layer\x20resolves\x20each\x20via\x20guide_confirm.guard_resolutions;\x20the\x20audit\x20freeze\x20gate\x20still\x20decides.'),'game_theory':z['object']({'summary':z['string'](),'coverage':z['string']()['describe']('Covered/total\x20scenario\x20count,\x20e.g.\x20\x274/5\x27.'),'exposed_scenarios':z['array'](z['string']()),'wow_alignments':z['array'](z['string']())['describe']('Active\x20WOW\x20mechanisms\x20aligning\x20merchant/user\x20incentives.'),'scenarios':z['array'](z['object']({'scenario':z['string'](),'covered':z['boolean'](),'conflict':z['string'](),'user_protection':z['string'](),'evaluation_metric':z['string'](),'recommendation':z['string']()['optional']()})['strict']())})['strict']()['optional']()['describe']('Step\x209:\x20merchant-user\x20adversarial\x20scenario\x20coverage.\x205\x20canonical\x20scenarios\x20checked\x20against\x20the\x20blueprint.'),'creation_plan':z['array'](z['object']({'order':z['number'](),'node_id':z['string'](),'object_type':z['string'](),'suggested_name':z['string'](),'depends_on':z['array'](z['string']()),'operation_hint':z['string']()})['strict']())['optional']()['describe']('Step\x2010:\x20topologically\x20ordered\x20creation\x20plan.\x20NOT\x20executed\x20—\x20materialize\x20via\x20onchain_operations.'),'post_deploy_steps':z['array'](z['object']({'order':z['number'](),'id':z['string'](),'title':z['string'](),'when':z['string'](),'action':z['string'](),'tool_hint':z['string'](),'failure_if_skipped':z['string']()})['strict']())['optional']()['describe']('Step\x2010:\x20ordered\x20executable\x20post-deploy\x20steps\x20(compensation\x20fund\x20top-up\x20R-4,\x20arbitration\x20unpause\x20R-5,\x20settlement\x20alloc_by_guard\x20R-2,\x20panorama\x20verification).\x20Run\x20via\x20onchain_operations\x20AFTER\x20the\x20creation\x20plan\x20materializes.'),'supply_chain':z['array'](z['object']({'steps':z['array'](z['string']())['describe']('Emitted\x20step\x20ids\x20(rendezvous\x20gate,\x20ledger\x20create,\x20write/ack\x20policies,\x20bind,\x20allocation).'),'inputs':z['record'](z['string'](),z['string']())['describe']('Plan\x20inputs\x20the\x20emission\x20depends\x20on\x20(fulfillment_axis).'),'primitives':z['array'](z['string']())['describe']('composition-truth\x20primitives\x20this\x20emission\x20puts\x20on\x20chain.'),'notes':z['array'](z['string']())['describe']('Operator\x20duties\x20and\x20residual\x20trust,\x20in\x20the\x20merchant\x27s\x20own\x20terms.'),'handoff':z['object']({'repository':z['string']()['describe']('The\x20rendezvous\x20Repository\x20(name\x20or\x20step\x20id).'),'writes':z['array'](z['object']({'policy':z['string'](),'row_id':z['string'](),'value':z['string'](),'write_guard':z['string'](),'submissions':z['string']()})['strict']())})['strict']()['optional']()['describe']('Present\x20when\x20the\x20fulfilment\x20side\x20is\x20a\x20SEPARATE\x20build:\x20the\x20rows\x20its\x20operator\x20must\x20write,\x20and\x20under\x20which\x20credential\x20guard.')})['strict']())['optional']()['describe']('Supply-chain\x20composition\x20emissions\x20(Goal\x202/4):\x20one\x20entry\x20per\x20guide_confirm.supply_chain\x20promise\x20that\x20compiled.'),'warnings':z['array'](z['string']()),'next_action':z['string']()['describe']('Human-readable\x20guidance\x20for\x20the\x20next\x20call.')})['strict']();
|
|
@@ -33,6 +33,10 @@ export declare const IntentRadarInputSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
33
33
|
FeedbackEvent: "FeedbackEvent";
|
|
34
34
|
PermissionChangedEvent: "PermissionChangedEvent";
|
|
35
35
|
RepositoryDataOverwriteEvent: "RepositoryDataOverwriteEvent";
|
|
36
|
+
RowRemovedEvent: "RowRemovedEvent";
|
|
37
|
+
OrderTagOverwriteEvent: "OrderTagOverwriteEvent";
|
|
38
|
+
OrderTagRemovedEvent: "OrderTagRemovedEvent";
|
|
39
|
+
PrincipalRefundedEvent: "PrincipalRefundedEvent";
|
|
36
40
|
}>>>;
|
|
37
41
|
}, z.core.$strict>, z.ZodObject<{
|
|
38
42
|
action: z.ZodLiteral<"list">;
|
|
@@ -89,6 +93,10 @@ export declare const IntentRadarOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
89
93
|
FeedbackEvent: "FeedbackEvent";
|
|
90
94
|
PermissionChangedEvent: "PermissionChangedEvent";
|
|
91
95
|
RepositoryDataOverwriteEvent: "RepositoryDataOverwriteEvent";
|
|
96
|
+
RowRemovedEvent: "RowRemovedEvent";
|
|
97
|
+
OrderTagOverwriteEvent: "OrderTagOverwriteEvent";
|
|
98
|
+
OrderTagRemovedEvent: "OrderTagRemovedEvent";
|
|
99
|
+
PrincipalRefundedEvent: "PrincipalRefundedEvent";
|
|
92
100
|
}>>;
|
|
93
101
|
created_at: z.ZodNumber;
|
|
94
102
|
updated_at: z.ZodNumber;
|
|
@@ -131,6 +139,10 @@ export declare const IntentRadarOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
131
139
|
FeedbackEvent: "FeedbackEvent";
|
|
132
140
|
PermissionChangedEvent: "PermissionChangedEvent";
|
|
133
141
|
RepositoryDataOverwriteEvent: "RepositoryDataOverwriteEvent";
|
|
142
|
+
RowRemovedEvent: "RowRemovedEvent";
|
|
143
|
+
OrderTagOverwriteEvent: "OrderTagOverwriteEvent";
|
|
144
|
+
OrderTagRemovedEvent: "OrderTagRemovedEvent";
|
|
145
|
+
PrincipalRefundedEvent: "PrincipalRefundedEvent";
|
|
134
146
|
}>>;
|
|
135
147
|
created_at: z.ZodNumber;
|
|
136
148
|
updated_at: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{z}from'zod';import{PERSONA_ROLES}from'../../persona/types.js';const RoleEnum=z['enum'](PERSONA_ROLES),IndustryScenarioEnum=z['string']()['regex'](/^[a-z][a-z0-9_]*$/,'industry\x20must\x20be\x20lowercase\x20snake_case')['describe']('Industry\x20scenario.\x20Builtin:\x20freelance,\x20rental,\x20education,\x20travel,\x20subscription,\x20retail,\x20general,\x20custom\x20—\x20plus\x20any\x20registered\x20custom\x20industry.'),TargetTypeEnum=z['enum'](['NewOrderEvent','ProgressEvent','ThresholdPendingEvent','DemandPresentEvent','DemandFeedbackEvent','DemandChangedEvent','ServiceEvent','ArbitrationEvent','NewEntityEvent','ArbEvent','VoteEvent','FeedbackEvent','AllocationEvent','TreasuryEvent','RewardClaimEvent','RewardFundEvent','RewardWithdrawEvent','NewPaymentEvent','PermissionChangedEvent','RepositoryDataOverwriteEvent']),IntentRecordSchema=z['object']({'id':z['string'](),'intent':z['string'](),'account':z['string']()['optional'](),'role':RoleEnum['optional'](),'industries':z['array'](IndustryScenarioEnum),'keywords':z['array'](z['string']()),'target_types':z['array'](TargetTypeEnum),'created_at':z['number'](),'updated_at':z['number']()})['strict'](),IntentEventHitSchema=z['object']({'event_type':z['string'](),'event_id':z['string'](),'related_objects':z['array'](z['string']()),'business_meaning':z['string'](),'score':z['number'](),'matched_industries':z['array'](z['string']()),'matched_keywords':z['array'](z['string']()),'event':z['record'](z['string'](),z['unknown']())})['strict'](),IntentMatchResultSchema=z['object']({'intent_id':z['string'](),'intent':z['string'](),'hits':z['array'](IntentEventHitSchema),'scanned':z['number']()})['strict']();export const IntentRadarInputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('save'),'intent':z['string']()['describe']('Free-form\x20business\x20intent,\x20e.g.\x20\x27find\x20subscription\x20services\x20in\x20Shanghai\x27.'),'account':z['string']()['optional']()['describe']('Bound\x20account;\x20omit\x20for\x20a\x20system-level\x20intent.'),'role':RoleEnum['optional'](),'target_types':z['array'](TargetTypeEnum)['optional']()['describe']('Event\x20types\x20to\x20watch;\x20empty\x20=\x20all.')})['strict'](),z['object']({'action':z['literal']('list'),'account':z['string']()['optional']()['describe']('Filter\x20by\x20bound\x20account;\x20omit\x20for\x20all.')})['strict'](),z['object']({'action':z['literal']('remove'),'id':z['string']()['describe']('Intent\x20id\x20to\x20delete.')})['strict'](),z['object']({'action':z['literal']('match'),'intent_id':z['string']()['optional']()['describe']('Match\x20a\x20single\x20intent;\x20omit\x20to\x20match\x20all\x20intents.'),'account':z['string']()['optional']()['describe']('Filter\x20intents\x20by\x20account.'),'events':z['array'](z['record'](z['string'](),z['unknown']()))['optional']()['describe']('Events\x20to\x20score\x20(from\x20onchain_events).\x20Omit\x20to\x20auto-pull\x20recent\x20events.'),'network':z['enum'](['mainnet','testnet'])['optional'](),'limit':z['number']()['int']()['min'](0x1)['max'](0x64)['optional']()['describe']('Max\x20events\x20to\x20auto-pull\x20when\x20`events`\x20is\x20omitted.')})['strict']()]);export const IntentRadarOutputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('save'),'intent':IntentRecordSchema})['strict'](),z['object']({'action':z['literal']('list'),'intents':z['array'](IntentRecordSchema)})['strict'](),z['object']({'action':z['literal']('remove'),'removed':z['boolean']()})['strict'](),z['object']({'action':z['literal']('match'),'results':z['array'](IntentMatchResultSchema)})['strict']()]);
|
|
1
|
+
import{z}from'zod';import{PERSONA_ROLES}from'../../persona/types.js';const RoleEnum=z['enum'](PERSONA_ROLES),IndustryScenarioEnum=z['string']()['regex'](/^[a-z][a-z0-9_]*$/,'industry\x20must\x20be\x20lowercase\x20snake_case')['describe']('Industry\x20scenario.\x20Builtin:\x20freelance,\x20rental,\x20education,\x20travel,\x20subscription,\x20retail,\x20general,\x20custom\x20—\x20plus\x20any\x20registered\x20custom\x20industry.'),TargetTypeEnum=z['enum'](['NewOrderEvent','ProgressEvent','ThresholdPendingEvent','DemandPresentEvent','DemandFeedbackEvent','DemandChangedEvent','ServiceEvent','ArbitrationEvent','NewEntityEvent','ArbEvent','VoteEvent','FeedbackEvent','AllocationEvent','TreasuryEvent','RewardClaimEvent','RewardFundEvent','RewardWithdrawEvent','NewPaymentEvent','PermissionChangedEvent','RepositoryDataOverwriteEvent','RowRemovedEvent','OrderTagOverwriteEvent','OrderTagRemovedEvent','PrincipalRefundedEvent']),IntentRecordSchema=z['object']({'id':z['string'](),'intent':z['string'](),'account':z['string']()['optional'](),'role':RoleEnum['optional'](),'industries':z['array'](IndustryScenarioEnum),'keywords':z['array'](z['string']()),'target_types':z['array'](TargetTypeEnum),'created_at':z['number'](),'updated_at':z['number']()})['strict'](),IntentEventHitSchema=z['object']({'event_type':z['string'](),'event_id':z['string'](),'related_objects':z['array'](z['string']()),'business_meaning':z['string'](),'score':z['number'](),'matched_industries':z['array'](z['string']()),'matched_keywords':z['array'](z['string']()),'event':z['record'](z['string'](),z['unknown']())})['strict'](),IntentMatchResultSchema=z['object']({'intent_id':z['string'](),'intent':z['string'](),'hits':z['array'](IntentEventHitSchema),'scanned':z['number']()})['strict']();export const IntentRadarInputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('save'),'intent':z['string']()['describe']('Free-form\x20business\x20intent,\x20e.g.\x20\x27find\x20subscription\x20services\x20in\x20Shanghai\x27.'),'account':z['string']()['optional']()['describe']('Bound\x20account;\x20omit\x20for\x20a\x20system-level\x20intent.'),'role':RoleEnum['optional'](),'target_types':z['array'](TargetTypeEnum)['optional']()['describe']('Event\x20types\x20to\x20watch;\x20empty\x20=\x20all.')})['strict'](),z['object']({'action':z['literal']('list'),'account':z['string']()['optional']()['describe']('Filter\x20by\x20bound\x20account;\x20omit\x20for\x20all.')})['strict'](),z['object']({'action':z['literal']('remove'),'id':z['string']()['describe']('Intent\x20id\x20to\x20delete.')})['strict'](),z['object']({'action':z['literal']('match'),'intent_id':z['string']()['optional']()['describe']('Match\x20a\x20single\x20intent;\x20omit\x20to\x20match\x20all\x20intents.'),'account':z['string']()['optional']()['describe']('Filter\x20intents\x20by\x20account.'),'events':z['array'](z['record'](z['string'](),z['unknown']()))['optional']()['describe']('Events\x20to\x20score\x20(from\x20onchain_events).\x20Omit\x20to\x20auto-pull\x20recent\x20events.'),'network':z['enum'](['mainnet','testnet'])['optional'](),'limit':z['number']()['int']()['min'](0x1)['max'](0x64)['optional']()['describe']('Max\x20events\x20to\x20auto-pull\x20when\x20`events`\x20is\x20omitted.')})['strict']()]);export const IntentRadarOutputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('save'),'intent':IntentRecordSchema})['strict'](),z['object']({'action':z['literal']('list'),'intents':z['array'](IntentRecordSchema)})['strict'](),z['object']({'action':z['literal']('remove'),'removed':z['boolean']()})['strict'](),z['object']({'action':z['literal']('match'),'results':z['array'](IntentMatchResultSchema)})['strict']()]);
|
|
@@ -508,6 +508,7 @@ export declare const KeeperOperationOutputSchema: z.ZodObject<{
|
|
|
508
508
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
509
509
|
step: z.ZodEnum<{
|
|
510
510
|
repository_write: "repository_write";
|
|
511
|
+
rating_write: "rating_write";
|
|
511
512
|
reward_claim: "reward_claim";
|
|
512
513
|
}>;
|
|
513
514
|
status: z.ZodEnum<{
|
|
@@ -1243,6 +1243,11 @@ export declare const AccountOperationResultSchema: z.ZodObject<{
|
|
|
1243
1243
|
}, z.core.$strip>>;
|
|
1244
1244
|
}, z.core.$strip>;
|
|
1245
1245
|
export declare const LocalMarkOperationSchema: z.ZodObject<{
|
|
1246
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
1247
|
+
testnet: "testnet";
|
|
1248
|
+
mainnet: "mainnet";
|
|
1249
|
+
localnet: "localnet";
|
|
1250
|
+
}>>;
|
|
1246
1251
|
add: z.ZodOptional<z.ZodObject<{
|
|
1247
1252
|
op: z.ZodLiteral<"add">;
|
|
1248
1253
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -2729,6 +2734,7 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
2729
2734
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2730
2735
|
step: z.ZodEnum<{
|
|
2731
2736
|
repository_write: "repository_write";
|
|
2737
|
+
rating_write: "rating_write";
|
|
2732
2738
|
reward_claim: "reward_claim";
|
|
2733
2739
|
}>;
|
|
2734
2740
|
status: z.ZodEnum<{
|
|
@@ -3276,6 +3282,7 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
3276
3282
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3277
3283
|
step: z.ZodEnum<{
|
|
3278
3284
|
repository_write: "repository_write";
|
|
3285
|
+
rating_write: "rating_write";
|
|
3279
3286
|
reward_claim: "reward_claim";
|
|
3280
3287
|
}>;
|
|
3281
3288
|
status: z.ZodEnum<{
|
|
@@ -3789,6 +3796,7 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
3789
3796
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3790
3797
|
step: z.ZodEnum<{
|
|
3791
3798
|
repository_write: "repository_write";
|
|
3799
|
+
rating_write: "rating_write";
|
|
3792
3800
|
reward_claim: "reward_claim";
|
|
3793
3801
|
}>;
|
|
3794
3802
|
status: z.ZodEnum<{
|
|
@@ -4344,6 +4352,7 @@ export declare const LocalHistoryOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
4344
4352
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4345
4353
|
step: z.ZodEnum<{
|
|
4346
4354
|
repository_write: "repository_write";
|
|
4355
|
+
rating_write: "rating_write";
|
|
4347
4356
|
reward_claim: "reward_claim";
|
|
4348
4357
|
}>;
|
|
4349
4358
|
status: z.ZodEnum<{
|
|
@@ -4966,6 +4975,7 @@ export declare const LocalCacheOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
4966
4975
|
review_steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4967
4976
|
step: z.ZodEnum<{
|
|
4968
4977
|
repository_write: "repository_write";
|
|
4978
|
+
rating_write: "rating_write";
|
|
4969
4979
|
reward_claim: "reward_claim";
|
|
4970
4980
|
}>;
|
|
4971
4981
|
status: z.ZodEnum<{
|