@agentuity/cli 0.0.49 → 0.0.51

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 (319) hide show
  1. package/AGENTS.md +17 -4
  2. package/README.md +26 -8
  3. package/dist/cli.d.ts.map +1 -1
  4. package/dist/cmd/{capabilities → ai/capabilities}/index.d.ts +1 -1
  5. package/dist/cmd/ai/capabilities/index.d.ts.map +1 -0
  6. package/dist/cmd/{capabilities → ai/capabilities}/show.d.ts +1 -1
  7. package/dist/cmd/ai/capabilities/show.d.ts.map +1 -0
  8. package/dist/cmd/ai/index.d.ts.map +1 -0
  9. package/dist/cmd/ai/prompt/index.d.ts +4 -0
  10. package/dist/cmd/ai/prompt/index.d.ts.map +1 -0
  11. package/dist/cmd/ai/prompt/llm.d.ts +3 -0
  12. package/dist/cmd/ai/prompt/llm.d.ts.map +1 -0
  13. package/dist/cmd/ai/schema/index.d.ts +4 -0
  14. package/dist/cmd/ai/schema/index.d.ts.map +1 -0
  15. package/dist/cmd/ai/schema/show.d.ts +3 -0
  16. package/dist/cmd/ai/schema/show.d.ts.map +1 -0
  17. package/dist/cmd/auth/ssh/list.d.ts.map +1 -1
  18. package/dist/cmd/{bundle → build}/ast.d.ts +3 -1
  19. package/dist/cmd/build/ast.d.ts.map +1 -0
  20. package/dist/cmd/{bundle → build}/ast.test.d.ts.map +1 -1
  21. package/dist/cmd/build/bundler.d.ts.map +1 -0
  22. package/dist/cmd/build/file.d.ts.map +1 -0
  23. package/dist/cmd/build/fix-duplicate-exports.d.ts.map +1 -0
  24. package/dist/cmd/build/fix-duplicate-exports.test.d.ts.map +1 -0
  25. package/dist/cmd/build/index.d.ts.map +1 -0
  26. package/dist/cmd/build/patch/_util.d.ts.map +1 -0
  27. package/dist/cmd/build/patch/aisdk.d.ts.map +1 -0
  28. package/dist/cmd/build/patch/index.d.ts.map +1 -0
  29. package/dist/cmd/build/patch/llm.d.ts.map +1 -0
  30. package/dist/cmd/build/plugin.d.ts.map +1 -0
  31. package/dist/cmd/cloud/agents/index.d.ts +3 -0
  32. package/dist/cmd/cloud/agents/index.d.ts.map +1 -0
  33. package/dist/cmd/cloud/deployment/list.d.ts.map +1 -1
  34. package/dist/cmd/cloud/env/delete.d.ts +2 -0
  35. package/dist/cmd/cloud/env/delete.d.ts.map +1 -0
  36. package/dist/cmd/cloud/env/get.d.ts +2 -0
  37. package/dist/cmd/cloud/env/get.d.ts.map +1 -0
  38. package/dist/cmd/cloud/env/import.d.ts +2 -0
  39. package/dist/cmd/cloud/env/import.d.ts.map +1 -0
  40. package/dist/cmd/cloud/env/index.d.ts +3 -0
  41. package/dist/cmd/cloud/env/index.d.ts.map +1 -0
  42. package/dist/cmd/cloud/env/list.d.ts +2 -0
  43. package/dist/cmd/cloud/env/list.d.ts.map +1 -0
  44. package/dist/cmd/cloud/env/pull.d.ts +2 -0
  45. package/dist/cmd/cloud/env/pull.d.ts.map +1 -0
  46. package/dist/cmd/cloud/env/push.d.ts +2 -0
  47. package/dist/cmd/cloud/env/push.d.ts.map +1 -0
  48. package/dist/cmd/cloud/env/set.d.ts +2 -0
  49. package/dist/cmd/cloud/env/set.d.ts.map +1 -0
  50. package/dist/cmd/cloud/index.d.ts.map +1 -1
  51. package/dist/cmd/cloud/keyvalue/create-namespace.d.ts +3 -0
  52. package/dist/cmd/cloud/keyvalue/create-namespace.d.ts.map +1 -0
  53. package/dist/cmd/cloud/keyvalue/delete-namespace.d.ts +3 -0
  54. package/dist/cmd/cloud/keyvalue/delete-namespace.d.ts.map +1 -0
  55. package/dist/cmd/cloud/keyvalue/delete.d.ts +3 -0
  56. package/dist/cmd/cloud/keyvalue/delete.d.ts.map +1 -0
  57. package/dist/cmd/cloud/keyvalue/get.d.ts +3 -0
  58. package/dist/cmd/cloud/keyvalue/get.d.ts.map +1 -0
  59. package/dist/cmd/cloud/keyvalue/index.d.ts +3 -0
  60. package/dist/cmd/cloud/keyvalue/index.d.ts.map +1 -0
  61. package/dist/cmd/cloud/keyvalue/keys.d.ts +3 -0
  62. package/dist/cmd/cloud/keyvalue/keys.d.ts.map +1 -0
  63. package/dist/cmd/cloud/keyvalue/list-namespaces.d.ts +3 -0
  64. package/dist/cmd/cloud/keyvalue/list-namespaces.d.ts.map +1 -0
  65. package/dist/cmd/cloud/keyvalue/repl.d.ts +3 -0
  66. package/dist/cmd/cloud/keyvalue/repl.d.ts.map +1 -0
  67. package/dist/cmd/cloud/keyvalue/search.d.ts +3 -0
  68. package/dist/cmd/cloud/keyvalue/search.d.ts.map +1 -0
  69. package/dist/cmd/cloud/keyvalue/set.d.ts +3 -0
  70. package/dist/cmd/cloud/keyvalue/set.d.ts.map +1 -0
  71. package/dist/cmd/cloud/keyvalue/stats.d.ts +3 -0
  72. package/dist/cmd/cloud/keyvalue/stats.d.ts.map +1 -0
  73. package/dist/cmd/{kv → cloud/keyvalue}/util.d.ts +1 -1
  74. package/dist/cmd/cloud/keyvalue/util.d.ts.map +1 -0
  75. package/dist/cmd/cloud/objectstore/delete-bucket.d.ts +3 -0
  76. package/dist/cmd/cloud/objectstore/delete-bucket.d.ts.map +1 -0
  77. package/dist/cmd/cloud/objectstore/delete.d.ts +3 -0
  78. package/dist/cmd/cloud/objectstore/delete.d.ts.map +1 -0
  79. package/dist/cmd/cloud/objectstore/get.d.ts +3 -0
  80. package/dist/cmd/cloud/objectstore/get.d.ts.map +1 -0
  81. package/dist/cmd/cloud/objectstore/index.d.ts +3 -0
  82. package/dist/cmd/cloud/objectstore/index.d.ts.map +1 -0
  83. package/dist/cmd/cloud/objectstore/list-buckets.d.ts +3 -0
  84. package/dist/cmd/cloud/objectstore/list-buckets.d.ts.map +1 -0
  85. package/dist/cmd/cloud/objectstore/list-keys.d.ts +3 -0
  86. package/dist/cmd/cloud/objectstore/list-keys.d.ts.map +1 -0
  87. package/dist/cmd/cloud/objectstore/put.d.ts +3 -0
  88. package/dist/cmd/cloud/objectstore/put.d.ts.map +1 -0
  89. package/dist/cmd/cloud/objectstore/repl.d.ts +3 -0
  90. package/dist/cmd/cloud/objectstore/repl.d.ts.map +1 -0
  91. package/dist/cmd/cloud/objectstore/url.d.ts +3 -0
  92. package/dist/cmd/cloud/objectstore/url.d.ts.map +1 -0
  93. package/dist/cmd/{objectstore → cloud/objectstore}/util.d.ts +1 -1
  94. package/dist/cmd/cloud/objectstore/util.d.ts.map +1 -0
  95. package/dist/cmd/cloud/secret/delete.d.ts +2 -0
  96. package/dist/cmd/cloud/secret/delete.d.ts.map +1 -0
  97. package/dist/cmd/cloud/secret/get.d.ts +2 -0
  98. package/dist/cmd/cloud/secret/get.d.ts.map +1 -0
  99. package/dist/cmd/cloud/secret/import.d.ts +2 -0
  100. package/dist/cmd/cloud/secret/import.d.ts.map +1 -0
  101. package/dist/cmd/cloud/secret/index.d.ts +3 -0
  102. package/dist/cmd/cloud/secret/index.d.ts.map +1 -0
  103. package/dist/cmd/cloud/secret/list.d.ts +2 -0
  104. package/dist/cmd/cloud/secret/list.d.ts.map +1 -0
  105. package/dist/cmd/cloud/secret/pull.d.ts +2 -0
  106. package/dist/cmd/cloud/secret/pull.d.ts.map +1 -0
  107. package/dist/cmd/cloud/secret/push.d.ts +2 -0
  108. package/dist/cmd/cloud/secret/push.d.ts.map +1 -0
  109. package/dist/cmd/cloud/secret/set.d.ts +2 -0
  110. package/dist/cmd/cloud/secret/set.d.ts.map +1 -0
  111. package/dist/cmd/cloud/session/get.d.ts +2 -0
  112. package/dist/cmd/cloud/session/get.d.ts.map +1 -0
  113. package/dist/cmd/cloud/session/index.d.ts +2 -0
  114. package/dist/cmd/cloud/session/index.d.ts.map +1 -0
  115. package/dist/cmd/cloud/session/list.d.ts +2 -0
  116. package/dist/cmd/cloud/session/list.d.ts.map +1 -0
  117. package/dist/cmd/cloud/session/logs.d.ts +2 -0
  118. package/dist/cmd/cloud/session/logs.d.ts.map +1 -0
  119. package/dist/cmd/dev/agents.d.ts +2 -0
  120. package/dist/cmd/dev/agents.d.ts.map +1 -0
  121. package/dist/cmd/dev/index.d.ts.map +1 -1
  122. package/dist/cmd/dev/sync.d.ts +12 -0
  123. package/dist/cmd/dev/sync.d.ts.map +1 -0
  124. package/dist/cmd/profile/index.d.ts.map +1 -1
  125. package/dist/repl.d.ts +2 -6
  126. package/dist/repl.d.ts.map +1 -1
  127. package/dist/tui.d.ts +24 -0
  128. package/dist/tui.d.ts.map +1 -1
  129. package/dist/types.d.ts +12 -0
  130. package/dist/types.d.ts.map +1 -1
  131. package/dist/utils/format.d.ts +9 -0
  132. package/dist/utils/format.d.ts.map +1 -0
  133. package/package.json +6 -3
  134. package/src/cli.ts +13 -6
  135. package/src/cmd/{capabilities → ai/capabilities}/index.ts +2 -2
  136. package/src/cmd/{capabilities → ai/capabilities}/show.ts +6 -6
  137. package/src/cmd/ai/index.ts +11 -0
  138. package/src/cmd/{prompt → ai/prompt}/index.ts +2 -2
  139. package/src/cmd/{prompt → ai/prompt}/llm.ts +6 -6
  140. package/src/cmd/{schema → ai/schema}/index.ts +2 -2
  141. package/src/cmd/{schema → ai/schema}/show.ts +3 -3
  142. package/src/cmd/auth/ssh/list.ts +10 -16
  143. package/src/cmd/{bundle → build}/ast.test.ts +2 -2
  144. package/src/cmd/{bundle → build}/ast.ts +85 -17
  145. package/src/cmd/build/index.ts +89 -0
  146. package/src/cmd/{bundle → build}/plugin.ts +24 -2
  147. package/src/cmd/cloud/agents/index.ts +148 -0
  148. package/src/cmd/cloud/deploy.ts +1 -1
  149. package/src/cmd/cloud/deployment/list.ts +16 -22
  150. package/src/cmd/{env → cloud/env}/delete.ts +4 -4
  151. package/src/cmd/{env → cloud/env}/get.ts +5 -5
  152. package/src/cmd/{env → cloud/env}/import.ts +4 -4
  153. package/src/cmd/{env → cloud/env}/index.ts +2 -1
  154. package/src/cmd/{env → cloud/env}/list.ts +4 -4
  155. package/src/cmd/{env → cloud/env}/pull.ts +4 -4
  156. package/src/cmd/{env → cloud/env}/push.ts +4 -4
  157. package/src/cmd/{env → cloud/env}/set.ts +4 -4
  158. package/src/cmd/cloud/index.ts +12 -0
  159. package/src/cmd/{kv → cloud/keyvalue}/create-namespace.ts +3 -3
  160. package/src/cmd/{kv → cloud/keyvalue}/delete-namespace.ts +4 -4
  161. package/src/cmd/{kv → cloud/keyvalue}/delete.ts +3 -3
  162. package/src/cmd/{kv → cloud/keyvalue}/get.ts +4 -4
  163. package/src/cmd/{kv → cloud/keyvalue}/index.ts +2 -1
  164. package/src/cmd/{kv → cloud/keyvalue}/keys.ts +3 -3
  165. package/src/cmd/{kv → cloud/keyvalue}/list-namespaces.ts +3 -3
  166. package/src/cmd/{kv → cloud/keyvalue}/repl.ts +6 -6
  167. package/src/cmd/{kv → cloud/keyvalue}/search.ts +3 -3
  168. package/src/cmd/{kv → cloud/keyvalue}/set.ts +4 -4
  169. package/src/cmd/{kv → cloud/keyvalue}/stats.ts +3 -3
  170. package/src/cmd/{kv → cloud/keyvalue}/util.ts +4 -4
  171. package/src/cmd/{objectstore → cloud/objectstore}/delete-bucket.ts +3 -3
  172. package/src/cmd/{objectstore → cloud/objectstore}/delete.ts +3 -3
  173. package/src/cmd/{objectstore → cloud/objectstore}/get.ts +4 -4
  174. package/src/cmd/{objectstore → cloud/objectstore}/index.ts +2 -1
  175. package/src/cmd/{objectstore → cloud/objectstore}/list-buckets.ts +3 -3
  176. package/src/cmd/{objectstore → cloud/objectstore}/list-keys.ts +3 -3
  177. package/src/cmd/{objectstore → cloud/objectstore}/put.ts +4 -4
  178. package/src/cmd/{objectstore → cloud/objectstore}/repl.ts +6 -6
  179. package/src/cmd/{objectstore → cloud/objectstore}/url.ts +3 -3
  180. package/src/cmd/{objectstore → cloud/objectstore}/util.ts +3 -3
  181. package/src/cmd/{secret → cloud/secret}/delete.ts +4 -4
  182. package/src/cmd/{secret → cloud/secret}/get.ts +5 -5
  183. package/src/cmd/{secret → cloud/secret}/import.ts +4 -4
  184. package/src/cmd/{secret → cloud/secret}/index.ts +2 -1
  185. package/src/cmd/{secret → cloud/secret}/list.ts +4 -4
  186. package/src/cmd/{secret → cloud/secret}/pull.ts +4 -4
  187. package/src/cmd/{secret → cloud/secret}/push.ts +4 -4
  188. package/src/cmd/{secret → cloud/secret}/set.ts +4 -4
  189. package/src/cmd/cloud/session/get.ts +164 -0
  190. package/src/cmd/cloud/session/index.ts +11 -0
  191. package/src/cmd/cloud/session/list.ts +145 -0
  192. package/src/cmd/cloud/session/logs.ts +68 -0
  193. package/src/cmd/dev/agents.ts +122 -0
  194. package/src/cmd/dev/index.ts +103 -9
  195. package/src/cmd/dev/sync.ts +414 -0
  196. package/src/cmd/profile/index.ts +1 -0
  197. package/src/cmd/project/create.ts +1 -1
  198. package/src/cmd/project/index.ts +1 -1
  199. package/src/cmd/project/list.ts +1 -1
  200. package/src/cmd/project/show.ts +1 -1
  201. package/src/repl.ts +2 -12
  202. package/src/tui.ts +94 -0
  203. package/src/types.ts +13 -10
  204. package/src/utils/format.ts +17 -0
  205. package/dist/cmd/bundle/ast.d.ts.map +0 -1
  206. package/dist/cmd/bundle/bundler.d.ts.map +0 -1
  207. package/dist/cmd/bundle/file.d.ts.map +0 -1
  208. package/dist/cmd/bundle/fix-duplicate-exports.d.ts.map +0 -1
  209. package/dist/cmd/bundle/fix-duplicate-exports.test.d.ts.map +0 -1
  210. package/dist/cmd/bundle/index.d.ts.map +0 -1
  211. package/dist/cmd/bundle/patch/_util.d.ts.map +0 -1
  212. package/dist/cmd/bundle/patch/aisdk.d.ts.map +0 -1
  213. package/dist/cmd/bundle/patch/index.d.ts.map +0 -1
  214. package/dist/cmd/bundle/patch/llm.d.ts.map +0 -1
  215. package/dist/cmd/bundle/plugin.d.ts.map +0 -1
  216. package/dist/cmd/capabilities/index.d.ts.map +0 -1
  217. package/dist/cmd/capabilities/show.d.ts.map +0 -1
  218. package/dist/cmd/env/delete.d.ts +0 -2
  219. package/dist/cmd/env/delete.d.ts.map +0 -1
  220. package/dist/cmd/env/get.d.ts +0 -2
  221. package/dist/cmd/env/get.d.ts.map +0 -1
  222. package/dist/cmd/env/import.d.ts +0 -2
  223. package/dist/cmd/env/import.d.ts.map +0 -1
  224. package/dist/cmd/env/index.d.ts.map +0 -1
  225. package/dist/cmd/env/list.d.ts +0 -2
  226. package/dist/cmd/env/list.d.ts.map +0 -1
  227. package/dist/cmd/env/pull.d.ts +0 -2
  228. package/dist/cmd/env/pull.d.ts.map +0 -1
  229. package/dist/cmd/env/push.d.ts +0 -2
  230. package/dist/cmd/env/push.d.ts.map +0 -1
  231. package/dist/cmd/env/set.d.ts +0 -2
  232. package/dist/cmd/env/set.d.ts.map +0 -1
  233. package/dist/cmd/kv/create-namespace.d.ts +0 -3
  234. package/dist/cmd/kv/create-namespace.d.ts.map +0 -1
  235. package/dist/cmd/kv/delete-namespace.d.ts +0 -3
  236. package/dist/cmd/kv/delete-namespace.d.ts.map +0 -1
  237. package/dist/cmd/kv/delete.d.ts +0 -3
  238. package/dist/cmd/kv/delete.d.ts.map +0 -1
  239. package/dist/cmd/kv/get.d.ts +0 -3
  240. package/dist/cmd/kv/get.d.ts.map +0 -1
  241. package/dist/cmd/kv/index.d.ts +0 -2
  242. package/dist/cmd/kv/index.d.ts.map +0 -1
  243. package/dist/cmd/kv/keys.d.ts +0 -3
  244. package/dist/cmd/kv/keys.d.ts.map +0 -1
  245. package/dist/cmd/kv/list-namespaces.d.ts +0 -3
  246. package/dist/cmd/kv/list-namespaces.d.ts.map +0 -1
  247. package/dist/cmd/kv/repl.d.ts +0 -3
  248. package/dist/cmd/kv/repl.d.ts.map +0 -1
  249. package/dist/cmd/kv/search.d.ts +0 -3
  250. package/dist/cmd/kv/search.d.ts.map +0 -1
  251. package/dist/cmd/kv/set.d.ts +0 -3
  252. package/dist/cmd/kv/set.d.ts.map +0 -1
  253. package/dist/cmd/kv/stats.d.ts +0 -3
  254. package/dist/cmd/kv/stats.d.ts.map +0 -1
  255. package/dist/cmd/kv/util.d.ts.map +0 -1
  256. package/dist/cmd/objectstore/delete-bucket.d.ts +0 -3
  257. package/dist/cmd/objectstore/delete-bucket.d.ts.map +0 -1
  258. package/dist/cmd/objectstore/delete.d.ts +0 -3
  259. package/dist/cmd/objectstore/delete.d.ts.map +0 -1
  260. package/dist/cmd/objectstore/get.d.ts +0 -3
  261. package/dist/cmd/objectstore/get.d.ts.map +0 -1
  262. package/dist/cmd/objectstore/index.d.ts +0 -2
  263. package/dist/cmd/objectstore/index.d.ts.map +0 -1
  264. package/dist/cmd/objectstore/list-buckets.d.ts +0 -3
  265. package/dist/cmd/objectstore/list-buckets.d.ts.map +0 -1
  266. package/dist/cmd/objectstore/list-keys.d.ts +0 -3
  267. package/dist/cmd/objectstore/list-keys.d.ts.map +0 -1
  268. package/dist/cmd/objectstore/put.d.ts +0 -3
  269. package/dist/cmd/objectstore/put.d.ts.map +0 -1
  270. package/dist/cmd/objectstore/repl.d.ts +0 -3
  271. package/dist/cmd/objectstore/repl.d.ts.map +0 -1
  272. package/dist/cmd/objectstore/url.d.ts +0 -3
  273. package/dist/cmd/objectstore/url.d.ts.map +0 -1
  274. package/dist/cmd/objectstore/util.d.ts.map +0 -1
  275. package/dist/cmd/prompt/index.d.ts +0 -4
  276. package/dist/cmd/prompt/index.d.ts.map +0 -1
  277. package/dist/cmd/prompt/llm.d.ts +0 -3
  278. package/dist/cmd/prompt/llm.d.ts.map +0 -1
  279. package/dist/cmd/schema/index.d.ts +0 -4
  280. package/dist/cmd/schema/index.d.ts.map +0 -1
  281. package/dist/cmd/schema/show.d.ts +0 -3
  282. package/dist/cmd/schema/show.d.ts.map +0 -1
  283. package/dist/cmd/secret/delete.d.ts +0 -2
  284. package/dist/cmd/secret/delete.d.ts.map +0 -1
  285. package/dist/cmd/secret/get.d.ts +0 -2
  286. package/dist/cmd/secret/get.d.ts.map +0 -1
  287. package/dist/cmd/secret/import.d.ts +0 -2
  288. package/dist/cmd/secret/import.d.ts.map +0 -1
  289. package/dist/cmd/secret/index.d.ts +0 -2
  290. package/dist/cmd/secret/index.d.ts.map +0 -1
  291. package/dist/cmd/secret/list.d.ts +0 -2
  292. package/dist/cmd/secret/list.d.ts.map +0 -1
  293. package/dist/cmd/secret/pull.d.ts +0 -2
  294. package/dist/cmd/secret/pull.d.ts.map +0 -1
  295. package/dist/cmd/secret/push.d.ts +0 -2
  296. package/dist/cmd/secret/push.d.ts.map +0 -1
  297. package/dist/cmd/secret/set.d.ts +0 -2
  298. package/dist/cmd/secret/set.d.ts.map +0 -1
  299. package/src/cmd/bundle/index.ts +0 -58
  300. /package/dist/cmd/{bundle → ai}/index.d.ts +0 -0
  301. /package/dist/cmd/{bundle → build}/ast.test.d.ts +0 -0
  302. /package/dist/cmd/{bundle → build}/bundler.d.ts +0 -0
  303. /package/dist/cmd/{bundle → build}/file.d.ts +0 -0
  304. /package/dist/cmd/{bundle → build}/fix-duplicate-exports.d.ts +0 -0
  305. /package/dist/cmd/{bundle → build}/fix-duplicate-exports.test.d.ts +0 -0
  306. /package/dist/cmd/{env → build}/index.d.ts +0 -0
  307. /package/dist/cmd/{bundle → build}/patch/_util.d.ts +0 -0
  308. /package/dist/cmd/{bundle → build}/patch/aisdk.d.ts +0 -0
  309. /package/dist/cmd/{bundle → build}/patch/index.d.ts +0 -0
  310. /package/dist/cmd/{bundle → build}/patch/llm.d.ts +0 -0
  311. /package/dist/cmd/{bundle → build}/plugin.d.ts +0 -0
  312. /package/src/cmd/{bundle → build}/bundler.ts +0 -0
  313. /package/src/cmd/{bundle → build}/file.ts +0 -0
  314. /package/src/cmd/{bundle → build}/fix-duplicate-exports.test.ts +0 -0
  315. /package/src/cmd/{bundle → build}/fix-duplicate-exports.ts +0 -0
  316. /package/src/cmd/{bundle → build}/patch/_util.ts +0 -0
  317. /package/src/cmd/{bundle → build}/patch/aisdk.ts +0 -0
  318. /package/src/cmd/{bundle → build}/patch/index.ts +0 -0
  319. /package/src/cmd/{bundle → build}/patch/llm.ts +0 -0
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { createSubcommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createSubcommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { projectEnvUpdate } from '@agentuity/server';
5
- import { findExistingEnvFile, readEnvFile, filterAgentuitySdkKeys } from '../../env-util';
6
- import { getCommand } from '../../command-prefix';
5
+ import { findExistingEnvFile, readEnvFile, filterAgentuitySdkKeys } from '../../../env-util';
6
+ import { getCommand } from '../../../command-prefix';
7
7
 
8
8
  const EnvPushResponseSchema = z.object({
9
9
  success: z.boolean().describe('Whether push succeeded'),
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { createSubcommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createSubcommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { projectEnvUpdate } from '@agentuity/server';
5
5
  import {
6
6
  findEnvFile,
@@ -8,8 +8,8 @@ import {
8
8
  writeEnvFile,
9
9
  filterAgentuitySdkKeys,
10
10
  looksLikeSecret,
11
- } from '../../env-util';
12
- import { getCommand } from '../../command-prefix';
11
+ } from '../../../env-util';
12
+ import { getCommand } from '../../../command-prefix';
13
13
 
14
14
  const EnvSetResponseSchema = z.object({
15
15
  success: z.boolean().describe('Whether the operation succeeded'),
@@ -1,17 +1,29 @@
1
1
  import { createCommand } from '../../types';
2
2
  import { deploySubcommand } from './deploy';
3
3
  import { resourceSubcommand } from './resource';
4
+ import { sessionCommand } from './session';
4
5
  import { sshSubcommand } from './ssh';
5
6
  import { scpSubcommand } from './scp';
6
7
  import { deploymentCommand } from './deployment';
8
+ import keyvalueCommand from './keyvalue';
9
+ import agentsCommand from './agents';
10
+ import objectstoreCommand from './objectstore';
11
+ import envCommand from './env';
12
+ import secretCommand from './secret';
7
13
 
8
14
  export const command = createCommand({
9
15
  name: 'cloud',
10
16
  description: 'Cloud related commands',
11
17
  tags: ['slow', 'requires-auth'],
12
18
  subcommands: [
19
+ keyvalueCommand,
20
+ agentsCommand,
21
+ objectstoreCommand,
22
+ envCommand,
23
+ secretCommand,
13
24
  deploySubcommand,
14
25
  resourceSubcommand,
26
+ sessionCommand,
15
27
  sshSubcommand,
16
28
  scpSubcommand,
17
29
  deploymentCommand,
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  export const createNamespaceSubcommand = createCommand({
8
8
  name: 'create-namespace',
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import { ErrorCode } from '../../errors';
4
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import { ErrorCode } from '../../../errors';
4
+ import * as tui from '../../../tui';
5
5
  import { createStorageAdapter } from './util';
6
- import { getCommand } from '../../command-prefix';
6
+ import { getCommand } from '../../../command-prefix';
7
7
 
8
8
  export const deleteNamespaceSubcommand = createCommand({
9
9
  name: 'delete-namespace',
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  const KVDeleteResponseSchema = z.object({
8
8
  success: z.boolean().describe('Whether the operation succeeded'),
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
4
- import { tryParseJSON } from '../../json';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
+ import { tryParseJSON } from '../../../json';
5
5
  import { createStorageAdapter } from './util';
6
- import { getCommand } from '../../command-prefix';
6
+ import { getCommand } from '../../../command-prefix';
7
7
 
8
8
  const KVGetResponseSchema = z.object({
9
9
  exists: z.boolean().describe('Whether the key exists'),
@@ -1,4 +1,4 @@
1
- import { createCommand } from '../../types';
1
+ import { createCommand } from '../../../types';
2
2
  import { createNamespaceSubcommand } from './create-namespace';
3
3
  import { deleteSubcommand } from './delete';
4
4
  import { deleteNamespaceSubcommand } from './delete-namespace';
@@ -29,3 +29,4 @@ export const command = createCommand({
29
29
  ],
30
30
  requires: { auth: true, project: true },
31
31
  });
32
+ export default command;
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  const KVKeysResponseSchema = z.object({
8
8
  namespace: z.string().describe('Namespace name'),
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  const NamespaceListResponseSchema = z.array(z.string().describe('Namespace name'));
8
8
 
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import { createRepl, type ReplCommand } from '../../repl';
4
- import { showBanner } from '../../banner';
5
- import * as tui from '../../tui';
6
- import { isPossiblyJSON, tryParseJSON } from '../../json';
2
+ import { createCommand } from '../../../types';
3
+ import { createRepl, type ReplCommand } from '../../../repl';
4
+ import { showBanner } from '../../../banner';
5
+ import * as tui from '../../../tui';
6
+ import { isPossiblyJSON, tryParseJSON } from '../../../json';
7
7
  import { createStorageAdapter } from './util';
8
- import { getCommand } from '../../command-prefix';
8
+ import { getCommand } from '../../../command-prefix';
9
9
 
10
10
  export const replSubcommand = createCommand({
11
11
  name: 'repl',
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  const KVSearchResponseSchema = z.object({
8
8
  namespace: z.string().describe('Namespace name'),
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
4
- import { isPossiblyJSON } from '../../json';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
+ import { isPossiblyJSON } from '../../../json';
5
5
  import { createStorageAdapter } from './util';
6
- import { getCommand } from '../../command-prefix';
6
+ import { getCommand } from '../../../command-prefix';
7
7
 
8
8
  const KVSetResponseSchema = z.object({
9
9
  success: z.boolean().describe('Whether the operation succeeded'),
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  const KVStatsResponseSchema = z.union([
8
8
  z.object({
@@ -1,9 +1,9 @@
1
1
  import { KeyValueStorageService, Logger } from '@agentuity/core';
2
2
  import { createServerFetchAdapter } from '@agentuity/server';
3
- import { loadProjectSDKKey } from '../../config';
4
- import { ErrorCode } from '../../errors';
5
- import type { Config } from '../../types';
6
- import * as tui from '../../tui';
3
+ import { loadProjectSDKKey } from '../../../config';
4
+ import { ErrorCode } from '../../../errors';
5
+ import type { Config } from '../../../types';
6
+ import * as tui from '../../../tui';
7
7
 
8
8
  export async function createStorageAdapter(ctx: {
9
9
  logger: Logger;
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  export const deleteBucketSubcommand = createCommand({
8
8
  name: 'delete-bucket',
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  const ObjectStoreDeleteResponseSchema = z.object({
8
8
  success: z.boolean().describe('Whether the operation succeeded'),
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
4
- import { tryParseJSON } from '../../json';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
+ import { tryParseJSON } from '../../../json';
5
5
  import { createStorageAdapter } from './util';
6
- import { getCommand } from '../../command-prefix';
6
+ import { getCommand } from '../../../command-prefix';
7
7
 
8
8
  const ObjectGetResponseSchema = z.object({
9
9
  exists: z.boolean().describe('Whether the object exists'),
@@ -1,4 +1,4 @@
1
- import { createCommand } from '../../types';
1
+ import { createCommand } from '../../../types';
2
2
  import { deleteSubcommand } from './delete';
3
3
  import { deleteBucketSubcommand } from './delete-bucket';
4
4
  import { getSubcommand } from './get';
@@ -25,3 +25,4 @@ export const command = createCommand({
25
25
  ],
26
26
  requires: { auth: true, project: true },
27
27
  });
28
+ export default command;
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  const BucketListResponseSchema = z.array(
8
8
  z.object({
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  export const listKeysSubcommand = createCommand({
8
8
  name: 'list-keys',
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
4
- import { isPossiblyJSON } from '../../json';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
+ import { isPossiblyJSON } from '../../../json';
5
5
  import { createStorageAdapter } from './util';
6
- import { getCommand } from '../../command-prefix';
6
+ import { getCommand } from '../../../command-prefix';
7
7
 
8
8
  const ObjectStorePutResponseSchema = z.object({
9
9
  success: z.boolean().describe('Whether the operation succeeded'),
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import { createRepl, type ReplCommand } from '../../repl';
4
- import { showBanner } from '../../banner';
5
- import * as tui from '../../tui';
6
- import { isPossiblyJSON, tryParseJSON } from '../../json';
2
+ import { createCommand } from '../../../types';
3
+ import { createRepl, type ReplCommand } from '../../../repl';
4
+ import { showBanner } from '../../../banner';
5
+ import * as tui from '../../../tui';
6
+ import { isPossiblyJSON, tryParseJSON } from '../../../json';
7
7
  import { createStorageAdapter } from './util';
8
- import { getCommand } from '../../command-prefix';
8
+ import { getCommand } from '../../../command-prefix';
9
9
 
10
10
  export const replSubcommand = createCommand({
11
11
  name: 'repl',
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { createCommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createCommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { createStorageAdapter } from './util';
5
- import { getCommand } from '../../command-prefix';
5
+ import { getCommand } from '../../../command-prefix';
6
6
 
7
7
  const ObjectStoreURLResponseSchema = z.object({
8
8
  success: z.boolean().describe('Whether the operation succeeded'),
@@ -1,8 +1,8 @@
1
1
  import { Logger, ObjectStorageService } from '@agentuity/core';
2
2
  import { createServerFetchAdapter } from '@agentuity/server';
3
- import { loadProjectSDKKey } from '../../config';
4
- import type { Config } from '../../types';
5
- import * as tui from '../../tui';
3
+ import { loadProjectSDKKey } from '../../../config';
4
+ import type { Config } from '../../../types';
5
+ import * as tui from '../../../tui';
6
6
 
7
7
  export async function createStorageAdapter(ctx: {
8
8
  logger: Logger;
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { createSubcommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createSubcommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { projectEnvDelete } from '@agentuity/server';
5
- import { findEnvFile, readEnvFile, writeEnvFile, filterAgentuitySdkKeys } from '../../env-util';
6
- import { getCommand } from '../../command-prefix';
5
+ import { findEnvFile, readEnvFile, writeEnvFile, filterAgentuitySdkKeys } from '../../../env-util';
6
+ import { getCommand } from '../../../command-prefix';
7
7
 
8
8
  const SecretDeleteResponseSchema = z.object({
9
9
  success: z.boolean().describe('Whether the operation succeeded'),
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
- import { createSubcommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createSubcommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { projectGet } from '@agentuity/server';
5
- import { maskSecret } from '../../env-util';
6
- import { getCommand } from '../../command-prefix';
7
- import { ErrorCode } from '../../errors';
5
+ import { maskSecret } from '../../../env-util';
6
+ import { getCommand } from '../../../command-prefix';
7
+ import { ErrorCode } from '../../../errors';
8
8
 
9
9
  const SecretGetResponseSchema = z.object({
10
10
  key: z.string().describe('Secret key name'),
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { createSubcommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createSubcommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { projectEnvUpdate } from '@agentuity/server';
5
5
  import {
6
6
  findEnvFile,
@@ -8,8 +8,8 @@ import {
8
8
  writeEnvFile,
9
9
  filterAgentuitySdkKeys,
10
10
  mergeEnvVars,
11
- } from '../../env-util';
12
- import { getCommand } from '../../command-prefix';
11
+ } from '../../../env-util';
12
+ import { getCommand } from '../../../command-prefix';
13
13
 
14
14
  const SecretImportResponseSchema = z.object({
15
15
  success: z.boolean().describe('Whether import succeeded'),
@@ -1,4 +1,4 @@
1
- import { createCommand } from '../../types';
1
+ import { createCommand } from '../../../types';
2
2
  import { pullSubcommand } from './pull';
3
3
  import { pushSubcommand } from './push';
4
4
  import { setSubcommand } from './set';
@@ -21,3 +21,4 @@ export const command = createCommand({
21
21
  importSubcommand,
22
22
  ],
23
23
  });
24
+ export default command;
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { createSubcommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createSubcommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { projectGet } from '@agentuity/server';
5
- import { maskSecret } from '../../env-util';
6
- import { getCommand } from '../../command-prefix';
5
+ import { maskSecret } from '../../../env-util';
6
+ import { getCommand } from '../../../command-prefix';
7
7
 
8
8
  const SecretListResponseSchema = z.record(z.string(), z.string().describe('Secret value'));
9
9
 
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { join } from 'node:path';
3
- import { createSubcommand } from '../../types';
4
- import * as tui from '../../tui';
3
+ import { createSubcommand } from '../../../types';
4
+ import * as tui from '../../../tui';
5
5
  import { projectGet } from '@agentuity/server';
6
6
  import {
7
7
  findEnvFile,
@@ -9,8 +9,8 @@ import {
9
9
  readEnvFile,
10
10
  writeEnvFile,
11
11
  mergeEnvVars,
12
- } from '../../env-util';
13
- import { getCommand } from '../../command-prefix';
12
+ } from '../../../env-util';
13
+ import { getCommand } from '../../../command-prefix';
14
14
 
15
15
  const SecretPullResponseSchema = z.object({
16
16
  success: z.boolean().describe('Whether pull succeeded'),
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { createSubcommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createSubcommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { projectEnvUpdate } from '@agentuity/server';
5
- import { findEnvFile, readEnvFile, filterAgentuitySdkKeys } from '../../env-util';
6
- import { getCommand } from '../../command-prefix';
5
+ import { findEnvFile, readEnvFile, filterAgentuitySdkKeys } from '../../../env-util';
6
+ import { getCommand } from '../../../command-prefix';
7
7
 
8
8
  const SecretPushResponseSchema = z.object({
9
9
  success: z.boolean().describe('Whether push succeeded'),
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { createSubcommand } from '../../types';
3
- import * as tui from '../../tui';
2
+ import { createSubcommand } from '../../../types';
3
+ import * as tui from '../../../tui';
4
4
  import { projectEnvUpdate } from '@agentuity/server';
5
- import { findEnvFile, readEnvFile, writeEnvFile, filterAgentuitySdkKeys } from '../../env-util';
6
- import { getCommand } from '../../command-prefix';
5
+ import { findEnvFile, readEnvFile, writeEnvFile, filterAgentuitySdkKeys } from '../../../env-util';
6
+ import { getCommand } from '../../../command-prefix';
7
7
 
8
8
  const SecretSetResponseSchema = z.object({
9
9
  success: z.boolean().describe('Whether the operation succeeded'),