@metabase/cli 0.3.1 → 0.3.2-alpha.fix-transform-test-ee-path.041c793

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 (267) hide show
  1. package/dist/{add-collection-CYDUm_XO.mjs → add-collection-73X1DmCM.mjs} +6 -9
  2. package/dist/{alert-ClyhtxIz.mjs → alert-BB38lWSL.mjs} +7 -7
  3. package/dist/{alerts-Dt3D1gcz.mjs → alerts-DxyzqLSU.mjs} +7 -7
  4. package/dist/{append-Bl_Ensmr.mjs → append-CHme1Enm.mjs} +5 -5
  5. package/dist/{archive-DSMqHRr1.mjs → archive-BGiDxu8O.mjs} +4 -4
  6. package/dist/{archive-D3a3Wgz0.mjs → archive-BMyvyf62.mjs} +4 -4
  7. package/dist/{archive-BdHXQg4I.mjs → archive-C4Y2B58q.mjs} +4 -4
  8. package/dist/{archive-CWceyy8x.mjs → archive-CP5Hlqjw.mjs} +5 -5
  9. package/dist/{archive-BOyKhNOz.mjs → archive-Cq3fnc0v2.mjs} +6 -6
  10. package/dist/{archive-DVGDg8mP.mjs → archive-CqKqNdUh.mjs} +6 -6
  11. package/dist/{archive-DDru3vdy.mjs → archive-Czo5T0Lp.mjs} +4 -4
  12. package/dist/{archive-nKD3mOB8.mjs → archive-DBcxZwLd.mjs} +6 -6
  13. package/dist/{archive-CNblz55j.mjs → archive-DKFPJ9j3.mjs} +6 -6
  14. package/dist/{archive-BJZ7Dace.mjs → archive-DPL1qOuL.mjs} +6 -6
  15. package/dist/{archive-DiGxCojL.mjs → archive-eS-XA74p.mjs} +4 -4
  16. package/dist/{auth-aCksg8q2.mjs → auth-6YyB0HNB.mjs} +5 -5
  17. package/dist/{body-DxRSAMNC.mjs → body-OjAWKVaU.mjs} +3 -3
  18. package/dist/{branches-_0VWR2Zm.mjs → branches-D5YLVFDK.mjs} +4 -7
  19. package/dist/{cancel-ctpVE8uC.mjs → cancel-DeRIq1YJ.mjs} +4 -4
  20. package/dist/{cancel-task-FtxBka-M.mjs → cancel-task-CqExODVm.mjs} +5 -8
  21. package/dist/card-BMSqofd7.mjs +24 -0
  22. package/dist/{card-zyUkr2nS.mjs → card-CEkp1mcI.mjs} +1 -1
  23. package/dist/{card-DZxRmver.mjs → card-voh1k4hl.mjs} +14 -11
  24. package/dist/{cards-DHOWAvfv.mjs → cards-B813G9I5.mjs} +7 -7
  25. package/dist/cli.mjs +572 -69
  26. package/dist/client-cJ7aw0Gt.mjs +4092 -0
  27. package/dist/collection-BfNg7tEg.mjs +20 -0
  28. package/dist/{collection-CfulNRBG.mjs → collection-BxdPxD38.mjs} +1 -1
  29. package/dist/{collection-CGoVLvcD.mjs → collection-DYM0p3Xl.mjs} +1 -1
  30. package/dist/{collection-namespace-CEoQ7G08.mjs → collection-namespace-CVzDgJV0.mjs} +2 -2
  31. package/dist/{content-translation-DNKerjS3.mjs → content-translation-QKWt9l76.mjs} +3 -3
  32. package/dist/{create-e650zxzX.mjs → create-4UnoQvsy.mjs} +5 -5
  33. package/dist/{create-DaYRnK5P.mjs → create-BJad6MR82.mjs} +8 -8
  34. package/dist/{create-CcLchJAN.mjs → create-BLiB2xqo.mjs} +7 -7
  35. package/dist/{create-C9vy4ZG6.mjs → create-BWp6L_dW.mjs} +5 -5
  36. package/dist/{create-C78g8Crb.mjs → create-Bef5eBCA.mjs} +5 -5
  37. package/dist/{create-F4Lf09xq.mjs → create-CMV3qlzJ.mjs} +4 -4
  38. package/dist/{create-DmvoibX8.mjs → create-CWGsiFvU.mjs} +4 -4
  39. package/dist/{create-C3IaXXty.mjs → create-CoFg1p6m.mjs} +4 -4
  40. package/dist/{create-CEydRMWS.mjs → create-CvIeb1NU.mjs} +7 -7
  41. package/dist/{create-vlrlY-2E.mjs → create-CvpeAcFc.mjs} +4 -4
  42. package/dist/{create-wJR4CxHA.mjs → create-D50TxVTk.mjs} +5 -8
  43. package/dist/{create-CLG2-bso.mjs → create-DEBgYRlM.mjs} +6 -6
  44. package/dist/{create-7ddYK4TA.mjs → create-DJm0YuLW.mjs} +6 -6
  45. package/dist/{create-BdPVWYSi.mjs → create-DmKwDQCY2.mjs} +6 -6
  46. package/dist/{create-branch-B8C7jl-J.mjs → create-branch-BN5iH-GM.mjs} +5 -9
  47. package/dist/{create-DIVhBIyE.mjs → create-bvpl6Fn5.mjs} +11 -7
  48. package/dist/create-uanpKsPo.mjs +34 -0
  49. package/dist/{csv-BLPJtlSC.mjs → csv-BhuX9fwh.mjs} +5 -5
  50. package/dist/{current-task-C-ldJbWE.mjs → current-task-BMt2NeqV.mjs} +5 -8
  51. package/dist/{dashboard-CtO_3EfC.mjs → dashboard-Ct_ajSYI.mjs} +10 -10
  52. package/dist/{dashboard-CKUR8ZpQ.mjs → dashboard-D0hwTC-f.mjs} +11 -2
  53. package/dist/{dashboard-BlbNszi8.mjs → dashboard-DgK81azj.mjs} +1 -1
  54. package/dist/{database-B19qlLKZ.mjs → database-C3E9PZSx.mjs} +1 -1
  55. package/dist/{database-C8G6ZKG0.mjs → database-JtHTqSpq.mjs} +1 -1
  56. package/dist/{db-xXselnBq.mjs → db-B_LW2VE-.mjs} +7 -7
  57. package/dist/{delete-ZJJyqsRh.mjs → delete-BOcPK_H9.mjs} +5 -5
  58. package/dist/{delete-BZZHw6pm.mjs → delete-CowGO4rh.mjs} +5 -5
  59. package/dist/{delete-D6WxgWRp.mjs → delete-D0f7VatX.mjs} +5 -5
  60. package/dist/{delete-BwSPQy7m.mjs → delete-D2bUV6uo.mjs} +5 -5
  61. package/dist/delete-DZ_ICQug.mjs +44 -0
  62. package/dist/{delete-BZwAOQxG.mjs → delete-Ur7b11no.mjs} +5 -5
  63. package/dist/{delete-runtime-D74s6vhu.mjs → delete-runtime-BKEzJn22.mjs} +1 -2
  64. package/dist/{delete-table-CJktZE3w.mjs → delete-table-Dd8X573t.mjs} +5 -5
  65. package/dist/{dependencies-BdqIqEIy.mjs → dependencies-XDVLBwko.mjs} +7 -7
  66. package/dist/{dirty-BW2As2wS.mjs → dirty-k-JmGLsS.mjs} +6 -9
  67. package/dist/{document-Cd2mmqCp.mjs → document-BHpLJbKU.mjs} +5 -0
  68. package/dist/document-BW9iow8R.mjs +19 -0
  69. package/dist/{document-D6OybtP2.mjs → document-CA0Q6lqu.mjs} +1 -1
  70. package/dist/{download-mfFJ9oRS.mjs → download-CQjPIYDO.mjs} +3 -6
  71. package/dist/{eid-DZ-4t2xe.mjs → eid-CNTKDgwj.mjs} +4 -5
  72. package/dist/{events-D6yFmXP1.mjs → events-BshWlkDp.mjs} +5 -5
  73. package/dist/{export-DYZjz1WP.mjs → export-Dq6ecU8h.mjs} +7 -10
  74. package/dist/{field-BJ54wmIX.mjs → field-Bo2ISMO4.mjs} +5 -5
  75. package/dist/{field-Cr2DPUG9.mjs → field-CcN4oZy6.mjs} +16 -1
  76. package/dist/{field-BPsNa-TO.mjs → field-fDtIrY6D.mjs} +1 -1
  77. package/dist/{fields-FUWCgPOa.mjs → fields-CVctqn5G.mjs} +7 -7
  78. package/dist/{get-BraVQ1FJ.mjs → get-7xTeNGAo.mjs} +6 -6
  79. package/dist/{get-LAew34ID.mjs → get-8b5Sh50q.mjs} +6 -6
  80. package/dist/{get-CWnriw33.mjs → get-B4RgW-VT.mjs} +6 -6
  81. package/dist/{get-C_5AbfpO.mjs → get-BD81MHl_.mjs} +4 -4
  82. package/dist/{get-ByZJf9nO.mjs → get-Bl3OmlBP.mjs} +5 -5
  83. package/dist/get-BtTetWzm.mjs +32 -0
  84. package/dist/{get-_ggLr1tY.mjs → get-BvSA_mmf.mjs} +6 -6
  85. package/dist/{get-DhkltKIV.mjs → get-BvgEF--n.mjs} +4 -4
  86. package/dist/{get-DYaQpixt.mjs → get-C5sWciaE.mjs} +6 -6
  87. package/dist/get-CO6X4nZH.mjs +93 -0
  88. package/dist/{get-DVyesErX.mjs → get-CTPvdcud.mjs} +6 -6
  89. package/dist/{get-DMECsioX.mjs → get-CrpwxWOV.mjs} +4 -4
  90. package/dist/{get-Ba2HRdrx.mjs → get-D4oGhZWX.mjs} +6 -6
  91. package/dist/{get-CsN7NBI0.mjs → get-Df6cGHCM.mjs} +4 -4
  92. package/dist/{get-BWl3vzsf.mjs → get-DfMVlz64.mjs} +6 -6
  93. package/dist/{get-C5q49Dgx.mjs → get-Dr-U321T2.mjs} +6 -6
  94. package/dist/{get-DAOSGt5Z.mjs → get-Dw7jAno3.mjs} +6 -6
  95. package/dist/{get-DRJtsS1_.mjs → get-PWhOdz1z.mjs} +4 -4
  96. package/dist/{get-CQ0-fFWP.mjs → get-RslzBaXx.mjs} +5 -8
  97. package/dist/{get-run-oH4dRCBx.mjs → get-run-CZdDqfUj.mjs} +6 -6
  98. package/dist/{get-DCutQeiV.mjs → get-wjIgUlNl.mjs} +4 -4
  99. package/dist/git-sync-BmoRk0UV.mjs +28 -0
  100. package/dist/{git-sync-BDnxPrqU.mjs → git-sync-BwBRmEhE.mjs} +18 -1
  101. package/dist/{git-sync-DxD_ng48.mjs → git-sync-TjX1r_wF.mjs} +1 -1
  102. package/dist/{group-DBM87IgC.mjs → group-YQQ5GIcP.mjs} +2 -2
  103. package/dist/{has-remote-changes-CnmyIw_7.mjs → has-remote-changes-i-3MVxat.mjs} +5 -8
  104. package/dist/{import-B7Si-bSI.mjs → import-DWEKejya.mjs} +7 -10
  105. package/dist/{input-DH9i67x_.mjs → input-DEvkIjGr.mjs} +1 -1
  106. package/dist/{is-dirty-BOH_VEA8.mjs → is-dirty-C5ipqd4v.mjs} +3 -6
  107. package/dist/{items-DouHkWev.mjs → items-hKJ2ZDwy.mjs} +7 -7
  108. package/dist/{key-BEhqIzIQ.mjs → key-PYetuQ13.mjs} +1 -1
  109. package/dist/{library-1J_4Dicw.mjs → library-B7_04UVK.mjs} +5 -5
  110. package/dist/library-BPIzb3K_.mjs +81 -0
  111. package/dist/{library-DfYAT2Ep.mjs → library-PGCfm0UA.mjs} +1 -1
  112. package/dist/{list-BK_6VNm_.mjs → list-1vdClKSE.mjs} +4 -4
  113. package/dist/{list-DWLGpMvr.mjs → list-6myofqMv.mjs} +7 -7
  114. package/dist/{list-DhViDVx_.mjs → list-B-9QOX9Y.mjs} +6 -6
  115. package/dist/{list-aKUk-a1Y.mjs → list-Bs7_Rysg.mjs} +7 -7
  116. package/dist/list-CHuhMXet.mjs +35 -0
  117. package/dist/{list-DptEWB5Y.mjs → list-CLZU_EOf.mjs} +4 -4
  118. package/dist/{list-B2Ddf4W0.mjs → list-Cen-7uTo.mjs} +5 -5
  119. package/dist/{list-D2IYZ6lk.mjs → list-CgH-H-O6.mjs} +6 -6
  120. package/dist/{list-BeMYIeiI.mjs → list-CjNXskB4.mjs} +7 -7
  121. package/dist/{list-C1bAtgO1.mjs → list-CmFh1GQ_.mjs} +4 -4
  122. package/dist/{list-Cy0w4Fap.mjs → list-D6tTvYUP.mjs} +4 -4
  123. package/dist/{list-C7UvO3Uw.mjs → list-DI820W6w.mjs} +6 -6
  124. package/dist/{list-D25ofn4v.mjs → list-DKZnQ4Ts.mjs} +7 -7
  125. package/dist/{list-C0zJ2ehz.mjs → list-DKcC4cm0.mjs} +6 -6
  126. package/dist/{list-qs9wAtC3.mjs → list-DfRqNH1N.mjs} +4 -4
  127. package/dist/list-DjwnsyXM.mjs +60 -0
  128. package/dist/{list-sDpy4nDU.mjs → list-VNC-_E59.mjs} +6 -6
  129. package/dist/{list-DJK9_BEF.mjs → list-eKDT1XXk.mjs} +14 -13
  130. package/dist/{list-BXlTYsYA.mjs → list-oX2SMzxZ.mjs} +4 -4
  131. package/dist/{login-BmyCAfRV.mjs → login-DumZaWXK.mjs} +18 -15
  132. package/dist/{logout-DUR32q0V.mjs → logout-BsXPRc-3.mjs} +3 -4
  133. package/dist/{measure-DdVp-8jw.mjs → measure-BFxkbAoa.mjs} +6 -6
  134. package/dist/{notification-Fcq1fIPw.mjs → notification-DVrLkjFT.mjs} +1 -1
  135. package/dist/{parameter-DUKR8NXo.mjs → parameter-Celg0wZa.mjs} +1 -1
  136. package/dist/{parameter-values-CBR-cBev.mjs → parameter-values-CoF9Hx1p.mjs} +5 -6
  137. package/dist/{parse-enum-D0Jfm_Bz.mjs → parse-enum-Dc0dMZ3P.mjs} +1 -1
  138. package/dist/{parse-id-B3YwNojT.mjs → parse-id-DmFJgpY6.mjs} +1 -1
  139. package/dist/{parse-ref-ibKVB0J4.mjs → parse-ref-DTDld_LJ.mjs} +1 -1
  140. package/dist/{path-D8BQmEhL.mjs → path-BQ4lRDyN.mjs} +5 -5
  141. package/dist/{poll-75SvT7Zv.mjs → poll-CZeXepUQ.mjs} +2 -2
  142. package/dist/{preflight-CoF1Em99.mjs → preflight-BTQe4swo.mjs} +3 -4
  143. package/dist/{process-DBOOrmET.mjs → process-CTrfxxaC.mjs} +1 -1
  144. package/dist/{publish-Cb7XrQ3X.mjs → publish-CFB2Cc5A.mjs} +9 -9
  145. package/dist/{pulse-BmsDenXm.mjs → pulse-Dz0ocv0l.mjs} +1 -1
  146. package/dist/{pulse-DhG6I9mI.mjs → pulse-x0gFxWfG.mjs} +2 -2
  147. package/dist/{query-D35B588l.mjs → query-BJbUnAHf.mjs} +10 -12
  148. package/dist/query-CV2KCS5O.mjs +114 -0
  149. package/dist/{query-result-DBDwk8TS.mjs → query-result-E4Q-Gra6.mjs} +1 -1
  150. package/dist/{remove-collection-DJem6V26.mjs → remove-collection-D3yvKH3e.mjs} +6 -9
  151. package/dist/{render-CI93iP0I.mjs → render-BJRCs7rA.mjs} +13 -2
  152. package/dist/{replace-CtsWICrD.mjs → replace-uj4WTqx_.mjs} +5 -5
  153. package/dist/{rescan-values-CaXUL6z5.mjs → rescan-values-CzxQU318.mjs} +6 -6
  154. package/dist/{run-CM-Amtbf.mjs → run-B2f_omHu.mjs} +26 -14
  155. package/dist/run-DlO1J1Sx.mjs +50 -0
  156. package/dist/{run-BeLm17F4.mjs → run-yX2dtmE5.mjs} +6 -6
  157. package/dist/{runs-DFG63zgr.mjs → runs-DzUO45wU.mjs} +7 -7
  158. package/dist/{runtime-z8rra6-I.mjs → runtime-arKqJqIT.mjs} +994 -252
  159. package/dist/{schema-tables-COAHkIcy.mjs → schema-tables-DZCNzuQ6.mjs} +7 -7
  160. package/dist/{schemas-BX5BATiV.mjs → schemas-2ejqaVsG.mjs} +5 -5
  161. package/dist/{search-DFBwUc6d.mjs → search-BAXg-EJw.mjs} +2 -1
  162. package/dist/{search-CPvvmhdt.mjs → search-DcihauDZ.mjs} +6 -6
  163. package/dist/{segment-C62L6BI3.mjs → segment-BQT2poPG.mjs} +6 -6
  164. package/dist/{selectors-P4QnrORk.mjs → selectors-BzestDld.mjs} +3 -3
  165. package/dist/{send-PZh5IKF8.mjs → send-DMxoLFo7.mjs} +4 -4
  166. package/dist/{set-DbCtUoFd.mjs → set-CDmiD0vv.mjs} +5 -5
  167. package/dist/{set-active-DL4QzWDO.mjs → set-active-RrvWR9NY.mjs} +5 -5
  168. package/dist/{setting-BlRcZbhC.mjs → setting-BiBLCcxz.mjs} +4 -4
  169. package/dist/{setup-D_SLaC-3.mjs → setup-DYsTzkWO.mjs} +4 -4
  170. package/dist/{signal-CMd0EFUa.mjs → signal-k7cm5N6h.mjs} +11 -2
  171. package/dist/skill-list-D9_1Pmt7.mjs +76 -0
  172. package/dist/skills-BPHXUfeL.mjs +351 -0
  173. package/dist/{skills-D991LB1M.mjs → skills-C3bxxC6a.mjs} +3 -3
  174. package/dist/snippet-BtfxE60H.mjs +19 -0
  175. package/dist/{stash-DyBxFoP6.mjs → stash-DdheS0Ad.mjs} +7 -11
  176. package/dist/{status-cfDHqK2Q.mjs → status-BuIzXRX1.mjs} +12 -11
  177. package/dist/{status-DUsiogz5.mjs → status-CXouQJ31.mjs} +11 -9
  178. package/dist/{subscription-Bn0AU7GN.mjs → subscription-CJ8Igs1U.mjs} +6 -6
  179. package/dist/{subscriptions-DwqjCVlc.mjs → subscriptions-D0NpGvCQ.mjs} +7 -7
  180. package/dist/{summary-BGwSNzf4.mjs → summary-D04S8gGj.mjs} +6 -6
  181. package/dist/{sync-schema-dtkDOAKe.mjs → sync-schema-DrA5zkdl.mjs} +7 -7
  182. package/dist/{sync-task-BACcrs0i.mjs → sync-task-BXeWuARG.mjs} +1 -1
  183. package/dist/{table-CsIJNPFf.mjs → table-C6h4tIRw.mjs} +1 -1
  184. package/dist/{table-CeeTJgQb.mjs → table-DfuY0N8e.mjs} +51 -4
  185. package/dist/{table-BJoEAoCU.mjs → table-Dntbz7Q2.mjs} +5 -5
  186. package/dist/timeline-8jwsldo3.mjs +21 -0
  187. package/dist/{timeline-event-BsF7YqzZ.mjs → timeline-event-BbB1xEdI.mjs} +6 -6
  188. package/dist/{transform-DoTyyXAu.mjs → transform-CtqB1WYo.mjs} +2 -2
  189. package/dist/{transform-D3QX0jxA.mjs → transform-DiW7bREn.mjs} +68 -5
  190. package/dist/{transform-job-50GZHhKH.mjs → transform-job-AaMZRxAq.mjs} +1 -1
  191. package/dist/transform-job-B-1YAbvy.mjs +22 -0
  192. package/dist/{transform-job-DRrK28IH.mjs → transform-job-CCguL6LP.mjs} +41 -4
  193. package/dist/transform-m6s4kkWU.mjs +28 -0
  194. package/dist/{transform-tag-VM9R7Q_M.mjs → transform-tag-PjryheLF.mjs} +5 -5
  195. package/dist/transform-test-BjjCQ2xm.mjs +169 -0
  196. package/dist/transform-test-DSTkKKNC.mjs +16 -0
  197. package/dist/transform-test-gzDcbypy.mjs +25 -0
  198. package/dist/{transforms-BjACGbBp.mjs → transforms-CijX3VE7.mjs} +7 -7
  199. package/dist/{tree-BwS6JAmk.mjs → tree-Cmb3O6rH.mjs} +4 -5
  200. package/dist/{unpublish-DWdPnENY.mjs → unpublish-DkP_AcK5.mjs} +4 -7
  201. package/dist/{update-DKEHY-gt.mjs → update-8UmD1prT.mjs} +7 -7
  202. package/dist/{update-C1FBVLfC.mjs → update-BFyRBc-H.mjs} +8 -8
  203. package/dist/{update-tLIhVIPp.mjs → update-BrXGg3QO.mjs} +8 -8
  204. package/dist/{update-DCjAjihm.mjs → update-C91m9YAR.mjs} +6 -6
  205. package/dist/{update-BpPaacCF.mjs → update-COcx61Ur.mjs} +6 -6
  206. package/dist/update-Ci8YL4_2.mjs +41 -0
  207. package/dist/{update-BR_vkkd1.mjs → update-CtLbFCd_.mjs} +5 -5
  208. package/dist/{update-DTmRHBik.mjs → update-D6Zzvc7F.mjs} +7 -7
  209. package/dist/{update-cqR1U6DU.mjs → update-D8htjzNJ.mjs} +5 -5
  210. package/dist/{update-B2CF2DK4.mjs → update-D9kOTr0n.mjs} +6 -6
  211. package/dist/{update-C4y3iQsv.mjs → update-DPTio6i1.mjs} +7 -7
  212. package/dist/{update-DsZttiSC.mjs → update-DlWB9s0v.mjs} +5 -5
  213. package/dist/{update-BCT9qpVr.mjs → update-DubrpPbz.mjs} +5 -5
  214. package/dist/{update-3idz42uD.mjs → update-Dz47cKBk.mjs} +7 -7
  215. package/dist/{update-DkviXwSg.mjs → update-FCP5Lop2.mjs} +7 -7
  216. package/dist/{update-DlTaD1x3.mjs → update-KSHnb6vB.mjs} +9 -9
  217. package/dist/{update-dashcard-DlE_bb2F.mjs → update-dashcard-BlibHa5o.mjs} +7 -7
  218. package/dist/{upgrade-mNV7XuJG.mjs → upgrade-EwL6wPSY.mjs} +6 -8
  219. package/dist/upload-BZshRJIM.mjs +13 -0
  220. package/dist/{upload-CEGVxmYB.mjs → upload-D0KaTqUE.mjs} +4 -7
  221. package/dist/{upload-CD555ui1.mjs → upload-Do2PBSeH.mjs} +2 -2
  222. package/dist/{uuid-C4hqn3kA.mjs → uuid-DjKLDIVE.mjs} +10 -7
  223. package/dist/{validate-query-DaGYSmpQ.mjs → validate-query-D6_ad-Gi.mjs} +3 -4
  224. package/dist/{validate-BWchyW0V.mjs → validate-xR_MHBNR.mjs} +69 -23
  225. package/dist/{values-C0O3eNaW.mjs → values-Dc9612_L.mjs} +6 -6
  226. package/dist/{verify-DfTjYF7s.mjs → verify-DVN1eqXZ.mjs} +3 -18
  227. package/dist/{wait-WZmFenN_.mjs → wait-C-ovOTAZ.mjs} +7 -10
  228. package/dist/{wait-flags-BbfDSP8R.mjs → wait-flags-BQNmuvIj.mjs} +2 -2
  229. package/dist/{window-BkvrP0gB.mjs → window-DSb1tqSe.mjs} +1 -1
  230. package/package.json +1 -1
  231. package/skill-data/core/SKILL.md +31 -15
  232. package/skill-data/dashboard/SKILL.md +1 -1
  233. package/skill-data/data-workflow/references/building-clean-tables.md +6 -2
  234. package/skill-data/data-workflow/references/reusable-definitions.md +11 -3
  235. package/skill-data/document/SKILL.md +4 -1
  236. package/skill-data/git-sync/SKILL.md +5 -0
  237. package/skill-data/mbql/SKILL.md +84 -115
  238. package/skill-data/mbql/references/operators.md +77 -231
  239. package/skill-data/metadata/SKILL.md +1 -1
  240. package/skill-data/metadata/references/semantic-types.md +7 -1
  241. package/skill-data/native-sql/SKILL.md +8 -9
  242. package/skill-data/native-sql/references/template-tags.md +27 -27
  243. package/skill-data/notification/SKILL.md +7 -1
  244. package/skill-data/transform/SKILL.md +76 -4
  245. package/skill-data/transform-test-plan/SKILL.md +171 -0
  246. package/skill-data/transform-test-plan/references/checklist.md +81 -0
  247. package/skill-data/transform-test-plan/references/checks.md +260 -0
  248. package/skill-data/visualization/SKILL.md +13 -6
  249. package/skill-data/visualization/references/settings.md +13 -11
  250. package/skills/metabase-cli/SKILL.md +1 -1
  251. package/dist/card-CGCXbdmD.mjs +0 -24
  252. package/dist/client-mKuHg_sc.mjs +0 -2218
  253. package/dist/collection-D8Tk8i3a.mjs +0 -20
  254. package/dist/document-KbcHhzFz.mjs +0 -19
  255. package/dist/get-BC8J8BXB.mjs +0 -80
  256. package/dist/git-sync-Dik8nKfw.mjs +0 -28
  257. package/dist/library-ClLgrAXy.mjs +0 -19
  258. package/dist/list-CW5PdYCX.mjs +0 -98
  259. package/dist/network-error-D6CiOEBw.mjs +0 -431
  260. package/dist/predicates-Bkm2IoeX.mjs +0 -170
  261. package/dist/query-C256WBYG.mjs +0 -87
  262. package/dist/skills-DTCrMcix.mjs +0 -216
  263. package/dist/snippet-DTDO55Cg.mjs +0 -19
  264. package/dist/timeline-DcXPshcT.mjs +0 -21
  265. package/dist/transform-Dsf_wHAj.mjs +0 -28
  266. package/dist/transform-job-B1yLv5l-.mjs +0 -22
  267. package/dist/upload-DsYCf5kB.mjs +0 -13
