@hashgraphonline/standards-agent-kit 0.2.1 → 0.2.102

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 (193) hide show
  1. package/dist/cjs/builders/hcs10/hcs10-builder.d.ts +4 -0
  2. package/dist/cjs/builders/hcs2/hcs2-builder.d.ts +50 -0
  3. package/dist/cjs/builders/hcs2/index.d.ts +1 -0
  4. package/dist/cjs/builders/index.d.ts +2 -0
  5. package/dist/cjs/builders/inscriber/index.d.ts +1 -0
  6. package/dist/cjs/builders/inscriber/inscriber-builder.d.ts +46 -0
  7. package/dist/cjs/index.d.ts +1 -1
  8. package/dist/cjs/standards-agent-kit.cjs +1 -1
  9. package/dist/cjs/standards-agent-kit.cjs.map +1 -1
  10. package/dist/cjs/tools/hcs10/FindRegistrationsTool.d.ts +4 -4
  11. package/dist/cjs/tools/hcs10/RegisterAgentTool.d.ts +24 -8
  12. package/dist/cjs/tools/hcs10/index.d.ts +1 -0
  13. package/dist/cjs/tools/hcs10/natural-language-mapper.d.ts +19 -0
  14. package/dist/cjs/tools/hcs2/CreateRegistryTool.d.ts +48 -0
  15. package/dist/cjs/tools/hcs2/DeleteEntryTool.d.ts +41 -0
  16. package/dist/cjs/tools/hcs2/MigrateRegistryTool.d.ts +47 -0
  17. package/dist/cjs/tools/hcs2/QueryRegistryTool.d.ts +47 -0
  18. package/dist/cjs/tools/hcs2/RegisterEntryTool.d.ts +47 -0
  19. package/dist/cjs/tools/hcs2/UpdateEntryTool.d.ts +53 -0
  20. package/dist/cjs/tools/hcs2/base-hcs2-tools.d.ts +28 -0
  21. package/dist/cjs/tools/hcs2/hcs2-tool-params.d.ts +18 -0
  22. package/dist/cjs/tools/hcs2/index.d.ts +8 -0
  23. package/dist/cjs/tools/index.d.ts +2 -0
  24. package/dist/cjs/tools/inscriber/InscribeFromBufferTool.d.ts +77 -0
  25. package/dist/cjs/tools/inscriber/InscribeFromFileTool.d.ts +65 -0
  26. package/dist/cjs/tools/inscriber/InscribeFromUrlTool.d.ts +65 -0
  27. package/dist/cjs/tools/inscriber/InscribeHashinalTool.d.ts +125 -0
  28. package/dist/cjs/tools/inscriber/RetrieveInscriptionTool.d.ts +35 -0
  29. package/dist/cjs/tools/inscriber/base-inscriber-tools.d.ts +28 -0
  30. package/dist/cjs/tools/inscriber/index.d.ts +7 -0
  31. package/dist/cjs/tools/inscriber/inscriber-tool-params.d.ts +18 -0
  32. package/dist/es/builders/hcs10/hcs10-builder.d.ts +4 -0
  33. package/dist/es/builders/hcs2/hcs2-builder.d.ts +50 -0
  34. package/dist/es/builders/hcs2/index.d.ts +1 -0
  35. package/dist/es/builders/index.d.ts +2 -0
  36. package/dist/es/builders/inscriber/index.d.ts +1 -0
  37. package/dist/es/builders/inscriber/inscriber-builder.d.ts +46 -0
  38. package/dist/es/index.d.ts +1 -1
  39. package/dist/es/standards-agent-kit.es.js +50 -16
  40. package/dist/es/standards-agent-kit.es.js.map +1 -1
  41. package/dist/es/standards-agent-kit.es10.js +17 -23
  42. package/dist/es/standards-agent-kit.es10.js.map +1 -1
  43. package/dist/es/standards-agent-kit.es11.js +36 -58
  44. package/dist/es/standards-agent-kit.es11.js.map +1 -1
  45. package/dist/es/standards-agent-kit.es12.js +43 -18
  46. package/dist/es/standards-agent-kit.es12.js.map +1 -1
  47. package/dist/es/standards-agent-kit.es13.js +53 -16
  48. package/dist/es/standards-agent-kit.es13.js.map +1 -1
  49. package/dist/es/standards-agent-kit.es14.js +18 -28
  50. package/dist/es/standards-agent-kit.es14.js.map +1 -1
  51. package/dist/es/standards-agent-kit.es15.js +26 -12
  52. package/dist/es/standards-agent-kit.es15.js.map +1 -1
  53. package/dist/es/standards-agent-kit.es16.js +37 -241
  54. package/dist/es/standards-agent-kit.es16.js.map +1 -1
  55. package/dist/es/standards-agent-kit.es17.js +16 -136
  56. package/dist/es/standards-agent-kit.es17.js.map +1 -1
  57. package/dist/es/standards-agent-kit.es18.js +154 -27
  58. package/dist/es/standards-agent-kit.es18.js.map +1 -1
  59. package/dist/es/standards-agent-kit.es19.js +26 -22
  60. package/dist/es/standards-agent-kit.es19.js.map +1 -1
  61. package/dist/es/standards-agent-kit.es2.js +27 -13
  62. package/dist/es/standards-agent-kit.es2.js.map +1 -1
  63. package/dist/es/standards-agent-kit.es20.js +42 -3
  64. package/dist/es/standards-agent-kit.es20.js.map +1 -1
  65. package/dist/es/standards-agent-kit.es21.js +48 -0
  66. package/dist/es/standards-agent-kit.es21.js.map +1 -0
  67. package/dist/es/standards-agent-kit.es22.js +51 -0
  68. package/dist/es/standards-agent-kit.es22.js.map +1 -0
  69. package/dist/es/standards-agent-kit.es23.js +45 -0
  70. package/dist/es/standards-agent-kit.es23.js.map +1 -0
  71. package/dist/es/standards-agent-kit.es24.js +48 -0
  72. package/dist/es/standards-agent-kit.es24.js.map +1 -0
  73. package/dist/es/standards-agent-kit.es25.js +45 -0
  74. package/dist/es/standards-agent-kit.es25.js.map +1 -0
  75. package/dist/es/standards-agent-kit.es26.js +32 -0
  76. package/dist/es/standards-agent-kit.es26.js.map +1 -0
  77. package/dist/es/standards-agent-kit.es27.js +71 -0
  78. package/dist/es/standards-agent-kit.es27.js.map +1 -0
  79. package/dist/es/standards-agent-kit.es28.js +71 -0
  80. package/dist/es/standards-agent-kit.es28.js.map +1 -0
  81. package/dist/es/standards-agent-kit.es29.js +79 -0
  82. package/dist/es/standards-agent-kit.es29.js.map +1 -0
  83. package/dist/es/standards-agent-kit.es3.js +59 -296
  84. package/dist/es/standards-agent-kit.es3.js.map +1 -1
  85. package/dist/es/standards-agent-kit.es30.js +90 -0
  86. package/dist/es/standards-agent-kit.es30.js.map +1 -0
  87. package/dist/es/standards-agent-kit.es31.js +45 -0
  88. package/dist/es/standards-agent-kit.es31.js.map +1 -0
  89. package/dist/es/standards-agent-kit.es32.js +249 -0
  90. package/dist/es/standards-agent-kit.es32.js.map +1 -0
  91. package/dist/es/standards-agent-kit.es33.js +141 -0
  92. package/dist/es/standards-agent-kit.es33.js.map +1 -0
  93. package/dist/es/standards-agent-kit.es34.js +33 -0
  94. package/dist/es/standards-agent-kit.es34.js.map +1 -0
  95. package/dist/es/standards-agent-kit.es35.js +28 -0
  96. package/dist/es/standards-agent-kit.es35.js.map +1 -0
  97. package/dist/es/standards-agent-kit.es36.js +7 -0
  98. package/dist/es/standards-agent-kit.es36.js.map +1 -0
  99. package/dist/es/standards-agent-kit.es4.js +44 -20
  100. package/dist/es/standards-agent-kit.es4.js.map +1 -1
  101. package/dist/es/standards-agent-kit.es5.js +312 -121
  102. package/dist/es/standards-agent-kit.es5.js.map +1 -1
  103. package/dist/es/standards-agent-kit.es6.js +24 -23
  104. package/dist/es/standards-agent-kit.es6.js.map +1 -1
  105. package/dist/es/standards-agent-kit.es7.js +220 -20
  106. package/dist/es/standards-agent-kit.es7.js.map +1 -1
  107. package/dist/es/standards-agent-kit.es8.js +20 -29
  108. package/dist/es/standards-agent-kit.es8.js.map +1 -1
  109. package/dist/es/standards-agent-kit.es9.js +26 -36
  110. package/dist/es/standards-agent-kit.es9.js.map +1 -1
  111. package/dist/es/tools/hcs10/FindRegistrationsTool.d.ts +4 -4
  112. package/dist/es/tools/hcs10/RegisterAgentTool.d.ts +24 -8
  113. package/dist/es/tools/hcs10/index.d.ts +1 -0
  114. package/dist/es/tools/hcs10/natural-language-mapper.d.ts +19 -0
  115. package/dist/es/tools/hcs2/CreateRegistryTool.d.ts +48 -0
  116. package/dist/es/tools/hcs2/DeleteEntryTool.d.ts +41 -0
  117. package/dist/es/tools/hcs2/MigrateRegistryTool.d.ts +47 -0
  118. package/dist/es/tools/hcs2/QueryRegistryTool.d.ts +47 -0
  119. package/dist/es/tools/hcs2/RegisterEntryTool.d.ts +47 -0
  120. package/dist/es/tools/hcs2/UpdateEntryTool.d.ts +53 -0
  121. package/dist/es/tools/hcs2/base-hcs2-tools.d.ts +28 -0
  122. package/dist/es/tools/hcs2/hcs2-tool-params.d.ts +18 -0
  123. package/dist/es/tools/hcs2/index.d.ts +8 -0
  124. package/dist/es/tools/index.d.ts +2 -0
  125. package/dist/es/tools/inscriber/InscribeFromBufferTool.d.ts +77 -0
  126. package/dist/es/tools/inscriber/InscribeFromFileTool.d.ts +65 -0
  127. package/dist/es/tools/inscriber/InscribeFromUrlTool.d.ts +65 -0
  128. package/dist/es/tools/inscriber/InscribeHashinalTool.d.ts +125 -0
  129. package/dist/es/tools/inscriber/RetrieveInscriptionTool.d.ts +35 -0
  130. package/dist/es/tools/inscriber/base-inscriber-tools.d.ts +28 -0
  131. package/dist/es/tools/inscriber/index.d.ts +7 -0
  132. package/dist/es/tools/inscriber/inscriber-tool-params.d.ts +18 -0
  133. package/dist/umd/builders/hcs10/hcs10-builder.d.ts +4 -0
  134. package/dist/umd/builders/hcs2/hcs2-builder.d.ts +50 -0
  135. package/dist/umd/builders/hcs2/index.d.ts +1 -0
  136. package/dist/umd/builders/index.d.ts +2 -0
  137. package/dist/umd/builders/inscriber/index.d.ts +1 -0
  138. package/dist/umd/builders/inscriber/inscriber-builder.d.ts +46 -0
  139. package/dist/umd/index.d.ts +1 -1
  140. package/dist/umd/standards-agent-kit.umd.js +1 -1
  141. package/dist/umd/standards-agent-kit.umd.js.map +1 -1
  142. package/dist/umd/tools/hcs10/FindRegistrationsTool.d.ts +4 -4
  143. package/dist/umd/tools/hcs10/RegisterAgentTool.d.ts +24 -8
  144. package/dist/umd/tools/hcs10/index.d.ts +1 -0
  145. package/dist/umd/tools/hcs10/natural-language-mapper.d.ts +19 -0
  146. package/dist/umd/tools/hcs2/CreateRegistryTool.d.ts +48 -0
  147. package/dist/umd/tools/hcs2/DeleteEntryTool.d.ts +41 -0
  148. package/dist/umd/tools/hcs2/MigrateRegistryTool.d.ts +47 -0
  149. package/dist/umd/tools/hcs2/QueryRegistryTool.d.ts +47 -0
  150. package/dist/umd/tools/hcs2/RegisterEntryTool.d.ts +47 -0
  151. package/dist/umd/tools/hcs2/UpdateEntryTool.d.ts +53 -0
  152. package/dist/umd/tools/hcs2/base-hcs2-tools.d.ts +28 -0
  153. package/dist/umd/tools/hcs2/hcs2-tool-params.d.ts +18 -0
  154. package/dist/umd/tools/hcs2/index.d.ts +8 -0
  155. package/dist/umd/tools/index.d.ts +2 -0
  156. package/dist/umd/tools/inscriber/InscribeFromBufferTool.d.ts +77 -0
  157. package/dist/umd/tools/inscriber/InscribeFromFileTool.d.ts +65 -0
  158. package/dist/umd/tools/inscriber/InscribeFromUrlTool.d.ts +65 -0
  159. package/dist/umd/tools/inscriber/InscribeHashinalTool.d.ts +125 -0
  160. package/dist/umd/tools/inscriber/RetrieveInscriptionTool.d.ts +35 -0
  161. package/dist/umd/tools/inscriber/base-inscriber-tools.d.ts +28 -0
  162. package/dist/umd/tools/inscriber/index.d.ts +7 -0
  163. package/dist/umd/tools/inscriber/inscriber-tool-params.d.ts +18 -0
  164. package/package.json +32 -30
  165. package/src/builders/hcs10/hcs10-builder.ts +37 -16
  166. package/src/builders/hcs2/hcs2-builder.ts +148 -0
  167. package/src/builders/hcs2/index.ts +1 -0
  168. package/src/builders/index.ts +3 -1
  169. package/src/builders/inscriber/index.ts +1 -0
  170. package/src/builders/inscriber/inscriber-builder.ts +112 -0
  171. package/src/index.ts +1 -1
  172. package/src/tools/hcs10/FindRegistrationsTool.ts +19 -4
  173. package/src/tools/hcs10/RegisterAgentTool.ts +147 -9
  174. package/src/tools/hcs10/index.ts +2 -1
  175. package/src/tools/hcs10/natural-language-mapper.ts +194 -0
  176. package/src/tools/hcs2/CreateRegistryTool.ts +63 -0
  177. package/src/tools/hcs2/DeleteEntryTool.ts +58 -0
  178. package/src/tools/hcs2/MigrateRegistryTool.ts +64 -0
  179. package/src/tools/hcs2/QueryRegistryTool.ts +70 -0
  180. package/src/tools/hcs2/RegisterEntryTool.ts +63 -0
  181. package/src/tools/hcs2/UpdateEntryTool.ts +68 -0
  182. package/src/tools/hcs2/base-hcs2-tools.ts +65 -0
  183. package/src/tools/hcs2/hcs2-tool-params.ts +21 -0
  184. package/src/tools/hcs2/index.ts +8 -0
  185. package/src/tools/index.ts +3 -2
  186. package/src/tools/inscriber/InscribeFromBufferTool.ts +105 -0
  187. package/src/tools/inscriber/InscribeFromFileTool.ts +93 -0
  188. package/src/tools/inscriber/InscribeFromUrlTool.ts +93 -0
  189. package/src/tools/inscriber/InscribeHashinalTool.ts +117 -0
  190. package/src/tools/inscriber/RetrieveInscriptionTool.ts +59 -0
  191. package/src/tools/inscriber/base-inscriber-tools.ts +65 -0
  192. package/src/tools/inscriber/index.ts +7 -0
  193. package/src/tools/inscriber/inscriber-tool-params.ts +21 -0
