@hashgraphonline/standards-agent-kit 0.2.110 → 0.2.113

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 (138) hide show
  1. package/dist/cjs/builders/hcs6/hcs6-builder.d.ts +47 -0
  2. package/dist/cjs/builders/hcs6/index.d.ts +1 -0
  3. package/dist/cjs/builders/index.d.ts +1 -0
  4. package/dist/cjs/index.d.ts +1 -1
  5. package/dist/cjs/standards-agent-kit.cjs +1 -1
  6. package/dist/cjs/standards-agent-kit.cjs.map +1 -1
  7. package/dist/cjs/tools/hcs6/CreateDynamicRegistryTool.d.ts +44 -0
  8. package/dist/cjs/tools/hcs6/QueryDynamicRegistryTool.d.ts +50 -0
  9. package/dist/cjs/tools/hcs6/RegisterDynamicHashinalTool.d.ts +102 -0
  10. package/dist/cjs/tools/hcs6/UpdateDynamicHashinalTool.d.ts +96 -0
  11. package/dist/cjs/tools/hcs6/base-hcs6-tools.d.ts +28 -0
  12. package/dist/cjs/tools/hcs6/hcs6-tool-params.d.ts +18 -0
  13. package/dist/cjs/tools/hcs6/index.d.ts +6 -0
  14. package/dist/cjs/tools/index.d.ts +1 -0
  15. package/dist/cjs/tools/inscriber/InscribeFromBufferTool.d.ts +4 -4
  16. package/dist/es/builders/hcs6/hcs6-builder.d.ts +47 -0
  17. package/dist/es/builders/hcs6/index.d.ts +1 -0
  18. package/dist/es/builders/index.d.ts +1 -0
  19. package/dist/es/index.d.ts +1 -1
  20. package/dist/es/standards-agent-kit.es.js +44 -31
  21. package/dist/es/standards-agent-kit.es.js.map +1 -1
  22. package/dist/es/standards-agent-kit.es10.js +27 -27
  23. package/dist/es/standards-agent-kit.es10.js.map +1 -1
  24. package/dist/es/standards-agent-kit.es11.js +20 -30
  25. package/dist/es/standards-agent-kit.es11.js.map +1 -1
  26. package/dist/es/standards-agent-kit.es12.js +27 -37
  27. package/dist/es/standards-agent-kit.es12.js.map +1 -1
  28. package/dist/es/standards-agent-kit.es13.js +48 -60
  29. package/dist/es/standards-agent-kit.es13.js.map +1 -1
  30. package/dist/es/standards-agent-kit.es14.js +60 -23
  31. package/dist/es/standards-agent-kit.es14.js.map +1 -1
  32. package/dist/es/standards-agent-kit.es15.js +23 -23
  33. package/dist/es/standards-agent-kit.es15.js.map +1 -1
  34. package/dist/es/standards-agent-kit.es16.js +23 -33
  35. package/dist/es/standards-agent-kit.es16.js.map +1 -1
  36. package/dist/es/standards-agent-kit.es17.js +34 -10
  37. package/dist/es/standards-agent-kit.es17.js.map +1 -1
  38. package/dist/es/standards-agent-kit.es18.js +16 -155
  39. package/dist/es/standards-agent-kit.es18.js.map +1 -1
  40. package/dist/es/standards-agent-kit.es19.js +150 -22
  41. package/dist/es/standards-agent-kit.es19.js.map +1 -1
  42. package/dist/es/standards-agent-kit.es20.js +25 -39
  43. package/dist/es/standards-agent-kit.es20.js.map +1 -1
  44. package/dist/es/standards-agent-kit.es21.js +26 -28
  45. package/dist/es/standards-agent-kit.es21.js.map +1 -1
  46. package/dist/es/standards-agent-kit.es22.js +16 -19
  47. package/dist/es/standards-agent-kit.es22.js.map +1 -1
  48. package/dist/es/standards-agent-kit.es23.js +21 -15
  49. package/dist/es/standards-agent-kit.es23.js.map +1 -1
  50. package/dist/es/standards-agent-kit.es24.js +18 -21
  51. package/dist/es/standards-agent-kit.es24.js.map +1 -1
  52. package/dist/es/standards-agent-kit.es25.js +35 -32
  53. package/dist/es/standards-agent-kit.es25.js.map +1 -1
  54. package/dist/es/standards-agent-kit.es26.js +38 -25
  55. package/dist/es/standards-agent-kit.es26.js.map +1 -1
  56. package/dist/es/standards-agent-kit.es27.js +25 -116
  57. package/dist/es/standards-agent-kit.es27.js.map +1 -1
  58. package/dist/es/standards-agent-kit.es28.js +33 -166
  59. package/dist/es/standards-agent-kit.es28.js.map +1 -1
  60. package/dist/es/standards-agent-kit.es29.js +42 -121
  61. package/dist/es/standards-agent-kit.es29.js.map +1 -1
  62. package/dist/es/standards-agent-kit.es30.js +40 -77
  63. package/dist/es/standards-agent-kit.es30.js.map +1 -1
  64. package/dist/es/standards-agent-kit.es31.js +42 -37
  65. package/dist/es/standards-agent-kit.es31.js.map +1 -1
  66. package/dist/es/standards-agent-kit.es32.js +20 -237
  67. package/dist/es/standards-agent-kit.es32.js.map +1 -1
  68. package/dist/es/standards-agent-kit.es33.js +154 -135
  69. package/dist/es/standards-agent-kit.es33.js.map +1 -1
  70. package/dist/es/standards-agent-kit.es34.js +168 -23
  71. package/dist/es/standards-agent-kit.es34.js.map +1 -1
  72. package/dist/es/standards-agent-kit.es35.js +126 -21
  73. package/dist/es/standards-agent-kit.es35.js.map +1 -1
  74. package/dist/es/standards-agent-kit.es36.js +86 -3
  75. package/dist/es/standards-agent-kit.es36.js.map +1 -1
  76. package/dist/es/standards-agent-kit.es37.js +45 -0
  77. package/dist/es/standards-agent-kit.es37.js.map +1 -0
  78. package/dist/es/standards-agent-kit.es38.js +249 -0
  79. package/dist/es/standards-agent-kit.es38.js.map +1 -0
  80. package/dist/es/standards-agent-kit.es39.js +141 -0
  81. package/dist/es/standards-agent-kit.es39.js.map +1 -0
  82. package/dist/es/standards-agent-kit.es4.js +65 -32
  83. package/dist/es/standards-agent-kit.es4.js.map +1 -1
  84. package/dist/es/standards-agent-kit.es40.js +33 -0
  85. package/dist/es/standards-agent-kit.es40.js.map +1 -0
  86. package/dist/es/standards-agent-kit.es41.js +28 -0
  87. package/dist/es/standards-agent-kit.es41.js.map +1 -0
  88. package/dist/es/standards-agent-kit.es42.js +7 -0
  89. package/dist/es/standards-agent-kit.es42.js.map +1 -0
  90. package/dist/es/standards-agent-kit.es5.js +35 -311
  91. package/dist/es/standards-agent-kit.es5.js.map +1 -1
  92. package/dist/es/standards-agent-kit.es6.js +320 -20
  93. package/dist/es/standards-agent-kit.es6.js.map +1 -1
  94. package/dist/es/standards-agent-kit.es7.js +19 -227
  95. package/dist/es/standards-agent-kit.es7.js.map +1 -1
  96. package/dist/es/standards-agent-kit.es8.js +216 -65
  97. package/dist/es/standards-agent-kit.es8.js.map +1 -1
  98. package/dist/es/standards-agent-kit.es9.js +72 -23
  99. package/dist/es/standards-agent-kit.es9.js.map +1 -1
  100. package/dist/es/tools/hcs6/CreateDynamicRegistryTool.d.ts +44 -0
  101. package/dist/es/tools/hcs6/QueryDynamicRegistryTool.d.ts +50 -0
  102. package/dist/es/tools/hcs6/RegisterDynamicHashinalTool.d.ts +102 -0
  103. package/dist/es/tools/hcs6/UpdateDynamicHashinalTool.d.ts +96 -0
  104. package/dist/es/tools/hcs6/base-hcs6-tools.d.ts +28 -0
  105. package/dist/es/tools/hcs6/hcs6-tool-params.d.ts +18 -0
  106. package/dist/es/tools/hcs6/index.d.ts +6 -0
  107. package/dist/es/tools/index.d.ts +1 -0
  108. package/dist/es/tools/inscriber/InscribeFromBufferTool.d.ts +4 -4
  109. package/dist/umd/builders/hcs6/hcs6-builder.d.ts +47 -0
  110. package/dist/umd/builders/hcs6/index.d.ts +1 -0
  111. package/dist/umd/builders/index.d.ts +1 -0
  112. package/dist/umd/index.d.ts +1 -1
  113. package/dist/umd/standards-agent-kit.umd.js +1 -1
  114. package/dist/umd/standards-agent-kit.umd.js.map +1 -1
  115. package/dist/umd/tools/hcs6/CreateDynamicRegistryTool.d.ts +44 -0
  116. package/dist/umd/tools/hcs6/QueryDynamicRegistryTool.d.ts +50 -0
  117. package/dist/umd/tools/hcs6/RegisterDynamicHashinalTool.d.ts +102 -0
  118. package/dist/umd/tools/hcs6/UpdateDynamicHashinalTool.d.ts +96 -0
  119. package/dist/umd/tools/hcs6/base-hcs6-tools.d.ts +28 -0
  120. package/dist/umd/tools/hcs6/hcs6-tool-params.d.ts +18 -0
  121. package/dist/umd/tools/hcs6/index.d.ts +6 -0
  122. package/dist/umd/tools/index.d.ts +1 -0
  123. package/dist/umd/tools/inscriber/InscribeFromBufferTool.d.ts +4 -4
  124. package/package.json +2 -2
  125. package/src/builders/hcs6/hcs6-builder.ts +136 -0
  126. package/src/builders/hcs6/index.ts +1 -0
  127. package/src/builders/index.ts +1 -0
  128. package/src/index.ts +1 -1
  129. package/src/tools/hcs6/CreateDynamicRegistryTool.ts +66 -0
  130. package/src/tools/hcs6/QueryDynamicRegistryTool.ts +72 -0
  131. package/src/tools/hcs6/RegisterDynamicHashinalTool.ts +79 -0
  132. package/src/tools/hcs6/UpdateDynamicHashinalTool.ts +74 -0
  133. package/src/tools/hcs6/base-hcs6-tools.ts +63 -0
  134. package/src/tools/hcs6/hcs6-tool-params.ts +21 -0
  135. package/src/tools/hcs6/index.ts +6 -0
  136. package/src/tools/index.ts +1 -0
  137. package/src/tools/inscriber/InscribeFromBufferTool.ts +1 -1
  138. package/src/tools/inscriber/InscribeFromUrlTool.ts +60 -7
