@miosa/cli 1.3.4 → 2.1.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 (489) hide show
  1. package/README.md +20 -835
  2. package/bin/miosa.js +75 -0
  3. package/lib/archive.js +88 -0
  4. package/lib/checksums.js +29 -0
  5. package/lib/platforms.js +31 -0
  6. package/lib/resolve.js +47 -0
  7. package/package.json +26 -41
  8. package/scripts/postinstall.js +68 -0
  9. package/CHANGELOG.md +0 -110
  10. package/dist/action-authority.d.ts +0 -106
  11. package/dist/action-authority.d.ts.map +0 -1
  12. package/dist/action-authority.js +0 -116
  13. package/dist/action-authority.js.map +0 -1
  14. package/dist/app-advisor.d.ts +0 -80
  15. package/dist/app-advisor.d.ts.map +0 -1
  16. package/dist/app-advisor.js +0 -486
  17. package/dist/app-advisor.js.map +0 -1
  18. package/dist/app-contract.d.ts +0 -92
  19. package/dist/app-contract.d.ts.map +0 -1
  20. package/dist/app-contract.js +0 -218
  21. package/dist/app-contract.js.map +0 -1
  22. package/dist/app-document.d.ts +0 -23
  23. package/dist/app-document.d.ts.map +0 -1
  24. package/dist/app-document.js +0 -180
  25. package/dist/app-document.js.map +0 -1
  26. package/dist/app-manifest.d.ts +0 -140
  27. package/dist/app-manifest.d.ts.map +0 -1
  28. package/dist/app-manifest.js +0 -377
  29. package/dist/app-manifest.js.map +0 -1
  30. package/dist/app-operation.d.ts +0 -23
  31. package/dist/app-operation.d.ts.map +0 -1
  32. package/dist/app-operation.js +0 -49
  33. package/dist/app-operation.js.map +0 -1
  34. package/dist/app-release.d.ts +0 -132
  35. package/dist/app-release.d.ts.map +0 -1
  36. package/dist/app-release.js +0 -294
  37. package/dist/app-release.js.map +0 -1
  38. package/dist/bin/miosa.d.ts +0 -3
  39. package/dist/bin/miosa.d.ts.map +0 -1
  40. package/dist/bin/miosa.js +0 -288
  41. package/dist/bin/miosa.js.map +0 -1
  42. package/dist/cli-env.d.ts +0 -12
  43. package/dist/cli-env.d.ts.map +0 -1
  44. package/dist/cli-env.js +0 -34
  45. package/dist/cli-env.js.map +0 -1
  46. package/dist/client.d.ts +0 -155
  47. package/dist/client.d.ts.map +0 -1
  48. package/dist/client.js +0 -865
  49. package/dist/client.js.map +0 -1
  50. package/dist/commands/actions.d.ts +0 -3
  51. package/dist/commands/actions.d.ts.map +0 -1
  52. package/dist/commands/actions.js +0 -222
  53. package/dist/commands/actions.js.map +0 -1
  54. package/dist/commands/agent-runtime-profiles.d.ts +0 -3
  55. package/dist/commands/agent-runtime-profiles.d.ts.map +0 -1
  56. package/dist/commands/agent-runtime-profiles.js +0 -198
  57. package/dist/commands/agent-runtime-profiles.js.map +0 -1
  58. package/dist/commands/agent.d.ts +0 -18
  59. package/dist/commands/agent.d.ts.map +0 -1
  60. package/dist/commands/agent.js +0 -737
  61. package/dist/commands/agent.js.map +0 -1
  62. package/dist/commands/alerts.d.ts +0 -3
  63. package/dist/commands/alerts.d.ts.map +0 -1
  64. package/dist/commands/alerts.js +0 -41
  65. package/dist/commands/alerts.js.map +0 -1
  66. package/dist/commands/api-keys.d.ts +0 -3
  67. package/dist/commands/api-keys.d.ts.map +0 -1
  68. package/dist/commands/api-keys.js +0 -160
  69. package/dist/commands/api-keys.js.map +0 -1
  70. package/dist/commands/api-resource.d.ts +0 -20
  71. package/dist/commands/api-resource.d.ts.map +0 -1
  72. package/dist/commands/api-resource.js +0 -120
  73. package/dist/commands/api-resource.js.map +0 -1
  74. package/dist/commands/app.d.ts +0 -38
  75. package/dist/commands/app.d.ts.map +0 -1
  76. package/dist/commands/app.js +0 -1182
  77. package/dist/commands/app.js.map +0 -1
  78. package/dist/commands/apps.d.ts +0 -3
  79. package/dist/commands/apps.d.ts.map +0 -1
  80. package/dist/commands/apps.js +0 -218
  81. package/dist/commands/apps.js.map +0 -1
  82. package/dist/commands/audit.d.ts +0 -3
  83. package/dist/commands/audit.d.ts.map +0 -1
  84. package/dist/commands/audit.js +0 -25
  85. package/dist/commands/audit.js.map +0 -1
  86. package/dist/commands/auth.d.ts +0 -3
  87. package/dist/commands/auth.d.ts.map +0 -1
  88. package/dist/commands/auth.js +0 -282
  89. package/dist/commands/auth.js.map +0 -1
  90. package/dist/commands/backups.d.ts +0 -3
  91. package/dist/commands/backups.d.ts.map +0 -1
  92. package/dist/commands/backups.js +0 -23
  93. package/dist/commands/backups.js.map +0 -1
  94. package/dist/commands/billing.d.ts +0 -3
  95. package/dist/commands/billing.d.ts.map +0 -1
  96. package/dist/commands/billing.js +0 -208
  97. package/dist/commands/billing.js.map +0 -1
  98. package/dist/commands/builds.d.ts +0 -3
  99. package/dist/commands/builds.d.ts.map +0 -1
  100. package/dist/commands/builds.js +0 -198
  101. package/dist/commands/builds.js.map +0 -1
  102. package/dist/commands/capabilities.d.ts +0 -3
  103. package/dist/commands/capabilities.d.ts.map +0 -1
  104. package/dist/commands/capabilities.js +0 -1002
  105. package/dist/commands/capabilities.js.map +0 -1
  106. package/dist/commands/checkpoints.d.ts +0 -3
  107. package/dist/commands/checkpoints.d.ts.map +0 -1
  108. package/dist/commands/checkpoints.js +0 -193
  109. package/dist/commands/checkpoints.js.map +0 -1
  110. package/dist/commands/cleanup.d.ts +0 -3
  111. package/dist/commands/cleanup.d.ts.map +0 -1
  112. package/dist/commands/cleanup.js +0 -65
  113. package/dist/commands/cleanup.js.map +0 -1
  114. package/dist/commands/cloud.d.ts +0 -3
  115. package/dist/commands/cloud.d.ts.map +0 -1
  116. package/dist/commands/cloud.js +0 -192
  117. package/dist/commands/cloud.js.map +0 -1
  118. package/dist/commands/command-overview.d.ts +0 -13
  119. package/dist/commands/command-overview.d.ts.map +0 -1
  120. package/dist/commands/command-overview.js +0 -50
  121. package/dist/commands/command-overview.js.map +0 -1
  122. package/dist/commands/completion.d.ts +0 -3
  123. package/dist/commands/completion.d.ts.map +0 -1
  124. package/dist/commands/completion.js +0 -183
  125. package/dist/commands/completion.js.map +0 -1
  126. package/dist/commands/computers.d.ts +0 -3
  127. package/dist/commands/computers.d.ts.map +0 -1
  128. package/dist/commands/computers.js +0 -706
  129. package/dist/commands/computers.js.map +0 -1
  130. package/dist/commands/config.d.ts +0 -3
  131. package/dist/commands/config.d.ts.map +0 -1
  132. package/dist/commands/config.js +0 -114
  133. package/dist/commands/config.js.map +0 -1
  134. package/dist/commands/connect.d.ts +0 -6
  135. package/dist/commands/connect.d.ts.map +0 -1
  136. package/dist/commands/connect.js +0 -127
  137. package/dist/commands/connect.js.map +0 -1
  138. package/dist/commands/connectors.d.ts +0 -3
  139. package/dist/commands/connectors.d.ts.map +0 -1
  140. package/dist/commands/connectors.js +0 -172
  141. package/dist/commands/connectors.js.map +0 -1
  142. package/dist/commands/containers.d.ts +0 -3
  143. package/dist/commands/containers.d.ts.map +0 -1
  144. package/dist/commands/containers.js +0 -20
  145. package/dist/commands/containers.js.map +0 -1
  146. package/dist/commands/context.d.ts +0 -3
  147. package/dist/commands/context.d.ts.map +0 -1
  148. package/dist/commands/context.js +0 -233
  149. package/dist/commands/context.js.map +0 -1
  150. package/dist/commands/cp.d.ts +0 -3
  151. package/dist/commands/cp.d.ts.map +0 -1
  152. package/dist/commands/cp.js +0 -319
  153. package/dist/commands/cp.js.map +0 -1
  154. package/dist/commands/cron.d.ts +0 -3
  155. package/dist/commands/cron.d.ts.map +0 -1
  156. package/dist/commands/cron.js +0 -65
  157. package/dist/commands/cron.js.map +0 -1
  158. package/dist/commands/dashboard.d.ts +0 -13
  159. package/dist/commands/dashboard.d.ts.map +0 -1
  160. package/dist/commands/dashboard.js +0 -54
  161. package/dist/commands/dashboard.js.map +0 -1
  162. package/dist/commands/databases.d.ts +0 -3
  163. package/dist/commands/databases.d.ts.map +0 -1
  164. package/dist/commands/databases.js +0 -714
  165. package/dist/commands/databases.js.map +0 -1
  166. package/dist/commands/db.d.ts +0 -3
  167. package/dist/commands/db.d.ts.map +0 -1
  168. package/dist/commands/db.js +0 -385
  169. package/dist/commands/db.js.map +0 -1
  170. package/dist/commands/deploy.d.ts +0 -3
  171. package/dist/commands/deploy.d.ts.map +0 -1
  172. package/dist/commands/deploy.js +0 -1234
  173. package/dist/commands/deploy.js.map +0 -1
  174. package/dist/commands/desktop.d.ts +0 -3
  175. package/dist/commands/desktop.d.ts.map +0 -1
  176. package/dist/commands/desktop.js +0 -277
  177. package/dist/commands/desktop.js.map +0 -1
  178. package/dist/commands/dev.d.ts +0 -3
  179. package/dist/commands/dev.d.ts.map +0 -1
  180. package/dist/commands/dev.js +0 -245
  181. package/dist/commands/dev.js.map +0 -1
  182. package/dist/commands/devices.d.ts +0 -3
  183. package/dist/commands/devices.d.ts.map +0 -1
  184. package/dist/commands/devices.js +0 -279
  185. package/dist/commands/devices.js.map +0 -1
  186. package/dist/commands/docker-deploy.d.ts +0 -3
  187. package/dist/commands/docker-deploy.d.ts.map +0 -1
  188. package/dist/commands/docker-deploy.js +0 -659
  189. package/dist/commands/docker-deploy.js.map +0 -1
  190. package/dist/commands/doctor.d.ts +0 -69
  191. package/dist/commands/doctor.d.ts.map +0 -1
  192. package/dist/commands/doctor.js +0 -596
  193. package/dist/commands/doctor.js.map +0 -1
  194. package/dist/commands/domains.d.ts +0 -3
  195. package/dist/commands/domains.d.ts.map +0 -1
  196. package/dist/commands/domains.js +0 -307
  197. package/dist/commands/domains.js.map +0 -1
  198. package/dist/commands/enterprise-util.d.ts +0 -39
  199. package/dist/commands/enterprise-util.d.ts.map +0 -1
  200. package/dist/commands/enterprise-util.js +0 -217
  201. package/dist/commands/enterprise-util.js.map +0 -1
  202. package/dist/commands/env-input.d.ts +0 -26
  203. package/dist/commands/env-input.d.ts.map +0 -1
  204. package/dist/commands/env-input.js +0 -68
  205. package/dist/commands/env-input.js.map +0 -1
  206. package/dist/commands/env.d.ts +0 -3
  207. package/dist/commands/env.d.ts.map +0 -1
  208. package/dist/commands/env.js +0 -189
  209. package/dist/commands/env.js.map +0 -1
  210. package/dist/commands/exec.d.ts +0 -3
  211. package/dist/commands/exec.d.ts.map +0 -1
  212. package/dist/commands/exec.js +0 -110
  213. package/dist/commands/exec.js.map +0 -1
  214. package/dist/commands/forge.d.ts +0 -3
  215. package/dist/commands/forge.d.ts.map +0 -1
  216. package/dist/commands/forge.js +0 -254
  217. package/dist/commands/forge.js.map +0 -1
  218. package/dist/commands/functions.d.ts +0 -3
  219. package/dist/commands/functions.d.ts.map +0 -1
  220. package/dist/commands/functions.js +0 -47
  221. package/dist/commands/functions.js.map +0 -1
  222. package/dist/commands/gha-runners.d.ts +0 -3
  223. package/dist/commands/gha-runners.d.ts.map +0 -1
  224. package/dist/commands/gha-runners.js +0 -33
  225. package/dist/commands/gha-runners.js.map +0 -1
  226. package/dist/commands/groups.d.ts +0 -3
  227. package/dist/commands/groups.d.ts.map +0 -1
  228. package/dist/commands/groups.js +0 -38
  229. package/dist/commands/groups.js.map +0 -1
  230. package/dist/commands/host.d.ts +0 -3
  231. package/dist/commands/host.d.ts.map +0 -1
  232. package/dist/commands/host.js +0 -74
  233. package/dist/commands/host.js.map +0 -1
  234. package/dist/commands/hosts.d.ts +0 -7
  235. package/dist/commands/hosts.d.ts.map +0 -1
  236. package/dist/commands/hosts.js +0 -91
  237. package/dist/commands/hosts.js.map +0 -1
  238. package/dist/commands/link.d.ts +0 -8
  239. package/dist/commands/link.d.ts.map +0 -1
  240. package/dist/commands/link.js +0 -124
  241. package/dist/commands/link.js.map +0 -1
  242. package/dist/commands/login.d.ts +0 -10
  243. package/dist/commands/login.d.ts.map +0 -1
  244. package/dist/commands/login.js +0 -263
  245. package/dist/commands/login.js.map +0 -1
  246. package/dist/commands/logout.d.ts +0 -3
  247. package/dist/commands/logout.d.ts.map +0 -1
  248. package/dist/commands/logout.js +0 -43
  249. package/dist/commands/logout.js.map +0 -1
  250. package/dist/commands/logs.d.ts +0 -3
  251. package/dist/commands/logs.d.ts.map +0 -1
  252. package/dist/commands/logs.js +0 -401
  253. package/dist/commands/logs.js.map +0 -1
  254. package/dist/commands/ls.d.ts +0 -3
  255. package/dist/commands/ls.d.ts.map +0 -1
  256. package/dist/commands/ls.js +0 -121
  257. package/dist/commands/ls.js.map +0 -1
  258. package/dist/commands/mcp.d.ts +0 -46
  259. package/dist/commands/mcp.d.ts.map +0 -1
  260. package/dist/commands/mcp.js +0 -3413
  261. package/dist/commands/mcp.js.map +0 -1
  262. package/dist/commands/menu.d.ts +0 -29
  263. package/dist/commands/menu.d.ts.map +0 -1
  264. package/dist/commands/menu.js +0 -147
  265. package/dist/commands/menu.js.map +0 -1
  266. package/dist/commands/meshes.d.ts +0 -3
  267. package/dist/commands/meshes.d.ts.map +0 -1
  268. package/dist/commands/meshes.js +0 -27
  269. package/dist/commands/meshes.js.map +0 -1
  270. package/dist/commands/network-policy.d.ts +0 -3
  271. package/dist/commands/network-policy.d.ts.map +0 -1
  272. package/dist/commands/network-policy.js +0 -155
  273. package/dist/commands/network-policy.js.map +0 -1
  274. package/dist/commands/new.d.ts +0 -3
  275. package/dist/commands/new.d.ts.map +0 -1
  276. package/dist/commands/new.js +0 -296
  277. package/dist/commands/new.js.map +0 -1
  278. package/dist/commands/opencomputers.d.ts +0 -10
  279. package/dist/commands/opencomputers.d.ts.map +0 -1
  280. package/dist/commands/opencomputers.js +0 -25
  281. package/dist/commands/opencomputers.js.map +0 -1
  282. package/dist/commands/operating-contract.d.ts +0 -3
  283. package/dist/commands/operating-contract.d.ts.map +0 -1
  284. package/dist/commands/operating-contract.js +0 -651
  285. package/dist/commands/operating-contract.js.map +0 -1
  286. package/dist/commands/project.d.ts +0 -4
  287. package/dist/commands/project.d.ts.map +0 -1
  288. package/dist/commands/project.js +0 -25
  289. package/dist/commands/project.js.map +0 -1
  290. package/dist/commands/pull.d.ts +0 -14
  291. package/dist/commands/pull.d.ts.map +0 -1
  292. package/dist/commands/pull.js +0 -156
  293. package/dist/commands/pull.js.map +0 -1
  294. package/dist/commands/regions.d.ts +0 -3
  295. package/dist/commands/regions.d.ts.map +0 -1
  296. package/dist/commands/regions.js +0 -103
  297. package/dist/commands/regions.js.map +0 -1
  298. package/dist/commands/releases.d.ts +0 -3
  299. package/dist/commands/releases.d.ts.map +0 -1
  300. package/dist/commands/releases.js +0 -365
  301. package/dist/commands/releases.js.map +0 -1
  302. package/dist/commands/rm.d.ts +0 -3
  303. package/dist/commands/rm.d.ts.map +0 -1
  304. package/dist/commands/rm.js +0 -42
  305. package/dist/commands/rm.js.map +0 -1
  306. package/dist/commands/rollback.d.ts +0 -3
  307. package/dist/commands/rollback.d.ts.map +0 -1
  308. package/dist/commands/rollback.js +0 -62
  309. package/dist/commands/rollback.js.map +0 -1
  310. package/dist/commands/run-groups.d.ts +0 -3
  311. package/dist/commands/run-groups.d.ts.map +0 -1
  312. package/dist/commands/run-groups.js +0 -364
  313. package/dist/commands/run-groups.js.map +0 -1
  314. package/dist/commands/run.d.ts +0 -3
  315. package/dist/commands/run.d.ts.map +0 -1
  316. package/dist/commands/run.js +0 -130
  317. package/dist/commands/run.js.map +0 -1
  318. package/dist/commands/runs.d.ts +0 -3
  319. package/dist/commands/runs.d.ts.map +0 -1
  320. package/dist/commands/runs.js +0 -365
  321. package/dist/commands/runs.js.map +0 -1
  322. package/dist/commands/runtime-env.d.ts +0 -3
  323. package/dist/commands/runtime-env.d.ts.map +0 -1
  324. package/dist/commands/runtime-env.js +0 -114
  325. package/dist/commands/runtime-env.js.map +0 -1
  326. package/dist/commands/sandbox-delete-guard.d.ts +0 -4
  327. package/dist/commands/sandbox-delete-guard.d.ts.map +0 -1
  328. package/dist/commands/sandbox-delete-guard.js +0 -32
  329. package/dist/commands/sandbox-delete-guard.js.map +0 -1
  330. package/dist/commands/sandbox-dev.d.ts +0 -20
  331. package/dist/commands/sandbox-dev.d.ts.map +0 -1
  332. package/dist/commands/sandbox-dev.js +0 -583
  333. package/dist/commands/sandbox-dev.js.map +0 -1
  334. package/dist/commands/sandbox.d.ts +0 -36
  335. package/dist/commands/sandbox.d.ts.map +0 -1
  336. package/dist/commands/sandbox.js +0 -3796
  337. package/dist/commands/sandbox.js.map +0 -1
  338. package/dist/commands/scale.d.ts +0 -3
  339. package/dist/commands/scale.d.ts.map +0 -1
  340. package/dist/commands/scale.js +0 -61
  341. package/dist/commands/scale.js.map +0 -1
  342. package/dist/commands/schedules.d.ts +0 -3
  343. package/dist/commands/schedules.d.ts.map +0 -1
  344. package/dist/commands/schedules.js +0 -37
  345. package/dist/commands/schedules.js.map +0 -1
  346. package/dist/commands/secrets.d.ts +0 -3
  347. package/dist/commands/secrets.d.ts.map +0 -1
  348. package/dist/commands/secrets.js +0 -200
  349. package/dist/commands/secrets.js.map +0 -1
  350. package/dist/commands/services.d.ts +0 -3
  351. package/dist/commands/services.d.ts.map +0 -1
  352. package/dist/commands/services.js +0 -70
  353. package/dist/commands/services.js.map +0 -1
  354. package/dist/commands/shell.d.ts +0 -16
  355. package/dist/commands/shell.d.ts.map +0 -1
  356. package/dist/commands/shell.js +0 -555
  357. package/dist/commands/shell.js.map +0 -1
  358. package/dist/commands/snapshot.d.ts +0 -10
  359. package/dist/commands/snapshot.d.ts.map +0 -1
  360. package/dist/commands/snapshot.js +0 -181
  361. package/dist/commands/snapshot.js.map +0 -1
  362. package/dist/commands/ssh.d.ts +0 -3
  363. package/dist/commands/ssh.d.ts.map +0 -1
  364. package/dist/commands/ssh.js +0 -93
  365. package/dist/commands/ssh.js.map +0 -1
  366. package/dist/commands/status.d.ts +0 -3
  367. package/dist/commands/status.d.ts.map +0 -1
  368. package/dist/commands/status.js +0 -302
  369. package/dist/commands/status.js.map +0 -1
  370. package/dist/commands/storage.d.ts +0 -3
  371. package/dist/commands/storage.d.ts.map +0 -1
  372. package/dist/commands/storage.js +0 -456
  373. package/dist/commands/storage.js.map +0 -1
  374. package/dist/commands/teams.d.ts +0 -3
  375. package/dist/commands/teams.d.ts.map +0 -1
  376. package/dist/commands/teams.js +0 -169
  377. package/dist/commands/teams.js.map +0 -1
  378. package/dist/commands/templates.d.ts +0 -3
  379. package/dist/commands/templates.d.ts.map +0 -1
  380. package/dist/commands/templates.js +0 -690
  381. package/dist/commands/templates.js.map +0 -1
  382. package/dist/commands/tenant.d.ts +0 -3
  383. package/dist/commands/tenant.d.ts.map +0 -1
  384. package/dist/commands/tenant.js +0 -95
  385. package/dist/commands/tenant.js.map +0 -1
  386. package/dist/commands/tunnel.d.ts +0 -3
  387. package/dist/commands/tunnel.d.ts.map +0 -1
  388. package/dist/commands/tunnel.js +0 -418
  389. package/dist/commands/tunnel.js.map +0 -1
  390. package/dist/commands/up.d.ts +0 -14
  391. package/dist/commands/up.d.ts.map +0 -1
  392. package/dist/commands/up.js +0 -720
  393. package/dist/commands/up.js.map +0 -1
  394. package/dist/commands/update.d.ts +0 -3
  395. package/dist/commands/update.d.ts.map +0 -1
  396. package/dist/commands/update.js +0 -166
  397. package/dist/commands/update.js.map +0 -1
  398. package/dist/commands/util.d.ts +0 -25
  399. package/dist/commands/util.d.ts.map +0 -1
  400. package/dist/commands/util.js +0 -199
  401. package/dist/commands/util.js.map +0 -1
  402. package/dist/commands/volumes.d.ts +0 -3
  403. package/dist/commands/volumes.d.ts.map +0 -1
  404. package/dist/commands/volumes.js +0 -196
  405. package/dist/commands/volumes.js.map +0 -1
  406. package/dist/commands/watch.d.ts +0 -6
  407. package/dist/commands/watch.d.ts.map +0 -1
  408. package/dist/commands/watch.js +0 -414
  409. package/dist/commands/watch.js.map +0 -1
  410. package/dist/commands/webhooks.d.ts +0 -3
  411. package/dist/commands/webhooks.d.ts.map +0 -1
  412. package/dist/commands/webhooks.js +0 -23
  413. package/dist/commands/webhooks.js.map +0 -1
  414. package/dist/commands/whoami.d.ts +0 -3
  415. package/dist/commands/whoami.d.ts.map +0 -1
  416. package/dist/commands/whoami.js +0 -156
  417. package/dist/commands/whoami.js.map +0 -1
  418. package/dist/commands/workspaces.d.ts +0 -3
  419. package/dist/commands/workspaces.d.ts.map +0 -1
  420. package/dist/commands/workspaces.js +0 -147
  421. package/dist/commands/workspaces.js.map +0 -1
  422. package/dist/config.d.ts +0 -54
  423. package/dist/config.d.ts.map +0 -1
  424. package/dist/config.js +0 -275
  425. package/dist/config.js.map +0 -1
  426. package/dist/errors.d.ts +0 -30
  427. package/dist/errors.d.ts.map +0 -1
  428. package/dist/errors.js +0 -92
  429. package/dist/errors.js.map +0 -1
  430. package/dist/framework-detector.d.ts +0 -22
  431. package/dist/framework-detector.d.ts.map +0 -1
  432. package/dist/framework-detector.js +0 -373
  433. package/dist/framework-detector.js.map +0 -1
  434. package/dist/generated/action-capabilities.d.ts +0 -826
  435. package/dist/generated/action-capabilities.d.ts.map +0 -1
  436. package/dist/generated/action-capabilities.js +0 -1035
  437. package/dist/generated/action-capabilities.js.map +0 -1
  438. package/dist/net-diagnosis.d.ts +0 -87
  439. package/dist/net-diagnosis.d.ts.map +0 -1
  440. package/dist/net-diagnosis.js +0 -408
  441. package/dist/net-diagnosis.js.map +0 -1
  442. package/dist/pty/raw-mode.d.ts +0 -7
  443. package/dist/pty/raw-mode.d.ts.map +0 -1
  444. package/dist/pty/raw-mode.js +0 -22
  445. package/dist/pty/raw-mode.js.map +0 -1
  446. package/dist/pty/ws-pty-client.d.ts +0 -13
  447. package/dist/pty/ws-pty-client.d.ts.map +0 -1
  448. package/dist/pty/ws-pty-client.js +0 -73
  449. package/dist/pty/ws-pty-client.js.map +0 -1
  450. package/dist/tui/dashboard.d.ts +0 -35
  451. package/dist/tui/dashboard.d.ts.map +0 -1
  452. package/dist/tui/dashboard.js +0 -191
  453. package/dist/tui/dashboard.js.map +0 -1
  454. package/dist/tui/logs.d.ts +0 -26
  455. package/dist/tui/logs.d.ts.map +0 -1
  456. package/dist/tui/logs.js +0 -276
  457. package/dist/tui/logs.js.map +0 -1
  458. package/dist/types.d.ts +0 -362
  459. package/dist/types.d.ts.map +0 -1
  460. package/dist/types.js +0 -16
  461. package/dist/types.js.map +0 -1
  462. package/dist/ui/picker.d.ts +0 -41
  463. package/dist/ui/picker.d.ts.map +0 -1
  464. package/dist/ui/picker.js +0 -77
  465. package/dist/ui/picker.js.map +0 -1
  466. package/dist/ui/progress.d.ts +0 -10
  467. package/dist/ui/progress.d.ts.map +0 -1
  468. package/dist/ui/progress.js +0 -36
  469. package/dist/ui/progress.js.map +0 -1
  470. package/dist/ui/render.d.ts +0 -91
  471. package/dist/ui/render.d.ts.map +0 -1
  472. package/dist/ui/render.js +0 -138
  473. package/dist/ui/render.js.map +0 -1
  474. package/dist/ui/spinner.d.ts +0 -4
  475. package/dist/ui/spinner.d.ts.map +0 -1
  476. package/dist/ui/spinner.js +0 -7
  477. package/dist/ui/spinner.js.map +0 -1
  478. package/dist/ui/table.d.ts +0 -8
  479. package/dist/ui/table.d.ts.map +0 -1
  480. package/dist/ui/table.js +0 -46
  481. package/dist/ui/table.js.map +0 -1
  482. package/dist/update-check.d.ts +0 -13
  483. package/dist/update-check.d.ts.map +0 -1
  484. package/dist/update-check.js +0 -94
  485. package/dist/update-check.js.map +0 -1
  486. package/dist/version.d.ts +0 -3
  487. package/dist/version.d.ts.map +0 -1
  488. package/dist/version.js +0 -5
  489. package/dist/version.js.map +0 -1
