@wowok/agent-mcp 2.2.21 → 2.3.0

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.
Files changed (62) hide show
  1. package/README.md +1 -3
  2. package/dist/index.d.ts +86 -126
  3. package/dist/index.js +4 -1
  4. package/dist/schema/call/allocation.d.ts +1 -1
  5. package/dist/schema/call/arbitration.d.ts +1 -1
  6. package/dist/schema/call/arbitration.js +1 -1
  7. package/dist/schema/call/base.d.ts +830 -830
  8. package/dist/schema/call/contact.d.ts +1 -1
  9. package/dist/schema/call/demand.d.ts +1 -1
  10. package/dist/schema/call/demand.js +1 -1
  11. package/dist/schema/call/guard.d.ts +3 -3
  12. package/dist/schema/call/machine.d.ts +4 -4
  13. package/dist/schema/call/machine.js +1 -1
  14. package/dist/schema/call/order.d.ts +15 -15
  15. package/dist/schema/call/order.js +1 -1
  16. package/dist/schema/call/payment.d.ts +1 -1
  17. package/dist/schema/call/permission.d.ts +1 -1
  18. package/dist/schema/call/permission.js +1 -1
  19. package/dist/schema/call/personal.d.ts +1 -1
  20. package/dist/schema/call/progress.d.ts +1 -1
  21. package/dist/schema/call/proof.d.ts +13 -98
  22. package/dist/schema/call/proof.js +3 -3
  23. package/dist/schema/call/repository.d.ts +79 -79
  24. package/dist/schema/call/repository.js +4 -3
  25. package/dist/schema/call/reward.d.ts +1 -1
  26. package/dist/schema/call/reward.js +1 -1
  27. package/dist/schema/call/service.d.ts +46 -46
  28. package/dist/schema/call/service.js +3 -3
  29. package/dist/schema/call/treasury.d.ts +9 -69
  30. package/dist/schema/call/treasury.js +1 -1
  31. package/dist/schema/common/index.d.ts +46 -46
  32. package/dist/schema/common/index.js +5 -3
  33. package/dist/schema/local/index.d.ts +1906 -1906
  34. package/dist/schema/local/index.js +12 -12
  35. package/dist/schema/local/wip.d.ts +16 -16
  36. package/dist/schema/local/wip.js +2 -2
  37. package/dist/schema/messenger/index.d.ts +1 -1
  38. package/dist/schema/query/index.d.ts +6918 -6918
  39. package/dist/schema/query/index.js +6 -6
  40. package/dist/schemas/account_operation.schema.json +4 -2
  41. package/dist/schemas/guard2file.schema.json +2 -1
  42. package/dist/schemas/index.json +1 -1
  43. package/dist/schemas/machineNode2file.schema.json +2 -1
  44. package/dist/schemas/messenger_operation.schema.json +2 -1
  45. package/dist/schemas/onchain_events.schema.json +6 -2
  46. package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
  47. package/dist/schemas/onchain_operations_arbitration.schema.json +3 -2
  48. package/dist/schemas/onchain_operations_contact.schema.json +2 -1
  49. package/dist/schemas/onchain_operations_demand.schema.json +3 -2
  50. package/dist/schemas/onchain_operations_gen_passport.schema.json +4 -2
  51. package/dist/schemas/onchain_operations_guard.schema.json +2 -1
  52. package/dist/schemas/onchain_operations_machine.schema.json +10 -5
  53. package/dist/schemas/onchain_operations_order.schema.json +6 -5
  54. package/dist/schemas/onchain_operations_payment.schema.json +2 -1
  55. package/dist/schemas/onchain_operations_permission.schema.json +3 -2
  56. package/dist/schemas/onchain_operations_personal.schema.json +2 -1
  57. package/dist/schemas/onchain_operations_progress.schema.json +2 -1
  58. package/dist/schemas/onchain_operations_repository.schema.json +9 -5
  59. package/dist/schemas/onchain_operations_reward.schema.json +3 -2
  60. package/dist/schemas/onchain_operations_service.schema.json +6 -2
  61. package/dist/schemas/onchain_operations_treasury.schema.json +4 -3
  62. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1076,7 +1076,10 @@ async function handleOnchainEvents(args) {
1076
1076
  const validated = strictParse(OnchainEventsInputSchema, args, "onchain_events input");
1077
1077
  const queryResult = await query_events({
1078
1078
  type: validated.type,
1079
- cursor: validated.cursor ?? null,
1079
+ cursor: validated.cursor ? {
1080
+ eventSeq: String(validated.cursor.eventSeq),
1081
+ txDigest: validated.cursor.txDigest
1082
+ } : null,
1080
1083
  limit: validated.limit ?? null,
1081
1084
  order: validated.order ?? null,
1082
1085
  no_cache: validated.no_cache,
@@ -1049,7 +1049,7 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
1049
1049
  account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
1050
1050
  permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1051
1051
  no_cache: z.ZodOptional<z.ZodBoolean>;
1052
- network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
1052
+ network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
1053
1053
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1054
1054
  }, "strict", z.ZodTypeAny, {
1055
1055
  account: string;
@@ -1471,7 +1471,7 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1471
1471
  account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
1472
1472
  permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1473
1473
  no_cache: z.ZodOptional<z.ZodBoolean>;
1474
- network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>>;
1474
+ network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Devnet]>>;
1475
1475
  referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1476
1476
  }, "strict", z.ZodTypeAny, {
1477
1477
  account: string;
@@ -83,7 +83,7 @@ export const CallArbitration_DataSchema = z.object({
83
83
  usage_guard: z.union([NameOrAddressSchema, z.null()]).optional().describe("Set Guard for verification when users apply for arbitration; if Guard verification fails, users will not be able to apply for arbitration."),
84
84
  voting_guard: VotingGuardActionSchema.optional().describe("Set Guard for verification during arbitration voting; if Guard verification fails, arbitration voting will fail."),
85
85
  owner_receive: ReceivedObjectsOrRecentlySchema.optional().describe("Unwrap CoinWrapper objects and other objects received by this object and send them to the owner of its Permission object."),
86
- um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object.")
86
+ um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID or name.")
87
87
  }).strict().describe("On-chain Arbitration operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create an Arbitration. NOTE:'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation.");
88
88
  export const CallArbitration_InputSchema = z.object({
89
89
  data: CallArbitration_DataSchema,