@wowok/agent-mcp 3.2.7 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- 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 -1
- package/dist/composition/compile.js +1 -1
- package/dist/composition/inflight.d.ts +10 -0
- package/dist/composition/inflight.js +1 -1
- package/dist/extensions/business-modules.d.ts +1 -1
- package/dist/extensions/business-modules.js +1 -1
- package/dist/extensions/capability-manifest.js +1 -1
- package/dist/extensions/industry-audit.spec.js +1 -1
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/graph/onchain/edge-schema.js +1 -1
- package/dist/graph/onchain/facts.spec.js +1 -1
- package/dist/graph/onchain/field-manifest.js +1 -1
- package/dist/harness/index.d.ts +1 -0
- package/dist/harness/index.js +1 -1
- package/dist/harness/operation-id.d.ts +1 -0
- package/dist/harness/operation-id.js +1 -0
- 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/keeper/KeeperScan.d.ts +2 -1
- package/dist/keeper/KeeperScan.js +1 -1
- package/dist/keeper/keeper.spec.js +1 -1
- package/dist/keeper/types.d.ts +3 -0
- package/dist/keeper/types.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.d.ts +34 -0
- package/dist/knowledge/allocator-rail-verifier.js +1 -0
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/arbitration-venue-order.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +19 -1
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/alloc_audit.json +1 -1
- package/dist/knowledge/baselines/rules/arb.json +1 -1
- package/dist/knowledge/baselines/rules/guard.json +106 -1
- package/dist/knowledge/baselines/rules/machine.json +9 -6
- package/dist/knowledge/baselines/rules/plan.json +40 -17
- package/dist/knowledge/baselines/semantic-facts.js +1 -1
- package/dist/knowledge/builtin-templates.d.ts +1 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/contract-invariants.js +1 -1
- package/dist/knowledge/discount-threshold.d.ts +11 -0
- package/dist/knowledge/discount-threshold.js +1 -1
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-anchor-reach.d.ts +1 -1
- package/dist/knowledge/guard-anchor-reach.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-ledger.js +1 -1
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.d.ts +1 -0
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-submission-brief.d.ts +6 -0
- package/dist/knowledge/guard-submission-brief.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +2 -2
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/industry-strategy.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/machine-ledger.js +1 -1
- package/dist/knowledge/machine-puzzle.d.ts +1 -1
- package/dist/knowledge/machine-puzzle.js +1 -1
- package/dist/knowledge/machine-risk.js +1 -1
- package/dist/knowledge/machine-templates.js +1 -1
- package/dist/knowledge/machine-topology.d.ts +8 -0
- package/dist/knowledge/machine-topology.js +1 -1
- package/dist/knowledge/machine-translation.js +1 -1
- package/dist/knowledge/order-ledger.js +1 -1
- package/dist/knowledge/permission-ledger.js +1 -1
- package/dist/knowledge/protocol-facts.d.ts +16 -0
- package/dist/knowledge/protocol-facts.js +1 -0
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/reward-ledger.d.ts +2 -1
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/reward-templates.js +1 -1
- package/dist/knowledge/safety-rules.d.ts +0 -2
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +7 -0
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/strategy-manuals.js +1 -1
- package/dist/knowledge/template-loader.d.ts +13 -1
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +2 -0
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tool-constraints.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +7 -3
- 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.d.ts +1 -1
- package/dist/monitor/types.js +1 -1
- package/dist/participation/radar-core.d.ts +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/game-theory.d.ts +1 -0
- package/dist/playbooks/service-build/game-theory.js +1 -1
- package/dist/playbooks/service-build/intent-analyzer.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +8 -0
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +28 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.d.ts +2 -0
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping.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/playbooks/service-build/service-quote.spec.js +1 -1
- package/dist/relationship/registry.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/role/profiles.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/safety/preview.d.ts +1 -0
- package/dist/safety/preview.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +19 -1
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +1 -1
- package/dist/schema/call/arbitration.d.ts +8 -8
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +52 -5
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +3 -0
- package/dist/schema/call/contact.d.ts +5 -5
- package/dist/schema/call/demand.d.ts +5 -5
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/guard.d.ts +3 -3
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +13 -5
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +5 -5
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/permission.d.ts +5 -5
- package/dist/schema/call/personal.d.ts +4 -4
- package/dist/schema/call/progress.d.ts +5 -5
- package/dist/schema/call/progress.js +1 -1
- package/dist/schema/call/proof.js +1 -1
- package/dist/schema/call/receipt.d.ts +8 -0
- package/dist/schema/call/receipt.js +1 -1
- package/dist/schema/call/repository.d.ts +9 -9
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.d.ts +25 -5
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +10 -5
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +5 -5
- package/dist/schema/common/index.d.ts +6 -6
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/goal/index.d.ts +17 -1
- package/dist/schema/goal/planning.d.ts +28 -2
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +3 -0
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/intent-radar/index.d.ts +9 -0
- package/dist/schema/intent-radar/index.js +1 -1
- package/dist/schema/local/index.d.ts +31 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +57 -43
- package/dist/schema/operations.js +1 -1
- package/dist/schema/query/bi.d.ts +22 -6
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +164 -102
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +2 -0
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/utils/permission-machine-check.d.ts +2 -0
- package/dist/schema/utils/permission-machine-check.js +1 -1
- package/dist/schema/workflow/index.d.ts +1 -1
- package/dist/schema-query-impl/index.d.ts +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +3 -0
- package/dist/schemas/account_operation.schema.json +4 -4
- package/dist/schemas/benchmark_migration_operation.output.json +42 -0
- package/dist/schemas/benchmark_migration_operation.schema.json +40 -3
- package/dist/schemas/bridge_operation.output.json +3 -0
- package/dist/schemas/goal_operation.schema.json +52 -2
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +8 -0
- package/dist/schemas/industry_pack_operation.schema.json +9 -0
- package/dist/schemas/intent_radar.output.json +8 -2
- package/dist/schemas/intent_radar.schema.json +4 -1
- package/dist/schemas/local_cache_operation.output.json +3 -0
- package/dist/schemas/local_history_operation.output.json +3 -0
- package/dist/schemas/local_info_operation.output.json +3 -0
- package/dist/schemas/local_mark_operation.output.json +3 -0
- package/dist/schemas/messenger_operation.schema.json +4 -4
- package/dist/schemas/monitor_events.schema.json +3 -1
- package/dist/schemas/onchain_events.output.json +275 -11
- package/dist/schemas/onchain_events.schema.json +25 -1
- package/dist/schemas/onchain_operations.output.json +47 -5
- package/dist/schemas/onchain_operations.schema.json +664 -179
- package/dist/schemas/onchain_operations_allocation.schema.json +7 -7
- package/dist/schemas/onchain_operations_arbitration.schema.json +21 -15
- package/dist/schemas/onchain_operations_contact.schema.json +15 -10
- package/dist/schemas/onchain_operations_demand.schema.json +15 -10
- package/dist/schemas/onchain_operations_gen_passport.schema.json +5 -5
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
- package/dist/schemas/onchain_operations_guard.schema.json +346 -8
- package/dist/schemas/onchain_operations_machine.schema.json +24 -11
- package/dist/schemas/onchain_operations_order.schema.json +17 -12
- package/dist/schemas/onchain_operations_permission.schema.json +10 -5
- package/dist/schemas/onchain_operations_personal.schema.json +2 -2
- package/dist/schemas/onchain_operations_progress.schema.json +17 -12
- package/dist/schemas/onchain_operations_proof.schema.json +6 -6
- package/dist/schemas/onchain_operations_repository.schema.json +19 -14
- package/dist/schemas/onchain_operations_reward.schema.json +96 -15
- package/dist/schemas/onchain_operations_service.schema.json +33 -21
- package/dist/schemas/onchain_operations_treasury.schema.json +15 -10
- package/dist/schemas/onchain_table_data.output.json +7 -7
- package/dist/schemas/query_toolkit.output.json +268 -44
- package/dist/schemas/query_toolkit.schema.json +1 -1
- package/dist/schemas/schema_query.schema.json +7 -2
- package/dist/schemas/workflow_operation.schema.json +5 -5
- package/dist/schemas/wowok_buildin_info.output.json +140 -3
- package/dist/schemas/wowok_buildin_info.schema.json +2 -2
- package/dist/tools/handlers/benchmark-migration.d.ts +66 -1
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/dispatch-expectations.d.ts +0 -1
- package/dist/tools/handlers/dispatch-expectations.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/intent-radar.js +1 -1
- package/dist/tools/handlers/keeper.d.ts +1 -1
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +12 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/query.d.ts +1 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/review-chain.js +1 -1
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/handlers/workflow.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.js +1 -1
- package/dist/tools/registry/agent.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/files.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/rules-hook.js +1 -1
- package/dist/tools/upgrade-check.d.ts +23 -0
- package/dist/tools/upgrade-check.js +1 -1
- package/dist/tools/wip-deploy-assist.d.ts +6 -0
- package/dist/tools/wip-deploy-assist.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{z}from'zod';import{MODE_REGISTRY_ACTIONS,ModeRegistryFields,RecommendIndustryResultSchema,ListModesResultSchema,DeriveUserModeResultSchema,EvolveUserModeResultSchema,RegisterUserModeResultSchema,UnregisterUserModeResultSchema,RegisterCustomMetricResultSchema,UnregisterCustomMetricResultSchema,RegisterCustomConstraintResultSchema,UnregisterCustomConstraintResultSchema,ListMetricsConstraintsResultSchema}from'./modes.js';export const IndustryPackOperationInputSchema=z['object']({'action':z['enum'](['scaffold','list','scan','repair_builtin_templates','template_drift','resolve','list_files','read_file','write_file','get','diff','reset','delete_file','create_file','create_dir','copy','move','rename',...MODE_REGISTRY_ACTIONS])['describe']('Action:\x20\x27scaffold\x27\x20=\x20generate\x20a\x20pack\x20template\x20skeleton\x20(requires\x20name);\x20'+'\x27list\x27\x20=\x20list\x20registered\x20packs;\x20\x27scan\x27\x20=\x20scan\x20+\x20register\x20packs\x20under\x20the\x20default\x20directory;\x20'+'\x27template_drift\x27\x20=\x20REPORT\x20builtin\x20template\x20files\x20whose\x20on-disk\x20body\x20differs\x20from\x20the\x20in-code\x20catalog\x20'+'(classifies\x20no_sentinel_legacy\x20/\x20stale_release\x20/\x20user_modified);\x20run\x20it\x20FIRST\x20when\x20a\x20template\x20change\x20'+'\x27seems\x20to\x20have\x20no\x20effect.\x20'+'\x27repair_builtin_templates\x27\x20=\x20RESEED\x20those\x20legacy\x20files\x20from\x20the\x20in-code\x20catalog\x20'+'(identity-gated\x20on\x20a\x20known\x20builtin\x20id,\x20previous\x20body\x20kept\x20as\x20<file>.bak;\x20custom\x20templates\x20never\x20touched)'+'\x27resolve\x27\x20=\x20return\x20the\x20industry\x20root\x20directory;\x20\x27list_files\x27\x20=\x20list\x20files\x20under\x20the\x20industry\x20directory;\x20'+'\x27read_file\x27\x20=\x20read\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20required);\x20'+'\x27write_file\x27\x20=\x20write\x20content\x20to\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20+\x20content\x20required);\x20'+'\x27get\x27\x20=\x20return\x20registered\x20layer\x20data\x20for\x20an\x20industry\x20(name\x20required;\x20mode/dispute/compliance/supply/rules/playbook;\x20'+'an\x20optional\x20\x27layer\x27\x20selector\x20returns\x20ONE\x20layer\x20and\x20refuses\x20by\x20name\x20when\x20the\x20pack\x20does\x20not\x20register\x20it\x20—\x20'+'layer=\x27template\x27\x20reads\x20the\x20builtin\x20catalog\x20template\x20data\x20instead\x20of\x20pack\x20layers,\x20with\x20\x27template\x27\x20id\x20'+'optional\x20to\x20list\x20the\x20industry\x27s\x20templates);\x20'+'\x27diff\x27\x20=\x20compare\x20registered\x20vs\x20on-disk\x20manifest\x20version/layers\x20(name\x20required);\x20'+'\x27reset\x27\x20=\x20restore\x20a\x20file\x20or\x20entire\x20pack\x20folder\x20to\x20its\x20pristine\x20annotated\x20template\x20(path\x20required).\x20'+'\x27delete_file\x27\x20=\x20delete\x20a\x20file\x20or\x20directory\x20(path\x20required).\x20'+'\x27create_file\x27\x20=\x20create\x20an\x20empty\x20file\x20(path\x20required;\x20content\x20optional).\x20'+'\x27create_dir\x27\x20=\x20create\x20a\x20directory\x20recursively\x20(path\x20required).\x20'+'\x27copy\x27\x20=\x20copy\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x20'+'\x27move\x27\x20/\x20\x27rename\x27\x20=\x20move\x20or\x20rename\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x20'+'Mode\x20registry\x20(industry/scenario\x20configuration):\x20\x27recommend_industry\x27\x20=\x20business\x20intent\x20→\x20top-3\x20'+'similar\x20industries\x20+\x20reference\x20examples;\x20\x27list_modes\x27\x20=\x20builtin\x20+\x20custom\x20modes;\x20\x27derive_user_mode\x27\x20=\x20'+'derive\x20a\x20custom\x20mode\x20from\x20a\x20builtin;\x20\x27evolve_user_mode\x27\x20=\x20iterate\x20an\x20existing\x20custom\x20mode;\x20'+'\x27register_user_mode\x27\x20=\x20register\x20a\x20fully\x20custom\x20mode;\x20\x27unregister_user_mode\x27\x20=\x20delete\x20a\x20custom\x20mode;\x20'+'\x27register_custom_metric\x27\x20/\x20\x27register_custom_constraint\x27\x20=\x20register\x20global\x20evaluation\x20metric/constraint;\x20'+'\x27list_metrics_constraints\x27\x20=\x20list\x20metrics\x20+\x20constraints\x20(filterable).'),'name':z['string']()['optional']()['describe']('Industry\x20name\x20(lowercase\x20snake_case,\x20e.g.\x20\x27life_service\x27);\x20required\x20for\x20scaffold\x20and\x20get.'),'layer':z['enum'](['mode','match','dispute','compliance','supply','rules','playbook','template'])['optional']()['describe']('Optional\x20single-layer\x20selector\x20for\x20action=\x27get\x27.\x20Non-template\x20values\x20return\x20ONLY\x20that\x20registered\x20'+'pack\x20layer\x20and\x20refuse\x20with\x20a\x20named\x20error\x20when\x20the\x20pack\x20does\x20not\x20register\x20it\x20(stub\x20packs\x20carry\x20'+'only\x20mode/match).\x20\x27template\x27\x20reads\x20the\x20builtin\x20catalog:\x20with\x20\x27template\x27\x20set,\x20one\x20full\x20template\x20'+'projection;\x20without\x20it,\x20the\x20industry\x27s\x20template\x20summaries.'),'template':z['string']()['optional']()['describe']('Builtin\x20template\x20id\x20\x27<industry>/<variant>\x27\x20(e.g.\x20\x27rental/p2p-shortstay\x27);\x20used\x20with\x20'+'action=\x27get\x27\x20+\x20layer=\x27template\x27.'),'path':z['string']()['optional']()['describe']('Path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20read_file,\x20write_file,\x20reset,\x20create_file,\x20create_dir).'),'content':z['string']()['optional']()['describe']('Text\x20content\x20to\x20write\x20(required\x20for\x20write_file;\x20optional\x20for\x20create_file).'),'from':z['string']()['optional']()['describe']('Source\x20path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20copy/move/rename).'),'to':z['string']()['optional']()['describe']('Destination\x20path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20copy/move/rename).'),'authorize':z['boolean']()['optional']()['describe']('EXPLICIT\x20USER\x20AUTHORIZATION\x20(C5)\x20required\x20before\x20any\x20action\x20that\x20MODIFIES\x20a\x20user-editable\x20'+'template\x20file\x20(any\x20path\x20under\x20\x27<industry>/templates/\x27)\x20—\x20write_file\x20/\x20delete_file\x20/\x20reset\x20/\x20'+'move\x20/\x20rename\x20on\x20such\x20a\x20path,\x20copy\x20ONTO\x20an\x20existing\x20such\x20file,\x20and\x20every\x20'+'repair_builtin_templates\x20execution.\x20WITHOUT\x20this\x20flag\x20'+'the\x20action\x20refuses\x20(or\x20returns\x20a\x20plan-only\x20preview\x20for\x20repair_builtin_templates).\x20Set\x20it\x20ONLY\x20'+'after\x20the\x20user\x20has\x20explicitly\x20confirmed\x20the\x20specific\x20change\x20in\x20the\x20conversation.'),...ModeRegistryFields})['strict']();export const IndustryPackOperationOutputSchema=z['object']({'result':z['discriminatedUnion']('action',[z['object']({'action':z['literal']('scaffold'),'ok':z['boolean']()['describe']('Whether\x20the\x20skeleton\x20was\x20created.'),'dir':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20pack\x20directory.'),'files':z['array'](z['string']())['describe']('Created\x20file\x20paths\x20(relative\x20to\x20dir).'),'errors':z['array'](z['string']())['describe']('Validation/creation\x20errors\x20(empty\x20=\x20ok).')}),z['object']({'action':z['literal']('list'),'packs':z['array'](z['object']({'name':z['string'](),'kind':z['enum'](['full','stub'])['describe']('\x27full\x27\x20=\x20a\x20real\x20pack\x20registering\x20at\x20least\x20one\x20business\x20layer\x20'+'(dispute/compliance/supply/rules/playbook);\x20\x27stub\x27\x20=\x20a\x20builtin-mode\x20alias\x20'+'carrying\x20only\x20mode/match\x20data\x20(its\x20missing\x20layers\x20are\x20named\x20by\x20`get`).'),'version':z['string'](),'layers':z['array'](z['string']()),'product_refs':z['array'](z['string']())['describe']('Reference\x20platforms\x20mirrored\x20by\x20the\x20pack\x27s\x20builtin\x20templates.'),'registered_at':z['number']()}))['describe']('Currently\x20registered\x20packs.')}),z['object']({'action':z['literal']('scan'),'results':z['array'](z['object']({'ok':z['boolean'](),'errors':z['array'](z['string']()),'registered':z['array'](z['string']())}))['describe']('One\x20registration\x20result\x20per\x20scanned\x20pack\x20directory.')}),z['object']({'action':z['literal']('repair_builtin_templates'),'dir':z['string'](),'reseeded_count':z['number']()['int']()['nonnegative'](),'requires_authorization':z['boolean']()['optional']()['describe']('true\x20when\x20the\x20call\x20was\x20a\x20plan-only\x20PREVIEW\x20(no\x20writes).\x20Re-call\x20with\x20authorize=true\x20'+'after\x20the\x20user\x20explicitly\x20confirms\x20to\x20execute\x20the\x20reseed.'),'results':z['array'](z['object']({'template':z['string'](),'status':z['string'](),'path':z['string'](),'detail':z['string']()['optional']()})),'note':z['string']()}),z['object']({'action':z['literal']('template_drift'),'dir':z['string'](),'drift_count':z['number']()['int']()['nonnegative'](),'drift':z['array'](z['object']({'template':z['string'](),'path':z['string'](),'state':z['string'](),'detail':z['string']()})),'note':z['string']()}),z['object']({'action':z['literal']('resolve'),'dir':z['string']()['describe']('Absolute\x20industry\x20root\x20directory.')}),z['object']({'action':z['literal']('list_files'),'dir':z['string']()['describe']('Absolute\x20industry\x20root\x20directory.'),'files':z['array'](z['object']({'path':z['string']()['describe']('Path\x20relative\x20to\x20the\x20industry\x20root.'),'is_dir':z['boolean'](),'size':z['number']()['describe']('File\x20size\x20in\x20bytes\x20(0\x20for\x20directories).'),'mtime':z['number']()['describe']('Last-modified\x20time\x20(epoch\x20ms).')}))['describe']('Files\x20under\x20the\x20industry\x20root.')}),z['object']({'action':z['literal']('read_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20read\x20file.'),'content':z['string']()['describe']('File\x20content\x20(text).')}),z['object']({'action':z['literal']('write_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20written\x20file.'),'ok':z['boolean']()['describe']('Whether\x20the\x20file\x20was\x20written.')}),z['object']({'action':z['literal']('get'),'category':z['string']()['describe']('Industry\x20name.'),'layer':z['enum'](['mode','match','dispute','compliance','supply','rules','playbook','template'])['optional']()['describe']('Echoes\x20the\x20requested\x20single-layer\x20selector\x20(absent\x20=\x20full\x20projection).'),'kind':z['enum'](['full','stub'])['optional']()['describe']('Registered\x20pack\x20completeness\x20(M-K14):\x20absent\x20when\x20the\x20pack\x20is\x20not\x20registered.'),'layers':z['array'](z['string']())['optional']()['describe']('Layers\x20the\x20registered\x20pack\x20declares\x20(absent\x20when\x20the\x20pack\x20is\x20not\x20registered).'),'missing_layers':z['array'](z['string']())['optional']()['describe']('Standard\x20business\x20layers\x20NOT\x20registered\x20for\x20this\x20pack\x20(stub\x20packs\x20list\x20'+'dispute/compliance/supply/rules/playbook\x20here)\x20—\x20data\x20was\x20not\x20silently\x20omitted.'),'note':z['string']()['optional']()['describe']('Named\x20explanation\x20for\x20missing\x20layers\x20or\x20template\x20listing\x20scope.'),'template':z['unknown']()['optional']()['describe']('Full\x20builtin\x20catalog\x20template\x20projection\x20(get\x20+\x20layer=\x27template\x27\x20with\x20a\x20template\x20id).'),'templates':z['array'](z['object']({'id':z['string']()['describe']('Template\x20id\x20\x27<industry>/<variant>\x27.'),'variant':z['string'](),'product_ref':z['string']()['describe']('Benchmark\x20product\x20this\x20archetype\x20models.'),'key_risk':z['string']()['describe']('Primary\x20risk\x20this\x20template\x20mitigates.')}))['optional']()['describe']('Template\x20summaries\x20for\x20the\x20industry\x20(get\x20+\x20layer=\x27template\x27\x20without\x20a\x20template\x20id).'),'mode':z['object']({'name':z['string']()['describe']('Mode\x20name.'),'display_name':z['string']()['describe']('Mode\x20display\x20name.'),'key_risk':z['string']()['describe']('The\x20industry\x27s\x20dominant\x20risk.'),'needs':z['array'](z['string']())['describe']('Industry\x20need\x20descriptions\x20(satisfaction\x20requires\x20the\x20evaluation\x20puzzle).'),'analyze_questions':z['array'](z['string']())['optional']()['describe']('Industry-embedded\x20Analyze\x20key\x20questions\x20(max\x202)\x20—\x20the\x20fallback\x20'+'follow-ups\x20when\x20the\x20user\x27s\x20persona\x20has\x20none\x20embedded.')})['optional']()['describe']('Registered\x20industry\x20MODE\x20data\x20(key_risk/needs/analyze\x20defaults),\x20if\x20any.'),'dispute':z['unknown']()['optional']()['describe']('Registered\x20dispute\x20rules\x20(if\x20any).'),'compliance':z['unknown']()['optional']()['describe']('Registered\x20compliance\x20rules\x20(if\x20any).'),'supply':z['unknown']()['optional']()['describe']('Registered\x20supply\x20rules\x20(if\x20any).'),'rules':z['unknown']()['optional']()['describe']('Registered\x20declarative\x20industry\x20rules\x20(if\x20any).'),'playbook':z['unknown']()['optional']()['describe']('Registered\x20playbook\x20(if\x20any).')}),z['object']({'action':z['literal']('diff'),'name':z['string']()['describe']('Industry\x20name.'),'registered':z['object']({'version':z['string'](),'layers':z['array'](z['string']()),'registered_at':z['number']()})['nullable']()['describe']('Currently\x20registered\x20metadata.'),'disk':z['object']({'version':z['string'](),'layers':z['array'](z['string']())})['nullable']()['describe']('On-disk\x20manifest\x20metadata.'),'upgradable':z['boolean']()['describe']('Whether\x20the\x20on-disk\x20version\x20differs\x20from\x20registered.'),'layer_diff':z['object']({'added':z['array'](z['string']()),'removed':z['array'](z['string']())})['describe']('Layer\x20difference\x20(disk\x20vs\x20registered).')}),z['object']({'action':z['literal']('reset'),'ok':z['boolean']()['describe']('Whether\x20reset\x20succeeded.'),'layout':z['enum'](['merged','legacy'])['describe']('Layout\x20format\x20that\x20was\x20restored:\x20\x27merged\x27\x20(single\x20pack.json\x20+\x20playbook.md)\x20or\x20\x27legacy\x27\x20(split\x20files).'),'target':z['string']()['describe']('Normalised\x20reset\x20target\x20path\x20(pack\x20name\x20or\x20file).'),'restored_files':z['array'](z['string']())['describe']('Files\x20that\x20were\x20restored\x20to\x20pristine\x20annotated\x20templates.'),'errors':z['array'](z['string']())['describe']('Errors\x20encountered\x20during\x20reset.')}),z['object']({'action':z['literal']('delete_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20deleted\x20file\x20or\x20directory.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('create_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20file.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('create_dir'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20directory.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('copy'),'from':z['string']()['describe']('Absolute\x20source\x20path.'),'to':z['string']()['describe']('Absolute\x20destination\x20path.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('move'),'from':z['string']()['describe']('Absolute\x20source\x20path.'),'to':z['string']()['describe']('Absolute\x20destination\x20path.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('rename'),'from':z['string']()['describe']('Absolute\x20old\x20path.'),'to':z['string']()['describe']('Absolute\x20new\x20path.'),'ok':z['boolean']()}),...[RecommendIndustryResultSchema,ListModesResultSchema,DeriveUserModeResultSchema,EvolveUserModeResultSchema,RegisterUserModeResultSchema,UnregisterUserModeResultSchema,RegisterCustomMetricResultSchema,UnregisterCustomMetricResultSchema,RegisterCustomConstraintResultSchema,UnregisterCustomConstraintResultSchema,ListMetricsConstraintsResultSchema]])})['strict']();
|
|
1
|
+
import{z}from'zod';import{MODE_REGISTRY_ACTIONS,ModeRegistryFields,RecommendIndustryResultSchema,ListModesResultSchema,DeriveUserModeResultSchema,EvolveUserModeResultSchema,RegisterUserModeResultSchema,UnregisterUserModeResultSchema,RegisterCustomMetricResultSchema,UnregisterCustomMetricResultSchema,RegisterCustomConstraintResultSchema,UnregisterCustomConstraintResultSchema,ListMetricsConstraintsResultSchema}from'./modes.js';export const IndustryPackOperationInputSchema=z['object']({'action':z['enum'](['scaffold','list','scan','repair_builtin_templates','template_drift','resolve','list_files','read_file','write_file','get','diff','reset','delete_file','create_file','create_dir','copy','move','rename',...MODE_REGISTRY_ACTIONS])['describe']('Action:\x20\x27scaffold\x27\x20=\x20generate\x20a\x20pack\x20template\x20skeleton\x20(requires\x20name);\x20'+'\x27list\x27\x20=\x20list\x20registered\x20packs;\x20\x27scan\x27\x20=\x20scan\x20+\x20register\x20packs\x20under\x20the\x20default\x20directory;\x20'+'\x27template_drift\x27\x20=\x20REPORT\x20builtin\x20template\x20files\x20whose\x20on-disk\x20body\x20differs\x20from\x20the\x20in-code\x20catalog\x20'+'(classifies\x20no_sentinel_legacy\x20/\x20stale_release\x20/\x20user_modified);\x20run\x20it\x20FIRST\x20when\x20a\x20template\x20change\x20'+'\x27seems\x20to\x20have\x20no\x20effect.\x20'+'\x27repair_builtin_templates\x27\x20=\x20RESEED\x20those\x20legacy\x20files\x20from\x20the\x20in-code\x20catalog\x20'+'(identity-gated\x20on\x20a\x20known\x20builtin\x20id,\x20previous\x20body\x20kept\x20as\x20<file>.bak;\x20custom\x20templates\x20never\x20touched)'+'\x27resolve\x27\x20=\x20return\x20the\x20industry\x20root\x20directory;\x20\x27list_files\x27\x20=\x20list\x20files\x20under\x20the\x20industry\x20directory;\x20'+'\x27read_file\x27\x20=\x20read\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20required);\x20'+'\x27write_file\x27\x20=\x20write\x20content\x20to\x20a\x20file\x20under\x20the\x20industry\x20directory\x20(path\x20+\x20content\x20required);\x20'+'\x27get\x27\x20=\x20return\x20registered\x20layer\x20data\x20for\x20an\x20industry\x20(name\x20required;\x20mode/dispute/compliance/supply/rules/playbook;\x20'+'an\x20optional\x20\x27layer\x27\x20selector\x20returns\x20ONE\x20layer\x20and\x20refuses\x20by\x20name\x20when\x20the\x20pack\x20does\x20not\x20register\x20it\x20—\x20'+'layer=\x27template\x27\x20reads\x20the\x20builtin\x20catalog\x20template\x20data\x20instead\x20of\x20pack\x20layers,\x20with\x20\x27template\x27\x20id\x20'+'optional\x20to\x20list\x20the\x20industry\x27s\x20templates);\x20'+'\x27diff\x27\x20=\x20compare\x20registered\x20vs\x20on-disk\x20manifest\x20version/layers\x20(name\x20required);\x20'+'\x27reset\x27\x20=\x20restore\x20a\x20file\x20or\x20entire\x20pack\x20folder\x20to\x20its\x20pristine\x20annotated\x20template\x20(path\x20required).\x20'+'\x27delete_file\x27\x20=\x20delete\x20a\x20file\x20or\x20directory\x20(path\x20required).\x20'+'\x27create_file\x27\x20=\x20create\x20an\x20empty\x20file\x20(path\x20required;\x20content\x20optional).\x20'+'\x27create_dir\x27\x20=\x20create\x20a\x20directory\x20recursively\x20(path\x20required).\x20'+'\x27copy\x27\x20=\x20copy\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x20'+'\x27move\x27\x20/\x20\x27rename\x27\x20=\x20move\x20or\x20rename\x20a\x20file\x20or\x20directory\x20(from\x20+\x20to\x20required).\x20'+'Mode\x20registry\x20(industry/scenario\x20configuration):\x20\x27recommend_industry\x27\x20=\x20business\x20intent\x20→\x20top-3\x20'+'similar\x20industries\x20+\x20reference\x20examples;\x20\x27list_modes\x27\x20=\x20builtin\x20+\x20custom\x20modes;\x20\x27derive_user_mode\x27\x20=\x20'+'derive\x20a\x20custom\x20mode\x20from\x20a\x20builtin;\x20\x27evolve_user_mode\x27\x20=\x20iterate\x20an\x20existing\x20custom\x20mode;\x20'+'\x27register_user_mode\x27\x20=\x20register\x20a\x20fully\x20custom\x20mode;\x20\x27unregister_user_mode\x27\x20=\x20delete\x20a\x20custom\x20mode;\x20'+'\x27register_custom_metric\x27\x20/\x20\x27register_custom_constraint\x27\x20=\x20register\x20global\x20evaluation\x20metric/constraint;\x20'+'\x27list_metrics_constraints\x27\x20=\x20list\x20metrics\x20+\x20constraints\x20(filterable).'),'name':z['string']()['optional']()['describe']('Industry\x20name\x20(lowercase\x20snake_case,\x20e.g.\x20\x27life_service\x27);\x20required\x20for\x20scaffold\x20and\x20get.'),'layer':z['enum'](['mode','match','dispute','compliance','supply','rules','playbook','template'])['optional']()['describe']('Optional\x20single-layer\x20selector\x20for\x20action=\x27get\x27.\x20Non-template\x20values\x20return\x20ONLY\x20that\x20registered\x20'+'pack\x20layer\x20and\x20refuse\x20with\x20a\x20named\x20error\x20when\x20the\x20pack\x20does\x20not\x20register\x20it\x20(stub\x20packs\x20carry\x20'+'only\x20mode/match).\x20\x27template\x27\x20reads\x20the\x20builtin\x20catalog:\x20with\x20\x27template\x27\x20set,\x20one\x20full\x20template\x20'+'projection;\x20without\x20it,\x20the\x20industry\x27s\x20template\x20summaries.'),'template':z['string']()['optional']()['describe']('Builtin\x20template\x20id\x20\x27<industry>/<variant>\x27\x20(e.g.\x20\x27rental/p2p-shortstay\x27);\x20used\x20with\x20'+'action=\x27get\x27\x20+\x20layer=\x27template\x27.'),'path':z['string']()['optional']()['describe']('Path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20read_file,\x20write_file,\x20reset,\x20create_file,\x20create_dir).'),'content':z['string']()['optional']()['describe']('Text\x20content\x20to\x20write\x20(required\x20for\x20write_file;\x20optional\x20for\x20create_file).'),'from':z['string']()['optional']()['describe']('Source\x20path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20copy/move/rename).'),'to':z['string']()['optional']()['describe']('Destination\x20path\x20relative\x20to\x20the\x20industry\x20root\x20(required\x20for\x20copy/move/rename).'),'authorize':z['boolean']()['optional']()['describe']('EXPLICIT\x20USER\x20AUTHORIZATION\x20(C5)\x20required\x20before\x20any\x20action\x20that\x20MODIFIES\x20a\x20user-editable\x20'+'template\x20file\x20(any\x20path\x20under\x20\x27<industry>/templates/\x27)\x20—\x20write_file\x20/\x20delete_file\x20/\x20reset\x20/\x20'+'move\x20/\x20rename\x20on\x20such\x20a\x20path,\x20copy\x20ONTO\x20an\x20existing\x20such\x20file,\x20and\x20every\x20'+'repair_builtin_templates\x20execution.\x20WITHOUT\x20this\x20flag\x20'+'the\x20action\x20refuses\x20(or\x20returns\x20a\x20plan-only\x20preview\x20for\x20repair_builtin_templates).\x20Set\x20it\x20ONLY\x20'+'after\x20the\x20user\x20has\x20explicitly\x20confirmed\x20the\x20specific\x20change\x20in\x20the\x20conversation.'),'include_user_edited':z['array'](z['string']()['min'](0x1))['max'](0x32)['optional']()['describe']('Builtin\x20template\x20ids\x20(\x27<industry>/<variant>\x27)\x20whose\x20USER-EDIT\x20PROTECTION\x20is\x20explicitly\x20lifted\x20'+'for\x20repair_builtin_templates\x20/\x20template_drift\x20(b9-2).\x20A\x20sentinel\x20whose\x20hash\x20no\x20longer\x20binds\x20'+'its\x20body\x20normally\x20locks\x20the\x20file\x20out\x20of\x20the\x20seed-upgrade\x20channel\x20(presumed\x20user\x20edit);\x20pass\x20'+'the\x20ids\x20the\x20user\x20EXPLICITLY\x20approved\x20for\x20reseed\x20after\x20reviewing\x20the\x20field-level\x20diff\x20—\x20e.g.\x20'+'machine-proven\x20provenance\x20rot\x20(stale\x20deployment\x20stamp\x20or\x20an\x20authorized\x20write\x20that\x20updated\x20'+'the\x20body\x20without\x20re-stamping).\x20The\x20list\x20IS\x20the\x20per-file\x20consent:\x20it\x20must\x20ride\x20BOTH\x20the\x20'+'plan-only\x20preview\x20and\x20the\x20authorize=true\x20execute\x20call.\x20Never\x20list\x20an\x20id\x20the\x20user\x20has\x20not\x20'+'personally\x20confirmed.'),...ModeRegistryFields})['strict']();export const IndustryPackOperationOutputSchema=z['object']({'result':z['discriminatedUnion']('action',[z['object']({'action':z['literal']('scaffold'),'ok':z['boolean']()['describe']('Whether\x20the\x20skeleton\x20was\x20created.'),'dir':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20pack\x20directory.'),'files':z['array'](z['string']())['describe']('Created\x20file\x20paths\x20(relative\x20to\x20dir).'),'errors':z['array'](z['string']())['describe']('Validation/creation\x20errors\x20(empty\x20=\x20ok).')}),z['object']({'action':z['literal']('list'),'packs':z['array'](z['object']({'name':z['string'](),'kind':z['enum'](['full','stub'])['describe']('\x27full\x27\x20=\x20a\x20real\x20pack\x20registering\x20at\x20least\x20one\x20business\x20layer\x20'+'(dispute/compliance/supply/rules/playbook);\x20\x27stub\x27\x20=\x20a\x20builtin-mode\x20alias\x20'+'carrying\x20only\x20mode/match\x20data\x20(its\x20missing\x20layers\x20are\x20named\x20by\x20`get`).'),'version':z['string'](),'layers':z['array'](z['string']()),'product_refs':z['array'](z['string']())['describe']('Reference\x20platforms\x20mirrored\x20by\x20the\x20pack\x27s\x20builtin\x20templates.'),'registered_at':z['number']()}))['describe']('Currently\x20registered\x20packs.')}),z['object']({'action':z['literal']('scan'),'results':z['array'](z['object']({'ok':z['boolean'](),'errors':z['array'](z['string']()),'registered':z['array'](z['string']())}))['describe']('One\x20registration\x20result\x20per\x20scanned\x20pack\x20directory.')}),z['object']({'action':z['literal']('repair_builtin_templates'),'dir':z['string'](),'reseeded_count':z['number']()['int']()['nonnegative'](),'requires_authorization':z['boolean']()['optional']()['describe']('true\x20when\x20the\x20call\x20was\x20a\x20plan-only\x20PREVIEW\x20(no\x20writes).\x20Re-call\x20with\x20authorize=true\x20'+'after\x20the\x20user\x20explicitly\x20confirms\x20to\x20execute\x20the\x20reseed.'),'results':z['array'](z['object']({'template':z['string'](),'status':z['string'](),'path':z['string'](),'detail':z['string']()['optional']()})),'note':z['string']()}),z['object']({'action':z['literal']('template_drift'),'dir':z['string'](),'drift_count':z['number']()['int']()['nonnegative'](),'drift':z['array'](z['object']({'template':z['string'](),'path':z['string'](),'state':z['string'](),'detail':z['string']()})),'note':z['string']()}),z['object']({'action':z['literal']('resolve'),'dir':z['string']()['describe']('Absolute\x20industry\x20root\x20directory.')}),z['object']({'action':z['literal']('list_files'),'dir':z['string']()['describe']('Absolute\x20industry\x20root\x20directory.'),'files':z['array'](z['object']({'path':z['string']()['describe']('Path\x20relative\x20to\x20the\x20industry\x20root.'),'is_dir':z['boolean'](),'size':z['number']()['describe']('File\x20size\x20in\x20bytes\x20(0\x20for\x20directories).'),'mtime':z['number']()['describe']('Last-modified\x20time\x20(epoch\x20ms).')}))['describe']('Files\x20under\x20the\x20industry\x20root.')}),z['object']({'action':z['literal']('read_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20read\x20file.'),'content':z['string']()['describe']('File\x20content\x20(text).')}),z['object']({'action':z['literal']('write_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20written\x20file.'),'ok':z['boolean']()['describe']('Whether\x20the\x20file\x20was\x20written.'),'restamped':z['boolean']()['optional']()['describe']('true\x20when\x20the\x20content\x20equaled\x20a\x20builtin\x20template\x27s\x20canonical\x20body\x20and\x20was\x20written\x20with\x20a\x20'+'fresh\x20release\x20stamp\x20(b9-2:\x20keeps\x20the\x20sentinel\x20hash\x20bound\x20so\x20the\x20seed-upgrade\x20channel\x20'+'stays\x20reachable).'),'note':z['string']()['optional']()['describe']('Human-readable\x20note\x20(set\x20when\x20restamped).')}),z['object']({'action':z['literal']('get'),'category':z['string']()['describe']('Industry\x20name.'),'layer':z['enum'](['mode','match','dispute','compliance','supply','rules','playbook','template'])['optional']()['describe']('Echoes\x20the\x20requested\x20single-layer\x20selector\x20(absent\x20=\x20full\x20projection).'),'kind':z['enum'](['full','stub'])['optional']()['describe']('Registered\x20pack\x20completeness\x20(M-K14):\x20absent\x20when\x20the\x20pack\x20is\x20not\x20registered.'),'layers':z['array'](z['string']())['optional']()['describe']('Layers\x20the\x20registered\x20pack\x20declares\x20(absent\x20when\x20the\x20pack\x20is\x20not\x20registered).'),'missing_layers':z['array'](z['string']())['optional']()['describe']('Standard\x20business\x20layers\x20NOT\x20registered\x20for\x20this\x20pack\x20(stub\x20packs\x20list\x20'+'dispute/compliance/supply/rules/playbook\x20here)\x20—\x20data\x20was\x20not\x20silently\x20omitted.'),'note':z['string']()['optional']()['describe']('Named\x20explanation\x20for\x20missing\x20layers\x20or\x20template\x20listing\x20scope.'),'template':z['unknown']()['optional']()['describe']('Full\x20builtin\x20catalog\x20template\x20projection\x20(get\x20+\x20layer=\x27template\x27\x20with\x20a\x20template\x20id).'),'templates':z['array'](z['object']({'id':z['string']()['describe']('Template\x20id\x20\x27<industry>/<variant>\x27.'),'variant':z['string'](),'product_ref':z['string']()['describe']('Benchmark\x20product\x20this\x20archetype\x20models.'),'key_risk':z['string']()['describe']('Primary\x20risk\x20this\x20template\x20mitigates.')}))['optional']()['describe']('Template\x20summaries\x20for\x20the\x20industry\x20(get\x20+\x20layer=\x27template\x27\x20without\x20a\x20template\x20id).'),'mode':z['object']({'name':z['string']()['describe']('Mode\x20name.'),'display_name':z['string']()['describe']('Mode\x20display\x20name.'),'key_risk':z['string']()['describe']('The\x20industry\x27s\x20dominant\x20risk.'),'needs':z['array'](z['string']())['describe']('Industry\x20need\x20descriptions\x20(satisfaction\x20requires\x20the\x20evaluation\x20puzzle).'),'analyze_questions':z['array'](z['string']())['optional']()['describe']('Industry-embedded\x20Analyze\x20key\x20questions\x20(max\x202)\x20—\x20the\x20fallback\x20'+'follow-ups\x20when\x20the\x20user\x27s\x20persona\x20has\x20none\x20embedded.')})['optional']()['describe']('Registered\x20industry\x20MODE\x20data\x20(key_risk/needs/analyze\x20defaults),\x20if\x20any.'),'dispute':z['unknown']()['optional']()['describe']('Registered\x20dispute\x20rules\x20(if\x20any).'),'compliance':z['unknown']()['optional']()['describe']('Registered\x20compliance\x20rules\x20(if\x20any).'),'supply':z['unknown']()['optional']()['describe']('Registered\x20supply\x20rules\x20(if\x20any).'),'rules':z['unknown']()['optional']()['describe']('Registered\x20declarative\x20industry\x20rules\x20(if\x20any).'),'playbook':z['unknown']()['optional']()['describe']('Registered\x20playbook\x20(if\x20any).')}),z['object']({'action':z['literal']('diff'),'name':z['string']()['describe']('Industry\x20name.'),'registered':z['object']({'version':z['string'](),'layers':z['array'](z['string']()),'registered_at':z['number']()})['nullable']()['describe']('Currently\x20registered\x20metadata.'),'disk':z['object']({'version':z['string'](),'layers':z['array'](z['string']())})['nullable']()['describe']('On-disk\x20manifest\x20metadata.'),'upgradable':z['boolean']()['describe']('Whether\x20the\x20on-disk\x20version\x20differs\x20from\x20registered.'),'layer_diff':z['object']({'added':z['array'](z['string']()),'removed':z['array'](z['string']())})['describe']('Layer\x20difference\x20(disk\x20vs\x20registered).')}),z['object']({'action':z['literal']('reset'),'ok':z['boolean']()['describe']('Whether\x20reset\x20succeeded.'),'layout':z['enum'](['merged','legacy'])['describe']('Layout\x20format\x20that\x20was\x20restored:\x20\x27merged\x27\x20(single\x20pack.json\x20+\x20playbook.md)\x20or\x20\x27legacy\x27\x20(split\x20files).'),'target':z['string']()['describe']('Normalised\x20reset\x20target\x20path\x20(pack\x20name\x20or\x20file).'),'restored_files':z['array'](z['string']())['describe']('Files\x20that\x20were\x20restored\x20to\x20pristine\x20annotated\x20templates.'),'errors':z['array'](z['string']())['describe']('Errors\x20encountered\x20during\x20reset.')}),z['object']({'action':z['literal']('delete_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20deleted\x20file\x20or\x20directory.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('create_file'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20file.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('create_dir'),'path':z['string']()['describe']('Absolute\x20path\x20of\x20the\x20created\x20directory.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('copy'),'from':z['string']()['describe']('Absolute\x20source\x20path.'),'to':z['string']()['describe']('Absolute\x20destination\x20path.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('move'),'from':z['string']()['describe']('Absolute\x20source\x20path.'),'to':z['string']()['describe']('Absolute\x20destination\x20path.'),'ok':z['boolean']()}),z['object']({'action':z['literal']('rename'),'from':z['string']()['describe']('Absolute\x20old\x20path.'),'to':z['string']()['describe']('Absolute\x20new\x20path.'),'ok':z['boolean']()}),...[RecommendIndustryResultSchema,ListModesResultSchema,DeriveUserModeResultSchema,EvolveUserModeResultSchema,RegisterUserModeResultSchema,UnregisterUserModeResultSchema,RegisterCustomMetricResultSchema,UnregisterCustomMetricResultSchema,RegisterCustomConstraintResultSchema,UnregisterCustomConstraintResultSchema,ListMetricsConstraintsResultSchema]])})['strict']();
|
|
@@ -16,6 +16,7 @@ export declare const IntentRadarInputSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
16
16
|
TreasuryEvent: "TreasuryEvent";
|
|
17
17
|
RewardClaimEvent: "RewardClaimEvent";
|
|
18
18
|
RewardFundEvent: "RewardFundEvent";
|
|
19
|
+
RewardWithdrawEvent: "RewardWithdrawEvent";
|
|
19
20
|
AllocationEvent: "AllocationEvent";
|
|
20
21
|
NewPaymentEvent: "NewPaymentEvent";
|
|
21
22
|
NewOrderEvent: "NewOrderEvent";
|
|
@@ -29,6 +30,8 @@ export declare const IntentRadarInputSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
29
30
|
DemandChangedEvent: "DemandChangedEvent";
|
|
30
31
|
VoteEvent: "VoteEvent";
|
|
31
32
|
FeedbackEvent: "FeedbackEvent";
|
|
33
|
+
PermissionChangedEvent: "PermissionChangedEvent";
|
|
34
|
+
RepositoryDataOverwriteEvent: "RepositoryDataOverwriteEvent";
|
|
32
35
|
}>>>;
|
|
33
36
|
}, z.core.$strict>, z.ZodObject<{
|
|
34
37
|
action: z.ZodLiteral<"list">;
|
|
@@ -68,6 +71,7 @@ export declare const IntentRadarOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
68
71
|
TreasuryEvent: "TreasuryEvent";
|
|
69
72
|
RewardClaimEvent: "RewardClaimEvent";
|
|
70
73
|
RewardFundEvent: "RewardFundEvent";
|
|
74
|
+
RewardWithdrawEvent: "RewardWithdrawEvent";
|
|
71
75
|
AllocationEvent: "AllocationEvent";
|
|
72
76
|
NewPaymentEvent: "NewPaymentEvent";
|
|
73
77
|
NewOrderEvent: "NewOrderEvent";
|
|
@@ -81,6 +85,8 @@ export declare const IntentRadarOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
81
85
|
DemandChangedEvent: "DemandChangedEvent";
|
|
82
86
|
VoteEvent: "VoteEvent";
|
|
83
87
|
FeedbackEvent: "FeedbackEvent";
|
|
88
|
+
PermissionChangedEvent: "PermissionChangedEvent";
|
|
89
|
+
RepositoryDataOverwriteEvent: "RepositoryDataOverwriteEvent";
|
|
84
90
|
}>>;
|
|
85
91
|
created_at: z.ZodNumber;
|
|
86
92
|
updated_at: z.ZodNumber;
|
|
@@ -106,6 +112,7 @@ export declare const IntentRadarOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
106
112
|
TreasuryEvent: "TreasuryEvent";
|
|
107
113
|
RewardClaimEvent: "RewardClaimEvent";
|
|
108
114
|
RewardFundEvent: "RewardFundEvent";
|
|
115
|
+
RewardWithdrawEvent: "RewardWithdrawEvent";
|
|
109
116
|
AllocationEvent: "AllocationEvent";
|
|
110
117
|
NewPaymentEvent: "NewPaymentEvent";
|
|
111
118
|
NewOrderEvent: "NewOrderEvent";
|
|
@@ -119,6 +126,8 @@ export declare const IntentRadarOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
119
126
|
DemandChangedEvent: "DemandChangedEvent";
|
|
120
127
|
VoteEvent: "VoteEvent";
|
|
121
128
|
FeedbackEvent: "FeedbackEvent";
|
|
129
|
+
PermissionChangedEvent: "PermissionChangedEvent";
|
|
130
|
+
RepositoryDataOverwriteEvent: "RepositoryDataOverwriteEvent";
|
|
122
131
|
}>>;
|
|
123
132
|
created_at: z.ZodNumber;
|
|
124
133
|
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','DemandPresentEvent','DemandFeedbackEvent','DemandChangedEvent','ServiceEvent','ArbitrationEvent','NewEntityEvent','ArbEvent','VoteEvent','FeedbackEvent','AllocationEvent','TreasuryEvent','RewardClaimEvent','RewardFundEvent','NewPaymentEvent']),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','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']()]);
|
|
@@ -810,6 +810,7 @@ export declare const QueryAccountResultSchema: z.ZodObject<{
|
|
|
810
810
|
hasNextPage: z.ZodBoolean;
|
|
811
811
|
nextCursor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
812
812
|
}, z.core.$strip>>;
|
|
813
|
+
_balance_scope_note: z.ZodOptional<z.ZodString>;
|
|
813
814
|
}, z.core.$strip>;
|
|
814
815
|
export declare const AccountOperationSchema: z.ZodObject<{
|
|
815
816
|
gen: z.ZodOptional<z.ZodObject<{
|
|
@@ -1849,13 +1850,16 @@ export declare const AccountOperationOutputSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
1849
1850
|
network_error: "network_error";
|
|
1850
1851
|
rate_limit: "rate_limit";
|
|
1851
1852
|
gas_exceeded: "gas_exceeded";
|
|
1853
|
+
insufficient_gas: "insufficient_gas";
|
|
1852
1854
|
bcs_error: "bcs_error";
|
|
1853
1855
|
signature_error: "signature_error";
|
|
1854
1856
|
config_error: "config_error";
|
|
1855
1857
|
wip_verification_failed: "wip_verification_failed";
|
|
1856
1858
|
wip_storage_unavailable: "wip_storage_unavailable";
|
|
1859
|
+
wip_storage_rejected: "wip_storage_rejected";
|
|
1857
1860
|
submission_unknown: "submission_unknown";
|
|
1858
1861
|
move_abort_unmapped: "move_abort_unmapped";
|
|
1862
|
+
missing_data: "missing_data";
|
|
1859
1863
|
}>>;
|
|
1860
1864
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1861
1865
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -2237,13 +2241,16 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
2237
2241
|
network_error: "network_error";
|
|
2238
2242
|
rate_limit: "rate_limit";
|
|
2239
2243
|
gas_exceeded: "gas_exceeded";
|
|
2244
|
+
insufficient_gas: "insufficient_gas";
|
|
2240
2245
|
bcs_error: "bcs_error";
|
|
2241
2246
|
signature_error: "signature_error";
|
|
2242
2247
|
config_error: "config_error";
|
|
2243
2248
|
wip_verification_failed: "wip_verification_failed";
|
|
2244
2249
|
wip_storage_unavailable: "wip_storage_unavailable";
|
|
2250
|
+
wip_storage_rejected: "wip_storage_rejected";
|
|
2245
2251
|
submission_unknown: "submission_unknown";
|
|
2246
2252
|
move_abort_unmapped: "move_abort_unmapped";
|
|
2253
|
+
missing_data: "missing_data";
|
|
2247
2254
|
}>>;
|
|
2248
2255
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2249
2256
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -2677,13 +2684,16 @@ export declare const LocalMarkOperationOutputSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
2677
2684
|
network_error: "network_error";
|
|
2678
2685
|
rate_limit: "rate_limit";
|
|
2679
2686
|
gas_exceeded: "gas_exceeded";
|
|
2687
|
+
insufficient_gas: "insufficient_gas";
|
|
2680
2688
|
bcs_error: "bcs_error";
|
|
2681
2689
|
signature_error: "signature_error";
|
|
2682
2690
|
config_error: "config_error";
|
|
2683
2691
|
wip_verification_failed: "wip_verification_failed";
|
|
2684
2692
|
wip_storage_unavailable: "wip_storage_unavailable";
|
|
2693
|
+
wip_storage_rejected: "wip_storage_rejected";
|
|
2685
2694
|
submission_unknown: "submission_unknown";
|
|
2686
2695
|
move_abort_unmapped: "move_abort_unmapped";
|
|
2696
|
+
missing_data: "missing_data";
|
|
2687
2697
|
}>>;
|
|
2688
2698
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2689
2699
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -2731,13 +2741,16 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
2731
2741
|
network_error: "network_error";
|
|
2732
2742
|
rate_limit: "rate_limit";
|
|
2733
2743
|
gas_exceeded: "gas_exceeded";
|
|
2744
|
+
insufficient_gas: "insufficient_gas";
|
|
2734
2745
|
bcs_error: "bcs_error";
|
|
2735
2746
|
signature_error: "signature_error";
|
|
2736
2747
|
config_error: "config_error";
|
|
2737
2748
|
wip_verification_failed: "wip_verification_failed";
|
|
2738
2749
|
wip_storage_unavailable: "wip_storage_unavailable";
|
|
2750
|
+
wip_storage_rejected: "wip_storage_rejected";
|
|
2739
2751
|
submission_unknown: "submission_unknown";
|
|
2740
2752
|
move_abort_unmapped: "move_abort_unmapped";
|
|
2753
|
+
missing_data: "missing_data";
|
|
2741
2754
|
}>>;
|
|
2742
2755
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2743
2756
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -3149,13 +3162,16 @@ export declare const LocalInfoOperationOutputSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3149
3162
|
network_error: "network_error";
|
|
3150
3163
|
rate_limit: "rate_limit";
|
|
3151
3164
|
gas_exceeded: "gas_exceeded";
|
|
3165
|
+
insufficient_gas: "insufficient_gas";
|
|
3152
3166
|
bcs_error: "bcs_error";
|
|
3153
3167
|
signature_error: "signature_error";
|
|
3154
3168
|
config_error: "config_error";
|
|
3155
3169
|
wip_verification_failed: "wip_verification_failed";
|
|
3156
3170
|
wip_storage_unavailable: "wip_storage_unavailable";
|
|
3171
|
+
wip_storage_rejected: "wip_storage_rejected";
|
|
3157
3172
|
submission_unknown: "submission_unknown";
|
|
3158
3173
|
move_abort_unmapped: "move_abort_unmapped";
|
|
3174
|
+
missing_data: "missing_data";
|
|
3159
3175
|
}>>;
|
|
3160
3176
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3161
3177
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -3186,13 +3202,16 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
3186
3202
|
network_error: "network_error";
|
|
3187
3203
|
rate_limit: "rate_limit";
|
|
3188
3204
|
gas_exceeded: "gas_exceeded";
|
|
3205
|
+
insufficient_gas: "insufficient_gas";
|
|
3189
3206
|
bcs_error: "bcs_error";
|
|
3190
3207
|
signature_error: "signature_error";
|
|
3191
3208
|
config_error: "config_error";
|
|
3192
3209
|
wip_verification_failed: "wip_verification_failed";
|
|
3193
3210
|
wip_storage_unavailable: "wip_storage_unavailable";
|
|
3211
|
+
wip_storage_rejected: "wip_storage_rejected";
|
|
3194
3212
|
submission_unknown: "submission_unknown";
|
|
3195
3213
|
move_abort_unmapped: "move_abort_unmapped";
|
|
3214
|
+
missing_data: "missing_data";
|
|
3196
3215
|
}>>;
|
|
3197
3216
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3198
3217
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -3625,13 +3644,16 @@ export declare const LocalHistoryOperationOutputSchema: z.ZodDiscriminatedUnion<
|
|
|
3625
3644
|
network_error: "network_error";
|
|
3626
3645
|
rate_limit: "rate_limit";
|
|
3627
3646
|
gas_exceeded: "gas_exceeded";
|
|
3647
|
+
insufficient_gas: "insufficient_gas";
|
|
3628
3648
|
bcs_error: "bcs_error";
|
|
3629
3649
|
signature_error: "signature_error";
|
|
3630
3650
|
config_error: "config_error";
|
|
3631
3651
|
wip_verification_failed: "wip_verification_failed";
|
|
3632
3652
|
wip_storage_unavailable: "wip_storage_unavailable";
|
|
3653
|
+
wip_storage_rejected: "wip_storage_rejected";
|
|
3633
3654
|
submission_unknown: "submission_unknown";
|
|
3634
3655
|
move_abort_unmapped: "move_abort_unmapped";
|
|
3656
|
+
missing_data: "missing_data";
|
|
3635
3657
|
}>>;
|
|
3636
3658
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3637
3659
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -3683,13 +3705,16 @@ export declare const LocalHistoryOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
3683
3705
|
network_error: "network_error";
|
|
3684
3706
|
rate_limit: "rate_limit";
|
|
3685
3707
|
gas_exceeded: "gas_exceeded";
|
|
3708
|
+
insufficient_gas: "insufficient_gas";
|
|
3686
3709
|
bcs_error: "bcs_error";
|
|
3687
3710
|
signature_error: "signature_error";
|
|
3688
3711
|
config_error: "config_error";
|
|
3689
3712
|
wip_verification_failed: "wip_verification_failed";
|
|
3690
3713
|
wip_storage_unavailable: "wip_storage_unavailable";
|
|
3714
|
+
wip_storage_rejected: "wip_storage_rejected";
|
|
3691
3715
|
submission_unknown: "submission_unknown";
|
|
3692
3716
|
move_abort_unmapped: "move_abort_unmapped";
|
|
3717
|
+
missing_data: "missing_data";
|
|
3693
3718
|
}>>;
|
|
3694
3719
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3695
3720
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -4179,13 +4204,16 @@ export declare const LocalCacheOperationOutputSchema: z.ZodDiscriminatedUnion<[z
|
|
|
4179
4204
|
network_error: "network_error";
|
|
4180
4205
|
rate_limit: "rate_limit";
|
|
4181
4206
|
gas_exceeded: "gas_exceeded";
|
|
4207
|
+
insufficient_gas: "insufficient_gas";
|
|
4182
4208
|
bcs_error: "bcs_error";
|
|
4183
4209
|
signature_error: "signature_error";
|
|
4184
4210
|
config_error: "config_error";
|
|
4185
4211
|
wip_verification_failed: "wip_verification_failed";
|
|
4186
4212
|
wip_storage_unavailable: "wip_storage_unavailable";
|
|
4213
|
+
wip_storage_rejected: "wip_storage_rejected";
|
|
4187
4214
|
submission_unknown: "submission_unknown";
|
|
4188
4215
|
move_abort_unmapped: "move_abort_unmapped";
|
|
4216
|
+
missing_data: "missing_data";
|
|
4189
4217
|
}>>;
|
|
4190
4218
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
4191
4219
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
@@ -4235,13 +4263,16 @@ export declare const LocalCacheOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
4235
4263
|
network_error: "network_error";
|
|
4236
4264
|
rate_limit: "rate_limit";
|
|
4237
4265
|
gas_exceeded: "gas_exceeded";
|
|
4266
|
+
insufficient_gas: "insufficient_gas";
|
|
4238
4267
|
bcs_error: "bcs_error";
|
|
4239
4268
|
signature_error: "signature_error";
|
|
4240
4269
|
config_error: "config_error";
|
|
4241
4270
|
wip_verification_failed: "wip_verification_failed";
|
|
4242
4271
|
wip_storage_unavailable: "wip_storage_unavailable";
|
|
4272
|
+
wip_storage_rejected: "wip_storage_rejected";
|
|
4243
4273
|
submission_unknown: "submission_unknown";
|
|
4244
4274
|
move_abort_unmapped: "move_abort_unmapped";
|
|
4275
|
+
missing_data: "missing_data";
|
|
4245
4276
|
}>>;
|
|
4246
4277
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
4247
4278
|
recovery_hint: z.ZodOptional<z.ZodString>;
|