@wowok/agent-mcp 2.3.14 → 2.3.18
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/index.d.ts +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/runtime.d.ts +26 -0
- package/dist/config/runtime.js +217 -0
- package/dist/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +40 -0
- package/dist/customer/industry-risks.js +438 -0
- package/dist/customer/info-puzzle.d.ts +102 -0
- package/dist/customer/info-puzzle.js +312 -0
- package/dist/customer/order-monitor.d.ts +75 -0
- package/dist/customer/order-monitor.js +327 -0
- package/dist/customer/order-strategy.d.ts +36 -0
- package/dist/customer/order-strategy.js +373 -0
- package/dist/customer/post-purchase.d.ts +42 -0
- package/dist/customer/post-purchase.js +350 -0
- package/dist/customer/reminder-system.d.ts +42 -0
- package/dist/customer/reminder-system.js +295 -0
- package/dist/customer/risk-assessment.d.ts +8 -0
- package/dist/customer/risk-assessment.js +337 -0
- package/dist/customer/types.d.ts +193 -0
- package/dist/customer/types.js +13 -0
- package/dist/customer/user-preferences.d.ts +70 -0
- package/dist/customer/user-preferences.js +460 -0
- package/dist/experience/experience-reuse.d.ts +10 -0
- package/dist/experience/experience-reuse.js +103 -0
- package/dist/experience/index.d.ts +6 -0
- package/dist/experience/index.js +5 -0
- package/dist/experience/intent-distill.d.ts +3 -0
- package/dist/experience/intent-distill.js +83 -0
- package/dist/experience/realtime-feedback.d.ts +5 -0
- package/dist/experience/realtime-feedback.js +94 -0
- package/dist/experience/types.d.ts +50 -0
- package/dist/experience/types.js +1 -0
- package/dist/experience/user-profile.d.ts +25 -0
- package/dist/experience/user-profile.js +171 -0
- package/dist/index.js +842 -371
- package/dist/knowledge/acquisition-flywheel.d.ts +53 -0
- package/dist/knowledge/acquisition-flywheel.js +192 -0
- package/dist/knowledge/arbitration-trust.d.ts +24 -0
- package/dist/knowledge/arbitration-trust.js +117 -0
- package/dist/knowledge/audit-rules.d.ts +28 -0
- package/dist/knowledge/audit-rules.js +141 -0
- package/dist/knowledge/demand-matching.d.ts +29 -0
- package/dist/knowledge/demand-matching.js +132 -0
- package/dist/knowledge/dynamic-pricing.d.ts +31 -0
- package/dist/knowledge/dynamic-pricing.js +87 -0
- package/dist/knowledge/flywheel-loop.d.ts +87 -0
- package/dist/knowledge/flywheel-loop.js +378 -0
- package/dist/knowledge/glossary.d.ts +18 -0
- package/dist/knowledge/glossary.js +209 -0
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +219 -0
- package/dist/knowledge/guard-puzzle.d.ts +93 -0
- package/dist/knowledge/guard-puzzle.js +278 -0
- package/dist/knowledge/guard-risk.d.ts +60 -0
- package/dist/knowledge/guard-risk.js +474 -0
- package/dist/knowledge/guard-translation.d.ts +46 -0
- package/dist/knowledge/guard-translation.js +487 -0
- package/dist/knowledge/index.d.ts +77 -0
- package/dist/knowledge/index.js +79 -0
- package/dist/knowledge/industry-evolution.d.ts +82 -0
- package/dist/knowledge/industry-evolution.js +323 -0
- package/dist/knowledge/industry-generalizer.d.ts +17 -0
- package/dist/knowledge/industry-generalizer.js +381 -0
- package/dist/knowledge/industry-registry.d.ts +48 -0
- package/dist/knowledge/industry-registry.js +187 -0
- package/dist/knowledge/intent-metrics.d.ts +42 -0
- package/dist/knowledge/intent-metrics.js +566 -0
- package/dist/knowledge/process-model.d.ts +24 -0
- package/dist/knowledge/process-model.js +160 -0
- package/dist/knowledge/reputation-rules.d.ts +42 -0
- package/dist/knowledge/reputation-rules.js +99 -0
- package/dist/knowledge/reward-templates.d.ts +25 -0
- package/dist/knowledge/reward-templates.js +125 -0
- package/dist/knowledge/safety-rules.d.ts +36 -0
- package/dist/knowledge/safety-rules.js +232 -0
- package/dist/knowledge/tool-constraints.d.ts +30 -0
- package/dist/knowledge/tool-constraints.js +175 -0
- package/dist/knowledge/trust-metrics.d.ts +37 -0
- package/dist/knowledge/trust-metrics.js +138 -0
- package/dist/loop-engineering/diagnose.d.ts +3 -2
- package/dist/loop-engineering/diagnose.js +94 -0
- package/dist/loop-engineering/improve.d.ts +1 -1
- package/dist/loop-engineering/improve.js +52 -1
- package/dist/project/graph.d.ts +71 -0
- package/dist/project/graph.js +314 -0
- package/dist/project/index.d.ts +62 -0
- package/dist/project/index.js +167 -0
- package/dist/project/namespace.d.ts +62 -0
- package/dist/project/namespace.js +181 -0
- package/dist/project/query.d.ts +40 -0
- package/dist/project/query.js +110 -0
- package/dist/safety/confirm-gate.d.ts +17 -0
- package/dist/safety/confirm-gate.js +88 -0
- package/dist/safety/index.d.ts +3 -0
- package/dist/safety/index.js +3 -0
- package/dist/safety/preview.d.ts +2 -0
- package/dist/safety/preview.js +36 -0
- package/dist/schema/call/allocation.d.ts +39 -14
- package/dist/schema/call/arbitration.d.ts +187 -162
- package/dist/schema/call/base.d.ts +1971 -87
- package/dist/schema/call/base.js +135 -3
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +1478 -53
- package/dist/schema/call/bridge.js +50 -2
- package/dist/schema/call/contact.d.ts +25 -0
- package/dist/schema/call/demand.d.ts +79 -54
- package/dist/schema/call/guard.d.ts +125 -50
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +60 -14
- package/dist/schema/call/machine.d.ts +988 -938
- package/dist/schema/call/order.d.ts +25 -0
- package/dist/schema/call/payment.d.ts +25 -0
- package/dist/schema/call/permission.d.ts +244 -219
- package/dist/schema/call/personal.d.ts +25 -0
- package/dist/schema/call/progress.d.ts +25 -0
- package/dist/schema/call/proof.d.ts +62 -12
- package/dist/schema/call/proof.js +3 -3
- package/dist/schema/call/repository.d.ts +101 -76
- package/dist/schema/call/reward.d.ts +55 -30
- package/dist/schema/call/semantic.d.ts +10 -2
- package/dist/schema/call/semantic.js +616 -11
- package/dist/schema/call/service.d.ts +442 -417
- package/dist/schema/call/treasury.d.ts +25 -0
- package/dist/schema/common/index.js +3 -3
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +237 -81
- package/dist/schema/local/index.js +42 -6
- package/dist/schema/messenger/index.d.ts +1018 -79
- package/dist/schema/messenger/index.js +26 -17
- package/dist/schema/operations.d.ts +3192 -1746
- package/dist/schema/operations.js +93 -98
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +2762 -1856
- package/dist/schema/query/index.js +38 -35
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schemas/account_operation.output.json +25 -16
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/bridge_operation.output.json +744 -0
- package/dist/schemas/bridge_operation.schema.json +82 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +23 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/local_info_operation.output.json +23 -0
- package/dist/schemas/local_info_operation.schema.json +1 -1
- package/dist/schemas/local_mark_operation.output.json +24 -1
- package/dist/schemas/local_mark_operation.schema.json +4 -4
- package/dist/schemas/machineNode2file.schema.json +23 -0
- package/dist/schemas/messenger_operation.output.json +752 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +627 -18
- package/dist/schemas/onchain_operations.schema.json +115 -39
- package/dist/schemas/onchain_operations_allocation.schema.json +23 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +23 -0
- package/dist/schemas/onchain_operations_contact.schema.json +23 -0
- package/dist/schemas/onchain_operations_demand.schema.json +23 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +46 -0
- package/dist/schemas/onchain_operations_guard.schema.json +26 -16
- package/dist/schemas/onchain_operations_machine.schema.json +89 -23
- package/dist/schemas/onchain_operations_order.schema.json +23 -0
- package/dist/schemas/onchain_operations_payment.schema.json +23 -0
- package/dist/schemas/onchain_operations_permission.schema.json +23 -0
- package/dist/schemas/onchain_operations_personal.schema.json +23 -0
- package/dist/schemas/onchain_operations_progress.schema.json +23 -0
- package/dist/schemas/onchain_operations_repository.schema.json +23 -0
- package/dist/schemas/onchain_operations_reward.schema.json +23 -0
- package/dist/schemas/onchain_operations_service.schema.json +23 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +23 -0
- package/dist/schemas/onchain_table_data.output.json +939 -69
- package/dist/schemas/onchain_table_data.schema.json +2 -2
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/package.json +2 -2
|
@@ -1307,18 +1307,33 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1307
1307
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
1308
1308
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
1309
1309
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1310
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
1311
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1312
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
1314
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1310
1315
|
}, "strict", z.ZodTypeAny, {
|
|
1311
1316
|
account: string;
|
|
1312
1317
|
no_cache?: boolean | undefined;
|
|
1313
1318
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1314
1319
|
permission_guard?: string[] | undefined;
|
|
1315
1320
|
referrer?: string | undefined;
|
|
1321
|
+
confirmed?: boolean | undefined;
|
|
1322
|
+
user_intent_phrases?: string[] | undefined;
|
|
1323
|
+
project?: string | undefined;
|
|
1324
|
+
client_schema_version?: string | undefined;
|
|
1325
|
+
schema_strict_mode?: boolean | undefined;
|
|
1316
1326
|
}, {
|
|
1317
1327
|
no_cache?: boolean | undefined;
|
|
1318
1328
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1319
1329
|
account?: string | undefined;
|
|
1320
1330
|
permission_guard?: string[] | undefined;
|
|
1321
1331
|
referrer?: string | undefined;
|
|
1332
|
+
confirmed?: boolean | undefined;
|
|
1333
|
+
user_intent_phrases?: string[] | undefined;
|
|
1334
|
+
project?: string | undefined;
|
|
1335
|
+
client_schema_version?: string | undefined;
|
|
1336
|
+
schema_strict_mode?: boolean | undefined;
|
|
1322
1337
|
}>>;
|
|
1323
1338
|
}, "strict", z.ZodTypeAny, {
|
|
1324
1339
|
data: {
|
|
@@ -1387,6 +1402,11 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1387
1402
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1388
1403
|
permission_guard?: string[] | undefined;
|
|
1389
1404
|
referrer?: string | undefined;
|
|
1405
|
+
confirmed?: boolean | undefined;
|
|
1406
|
+
user_intent_phrases?: string[] | undefined;
|
|
1407
|
+
project?: string | undefined;
|
|
1408
|
+
client_schema_version?: string | undefined;
|
|
1409
|
+
schema_strict_mode?: boolean | undefined;
|
|
1390
1410
|
} | undefined;
|
|
1391
1411
|
}, {
|
|
1392
1412
|
data: {
|
|
@@ -1455,6 +1475,11 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1455
1475
|
account?: string | undefined;
|
|
1456
1476
|
permission_guard?: string[] | undefined;
|
|
1457
1477
|
referrer?: string | undefined;
|
|
1478
|
+
confirmed?: boolean | undefined;
|
|
1479
|
+
user_intent_phrases?: string[] | undefined;
|
|
1480
|
+
project?: string | undefined;
|
|
1481
|
+
client_schema_version?: string | undefined;
|
|
1482
|
+
schema_strict_mode?: boolean | undefined;
|
|
1458
1483
|
} | undefined;
|
|
1459
1484
|
}>;
|
|
1460
1485
|
export type InformationAdd = z.infer<typeof InformationAddSchema>;
|
|
@@ -393,18 +393,33 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
393
393
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
394
394
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
395
395
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
396
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
397
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
398
|
+
project: z.ZodOptional<z.ZodString>;
|
|
399
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
400
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
396
401
|
}, "strict", z.ZodTypeAny, {
|
|
397
402
|
account: string;
|
|
398
403
|
no_cache?: boolean | undefined;
|
|
399
404
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
400
405
|
permission_guard?: string[] | undefined;
|
|
401
406
|
referrer?: string | undefined;
|
|
407
|
+
confirmed?: boolean | undefined;
|
|
408
|
+
user_intent_phrases?: string[] | undefined;
|
|
409
|
+
project?: string | undefined;
|
|
410
|
+
client_schema_version?: string | undefined;
|
|
411
|
+
schema_strict_mode?: boolean | undefined;
|
|
402
412
|
}, {
|
|
403
413
|
no_cache?: boolean | undefined;
|
|
404
414
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
405
415
|
account?: string | undefined;
|
|
406
416
|
permission_guard?: string[] | undefined;
|
|
407
417
|
referrer?: string | undefined;
|
|
418
|
+
confirmed?: boolean | undefined;
|
|
419
|
+
user_intent_phrases?: string[] | undefined;
|
|
420
|
+
project?: string | undefined;
|
|
421
|
+
client_schema_version?: string | undefined;
|
|
422
|
+
schema_strict_mode?: boolean | undefined;
|
|
408
423
|
}>>;
|
|
409
424
|
submission: z.ZodOptional<z.ZodObject<{
|
|
410
425
|
type: z.ZodLiteral<"submission">;
|
|
@@ -653,6 +668,11 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
653
668
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
654
669
|
permission_guard?: string[] | undefined;
|
|
655
670
|
referrer?: string | undefined;
|
|
671
|
+
confirmed?: boolean | undefined;
|
|
672
|
+
user_intent_phrases?: string[] | undefined;
|
|
673
|
+
project?: string | undefined;
|
|
674
|
+
client_schema_version?: string | undefined;
|
|
675
|
+
schema_strict_mode?: boolean | undefined;
|
|
656
676
|
} | undefined;
|
|
657
677
|
}, {
|
|
658
678
|
data: {
|
|
@@ -721,5 +741,10 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
721
741
|
account?: string | undefined;
|
|
722
742
|
permission_guard?: string[] | undefined;
|
|
723
743
|
referrer?: string | undefined;
|
|
744
|
+
confirmed?: boolean | undefined;
|
|
745
|
+
user_intent_phrases?: string[] | undefined;
|
|
746
|
+
project?: string | undefined;
|
|
747
|
+
client_schema_version?: string | undefined;
|
|
748
|
+
schema_strict_mode?: boolean | undefined;
|
|
724
749
|
} | undefined;
|
|
725
750
|
}>;
|
|
@@ -29,28 +29,28 @@ export declare const CallProof_DataSchema: z.ZodObject<{
|
|
|
29
29
|
server_signature: string;
|
|
30
30
|
proof_type: string | number;
|
|
31
31
|
description?: string | undefined;
|
|
32
|
-
item_count?: string | number | null | undefined;
|
|
33
|
-
about_address?: string | null | undefined;
|
|
34
32
|
namedNew?: {
|
|
35
33
|
name?: string | undefined;
|
|
36
34
|
replaceExistName?: boolean | undefined;
|
|
37
35
|
tags?: string[] | undefined;
|
|
38
36
|
onChain?: boolean | undefined;
|
|
39
37
|
} | undefined;
|
|
38
|
+
item_count?: string | number | null | undefined;
|
|
39
|
+
about_address?: string | null | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
proof: string;
|
|
42
42
|
server_pubkey: string;
|
|
43
43
|
server_signature: string;
|
|
44
44
|
proof_type: string | number;
|
|
45
45
|
description?: string | undefined;
|
|
46
|
-
item_count?: string | number | null | undefined;
|
|
47
|
-
about_address?: string | null | undefined;
|
|
48
46
|
namedNew?: {
|
|
49
47
|
name?: string | undefined;
|
|
50
48
|
replaceExistName?: boolean | undefined;
|
|
51
49
|
tags?: string[] | undefined;
|
|
52
50
|
onChain?: boolean | undefined;
|
|
53
51
|
} | undefined;
|
|
52
|
+
item_count?: string | number | null | undefined;
|
|
53
|
+
about_address?: string | null | undefined;
|
|
54
54
|
}>;
|
|
55
55
|
export declare const CallProof_InputSchema: z.ZodObject<{
|
|
56
56
|
data: z.ZodObject<{
|
|
@@ -83,28 +83,28 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
83
83
|
server_signature: string;
|
|
84
84
|
proof_type: string | number;
|
|
85
85
|
description?: string | undefined;
|
|
86
|
-
item_count?: string | number | null | undefined;
|
|
87
|
-
about_address?: string | null | undefined;
|
|
88
86
|
namedNew?: {
|
|
89
87
|
name?: string | undefined;
|
|
90
88
|
replaceExistName?: boolean | undefined;
|
|
91
89
|
tags?: string[] | undefined;
|
|
92
90
|
onChain?: boolean | undefined;
|
|
93
91
|
} | undefined;
|
|
92
|
+
item_count?: string | number | null | undefined;
|
|
93
|
+
about_address?: string | null | undefined;
|
|
94
94
|
}, {
|
|
95
95
|
proof: string;
|
|
96
96
|
server_pubkey: string;
|
|
97
97
|
server_signature: string;
|
|
98
98
|
proof_type: string | number;
|
|
99
99
|
description?: string | undefined;
|
|
100
|
-
item_count?: string | number | null | undefined;
|
|
101
|
-
about_address?: string | null | undefined;
|
|
102
100
|
namedNew?: {
|
|
103
101
|
name?: string | undefined;
|
|
104
102
|
replaceExistName?: boolean | undefined;
|
|
105
103
|
tags?: string[] | undefined;
|
|
106
104
|
onChain?: boolean | undefined;
|
|
107
105
|
} | undefined;
|
|
106
|
+
item_count?: string | number | null | undefined;
|
|
107
|
+
about_address?: string | null | undefined;
|
|
108
108
|
}>;
|
|
109
109
|
env: z.ZodOptional<z.ZodObject<{
|
|
110
110
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
@@ -112,18 +112,33 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
112
112
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
113
113
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
114
114
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
115
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
117
|
+
project: z.ZodOptional<z.ZodString>;
|
|
118
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
119
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
115
120
|
}, "strict", z.ZodTypeAny, {
|
|
116
121
|
account: string;
|
|
117
122
|
no_cache?: boolean | undefined;
|
|
118
123
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
119
124
|
permission_guard?: string[] | undefined;
|
|
120
125
|
referrer?: string | undefined;
|
|
126
|
+
confirmed?: boolean | undefined;
|
|
127
|
+
user_intent_phrases?: string[] | undefined;
|
|
128
|
+
project?: string | undefined;
|
|
129
|
+
client_schema_version?: string | undefined;
|
|
130
|
+
schema_strict_mode?: boolean | undefined;
|
|
121
131
|
}, {
|
|
122
132
|
no_cache?: boolean | undefined;
|
|
123
133
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
124
134
|
account?: string | undefined;
|
|
125
135
|
permission_guard?: string[] | undefined;
|
|
126
136
|
referrer?: string | undefined;
|
|
137
|
+
confirmed?: boolean | undefined;
|
|
138
|
+
user_intent_phrases?: string[] | undefined;
|
|
139
|
+
project?: string | undefined;
|
|
140
|
+
client_schema_version?: string | undefined;
|
|
141
|
+
schema_strict_mode?: boolean | undefined;
|
|
127
142
|
}>>;
|
|
128
143
|
}, "strict", z.ZodTypeAny, {
|
|
129
144
|
data: {
|
|
@@ -132,14 +147,14 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
132
147
|
server_signature: string;
|
|
133
148
|
proof_type: string | number;
|
|
134
149
|
description?: string | undefined;
|
|
135
|
-
item_count?: string | number | null | undefined;
|
|
136
|
-
about_address?: string | null | undefined;
|
|
137
150
|
namedNew?: {
|
|
138
151
|
name?: string | undefined;
|
|
139
152
|
replaceExistName?: boolean | undefined;
|
|
140
153
|
tags?: string[] | undefined;
|
|
141
154
|
onChain?: boolean | undefined;
|
|
142
155
|
} | undefined;
|
|
156
|
+
item_count?: string | number | null | undefined;
|
|
157
|
+
about_address?: string | null | undefined;
|
|
143
158
|
};
|
|
144
159
|
env?: {
|
|
145
160
|
account: string;
|
|
@@ -147,6 +162,11 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
147
162
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
148
163
|
permission_guard?: string[] | undefined;
|
|
149
164
|
referrer?: string | undefined;
|
|
165
|
+
confirmed?: boolean | undefined;
|
|
166
|
+
user_intent_phrases?: string[] | undefined;
|
|
167
|
+
project?: string | undefined;
|
|
168
|
+
client_schema_version?: string | undefined;
|
|
169
|
+
schema_strict_mode?: boolean | undefined;
|
|
150
170
|
} | undefined;
|
|
151
171
|
}, {
|
|
152
172
|
data: {
|
|
@@ -155,14 +175,14 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
155
175
|
server_signature: string;
|
|
156
176
|
proof_type: string | number;
|
|
157
177
|
description?: string | undefined;
|
|
158
|
-
item_count?: string | number | null | undefined;
|
|
159
|
-
about_address?: string | null | undefined;
|
|
160
178
|
namedNew?: {
|
|
161
179
|
name?: string | undefined;
|
|
162
180
|
replaceExistName?: boolean | undefined;
|
|
163
181
|
tags?: string[] | undefined;
|
|
164
182
|
onChain?: boolean | undefined;
|
|
165
183
|
} | undefined;
|
|
184
|
+
item_count?: string | number | null | undefined;
|
|
185
|
+
about_address?: string | null | undefined;
|
|
166
186
|
};
|
|
167
187
|
env?: {
|
|
168
188
|
no_cache?: boolean | undefined;
|
|
@@ -170,6 +190,11 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
170
190
|
account?: string | undefined;
|
|
171
191
|
permission_guard?: string[] | undefined;
|
|
172
192
|
referrer?: string | undefined;
|
|
193
|
+
confirmed?: boolean | undefined;
|
|
194
|
+
user_intent_phrases?: string[] | undefined;
|
|
195
|
+
project?: string | undefined;
|
|
196
|
+
client_schema_version?: string | undefined;
|
|
197
|
+
schema_strict_mode?: boolean | undefined;
|
|
173
198
|
} | undefined;
|
|
174
199
|
}>;
|
|
175
200
|
export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
@@ -186,18 +211,33 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
186
211
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
187
212
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
188
213
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
214
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
215
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
216
|
+
project: z.ZodOptional<z.ZodString>;
|
|
217
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
218
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
189
219
|
}, "strict", z.ZodTypeAny, {
|
|
190
220
|
account: string;
|
|
191
221
|
no_cache?: boolean | undefined;
|
|
192
222
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
193
223
|
permission_guard?: string[] | undefined;
|
|
194
224
|
referrer?: string | undefined;
|
|
225
|
+
confirmed?: boolean | undefined;
|
|
226
|
+
user_intent_phrases?: string[] | undefined;
|
|
227
|
+
project?: string | undefined;
|
|
228
|
+
client_schema_version?: string | undefined;
|
|
229
|
+
schema_strict_mode?: boolean | undefined;
|
|
195
230
|
}, {
|
|
196
231
|
no_cache?: boolean | undefined;
|
|
197
232
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
198
233
|
account?: string | undefined;
|
|
199
234
|
permission_guard?: string[] | undefined;
|
|
200
235
|
referrer?: string | undefined;
|
|
236
|
+
confirmed?: boolean | undefined;
|
|
237
|
+
user_intent_phrases?: string[] | undefined;
|
|
238
|
+
project?: string | undefined;
|
|
239
|
+
client_schema_version?: string | undefined;
|
|
240
|
+
schema_strict_mode?: boolean | undefined;
|
|
201
241
|
}>>;
|
|
202
242
|
}, "strict", z.ZodTypeAny, {
|
|
203
243
|
proof: string;
|
|
@@ -211,6 +251,11 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
211
251
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
212
252
|
permission_guard?: string[] | undefined;
|
|
213
253
|
referrer?: string | undefined;
|
|
254
|
+
confirmed?: boolean | undefined;
|
|
255
|
+
user_intent_phrases?: string[] | undefined;
|
|
256
|
+
project?: string | undefined;
|
|
257
|
+
client_schema_version?: string | undefined;
|
|
258
|
+
schema_strict_mode?: boolean | undefined;
|
|
214
259
|
} | undefined;
|
|
215
260
|
item_count?: string | number | null | undefined;
|
|
216
261
|
about_address?: string | null | undefined;
|
|
@@ -226,6 +271,11 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
226
271
|
account?: string | undefined;
|
|
227
272
|
permission_guard?: string[] | undefined;
|
|
228
273
|
referrer?: string | undefined;
|
|
274
|
+
confirmed?: boolean | undefined;
|
|
275
|
+
user_intent_phrases?: string[] | undefined;
|
|
276
|
+
project?: string | undefined;
|
|
277
|
+
client_schema_version?: string | undefined;
|
|
278
|
+
schema_strict_mode?: boolean | undefined;
|
|
229
279
|
} | undefined;
|
|
230
280
|
item_count?: string | number | null | undefined;
|
|
231
281
|
about_address?: string | null | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { CallEnvSchema, NamedObjectSchema } from './base.js';
|
|
3
|
-
import { DescriptionSchema,
|
|
3
|
+
import { DescriptionSchema, WowAddressSchema } from '../common/index.js';
|
|
4
4
|
import { MAX_PROOF_SIZE, MAX_SERVER_PUBKEY_SIZE, MAX_SERVER_SIGNATURE_SIZE } from '@wowok/wowok';
|
|
5
5
|
export const CallProof_DataSchema = z.object({
|
|
6
6
|
namedNew: NamedObjectSchema.optional(),
|
|
@@ -10,7 +10,7 @@ export const CallProof_DataSchema = z.object({
|
|
|
10
10
|
server_signature: z.string().max(MAX_SERVER_SIGNATURE_SIZE).describe("Server signature"),
|
|
11
11
|
proof_type: z.union([z.number().int().min(0), z.string()]).describe("Proof type. 1: WTS proof; 1-100 reserved."),
|
|
12
12
|
item_count: z.union([z.number().int().min(0), z.string(), z.null()]).optional().describe("Item count. e.g. number of items in the merkle tree"),
|
|
13
|
-
about_address: z.union([
|
|
13
|
+
about_address: z.union([WowAddressSchema, z.null()]).optional().describe("About address (raw address only, NOT name). e.g. address of the entity being proved. Use 0x-prefixed 64-hex address."),
|
|
14
14
|
}).strict().describe("On-chain Proof creation. USAGE: Set 'namedNew' field with {name, tag?} to create a named Proof. Proof is an immutable object - it can only be created, not modified. The 'namedNew' field is CRITICAL and REQUIRED.");
|
|
15
15
|
export const CallProof_InputSchema = z.object({
|
|
16
16
|
data: CallProof_DataSchema,
|
|
@@ -23,6 +23,6 @@ export const CallGenProof_InputSchema = z.object({
|
|
|
23
23
|
proof_type: z.union([z.number().int().min(0), z.string()]).describe("Proof type. 1: WTS proof; 1-100 reserved."),
|
|
24
24
|
description: DescriptionSchema.optional(),
|
|
25
25
|
item_count: z.union([z.number().int().min(0), z.string(), z.null()]).optional().describe("Item count. e.g. number of items in the merkle tree"),
|
|
26
|
-
about_address: z.union([
|
|
26
|
+
about_address: z.union([WowAddressSchema, z.null()]).optional().describe("About address (raw address only, NOT name). e.g. address of the entity being proved. Use 0x-prefixed 64-hex address."),
|
|
27
27
|
env: CallEnvSchema.optional(),
|
|
28
28
|
}).strict().describe("Generate a new Proof object on-chain");
|