@wowok/agent-mcp 2.3.16 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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 +45 -31
- package/dist/customer/order-monitor.js +57 -57
- package/dist/customer/order-strategy.js +89 -89
- package/dist/customer/post-purchase.js +97 -97
- package/dist/customer/reminder-system.js +26 -26
- package/dist/customer/risk-assessment.js +46 -46
- package/dist/customer/types.d.ts +4 -4
- package/dist/customer/types.js +4 -4
- package/dist/customer/user-preferences.d.ts +3 -0
- package/dist/customer/user-preferences.js +59 -50
- package/dist/experience/intent-distill.js +6 -6
- 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 +73 -64
- package/dist/knowledge/arbitration-trust.js +10 -10
- package/dist/knowledge/demand-matching.js +8 -8
- package/dist/knowledge/dynamic-pricing.js +18 -18
- package/dist/knowledge/flywheel-loop.js +11 -11
- package/dist/knowledge/glossary.js +22 -22
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +246 -0
- package/dist/knowledge/guard-lint.d.ts +76 -0
- package/dist/knowledge/guard-lint.js +590 -0
- package/dist/knowledge/guard-puzzle.d.ts +188 -0
- package/dist/knowledge/guard-puzzle.js +804 -0
- package/dist/knowledge/guard-risk.d.ts +67 -0
- package/dist/knowledge/guard-risk.js +1046 -0
- package/dist/knowledge/guard-templates.d.ts +37 -0
- package/dist/knowledge/guard-templates.js +329 -0
- package/dist/knowledge/guard-translation.d.ts +58 -0
- package/dist/knowledge/guard-translation.js +1118 -0
- package/dist/knowledge/index.d.ts +17 -0
- package/dist/knowledge/index.js +17 -0
- package/dist/knowledge/industry-evolution.js +29 -29
- package/dist/knowledge/industry-generalizer.js +52 -52
- package/dist/knowledge/industry-registry.d.ts +1 -2
- package/dist/knowledge/industry-registry.js +43 -36
- package/dist/knowledge/intent-metrics.js +67 -67
- package/dist/knowledge/process-model.js +80 -80
- package/dist/knowledge/reputation-rules.js +9 -9
- package/dist/knowledge/reward-templates.js +51 -51
- package/dist/knowledge/safety-rules.js +63 -2
- package/dist/knowledge/tool-constraints.js +17 -11
- package/dist/knowledge/trust-metrics.js +26 -26
- 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 +77 -13
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +795 -27
- package/dist/schema/call/bridge.js +37 -0
- package/dist/schema/call/contact.d.ts +10 -0
- package/dist/schema/call/demand.d.ts +94 -84
- package/dist/schema/call/guard.d.ts +229 -46
- package/dist/schema/call/guard.js +50 -0
- 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 +314 -304
- 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 +617 -25
- 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/local/wip.d.ts +39 -19
- package/dist/schema/local/wip.js +5 -5
- package/dist/schema/messenger/index.d.ts +376 -55
- package/dist/schema/messenger/index.js +19 -19
- package/dist/schema/operations.d.ts +1881 -681
- 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/schema/utils/guard-parser.js +4 -4
- package/dist/schema/utils/node-parser.js +14 -14
- package/dist/schemas/bridge_operation.output.json +233 -9
- 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 +236 -10
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +286 -11
- 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/dist/schemas/wip_file.output.json +24 -1
- package/package.json +2 -2
|
@@ -1310,6 +1310,8 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1310
1310
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
1311
1311
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1312
1312
|
project: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
1314
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1313
1315
|
}, "strict", z.ZodTypeAny, {
|
|
1314
1316
|
account: string;
|
|
1315
1317
|
no_cache?: boolean | undefined;
|
|
@@ -1319,6 +1321,8 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1319
1321
|
confirmed?: boolean | undefined;
|
|
1320
1322
|
user_intent_phrases?: string[] | undefined;
|
|
1321
1323
|
project?: string | undefined;
|
|
1324
|
+
client_schema_version?: string | undefined;
|
|
1325
|
+
schema_strict_mode?: boolean | undefined;
|
|
1322
1326
|
}, {
|
|
1323
1327
|
no_cache?: boolean | undefined;
|
|
1324
1328
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -1328,6 +1332,8 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1328
1332
|
confirmed?: boolean | undefined;
|
|
1329
1333
|
user_intent_phrases?: string[] | undefined;
|
|
1330
1334
|
project?: string | undefined;
|
|
1335
|
+
client_schema_version?: string | undefined;
|
|
1336
|
+
schema_strict_mode?: boolean | undefined;
|
|
1331
1337
|
}>>;
|
|
1332
1338
|
}, "strict", z.ZodTypeAny, {
|
|
1333
1339
|
data: {
|
|
@@ -1399,6 +1405,8 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1399
1405
|
confirmed?: boolean | undefined;
|
|
1400
1406
|
user_intent_phrases?: string[] | undefined;
|
|
1401
1407
|
project?: string | undefined;
|
|
1408
|
+
client_schema_version?: string | undefined;
|
|
1409
|
+
schema_strict_mode?: boolean | undefined;
|
|
1402
1410
|
} | undefined;
|
|
1403
1411
|
}, {
|
|
1404
1412
|
data: {
|
|
@@ -1470,6 +1478,8 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1470
1478
|
confirmed?: boolean | undefined;
|
|
1471
1479
|
user_intent_phrases?: string[] | undefined;
|
|
1472
1480
|
project?: string | undefined;
|
|
1481
|
+
client_schema_version?: string | undefined;
|
|
1482
|
+
schema_strict_mode?: boolean | undefined;
|
|
1473
1483
|
} | undefined;
|
|
1474
1484
|
}>;
|
|
1475
1485
|
export type InformationAdd = z.infer<typeof InformationAddSchema>;
|
|
@@ -396,6 +396,8 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
396
396
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
397
397
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
398
398
|
project: z.ZodOptional<z.ZodString>;
|
|
399
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
400
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
399
401
|
}, "strict", z.ZodTypeAny, {
|
|
400
402
|
account: string;
|
|
401
403
|
no_cache?: boolean | undefined;
|
|
@@ -405,6 +407,8 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
405
407
|
confirmed?: boolean | undefined;
|
|
406
408
|
user_intent_phrases?: string[] | undefined;
|
|
407
409
|
project?: string | undefined;
|
|
410
|
+
client_schema_version?: string | undefined;
|
|
411
|
+
schema_strict_mode?: boolean | undefined;
|
|
408
412
|
}, {
|
|
409
413
|
no_cache?: boolean | undefined;
|
|
410
414
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -414,6 +418,8 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
414
418
|
confirmed?: boolean | undefined;
|
|
415
419
|
user_intent_phrases?: string[] | undefined;
|
|
416
420
|
project?: string | undefined;
|
|
421
|
+
client_schema_version?: string | undefined;
|
|
422
|
+
schema_strict_mode?: boolean | undefined;
|
|
417
423
|
}>>;
|
|
418
424
|
submission: z.ZodOptional<z.ZodObject<{
|
|
419
425
|
type: z.ZodLiteral<"submission">;
|
|
@@ -665,6 +671,8 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
665
671
|
confirmed?: boolean | undefined;
|
|
666
672
|
user_intent_phrases?: string[] | undefined;
|
|
667
673
|
project?: string | undefined;
|
|
674
|
+
client_schema_version?: string | undefined;
|
|
675
|
+
schema_strict_mode?: boolean | undefined;
|
|
668
676
|
} | undefined;
|
|
669
677
|
}, {
|
|
670
678
|
data: {
|
|
@@ -736,5 +744,7 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
736
744
|
confirmed?: boolean | undefined;
|
|
737
745
|
user_intent_phrases?: string[] | undefined;
|
|
738
746
|
project?: string | undefined;
|
|
747
|
+
client_schema_version?: string | undefined;
|
|
748
|
+
schema_strict_mode?: boolean | undefined;
|
|
739
749
|
} | undefined;
|
|
740
750
|
}>;
|
|
@@ -115,6 +115,8 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
115
115
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
116
116
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
117
117
|
project: z.ZodOptional<z.ZodString>;
|
|
118
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
119
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
118
120
|
}, "strict", z.ZodTypeAny, {
|
|
119
121
|
account: string;
|
|
120
122
|
no_cache?: boolean | undefined;
|
|
@@ -124,6 +126,8 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
124
126
|
confirmed?: boolean | undefined;
|
|
125
127
|
user_intent_phrases?: string[] | undefined;
|
|
126
128
|
project?: string | undefined;
|
|
129
|
+
client_schema_version?: string | undefined;
|
|
130
|
+
schema_strict_mode?: boolean | undefined;
|
|
127
131
|
}, {
|
|
128
132
|
no_cache?: boolean | undefined;
|
|
129
133
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -133,6 +137,8 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
133
137
|
confirmed?: boolean | undefined;
|
|
134
138
|
user_intent_phrases?: string[] | undefined;
|
|
135
139
|
project?: string | undefined;
|
|
140
|
+
client_schema_version?: string | undefined;
|
|
141
|
+
schema_strict_mode?: boolean | undefined;
|
|
136
142
|
}>>;
|
|
137
143
|
}, "strict", z.ZodTypeAny, {
|
|
138
144
|
data: {
|
|
@@ -159,6 +165,8 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
159
165
|
confirmed?: boolean | undefined;
|
|
160
166
|
user_intent_phrases?: string[] | undefined;
|
|
161
167
|
project?: string | undefined;
|
|
168
|
+
client_schema_version?: string | undefined;
|
|
169
|
+
schema_strict_mode?: boolean | undefined;
|
|
162
170
|
} | undefined;
|
|
163
171
|
}, {
|
|
164
172
|
data: {
|
|
@@ -185,6 +193,8 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
185
193
|
confirmed?: boolean | undefined;
|
|
186
194
|
user_intent_phrases?: string[] | undefined;
|
|
187
195
|
project?: string | undefined;
|
|
196
|
+
client_schema_version?: string | undefined;
|
|
197
|
+
schema_strict_mode?: boolean | undefined;
|
|
188
198
|
} | undefined;
|
|
189
199
|
}>;
|
|
190
200
|
export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
@@ -204,6 +214,8 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
204
214
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
205
215
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
206
216
|
project: z.ZodOptional<z.ZodString>;
|
|
217
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
218
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
207
219
|
}, "strict", z.ZodTypeAny, {
|
|
208
220
|
account: string;
|
|
209
221
|
no_cache?: boolean | undefined;
|
|
@@ -213,6 +225,8 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
213
225
|
confirmed?: boolean | undefined;
|
|
214
226
|
user_intent_phrases?: string[] | undefined;
|
|
215
227
|
project?: string | undefined;
|
|
228
|
+
client_schema_version?: string | undefined;
|
|
229
|
+
schema_strict_mode?: boolean | undefined;
|
|
216
230
|
}, {
|
|
217
231
|
no_cache?: boolean | undefined;
|
|
218
232
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -222,6 +236,8 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
222
236
|
confirmed?: boolean | undefined;
|
|
223
237
|
user_intent_phrases?: string[] | undefined;
|
|
224
238
|
project?: string | undefined;
|
|
239
|
+
client_schema_version?: string | undefined;
|
|
240
|
+
schema_strict_mode?: boolean | undefined;
|
|
225
241
|
}>>;
|
|
226
242
|
}, "strict", z.ZodTypeAny, {
|
|
227
243
|
proof: string;
|
|
@@ -238,6 +254,8 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
238
254
|
confirmed?: boolean | undefined;
|
|
239
255
|
user_intent_phrases?: string[] | undefined;
|
|
240
256
|
project?: string | undefined;
|
|
257
|
+
client_schema_version?: string | undefined;
|
|
258
|
+
schema_strict_mode?: boolean | undefined;
|
|
241
259
|
} | undefined;
|
|
242
260
|
item_count?: string | number | null | undefined;
|
|
243
261
|
about_address?: string | null | undefined;
|
|
@@ -256,6 +274,8 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
256
274
|
confirmed?: boolean | undefined;
|
|
257
275
|
user_intent_phrases?: string[] | undefined;
|
|
258
276
|
project?: string | undefined;
|
|
277
|
+
client_schema_version?: string | undefined;
|
|
278
|
+
schema_strict_mode?: boolean | undefined;
|
|
259
279
|
} | undefined;
|
|
260
280
|
item_count?: string | number | null | undefined;
|
|
261
281
|
about_address?: string | null | undefined;
|
|
@@ -257,7 +257,7 @@ export declare const PoliciesAddSetSchema: z.ZodObject<{
|
|
|
257
257
|
id_from_submission?: number | undefined;
|
|
258
258
|
data_from_submission?: number | undefined;
|
|
259
259
|
}[];
|
|
260
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
260
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
261
261
|
quote_guard?: string | null | undefined;
|
|
262
262
|
}, {
|
|
263
263
|
value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8" | "Value";
|
|
@@ -268,7 +268,7 @@ export declare const PoliciesAddSetSchema: z.ZodObject<{
|
|
|
268
268
|
id_from_submission?: number | undefined;
|
|
269
269
|
data_from_submission?: number | undefined;
|
|
270
270
|
}[];
|
|
271
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
271
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
272
272
|
quote_guard?: string | null | undefined;
|
|
273
273
|
}>, "many">;
|
|
274
274
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -282,7 +282,7 @@ export declare const PoliciesAddSetSchema: z.ZodObject<{
|
|
|
282
282
|
id_from_submission?: number | undefined;
|
|
283
283
|
data_from_submission?: number | undefined;
|
|
284
284
|
}[];
|
|
285
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
285
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
286
286
|
quote_guard?: string | null | undefined;
|
|
287
287
|
}[];
|
|
288
288
|
}, {
|
|
@@ -296,7 +296,7 @@ export declare const PoliciesAddSetSchema: z.ZodObject<{
|
|
|
296
296
|
id_from_submission?: number | undefined;
|
|
297
297
|
data_from_submission?: number | undefined;
|
|
298
298
|
}[];
|
|
299
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
299
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
300
300
|
quote_guard?: string | null | undefined;
|
|
301
301
|
}[];
|
|
302
302
|
}>;
|
|
@@ -347,7 +347,7 @@ export declare const PoliciesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<
|
|
|
347
347
|
id_from_submission?: number | undefined;
|
|
348
348
|
data_from_submission?: number | undefined;
|
|
349
349
|
}[];
|
|
350
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
350
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
351
351
|
quote_guard?: string | null | undefined;
|
|
352
352
|
}, {
|
|
353
353
|
value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8" | "Value";
|
|
@@ -358,7 +358,7 @@ export declare const PoliciesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<
|
|
|
358
358
|
id_from_submission?: number | undefined;
|
|
359
359
|
data_from_submission?: number | undefined;
|
|
360
360
|
}[];
|
|
361
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
361
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
362
362
|
quote_guard?: string | null | undefined;
|
|
363
363
|
}>, "many">;
|
|
364
364
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -372,7 +372,7 @@ export declare const PoliciesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<
|
|
|
372
372
|
id_from_submission?: number | undefined;
|
|
373
373
|
data_from_submission?: number | undefined;
|
|
374
374
|
}[];
|
|
375
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
375
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
376
376
|
quote_guard?: string | null | undefined;
|
|
377
377
|
}[];
|
|
378
378
|
}, {
|
|
@@ -386,7 +386,7 @@ export declare const PoliciesSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<
|
|
|
386
386
|
id_from_submission?: number | undefined;
|
|
387
387
|
data_from_submission?: number | undefined;
|
|
388
388
|
}[];
|
|
389
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
389
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
390
390
|
quote_guard?: string | null | undefined;
|
|
391
391
|
}[];
|
|
392
392
|
}>, z.ZodObject<{
|
|
@@ -800,7 +800,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
|
|
|
800
800
|
id_from_submission?: number | undefined;
|
|
801
801
|
data_from_submission?: number | undefined;
|
|
802
802
|
}[];
|
|
803
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
803
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
804
804
|
quote_guard?: string | null | undefined;
|
|
805
805
|
}, {
|
|
806
806
|
value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8" | "Value";
|
|
@@ -811,7 +811,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
|
|
|
811
811
|
id_from_submission?: number | undefined;
|
|
812
812
|
data_from_submission?: number | undefined;
|
|
813
813
|
}[];
|
|
814
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
814
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
815
815
|
quote_guard?: string | null | undefined;
|
|
816
816
|
}>, "many">;
|
|
817
817
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -825,7 +825,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
|
|
|
825
825
|
id_from_submission?: number | undefined;
|
|
826
826
|
data_from_submission?: number | undefined;
|
|
827
827
|
}[];
|
|
828
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
828
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
829
829
|
quote_guard?: string | null | undefined;
|
|
830
830
|
}[];
|
|
831
831
|
}, {
|
|
@@ -839,7 +839,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
|
|
|
839
839
|
id_from_submission?: number | undefined;
|
|
840
840
|
data_from_submission?: number | undefined;
|
|
841
841
|
}[];
|
|
842
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
842
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
843
843
|
quote_guard?: string | null | undefined;
|
|
844
844
|
}[];
|
|
845
845
|
}>, z.ZodObject<{
|
|
@@ -1184,7 +1184,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
|
|
|
1184
1184
|
id_from_submission?: number | undefined;
|
|
1185
1185
|
data_from_submission?: number | undefined;
|
|
1186
1186
|
}[];
|
|
1187
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
1187
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
1188
1188
|
quote_guard?: string | null | undefined;
|
|
1189
1189
|
}[];
|
|
1190
1190
|
} | {
|
|
@@ -1272,7 +1272,7 @@ export declare const CallRepository_DataSchema: z.ZodObject<{
|
|
|
1272
1272
|
id_from_submission?: number | undefined;
|
|
1273
1273
|
data_from_submission?: number | undefined;
|
|
1274
1274
|
}[];
|
|
1275
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
1275
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
1276
1276
|
quote_guard?: string | null | undefined;
|
|
1277
1277
|
}[];
|
|
1278
1278
|
} | {
|
|
@@ -1396,7 +1396,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
1396
1396
|
id_from_submission?: number | undefined;
|
|
1397
1397
|
data_from_submission?: number | undefined;
|
|
1398
1398
|
}[];
|
|
1399
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
1399
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
1400
1400
|
quote_guard?: string | null | undefined;
|
|
1401
1401
|
}, {
|
|
1402
1402
|
value_type: "string" | "Bool" | "Address" | "String" | "U8" | "U16" | "U32" | "U64" | "U128" | "U256" | "VecBool" | "VecAddress" | "VecString" | "VecU8" | "VecU16" | "VecU32" | "VecU64" | "VecU128" | "VecU256" | "VecVecU8" | import("@wowok/wowok").ValueType | "bool" | "address" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "vecbool" | "vecaddress" | "vecstring" | "vecu8" | "vecu16" | "vecu32" | "vecu64" | "vecu128" | "vecu256" | "vecvecu8" | "Value";
|
|
@@ -1407,7 +1407,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
1407
1407
|
id_from_submission?: number | undefined;
|
|
1408
1408
|
data_from_submission?: number | undefined;
|
|
1409
1409
|
}[];
|
|
1410
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
1410
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
1411
1411
|
quote_guard?: string | null | undefined;
|
|
1412
1412
|
}>, "many">;
|
|
1413
1413
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1421,7 +1421,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
1421
1421
|
id_from_submission?: number | undefined;
|
|
1422
1422
|
data_from_submission?: number | undefined;
|
|
1423
1423
|
}[];
|
|
1424
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
1424
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
1425
1425
|
quote_guard?: string | null | undefined;
|
|
1426
1426
|
}[];
|
|
1427
1427
|
}, {
|
|
@@ -1435,7 +1435,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
1435
1435
|
id_from_submission?: number | undefined;
|
|
1436
1436
|
data_from_submission?: number | undefined;
|
|
1437
1437
|
}[];
|
|
1438
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
1438
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
1439
1439
|
quote_guard?: string | null | undefined;
|
|
1440
1440
|
}[];
|
|
1441
1441
|
}>, z.ZodObject<{
|
|
@@ -1780,7 +1780,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
1780
1780
|
id_from_submission?: number | undefined;
|
|
1781
1781
|
data_from_submission?: number | undefined;
|
|
1782
1782
|
}[];
|
|
1783
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
1783
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
1784
1784
|
quote_guard?: string | null | undefined;
|
|
1785
1785
|
}[];
|
|
1786
1786
|
} | {
|
|
@@ -1868,7 +1868,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
1868
1868
|
id_from_submission?: number | undefined;
|
|
1869
1869
|
data_from_submission?: number | undefined;
|
|
1870
1870
|
}[];
|
|
1871
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
1871
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
1872
1872
|
quote_guard?: string | null | undefined;
|
|
1873
1873
|
}[];
|
|
1874
1874
|
} | {
|
|
@@ -1917,6 +1917,8 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
1917
1917
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
1918
1918
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1919
1919
|
project: z.ZodOptional<z.ZodString>;
|
|
1920
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
1921
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1920
1922
|
}, "strict", z.ZodTypeAny, {
|
|
1921
1923
|
account: string;
|
|
1922
1924
|
no_cache?: boolean | undefined;
|
|
@@ -1926,6 +1928,8 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
1926
1928
|
confirmed?: boolean | undefined;
|
|
1927
1929
|
user_intent_phrases?: string[] | undefined;
|
|
1928
1930
|
project?: string | undefined;
|
|
1931
|
+
client_schema_version?: string | undefined;
|
|
1932
|
+
schema_strict_mode?: boolean | undefined;
|
|
1929
1933
|
}, {
|
|
1930
1934
|
no_cache?: boolean | undefined;
|
|
1931
1935
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -1935,6 +1939,8 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
1935
1939
|
confirmed?: boolean | undefined;
|
|
1936
1940
|
user_intent_phrases?: string[] | undefined;
|
|
1937
1941
|
project?: string | undefined;
|
|
1942
|
+
client_schema_version?: string | undefined;
|
|
1943
|
+
schema_strict_mode?: boolean | undefined;
|
|
1938
1944
|
}>>;
|
|
1939
1945
|
submission: z.ZodOptional<z.ZodObject<{
|
|
1940
1946
|
type: z.ZodLiteral<"submission">;
|
|
@@ -2166,7 +2172,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
2166
2172
|
id_from_submission?: number | undefined;
|
|
2167
2173
|
data_from_submission?: number | undefined;
|
|
2168
2174
|
}[];
|
|
2169
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
2175
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
2170
2176
|
quote_guard?: string | null | undefined;
|
|
2171
2177
|
}[];
|
|
2172
2178
|
} | {
|
|
@@ -2242,6 +2248,8 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
2242
2248
|
confirmed?: boolean | undefined;
|
|
2243
2249
|
user_intent_phrases?: string[] | undefined;
|
|
2244
2250
|
project?: string | undefined;
|
|
2251
|
+
client_schema_version?: string | undefined;
|
|
2252
|
+
schema_strict_mode?: boolean | undefined;
|
|
2245
2253
|
} | undefined;
|
|
2246
2254
|
}, {
|
|
2247
2255
|
data: {
|
|
@@ -2293,7 +2301,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
2293
2301
|
id_from_submission?: number | undefined;
|
|
2294
2302
|
data_from_submission?: number | undefined;
|
|
2295
2303
|
}[];
|
|
2296
|
-
id_from: 0 | 1 | 2 | "none" | "Signer" | "
|
|
2304
|
+
id_from: 0 | 1 | 2 | "none" | "Signer" | "Clock" | "signer" | "clock" | "None";
|
|
2297
2305
|
quote_guard?: string | null | undefined;
|
|
2298
2306
|
}[];
|
|
2299
2307
|
} | {
|
|
@@ -2369,5 +2377,7 @@ export declare const CallRepository_InputSchema: z.ZodObject<{
|
|
|
2369
2377
|
confirmed?: boolean | undefined;
|
|
2370
2378
|
user_intent_phrases?: string[] | undefined;
|
|
2371
2379
|
project?: string | undefined;
|
|
2380
|
+
client_schema_version?: string | undefined;
|
|
2381
|
+
schema_strict_mode?: boolean | undefined;
|
|
2372
2382
|
} | undefined;
|
|
2373
2383
|
}>;
|
|
@@ -829,6 +829,8 @@ export declare const CallReward_InputSchema: z.ZodObject<{
|
|
|
829
829
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
830
830
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
831
831
|
project: z.ZodOptional<z.ZodString>;
|
|
832
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
833
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
832
834
|
}, "strict", z.ZodTypeAny, {
|
|
833
835
|
account: string;
|
|
834
836
|
no_cache?: boolean | undefined;
|
|
@@ -838,6 +840,8 @@ export declare const CallReward_InputSchema: z.ZodObject<{
|
|
|
838
840
|
confirmed?: boolean | undefined;
|
|
839
841
|
user_intent_phrases?: string[] | undefined;
|
|
840
842
|
project?: string | undefined;
|
|
843
|
+
client_schema_version?: string | undefined;
|
|
844
|
+
schema_strict_mode?: boolean | undefined;
|
|
841
845
|
}, {
|
|
842
846
|
no_cache?: boolean | undefined;
|
|
843
847
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -847,6 +851,8 @@ export declare const CallReward_InputSchema: z.ZodObject<{
|
|
|
847
851
|
confirmed?: boolean | undefined;
|
|
848
852
|
user_intent_phrases?: string[] | undefined;
|
|
849
853
|
project?: string | undefined;
|
|
854
|
+
client_schema_version?: string | undefined;
|
|
855
|
+
schema_strict_mode?: boolean | undefined;
|
|
850
856
|
}>>;
|
|
851
857
|
submission: z.ZodOptional<z.ZodObject<{
|
|
852
858
|
type: z.ZodLiteral<"submission">;
|
|
@@ -1135,6 +1141,8 @@ export declare const CallReward_InputSchema: z.ZodObject<{
|
|
|
1135
1141
|
confirmed?: boolean | undefined;
|
|
1136
1142
|
user_intent_phrases?: string[] | undefined;
|
|
1137
1143
|
project?: string | undefined;
|
|
1144
|
+
client_schema_version?: string | undefined;
|
|
1145
|
+
schema_strict_mode?: boolean | undefined;
|
|
1138
1146
|
} | undefined;
|
|
1139
1147
|
}, {
|
|
1140
1148
|
data: {
|
|
@@ -1243,5 +1251,7 @@ export declare const CallReward_InputSchema: z.ZodObject<{
|
|
|
1243
1251
|
confirmed?: boolean | undefined;
|
|
1244
1252
|
user_intent_phrases?: string[] | undefined;
|
|
1245
1253
|
project?: string | undefined;
|
|
1254
|
+
client_schema_version?: string | undefined;
|
|
1255
|
+
schema_strict_mode?: boolean | undefined;
|
|
1246
1256
|
} | undefined;
|
|
1247
1257
|
}>;
|
|
@@ -6,14 +6,21 @@ export interface SemanticContext {
|
|
|
6
6
|
expected?: import("../../harness/types.js").ExpectedResult;
|
|
7
7
|
operation_id?: string;
|
|
8
8
|
pre_warnings?: string[];
|
|
9
|
+
schema_check?: import("../schema-version.js").SchemaCheckResult;
|
|
10
|
+
}
|
|
11
|
+
export type ErrorCode = "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "unknown";
|
|
12
|
+
export interface MoveAbortInfo {
|
|
13
|
+
module: string;
|
|
14
|
+
code: number;
|
|
15
|
+
description?: string;
|
|
9
16
|
}
|
|
10
|
-
export type ErrorCode = "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "unknown";
|
|
11
17
|
export interface ErrorClassification {
|
|
12
18
|
error_code: ErrorCode;
|
|
13
19
|
retryable: boolean;
|
|
14
20
|
recovery_hint?: string;
|
|
21
|
+
move_abort_info?: MoveAbortInfo;
|
|
15
22
|
}
|
|
16
|
-
export declare function classifyError(errorMsg: string): ErrorClassification;
|
|
23
|
+
export declare function classifyError(errorMsg: string, error?: unknown): ErrorClassification;
|
|
17
24
|
export declare function inferIntent(operation_type: string, data: any): string;
|
|
18
25
|
export declare function objectTypeToRole(objectType: string): ObjectRole["role"];
|
|
19
26
|
export declare function tagObjectRoles(objectChanges: any[]): ObjectRole[];
|