@@ -0,0 +1,44 @@
1
+ import { z } from 'zod';
2
+ import { BaseHCS6TransactionTool } from './base-hcs6-tools';
3
+ import { HCS6TransactionToolParams } from './hcs6-tool-params';
4
+ import { TransactionResponse } from 'hedera-agent-kit';
5
+ /**
6
+ * Schema for creating a dynamic hashinal registry
7
+ */
8
+ declare const CreateDynamicRegistrySchema: z.ZodObject<{
9
+ ttl: z.ZodDefault<z.ZodNumber>;
10
+ adminKey: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
11
+ submitKey: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ ttl: number;
14
+ adminKey?: string | boolean | undefined;
15
+ submitKey?: string | boolean | undefined;
16
+ }, {
17
+ ttl?: number | undefined;
18
+ adminKey?: string | boolean | undefined;
19
+ submitKey?: string | boolean | undefined;
20
+ }>;
21
+ export type CreateDynamicRegistryInput = z.infer<typeof CreateDynamicRegistrySchema>;
22
+ /**
23
+ * Tool for creating HCS-6 dynamic registries
24
+ */
25
+ export declare class CreateDynamicRegistryTool extends BaseHCS6TransactionTool<typeof CreateDynamicRegistrySchema> {
26
+ name: string;
27
+ description: string;
28
+ schema: z.ZodObject<{
29
+ ttl: z.ZodDefault<z.ZodNumber>;
30
+ adminKey: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
31
+ submitKey: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ ttl: number;
34
+ adminKey?: string | boolean | undefined;
35
+ submitKey?: string | boolean | undefined;
36
+ }, {
37
+ ttl?: number | undefined;
38
+ adminKey?: string | boolean | undefined;
39
+ submitKey?: string | boolean | undefined;
40
+ }>;
41
+ constructor(params: HCS6TransactionToolParams);
42
+ protected _call(params: CreateDynamicRegistryInput): Promise<TransactionResponse>;
43
+ }
44
+ export {};
@@ -0,0 +1,50 @@
1
+ import { z } from 'zod';
2
+ import { BaseHCS6QueryTool } from './base-hcs6-tools';
3
+ import { HCS6QueryToolParams } from './hcs6-tool-params';
4
+ import { TransactionResponse } from 'hedera-agent-kit';
5
+ /**
6
+ * Schema for querying a dynamic registry
7
+ */
8
+ declare const QueryDynamicRegistrySchema: z.ZodObject<{
9
+ topicId: z.ZodString;
10
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
11
+ order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
12
+ skip: z.ZodOptional<z.ZodNumber>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ topicId: string;
15
+ limit: number;
16
+ order: "asc" | "desc";
17
+ skip?: number | undefined;
18
+ }, {
19
+ topicId: string;
20
+ limit?: number | undefined;
21
+ order?: "asc" | "desc" | undefined;
22
+ skip?: number | undefined;
23
+ }>;
24
+ export type QueryDynamicRegistryInput = z.infer<typeof QueryDynamicRegistrySchema>;
25
+ /**
26
+ * Tool for querying HCS-6 dynamic registries
27
+ */
28
+ export declare class QueryDynamicRegistryTool extends BaseHCS6QueryTool<typeof QueryDynamicRegistrySchema> {
29
+ name: string;
30
+ description: string;
31
+ schema: z.ZodObject<{
32
+ topicId: z.ZodString;
33
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
34
+ order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
35
+ skip: z.ZodOptional<z.ZodNumber>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ topicId: string;
38
+ limit: number;
39
+ order: "asc" | "desc";
40
+ skip?: number | undefined;
41
+ }, {
42
+ topicId: string;
43
+ limit?: number | undefined;
44
+ order?: "asc" | "desc" | undefined;
45
+ skip?: number | undefined;
46
+ }>;
47
+ constructor(params: HCS6QueryToolParams);
48
+ protected _call(params: QueryDynamicRegistryInput): Promise<TransactionResponse>;
49
+ }
50
+ export {};
@@ -0,0 +1,102 @@
1
+ import { z } from 'zod';
2
+ import { BaseHCS6TransactionTool } from './base-hcs6-tools';
3
+ import { HCS6TransactionToolParams } from './hcs6-tool-params';
4
+ import { TransactionResponse } from 'hedera-agent-kit';
5
+ /**
6
+ * Schema for registering a dynamic hashinal
7
+ */
8
+ declare const RegisterDynamicHashinalSchema: z.ZodObject<{
9
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10
+ data: z.ZodOptional<z.ZodObject<{
11
+ base64: z.ZodOptional<z.ZodString>;
12
+ url: z.ZodOptional<z.ZodString>;
13
+ mimeType: z.ZodOptional<z.ZodString>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ base64?: string | undefined;
16
+ url?: string | undefined;
17
+ mimeType?: string | undefined;
18
+ }, {
19
+ base64?: string | undefined;
20
+ url?: string | undefined;
21
+ mimeType?: string | undefined;
22
+ }>>;
23
+ memo: z.ZodOptional<z.ZodString>;
24
+ ttl: z.ZodDefault<z.ZodNumber>;
25
+ registryTopicId: z.ZodOptional<z.ZodString>;
26
+ submitKey: z.ZodOptional<z.ZodString>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ metadata: Record<string, unknown>;
29
+ ttl: number;
30
+ data?: {
31
+ base64?: string | undefined;
32
+ url?: string | undefined;
33
+ mimeType?: string | undefined;
34
+ } | undefined;
35
+ memo?: string | undefined;
36
+ submitKey?: string | undefined;
37
+ registryTopicId?: string | undefined;
38
+ }, {
39
+ metadata: Record<string, unknown>;
40
+ data?: {
41
+ base64?: string | undefined;
42
+ url?: string | undefined;
43
+ mimeType?: string | undefined;
44
+ } | undefined;
45
+ memo?: string | undefined;
46
+ ttl?: number | undefined;
47
+ submitKey?: string | undefined;
48
+ registryTopicId?: string | undefined;
49
+ }>;
50
+ export type RegisterDynamicHashinalInput = z.infer<typeof RegisterDynamicHashinalSchema>;
51
+ /**
52
+ * Tool for registering (creating) dynamic hashinals
53
+ */
54
+ export declare class RegisterDynamicHashinalTool extends BaseHCS6TransactionTool<typeof RegisterDynamicHashinalSchema> {
55
+ name: string;
56
+ description: string;
57
+ schema: z.ZodObject<{
58
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
59
+ data: z.ZodOptional<z.ZodObject<{
60
+ base64: z.ZodOptional<z.ZodString>;
61
+ url: z.ZodOptional<z.ZodString>;
62
+ mimeType: z.ZodOptional<z.ZodString>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ base64?: string | undefined;
65
+ url?: string | undefined;
66
+ mimeType?: string | undefined;
67
+ }, {
68
+ base64?: string | undefined;
69
+ url?: string | undefined;
70
+ mimeType?: string | undefined;
71
+ }>>;
72
+ memo: z.ZodOptional<z.ZodString>;
73
+ ttl: z.ZodDefault<z.ZodNumber>;
74
+ registryTopicId: z.ZodOptional<z.ZodString>;
75
+ submitKey: z.ZodOptional<z.ZodString>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ metadata: Record<string, unknown>;
78
+ ttl: number;
79
+ data?: {
80
+ base64?: string | undefined;
81
+ url?: string | undefined;
82
+ mimeType?: string | undefined;
83
+ } | undefined;
84
+ memo?: string | undefined;
85
+ submitKey?: string | undefined;
86
+ registryTopicId?: string | undefined;
87
+ }, {
88
+ metadata: Record<string, unknown>;
89
+ data?: {
90
+ base64?: string | undefined;
91
+ url?: string | undefined;
92
+ mimeType?: string | undefined;
93
+ } | undefined;
94
+ memo?: string | undefined;
95
+ ttl?: number | undefined;
96
+ submitKey?: string | undefined;
97
+ registryTopicId?: string | undefined;
98
+ }>;
99
+ constructor(params: HCS6TransactionToolParams);
100
+ protected _call(params: RegisterDynamicHashinalInput): Promise<TransactionResponse>;
101
+ }
102
+ export {};
@@ -0,0 +1,96 @@
1
+ import { z } from 'zod';
2
+ import { BaseHCS6TransactionTool } from './base-hcs6-tools';
3
+ import { HCS6TransactionToolParams } from './hcs6-tool-params';
4
+ import { TransactionResponse } from 'hedera-agent-kit';
5
+ /**
6
+ * Schema for updating a dynamic hashinal
7
+ */
8
+ declare const UpdateDynamicHashinalSchema: z.ZodObject<{
9
+ registryTopicId: z.ZodString;
10
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
+ data: z.ZodOptional<z.ZodObject<{
12
+ base64: z.ZodOptional<z.ZodString>;
13
+ url: z.ZodOptional<z.ZodString>;
14
+ mimeType: z.ZodOptional<z.ZodString>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ base64?: string | undefined;
17
+ url?: string | undefined;
18
+ mimeType?: string | undefined;
19
+ }, {
20
+ base64?: string | undefined;
21
+ url?: string | undefined;
22
+ mimeType?: string | undefined;
23
+ }>>;
24
+ memo: z.ZodOptional<z.ZodString>;
25
+ submitKey: z.ZodString;
26
+ }, "strip", z.ZodTypeAny, {
27
+ metadata: Record<string, unknown>;
28
+ submitKey: string;
29
+ registryTopicId: string;
30
+ data?: {
31
+ base64?: string | undefined;
32
+ url?: string | undefined;
33
+ mimeType?: string | undefined;
34
+ } | undefined;
35
+ memo?: string | undefined;
36
+ }, {
37
+ metadata: Record<string, unknown>;
38
+ submitKey: string;
39
+ registryTopicId: string;
40
+ data?: {
41
+ base64?: string | undefined;
42
+ url?: string | undefined;
43
+ mimeType?: string | undefined;
44
+ } | undefined;
45
+ memo?: string | undefined;
46
+ }>;
47
+ export type UpdateDynamicHashinalInput = z.infer<typeof UpdateDynamicHashinalSchema>;
48
+ /**
49
+ * Tool for updating dynamic hashinals
50
+ */
51
+ export declare class UpdateDynamicHashinalTool extends BaseHCS6TransactionTool<typeof UpdateDynamicHashinalSchema> {
52
+ name: string;
53
+ description: string;
54
+ schema: z.ZodObject<{
55
+ registryTopicId: z.ZodString;
56
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
57
+ data: z.ZodOptional<z.ZodObject<{
58
+ base64: z.ZodOptional<z.ZodString>;
59
+ url: z.ZodOptional<z.ZodString>;
60
+ mimeType: z.ZodOptional<z.ZodString>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ base64?: string | undefined;
63
+ url?: string | undefined;
64
+ mimeType?: string | undefined;
65
+ }, {
66
+ base64?: string | undefined;
67
+ url?: string | undefined;
68
+ mimeType?: string | undefined;
69
+ }>>;
70
+ memo: z.ZodOptional<z.ZodString>;
71
+ submitKey: z.ZodString;
72
+ }, "strip", z.ZodTypeAny, {
73
+ metadata: Record<string, unknown>;
74
+ submitKey: string;
75
+ registryTopicId: string;
76
+ data?: {
77
+ base64?: string | undefined;
78
+ url?: string | undefined;
79
+ mimeType?: string | undefined;
80
+ } | undefined;
81
+ memo?: string | undefined;
82
+ }, {
83
+ metadata: Record<string, unknown>;
84
+ submitKey: string;
85
+ registryTopicId: string;
86
+ data?: {
87
+ base64?: string | undefined;
88
+ url?: string | undefined;
89
+ mimeType?: string | undefined;
90
+ } | undefined;
91
+ memo?: string | undefined;
92
+ }>;
93
+ constructor(params: HCS6TransactionToolParams);
94
+ protected _call(params: UpdateDynamicHashinalInput): Promise<TransactionResponse>;
95
+ }
96
+ export {};
@@ -0,0 +1,28 @@
1
+ import { BaseHederaTransactionTool, BaseHederaQueryTool, BaseServiceBuilder } from 'hedera-agent-kit';
2
+ import { HCS6Builder } from '../../builders/hcs6/hcs6-builder';
3
+ import { HCS6TransactionToolParams, HCS6QueryToolParams } from './hcs6-tool-params';
4
+ import { z } from 'zod';
5
+ /**
6
+ * Base class for HCS6 transaction tools
7
+ */
8
+ export declare abstract class BaseHCS6TransactionTool<T extends z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny> = z.ZodObject<z.ZodRawShape>> extends BaseHederaTransactionTool<T> {
9
+ protected hcs6Builder: HCS6Builder;
10
+ namespace: "hcs6";
11
+ constructor(params: HCS6TransactionToolParams);
12
+ /**
13
+ * Override to return the HCS6Builder
14
+ */
15
+ protected getServiceBuilder(): BaseServiceBuilder;
16
+ }
17
+ /**
18
+ * Base class for HCS6 query tools
19
+ */
20
+ export declare abstract class BaseHCS6QueryTool<T extends z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny> = z.ZodObject<z.ZodRawShape>> extends BaseHederaQueryTool<T> {
21
+ protected hcs6Builder: HCS6Builder;
22
+ namespace: "hcs6";
23
+ constructor(params: HCS6QueryToolParams);
24
+ /**
25
+ * Override to return the HCS6Builder
26
+ */
27
+ protected getServiceBuilder(): BaseServiceBuilder;
28
+ }
@@ -0,0 +1,18 @@
1
+ import { HederaAgentKit, BasePluginContext } from 'hedera-agent-kit';
2
+ import { HCS6Builder } from '../../builders/hcs6/hcs6-builder';
3
+ /**
4
+ * Parameters for HCS6 transaction tools
5
+ */
6
+ export interface HCS6TransactionToolParams {
7
+ hederaKit: HederaAgentKit;
8
+ hcs6Builder: HCS6Builder;
9
+ logger?: BasePluginContext['logger'];
10
+ }
11
+ /**
12
+ * Parameters for HCS6 query tools
13
+ */
14
+ export interface HCS6QueryToolParams {
15
+ hederaKit: HederaAgentKit;
16
+ hcs6Builder: HCS6Builder;
17
+ logger?: BasePluginContext['logger'];
18
+ }
@@ -0,0 +1,6 @@
1
+ export * from './base-hcs6-tools';
2
+ export * from './hcs6-tool-params';
3
+ export * from './CreateDynamicRegistryTool';
4
+ export * from './RegisterDynamicHashinalTool';
5
+ export * from './UpdateDynamicHashinalTool';
6
+ export * from './QueryDynamicRegistryTool';
@@ -1,3 +1,4 @@
1
1
  export * from './hcs10';
