wowok_agent 2.2.4 → 2.2.6

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/index.js CHANGED
@@ -5,8 +5,8 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
5
5
  import { readFileSync } from "fs";
6
6
  import { resolve } from "path";
7
7
  const packageJson = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf-8"));
8
- import { CallService_DataSchema, CallMachine_DataSchema, MachineNode2File_InputSchema, MachineNode2File_OutputWrappedSchema, CallProgress_DataSchema, CallPermission_DataSchema, CallGuard_DataSchema, Guard2File_InputSchema, Guard2File_OutputWrappedSchema, CallArbitration_DataSchema, CallRepository_DataSchema, CallContact_DataSchema, CallTreasury_DataSchema, CallReward_DataSchema, CallAllocation_DataSchema, CallPersonal_DataSchema, CallPayment_DataSchema, CallDemand_DataSchema, CallOrder_DataSchema, CallEnvSchema, SubmissionCallSchema, strictParse, CallOutputSchema, handleCallResult, createServerConfig, createCapabilitiesConfig, createToolMeta, transformSubmission, getEnvConfig, WipGenerationOptionsSchema, WipToHtmlOptionsSchema, TokenDataFilterSchema, LocalInfoFilterSchema, LocalMarkFilterSchema, AccountFilterSchema, TokenTypeSchema, OnchainEventsInputSchema, OnchainEventsResultSchema, ProtocolInfoQuerySchema, ProtocolInfoResultSchema, TableAnswerSchema, TableItem_RepositoryDataSchema, TableItem_PermissionPermSchema, TableItem_EntityRegistrarSchema, TableItem_EntityLinkerSchema, TableItem_RewardRecordSchema, TableItem_DemandPresenterSchema, TableItem_TreasuryHistorySchema, TableItem_MachineNodeSchema, TableItem_ProgressHistorySchema, TableItem_AddressMarkSchema, NameOrAddressSchema, AccountOrMark_AddressSchema, EntrypointSchema, AccountOperationOutputWrappedSchema, LocalMarkOperationOutputWrappedSchema, LocalInfoOperationOutputWrappedSchema, WipOperationOutputSchema, MessengerOperationOutputSchema, AccountOperationSchema, LocalMarkOperationSchema, LocalInfoOperationSchema, parseMachineNodesFromText, formatNodeErrors as formatMachineNodeErrors, MessengerOperationInputSchema, } from "./schema/index.js";
9
- import { CallService, CallMachine, CallProgress, CallPermission, CallGuard, CallArbitration, CallRepository, CallContact, CallTreasury, CallReward, CallAllocation, CallPersonal, CallPayment, CallDemand, CallOrder, gen_passport, guard2file, parseGuardFile, formatGuardParseErrors, machineNode2file, generateNodeComments, generate_wip, verify_wip, sign_wip, wip2html, account_operation, local_mark_operation, local_info_operation, watch_conversations, send_message, send_file, watch_messages, extract_zip_messages, generate_wts, verify_wts, sign_wts, wts2html, proof_message, mark_messages_as_viewed, mark_conversation_as_viewed, query_local_mark_list, query_account_list, query_local_info_list, query_local_token_list, query_account, query_personal, query_objects, query_table, queryProtocolInfo, query_received, queryTableItem_RepositoryData, queryTableItem_PermissionPerm, queryTableItem_RewardRecord, queryTableItem_DemandPresenter, queryTableItem_TreasuryHistory, queryTableItem_MachineNode, queryTableItem_ProgressHistory, queryTableItem_AddressMark, queryTableItem_EntityRegistrar, queryTableItem_EntityLinker, query_events, blacklist, friendslist, guardlist, settings, AmountType, } from "wowok";
8
+ import { CallService_DataSchema, CallMachine_DataSchema, MachineNode2File_InputSchema, MachineNode2File_OutputWrappedSchema, CallProgress_DataSchema, CallPermission_DataSchema, CallGuard_DataSchema, Guard2File_InputSchema, Guard2File_OutputWrappedSchema, CallArbitration_DataSchema, CallRepository_DataSchema, CallContact_DataSchema, CallTreasury_DataSchema, CallReward_DataSchema, CallAllocation_DataSchema, CallPersonal_DataSchema, CallPayment_DataSchema, CallDemand_DataSchema, CallOrder_DataSchema, CallEnvSchema, SubmissionCallSchema, strictParse, CallOutputSchema, handleCallResult, createServerConfig, createCapabilitiesConfig, createToolMeta, transformSubmission, getEnvConfig, WipGenerationOptionsSchema, WipToHtmlOptionsSchema, TokenDataFilterSchema, LocalInfoFilterSchema, LocalMarkFilterSchema, AccountFilterSchema, TokenTypeSchema, OnchainEventsInputSchema, OnchainEventsResultSchema, ProtocolInfoQuerySchema, ProtocolInfoResultSchema, TableAnswerSchema, TableItem_RepositoryDataSchema, TableItem_PermissionPermSchema, TableItem_EntityRegistrarSchema, TableItem_EntityLinkerSchema, TableItem_RewardRecordSchema, TableItem_DemandPresenterSchema, TableItem_TreasuryHistorySchema, TableItem_MachineNodeSchema, TableItem_ProgressHistorySchema, TableItem_AddressMarkSchema, NameOrAddressSchema, ObjectBaseSchema, AccountOrMark_AddressSchema, AccountOrMark_AddressAISchema, EntrypointSchema, AccountOperationOutputWrappedSchema, LocalMarkOperationOutputWrappedSchema, LocalInfoOperationOutputWrappedSchema, WipOperationOutputSchema, MessengerOperationOutputSchema, AccountOperationSchema, LocalMarkOperationSchema, LocalInfoOperationSchema, parseMachineNodesFromText, formatNodeErrors as formatMachineNodeErrors, MessengerOperationInputSchema, } from "./schema/index.js";
9
+ import { CallService, CallMachine, CallProgress, CallPermission, CallGuard, CallArbitration, CallRepository, CallContact, CallTreasury, CallReward, CallAllocation, CallPersonal, CallPayment, CallDemand, CallOrder, gen_passport, guard2file, parseGuardFile, formatGuardParseErrors, machineNode2file, generateNodeComments, generate_wip, verify_wip, sign_wip, wip2html, account_operation, local_mark_operation, local_info_operation, watch_conversations, send_message, send_file, watch_messages, extract_zip_messages, generate_wts, verify_wts, sign_wts, wts2html, proof_message, mark_messages_as_viewed, mark_conversation_as_viewed, query_local_mark_list, query_account_list, query_local_info_list, query_local_token_list, query_account, query_personal, query_objects, query_table, query_tableItem, queryProtocolInfo, query_received, queryTableItem_RepositoryData, queryTableItem_PermissionPerm, queryTableItem_RewardRecord, queryTableItem_DemandPresenter, queryTableItem_TreasuryHistory, queryTableItem_MachineNode, queryTableItem_ProgressHistory, queryTableItem_AddressMark, queryTableItem_EntityRegistrar, queryTableItem_EntityLinker, query_events, blacklist, friendslist, guardlist, settings, AmountType, } from "wowok";
10
10
  const SERVER_DESCRIPTION = `WoWok MCP Server - Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.
11
11
 
12
12
  ## Token System Overview
@@ -146,6 +146,15 @@ function transformRewardData(data) {
146
146
  const OnchainOperationsSchema = z.preprocess((input) => {
147
147
  if (typeof input === 'object' && input !== null) {
148
148
  const obj = { ...input };
149
+ if (typeof obj.description === 'string' && !obj.operation_type) {
150
+ try {
151
+ const parsed = JSON.parse(obj.description);
152
+ if (parsed && typeof parsed === 'object' && parsed.operation_type) {
153
+ return parsed;
154
+ }
155
+ }
156
+ catch { }
157
+ }
149
158
  if (typeof obj.data === 'string') {
150
159
  try {
151
160
  obj.data = JSON.parse(obj.data);
@@ -237,7 +246,7 @@ const OnchainOperationsSchema = z.preprocess((input) => {
237
246
  operation_type: z.literal("guard"),
238
247
  data: CallGuard_DataSchema,
239
248
  env: CallEnvSchema.optional(),
240
- }).describe("🛡️ Guard Object: Create immutable programmable validation rules that return boolean results. Set 'namedNew' to name the new Guard. Use root.type='node' for direct node tree or root.type='file' to load from file. Use 'wowok_buildin_info' tool with query='guard instructions' for all available operations."),
249
+ }).describe("🛡️ Guard Object: Create immutable programmable validation rules that return boolean results. Set 'namedNew' to name the new Guard. Use root.type='node' for direct node tree or root.type='file' to load from file. Use 'wowok_buildin_info' tool with query='guard instructions' for all available operations. NOTE for EntityLinker/EntityRegistrar queries: Add system addresses to the Guard table - ENTITY_LINKER_ADDRESS (0xaaa) for EntityLinker, ENTITY_REGISTRAR_ADDRESS (0xaab) for EntityRegistrar."),
241
250
  z.object({
242
251
  operation_type: z.literal("personal"),
243
252
  data: CallPersonal_DataSchema,
@@ -270,6 +279,15 @@ const OnchainOperationsSchema = z.preprocess((input) => {
270
279
  const WipOperationsSchema = z.preprocess((input) => {
271
280
  if (typeof input === 'object' && input !== null) {
272
281
  const obj = { ...input };
282
+ if (typeof obj.description === 'string' && !obj.type) {
283
+ try {
284
+ const parsed = JSON.parse(obj.description);
285
+ if (parsed && typeof parsed === 'object' && parsed.type) {
286
+ return parsed;
287
+ }
288
+ }
289
+ catch { }
290
+ }
273
291
  if (typeof obj.options === 'string') {
274
292
  try {
275
293
  obj.options = JSON.parse(obj.options);
@@ -306,6 +324,15 @@ const WipOperationsSchema = z.preprocess((input) => {
306
324
  const OnchainTableDataSchema = z.preprocess((input) => {
307
325
  if (typeof input === 'object' && input !== null && !Array.isArray(input)) {
308
326
  const obj = { ...input };
327
+ if (typeof obj.description === 'string' && !obj.query_type) {
328
+ try {
329
+ const parsed = JSON.parse(obj.description);
330
+ if (parsed && typeof parsed === 'object' && parsed.query_type) {
331
+ return parsed;
332
+ }
333
+ }
334
+ catch { }
335
+ }
309
336
  if (obj.cursor === '')
310
337
  obj.cursor = null;
311
338
  if (obj.limit === '')
@@ -394,6 +421,14 @@ const OnchainTableDataSchema = z.preprocess((input) => {
394
421
  no_cache: z.boolean().optional().describe("Set to true to bypass cache and fetch fresh on-chain data"),
395
422
  network: EntrypointSchema.optional(),
396
423
  }).describe("Query a PUBLIC on-chain name/tag mark for an address — unlike local marks, these are published on-chain. Use to look up public labels attached to any address. Returns: TableItem_AddressMark | undefined"),
424
+ z.object({
425
+ query_type: z.literal("onchain_table_item_generic"),
426
+ parent: NameOrAddressSchema.describe("Parent object ID whose dynamic field to query"),
427
+ key_type: z.string().describe("Type of the key (e.g., 'address', 'u64', 'string', '0x2::object::ID')"),
428
+ key_value: z.any().describe("Value of the key. Must match the key_type format"),
429
+ no_cache: z.boolean().optional().describe("Set to true to bypass cache and fetch fresh on-chain data"),
430
+ network: EntrypointSchema.optional(),
431
+ }).describe("Query a generic table item from ANY object's dynamic fields — supports arbitrary key types and values for non-WoWok objects. Use for custom objects and general-purpose table lookups. Returns: ObjectBase | undefined"),
397
432
  ]),
398
433
  ]));
399
434
  const OnchainTableDataResultSchema = z.object({
@@ -409,6 +444,7 @@ const OnchainTableDataResultSchema = z.object({
409
444
  z.object({ query_type: z.literal("onchain_table_item_machine_node"), result: z.union([TableItem_MachineNodeSchema, z.undefined()]) }),
410
445
  z.object({ query_type: z.literal("onchain_table_item_progress_history"), result: z.union([TableItem_ProgressHistorySchema, z.undefined()]) }),
411
446
  z.object({ query_type: z.literal("onchain_table_item_address_mark"), result: z.union([TableItem_AddressMarkSchema, z.undefined()]) }),
447
+ z.object({ query_type: z.literal("onchain_table_item_generic"), result: z.union([ObjectBaseSchema, z.undefined()]) }),
412
448
  ])
413
449
  });
414
450
  async function handleOnchainTableData(args) {
@@ -470,8 +506,18 @@ async function handleOnchainTableData(args) {
470
506
  result = { query_type: "onchain_table_item_entity_linker", result: queryResult };
471
507
  break;
472
508
  }
509
+ case "onchain_table_item_generic": {
510
+ const queryResult = await query_tableItem({
511
+ parent: validated.parent,
512
+ key: { type: validated.key_type, value: validated.key_value },
513
+ no_cache: validated.no_cache,
514
+ network: validated.network
515
+ });
516
+ result = { query_type: "onchain_table_item_generic", result: queryResult };
517
+ break;
518
+ }
473
519
  default:
474
- throw new Error(`Unknown table query type. Valid query_types are: "onchain_table", "onchain_table_item_repository_data", "onchain_table_item_permission_perm", "onchain_table_item_reward_record", "onchain_table_item_demand_presenter", "onchain_table_item_treasury_history", "onchain_table_item_machine_node", "onchain_table_item_progress_history", "onchain_table_item_address_mark", "onchain_table_item_entity_registrar", "onchain_table_item_entity_linker"`);
520
+ throw new Error(`Unknown table query type. Valid query_types are: "onchain_table", "onchain_table_item_repository_data", "onchain_table_item_permission_perm", "onchain_table_item_reward_record", "onchain_table_item_demand_presenter", "onchain_table_item_treasury_history", "onchain_table_item_machine_node", "onchain_table_item_progress_history", "onchain_table_item_address_mark", "onchain_table_item_entity_registrar", "onchain_table_item_entity_linker", "onchain_table_item_generic"`);
475
521
  }
476
522
  return {
477
523
  content: [{ type: "text", text: JSON.stringify({ result }) }],
@@ -481,6 +527,15 @@ async function handleOnchainTableData(args) {
481
527
  const WatchQueryOperationsSchema = z.preprocess((input) => {
482
528
  if (typeof input === 'object' && input !== null) {
483
529
  const obj = { ...input };
530
+ if (typeof obj.description === 'string' && !obj.query_type) {
531
+ try {
532
+ const parsed = JSON.parse(obj.description);
533
+ if (parsed && typeof parsed === 'object' && parsed.query_type) {
534
+ return parsed;
535
+ }
536
+ }
537
+ catch { }
538
+ }
484
539
  for (const key of ['filter', 'objects', 'env', 'token_type']) {
485
540
  if (typeof obj[key] === 'string') {
486
541
  try {
@@ -537,7 +592,7 @@ const WatchQueryOperationsSchema = z.preprocess((input) => {
537
592
  }).describe("Batch query on-chain WOWOK objects by ID or name — supports Service, Machine, Order, Treasury, Reward, Arb, Personal, Contact, and more. Use to inspect one or more objects in a single call. Returns: { objects: ObjectBase[] }"),
538
593
  z.object({
539
594
  query_type: z.literal("onchain_received"),
540
- object: z.string().describe("Name or address of the object that received payments/items"),
595
+ name_or_address: AccountOrMark_AddressAISchema.describe("Name or address of the object that received payments/items - can be a string (name/address) or full object"),
541
596
  all_type: z.boolean().optional().describe("Set to true to query all token types received; defaults to the object's Token type '0x2::payment::CoinWrapper<TOKEN>' (Coins wrapper sent via Payment object). If the object has no Token type, the call will fail."),
542
597
  cursor: z.union([z.string(), z.null()]).optional().describe("Pagination cursor from previous page"),
543
598
  limit: z.union([z.number(), z.null()]).optional().describe("Max records per page"),
@@ -548,6 +603,15 @@ const WatchQueryOperationsSchema = z.preprocess((input) => {
548
603
  ]));
549
604
  async function handleOnchainOperations(args) {
550
605
  try {
606
+ if (typeof args === 'object' && args !== null && args.description && !args.operation_type) {
607
+ const hasWrappedParams = typeof args.description === 'string' &&
608
+ (args.description.includes('operation_type') || args.description.includes('data'));
609
+ if (hasWrappedParams) {
610
+ throw new Error("Invalid parameter structure. Parameters should NOT be wrapped in 'description' field.\n" +
611
+ "Correct format: { operation_type: '...', data: {...} }\n" +
612
+ "Incorrect format: { description: '{ operation_type: ... }' }");
613
+ }
614
+ }
551
615
  const validated = strictParse(OnchainOperationsSchema, args, "onchain_operations input");
552
616
  const env = getEnvConfig(validated.env);
553
617
  switch (validated.operation_type) {
@@ -964,7 +1028,14 @@ async function handleWatchQueryOperations(args) {
964
1028
  break;
965
1029
  }
966
1030
  case "onchain_received": {
967
- const queryResult = await query_received({ object: validated.object, all_type: validated.all_type, cursor: validated.cursor, limit: validated.limit, no_cache: validated.no_cache, network: validated.network });
1031
+ const queryResult = await query_received({
1032
+ name_or_address: normalizeAccountOrMark(validated.name_or_address),
1033
+ all_type: validated.all_type,
1034
+ cursor: validated.cursor,
1035
+ limit: validated.limit,
1036
+ no_cache: validated.no_cache,
1037
+ network: validated.network
1038
+ });
968
1039
  result = { query_type: "onchain_received", result: queryResult };
969
1040
  break;
970
1041
  }
@@ -1325,7 +1396,8 @@ async function main() {
1325
1396
  + "8. onchain_table_item_treasury_history — Query a payment record from a Treasury's history table (Parent: Treasury). Key: payment ID (address). Returns payment details: operation type, signer, amount, external guard.\n"
1326
1397
  + "9. onchain_table_item_machine_node — Query a workflow node definition from a Machine object's node table (Parent: Machine). Key: node name (string). Returns node configuration: pairs, forwards, guards, thresholds.\n"
1327
1398
  + "10. onchain_table_item_progress_history — Query a progress step record from a Progress object's history table (Parent: Progress). Key: sequence number (u64). Returns step details: node, next_node, session state, time.\n"
1328
- + "11. onchain_table_item_address_mark — Query a PUBLIC on-chain name/tag mark from an AddressMark object's table (Parent: AddressMark). Key: address. Returns public labels: entity, name, tags[]. Unlike local marks, these are published on-chain.",
1399
+ + "11. onchain_table_item_address_mark — Query a PUBLIC on-chain name/tag mark from an AddressMark object's table (Parent: AddressMark). Key: address. Returns public labels: entity, name, tags[]. Unlike local marks, these are published on-chain.\n"
1400
+ + "12. onchain_table_item_generic — Query a generic table item from ANY object's dynamic fields (Parent: any object). Supports arbitrary key types (address, u64, string, object ID, etc.). Use for custom objects and general-purpose table lookups. Returns: ObjectBase | undefined.",
1329
1401
  inputSchema: OnchainTableDataSchema,
1330
1402
  outputSchema: OnchainTableDataResultSchema,
1331
1403
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
@@ -608,12 +608,15 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
608
608
  owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
609
609
  id: z.ZodString;
610
610
  type: z.ZodString;
611
+ content_raw: z.ZodOptional<z.ZodAny>;
611
612
  }, "strict", z.ZodTypeAny, {
612
613
  type: string;
613
614
  id: string;
615
+ content_raw?: any;
614
616
  }, {
615
617
  type: string;
616
618
  id: string;
619
+ content_raw?: any;
617
620
  }>, "many">, z.ZodObject<{
618
621
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
619
622
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -680,6 +683,7 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
680
683
  } | "recently" | {
681
684
  type: string;
682
685
  id: string;
686
+ content_raw?: any;
683
687
  }[] | undefined;
684
688
  um?: string | null | undefined;
685
689
  dispute?: {
@@ -789,6 +793,7 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
789
793
  } | "recently" | {
790
794
  type: string;
791
795
  id: string;
796
+ content_raw?: any;
792
797
  }[] | undefined;
793
798
  um?: string | null | undefined;
794
799
  dispute?: {
@@ -1198,12 +1203,15 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1198
1203
  owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1199
1204
  id: z.ZodString;
1200
1205
  type: z.ZodString;
1206
+ content_raw: z.ZodOptional<z.ZodAny>;
1201
1207
  }, "strict", z.ZodTypeAny, {
1202
1208
  type: string;
1203
1209
  id: string;
1210
+ content_raw?: any;
1204
1211
  }, {
1205
1212
  type: string;
1206
1213
  id: string;
1214
+ content_raw?: any;
1207
1215
  }>, "many">, z.ZodObject<{
1208
1216
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1209
1217
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -1270,6 +1278,7 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1270
1278
  } | "recently" | {
1271
1279
  type: string;
1272
1280
  id: string;
1281
+ content_raw?: any;
1273
1282
  }[] | undefined;
1274
1283
  um?: string | null | undefined;
1275
1284
  dispute?: {
@@ -1379,6 +1388,7 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1379
1388
  } | "recently" | {
1380
1389
  type: string;
1381
1390
  id: string;
1391
+ content_raw?: any;
1382
1392
  }[] | undefined;
1383
1393
  um?: string | null | undefined;
1384
1394
  dispute?: {
@@ -1689,6 +1699,7 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1689
1699
  } | "recently" | {
1690
1700
  type: string;
1691
1701
  id: string;
1702
+ content_raw?: any;
1692
1703
  }[] | undefined;
1693
1704
  um?: string | null | undefined;
1694
1705
  dispute?: {
@@ -1834,6 +1845,7 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1834
1845
  } | "recently" | {
1835
1846
  type: string;
1836
1847
  id: string;
1848
+ content_raw?: any;
1837
1849
  }[] | undefined;
1838
1850
  um?: string | null | undefined;
1839
1851
  dispute?: {
@@ -305,6 +305,7 @@ export declare const ResponseDataSchema: z.ZodObject<{
305
305
  previousTransaction: z.ZodOptional<z.ZodString>;
306
306
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
307
307
  query_name: z.ZodOptional<z.ZodString>;
308
+ content_raw: z.ZodOptional<z.ZodAny>;
308
309
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
309
310
  type: z.ZodString;
310
311
  description: z.ZodString;
@@ -375,6 +376,7 @@ export declare const ResponseDataSchema: z.ZodObject<{
375
376
  previousTransaction: z.ZodOptional<z.ZodString>;
376
377
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
377
378
  query_name: z.ZodOptional<z.ZodString>;
379
+ content_raw: z.ZodOptional<z.ZodAny>;
378
380
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
379
381
  type: z.ZodString;
380
382
  description: z.ZodString;
@@ -445,6 +447,7 @@ export declare const ResponseDataSchema: z.ZodObject<{
445
447
  previousTransaction: z.ZodOptional<z.ZodString>;
446
448
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
447
449
  query_name: z.ZodOptional<z.ZodString>;
450
+ content_raw: z.ZodOptional<z.ZodAny>;
448
451
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
449
452
  type: z.ZodString;
450
453
  description: z.ZodString;
@@ -3356,6 +3359,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3356
3359
  previousTransaction: z.ZodOptional<z.ZodString>;
3357
3360
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
3358
3361
  query_name: z.ZodOptional<z.ZodString>;
3362
+ content_raw: z.ZodOptional<z.ZodAny>;
3359
3363
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3360
3364
  type: z.ZodString;
3361
3365
  description: z.ZodString;
@@ -3426,6 +3430,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3426
3430
  previousTransaction: z.ZodOptional<z.ZodString>;
3427
3431
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
3428
3432
  query_name: z.ZodOptional<z.ZodString>;
3433
+ content_raw: z.ZodOptional<z.ZodAny>;
3429
3434
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3430
3435
  type: z.ZodString;
3431
3436
  description: z.ZodString;
@@ -3496,6 +3501,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3496
3501
  previousTransaction: z.ZodOptional<z.ZodString>;
3497
3502
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
3498
3503
  query_name: z.ZodOptional<z.ZodString>;
3504
+ content_raw: z.ZodOptional<z.ZodAny>;
3499
3505
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3500
3506
  type: z.ZodString;
3501
3507
  description: z.ZodString;
@@ -3569,6 +3575,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3569
3575
  previousTransaction: z.ZodOptional<z.ZodString>;
3570
3576
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
3571
3577
  query_name: z.ZodOptional<z.ZodString>;
3578
+ content_raw: z.ZodOptional<z.ZodAny>;
3572
3579
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3573
3580
  type: z.ZodString;
3574
3581
  description: z.ZodString;
@@ -3642,6 +3649,7 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3642
3649
  previousTransaction: z.ZodOptional<z.ZodString>;
3643
3650
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
3644
3651
  query_name: z.ZodOptional<z.ZodString>;
3652
+ content_raw: z.ZodOptional<z.ZodAny>;
3645
3653
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3646
3654
  type: z.ZodString;
3647
3655
  description: z.ZodString;
@@ -6155,6 +6163,7 @@ export declare const CallOutputSchema: z.ZodObject<{
6155
6163
  previousTransaction: z.ZodOptional<z.ZodString>;
6156
6164
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
6157
6165
  query_name: z.ZodOptional<z.ZodString>;
6166
+ content_raw: z.ZodOptional<z.ZodAny>;
6158
6167
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6159
6168
  type: z.ZodString;
6160
6169
  description: z.ZodString;
@@ -6225,6 +6234,7 @@ export declare const CallOutputSchema: z.ZodObject<{
6225
6234
  previousTransaction: z.ZodOptional<z.ZodString>;
6226
6235
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
6227
6236
  query_name: z.ZodOptional<z.ZodString>;
6237
+ content_raw: z.ZodOptional<z.ZodAny>;
6228
6238
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6229
6239
  type: z.ZodString;
6230
6240
  description: z.ZodString;
@@ -6295,6 +6305,7 @@ export declare const CallOutputSchema: z.ZodObject<{
6295
6305
  previousTransaction: z.ZodOptional<z.ZodString>;
6296
6306
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
6297
6307
  query_name: z.ZodOptional<z.ZodString>;
6308
+ content_raw: z.ZodOptional<z.ZodAny>;
6298
6309
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6299
6310
  type: z.ZodString;
6300
6311
  description: z.ZodString;
@@ -6368,6 +6379,7 @@ export declare const CallOutputSchema: z.ZodObject<{
6368
6379
  previousTransaction: z.ZodOptional<z.ZodString>;
6369
6380
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
6370
6381
  query_name: z.ZodOptional<z.ZodString>;
6382
+ content_raw: z.ZodOptional<z.ZodAny>;
6371
6383
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6372
6384
  type: z.ZodString;
6373
6385
  description: z.ZodString;
@@ -6441,6 +6453,7 @@ export declare const CallOutputSchema: z.ZodObject<{
6441
6453
  previousTransaction: z.ZodOptional<z.ZodString>;
6442
6454
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
6443
6455
  query_name: z.ZodOptional<z.ZodString>;
6456
+ content_raw: z.ZodOptional<z.ZodAny>;
6444
6457
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6445
6458
  type: z.ZodString;
6446
6459
  description: z.ZodString;
@@ -6858,6 +6871,7 @@ export declare const CallOutputSchema: z.ZodObject<{
6858
6871
  previousTransaction: z.ZodOptional<z.ZodString>;
6859
6872
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
6860
6873
  query_name: z.ZodOptional<z.ZodString>;
6874
+ content_raw: z.ZodOptional<z.ZodAny>;
6861
6875
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
6862
6876
  type: z.ZodString;
6863
6877
  description: z.ZodString;
@@ -7271,6 +7285,7 @@ export declare const CallOutputSchema: z.ZodObject<{
7271
7285
  previousTransaction: z.ZodOptional<z.ZodString>;
7272
7286
  cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
7273
7287
  query_name: z.ZodOptional<z.ZodString>;
7288
+ content_raw: z.ZodOptional<z.ZodAny>;
7274
7289
  _guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
7275
7290
  type: z.ZodString;
7276
7291
  description: z.ZodString;
@@ -195,12 +195,15 @@ export declare const CallContact_DataSchema: z.ZodObject<{
195
195
  owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
196
196
  id: z.ZodString;
197
197
  type: z.ZodString;
198
+ content_raw: z.ZodOptional<z.ZodAny>;
198
199
  }, "strict", z.ZodTypeAny, {
199
200
  type: string;
200
201
  id: string;
202
+ content_raw?: any;
201
203
  }, {
202
204
  type: string;
203
205
  id: string;
206
+ content_raw?: any;
204
207
  }>, "many">, z.ZodObject<{
205
208
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
206
209
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -280,6 +283,7 @@ export declare const CallContact_DataSchema: z.ZodObject<{
280
283
  } | "recently" | {
281
284
  type: string;
282
285
  id: string;
286
+ content_raw?: any;
283
287
  }[] | undefined;
284
288
  }, {
285
289
  object: string | {
@@ -327,6 +331,7 @@ export declare const CallContact_DataSchema: z.ZodObject<{
327
331
  } | "recently" | {
328
332
  type: string;
329
333
  id: string;
334
+ content_raw?: any;
330
335
  }[] | undefined;
331
336
  }>;
332
337
  export declare const CallContact_InputSchema: z.ZodObject<{
@@ -452,12 +457,15 @@ export declare const CallContact_InputSchema: z.ZodObject<{
452
457
  owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
453
458
  id: z.ZodString;
454
459
  type: z.ZodString;
460
+ content_raw: z.ZodOptional<z.ZodAny>;
455
461
  }, "strict", z.ZodTypeAny, {
456
462
  type: string;
457
463
  id: string;
464
+ content_raw?: any;
458
465
  }, {
459
466
  type: string;
460
467
  id: string;
468
+ content_raw?: any;
461
469
  }>, "many">, z.ZodObject<{
462
470
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
463
471
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -537,6 +545,7 @@ export declare const CallContact_InputSchema: z.ZodObject<{
537
545
  } | "recently" | {
538
546
  type: string;
539
547
  id: string;
548
+ content_raw?: any;
540
549
  }[] | undefined;
541
550
  }, {
542
551
  object: string | {
@@ -584,6 +593,7 @@ export declare const CallContact_InputSchema: z.ZodObject<{
584
593
  } | "recently" | {
585
594
  type: string;
586
595
  id: string;
596
+ content_raw?: any;
587
597
  }[] | undefined;
588
598
  }>;
589
599
  env: z.ZodOptional<z.ZodObject<{
@@ -832,6 +842,7 @@ export declare const CallContact_InputSchema: z.ZodObject<{
832
842
  } | "recently" | {
833
843
  type: string;
834
844
  id: string;
845
+ content_raw?: any;
835
846
  }[] | undefined;
836
847
  };
837
848
  submission?: {
@@ -915,6 +926,7 @@ export declare const CallContact_InputSchema: z.ZodObject<{
915
926
  } | "recently" | {
916
927
  type: string;
917
928
  id: string;
929
+ content_raw?: any;
918
930
  }[] | undefined;
919
931
  };
920
932
  submission?: {
@@ -291,12 +291,15 @@ export declare const CallDemand_DataSchema: z.ZodObject<{
291
291
  owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
292
292
  id: z.ZodString;
293
293
  type: z.ZodString;
294
+ content_raw: z.ZodOptional<z.ZodAny>;
294
295
  }, "strict", z.ZodTypeAny, {
295
296
  type: string;
296
297
  id: string;
298
+ content_raw?: any;
297
299
  }, {
298
300
  type: string;
299
301
  id: string;
302
+ content_raw?: any;
300
303
  }>, "many">, z.ZodObject<{
301
304
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
302
305
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -358,6 +361,7 @@ export declare const CallDemand_DataSchema: z.ZodObject<{
358
361
  } | "recently" | {
359
362
  type: string;
360
363
  id: string;
364
+ content_raw?: any;
361
365
  }[] | undefined;
362
366
  rewards?: {
363
367
  op: "set" | "add";
@@ -427,6 +431,7 @@ export declare const CallDemand_DataSchema: z.ZodObject<{
427
431
  } | "recently" | {
428
432
  type: string;
429
433
  id: string;
434
+ content_raw?: any;
430
435
  }[] | undefined;
431
436
  rewards?: {
432
437
  op: "set" | "add";
@@ -658,12 +663,15 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
658
663
  owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
659
664
  id: z.ZodString;
660
665
  type: z.ZodString;
666
+ content_raw: z.ZodOptional<z.ZodAny>;
661
667
  }, "strict", z.ZodTypeAny, {
662
668
  type: string;
663
669
  id: string;
670
+ content_raw?: any;
664
671
  }, {
665
672
  type: string;
666
673
  id: string;
674
+ content_raw?: any;
667
675
  }>, "many">, z.ZodObject<{
668
676
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
669
677
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -725,6 +733,7 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
725
733
  } | "recently" | {
726
734
  type: string;
727
735
  id: string;
736
+ content_raw?: any;
728
737
  }[] | undefined;
729
738
  rewards?: {
730
739
  op: "set" | "add";
@@ -794,6 +803,7 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
794
803
  } | "recently" | {
795
804
  type: string;
796
805
  id: string;
806
+ content_raw?: any;
797
807
  }[] | undefined;
798
808
  rewards?: {
799
809
  op: "set" | "add";
@@ -1064,6 +1074,7 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
1064
1074
  } | "recently" | {
1065
1075
  type: string;
1066
1076
  id: string;
1077
+ content_raw?: any;
1067
1078
  }[] | undefined;
1068
1079
  rewards?: {
1069
1080
  op: "set" | "add";
@@ -1169,6 +1180,7 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
1169
1180
  } | "recently" | {
1170
1181
  type: string;
1171
1182
  id: string;
1183
+ content_raw?: any;
1172
1184
  }[] | undefined;
1173
1185
  rewards?: {
1174
1186
  op: "set" | "add";
@@ -1850,12 +1850,15 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1850
1850
  owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1851
1851
  id: z.ZodString;
1852
1852
  type: z.ZodString;
1853
+ content_raw: z.ZodOptional<z.ZodAny>;
1853
1854
  }, "strict", z.ZodTypeAny, {
1854
1855
  type: string;
1855
1856
  id: string;
1857
+ content_raw?: any;
1856
1858
  }, {
1857
1859
  type: string;
1858
1860
  id: string;
1861
+ content_raw?: any;
1859
1862
  }>, "many">, z.ZodObject<{
1860
1863
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1861
1864
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -1916,6 +1919,7 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
1916
1919
  } | "recently" | {
1917
1920
  type: string;
1918
1921
  id: string;
1922
+ content_raw?: any;
1919
1923
  }[] | undefined;
1920
1924
  um?: string | null | undefined;
1921
1925
  node?: {
@@ -2066,6 +2070,7 @@ export declare const CallMachine_DataSchema: z.ZodObject<{
2066
2070
  } | "recently" | {
2067
2071
  type: string;
2068
2072
  id: string;
2073
+ content_raw?: any;
2069
2074
  }[] | undefined;
2070
2075
  um?: string | null | undefined;
2071
2076
  node?: {
@@ -2876,12 +2881,15 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2876
2881
  owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2877
2882
  id: z.ZodString;
2878
2883
  type: z.ZodString;
2884
+ content_raw: z.ZodOptional<z.ZodAny>;
2879
2885
  }, "strict", z.ZodTypeAny, {
2880
2886
  type: string;
2881
2887
  id: string;
2888
+ content_raw?: any;
2882
2889
  }, {
2883
2890
  type: string;
2884
2891
  id: string;
2892
+ content_raw?: any;
2885
2893
  }>, "many">, z.ZodObject<{
2886
2894
  balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2887
2895
  token_type: z.ZodEffects<z.ZodString, string, string>;
@@ -2942,6 +2950,7 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
2942
2950
  } | "recently" | {
2943
2951
  type: string;
2944
2952
  id: string;
2953
+ content_raw?: any;
2945
2954
  }[] | undefined;
2946
2955
  um?: string | null | undefined;
2947
2956
  node?: {
@@ -3092,6 +3101,7 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
3092
3101
  } | "recently" | {
3093
3102
  type: string;
3094
3103
  id: string;
3104
+ content_raw?: any;
3095
3105
  }[] | undefined;
3096
3106
  um?: string | null | undefined;
3097
3107
  node?: {
@@ -3443,6 +3453,7 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
3443
3453
  } | "recently" | {
3444
3454
  type: string;
3445
3455
  id: string;
3456
+ content_raw?: any;
3446
3457
  }[] | undefined;
3447
3458
  um?: string | null | undefined;
3448
3459
  node?: {
@@ -3629,6 +3640,7 @@ export declare const CallMachine_InputSchema: z.ZodObject<{
3629
3640
  } | "recently" | {
3630
3641
  type: string;
3631
3642
  id: string;
3643
+ content_raw?: any;
3632
3644
  }[] | undefined;
3633
3645
  um?: string | null | undefined;
3634
3646
  node?: {