@@ -0,0 +1,32 @@
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
+ import { t as TransformTest } from "./transform-test-BjjCQ2xm.mjs";
5
+ import { t as transformTestView } from "./transform-test-gzDcbypy.mjs";
6
+ //#region src/commands/transform-test/get.ts
7
+ var get_default = defineMetabaseCommand({
8
+ meta: {
9
+ name: "get",
10
+ description: "Get a transform test by id"
11
+ },
12
+ details: "The compact form carries the id, transform, name and description. Pass --full for the `inputs` and `expectations` themselves, which is also the body to edit and send back to `update`.",
13
+ requires: ["transformTest.get"],
14
+ args: {
15
+ ...outputFlags,
16
+ ...profileFlag,
17
+ ...connectionFlags,
18
+ id: {
19
+ type: "positional",
20
+ description: "Transform test id",
21
+ required: true
22
+ }
23
+ },
24
+ outputSchema: TransformTest,
25
+ examples: ["mb transform-test get 1", "mb transform-test get 1 --full --json"],
26
+ async run({ args, ctx, getClient }) {
27
+ const id = parseId(args.id);
28
+ renderItem(await (await getClient()).transformTest.get(id), transformTestView, ctx);
29
+ }
30
+ });
31
+ //#endregion
32
+ export { get_default as default };
@@ -1,15 +1,15 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
4
- import { t as Field } from "./field-Cr2DPUG9.mjs";
5
- import { r as fieldView } from "./field-BPsNa-TO.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
+ import { t as Field } from "./field-CcN4oZy6.mjs";
5
+ import { r as fieldView } from "./field-fDtIrY6D.mjs";
6
6
  //#region src/commands/field/get.ts
