@metabase/cli 0.3.1-alpha.transform-tests.c0bc2d1 → 0.3.1-alpha.transform-tests.d9ed765

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 (264) hide show
  1. package/dist/{add-collection-CVDgC7C6.mjs → add-collection-v_uw_8VC.mjs} +6 -9
  2. package/dist/{alert-Co9m8k5l.mjs → alert-2MDhiuxT.mjs} +7 -7
  3. package/dist/{alerts-DjZGGxOy.mjs → alerts-BDoIryWj.mjs} +7 -7
  4. package/dist/{append-BXqeNFzW.mjs → append-CeHVEN3m.mjs} +5 -5
  5. package/dist/{archive-D1xZRRRA.mjs → archive-B9DiDia8.mjs} +6 -6
  6. package/dist/{archive-I61vFPxv.mjs → archive-BMQBzQMw.mjs} +4 -4
  7. package/dist/{archive-CXYUkzZo.mjs → archive-BU3VZ1An.mjs} +5 -5
  8. package/dist/{archive-Csku9zDp.mjs → archive-BopUoNoz.mjs} +4 -4
  9. package/dist/{archive-CH9osnGq.mjs → archive-BuHy5_kr.mjs} +4 -4
  10. package/dist/{archive-Bhk1IqGH.mjs → archive-CVTpSQ0H.mjs} +6 -6
  11. package/dist/{archive-pA5UZn1f.mjs → archive-CYaJZhBs.mjs} +4 -4
  12. package/dist/{archive-CUGpIXDT.mjs → archive-CxzoUCE_.mjs} +6 -6
  13. package/dist/{archive-DvV3oLCg.mjs → archive-D5QNFMmn.mjs} +4 -4
  14. package/dist/{archive-Cchi-tqq.mjs → archive-IBEbIm_S2.mjs} +6 -6
  15. package/dist/{archive-CzcjKpUC.mjs → archive-M2_D7zAj.mjs} +6 -6
  16. package/dist/{auth-BKgMIAKH.mjs → auth-DuGPC1Q0.mjs} +5 -5
  17. package/dist/{body-DxRSAMNC.mjs → body-hAwPMqBg.mjs} +3 -3
  18. package/dist/{branches-B96keFsO.mjs → branches-CIP60haa.mjs} +4 -7
  19. package/dist/{cancel-6GPBlUkr.mjs → cancel-C9hrQ1yg.mjs} +4 -4
  20. package/dist/{cancel-task-BIGAgcKk.mjs → cancel-task-BeviniVd.mjs} +5 -8
  21. package/dist/{card-zyUkr2nS.mjs → card-CEkp1mcI.mjs} +1 -1
  22. package/dist/card-DqPrL79i.mjs +24 -0
  23. package/dist/{card-DZxRmver.mjs → card-voh1k4hl.mjs} +14 -11
  24. package/dist/{cards-DY6Togtl.mjs → cards-CvWT-tKQ.mjs} +7 -7
  25. package/dist/cli.mjs +567 -70
  26. package/dist/client-yPhazV6T.mjs +4093 -0
  27. package/dist/collection-BsXk1V41.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-C5SNf6Yw.mjs} +2 -2
  31. package/dist/{content-translation-Cg_VW3kW.mjs → content-translation-BNYQ8fJ3.mjs} +3 -3
  32. package/dist/{create-DqCdW3tt.mjs → create-BVd4Y4py2.mjs} +6 -6
  33. package/dist/{create-BsDJATJM.mjs → create-BZyLtvg5.mjs} +6 -6
  34. package/dist/{create-BkIoWkzP.mjs → create-BsiUuwSb.mjs} +5 -5
  35. package/dist/{create-cHltWf0e.mjs → create-C1fVgFBd.mjs} +4 -4
  36. package/dist/{create-BxWMTy6i.mjs → create-C4U9DGDG.mjs} +7 -7
  37. package/dist/{create-BpjBffBq.mjs → create-CHn7P-Bz.mjs} +5 -5
  38. package/dist/{create-mzHtey5k.mjs → create-CL4xkZ4j.mjs} +6 -6
  39. package/dist/{create-V2Bdeu8p.mjs → create-CcOTodqT.mjs} +4 -4
  40. package/dist/{create-BeNQQTPt.mjs → create-Cmgq35ZB.mjs} +4 -4
  41. package/dist/{create-JZevXtCI.mjs → create-DPb3b69Y.mjs} +4 -4
  42. package/dist/{create-cSpqEzKH.mjs → create-DRyA-nuP.mjs} +5 -5
  43. package/dist/{create-CK5MABYu.mjs → create-DTfaHMNw.mjs} +6 -6
  44. package/dist/{create-CaDAT54M.mjs → create-Db3QVXRi.mjs} +7 -7
  45. package/dist/{create-D_pNL2X9.mjs → create-DqKDw2zq.mjs} +5 -8
  46. package/dist/{create-bH-qAv03.mjs → create-S0jXAtl2.mjs} +11 -7
  47. package/dist/{create-BuWV1GpI2.mjs → create-Z_gzD_p-2.mjs} +8 -8
  48. package/dist/{create-branch-DN9PrlRR.mjs → create-branch-hYwnfY8X.mjs} +5 -9
  49. package/dist/{csv-CVKLuIuS.mjs → csv-DOEqRG95.mjs} +5 -5
  50. package/dist/{current-task-Dnm3JaWg.mjs → current-task-DVo5aDfA.mjs} +5 -8
  51. package/dist/{dashboard-CKUR8ZpQ.mjs → dashboard-D0hwTC-f.mjs} +11 -2
  52. package/dist/{dashboard-SxUrG3Cg.mjs → dashboard-D8Yjjwfr.mjs} +10 -10
  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-BnhuXAP9.mjs → db-ntq1NYVT.mjs} +7 -7
  57. package/dist/{delete-CH0FsDBg.mjs → delete-BQWk6Ogb.mjs} +5 -5
  58. package/dist/{delete-C3xeqTzS.mjs → delete-C2iVm203.mjs} +5 -5
  59. package/dist/{delete-BClvnlBc.mjs → delete-CPzdQGKf.mjs} +5 -5
  60. package/dist/{delete-Dn6VJuyR.mjs → delete-CW8xJwDm.mjs} +5 -5
  61. package/dist/{delete-DDVNawxh.mjs → delete-CZqaDxkf.mjs} +5 -5
  62. package/dist/{delete-6lroLZIE.mjs → delete-Qsf-OKkl.mjs} +5 -5
  63. package/dist/{delete-runtime-D74s6vhu.mjs → delete-runtime-BKEzJn22.mjs} +1 -2
  64. package/dist/{delete-table-C6LPzUDg.mjs → delete-table-DLufNvzW.mjs} +5 -5
  65. package/dist/{dependencies-vr51EFIu.mjs → dependencies-BGtd-eIR.mjs} +7 -7
  66. package/dist/{dirty-W0PzG3Yt.mjs → dirty-BiiJ5Ngh.mjs} +6 -9
  67. package/dist/{document-Cd2mmqCp.mjs → document-BHpLJbKU.mjs} +5 -0
  68. package/dist/document-BiS-U56S.mjs +19 -0
  69. package/dist/{document-D6OybtP2.mjs → document-CA0Q6lqu.mjs} +1 -1
  70. package/dist/{download-B-l6ajeo.mjs → download-DrcL0yRr.mjs} +3 -6
  71. package/dist/{eid-BGl_X67N.mjs → eid-Bn3Impnq.mjs} +4 -5
  72. package/dist/{events-BRRnroJb.mjs → events-CfnrXbim.mjs} +5 -5
  73. package/dist/{export-DEPLFq_E.mjs → export-CFK8cMvK.mjs} +7 -10
  74. package/dist/{field-Cr2DPUG9.mjs → field-CcN4oZy6.mjs} +16 -1
  75. package/dist/{field-BXaUzJvx.mjs → field-CeP-41qf.mjs} +5 -5
  76. package/dist/{field-BPsNa-TO.mjs → field-fDtIrY6D.mjs} +1 -1
  77. package/dist/{fields-LFMSMV5Z.mjs → fields-B3tJI4X2.mjs} +7 -7
  78. package/dist/{get-DCf0O3GJ.mjs → get-3ymehUjQ.mjs} +6 -6
  79. package/dist/{get-Du11BNRd.mjs → get-B9fPTBEQ.mjs} +5 -8
  80. package/dist/{get-B6lWlGeD.mjs → get-BFh5ctuV.mjs} +6 -6
  81. package/dist/{get-XcSH5Zyz.mjs → get-BMZ3UoJz.mjs} +6 -6
  82. package/dist/{get-DvCgLmPW.mjs → get-Be9oShms.mjs} +4 -4
  83. package/dist/{get-BempHTsm.mjs → get-BkTiIo_7.mjs} +4 -4
  84. package/dist/{get-M3zgKoZr.mjs → get-C-E-I10i.mjs} +6 -6
  85. package/dist/{get-DiRtfImy.mjs → get-CIlXE4zy.mjs} +6 -6
  86. package/dist/{get-7-OiP8ma.mjs → get-Cqfb4zZM.mjs} +4 -4
  87. package/dist/{get-DhxE02Ia.mjs → get-Cxvi9pSj.mjs} +6 -6
  88. package/dist/{get-DAsSPKxF.mjs → get-D2Bt3r3M.mjs} +4 -4
  89. package/dist/{get-DCHhq5Qv.mjs → get-DJDV3NMU.mjs} +5 -5
  90. package/dist/{get-BvI5QqjY.mjs → get-D_f0INnl.mjs} +6 -6
  91. package/dist/{get-CapP9GiI.mjs → get-Diozf-D0.mjs} +6 -6
  92. package/dist/{get-BM7MA5-7.mjs → get-Dl9WoeCd.mjs} +4 -4
  93. package/dist/{get-Bjvu5GM7.mjs → get-DlPhNHPX.mjs} +6 -6
  94. package/dist/{get-Cjx_5Zm-.mjs → get-DnVGJfW42.mjs} +6 -6
  95. package/dist/get-Dx4k6_Qt.mjs +93 -0
  96. package/dist/{get-DlQHyv4D.mjs → get-lRUl1Dnb.mjs} +4 -4
  97. package/dist/{get-C2DWxXYb.mjs → get-pGqPQ0Of.mjs} +6 -6
  98. package/dist/{get-run-UJmyRo7H.mjs → get-run-DmtNpSbG.mjs} +6 -6
  99. package/dist/{git-sync-BDnxPrqU.mjs → git-sync-BwBRmEhE.mjs} +18 -1
  100. package/dist/{git-sync-DxD_ng48.mjs → git-sync-TjX1r_wF.mjs} +1 -1
  101. package/dist/git-sync-jvNlPu2I.mjs +28 -0
  102. package/dist/{group-DBM87IgC.mjs → group-YQQ5GIcP.mjs} +2 -2
  103. package/dist/{has-remote-changes-DmhFpgJe.mjs → has-remote-changes-BS6jOb2-.mjs} +5 -8
  104. package/dist/{import-BRC0TzWQ.mjs → import-Cur2I6Yc.mjs} +7 -10
  105. package/dist/{input-DH9i67x_.mjs → input-DEvkIjGr.mjs} +1 -1
  106. package/dist/{is-dirty-CT9e5vSd.mjs → is-dirty-7Jo0tglq.mjs} +3 -6
  107. package/dist/{items-BSAEWZlw.mjs → items-BBJSvqWt.mjs} +7 -7
  108. package/dist/{key-BEhqIzIQ.mjs → key-PYetuQ13.mjs} +1 -1
  109. package/dist/library-BPIzb3K_.mjs +81 -0
  110. package/dist/{library-Zxh_MRVL.mjs → library-CpDosMc5.mjs} +5 -5
  111. package/dist/{library-DfYAT2Ep.mjs → library-PGCfm0UA.mjs} +1 -1
  112. package/dist/{list-DDFk1IFP.mjs → list--Frwwg4i.mjs} +7 -7
  113. package/dist/{list-C3IRtLP6.mjs → list-40V_8T3H.mjs} +4 -4
  114. package/dist/{list-DGLK2lso.mjs → list-BAO7rPNU.mjs} +4 -4
  115. package/dist/{list-QFieRzSf.mjs → list-BAaBsdMk.mjs} +6 -6
  116. package/dist/{list-08dyODsP.mjs → list-BCD9lkxc.mjs} +4 -4
  117. package/dist/{list-CAalCea_.mjs → list-BuZaFlV-.mjs} +4 -4
  118. package/dist/{list-BOUmEn2X.mjs → list-C7kqJAc8.mjs} +4 -4
  119. package/dist/{list-D6qH2PUE.mjs → list-CBGsfTib.mjs} +7 -7
  120. package/dist/{list-DCA0T8bS.mjs → list-CFJyXUsF.mjs} +14 -13
  121. package/dist/{list-De0ebgzc.mjs → list-CQJoLqy0.mjs} +7 -7
  122. package/dist/{list-Dqyd2TZI.mjs → list-CVs3TyU7.mjs} +6 -6
  123. package/dist/{list-Drm6l_tt.mjs → list-CX2668xz.mjs} +6 -6
  124. package/dist/{list-DCBLu0KG.mjs → list-CcyZu5Jp.mjs} +6 -6
  125. package/dist/{list-D9RmPIEJ.mjs → list-DPvJihmj.mjs} +7 -7
  126. package/dist/{list-CleMHJBY.mjs → list-D_Kv8Ezq.mjs} +7 -7
  127. package/dist/{list-BZbC260R.mjs → list-DuZlYCTl.mjs} +5 -5
  128. package/dist/{list-BxCk3QTy.mjs → list-_6JwpPXA.mjs} +6 -6
  129. package/dist/{list-DYlphSxV.mjs → list-bCtszwHJ.mjs} +4 -4
  130. package/dist/list-rojRNBu5.mjs +60 -0
  131. package/dist/{login-DDHEyjWz.mjs → login-BCxYB6ii.mjs} +15 -12
  132. package/dist/{logout-BbB0vvQN.mjs → logout-BVEYg9pV.mjs} +3 -4
  133. package/dist/{measure-CGuwA0KX.mjs → measure-DYmGuTVW.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-CI6-CkB7.mjs → parameter-values-D4qte8qc.mjs} +5 -6
  137. package/dist/{parse-enum-D0Jfm_Bz.mjs → parse-enum-Dc0dMZ3P.mjs} +1 -1
  138. package/dist/{parse-id-CdZ0-1TM.mjs → parse-id-BSdAXN-r.mjs} +1 -1
  139. package/dist/{parse-ref-ibKVB0J4.mjs → parse-ref-DTDld_LJ.mjs} +1 -1
  140. package/dist/{path-Df2itv7t.mjs → path-BNZf4ETt.mjs} +5 -5
  141. package/dist/{poll-75SvT7Zv.mjs → poll-CZeXepUQ.mjs} +2 -2
  142. package/dist/{preflight-CoF1Em99.mjs → preflight-BsT-Ik4Z.mjs} +3 -4
  143. package/dist/{process-DBOOrmET.mjs → process-CTrfxxaC.mjs} +1 -1
  144. package/dist/{publish-xUBySB1T.mjs → publish-3Qlrs4CC.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-BkZvffIM.mjs → query-B8MCziCM.mjs} +9 -10
  148. package/dist/{query-CmkC8sfu.mjs → query-DxjE4Hq2.mjs} +10 -12
  149. package/dist/{query-result-DBDwk8TS.mjs → query-result-E4Q-Gra6.mjs} +1 -1
  150. package/dist/{remove-collection-DFfmuTwD.mjs → remove-collection-CNWmp8C-.mjs} +6 -9
  151. package/dist/{render-CI93iP0I.mjs → render-MoT089RO.mjs} +13 -2
  152. package/dist/{replace-DjoDBCLa.mjs → replace-DOmUXCyk.mjs} +5 -5
  153. package/dist/{rescan-values-Ca2Wa0A2.mjs → rescan-values-DpU_Ex0F.mjs} +6 -6
  154. package/dist/{run-B_-pMw67.mjs → run-B8Vys-6V.mjs} +5 -5
  155. package/dist/{run-BCYATTjE.mjs → run-CCPUWI0V.mjs} +6 -6
  156. package/dist/{run-CP-chc5O.mjs → run-cyUFpMX3.mjs} +26 -14
  157. package/dist/{runs-B0ypYKmn.mjs → runs-92XSK8ij.mjs} +7 -7
  158. package/dist/{runtime-CJUDVwBu.mjs → runtime-DzVkvFHY.mjs} +946 -246
  159. package/dist/{schema-tables-Nl83e2Zm.mjs → schema-tables-lMGk2fyi.mjs} +7 -7
  160. package/dist/{schemas-Cp29qgn0.mjs → schemas-C83Q8dYY.mjs} +5 -5
  161. package/dist/{search-DFBwUc6d.mjs → search-BAXg-EJw.mjs} +2 -1
  162. package/dist/{search-BbktlnDC.mjs → search-D6qBaNsw.mjs} +6 -6
  163. package/dist/{segment-BHBoMpL9.mjs → segment-BFJd2-ck.mjs} +6 -6
  164. package/dist/{selectors-e_0QdkaG.mjs → selectors-Dcp25rNo.mjs} +3 -3
  165. package/dist/{send-DEGpBT_7.mjs → send-Be-_KmWr.mjs} +4 -4
  166. package/dist/{set-C3tLEVuY.mjs → set-Bg_4elCb.mjs} +5 -5
  167. package/dist/{set-active-CqvLJysE.mjs → set-active-CtQiMzt7.mjs} +5 -5
  168. package/dist/{setting-Dwi-Wifx.mjs → setting-BNEblMco.mjs} +4 -4
  169. package/dist/{setup-CcSVPnEI.mjs → setup-DFnxwJGX.mjs} +4 -4
  170. package/dist/{signal-CMd0EFUa.mjs → signal-k7cm5N6h.mjs} +11 -2
  171. package/dist/skill-list-Ro6J0pyV.mjs +76 -0
  172. package/dist/skills-BdrMrbXh.mjs +351 -0
  173. package/dist/{skills-Cxi3fKMZ.mjs → skills-CGYk6b2r.mjs} +3 -3
  174. package/dist/snippet-vMnFtNwi.mjs +19 -0
  175. package/dist/{stash-CVhkyRIT.mjs → stash-C9SZwusp.mjs} +7 -11
  176. package/dist/{status-B7tYgPVV.mjs → status-D0n7AuQU.mjs} +12 -11
  177. package/dist/{status-C9uhZuip.mjs → status-Dj04FCCv.mjs} +11 -9
  178. package/dist/{subscription-Cj9jyFEB.mjs → subscription-B5Iax7Ci.mjs} +6 -6
  179. package/dist/{subscriptions-B5oVkkZk.mjs → subscriptions-DwvHRO1v.mjs} +7 -7
  180. package/dist/{summary-PVERfPr2.mjs → summary-DaA6Twxk.mjs} +6 -6
  181. package/dist/{sync-schema-CtG6r6Pr.mjs → sync-schema-BFWKEC3r.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-6IHwQyr6.mjs → table-DW1dG3Rl.mjs} +5 -5
  185. package/dist/{table-CeeTJgQb.mjs → table-DfuY0N8e.mjs} +51 -4
  186. package/dist/timeline-C0rqHF4p.mjs +21 -0
  187. package/dist/{timeline-event-ox_Bw9F4.mjs → timeline-event-D1MUnexK.mjs} +6 -6
  188. package/dist/{transform-DoTyyXAu.mjs → transform-CtqB1WYo.mjs} +2 -2
  189. package/dist/transform-D08iA4H_.mjs +28 -0
  190. package/dist/{transform-D3QX0jxA.mjs → transform-DiW7bREn.mjs} +68 -5
  191. package/dist/{transform-job-50GZHhKH.mjs → transform-job-AaMZRxAq.mjs} +1 -1
  192. package/dist/{transform-job-DRrK28IH.mjs → transform-job-CCguL6LP.mjs} +41 -4
  193. package/dist/transform-job-Me5CeV2z.mjs +22 -0
  194. package/dist/{transform-tag-La1wmOTP.mjs → transform-tag-CbgjSy76.mjs} +5 -5
  195. package/dist/{transform-test-w5hDTx_D.mjs → transform-test-B-gVzODx.mjs} +1 -1
  196. package/dist/transform-test-BB_IFtZS.mjs +163 -0
  197. package/dist/transform-test-CwonhnyQ.mjs +16 -0
  198. package/dist/{transforms-DIgACzP-.mjs → transforms-Bhtk_Gil.mjs} +7 -7
  199. package/dist/{tree-CQ0FXBnn.mjs → tree-DLorrdEm.mjs} +4 -5
  200. package/dist/{unpublish-Binr4uOG.mjs → unpublish-DOQhmLAx.mjs} +4 -7
  201. package/dist/{update-lpLLpKhX.mjs → update-BF4DWRT5.mjs} +6 -6
  202. package/dist/{update-BKvSfdXu.mjs → update-BeU02D8b.mjs} +6 -6
  203. package/dist/{update-B4lIwY0G.mjs → update-Bpb2V8Gm.mjs} +9 -9
  204. package/dist/{update-BZS5m-vx.mjs → update-CHNSRFKO.mjs} +7 -7
  205. package/dist/{update-DH9CL61y.mjs → update-CSqPKfTk.mjs} +8 -8
  206. package/dist/{update-mOqedkLk.mjs → update-CTCcgeaY.mjs} +7 -7
  207. package/dist/{update-BiG9eLNH.mjs → update-Ch43eYU-.mjs} +5 -5
  208. package/dist/{update-CIuoW1M9.mjs → update-D2dis8s_.mjs} +8 -8
  209. package/dist/{update-CWIhy9Ax.mjs → update-DEULsCgK.mjs} +6 -6
  210. package/dist/{update-Db3j44fi.mjs → update-DTZ07XFM.mjs} +5 -5
  211. package/dist/{update-BbOX6axn.mjs → update-DWhC3xYc.mjs} +5 -5
  212. package/dist/{update-Cb68f4dx.mjs → update-DeA4gyTG.mjs} +5 -5
  213. package/dist/{update-la0K6wAf.mjs → update-Dq-KEeyS.mjs} +7 -7
  214. package/dist/{update-dashcard-DbZ8NlLZ.mjs → update-dashcard-CfDqxOlj.mjs} +7 -7
  215. package/dist/{update-gGZjfZN3.mjs → update-ezD5XTpy.mjs} +7 -7
  216. package/dist/{update-B5NYEIHU.mjs → update-mmeImeUo.mjs} +7 -7
  217. package/dist/{update-TDaf7Xbt.mjs → update-xjuN7bdu.mjs} +7 -7
  218. package/dist/{upgrade-BCWXgRmG.mjs → upgrade-DgmbeOoJ.mjs} +6 -8
  219. package/dist/upload-BsPrAjN-.mjs +13 -0
  220. package/dist/{upload-CD555ui1.mjs → upload-Do2PBSeH.mjs} +2 -2
  221. package/dist/{upload-DUViVk1x.mjs → upload-DzFBdNxM.mjs} +4 -7
  222. package/dist/{uuid-D3CGL8wF.mjs → uuid-DYYGRv9y.mjs} +3 -4
  223. package/dist/{validate-BWchyW0V.mjs → validate-EAB-1EkK.mjs} +1 -1
  224. package/dist/{validate-query-DaGYSmpQ.mjs → validate-query-CQG86147.mjs} +2 -3
  225. package/dist/{values-8XUr04w3.mjs → values-Dk2CAR4T.mjs} +6 -6
  226. package/dist/{verify-deF_hThH.mjs → verify-8TnYrSNm.mjs} +3 -18
  227. package/dist/{wait-Ct0weHol.mjs → wait-Oz6xFpyA.mjs} +7 -10
  228. package/dist/{wait-flags-Cb-bI0RD.mjs → wait-flags-ClJx9LJ9.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 +19 -4
  232. package/skill-data/data-workflow/references/building-clean-tables.md +6 -2
  233. package/skill-data/data-workflow/references/reusable-definitions.md +11 -3
  234. package/skill-data/document/SKILL.md +4 -1
  235. package/skill-data/git-sync/SKILL.md +5 -0
  236. package/skill-data/mbql/SKILL.md +1 -1
  237. package/skill-data/mbql/references/operators.md +20 -15
  238. package/skill-data/metadata/SKILL.md +1 -1
  239. package/skill-data/metadata/references/semantic-types.md +7 -1
  240. package/skill-data/native-sql/references/template-tags.md +6 -2
  241. package/skill-data/notification/SKILL.md +7 -1
  242. package/skill-data/transform/SKILL.md +17 -3
  243. package/skill-data/transform-test-plan/SKILL.md +1 -0
  244. package/skill-data/visualization/SKILL.md +11 -3
  245. package/skill-data/visualization/references/settings.md +6 -4
  246. package/skills/metabase-cli/SKILL.md +1 -1
  247. package/dist/card-zluRR7xD.mjs +0 -24
  248. package/dist/client-C9HBWl6A.mjs +0 -2282
  249. package/dist/collection-CrIkQWUK.mjs +0 -20
  250. package/dist/document-B1w9aIq7.mjs +0 -19
  251. package/dist/get-BUiHdwdU.mjs +0 -80
  252. package/dist/git-sync-DM5Nuv3a.mjs +0 -28
  253. package/dist/library-ClLgrAXy.mjs +0 -19
  254. package/dist/list-kIMBSzS-.mjs +0 -98
  255. package/dist/network-error-D6CiOEBw.mjs +0 -431
  256. package/dist/predicates-Bkm2IoeX.mjs +0 -170
  257. package/dist/skills-DTCrMcix.mjs +0 -216
  258. package/dist/snippet-hrEAI5Yf.mjs +0 -19
  259. package/dist/timeline-BwQIj-le.mjs +0 -21
  260. package/dist/transform-IPKGUzzd.mjs +0 -28
  261. package/dist/transform-job-COwH1ww7.mjs +0 -22
  262. package/dist/transform-test-C4VRGmGm.mjs +0 -149
  263. package/dist/transform-test-DGYx6MCT.mjs +0 -16
  264. package/dist/upload-BVBs2F69.mjs +0 -13
@@ -1,9 +1,9 @@
1
- import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
2
- import { t as defineMetabaseCommand } from "./runtime-CJUDVwBu.mjs";
3
- import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-75SvT7Zv.mjs";
4
- import { r as parseWaitSchedule } from "./wait-flags-Cb-bI0RD.mjs";
5
- import { c as syncTaskView } from "./git-sync-DxD_ng48.mjs";
6
- import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } 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-DzVkvFHY.mjs";
3
+ import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-CZeXepUQ.mjs";
4
+ import { r as parseWaitSchedule } from "./wait-flags-ClJx9LJ9.mjs";
5
+ import { c as syncTaskView } from "./git-sync-TjX1r_wF.mjs";
6
+ import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-BXeWuARG.mjs";
7
7
  //#region src/commands/git-sync/wait.ts