@@ -0,0 +1,65 @@
1
+ import { z } from 'zod';
2
+ import { BaseInscriberQueryTool } from './base-inscriber-tools';
3
+ import { CallbackManagerForToolRun } from '@langchain/core/callbacks/manager';
4
+ /**
5
+ * Schema for inscribing from URL
6
+ */
7
+ declare const inscribeFromUrlSchema: z.ZodObject<{
8
+ url: z.ZodString;
9
+ mode: z.ZodOptional<z.ZodEnum<["file", "hashinal"]>>;
10
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
+ chunkSize: z.ZodOptional<z.ZodNumber>;
13
+ waitForConfirmation: z.ZodOptional<z.ZodBoolean>;
14
+ apiKey: z.ZodOptional<z.ZodString>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ url: string;
17
+ tags?: string[] | undefined;
18
+ metadata?: Record<string, unknown> | undefined;
19
+ mode?: "file" | "hashinal" | undefined;
20
+ chunkSize?: number | undefined;
21
+ waitForConfirmation?: boolean | undefined;
22
+ apiKey?: string | undefined;
23
+ }, {
24
+ url: string;
25
+ tags?: string[] | undefined;
26
+ metadata?: Record<string, unknown> | undefined;
27
+ mode?: "file" | "hashinal" | undefined;
28
+ chunkSize?: number | undefined;
29
+ waitForConfirmation?: boolean | undefined;
30
+ apiKey?: string | undefined;
31
+ }>;
32
+ /**
33
+ * Tool for inscribing content from URL
34
+ */
35
+ export declare class InscribeFromUrlTool extends BaseInscriberQueryTool<typeof inscribeFromUrlSchema> {
36
+ name: string;
37
+ description: string;
38
+ get specificInputSchema(): z.ZodObject<{
39
+ url: z.ZodString;
40
+ mode: z.ZodOptional<z.ZodEnum<["file", "hashinal"]>>;
41
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43
+ chunkSize: z.ZodOptional<z.ZodNumber>;
44
+ waitForConfirmation: z.ZodOptional<z.ZodBoolean>;
45
+ apiKey: z.ZodOptional<z.ZodString>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ url: string;
48
+ tags?: string[] | undefined;
49
+ metadata?: Record<string, unknown> | undefined;
50
+ mode?: "file" | "hashinal" | undefined;
51
+ chunkSize?: number | undefined;
52
+ waitForConfirmation?: boolean | undefined;
53
+ apiKey?: string | undefined;
54
+ }, {
55
+ url: string;
56
+ tags?: string[] | undefined;
57
+ metadata?: Record<string, unknown> | undefined;
58
+ mode?: "file" | "hashinal" | undefined;
59
+ chunkSize?: number | undefined;
60
+ waitForConfirmation?: boolean | undefined;
61
+ apiKey?: string | undefined;
62
+ }>;
63
+ protected executeQuery(params: z.infer<typeof inscribeFromUrlSchema>, _runManager?: CallbackManagerForToolRun): Promise<unknown>;
64
+ }
65
+ export {};
@@ -0,0 +1,125 @@
1
+ import { z } from 'zod';
2
+ import { BaseInscriberQueryTool } from './base-inscriber-tools';
3
+ import { CallbackManagerForToolRun } from '@langchain/core/callbacks/manager';
4
+ /**
5
+ * Schema for inscribing Hashinal NFT
6
+ */
7
+ declare const inscribeHashinalSchema: z.ZodObject<{
8
+ url: z.ZodString;
9
+ name: z.ZodString;
10
+ creator: z.ZodString;
11
+ description: z.ZodString;
12
+ type: z.ZodString;
13
+ attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
14
+ trait_type: z.ZodString;
15
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ value: string | number;
18
+ trait_type: string;
19
+ }, {
20
+ value: string | number;
21
+ trait_type: string;
22
+ }>, "many">>;
23
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
24
+ jsonFileURL: z.ZodOptional<z.ZodString>;
25
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26
+ chunkSize: z.ZodOptional<z.ZodNumber>;
27
+ waitForConfirmation: z.ZodOptional<z.ZodBoolean>;
28
+ apiKey: z.ZodOptional<z.ZodString>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ url: string;
31
+ type: string;
32
+ name: string;
33
+ description: string;
34
+ creator: string;
35
+ tags?: string[] | undefined;
36
+ properties?: Record<string, unknown> | undefined;
37
+ chunkSize?: number | undefined;
38
+ waitForConfirmation?: boolean | undefined;
39
+ apiKey?: string | undefined;
40
+ attributes?: {
41
+ value: string | number;
42
+ trait_type: string;
43
+ }[] | undefined;
44
+ jsonFileURL?: string | undefined;
45
+ }, {
46
+ url: string;
47
+ type: string;
48
+ name: string;
49
+ description: string;
50
+ creator: string;
51
+ tags?: string[] | undefined;
52
+ properties?: Record<string, unknown> | undefined;
53
+ chunkSize?: number | undefined;
54
+ waitForConfirmation?: boolean | undefined;
55
+ apiKey?: string | undefined;
56
+ attributes?: {
57
+ value: string | number;
58
+ trait_type: string;
59
+ }[] | undefined;
60
+ jsonFileURL?: string | undefined;
61
+ }>;
62
+ /**
63
+ * Tool for inscribing Hashinal NFTs
64
+ */
65
+ export declare class InscribeHashinalTool extends BaseInscriberQueryTool<typeof inscribeHashinalSchema> {
66
+ name: string;
67
+ description: string;
68
+ get specificInputSchema(): z.ZodObject<{
69
+ url: z.ZodString;
70
+ name: z.ZodString;
71
+ creator: z.ZodString;
72
+ description: z.ZodString;
73
+ type: z.ZodString;
74
+ attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
75
+ trait_type: z.ZodString;
76
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ value: string | number;
79
+ trait_type: string;
80
+ }, {
81
+ value: string | number;
82
+ trait_type: string;
83
+ }>, "many">>;
84
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
85
+ jsonFileURL: z.ZodOptional<z.ZodString>;
86
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
87
+ chunkSize: z.ZodOptional<z.ZodNumber>;
88
+ waitForConfirmation: z.ZodOptional<z.ZodBoolean>;
89
+ apiKey: z.ZodOptional<z.ZodString>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ url: string;
92
+ type: string;
93
+ name: string;
94
+ description: string;
95
+ creator: string;
96
+ tags?: string[] | undefined;
97
+ properties?: Record<string, unknown> | undefined;
98
+ chunkSize?: number | undefined;
99
+ waitForConfirmation?: boolean | undefined;
100
+ apiKey?: string | undefined;
101
+ attributes?: {
102
+ value: string | number;
103
+ trait_type: string;
104
+ }[] | undefined;
105
+ jsonFileURL?: string | undefined;
106
+ }, {
107
+ url: string;
108
+ type: string;
109
+ name: string;
110
+ description: string;
111
+ creator: string;
112
+ tags?: string[] | undefined;
113
+ properties?: Record<string, unknown> | undefined;
114
+ chunkSize?: number | undefined;
115
+ waitForConfirmation?: boolean | undefined;
116
+ apiKey?: string | undefined;
117
+ attributes?: {
118
+ value: string | number;
119
+ trait_type: string;
120
+ }[] | undefined;
121
+ jsonFileURL?: string | undefined;
122
+ }>;
123
+ protected executeQuery(params: z.infer<typeof inscribeHashinalSchema>, _runManager?: CallbackManagerForToolRun): Promise<unknown>;
124
+ }
125
+ export {};
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ import { BaseInscriberQueryTool } from './base-inscriber-tools';
3
+ import { CallbackManagerForToolRun } from '@langchain/core/callbacks/manager';
4
+ /**
5
+ * Schema for retrieving inscription
6
+ */
7
+ declare const retrieveInscriptionSchema: z.ZodObject<{
8
+ transactionId: z.ZodString;
9
+ apiKey: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ transactionId: string;
12
+ apiKey?: string | undefined;
13
+ }, {
14
+ transactionId: string;
15
+ apiKey?: string | undefined;
16
+ }>;
17
+ /**
18
+ * Tool for retrieving inscriptions
19
+ */
20
+ export declare class RetrieveInscriptionTool extends BaseInscriberQueryTool<typeof retrieveInscriptionSchema> {
21
+ name: string;
22
+ description: string;
23
+ get specificInputSchema(): z.ZodObject<{
24
+ transactionId: z.ZodString;
25
+ apiKey: z.ZodOptional<z.ZodString>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ transactionId: string;
28
+ apiKey?: string | undefined;
29
+ }, {
30
+ transactionId: string;
31
+ apiKey?: string | undefined;
32
+ }>;
33
+ protected executeQuery(params: z.infer<typeof retrieveInscriptionSchema>, _runManager?: CallbackManagerForToolRun): Promise<unknown>;
34
+ }
35
+ export {};
@@ -0,0 +1,28 @@
1
+ import { BaseHederaTransactionTool, BaseHederaQueryTool, BaseServiceBuilder } from 'hedera-agent-kit';
2
+ import { InscriberBuilder } from '../../builders/inscriber/inscriber-builder';
3
+ import { InscriberTransactionToolParams, InscriberQueryToolParams } from './inscriber-tool-params';
4
+ import { z } from 'zod';
5
+ /**
6
+ * Base class for Inscriber transaction tools
7
+ */
8
+ export declare abstract class BaseInscriberTransactionTool<T extends z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny> = z.ZodObject<z.ZodRawShape>> extends BaseHederaTransactionTool<T> {
9
+ protected inscriberBuilder: InscriberBuilder;
10
+ namespace: "inscriber";
11
+ constructor(params: InscriberTransactionToolParams);
12
+ /**
13
+ * Override to return the InscriberBuilder
14
+ */
15
+ protected getServiceBuilder(): BaseServiceBuilder;
16
+ }
17
+ /**
18
+ * Base class for Inscriber query tools
19
+ */
20
+ export declare abstract class BaseInscriberQueryTool<T extends z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, Record<string, unknown>, Record<string, unknown>> = z.ZodObject<z.ZodRawShape>> extends BaseHederaQueryTool<T> {
21
+ protected inscriberBuilder: InscriberBuilder;
22
+ namespace: "inscriber";
23
+ constructor(params: InscriberQueryToolParams);
24
+ /**
25
+ * Override to return the InscriberBuilder
26
+ */
27
+ protected getServiceBuilder(): BaseServiceBuilder;
28
+ }
@@ -0,0 +1,7 @@
1
+ export * from './base-inscriber-tools';
2
+ export * from './inscriber-tool-params';
3
+ export * from './InscribeFromUrlTool';
4
+ export * from './InscribeFromFileTool';
5
+ export * from './InscribeFromBufferTool';
6
+ export * from './InscribeHashinalTool';
7
+ export * from './RetrieveInscriptionTool';
@@ -0,0 +1,18 @@
1
+ import { HederaAgentKit, BasePluginContext } from 'hedera-agent-kit';
2
+ import { InscriberBuilder } from '../../builders/inscriber/inscriber-builder';
3
+ /**
4
+ * Parameters for Inscriber transaction tools
5
+ */
6
+ export interface InscriberTransactionToolParams {
7
+ hederaKit: HederaAgentKit;
8
+ inscriberBuilder: InscriberBuilder;
9
+ logger?: BasePluginContext['logger'];
10
+ }
11
+ /**
12
+ * Parameters for Inscriber query tools
13
+ */
14
+ export interface InscriberQueryToolParams {
15
+ hederaKit: HederaAgentKit;
16
+ inscriberBuilder: InscriberBuilder;
17
+ logger?: BasePluginContext['logger'];
18
+ }
@@ -104,6 +104,10 @@ export declare class HCS10Builder extends BaseServiceBuilder {
104
104
  * Get the network type
105
105
  */
106
106
  getNetwork(): StandardNetworkType;
107
+ /**
108
+ * Get state manager instance
109
+ */
110
+ getStateManager(): IStateManager | undefined;
107
111
  /**
108
112
  * Get account and signer information
109
113
  */
@@ -0,0 +1,50 @@
1
+ import { BaseServiceBuilder, HederaAgentKit } from 'hedera-agent-kit';
2
+ import { HCS2Client, CreateRegistryOptions, RegisterEntryOptions, UpdateEntryOptions, DeleteEntryOptions, MigrateTopicOptions, QueryRegistryOptions, TopicRegistrationResponse, RegistryOperationResponse, TopicRegistry } from '@hashgraphonline/standards-sdk';
3
+ /**
4
+ * Builder for HCS-2 operations that delegates to HCS2Client
5
+ */
6
+ export declare class HCS2Builder extends BaseServiceBuilder {
7
+ protected hcs2Client?: HCS2Client;
8
+ constructor(hederaKit: HederaAgentKit);
9
+ /**
10
+ * Get or create HCS-2 client
11
+ */
12
+ protected getHCS2Client(): Promise<HCS2Client>;
13
+ /**
14
+ * Create a new HCS-2 registry
15
+ * Note: This executes the transaction directly via HCS2Client
16
+ */
17
+ createRegistry(options?: CreateRegistryOptions): Promise<TopicRegistrationResponse>;
18
+ /**
19
+ * Register a new entry in an HCS-2 registry
20
+ */
21
+ registerEntry(registryTopicId: string, options: RegisterEntryOptions): Promise<RegistryOperationResponse>;
22
+ /**
23
+ * Update an existing entry in an HCS-2 registry
24
+ */
25
+ updateEntry(registryTopicId: string, options: UpdateEntryOptions): Promise<RegistryOperationResponse>;
26
+ /**
27
+ * Delete an entry from an HCS-2 registry
28
+ */
29
+ deleteEntry(registryTopicId: string, options: DeleteEntryOptions): Promise<RegistryOperationResponse>;
30
+ /**
31
+ * Migrate an HCS-2 registry to a new topic
32
+ */
33
+ migrateRegistry(registryTopicId: string, options: MigrateTopicOptions): Promise<RegistryOperationResponse>;
34
+ /**
35
+ * Query entries from an HCS-2 registry
36
+ */
37
+ getRegistry(topicId: string, options?: QueryRegistryOptions): Promise<TopicRegistry>;
38
+ /**
39
+ * Submit a raw message to an HCS-2 topic
40
+ */
41
+ submitMessage(topicId: string, payload: any): Promise<any>;
42
+ /**
43
+ * Get topic info from mirror node
44
+ */
45
+ getTopicInfo(topicId: string): Promise<any>;
46
+ /**
47
+ * Close the HCS-2 client
48
+ */
49
+ close(): Promise<void>;
50
+ }
@@ -0,0 +1 @@
1
+ export * from './hcs2-builder';
@@ -1,2 +1,4 @@
1
1
  export * from './types';
2
2
  export * from './hcs10/hcs10-builder';
3
+ export * from './hcs2/hcs2-builder';
4
+ export * from './inscriber/inscriber-builder';
@@ -0,0 +1 @@
1
+ export * from './inscriber-builder';
@@ -0,0 +1,46 @@
1
+ import { BaseServiceBuilder, HederaAgentKit } from 'hedera-agent-kit';
2
+ import { InscriptionInput, InscriptionOptions, InscriptionResponse, RetrievedInscriptionResult } from '@hashgraphonline/standards-sdk';
3
+ /**
4
+ * Type definition for DAppSigner since we don't have the actual package
5
+ */
6
+ interface DAppSigner {
7
+ getAccountId(): {
8
+ toString(): string;
9
+ };
10
+ }
11
+ /**
12
+ * Type definition for InscriptionSDK since we don't have the actual package
13
+ */
14
+ interface InscriptionSDK {
15
+ inscribeAndExecute(request: any, config: any): Promise<any>;
16
+ inscribe(request: any, signer: any): Promise<any>;
17
+ waitForInscription(txId: string, maxAttempts: number, intervalMs: number, checkCompletion: boolean, progressCallback?: Function): Promise<any>;
18
+ }
19
+ /**
20
+ * Builder for Inscription operations
21
+ */
22
+ export declare class InscriberBuilder extends BaseServiceBuilder {
23
+ protected inscriptionSDK?: InscriptionSDK;
24
+ constructor(hederaKit: HederaAgentKit);
25
+ /**
26
+ * Get or create Inscription SDK - temporarily returns null since we don't have the actual SDK
27
+ */
28
+ protected getInscriptionSDK(options: InscriptionOptions): Promise<InscriptionSDK | null>;
29
+ /**
30
+ * Inscribe content using server-side authentication
31
+ */
32
+ inscribe(input: InscriptionInput, options: InscriptionOptions): Promise<InscriptionResponse>;
33
+ /**
34
+ * Inscribe content using a DApp signer
35
+ */
36
+ inscribeWithSigner(input: InscriptionInput, signer: DAppSigner, options: InscriptionOptions): Promise<InscriptionResponse>;
37
+ /**
38
+ * Retrieve an existing inscription
39
+ */
40
+ retrieveInscription(transactionId: string, options: InscriptionOptions): Promise<RetrievedInscriptionResult>;
41
+ /**
42
+ * Close the inscription SDK
43
+ */
44
+ close(): Promise<void>;
45
+ }
46
+ export {};
@@ -2,6 +2,6 @@ export * from './tools';
2
2
  export * from './state';
3
3
  export * from './init';
4
4
  export * from './plugins';
5
- export { HCS10Builder } from './builders';
5
+ export { HCS10Builder, HCS2Builder, InscriberBuilder } from './builders';
6
6
  export type { ExecuteResult } from './builders';
7
7
  export { HCS10Client } from './hcs10';
@@ -1,42 +1,76 @@
1
1
  import { HCS10Builder } from "./standards-agent-kit.es2.js";
2
- import { HCS10Client } from "./standards-agent-kit.es3.js";
3
- import { BaseHCS10QueryTool, BaseHCS10TransactionTool } from "./standards-agent-kit.es4.js";
4
- import { RegisterAgentTool } from "./standards-agent-kit.es5.js";
5
- import { SendMessageToConnectionTool } from "./standards-agent-kit.es6.js";
6
- import { InitiateConnectionTool } from "./standards-agent-kit.es7.js";
7
- import { ListConnectionsTool } from "./standards-agent-kit.es8.js";
8
- import { CheckMessagesTool } from "./standards-agent-kit.es9.js";
9
- import { FindRegistrationsTool } from "./standards-agent-kit.es10.js";
10
- import { ConnectionMonitorTool } from "./standards-agent-kit.es11.js";
11
- import { ManageConnectionRequestsTool } from "./standards-agent-kit.es12.js";
12
- import { AcceptConnectionRequestTool } from "./standards-agent-kit.es13.js";
13
- import { RetrieveProfileTool } from "./standards-agent-kit.es14.js";
14
- import { ListUnapprovedConnectionRequestsTool } from "./standards-agent-kit.es15.js";
15
- import { OpenConvaiState } from "./standards-agent-kit.es16.js";
16
- import { initializeStandardsAgentKit } from "./standards-agent-kit.es17.js";
2
+ import { HCS2Builder } from "./standards-agent-kit.es3.js";
3
+ import { InscriberBuilder } from "./standards-agent-kit.es4.js";
4
+ import { HCS10Client } from "./standards-agent-kit.es5.js";
5
+ import { BaseHCS10QueryTool, BaseHCS10TransactionTool } from "./standards-agent-kit.es6.js";
6
+ import { RegisterAgentTool } from "./standards-agent-kit.es7.js";
7
+ import { SendMessageToConnectionTool } from "./standards-agent-kit.es8.js";
8
+ import { InitiateConnectionTool } from "./standards-agent-kit.es9.js";
9
+ import { ListConnectionsTool } from "./standards-agent-kit.es10.js";
10
+ import { CheckMessagesTool } from "./standards-agent-kit.es11.js";
11
+ import { FindRegistrationsTool } from "./standards-agent-kit.es12.js";
12
+ import { ConnectionMonitorTool } from "./standards-agent-kit.es13.js";
13
+ import { ManageConnectionRequestsTool } from "./standards-agent-kit.es14.js";
14
+ import { AcceptConnectionRequestTool } from "./standards-agent-kit.es15.js";
15
+ import { RetrieveProfileTool } from "./standards-agent-kit.es16.js";
16
+ import { ListUnapprovedConnectionRequestsTool } from "./standards-agent-kit.es17.js";
17
+ import { NaturalLanguageMapper } from "./standards-agent-kit.es18.js";
18
+ import { BaseHCS2QueryTool, BaseHCS2TransactionTool } from "./standards-agent-kit.es19.js";
19
+ import { CreateRegistryTool } from "./standards-agent-kit.es20.js";
20
+ import { RegisterEntryTool } from "./standards-agent-kit.es21.js";
21
+ import { UpdateEntryTool } from "./standards-agent-kit.es22.js";
22
+ import { DeleteEntryTool } from "./standards-agent-kit.es23.js";
23
+ import { MigrateRegistryTool } from "./standards-agent-kit.es24.js";
24
+ import { QueryRegistryTool } from "./standards-agent-kit.es25.js";
25
+ import { BaseInscriberQueryTool, BaseInscriberTransactionTool } from "./standards-agent-kit.es26.js";
26
+ import { InscribeFromUrlTool } from "./standards-agent-kit.es27.js";
27
+ import { InscribeFromFileTool } from "./standards-agent-kit.es28.js";
28
+ import { InscribeFromBufferTool } from "./standards-agent-kit.es29.js";
29
+ import { InscribeHashinalTool } from "./standards-agent-kit.es30.js";
30
+ import { RetrieveInscriptionTool } from "./standards-agent-kit.es31.js";
31
+ import { OpenConvaiState } from "./standards-agent-kit.es32.js";
32
+ import { initializeStandardsAgentKit } from "./standards-agent-kit.es33.js";
17
33
  import { BasePlugin, HederaGetHbarPriceTool, PluginRegistry } from "hedera-agent-kit";
18
- import { HbarPricePlugin } from "./standards-agent-kit.es18.js";
34
+ import { HbarPricePlugin } from "./standards-agent-kit.es34.js";
19
35
  export {
20
36
  AcceptConnectionRequestTool,
21
37
  BaseHCS10QueryTool,
22
38
  BaseHCS10TransactionTool,
39
+ BaseHCS2QueryTool,
40
+ BaseHCS2TransactionTool,
41
+ BaseInscriberQueryTool,
42
+ BaseInscriberTransactionTool,
23
43
  BasePlugin,
24
44
  CheckMessagesTool,
25
45
  ConnectionMonitorTool,
46
+ CreateRegistryTool,
47
+ DeleteEntryTool,
26
48
  FindRegistrationsTool,
27
49
  HederaGetHbarPriceTool as GetHbarPriceTool,
28
50
  HCS10Builder,
29
51
  HCS10Client,
52
+ HCS2Builder,
30
53
  HbarPricePlugin,
31
54
  InitiateConnectionTool,
55
+ InscribeFromBufferTool,
56
+ InscribeFromFileTool,
57
+ InscribeFromUrlTool,
58
+ InscribeHashinalTool,
59
+ InscriberBuilder,
32
60
  ListConnectionsTool,
33
61
  ListUnapprovedConnectionRequestsTool,
34
62
  ManageConnectionRequestsTool,
63
+ MigrateRegistryTool,
64
+ NaturalLanguageMapper,
35
65
  OpenConvaiState,
36
66
  PluginRegistry,
67
+ QueryRegistryTool,
37
68
  RegisterAgentTool,
69
+ RegisterEntryTool,
70
+ RetrieveInscriptionTool,
38
71
  RetrieveProfileTool,
39
72
  SendMessageToConnectionTool,
73
+ UpdateEntryTool,
40
74
  initializeStandardsAgentKit
41
75
  };
42
76
  //# sourceMappingURL=standards-agent-kit.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-agent-kit.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"standards-agent-kit.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,46 +1,40 @@
1
1
  import { z } from "zod";
2
- import { AIAgentCapability } from "@hashgraphonline/standards-sdk";
3
- import { BaseHCS10QueryTool } from "./standards-agent-kit.es4.js";
4
- const FindRegistrationsZodSchema = z.object({
5
- accountId: z.string().optional().describe(
6
- "Optional: Filter registrations by a specific Hedera account ID (e.g., 0.0.12345)."
2
+ import { BaseHCS10QueryTool } from "./standards-agent-kit.es6.js";
3
+ const ListConnectionsZodSchema = z.object({
4
+ includeDetails: z.boolean().optional().describe(
5
+ "Whether to include detailed information about each connection"
7
6
  ),
8
- tags: z.array(z.nativeEnum(AIAgentCapability)).optional().describe(
9
- "Optional: Filter registrations by a list of tags (API filter only)."
10
- )
7
+ showPending: z.boolean().optional().describe("Whether to include pending connection requests")
11
8
  });
12
- class FindRegistrationsTool extends BaseHCS10QueryTool {
9
+ class ListConnectionsTool extends BaseHCS10QueryTool {
13
10
  constructor(params) {
14
11
  super(params);
15
- this.name = "find_registrations";
16
- this.description = "Searches the configured agent registry for HCS-10 agents. You can filter by account ID or tags. Returns basic registration info.";
17
- this.specificInputSchema = FindRegistrationsZodSchema;
12
+ this.name = "list_connections";
13
+ this.description = "Lists the currently active HCS-10 connections with detailed information. Shows connection status, agent details, and recent activity. Use this to get a comprehensive view of all active connections.";
14
+ this.specificInputSchema = ListConnectionsZodSchema;
18
15
  }
19
- async executeQuery({
20
- accountId,
21
- tags
22
- }) {
16
+ async executeQuery(args) {
23
17
  const hcs10Builder = this.hcs10Builder;
24
18
  const params = {};
25
- if (accountId) {
26
- params.accountId = accountId;
19
+ if (args.includeDetails !== void 0) {
20
+ params.includeDetails = args.includeDetails;
27
21
  }
28
- if (tags) {
29
- params.tags = tags;
22
+ if (args.showPending !== void 0) {
23
+ params.showPending = args.showPending;
30
24
  }
31
- await hcs10Builder.findRegistrations(params);
25
+ await hcs10Builder.listConnections(params);
32
26
  const result = await hcs10Builder.execute();
33
27
  if (result.success && "rawResult" in result && result.rawResult) {
34
28
  const raw = result.rawResult;
35
29
  return {
36
30
  success: true,
37
- data: raw.formattedOutput || raw.message || "Registrations searched"
31
+ data: raw.formattedOutput || raw.message || "Connections listed"
38
32
  };
39
33
  }
40
34
  return result;
41
35
  }
42
36
  }
43
37
  export {
44
- FindRegistrationsTool
38
+ ListConnectionsTool
45
39
  };
46
40
  //# sourceMappingURL=standards-agent-kit.es10.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standards-agent-kit.es10.js","sources":["../../src/tools/hcs10/FindRegistrationsTool.ts"],"sourcesContent":["import { z } from 'zod';\nimport { AIAgentCapability } from '@hashgraphonline/standards-sdk';\nimport { BaseHCS10QueryTool } from './base-hcs10-tools';\nimport { HCS10QueryToolParams } from './hcs10-tool-params';\n\n/**\n * A tool to search for registered HCS-10 agents using the configured registry.\n */\nconst FindRegistrationsZodSchema = z.object({\n accountId: z\n .string()\n .optional()\n .describe(\n 'Optional: Filter registrations by a specific Hedera account ID (e.g., 0.0.12345).'\n ),\n tags: z\n .array(z.nativeEnum(AIAgentCapability))\n .optional()\n .describe(\n 'Optional: Filter registrations by a list of tags (API filter only).'\n ),\n});\n\nexport class FindRegistrationsTool extends BaseHCS10QueryTool<\n typeof FindRegistrationsZodSchema\n> {\n name = 'find_registrations';\n description =\n 'Searches the configured agent registry for HCS-10 agents. You can filter by account ID or tags. Returns basic registration info.';\n specificInputSchema = FindRegistrationsZodSchema;\n constructor(params: HCS10QueryToolParams) {\n super(params);\n }\n\n protected async executeQuery({\n accountId,\n tags,\n }: z.infer<typeof FindRegistrationsZodSchema>): Promise<unknown> {\n const hcs10Builder = this.hcs10Builder;\n const params: { accountId?: string; tags?: number[] } = {};\n if (accountId) {\n params.accountId = accountId;\n }\n if (tags) {\n params.tags = tags;\n }\n await hcs10Builder.findRegistrations(params);\n\n const result = await hcs10Builder.execute();\n\n if (result.success && 'rawResult' in result && result.rawResult) {\n const raw = result.rawResult as {\n formattedOutput?: string;\n message?: string;\n };\n return {\n success: true,\n data: raw.formattedOutput || raw.message || 'Registrations searched',\n };\n }\n\n return result;\n }\n}"],"names":[],"mappings":";;;AAQA,MAAM,6BAA6B,EAAE,OAAO;AAAA,EAC1C,WAAW,EACR,SACA,WACA;AAAA,IACC;AAAA,EAAA;AAAA,EAEJ,MAAM,EACH,MAAM,EAAE,WAAW,iBAAiB,CAAC,EACrC,SAAA,EACA;AAAA,IACC;AAAA,EAAA;AAEN,CAAC;AAEM,MAAM,8BAA8B,mBAEzC;AAAA,EAKA,YAAY,QAA8B;AACxC,UAAM,MAAM;AALd,SAAA,OAAO;AACP,SAAA,cACE;AACF,SAAA,sBAAsB;AAAA,EAGtB;AAAA,EAEA,MAAgB,aAAa;AAAA,IAC3B;AAAA,IACA;AAAA,EAAA,GAC+D;AAC/D,UAAM,eAAe,KAAK;AAC1B,UAAM,SAAkD,CAAA;AACxD,QAAI,WAAW;AACb,aAAO,YAAY;AAAA,IACrB;AACA,QAAI,MAAM;AACR,aAAO,OAAO;AAAA,IAChB;AACA,UAAM,aAAa,kBAAkB,MAAM;AAE3C,UAAM,SAAS,MAAM,aAAa,QAAA;AAElC,QAAI,OAAO,WAAW,eAAe,UAAU,OAAO,WAAW;AAC/D,YAAM,MAAM,OAAO;AAInB,aAAO;AAAA,QACL,SAAS;AAAA,QACT,MAAM,IAAI,mBAAmB,IAAI,WAAW;AAAA,MAAA;AAAA,IAEhD;AAEA,WAAO;AAAA,EACT;AACF;"}
1
+ {"version":3,"file":"standards-agent-kit.es10.js","sources":["../../src/tools/hcs10/ListConnectionsTool.ts"],"sourcesContent":["import { z } from 'zod';\nimport { BaseHCS10QueryTool } from './base-hcs10-tools';\nimport { HCS10QueryToolParams } from './hcs10-tool-params';\n\n/**\n * A tool to list currently active HCS-10 connections stored in the state manager.\n * Enhanced to show more details similar to moonscape's implementation.\n */\nconst ListConnectionsZodSchema = z.object({\n includeDetails: z\n .boolean()\n .optional()\n .describe(\n 'Whether to include detailed information about each connection'\n ),\n showPending: z\n .boolean()\n .optional()\n .describe('Whether to include pending connection requests'),\n});\n\nexport class ListConnectionsTool extends BaseHCS10QueryTool<\n typeof ListConnectionsZodSchema\n> {\n name = 'list_connections';\n description =\n 'Lists the currently active HCS-10 connections with detailed information. Shows connection status, agent details, and recent activity. Use this to get a comprehensive view of all active connections.';\n specificInputSchema = ListConnectionsZodSchema;\n constructor(params: HCS10QueryToolParams) {\n super(params);\n }\n\n protected async executeQuery(\n args: z.infer<typeof ListConnectionsZodSchema>\n ): Promise<unknown> {\n const hcs10Builder = this.hcs10Builder;\n const params: { includeDetails?: boolean; showPending?: boolean } = {};\n if (args.includeDetails !== undefined) {\n params.includeDetails = args.includeDetails;\n }\n if (args.showPending !== undefined) {\n params.showPending = args.showPending;\n }\n await hcs10Builder.listConnections(params);\n\n const result = await hcs10Builder.execute();\n\n if (result.success && 'rawResult' in result && result.rawResult) {\n const raw = result.rawResult as { formattedOutput?: string; message?: string };\n return {\n success: true,\n data: raw.formattedOutput || raw.message || 'Connections listed'\n };\n }\n\n return result;\n }\n}"],"names":[],"mappings":";;AAQA,MAAM,2BAA2B,EAAE,OAAO;AAAA,EACxC,gBAAgB,EACb,UACA,WACA;AAAA,IACC;AAAA,EAAA;AAAA,EAEJ,aAAa,EACV,QAAA,EACA,SAAA,EACA,SAAS,gDAAgD;AAC9D,CAAC;AAEM,MAAM,4BAA4B,mBAEvC;AAAA,EAKA,YAAY,QAA8B;AACxC,UAAM,MAAM;AALd,SAAA,OAAO;AACP,SAAA,cACE;AACF,SAAA,sBAAsB;AAAA,EAGtB;AAAA,EAEA,MAAgB,aACd,MACkB;AAClB,UAAM,eAAe,KAAK;AAC1B,UAAM,SAA8D,CAAA;AACpE,QAAI,KAAK,mBAAmB,QAAW;AACrC,aAAO,iBAAiB,KAAK;AAAA,IAC/B;AACA,QAAI,KAAK,gBAAgB,QAAW;AAClC,aAAO,cAAc,KAAK;AAAA,IAC5B;AACA,UAAM,aAAa,gBAAgB,MAAM;AAEzC,UAAM,SAAS,MAAM,aAAa,QAAA;AAElC,QAAI,OAAO,WAAW,eAAe,UAAU,OAAO,WAAW;AAC/D,YAAM,MAAM,OAAO;AACnB,aAAO;AAAA,QACL,SAAS;AAAA,QACT,MAAM,IAAI,mBAAmB,IAAI,WAAW;AAAA,MAAA;AAAA,IAEhD;AAEA,WAAO;AAAA,EACT;AACF;"}