@cloudbase/agent-tools 0.0.2

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 (194) hide show
  1. package/CHANGELOG.md +416 -0
  2. package/dist/agent_tool.d.ts +7 -0
  3. package/dist/agent_tool.d.ts.map +1 -0
  4. package/dist/agent_tool.js +16 -0
  5. package/dist/agent_tool.js.map +1 -0
  6. package/dist/bash/bash-tool.d.ts +61 -0
  7. package/dist/bash/bash-tool.d.ts.map +1 -0
  8. package/dist/bash/bash-tool.js +191 -0
  9. package/dist/bash/bash-tool.js.map +1 -0
  10. package/dist/bash/index.d.ts +7 -0
  11. package/dist/bash/index.d.ts.map +1 -0
  12. package/dist/bash/index.js +17 -0
  13. package/dist/bash/index.js.map +1 -0
  14. package/dist/bash/operator/base-operator.d.ts +44 -0
  15. package/dist/bash/operator/base-operator.d.ts.map +1 -0
  16. package/dist/bash/operator/base-operator.js +14 -0
  17. package/dist/bash/operator/base-operator.js.map +1 -0
  18. package/dist/bash/operator/local-operator.d.ts +15 -0
  19. package/dist/bash/operator/local-operator.d.ts.map +1 -0
  20. package/dist/bash/operator/local-operator.js +145 -0
  21. package/dist/bash/operator/local-operator.js.map +1 -0
  22. package/dist/bash/operator/sandbox-operator.d.ts +22 -0
  23. package/dist/bash/operator/sandbox-operator.d.ts.map +1 -0
  24. package/dist/bash/operator/sandbox-operator.js +112 -0
  25. package/dist/bash/operator/sandbox-operator.js.map +1 -0
  26. package/dist/bash/utils.d.ts +106 -0
  27. package/dist/bash/utils.d.ts.map +1 -0
  28. package/dist/bash/utils.js +197 -0
  29. package/dist/bash/utils.js.map +1 -0
  30. package/dist/browser/browser-instance-manager.d.ts +79 -0
  31. package/dist/browser/browser-instance-manager.d.ts.map +1 -0
  32. package/dist/browser/browser-instance-manager.js +242 -0
  33. package/dist/browser/browser-instance-manager.js.map +1 -0
  34. package/dist/browser/browser-tool-executor.d.ts +57 -0
  35. package/dist/browser/browser-tool-executor.d.ts.map +1 -0
  36. package/dist/browser/browser-tool-executor.js +205 -0
  37. package/dist/browser/browser-tool-executor.js.map +1 -0
  38. package/dist/browser/browser_client_unified.d.ts +52 -0
  39. package/dist/browser/browser_client_unified.d.ts.map +1 -0
  40. package/dist/browser/browser_client_unified.js +381 -0
  41. package/dist/browser/browser_client_unified.js.map +1 -0
  42. package/dist/browser/browser_tool_unified.d.ts +93 -0
  43. package/dist/browser/browser_tool_unified.d.ts.map +1 -0
  44. package/dist/browser/browser_tool_unified.js +181 -0
  45. package/dist/browser/browser_tool_unified.js.map +1 -0
  46. package/dist/browser/index.d.ts +7 -0
  47. package/dist/browser/index.d.ts.map +1 -0
  48. package/dist/browser/index.js +19 -0
  49. package/dist/browser/index.js.map +1 -0
  50. package/dist/browser/sandbox-connector.d.ts +93 -0
  51. package/dist/browser/sandbox-connector.d.ts.map +1 -0
  52. package/dist/browser/sandbox-connector.js +272 -0
  53. package/dist/browser/sandbox-connector.js.map +1 -0
  54. package/dist/browser/types.d.ts +53 -0
  55. package/dist/browser/types.d.ts.map +1 -0
  56. package/dist/browser/types.js +3 -0
  57. package/dist/browser/types.js.map +1 -0
  58. package/dist/code_executers/base_code_executor.d.ts +17 -0
  59. package/dist/code_executers/base_code_executor.d.ts.map +1 -0
  60. package/dist/code_executers/base_code_executor.js +20 -0
  61. package/dist/code_executers/base_code_executor.js.map +1 -0
  62. package/dist/code_executers/built_in_code_executor.d.ts +25 -0
  63. package/dist/code_executers/built_in_code_executor.d.ts.map +1 -0
  64. package/dist/code_executers/built_in_code_executor.js +106 -0
  65. package/dist/code_executers/built_in_code_executor.js.map +1 -0
  66. package/dist/code_executers/unsafe_local_code_executor.d.ts +118 -0
  67. package/dist/code_executers/unsafe_local_code_executor.d.ts.map +1 -0
  68. package/dist/code_executers/unsafe_local_code_executor.js +605 -0
  69. package/dist/code_executers/unsafe_local_code_executor.js.map +1 -0
  70. package/dist/fs/edit-tool.d.ts +26 -0
  71. package/dist/fs/edit-tool.d.ts.map +1 -0
  72. package/dist/fs/edit-tool.js +202 -0
  73. package/dist/fs/edit-tool.js.map +1 -0
  74. package/dist/fs/glob-tool.d.ts +31 -0
  75. package/dist/fs/glob-tool.d.ts.map +1 -0
  76. package/dist/fs/glob-tool.js +287 -0
  77. package/dist/fs/glob-tool.js.map +1 -0
  78. package/dist/fs/grep-tool.d.ts +32 -0
  79. package/dist/fs/grep-tool.d.ts.map +1 -0
  80. package/dist/fs/grep-tool.js +353 -0
  81. package/dist/fs/grep-tool.js.map +1 -0
  82. package/dist/fs/index.d.ts +11 -0
  83. package/dist/fs/index.d.ts.map +1 -0
  84. package/dist/fs/index.js +38 -0
  85. package/dist/fs/index.js.map +1 -0
  86. package/dist/fs/ls-tool.d.ts +26 -0
  87. package/dist/fs/ls-tool.d.ts.map +1 -0
  88. package/dist/fs/ls-tool.js +235 -0
  89. package/dist/fs/ls-tool.js.map +1 -0
  90. package/dist/fs/multiedit-tool.d.ts +34 -0
  91. package/dist/fs/multiedit-tool.d.ts.map +1 -0
  92. package/dist/fs/multiedit-tool.js +158 -0
  93. package/dist/fs/multiedit-tool.js.map +1 -0
  94. package/dist/fs/operator/base-operator.d.ts +28 -0
  95. package/dist/fs/operator/base-operator.d.ts.map +1 -0
  96. package/dist/fs/operator/base-operator.js +21 -0
  97. package/dist/fs/operator/base-operator.js.map +1 -0
  98. package/dist/fs/operator/in-memory-operator.d.ts +39 -0
  99. package/dist/fs/operator/in-memory-operator.d.ts.map +1 -0
  100. package/dist/fs/operator/in-memory-operator.js +115 -0
  101. package/dist/fs/operator/in-memory-operator.js.map +1 -0
  102. package/dist/fs/operator/index.d.ts +6 -0
  103. package/dist/fs/operator/index.d.ts.map +1 -0
  104. package/dist/fs/operator/index.js +28 -0
  105. package/dist/fs/operator/index.js.map +1 -0
  106. package/dist/fs/operator/local-operator.d.ts +25 -0
  107. package/dist/fs/operator/local-operator.d.ts.map +1 -0
  108. package/dist/fs/operator/local-operator.js +62 -0
  109. package/dist/fs/operator/local-operator.js.map +1 -0
  110. package/dist/fs/operator/sanbox-operator.d.ts +31 -0
  111. package/dist/fs/operator/sanbox-operator.d.ts.map +1 -0
  112. package/dist/fs/operator/sanbox-operator.js +172 -0
  113. package/dist/fs/operator/sanbox-operator.js.map +1 -0
  114. package/dist/fs/operator/transaction/index.d.ts +6 -0
  115. package/dist/fs/operator/transaction/index.d.ts.map +1 -0
  116. package/dist/fs/operator/transaction/index.js +28 -0
  117. package/dist/fs/operator/transaction/index.js.map +1 -0
  118. package/dist/fs/operator/transaction/snapshot-strategies.d.ts +54 -0
  119. package/dist/fs/operator/transaction/snapshot-strategies.d.ts.map +1 -0
  120. package/dist/fs/operator/transaction/snapshot-strategies.js +278 -0
  121. package/dist/fs/operator/transaction/snapshot-strategies.js.map +1 -0
  122. package/dist/fs/operator/transaction/transaction-operator.d.ts +53 -0
  123. package/dist/fs/operator/transaction/transaction-operator.d.ts.map +1 -0
  124. package/dist/fs/operator/transaction/transaction-operator.js +195 -0
  125. package/dist/fs/operator/transaction/transaction-operator.js.map +1 -0
  126. package/dist/fs/operator/transaction/transaction-utils.d.ts +80 -0
  127. package/dist/fs/operator/transaction/transaction-utils.d.ts.map +1 -0
  128. package/dist/fs/operator/transaction/transaction-utils.js +156 -0
  129. package/dist/fs/operator/transaction/transaction-utils.js.map +1 -0
  130. package/dist/fs/read-tool.d.ts +32 -0
  131. package/dist/fs/read-tool.d.ts.map +1 -0
  132. package/dist/fs/read-tool.js +271 -0
  133. package/dist/fs/read-tool.js.map +1 -0
  134. package/dist/fs/str-replace-editor.d.ts +23 -0
  135. package/dist/fs/str-replace-editor.d.ts.map +1 -0
  136. package/dist/fs/str-replace-editor.js +74 -0
  137. package/dist/fs/str-replace-editor.js.map +1 -0
  138. package/dist/fs/toolkit.d.ts +61 -0
  139. package/dist/fs/toolkit.d.ts.map +1 -0
  140. package/dist/fs/toolkit.js +113 -0
  141. package/dist/fs/toolkit.js.map +1 -0
  142. package/dist/fs/utils.d.ts +32 -0
  143. package/dist/fs/utils.d.ts.map +1 -0
  144. package/dist/fs/utils.js +133 -0
  145. package/dist/fs/utils.js.map +1 -0
  146. package/dist/fs/write-tool.d.ts +26 -0
  147. package/dist/fs/write-tool.d.ts.map +1 -0
  148. package/dist/fs/write-tool.js +110 -0
  149. package/dist/fs/write-tool.js.map +1 -0
  150. package/dist/index.d.ts +10 -0
  151. package/dist/index.d.ts.map +1 -0
  152. package/dist/index.js +40 -0
  153. package/dist/index.js.map +1 -0
  154. package/dist/mcp/agkit-mcp-server.d.ts +291 -0
  155. package/dist/mcp/agkit-mcp-server.d.ts.map +1 -0
  156. package/dist/mcp/agkit-mcp-server.js +821 -0
  157. package/dist/mcp/agkit-mcp-server.js.map +1 -0
  158. package/dist/mcp/client-tool.d.ts +65 -0
  159. package/dist/mcp/client-tool.d.ts.map +1 -0
  160. package/dist/mcp/client-tool.js +220 -0
  161. package/dist/mcp/client-tool.js.map +1 -0
  162. package/dist/mcp/index.d.ts +14 -0
  163. package/dist/mcp/index.d.ts.map +1 -0
  164. package/dist/mcp/index.js +26 -0
  165. package/dist/mcp/index.js.map +1 -0
  166. package/dist/mcp/mcp-client-manager.d.ts +153 -0
  167. package/dist/mcp/mcp-client-manager.d.ts.map +1 -0
  168. package/dist/mcp/mcp-client-manager.js +606 -0
  169. package/dist/mcp/mcp-client-manager.js.map +1 -0
  170. package/dist/mcp/mcp-toolkit.d.ts +112 -0
  171. package/dist/mcp/mcp-toolkit.d.ts.map +1 -0
  172. package/dist/mcp/mcp-toolkit.js +188 -0
  173. package/dist/mcp/mcp-toolkit.js.map +1 -0
  174. package/dist/mcp/types.d.ts +157 -0
  175. package/dist/mcp/types.d.ts.map +1 -0
  176. package/dist/mcp/types.js +34 -0
  177. package/dist/mcp/types.js.map +1 -0
  178. package/dist/mcp/utils.d.ts +17 -0
  179. package/dist/mcp/utils.d.ts.map +1 -0
  180. package/dist/mcp/utils.js +48 -0
  181. package/dist/mcp/utils.js.map +1 -0
  182. package/dist/types/index.d.ts +31 -0
  183. package/dist/types/index.d.ts.map +1 -0
  184. package/dist/types/index.js +3 -0
  185. package/dist/types/index.js.map +1 -0
  186. package/dist/types/zod.d.ts +18 -0
  187. package/dist/types/zod.d.ts.map +1 -0
  188. package/dist/types/zod.js +3 -0
  189. package/dist/types/zod.js.map +1 -0
  190. package/dist/utils.d.ts +141 -0
  191. package/dist/utils.d.ts.map +1 -0
  192. package/dist/utils.js +379 -0
  193. package/dist/utils.js.map +1 -0
  194. package/package.json +46 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,416 @@