7
7
  var get_default = defineMetabaseCommand({
8
8
  meta: {
9
9
  name: "get",
10
10
  description: "Get a field by id"
11
11
  },
12
- capabilities: { minVersion: 58 },
12
+ requires: ["field.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
4
  import { t as Measure } from "./measure-CtfjqJFP.mjs";
5
5
  import { t as measureView } from "./measure-4P0bOlZ3.mjs";
6
6
  //#region src/commands/measure/get.ts
@@ -9,7 +9,7 @@ var get_default = defineMetabaseCommand({
9
9
  name: "get",
10
10
  description: "Get a measure by id"
11
11
  },
12
- capabilities: { minVersion: 59 },
12
+ requires: ["measure.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,8 +1,8 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { r as parseEnum, t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
4
- import { r as TableGetInclude, t as Table } from "./table-CeeTJgQb.mjs";
5
- import { t as tableView } from "./table-CsIJNPFf.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { r as parseEnum, t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
+ import { a as TableGetInclude, t as Table } from "./table-DfuY0N8e.mjs";
5
+ import { t as tableView } from "./table-C6h4tIRw.mjs";
6
6
  //#region src/commands/table/hints.ts
7
7
  function tableFieldsOversizeHint(tableId) {
8
8
  return `use \`mb table fields ${tableId}\` — list output truncates gracefully instead of failing`;
@@ -14,7 +14,7 @@ var get_default = defineMetabaseCommand({
14
14
  name: "get",
15
15
  description: "Get a table by id; pass --include fields to bundle hydrated fields"
16
16
  },
17
- capabilities: { minVersion: 58 },
17
+ requires: ["table.queryMetadata", "table.get"],
18
18
  args: {
19
19
  ...outputFlags,
20
20
  ...profileFlag,
@@ -0,0 +1,93 @@
1
+ import { B as listFlags, E as warn, H as outputFlags, K as listEnvelopeSchemaWithExtras, Q as ConfigError, U as profileFlag, f as renderListWithExtras, h as writeText } from "./cli.mjs";
2
+ import { a as readCachedServerProfile, l as resolveProfileName, n as parseCsv, t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { n as windowList } from "./window-DSb1tqSe.mjs";
4
+ import { a as readSkillContent, i as loadVisibleSkills, o as selectForProfile, r as loadAllSkills, s as selectSkillsByNames, t as SkillContent } from "./skills-BPHXUfeL.mjs";
5
+ import { i as unfilteredFlag, r as skillFilterNotices, t as UnavailableSkills } from "./skill-list-D9_1Pmt7.mjs";
6
+ //#region src/commands/skills/get.ts
7
+ const SkillGetEnvelope = listEnvelopeSchemaWithExtras(SkillContent, { unavailable: UnavailableSkills });
8
+ const SKILL_OVERSIZE_HINT = "a skill body is indivisible — pass --max-bytes 0 to print it whole, or `mb skills path <name>` to read it from disk";
9
+ const skillContentView = {
10
+ compactPick: SkillContent,
11
+ tableColumns: [{
12
+ key: "name",
13
+ label: "Name"
14
+ }, {
15
+ key: "description",
16
+ label: "Description"
17
+ }]
18
+ };
19
+ var get_default = defineMetabaseCommand({
20
+ meta: {
21
+ name: "get",
22
+ description: "Print one or more skills' SKILL.md content, as the profile's server can use it: a skill it lacks the features for is reported under `unavailable`, and a section it cannot use is left out. Pass comma-separated names, or --all for every non-hidden skill. --unfiltered prints the selection as written, regardless of the server. --full includes references and templates."
23
+ },
24
+ requires: null,
25
+ args: {
26
+ ...outputFlags,
27
+ ...listFlags,
28
+ ...profileFlag,
29
+ names: {
30
+ type: "positional",
31
+ description: "Skill name (or comma-separated list). Omit to combine with --all for every non-hidden skill.",
32
+ required: false
33
+ },
34
+ all: {
35
+ type: "boolean",
36
+ description: "Every non-hidden skill"
37
+ },
38
+ ...unfilteredFlag
39
+ },
40
+ outputSchema: SkillGetEnvelope,
41
+ examples: [
42
+ "mb skills get core",
43
+ "mb skills get core --full",
44
+ "mb skills get git-sync,transform --json",
45
+ "mb skills get --all --json",
46
+ "mb skills get transform --unfiltered"
47
+ ],
48
+ async run({ args, ctx }) {
49
+ const profileName = resolveProfileName(args.profile);
50
+ const cached = args.unfiltered === true ? null : await readCachedServerProfile(profileName);
51
+ const profile = cached !== null && cached.kind === "found" ? cached.profile : null;
52
+ const selection = selectForProfile(pickSkills({
53
+ names: args.names,
54
+ all: args.all === true
55
+ }), profile);
56
+ const envelope = windowList(selection.skills.map((info) => readSkillContent(info, {
57
+ includeExtras: ctx.full,
58
+ profile
59
+ })), ctx.range);
60
+ if (ctx.format === "json") {
61
+ renderListWithExtras(envelope, { unavailable: selection.unavailable }, skillContentView, {
62
+ ...ctx,
63
+ oversizeHint: SKILL_OVERSIZE_HINT
64
+ });
65
+ return;
66
+ }
67
+ if (envelope.data.length > 0) writeText(renderText(envelope.data, ctx.full));
68
+ for (const notice of skillFilterNotices(selection.unavailable, {
69
+ profileName,
70
+ cached
71
+ })) warn(notice);
72
+ }
73
+ });
74
+ function pickSkills({ names, all }) {
75
+ if (names !== void 0) return selectSkillsByNames(loadAllSkills(), parseCsv(names));
76
+ if (all) return loadVisibleSkills();
77
+ throw new ConfigError("provide a skill name (comma-separated for multiple) or --all");
78
+ }
79
+ function renderText(payloads, includeExtras) {
80
+ return payloads.map((payload) => renderTextSection(payload, includeExtras)).join("\n\n");
81
+ }
82
+ function renderTextSection(payload, includeExtras) {
83
+ const parts = [payload.body.trimEnd()];
84
+ if (!includeExtras) return parts.join("\n\n");
85
+ for (const ref of payload.references) parts.push(extraFileHeader(payload.name, ref.path), ref.content.trimEnd());
86
+ for (const tpl of payload.templates) parts.push(extraFileHeader(payload.name, tpl.path), tpl.content.trimEnd());
87
+ return parts.join("\n\n");
88
+ }
89
+ function extraFileHeader(skillName, relPath) {
90
+ return `=== ${skillName}/${relPath} ===`;
91
+ }
92
+ //#endregion
93
+ export { get_default as default };
@@ -1,15 +1,15 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
4
- import { t as Document } from "./document-Cd2mmqCp.mjs";
5
- import { t as documentView } from "./document-D6OybtP2.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
+ import { t as Document } from "./document-BHpLJbKU.mjs";
5
+ import { t as documentView } from "./document-CA0Q6lqu.mjs";
6
6
  //#region src/commands/document/get.ts
7
7
  var get_default = defineMetabaseCommand({
8
8
  meta: {
9
9
  name: "get",
10
10
  description: "Get a document by id"
11
11
  },
12
- capabilities: { minVersion: 58 },
12
+ requires: ["document.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
4
  import { t as Segment } from "./segment-OsrbUDzw.mjs";
5
5
  import { t as segmentView } from "./segment-C_gl5ag6.mjs";
6
6
  //#region src/commands/segment/get.ts
@@ -9,7 +9,7 @@ var get_default = defineMetabaseCommand({
9
9
  name: "get",
10
10
  description: "Get a segment by id"
11
11
  },
12
- capabilities: { minVersion: 58 },
12
+ requires: ["segment.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,15 +1,15 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
4
- import { t as TransformJob } from "./transform-job-DRrK28IH.mjs";
5
- import { t as transformJobView } from "./transform-job-50GZHhKH.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
+ import { t as TransformJob } from "./transform-job-CCguL6LP.mjs";
5
+ import { t as transformJobView } from "./transform-job-AaMZRxAq.mjs";
6
6
  //#region src/commands/transform-job/get.ts
7
7
  var get_default = defineMetabaseCommand({
8
8
  meta: {
9
9
  name: "get",
10
10
  description: "Get a transform job by id"
11
11
  },
12
- capabilities: { minVersion: 59 },
12
+ requires: ["transformJob.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,6 +1,6 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
4
  import { t as Snippet } from "./snippet-CyKAgIZl.mjs";
5
5
  import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
6
6
  //#region src/commands/snippet/get.ts
@@ -9,7 +9,7 @@ var get_default = defineMetabaseCommand({
9
9
  name: "get",
10
10
  description: "Get a native query snippet by id"
11
11
  },
12
- capabilities: { minVersion: 58 },
12
+ requires: ["snippet.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,15 +1,15 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { r as Collection } from "./collection-CfulNRBG.mjs";
4
- import { n as collectionView } from "./collection-CGoVLvcD.mjs";
5
- import { t as parseCollectionRef } from "./parse-ref-ibKVB0J4.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { r as Collection } from "./collection-BxdPxD38.mjs";
4
+ import { n as collectionView } from "./collection-DYM0p3Xl.mjs";
5
+ import { t as parseCollectionRef } from "./parse-ref-DTDld_LJ.mjs";
6
6
  //#region src/commands/collection/get.ts
7
7
  var get_default = defineMetabaseCommand({
8
8
  meta: {
9
9
  name: "get",
10
10
  description: "Get a collection by id, 21-char entity id, or \"root\"/\"trash\""
11
11
  },
12
- capabilities: { minVersion: 58 },
12
+ requires: ["collection.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,15 +1,15 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
4
- import { t as Pulse } from "./pulse-BmsDenXm.mjs";
5
- import { t as pulseView } from "./pulse-DhG6I9mI.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
+ import { t as Pulse } from "./pulse-Dz0ocv0l.mjs";
5
+ import { t as pulseView } from "./pulse-x0gFxWfG.mjs";
6
6
  //#region src/commands/subscription/get.ts
7
7
  var get_default = defineMetabaseCommand({
8
8
  meta: {
9
9
  name: "get",
10
10
  description: "Get a dashboard subscription by id"
11
11
  },
12
- capabilities: { minVersion: 58 },
12
+ requires: ["pulse.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,15 +1,15 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
4
- import { i as DashboardDetail } from "./dashboard-CKUR8ZpQ.mjs";
5
- import { t as dashboardView } from "./dashboard-BlbNszi8.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
+ import { a as DashboardDetail } from "./dashboard-D0hwTC-f.mjs";
5
+ import { t as dashboardView } from "./dashboard-DgK81azj.mjs";
6
6
  //#region src/commands/dashboard/get.ts
7
7
  var get_default = defineMetabaseCommand({
8
8
  meta: {
9
9
  name: "get",
10
10
  description: "Get a dashboard by id"
11
11
  },
12
- capabilities: { minVersion: 58 },
12
+ requires: ["dashboard.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,15 +1,15 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary, f as formatScalar } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
1
+ import { H as outputFlags, U as profileFlag, _ as formatScalar, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
3
  import { r as SettingValue } from "./setting-DTiLCW8g.mjs";
4
4
  import { t as settingValueView } from "./setting-CwRYgHYN.mjs";
5
- import { t as parseSettingKey } from "./key-BEhqIzIQ.mjs";
5
+ import { t as parseSettingKey } from "./key-PYetuQ13.mjs";
6
6
  //#region src/commands/setting/get.ts
7
7
  var get_default = defineMetabaseCommand({
8
8
  meta: {
9
9
  name: "get",
10
10
  description: "Get a setting value by key"
11
11
  },
12
- capabilities: { minVersion: 58 },
12
+ requires: ["setting.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -1,7 +1,7 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as Library } from "./library-ClLgrAXy.mjs";
4
- import { t as libraryView } from "./library-DfYAT2Ep.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as Library } from "./library-BPIzb3K_.mjs";
4
+ import { t as libraryView } from "./library-PGCfm0UA.mjs";
5
5
  //#region src/commands/library/get.ts
6
6
  var get_default = defineMetabaseCommand({
7
7
  meta: {
@@ -9,10 +9,7 @@ var get_default = defineMetabaseCommand({
9
9
  description: "Show the Library and its Data / Metrics collection ids"
10
10
  },
11
11
  details: "Reads the Library root and its child collections. Use the `library-data` child's id as the target for publishing tables (or just run `mb library publish`, which resolves it for you).",
12
- capabilities: {
13
- minVersion: 59,
14
- tokenFeature: "library"
15
- },
12
+ requires: ["library.get"],
16
13
  args: {
17
14
  ...outputFlags,
18
15
  ...profileFlag,
@@ -1,15 +1,15 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
4
- import { i as TransformRun } from "./transform-D3QX0jxA.mjs";
5
- import { t as transformRunView } from "./transform-DoTyyXAu.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
+ import { o as TransformRun } from "./transform-DiW7bREn.mjs";
5
+ import { t as transformRunView } from "./transform-CtqB1WYo.mjs";
6
6
  //#region src/commands/transform/get-run.ts
7
7
  var get_run_default = defineMetabaseCommand({
8
8
  meta: {
9
9
  name: "get-run",
10
10
  description: "Get a transform run by run id (not the transform id)"
11
11
  },
12
- capabilities: { minVersion: 59 },
12
+ requires: ["transform.getRun"],
13
13
  details: "The positional id is a RUN id (from `transform runs`), not a transform id. To fetch a transform itself, use `transform get <id>`.",
14
14
  args: {
15
15
  ...outputFlags,
@@ -1,6 +1,6 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as parseId } from "./parse-id-B3YwNojT.mjs";
1
+ import { H as outputFlags, U as profileFlag, u as renderItem, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
4
4
  import { t as Timeline } from "./timeline-CCSU2qOS.mjs";
5
5
  import { n as timelineView } from "./timeline-uDCmwGFT.mjs";
6
6
  //#region src/commands/timeline/get.ts
@@ -9,7 +9,7 @@ var get_default = defineMetabaseCommand({
9
9
  name: "get",
10
10
  description: "Get a timeline by id"
11
11
  },
12
- capabilities: { minVersion: 58 },
12
+ requires: ["timeline.get"],
13
13
  args: {
14
14
  ...outputFlags,
15
15
  ...profileFlag,
@@ -0,0 +1,28 @@
1
+ import { t as defineCommandGroup } from "./group-YQQ5GIcP.mjs";
2
+ //#region src/commands/git-sync/index.ts
3
+ var git_sync_default = defineCommandGroup({
4
+ name: "git-sync",
5
+ description: "Sync Metabase content with a git remote",
6
+ skills: [{
7
+ skill: "git-sync",
8
+ purpose: "import/export round-trip and dirty checks"
9
+ }],
10
+ subCommands: {
11
+ status: () => import("./status-CXouQJ31.mjs").then((mod) => mod.default),
12
+ "is-dirty": () => import("./is-dirty-C5ipqd4v.mjs").then((mod) => mod.default),
13
+ "has-remote-changes": () => import("./has-remote-changes-i-3MVxat.mjs").then((mod) => mod.default),
14
+ dirty: () => import("./dirty-k-JmGLsS.mjs").then((mod) => mod.default),
15
+ "current-task": () => import("./current-task-BMt2NeqV.mjs").then((mod) => mod.default),
16
+ "cancel-task": () => import("./cancel-task-CqExODVm.mjs").then((mod) => mod.default),
17
+ wait: () => import("./wait-C-ovOTAZ.mjs").then((mod) => mod.default),
18
+ import: () => import("./import-DWEKejya.mjs").then((mod) => mod.default),
19
+ export: () => import("./export-Dq6ecU8h.mjs").then((mod) => mod.default),
20
+ stash: () => import("./stash-DdheS0Ad.mjs").then((mod) => mod.default),
21
+ branches: () => import("./branches-D5YLVFDK.mjs").then((mod) => mod.default),
22
+ "create-branch": () => import("./create-branch-BN5iH-GM.mjs").then((mod) => mod.default),
23
+ "add-collection": () => import("./add-collection-73X1DmCM.mjs").then((mod) => mod.default),
24
+ "remove-collection": () => import("./remove-collection-D3yvKH3e.mjs").then((mod) => mod.default)
25
+ }
26
+ });
27
+ //#endregion
28
+ export { git_sync_default as default };
@@ -76,6 +76,23 @@ const SyncRemoteChanges = z.object({
76
76
  local_version: z.string().nullable(),
77
77
  cached: z.boolean()
78
78
  });
79
+ const SyncMergeSummary = z.object({
80
+ added: z.number().int(),
81
+ updated: z.number().int(),
82
+ removed: z.number().int()
83
+ });
84
+ const SyncForcePushCasualties = z.object({
85
+ deleted: z.array(z.string()),
86
+ overwritten: z.array(z.string())
87
+ });
88
+ const SyncExportPreflight = z.object({
89
+ has_changes: z.boolean(),
90
+ clean: z.boolean(),
91
+ conflicts: z.array(z.string()),
92
+ summary: SyncMergeSummary,
93
+ force_push_casualties: SyncForcePushCasualties,
94
+ reason: z.literal("history-rewritten").nullable()
95
+ });
79
96
  const SyncBranchCreated = z.object({
80
97
  status: z.literal("success"),
81
98
  message: z.string()
@@ -101,4 +118,4 @@ const SyncStashResult = z.object({
101
118
  final: SyncTask.nullable().optional()
102
119
  });
103
120
  //#endregion
104
- export { SyncImportResult as a, SyncStashResult as c, isSyncTaskFailed as d, isSyncTaskTerminal as f, SyncExportResult as i, SyncTask as l, SyncDirtyItem as n, SyncRemoteChanges as o, SyncDirtyItemCompact as r, SyncSettingsUpdateResult as s, SyncBranchCreated as t, SyncTaskCompact as u };
121
+ export { SyncExportResult as a, SyncSettingsUpdateResult as c, SyncTaskCompact as d, isSyncTaskFailed as f, SyncExportPreflight as i, SyncStashResult as l, SyncDirtyItem as n, SyncImportResult as o, isSyncTaskTerminal as p, SyncDirtyItemCompact as r, SyncRemoteChanges as s, SyncBranchCreated as t, SyncTask as u };
@@ -1,4 +1,4 @@
1
- import { a as SyncImportResult, c as SyncStashResult, i as SyncExportResult, o as SyncRemoteChanges, r as SyncDirtyItemCompact, s as SyncSettingsUpdateResult, t as SyncBranchCreated, u as SyncTaskCompact } from "./git-sync-BDnxPrqU.mjs";
1
+ import { a as SyncExportResult, c as SyncSettingsUpdateResult, d as SyncTaskCompact, l as SyncStashResult, o as SyncImportResult, r as SyncDirtyItemCompact, s as SyncRemoteChanges, t as SyncBranchCreated } from "./git-sync-BwBRmEhE.mjs";
2
2
  //#region src/output/views/git-sync.ts
3
3
  const syncTaskView = {
4
4
  compactPick: SyncTaskCompact,
@@ -1,4 +1,4 @@
1
- import { k as setMetabaseAugment } from "./cli.mjs";
1
+ import { I as setMetabaseAugment } from "./cli.mjs";
2
2
  import { defineCommand } from "citty";
3
3
  //#region src/commands/group.ts
4
4
  function defineCommandGroup(def) {
@@ -19,7 +19,7 @@ function defineCommandGroup(def) {
19
19
  skills: def.skills ?? [],
20
20
  inputSchema: null,
21
21
  outputSchema: null,
22
- capabilities: null
22
+ requires: null
23
23
  });
24
24
  return cmd;
25
25
  }
@@ -1,17 +1,14 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { o as SyncRemoteChanges } from "./git-sync-BDnxPrqU.mjs";
4
- import { a as syncRemoteChangesView } from "./git-sync-DxD_ng48.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { s as SyncRemoteChanges } from "./git-sync-BwBRmEhE.mjs";
4
+ import { a as syncRemoteChangesView } from "./git-sync-TjX1r_wF.mjs";
5
5
  //#region src/commands/git-sync/has-remote-changes.ts
6
6
  var has_remote_changes_default = defineMetabaseCommand({
7
7
  meta: {
8
8
  name: "has-remote-changes",
9
9
  description: "Check whether the remote branch has unimported changes"
10
10
  },
11
- capabilities: {
12
- minVersion: 60,
13
- tokenFeature: "remote_sync"
14
- },
11
+ requires: ["gitSync.hasRemoteChanges"],
15
12
  args: {
16
13
  ...outputFlags,
17
14
  ...profileFlag,
@@ -1,19 +1,16 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { a as SyncImportResult } from "./git-sync-BDnxPrqU.mjs";
4
- import { n as parseWaitFlags, t as gitSyncWaitFlags } from "./wait-flags-BbfDSP8R.mjs";
5
- import { i as syncImportView } from "./git-sync-DxD_ng48.mjs";
6
- import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask } from "./sync-task-BACcrs0i.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { o as SyncImportResult } from "./git-sync-BwBRmEhE.mjs";
4
+ import { n as parseWaitFlags, t as gitSyncWaitFlags } from "./wait-flags-BQNmuvIj.mjs";
5
+ import { i as syncImportView } from "./git-sync-TjX1r_wF.mjs";
6
+ import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask } from "./sync-task-BXeWuARG.mjs";
7
7
  //#region src/commands/git-sync/import.ts
8
8
  var import_default = defineMetabaseCommand({
9
9
  meta: {
10
10
  name: "import",
11
11
  description: "Import content from the configured git remote into Metabase"
12
12
  },
13
- capabilities: {
14
- minVersion: 60,
15
- tokenFeature: "remote_sync"
16
- },
13
+ requires: ["gitSync.import"],
17
14
  args: {
18
15
  ...outputFlags,
19
16
  ...profileFlag,
@@ -1,4 +1,4 @@
1
- import { i as ConfigError, p as isFileNotFoundError } from "./predicates-Bkm2IoeX.mjs";
1
+ import { Q as ConfigError, st as isFileNotFoundError } from "./cli.mjs";
2
2
  import { readFile } from "node:fs/promises";
3
3
  import { setTimeout } from "node:timers/promises";
4
4
  //#region src/runtime/input.ts
@@ -1,5 +1,5 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
1
+ import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
2
+ import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
3
  import { z } from "zod";
4
4
  //#region src/commands/git-sync/is-dirty.ts
5
5
  const IsDirtyResult = z.object({ is_dirty: z.boolean() });
@@ -15,10 +15,7 @@ var is_dirty_default = defineMetabaseCommand({
15
15
  name: "is-dirty",
16
16
  description: "Check whether Metabase has unsynced local changes"
17
17
  },
18
- capabilities: {
19
- minVersion: 60,
20
- tokenFeature: "remote_sync"
21
- },
18
+ requires: ["gitSync.isDirty"],
22
19
  args: {
23
20
  ...outputFlags,
24
21
  ...profileFlag,
@@ -1,9 +1,9 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, N as listFlags, R as listEnvelopeSchema, s as renderList } from "./cli.mjs";
2
- import { i as parseEnumCsv, r as parseEnum, t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
3
- import { t as collectForOutput } from "./window-BkvrP0gB.mjs";
4
- import { c as CollectionItemFilterModel, d as CollectionPinnedState, n as COLLECTION_PINNED_STATES, s as CollectionItemCompact, t as COLLECTION_ITEM_FILTER_MODELS } from "./collection-CfulNRBG.mjs";
5
- import { t as collectionItemView } from "./collection-CGoVLvcD.mjs";
6
- import { t as parseCollectionRef } from "./parse-ref-ibKVB0J4.mjs";
1
+ import { B as listFlags, G as listEnvelopeSchema, H as outputFlags, U as profileFlag, d as renderList, z as connectionFlags } from "./cli.mjs";
2
+ import { i as parseEnumCsv, r as parseEnum, t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
3
+ import { t as collectForOutput } from "./window-DSb1tqSe.mjs";
4
+ import { l as CollectionItemCompact, n as COLLECTION_PINNED_STATES, p as CollectionPinnedState, t as COLLECTION_ITEM_FILTER_MODELS, u as CollectionItemFilterModel } from "./collection-BxdPxD38.mjs";
5
+ import { t as collectionItemView } from "./collection-DYM0p3Xl.mjs";
6
+ import { t as parseCollectionRef } from "./parse-ref-DTDld_LJ.mjs";
7
7
  //#region src/commands/collection/items.ts
8
8
  const CollectionItemListEnvelope = listEnvelopeSchema(CollectionItemCompact);
9
9
  var items_default = defineMetabaseCommand({
@@ -11,7 +11,7 @@ var items_default = defineMetabaseCommand({
11
11
  name: "items",
12
12
  description: "List items inside a collection"
13
13
  },
14
- capabilities: { minVersion: 58 },
14
+ requires: ["collection.itemPages"],
15
15
  args: {
16
16
  ...outputFlags,
17
17
  ...listFlags,