@wowok/agent-mcp 2.2.8

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 +56 -0
  2. package/dist/index.d.ts +15800 -0
  3. package/dist/index.js +1479 -0
  4. package/dist/schema/call/allocation.d.ts +1430 -0
  5. package/dist/schema/call/allocation.js +24 -0
  6. package/dist/schema/call/arbitration.d.ts +1974 -0
  7. package/dist/schema/call/arbitration.js +92 -0
  8. package/dist/schema/call/base.d.ts +7325 -0
  9. package/dist/schema/call/base.js +138 -0
  10. package/dist/schema/call/contact.d.ts +970 -0
  11. package/dist/schema/call/contact.js +37 -0
  12. package/dist/schema/call/demand.d.ts +1265 -0
  13. package/dist/schema/call/demand.js +47 -0
  14. package/dist/schema/call/guard.d.ts +951 -0
  15. package/dist/schema/call/guard.js +58 -0
  16. package/dist/schema/call/handler.d.ts +38 -0
  17. package/dist/schema/call/handler.js +171 -0
  18. package/dist/schema/call/index.d.ts +18 -0
  19. package/dist/schema/call/index.js +18 -0
  20. package/dist/schema/call/machine.d.ts +3974 -0
  21. package/dist/schema/call/machine.js +152 -0
  22. package/dist/schema/call/order.d.ts +974 -0
  23. package/dist/schema/call/order.js +34 -0
  24. package/dist/schema/call/payment.d.ts +404 -0
  25. package/dist/schema/call/payment.js +17 -0
  26. package/dist/schema/call/permission.d.ts +3017 -0
  27. package/dist/schema/call/permission.js +105 -0
  28. package/dist/schema/call/personal.d.ts +1472 -0
  29. package/dist/schema/call/personal.js +68 -0
  30. package/dist/schema/call/progress.d.ts +725 -0
  31. package/dist/schema/call/progress.js +26 -0
  32. package/dist/schema/call/proof.d.ts +320 -0
  33. package/dist/schema/call/proof.js +27 -0
  34. package/dist/schema/call/repository.d.ts +2358 -0
  35. package/dist/schema/call/repository.js +76 -0
  36. package/dist/schema/call/reward.d.ts +1232 -0
  37. package/dist/schema/call/reward.js +30 -0
  38. package/dist/schema/call/service.d.ts +3494 -0
  39. package/dist/schema/call/service.js +82 -0
  40. package/dist/schema/call/treasury.d.ts +2345 -0
  41. package/dist/schema/call/treasury.js +71 -0
  42. package/dist/schema/common/index.d.ts +843 -0
  43. package/dist/schema/common/index.js +347 -0
  44. package/dist/schema/index.d.ts +7 -0
  45. package/dist/schema/index.js +7 -0
  46. package/dist/schema/local/index.d.ts +17522 -0
  47. package/dist/schema/local/index.js +855 -0
  48. package/dist/schema/local/wip.d.ts +784 -0
  49. package/dist/schema/local/wip.js +187 -0
  50. package/dist/schema/messenger/index.d.ts +4655 -0
  51. package/dist/schema/messenger/index.js +446 -0
  52. package/dist/schema/query/index.d.ts +73445 -0
  53. package/dist/schema/query/index.js +1324 -0
  54. package/dist/schema/utils/guard-parser.d.ts +20 -0
  55. package/dist/schema/utils/guard-parser.js +401 -0
  56. package/dist/schema/utils/guard-query-utils.d.ts +5 -0
  57. package/dist/schema/utils/guard-query-utils.js +22 -0
  58. package/dist/schema/utils/node-parser.d.ts +45 -0
  59. package/dist/schema/utils/node-parser.js +353 -0
  60. package/dist/schema/utils/permission-index-utils.d.ts +2 -0
  61. package/dist/schema/utils/permission-index-utils.js +7 -0
  62. package/package.json +48 -0