1
+ # @cloudbase/agent-tools
2
+
3
+ ## 0.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - stable release 0.0.10
8
+ - Update all public packages to version 0.0.10
9
+ - Trigger automated stable release workflow
10
+ - Includes latest features and improvements
11
+
12
+ ## 0.0.10-alpha.1
13
+
14
+ ### Patch Changes
15
+
16
+ - alpha release 0.0.9-alpha.3
17
+ - Update all public packages to version 0.0.9-alpha.3
18
+ - Trigger automated alpha release workflow
19
+ - Includes latest features and improvements
20
+
21
+ ## 0.0.10-alpha.0
22
+
23
+ ### Patch Changes
24
+
25
+ - alpha release 0.0.9-alpha.3
26
+ - Update all public packages to version 0.0.9-alpha.3
27
+ - Trigger automated alpha release workflow
28
+ - Includes latest features and improvements
29
+
30
+ ## 0.0.9
31
+
32
+ ### Patch Changes
33
+
34
+ - stable release 0.0.9
35
+ - Update all public packages to version 0.0.9
36
+ - Trigger automated stable release workflow
37
+ - Includes latest features and improvements
38
+
39
+ ## 0.0.9-alpha.2
40
+
41
+ ### Patch Changes
42
+
43
+ - alpha release 0.0.8-alpha.1
44
+ - Update all public packages to version 0.0.8-alpha.1
45
+ - Trigger automated alpha release workflow
46
+ - Includes latest features and improvements
47
+
48
+ ## 0.0.9-alpha.1
49
+
50
+ ### Patch Changes
51
+
52
+ - alpha release 0.0.8-alpha.1
53
+ - Update all public packages to version 0.0.8-alpha.1
54
+ - Trigger automated alpha release workflow
55
+ - Includes latest features and improvements
56
+
57
+ ## 0.0.9-alpha.0
58
+
59
+ ### Patch Changes
60
+
61
+ - alpha release 0.0.8-alpha.1
62
+ - Update all public packages to version 0.0.8-alpha.1
63
+ - Trigger automated alpha release workflow
64
+ - Includes latest features and improvements
65
+
66
+ ## 0.0.8
67
+
68
+ ### Patch Changes
69
+
70
+ - stable release 0.0.8
71
+ - Update all public packages to version 0.0.8
72
+ - Trigger automated stable release workflow
73
+ - Includes latest features and improvements
74
+
75
+ ## 0.0.4-alpha.0
76
+
77
+ ### Patch Changes
78
+
79
+ - alpha release 0.0.7-alpha.1
80
+ - Update all public packages to version 0.0.7-alpha.1
81
+ - Trigger automated alpha release workflow
82
+ - Includes latest features and improvements
83
+
84
+ ## 0.0.0-alpha-20251103123845
85
+
86
+ ### Patch Changes
87
+
88
+ - alpha release 0.0.7-alpha.1
89
+ - Update all public packages to version 0.0.7-alpha.1
90
+ - Trigger automated alpha release workflow
91
+ - Includes latest features and improvements
92
+
93
+ ## 0.0.5
94
+
95
+ ### Patch Changes
96
+
97
+ - stable release 0.0.7
98
+ - Update all public packages to version 0.0.7
99
+ - Trigger automated stable release workflow
100
+ - Includes latest features and improvements
101
+
102
+ ## 0.0.4
103
+
104
+ ### Patch Changes
105
+
106
+ - stable release 0.0.6
107
+ - Update all public packages to version 0.0.6
108
+ - Trigger automated stable release workflow
109
+ - Includes latest features and improvements
110
+
111
+ ## 0.0.0-alpha-20251030080320
112
+
113
+ ### Patch Changes
114
+
115
+ - alpha release 0.0.5-alpha.7
116
+ - Update all public packages to version 0.0.5-alpha.7
117
+ - Trigger automated alpha release workflow
118
+ - Includes latest features and improvements
119
+
120
+ ## 0.0.0-alpha-20251028115618
121
+
122
+ ### Patch Changes
123
+
124
+ - alpha release 0.0.5-alpha.6
125
+ - Update all public packages to version 0.0.5-alpha.6
126
+ - Trigger automated alpha release workflow
127
+ - Includes latest features and improvements
128
+
129
+ ## 0.0.0-alpha-20251028114708
130
+
131
+ ### Patch Changes
132
+
133
+ - alpha release 0.0.5-alpha.5
134
+ - Update all public packages to version 0.0.5-alpha.5
135
+ - Trigger automated alpha release workflow
136
+ - Includes latest features and improvements
137
+
138
+ ## 0.0.0-alpha-20251027092338
139
+
140
+ ### Patch Changes
141
+
142
+ - alpha release 0.0.5-alpha.4
143
+ - Update all public packages to version 0.0.5-alpha.4
144
+ - Trigger automated alpha release workflow
145
+ - Includes latest features and improvements
146
+
147
+ ## 0.0.0-alpha-20251027092045
148
+
149
+ ### Patch Changes
150
+
151
+ - alpha release 0.0.5-alpha.3
152
+ - Update all public packages to version 0.0.5-alpha.3
153
+ - Trigger automated alpha release workflow
154
+ - Includes latest features and improvements
155
+
156
+ ## 0.0.0-alpha-20251024113345
157
+
158
+ ### Patch Changes
159
+
160
+ - alpha release 0.0.5-alpha.2
161
+ - Update all public packages to version 0.0.5-alpha.2
162
+ - Trigger automated alpha release workflow
163
+ - Includes latest features and improvements
164
+
165
+ ## 0.0.0-alpha-20251024090137
166
+
167
+ ### Patch Changes
168
+
169
+ - alpha release 0.0.5-alpha.1
170
+ - Update all public packages to version 0.0.5-alpha.1
171
+ - Trigger automated alpha release workflow
172
+ - Includes latest features and improvements
173
+
174
+ ## 0.0.0-alpha-20251024085927
175
+
176
+ ### Patch Changes
177
+
178
+ - alpha release 0.0.1-alpha.18
179
+ - Update all public packages to version 0.0.1-alpha.18
180
+ - Trigger automated alpha release workflow
181
+ - Includes latest features and improvements
182
+
183
+ ## 0.0.0-alpha-20251023135253
184
+
185
+ ### Patch Changes
186
+
187
+ - Alpha release with latest features and improvements
188
+ - Update all public packages to alpha version
189
+ - Include playground preview enhancements
190
+ - Add Python Server deployment support
191
+ - Include Mastra framework examples
192
+ - Trigger automated alpha release workflow
193
+
194
+ ## 0.0.0-alpha-20251023135056
195
+
196
+ ### Patch Changes
197
+
198
+ - Alpha release with latest features and improvements
199
+ - Update all public packages to alpha version
200
+ - Include playground preview enhancements
201
+ - Add Python Server deployment support
202
+ - Trigger automated alpha release workflow
203
+
204
+ - 579f801: Stable release with latest features and improvements
205
+ - Update all public packages to stable version
206
+ - Include playground preview enhancements
207
+ - Add new playground examples
208
+ - Trigger automated stable release workflow
209
+
210
+ ## 0.0.4
211
+
212
+ ### Patch Changes
213
+
214
+ - Stable release with latest features and improvements
215
+ - Update all public packages to stable version
216
+ - Include playground preview enhancements
217
+ - Add new playground examples
218
+ - Trigger automated stable release workflow
219
+
220
+ ## 0.0.0-alpha-20251023125455
221
+
222
+ ### Patch Changes
223
+
224
+ - Alpha release with latest features and improvements
225
+ - Update all public packages to alpha version
226
+ - Include playground preview enhancements
227
+ - Add new playground examples
228
+ - Trigger automated alpha release workflow
229
+
230
+ ## 0.0.0-alpha-20251023125311
231
+
232
+ ### Patch Changes
233
+
234
+ - Alpha release with latest features and improvements
235
+ - Update all public packages to alpha version
236
+ - Include playground preview enhancements
237
+ - Add new playground examples (LlamaIndex, Mastra)
238
+ - Fix workspace configuration for new packages
239
+ - Trigger automated alpha release workflow
240
+
241
+ ## 0.0.4
242
+
243
+ ### Patch Changes
244
+
245
+ - feat(tools): improve MCP configuration API with options object pattern
246
+ - Change sessionId from trailing parameter to options object for better ergonomics
247
+ - Add new option types: AddOptions, DeleteOptions, RetrieveOptions, ClearOptions
248
+ - Improve API readability and maintainability
249
+ - Maintain full backward compatibility
250
+
251
+ ## 0.0.2
252
+
253
+ ### Patch Changes
254
+
255
+ - stable release 0.0.3
256
+ - Update all public packages to version 0.0.3
257
+ - Trigger automated stable release workflow
258
+ - Includes latest features and improvements
259
+
260
+ ## 0.0.0-alpha-20251023094104
261
+
262
+ ### Patch Changes
263
+
264
+ - alpha release 0.0.1-alpha.14
265
+ - Update all public packages to version 0.0.1-alpha.14
266
+ - Trigger automated alpha release workflow
267
+ - Includes latest features and improvements
268
+
269
+ ## 0.0.0-alpha-20251023093942
270
+
271
+ ### Patch Changes
272
+
273
+ - alpha release 0.0.1-alpha.13
274
+ - Update all public packages to version 0.0.1-alpha.13
275
+ - Trigger automated alpha release workflow
276
+ - Includes latest features and improvements
277
+
278
+ ## 0.0.2
279
+
280
+ ### Patch Changes
281
+
282
+ - stable release 0.0.2
283
+ - Update all public packages to version 0.0.2
284
+ - Trigger automated stable release workflow
285
+ - Includes latest features and improvements
286
+
287
+ ## 0.0.0-alpha-20251023054807
288
+
289
+ ### Patch Changes
290
+
291
+ - alpha release 0.0.1-alpha.12
292
+ - Update all public packages to version 0.0.1-alpha.12
293
+ - Trigger automated alpha release workflow
294
+ - Includes latest features and improvements
295
+
296
+ ## 0.0.0-alpha-20251023054737
297
+
298
+ ### Patch Changes
299
+
300
+ - Alpha release with latest features and improvements including MCP knowledge retrieval examples and configuration validation fixes.
301
+
302
+ ## 0.0.2
303
+
304
+ ### Patch Changes
305
+
306
+ - stable release 0.0.1
307
+ - Update all public packages to version 0.0.1
308
+ - Trigger automated stable release workflow
309
+ - Includes latest features and improvements
310
+
311
+ ## 0.0.0-alpha-20251022083933
312
+
313
+ ### Patch Changes
314
+
315
+ - alpha release 0.0.1-alpha.11
316
+ - Update all public packages to version 0.0.1-alpha.11
317
+ - Trigger automated alpha release workflow
318
+ - Includes latest features and improvements
319
+
320
+ ## 0.0.0-alpha-20251022080712
321
+
322
+ ### Patch Changes
323
+
324
+ - Alpha release 0.0.1-alpha.10
325
+ - Update all public packages to version 0.0.1-alpha.10
326
+ - Trigger automated alpha release workflow
327
+ - Includes latest features and improvements
328
+
329
+ ## 0.0.0-alpha-20251022072016
330
+
331
+ ### Patch Changes
332
+
333
+ - Alpha release with latest features and improvements
334
+ - Make @cloudbase/agent-example-ui-web-shared package public
335
+ - Update all public packages to alpha version
336
+ - Include shared UI components in public release
337
+
338
+ ## 0.0.0-alpha-20251022071917
339
+
340
+ ### Patch Changes
341
+
342
+ - Alpha release with latest features and improvements
343
+ - Make @cloudbase/agent-example-ui-web-shared package public
344
+ - Update all public packages to alpha version
345
+ - Include shared UI components in public release
346
+
347
+ ## 0.0.0-alpha-20251022064104
348
+
349
+ ### Patch Changes
350
+
351
+ - Fix alpha release versioning format
352
+ - Fix Changesets configuration for proper alpha versioning
353
+ - Reset to correct v0.0.1-alpha.X format
354
+ - Include recent improvements and bug fixes
355
+
356
+ ## 0.0.0-alpha-20251022043017
357
+
358
+ ### Patch Changes
359
+
360
+ - Alpha release with CI improvements and quickstart enhancements
361
+ - Remove CloudBase docs deployment from CI workflow
362
+ - Update quickstart guide with modern ES modules setup
363
+ - Add support for multiple LLM providers (OpenAI, Zhipu, Qwen, DeepSeek, Ollama)
364
+ - Simplify configuration and improve code examples
365
+ - Remove UUID validation from conversationId for flexibility
366
+ - Update dependencies and build scripts for better DX
367
+
368
+ ## 0.0.0-alpha-20251022031106
369
+
370
+ ### Patch Changes
371
+
372
+ - Alpha release with dependency updates and improvements
373
+ - Updated dependencies and package configurations
374
+ - Enhanced example configurations
375
+ - Bug fixes and performance improvements
376
+ - Improved stability and reliability
377
+
378
+ ## 0.0.0-alpha-20251022025955
379
+
380
+ ### Patch Changes
381
+
382
+ - Alpha release with latest features and improvements
383
+ - Enhanced documentation and hero section
384
+ - Improved framework logo integration
385
+ - Updated documentation standards
386
+ - Bug fixes and performance improvements
387
+
388
+ ## 0.0.0-alpha-20251017101436
389
+
390
+ ### Patch Changes
391
+
392
+ - Fix GitHub permissions and test deployment pipeline
393
+
394
+ ## 0.0.0-alpha-20251017100216
395
+
396
+ ### Patch Changes
397
+
398
+ - Fix GitHub Actions workflow issues and test deployment
399
+
400
+ ## 0.0.0-alpha-20251017094344
401
+
402
+ ### Patch Changes
403
+
404
+ - Alpha release with latest features and improvements
405
+
406
+ ## 0.0.0-alpha-20251017093946
407
+
408
+ ### Patch Changes
409
+
410
+ - 54e476e: Initial alpha release for testing purposes. This release includes all core AG-Kit packages and example implementations for community testing and feedback.
411
+
412
+ ## 0.0.0-alpha-20251017081242
413
+
414
+ ### Patch Changes
415
+
416
+ - Initial alpha release for testing purposes. This release includes all core AG-Kit packages and example implementations for community testing and feedback.
@@ -0,0 +1,7 @@
1
+ import { BaseTool } from "./utils";
2
+ import { ToolExecutionContext } from "./types";
3
+ export declare class AgentTool extends BaseTool {
4
+ constructor();
5
+ _invoke(input: any, context?: ToolExecutionContext): Promise<any>;
6
+ }
7
+ //# sourceMappingURL=agent_tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent_tool.d.ts","sourceRoot":"","sources":["../src/agent_tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,qBAAa,SAAU,SAAQ,QAAQ;;IAO/B,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,GAAG,CAAC;CAKxE"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentTool = void 0;
4
+ const utils_1 = require("./utils");
5
+ class AgentTool extends utils_1.BaseTool {
6
+ constructor() {
7
+ super({
8
+ name: "agent",
9
+ });
10
+ }
11
+ async _invoke(input, context) {
12
+ return "";
13
+ }
14
+ }
15
+ exports.AgentTool = AgentTool;
16
+ //# sourceMappingURL=agent_tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent_tool.js","sourceRoot":"","sources":["../src/agent_tool.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AAGnC,MAAa,SAAU,SAAQ,gBAAQ;IACrC;QACE,KAAK,CAAC;YACJ,IAAI,EAAE,OAAO;SACd,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,KAAU,EAAE,OAA8B;QACtD,OAAO,EAAE,CAAC;IACZ,CAAC;CAGF;AAZD,8BAYC"}
@@ -0,0 +1,61 @@
1
+ import { z } from "zod/v4";
2
+ import { BaseBashOperator } from "./operator/base-operator";
3
+ export interface BashExecutionContext {
4
+ bashOperator: BaseBashOperator;
5
+ workingDirectory?: string;
6
+ environmentVariables?: Record<string, string>;
7
+ defaultTimeout?: number;
8
+ }
9
+ declare const bashToolSchema: z.ZodObject<{
10
+ command: z.ZodString;
11
+ cwd: z.ZodOptional<z.ZodString>;
12
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13
+ timeout: z.ZodOptional<z.ZodNumber>;
14
+ input: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ export type BashToolInput = z.infer<typeof bashToolSchema>;
17
+ export interface BashToolResponse {
18
+ command: string;
19
+ exit_code: number | null;
20
+ stdout: string;
21
+ stderr: string;
22
+ working_directory: string;
23
+ }
24
+ export declare function createBashTool(context: BashExecutionContext): import("../utils").DynamicTool<z.ZodObject<{
25
+ command: z.ZodString;
26
+ cwd: z.ZodOptional<z.ZodString>;
27
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
28
+ timeout: z.ZodOptional<z.ZodNumber>;
29
+ input: z.ZodOptional<z.ZodString>;
30
+ }, z.core.$strip>, Record<string, unknown>, BashToolResponse>;
31
+ declare const multiCommandSchema: z.ZodObject<{
32
+ commands: z.ZodArray<z.ZodString>;
33
+ cwd: z.ZodOptional<z.ZodString>;
34
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
35
+ timeout: z.ZodOptional<z.ZodNumber>;
36
+ continue_on_error: z.ZodOptional<z.ZodBoolean>;
37
+ }, z.core.$strip>;
38
+ export type MultiCommandInput = z.infer<typeof multiCommandSchema>;
39
+ export interface MultiCommandResponse {
40
+ commands: string[];
41
+ results: Array<{
42
+ command: string;
43
+ success: boolean;
44
+ exit_code: number | null;
45
+ stdout: string;
46
+ stderr: string;
47
+ execution_time: number;
48
+ }>;
49
+ successful_commands: number;
50
+ failed_commands: number;
51
+ working_directory: string;
52
+ }
53
+ export declare function createMultiCommandTool(context: BashExecutionContext): import("../utils").DynamicTool<z.ZodObject<{
54
+ commands: z.ZodArray<z.ZodString>;
55
+ cwd: z.ZodOptional<z.ZodString>;
56
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
57
+ timeout: z.ZodOptional<z.ZodNumber>;
58
+ continue_on_error: z.ZodOptional<z.ZodBoolean>;
59
+ }, z.core.$strip>, Record<string, unknown>, MultiCommandResponse>;
60
+ export {};
61
+ //# sourceMappingURL=bash-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bash-tool.d.ts","sourceRoot":"","sources":["../../src/bash/bash-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EACL,gBAAgB,EAGjB,MAAM,0BAA0B,CAAC;AAGlC,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,gBAAgB,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,QAAA,MAAM,cAAc;;;;;;iBAkBlB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE3D,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,oBAAoB;;;;;;8DAgE3D;AAGD,QAAA,MAAM,kBAAkB;;;;;;iBAsBtB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEnE,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,OAAO,CAAC;QACjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC,CAAC;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,oBAAoB;;;;;;kEAgHnE"}
@@ -0,0 +1,191 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.createBashTool = createBashTool;
7
+ exports.createMultiCommandTool = createMultiCommandTool;
8
+ const v4_1 = require("zod/v4");
9
+ const utils_1 = require("../utils");
10
+ const path_1 = __importDefault(require("path"));
11
+ const bashToolSchema = v4_1.z.object({
12
+ command: v4_1.z.string().describe("The bash command to execute"),
13
+ cwd: v4_1.z
14
+ .string()
15
+ .optional()
16
+ .describe("Working directory for the command (optional)"),
17
+ env: v4_1.z
18
+ .record(v4_1.z.string(), v4_1.z.string())
19
+ .optional()
20
+ .describe("Environment variables to set (optional)"),
21
+ timeout: v4_1.z
22
+ .number()
23
+ .optional()
24
+ .describe("Timeout in milliseconds (default: 30000)"),
25
+ input: v4_1.z
26
+ .string()
27
+ .optional()
28
+ .describe("Input to send to the command via stdin (optional)"),
29
+ });
30
+ function createBashTool(context) {
31
+ return (0, utils_1.tool)(async (input) => {
32
+ const { command, cwd, env, timeout = context.defaultTimeout || 30000, input: stdinInput, } = input;
33
+ const { onStdout = (data) => { }, onStderr = (data) => { } } = input;
34
+ try {
35
+ // Prepare command options
36
+ const options = {
37
+ cwd: cwd || path_1.default.resolve(context.workingDirectory),
38
+ env: { ...context.environmentVariables, ...env },
39
+ timeout,
40
+ input: stdinInput,
41
+ onStdout,
42
+ onStderr,
43
+ };
44
+ // Execute the command
45
+ const result = await context.bashOperator.executeCommand(command, options);
46
+ // Get current working directory
47
+ const currentDir = await context.bashOperator.getCurrentDirectory();
48
+ return new utils_1.ToolResult({
49
+ success: result.success,
50
+ data: {
51
+ command,
52
+ exit_code: result.exitCode,
53
+ stdout: result.stdout,
54
+ stderr: result.stderr,
55
+ working_directory: currentDir,
56
+ },
57
+ executionTime: result.executionTime,
58
+ });
59
+ }
60
+ catch (error) {
61
+ return (0, utils_1.handleToolError)(error, "Bash command execution", "execution", {
62
+ command,
63
+ exit_code: null,
64
+ stdout: "",
65
+ stderr: error instanceof Error ? error.message : String(error),
66
+ working_directory: path_1.default.resolve(context.workingDirectory || ""),
67
+ });
68
+ }
69
+ }, {
70
+ name: "BashTool",
71
+ description: "Execute bash commands with support for different execution environments",
72
+ schema: bashToolSchema,
73
+ getDisplay: ({ name, input }) => {
74
+ return `> Using ${name} to execute command: ${input.command}`;
75
+ },
76
+ });
77
+ }
78
+ // Multi-command execution tool
79
+ const multiCommandSchema = v4_1.z.object({
80
+ commands: v4_1.z
81
+ .array(v4_1.z.string())
82
+ .describe("Array of bash commands to execute in sequence"),
83
+ cwd: v4_1.z
84
+ .string()
85
+ .optional()
86
+ .describe("Working directory for all commands (optional)"),
87
+ env: v4_1.z
88
+ .record(v4_1.z.string(), v4_1.z.string())
89
+ .optional()
90
+ .describe("Environment variables to set (optional)"),
91
+ timeout: v4_1.z
92
+ .number()
93
+ .optional()
94
+ .describe("Timeout in milliseconds per command (default: 30000)"),
95
+ continue_on_error: v4_1.z
96
+ .boolean()
97
+ .optional()
98
+ .describe("Continue executing remaining commands if one fails (default: false)"),
99
+ });
100
+ function createMultiCommandTool(context) {
101
+ return (0, utils_1.tool)(async (input) => {
102
+ const { commands, cwd, env, timeout = context.defaultTimeout || 30000, continue_on_error = false, } = input;
103
+ const { onStdout = (data) => { }, onStderr = (data) => { } } = input;
104
+ const startTime = Date.now();
105
+ const results = [];
106
+ let successfulCommands = 0;
107
+ let failedCommands = 0;
108
+ try {
109
+ // Prepare command options
110
+ const options = {
111
+ cwd: cwd || path_1.default.resolve(context.workingDirectory),
112
+ env: {
113
+ ...context.environmentVariables,
114
+ ...env,
115
+ CONTINUE_ON_ERROR: continue_on_error ? "1" : "0",
116
+ },
117
+ timeout,
118
+ onStdout,
119
+ onStderr,
120
+ };
121
+ // Execute commands in sequence
122
+ for (let i = 0; i < commands.length; i++) {
123
+ const command = commands[i];
124
+ try {
125
+ const result = await context.bashOperator.executeCommand(command, options);
126
+ results.push({
127
+ command,
128
+ success: result.success,
129
+ exit_code: result.exitCode,
130
+ stdout: result.stdout,
131
+ stderr: result.stderr,
132
+ execution_time: result.executionTime,
133
+ });
134
+ if (result.success) {
135
+ successfulCommands++;
136
+ }
137
+ else {
138
+ failedCommands++;
139
+ // Stop on first failure unless continue_on_error is true
140
+ if (!continue_on_error) {
141
+ break;
142
+ }
143
+ }
144
+ }
145
+ catch (error) {
146
+ failedCommands++;
147
+ results.push({
148
+ command,
149
+ success: false,
150
+ exit_code: null,
151
+ stdout: "",
152
+ stderr: error instanceof Error ? error.message : String(error),
153
+ execution_time: 0,
154
+ });
155
+ if (!continue_on_error) {
156
+ break;
157
+ }
158
+ }
159
+ }
160
+ const currentDir = await context.bashOperator.getCurrentDirectory();
161
+ return new utils_1.ToolResult({
162
+ success: failedCommands === 0,
163
+ data: {
164
+ commands,
165
+ results,
166
+ successful_commands: successfulCommands,
167
+ failed_commands: failedCommands,
168
+ working_directory: currentDir,
169
+ },
170
+ executionTime: Date.now() - startTime,
171
+ });
172
+ }
173
+ catch (error) {
174
+ return (0, utils_1.handleToolError)(error, "MultiCommandTool", "execution", {
175
+ commands,
176
+ results,
177
+ successful_commands: successfulCommands,
178
+ failed_commands: failedCommands + 1,
179
+ working_directory: path_1.default.resolve(context.workingDirectory || ""),
180
+ });
181
+ }
182
+ }, {
183
+ name: "MultiCommandTool",
184
+ description: "Execute multiple bash commands in sequence with support for different execution environments",
185
+ schema: multiCommandSchema,
186
+ getDisplay: ({ name, input }) => {
187
+ return `> Using ${name} to execute ${input.commands.length} commands`;
188
+ },
189
+ });
190
+ }
191
+ //# sourceMappingURL=bash-tool.js.map