2
2
  export * from './hcs2';
3
+ export * from './hcs6';
3
4
  export * from './inscriber';
@@ -20,23 +20,23 @@ declare const inscribeFromBufferSchema: z.ZodObject<{
20
20
  base64Data: string;
21
21
  tags?: string[] | undefined;
22
22
  metadata?: Record<string, unknown> | undefined;
23
+ mimeType?: string | undefined;
23
24
  mode?: "file" | "hashinal" | undefined;
24
25
  chunkSize?: number | undefined;
25
26
  waitForConfirmation?: boolean | undefined;
26
27
  apiKey?: string | undefined;
27
28
  timeoutMs?: number | undefined;
28
- mimeType?: string | undefined;
29
29
  }, {
30
30
  fileName: string;
31
31
  base64Data: string;
32
32
  tags?: string[] | undefined;
33
33
  metadata?: Record<string, unknown> | undefined;
34
+ mimeType?: string | undefined;
34
35
  mode?: "file" | "hashinal" | undefined;
35
36
  chunkSize?: number | undefined;
36
37
  waitForConfirmation?: boolean | undefined;
37
38
  apiKey?: string | undefined;
38
39
  timeoutMs?: number | undefined;
39
- mimeType?: string | undefined;
40
40
  }>;
41
41
  /**
42
42
  * Tool for inscribing content from buffer
@@ -60,23 +60,23 @@ export declare class InscribeFromBufferTool extends BaseInscriberQueryTool<typeo
60
60
  base64Data: string;
61
61
  tags?: string[] | undefined;
62
62
  metadata?: Record<string, unknown> | undefined;
63
+ mimeType?: string | undefined;
63
64
  mode?: "file" | "hashinal" | undefined;
64
65
  chunkSize?: number | undefined;
65
66
  waitForConfirmation?: boolean | undefined;
66
67
  apiKey?: string | undefined;
67
68
  timeoutMs?: number | undefined;
68
- mimeType?: string | undefined;
69
69
  }, {
70
70
  fileName: string;
71
71
  base64Data: string;
72
72
  tags?: string[] | undefined;
73
73
  metadata?: Record<string, unknown> | undefined;
74
+ mimeType?: string | undefined;
74
75
  mode?: "file" | "hashinal" | undefined;
75
76
  chunkSize?: number | undefined;
76
77
  waitForConfirmation?: boolean | undefined;
77
78
  apiKey?: string | undefined;
78
79
  timeoutMs?: number | undefined;
79
- mimeType?: string | undefined;
80
80
  }>;
81
81
  protected executeQuery(params: z.infer<typeof inscribeFromBufferSchema>, _runManager?: CallbackManagerForToolRun): Promise<unknown>;
82
82
  }
@@ -0,0 +1,47 @@
1
+ import { BaseServiceBuilder, HederaAgentKit } from 'hedera-agent-kit';
2
+ import { HCS6Client, HCS6CreateRegistryOptions, HCS6RegisterEntryOptions, HCS6QueryRegistryOptions, HCS6RegisterOptions, HCS6CreateHashinalOptions, HCS6TopicRegistrationResponse, HCS6RegistryOperationResponse, HCS6TopicRegistry, HCS6CreateHashinalResponse } from '@hashgraphonline/standards-sdk';
3
+ /**
4
+ * Builder for HCS-6 operations that delegates to HCS6Client
5
+ */
6
+ export declare class HCS6Builder extends BaseServiceBuilder {
7
+ protected hcs6Client?: HCS6Client;
8
+ constructor(hederaKit: HederaAgentKit);
9
+ /**
10
+ * Get or create HCS-6 client
11
+ */
12
+ protected getHCS6Client(): Promise<HCS6Client>;
13
+ /**
14
+ * Create a new HCS-6 dynamic registry
15
+ * Note: This executes the transaction directly via HCS6Client
16
+ */
17
+ createRegistry(options?: HCS6CreateRegistryOptions): Promise<HCS6TopicRegistrationResponse>;
18
+ /**
19
+ * Register a new dynamic hashinal entry in an HCS-6 registry
20
+ */
21
+ registerEntry(registryTopicId: string, options: HCS6RegisterEntryOptions): Promise<HCS6RegistryOperationResponse>;
22
+ /**
23
+ * Query entries from an HCS-6 registry
24
+ */
25
+ getRegistry(topicId: string, options?: HCS6QueryRegistryOptions): Promise<HCS6TopicRegistry>;
26
+ /**
27
+ * Create a complete dynamic hashinal with inscription and registry
28
+ */
29
+ createHashinal(options: HCS6CreateHashinalOptions): Promise<HCS6CreateHashinalResponse>;
30
+ /**
31
+ * Register a dynamic hashinal with combined inscription and registry creation
32
+ * This is the main method for creating and updating dynamic hashinals
33
+ */
34
+ register(options: HCS6RegisterOptions): Promise<HCS6CreateHashinalResponse>;
35
+ /**
36
+ * Submit a raw message to an HCS-6 topic
37
+ */
38
+ submitMessage(topicId: string, payload: any): Promise<any>;
39
+ /**
40
+ * Get topic info from mirror node
41
+ */
42
+ getTopicInfo(topicId: string): Promise<any>;
43
+ /**
44
+ * Close the HCS-6 client
45
+ */
46
+ close(): Promise<void>;
47
+ }
@@ -0,0 +1 @@
1
+ export * from './hcs6-builder';
@@ -1,4 +1,5 @@
1
1
  export * from './types';
