@wowok/agent-mcp 2.7.2 → 2.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/runtime.js +1 -1
- package/dist/customer/account-events.d.ts +32 -0
- package/dist/customer/account-events.js +1 -0
- package/dist/customer/customer-advice.d.ts +1 -0
- package/dist/customer/customer-advice.js +1 -1
- package/dist/customer/info-puzzle.js +1 -1
- package/dist/customer/order-strategy.d.ts +1 -1
- package/dist/customer/reminder-system.d.ts +2 -0
- package/dist/customer/reminder-system.js +1 -1
- package/dist/customer/risk-assessment.d.ts +1 -0
- package/dist/customer/risk-assessment.js +1 -1
- package/dist/customer/types.d.ts +2 -0
- package/dist/evaluation/builtins/arbitration-score.d.ts +41 -0
- package/dist/evaluation/builtins/arbitration-score.js +1 -0
- package/dist/evaluation/builtins/index.d.ts +1 -0
- package/dist/evaluation/builtins/index.js +1 -1
- package/dist/evaluation/category-match-rules.d.ts +30 -0
- package/dist/evaluation/category-match-rules.js +1 -0
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/index.d.ts +1 -0
- package/dist/evaluation/index.js +1 -1
- package/dist/evaluation/location-match.d.ts +42 -0
- package/dist/evaluation/location-match.js +1 -0
- package/dist/evaluation/path-reasoning.d.ts +35 -0
- package/dist/evaluation/path-reasoning.js +1 -0
- package/dist/evaluation/region.d.ts +6 -0
- package/dist/evaluation/region.js +1 -1
- package/dist/evaluation/types.d.ts +17 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/experience/user-profile.d.ts +1 -1
- package/dist/extensions/index.d.ts +6 -0
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/industry-layers.d.ts +75 -0
- package/dist/extensions/industry-layers.js +1 -0
- package/dist/extensions/industry-pack.d.ts +105 -0
- package/dist/extensions/industry-pack.js +1 -0
- package/dist/extensions/metric-registry.js +1 -1
- package/dist/extensions/mode-evaluator.d.ts +1 -1
- package/dist/extensions/registry.d.ts +1 -0
- package/dist/extensions/registry.js +1 -1
- package/dist/graph/base.d.ts +8 -0
- package/dist/graph/base.js +1 -0
- package/dist/harness/index.d.ts +1 -0
- package/dist/harness/index.js +1 -1
- package/dist/harness/plan.d.ts +2 -0
- package/dist/harness/plan.js +1 -1
- package/dist/harness/recover.d.ts +1 -1
- package/dist/harness/types.d.ts +2 -3
- package/dist/index.js +1 -1
- package/dist/knowledge/allocation-confirm.js +1 -1
- package/dist/knowledge/anti-cheat.d.ts +37 -0
- package/dist/knowledge/anti-cheat.js +1 -0
- package/dist/knowledge/arb-confirm.d.ts +28 -0
- package/dist/knowledge/arb-confirm.js +1 -0
- package/dist/knowledge/arb-translation.d.ts +48 -0
- package/dist/knowledge/arb-translation.js +1 -0
- package/dist/knowledge/arbitration-context.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/bridge-confirm.d.ts +26 -0
- package/dist/knowledge/bridge-confirm.js +1 -0
- package/dist/knowledge/bridge-translation.d.ts +37 -0
- package/dist/knowledge/bridge-translation.js +1 -0
- package/dist/knowledge/contact-confirm.d.ts +27 -0
- package/dist/knowledge/contact-confirm.js +1 -0
- package/dist/knowledge/contact-translation.d.ts +39 -0
- package/dist/knowledge/contact-translation.js +1 -0
- package/dist/knowledge/demand-confirm.js +1 -1
- package/dist/knowledge/demand-context.d.ts +17 -0
- package/dist/knowledge/demand-context.js +1 -0
- package/dist/knowledge/demand-ledger.d.ts +26 -0
- package/dist/knowledge/demand-ledger.js +1 -0
- package/dist/knowledge/demand-puzzle.d.ts +29 -0
- package/dist/knowledge/demand-puzzle.js +1 -0
- package/dist/knowledge/demand-risk.js +1 -1
- package/dist/knowledge/demand-templates.d.ts +12 -0
- package/dist/knowledge/demand-templates.js +1 -0
- package/dist/knowledge/demand-translation.js +1 -1
- package/dist/knowledge/deployment-scanner.js +1 -1
- package/dist/knowledge/evidence-review.d.ts +12 -0
- package/dist/knowledge/evidence-review.js +1 -0
- package/dist/knowledge/examples-scanner-cli.js +1 -1
- package/dist/knowledge/examples-scanner.js +1 -1
- package/dist/knowledge/flywheel-loop.d.ts +0 -1
- package/dist/knowledge/flywheel-loop.js +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-migration.d.ts +1 -1
- package/dist/knowledge/index.d.ts +71 -3
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/machine-render.js +1 -1
- package/dist/knowledge/market-metrics.d.ts +12 -0
- package/dist/knowledge/market-metrics.js +1 -0
- package/dist/knowledge/market-operations.d.ts +46 -0
- package/dist/knowledge/market-operations.js +1 -0
- package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
- package/dist/knowledge/mcp-schema-audit.d.ts +22 -22
- package/dist/knowledge/mcp-schema-audit.js +1 -1
- package/dist/knowledge/onchain-constants.d.ts +2 -2
- package/dist/knowledge/onchain-constants.js +1 -1
- package/dist/knowledge/payment-confirm.d.ts +26 -0
- package/dist/knowledge/payment-confirm.js +1 -0
- package/dist/knowledge/payment-risk.js +1 -1
- package/dist/knowledge/payment-translation.d.ts +37 -0
- package/dist/knowledge/payment-translation.js +1 -0
- package/dist/knowledge/permission-context.d.ts +11 -0
- package/dist/knowledge/permission-context.js +1 -1
- package/dist/knowledge/permission-ledger.d.ts +11 -0
- package/dist/knowledge/permission-ledger.js +1 -1
- package/dist/knowledge/personal-confirm.d.ts +29 -0
- package/dist/knowledge/personal-confirm.js +1 -0
- package/dist/knowledge/personal-risk.js +1 -1
- package/dist/knowledge/personal-translation.d.ts +37 -0
- package/dist/knowledge/personal-translation.js +1 -0
- package/dist/knowledge/process-model.d.ts +1 -11
- package/dist/knowledge/process-model.js +1 -1
- package/dist/knowledge/progress-ledger.js +1 -1
- package/dist/knowledge/progress-risk.js +1 -1
- package/dist/knowledge/progress-templates.js +1 -1
- package/dist/knowledge/progress-translation.js +1 -1
- package/dist/knowledge/proof-context.d.ts +17 -0
- package/dist/knowledge/proof-context.js +1 -0
- package/dist/knowledge/proof-ledger.d.ts +34 -0
- package/dist/knowledge/proof-ledger.js +1 -0
- package/dist/knowledge/proof-puzzle.d.ts +35 -0
- package/dist/knowledge/proof-puzzle.js +1 -0
- package/dist/knowledge/proof-templates.d.ts +22 -0
- package/dist/knowledge/proof-templates.js +1 -0
- package/dist/knowledge/registrar-confirm.d.ts +26 -0
- package/dist/knowledge/registrar-confirm.js +1 -0
- package/dist/knowledge/registrar-risk.js +1 -1
- package/dist/knowledge/registrar-translation.d.ts +37 -0
- package/dist/knowledge/registrar-translation.js +1 -0
- package/dist/knowledge/repository-context.d.ts +12 -0
- package/dist/knowledge/repository-context.js +1 -0
- package/dist/knowledge/repository-ledger.d.ts +25 -0
- package/dist/knowledge/repository-ledger.js +1 -0
- package/dist/knowledge/repository-puzzle.d.ts +30 -0
- package/dist/knowledge/repository-puzzle.js +1 -0
- package/dist/knowledge/repository-templates.d.ts +14 -0
- package/dist/knowledge/repository-templates.js +1 -0
- package/dist/knowledge/resource-confirm.d.ts +25 -0
- package/dist/knowledge/resource-confirm.js +1 -0
- package/dist/knowledge/resource-translation.d.ts +37 -0
- package/dist/knowledge/resource-translation.js +1 -0
- package/dist/knowledge/reward-context.d.ts +2 -2
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/reward-translation.js +1 -1
- package/dist/knowledge/safety-rules.d.ts +1 -0
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/service-risk.d.ts +1 -1
- package/dist/knowledge/service-risk.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/treasury-context.d.ts +1 -1
- package/dist/knowledge/treasury-context.js +1 -1
- package/dist/knowledge/treasury-ledger.js +1 -1
- package/dist/knowledge/treasury-risk.js +1 -1
- package/dist/knowledge/universal-template.d.ts +22 -0
- package/dist/knowledge/universal-template.js +1 -0
- package/dist/knowledge/util-confirm.d.ts +24 -0
- package/dist/knowledge/util-confirm.js +1 -0
- package/dist/knowledge/util-risk.js +1 -1
- package/dist/knowledge/util-translation.d.ts +39 -0
- package/dist/knowledge/util-translation.js +1 -0
- package/dist/knowledge/workflow-guidance.d.ts +180 -0
- package/dist/knowledge/workflow-guidance.js +1 -0
- package/dist/participation/employee-kpi.d.ts +25 -0
- package/dist/participation/employee-kpi.js +1 -0
- package/dist/participation/employee-store.d.ts +16 -0
- package/dist/participation/employee-store.js +1 -0
- package/dist/participation/index.d.ts +2 -0
- package/dist/participation/index.js +1 -0
- package/dist/persona/defaults.js +1 -1
- package/dist/persona/index.d.ts +9 -2
- package/dist/persona/index.js +1 -1
- package/dist/persona/local-region.d.ts +20 -0
- package/dist/persona/local-region.js +1 -0
- package/dist/persona/model.js +1 -1
- package/dist/persona/overrides.d.ts +10 -0
- package/dist/persona/overrides.js +1 -0
- package/dist/persona/pack-personae.d.ts +11 -0
- package/dist/persona/pack-personae.js +1 -0
- package/dist/persona/strategy-intent.d.ts +20 -0
- package/dist/persona/strategy-intent.js +1 -0
- package/dist/persona/types.d.ts +3 -1
- package/dist/project/business-puzzle.d.ts +1 -1
- package/dist/project/business-puzzle.js +1 -1
- package/dist/project/deployment-doc.js +1 -1
- package/dist/project/edit-planner.js +1 -1
- package/dist/project/evaluation.d.ts +37 -1
- package/dist/project/evaluation.js +1 -1
- package/dist/project/graph-builder.d.ts +2 -2
- package/dist/project/graph-builder.js +1 -1
- package/dist/project/graph.d.ts +3 -6
- package/dist/project/handlers.d.ts +33 -2
- package/dist/project/handlers.js +1 -1
- package/dist/project/index.d.ts +1 -0
- package/dist/project/index.js +1 -1
- package/dist/project/merchant-guide.d.ts +19 -0
- package/dist/project/merchant-guide.js +1 -1
- package/dist/project/mode-actions.js +1 -1
- package/dist/project/rollback-policy.js +1 -1
- package/dist/project/semantic-assembler.d.ts +2 -2
- package/dist/project/semantic-assembler.js +1 -1
- package/dist/project/semantic-graph.d.ts +3 -5
- package/dist/project/workflow-design-assessment.d.ts +24 -0
- package/dist/project/workflow-design-assessment.js +1 -0
- package/dist/safety/confirm-gate.d.ts +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/call/allocation.d.ts +186 -1385
- package/dist/schema/call/arbitration.d.ts +272 -1871
- package/dist/schema/call/base.d.ts +1831 -9076
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +911 -3171
- package/dist/schema/call/contact.d.ts +135 -931
- package/dist/schema/call/demand.d.ts +164 -1194
- package/dist/schema/call/guard.d.ts +298 -1140
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/machine.d.ts +459 -5403
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +137 -844
- package/dist/schema/call/payment.d.ts +74 -561
- package/dist/schema/call/permission.d.ts +335 -2791
- package/dist/schema/call/personal.d.ts +227 -1814
- package/dist/schema/call/progress.d.ts +140 -843
- package/dist/schema/call/proof.d.ts +42 -258
- package/dist/schema/call/repository.d.ts +324 -2222
- package/dist/schema/call/reward.d.ts +153 -1183
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +376 -3431
- package/dist/schema/call/treasury.d.ts +252 -2158
- package/dist/schema/common/index.d.ts +222 -697
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/config/index.d.ts +18 -161
- package/dist/schema/employee/index.d.ts +99 -0
- package/dist/schema/employee/index.js +1 -0
- package/dist/schema/evaluation/index.d.ts +1035 -3918
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/index.d.ts +5 -0
- package/dist/schema/index.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +132 -0
- package/dist/schema/industry-pack/index.js +1 -0
- package/dist/schema/intent-radar/index.d.ts +92 -245
- package/dist/schema/intent-radar/index.js +1 -1
- package/dist/schema/local/index.d.ts +2045 -18080
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +61 -651
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +949 -5557
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +3168 -26468
- package/dist/schema/operations.js +1 -1
- package/dist/schema/permission/index.d.ts +121 -0
- package/dist/schema/permission/index.js +1 -0
- package/dist/schema/persona/index.d.ts +469 -1820
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/project/index.d.ts +1023 -8450
- package/dist/schema/project/index.js +1 -1
- package/dist/schema/query/index.d.ts +12121 -75556
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +35 -98
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/task-status.d.ts +26 -132
- package/dist/schema/trust/index.d.ts +194 -1290
- package/dist/schema/utils/guard-parser.js +1 -1
- package/dist/schema/utils/node-parser.js +1 -1
- package/dist/schema/utils/skills-recommendation.d.ts +1 -0
- package/dist/schema/utils/skills-recommendation.js +1 -1
- package/dist/schema/workflow/index.d.ts +161 -0
- package/dist/schema/workflow/index.js +1 -0
- package/dist/schema/workspace/index.d.ts +69 -0
- package/dist/schema/workspace/index.js +1 -0
- package/dist/{schema-query → schema-query-impl}/index.js +1 -1
- package/dist/schemas/account_operation.output.json +3147 -1655
- package/dist/schemas/account_operation.schema.json +225 -218
- package/dist/schemas/bridge_operation.output.json +1168 -653
- package/dist/schemas/bridge_operation.schema.json +736 -504
- package/dist/schemas/config_operation.output.json +185 -179
- package/dist/schemas/config_operation.schema.json +21 -26
- package/dist/schemas/employee_operation.output.json +207 -0
- package/dist/schemas/employee_operation.schema.json +176 -0
- package/dist/schemas/evaluation_operation.output.json +2268 -601
- package/dist/schemas/evaluation_operation.schema.json +2919 -787
- package/dist/schemas/guard2file.output.json +58 -64
- package/dist/schemas/guard2file.schema.json +79 -81
- package/dist/schemas/index.json +41 -11
- package/dist/schemas/industry_pack_operation.output.json +594 -0
- package/dist/schemas/industry_pack_operation.schema.json +55 -0
- package/dist/schemas/intent_radar.output.json +275 -203
- package/dist/schemas/intent_radar.schema.json +124 -126
- package/dist/schemas/local_info_operation.output.json +1174 -660
- package/dist/schemas/local_info_operation.schema.json +119 -125
- package/dist/schemas/local_mark_operation.output.json +1239 -692
- package/dist/schemas/local_mark_operation.schema.json +91 -96
- package/dist/schemas/machineNode2file.output.json +63 -69
- package/dist/schemas/machineNode2file.schema.json +79 -81
- package/dist/schemas/messenger_operation.output.json +2722 -1531
- package/dist/schemas/messenger_operation.schema.json +1482 -1264
- package/dist/schemas/onchain_events.output.json +2590 -978
- package/dist/schemas/onchain_events.schema.json +117 -99
- package/dist/schemas/onchain_operations.output.json +3957 -2312
- package/dist/schemas/onchain_operations.schema.json +20799 -9285
- package/dist/schemas/onchain_operations_allocation.schema.json +171 -107
- package/dist/schemas/onchain_operations_arbitration.schema.json +233 -146
- package/dist/schemas/onchain_operations_contact.schema.json +129 -90
- package/dist/schemas/onchain_operations_demand.schema.json +170 -112
- package/dist/schemas/onchain_operations_gen_passport.schema.json +61 -646
- package/dist/schemas/onchain_operations_gen_proof.schema.json +40 -172
- package/dist/schemas/onchain_operations_guard.schema.json +3765 -294
- package/dist/schemas/onchain_operations_machine.schema.json +536 -163
- package/dist/schemas/onchain_operations_order.schema.json +126 -96
- package/dist/schemas/onchain_operations_payment.schema.json +82 -67
- package/dist/schemas/onchain_operations_permission.schema.json +331 -93
- package/dist/schemas/onchain_operations_personal.schema.json +636 -96
- package/dist/schemas/onchain_operations_progress.schema.json +125 -92
- package/dist/schemas/onchain_operations_proof.schema.json +76 -69
- package/dist/schemas/onchain_operations_repository.schema.json +636 -249
- package/dist/schemas/onchain_operations_reward.schema.json +218 -108
- package/dist/schemas/onchain_operations_service.schema.json +678 -220
- package/dist/schemas/onchain_operations_treasury.schema.json +401 -135
- package/dist/schemas/onchain_table_data.output.json +6833 -2432
- package/dist/schemas/onchain_table_data.schema.json +684 -417
- package/dist/schemas/permission_operation.output.json +173 -0
- package/dist/schemas/permission_operation.schema.json +39 -0
- package/dist/schemas/persona_operation.output.json +1568 -268
- package/dist/schemas/persona_operation.schema.json +346 -205
- package/dist/schemas/project_operation.output.json +6922 -5132
- package/dist/schemas/project_operation.schema.json +1050 -1020
- package/dist/schemas/query_task_status.output.json +195 -99
- package/dist/schemas/query_task_status.schema.json +12 -18
- package/dist/schemas/query_toolkit.output.json +18862 -14561
- package/dist/schemas/query_toolkit.schema.json +614 -522
- package/dist/schemas/schema_query.output.json +127 -129
- package/dist/schemas/schema_query.schema.json +64 -69
- package/dist/schemas/trust_score.output.json +678 -587
- package/dist/schemas/trust_score.schema.json +289 -277
- package/dist/schemas/wip_file.output.json +116 -124
- package/dist/schemas/wip_file.schema.json +142 -143
- package/dist/schemas/workflow_operation.output.json +164 -0
- package/dist/schemas/workflow_operation.schema.json +116 -0
- package/dist/schemas/workspace_operation.output.json +277 -0
- package/dist/schemas/workspace_operation.schema.json +45 -0
- package/dist/schemas/wowok_buildin_info.output.json +1682 -844
- package/dist/schemas/wowok_buildin_info.schema.json +576 -526
- package/dist/tools/handlers/bridge.d.ts +8 -1
- package/dist/tools/handlers/bridge.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/employee.d.ts +2 -0
- package/dist/tools/handlers/employee.js +1 -0
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/file-export.js +1 -1
- package/dist/tools/handlers/industry-pack.d.ts +2 -0
- package/dist/tools/handlers/industry-pack.js +1 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/permission.d.ts +2 -0
- package/dist/tools/handlers/permission.js +1 -0
- package/dist/tools/handlers/persona.js +1 -1
- package/dist/tools/handlers/project.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/handlers/trust.js +1 -1
- package/dist/tools/handlers/wip.js +1 -1
- package/dist/tools/handlers/workflow.d.ts +2 -0
- package/dist/tools/handlers/workflow.js +1 -0
- package/dist/tools/handlers/workspace.d.ts +4 -0
- package/dist/tools/handlers/workspace.js +1 -0
- package/dist/tools/index.d.ts +2 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/rules-hook.d.ts +1 -1
- package/dist/tools/rules-hook.js +1 -1
- package/dist/tools/shared.d.ts +1 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/types.d.ts +2 -1
- package/package.json +4 -5
- package/dist/knowledge/arbitration-trust.d.ts +0 -24
- package/dist/knowledge/arbitration-trust.js +0 -1
- package/dist/schema/call/bridge-handler.d.ts +0 -8
- package/dist/schema/call/bridge-handler.js +0 -1
- package/dist/schema/sync-layer4.d.ts +0 -21
- package/dist/schema/sync-layer4.js +0 -1
- /package/dist/{schema-query → schema-query-impl}/index.d.ts +0 -0
|
@@ -1,190 +1,117 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const IntentRadarInputSchema: z.ZodDiscriminatedUnion<
|
|
2
|
+
export declare const IntentRadarInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
3
|
action: z.ZodLiteral<"save">;
|
|
4
4
|
intent: z.ZodString;
|
|
5
5
|
account: z.ZodOptional<z.ZodString>;
|
|
6
|
-
role: z.ZodOptional<z.ZodEnum<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
6
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
merchant: "merchant";
|
|
8
|
+
customer: "customer";
|
|
9
|
+
prospect: "prospect";
|
|
10
|
+
supplier: "supplier";
|
|
11
|
+
collaborator: "collaborator";
|
|
12
|
+
arbitrator: "arbitrator";
|
|
13
|
+
}>>;
|
|
14
|
+
target_types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15
|
+
NewOrderEvent: "NewOrderEvent";
|
|
16
|
+
ArbEvent: "ArbEvent";
|
|
17
|
+
ProgressEvent: "ProgressEvent";
|
|
18
|
+
DemandPresentEvent: "DemandPresentEvent";
|
|
19
|
+
DemandFeedbackEvent: "DemandFeedbackEvent";
|
|
20
|
+
NewEntityEvent: "NewEntityEvent";
|
|
21
|
+
}>>>;
|
|
22
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21
23
|
action: z.ZodLiteral<"list">;
|
|
22
24
|
account: z.ZodOptional<z.ZodString>;
|
|
23
|
-
},
|
|
24
|
-
action: "list";
|
|
25
|
-
account?: string | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
action: "list";
|
|
28
|
-
account?: string | undefined;
|
|
29
|
-
}>, z.ZodObject<{
|
|
25
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
30
26
|
action: z.ZodLiteral<"remove">;
|
|
31
27
|
id: z.ZodString;
|
|
32
|
-
},
|
|
33
|
-
id: string;
|
|
34
|
-
action: "remove";
|
|
35
|
-
}, {
|
|
36
|
-
id: string;
|
|
37
|
-
action: "remove";
|
|
38
|
-
}>, z.ZodObject<{
|
|
28
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
39
29
|
action: z.ZodLiteral<"match">;
|
|
40
30
|
intent_id: z.ZodOptional<z.ZodString>;
|
|
41
31
|
account: z.ZodOptional<z.ZodString>;
|
|
42
|
-
events: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
43
|
-
network: z.ZodOptional<z.ZodEnum<
|
|
32
|
+
events: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
33
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
testnet: "testnet";
|
|
35
|
+
mainnet: "mainnet";
|
|
36
|
+
}>>;
|
|
44
37
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
network?: "testnet" | "mainnet" | undefined;
|
|
48
|
-
account?: string | undefined;
|
|
49
|
-
events?: Record<string, unknown>[] | undefined;
|
|
50
|
-
limit?: number | undefined;
|
|
51
|
-
intent_id?: string | undefined;
|
|
52
|
-
}, {
|
|
53
|
-
action: "match";
|
|
54
|
-
network?: "testnet" | "mainnet" | undefined;
|
|
55
|
-
account?: string | undefined;
|
|
56
|
-
events?: Record<string, unknown>[] | undefined;
|
|
57
|
-
limit?: number | undefined;
|
|
58
|
-
intent_id?: string | undefined;
|
|
59
|
-
}>]>;
|
|
60
|
-
export declare const IntentRadarOutputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
38
|
+
}, z.core.$strict>], "action">;
|
|
39
|
+
export declare const IntentRadarOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
61
40
|
action: z.ZodLiteral<"save">;
|
|
62
41
|
intent: z.ZodObject<{
|
|
63
42
|
id: z.ZodString;
|
|
64
43
|
intent: z.ZodString;
|
|
65
44
|
account: z.ZodOptional<z.ZodString>;
|
|
66
|
-
role: z.ZodOptional<z.ZodEnum<
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
45
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
46
|
+
merchant: "merchant";
|
|
47
|
+
customer: "customer";
|
|
48
|
+
prospect: "prospect";
|
|
49
|
+
supplier: "supplier";
|
|
50
|
+
collaborator: "collaborator";
|
|
51
|
+
arbitrator: "arbitrator";
|
|
52
|
+
}>>;
|
|
53
|
+
industries: z.ZodArray<z.ZodEnum<{
|
|
54
|
+
custom: "custom";
|
|
55
|
+
freelance: "freelance";
|
|
56
|
+
rental: "rental";
|
|
57
|
+
education: "education";
|
|
58
|
+
travel: "travel";
|
|
59
|
+
subscription: "subscription";
|
|
60
|
+
retail: "retail";
|
|
61
|
+
general: "general";
|
|
62
|
+
}>>;
|
|
63
|
+
keywords: z.ZodArray<z.ZodString>;
|
|
64
|
+
target_types: z.ZodArray<z.ZodEnum<{
|
|
65
|
+
NewOrderEvent: "NewOrderEvent";
|
|
66
|
+
ArbEvent: "ArbEvent";
|
|
67
|
+
ProgressEvent: "ProgressEvent";
|
|
68
|
+
DemandPresentEvent: "DemandPresentEvent";
|
|
69
|
+
DemandFeedbackEvent: "DemandFeedbackEvent";
|
|
70
|
+
NewEntityEvent: "NewEntityEvent";
|
|
71
|
+
}>>;
|
|
70
72
|
created_at: z.ZodNumber;
|
|
71
73
|
updated_at: z.ZodNumber;
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
intent: string;
|
|
75
|
-
keywords: string[];
|
|
76
|
-
industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
|
|
77
|
-
updated_at: number;
|
|
78
|
-
target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
|
|
79
|
-
created_at: number;
|
|
80
|
-
account?: string | undefined;
|
|
81
|
-
role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
|
|
82
|
-
}, {
|
|
83
|
-
id: string;
|
|
84
|
-
intent: string;
|
|
85
|
-
keywords: string[];
|
|
86
|
-
industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
|
|
87
|
-
updated_at: number;
|
|
88
|
-
target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
|
|
89
|
-
created_at: number;
|
|
90
|
-
account?: string | undefined;
|
|
91
|
-
role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
|
|
92
|
-
}>;
|
|
93
|
-
}, "strict", z.ZodTypeAny, {
|
|
94
|
-
intent: {
|
|
95
|
-
id: string;
|
|
96
|
-
intent: string;
|
|
97
|
-
keywords: string[];
|
|
98
|
-
industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
|
|
99
|
-
updated_at: number;
|
|
100
|
-
target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
|
|
101
|
-
created_at: number;
|
|
102
|
-
account?: string | undefined;
|
|
103
|
-
role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
|
|
104
|
-
};
|
|
105
|
-
action: "save";
|
|
106
|
-
}, {
|
|
107
|
-
intent: {
|
|
108
|
-
id: string;
|
|
109
|
-
intent: string;
|
|
110
|
-
keywords: string[];
|
|
111
|
-
industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
|
|
112
|
-
updated_at: number;
|
|
113
|
-
target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
|
|
114
|
-
created_at: number;
|
|
115
|
-
account?: string | undefined;
|
|
116
|
-
role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
|
|
117
|
-
};
|
|
118
|
-
action: "save";
|
|
119
|
-
}>, z.ZodObject<{
|
|
74
|
+
}, z.core.$strict>;
|
|
75
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
120
76
|
action: z.ZodLiteral<"list">;
|
|
121
77
|
intents: z.ZodArray<z.ZodObject<{
|
|
122
78
|
id: z.ZodString;
|
|
123
79
|
intent: z.ZodString;
|
|
124
80
|
account: z.ZodOptional<z.ZodString>;
|
|
125
|
-
role: z.ZodOptional<z.ZodEnum<
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
81
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
82
|
+
merchant: "merchant";
|
|
83
|
+
customer: "customer";
|
|
84
|
+
prospect: "prospect";
|
|
85
|
+
supplier: "supplier";
|
|
86
|
+
collaborator: "collaborator";
|
|
87
|
+
arbitrator: "arbitrator";
|
|
88
|
+
}>>;
|
|
89
|
+
industries: z.ZodArray<z.ZodEnum<{
|
|
90
|
+
custom: "custom";
|
|
91
|
+
freelance: "freelance";
|
|
92
|
+
rental: "rental";
|
|
93
|
+
education: "education";
|
|
94
|
+
travel: "travel";
|
|
95
|
+
subscription: "subscription";
|
|
96
|
+
retail: "retail";
|
|
97
|
+
general: "general";
|
|
98
|
+
}>>;
|
|
99
|
+
keywords: z.ZodArray<z.ZodString>;
|
|
100
|
+
target_types: z.ZodArray<z.ZodEnum<{
|
|
101
|
+
NewOrderEvent: "NewOrderEvent";
|
|
102
|
+
ArbEvent: "ArbEvent";
|
|
103
|
+
ProgressEvent: "ProgressEvent";
|
|
104
|
+
DemandPresentEvent: "DemandPresentEvent";
|
|
105
|
+
DemandFeedbackEvent: "DemandFeedbackEvent";
|
|
106
|
+
NewEntityEvent: "NewEntityEvent";
|
|
107
|
+
}>>;
|
|
129
108
|
created_at: z.ZodNumber;
|
|
130
109
|
updated_at: z.ZodNumber;
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
intent: string;
|
|
134
|
-
keywords: string[];
|
|
135
|
-
industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
|
|
136
|
-
updated_at: number;
|
|
137
|
-
target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
|
|
138
|
-
created_at: number;
|
|
139
|
-
account?: string | undefined;
|
|
140
|
-
role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
|
|
141
|
-
}, {
|
|
142
|
-
id: string;
|
|
143
|
-
intent: string;
|
|
144
|
-
keywords: string[];
|
|
145
|
-
industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
|
|
146
|
-
updated_at: number;
|
|
147
|
-
target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
|
|
148
|
-
created_at: number;
|
|
149
|
-
account?: string | undefined;
|
|
150
|
-
role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
|
|
151
|
-
}>, "many">;
|
|
152
|
-
}, "strict", z.ZodTypeAny, {
|
|
153
|
-
action: "list";
|
|
154
|
-
intents: {
|
|
155
|
-
id: string;
|
|
156
|
-
intent: string;
|
|
157
|
-
keywords: string[];
|
|
158
|
-
industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
|
|
159
|
-
updated_at: number;
|
|
160
|
-
target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
|
|
161
|
-
created_at: number;
|
|
162
|
-
account?: string | undefined;
|
|
163
|
-
role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
|
|
164
|
-
}[];
|
|
165
|
-
}, {
|
|
166
|
-
action: "list";
|
|
167
|
-
intents: {
|
|
168
|
-
id: string;
|
|
169
|
-
intent: string;
|
|
170
|
-
keywords: string[];
|
|
171
|
-
industries: ("custom" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general")[];
|
|
172
|
-
updated_at: number;
|
|
173
|
-
target_types: ("NewOrderEvent" | "ArbEvent" | "ProgressEvent" | "DemandPresentEvent" | "DemandFeedbackEvent" | "NewEntityEvent")[];
|
|
174
|
-
created_at: number;
|
|
175
|
-
account?: string | undefined;
|
|
176
|
-
role?: "merchant" | "customer" | "prospect" | "supplier" | "collaborator" | "arbitrator" | undefined;
|
|
177
|
-
}[];
|
|
178
|
-
}>, z.ZodObject<{
|
|
110
|
+
}, z.core.$strict>>;
|
|
111
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
179
112
|
action: z.ZodLiteral<"remove">;
|
|
180
113
|
removed: z.ZodBoolean;
|
|
181
|
-
},
|
|
182
|
-
action: "remove";
|
|
183
|
-
removed: boolean;
|
|
184
|
-
}, {
|
|
185
|
-
action: "remove";
|
|
186
|
-
removed: boolean;
|
|
187
|
-
}>, z.ZodObject<{
|
|
114
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
188
115
|
action: z.ZodLiteral<"match">;
|
|
189
116
|
results: z.ZodArray<z.ZodObject<{
|
|
190
117
|
intent_id: z.ZodString;
|
|
@@ -192,93 +119,13 @@ export declare const IntentRadarOutputSchema: z.ZodDiscriminatedUnion<"action",
|
|
|
192
119
|
hits: z.ZodArray<z.ZodObject<{
|
|
193
120
|
event_type: z.ZodString;
|
|
194
121
|
event_id: z.ZodString;
|
|
195
|
-
related_objects: z.ZodArray<z.ZodString
|
|
122
|
+
related_objects: z.ZodArray<z.ZodString>;
|
|
196
123
|
business_meaning: z.ZodString;
|
|
197
124
|
score: z.ZodNumber;
|
|
198
|
-
matched_industries: z.ZodArray<z.ZodString
|
|
199
|
-
matched_keywords: z.ZodArray<z.ZodString
|
|
125
|
+
matched_industries: z.ZodArray<z.ZodString>;
|
|
126
|
+
matched_keywords: z.ZodArray<z.ZodString>;
|
|
200
127
|
event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
201
|
-
},
|
|
202
|
-
event_type: string;
|
|
203
|
-
business_meaning: string;
|
|
204
|
-
score: number;
|
|
205
|
-
event: Record<string, unknown>;
|
|
206
|
-
matched_keywords: string[];
|
|
207
|
-
event_id: string;
|
|
208
|
-
related_objects: string[];
|
|
209
|
-
matched_industries: string[];
|
|
210
|
-
}, {
|
|
211
|
-
event_type: string;
|
|
212
|
-
business_meaning: string;
|
|
213
|
-
score: number;
|
|
214
|
-
event: Record<string, unknown>;
|
|
215
|
-
matched_keywords: string[];
|
|
216
|
-
event_id: string;
|
|
217
|
-
related_objects: string[];
|
|
218
|
-
matched_industries: string[];
|
|
219
|
-
}>, "many">;
|
|
128
|
+
}, z.core.$strict>>;
|
|
220
129
|
scanned: z.ZodNumber;
|
|
221
|
-
},
|
|
222
|
-
|
|
223
|
-
intent_id: string;
|
|
224
|
-
hits: {
|
|
225
|
-
event_type: string;
|
|
226
|
-
business_meaning: string;
|
|
227
|
-
score: number;
|
|
228
|
-
event: Record<string, unknown>;
|
|
229
|
-
matched_keywords: string[];
|
|
230
|
-
event_id: string;
|
|
231
|
-
related_objects: string[];
|
|
232
|
-
matched_industries: string[];
|
|
233
|
-
}[];
|
|
234
|
-
scanned: number;
|
|
235
|
-
}, {
|
|
236
|
-
intent: string;
|
|
237
|
-
intent_id: string;
|
|
238
|
-
hits: {
|
|
239
|
-
event_type: string;
|
|
240
|
-
business_meaning: string;
|
|
241
|
-
score: number;
|
|
242
|
-
event: Record<string, unknown>;
|
|
243
|
-
matched_keywords: string[];
|
|
244
|
-
event_id: string;
|
|
245
|
-
related_objects: string[];
|
|
246
|
-
matched_industries: string[];
|
|
247
|
-
}[];
|
|
248
|
-
scanned: number;
|
|
249
|
-
}>, "many">;
|
|
250
|
-
}, "strict", z.ZodTypeAny, {
|
|
251
|
-
action: "match";
|
|
252
|
-
results: {
|
|
253
|
-
intent: string;
|
|
254
|
-
intent_id: string;
|
|
255
|
-
hits: {
|
|
256
|
-
event_type: string;
|
|
257
|
-
business_meaning: string;
|
|
258
|
-
score: number;
|
|
259
|
-
event: Record<string, unknown>;
|
|
260
|
-
matched_keywords: string[];
|
|
261
|
-
event_id: string;
|
|
262
|
-
related_objects: string[];
|
|
263
|
-
matched_industries: string[];
|
|
264
|
-
}[];
|
|
265
|
-
scanned: number;
|
|
266
|
-
}[];
|
|
267
|
-
}, {
|
|
268
|
-
action: "match";
|
|
269
|
-
results: {
|
|
270
|
-
intent: string;
|
|
271
|
-
intent_id: string;
|
|
272
|
-
hits: {
|
|
273
|
-
event_type: string;
|
|
274
|
-
business_meaning: string;
|
|
275
|
-
score: number;
|
|
276
|
-
event: Record<string, unknown>;
|
|
277
|
-
matched_keywords: string[];
|
|
278
|
-
event_id: string;
|
|
279
|
-
related_objects: string[];
|
|
280
|
-
matched_industries: string[];
|
|
281
|
-
}[];
|
|
282
|
-
scanned: number;
|
|
283
|
-
}[];
|
|
284
|
-
}>]>;
|
|
130
|
+
}, z.core.$strict>>;
|
|
131
|
+
}, z.core.$strict>], "action">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{z}from'zod';const RoleEnum=z['enum'](['merchant','customer','prospect','supplier','collaborator','arbitrator']),IndustryScenarioEnum=z['enum'](['freelance','rental','education','travel','subscription','retail','general','custom']),TargetTypeEnum=z['enum'](['NewOrderEvent','ProgressEvent','DemandPresentEvent','DemandFeedbackEvent','NewEntityEvent','ArbEvent']),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['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['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';const RoleEnum=z['enum'](['merchant','customer','prospect','supplier','collaborator','arbitrator']),IndustryScenarioEnum=z['enum'](['freelance','rental','education','travel','subscription','retail','general','custom']),TargetTypeEnum=z['enum'](['NewOrderEvent','ProgressEvent','DemandPresentEvent','DemandFeedbackEvent','NewEntityEvent','ArbEvent']),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']()]);
|