@wowok/agent-mcp 2.3.16 → 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/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +4 -0
- package/dist/customer/industry-risks.js +14 -0
- package/dist/customer/user-preferences.d.ts +3 -0
- package/dist/customer/user-preferences.js +9 -0
- package/dist/experience/realtime-feedback.js +17 -0
- package/dist/index.js +360 -273
- package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
- package/dist/knowledge/acquisition-flywheel.js +9 -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 +13 -0
- package/dist/knowledge/index.js +13 -0
- package/dist/knowledge/industry-registry.d.ts +1 -2
- package/dist/knowledge/industry-registry.js +23 -3
- package/dist/knowledge/safety-rules.js +61 -0
- package/dist/knowledge/tool-constraints.js +12 -22
- package/dist/safety/confirm-gate.d.ts +4 -2
- package/dist/safety/confirm-gate.js +48 -4
- package/dist/schema/call/allocation.d.ts +24 -14
- package/dist/schema/call/arbitration.d.ts +142 -132
- package/dist/schema/call/base.d.ts +901 -43
- package/dist/schema/call/base.js +66 -2
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +769 -1
- package/dist/schema/call/bridge.js +37 -0
- package/dist/schema/call/contact.d.ts +10 -0
- package/dist/schema/call/demand.d.ts +10 -0
- package/dist/schema/call/guard.d.ts +76 -46
- package/dist/schema/call/handler.js +46 -14
- package/dist/schema/call/machine.d.ts +158 -138
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/payment.d.ts +10 -0
- package/dist/schema/call/permission.d.ts +232 -222
- package/dist/schema/call/personal.d.ts +10 -0
- package/dist/schema/call/progress.d.ts +10 -0
- package/dist/schema/call/proof.d.ts +20 -0
- package/dist/schema/call/repository.d.ts +32 -22
- package/dist/schema/call/reward.d.ts +10 -0
- package/dist/schema/call/semantic.d.ts +9 -2
- package/dist/schema/call/semantic.js +409 -21
- package/dist/schema/call/service.d.ts +20 -10
- package/dist/schema/call/treasury.d.ts +10 -0
- 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 +9 -9
- package/dist/schema/local/index.js +9 -0
- package/dist/schema/messenger/index.d.ts +350 -29
- package/dist/schema/messenger/index.js +17 -17
- package/dist/schema/operations.d.ts +1667 -545
- package/dist/schema/operations.js +91 -96
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +1074 -168
- package/dist/schema/query/index.js +8 -8
- 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/bridge_operation.output.json +224 -0
- package/dist/schemas/bridge_operation.schema.json +67 -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 +8 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/machineNode2file.schema.json +8 -0
- package/dist/schemas/messenger_operation.output.json +224 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +277 -2
- package/dist/schemas/onchain_operations.schema.json +19 -16
- package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
- package/dist/schemas/onchain_operations_contact.schema.json +8 -0
- package/dist/schemas/onchain_operations_demand.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
- package/dist/schemas/onchain_operations_guard.schema.json +11 -16
- package/dist/schemas/onchain_operations_machine.schema.json +8 -0
- package/dist/schemas/onchain_operations_order.schema.json +8 -0
- package/dist/schemas/onchain_operations_payment.schema.json +8 -0
- package/dist/schemas/onchain_operations_permission.schema.json +8 -0
- package/dist/schemas/onchain_operations_personal.schema.json +8 -0
- package/dist/schemas/onchain_operations_progress.schema.json +8 -0
- package/dist/schemas/onchain_operations_repository.schema.json +8 -0
- package/dist/schemas/onchain_operations_reward.schema.json +8 -0
- package/dist/schemas/onchain_operations_service.schema.json +8 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
- package/dist/schemas/onchain_table_data.output.json +718 -0
- 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
|
@@ -11,10 +11,13 @@ export const EvmAddressSchema = z.string()
|
|
|
11
11
|
.describe("EVM address (0x + 40 hex)");
|
|
12
12
|
export const BridgeAmountSchema = z.string()
|
|
13
13
|
.describe("Cross-chain amount as a string in the smallest unit (e.g. wei / token minimal unit). Example: 1 ETH = '1000000000000000000'");
|
|
14
|
+
export const BridgeIdempotencyKeySchema = z.string().min(1).max(128)
|
|
15
|
+
.describe("Idempotency key (1-128 chars). Prevents duplicate transfers on retry. If a successful transfer with this key exists, returns it immediately (idempotentHit=true).");
|
|
14
16
|
export const BridgeOperationTypeSchema = z.enum([
|
|
15
17
|
"cross_chain_wow_to_evm",
|
|
16
18
|
"cross_chain_evm_to_wow",
|
|
17
19
|
"claim_wow_to_evm",
|
|
20
|
+
"resume_transfer",
|
|
18
21
|
"withdraw",
|
|
19
22
|
"query_active_evm_account",
|
|
20
23
|
"query_supported_evm_chains",
|
|
@@ -28,6 +31,10 @@ export const BridgeWowToEvmDataSchema = z.object({
|
|
|
28
31
|
amount: BridgeAmountSchema.describe("Cross-chain amount (WOW-side smallest unit, wowDecimals)"),
|
|
29
32
|
withdrawTo: EvmAddressSchema.optional()
|
|
30
33
|
.describe("Final withdrawal EVM address; if omitted, assets remain in activeEvmAccount. When provided, the SDK uses the activeEvmAccount key to transfer to this address."),
|
|
34
|
+
idempotencyKey: BridgeIdempotencyKeySchema.optional()
|
|
35
|
+
.describe("Idempotency key to prevent duplicate deposits on retry. If a successful transfer with this key exists, returns it immediately (idempotentHit=true)."),
|
|
36
|
+
idempotentByParams: z.boolean().optional()
|
|
37
|
+
.describe("If true, auto-generates an idempotency key from token+amount+withdrawTo. Use when you want implicit idempotency without managing explicit keys."),
|
|
31
38
|
}).strict().describe("WOW→EVM cross-chain (step 1: deposit only). " +
|
|
32
39
|
"Returns immediately with depositTxDigest + bridgeSeq + transferId. " +
|
|
33
40
|
"This operation only locks assets on WOW; it does NOT complete the cross-chain. " +
|
|
@@ -40,6 +47,10 @@ export const BridgeEvmToWowDataSchema = z.object({
|
|
|
40
47
|
amount: BridgeAmountSchema.describe("Cross-chain amount (EVM-side smallest unit, evmDecimals)"),
|
|
41
48
|
recipientWowAddress: WowAddressSchema.optional()
|
|
42
49
|
.describe("WOW recipient address or account name; defaults to env.account if omitted"),
|
|
50
|
+
idempotencyKey: BridgeIdempotencyKeySchema.optional()
|
|
51
|
+
.describe("Idempotency key to prevent duplicate deposits on retry. If a successful transfer with this key exists, returns it immediately (idempotentHit=true)."),
|
|
52
|
+
idempotentByParams: z.boolean().optional()
|
|
53
|
+
.describe("If true, auto-generates an idempotency key from token+amount+recipientWowAddress. Use when you want implicit idempotency without managing explicit keys."),
|
|
43
54
|
}).strict().describe("EVM→WOW cross-chain (single step: deposit). " +
|
|
44
55
|
"Returns immediately with depositTxHash + transferId. " +
|
|
45
56
|
"Bridge will automatically claim on WOW (no WOW gas needed, no user action required). " +
|
|
@@ -59,6 +70,17 @@ export const BridgeClaimWowToEvmDataSchema = z.object({
|
|
|
59
70
|
"After claim_wow_to_evm returns, the claim tx has been submitted and confirmed (1 block) on EVM. " +
|
|
60
71
|
"Use query_transfer_status(refresh=true) to verify latestState.step = 'completed'. " +
|
|
61
72
|
"[Gas requirements] Requires activeEvmAccount to have target-chain gas (for the claim transaction).");
|
|
73
|
+
export const BridgeResumeTransferDataSchema = z.object({
|
|
74
|
+
transferId: z.string().describe("Transfer ID to resume (br_<timestamp>_<counter>)"),
|
|
75
|
+
}).strict().describe("Resume an interrupted transfer from its current step. " +
|
|
76
|
+
"Use this when a transfer was interrupted (e.g. MCP restart, network error) and you want to continue from where it left off. " +
|
|
77
|
+
"The SDK determines the current step and attempts to advance it: " +
|
|
78
|
+
"- If deposit step failed: retries the deposit " +
|
|
79
|
+
"- If deposit is pending/confirmed: waits for bridge signatures and proceeds to claim " +
|
|
80
|
+
"- If claim step is ready: executes the claim " +
|
|
81
|
+
"- If transfer is already complete: returns the existing record (idempotentHit=true) " +
|
|
82
|
+
"[Returns] The updated transfer record after attempting to advance it. " +
|
|
83
|
+
"[Requires env] WOW env is needed for WOW-side operations; EVM-side operations use activeEvmAccount.");
|
|
62
84
|
export const BridgeWithdrawDataSchema = z.object({
|
|
63
85
|
to: EvmAddressSchema.describe("Withdrawal target EVM address"),
|
|
64
86
|
amount: BridgeAmountSchema.describe("Withdrawal amount (smallest unit)"),
|
|
@@ -186,6 +208,11 @@ export const BridgeOperationsSchema = z.preprocess((input) => {
|
|
|
186
208
|
data: BridgeClaimWowToEvmDataSchema,
|
|
187
209
|
env: CallEnvSchema.optional(),
|
|
188
210
|
}).describe("WOW→EVM claim (step 2): claim assets on EVM after bridge signed. Requires activeEvmAccount to have EVM gas. [Requires WOW mainnet env]"),
|
|
211
|
+
z.object({
|
|
212
|
+
operation_type: z.literal("resume_transfer"),
|
|
213
|
+
data: BridgeResumeTransferDataSchema,
|
|
214
|
+
env: CallEnvSchema.optional(),
|
|
215
|
+
}).describe("Resume an interrupted transfer from its current step. Safe to retry. [Requires WOW mainnet env for WOW-side operations]"),
|
|
189
216
|
z.object({
|
|
190
217
|
operation_type: z.literal("withdraw"),
|
|
191
218
|
data: BridgeWithdrawDataSchema,
|
|
@@ -258,6 +285,7 @@ export const BridgeTransferRecordSchema = z.object({
|
|
|
258
285
|
recipientEth: z.string().optional().describe("ETH-side recipient address"),
|
|
259
286
|
recipientWow: z.string().optional().describe("WOW-side recipient address"),
|
|
260
287
|
intermediateEthAccount: z.string().describe("Intermediate EVM account (activeEvmAccount)"),
|
|
288
|
+
idempotencyKey: z.string().optional().describe("Idempotency key used for this transfer (if any)"),
|
|
261
289
|
step: z.enum(["init", "deposit", "claimed", "withdraw", "withdrawn"]).describe("Current step in the transfer lifecycle: " +
|
|
262
290
|
"init=just created; " +
|
|
263
291
|
"deposit=source chain deposit in progress; " +
|
|
@@ -283,11 +311,15 @@ export const BridgeWowToEvmResultSchema = z.object({
|
|
|
283
311
|
bridgeSeq: z.string().describe("Bridge sequence number"),
|
|
284
312
|
activeEvmAccount: z.string().describe("activeEvmAccount address that will receive the assets"),
|
|
285
313
|
transferId: z.string().describe("Transfer ID (br_<timestamp>_<counter>). Save this for claim_wow_to_evm (step 2) and query_transfer_status"),
|
|
314
|
+
idempotentHit: z.boolean().optional().describe("true if this result was returned from idempotency cache (no new deposit executed)"),
|
|
315
|
+
idempotencyKey: z.string().optional().describe("Idempotency key used (if any)"),
|
|
286
316
|
}).strict().describe("WOW→EVM cross-chain step 1 result (deposit only, claim pending)");
|
|
287
317
|
export const BridgeEvmToWowResultSchema = z.object({
|
|
288
318
|
depositTxHash: z.string().describe("EVM deposit tx hash"),
|
|
289
319
|
activeEvmAccount: z.string().describe("activeEvmAccount address that initiated the deposit"),
|
|
290
320
|
transferId: z.string().describe("Transfer ID (br_<timestamp>_<counter>). Save this for query_transfer_status"),
|
|
321
|
+
idempotentHit: z.boolean().optional().describe("true if this result was returned from idempotency cache (no new deposit executed)"),
|
|
322
|
+
idempotencyKey: z.string().optional().describe("Idempotency key used (if any)"),
|
|
291
323
|
}).strict().describe("EVM→WOW cross-chain result (deposit submitted, auto-claim in progress)");
|
|
292
324
|
export const BridgeClaimWowToEvmResultSchema = z.object({
|
|
293
325
|
claimTxHash: z.string().describe("EVM claim tx hash"),
|
|
@@ -357,6 +389,11 @@ export const BridgeOutputSchema = z.discriminatedUnion("operation_type", [
|
|
|
357
389
|
result: BridgeClaimWowToEvmResultSchema,
|
|
358
390
|
message: z.string().optional().describe("Result summary or hint message"),
|
|
359
391
|
}).describe("WOW→EVM claim (step 2) result"),
|
|
392
|
+
z.object({
|
|
393
|
+
operation_type: z.literal("resume_transfer"),
|
|
394
|
+
result: BridgeTransferRecordSchema,
|
|
395
|
+
message: z.string().optional().describe("Result summary or hint message"),
|
|
396
|
+
}).describe("Resume interrupted transfer result"),
|
|
360
397
|
z.object({
|
|
361
398
|
operation_type: z.literal("withdraw"),
|
|
362
399
|
result: BridgeWithdrawResultSchema,
|
|
@@ -605,6 +605,8 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
605
605
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
606
606
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
607
607
|
project: z.ZodOptional<z.ZodString>;
|
|
608
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
609
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
608
610
|
}, "strict", z.ZodTypeAny, {
|
|
609
611
|
account: string;
|
|
610
612
|
no_cache?: boolean | undefined;
|
|
@@ -614,6 +616,8 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
614
616
|
confirmed?: boolean | undefined;
|
|
615
617
|
user_intent_phrases?: string[] | undefined;
|
|
616
618
|
project?: string | undefined;
|
|
619
|
+
client_schema_version?: string | undefined;
|
|
620
|
+
schema_strict_mode?: boolean | undefined;
|
|
617
621
|
}, {
|
|
618
622
|
no_cache?: boolean | undefined;
|
|
619
623
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -623,6 +627,8 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
623
627
|
confirmed?: boolean | undefined;
|
|
624
628
|
user_intent_phrases?: string[] | undefined;
|
|
625
629
|
project?: string | undefined;
|
|
630
|
+
client_schema_version?: string | undefined;
|
|
631
|
+
schema_strict_mode?: boolean | undefined;
|
|
626
632
|
}>>;
|
|
627
633
|
submission: z.ZodOptional<z.ZodObject<{
|
|
628
634
|
type: z.ZodLiteral<"submission">;
|
|
@@ -890,6 +896,8 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
890
896
|
confirmed?: boolean | undefined;
|
|
891
897
|
user_intent_phrases?: string[] | undefined;
|
|
892
898
|
project?: string | undefined;
|
|
899
|
+
client_schema_version?: string | undefined;
|
|
900
|
+
schema_strict_mode?: boolean | undefined;
|
|
893
901
|
} | undefined;
|
|
894
902
|
}, {
|
|
895
903
|
data: {
|
|
@@ -977,6 +985,8 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
977
985
|
confirmed?: boolean | undefined;
|
|
978
986
|
user_intent_phrases?: string[] | undefined;
|
|
979
987
|
project?: string | undefined;
|
|
988
|
+
client_schema_version?: string | undefined;
|
|
989
|
+
schema_strict_mode?: boolean | undefined;
|
|
980
990
|
} | undefined;
|
|
981
991
|
}>;
|
|
982
992
|
export type ImEntry = z.infer<typeof ImEntrySchema>;
|
|
@@ -856,6 +856,8 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
856
856
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
857
857
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
858
858
|
project: z.ZodOptional<z.ZodString>;
|
|
859
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
860
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
859
861
|
}, "strict", z.ZodTypeAny, {
|
|
860
862
|
account: string;
|
|
861
863
|
no_cache?: boolean | undefined;
|
|
@@ -865,6 +867,8 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
865
867
|
confirmed?: boolean | undefined;
|
|
866
868
|
user_intent_phrases?: string[] | undefined;
|
|
867
869
|
project?: string | undefined;
|
|
870
|
+
client_schema_version?: string | undefined;
|
|
871
|
+
schema_strict_mode?: boolean | undefined;
|
|
868
872
|
}, {
|
|
869
873
|
no_cache?: boolean | undefined;
|
|
870
874
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -874,6 +878,8 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
874
878
|
confirmed?: boolean | undefined;
|
|
875
879
|
user_intent_phrases?: string[] | undefined;
|
|
876
880
|
project?: string | undefined;
|
|
881
|
+
client_schema_version?: string | undefined;
|
|
882
|
+
schema_strict_mode?: boolean | undefined;
|
|
877
883
|
}>>;
|
|
878
884
|
submission: z.ZodOptional<z.ZodObject<{
|
|
879
885
|
type: z.ZodLiteral<"submission">;
|
|
@@ -1163,6 +1169,8 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
1163
1169
|
confirmed?: boolean | undefined;
|
|
1164
1170
|
user_intent_phrases?: string[] | undefined;
|
|
1165
1171
|
project?: string | undefined;
|
|
1172
|
+
client_schema_version?: string | undefined;
|
|
1173
|
+
schema_strict_mode?: boolean | undefined;
|
|
1166
1174
|
} | undefined;
|
|
1167
1175
|
}, {
|
|
1168
1176
|
data: {
|
|
@@ -1272,6 +1280,8 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
1272
1280
|
confirmed?: boolean | undefined;
|
|
1273
1281
|
user_intent_phrases?: string[] | undefined;
|
|
1274
1282
|
project?: string | undefined;
|
|
1283
|
+
client_schema_version?: string | undefined;
|
|
1284
|
+
schema_strict_mode?: boolean | undefined;
|
|
1275
1285
|
} | undefined;
|
|
1276
1286
|
}>;
|
|
1277
1287
|
export type CallDemand_Data = z.infer<typeof CallDemand_DataSchema>;
|
|
@@ -126,13 +126,6 @@ export declare const CallGuard_DataSchema: z.ZodEffects<z.ZodObject<{
|
|
|
126
126
|
}>>;
|
|
127
127
|
}, "strict", z.ZodTypeAny, {
|
|
128
128
|
description?: string | undefined;
|
|
129
|
-
namedNew?: {
|
|
130
|
-
name?: string | undefined;
|
|
131
|
-
replaceExistName?: boolean | undefined;
|
|
132
|
-
tags?: string[] | undefined;
|
|
133
|
-
onChain?: boolean | undefined;
|
|
134
|
-
} | undefined;
|
|
135
|
-
root?: any;
|
|
136
129
|
table?: {
|
|
137
130
|
identifier: number;
|
|
138
131
|
b_submission: boolean;
|
|
@@ -149,19 +142,19 @@ export declare const CallGuard_DataSchema: z.ZodEffects<z.ZodObject<{
|
|
|
149
142
|
check_all_founded?: boolean | undefined;
|
|
150
143
|
} | string[] | boolean[] | number[] | number[][] | undefined;
|
|
151
144
|
}[] | undefined;
|
|
145
|
+
root?: any;
|
|
152
146
|
rely?: {
|
|
153
147
|
guards: string[];
|
|
154
148
|
logic_or?: boolean | undefined;
|
|
155
149
|
} | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
description?: string | undefined;
|
|
158
150
|
namedNew?: {
|
|
159
151
|
name?: string | undefined;
|
|
160
152
|
replaceExistName?: boolean | undefined;
|
|
161
153
|
tags?: string[] | undefined;
|
|
162
154
|
onChain?: boolean | undefined;
|
|
163
155
|
} | undefined;
|
|
164
|
-
|
|
156
|
+
}, {
|
|
157
|
+
description?: string | undefined;
|
|
165
158
|
table?: {
|
|
166
159
|
identifier: number;
|
|
167
160
|
b_submission: boolean;
|
|
@@ -178,19 +171,19 @@ export declare const CallGuard_DataSchema: z.ZodEffects<z.ZodObject<{
|
|
|
178
171
|
} | string[] | boolean[] | number[] | number[][] | undefined;
|
|
179
172
|
name?: string | undefined;
|
|
180
173
|
}[] | undefined;
|
|
174
|
+
root?: any;
|
|
181
175
|
rely?: {
|
|
182
176
|
guards: string[];
|
|
183
177
|
logic_or?: boolean | undefined;
|
|
184
178
|
} | undefined;
|
|
185
|
-
}>, {
|
|
186
|
-
description?: string | undefined;
|
|
187
179
|
namedNew?: {
|
|
188
180
|
name?: string | undefined;
|
|
189
181
|
replaceExistName?: boolean | undefined;
|
|
190
182
|
tags?: string[] | undefined;
|
|
191
183
|
onChain?: boolean | undefined;
|
|
192
184
|
} | undefined;
|
|
193
|
-
|
|
185
|
+
}>, {
|
|
186
|
+
description?: string | undefined;
|
|
194
187
|
table?: {
|
|
195
188
|
identifier: number;
|
|
196
189
|
b_submission: boolean;
|
|
@@ -207,19 +200,19 @@ export declare const CallGuard_DataSchema: z.ZodEffects<z.ZodObject<{
|
|
|
207
200
|
check_all_founded?: boolean | undefined;
|
|
208
201
|
} | string[] | boolean[] | number[] | number[][] | undefined;
|
|
209
202
|
}[] | undefined;
|
|
203
|
+
root?: any;
|
|
210
204
|
rely?: {
|
|
211
205
|
guards: string[];
|
|
212
206
|
logic_or?: boolean | undefined;
|
|
213
207
|
} | undefined;
|
|
214
|
-
}, {
|
|
215
|
-
description?: string | undefined;
|
|
216
208
|
namedNew?: {
|
|
217
209
|
name?: string | undefined;
|
|
218
210
|
replaceExistName?: boolean | undefined;
|
|
219
211
|
tags?: string[] | undefined;
|
|
220
212
|
onChain?: boolean | undefined;
|
|
221
213
|
} | undefined;
|
|
222
|
-
|
|
214
|
+
}, {
|
|
215
|
+
description?: string | undefined;
|
|
223
216
|
table?: {
|
|
224
217
|
identifier: number;
|
|
225
218
|
b_submission: boolean;
|
|
@@ -236,10 +229,17 @@ export declare const CallGuard_DataSchema: z.ZodEffects<z.ZodObject<{
|
|
|
236
229
|
} | string[] | boolean[] | number[] | number[][] | undefined;
|
|
237
230
|
name?: string | undefined;
|
|
238
231
|
}[] | undefined;
|
|
232
|
+
root?: any;
|
|
239
233
|
rely?: {
|
|
240
234
|
guards: string[];
|
|
241
235
|
logic_or?: boolean | undefined;
|
|
242
236
|
} | undefined;
|
|
237
|
+
namedNew?: {
|
|
238
|
+
name?: string | undefined;
|
|
239
|
+
replaceExistName?: boolean | undefined;
|
|
240
|
+
tags?: string[] | undefined;
|
|
241
|
+
onChain?: boolean | undefined;
|
|
242
|
+
} | undefined;
|
|
243
243
|
}>;
|
|
244
244
|
export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
245
245
|
data: z.ZodEffects<z.ZodObject<{
|
|
@@ -355,13 +355,6 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
355
355
|
}>>;
|
|
356
356
|
}, "strict", z.ZodTypeAny, {
|
|
357
357
|
description?: string | undefined;
|
|
358
|
-
namedNew?: {
|
|
359
|
-
name?: string | undefined;
|
|
360
|
-
replaceExistName?: boolean | undefined;
|
|
361
|
-
tags?: string[] | undefined;
|
|
362
|
-
onChain?: boolean | undefined;
|
|
363
|
-
} | undefined;
|
|
364
|
-
root?: any;
|
|
365
358
|
table?: {
|
|
366
359
|
identifier: number;
|
|
367
360
|
b_submission: boolean;
|
|
@@ -378,19 +371,19 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
378
371
|
check_all_founded?: boolean | undefined;
|
|
379
372
|
} | string[] | boolean[] | number[] | number[][] | undefined;
|
|
380
373
|
}[] | undefined;
|
|
374
|
+
root?: any;
|
|
381
375
|
rely?: {
|
|
382
376
|
guards: string[];
|
|
383
377
|
logic_or?: boolean | undefined;
|
|
384
378
|
} | undefined;
|
|
385
|
-
}, {
|
|
386
|
-
description?: string | undefined;
|
|
387
379
|
namedNew?: {
|
|
388
380
|
name?: string | undefined;
|
|
389
381
|
replaceExistName?: boolean | undefined;
|
|
390
382
|
tags?: string[] | undefined;
|
|
391
383
|
onChain?: boolean | undefined;
|
|
392
384
|
} | undefined;
|
|
393
|
-
|
|
385
|
+
}, {
|
|
386
|
+
description?: string | undefined;
|
|
394
387
|
table?: {
|
|
395
388
|
identifier: number;
|
|
396
389
|
b_submission: boolean;
|
|
@@ -407,19 +400,19 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
407
400
|
} | string[] | boolean[] | number[] | number[][] | undefined;
|
|
408
401
|
name?: string | undefined;
|
|
409
402
|
}[] | undefined;
|
|
403
|
+
root?: any;
|
|
410
404
|
rely?: {
|
|
411
405
|
guards: string[];
|
|
412
406
|
logic_or?: boolean | undefined;
|
|
413
407
|
} | undefined;
|
|
414
|
-
}>, {
|
|
415
|
-
description?: string | undefined;
|
|
416
408
|
namedNew?: {
|
|
417
409
|
name?: string | undefined;
|
|
418
410
|
replaceExistName?: boolean | undefined;
|
|
419
411
|
tags?: string[] | undefined;
|
|
420
412
|
onChain?: boolean | undefined;
|
|
421
413
|
} | undefined;
|
|
422
|
-
|
|
414
|
+
}>, {
|
|
415
|
+
description?: string | undefined;
|
|
423
416
|
table?: {
|
|
424
417
|
identifier: number;
|
|
425
418
|
b_submission: boolean;
|
|
@@ -436,19 +429,19 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
436
429
|
check_all_founded?: boolean | undefined;
|
|
437
430
|
} | string[] | boolean[] | number[] | number[][] | undefined;
|
|
438
431
|
}[] | undefined;
|
|
432
|
+
root?: any;
|
|
439
433
|
rely?: {
|
|
440
434
|
guards: string[];
|
|
441
435
|
logic_or?: boolean | undefined;
|
|
442
436
|
} | undefined;
|
|
443
|
-
}, {
|
|
444
|
-
description?: string | undefined;
|
|
445
437
|
namedNew?: {
|
|
446
438
|
name?: string | undefined;
|
|
447
439
|
replaceExistName?: boolean | undefined;
|
|
448
440
|
tags?: string[] | undefined;
|
|
449
441
|
onChain?: boolean | undefined;
|
|
450
442
|
} | undefined;
|
|
451
|
-
|
|
443
|
+
}, {
|
|
444
|
+
description?: string | undefined;
|
|
452
445
|
table?: {
|
|
453
446
|
identifier: number;
|
|
454
447
|
b_submission: boolean;
|
|
@@ -465,10 +458,17 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
465
458
|
} | string[] | boolean[] | number[] | number[][] | undefined;
|
|
466
459
|
name?: string | undefined;
|
|
467
460
|
}[] | undefined;
|
|
461
|
+
root?: any;
|
|
468
462
|
rely?: {
|
|
469
463
|
guards: string[];
|
|
470
464
|
logic_or?: boolean | undefined;
|
|
471
465
|
} | undefined;
|
|
466
|
+
namedNew?: {
|
|
467
|
+
name?: string | undefined;
|
|
468
|
+
replaceExistName?: boolean | undefined;
|
|
469
|
+
tags?: string[] | undefined;
|
|
470
|
+
onChain?: boolean | undefined;
|
|
471
|
+
} | undefined;
|
|
472
472
|
}>;
|
|
473
473
|
env: z.ZodOptional<z.ZodObject<{
|
|
474
474
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
@@ -479,6 +479,8 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
479
479
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
480
480
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
481
481
|
project: z.ZodOptional<z.ZodString>;
|
|
482
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
483
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
482
484
|
}, "strict", z.ZodTypeAny, {
|
|
483
485
|
account: string;
|
|
484
486
|
no_cache?: boolean | undefined;
|
|
@@ -488,6 +490,8 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
488
490
|
confirmed?: boolean | undefined;
|
|
489
491
|
user_intent_phrases?: string[] | undefined;
|
|
490
492
|
project?: string | undefined;
|
|
493
|
+
client_schema_version?: string | undefined;
|
|
494
|
+
schema_strict_mode?: boolean | undefined;
|
|
491
495
|
}, {
|
|
492
496
|
no_cache?: boolean | undefined;
|
|
493
497
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -497,17 +501,12 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
497
501
|
confirmed?: boolean | undefined;
|
|
498
502
|
user_intent_phrases?: string[] | undefined;
|
|
499
503
|
project?: string | undefined;
|
|
504
|
+
client_schema_version?: string | undefined;
|
|
505
|
+
schema_strict_mode?: boolean | undefined;
|
|
500
506
|
}>>;
|
|
501
507
|
}, "strict", z.ZodTypeAny, {
|
|
502
508
|
data: {
|
|
503
509
|
description?: string | undefined;
|
|
504
|
-
namedNew?: {
|
|
505
|
-
name?: string | undefined;
|
|
506
|
-
replaceExistName?: boolean | undefined;
|
|
507
|
-
tags?: string[] | undefined;
|
|
508
|
-
onChain?: boolean | undefined;
|
|
509
|
-
} | undefined;
|
|
510
|
-
root?: any;
|
|
511
510
|
table?: {
|
|
512
511
|
identifier: number;
|
|
513
512
|
b_submission: boolean;
|
|
@@ -524,10 +523,17 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
524
523
|
check_all_founded?: boolean | undefined;
|
|
525
524
|
} | string[] | boolean[] | number[] | number[][] | undefined;
|
|
526
525
|
}[] | undefined;
|
|
526
|
+
root?: any;
|
|
527
527
|
rely?: {
|
|
528
528
|
guards: string[];
|
|
529
529
|
logic_or?: boolean | undefined;
|
|
530
530
|
} | undefined;
|
|
531
|
+
namedNew?: {
|
|
532
|
+
name?: string | undefined;
|
|
533
|
+
replaceExistName?: boolean | undefined;
|
|
534
|
+
tags?: string[] | undefined;
|
|
535
|
+
onChain?: boolean | undefined;
|
|
536
|
+
} | undefined;
|
|
531
537
|
};
|
|
532
538
|
env?: {
|
|
533
539
|
account: string;
|
|
@@ -538,17 +544,12 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
538
544
|
confirmed?: boolean | undefined;
|
|
539
545
|
user_intent_phrases?: string[] | undefined;
|
|
540
546
|
project?: string | undefined;
|
|
547
|
+
client_schema_version?: string | undefined;
|
|
548
|
+
schema_strict_mode?: boolean | undefined;
|
|
541
549
|
} | undefined;
|
|
542
550
|
}, {
|
|
543
551
|
data: {
|
|
544
552
|
description?: string | undefined;
|
|
545
|
-
namedNew?: {
|
|
546
|
-
name?: string | undefined;
|
|
547
|
-
replaceExistName?: boolean | undefined;
|
|
548
|
-
tags?: string[] | undefined;
|
|
549
|
-
onChain?: boolean | undefined;
|
|
550
|
-
} | undefined;
|
|
551
|
-
root?: any;
|
|
552
553
|
table?: {
|
|
553
554
|
identifier: number;
|
|
554
555
|
b_submission: boolean;
|
|
@@ -565,10 +566,17 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
565
566
|
} | string[] | boolean[] | number[] | number[][] | undefined;
|
|
566
567
|
name?: string | undefined;
|
|
567
568
|
}[] | undefined;
|
|
569
|
+
root?: any;
|
|
568
570
|
rely?: {
|
|
569
571
|
guards: string[];
|
|
570
572
|
logic_or?: boolean | undefined;
|
|
571
573
|
} | undefined;
|
|
574
|
+
namedNew?: {
|
|
575
|
+
name?: string | undefined;
|
|
576
|
+
replaceExistName?: boolean | undefined;
|
|
577
|
+
tags?: string[] | undefined;
|
|
578
|
+
onChain?: boolean | undefined;
|
|
579
|
+
} | undefined;
|
|
572
580
|
};
|
|
573
581
|
env?: {
|
|
574
582
|
no_cache?: boolean | undefined;
|
|
@@ -579,6 +587,8 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
579
587
|
confirmed?: boolean | undefined;
|
|
580
588
|
user_intent_phrases?: string[] | undefined;
|
|
581
589
|
project?: string | undefined;
|
|
590
|
+
client_schema_version?: string | undefined;
|
|
591
|
+
schema_strict_mode?: boolean | undefined;
|
|
582
592
|
} | undefined;
|
|
583
593
|
}>;
|
|
584
594
|
export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
@@ -772,6 +782,8 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
772
782
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
773
783
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
774
784
|
project: z.ZodOptional<z.ZodString>;
|
|
785
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
786
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
775
787
|
}, "strict", z.ZodTypeAny, {
|
|
776
788
|
account: string;
|
|
777
789
|
no_cache?: boolean | undefined;
|
|
@@ -781,6 +793,8 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
781
793
|
confirmed?: boolean | undefined;
|
|
782
794
|
user_intent_phrases?: string[] | undefined;
|
|
783
795
|
project?: string | undefined;
|
|
796
|
+
client_schema_version?: string | undefined;
|
|
797
|
+
schema_strict_mode?: boolean | undefined;
|
|
784
798
|
}, {
|
|
785
799
|
no_cache?: boolean | undefined;
|
|
786
800
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -790,6 +804,8 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
790
804
|
confirmed?: boolean | undefined;
|
|
791
805
|
user_intent_phrases?: string[] | undefined;
|
|
792
806
|
project?: string | undefined;
|
|
807
|
+
client_schema_version?: string | undefined;
|
|
808
|
+
schema_strict_mode?: boolean | undefined;
|
|
793
809
|
}>>;
|
|
794
810
|
}, "strict", z.ZodTypeAny, {
|
|
795
811
|
guard: string | string[];
|
|
@@ -829,6 +845,8 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
829
845
|
confirmed?: boolean | undefined;
|
|
830
846
|
user_intent_phrases?: string[] | undefined;
|
|
831
847
|
project?: string | undefined;
|
|
848
|
+
client_schema_version?: string | undefined;
|
|
849
|
+
schema_strict_mode?: boolean | undefined;
|
|
832
850
|
} | undefined;
|
|
833
851
|
}, {
|
|
834
852
|
guard: string | string[];
|
|
@@ -868,6 +886,8 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
868
886
|
confirmed?: boolean | undefined;
|
|
869
887
|
user_intent_phrases?: string[] | undefined;
|
|
870
888
|
project?: string | undefined;
|
|
889
|
+
client_schema_version?: string | undefined;
|
|
890
|
+
schema_strict_mode?: boolean | undefined;
|
|
871
891
|
} | undefined;
|
|
872
892
|
}>;
|
|
873
893
|
export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
@@ -883,6 +903,8 @@ export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
|
883
903
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
884
904
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
885
905
|
project: z.ZodOptional<z.ZodString>;
|
|
906
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
907
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
886
908
|
}, "strict", z.ZodTypeAny, {
|
|
887
909
|
account: string;
|
|
888
910
|
no_cache?: boolean | undefined;
|
|
@@ -892,6 +914,8 @@ export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
|
892
914
|
confirmed?: boolean | undefined;
|
|
893
915
|
user_intent_phrases?: string[] | undefined;
|
|
894
916
|
project?: string | undefined;
|
|
917
|
+
client_schema_version?: string | undefined;
|
|
918
|
+
schema_strict_mode?: boolean | undefined;
|
|
895
919
|
}, {
|
|
896
920
|
no_cache?: boolean | undefined;
|
|
897
921
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -901,6 +925,8 @@ export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
|
901
925
|
confirmed?: boolean | undefined;
|
|
902
926
|
user_intent_phrases?: string[] | undefined;
|
|
903
927
|
project?: string | undefined;
|
|
928
|
+
client_schema_version?: string | undefined;
|
|
929
|
+
schema_strict_mode?: boolean | undefined;
|
|
904
930
|
}>>;
|
|
905
931
|
}, "strict", z.ZodTypeAny, {
|
|
906
932
|
guard: string;
|
|
@@ -915,6 +941,8 @@ export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
|
915
941
|
confirmed?: boolean | undefined;
|
|
916
942
|
user_intent_phrases?: string[] | undefined;
|
|
917
943
|
project?: string | undefined;
|
|
944
|
+
client_schema_version?: string | undefined;
|
|
945
|
+
schema_strict_mode?: boolean | undefined;
|
|
918
946
|
} | undefined;
|
|
919
947
|
}, {
|
|
920
948
|
guard: string;
|
|
@@ -929,6 +957,8 @@ export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
|
929
957
|
confirmed?: boolean | undefined;
|
|
930
958
|
user_intent_phrases?: string[] | undefined;
|
|
931
959
|
project?: string | undefined;
|
|
960
|
+
client_schema_version?: string | undefined;
|
|
961
|
+
schema_strict_mode?: boolean | undefined;
|
|
932
962
|
} | undefined;
|
|
933
963
|
}>;
|
|
934
964
|
export declare const Guard2File_OutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|