2
2
  export * from './hcs10/hcs10-builder';
3
3
  export * from './hcs2/hcs2-builder';
4
+ export * from './hcs6/hcs6-builder';
4
5
  export * from './inscriber/inscriber-builder';
@@ -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, HCS2Builder, InscriberBuilder } from './builders';
5
+ export { HCS10Builder, HCS2Builder, HCS6Builder, InscriberBuilder } from './builders';
6
6
  export type { ExecuteResult } from './builders';
7
7
  export { HCS10Client } from './hcs10';
@@ -1,48 +1,57 @@
1
1
  import { HCS10Builder } from "./standards-agent-kit.es2.js";
2
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";
3
+ import { HCS6Builder } from "./standards-agent-kit.es4.js";
4
+ import { InscriberBuilder } from "./standards-agent-kit.es5.js";
5
+ import { HCS10Client } from "./standards-agent-kit.es6.js";
6
+ import { BaseHCS10QueryTool, BaseHCS10TransactionTool } from "./standards-agent-kit.es7.js";
7
+ import { RegisterAgentTool } from "./standards-agent-kit.es8.js";
8
+ import { SendMessageToConnectionTool } from "./standards-agent-kit.es9.js";
9
+ import { InitiateConnectionTool } from "./standards-agent-kit.es10.js";
10
+ import { ListConnectionsTool } from "./standards-agent-kit.es11.js";
11
+ import { CheckMessagesTool } from "./standards-agent-kit.es12.js";
12
+ import { FindRegistrationsTool } from "./standards-agent-kit.es13.js";
13
+ import { ConnectionMonitorTool } from "./standards-agent-kit.es14.js";
14
+ import { ManageConnectionRequestsTool } from "./standards-agent-kit.es15.js";
15
+ import { AcceptConnectionRequestTool } from "./standards-agent-kit.es16.js";
16
+ import { RetrieveProfileTool } from "./standards-agent-kit.es17.js";
17
+ import { ListUnapprovedConnectionRequestsTool } from "./standards-agent-kit.es18.js";
18
+ import { NaturalLanguageMapper } from "./standards-agent-kit.es19.js";
19
+ import { BaseHCS2QueryTool, BaseHCS2TransactionTool } from "./standards-agent-kit.es20.js";
20
+ import { CreateRegistryTool } from "./standards-agent-kit.es21.js";
21
+ import { RegisterEntryTool } from "./standards-agent-kit.es22.js";
22
+ import { UpdateEntryTool } from "./standards-agent-kit.es23.js";
23
+ import { DeleteEntryTool } from "./standards-agent-kit.es24.js";
24
+ import { MigrateRegistryTool } from "./standards-agent-kit.es25.js";
25
+ import { QueryRegistryTool } from "./standards-agent-kit.es26.js";
26
+ import { BaseHCS6QueryTool, BaseHCS6TransactionTool } from "./standards-agent-kit.es27.js";
27
+ import { CreateDynamicRegistryTool } from "./standards-agent-kit.es28.js";
28
+ import { RegisterDynamicHashinalTool } from "./standards-agent-kit.es29.js";
29
+ import { UpdateDynamicHashinalTool } from "./standards-agent-kit.es30.js";
30
+ import { QueryDynamicRegistryTool } from "./standards-agent-kit.es31.js";
31
+ import { BaseInscriberQueryTool, BaseInscriberTransactionTool } from "./standards-agent-kit.es32.js";
32
+ import { InscribeFromUrlTool } from "./standards-agent-kit.es33.js";
33
+ import { InscribeFromFileTool } from "./standards-agent-kit.es34.js";
34
+ import { InscribeFromBufferTool } from "./standards-agent-kit.es35.js";
35
+ import { InscribeHashinalTool } from "./standards-agent-kit.es36.js";
36
+ import { RetrieveInscriptionTool } from "./standards-agent-kit.es37.js";
37
+ import { OpenConvaiState } from "./standards-agent-kit.es38.js";
38
+ import { initializeStandardsAgentKit } from "./standards-agent-kit.es39.js";
33
39
  import { BasePlugin, HederaGetHbarPriceTool, PluginRegistry } from "hedera-agent-kit";
