@wowok/agent-mcp 2.7.10 → 3.0.1
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/communication/evidence.d.ts +6 -0
- package/dist/communication/evidence.js +1 -0
- package/dist/evaluation/acceptance.d.ts +24 -0
- package/dist/evaluation/acceptance.js +1 -0
- package/dist/evaluation/builtins/demand-match.d.ts +3 -2
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/service-risk.d.ts +2 -1
- package/dist/evaluation/builtins/service-risk.js +1 -1
- package/dist/evaluation/index.d.ts +1 -0
- package/dist/evaluation/index.js +1 -1
- package/dist/evaluation/match-operation.d.ts +14 -0
- package/dist/evaluation/match-operation.js +1 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/capability-manifest.d.ts +1 -82
- package/dist/extensions/capability-manifest.js +1 -1
- package/dist/extensions/constraint-registry.d.ts +6 -4
- package/dist/extensions/constraint-registry.js +1 -1
- package/dist/extensions/index.d.ts +4 -5
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/metric-registry.d.ts +6 -4
- package/dist/extensions/metric-registry.js +1 -1
- package/dist/extensions/mode-evaluator.d.ts +2 -3
- package/dist/extensions/mode-evaluator.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/extensions/registry.d.ts +3 -25
- package/dist/extensions/registry.js +1 -1
- package/dist/extensions/types.d.ts +0 -68
- package/dist/goal/GoalClassifier.js +1 -1
- package/dist/goal/GoalEngine.d.ts +44 -1
- package/dist/goal/GoalEngine.js +1 -1
- package/dist/goal/types.d.ts +5 -1
- package/dist/harness/auto-escalation.d.ts +0 -12
- package/dist/harness/auto-escalation.js +1 -1
- package/dist/harness/index.d.ts +1 -14
- package/dist/harness/index.js +1 -1
- package/dist/harness/types.d.ts +0 -38
- package/dist/keeper/KeeperScan.d.ts +39 -0
- package/dist/keeper/KeeperScan.js +1 -0
- package/dist/keeper/KeeperStore.d.ts +43 -0
- package/dist/keeper/KeeperStore.js +1 -0
- package/dist/keeper/detectors.d.ts +23 -0
- package/dist/keeper/detectors.js +1 -0
- package/dist/keeper/keeper.spec.d.ts +1 -0
- package/dist/keeper/keeper.spec.js +1 -0
- package/dist/keeper/types.d.ts +65 -0
- package/dist/keeper/types.js +1 -0
- package/dist/knowledge/account-marks.d.ts +1 -0
- package/dist/knowledge/account-marks.js +1 -1
- package/dist/knowledge/demand-risk.js +1 -1
- package/dist/knowledge/event-semantics.d.ts +3 -0
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/event-semantics.spec.d.ts +1 -0
- package/dist/knowledge/event-semantics.spec.js +1 -0
- package/dist/knowledge/evidence-review.d.ts +23 -0
- package/dist/knowledge/evidence-review.js +1 -1
- package/dist/knowledge/examples-scanner-cli.js +1 -1
- package/dist/knowledge/examples-scanner.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +13 -9
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/goal-completion.js +1 -1
- package/dist/knowledge/guard-bindings.d.ts +21 -0
- package/dist/knowledge/guard-bindings.js +1 -0
- package/dist/knowledge/guard-bytecode-spec.d.ts +82 -0
- package/dist/knowledge/guard-bytecode-spec.js +1 -0
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/index.d.ts +13 -7
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
- package/dist/knowledge/mcp-schema-audit.js +1 -1
- package/dist/knowledge/reward-risk.d.ts +1 -1
- package/dist/knowledge/reward-risk.js +1 -1
- package/dist/knowledge/safety-rules.d.ts +2 -1
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +1 -1
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/scenario-topology.d.ts +43 -0
- package/dist/knowledge/scenario-topology.js +1 -0
- package/dist/knowledge/supply-chain.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +55 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/knowledge/workspace-lists.d.ts +1 -0
- package/dist/knowledge/workspace-lists.js +1 -1
- package/dist/monitor/MonitorLoop.d.ts +3 -0
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/monitor/ScopeResolver.js +1 -1
- package/dist/monitor/SuggestionBridge.d.ts +38 -0
- package/dist/monitor/SuggestionBridge.js +1 -0
- package/dist/monitor/SuggestionBridge.spec.d.ts +1 -0
- package/dist/monitor/SuggestionBridge.spec.js +1 -0
- package/dist/monitor/types.d.ts +0 -1
- package/dist/monitor/types.js +1 -1
- package/dist/participation/arbitrator-interest.d.ts +20 -0
- package/dist/participation/arbitrator-interest.js +1 -0
- package/dist/participation/demander-interest.d.ts +23 -0
- package/dist/participation/demander-interest.js +1 -0
- package/dist/participation/employee-kpi.d.ts +12 -0
- package/dist/participation/employee-kpi.js +1 -1
- package/dist/participation/employee-kpi.spec.d.ts +1 -0
- package/dist/participation/employee-kpi.spec.js +1 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/context-assembly.js +1 -1
- package/dist/playbooks/service-build/machine-nodes.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +20 -0
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/mode-actions.d.ts +30 -12
- package/dist/playbooks/service-build/mode-actions.js +1 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.d.ts +2 -0
- package/dist/playbooks/service-build/relationship-profile.js +1 -0
- package/dist/playbooks/service-build/semantic-graph.d.ts +5 -1
- package/dist/playbooks/service-build/semantic-graph.js +1 -1
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/relationship/derivation.d.ts +94 -0
- package/dist/relationship/derivation.js +1 -0
- package/dist/relationship/derivation.spec.d.ts +1 -0
- package/dist/relationship/derivation.spec.js +1 -0
- package/dist/relationship/incentive.d.ts +38 -0
- package/dist/relationship/incentive.js +1 -0
- package/dist/relationship/index.d.ts +4 -0
- package/dist/relationship/index.js +1 -0
- package/dist/relationship/registry.d.ts +13 -0
- package/dist/relationship/registry.js +1 -0
- package/dist/relationship/types.d.ts +45 -0
- package/dist/relationship/types.js +1 -0
- package/dist/review/progress.js +1 -1
- package/dist/role/index.d.ts +2 -2
- package/dist/role/index.js +1 -1
- package/dist/role/model.d.ts +2 -1
- package/dist/role/model.js +1 -1
- package/dist/role/types.d.ts +5 -0
- package/dist/rules.d.ts +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/safety/preview.js +1 -1
- package/dist/schema/call/bridge.d.ts +25 -3
- package/dist/schema/call/bridge.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/employee/index.d.ts +61 -1
- package/dist/schema/employee/index.js +1 -1
- package/dist/schema/evaluation/index.d.ts +70 -5
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +40 -14
- package/dist/schema/goal/index.js +1 -1
- package/dist/schema/goal/planning.d.ts +6 -6
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +59 -7
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/industry-pack/modes.d.ts +59 -7
- package/dist/schema/industry-pack/modes.js +1 -1
- package/dist/schema/intent-radar/index.d.ts +19 -19
- package/dist/schema/keeper/index.d.ts +475 -0
- package/dist/schema/keeper/index.js +1 -0
- package/dist/schema/local/index.d.ts +11 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +2 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +64 -16
- package/dist/schema/persona/index.d.ts +1 -1
- package/dist/schema/query/bi.d.ts +244 -16
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +2 -2
- package/dist/schema/schema-query/index.d.ts +2 -11
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/utils/skills-recommendation.js +1 -1
- package/dist/schema/watch/index.d.ts +4 -0
- package/dist/schema/watch/index.js +1 -1
- package/dist/schema-query-impl/index.d.ts +33 -14
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +29 -0
- package/dist/schemas/account_operation.schema.json +6 -2
- package/dist/schemas/bridge_operation.output.json +24 -1
- package/dist/schemas/bridge_operation.schema.json +73 -1
- package/dist/schemas/employee_operation.output.json +100 -0
- package/dist/schemas/employee_operation.schema.json +148 -5
- package/dist/schemas/evaluation_operation.output.json +135 -9
- package/dist/schemas/evaluation_operation.schema.json +176 -7
- package/dist/schemas/goal_operation.schema.json +76 -0
- package/dist/schemas/index.json +7 -1
- package/dist/schemas/industry_pack_operation.output.json +172 -27
- package/dist/schemas/industry_pack_operation.schema.json +19 -0
- package/dist/schemas/keeper_operation.output.json +1274 -0
- package/dist/schemas/keeper_operation.schema.json +359 -0
- package/dist/schemas/messenger_operation.schema.json +8 -0
- package/dist/schemas/onchain_events.output.json +1 -1
- package/dist/schemas/onchain_operations.schema.json +41 -41
- package/dist/schemas/onchain_operations_allocation.schema.json +4 -4
- package/dist/schemas/onchain_operations_arbitration.schema.json +3 -3
- package/dist/schemas/onchain_operations_contact.schema.json +2 -2
- package/dist/schemas/onchain_operations_demand.schema.json +2 -2
- package/dist/schemas/onchain_operations_machine.schema.json +2 -2
- package/dist/schemas/onchain_operations_order.schema.json +2 -2
- package/dist/schemas/onchain_operations_payment.schema.json +1 -1
- package/dist/schemas/onchain_operations_permission.schema.json +2 -2
- package/dist/schemas/onchain_operations_progress.schema.json +2 -2
- package/dist/schemas/onchain_operations_repository.schema.json +2 -2
- package/dist/schemas/onchain_operations_reward.schema.json +6 -6
- package/dist/schemas/onchain_operations_service.schema.json +7 -7
- package/dist/schemas/onchain_operations_treasury.schema.json +6 -6
- package/dist/schemas/onchain_table_data.output.json +71 -0
- package/dist/schemas/query_toolkit.output.json +485 -7
- package/dist/schemas/query_toolkit.schema.json +71 -0
- package/dist/schemas/schema_query.output.json +1 -64
- package/dist/schemas/schema_query.schema.json +18 -3
- package/dist/schemas/watch_operation.output.json +21 -1
- package/dist/task/ProcessStore.d.ts +18 -1
- package/dist/task/ProcessStore.js +1 -1
- package/dist/task/playbook.js +1 -1
- package/dist/task/types.d.ts +24 -0
- package/dist/tools/handlers/bridge.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/employee.d.ts +6 -0
- package/dist/tools/handlers/employee.js +1 -1
- package/dist/tools/handlers/employee.spec.d.ts +1 -0
- package/dist/tools/handlers/employee.spec.js +1 -0
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.d.ts +1 -0
- package/dist/tools/handlers/evaluation.spec.js +1 -0
- package/dist/tools/handlers/goal.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/keeper.d.ts +12 -0
- package/dist/tools/handlers/keeper.js +1 -0
- package/dist/tools/handlers/local.d.ts +4 -3
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/permission.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/handlers/watch.js +1 -1
- package/dist/tools/handlers/workflow.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/agent.d.ts +2 -0
- package/dist/tools/registry/agent.js +1 -0
- package/dist/tools/registry/bridge.d.ts +2 -0
- package/dist/tools/registry/bridge.js +1 -0
- package/dist/tools/registry/business.d.ts +2 -0
- package/dist/tools/registry/business.js +1 -0
- package/dist/tools/registry/config.d.ts +2 -0
- package/dist/tools/registry/config.js +1 -0
- package/dist/tools/registry/files.d.ts +2 -0
- package/dist/tools/registry/files.js +1 -0
- package/dist/tools/registry/identity.d.ts +2 -0
- package/dist/tools/registry/identity.js +1 -0
- package/dist/tools/registry/local.d.ts +2 -0
- package/dist/tools/registry/local.js +1 -0
- package/dist/tools/registry/messenger.d.ts +2 -0
- package/dist/tools/registry/messenger.js +1 -0
- package/dist/tools/registry/monitor.d.ts +2 -0
- package/dist/tools/registry/monitor.js +1 -0
- package/dist/tools/registry/onchain.d.ts +2 -0
- package/dist/tools/registry/onchain.js +1 -0
- package/dist/tools/registry/query.d.ts +2 -0
- package/dist/tools/registry/query.js +1 -0
- package/dist/tools/registry/trust.d.ts +2 -0
- package/dist/tools/registry/trust.js +1 -0
- package/dist/tools/rules-hook.d.ts +1 -0
- package/dist/tools/rules-hook.js +1 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
- package/dist/examples/arbitration-dispute-create.json +0 -41
- package/dist/examples/arbitration-vote-weighted.json +0 -35
- package/dist/examples/arbitration-voting-guard-add.json +0 -38
- package/dist/examples/demand-present-service.json +0 -33
- package/dist/examples/education-contact-create.json +0 -40
- package/dist/examples/freelance-contact-create.json +0 -40
- package/dist/examples/gen-passport-verify-guard.json +0 -48
- package/dist/examples/guard-template-balance-check.json +0 -59
- package/dist/examples/guard-template-time-lock.json +0 -60
- package/dist/examples/insurance-guard-claim-timelock.json +0 -75
- package/dist/examples/insurance-guard-withdraw-allocation.json +0 -96
- package/dist/examples/insurance-machine-create.json +0 -75
- package/dist/examples/insurance-service-allocators.json +0 -55
- package/dist/examples/machine-multisig-threshold.json +0 -87
- package/dist/examples/machine-publish.json +0 -30
- package/dist/examples/machine-template-7node-rental.json +0 -119
- package/dist/examples/payment-scenario-bound.json +0 -45
- package/dist/examples/rental-ziroom-machine-create.json +0 -148
- package/dist/examples/rental-ziroom-permission-create.json +0 -41
- package/dist/examples/rental-ziroom-service-create.json +0 -36
- package/dist/examples/retail-adv-guard-customer-win-create.json +0 -80
- package/dist/examples/retail-adv-guard-messenger-proof-create.json +0 -65
- package/dist/examples/retail-adv-guard-reward-timeout-create.json +0 -92
- package/dist/examples/retail-adv-reward-guard-add.json +0 -51
- package/dist/examples/retail-myshop-allocation-activate.json +0 -55
- package/dist/examples/retail-myshop-arbitration-create.json +0 -40
- package/dist/examples/retail-myshop-contact-create.json +0 -43
- package/dist/examples/retail-myshop-order-create.json +0 -56
- package/dist/examples/retail-myshop-progress-operate.json +0 -38
- package/dist/examples/retail-myshop-reward-create.json +0 -35
- package/dist/examples/retail-myshop-service-create.json +0 -38
- package/dist/examples/retail-myshop-service-customer-required.json +0 -31
- package/dist/examples/service-discount-issue.json +0 -46
- package/dist/examples/subscription-contact-create.json +0 -40
- package/dist/examples/threebody-guard-create.json +0 -56
- package/dist/examples/threebody-machine-create.json +0 -71
- package/dist/examples/threebody-permission-create.json +0 -38
- package/dist/examples/threebody-service-allocators.json +0 -48
- package/dist/examples/travel-guard-time-lock.json +0 -69
- package/dist/examples/travel-guard-weather-oracle.json +0 -70
- package/dist/examples/travel-machine-create.json +0 -135
- package/dist/examples/travel-repository-create.json +0 -47
- package/dist/examples/travel-service-create.json +0 -34
- package/dist/examples/travel-treasury-create.json +0 -34
- package/dist/examples/treasury-deposit.json +0 -37
- package/dist/examples/treasury-withdraw.json +0 -38
- package/dist/harness/plan.d.ts +0 -33
- package/dist/harness/plan.js +0 -1
- package/dist/knowledge/demand-matching.d.ts +0 -29
- package/dist/knowledge/demand-matching.js +0 -1
- package/dist/knowledge/guard-context.d.ts +0 -56
- package/dist/knowledge/guard-context.js +0 -1
- package/dist/knowledge/guard-migration.d.ts +0 -48
- package/dist/knowledge/guard-migration.js +0 -1
- package/dist/mode-market/index.d.ts +0 -3
- package/dist/mode-market/index.js +0 -1
- package/dist/mode-market/registry.d.ts +0 -53
- package/dist/mode-market/registry.js +0 -1
- package/dist/mode-market/review.d.ts +0 -27
- package/dist/mode-market/review.js +0 -1
- package/dist/mode-market/submission.d.ts +0 -25
- package/dist/mode-market/submission.js +0 -1
- package/dist/schemas/guard-node-schema.json +0 -1000
- package/dist/task/stage-gate.d.ts +0 -22
- package/dist/task/stage-gate.js +0 -1
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const KeeperOperationInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
action: z.ZodLiteral<"tasks">;
|
|
4
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
5
|
+
pending: "pending";
|
|
6
|
+
dismissed: "dismissed";
|
|
7
|
+
executed: "executed";
|
|
8
|
+
superseded: "superseded";
|
|
9
|
+
}>>;
|
|
10
|
+
detector: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
payment_unclaimed: "payment_unclaimed";
|
|
12
|
+
progress_actionable: "progress_actionable";
|
|
13
|
+
}>>;
|
|
14
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
19
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
20
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
21
|
+
}>>;
|
|
22
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
23
|
+
action: z.ZodLiteral<"dismiss">;
|
|
24
|
+
task_ids: z.ZodArray<z.ZodString>;
|
|
25
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
27
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
28
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
29
|
+
}>>;
|
|
30
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
31
|
+
action: z.ZodLiteral<"execute">;
|
|
32
|
+
task_id: z.ZodString;
|
|
33
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
35
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
36
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
37
|
+
}>>;
|
|
38
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
39
|
+
action: z.ZodLiteral<"rules">;
|
|
40
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
41
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
42
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
43
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
44
|
+
}>>;
|
|
45
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
46
|
+
action: z.ZodLiteral<"rule_set">;
|
|
47
|
+
rule_id: z.ZodOptional<z.ZodString>;
|
|
48
|
+
detector: z.ZodEnum<{
|
|
49
|
+
payment_unclaimed: "payment_unclaimed";
|
|
50
|
+
progress_actionable: "progress_actionable";
|
|
51
|
+
}>;
|
|
52
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
|
+
auto_execute: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
note: z.ZodOptional<z.ZodString>;
|
|
56
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
57
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
58
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
59
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
60
|
+
}>>;
|
|
61
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
62
|
+
action: z.ZodLiteral<"rule_remove">;
|
|
63
|
+
rule_id: z.ZodString;
|
|
64
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
65
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
66
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
67
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
68
|
+
}>>;
|
|
69
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
70
|
+
action: z.ZodLiteral<"config">;
|
|
71
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
73
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
74
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
75
|
+
}>>;
|
|
76
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
77
|
+
action: z.ZodLiteral<"config_set">;
|
|
78
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
+
detectors: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
payment_unclaimed: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
+
progress_actionable: z.ZodOptional<z.ZodBoolean>;
|
|
82
|
+
}, z.core.$strict>>;
|
|
83
|
+
scan_interval_ms: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
max_scan_objects: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
max_auto_execute_per_scan: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
auto_retry_cooldown_ms: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
88
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
89
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
90
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
91
|
+
}>>;
|
|
92
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
93
|
+
action: z.ZodLiteral<"scan">;
|
|
94
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
95
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
96
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
97
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
98
|
+
}>>;
|
|
99
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
100
|
+
action: z.ZodLiteral<"status">;
|
|
101
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
102
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
103
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
104
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
105
|
+
}>>;
|
|
106
|
+
}, z.core.$strict>], "action">;
|
|
107
|
+
export type KeeperOperationInput = z.infer<typeof KeeperOperationInputSchema>;
|
|
108
|
+
export declare const KeeperOperationOutputSchema: z.ZodObject<{
|
|
109
|
+
result: z.ZodObject<{
|
|
110
|
+
action: z.ZodString;
|
|
111
|
+
}, z.core.$loose>;
|
|
112
|
+
semantic: z.ZodOptional<z.ZodObject<{
|
|
113
|
+
intent: z.ZodString;
|
|
114
|
+
status: z.ZodEnum<{
|
|
115
|
+
success: "success";
|
|
116
|
+
partial: "partial";
|
|
117
|
+
failed: "failed";
|
|
118
|
+
pending_input: "pending_input";
|
|
119
|
+
}>;
|
|
120
|
+
summary: z.ZodString;
|
|
121
|
+
created: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
122
|
+
id: z.ZodString;
|
|
123
|
+
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
124
|
+
role: z.ZodEnum<{
|
|
125
|
+
Permission: "Permission";
|
|
126
|
+
Guard: "Guard";
|
|
127
|
+
Machine: "Machine";
|
|
128
|
+
Progress: "Progress";
|
|
129
|
+
Service: "Service";
|
|
130
|
+
Order: "Order";
|
|
131
|
+
Allocation: "Allocation";
|
|
132
|
+
Arbitration: "Arbitration";
|
|
133
|
+
ArbCase: "ArbCase";
|
|
134
|
+
Messenger: "Messenger";
|
|
135
|
+
Contact: "Contact";
|
|
136
|
+
Demand: "Demand";
|
|
137
|
+
Reward: "Reward";
|
|
138
|
+
Personal: "Personal";
|
|
139
|
+
Repository: "Repository";
|
|
140
|
+
Treasury: "Treasury";
|
|
141
|
+
Discount: "Discount";
|
|
142
|
+
Payment: "Payment";
|
|
143
|
+
Passport: "Passport";
|
|
144
|
+
Proof: "Proof";
|
|
145
|
+
Other: "Other";
|
|
146
|
+
}>;
|
|
147
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
148
|
+
parent: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
149
|
+
relation_type: z.ZodOptional<z.ZodEnum<{
|
|
150
|
+
machine_of: "machine_of";
|
|
151
|
+
guard_of: "guard_of";
|
|
152
|
+
allocator_of: "allocator_of";
|
|
153
|
+
permission_of: "permission_of";
|
|
154
|
+
progress_of: "progress_of";
|
|
155
|
+
allocation_of: "allocation_of";
|
|
156
|
+
arb_of: "arb_of";
|
|
157
|
+
other: "other";
|
|
158
|
+
}>>;
|
|
159
|
+
}, z.core.$strip>>;
|
|
160
|
+
immutable: z.ZodOptional<z.ZodBoolean>;
|
|
161
|
+
}, z.core.$strict>>>;
|
|
162
|
+
modified: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
163
|
+
id: z.ZodString;
|
|
164
|
+
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
165
|
+
role: z.ZodEnum<{
|
|
166
|
+
Permission: "Permission";
|
|
167
|
+
Guard: "Guard";
|
|
168
|
+
Machine: "Machine";
|
|
169
|
+
Progress: "Progress";
|
|
170
|
+
Service: "Service";
|
|
171
|
+
Order: "Order";
|
|
172
|
+
Allocation: "Allocation";
|
|
173
|
+
Arbitration: "Arbitration";
|
|
174
|
+
ArbCase: "ArbCase";
|
|
175
|
+
Messenger: "Messenger";
|
|
176
|
+
Contact: "Contact";
|
|
177
|
+
Demand: "Demand";
|
|
178
|
+
Reward: "Reward";
|
|
179
|
+
Personal: "Personal";
|
|
180
|
+
Repository: "Repository";
|
|
181
|
+
Treasury: "Treasury";
|
|
182
|
+
Discount: "Discount";
|
|
183
|
+
Payment: "Payment";
|
|
184
|
+
Passport: "Passport";
|
|
185
|
+
Proof: "Proof";
|
|
186
|
+
Other: "Other";
|
|
187
|
+
}>;
|
|
188
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
189
|
+
parent: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
190
|
+
relation_type: z.ZodOptional<z.ZodEnum<{
|
|
191
|
+
machine_of: "machine_of";
|
|
192
|
+
guard_of: "guard_of";
|
|
193
|
+
allocator_of: "allocator_of";
|
|
194
|
+
permission_of: "permission_of";
|
|
195
|
+
progress_of: "progress_of";
|
|
196
|
+
allocation_of: "allocation_of";
|
|
197
|
+
arb_of: "arb_of";
|
|
198
|
+
other: "other";
|
|
199
|
+
}>>;
|
|
200
|
+
}, z.core.$strip>>;
|
|
201
|
+
immutable: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
+
}, z.core.$strict>>>;
|
|
203
|
+
released: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
204
|
+
amount: z.ZodString;
|
|
205
|
+
coinType: z.ZodString;
|
|
206
|
+
role: z.ZodEnum<{
|
|
207
|
+
payment: "payment";
|
|
208
|
+
other: "other";
|
|
209
|
+
refund: "refund";
|
|
210
|
+
change: "change";
|
|
211
|
+
compensation: "compensation";
|
|
212
|
+
reward: "reward";
|
|
213
|
+
gas: "gas";
|
|
214
|
+
deposit: "deposit";
|
|
215
|
+
release: "release";
|
|
216
|
+
}>;
|
|
217
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
|
+
}, z.core.$strict>>>;
|
|
220
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
221
|
+
event_type: z.ZodString;
|
|
222
|
+
business_meaning: z.ZodString;
|
|
223
|
+
category: z.ZodEnum<{
|
|
224
|
+
other: "other";
|
|
225
|
+
lifecycle: "lifecycle";
|
|
226
|
+
state_change: "state_change";
|
|
227
|
+
fund_flow: "fund_flow";
|
|
228
|
+
market_opportunity: "market_opportunity";
|
|
229
|
+
reputation: "reputation";
|
|
230
|
+
permission: "permission";
|
|
231
|
+
guard: "guard";
|
|
232
|
+
}>;
|
|
233
|
+
related_object: z.ZodOptional<z.ZodString>;
|
|
234
|
+
side_effect: z.ZodOptional<z.ZodString>;
|
|
235
|
+
}, z.core.$strict>>>;
|
|
236
|
+
next_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
237
|
+
action: z.ZodString;
|
|
238
|
+
reason: z.ZodString;
|
|
239
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
240
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
241
|
+
priority: z.ZodEnum<{
|
|
242
|
+
optional: "optional";
|
|
243
|
+
required: "required";
|
|
244
|
+
recommended: "recommended";
|
|
245
|
+
}>;
|
|
246
|
+
}, z.core.$strict>>>;
|
|
247
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
248
|
+
experience: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
advice: z.ZodOptional<z.ZodString>;
|
|
250
|
+
avoid: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
251
|
+
relevance: z.ZodOptional<z.ZodNumber>;
|
|
252
|
+
matched_scenario: z.ZodOptional<z.ZodString>;
|
|
253
|
+
}, z.core.$strict>>;
|
|
254
|
+
service_status: z.ZodOptional<z.ZodObject<{
|
|
255
|
+
active: z.ZodArray<z.ZodString>;
|
|
256
|
+
inactive: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
257
|
+
}, z.core.$strict>>;
|
|
258
|
+
customer_advice: z.ZodOptional<z.ZodObject<{
|
|
259
|
+
risk_score: z.ZodOptional<z.ZodNumber>;
|
|
260
|
+
risk_level: z.ZodOptional<z.ZodEnum<{
|
|
261
|
+
low: "low";
|
|
262
|
+
medium_low: "medium_low";
|
|
263
|
+
medium_high: "medium_high";
|
|
264
|
+
high: "high";
|
|
265
|
+
}>>;
|
|
266
|
+
recommendations: z.ZodArray<z.ZodString>;
|
|
267
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
268
|
+
id: z.ZodString;
|
|
269
|
+
stage: z.ZodEnum<{
|
|
270
|
+
browse: "browse";
|
|
271
|
+
evaluate: "evaluate";
|
|
272
|
+
preorder: "preorder";
|
|
273
|
+
in_progress: "in_progress";
|
|
274
|
+
complete: "complete";
|
|
275
|
+
after_sale: "after_sale";
|
|
276
|
+
}>;
|
|
277
|
+
priority: z.ZodEnum<{
|
|
278
|
+
required: "required";
|
|
279
|
+
recommended: "recommended";
|
|
280
|
+
info: "info";
|
|
281
|
+
reminder: "reminder";
|
|
282
|
+
}>;
|
|
283
|
+
message: z.ZodString;
|
|
284
|
+
action: z.ZodOptional<z.ZodString>;
|
|
285
|
+
}, z.core.$strict>>;
|
|
286
|
+
preference_match: z.ZodOptional<z.ZodObject<{
|
|
287
|
+
score: z.ZodNumber;
|
|
288
|
+
matches: z.ZodArray<z.ZodString>;
|
|
289
|
+
mismatches: z.ZodArray<z.ZodString>;
|
|
290
|
+
}, z.core.$strict>>;
|
|
291
|
+
}, z.core.$strict>>;
|
|
292
|
+
evolution_context: z.ZodOptional<z.ZodObject<{
|
|
293
|
+
industry_signal: z.ZodOptional<z.ZodString>;
|
|
294
|
+
evolution_advice: z.ZodOptional<z.ZodString>;
|
|
295
|
+
confidence: z.ZodNumber;
|
|
296
|
+
health_score: z.ZodOptional<z.ZodNumber>;
|
|
297
|
+
pending_suggestions: z.ZodOptional<z.ZodNumber>;
|
|
298
|
+
intent: z.ZodOptional<z.ZodEnum<{
|
|
299
|
+
default: "default";
|
|
300
|
+
custom: "custom";
|
|
301
|
+
growth: "growth";
|
|
302
|
+
retention: "retention";
|
|
303
|
+
compliance: "compliance";
|
|
304
|
+
efficiency: "efficiency";
|
|
305
|
+
trust_building: "trust_building";
|
|
306
|
+
}>>;
|
|
307
|
+
role_advice: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
308
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
309
|
+
merchant: "merchant";
|
|
310
|
+
customer: "customer";
|
|
311
|
+
demander: "demander";
|
|
312
|
+
prospect: "prospect";
|
|
313
|
+
supplier: "supplier";
|
|
314
|
+
collaborator: "collaborator";
|
|
315
|
+
arbitrator: "arbitrator";
|
|
316
|
+
}>>;
|
|
317
|
+
}, z.core.$strict>>;
|
|
318
|
+
guard_advice: z.ZodOptional<z.ZodObject<{
|
|
319
|
+
current_round: z.ZodOptional<z.ZodEnum<{
|
|
320
|
+
R1: "R1";
|
|
321
|
+
R2: "R2";
|
|
322
|
+
R3: "R3";
|
|
323
|
+
R4: "R4";
|
|
324
|
+
R5: "R5";
|
|
325
|
+
R6: "R6";
|
|
326
|
+
R7: "R7";
|
|
327
|
+
R8: "R8";
|
|
328
|
+
R9: "R9";
|
|
329
|
+
R10: "R10";
|
|
330
|
+
}>>;
|
|
331
|
+
puzzle_status: z.ZodOptional<z.ZodObject<{
|
|
332
|
+
intent: z.ZodBoolean;
|
|
333
|
+
binding: z.ZodBoolean;
|
|
334
|
+
data: z.ZodBoolean;
|
|
335
|
+
query: z.ZodBoolean;
|
|
336
|
+
logic: z.ZodBoolean;
|
|
337
|
+
constraints: z.ZodBoolean;
|
|
338
|
+
}, z.core.$strict>>;
|
|
339
|
+
matched_scene: z.ZodOptional<z.ZodString>;
|
|
340
|
+
scene_description: z.ZodOptional<z.ZodString>;
|
|
341
|
+
scene_constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
342
|
+
suggested_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
343
|
+
available_queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
344
|
+
id: z.ZodNumber;
|
|
345
|
+
name: z.ZodString;
|
|
346
|
+
objectType: z.ZodString;
|
|
347
|
+
returnType: z.ZodString;
|
|
348
|
+
description: z.ZodOptional<z.ZodString>;
|
|
349
|
+
}, z.core.$strict>>>;
|
|
350
|
+
risk_warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
351
|
+
pending_questions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
352
|
+
confirmation_text: z.ZodOptional<z.ZodString>;
|
|
353
|
+
test_result: z.ZodOptional<z.ZodObject<{
|
|
354
|
+
status: z.ZodEnum<{
|
|
355
|
+
pass: "pass";
|
|
356
|
+
fail: "fail";
|
|
357
|
+
not_tested: "not_tested";
|
|
358
|
+
}>;
|
|
359
|
+
failure_node: z.ZodOptional<z.ZodString>;
|
|
360
|
+
passport_id: z.ZodOptional<z.ZodString>;
|
|
361
|
+
}, z.core.$strip>>;
|
|
362
|
+
risk_assessment: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
overall_risk: z.ZodEnum<{
|
|
364
|
+
low: "low";
|
|
365
|
+
high: "high";
|
|
366
|
+
info: "info";
|
|
367
|
+
critical: "critical";
|
|
368
|
+
medium: "medium";
|
|
369
|
+
}>;
|
|
370
|
+
risk_count: z.ZodNumber;
|
|
371
|
+
critical_count: z.ZodNumber;
|
|
372
|
+
high_count: z.ZodNumber;
|
|
373
|
+
needs_human_review: z.ZodBoolean;
|
|
374
|
+
top_risks: z.ZodArray<z.ZodString>;
|
|
375
|
+
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
376
|
+
}, z.core.$strip>>;
|
|
377
|
+
}, z.core.$strict>>;
|
|
378
|
+
workflow_guidance: z.ZodOptional<z.ZodObject<{
|
|
379
|
+
current_node: z.ZodString;
|
|
380
|
+
caller: z.ZodOptional<z.ZodString>;
|
|
381
|
+
options: z.ZodArray<z.ZodObject<{
|
|
382
|
+
next_node: z.ZodString;
|
|
383
|
+
forward: z.ZodString;
|
|
384
|
+
weight: z.ZodNumber;
|
|
385
|
+
operator: z.ZodObject<{
|
|
386
|
+
kind: z.ZodEnum<{
|
|
387
|
+
order_holder: "order_holder";
|
|
388
|
+
permission_index: "permission_index";
|
|
389
|
+
named_operator: "named_operator";
|
|
390
|
+
}>;
|
|
391
|
+
permission_index: z.ZodOptional<z.ZodNumber>;
|
|
392
|
+
role_name: z.ZodOptional<z.ZodString>;
|
|
393
|
+
account_name: z.ZodOptional<z.ZodString>;
|
|
394
|
+
named_operator: z.ZodOptional<z.ZodString>;
|
|
395
|
+
}, z.core.$strict>;
|
|
396
|
+
guard: z.ZodOptional<z.ZodString>;
|
|
397
|
+
business_meaning: z.ZodString;
|
|
398
|
+
gains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
399
|
+
risks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
400
|
+
consistency: z.ZodOptional<z.ZodNumber>;
|
|
401
|
+
recommended: z.ZodOptional<z.ZodBoolean>;
|
|
402
|
+
}, z.core.$strict>>;
|
|
403
|
+
recommendation: z.ZodOptional<z.ZodObject<{
|
|
404
|
+
best: z.ZodOptional<z.ZodString>;
|
|
405
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
406
|
+
caveat: z.ZodOptional<z.ZodString>;
|
|
407
|
+
}, z.core.$strict>>;
|
|
408
|
+
note: z.ZodOptional<z.ZodString>;
|
|
409
|
+
}, z.core.$strict>>;
|
|
410
|
+
workflow_receipt: z.ZodOptional<z.ZodObject<{
|
|
411
|
+
account: z.ZodString;
|
|
412
|
+
action: z.ZodString;
|
|
413
|
+
forward: z.ZodString;
|
|
414
|
+
target_node: z.ZodString;
|
|
415
|
+
op: z.ZodOptional<z.ZodEnum<{
|
|
416
|
+
next: "next";
|
|
417
|
+
hold: "hold";
|
|
418
|
+
unhold: "unhold";
|
|
419
|
+
adminUnhold: "adminUnhold";
|
|
420
|
+
}>>;
|
|
421
|
+
migrated: z.ZodBoolean;
|
|
422
|
+
current_node: z.ZodString;
|
|
423
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
424
|
+
accumulated_weight: z.ZodOptional<z.ZodNumber>;
|
|
425
|
+
remaining: z.ZodOptional<z.ZodNumber>;
|
|
426
|
+
waiting_on: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
427
|
+
forward: z.ZodString;
|
|
428
|
+
operator: z.ZodObject<{
|
|
429
|
+
kind: z.ZodEnum<{
|
|
430
|
+
order_holder: "order_holder";
|
|
431
|
+
permission_index: "permission_index";
|
|
432
|
+
named_operator: "named_operator";
|
|
433
|
+
}>;
|
|
434
|
+
permission_index: z.ZodOptional<z.ZodNumber>;
|
|
435
|
+
role_name: z.ZodOptional<z.ZodString>;
|
|
436
|
+
account_name: z.ZodOptional<z.ZodString>;
|
|
437
|
+
named_operator: z.ZodOptional<z.ZodString>;
|
|
438
|
+
}, z.core.$strict>;
|
|
439
|
+
}, z.core.$strict>>>;
|
|
440
|
+
next_guidance: z.ZodOptional<z.ZodObject<{
|
|
441
|
+
current_node: z.ZodString;
|
|
442
|
+
caller: z.ZodOptional<z.ZodString>;
|
|
443
|
+
options: z.ZodArray<z.ZodObject<{
|
|
444
|
+
next_node: z.ZodString;
|
|
445
|
+
forward: z.ZodString;
|
|
446
|
+
weight: z.ZodNumber;
|
|
447
|
+
operator: z.ZodObject<{
|
|
448
|
+
kind: z.ZodEnum<{
|
|
449
|
+
order_holder: "order_holder";
|
|
450
|
+
permission_index: "permission_index";
|
|
451
|
+
named_operator: "named_operator";
|
|
452
|
+
}>;
|
|
453
|
+
permission_index: z.ZodOptional<z.ZodNumber>;
|
|
454
|
+
role_name: z.ZodOptional<z.ZodString>;
|
|
455
|
+
account_name: z.ZodOptional<z.ZodString>;
|
|
456
|
+
named_operator: z.ZodOptional<z.ZodString>;
|
|
457
|
+
}, z.core.$strict>;
|
|
458
|
+
guard: z.ZodOptional<z.ZodString>;
|
|
459
|
+
business_meaning: z.ZodString;
|
|
460
|
+
gains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
461
|
+
risks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
462
|
+
consistency: z.ZodOptional<z.ZodNumber>;
|
|
463
|
+
recommended: z.ZodOptional<z.ZodBoolean>;
|
|
464
|
+
}, z.core.$strict>>;
|
|
465
|
+
recommendation: z.ZodOptional<z.ZodObject<{
|
|
466
|
+
best: z.ZodOptional<z.ZodString>;
|
|
467
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
468
|
+
caveat: z.ZodOptional<z.ZodString>;
|
|
469
|
+
}, z.core.$strict>>;
|
|
470
|
+
note: z.ZodOptional<z.ZodString>;
|
|
471
|
+
}, z.core.$strict>>;
|
|
472
|
+
note: z.ZodOptional<z.ZodString>;
|
|
473
|
+
}, z.core.$strict>>;
|
|
474
|
+
}, z.core.$strict>>;
|
|
475
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z}from'zod';import{EntrypointSchema}from'../common/index.js';import{SemanticSummarySchema}from'../call/index.js';const KeeperDetectorEnum=z['enum'](['payment_unclaimed','progress_actionable']),KeeperTaskStatusEnum=z['enum'](['pending','executed','dismissed','superseded']),AddressSchema=z['string']()['regex'](/^0x[0-9a-fA-F]{4,64}$/,'expected\x20a\x200x-prefixed\x20address')['describe']('Account\x20address\x20(0x…).\x20Case-insensitive;\x20stored\x20lowercase.');export const KeeperOperationInputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('tasks'),'status':KeeperTaskStatusEnum['optional']()['describe']('Filter\x20by\x20task\x20status\x20(default:\x20all).'),'detector':KeeperDetectorEnum['optional']()['describe']('Filter\x20by\x20detector\x20kind.'),'beneficiary':AddressSchema['optional']()['describe']('Filter\x20by\x20beneficiary\x20account.'),'limit':z['number']()['int']()['min'](0x1)['max'](0xc8)['optional']()['describe']('Page\x20size\x20(default\x2050).'),'offset':z['number']()['int']()['min'](0x0)['optional']()['describe']('Page\x20offset\x20(default\x200).'),'network':EntrypointSchema['optional']()})['strict'](),z['object']({'action':z['literal']('dismiss'),'task_ids':z['array'](z['string']()['min'](0x1))['min'](0x1)['describe']('Task\x20ids\x20to\x20dismiss.\x20A\x20dismissed\x20task\x20re-opens\x20ONLY\x20when\x20the\x20underlying\x20state\x20materially\x20changes\x20(new\x20funds,\x20new\x20forward)\x20—\x20never\x20for\x20the\x20identical\x20state.'),'network':EntrypointSchema['optional']()})['strict'](),z['object']({'action':z['literal']('execute'),'task_id':z['string']()['min'](0x1)['describe']('Task\x20id\x20to\x20execute\x20NOW\x20as\x20its\x20beneficiary.\x20Only\x20tasks\x20carrying\x20a\x20keeper-executable\x20operation\x20can\x20run\x20(v1:\x20payment_unclaimed\x20—\x20claim-to-self).\x20Reminder-only\x20tasks\x20point\x20at\x20workflow_operation\x20in\x20their\x20detail\x20text.\x20This\x20explicit\x20call\x20IS\x20the\x20user\x20decision\x20(no\x20rule\x20required).'),'network':EntrypointSchema['optional']()})['strict'](),z['object']({'action':z['literal']('rules'),'network':EntrypointSchema['optional']()})['strict'](),z['object']({'action':z['literal']('rule_set'),'rule_id':z['string']()['optional']()['describe']('Existing\x20rule\x20id\x20to\x20update;\x20omit\x20to\x20create\x20a\x20new\x20rule.'),'detector':KeeperDetectorEnum['describe']('Detector\x20the\x20rule\x20applies\x20to.'),'enabled':z['boolean']()['optional']()['describe']('Default\x20true.'),'accounts':z['array'](AddressSchema)['optional']()['describe']('Beneficiaries\x20covered\x20(default:\x20all\x20beneficiaries\x20the\x20detector\x20surfaces).'),'auto_execute':z['boolean']()['optional']()['describe']('Standing\x20authorization:\x20the\x20keeper\x20executes\x20matching\x20tasks\x20automatically.\x20v1:\x20only\x20\x27payment_unclaimed\x27\x20may\x20auto-execute\x20(claim-to-self\x20—\x20funds\x20move\x20only\x20INTO\x20the\x20beneficiary\x27s\x20own\x20wallet).\x20Progress\x20advancing\x20stays\x20reminder-only\x20because\x20it\x20can\x20release\x20funds\x20to\x20a\x20counterparty.'),'note':z['string']()['optional']()['describe']('User\x20rationale,\x20recorded\x20verbatim\x20in\x20the\x20audit\x20trail.'),'network':EntrypointSchema['optional']()})['strict'](),z['object']({'action':z['literal']('rule_remove'),'rule_id':z['string']()['min'](0x1),'network':EntrypointSchema['optional']()})['strict'](),z['object']({'action':z['literal']('config'),'network':EntrypointSchema['optional']()})['strict'](),z['object']({'action':z['literal']('config_set'),'enabled':z['boolean']()['optional']()['describe']('Master\x20switch\x20—\x20false\x20pauses\x20scanning\x20(existing\x20tasks\x20stay\x20visible).'),'detectors':z['object']({'payment_unclaimed':z['boolean']()['optional'](),'progress_actionable':z['boolean']()['optional']()})['strict']()['optional']()['describe']('Per-detector\x20reminder\x20switches.'),'scan_interval_ms':z['number']()['int']()['optional']()['describe']('Min\x20ms\x20between\x20keeper\x20scans\x20(default\x20120000,\x20min\x2030000).\x20The\x20scan\x20runs\x20inside\x20the\x20monitor\x20tick.'),'max_scan_objects':z['number']()['int']()['optional']()['describe']('Hard\x20bound\x20on\x20chain-reading\x20candidates\x20per\x20scan\x20(default\x2020).'),'max_auto_execute_per_scan':z['number']()['int']()['optional']()['describe']('Gas\x20guard:\x20max\x20auto-executions\x20per\x20scan\x20(default\x205).'),'auto_retry_cooldown_ms':z['number']()['int']()['optional']()['describe']('Cooldown\x20after\x20a\x20failed\x20auto-exec\x20(default\x201800000\x20=\x2030min).'),'network':EntrypointSchema['optional']()})['strict'](),z['object']({'action':z['literal']('scan'),'network':EntrypointSchema['optional']()})['strict'](),z['object']({'action':z['literal']('status'),'network':EntrypointSchema['optional']()})['strict']()]);export const KeeperOperationOutputSchema=z['object']({'result':z['object']({'action':z['string']()['describe']('Echo\x20of\x20the\x20requested\x20action')})['passthrough']()['describe']('Action-specific\x20result\x20payload'),'semantic':SemanticSummarySchema['optional']()['describe']('Business\x20semantic\x20summary')})['describe']('Result\x20of\x20the\x20keeper_operation\x20tool');
|
|
@@ -849,6 +849,7 @@ export declare const AccountOperationSchema: z.ZodObject<{
|
|
|
849
849
|
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
850
850
|
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
851
851
|
}>>;
|
|
852
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
852
853
|
}, z.core.$strip>>;
|
|
853
854
|
get: z.ZodOptional<z.ZodObject<{
|
|
854
855
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
@@ -1777,6 +1778,11 @@ export declare const AccountOperationOutputSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
1777
1778
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
1778
1779
|
status: z.ZodLiteral<"error">;
|
|
1779
1780
|
error: z.ZodString;
|
|
1781
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1782
|
+
status: z.ZodLiteral<"pending_confirmation">;
|
|
1783
|
+
operation: z.ZodString;
|
|
1784
|
+
message: z.ZodString;
|
|
1785
|
+
rule_id: z.ZodString;
|
|
1780
1786
|
}, z.core.$strip>], "status">;
|
|
1781
1787
|
export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
|
|
1782
1788
|
result: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2150,6 +2156,11 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
2150
2156
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
2151
2157
|
status: z.ZodLiteral<"error">;
|
|
2152
2158
|
error: z.ZodString;
|
|
2159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2160
|
+
status: z.ZodLiteral<"pending_confirmation">;
|
|
2161
|
+
operation: z.ZodString;
|
|
2162
|
+
message: z.ZodString;
|
|
2163
|
+
rule_id: z.ZodString;
|
|
2153
2164
|
}, z.core.$strip>], "status">;
|
|
2154
2165
|
semantic: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
2155
2166
|
intent: z.ZodString;
|