dedalus-cli 0.0.0-stage → 0.8.0

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 (692) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +306 -2
  3. package/SKILL.md +73 -0
  4. package/api.md +340 -0
  5. package/dist/cjs/bin.d.ts +3 -0
  6. package/dist/cjs/bin.d.ts.map +1 -0
  7. package/dist/cjs/bin.js +7 -0
  8. package/dist/cjs/bin.js.map +1 -0
  9. package/dist/cjs/cli/completions.d.ts +6 -0
  10. package/dist/cjs/cli/completions.d.ts.map +1 -0
  11. package/dist/cjs/cli/completions.js +11 -0
  12. package/dist/cjs/cli/completions.js.map +1 -0
  13. package/dist/cjs/cli/credentials.d.ts +169 -0
  14. package/dist/cjs/cli/credentials.d.ts.map +1 -0
  15. package/dist/cjs/cli/credentials.js +630 -0
  16. package/dist/cjs/cli/credentials.js.map +1 -0
  17. package/dist/cjs/cli/keychain.d.ts +34 -0
  18. package/dist/cjs/cli/keychain.d.ts.map +1 -0
  19. package/dist/cjs/cli/keychain.js +246 -0
  20. package/dist/cjs/cli/keychain.js.map +1 -0
  21. package/dist/cjs/cli/list.d.ts +23 -0
  22. package/dist/cjs/cli/list.d.ts.map +1 -0
  23. package/dist/cjs/cli/list.js +32 -0
  24. package/dist/cjs/cli/list.js.map +1 -0
  25. package/dist/cjs/cli/login.d.ts +137 -0
  26. package/dist/cjs/cli/login.d.ts.map +1 -0
  27. package/dist/cjs/cli/login.js +2060 -0
  28. package/dist/cjs/cli/login.js.map +1 -0
  29. package/dist/cjs/cli/runtime.d.ts +98 -0
  30. package/dist/cjs/cli/runtime.d.ts.map +1 -0
  31. package/dist/cjs/cli/runtime.js +1356 -0
  32. package/dist/cjs/cli/runtime.js.map +1 -0
  33. package/dist/cjs/cli/toon.d.ts +6 -0
  34. package/dist/cjs/cli/toon.d.ts.map +1 -0
  35. package/dist/cjs/cli/toon.js +165 -0
  36. package/dist/cjs/cli/toon.js.map +1 -0
  37. package/dist/cjs/cli/upgrade.d.ts +28 -0
  38. package/dist/cjs/cli/upgrade.d.ts.map +1 -0
  39. package/dist/cjs/cli/upgrade.js +1191 -0
  40. package/dist/cjs/cli/upgrade.js.map +1 -0
  41. package/dist/cjs/commands/index.d.ts +47 -0
  42. package/dist/cjs/commands/index.d.ts.map +1 -0
  43. package/dist/cjs/commands/index.js +1202 -0
  44. package/dist/cjs/commands/index.js.map +1 -0
  45. package/dist/cjs/custom/browser-routing.d.ts +4 -0
  46. package/dist/cjs/custom/browser-routing.d.ts.map +1 -0
  47. package/dist/cjs/custom/browser-routing.js +51 -0
  48. package/dist/cjs/custom/browser-routing.js.map +1 -0
  49. package/dist/cjs/custom/images.d.ts +6 -0
  50. package/dist/cjs/custom/images.d.ts.map +1 -0
  51. package/dist/cjs/custom/images.js +74 -0
  52. package/dist/cjs/custom/images.js.map +1 -0
  53. package/dist/cjs/custom/machines.d.ts +20 -0
  54. package/dist/cjs/custom/machines.d.ts.map +1 -0
  55. package/dist/cjs/custom/machines.js +84 -0
  56. package/dist/cjs/custom/machines.js.map +1 -0
  57. package/dist/cjs/custom/ssh-picker.d.ts +19 -0
  58. package/dist/cjs/custom/ssh-picker.d.ts.map +1 -0
  59. package/dist/cjs/custom/ssh-picker.js +157 -0
  60. package/dist/cjs/custom/ssh-picker.js.map +1 -0
  61. package/dist/cjs/custom/ssh.d.ts +18 -0
  62. package/dist/cjs/custom/ssh.d.ts.map +1 -0
  63. package/dist/cjs/custom/ssh.js +152 -0
  64. package/dist/cjs/custom/ssh.js.map +1 -0
  65. package/dist/cjs/feedback/bundle.d.ts +41 -0
  66. package/dist/cjs/feedback/bundle.d.ts.map +1 -0
  67. package/dist/cjs/feedback/bundle.js +88 -0
  68. package/dist/cjs/feedback/bundle.js.map +1 -0
  69. package/dist/cjs/feedback/command.d.ts +6 -0
  70. package/dist/cjs/feedback/command.d.ts.map +1 -0
  71. package/dist/cjs/feedback/command.js +100 -0
  72. package/dist/cjs/feedback/command.js.map +1 -0
  73. package/dist/cjs/feedback/diagnostics.d.ts +30 -0
  74. package/dist/cjs/feedback/diagnostics.d.ts.map +1 -0
  75. package/dist/cjs/feedback/diagnostics.js +278 -0
  76. package/dist/cjs/feedback/diagnostics.js.map +1 -0
  77. package/dist/cjs/index.d.ts +4 -0
  78. package/dist/cjs/index.d.ts.map +1 -0
  79. package/dist/cjs/index.js +11 -0
  80. package/dist/cjs/index.js.map +1 -0
  81. package/dist/cjs/package.json +3 -0
  82. package/dist/cjs/sdk/api-promise.d.ts +31 -0
  83. package/dist/cjs/sdk/api-promise.d.ts.map +1 -0
  84. package/dist/cjs/sdk/api-promise.js +73 -0
  85. package/dist/cjs/sdk/api-promise.js.map +1 -0
  86. package/dist/cjs/sdk/client.d.ts +267 -0
  87. package/dist/cjs/sdk/client.d.ts.map +1 -0
  88. package/dist/cjs/sdk/client.js +962 -0
  89. package/dist/cjs/sdk/client.js.map +1 -0
  90. package/dist/cjs/sdk/core/api-promise.d.ts +3 -0
  91. package/dist/cjs/sdk/core/api-promise.d.ts.map +1 -0
  92. package/dist/cjs/sdk/core/api-promise.js +8 -0
  93. package/dist/cjs/sdk/core/api-promise.js.map +1 -0
  94. package/dist/cjs/sdk/core/error.d.ts +46 -0
  95. package/dist/cjs/sdk/core/error.d.ts.map +1 -0
  96. package/dist/cjs/sdk/core/error.js +135 -0
  97. package/dist/cjs/sdk/core/error.js.map +1 -0
  98. package/dist/cjs/sdk/core/pagination.d.ts +38 -0
  99. package/dist/cjs/sdk/core/pagination.d.ts.map +1 -0
  100. package/dist/cjs/sdk/core/pagination.js +98 -0
  101. package/dist/cjs/sdk/core/pagination.js.map +1 -0
  102. package/dist/cjs/sdk/core/resource.d.ts +2 -0
  103. package/dist/cjs/sdk/core/resource.d.ts.map +1 -0
  104. package/dist/cjs/sdk/core/resource.js +7 -0
  105. package/dist/cjs/sdk/core/resource.js.map +1 -0
  106. package/dist/cjs/sdk/core/uploads.d.ts +3 -0
  107. package/dist/cjs/sdk/core/uploads.d.ts.map +1 -0
  108. package/dist/cjs/sdk/core/uploads.js +7 -0
  109. package/dist/cjs/sdk/core/uploads.js.map +1 -0
  110. package/dist/cjs/sdk/error.d.ts +3 -0
  111. package/dist/cjs/sdk/error.d.ts.map +1 -0
  112. package/dist/cjs/sdk/error.js +20 -0
  113. package/dist/cjs/sdk/error.js.map +1 -0
  114. package/dist/cjs/sdk/helpers/images.d.ts +31 -0
  115. package/dist/cjs/sdk/helpers/images.d.ts.map +1 -0
  116. package/dist/cjs/sdk/helpers/images.js +195 -0
  117. package/dist/cjs/sdk/helpers/images.js.map +1 -0
  118. package/dist/cjs/sdk/index.d.ts +7 -0
  119. package/dist/cjs/sdk/index.d.ts.map +1 -0
  120. package/dist/cjs/sdk/index.js +29 -0
  121. package/dist/cjs/sdk/index.js.map +1 -0
  122. package/dist/cjs/sdk/internal/builtin-types.d.ts +73 -0
  123. package/dist/cjs/sdk/internal/builtin-types.d.ts.map +1 -0
  124. package/dist/cjs/sdk/internal/builtin-types.js +4 -0
  125. package/dist/cjs/sdk/internal/builtin-types.js.map +1 -0
  126. package/dist/cjs/sdk/internal/detect-platform.d.ts +15 -0
  127. package/dist/cjs/sdk/internal/detect-platform.d.ts.map +1 -0
  128. package/dist/cjs/sdk/internal/detect-platform.js +185 -0
  129. package/dist/cjs/sdk/internal/detect-platform.js.map +1 -0
  130. package/dist/cjs/sdk/internal/errors.d.ts +3 -0
  131. package/dist/cjs/sdk/internal/errors.d.ts.map +1 -0
  132. package/dist/cjs/sdk/internal/errors.js +41 -0
  133. package/dist/cjs/sdk/internal/errors.js.map +1 -0
  134. package/dist/cjs/sdk/internal/headers.d.ts +43 -0
  135. package/dist/cjs/sdk/internal/headers.d.ts.map +1 -0
  136. package/dist/cjs/sdk/internal/headers.js +142 -0
  137. package/dist/cjs/sdk/internal/headers.js.map +1 -0
  138. package/dist/cjs/sdk/internal/parse.d.ts +3 -0
  139. package/dist/cjs/sdk/internal/parse.d.ts.map +1 -0
  140. package/dist/cjs/sdk/internal/parse.js +7 -0
  141. package/dist/cjs/sdk/internal/parse.js.map +1 -0
  142. package/dist/cjs/sdk/internal/qs/formats.d.ts +7 -0
  143. package/dist/cjs/sdk/internal/qs/formats.d.ts.map +1 -0
  144. package/dist/cjs/sdk/internal/qs/formats.js +13 -0
  145. package/dist/cjs/sdk/internal/qs/formats.js.map +1 -0
  146. package/dist/cjs/sdk/internal/qs/index.d.ts +10 -0
  147. package/dist/cjs/sdk/internal/qs/index.d.ts.map +1 -0
  148. package/dist/cjs/sdk/internal/qs/index.js +14 -0
  149. package/dist/cjs/sdk/internal/qs/index.js.map +1 -0
  150. package/dist/cjs/sdk/internal/qs/stringify.d.ts +3 -0
  151. package/dist/cjs/sdk/internal/qs/stringify.d.ts.map +1 -0
  152. package/dist/cjs/sdk/internal/qs/stringify.js +278 -0
  153. package/dist/cjs/sdk/internal/qs/stringify.js.map +1 -0
  154. package/dist/cjs/sdk/internal/qs/types.d.ts +57 -0
  155. package/dist/cjs/sdk/internal/qs/types.d.ts.map +1 -0
  156. package/dist/cjs/sdk/internal/qs/types.js +3 -0
  157. package/dist/cjs/sdk/internal/qs/types.js.map +1 -0
  158. package/dist/cjs/sdk/internal/qs/utils.d.ts +15 -0
  159. package/dist/cjs/sdk/internal/qs/utils.d.ts.map +1 -0
  160. package/dist/cjs/sdk/internal/qs/utils.js +230 -0
  161. package/dist/cjs/sdk/internal/qs/utils.js.map +1 -0
  162. package/dist/cjs/sdk/internal/request-options.d.ts +33 -0
  163. package/dist/cjs/sdk/internal/request-options.d.ts.map +1 -0
  164. package/dist/cjs/sdk/internal/request-options.js +15 -0
  165. package/dist/cjs/sdk/internal/request-options.js.map +1 -0
  166. package/dist/cjs/sdk/internal/shim-types.d.ts +17 -0
  167. package/dist/cjs/sdk/internal/shim-types.d.ts.map +1 -0
  168. package/dist/cjs/sdk/internal/shim-types.js +4 -0
  169. package/dist/cjs/sdk/internal/shim-types.js.map +1 -0
  170. package/dist/cjs/sdk/internal/shims.d.ts +26 -0
  171. package/dist/cjs/sdk/internal/shims.d.ts.map +1 -0
  172. package/dist/cjs/sdk/internal/shims.js +92 -0
  173. package/dist/cjs/sdk/internal/shims.js.map +1 -0
  174. package/dist/cjs/sdk/internal/to-file.d.ts +45 -0
  175. package/dist/cjs/sdk/internal/to-file.d.ts.map +1 -0
  176. package/dist/cjs/sdk/internal/to-file.js +91 -0
  177. package/dist/cjs/sdk/internal/to-file.js.map +1 -0
  178. package/dist/cjs/sdk/internal/types.d.ts +63 -0
  179. package/dist/cjs/sdk/internal/types.d.ts.map +1 -0
  180. package/dist/cjs/sdk/internal/types.js +4 -0
  181. package/dist/cjs/sdk/internal/types.js.map +1 -0
  182. package/dist/cjs/sdk/internal/uploads.d.ts +42 -0
  183. package/dist/cjs/sdk/internal/uploads.d.ts.map +1 -0
  184. package/dist/cjs/sdk/internal/uploads.js +158 -0
  185. package/dist/cjs/sdk/internal/uploads.js.map +1 -0
  186. package/dist/cjs/sdk/internal/utils/base64.d.ts +3 -0
  187. package/dist/cjs/sdk/internal/utils/base64.d.ts.map +1 -0
  188. package/dist/cjs/sdk/internal/utils/base64.js +38 -0
  189. package/dist/cjs/sdk/internal/utils/base64.js.map +1 -0
  190. package/dist/cjs/sdk/internal/utils/body.d.ts +40 -0
  191. package/dist/cjs/sdk/internal/utils/body.d.ts.map +1 -0
  192. package/dist/cjs/sdk/internal/utils/body.js +148 -0
  193. package/dist/cjs/sdk/internal/utils/body.js.map +1 -0
  194. package/dist/cjs/sdk/internal/utils/bytes.d.ts +4 -0
  195. package/dist/cjs/sdk/internal/utils/bytes.d.ts.map +1 -0
  196. package/dist/cjs/sdk/internal/utils/bytes.js +31 -0
  197. package/dist/cjs/sdk/internal/utils/bytes.js.map +1 -0
  198. package/dist/cjs/sdk/internal/utils/env.d.ts +9 -0
  199. package/dist/cjs/sdk/internal/utils/env.d.ts.map +1 -0
  200. package/dist/cjs/sdk/internal/utils/env.js +22 -0
  201. package/dist/cjs/sdk/internal/utils/env.js.map +1 -0
  202. package/dist/cjs/sdk/internal/utils/log.d.ts +52 -0
  203. package/dist/cjs/sdk/internal/utils/log.d.ts.map +1 -0
  204. package/dist/cjs/sdk/internal/utils/log.js +413 -0
  205. package/dist/cjs/sdk/internal/utils/log.js.map +1 -0
  206. package/dist/cjs/sdk/internal/utils/path.d.ts +41 -0
  207. package/dist/cjs/sdk/internal/utils/path.d.ts.map +1 -0
  208. package/dist/cjs/sdk/internal/utils/path.js +115 -0
  209. package/dist/cjs/sdk/internal/utils/path.js.map +1 -0
  210. package/dist/cjs/sdk/internal/utils/query-string.d.ts +21 -0
  211. package/dist/cjs/sdk/internal/utils/query-string.d.ts.map +1 -0
  212. package/dist/cjs/sdk/internal/utils/query-string.js +128 -0
  213. package/dist/cjs/sdk/internal/utils/query-string.js.map +1 -0
  214. package/dist/cjs/sdk/internal/utils/query.d.ts +2 -0
  215. package/dist/cjs/sdk/internal/utils/query.d.ts.map +1 -0
  216. package/dist/cjs/sdk/internal/utils/query.js +12 -0
  217. package/dist/cjs/sdk/internal/utils/query.js.map +1 -0
  218. package/dist/cjs/sdk/internal/utils/sleep.d.ts +2 -0
  219. package/dist/cjs/sdk/internal/utils/sleep.d.ts.map +1 -0
  220. package/dist/cjs/sdk/internal/utils/sleep.js +7 -0
  221. package/dist/cjs/sdk/internal/utils/sleep.js.map +1 -0
  222. package/dist/cjs/sdk/internal/utils/uuid.d.ts +5 -0
  223. package/dist/cjs/sdk/internal/utils/uuid.d.ts.map +1 -0
  224. package/dist/cjs/sdk/internal/utils/uuid.js +19 -0
  225. package/dist/cjs/sdk/internal/utils/uuid.js.map +1 -0
  226. package/dist/cjs/sdk/internal/utils/uuid7.d.ts +6 -0
  227. package/dist/cjs/sdk/internal/utils/uuid7.d.ts.map +1 -0
  228. package/dist/cjs/sdk/internal/utils/uuid7.js +35 -0
  229. package/dist/cjs/sdk/internal/utils/uuid7.js.map +1 -0
  230. package/dist/cjs/sdk/internal/utils/values.d.ts +18 -0
  231. package/dist/cjs/sdk/internal/utils/values.d.ts.map +1 -0
  232. package/dist/cjs/sdk/internal/utils/values.js +112 -0
  233. package/dist/cjs/sdk/internal/utils/values.js.map +1 -0
  234. package/dist/cjs/sdk/internal/utils.d.ts +8 -0
  235. package/dist/cjs/sdk/internal/utils.d.ts.map +1 -0
  236. package/dist/cjs/sdk/internal/utils.js +25 -0
  237. package/dist/cjs/sdk/internal/utils.js.map +1 -0
  238. package/dist/cjs/sdk/pagination.d.ts +3 -0
  239. package/dist/cjs/sdk/pagination.d.ts.map +1 -0
  240. package/dist/cjs/sdk/pagination.js +20 -0
  241. package/dist/cjs/sdk/pagination.js.map +1 -0
  242. package/dist/cjs/sdk/resource.d.ts +6 -0
  243. package/dist/cjs/sdk/resource.d.ts.map +1 -0
  244. package/dist/cjs/sdk/resource.js +12 -0
  245. package/dist/cjs/sdk/resource.js.map +1 -0
  246. package/dist/cjs/sdk/resources/images/images.d.ts +202 -0
  247. package/dist/cjs/sdk/resources/images/images.d.ts.map +1 -0
  248. package/dist/cjs/sdk/resources/images/images.js +139 -0
  249. package/dist/cjs/sdk/resources/images/images.js.map +1 -0
  250. package/dist/cjs/sdk/resources/images/index.d.ts +5 -0
  251. package/dist/cjs/sdk/resources/images/index.d.ts.map +1 -0
  252. package/dist/cjs/sdk/resources/images/index.js +9 -0
  253. package/dist/cjs/sdk/resources/images/index.js.map +1 -0
  254. package/dist/cjs/sdk/resources/images/uploads.d.ts +50 -0
  255. package/dist/cjs/sdk/resources/images/uploads.d.ts.map +1 -0
  256. package/dist/cjs/sdk/resources/images/uploads.js +28 -0
  257. package/dist/cjs/sdk/resources/images/uploads.js.map +1 -0
  258. package/dist/cjs/sdk/resources/images.d.ts +2 -0
  259. package/dist/cjs/sdk/resources/images.d.ts.map +1 -0
  260. package/dist/cjs/sdk/resources/images.js +19 -0
  261. package/dist/cjs/sdk/resources/images.js.map +1 -0
  262. package/dist/cjs/sdk/resources/index.d.ts +6 -0
  263. package/dist/cjs/sdk/resources/index.d.ts.map +1 -0
  264. package/dist/cjs/sdk/resources/index.js +11 -0
  265. package/dist/cjs/sdk/resources/index.js.map +1 -0
  266. package/dist/cjs/sdk/resources/machines/autoresizing.d.ts +116 -0
  267. package/dist/cjs/sdk/resources/machines/autoresizing.d.ts.map +1 -0
  268. package/dist/cjs/sdk/resources/machines/autoresizing.js +46 -0
  269. package/dist/cjs/sdk/resources/machines/autoresizing.js.map +1 -0
  270. package/dist/cjs/sdk/resources/machines/executions/executions.d.ts +341 -0
  271. package/dist/cjs/sdk/resources/machines/executions/executions.d.ts.map +1 -0
  272. package/dist/cjs/sdk/resources/machines/executions/executions.js +161 -0
  273. package/dist/cjs/sdk/resources/machines/executions/executions.js.map +1 -0
  274. package/dist/cjs/sdk/resources/machines/executions/index.d.ts +5 -0
  275. package/dist/cjs/sdk/resources/machines/executions/index.d.ts.map +1 -0
  276. package/dist/cjs/sdk/resources/machines/executions/index.js +9 -0
  277. package/dist/cjs/sdk/resources/machines/executions/index.js.map +1 -0
  278. package/dist/cjs/sdk/resources/machines/executions/logs.d.ts +103 -0
  279. package/dist/cjs/sdk/resources/machines/executions/logs.d.ts.map +1 -0
  280. package/dist/cjs/sdk/resources/machines/executions/logs.js +48 -0
  281. package/dist/cjs/sdk/resources/machines/executions/logs.js.map +1 -0
  282. package/dist/cjs/sdk/resources/machines/executions.d.ts +2 -0
  283. package/dist/cjs/sdk/resources/machines/executions.d.ts.map +1 -0
  284. package/dist/cjs/sdk/resources/machines/executions.js +19 -0
  285. package/dist/cjs/sdk/resources/machines/executions.js.map +1 -0
  286. package/dist/cjs/sdk/resources/machines/index.d.ts +9 -0
  287. package/dist/cjs/sdk/resources/machines/index.d.ts.map +1 -0
  288. package/dist/cjs/sdk/resources/machines/index.js +13 -0
  289. package/dist/cjs/sdk/resources/machines/index.js.map +1 -0
  290. package/dist/cjs/sdk/resources/machines/machines.d.ts +497 -0
  291. package/dist/cjs/sdk/resources/machines/machines.d.ts.map +1 -0
  292. package/dist/cjs/sdk/resources/machines/machines.js +220 -0
  293. package/dist/cjs/sdk/resources/machines/machines.js.map +1 -0
  294. package/dist/cjs/sdk/resources/machines/ssh.d.ts +175 -0
  295. package/dist/cjs/sdk/resources/machines/ssh.d.ts.map +1 -0
  296. package/dist/cjs/sdk/resources/machines/ssh.js +89 -0
  297. package/dist/cjs/sdk/resources/machines/ssh.js.map +1 -0
  298. package/dist/cjs/sdk/resources/machines.d.ts +2 -0
  299. package/dist/cjs/sdk/resources/machines.d.ts.map +1 -0
  300. package/dist/cjs/sdk/resources/machines.js +19 -0
  301. package/dist/cjs/sdk/resources/machines.js.map +1 -0
  302. package/dist/cjs/sdk/resources/organization/autoresizing.d.ts +87 -0
  303. package/dist/cjs/sdk/resources/organization/autoresizing.d.ts.map +1 -0
  304. package/dist/cjs/sdk/resources/organization/autoresizing.js +38 -0
  305. package/dist/cjs/sdk/resources/organization/autoresizing.js.map +1 -0
  306. package/dist/cjs/sdk/resources/organization/index.d.ts +4 -0
  307. package/dist/cjs/sdk/resources/organization/index.d.ts.map +1 -0
  308. package/dist/cjs/sdk/resources/organization/index.js +9 -0
  309. package/dist/cjs/sdk/resources/organization/index.js.map +1 -0
  310. package/dist/cjs/sdk/resources/organization/organization.d.ts +10 -0
  311. package/dist/cjs/sdk/resources/organization/organization.d.ts.map +1 -0
  312. package/dist/cjs/sdk/resources/organization/organization.js +46 -0
  313. package/dist/cjs/sdk/resources/organization/organization.js.map +1 -0
  314. package/dist/cjs/sdk/resources/organization.d.ts +2 -0
  315. package/dist/cjs/sdk/resources/organization.d.ts.map +1 -0
  316. package/dist/cjs/sdk/resources/organization.js +19 -0
  317. package/dist/cjs/sdk/resources/organization.js.map +1 -0
  318. package/dist/cjs/sdk/resources.d.ts +3 -0
  319. package/dist/cjs/sdk/resources.d.ts.map +1 -0
  320. package/dist/cjs/sdk/resources.js +9 -0
  321. package/dist/cjs/sdk/resources.js.map +1 -0
  322. package/dist/cjs/sdk/uploads.d.ts +2 -0
  323. package/dist/cjs/sdk/uploads.d.ts.map +1 -0
  324. package/dist/cjs/sdk/uploads.js +7 -0
  325. package/dist/cjs/sdk/uploads.js.map +1 -0
  326. package/dist/cjs/sdk/version.d.ts +2 -0
  327. package/dist/cjs/sdk/version.d.ts.map +1 -0
  328. package/dist/cjs/sdk/version.js +6 -0
  329. package/dist/cjs/sdk/version.js.map +1 -0
  330. package/dist/esm/bin.d.ts +3 -0
  331. package/dist/esm/bin.d.ts.map +1 -0
  332. package/dist/esm/bin.js +5 -0
  333. package/dist/esm/bin.js.map +1 -0
  334. package/dist/esm/cli/completions.d.ts +6 -0
  335. package/dist/esm/cli/completions.d.ts.map +1 -0
  336. package/dist/esm/cli/completions.js +8 -0
  337. package/dist/esm/cli/completions.js.map +1 -0
  338. package/dist/esm/cli/credentials.d.ts +169 -0
  339. package/dist/esm/cli/credentials.d.ts.map +1 -0
  340. package/dist/esm/cli/credentials.js +614 -0
  341. package/dist/esm/cli/credentials.js.map +1 -0
  342. package/dist/esm/cli/keychain.d.ts +34 -0
  343. package/dist/esm/cli/keychain.d.ts.map +1 -0
  344. package/dist/esm/cli/keychain.js +237 -0
  345. package/dist/esm/cli/keychain.js.map +1 -0
  346. package/dist/esm/cli/list.d.ts +23 -0
  347. package/dist/esm/cli/list.d.ts.map +1 -0
  348. package/dist/esm/cli/list.js +27 -0
  349. package/dist/esm/cli/list.js.map +1 -0
  350. package/dist/esm/cli/login.d.ts +137 -0
  351. package/dist/esm/cli/login.d.ts.map +1 -0
  352. package/dist/esm/cli/login.js +2053 -0
  353. package/dist/esm/cli/login.js.map +1 -0
  354. package/dist/esm/cli/runtime.d.ts +98 -0
  355. package/dist/esm/cli/runtime.d.ts.map +1 -0
  356. package/dist/esm/cli/runtime.js +1345 -0
  357. package/dist/esm/cli/runtime.js.map +1 -0
  358. package/dist/esm/cli/toon.d.ts +6 -0
  359. package/dist/esm/cli/toon.d.ts.map +1 -0
  360. package/dist/esm/cli/toon.js +161 -0
  361. package/dist/esm/cli/toon.js.map +1 -0
  362. package/dist/esm/cli/upgrade.d.ts +28 -0
  363. package/dist/esm/cli/upgrade.d.ts.map +1 -0
  364. package/dist/esm/cli/upgrade.js +1186 -0
  365. package/dist/esm/cli/upgrade.js.map +1 -0
  366. package/dist/esm/commands/index.d.ts +47 -0
  367. package/dist/esm/commands/index.d.ts.map +1 -0
  368. package/dist/esm/commands/index.js +1195 -0
  369. package/dist/esm/commands/index.js.map +1 -0
  370. package/dist/esm/custom/browser-routing.d.ts +4 -0
  371. package/dist/esm/custom/browser-routing.d.ts.map +1 -0
  372. package/dist/esm/custom/browser-routing.js +47 -0
  373. package/dist/esm/custom/browser-routing.js.map +1 -0
  374. package/dist/esm/custom/images.d.ts +6 -0
  375. package/dist/esm/custom/images.d.ts.map +1 -0
  376. package/dist/esm/custom/images.js +68 -0
  377. package/dist/esm/custom/images.js.map +1 -0
  378. package/dist/esm/custom/machines.d.ts +20 -0
  379. package/dist/esm/custom/machines.d.ts.map +1 -0
  380. package/dist/esm/custom/machines.js +76 -0
  381. package/dist/esm/custom/machines.js.map +1 -0
  382. package/dist/esm/custom/ssh-picker.d.ts +19 -0
  383. package/dist/esm/custom/ssh-picker.d.ts.map +1 -0
  384. package/dist/esm/custom/ssh-picker.js +149 -0
  385. package/dist/esm/custom/ssh-picker.js.map +1 -0
  386. package/dist/esm/custom/ssh.d.ts +18 -0
  387. package/dist/esm/custom/ssh.d.ts.map +1 -0
  388. package/dist/esm/custom/ssh.js +147 -0
  389. package/dist/esm/custom/ssh.js.map +1 -0
  390. package/dist/esm/feedback/bundle.d.ts +41 -0
  391. package/dist/esm/feedback/bundle.d.ts.map +1 -0
  392. package/dist/esm/feedback/bundle.js +83 -0
  393. package/dist/esm/feedback/bundle.js.map +1 -0
  394. package/dist/esm/feedback/command.d.ts +6 -0
  395. package/dist/esm/feedback/command.d.ts.map +1 -0
  396. package/dist/esm/feedback/command.js +92 -0
  397. package/dist/esm/feedback/command.js.map +1 -0
  398. package/dist/esm/feedback/diagnostics.d.ts +30 -0
  399. package/dist/esm/feedback/diagnostics.d.ts.map +1 -0
  400. package/dist/esm/feedback/diagnostics.js +270 -0
  401. package/dist/esm/feedback/diagnostics.js.map +1 -0
  402. package/dist/esm/index.d.ts +4 -0
  403. package/dist/esm/index.d.ts.map +1 -0
  404. package/dist/esm/index.js +7 -0
  405. package/dist/esm/index.js.map +1 -0
  406. package/dist/esm/sdk/api-promise.d.ts +31 -0
  407. package/dist/esm/sdk/api-promise.d.ts.map +1 -0
  408. package/dist/esm/sdk/api-promise.js +68 -0
  409. package/dist/esm/sdk/api-promise.js.map +1 -0
  410. package/dist/esm/sdk/client.d.ts +267 -0
  411. package/dist/esm/sdk/client.d.ts.map +1 -0
  412. package/dist/esm/sdk/client.js +925 -0
  413. package/dist/esm/sdk/client.js.map +1 -0
  414. package/dist/esm/sdk/core/api-promise.d.ts +3 -0
  415. package/dist/esm/sdk/core/api-promise.d.ts.map +1 -0
  416. package/dist/esm/sdk/core/api-promise.js +3 -0
  417. package/dist/esm/sdk/core/api-promise.js.map +1 -0
  418. package/dist/esm/sdk/core/error.d.ts +46 -0
  419. package/dist/esm/sdk/core/error.d.ts.map +1 -0
  420. package/dist/esm/sdk/core/error.js +119 -0
  421. package/dist/esm/sdk/core/error.js.map +1 -0
  422. package/dist/esm/sdk/core/pagination.d.ts +38 -0
  423. package/dist/esm/sdk/core/pagination.d.ts.map +1 -0
  424. package/dist/esm/sdk/core/pagination.js +92 -0
  425. package/dist/esm/sdk/core/pagination.js.map +1 -0
  426. package/dist/esm/sdk/core/resource.d.ts +2 -0
  427. package/dist/esm/sdk/core/resource.d.ts.map +1 -0
  428. package/dist/esm/sdk/core/resource.js +3 -0
  429. package/dist/esm/sdk/core/resource.js.map +1 -0
  430. package/dist/esm/sdk/core/uploads.d.ts +3 -0
  431. package/dist/esm/sdk/core/uploads.d.ts.map +1 -0
  432. package/dist/esm/sdk/core/uploads.js +3 -0
  433. package/dist/esm/sdk/core/uploads.js.map +1 -0
  434. package/dist/esm/sdk/error.d.ts +3 -0
  435. package/dist/esm/sdk/error.d.ts.map +1 -0
  436. package/dist/esm/sdk/error.js +4 -0
  437. package/dist/esm/sdk/error.js.map +1 -0
  438. package/dist/esm/sdk/helpers/images.d.ts +31 -0
  439. package/dist/esm/sdk/helpers/images.d.ts.map +1 -0
  440. package/dist/esm/sdk/helpers/images.js +189 -0
  441. package/dist/esm/sdk/helpers/images.js.map +1 -0
  442. package/dist/esm/sdk/index.d.ts +7 -0
  443. package/dist/esm/sdk/index.d.ts.map +1 -0
  444. package/dist/esm/sdk/index.js +8 -0
  445. package/dist/esm/sdk/index.js.map +1 -0
  446. package/dist/esm/sdk/internal/builtin-types.d.ts +73 -0
  447. package/dist/esm/sdk/internal/builtin-types.d.ts.map +1 -0
  448. package/dist/esm/sdk/internal/builtin-types.js +3 -0
  449. package/dist/esm/sdk/internal/builtin-types.js.map +1 -0
  450. package/dist/esm/sdk/internal/detect-platform.d.ts +15 -0
  451. package/dist/esm/sdk/internal/detect-platform.d.ts.map +1 -0
  452. package/dist/esm/sdk/internal/detect-platform.js +180 -0
  453. package/dist/esm/sdk/internal/detect-platform.js.map +1 -0
  454. package/dist/esm/sdk/internal/errors.d.ts +3 -0
  455. package/dist/esm/sdk/internal/errors.d.ts.map +1 -0
  456. package/dist/esm/sdk/internal/errors.js +36 -0
  457. package/dist/esm/sdk/internal/errors.js.map +1 -0
  458. package/dist/esm/sdk/internal/headers.d.ts +43 -0
  459. package/dist/esm/sdk/internal/headers.d.ts.map +1 -0
  460. package/dist/esm/sdk/internal/headers.js +133 -0
  461. package/dist/esm/sdk/internal/headers.js.map +1 -0
  462. package/dist/esm/sdk/internal/parse.d.ts +3 -0
  463. package/dist/esm/sdk/internal/parse.d.ts.map +1 -0
  464. package/dist/esm/sdk/internal/parse.js +3 -0
  465. package/dist/esm/sdk/internal/parse.js.map +1 -0
  466. package/dist/esm/sdk/internal/qs/formats.d.ts +7 -0
  467. package/dist/esm/sdk/internal/qs/formats.d.ts.map +1 -0
  468. package/dist/esm/sdk/internal/qs/formats.js +9 -0
  469. package/dist/esm/sdk/internal/qs/formats.js.map +1 -0
  470. package/dist/esm/sdk/internal/qs/index.d.ts +10 -0
  471. package/dist/esm/sdk/internal/qs/index.d.ts.map +1 -0
  472. package/dist/esm/sdk/internal/qs/index.js +10 -0
  473. package/dist/esm/sdk/internal/qs/index.js.map +1 -0
  474. package/dist/esm/sdk/internal/qs/stringify.d.ts +3 -0
  475. package/dist/esm/sdk/internal/qs/stringify.d.ts.map +1 -0
  476. package/dist/esm/sdk/internal/qs/stringify.js +275 -0
  477. package/dist/esm/sdk/internal/qs/stringify.js.map +1 -0
  478. package/dist/esm/sdk/internal/qs/types.d.ts +57 -0
  479. package/dist/esm/sdk/internal/qs/types.d.ts.map +1 -0
  480. package/dist/esm/sdk/internal/qs/types.js +2 -0
  481. package/dist/esm/sdk/internal/qs/types.js.map +1 -0
  482. package/dist/esm/sdk/internal/qs/utils.d.ts +15 -0
  483. package/dist/esm/sdk/internal/qs/utils.d.ts.map +1 -0
  484. package/dist/esm/sdk/internal/qs/utils.js +217 -0
  485. package/dist/esm/sdk/internal/qs/utils.js.map +1 -0
  486. package/dist/esm/sdk/internal/request-options.d.ts +33 -0
  487. package/dist/esm/sdk/internal/request-options.d.ts.map +1 -0
  488. package/dist/esm/sdk/internal/request-options.js +11 -0
  489. package/dist/esm/sdk/internal/request-options.js.map +1 -0
  490. package/dist/esm/sdk/internal/shim-types.d.ts +17 -0
  491. package/dist/esm/sdk/internal/shim-types.d.ts.map +1 -0
  492. package/dist/esm/sdk/internal/shim-types.js +3 -0
  493. package/dist/esm/sdk/internal/shim-types.js.map +1 -0
  494. package/dist/esm/sdk/internal/shims.d.ts +26 -0
  495. package/dist/esm/sdk/internal/shims.d.ts.map +1 -0
  496. package/dist/esm/sdk/internal/shims.js +85 -0
  497. package/dist/esm/sdk/internal/shims.js.map +1 -0
  498. package/dist/esm/sdk/internal/to-file.d.ts +45 -0
  499. package/dist/esm/sdk/internal/to-file.d.ts.map +1 -0
  500. package/dist/esm/sdk/internal/to-file.js +88 -0
  501. package/dist/esm/sdk/internal/to-file.js.map +1 -0
  502. package/dist/esm/sdk/internal/types.d.ts +63 -0
  503. package/dist/esm/sdk/internal/types.d.ts.map +1 -0
  504. package/dist/esm/sdk/internal/types.js +3 -0
  505. package/dist/esm/sdk/internal/types.js.map +1 -0
  506. package/dist/esm/sdk/internal/uploads.d.ts +42 -0
  507. package/dist/esm/sdk/internal/uploads.d.ts.map +1 -0
  508. package/dist/esm/sdk/internal/uploads.js +148 -0
  509. package/dist/esm/sdk/internal/uploads.js.map +1 -0
  510. package/dist/esm/sdk/internal/utils/base64.d.ts +3 -0
  511. package/dist/esm/sdk/internal/utils/base64.d.ts.map +1 -0
  512. package/dist/esm/sdk/internal/utils/base64.js +33 -0
  513. package/dist/esm/sdk/internal/utils/base64.js.map +1 -0
  514. package/dist/esm/sdk/internal/utils/body.d.ts +40 -0
  515. package/dist/esm/sdk/internal/utils/body.d.ts.map +1 -0
  516. package/dist/esm/sdk/internal/utils/body.js +140 -0
  517. package/dist/esm/sdk/internal/utils/body.js.map +1 -0
  518. package/dist/esm/sdk/internal/utils/bytes.d.ts +4 -0
  519. package/dist/esm/sdk/internal/utils/bytes.d.ts.map +1 -0
  520. package/dist/esm/sdk/internal/utils/bytes.js +26 -0
  521. package/dist/esm/sdk/internal/utils/bytes.js.map +1 -0
  522. package/dist/esm/sdk/internal/utils/env.d.ts +9 -0
  523. package/dist/esm/sdk/internal/utils/env.d.ts.map +1 -0
  524. package/dist/esm/sdk/internal/utils/env.js +18 -0
  525. package/dist/esm/sdk/internal/utils/env.js.map +1 -0
  526. package/dist/esm/sdk/internal/utils/log.d.ts +52 -0
  527. package/dist/esm/sdk/internal/utils/log.d.ts.map +1 -0
  528. package/dist/esm/sdk/internal/utils/log.js +405 -0
  529. package/dist/esm/sdk/internal/utils/log.js.map +1 -0
  530. package/dist/esm/sdk/internal/utils/path.d.ts +41 -0
  531. package/dist/esm/sdk/internal/utils/path.d.ts.map +1 -0
  532. package/dist/esm/sdk/internal/utils/path.js +108 -0
  533. package/dist/esm/sdk/internal/utils/path.js.map +1 -0
  534. package/dist/esm/sdk/internal/utils/query-string.d.ts +21 -0
  535. package/dist/esm/sdk/internal/utils/query-string.d.ts.map +1 -0
  536. package/dist/esm/sdk/internal/utils/query-string.js +125 -0
  537. package/dist/esm/sdk/internal/utils/query-string.js.map +1 -0
  538. package/dist/esm/sdk/internal/utils/query.d.ts +2 -0
  539. package/dist/esm/sdk/internal/utils/query.d.ts.map +1 -0
  540. package/dist/esm/sdk/internal/utils/query.js +9 -0
  541. package/dist/esm/sdk/internal/utils/query.js.map +1 -0
  542. package/dist/esm/sdk/internal/utils/sleep.d.ts +2 -0
  543. package/dist/esm/sdk/internal/utils/sleep.d.ts.map +1 -0
  544. package/dist/esm/sdk/internal/utils/sleep.js +3 -0
  545. package/dist/esm/sdk/internal/utils/sleep.js.map +1 -0
  546. package/dist/esm/sdk/internal/utils/uuid.d.ts +5 -0
  547. package/dist/esm/sdk/internal/utils/uuid.d.ts.map +1 -0
  548. package/dist/esm/sdk/internal/utils/uuid.js +15 -0
  549. package/dist/esm/sdk/internal/utils/uuid.js.map +1 -0
  550. package/dist/esm/sdk/internal/utils/uuid7.d.ts +6 -0
  551. package/dist/esm/sdk/internal/utils/uuid7.d.ts.map +1 -0
  552. package/dist/esm/sdk/internal/utils/uuid7.js +31 -0
  553. package/dist/esm/sdk/internal/utils/uuid7.js.map +1 -0
  554. package/dist/esm/sdk/internal/utils/values.d.ts +18 -0
  555. package/dist/esm/sdk/internal/utils/values.d.ts.map +1 -0
  556. package/dist/esm/sdk/internal/utils/values.js +94 -0
  557. package/dist/esm/sdk/internal/utils/values.js.map +1 -0
  558. package/dist/esm/sdk/internal/utils.d.ts +8 -0
  559. package/dist/esm/sdk/internal/utils.d.ts.map +1 -0
  560. package/dist/esm/sdk/internal/utils.js +9 -0
  561. package/dist/esm/sdk/internal/utils.js.map +1 -0
  562. package/dist/esm/sdk/pagination.d.ts +3 -0
  563. package/dist/esm/sdk/pagination.d.ts.map +1 -0
  564. package/dist/esm/sdk/pagination.js +4 -0
  565. package/dist/esm/sdk/pagination.js.map +1 -0
  566. package/dist/esm/sdk/resource.d.ts +6 -0
  567. package/dist/esm/sdk/resource.d.ts.map +1 -0
  568. package/dist/esm/sdk/resource.js +8 -0
  569. package/dist/esm/sdk/resource.js.map +1 -0
  570. package/dist/esm/sdk/resources/images/images.d.ts +202 -0
  571. package/dist/esm/sdk/resources/images/images.d.ts.map +1 -0
  572. package/dist/esm/sdk/resources/images/images.js +102 -0
  573. package/dist/esm/sdk/resources/images/images.js.map +1 -0
  574. package/dist/esm/sdk/resources/images/index.d.ts +5 -0
  575. package/dist/esm/sdk/resources/images/index.d.ts.map +1 -0
  576. package/dist/esm/sdk/resources/images/index.js +4 -0
  577. package/dist/esm/sdk/resources/images/index.js.map +1 -0
  578. package/dist/esm/sdk/resources/images/uploads.d.ts +50 -0
  579. package/dist/esm/sdk/resources/images/uploads.d.ts.map +1 -0
  580. package/dist/esm/sdk/resources/images/uploads.js +24 -0
  581. package/dist/esm/sdk/resources/images/uploads.js.map +1 -0
  582. package/dist/esm/sdk/resources/images.d.ts +2 -0
  583. package/dist/esm/sdk/resources/images.d.ts.map +1 -0
  584. package/dist/esm/sdk/resources/images.js +3 -0
  585. package/dist/esm/sdk/resources/images.js.map +1 -0
  586. package/dist/esm/sdk/resources/index.d.ts +6 -0
  587. package/dist/esm/sdk/resources/index.d.ts.map +1 -0
  588. package/dist/esm/sdk/resources/index.js +5 -0
  589. package/dist/esm/sdk/resources/index.js.map +1 -0
  590. package/dist/esm/sdk/resources/machines/autoresizing.d.ts +116 -0
  591. package/dist/esm/sdk/resources/machines/autoresizing.d.ts.map +1 -0
  592. package/dist/esm/sdk/resources/machines/autoresizing.js +42 -0
  593. package/dist/esm/sdk/resources/machines/autoresizing.js.map +1 -0
  594. package/dist/esm/sdk/resources/machines/executions/executions.d.ts +341 -0
  595. package/dist/esm/sdk/resources/machines/executions/executions.d.ts.map +1 -0
  596. package/dist/esm/sdk/resources/machines/executions/executions.js +124 -0
  597. package/dist/esm/sdk/resources/machines/executions/executions.js.map +1 -0
  598. package/dist/esm/sdk/resources/machines/executions/index.d.ts +5 -0
  599. package/dist/esm/sdk/resources/machines/executions/index.d.ts.map +1 -0
  600. package/dist/esm/sdk/resources/machines/executions/index.js +4 -0
  601. package/dist/esm/sdk/resources/machines/executions/index.js.map +1 -0
  602. package/dist/esm/sdk/resources/machines/executions/logs.d.ts +103 -0
  603. package/dist/esm/sdk/resources/machines/executions/logs.d.ts.map +1 -0
  604. package/dist/esm/sdk/resources/machines/executions/logs.js +44 -0
  605. package/dist/esm/sdk/resources/machines/executions/logs.js.map +1 -0
  606. package/dist/esm/sdk/resources/machines/executions.d.ts +2 -0
  607. package/dist/esm/sdk/resources/machines/executions.d.ts.map +1 -0
  608. package/dist/esm/sdk/resources/machines/executions.js +3 -0
  609. package/dist/esm/sdk/resources/machines/executions.js.map +1 -0
  610. package/dist/esm/sdk/resources/machines/index.d.ts +9 -0
  611. package/dist/esm/sdk/resources/machines/index.d.ts.map +1 -0
  612. package/dist/esm/sdk/resources/machines/index.js +6 -0
  613. package/dist/esm/sdk/resources/machines/index.js.map +1 -0
  614. package/dist/esm/sdk/resources/machines/machines.d.ts +497 -0
  615. package/dist/esm/sdk/resources/machines/machines.d.ts.map +1 -0
  616. package/dist/esm/sdk/resources/machines/machines.js +183 -0
  617. package/dist/esm/sdk/resources/machines/machines.js.map +1 -0
  618. package/dist/esm/sdk/resources/machines/ssh.d.ts +175 -0
  619. package/dist/esm/sdk/resources/machines/ssh.d.ts.map +1 -0
  620. package/dist/esm/sdk/resources/machines/ssh.js +85 -0
  621. package/dist/esm/sdk/resources/machines/ssh.js.map +1 -0
  622. package/dist/esm/sdk/resources/machines.d.ts +2 -0
  623. package/dist/esm/sdk/resources/machines.d.ts.map +1 -0
  624. package/dist/esm/sdk/resources/machines.js +3 -0
  625. package/dist/esm/sdk/resources/machines.js.map +1 -0
  626. package/dist/esm/sdk/resources/organization/autoresizing.d.ts +87 -0
  627. package/dist/esm/sdk/resources/organization/autoresizing.d.ts.map +1 -0
  628. package/dist/esm/sdk/resources/organization/autoresizing.js +34 -0
  629. package/dist/esm/sdk/resources/organization/autoresizing.js.map +1 -0
  630. package/dist/esm/sdk/resources/organization/index.d.ts +4 -0
  631. package/dist/esm/sdk/resources/organization/index.d.ts.map +1 -0
  632. package/dist/esm/sdk/resources/organization/index.js +4 -0
  633. package/dist/esm/sdk/resources/organization/index.js.map +1 -0
  634. package/dist/esm/sdk/resources/organization/organization.d.ts +10 -0
  635. package/dist/esm/sdk/resources/organization/organization.d.ts.map +1 -0
  636. package/dist/esm/sdk/resources/organization/organization.js +9 -0
  637. package/dist/esm/sdk/resources/organization/organization.js.map +1 -0
  638. package/dist/esm/sdk/resources/organization.d.ts +2 -0
  639. package/dist/esm/sdk/resources/organization.d.ts.map +1 -0
  640. package/dist/esm/sdk/resources/organization.js +3 -0
  641. package/dist/esm/sdk/resources/organization.js.map +1 -0
  642. package/dist/esm/sdk/resources.d.ts +3 -0
  643. package/dist/esm/sdk/resources.d.ts.map +1 -0
  644. package/dist/esm/sdk/resources.js +3 -0
  645. package/dist/esm/sdk/resources.js.map +1 -0
  646. package/dist/esm/sdk/uploads.d.ts +2 -0
  647. package/dist/esm/sdk/uploads.d.ts.map +1 -0
  648. package/dist/esm/sdk/uploads.js +3 -0
  649. package/dist/esm/sdk/uploads.js.map +1 -0
  650. package/dist/esm/sdk/version.d.ts +2 -0
  651. package/dist/esm/sdk/version.d.ts.map +1 -0
  652. package/dist/esm/sdk/version.js +3 -0
  653. package/dist/esm/sdk/version.js.map +1 -0
  654. package/man/dedalus-completion.1 +35 -0
  655. package/man/dedalus-images-create.1 +126 -0
  656. package/man/dedalus-images-delete.1 +102 -0
  657. package/man/dedalus-images-import.1 +34 -0
  658. package/man/dedalus-images-list.1 +105 -0
  659. package/man/dedalus-images-retrieve.1 +102 -0
  660. package/man/dedalus-images-update.1 +108 -0
  661. package/man/dedalus-images-uploads-create.1 +112 -0
  662. package/man/dedalus-login.1 +47 -0
  663. package/man/dedalus-logout.1 +28 -0
  664. package/man/dedalus-machines-autoresizing-retrieve.1 +104 -0
  665. package/man/dedalus-machines-autoresizing-update.1 +116 -0
  666. package/man/dedalus-machines-create.1 +119 -0
  667. package/man/dedalus-machines-delete.1 +107 -0
  668. package/man/dedalus-machines-executions-create.1 +120 -0
  669. package/man/dedalus-machines-executions-delete.1 +108 -0
  670. package/man/dedalus-machines-executions-events.1 +118 -0
  671. package/man/dedalus-machines-executions-list.1 +114 -0
  672. package/man/dedalus-machines-executions-logs-create-token.1 +108 -0
  673. package/man/dedalus-machines-executions-logs-retrieve.1 +108 -0
  674. package/man/dedalus-machines-executions-output.1 +108 -0
  675. package/man/dedalus-machines-executions-retrieve.1 +108 -0
  676. package/man/dedalus-machines-list.1 +108 -0
  677. package/man/dedalus-machines-reboot.1 +107 -0
  678. package/man/dedalus-machines-resize.1 +110 -0
  679. package/man/dedalus-machines-retrieve.1 +104 -0
  680. package/man/dedalus-machines-sleep.1 +104 -0
  681. package/man/dedalus-machines-ssh-create.1 +108 -0
  682. package/man/dedalus-machines-ssh-delete.1 +108 -0
  683. package/man/dedalus-machines-ssh-list.1 +114 -0
  684. package/man/dedalus-machines-ssh-retrieve.1 +108 -0
  685. package/man/dedalus-machines-update.1 +110 -0
  686. package/man/dedalus-machines-wake.1 +104 -0
  687. package/man/dedalus-organization-autoresizing-retrieve.1 +99 -0
  688. package/man/dedalus-organization-autoresizing-update.1 +111 -0
  689. package/man/dedalus-uninstall.1 +23 -0
  690. package/man/dedalus-upgrade.1 +32 -0
  691. package/man/dedalus.1 +222 -0
  692. package/package.json +88 -4
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Dedalus
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,307 @@
1
- # Temporary Holding Version
1
+ # Dedalus
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ This library provides convenient access to the Dedalus REST API from the command line.
4
+
5
+ The full API of this library can be found in [api.md](./api.md).
6
+
7
+ <br />
8
+
9
+ ## Contents
10
+
11
+ - [Installation](#installation)
12
+ - [Usage](#usage)
13
+ - [Image import](#image-import)
14
+ - [Feedback](#feedback)
15
+ - [Staging package testing](#staging-package-testing)
16
+ - [API Reference](./api.md)
17
+ - [Signing In](#signing-in)
18
+ - [File Arguments](#file-arguments)
19
+ - [Shell Completion](#shell-completion)
20
+ - [Manual Pages](#manual-pages)
21
+ - [Authentication](#authentication)
22
+ - [Errors](#errors)
23
+ - [Client Options](#client-options)
24
+ - [Retries and Timeouts](#retries-and-timeouts)
25
+ - [Pagination](#pagination)
26
+ - [Helpers](#helpers)
27
+ - [Logging](#logging)
28
+ - [Requirements](#requirements)
29
+
30
+ <br />
31
+
32
+ ## Installation
33
+
34
+ ```sh
35
+ # npm (requires Node.js)
36
+ npm install -g dedalus-cli
37
+
38
+ # Homebrew — standalone binary, no Node.js required
39
+ brew install dedalus-labs/tap/dedalus
40
+
41
+ # Direct download — standalone binary, no Node.js required
42
+ curl -fsSL "https://github.com/dedalus-labs/dedalus-cli/releases/latest/download/dedalus-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed 's/x86_64/x64/;s/aarch64/arm64/').tar.gz" | tar xz dedalus
43
+ sudo mv dedalus /usr/local/bin/
44
+
45
+ # Windows — download and extract dedalus-windows-x64.zip, then add it to PATH
46
+ # https://github.com/dedalus-labs/dedalus-cli/releases/latest/download/dedalus-windows-x64.zip
47
+ ```
48
+
49
+ ### Upgrading
50
+
51
+ Run `dedalus upgrade --check` to check for a release, then `dedalus upgrade` to
52
+ install it. Package-manager installations use their owning manager. Standalone
53
+ macOS and Linux installations download the release archive and verify its
54
+ `checksums.txt` before replacing the executable.
55
+
56
+ If your CLI does not recognize `dedalus upgrade`, reinstall it using one of the
57
+ methods above. Older Go CLI versions do not support this command.
58
+
59
+ <br />
60
+
61
+ ## Image import
62
+
63
+ Save a Docker image as an archive, then import it:
64
+
65
+ ```sh
66
+ docker save my-app:latest -o my-app.tar
67
+ dedalus images import my-app.tar --name my-app --platform linux/amd64
68
+ ```
69
+
70
+ Import hashes and streams the file to signed storage, registers the image, then
71
+ polls until it is ready. Progress goes to stderr; stdout contains one final image
72
+ object. A failed, rejected, or revoked image makes the command exit nonzero.
73
+
74
+ Use `--no-wait` to return after upload and registration while preparation continues:
75
+
76
+ ```sh
77
+ dedalus images import my-app.tar --name my-app --no-wait
78
+ ```
79
+
80
+ `--wait` is accepted explicitly but is already the default. `--wait-timeout 3600`
81
+ sets the total import budget in seconds; the global `--timeout` remains a per-request
82
+ limit in milliseconds. Timing out or pressing Ctrl-C stops the client and does not
83
+ cancel accepted preparation. Keep the image ID from progress output to check its
84
+ status later. Use `--idempotency-key <key>` to reuse the same import identity when
85
+ retrying the same archive and options.
86
+
87
+ Archives must be regular, nonempty `docker save` files of at most 5 GiB. This command
88
+ requires the image API to be deployed and enabled for your organization; it does not
89
+ bypass access controls. Shell completion for this custom command is not yet included.
90
+
91
+ Custom image imports currently require an Ubuntu 24.04 `linux/amd64` Docker-save
92
+ archive. On Apple silicon, build or pull with `--platform linux/amd64` before
93
+ saving the archive. The image provides the filesystem; container entrypoint,
94
+ CMD, environment, working directory, and user settings are not applied. Start
95
+ processes using Machine exec or SSH after the Machine reaches running.
96
+
97
+ ## Usage
98
+
99
+ ```sh
100
+ dedalus [resource] [command] [flags]
101
+
102
+ dedalus machines create \
103
+ --x-api-key "$DEDALUS_X_API_KEY" \
104
+ --autosleep '300s' \
105
+ --memory-mib '4096' \
106
+ --storage-gib '10' \
107
+ --vcpu '1'
108
+ ```
109
+
110
+ Every command accepts the global flags below, so the examples that follow show only what is specific to them.
111
+
112
+ See the [API reference](./api.md) for every available operation.
113
+
114
+ <br />
115
+
116
+ ## Signing In
117
+
118
+ Run `dedalus login` and select “Sign in with a browser” at the prompt.
119
+
120
+ `dedalus login` signs you in and saves the credential for later commands, so it does not have to be passed every time. It goes into your operating system's credential store — the Keychain on macOS, the system keyring on Linux, Credential Manager on Windows — and falls back to a file in your state directory, readable only by you, when no such store is available. Either way it is filed under the base URL it was captured for, so a credential saved for one host is never sent to another. `dedalus logout` forgets it. It also asks the provider to revoke a saved OAuth token when a revocation endpoint is known. The local copy is removed first, so if the provider cannot be reached the credential is still gone from this machine; the failure is printed as a warning and the command still succeeds. A credential passed with a flag, or set in the environment, still takes precedence over a saved one. Sign-in methods: api-key, x-api-key, oauth-browser. Pass `--flow <name>` to pick one without being asked.
121
+
122
+ ```sh
123
+ dedalus login
124
+ dedalus machines list
125
+ dedalus logout
126
+ dedalus logout --all
127
+ ```
128
+
129
+ <br />
130
+
131
+ Browser sessions send API requests directly to `https://dcs.dedaluslabs.ai`. API-key authentication uses the same endpoint by default, or your selected API endpoint. Do not combine browser-token flags or environment variables with API-key credentials.
132
+
133
+ ## File Arguments
134
+
135
+ Any command flag or credential reads its value from a file when the value begins with `@`, so a body field holding a whole document does not have to survive shell quoting. `@file://` always sends the file as text and `@data://` always sends it base64-encoded; a bare `@` lets the file decide. A flag that uploads a file takes its path with or without the `@`. Escape a literal value that begins with `@` as `\@`. The global options (`--base-url`, `--timeout`, `--format` and the rest) are read exactly as written.
136
+
137
+ ```sh
138
+ dedalus COMMAND --FLAG @./body.json
139
+ dedalus COMMAND --FLAG @file://./notes.txt
140
+ dedalus COMMAND --FLAG @data://./logo.png
141
+ dedalus COMMAND --FLAG '\@not-a-file'
142
+ ```
143
+
144
+ <br />
145
+ ## Feedback
146
+
147
+ ```sh
148
+ dedalus feedback "Machine creation failed" --include-logs auto
149
+ dedalus feedback "A suggestion" --include-logs false
150
+ dedalus feedback "Connection problem" --include-logs true
151
+ dedalus doctor --json
152
+ ```
153
+
154
+ `--include-logs auto` is the default. It attaches diagnostics from a failed command
155
+ within the last 15 minutes for the same API host, credentials, and organization.
156
+ `false` sends no files; a recent server request receipt may still be included as
157
+ metadata. `true` includes a local runtime and proxy-configuration report even when
158
+ no failed command is available. Proxy values are omitted.
159
+
160
+ For a failed command, the receipt comes from its last API response, including a
161
+ successful response followed by a local connection failure. A later response
162
+ without a receipt clears the candidate. Successful responses are not reported as
163
+ HTTP failures.
164
+
165
+ The CLI records command names, route templates, response status, duration, and
166
+ server-issued request IDs under `~/.dedalus/debug`. It excludes command arguments,
167
+ request and response bodies, credentials, terminal output, and workspace files.
168
+ Files expire after 10 days and the directory is capped at 50 MiB. Cleanup runs
169
+ when recording new diagnostics. Each process partition is capped at 1,000 events
170
+ and 10 MiB. Feedback submissions never become diagnostic candidates themselves.
171
+
172
+ Selected files are rebuilt from permitted fields and sent with their exact byte
173
+ size and SHA-256 digest. HTTP retries reuse one idempotency key. A successful
174
+ response means the report was accepted for delivery; it does not confirm that
175
+ support has received it yet.
176
+
177
+ ## Staging package testing
178
+
179
+ The `CLI SDK CI` workflow builds a versioned package, installs it in a temporary
180
+ directory, runs the tests against the installed package, and uploads the
181
+ `dedalus-cli-staging` artifact. The artifact contains a `.tgz` and its checksum
182
+ record. This workflow does not publish to npm or Homebrew.
183
+
184
+ Test packages are marked private and retain the production API default.
185
+ Set `DEDALUS_TEST_BASE_URL` to your test API and pass it explicitly:
186
+
187
+ ```sh
188
+ mkdir -p /tmp/dedalus-feedback-test
189
+ npm install --prefix /tmp/dedalus-feedback-test /absolute/path/to/dedalus-cli-VERSION.tgz
190
+ /tmp/dedalus-feedback-test/node_modules/.bin/dedalus doctor --json
191
+ /tmp/dedalus-feedback-test/node_modules/.bin/dedalus feedback "Staging smoke test" \
192
+ --include-logs false --base-url "${DEDALUS_TEST_BASE_URL:?Set the test API URL}"
193
+ ```
194
+
195
+ Set `DEDALUS_API_KEY` to a staging credential before submitting. To reproduce CI
196
+ locally, run `pnpm install --frozen-lockfile`, `pnpm build`, and `pnpm test:package`.
197
+ Custom feedback code lives under `src/feedback` and is integrated on `scalar-next`.
198
+ Validate Scalar regeneration there before promoting a release.
199
+
200
+ ## Shell Completion
201
+
202
+ `dedalus completion <shell>` prints a completion script for bash, zsh, and fish. Add the matching line to your shell startup file to complete commands, subcommands, and flags with Tab.
203
+
204
+ ```sh
205
+ # bash (~/.bashrc)
206
+ eval "$(dedalus completion bash)"
207
+
208
+ # zsh (~/.zshrc)
209
+ eval "$(dedalus completion zsh)"
210
+
211
+ # fish (~/.config/fish/config.fish)
212
+ dedalus completion fish | source
213
+ ```
214
+
215
+ <br />
216
+
217
+ ## Manual Pages
218
+
219
+ Installing the package globally also installs man pages. `man dedalus` lists every command, and each command has its own page named after the command with spaces and `:` replaced by `-`.
220
+
221
+ ```sh
222
+ man dedalus
223
+ man dedalus-<resource>-<command>
224
+ ```
225
+
226
+ <br />
227
+
228
+ ## Authentication
229
+
230
+ Pass credentials to the generated client constructor. Environment variables are read automatically when supported by the target runtime.
231
+
232
+ | Option | Type | Default | Description |
233
+ | --- | --- | --- | --- |
234
+ | `--api-key` | `<value>` | - | Dedalus API key or short-lived delegated access token in Authorization: Bearer \<credential>. Defaults to DEDALUS_API_KEY. |
235
+ | `--x-api-key` | `<value>` | - | Dedalus API key. Alternative to Bearer token. Defaults to DEDALUS_X_API_KEY. |
236
+
237
+ Declared schemes:
238
+
239
+ - `ApiKeyAuth` API key in header `x-api-key`
240
+ - `BearerAuth` bearer token
241
+
242
+ <br />
243
+
244
+ ## Errors
245
+
246
+ Failed requests print a structured error to standard error and exit with a status that identifies the failure class. The error body carries the API's own `message` plus a stable `code`, the HTTP `status`, the `requestId`, and — where one applies — an actionable `hint`. Usage errors (exit `2`) are reported as a plain message instead, since no request was made. Exit statuses: `0` success, `1` `error`, `2` `usage`, `10` `auth-failed`, `11` `not-found`, `12` `rate-limited`, `13` `client-error`, `14` `server-error`, `15` `connection-error`.
247
+
248
+ Documented error statuses: `401`, `403`, `409`, `429`, `503`, `default`.
249
+
250
+ <br />
251
+
252
+ ## Client Options
253
+
254
+ Configure the generated client by setting any of these options when you create it.
255
+
256
+ | Option | Type | Default | Description |
257
+ | --- | --- | --- | --- |
258
+ | `--base-url` | `<url>` | - | Override the base URL for API requests. |
259
+ | `--timeout` | `<ms>` | - | Request timeout in milliseconds. |
260
+ | `--max-retries` | `<count>` | - | Number of retries for retryable failures. |
261
+ | `--debug` | `flag` | - | Enable SDK debug logging. |
262
+
263
+ <br />
264
+
265
+ ## Retries and Timeouts
266
+
267
+ Generated clients support request timeouts and retry temporary failures such as network errors, 408, 409, 429, and 5xx responses. Retry delays honor `Retry-After` headers when present. Tune the retry and timeout client options shown above, or override them per request.
268
+
269
+ <br />
270
+
271
+ ## Pagination
272
+
273
+ Paginated commands fetch subsequent pages for you. Use `--max-items <count>` to cap the total number of items returned.
274
+
275
+ <br />
276
+
277
+ ## Helpers
278
+
279
+ - `--format <format>` — output format: `auto`, `json`, `jsonl`, `pretty`, `raw`, `toon`, or `yaml`.
280
+ - `--format-error <format>` — error output format: `auto`, `json`, `jsonl`, `pretty`, `raw`, `toon`, or `yaml`.
281
+ - `--format toon` — token-efficient structured output for AI agents; uniform lists collapse into one header plus a row per item, with a definitive item count.
282
+ - `--transform <path>` and `--transform-error <path>` — dot-path transform for data/error output.
283
+ - `--raw-output`, `-r` — print transformed string values without JSON quotes.
284
+ - `--max-items <count>` — bound iterator, streaming, and WebSocket command output.
285
+ - Errors carry a stable `code` and an actionable `hint` beside the API's own message, and each failure class exits with its own status: `1` `error`, `2` `usage`, `10` `auth-failed`, `11` `not-found`, `12` `rate-limited`, `13` `client-error`, `14` `server-error`, `15` `connection-error`.
286
+
287
+ <br />
288
+
289
+ ## Logging
290
+
291
+ - Pass `--debug` to any command to enable SDK debug logging on stderr.
292
+
293
+ <br />
294
+
295
+ ## Requirements
296
+
297
+ - Node.js 20 or newer — for the npm install only; the standalone binaries bundle their own runtime.
298
+
299
+ Powered by Scalar.
300
+
301
+ <!-- @custom start -->
302
+ ### Automatic retry identity
303
+
304
+ Client-generated idempotency keys use the API's 32-character UUIDv7 format.
305
+ Automatic retries reuse the original key. Independent submissions receive new
306
+ keys, and callers can still supply an explicit key when retrying a saved request.
307
+ <!-- @custom end -->
package/SKILL.md ADDED
@@ -0,0 +1,73 @@
1
+ ---
2
+ name: dedalus-cli-sdk
3
+ description: "CLI SDK for Dedalus API. Use when writing CLI code that calls Dedalus API with the dedalus-cli package: installing it, constructing and authenticating the client, and calling API operations."
4
+ ---
5
+
6
+ # Dedalus CLI SDK
7
+
8
+ Generated CLI client for Dedalus API, published as `dedalus-cli`. Use the generated client instead of hand-writing HTTP requests.
9
+
10
+ ## Install
11
+
12
+ ```sh
13
+ # npm (requires Node.js)
14
+ npm install -g dedalus-cli
15
+
16
+ # Homebrew — standalone binary, no Node.js required
17
+ brew install dedalus-labs/tap/dedalus
18
+
19
+ # Direct download — standalone binary, no Node.js required
20
+ curl -fsSL "https://github.com/dedalus-labs/dedalus-cli/releases/latest/download/dedalus-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed 's/x86_64/x64/;s/aarch64/arm64/').tar.gz" | tar xz dedalus
21
+ sudo mv dedalus /usr/local/bin/
22
+
23
+ # Windows — download and extract dedalus-windows-x64.zip, then add it to PATH
24
+ # https://github.com/dedalus-labs/dedalus-cli/releases/latest/download/dedalus-windows-x64.zip
25
+ ```
26
+
27
+ ## Client setup and authentication
28
+
29
+ Provide credentials using the options below. Environment variables are read automatically when the target runtime supports them:
30
+
31
+ - `--api-key` (env: `DEDALUS_API_KEY`) — Dedalus API key or short-lived delegated access token in Authorization: Bearer <credential>.
32
+ - `--x-api-key` (env: `DEDALUS_X_API_KEY`) — Dedalus API key. Alternative to Bearer token.
33
+ - `--browser-token` (env: `DEDALUS_BROWSER_TOKEN`) — Credential for the BrowserAuth scheme.
34
+
35
+ ## Calling operations
36
+
37
+ ```sh
38
+ dedalus [resource] [command] [flags]
39
+
40
+ dedalus machines create \
41
+ --api-key "$DEDALUS_API_KEY" \
42
+ --autosleep '300s' \
43
+ --memory-mib '4096' \
44
+ --storage-gib '10' \
45
+ --vcpu '1'
46
+ ```
47
+
48
+ Method names, parameter shapes, and response types are generated from the API description — do not guess them. Look up the exact call signature in [api.md](./api.md) before writing a call.
49
+
50
+ ## Pagination
51
+
52
+ Paginated commands fetch subsequent pages for you. Use `--max-items <count>` to cap the total number of items returned.
53
+
54
+ ## Error handling
55
+
56
+ Failed requests print a structured error to standard error and exit with a status that identifies the failure class. The error body carries the API's own `message` plus a stable `code`, the HTTP `status`, the `requestId`, and — where one applies — an actionable `hint`. Usage errors (exit `2`) are reported as a plain message instead, since no request was made. Exit statuses: `0` success, `1` `error`, `2` `usage`, `10` `auth-failed`, `11` `not-found`, `12` `rate-limited`, `13` `client-error`, `14` `server-error`, `15` `connection-error`.
57
+
58
+ ## Working with this SDK programmatically
59
+
60
+ - Pass `--format toon` for token-efficient structured output: a uniform list collapses into one header plus a row per item, with a definitive `[N]` count. Use `--format json` when the output is fed to a JSON parser.
61
+ - Use `--max-items <count>` to bound paginated, streaming, and WebSocket commands before they fill the context, and `--transform <dot.path>` to keep only the field you need.
62
+ - Endpoint commands never prompt, so they are safe to run non-interactively. Credentials come from the documented environment variables or their flags. `login` is meant for a human at a terminal, so do not drive it: a flow that reads a credential refuses a non-terminal stdin outright, and a browser or device flow waits for a person to finish signing in elsewhere before it gives up. Set the credential through its environment variable or flag instead.
63
+ - Branch on the exit status rather than on stderr text: `0` success, `1` `error`, `2` `usage`, `10` `auth-failed`, `11` `not-found`, `12` `rate-limited`, `13` `client-error`, `14` `server-error`, `15` `connection-error`. A failed request repeats its class on stderr as a stable `code`, with a `hint` when there is a concrete next step; exit `2` is a plain message with no structured body, because the command never ran.
64
+ - Run `dedalus --help` or `dedalus <resource> --help` to discover commands and flags, and `man dedalus` for the full reference.
65
+
66
+ ## Requirements
67
+
68
+ - Node.js 20 or newer — for the npm install only; the standalone binaries bundle their own runtime.
69
+
70
+ ## Reference files
71
+
72
+ - [README.md](./README.md) — full feature tour: client options, retries and timeouts, logging.
73
+ - [api.md](./api.md) — complete catalogue of every operation with request and response types.