34
- import { HbarPricePlugin } from "./standards-agent-kit.es34.js";
40
+ import { HbarPricePlugin } from "./standards-agent-kit.es40.js";
35
41
  export {
36
42
  AcceptConnectionRequestTool,
37
43
  BaseHCS10QueryTool,
38
44
  BaseHCS10TransactionTool,
39
45
  BaseHCS2QueryTool,
40
46
  BaseHCS2TransactionTool,
47
+ BaseHCS6QueryTool,
48
+ BaseHCS6TransactionTool,
41
49
  BaseInscriberQueryTool,
42
50
  BaseInscriberTransactionTool,
43
51
  BasePlugin,
44
52
  CheckMessagesTool,
45
53
  ConnectionMonitorTool,
54
+ CreateDynamicRegistryTool,
46
55
  CreateRegistryTool,
47
56
  DeleteEntryTool,
48
57
  FindRegistrationsTool,
@@ -50,6 +59,7 @@ export {
50
59
  HCS10Builder,
51
60
  HCS10Client,
52
61
  HCS2Builder,
62
+ HCS6Builder,
53
63
  HbarPricePlugin,
54
64
  InitiateConnectionTool,
55
65
  InscribeFromBufferTool,
@@ -64,12 +74,15 @@ export {
64
74
  NaturalLanguageMapper,
65
75
  OpenConvaiState,
66
76
  PluginRegistry,
77
+ QueryDynamicRegistryTool,
67
78
  QueryRegistryTool,
68
79
  RegisterAgentTool,
80
+ RegisterDynamicHashinalTool,
69
81
  RegisterEntryTool,
70
82
  RetrieveInscriptionTool,
71
83
  RetrieveProfileTool,
72
84
  SendMessageToConnectionTool,
85
+ UpdateDynamicHashinalTool,
73
86
  UpdateEntryTool,
74
87
  initializeStandardsAgentKit
75
88
  };
@@ -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,40 +1,40 @@
1
1
  import { z } from "zod";
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"
2
+ import { BaseHCS10TransactionTool } from "./standards-agent-kit.es7.js";
3
+ const InitiateConnectionZodSchema = z.object({
4
+ targetAccountId: z.string().describe(
5
+ "The Hedera account ID (e.g., 0.0.12345) of the agent you want to connect with."
6
6
  ),
7
- showPending: z.boolean().optional().describe("Whether to include pending connection requests")
7
+ disableMonitor: z.boolean().optional().describe(
8
+ "If true, does not wait for connection confirmation. Returns immediately after sending the request."
9
+ ),
10
+ memo: z.string().optional().describe(
11
+ 'Optional memo to include with the connection request (e.g., "Hello from Alice"). If not provided, defaults to "true" or "false" based on monitoring preference.'
12
+ )
8
13
  });
9
- class ListConnectionsTool extends BaseHCS10QueryTool {
14
+ class InitiateConnectionTool extends BaseHCS10TransactionTool {
10
15
  constructor(params) {
11
16
  super(params);
12
- this.name = "list_connections";
13
- this.description = "Lists all active HCS-10 connections. Use this FIRST before sending messages to check if you already have an active connection to a target agent. Shows connection details and agent information for each active connection.";
14
- this.specificInputSchema = ListConnectionsZodSchema;
17
+ this.name = "initiate_connection";
18
+ this.description = "ONLY use this to START a BRAND NEW connection to an agent you have NEVER connected to before. If you already have an active connection to this agent, use send_message_to_connection instead. This creates a new connection request and waits for acceptance.";
19
+ this.specificInputSchema = InitiateConnectionZodSchema;
20
+ this.neverScheduleThisTool = true;
21
+ this.requiresMultipleTransactions = true;
15
22
  }
16
- async executeQuery(args) {
17
- const hcs10Builder = this.hcs10Builder;
18
- const params = {};
19
- if (args.includeDetails !== void 0) {
20
- params.includeDetails = args.includeDetails;
21
- }
22
- if (args.showPending !== void 0) {
23
- params.showPending = args.showPending;
23
+ async callBuilderMethod(builder, specificArgs) {
24
+ const hcs10Builder = builder;
25
+ const params = {
26
+ targetAccountId: specificArgs.targetAccountId
27
+ };
28
+ if (specificArgs.disableMonitor !== void 0) {
29
+ params.disableMonitor = specificArgs.disableMonitor;
24
30
  }
25
- await hcs10Builder.listConnections(params);
26
- const result = await hcs10Builder.execute();
27
- if (result.success && "rawResult" in result && result.rawResult) {
28
- const raw = result.rawResult;
29
- return {
30
- success: true,
31
- data: raw.formattedOutput || raw.message || "Connections listed"
32
- };
31
+ if (specificArgs.memo !== void 0) {
32
+ params.memo = specificArgs.memo;
33
33
  }
34
- return result;
34
+ await hcs10Builder.initiateConnection(params);
35
35
  }
36
36
  }
37
37
  export {
38
- ListConnectionsTool
38
+ InitiateConnectionTool
39
39
  };
40
40
  //# sourceMappingURL=standards-agent-kit.es10.js.map