@@ -0,0 +1,68 @@
1
+ import { z } from "zod";
2
+ import { AccountOrMark_AddressAISchema, AccountOrMark_AddressSchema, DescriptionSchema, ManyAccountOrMark_AddressAISchema, NameSchema } from "../common/index.js";
3
+ import { RecordsInEntitySchema } from "../query/index.js";
4
+ import { CallEnvSchema } from "./base.js";
5
+ export const InformationAddSchema = z.object({
6
+ op: z.literal("add"),
7
+ data: z.array(RecordsInEntitySchema)
8
+ }).strict().describe("PUBLIC: Add personal info on-chain. Safe: social handles, URLs, public email. NEVER: phone, address, private keys.");
9
+ export const InformationRemoveSchema = z.object({
10
+ op: z.literal("remove"),
11
+ name: z.array(NameSchema)
12
+ }).strict().describe("PUBLIC: Remove specified personal info records from your public profile.");
13
+ export const InformationClearSchema = z.object({
14
+ op: z.literal("clear")
15
+ }).strict().describe("PUBLIC: Clear ALL personal info from your public profile.");
16
+ export const InformationSchema = z.discriminatedUnion("op", [
17
+ InformationAddSchema,
18
+ InformationRemoveSchema,
19
+ InformationClearSchema
20
+ ]);
21
+ export const MarkAddSchema = z.object({
22
+ op: z.literal("add"),
23
+ data: z.array(z.object({
24
+ address: AccountOrMark_AddressAISchema,
25
+ name: NameSchema.optional(),
26
+ tags: z.array(NameSchema).optional()
27
+ }).strict()),
28
+ }).strict().describe("PUBLIC: Add ID name and tags on-chain for public identity. For private marks, use 'local' tool.");
29
+ export const MarkRemoveSchema = z.object({
30
+ op: z.literal("remove"),
31
+ data: z.array(z.object({
32
+ address: AccountOrMark_AddressAISchema,
33
+ tags: z.array(NameSchema).optional()
34
+ }).strict())
35
+ }).strict().describe("PUBLIC: Remove specified tags from your on-chain identity mark.");
36
+ export const MarkClearSchema = z.object({
37
+ op: z.literal("clear"),
38
+ address: ManyAccountOrMark_AddressAISchema
39
+ }).strict().describe("PUBLIC: Clear ALL tags from specified on-chain identity marks.");
40
+ export const MarkTransferSchema = z.object({
41
+ op: z.literal("transfer"),
42
+ to: AccountOrMark_AddressAISchema
43
+ }).strict().describe("PUBLIC: Transfer your on-chain identity mark to another address.");
44
+ export const MarkReplaceSchema = z.object({
45
+ op: z.literal("replace"),
46
+ new_mark_object: z.string().describe("New personal ID tag object ID.")
47
+ }).strict().describe("PUBLIC: Replace your on-chain identity mark with a new object.");
48
+ export const MarkDestroySchema = z.object({
49
+ op: z.literal("destroy")
50
+ }).strict().describe("PUBLIC: Destroy your on-chain identity mark permanently.");
51
+ export const MarkSchema = z.discriminatedUnion("op", [
52
+ MarkAddSchema,
53
+ MarkRemoveSchema,
54
+ MarkClearSchema,
55
+ MarkTransferSchema,
56
+ MarkReplaceSchema,
57
+ MarkDestroySchema
58
+ ]);
59
+ export const CallPersonal_DataSchema = z.object({
60
+ description: DescriptionSchema.optional(),
61
+ referrer: z.union([z.string(), AccountOrMark_AddressSchema, z.null()]).optional().describe("Referrer ID (name or address) for joining the on-chain network."),
62
+ information: InformationSchema.optional().describe("PUBLIC: Personal info on-chain. Safe: social handles, URLs. NEVER: phone, address, private keys."),
63
+ mark: MarkSchema.optional().describe("PUBLIC: On-chain identity mark. For PRIVATE marks, use 'local' tool.")
64
+ }).strict();
65
+ export const CallPersonal_InputSchema = z.object({
66
+ data: CallPersonal_DataSchema,
67
+ env: CallEnvSchema.optional(),
68
+ }).strict();