@@ -1,91 +0,0 @@
1
- /**
2
- * MIOSA CLI render vocabulary.
3
- *
4
- * Single source of truth for the visible look-and-feel: banner, status
5
- * icons, key/value panels, hint blocks, error envelopes, and elapsed
6
- * timing. Every command should compose its output from these primitives
7
- * so the brand stays consistent.
8
- *
9
- * Design rules:
10
- * - One accent color (cyan) for the brand.
11
- * - Semantic colors for status (green/yellow/red/dim).
12
- * - Never print colors when not a TTY (CI, pipes) — chalk handles
13
- * this automatically via FORCE_COLOR=0 / NO_COLOR; we just call it.
14
- * - Plain ASCII only. No unicode that breaks in cmd.exe / Putty.
15
- * - Every "section" the user sees should fit inside one of these
16
- * primitives; the command does NOT reach for raw `console.log` +
17
- * ad-hoc chalk except for the body of a tool result.
18
- */
19
- export declare const icon: {
20
- ok: string;
21
- fail: string;
22
- warn: string;
23
- info: string;
24
- bullet: string;
25
- arrow: string;
26
- pending: string;
27
- };
28
- /**
29
- * Single-line MIOSA banner used at the top of lifecycle commands
30
- * (login / logout / mcp install). Compact and unobtrusive.
31
- *
32
- * ▮▮▮ MIOSA ▮▮▮ v1.0.4
33
- */
34
- export declare function banner(opts?: {
35
- version?: string;
36
- subtitle?: string;
37
- }): string;
38
- export interface KVRow {
39
- /** Left column label. Will be bolded. */
40
- label: string;
41
- /** Right column value. Pre-formatted; no further styling applied. */
42
- value: string;
43
- /** Optional leading icon (e.g. `icon.ok`). */
44
- icon?: string;
45
- }
46
- /**
47
- * Render a list of key/value rows with aligned columns. Used for the
48
- * "✓ Authenticated ClinicIQ · Pro plan" output blocks.
49
- */
50
- export declare function kvPanel(rows: KVRow[]): string;
51
- /**
52
- * Suggest what the user can do next. Rendered as:
53
- *
54
- * → Next: miosa computers list
55
- * miosa mcp install
56
- */
57
- export declare function hintBlock(label: string, commands: string[]): string;
58
- export interface ErrorEnvelope {
59
- title: string;
60
- body?: string;
61
- /** Suggested commands or doc URL. */
62
- suggest?: string[];
63
- /** Show "Run with --debug for full trace" hint. */
64
- withDebugHint?: boolean;
65
- }
66
- /**
67
- * Format an error in the brand's red envelope. Use this in the catch
68
- * block of every command instead of bare `console.error`.
69
- */
70
- export declare function errorEnvelope(env: ErrorEnvelope): string;
71
- /**
72
- * Wrap an async block and append a "Took 1.2s" line on success.
73
- * On error, re-throws so the caller can format its own envelope.
74
- */
75
- export declare function withElapsed<T>(fn: () => Promise<T>): Promise<{
76
- result: T;
77
- elapsed: string;
78
- }>;
79
- export declare function formatDuration(ms: number): string;
80
- /** Insert a blank line. Cheap readability tool. */
81
- export declare const blank: () => void;
82
- /** Print the banner — convenience over `console.log(banner(...))`. */
83
- export declare function printBanner(opts?: {
84
- version?: string;
85
- subtitle?: string;
86
- }): void;
87
- /** Print the elapsed line in dim text below a successful command. */
88
- export declare function printElapsed(elapsed: string): void;
89
- /** Print a section header (dim small-caps). */
90
- export declare function sectionHeader(label: string): void;
91
- //# sourceMappingURL=render.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["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AAW,CACzB,IAAI,GAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAO,GACjD,IAAI,CAIN;AAED,qEAAqE;AACrE,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAGlD;AAED,+CAA+C;AAC/C,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAGjD"}
package/dist/ui/render.js DELETED
@@ -1,138 +0,0 @@
1
- /**
2
- * MIOSA CLI render vocabulary.
3
- *
4
- * Single source of truth for the visible look-and-feel: banner, status
5
- * icons, key/value panels, hint blocks, error envelopes, and elapsed
6
- * timing. Every command should compose its output from these primitives
7
- * so the brand stays consistent.
8
- *
9
- * Design rules:
10
- * - One accent color (cyan) for the brand.
11
- * - Semantic colors for status (green/yellow/red/dim).
12
- * - Never print colors when not a TTY (CI, pipes) — chalk handles
13
- * this automatically via FORCE_COLOR=0 / NO_COLOR; we just call it.
14
- * - Plain ASCII only. No unicode that breaks in cmd.exe / Putty.
15
- * - Every "section" the user sees should fit inside one of these
16
- * primitives; the command does NOT reach for raw `console.log` +
17
- * ad-hoc chalk except for the body of a tool result.
18
- */
19
- import chalk from "chalk";
20
- // ── Status icons ──────────────────────────────────────────────────────────
21
- // Plain ASCII so they render everywhere. Colors applied via chalk.
22
- export const icon = {
23
- ok: chalk.green("✓"),
24
- fail: chalk.red("✗"),
25
- warn: chalk.yellow("⚠"),
26
- info: chalk.cyan("›"),
27
- bullet: chalk.dim("•"),
28
- arrow: chalk.dim("→"),
29
- pending: chalk.yellow("·"),
30
- };
31
- // ── Brand banner ──────────────────────────────────────────────────────────
32
- /**
33
- * Single-line MIOSA banner used at the top of lifecycle commands
34
- * (login / logout / mcp install). Compact and unobtrusive.
35
- *
36
- * ▮▮▮ MIOSA ▮▮▮ v1.0.4
37
- */
38
- export function banner(opts = {}) {
39
- const bar = chalk.cyan("▮▮▮");
40
- const wordmark = chalk.bold("MIOSA");
41
- const version = opts.version ? chalk.dim(` v${opts.version}`) : "";
42
- const subtitle = opts.subtitle ? chalk.dim(` ${opts.subtitle}`) : "";
43
- return `${bar} ${wordmark} ${bar}${version}${subtitle}`;
44
- }
45
- /**
46
- * Render a list of key/value rows with aligned columns. Used for the
47
- * "✓ Authenticated ClinicIQ · Pro plan" output blocks.
48
- */
49
- export function kvPanel(rows) {
50
- if (rows.length === 0)
51
- return "";
52
- const labelWidth = Math.max(...rows.map((r) => r.label.length));
53
- return rows
54
- .map((r) => {
55
- const lead = r.icon ? `${r.icon} ` : " ";
56
- const label = chalk.bold(r.label.padEnd(labelWidth));
57
- return ` ${lead}${label} ${r.value}`;
58
- })
59
- .join("\n");
60
- }
61
- // ── Hint block ────────────────────────────────────────────────────────────
62
- /**
63
- * Suggest what the user can do next. Rendered as:
64
- *
65
- * → Next: miosa computers list
66
- * miosa mcp install
67
- */
68
- export function hintBlock(label, commands) {
69
- if (commands.length === 0)
70
- return "";
71
- const head = ` ${chalk.dim("→")} ${chalk.bold(label)}`;
72
- const pad = " ".repeat(label.length + 5); // align with first command
73
- const lines = commands.map((c, i) => i === 0 ? `${head} ${chalk.cyan(c)}` : ` ${pad}${chalk.cyan(c)}`);
74
- return lines.join("\n");
75
- }
76
- /**
77
- * Format an error in the brand's red envelope. Use this in the catch
78
- * block of every command instead of bare `console.error`.
79
- */
80
- export function errorEnvelope(env) {
81
- const lines = [];
82
- lines.push(` ${chalk.red("✗")} ${chalk.bold.red(env.title)}`);
83
- if (env.body)
84
- lines.push(` ${chalk.dim(env.body)}`);
85
- if (env.suggest && env.suggest.length > 0) {
86
- lines.push("");
87
- lines.push(` ${chalk.dim("→")} ${chalk.bold("Try")}`);
88
- for (const s of env.suggest)
89
- lines.push(` ${chalk.cyan(s)}`);
90
- }
91
- if (env.withDebugHint) {
92
- lines.push("");
93
- lines.push(` ${chalk.dim("Run with MIOSA_DEBUG=1 for the full stack trace.")}`);
94
- }
95
- return lines.join("\n");
96
- }
97
- // ── Elapsed timer ─────────────────────────────────────────────────────────
98
- /**
99
- * Wrap an async block and append a "Took 1.2s" line on success.
100
- * On error, re-throws so the caller can format its own envelope.
101
- */
102
- export async function withElapsed(fn) {
103
- const start = Date.now();
104
- const result = await fn();
105
- const ms = Date.now() - start;
106
- return { result, elapsed: formatDuration(ms) };
107
- }
108
- export function formatDuration(ms) {
109
- if (ms < 1000)
110
- return `${ms}ms`;
111
- if (ms < 10_000)
112
- return `${(ms / 1000).toFixed(1)}s`;
113
- if (ms < 60_000)
114
- return `${Math.round(ms / 1000)}s`;
115
- const m = Math.floor(ms / 60_000);
116
- const s = Math.round((ms % 60_000) / 1000);
117
- return `${m}m ${s}s`;
118
- }
119
- // ── Composition helpers ──────────────────────────────────────────────────
120
- /** Insert a blank line. Cheap readability tool. */
121
- export const blank = () => console.log();
122
- /** Print the banner — convenience over `console.log(banner(...))`. */
123
- export function printBanner(opts = {}) {
124
- console.log();
125
- console.log(` ${banner(opts)}`);
126
- console.log();
127
- }
128
- /** Print the elapsed line in dim text below a successful command. */
129
- export function printElapsed(elapsed) {
130
- console.log();
131
- console.log(` ${chalk.dim(`Took ${elapsed}`)}`);
132
- }
133
- /** Print a section header (dim small-caps). */
134
- export function sectionHeader(label) {
135
- console.log();
136
- console.log(` ${chalk.dim.bold(label.toUpperCase())}`);
137
- }
138
- //# sourceMappingURL=render.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"render.js","sourceRoot":"","sources":["../../src/ui/render.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,6EAA6E;AAC7E,mEAAmE;AAEnE,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,EAAE,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;IACpB,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC;IACpB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,C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CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC;AAC1D,CAAC"}
@@ -1,4 +0,0 @@
1
- export { default as ora } from "ora";
2
- import ora from "ora";
3
- export declare function spin(text: string): ReturnType<typeof ora>;
4
- //# sourceMappingURL=spinner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../src/ui/spinner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,CAEzD"}
@@ -1,7 +0,0 @@
1
- // Re-export ora with a typed wrapper so commands don't import ora directly
2
- export { default as ora } from "ora";
3
- import ora from "ora";
4
- export function spin(text) {
5
- return ora({ text, spinner: "dots" }).start();
6
- }
7
- //# sourceMappingURL=spinner.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../src/ui/spinner.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,MAAM,UAAU,IAAI,CAAC,IAAY;IAC/B,OAAO,GAAG,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;AAChD,CAAC"}
@@ -1,8 +0,0 @@
1
- export interface Column<T> {
2
- header: string;
3
- key: keyof T | ((row: T) => string);
4
- width?: number;
5
- color?: (val: string, row: T) => string;
6
- }
7
- export declare function renderTable<T extends object>(rows: T[], columns: Column<T>[]): void;
8
- //# sourceMappingURL=table.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/ui/table.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,MAAM,CAAC,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;CACzC;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAC1C,IAAI,EAAE,CAAC,EAAE,EACT,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,GACnB,IAAI,CAwCN"}
package/dist/ui/table.js DELETED
@@ -1,46 +0,0 @@
1
- import chalk from "chalk";
2
- export function renderTable(rows, columns) {
3
- if (rows.length === 0) {
4
- console.log(chalk.dim("(no results)"));
5
- return;
6
- }
7
- // Compute column widths
8
- const widths = columns.map((col) => {
9
- const headerLen = col.header.length;
10
- const maxData = rows.reduce((max, row) => {
11
- const val = getCellValue(row, col);
12
- return Math.max(max, val.length);
13
- }, 0);
14
- return col.width ?? Math.max(headerLen, maxData);
15
- });
16
- // Header row
17
- const header = columns
18
- .map((col, i) => chalk.bold(col.header.padEnd(widths[i] ?? col.header.length)))
19
- .join(" ");
20
- console.log(header);
21
- // Separator
22
- const sep = widths.map((w) => "─".repeat(w)).join(" ");
23
- console.log(chalk.dim(sep));
24
- // Data rows
25
- for (const row of rows) {
26
- const line = columns
27
- .map((col, i) => {
28
- const w = widths[i] ?? 0;
29
- const val = getCellValue(row, col);
30
- const padded = val.padEnd(w);
31
- return col.color ? col.color(padded, row) : padded;
32
- })
33
- .join(" ");
34
- console.log(line);
35
- }
36
- }
37
- function getCellValue(row, col) {
38
- if (typeof col.key === "function") {
39
- return col.key(row);
40
- }
41
- const val = row[col.key];
42
- if (val === null || val === undefined)
43
- return chalk.dim("—");
44
- return String(val);
45
- }
46
- //# sourceMappingURL=table.js.map
@@ -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ks npm registry for the latest @miosa/cli version once per 24h.
4
- * Caches the result in ~/.miosa/update-check.json.
5
- * Never blocks the command; errors are silently swallowed.
6
- */
7
- /**
8
- * Schedule an async update check that prints a notice if a newer version is
9
- * available. Must be called after `program.parseAsync()` so it never delays
10
- * command output. Uses `setImmediate` to yield first, then fires a fetch.
11
- */
12
- export declare function scheduleUpdateCheck(currentVersion: string): void;
13
- //# sourceMappingURL=update-check.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-check.d.ts","sourceRoot":"","sources":["../src/update-check.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA+CH;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAwChE"}
@@ -1,94 +0,0 @@
1
- /**
2
- * Auto-update checker — fires async after command completion.
3
- * Checks npm registry for the latest @miosa/cli version once per 24h.
4
- * Caches the result in ~/.miosa/update-check.json.
5
- * Never blocks the command; errors are silently swallowed.
6
- */
7
- import { readFileSync, writeFileSync, mkdirSync } from "node:fs";
8
- import { homedir } from "node:os";
9
- import { join } from "node:path";
10
- import chalk from "chalk";
11
- import { isJsonMode, isQuietMode } from "./cli-env.js";
12
- const CACHE_PATH = join(homedir(), ".miosa", "update-check.json");
13
- const CACHE_TTL_MS = 24 * 60 * 60 * 1000; // 24 hours
14
- const REGISTRY_URL = "https://registry.npmjs.org/@miosa/cli/latest";
15
- function readCache() {
16
- try {
17
- const raw = readFileSync(CACHE_PATH, "utf8");
18
- return JSON.parse(raw);
19
- }
20
- catch {
21
- return null;
22
- }
23
- }
24
- function writeCache(data) {
25
- try {
26
- mkdirSync(join(homedir(), ".miosa"), { recursive: true });
27
- writeFileSync(CACHE_PATH, JSON.stringify(data), "utf8");
28
- }
29
- catch {
30
- // Non-fatal — cache write failures are ignored
31
- }
32
- }
33
- function compareVersions(current, latest) {
34
- const parse = (v) => {
35
- const parts = v.replace(/^v/, "").split(".").map(Number);
36
- return [parts[0] ?? 0, parts[1] ?? 0, parts[2] ?? 0];
37
- };
38
- const [cMaj, cMin, cPat] = parse(current);
39
- const [lMaj, lMin, lPat] = parse(latest);
40
- if (lMaj !== cMaj)
41
- return lMaj > cMaj;
42
- if (lMin !== cMin)
43
- return lMin > cMin;
44
- return lPat > cPat;
45
- }
46
- /**
47
- * Schedule an async update check that prints a notice if a newer version is
48
- * available. Must be called after `program.parseAsync()` so it never delays
49
- * command output. Uses `setImmediate` to yield first, then fires a fetch.
50
- */
51
- export function scheduleUpdateCheck(currentVersion) {
52
- if (isJsonMode() || isQuietMode())
53
- return;
54
- setImmediate(() => {
55
- void (async () => {
56
- try {
57
- const cache = readCache();
58
- const now = Date.now();
59
- // Use cached result if still fresh
60
- if (cache && now - cache.checkedAt < CACHE_TTL_MS) {
61
- if (compareVersions(currentVersion, cache.latestVersion)) {
62
- printNotice(currentVersion, cache.latestVersion);
63
- }
64
- return;
65
- }
66
- // Fetch latest from npm — 3 second timeout so this never hangs
67
- const ac = new AbortController();
68
- const timer = setTimeout(() => ac.abort(), 3_000);
69
- let latestVersion;
70
- try {
71
- const resp = await fetch(REGISTRY_URL, { signal: ac.signal });
72
- if (!resp.ok)
73
- return;
74
- const json = (await resp.json());
75
- latestVersion = json.version;
76
- }
77
- finally {
78
- clearTimeout(timer);
79
- }
80
- writeCache({ checkedAt: now, latestVersion });
81
- if (compareVersions(currentVersion, latestVersion)) {
82
- printNotice(currentVersion, latestVersion);
83
- }
84
- }
85
- catch {
86
- // Never surface update-check errors to the user
87
- }
88
- })();
89
- });
90
- }
91
- function printNotice(current, latest) {
92
- console.error(chalk.yellow(`Update available: ${current} → ${latest}. Run \`miosa update\` to update.`));
93
- }
94
- //# sourceMappingURL=update-check.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-check.js","sourceRoot":"","sources":["../src/update-check.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;A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gBAC1B,IAAI,CAAC;oBACH,MAAM,IAAI,GAAG,MAAM,KAAK,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;oBAC9D,IAAI,CAAC,IAAI,CAAC,EAAE;wBAAE,OAAO;oBACrB,MAAM,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,CAAwB,CAAC;oBACxD,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC;gBAC/B,CAAC;wBAAS,CAAC;oBACT,YAAY,CAAC,KAAK,CAAC,CAAC;gBACtB,CAAC;gBAED,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC;gBAE9C,IAAI,eAAe,CAAC,cAAc,EAAE,aAAa,CAAC,EAAE,CAAC;oBACnD,WAAW,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;gBAC7C,CAAC;YACH,CAAC;YAAC,MAAM,CAAC;gBACP,gDAAgD;YAClD,CAAC;QACH,CAAC,CAAC,EAAE,CAAC;IACP,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,WAAW,CAAC,OAAe,EAAE,MAAc;IAClD,OAAO,CAAC,KAAK,CACX,KAAK,CAAC,MAAM,CACV,qBAAqB,OAAO,MAAM,MAAM,mCAAmC,CAC5E,CACF,CAAC;AACJ,CAAC"}
package/dist/version.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export declare const CLI_VERSION: string;
2
- export declare const CLI_USER_AGENT: string;
3
- //# sourceMappingURL=version.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW,QAAmB,CAAC;AAC5C,eAAO,MAAM,cAAc,QAA8B,CAAC"}
package/dist/version.js DELETED
@@ -1,5 +0,0 @@
1
- import { readFileSync } from "node:fs";
2
- const manifest = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
3
- export const CLI_VERSION = manifest.version;
4
- export const CLI_USER_AGENT = `@miosa/cli/${CLI_VERSION}`;
5
- //# sourceMappingURL=version.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CACzB,YAAY,CAAC,IAAI,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAC3C,CAAC;AAEzB,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC;AAC5C,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,WAAW,EAAE,CAAC"}