8
8
  const WaitResult = SyncTaskOrIdle;
9
9
  var wait_default = defineMetabaseCommand({
@@ -11,10 +11,7 @@ var wait_default = defineMetabaseCommand({
11
11
  name: "wait",
12
12
  description: "Poll the current git-sync task until it reaches a terminal status"
13
13
  },
14
- capabilities: {
15
- minVersion: 60,
16
- tokenFeature: "remote_sync"
17
- },
14
+ requires: ["gitSync.waitForTask"],
18
15
  args: {
19
16
  ...outputFlags,
20
17
  ...profileFlag,
@@ -1,6 +1,6 @@
1
1
  import { t as interruptSignal } from "./cli.mjs";
2
- import { t as parseId } from "./parse-id-CdZ0-1TM.mjs";
3
- import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-75SvT7Zv.mjs";
2
+ import { t as parseId } from "./parse-id-BSdAXN-r.mjs";
3
+ import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-CZeXepUQ.mjs";
4
4
  //#region src/commands/wait-flags.ts
5
5
  const waitScheduleFlags = {
6
6
  timeout: {
@@ -1,4 +1,4 @@
1
- import { m as projectForList } from "./cli.mjs";
1
+ import { y as projectForList } from "./cli.mjs";
2
2
  //#region src/output/window.ts
3
3
  const MAX_REQUEST_PAGE_SIZE = 200;
4
4
  function windowList(items, range, serverTotal) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metabase/cli",
3
- "version": "0.3.1-alpha.transform-tests.c0bc2d1",
3
+ "version": "0.3.1-alpha.transform-tests.d9ed765",
4
4
  "description": "Metabase CLI",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -129,7 +129,9 @@ Only what `--help` does _not_ tell you: footguns and non-obvious behaviors.
129
129
  - **table fields.** `table get` never returns fields on its own — pass `--include fields` (compact; the underlying query_metadata response also carries FK targets and dimensions, visible under `--full`) or use `table fields <id>` (list envelope). `table update` patches table-level metadata only; physical columns aren't editable.
130
130
  - **field has no `list`.** Fields are per-table — get them via `table get <id> --include fields`. Never enumerate fields across a whole db (context blow-up). `field summary` is live cardinality `{field_id, count, distincts}`; `field values` is the cached distinct set (`has_more_values: true` ⇒ truncated cache). `field update` patches metadata only (`base_type` isn't editable) — this is where you set a column's `semantic_type` or foreign-key target.
131
131
  - **upload (CSV → tables).** `upload csv --file <path>` creates a new table + model (prints `{model_id, table_id}`); `upload append <table-id>` / `upload replace <table-id> --file <path>` add to / overwrite a table **previously created by upload** (columns must match). The destination db+schema is admin-configured, not per-call — check with `mb setting get uploads-settings --json` (`db_id: null` ⇒ uploads off/unconfigured; needs admin to read). `--collection <id|root>` only sets the model's collection. Max 50 MB. Errors: **"The uploads database is not configured."** = no db has uploads enabled; **"Uploads are not enabled."** = the append/replace target isn't an uploaded table.
132
- - **content-translation.** EE-only (`content_translation` premium feature), admin-only, and separate from Remote Sync. `content-translation download > translations.csv` streams the complete active dictionary; `content-translation upload --file translations.csv` replaces every active translation with the file's contents. Always upload the canonical complete CSV, never a partial patch. An empty dictionary downloads as Metabase's four-row sample dictionary — don't re-upload it as real translations. Metabase limits dictionaries to 1.5 MiB.
132
+ <!-- requires: contentTranslation -->
133
+ - **content-translation.** Admin-only, and separate from Remote Sync. `content-translation download > translations.csv` streams the complete active dictionary; `content-translation upload --file translations.csv` replaces every active translation with the file's contents. Always upload the canonical complete CSV, never a partial patch. An empty dictionary downloads as Metabase's four-row sample dictionary — don't re-upload it as real translations. Metabase limits dictionaries to 1.5 MiB.
134
+ <!-- /requires -->
133
135
  - **card.** `dataset_query` is the **flat** `mbql/query` value, not a legacy `{type:"query",query:…}` envelope (→ `mbql`). `--export-format csv|xlsx` streams the raw export (pipe to a file), bypassing the JSON envelope. `archive` is the only delete; unarchive with `update --body '{"archived":false}'`. `visualization_settings` keys are scoped by `display` and aren't pre-flighted — see `visualization`.
134
136
  - **dashboard.** Dashcards round-trip through `PUT /api/dashboard/:id` (no per-dashcard endpoint): `update-dashcard <dash-id> <dashcard-id>` patches one safely; `update --body '{"dashcards":[…]}'` replaces the whole set (omitted ids are deleted server-side; negative ids for new cards). Every dashcard must include `card_id`, including existing rows; use `card_id:null` plus a `visualization_settings.virtual_card` block (`{display:"text"|"heading"|"link"|…}`) for non-question cards. `create` accepts the **same** `dashcards` array in its initial body, so lay out the whole dashboard in one call. `create`/`update` pre-flight every positive `card_id` and exit **2** with `{ok:false,errors:[…]}` on a bad ref (non-bypassable). `dashboard get <id>` (or `--full`) hydrates dashcards/tabs; `list` omits them. **The grid is 24 columns wide:** each dashcard's `{col, row, size_x, size_y}` is in grid units — **full-width is `size_x: 24`** (`size_x: 12` is half a row, the usual cause of a card filling only half the width). Keep `col + size_x ≤ 24`, start a full-width stack's `col` at 0, and don't overlap (the server stores collisions as sent — no auto-fix). Layout patterns and per-chart default sizes → the `dashboard` skill.
135
137
  - **dashboard parameters (filters).** A dashboard's `parameters` array holds its filter widgets; they're part of the dashboard record, so read them with `dashboard get <id> --fields parameters --json` (no separate verb). **Editing replaces the _whole_ array** (like dashcards), so it's a read-modify-write loop and omitting a parameter deletes it. A parameter only filters a card once it is **mapped** onto that dashcard's `parameter_mappings` — an unmapped parameter is an inert widget. `type` is a **closed enum**; an unlisted value is a hard parse error that echoes the full allowed set back to you. `dashboard parameter-values <id> <parameter-id> [--query <substr>]` fetches a widget's selectable values (`{values, has_more_values}`; `--query` is a case-insensitive substring search). Parameter types, ids, mapping targets, and value sources → the `dashboard` skill; load it before authoring a `parameters` array.
@@ -140,10 +142,17 @@ Only what `--help` does _not_ tell you: footguns and non-obvious behaviors.
140
142
  - **collection `<ref>`** accepts four forms only — positive int, `root`, `trash`, or a 21-char entity_id; anything else is a client-side `ConfigError`. `collection items` pages the server endpoint, pulling only as far as the output cap can show — read `has_more`/`next_offset` to continue. `collection tree` is **JSON-only** (`--format text` is rejected). A transform collection needs `collection create --namespace transforms`.
141
143
  - **setting set** parses the value as **strict JSON**: a string is `'"value"'` (inner quotes), booleans `true`/`false`, numbers bare. Wrong quoting silently errors — confirm with `setting get <key>` after. `setting get --json` works on every value type (wrapping bare-text responses into `{key, value}`).
142
144
  - **search vs. list.** For plain enumeration of cards/dashboards/collections use the dedicated `… list` verbs; reach for `search --models <kind>` only for ranking against a query string or a cross-resource lookup.
143
- - **transform.** Iterate with `transform update <id>`, never `delete` + `create` (keeps the row, `entity_id`, materialized table, and YAML filename — avoids `_2` suffixes and noisy git history). `transform run` needs `--wait` (or `--sync`, which also waits for the output table to register and returns `target_table_id`) or you get only `{run_id, final:null}`. `transform-test run <id>` checks a transform against fixtures in temp tables — no real table is read — and exits non-zero unless it passes (v65+). (→ `transform`.)
145
+ <!-- requires: transforms -->
146
+ - **transform.** Iterate with `transform update <id>`, never `delete` + `create` (keeps the row, `entity_id`, materialized table, and YAML filename — avoids `_2` suffixes and noisy git history). `transform run` needs `--wait` (or `--sync`, which also waits for the output table to register and returns `target_table_id`) or you get only `{run_id, final:null}`. (→ `transform`.)
147
+ <!-- /requires -->
148
+ <!-- requires: transformTests -->
149
+ - **transform-test.** `transform-test run <id>` checks a transform against fixtures in temp tables — no real table is read — and exits non-zero unless it passes. (→ `transform`.)
150
+ <!-- /requires -->
144
151
  - **setup is one-shot.** `mb setup` walks `/api/setup` for a **fresh** instance only — errors against an already-configured one. Mostly for bootstrapping local / e2e instances.
145
152
  - **eid** translates a string entity id → numeric id: `mb eid --model <model> <eid1,eid2> --json`. Entity ids are NanoIDs that can start with `-`, which the positional form misreads as a flag (shell quotes don't help) — for those, use `--body '{"entity_ids":{"card":["-…"]}}'` (the id is a JSON string value, immune to flag parsing).
146
- - **library.** EE-only (`library` premium feature, v59+). The Library is a curated subtree (`library-data` "Data" + `library-metrics` "Metrics" under a `library` root): tables published to **Data** appear first in data pickers and rank up in search; metrics saved to **Metrics** are prioritized in nav, search, and the query builder. `library get` shows the Library and its Data/Metrics collection ids; `library create` provisions it (idempotent). `library publish --table-ids/--db-ids/--schemas` publishes tables into Data — it **resolves the Data collection itself and creates the Library if absent** (no collection id to find); each `--schemas` entry is `<db-id>:<schema>` (e.g. `1:public`), not a bare name. `publish` cascades to upstream FK dependencies, `unpublish` to downstream dependents; both need **admin or data-analyst** (Curate alone won't publish) and exit **403** without write **and** query permission on every affected table. Publish status shows on the table: `table get`/`table list` carry `is_published` (`collection_id` under `--full`). Publish finished, analysis-ready tables — clean/combine via transforms first. Publishing does not put the Data collection in the git-sync scope: on a remote-sync instance, `mb git-sync add-collection <data-collection-id>` is what makes exports carry the published tables' metadata (see the `git-sync` skill).
153
+ <!-- requires: library -->
154
+ - **library.** The Library is a curated subtree (`library-data` "Data" + `library-metrics` "Metrics" under a `library` root): tables published to **Data** appear first in data pickers and rank up in search; metrics saved to **Metrics** are prioritized in nav, search, and the query builder — it's how you tell people (and agents) "start from these, they're trusted." `library get` shows the Library and its Data/Metrics collection ids; `library create` provisions it (idempotent). `library publish --table-ids/--db-ids/--schemas` publishes tables into Data — it **resolves the Data collection itself and creates the Library if absent** (no collection id to find); each `--schemas` entry is `<db-id>:<schema>` (e.g. `1:public`), not a bare name. `publish` cascades to upstream FK dependencies, `unpublish` to downstream dependents; both need **admin or data-analyst** (Curate alone won't publish) and exit **403** without write **and** query permission on every affected table. Publish status shows on the table: `table get`/`table list` carry `is_published` (`collection_id` under `--full`). Good candidates are finished, analysis-ready tables — clean/combine via transforms first, then publish the polished result. Publishing does not put the Data collection in the git-sync scope: on a remote-sync instance, `mb git-sync add-collection <data-collection-id>` is what makes exports carry the published tables' metadata (see the `git-sync` skill).
155
+ <!-- /requires -->
147
156
  - **query / uuid.** `mb query` is the ad-hoc MBQL surface (`--print-schema` → `--dry-run` → run); `mb uuid --count <n>` mints the `lib/uuid` values MBQL clauses need. Both live in `mbql`.
148
157
 
149
158
  ## Specialized skills (load on demand)
@@ -156,13 +165,19 @@ This file is enough for any single-command task. For anything deeper, load the r
156
165
  - **`dashboard`** — building interactive dashboards: wiring filters (parameters + mappings), linked/cascading filters, cross-filtering, click behavior, series, and tabs. Load beyond a plain card-layout task.
157
166
  - **`metadata`** — setting field/table metadata: semantic types, foreign-key targets, dropdown/scan behavior, and column visibility, and the downstream features each unlocks. Load when editing what a column _means_, not its data.
158
167
  - **`notification`** — scheduled delivery: question alerts (`mb alert`) and dashboard subscriptions (`mb subscription`). Choosing between them, the two schedule/recipient contracts, channel prerequisites, testing a send.
168
+ <!-- requires: transforms -->
159
169
  - **`transform`** — transform body JSON, create + run-with-wait, run inspection, tags, jobs.
170
+ <!-- /requires -->
171
+ <!-- requires: transformTests -->
160
172
  - **`transform-test-plan`** — deciding _what_ to test in a transform: the fixture cast, the expectations, the coverage matrix. (`transform` has the `mb transform-test` shapes.)
173
+ <!-- /requires -->
161
174
  - **`document`** — Metabase documents (TipTap body, embedding cards).
175
+ <!-- requires: remoteSync -->
162
176
  - **`git-sync`** — round-tripping content to/from a git remote.
177
+ <!-- /requires -->
163
178
  - **`data-workflow`** — the guided, end-to-end data workflow: investigate raw data, build clean analysis-ready tables, define reusable segments/measures/metrics, answer questions, build dashboards. **Start here when the user states a goal rather than a single verb** — "make sense of my data", "build a data model", "go from raw data to a dashboard", "be my data analyst", "set up analytics for X". It detects where the data is and routes to the right stage.
164
179
 
165
- If a task spans more than one, load each. `mb skills list` enumerates everything on the installed version.
180
+ If a task spans more than one, load each. `mb skills list` enumerates the skills the profile's server can use, and `mb skills get` prints a skill with the sections that server cannot use left out; `--unfiltered` shows everything.
166
181
 
167
182
  ## Don't
168
183
 
@@ -131,7 +131,7 @@ Then make the links real, not just implied:
131
131
  - **Wire foreign keys between your tables.** Mark each linking id as a foreign key pointing at the id it references — set the column's type to foreign-key and its target so Metabase itself knows the tables connect and can traverse them.
132
132
  - **Graft onto existing clean data** the user approved (step 3 / Phase 1): point the linking id at the existing table's id the same way. Link, don't duplicate.
133
133
 
134
- **Set the metadata — a transform's output starts blank, and these tables are Library-bound.** A fresh transform table has no descriptions, raw column names, and untyped columns. You worked it out while investigating; don't leave that knowledge stranded in this chat. Set it on the table so the data explains itself inside Metabase (search, the Question editor, Metabot) and is fit to publish. The mechanics — `mb field update` for semantic types / FK targets / display names, `mb table update` for table descriptions, and the feature each edit unlocks — are in the `metadata` skill; the calls about _what_ to set:
134
+ **Set the metadata — a transform's output starts blank, and these tables are the ones people will start from.** A fresh transform table has no descriptions, raw column names, and untyped columns. You worked it out while investigating; don't leave that knowledge stranded in this chat. Set it on the table so the data explains itself inside Metabase (search, the Question editor, Metabot) and is fit to publish. The mechanics — `mb field update` for semantic types / FK targets / display names, `mb table update` for table descriptions, and the feature each edit unlocks — are in the `metadata` skill; the calls about _what_ to set:
135
135
 
136
136
  - **Semantic types — the highest-value piece.** A column's semantic type is what makes Metabase treat it right: `type/Email`, `type/Currency`/`type/Price`, `type/Category` (turns into a filter dropdown), `type/City`/`type/State`/`type/Country`, `type/CreationTimestamp`, `type/Description`. Set it on every column whose meaning you decoded. A typed column shows money as money, offers a filter dropdown, and lands on the right chart axis for everyone downstream; an untyped one is a guess.
137
137
  - **Descriptions.** A one-line description on each table and every non-obvious column.
@@ -165,7 +165,11 @@ Then report plainly:
165
165
 
166
166
  End on that connection map: it's what the user reads to trust the result, and what lets whatever they build next join on the right ids instead of guessing.
167
167
 
168
- These clean tables are exactly what belongs in the **Library** — published tables appear first when anyone picks a data source, so people start from your curated set, not the raw source. If the user wants that, publish the polished tables to the Library (`mb library publish` / `mb library create` mechanics, premium feature, and permissions are in `core`). Defining reusable segments / measures / metrics on top is the **reusable-definitions** stage (`references/reusable-definitions.md` in this skill).
168
+ <!-- requires: library -->
169
+
170
+ These clean tables are exactly what belongs in the **Library** — published tables appear first when anyone picks a data source, so people start from your curated set, not the raw source. If the user wants that, publish the polished tables to the Library (`mb library publish` / `mb library create` mechanics and permissions are in `core`). Defining reusable segments / measures / metrics on top is the **reusable-definitions** stage (`references/reusable-definitions.md` in this skill).
171
+
172
+ <!-- /requires -->
169
173
 
170
174
  ---
171
175
 
@@ -50,7 +50,9 @@ Two things never bend in any mode: when genuinely unsure, **ask** (the Shared Co
50
50
  - "Let me add up revenue the same way everywhere, on this table" → a **measure** on the table.
51
51
  - "Revenue is an _official company number_ people pull onto dashboards" → a **metric** in a collection, with a default month-by-month view so it charts cleanly. Lean: make it a metric when it's a headline figure the org reuses across many questions/dashboards; keep it a measure when it's a table-local convenience.
52
52
  - **Where the metric lives.** Metrics sit in a collection (folder). Lean: put the org's blessed ones in the shared **Library** so they surface prominently; keep experimental ones in a working collection until trusted.
53
- - **Publish the official tables to the Library.** The clean, analysis-ready tables your definitions sit on are the org's official starting points — the **Library** is how you mark them as such. Tables published to the Library's **Data** section appear _first_ when anyone picks a data source, nudging people toward your curated tables instead of raw warehouse ones. Lean: publish the wide clean tables you built the semantic layer on; hold back raw or half-built ones. Surface which tables you'd publish and confirm. (Library is a Pro/Enterprise feature; only admins and data analysts can publish — mechanics in `core`.)
53
+ <!-- requires: library -->
54
+ - **Publish the official tables to the Library.** The clean, analysis-ready tables your definitions sit on are the org's official starting points — the **Library** is how you mark them as such. Tables published to the Library's **Data** section appear _first_ when anyone picks a data source, nudging people toward your curated tables instead of raw warehouse ones. Lean: publish the wide clean tables you built the semantic layer on; hold back raw or half-built ones. Surface which tables you'd publish and confirm. (Only admins and data analysts can publish — mechanics in `core`.)
55
+ <!-- /requires -->
54
56
  - **Default time dimension for a metric.** A monthly default makes it chart nicely on a dashboard, but doesn't lock anyone out of other groupings. Lean: set a sensible default (usually month) for anything headline; leave it off for raw counts that aren't inherently time-series.
55
57
  - **How strict a segment is.** "Active" = last 30 vs 90 days is a real business call with no right answer from the data alone. Lean: surface the few reasonable thresholds with how many rows each catches, let the user pick.
56
58
 
@@ -101,7 +103,9 @@ Build each agreed definition. The verb mechanics (create/update flags, the `revi
101
103
  - **Segment** → `mb segment create`. A flat MBQL filter clause on a table.
102
104
  - **Measure** → `mb measure create`. **Exactly one** aggregation on a table.
103
105
  - **Metric** → `mb card create` with the metric shape (`type: "metric"`) — it lives in a **collection**, carries the aggregation plus an optional default time dimension. Put org-blessed ones in the Library collection.
106
+ <!-- requires: library -->
104
107
  - **Publish the official tables** → `mb library create` then `mb library publish` (mechanics in `core`) to move the clean tables your definitions sit on into the Library's **Data** section, so people start from your curated set, not raw warehouse tables.
108
+ <!-- /requires -->
105
109
 
106
110
  Then **verify what the user can't see**, before you hand back:
107
111
 
@@ -122,10 +126,14 @@ Then **stop. Hard gate — every mode, no exceptions.** Recap in plain language
122
126
  >
123
127
  > **Metric** (in your **Library**, charts by month):
124
128
  > • **Monthly recurring revenue**
125
- >
129
+
130
+ <!-- requires: library -->
131
+
126
132
  > **Published to the Library** (these now show up first when anyone picks a data source):
127
133
  > • **Customers**, **Orders**
128
- >
134
+
135
+ <!-- /requires -->
136
+
129
137
  > Open any of those tables' Filter or Summarize block in Metabase to see them in place and try one — give it a look before you start building dashboards on top.
130
138
 
131
139
  End on that plain-language map. It's what the user reads to trust the result — and it's what stops a wrong definition from quietly propagating into everything built next.
@@ -81,7 +81,10 @@ Every node is `{ "type": string, "attrs"?: object, "content"?: [nodes], "text"?:
81
81
  - **`resizeNode`** — wraps a single `cardEmbed` or `flexContainer` to make it resizable (no `_id`). `attrs: { "height": <px>, "minHeight": <px> }`, `content` is exactly one `cardEmbed`/`flexContainer`.
82
82
  - **`flexContainer`** — a horizontal row of 1–3 `cardEmbed` / `supportingText` cells side by side (no `_id`). `attrs.columnWidths` is an array of width percentages.
83
83
  - **`supportingText`** — a text column that sits next to a card inside a `flexContainer` (id-bearing); `content` is the usual block nodes (`paragraph`, `heading`, lists, …).
84
- - **`smartLink`** — an inline reference to a Metabase entity (renders as a live chip). Inline, atomic, no `_id`. `attrs: { "entityId": <id>, "model": <model>, "label": <string|null>, "href": <relative-path> }`. `model` ∈ `card`, `dataset`, `metric`, `dashboard`, `collection`, `table`, `database`, `document`, `transform`, `segment`, `user`, `action`, `indexed-entity` (plus `measure` on v60+).
84
+ - **`smartLink`** — an inline reference to a Metabase entity (renders as a live chip). Inline, atomic, no `_id`. `attrs: { "entityId": <id>, "model": <model>, "label": <string|null>, "href": <relative-path> }`. `model` ∈ `card`, `dataset`, `metric`, `dashboard`, `collection`, `table`, `database`, `document`, `transform`, `segment`, `user`, `action`, `indexed-entity`.
85
+ <!-- requires: smartLinkMeasureModel -->
86
+ - `measure` is a valid `model` too.
87
+ <!-- /requires -->
85
88
  - **`metabot`** — an inline Metabot prompt block.
86
89
 
87
90
  ## Embedding an existing card
@@ -2,6 +2,7 @@
2
2
  name: git-sync
3
3
  description: Round-trip Metabase content (cards, dashboards, transforms, snippets, collections, Library-published table/field metadata) between an instance and a git remote via `mb git-sync …` — status, dirty / has-remote-changes checks, import, export (with branch guard), branches, stash, add/remove a collection from sync. Load when the user wants to "import the latest changes", "export to git", "push my changes to the repo", "open a PR with my Metabase changes", "git sync", "dirty check", "stash before pulling", "add a collection to sync", or anything `mb git-sync …`.
4
4
  allowed-tools: Read, Write, Edit, Bash, AskUserQuestion
5
+ requires: [remoteSync]
5
6
  ---
6
7
 
7
8
  # git-sync (representations ↔ instance)
@@ -130,6 +131,8 @@ mb setting set remote-sync-type '"read-write"' --profile <n>
130
131
 
131
132
  **Verifying the result.** `mb git-sync status --profile <n> --json` lists the flagged collections under `synced_collections`, and `mb collection get <id> --json` shows the per-collection `is_remote_synced` flag.
132
133
 
134
+ <!-- requires: library -->
135
+
133
136
  ## Published table metadata (Library) and sync scope
134
137
 
135
138
  Table and field metadata — table/field descriptions, semantic types (`type/PK`, `type/FK`), FK targets, plus segments and measures on the table — serializes for **Library-published tables only**, under `databases/<db>/schemas/<schema>/tables/<table>/…` in the repo. Eligibility is two-gated: the table must be published (`mb library publish`), **and** the Library collection holding it must itself carry `is_remote_synced: true`. An ordinary warehouse table, or a transform's target table that isn't published, never serializes — a transform's YAML carries only the transform definition (query, target, description), not the output table's field metadata.
@@ -144,6 +147,8 @@ mb git-sync stash --new-branch <branch> -m "..." --profile <n> # or create-b
144
147
 
145
148
  Flagging the collection records it for the next export, which serializes its current content — including already-published tables and their field metadata. `mb library publish` prints a reminder when the target collection is outside the sync scope on an instance with a configured remote.
146
149
 
150
+ <!-- /requires -->
151
+
147
152
  ## Don't (git-sync-specific)
148
153
 
149
154
  - Don't turn instance-side changes into hand-written repo files. When the changes were made against the instance, export them (`stash` / `create-branch` + `export`) and PR the exported branch; reconstructing them as YAML by hand — or pushing files in paths/formats the serializer doesn't own — produces content that never applies on import, and pushing behind Metabase's back races its own sync tasks. Hand-editing YAML belongs to the repo-first workflow, in the serialized layout the repo already uses.
@@ -122,7 +122,7 @@ No `type:"query"` wrapper, no `query:` nesting. If you wrap the query inside a l
122
122
 
123
123
  ## Legacy formats you may encounter
124
124
 
125
- Older Metabase servers used a different query envelope (sometimes called MBQL 4 / "legacy MBQL"); the `mbql/query` shape above is what recent servers store and return. You won't author the legacy shapes, but you may see them in queries created long ago. Anything not `lib/type: "mbql/query"` is sent as-is and normalized server-side — you lose validation, so don't author these:
125
+ Queries created long ago may carry a different envelope (sometimes called MBQL 4 / "legacy MBQL"); the `mbql/query` shape above is what the server stores and returns. You won't author the legacy shapes, but you may see them in old content. Anything not `lib/type: "mbql/query"` is sent as-is and normalized server-side — you lose validation, so don't author these:
126
126
 
127
127
  - **Legacy structured** — `{ "type": "query", "database": N, "query": { "source-table": T, … } }`
128
128
  - **Flat native** — `{ "type": "native", "database": N, "native": { "query": "SELECT …" } }` — the server accepts it, but author the native stage instead (`native-sql`).
@@ -106,21 +106,26 @@ Units (truncation only): `millisecond`, `second`, `minute`, `hour`, `day`, `week
106
106
 
107
107
  A stage's `aggregation` is a list of aggregation clauses.
108
108
 
109
- | Op | Args | Notes |
110
- | ----------------------- | -------------------------- | -------------------------------- |
111
- | `count` | none, or 1 expression | with arg: count non-NULL |
112
- | `sum` `avg` `min` `max` | 1 numeric/orderable | |
113
- | `distinct` | 1 expression | count of distinct values |
114
- | `cum-count` | none or 1 expression | running count |
115
- | `cum-sum` | 1 numeric | running sum |
116
- | `stddev` `var` `median` | 1 numeric | |
117
- | `percentile` | numeric, p (0.0–1.0) | |
118
- | `count-where` | 1 boolean clause | |
119
- | `sum-where` | numeric, boolean clause | |
120
- | `distinct-where` | expression, boolean clause | |
121
- | `share` | 1 boolean clause | proportion 0–1 |
122
- | `metric` | metric id | reference a saved metric card |
123
- | `measure` | measure id | reference a saved measure (v59+) |
109
+ | Op | Args | Notes |
110
+ | ----------------------- | -------------------------- | ----------------------------- |
111
+ | `count` | none, or 1 expression | with arg: count non-NULL |
112
+ | `sum` `avg` `min` `max` | 1 numeric/orderable | |
113
+ | `distinct` | 1 expression | count of distinct values |
114
+ | `cum-count` | none or 1 expression | running count |
115
+ | `cum-sum` | 1 numeric | running sum |
116
+ | `stddev` `var` `median` | 1 numeric | |
117
+ | `percentile` | numeric, p (0.0–1.0) | |
118
+ | `count-where` | 1 boolean clause | |
119
+ | `sum-where` | numeric, boolean clause | |
120
+ | `distinct-where` | expression, boolean clause | |
121
+ | `share` | 1 boolean clause | proportion 0–1 |
122
+ | `metric` | metric id | reference a saved metric card |
123
+
124
+ <!-- requires: measures -->
125
+
126
+ `measure` takes a measure id and references a saved measure.
127
+
128
+ <!-- /requires -->
124
129
 
125
130
  ```json
126
131
  ["count", {…}]
@@ -43,7 +43,7 @@ mb field update 1711 --body '{"semantic_type":"type/FK","fk_target_field_id":168
43
43
  - Queries can pull columns from the related table with no explicit join — `["field", {"source-field": 1711}, 1682]` in MBQL (see `mbql`).
44
44
  - Dashboard **linked filters** become possible (a State filter narrowing a City filter). **Linked filters read only these table-metadata FKs** — never a join you wrote inside a saved question — which is why a linked filter that "shows values it shouldn't" almost always means the FK isn't set in metadata. (See `dashboard`.)
45
45
 
46
- Removing the `type/FK` semantic type auto-clears `fk_target_field_id`. Point a FK only at a field in the **same database** — v60+ rejects a cross-database target; v58–v59 accept it silently and leave a broken relationship.
46
+ Removing the `type/FK` semantic type auto-clears `fk_target_field_id`. Point a FK only at a field in the **same database** — a cross-database target is invalid and never resolves to a relationship.
47
47
 
48
48
  ## Semantic types are labels, not casts
49
49
 
@@ -71,7 +71,13 @@ Everything else on a field/table (physical `name`, `base_type`, `effective_type`
71
71
  `display_name` · `description` · `caveats` · `points_of_interest` · `semantic_type` · `coercion_strategy` · `fk_target_field_id` · `visibility_type` · `has_field_values` · `settings` · `nfc_path` · `json_unfolding`
72
72
 
73
73
  **`PUT /api/table/:id` (`mb table update`)**
74
- `display_name` · `description` · `visibility_type` · `field_order` (`database` / `alphabetical` / `custom` / `smart`) · `entity_type` · `caveats` · `points_of_interest` · `show_in_getting_started` · `owner_user_id` / `owner_email` (ownership) · `data_layer` / `data_authority` / `data_source` (data-governance tiers) · `collection_id` (v62+)
74
+ `display_name` · `description` · `visibility_type` · `field_order` (`database` / `alphabetical` / `custom` / `smart`) · `entity_type` · `caveats` · `points_of_interest` · `show_in_getting_started` · `owner_user_id` / `owner_email` (ownership) · `data_layer` / `data_authority` / `data_source` (data-governance tiers)
75
+
76
+ <!-- requires: library -->
77
+
78
+ · `collection_id` — the Library **Data** collection a published table sits in (`mb library publish` sets it; see `core`)
79
+
80
+ <!-- /requires -->
75
81
 
76
82
  ## Coercion strategies (common)
77
83
 
@@ -86,9 +86,13 @@ SQL: `{{snippet: Active Rows}}`. Create/manage the fragment with `mb snippet` (`
86
86
 
87
87
  SQL: `{{#42}}` or `{{#42-slug}}`, used where a table/subquery goes (`FROM {{#42}}`, `WITH x AS {{#42}}`). Runs with the referenced card's own defaults; no user value.
88
88
 
89
- ### Source table — `table` (v59+)
89
+ <!-- requires: nativeTableTemplateTag -->
90
90
 
91
- A niche v59+ type that references a warehouse table by id (`{type: "table", table-id: <id>}`, optional `source-filters`) where a table/subquery goes — analogous to a card reference but pointing at a raw table. Absent on v0.58. Reach for a card reference (`card`) unless you specifically need a bare-table source tag.
91
+ ### Source table — `table`
92
+
93
+ A niche type that references a warehouse table by id (`{type: "table", table-id: <id>}`, optional `source-filters`) where a table/subquery goes — analogous to a card reference but pointing at a raw table. Reach for a card reference (`card`) unless you specifically need a bare-table source tag.
94
+
95
+ <!-- /requires -->
92
96
 
93
97
  ### Temporal unit — `temporal-unit`
94
98
 
@@ -110,7 +110,13 @@ An alert body has exactly three parts:
110
110
 
111
111
  Recipients are `{"email": "a@b.com"}` for an external address or `{"id": <user-id>}` for a Metabase user. A Slack channel is **not** a recipient — it goes in `details`: `{"channel_type": "slack", "details": {"channel": "#general"}, …}`.
112
112
 
113
- **`skip_if_empty: true`** suppresses the send when the dashboard's questions return no rows — the way to build a "only tell me when something happened" dashboard report. **`parameters`** sets filter values for this subscription only, so one dashboard can feed several audiences a different slice (Pro/Enterprise). Its entries are dashboard parameter values — the parameter `id`s come from `mb dashboard get <id> --fields parameters --json` (see the `dashboard` skill).
113
+ **`skip_if_empty: true`** suppresses the send when the dashboard's questions return no rows — the way to build a "only tell me when something happened" dashboard report.
114
+
115
+ <!-- requires: dashboardSubscriptionFilters -->
116
+
117
+ **`parameters`** sets filter values for this subscription only, so one dashboard can feed several audiences a different slice. Its entries are dashboard parameter values — the parameter `id`s come from `mb dashboard get <id> --fields parameters --json` (see the `dashboard` skill).
118
+
119
+ <!-- /requires -->
114
120
 
115
121
  `mb subscription list --archived` is a **swap, not a union** — it returns archived subscriptions _instead of_ active ones, never both. `mb dashboard subscriptions <id>` is the list scoped to one dashboard. `mb subscription archive <id>` also disables every channel on it, so restoring takes two steps: `update --body '{"archived":false}'`, then re-send the `channels` array with `enabled: true`.
116
122
 
@@ -2,6 +2,7 @@
2
2
  name: transform
3
3
  description: Author and run Metabase transforms via `mb` — body shape (native SQL or structured MBQL), create + run-with-wait, run inspection, dependencies, cancel, the `update`-vs-recreate iteration rule, the writable-keys-only PATCH contract, transform tests (fixtures and expectations run against temp tables), plus transform tags and tag-driven transform-job schedules. Load when the user touches transforms — "create a transform", "run a transform", "fix a failing transform", "test a transform", "list transform runs", "cancel a running transform", "manage transform tags", "run a transform job", or anything `mb transform …` / `mb transform-job …` / `mb transform-tag …` / `mb transform-test …`.
4
4
  allowed-tools: Read, Write, Edit, Bash, AskUserQuestion
5
+ requires: [transforms]
5
6
  ---
6
7
 
7
8
  # Transforms
@@ -67,7 +68,7 @@ TABLE_ID=$(mb transform run <id> --sync --profile <name> --json | jq -r '.target
67
68
  mb table get "$TABLE_ID" --include fields --profile <name> --json # field ids for MBQL
68
69
  ```
69
70
 
70
- On `target_table_id: null` (still syncing when the poll timed out; exit 0) re-poll `mb transform get <id> --full --json` until the `target_table_id` / `table` linkage lands.
71
+ On `target_table_id: null` (still syncing when the poll timed out; exit 0) re-poll `mb transform get <id> --json` until `target_table_id` is a number.
71
72
 
72
73
  Columns and types are inferred from the result set; change the SELECT shape and the next run fails on a column mismatch — drop the table first (`transform delete-table <id>`). A changed shape also needs a re-run with `--sync` before MBQL sees the new/renamed columns.
73
74
 
@@ -172,7 +173,9 @@ mb transform run "$ID" --wait --profile <n> --json # → succeeded
172
173
 
173
174
  If you really must `create + delete` instead, do the `delete` **before** the first `git-sync export` so the failed entity never lands in git history — an export of a soft-failed state is noise that needs a follow-up cleanup commit. See `git-sync`, "Read state before mutating", for the ordering rule.
174
175
 
175
- ## Transform tests (v65+)
176
+ <!-- requires: transformTests -->
177
+
178
+ ## Transform tests
176
179
 
177
180
  A transform test replaces every table the transform reads with a fixture, runs it into a temp table, and checks that output. No real table is read or written.
178
181
 
@@ -230,6 +233,8 @@ mb transform-test run <id> --profile <n> --json # exits non-zero u
230
233
 
231
234
  Create and update bodies are closed — strip `id`, `entity_id`, `creator_id`, `created_at` and `updated_at` from a `get --full` body before sending it back.
232
235
 
236
+ <!-- /requires -->
237
+
233
238
  ## Drop the materialized table (keep the transform)
234
239
 
235
240
  ```bash
@@ -256,7 +261,16 @@ Key verbs (`mb transform-job --help` for the full list):
256
261
  mb transform-job transforms <id> --profile <name> --json # preview which transforms this job resolves to (by tag)
257
262
  mb transform-job run <id> --profile <name> --json # trigger a job now; runs all its tagged transforms
258
263
  mb transform-job run <id> --force-refresh --profile <name> --json # also re-run dependencies that are already fresh
264
+ ```
265
+
266
+ <!-- requires: transformJobActivation -->
267
+
268
+ ```bash
259
269
  mb transform-job set-active false --profile <name> --json # disable every job at once (true re-enables); admin only
260
270
  ```
261
271
 
262
- `transform-job run` is fire-and-forget — the server returns `{message, job_run_id}` immediately, with no per-job-run polling (no `--wait`). Most ad-hoc agent work is one-off `transform run`, not job authoring.
272
+ <!-- /requires -->
273
+
274
+ Every job row carries `active`; it is `null` on a server that cannot switch jobs off, where every job runs on schedule.
275
+
276
+ `transform-job run` is fire-and-forget — it returns `{message, started, run_id}` immediately (both `null` when the server does not number job runs: the request was accepted and whether a run started is unsaid), with no per-job-run polling (no `--wait`). Most ad-hoc agent work is one-off `transform run`, not job authoring.
@@ -2,6 +2,7 @@
2
2
  name: transform-test-plan
3
3
  description: Derive a comprehensive test plan for a transform — the fixture cast, the expectations, hand-derived expected rows, and a coverage matrix — from the model's declared design. Covers input partitioning (zero-case, multiplicity, dirty rows), grain / conservation / recomputation / conformance checks, and known-quirk conventions. Load when the user wants tests planned or written for transforms — "write tests for my transforms", "is my model right", "test plan for this pipeline", "add data quality checks" — whether the model is mid-build or already deployed. The `mb transform-test` command and body shapes live in the `transform` skill; this one decides what to test.
4
4
  allowed-tools: Read, Write, Edit, Bash, AskUserQuestion
5
+ requires: [transformTests]
5
6
  ---
6
7
 
7
8
  # Planning transform tests
@@ -27,7 +27,10 @@ Decide which relationship in the data matters most, then pick the chart. The sha
27
27
  - **Compare a measure across categories** → `bar` (vertical). Use `row` (horizontal bar) when labels are long or there are many categories. Sort by value unless the dimension has a natural order.
28
28
  - **Change over time / trend** → `line` for a continuous series; `bar`/`area` for a few discrete periods. Two measures on unlike scales → `combo` (line + bar, dual-axis) — only when the metrics are genuinely related.
29
29
  - **Part-to-whole, one snapshot** → `pie`, but only for a meaningful whole with **≤5 slices**; beyond that use a sorted `bar`/`row`. Composition over time → stacked `area`/`bar`.
30
- - **Distribution / spread / outliers** → a `bar` histogram (bin the measure — see `mbql` binning); on **v59+** servers `boxplot` compares several groups' spread directly.
30
+ - **Distribution / spread / outliers** → a `bar` histogram (bin the measure — see `mbql` binning).
31
+ <!-- requires: boxplotDisplay -->
32
+ - **Spread across several groups** → `boxplot` compares the groups' distributions directly.
33
+ <!-- /requires -->
31
34
  - **Correlation between two measures** → `scatter` (a third measure → bubble size).
32
35
  - **Sequential additive contributions** (start → +/− steps → total) → `waterfall`.
33
36
  - **Stage drop-off in an ordered, cumulative funnel** → `funnel`.
@@ -35,7 +38,7 @@ Decide which relationship in the data matters most, then pick the chart. The sha
35
38
  - **Geographic** → `map`: region/choropleth (a region dimension + a measure), pin (lat + long), or grid/heat (coordinates + measure).
36
39
  - **Precise values, many columns, mixed types, or no chart fits** → `table`; `pivot` for a cross-tab of two dimensions; `object` for a single record's detail.
37
40
 
38
- Valid `display` values — the registered visualizations: `table`, `bar`, `line`, `area`, `row`, `pie`, `scalar`, `smartscalar`, `combo`, `pivot`, `funnel`, `map`, `scatter`, `waterfall`, `progress`, `gauge`, `object`, `sankey`. The API types `display` as a plain string and accepts any value — it renders an unknown one as nothing. (`boxplot` is registered only on **v59+** servers — older ones render it blank; use a `bar` histogram for distributions instead. `scalar` **is** the "Number" viz — `display: number` is a legacy serialization alias, not a registered visualization; use `scalar`. `list` exists but is hidden — don't pick it. `heading`/`text`/`link`/`iframe`/`action` are dashcard virtuals, not standalone cards — see references.) A typo like `bargraph`/`linechart` is accepted and renders blank — the most common "why is my chart blank" cause.
41
+ Valid `display` values — the registered visualizations: `table`, `bar`, `line`, `area`, `row`, `pie`, `scalar`, `smartscalar`, `combo`, `pivot`, `funnel`, `map`, `scatter`, `waterfall`, `progress`, `gauge`, `object`, `sankey`. The API types `display` as a plain string and accepts any value — it renders an unknown one as nothing. (`scalar` **is** the "Number" viz — `display: number` is a legacy serialization alias, not a registered visualization; use `scalar`. `list` exists but is hidden — don't pick it. `heading`/`text`/`link`/`iframe`/`action` are dashcard virtuals, not standalone cards — see references.) A typo like `bargraph`/`linechart` is accepted and renders blank — the most common "why is my chart blank" cause.
39
42
 
40
43
  ## Step 2 — bind data columns and set options
41
44
 
@@ -53,7 +56,6 @@ Valid `display` values — the registered visualizations: `table`, `bar`, `line`
53
56
  | `row` | as bar; prefer for long/many category labels | `graph.dimensions`, `graph.metrics` |
54
57
  | `scatter` | two numeric measures (correlation) | `graph.dimensions`, `graph.metrics` (`scatter.bubble` opt) |
55
58
  | `waterfall` | exactly 1 dimension + ≥1 measure; sequential | `graph.dimensions` (1), `graph.metrics` (1) |
56
- | `boxplot` _(v59+)_ | ≥3 cols, ≥2 dimensions, ≥1 measure | `graph.dimensions`, `graph.metrics` |
57
59
  | `pie` | ≥2 rows, ≥2 cols, ≥1 dimension + ≥1 measure; ≤~5 slices | `pie.dimension`, `pie.metric` |
58
60
  | `funnel` | 2 columns (stage + value); ordered stages | `funnel.dimension`, `funnel.metric` |
59
61
  | `map` (region) | a string/region dimension + a measure | `map.region`, `map.dimension`, `map.metric` |
@@ -62,6 +64,12 @@ Valid `display` values — the registered visualizations: `table`, `bar`, `line`
62
64
  | `pivot` | ≥2 cols, all aggregated/breakout | — (`pivot_table.column_split` auto) |
63
65
  | `table` `object` | anything (table is the universal fallback) | — (always renders) |
64
66
 
67
+ <!-- requires: boxplotDisplay -->
68
+
69
+ `boxplot` is registered too: ≥3 cols, ≥2 dimensions, ≥1 measure, on **unaggregated** rows; required keys `graph.dimensions`, `graph.metrics`.
70
+
71
+ <!-- /requires -->
72
+
65
73
  ### The rule that trips everyone: settings name **output columns**, by name
66
74
 
67
75
  `graph.dimensions`, `graph.metrics`, `pie.dimension`, `pie.metric`, `scalar.field`, `funnel.metric`, `map.latitude_column`, `sankey.source`, … all take **output column-name strings** — the names the query _produces_, not field ids. A `count` aggregation outputs the column `count`; a breakout on a field outputs that field's name; a named aggregation outputs its `name`. These strings are **identical in the API form and the portable (git-sync) form** — no numeric-vs-name footgun here.
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Contents
4
4
 
5
- - [Cartesian — `bar`, `line`, `area`, `combo`, `scatter`, `waterfall`, `row`, `boxplot`](#cartesian--bar-line-area-combo-scatter-waterfall-row-boxplot) — shared keys (binding, stacking, goal/trend, data labels, axes, tooltip) plus `scatter`, `waterfall`, `row`, `boxplot` extras
5
+ - [Cartesian — `bar`, `line`, `area`, `combo`, `scatter`, `waterfall`, `row`](#cartesian--bar-line-area-combo-scatter-waterfall-row) — shared keys (binding, stacking, goal/trend, data labels, axes, tooltip) plus `scatter`, `waterfall`, `row` extras
6
6
  - [Part-to-whole & single value — `pie`, `funnel`, `gauge`, `progress`, `scalar`, `smartscalar`](#part-to-whole--single-value--pie-funnel-gauge-progress-scalar-smartscalar)
7
7
  - [Tabular, geographic & flow — `table`, `pivot`, `object`, `map`, `sankey`](#tabular-geographic--flow--table-pivot-object-map-sankey) — includes `table.column_formatting` conditional formatting
8
8
  - [`column_settings` — per-column formatting](#column_settings--per-column-formatting) — number/date/currency, `view_as`, alignment, mini bars
@@ -18,7 +18,7 @@ All column-naming keys (`graph.dimensions`, `pie.dimension`, `table.columns[].na
18
18
 
19
19
  ---
20
20
 
21
- # Cartesian — `bar`, `line`, `area`, `combo`, `scatter`, `waterfall`, `row`, `boxplot`
21
+ # Cartesian — `bar`, `line`, `area`, `combo`, `scatter`, `waterfall`, `row`
22
22
 
23
23
  `bar`/`line`/`area`/`combo` share an identical key set (combo just defaults the first series to a line, the rest to bars). `scatter`/`waterfall`/`row`/`boxplot` use a subset plus their own extras. Most allow up to 2 dimensions and unlimited metrics; **waterfall is 1 dimension + 1 metric**, boxplot allows 2 dimensions.
24
24
 
@@ -102,9 +102,9 @@ Use for sequential additive contributions (start → +/− steps → total). **U
102
102
 
103
103
  Horizontal bars — use when category labels are long or numerous. Here `graph.dimensions` is the y-axis (categories) and `graph.metrics` the x-axis (values). X-scale is `"ordinal"` only; no trend line, tooltip columns, or split panels. **Required:** `graph.dimensions`, `graph.metrics`.
104
104
 
105
- ## boxplot
105
+ <!-- requires: boxplotDisplay -->
106
106
 
107
- _Registered only on **v59+** servers — older ones render `display: boxplot` blank; use a `bar` histogram there._
107
+ ## boxplot
108
108
 
109
109
  Use for distribution/spread/outliers, especially across several groups. Needs **unaggregated** rows. **Use for:** ≥3 columns, ≥2 dimensions, ≥1 measure. **Required:** `graph.dimensions`, `graph.metrics`. X-scale is `"ordinal"`.
110
110
 
@@ -115,6 +115,8 @@ Use for distribution/spread/outliers, especially across several groups. Needs **
115
115
  | `boxplot.show_mean` | boolean | | `true` |
116
116
  | `boxplot.show_values_mode` | string | `"median"`, `"all"` (when `graph.show_values`) | `"median"` |
117
117
 
118
+ <!-- /requires -->
119
+
118
120
  ---
119
121
 
120
122
  # Part-to-whole & single value — `pie`, `funnel`, `gauge`, `progress`, `scalar`, `smartscalar`
@@ -17,7 +17,7 @@ Before running any `mb` command, load the workflow content from the CLI:
17
17
 
18
18
  ```bash
19
19
  mb skills get core # auth, flag conventions, every command group
20
- mb skills list # everything available on the installed version
20
+ mb skills list # every bundled skill the profile's server can use (--unfiltered for all of them)
21
21
  ```
22
22
 
23
23
  **Doing a whole job, not one command?** If the user wants an outcome — "make sense of my data", "build a data model", "go from raw data to a dashboard", "answer questions about my data", "be my data analyst", "set up analytics for X" — load the guided end-to-end skill instead and let it drive:
@@ -1,24 +0,0 @@
1
- import { t as defineCommandGroup } from "./group-DBM87IgC.mjs";
2
- //#region src/commands/card/index.ts
3
- var card_default = defineCommandGroup({
4
- name: "card",
5
- description: "Manage Metabase cards (questions, models, metrics)",
6
- skills: [{
7
- skill: "mbql",
8
- purpose: "author the dataset_query"
9
- }, {
10
- skill: "visualization",
11
- purpose: "choose display and visualization_settings"
12
- }],
13
- subCommands: {
14
- list: () => import("./list-D9RmPIEJ.mjs").then((mod) => mod.default),
15
- get: () => import("./get-XcSH5Zyz.mjs").then((mod) => mod.default),
16
- query: () => import("./query-CmkC8sfu.mjs").then((mod) => mod.default),
17
- alerts: () => import("./alerts-DjZGGxOy.mjs").then((mod) => mod.default),
18
- create: () => import("./create-CaDAT54M.mjs").then((mod) => mod.default),
19
- update: () => import("./update-CIuoW1M9.mjs").then((mod) => mod.default),
20
- archive: () => import("./archive-CzcjKpUC.mjs").then((mod) => mod.default)
21
- }
22
- });
23
- //#endregion
24
- export { card_default as default };