@marimo-team/frontend 0.23.9-dev8 → 0.23.9
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.
- package/dist/assets/{CellStatus-D_-Xs2i2.js → CellStatus-BLWR83i_.js} +1 -1
- package/dist/assets/{ConnectedDataExplorerComponent-CKOLvj_e.js → ConnectedDataExplorerComponent-W0UfNkj7.js} +1 -1
- package/dist/assets/JsonOutput-BJaeXQim.js +53 -0
- package/dist/assets/LazyAnyLanguageCodeMirror-BEvXb3VX.js +2 -0
- package/dist/assets/MarimoErrorOutput-B0h5OVW9.js +7 -0
- package/dist/assets/{RenderHTML-IGRZU9wj.js → RenderHTML-ChwPJgPd.js} +1 -1
- package/dist/assets/{RunButton-Cf9ByHXe.js → RunButton-NDsrcmxR.js} +1 -1
- package/dist/assets/{add-cell-with-ai-9EyttqGQ.js → add-cell-with-ai-FxJitVGs.js} +21 -21
- package/dist/assets/{add-connection-dialog-Bqsr9NiO.js → add-connection-dialog-EgkKupsZ.js} +1 -1
- package/dist/assets/{agent-panel-CSzzOKD1.js → agent-panel-BSt1fSQZ.js} +6 -6
- package/dist/assets/ai-model-dropdown-DxAk02Lc.js +5 -0
- package/dist/assets/{any-language-editor-Cs-Qsdlp.js → any-language-editor-CXeLf_N8.js} +1 -1
- package/dist/assets/apl-EAxnZS_5.js +1 -0
- package/dist/assets/{app-config-button-Cooknt8P.js → app-config-button-BcOcIm9W.js} +1 -1
- package/dist/assets/{arc-D0XsJSsf.js → arc-CWuN1tfc.js} +1 -1
- package/dist/assets/{architecture-7HQA4BMR-CyeFAHwy.js → architecture-7HQA4BMR-DJtUfdk-.js} +1 -1
- package/dist/assets/{architectureDiagram-VXUJARFQ-1WJT-eC3.js → architectureDiagram-VXUJARFQ-Cgi4wo9P.js} +1 -1
- package/dist/assets/arrow-right-pRnMoIOW.js +1 -0
- package/dist/assets/asciiarmor-zxnaShQE.js +1 -0
- package/dist/assets/asn1-7i28Os5R.js +1 -0
- package/dist/assets/{blockDiagram-VD42YOAC-JexHZqqE.js → blockDiagram-VD42YOAC-CsHap8-F.js} +1 -1
- package/dist/assets/brainfuck-BZegPsXK.js +1 -0
- package/dist/assets/{c4Diagram-YG6GDRKO-Bq-DoY7t.js → c4Diagram-YG6GDRKO-CZuArudM.js} +1 -1
- package/dist/assets/{cache-panel-CZqzacQu.js → cache-panel-DYiVMv5x.js} +1 -1
- package/dist/assets/cell-editor-C5CDtKML.js +20 -0
- package/dist/assets/{cell-link-VlbhstGP.js → cell-link-B1pHtGWp.js} +1 -1
- package/dist/assets/{cells-WW455pbI.js → cells-BsaJrRWi.js} +60 -62
- package/dist/assets/channel-6XBTrC3Q.js +1 -0
- package/dist/assets/{chat-display-0SSKyMkt.js → chat-display-ccjE30z9.js} +1 -1
- package/dist/assets/chat-panel-CtvtP3kb.js +3 -0
- package/dist/assets/chat-ui-DV8CD_s1.js +4 -0
- package/dist/assets/{chunk-4BX2VUAB-Dhno12SW.js → chunk-4BX2VUAB-Ca6WzYTr.js} +1 -1
- package/dist/assets/chunk-55IACEB6-Cr4aqhf3.js +1 -0
- package/dist/assets/{chunk-5FQGJX7Z-BzXnQz5s.js → chunk-5FQGJX7Z-D9iBG0F7.js} +2 -2
- package/dist/assets/{chunk-ABZYJK2D-fbQovzbZ.js → chunk-ABZYJK2D-BG7Eb4WW.js} +3 -3
- package/dist/assets/{chunk-ATLVNIR6-C71UReOL.js → chunk-ATLVNIR6-CqLn9HI1.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-ChmO4xUA.js → chunk-B4BG7PRW-D4SyZNjn.js} +1 -1
- package/dist/assets/{chunk-CVBHYZKI-B6tT645I.js → chunk-CVBHYZKI-C-NWvPQL.js} +1 -1
- package/dist/assets/{chunk-DI55MBZ5-DaLBJUsc.js → chunk-DI55MBZ5-t9uiMPiN.js} +1 -1
- package/dist/assets/{chunk-EXTU4WIE-B3Lv3QWb.js → chunk-EXTU4WIE-BmVk7Fyq.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-CDFiCFLp.js → chunk-FMBD7UC4-DlnzxSkO.js} +1 -1
- package/dist/assets/{chunk-HN2XXSSU-xW6J7MXn.js → chunk-HN2XXSSU-Bcaj5fRB.js} +1 -1
- package/dist/assets/{chunk-JA3XYJ7Z-jqUKn_dB.js → chunk-JA3XYJ7Z-B5b2QHOb.js} +1 -1
- package/dist/assets/{chunk-JZLCHNYA-xGZ72asD.js → chunk-JZLCHNYA-1_sVfAnw.js} +1 -1
- package/dist/assets/{chunk-MI3HLSF2-CXMqGP2w.js → chunk-MI3HLSF2-DqzZqBCh.js} +1 -1
- package/dist/assets/{chunk-N4CR4FBY-D8iMP1ch.js → chunk-N4CR4FBY-CFJoD-EQ.js} +2 -2
- package/dist/assets/{chunk-QN33PNHL-Ddzf5Xc1.js → chunk-QN33PNHL-BBE_bx9E.js} +1 -1
- package/dist/assets/{chunk-QXUST7PY-BUBd7EW9.js → chunk-QXUST7PY-Cu1nR-L2.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-37WEuSLJ.js → chunk-QZHKN3VN-BAnb9AKF.js} +1 -1
- package/dist/assets/{chunk-S3R3BYOJ-7UJSqSFb.js → chunk-S3R3BYOJ-Cl0iW04v.js} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-B7Xjx897.js → chunk-TZMSLE5B-f5ix6iSd.js} +1 -1
- package/dist/assets/classDiagram-2ON5EDUG-DlIMDu6i.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-CcIhhkQu.js +1 -0
- package/dist/assets/{clike-npv7NBwP.js → clike-bdcjLdZ4.js} +1 -1
- package/dist/assets/clojure-VUVi7fTV.js +1 -0
- package/dist/assets/cmake-DZJIDbjY.js +1 -0
- package/dist/assets/cobol-klCRwlLm.js +1 -0
- package/dist/assets/{code-block-37QAKDTI-BZVOQdyl.js → code-block-37QAKDTI-B19XL3UR.js} +1 -1
- package/dist/assets/coffeescript-C9foD9ub.js +1 -0
- package/dist/assets/{column-preview-CyyMserX.js → column-preview-BPismotx.js} +1 -1
- package/dist/assets/{command-palette-C0SuD26e.js → command-palette-Cdy8eCpi.js} +1 -1
- package/dist/assets/{common-Bei_EA1L.js → common-6n8M1qiK.js} +1 -1
- package/dist/assets/commonlisp-tHxoA35J.js +1 -0
- package/dist/assets/{components-B-vsJpY6.js → components-BzBUxUz0.js} +1 -1
- package/dist/assets/{components-cjKlTr3f.js → components-CK-WtvAJ.js} +1 -1
- package/dist/assets/config-ClMcu_sV.js +1 -0
- package/dist/assets/{cose-bilkent-S5V4N54A-CgMkzBzk.js → cose-bilkent-S5V4N54A-CQqSLzd1.js} +1 -1
- package/dist/assets/crystal-CQ11GdrX.js +1 -0
- package/dist/assets/{css-OVjTGRm9.js → css-ACAb8MRM.js} +1 -1
- package/dist/assets/cypher-CJ0Uzw29.js +1 -0
- package/dist/assets/d-DP0SUIt1.js +1 -0
- package/dist/assets/{dagre-6UL2VRFP-rclmYCNC.js → dagre-6UL2VRFP-CVKXpDlr.js} +1 -1
- package/dist/assets/{data-grid-overlay-editor-CO7vLLX5.js → data-grid-overlay-editor-BdDYn72O.js} +1 -1
- package/dist/assets/{datasource-CrDfHWto.js → datasource-DjDpJnbt.js} +2 -2
- package/dist/assets/dependency-graph-panel-BNaXAcZr.js +5 -0
- package/dist/assets/{diagram-PSM6KHXK-Dr5x-oaJ.js → diagram-PSM6KHXK-BfzLNKp-.js} +1 -1
- package/dist/assets/{diagram-QEK2KX5R-Cyino8Ci.js → diagram-QEK2KX5R-D_H77Ni5.js} +1 -1
- package/dist/assets/{diagram-S2PKOQOG-DYLuU52t.js → diagram-S2PKOQOG-DJmVBeMk.js} +1 -1
- package/dist/assets/diff-CNs8MB38.js +1 -0
- package/dist/assets/{dist-K7UrYXpJ.js → dist-BtL81uwZ.js} +1 -1
- package/dist/assets/{dist-BYYXrYaA.js → dist-Bww7hlVc.js} +1 -1
- package/dist/assets/{dist-BTDGJ6yw.js → dist-CJIOLS6O.js} +1 -1
- package/dist/assets/dist-CPF3W2Y-.js +1 -0
- package/dist/assets/{dist-D6HkmGB2.js → dist-CUapWJe4.js} +1 -1
- package/dist/assets/{dist-DYXeLJlk.js → dist-CWeWT34c.js} +1 -1
- package/dist/assets/{dist-CSowihAs.js → dist-CuCuJBdf.js} +1 -1
- package/dist/assets/{dist-fQYV9WTb.js → dist-DH60fwgs.js} +1 -1
- package/dist/assets/dist-DZPpMvcR.js +1 -0
- package/dist/assets/dist-DkcQg5xD.js +1 -0
- package/dist/assets/dist-DkzFxGAX.js +1 -0
- package/dist/assets/{dist-CtCHoDJA.js → dist-DmBXXm0k.js} +1 -1
- package/dist/assets/{dist-DB3ebLb3.js → dist-W1iHBJeE.js} +1 -1
- package/dist/assets/{dist-CO_N76Iz.js → dist-cgiAP5sW.js} +1 -1
- package/dist/assets/{dist-CGC-UAcL.js → dist-vkd1160q.js} +1 -1
- package/dist/assets/{dockerfile-CrSl2ewL.js → dockerfile-BSMbgQQl.js} +1 -1
- package/dist/assets/{documentation-panel-BWa3CXAu.js → documentation-panel-5jUKZR-l.js} +1 -1
- package/dist/assets/{download-CKGdZtPf.js → download-DT8gf0PL.js} +1 -1
- package/dist/assets/dtd-BsD0uJw0.js +1 -0
- package/dist/assets/dylan-DbrGP1IP.js +1 -0
- package/dist/assets/ecl-C0rZlhHw.js +1 -0
- package/dist/assets/edit-page-B7KTvcRN.js +9 -0
- package/dist/assets/eiffel-2ZX-OpSJ.js +1 -0
- package/dist/assets/elm-CbOSKldD.js +1 -0
- package/dist/assets/{erDiagram-Q2GNP2WA-FdS4NKUh.js → erDiagram-Q2GNP2WA-ROTNwSJz.js} +1 -1
- package/dist/assets/erlang-BWiOgHIX.js +1 -0
- package/dist/assets/{error-panel-BW7R1Ohr.js → error-panel-DHcg_ER5.js} +1 -1
- package/dist/assets/{esm-CwPtnMeh.js → esm-DeiyaVAJ.js} +1 -1
- package/dist/assets/{factor-MWFhpc0o.js → factor-C-_cRSDM.js} +1 -1
- package/dist/assets/factor-CUwFIMOP.js +1 -0
- package/dist/assets/{file-explorer-panel-C5v0FnJv.js → file-explorer-panel-CbOdvGyZ.js} +3 -3
- package/dist/assets/{file-icons-B1JtCN2e.js → file-icons-BiMOJy0r.js} +1 -1
- package/dist/assets/{floating-outline-wGcVRNZu.js → floating-outline-BN9sAcQ0.js} +1 -1
- package/dist/assets/{flowDiagram-NV44I4VS-DO4w8anv.js → flowDiagram-NV44I4VS--ee3IIVF.js} +1 -1
- package/dist/assets/{focus-COroLbWe.js → focus-q38vUCl-.js} +1 -1
- package/dist/assets/{form-Bstooyv1.js → form-BtBTvVVd.js} +2 -2
- package/dist/assets/forth-BEQA4QQL.js +1 -0
- package/dist/assets/fortran-DoPpOZgG.js +1 -0
- package/dist/assets/{ganttDiagram-JELNMOA3-Df-MBIrj.js → ganttDiagram-JELNMOA3-BGhmW2aP.js} +1 -1
- package/dist/assets/gas-BYovsvOE.js +1 -0
- package/dist/assets/gherkin-CFiRc1Pf.js +1 -0
- package/dist/assets/{gitGraph-G5XIXVHT-BAQx1hNd.js → gitGraph-G5XIXVHT-DuJ_0c_E.js} +1 -1
- package/dist/assets/{gitGraphDiagram-V2S2FVAM-fv2cmbLH.js → gitGraphDiagram-V2S2FVAM-DXFCZcxr.js} +1 -1
- package/dist/assets/{glide-data-editor-BAApVyo5.js → glide-data-editor-DqKNgyfg.js} +4 -4
- package/dist/assets/{globals-DggqXXLE.js → globals-7JnRMGd4.js} +1 -1
- package/dist/assets/groovy-DJNH7evt.js +1 -0
- package/dist/assets/haskell-duZvcePm.js +1 -0
- package/dist/assets/haxe-B2l95qvB.js +1 -0
- package/dist/assets/{home-page-B8SPyTFn.js → home-page-lXjPDNM0.js} +2 -2
- package/dist/assets/{hooks-CktFWxvJ.js → hooks-DP41kAWj.js} +1 -1
- package/dist/assets/{html-to-image-DB5sfuws.js → html-to-image-BWL3Ct4n.js} +1 -1
- package/dist/assets/idl-CZ_xwU8I.js +1 -0
- package/dist/assets/index-BIw7BKLH.css +2 -0
- package/dist/assets/index-awsLWRjZ.js +38 -0
- package/dist/assets/{info-VBDWY6EO-Cw9vVNQD.js → info-VBDWY6EO-DPQEAe2T.js} +1 -1
- package/dist/assets/infoDiagram-HS3SLOUP-CaaUieFa.js +2 -0
- package/dist/assets/javascript-CF5KGSAj.js +1 -0
- package/dist/assets/{journeyDiagram-XKPGCS4Q-C_cdVaga.js → journeyDiagram-XKPGCS4Q-9D2JCyrN.js} +1 -1
- package/dist/assets/julia-BQlq5iZn.js +1 -0
- package/dist/assets/{kanban-definition-3W4ZIXB7-CLpEm5s3.js → kanban-definition-3W4ZIXB7-DxV26rf-.js} +1 -1
- package/dist/assets/katex-CzQ1KdW3.js +1 -0
- package/dist/assets/{kiosk-mode-tHwBN3rS.js → kiosk-mode-BqvqWsFx.js} +1 -1
- package/dist/assets/layout-DXDnDtNw.js +9 -0
- package/dist/assets/{line-ortW3H6T.js → line-x4bpd_8D.js} +1 -1
- package/dist/assets/{linear-CIVE7jyt.js → linear-CW_ww8od.js} +1 -1
- package/dist/assets/livescript-sRMenfqS.js +1 -0
- package/dist/assets/{logs-panel-DZSPhsIs.js → logs-panel-BNoBKY1q.js} +1 -1
- package/dist/assets/{loro_wasm_bg-Ci19hd4D.js → loro_wasm_bg-CtNTubKN.js} +1 -1
- package/dist/assets/lua-a56ITumN.js +1 -0
- package/dist/assets/{markdown-renderer-BnUV17Tg.js → markdown-renderer-CU5Lbyax.js} +3 -3
- package/dist/assets/mathematica-B3m4jXeH.js +1 -0
- package/dist/assets/mbox-BtL7aO2I.js +1 -0
- package/dist/assets/mermaid-4DMBBIKO-CekzuCTz.js +1 -0
- package/dist/assets/{mermaid-D619LWHW.js → mermaid-Bes0ynI8.js} +3 -3
- package/dist/assets/{mermaid-parser.core-CMygPhv_.js → mermaid-parser.core-aYU6qXxk.js} +2 -2
- package/dist/assets/{mhchem-DSE1tfes.js → mhchem-8N2oE3tb.js} +1 -1
- package/dist/assets/{mindmap-definition-VGOIOE7T-mbWtJhR6.js → mindmap-definition-VGOIOE7T-DTJAbAQ8.js} +1 -1
- package/dist/assets/mirc-S27kuZ31.js +1 -0
- package/dist/assets/mllike-B3kx3KeF.js +1 -0
- package/dist/assets/modelica-DgbW4dSi.js +1 -0
- package/dist/assets/mscgen-BIa_4d-0.js +1 -0
- package/dist/assets/mumps-4fnELyHs.js +1 -0
- package/dist/assets/{name-cell-input-BZQLfDw0.js → name-cell-input-BNc3X9qF.js} +1 -1
- package/dist/assets/{nsis-CDylpiaC.js → nsis-BGZ5EB-j.js} +1 -1
- package/dist/assets/nsis-BfGyMssE.js +1 -0
- package/dist/assets/ntriples-DeY1n_tC.js +1 -0
- package/dist/assets/{number-overlay-editor-CHaQ6o4_.js → number-overlay-editor-DL4IwqDH.js} +1 -1
- package/dist/assets/octave-7Qn21jzx.js +1 -0
- package/dist/assets/{ordinal-RiUP-mHf.js → ordinal-_nQ2r1qQ.js} +1 -1
- package/dist/assets/{outline-panel-C4q1Ql1i.js → outline-panel-De2gw3Ro.js} +1 -1
- package/dist/assets/oz-CiPFl3Ni.js +1 -0
- package/dist/assets/{packages-panel-D9p8Tiee.js → packages-panel-C8maQt0Q.js} +1 -1
- package/dist/assets/{packet-DYOGHKS2-BXa5LrXK.js → packet-DYOGHKS2-CxgeJpvT.js} +1 -1
- package/dist/assets/pair-with-agent-modal-1tufe5MP.js +4 -0
- package/dist/assets/panels-BKv_j2lC.js +1 -0
- package/dist/assets/pascal-BH9yQLzw.js +1 -0
- package/dist/assets/perl-DfMCx2i2.js +1 -0
- package/dist/assets/{pie-VRWISCQL-BpZiOBLl.js → pie-VRWISCQL-GZ13ReaG.js} +1 -1
- package/dist/assets/{pieDiagram-ADFJNKIX-ouQhtndl.js → pieDiagram-ADFJNKIX-_3l2XiEo.js} +1 -1
- package/dist/assets/pig-D9CNebQN.js +1 -0
- package/dist/assets/powershell-Dss0bU9F.js +1 -0
- package/dist/assets/{process-output-czqgvDia.js → process-output-B2oklQi4.js} +1 -1
- package/dist/assets/properties-CHADYQUL.js +1 -0
- package/dist/assets/protobuf-DFN-V4SD.js +1 -0
- package/dist/assets/{pug-BXVTM5jr.js → pug-CYW0agOo.js} +1 -1
- package/dist/assets/pug-DOI9FnEk.js +1 -0
- package/dist/assets/puppet-BV0HAkDS.js +1 -0
- package/dist/assets/python-C83Db0-4.js +1 -0
- package/dist/assets/q-D84S4YaJ.js +1 -0
- package/dist/assets/{quadrantDiagram-AYHSOK5B-NRkmQ1sP.js → quadrantDiagram-AYHSOK5B-CX3AMAvR.js} +1 -1
- package/dist/assets/r-jmqrRzXv.js +1 -0
- package/dist/assets/{radar-ZZBFDIW7-CB-lQl_C.js → radar-ZZBFDIW7-CbAjwmA0.js} +1 -1
- package/dist/assets/{radio-group-BHzskOrm.js → radio-group-DlVSuZ_1.js} +1 -1
- package/dist/assets/{react-vega-CFabbyYN.js → react-vega-COx3Ibyn.js} +1 -1
- package/dist/assets/{react-vega-Bzl9LfSR.js → react-vega-CXIQBUis.js} +1 -1
- package/dist/assets/{readonly-python-code-u31O1EoO.js → readonly-python-code-D3_kHsDx.js} +1 -1
- package/dist/assets/renderShortcut-CcFk3m01.js +1 -0
- package/dist/assets/{requirementDiagram-UZGBJVZJ-C0LTiV9S.js → requirementDiagram-UZGBJVZJ-ORHKBnkg.js} +1 -1
- package/dist/assets/reveal-component-C50CTy8h.js +1069 -0
- package/dist/assets/rpm-DUjG0xRk.js +1 -0
- package/dist/assets/ruby-SP4FIzir.js +1 -0
- package/dist/assets/run-page-DeOIw0On.js +1 -0
- package/dist/assets/{sankeyDiagram-TZEHDZUN-CR2AycvD.js → sankeyDiagram-TZEHDZUN-Dvb8kmWa.js} +1 -1
- package/dist/assets/sas-BxaPz2EX.js +1 -0
- package/dist/assets/scheme-HBseLApj.js +1 -0
- package/dist/assets/{scratchpad-panel-B8GVlZFc.js → scratchpad-panel-DWbD_QB3.js} +1 -1
- package/dist/assets/{secrets-panel-B3E_Dkep.js → secrets-panel-BBvdIhtU.js} +1 -1
- package/dist/assets/{sequenceDiagram-WL72ISMW-CtF8-7iq.js → sequenceDiagram-WL72ISMW-DQycpQtE.js} +1 -1
- package/dist/assets/{session-panel-CeJHBx2m.js → session-panel-BHgL-7KC.js} +1 -1
- package/dist/assets/shell-w8ATY_lQ.js +1 -0
- package/dist/assets/sieve-Dyq0LGDO.js +1 -0
- package/dist/assets/smalltalk-D7mAtumc.js +1 -0
- package/dist/assets/{snippets-panel-BxEqEAeR.js → snippets-panel-FY_Ezibl.js} +1 -1
- package/dist/assets/sparql-DAeEYE_u.js +1 -0
- package/dist/assets/{src-CyeQdfB6.js → src-CvyFXpBy.js} +1 -1
- package/dist/assets/{state-D9_BpRuU.js → state-BTTshiKq.js} +3 -3
- package/dist/assets/{state-NqzCpbZn.js → state-D-2KaAHK.js} +1 -1
- package/dist/assets/{stateDiagram-FKZM4ZOC-R47bQmIs.js → stateDiagram-FKZM4ZOC-D78DIR_F.js} +1 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-DX9rpmwh.js +1 -0
- package/dist/assets/{step-Ca7ZnceH.js → step-D7xg1Moj.js} +1 -1
- package/dist/assets/stylus-Cw3Ugan7.js +1 -0
- package/dist/assets/swift-CPsNOBsX.js +1 -0
- package/dist/assets/{switch-C8Pev-_F.js → switch-BiU_sAcn.js} +1 -1
- package/dist/assets/tcl-BfWyQdZa.js +1 -0
- package/dist/assets/{terminal-HJ3qH9Tb.js → terminal-BYGihNNp.js} +1 -1
- package/dist/assets/{textarea-By_oENlk.js → textarea-DwltG8V6.js} +1 -1
- package/dist/assets/textile-BKgaSzSN.js +1 -0
- package/dist/assets/{time-Dfh8bLaf.js → time-DLdI7jB3.js} +1 -1
- package/dist/assets/{timeline-definition-IT6M3QCI-qZnC-_po.js → timeline-definition-IT6M3QCI-DIywx3xf.js} +1 -1
- package/dist/assets/toml-BSOdv04W.js +1 -0
- package/dist/assets/{tracing-panel-DHbxfRgn.js → tracing-panel-bN0O3PuU.js} +2 -2
- package/dist/assets/{tracing-D3RHMNJS.js → tracing-zLH-qWb2.js} +1 -1
- package/dist/assets/{treemap-GDKQZRPO-C2f4_yBW.js → treemap-GDKQZRPO-Dz_qZhuG.js} +1 -1
- package/dist/assets/troff-C0hD9kig.js +1 -0
- package/dist/assets/ttcn-DEqPxhoh.js +1 -0
- package/dist/assets/ttcn-cfg-B-7jSlUe.js +1 -0
- package/dist/assets/turtle-BTtgFsu8.js +1 -0
- package/dist/assets/{useBoolean-DRITaoFR.js → useBoolean-Bp18o6XG.js} +1 -1
- package/dist/assets/{useCellActionButton-JqNWxCAc.js → useCellActionButton-h5LjhtEx.js} +1 -1
- package/dist/assets/{useDeleteCell-DhTEQpE6.js → useDeleteCell-BBPIhnQj.js} +1 -1
- package/dist/assets/useDependencyPanelTab-BSkmlMqr.js +1 -0
- package/dist/assets/{useHotkey-CKk0vHze.js → useHotkey-TKvjHf1m.js} +1 -1
- package/dist/assets/useNotebookActions-B32eCmtG.js +1 -0
- package/dist/assets/{useRunCells-DeA7yeHJ.js → useRunCells-BiCBGyeW.js} +1 -1
- package/dist/assets/{useSplitCell-DWx-q9BJ.js → useSplitCell-uogO-7ac.js} +1 -1
- package/dist/assets/useTheme-CI2eq4XN.js +1 -0
- package/dist/assets/utils-CvI-39U6.js +1 -0
- package/dist/assets/vb-DfRPk_ji.js +1 -0
- package/dist/assets/vbscript-C8D4uv5N.js +1 -0
- package/dist/assets/{vega-component-CBW7fUCI.js → vega-component-COOhhZ3h.js} +1 -1
- package/dist/assets/velocity-DxKr2FFC.js +1 -0
- package/dist/assets/verilog-CxVhamiH.js +1 -0
- package/dist/assets/vhdl-B-IpBNOA.js +1 -0
- package/dist/assets/webidl-CBjKmBwO.js +1 -0
- package/dist/assets/xquery-ABGCbLv0.js +1 -0
- package/dist/assets/{xychartDiagram-PRI3JC2R-Ul_9KMcM.js → xychartDiagram-PRI3JC2R-CjS1dL8k.js} +1 -1
- package/dist/assets/yacas-Ckyxh7oh.js +1 -0
- package/dist/assets/z80-Dr5sQweg.js +1 -0
- package/dist/index.html +32 -32
- package/package.json +1 -1
- package/src/components/ai/__tests__/ai-utils.test.ts +43 -38
- package/src/components/ai/ai-model-dropdown.tsx +2 -2
- package/src/components/app-config/ai-config.tsx +147 -16
- package/src/components/app-config/user-config-form.tsx +37 -1
- package/src/components/chat/__tests__/chat-utils.test.ts +269 -0
- package/src/components/chat/chat-panel.tsx +38 -5
- package/src/components/chat/chat-utils.ts +14 -58
- package/src/components/data-table/TableBottomBar.tsx +5 -8
- package/src/components/data-table/__tests__/column-explorer.test.tsx +128 -0
- package/src/components/data-table/__tests__/header-items.test.tsx +220 -10
- package/src/components/data-table/column-explorer-panel/column-explorer.tsx +95 -29
- package/src/components/data-table/column-header.tsx +17 -12
- package/src/components/data-table/data-table.tsx +4 -0
- package/src/components/data-table/export-actions.tsx +19 -12
- package/src/components/data-table/header-items.tsx +40 -16
- package/src/components/data-table/hooks/use-column-visibility.ts +14 -0
- package/src/components/data-table/schemas.ts +2 -2
- package/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx +16 -6
- package/src/components/databases/display.tsx +2 -0
- package/src/components/datasources/__tests__/utils.test.ts +82 -0
- package/src/components/datasources/utils.ts +16 -15
- package/src/components/editor/Disconnected.tsx +1 -60
- package/src/components/editor/__tests__/viewer-banner.test.tsx +89 -0
- package/src/components/editor/actions/pair-with-agent-modal.tsx +1 -0
- package/src/components/editor/actions/useCellActionButton.tsx +3 -3
- package/src/components/editor/actions/useNotebookActions.tsx +5 -2
- package/src/components/editor/cell/code/cell-editor.tsx +25 -5
- package/src/components/editor/chrome/types.ts +13 -6
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +6 -4
- package/src/components/editor/chrome/wrapper/footer-items/ai-status.tsx +10 -1
- package/src/components/editor/chrome/wrapper/sidebar.tsx +7 -5
- package/src/components/editor/errors/auto-fix.tsx +3 -3
- package/src/components/editor/header/__tests__/status.test.tsx +0 -15
- package/src/components/editor/header/app-header.tsx +1 -4
- package/src/components/editor/header/status.tsx +4 -13
- package/src/components/editor/navigation/__tests__/navigation.test.ts +15 -0
- package/src/components/editor/navigation/navigation.ts +5 -0
- package/src/components/editor/output/MarimoErrorOutput.tsx +103 -25
- package/src/components/editor/output/MarimoTracebackOutput.tsx +28 -39
- package/src/components/editor/renderers/cell-array.tsx +27 -24
- package/src/components/editor/renderers/slides-layout/__tests__/compute-slide-cells.test.ts +30 -17
- package/src/components/editor/renderers/slides-layout/compute-slide-cells.ts +17 -8
- package/src/components/editor/renderers/slides-layout/slides-layout.tsx +10 -12
- package/src/components/editor/viewer-banner.tsx +82 -0
- package/src/components/slides/minimap.tsx +45 -9
- package/src/components/slides/reveal-component.tsx +82 -37
- package/src/components/slides/slide-cell-view.tsx +12 -1
- package/src/components/slides/slide-form.tsx +11 -3
- package/src/components/static-html/static-banner.tsx +28 -22
- package/src/core/ai/__tests__/model-registry.test.ts +72 -60
- package/src/core/ai/model-registry.ts +33 -28
- package/src/core/cells/__tests__/actions.test.ts +48 -0
- package/src/core/cells/actions.ts +5 -6
- package/src/core/codemirror/__tests__/setup.test.ts +29 -0
- package/src/core/codemirror/cells/traceback-decorations.ts +1 -1
- package/src/core/codemirror/cm.ts +50 -3
- package/src/core/codemirror/completion/hints.ts +4 -1
- package/src/core/codemirror/format.ts +1 -0
- package/src/core/codemirror/keymaps/vim.ts +63 -0
- package/src/core/codemirror/language/languages/sql/sql.ts +1 -0
- package/src/core/codemirror/language/languages/sql/utils.ts +2 -0
- package/src/core/config/__tests__/config-schema.test.ts +4 -0
- package/src/core/config/config-schema.ts +4 -0
- package/src/core/config/config.ts +16 -0
- package/src/core/edit-app.tsx +3 -0
- package/src/core/islands/bootstrap.ts +2 -0
- package/src/core/kernel/__tests__/handlers.test.ts +5 -0
- package/src/core/websocket/__tests__/useMarimoKernelConnection.test.ts +0 -13
- package/src/core/websocket/types.ts +0 -6
- package/src/core/websocket/useMarimoKernelConnection.tsx +3 -12
- package/src/css/app/Cell.css +0 -1
- package/src/plugins/impl/DataTablePlugin.tsx +48 -22
- package/src/plugins/impl/chat/ChatPlugin.tsx +7 -1
- package/src/plugins/impl/chat/__tests__/chat-ui.test.ts +278 -0
- package/src/plugins/impl/chat/chat-ui.tsx +106 -59
- package/src/plugins/impl/chat/types.ts +5 -0
- package/src/utils/__tests__/json-parser.test.ts +1 -69
- package/src/utils/json/json-parser.ts +0 -30
- package/dist/assets/JsonOutput-DfDkDg0V.js +0 -53
- package/dist/assets/LazyAnyLanguageCodeMirror-DFv3yT20.js +0 -2
- package/dist/assets/MarimoErrorOutput-BXSRPZqF.js +0 -7
- package/dist/assets/ai-model-dropdown-D0tfwqft.js +0 -5
- package/dist/assets/apl-CZC-w0DM.js +0 -1
- package/dist/assets/asciiarmor-Dxkbb4uS.js +0 -1
- package/dist/assets/asn1-CrA2MPaL.js +0 -1
- package/dist/assets/brainfuck-B5oLVauS.js +0 -1
- package/dist/assets/cell-editor-hBNMClE6.js +0 -20
- package/dist/assets/channel-V1GV6hO1.js +0 -1
- package/dist/assets/chat-panel-BC-bG7Ms.js +0 -3
- package/dist/assets/chat-ui-B0pCMupQ.js +0 -4
- package/dist/assets/chunk-55IACEB6-BRJvcREw.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-C8jlAFC-.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-DYST6eBL.js +0 -1
- package/dist/assets/clojure-D60XavrX.js +0 -1
- package/dist/assets/cmake-CrWsGXcU.js +0 -1
- package/dist/assets/cobol-CZosvDFE.js +0 -1
- package/dist/assets/coffeescript-DQGIz3iX.js +0 -1
- package/dist/assets/commonlisp-DrWSVXOx.js +0 -1
- package/dist/assets/config-C1gn3-tv.js +0 -1
- package/dist/assets/crystal-CMu2RgP7.js +0 -1
- package/dist/assets/cypher-C4I5nX3I.js +0 -1
- package/dist/assets/d-B_OAkSA3.js +0 -1
- package/dist/assets/dependency-graph-panel-skSyvOmU.js +0 -5
- package/dist/assets/diff-f-qA4U7T.js +0 -1
- package/dist/assets/dist-B2-3vH3I.js +0 -1
- package/dist/assets/dist-B3r3gs4u.js +0 -1
- package/dist/assets/dist-Dx65VI0Y.js +0 -1
- package/dist/assets/dist-FSgOAwAH.js +0 -1
- package/dist/assets/dtd-DWRTME-w.js +0 -1
- package/dist/assets/dylan-DnEm_ULG.js +0 -1
- package/dist/assets/ecl-Dbf1A5nG.js +0 -1
- package/dist/assets/edit-page-cW6c6KHJ.js +0 -9
- package/dist/assets/eiffel-Xj76_r0X.js +0 -1
- package/dist/assets/elm-nUwO24NA.js +0 -1
- package/dist/assets/erlang-CFVqMiR0.js +0 -1
- package/dist/assets/factor-mJPTAioV.js +0 -1
- package/dist/assets/forth-DBQr6L61.js +0 -1
- package/dist/assets/fortran-BkjqlXUL.js +0 -1
- package/dist/assets/gas-BNFtcdO9.js +0 -1
- package/dist/assets/gherkin-BrOMWqkN.js +0 -1
- package/dist/assets/groovy-DuCnwFRS.js +0 -1
- package/dist/assets/haskell-BD39942g.js +0 -1
- package/dist/assets/haxe-CXsKoap0.js +0 -1
- package/dist/assets/idl-D7hb6rI1.js +0 -1
- package/dist/assets/index-Cn0RBoFD.css +0 -2
- package/dist/assets/index-Df-5tfH1.js +0 -38
- package/dist/assets/infoDiagram-HS3SLOUP-CpBkxLyN.js +0 -2
- package/dist/assets/javascript-1S1_-Xac.js +0 -1
- package/dist/assets/julia-CbOUdU45.js +0 -1
- package/dist/assets/katex-BuYoGw8D.js +0 -1
- package/dist/assets/layout-CCKaB1K9.js +0 -9
- package/dist/assets/livescript-4YbxVKEy.js +0 -1
- package/dist/assets/lua-Dp2B-Joo.js +0 -1
- package/dist/assets/mathematica-BaSnKpgq.js +0 -1
- package/dist/assets/mbox-JZJfXD_G.js +0 -1
- package/dist/assets/mermaid-4DMBBIKO-BV51xhvi.js +0 -1
- package/dist/assets/mirc-BZe50pjl.js +0 -1
- package/dist/assets/mllike-Bgkhf51-.js +0 -1
- package/dist/assets/modelica-BzrnHsaM.js +0 -1
- package/dist/assets/mscgen-C7fmiScS.js +0 -1
- package/dist/assets/mumps-DYao3Wbn.js +0 -1
- package/dist/assets/nsis-BV9URIq2.js +0 -1
- package/dist/assets/ntriples-CCTjcLNo.js +0 -1
- package/dist/assets/octave-CalSSDIP.js +0 -1
- package/dist/assets/oz-BwBvNNj4.js +0 -1
- package/dist/assets/panels-CFhryJbE.js +0 -1
- package/dist/assets/pascal-VtYjd8tX.js +0 -1
- package/dist/assets/perl-CuiQHSod.js +0 -1
- package/dist/assets/pig-CIHZG4Z9.js +0 -1
- package/dist/assets/powershell-CI2Wos2z.js +0 -1
- package/dist/assets/properties-CBOFbPgT.js +0 -1
- package/dist/assets/protobuf-CdcXLd43.js +0 -1
- package/dist/assets/pug-DJHP9Svh.js +0 -1
- package/dist/assets/puppet-B2nxuZc5.js +0 -1
- package/dist/assets/python-VpIaVd-6.js +0 -1
- package/dist/assets/q-CamvlcK6.js +0 -1
- package/dist/assets/r-CgsrYWFj.js +0 -1
- package/dist/assets/renderShortcut-U2SzoZCS.js +0 -1
- package/dist/assets/reveal-component-Ds9C9Z1D.js +0 -1069
- package/dist/assets/rpm-DBux1aMG.js +0 -1
- package/dist/assets/ruby-BWHIAyVi.js +0 -1
- package/dist/assets/run-page-BC3D2rvr.js +0 -1
- package/dist/assets/sas-DJpj3tMb.js +0 -1
- package/dist/assets/scheme-DF-J69qP.js +0 -1
- package/dist/assets/shell-m-RSMeeH.js +0 -1
- package/dist/assets/sieve-CtzQvaig.js +0 -1
- package/dist/assets/smalltalk-ClFvBgAI.js +0 -1
- package/dist/assets/sparql-icVR0QFW.js +0 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-sSKQU37N.js +0 -1
- package/dist/assets/stylus-TkCXytG7.js +0 -1
- package/dist/assets/swift-CBYBwE0m.js +0 -1
- package/dist/assets/tcl-DvyBVTw2.js +0 -1
- package/dist/assets/textile-DA3WvzuI.js +0 -1
- package/dist/assets/toml-BJa3ckRR.js +0 -1
- package/dist/assets/troff-CqZSdBAp.js +0 -1
- package/dist/assets/ttcn-BouEBguh.js +0 -1
- package/dist/assets/ttcn-cfg-C1whpGsE.js +0 -1
- package/dist/assets/turtle-DQ8l-awL.js +0 -1
- package/dist/assets/useDependencyPanelTab-BeLaV_28.js +0 -1
- package/dist/assets/useNotebookActions-C6L8GqPD.js +0 -4
- package/dist/assets/useTheme-TeWD29Uz.js +0 -1
- package/dist/assets/utils-Wvjk_Y4h.js +0 -1
- package/dist/assets/vb-B7wOdn6U.js +0 -1
- package/dist/assets/vbscript-DvH455rJ.js +0 -1
- package/dist/assets/velocity-B6C6O90i.js +0 -1
- package/dist/assets/verilog-JbcxpuFW.js +0 -1
- package/dist/assets/vhdl-SEFTp5Re.js +0 -1
- package/dist/assets/webidl-ChYZayPm.js +0 -1
- package/dist/assets/xquery-DWwllqyg.js +0 -1
- package/dist/assets/yacas-DQRdrpIp.js +0 -1
- package/dist/assets/z80-CGBxwDW7.js +0 -1
- /package/dist/assets/{ImageComparisonComponent-B5A-4CCj.js → ImageComparisonComponent-BIetTBDq.js} +0 -0
- /package/dist/assets/{Inputs-BG_nVZPt.js → Inputs-C6ftxLAJ.js} +0 -0
- /package/dist/assets/{Plot-CoEOwQq-.js → Plot-Ba3WGWNu.js} +0 -0
- /package/dist/assets/{apl-4hxG7HNk.js → apl-Byte72fT.js} +0 -0
- /package/dist/assets/{array-D5VxClQs.js → array-CC7vZNGO.js} +0 -0
- /package/dist/assets/{asciiarmor-Dv_174xi.js → asciiarmor-BU-VnG1Y.js} +0 -0
- /package/dist/assets/{asn1-iiMvplI8.js → asn1-hTvH3S4T.js} +0 -0
- /package/dist/assets/{asterisk-CC3QRUnf.js → asterisk-DIMri3P4.js} +0 -0
- /package/dist/assets/{brainfuck-C1zBqC_V.js → brainfuck-C-q1Rv8J.js} +0 -0
- /package/dist/assets/{chunk-4F5CHEZ2-DUo5vZ2r.js → chunk-4F5CHEZ2-eEwFz7fp.js} +0 -0
- /package/dist/assets/{chunk-B2363JML-BBEseLU0.js → chunk-B2363JML-COExSe0d.js} +0 -0
- /package/dist/assets/{chunk-DR5Q36YT-C0WIZcJM.js → chunk-DR5Q36YT-OB6tC_dd.js} +0 -0
- /package/dist/assets/{chunk-FRFDVMJY-CXpDqtzE.js → chunk-FRFDVMJY-CO3-6rb4.js} +0 -0
- /package/dist/assets/{chunk-PL6DKKU2-CdWr1t_8.js → chunk-PL6DKKU2-B9mDp5iV.js} +0 -0
- /package/dist/assets/{chunk-SJTYNZTY-SWJVmNtW.js → chunk-SJTYNZTY-Dh_h90Yu.js} +0 -0
- /package/dist/assets/{chunk-TQ3KTPDO-NHSLONf7.js → chunk-TQ3KTPDO-CFybjK0M.js} +0 -0
- /package/dist/assets/{chunk-UMXZTB3W-Ct179y25.js → chunk-UMXZTB3W-C3w83KpJ.js} +0 -0
- /package/dist/assets/{clear-button-CIwzVocs.js → clear-button-Cfe8K4j_.js} +0 -0
- /package/dist/assets/{click-outside-container-Bx6OOW4y.js → click-outside-container-BNVqwewc.js} +0 -0
- /package/dist/assets/{clike-DgscWMor.js → clike-BE-9Ct_H.js} +0 -0
- /package/dist/assets/{clojure-BHbbYwIQ.js → clojure-Co-TLeNo.js} +0 -0
- /package/dist/assets/{cmake-DLR6lpqL.js → cmake-B-Nm_Opd.js} +0 -0
- /package/dist/assets/{cobol-BCxTxy3w.js → cobol-BGdihAZT.js} +0 -0
- /package/dist/assets/{coffeescript-CpA2P5vm.js → coffeescript-BUZXkMUO.js} +0 -0
- /package/dist/assets/{colors-CWfEs9Oi.js → colors-BG8Z91CW.js} +0 -0
- /package/dist/assets/{common-keywords-0dB1lgek.js → common-keywords-15xBKau4.js} +0 -0
- /package/dist/assets/{commonlisp-IOtLAQXJ.js → commonlisp-CFkPbxvX.js} +0 -0
- /package/dist/assets/{crystal-D5D6_kGA.js → crystal-CqfqDl34.js} +0 -0
- /package/dist/assets/{css-DOb8-BDy.js → css-DPEtZWJi.js} +0 -0
- /package/dist/assets/{cypher-DLF7i4IG.js → cypher-B0t8FJvU.js} +0 -0
- /package/dist/assets/{cytoscape.esm-CuwfIk-V.js → cytoscape.esm-DT8iy6p1.js} +0 -0
- /package/dist/assets/{d-ByNdxjrk.js → d-DRa_XRSB.js} +0 -0
- /package/dist/assets/{diff-DgsriQcn.js → diff-GLneonpD.js} +0 -0
- /package/dist/assets/{dist-B6ehDvA-.js → dist-A7swzSTR.js} +0 -0
- /package/dist/assets/{dist-Cofj3PRM.js → dist-BF6UNR6V.js} +0 -0
- /package/dist/assets/{dist-Bc225YxE.js → dist-BQWswd1A.js} +0 -0
- /package/dist/assets/{dist-DviQ3W6h.js → dist-BQeNY9Zl.js} +0 -0
- /package/dist/assets/{dist-BA8xhrl2.js → dist-BXRWfNwi.js} +0 -0
- /package/dist/assets/{dist-fhXsH3fb.js → dist-BlOtCkpT.js} +0 -0
- /package/dist/assets/{dist-D8MaDlGc.js → dist-C78V1LRz.js} +0 -0
- /package/dist/assets/{dist-CcoNWYux.js → dist-CKT_lJKW.js} +0 -0
- /package/dist/assets/{dist-CNghxh0Q.js → dist-CNyMUs19.js} +0 -0
- /package/dist/assets/{dist-qBfIhsAs.js → dist-CXBpwk_w.js} +0 -0
- /package/dist/assets/{dist-D86l0QaP.js → dist-CciFN1z_.js} +0 -0
- /package/dist/assets/{dist-cS6yvaqe.js → dist-CocyeH0q.js} +0 -0
- /package/dist/assets/{dist-C_k5-SEy.js → dist-CpcTHxTt.js} +0 -0
- /package/dist/assets/{dist-WcxjmQmQ.js → dist-CsvFAFh9.js} +0 -0
- /package/dist/assets/{dist-oSdg9XA7.js → dist-D70Tz1Kr.js} +0 -0
- /package/dist/assets/{dist-CjBmWBr2.js → dist-DUHHizRG.js} +0 -0
- /package/dist/assets/{dist-CiOPfbN_.js → dist-DqVEVg0c.js} +0 -0
- /package/dist/assets/{dtd-BY21shY3.js → dtd-uVrZNVF0.js} +0 -0
- /package/dist/assets/{duckdb-keywords-DH8yhwVC.js → duckdb-keywords-CYQ5DEZJ.js} +0 -0
- /package/dist/assets/{dylan-D_hF5J0y.js → dylan-DkNeA4FZ.js} +0 -0
- /package/dist/assets/{ebnf-D73UE5Hl.js → ebnf-XMH6KY7E.js} +0 -0
- /package/dist/assets/{ecl-C1ORA0cg.js → ecl-CldUgvc9.js} +0 -0
- /package/dist/assets/{eiffel-1fe3g8c_.js → eiffel-CoMDRbRL.js} +0 -0
- /package/dist/assets/{elm-hjWurFzL.js → elm-Cb5XC6ev.js} +0 -0
- /package/dist/assets/{erlang-Bp4wxA5O.js → erlang-8H3fTZ3L.js} +0 -0
- /package/dist/assets/{esm-DM72gy9Q.js → esm-1wf4HygE.js} +0 -0
- /package/dist/assets/{fcl-1tMcz7c0.js → fcl-DyFJAgkq.js} +0 -0
- /package/dist/assets/{formatting-3l1CoS7X.js → formatting-CSG9kqNb.js} +0 -0
- /package/dist/assets/{forth-5O98d424.js → forth-B8kC4npz.js} +0 -0
- /package/dist/assets/{fortran-BIuAFxQ8.js → fortran-CNWGEL3c.js} +0 -0
- /package/dist/assets/{gallery-page-7ltBHWVR.js → gallery-page-Bcf7fYLy.js} +0 -0
- /package/dist/assets/{gas-CHHhShkY.js → gas-DnZQNTHK.js} +0 -0
- /package/dist/assets/{gherkin-DIjcYYBT.js → gherkin-JfGcGvci.js} +0 -0
- /package/dist/assets/{groovy-BYU3Z-yz.js → groovy-D0FWiAVm.js} +0 -0
- /package/dist/assets/{haskell-CjOVOYhk.js → haskell-wUB3uX-G.js} +0 -0
- /package/dist/assets/{haxe-Cb_U41Kf.js → haxe-g0JY6eL-.js} +0 -0
- /package/dist/assets/{http-DTsrgwMt.js → http-ySzAzH5W.js} +0 -0
- /package/dist/assets/{idl-XfUB5VqU.js → idl-CV2cLkPc.js} +0 -0
- /package/dist/assets/{init-BYCsRZEq.js → init-DsZRk2YA.js} +0 -0
- /package/dist/assets/{javascript-BZ9iuJe9.js → javascript-CT6okXEZ.js} +0 -0
- /package/dist/assets/{julia-ZgWUbR6s.js → julia-CKC48ufo.js} +0 -0
- /package/dist/assets/{katex-BNYG1in3.js → katex-BE4UDS50.js} +0 -0
- /package/dist/assets/{links-DguLoFik.js → links-1rtF1-eC.js} +0 -0
- /package/dist/assets/{livescript-PvHqMAnA.js → livescript-C43pZ6Ue.js} +0 -0
- /package/dist/assets/{loro_wasm_bg-Z5Iceaci.js → loro_wasm_bg-CXnd80ne.js} +0 -0
- /package/dist/assets/{lua-BAkgehCh.js → lua-Cs2mb10K.js} +0 -0
- /package/dist/assets/{marimo-icons-CcDNGIRM.js → marimo-icons-CiwvnnsT.js} +0 -0
- /package/dist/assets/{math-D-qpUWKO.js → math-B-ZqhQTL.js} +0 -0
- /package/dist/assets/{mathematica-sYPoESCW.js → mathematica-B5FMK3ma.js} +0 -0
- /package/dist/assets/{mbox-BFVpgB4i.js → mbox-36Zrn5Bd.js} +0 -0
- /package/dist/assets/{mirc-DAwdMlc7.js → mirc-BKTAABSX.js} +0 -0
- /package/dist/assets/{mllike-CNENYbun.js → mllike-DbuClUqc.js} +0 -0
- /package/dist/assets/{modelica-FtpuFG3d.js → modelica-CKRvBm7N.js} +0 -0
- /package/dist/assets/{mscgen-BZpZ1eAc.js → mscgen-B4BRgnCi.js} +0 -0
- /package/dist/assets/{multi-icon-aZG-rdCp.js → multi-icon-NVkxesVZ.js} +0 -0
- /package/dist/assets/{mumps-BM8g2rR9.js → mumps-BFiMcyFV.js} +0 -0
- /package/dist/assets/{nginx-CREUN6EW.js → nginx-Cz_XvoTm.js} +0 -0
- /package/dist/assets/{node-sql-parser-fWuidk6P.js → node-sql-parser-BtkrI4pN.js} +0 -0
- /package/dist/assets/{ntriples-Dpum4Lhl.js → ntriples-QQAkJYAR.js} +0 -0
- /package/dist/assets/{octave-C-8skAyy.js → octave-DsTphmGZ.js} +0 -0
- /package/dist/assets/{oz-C9dNiWs3.js → oz-CD9rr5Iz.js} +0 -0
- /package/dist/assets/{panel-context-C3ham7ZV.js → panel-context-BJbBGfoL.js} +0 -0
- /package/dist/assets/{pascal-OtDoyUlT.js → pascal-DdHEIlJE.js} +0 -0
- /package/dist/assets/{path-_EHCEa2c.js → path-DvTahePH.js} +0 -0
- /package/dist/assets/{perl-Bq6zPLry.js → perl-DHPJBQ1u.js} +0 -0
- /package/dist/assets/{pig-CzHJ3vXa.js → pig-Yz7ERgca.js} +0 -0
- /package/dist/assets/{powershell-CPgLwhmC.js → powershell-CHPZ_bsU.js} +0 -0
- /package/dist/assets/{properties-Kfp4iofx.js → properties-CI9nc7K4.js} +0 -0
- /package/dist/assets/{protobuf-BtodseUb.js → protobuf-BYSIv2pY.js} +0 -0
- /package/dist/assets/{puppet-DqMZ-3jb.js → puppet-CEpLafZX.js} +0 -0
- /package/dist/assets/{python-Du1sm3Dz.js → python-BndVuwG1.js} +0 -0
- /package/dist/assets/{q-mTJjDbkl.js → q-L_cetpiW.js} +0 -0
- /package/dist/assets/{r-CiWGt8bY.js → r-Dd37AKWk.js} +0 -0
- /package/dist/assets/{request-registry-Gm-nOP6a.js → request-registry--h6PWG50.js} +0 -0
- /package/dist/assets/{requests-Bm3bohzL.js → requests-DqJEWJ-Q.js} +0 -0
- /package/dist/assets/{rpm-DoWl8uQ-.js → rpm-CHrvhtlN.js} +0 -0
- /package/dist/assets/{ruby-EPWn7HjP.js → ruby-BPOowfX6.js} +0 -0
- /package/dist/assets/{runs-_nm7RTvJ.js → runs-BD0G-C2A.js} +0 -0
- /package/dist/assets/{sas-C49N66K9.js → sas-BsEFSvEP.js} +0 -0
- /package/dist/assets/{scheme-BKBMeaMf.js → scheme-B42INBu7.js} +0 -0
- /package/dist/assets/{shell-B3Qif7WE.js → shell-BPea12OI.js} +0 -0
- /package/dist/assets/{sieve-D2oOzUQe.js → sieve-C-yPcLw5.js} +0 -0
- /package/dist/assets/{simple-mode-awvuWmjh.js → simple-mode-CFlvn0Mm.js} +0 -0
- /package/dist/assets/{smalltalk-D2JNyQE_.js → smalltalk-e7OO1ATb.js} +0 -0
- /package/dist/assets/{solr-DD6Hdy4w.js → solr-BAO4N63o.js} +0 -0
- /package/dist/assets/{sparql-B_E2GW41.js → sparql-B4I2Ledx.js} +0 -0
- /package/dist/assets/{spreadsheet-DQc2JQ5m.js → spreadsheet-DWqd5foV.js} +0 -0
- /package/dist/assets/{sql-Cj5Wcvsd.js → sql-RBdzBYsM.js} +0 -0
- /package/dist/assets/{src-faGJHwXX.js → src-BnrQkOKh.js} +0 -0
- /package/dist/assets/{stylus-R6o8NrsG.js → stylus-CBRbZwhN.js} +0 -0
- /package/dist/assets/{swift-Dbh-hbmH.js → swift-B2hnU7ha.js} +0 -0
- /package/dist/assets/{swiper-component-Dgt-sBCT.js → swiper-component-YGJlBaCp.js} +0 -0
- /package/dist/assets/{tcl-B7hCCUdg.js → tcl-BtyamtaZ.js} +0 -0
- /package/dist/assets/{textile-3T2abjma.js → textile-M9mhyNE9.js} +0 -0
- /package/dist/assets/{tiddlywiki-Co__osNU.js → tiddlywiki-BsHUDwie.js} +0 -0
- /package/dist/assets/{tiki-CfCZczlo.js → tiki-ZqBe4Kjv.js} +0 -0
- /package/dist/assets/{timer-BgiWPhV9.js → timer-B6DpdVnC.js} +0 -0
- /package/dist/assets/{toml-BfSTXCbK.js → toml-YxyxhyRy.js} +0 -0
- /package/dist/assets/{treemap-F5PoC_M0.js → treemap-DeGcO9km.js} +0 -0
- /package/dist/assets/{troff-TmwTwfFH.js → troff-C7xpi05X.js} +0 -0
- /package/dist/assets/{ttcn-BptQ-efU.js → ttcn-D3YytrJU.js} +0 -0
- /package/dist/assets/{ttcn-cfg-BJSeQh2j.js → ttcn-cfg-DlZ5vA9E.js} +0 -0
- /package/dist/assets/{turtle-NWQZPdQh.js → turtle-BSHvAsUe.js} +0 -0
- /package/dist/assets/{types-iYXk7c05.js → types-a-yURniQ.js} +0 -0
- /package/dist/assets/{useInterval-Bc-mr0KL.js → useInterval-2YvvhIZI.js} +0 -0
- /package/dist/assets/{vb-5MAVubtN.js → vb-DdkIDLlO.js} +0 -0
- /package/dist/assets/{vbscript-C3wI-prb.js → vbscript-DhYGmk_p.js} +0 -0
- /package/dist/assets/{velocity-BZ0SsVqc.js → velocity-DAXJNEw4.js} +0 -0
- /package/dist/assets/{verilog-sCLfsuOk.js → verilog-jmuT_L3b.js} +0 -0
- /package/dist/assets/{vhdl-D8-XDERr.js → vhdl-DcVQ97RU.js} +0 -0
- /package/dist/assets/{web-vitals-CJ8ovao_.js → web-vitals-xkV-JBVF.js} +0 -0
- /package/dist/assets/{webidl-C2DK9LNJ.js → webidl-B-YB_4OQ.js} +0 -0
- /package/dist/assets/{write-secret-modal-DEx_mRHR.js → write-secret-modal-BFLlHwgU.js} +0 -0
- /package/dist/assets/{ws-YSapF1PN.js → ws-BnE9sl8z.js} +0 -0
- /package/dist/assets/{xquery-Db3HYO3C.js → xquery-DOmY3Oe8.js} +0 -0
- /package/dist/assets/{yacas-DhfMSinV.js → yacas-pL3kJRXV.js} +0 -0
- /package/dist/assets/{z80-CH-vqbta.js → z80-VwVuI_MT.js} +0 -0
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
2
|
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Role,
|
|
7
|
-
} from "@marimo-team/llm-info";
|
|
8
|
-
import { models } from "@marimo-team/llm-info/models.json";
|
|
9
|
-
import { providers } from "@marimo-team/llm-info/providers.json";
|
|
3
|
+
import type { AiModel as AiModelType, AiProvider } from "@marimo-team/llm-info";
|
|
4
|
+
import { models as modelsJson } from "@marimo-team/llm-info/models.json";
|
|
5
|
+
import { providers as providersJson } from "@marimo-team/llm-info/providers.json";
|
|
10
6
|
import { Logger } from "@/utils/Logger";
|
|
11
7
|
import { MultiMap } from "@/utils/multi-map";
|
|
12
8
|
import { once } from "@/utils/once";
|
|
@@ -14,13 +10,19 @@ import type { ProviderId } from "./ids/ids";
|
|
|
14
10
|
import { AiModelId, type QualifiedModelId, type ShortModelId } from "./ids/ids";
|
|
15
11
|
|
|
16
12
|
export interface AiModel extends AiModelType {
|
|
17
|
-
roles: Role[];
|
|
18
13
|
model: ShortModelId;
|
|
19
|
-
|
|
14
|
+
/** The provider this entry belongs to. */
|
|
15
|
+
provider: ProviderId;
|
|
20
16
|
/** Whether this is a custom model. */
|
|
21
17
|
custom: boolean;
|
|
22
18
|
}
|
|
23
19
|
|
|
20
|
+
// JSON shape matches the `AiModel` schema (Zod-validated at codegen time).
|
|
21
|
+
const models = modelsJson as unknown as Partial<
|
|
22
|
+
Record<ProviderId, AiModelType[]>
|
|
23
|
+
>;
|
|
24
|
+
const providers = providersJson as unknown as readonly AiProvider[];
|
|
25
|
+
|
|
24
26
|
interface KnownModelMaps {
|
|
25
27
|
/** Map of qualified model ID to model info */
|
|
26
28
|
modelMap: ReadonlyMap<QualifiedModelId, AiModel>;
|
|
@@ -32,24 +34,25 @@ export const getKnownModelMaps = once((): KnownModelMaps => {
|
|
|
32
34
|
const modelMap = new Map<QualifiedModelId, AiModel>();
|
|
33
35
|
const defaultModelByProvider = new Map<ProviderId, QualifiedModelId>();
|
|
34
36
|
|
|
35
|
-
for (const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
for (const [providerKey, providerModels] of Object.entries(models)) {
|
|
38
|
+
if (!providerModels) {
|
|
39
|
+
continue;
|
|
40
|
+
}
|
|
41
|
+
const provider = providerKey as ProviderId;
|
|
42
|
+
for (const raw of providerModels) {
|
|
43
|
+
const modelId = raw.model as ShortModelId;
|
|
44
|
+
const modelInfo: AiModel = {
|
|
45
|
+
...raw,
|
|
46
|
+
model: modelId,
|
|
47
|
+
provider,
|
|
48
|
+
custom: false,
|
|
49
|
+
};
|
|
47
50
|
|
|
48
|
-
for (const provider of modelInfo.providers) {
|
|
49
51
|
const qualifiedModelId: QualifiedModelId = `${provider}/${modelId}`;
|
|
50
52
|
modelMap.set(qualifiedModelId, modelInfo);
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
const supportsChatOrEdit =
|
|
55
|
+
modelInfo.roles.includes("chat") || modelInfo.roles.includes("edit");
|
|
53
56
|
if (supportsChatOrEdit && !defaultModelByProvider.has(provider)) {
|
|
54
57
|
defaultModelByProvider.set(provider, qualifiedModelId);
|
|
55
58
|
}
|
|
@@ -67,9 +70,8 @@ const getProviderMap = once(
|
|
|
67
70
|
const providerMap = new Map<ProviderId, AiProvider>();
|
|
68
71
|
const providerToOrderIdx = new Map<ProviderId, number>();
|
|
69
72
|
providers.forEach((provider, idx) => {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
providerToOrderIdx.set(providerId, idx);
|
|
73
|
+
providerMap.set(provider.id, provider);
|
|
74
|
+
providerToOrderIdx.set(provider.id, idx);
|
|
73
75
|
});
|
|
74
76
|
return { providerMap, providerToOrderIdx };
|
|
75
77
|
},
|
|
@@ -158,9 +160,12 @@ export class AiModelRegistry {
|
|
|
158
160
|
name: modelId.shortModelId,
|
|
159
161
|
model: modelId.shortModelId,
|
|
160
162
|
description: "Custom model",
|
|
161
|
-
|
|
163
|
+
provider: modelId.providerId,
|
|
162
164
|
roles: [],
|
|
163
|
-
|
|
165
|
+
capabilities: [],
|
|
166
|
+
input_types: [],
|
|
167
|
+
output_types: [],
|
|
168
|
+
release_date: "1970-01-01",
|
|
164
169
|
custom: true,
|
|
165
170
|
};
|
|
166
171
|
customModelsMap.set(model, modelInfo);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
|
|
3
|
+
import { beforeEach, describe, expect, it, vi } from "vitest";
|
|
4
|
+
import { MockNotebook } from "@/__mocks__/notebook";
|
|
5
|
+
import { scrollAndHighlightCell } from "@/components/editor/links/cell-link";
|
|
6
|
+
import { notebookAtom } from "@/core/cells/cells";
|
|
7
|
+
import type { CellId } from "@/core/cells/ids";
|
|
8
|
+
import { createCellRuntimeState } from "@/core/cells/types";
|
|
9
|
+
import { store } from "@/core/state/jotai";
|
|
10
|
+
import { notebookScrollToRunning } from "../actions";
|
|
11
|
+
|
|
12
|
+
vi.mock("@/components/editor/links/cell-link", () => ({
|
|
13
|
+
scrollAndHighlightCell: vi.fn(),
|
|
14
|
+
}));
|
|
15
|
+
|
|
16
|
+
describe("notebookScrollToRunning", () => {
|
|
17
|
+
beforeEach(() => {
|
|
18
|
+
vi.clearAllMocks();
|
|
19
|
+
store.set(notebookAtom, MockNotebook.notebookState({ cellData: {} }));
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("scrolls to the first running cell in notebook order", () => {
|
|
23
|
+
const runtimeOnlyCellId = "runtime-only" as CellId;
|
|
24
|
+
const idleCellId = "idle-cell" as CellId;
|
|
25
|
+
const runningCellId = "running-cell" as CellId;
|
|
26
|
+
|
|
27
|
+
const notebook = MockNotebook.notebookState({
|
|
28
|
+
cellData: {
|
|
29
|
+
[idleCellId]: {},
|
|
30
|
+
[runningCellId]: {},
|
|
31
|
+
},
|
|
32
|
+
cellRuntime: {
|
|
33
|
+
[idleCellId]: { status: "idle" },
|
|
34
|
+
[runningCellId]: { status: "running" },
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
notebook.cellRuntime = {
|
|
38
|
+
[runtimeOnlyCellId]: createCellRuntimeState({ status: "running" }),
|
|
39
|
+
...notebook.cellRuntime,
|
|
40
|
+
};
|
|
41
|
+
store.set(notebookAtom, notebook);
|
|
42
|
+
|
|
43
|
+
notebookScrollToRunning();
|
|
44
|
+
|
|
45
|
+
expect(scrollAndHighlightCell).toHaveBeenCalledOnce();
|
|
46
|
+
expect(scrollAndHighlightCell).toHaveBeenCalledWith(runningCellId, "focus");
|
|
47
|
+
});
|
|
48
|
+
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
2
|
|
|
3
3
|
import { scrollAndHighlightCell } from "@/components/editor/links/cell-link";
|
|
4
|
-
import { Objects } from "@/utils/objects";
|
|
5
4
|
import { store } from "../state/jotai";
|
|
6
5
|
import { notebookAtom } from "./cells";
|
|
7
6
|
|
|
@@ -10,12 +9,12 @@ import { notebookAtom } from "./cells";
|
|
|
10
9
|
*/
|
|
11
10
|
export function notebookScrollToRunning() {
|
|
12
11
|
// find cell that is currently in "running" state
|
|
13
|
-
const { cellRuntime } = store.get(notebookAtom);
|
|
14
|
-
const
|
|
15
|
-
(
|
|
12
|
+
const { cellIds, cellRuntime } = store.get(notebookAtom);
|
|
13
|
+
const cellId = cellIds.inOrderIds.find(
|
|
14
|
+
(id) => cellRuntime[id]?.status === "running",
|
|
16
15
|
);
|
|
17
|
-
if (!
|
|
16
|
+
if (!cellId) {
|
|
18
17
|
return;
|
|
19
18
|
}
|
|
20
|
-
scrollAndHighlightCell(
|
|
19
|
+
scrollAndHighlightCell(cellId, "focus");
|
|
21
20
|
}
|
|
@@ -134,6 +134,35 @@ describe("snapshot all duplicate keymaps", () => {
|
|
|
134
134
|
});
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
+
test("auto_close_pairs: false removes closeBrackets keymaps", () => {
|
|
138
|
+
const withAutoClose = EditorState.create({
|
|
139
|
+
extensions: setup(),
|
|
140
|
+
});
|
|
141
|
+
const withoutAutoClose = EditorState.create({
|
|
142
|
+
extensions: setup({
|
|
143
|
+
completionConfig: {
|
|
144
|
+
...getOpts().completionConfig,
|
|
145
|
+
auto_close_pairs: false,
|
|
146
|
+
},
|
|
147
|
+
}),
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
const keysWith = withAutoClose.facet(keymap).flat();
|
|
151
|
+
const keysWithout = withoutAutoClose.facet(keymap).flat();
|
|
152
|
+
|
|
153
|
+
// closeBracketsKeymap contributes Backspace and Enter handlers
|
|
154
|
+
expect(keysWith.length).toBeGreaterThan(keysWithout.length);
|
|
155
|
+
|
|
156
|
+
const hasBracketPairHandler = (state: EditorState) =>
|
|
157
|
+
state
|
|
158
|
+
.facet(keymap)
|
|
159
|
+
.flat()
|
|
160
|
+
.some((k) => k.run?.name === "deleteBracketPair");
|
|
161
|
+
|
|
162
|
+
expect(hasBracketPairHandler(withAutoClose)).toBe(true);
|
|
163
|
+
expect(hasBracketPairHandler(withoutAutoClose)).toBe(false);
|
|
164
|
+
});
|
|
165
|
+
|
|
137
166
|
test("placeholder adds another extension", () => {
|
|
138
167
|
const opts = getOpts();
|
|
139
168
|
const withAI = new PythonLanguageAdapter()
|
|
@@ -147,7 +147,7 @@ export function errorLineHighlighter(
|
|
|
147
147
|
backgroundColor: "color-mix(in srgb, var(--red-4) 40%, transparent)",
|
|
148
148
|
},
|
|
149
149
|
"&.cm-focused .cm-error-line.cm-activeLine": {
|
|
150
|
-
backgroundColor: "color-mix(in srgb, var(--red-
|
|
150
|
+
backgroundColor: "color-mix(in srgb, var(--red-5) 40%, transparent)",
|
|
151
151
|
},
|
|
152
152
|
}),
|
|
153
153
|
];
|
|
@@ -83,6 +83,11 @@ export interface CodeMirrorSetupOpts {
|
|
|
83
83
|
diagnosticsConfig: DiagnosticsConfig;
|
|
84
84
|
displayConfig: Pick<DisplayConfig, "reference_highlighting">;
|
|
85
85
|
inlineAiTooltip: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* CSS selector for the element that CodeMirror tooltips (completions, hover,
|
|
88
|
+
* signature help) should be appended to. Defaults to `#App`.
|
|
89
|
+
*/
|
|
90
|
+
tooltipParentSelector?: string;
|
|
86
91
|
}
|
|
87
92
|
|
|
88
93
|
function getPlaceholderType(opts: CodeMirrorSetupOpts) {
|
|
@@ -90,6 +95,46 @@ function getPlaceholderType(opts: CodeMirrorSetupOpts) {
|
|
|
90
95
|
return showPlaceholder ? "marimo-import" : enableAI ? "ai" : "none";
|
|
91
96
|
}
|
|
92
97
|
|
|
98
|
+
const CODEMIRROR_TOOLTIP_PORTAL_CLASS = "cm-tooltip-portal";
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Resolve the element that editor tooltips (completions, hover, signature help)
|
|
102
|
+
* should be appended to.
|
|
103
|
+
*
|
|
104
|
+
* The default `#App` parent is returned directly. Custom parents are useful
|
|
105
|
+
* when editors live inside a fullscreen subtree, dialog, or scoped typography
|
|
106
|
+
* region. In those cases we append tooltips to a dedicated `not-prose` portal
|
|
107
|
+
* inside the requested parent, reusing it across cells so surrounding typography
|
|
108
|
+
* styles don't leak into editor popups.
|
|
109
|
+
*/
|
|
110
|
+
function resolveCodeMirrorTooltipParent(
|
|
111
|
+
selector: string | undefined,
|
|
112
|
+
): HTMLElement | undefined {
|
|
113
|
+
if (selector == null) {
|
|
114
|
+
return document.querySelector<HTMLElement>("#App") ?? undefined;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
const host = document.querySelector<HTMLElement>(selector);
|
|
118
|
+
if (host == null) {
|
|
119
|
+
return undefined;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
const existing = host.querySelector<HTMLElement>(
|
|
123
|
+
`:scope > .${CODEMIRROR_TOOLTIP_PORTAL_CLASS}`,
|
|
124
|
+
);
|
|
125
|
+
if (existing != null) {
|
|
126
|
+
return existing;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
const portal = document.createElement("div");
|
|
130
|
+
// `not-prose` escapes scoped typography; `contents` keeps the wrapper
|
|
131
|
+
// layout-neutral. Tooltips are `position: fixed`, so the wrapper having no
|
|
132
|
+
// box doesn't affect positioning.
|
|
133
|
+
portal.className = `${CODEMIRROR_TOOLTIP_PORTAL_CLASS} not-prose contents`;
|
|
134
|
+
host.append(portal);
|
|
135
|
+
return portal;
|
|
136
|
+
}
|
|
137
|
+
|
|
93
138
|
/**
|
|
94
139
|
* Setup CodeMirror for a cell
|
|
95
140
|
*/
|
|
@@ -180,8 +225,10 @@ export const basicBundle = (opts: CodeMirrorSetupOpts): Extension[] => {
|
|
|
180
225
|
cellId,
|
|
181
226
|
lspConfig,
|
|
182
227
|
diagnosticsConfig,
|
|
228
|
+
tooltipParentSelector,
|
|
183
229
|
} = opts;
|
|
184
230
|
const placeholderType = getPlaceholderType(opts);
|
|
231
|
+
const autoClosePairs = completionConfig.auto_close_pairs !== false;
|
|
185
232
|
|
|
186
233
|
return [
|
|
187
234
|
///// View
|
|
@@ -199,7 +246,7 @@ export const basicBundle = (opts: CodeMirrorSetupOpts): Extension[] => {
|
|
|
199
246
|
position: "fixed",
|
|
200
247
|
// This the z-index multiple tooltips being stacked
|
|
201
248
|
// For example, if we have a hover tooltip and a completion tooltip
|
|
202
|
-
parent:
|
|
249
|
+
parent: resolveCodeMirrorTooltipParent(tooltipParentSelector),
|
|
203
250
|
}),
|
|
204
251
|
scrollActiveLineIntoViewExtension(),
|
|
205
252
|
theme === "dark" ? darkTheme : lightTheme,
|
|
@@ -208,10 +255,10 @@ export const basicBundle = (opts: CodeMirrorSetupOpts): Extension[] => {
|
|
|
208
255
|
copilotBundle(completionConfig),
|
|
209
256
|
foldGutter(),
|
|
210
257
|
stringsAutoCloseBraces(),
|
|
211
|
-
closeBrackets(),
|
|
258
|
+
autoClosePairs ? closeBrackets() : [],
|
|
212
259
|
completionKeymap(acceptCompletionOnEnter),
|
|
213
260
|
// to avoid clash with charDeleteBackward keymap
|
|
214
|
-
Prec.high(keymap.of(closeBracketsKeymap)),
|
|
261
|
+
autoClosePairs ? Prec.high(keymap.of(closeBracketsKeymap)) : [],
|
|
215
262
|
bracketMatching(),
|
|
216
263
|
indentOnInput(),
|
|
217
264
|
indentUnit.of(" "),
|
|
@@ -16,7 +16,10 @@ import { AUTOCOMPLETER, Autocompleter } from "./Autocompleter";
|
|
|
16
16
|
export function hintTooltip(lspConfig: LSPConfig) {
|
|
17
17
|
return [
|
|
18
18
|
// Hover tooltip is already covered by LSP
|
|
19
|
-
lspConfig?.pylsp?.enabled && hasCapability("pylsp")
|
|
19
|
+
(lspConfig?.pylsp?.enabled && hasCapability("pylsp")) ||
|
|
20
|
+
(lspConfig?.ty?.enabled && hasCapability("ty")) ||
|
|
21
|
+
(lspConfig?.pyrefly?.enabled && hasCapability("pyrefly")) ||
|
|
22
|
+
(lspConfig?.basedpyright?.enabled && hasCapability("basedpyright"))
|
|
20
23
|
? []
|
|
21
24
|
: hoverTooltip(
|
|
22
25
|
async (view, pos) => {
|
|
@@ -112,6 +112,35 @@ export function vimKeymapExtension(): Extension[] {
|
|
|
112
112
|
];
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
function scrollCursorTo(cm: CodeMirror, position: "center" | "start" | "end") {
|
|
116
|
+
const view = cm.cm6;
|
|
117
|
+
if (!view) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
const coords = view.coordsAtPos(view.state.selection.main.head);
|
|
121
|
+
if (!coords) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
const appEl = document.getElementById("App");
|
|
125
|
+
if (!appEl) {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
const viewportHeight = appEl.clientHeight;
|
|
129
|
+
let delta: number;
|
|
130
|
+
switch (position) {
|
|
131
|
+
case "center":
|
|
132
|
+
delta = (coords.top + coords.bottom) / 2 - viewportHeight / 2;
|
|
133
|
+
break;
|
|
134
|
+
case "start":
|
|
135
|
+
delta = coords.top;
|
|
136
|
+
break;
|
|
137
|
+
case "end":
|
|
138
|
+
delta = coords.bottom - viewportHeight;
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
appEl.scrollBy({ top: delta, behavior: "smooth" });
|
|
142
|
+
}
|
|
143
|
+
|
|
115
144
|
const addCustomVimCommandsOnce = once(() => {
|
|
116
145
|
// Go to definition
|
|
117
146
|
Vim.defineAction("goToDefinition", (cm: CodeMirror) => {
|
|
@@ -120,6 +149,40 @@ const addCustomVimCommandsOnce = once(() => {
|
|
|
120
149
|
});
|
|
121
150
|
Vim.mapCommand("gd", "action", "goToDefinition", {}, { context: "normal" });
|
|
122
151
|
|
|
152
|
+
// Scroll cursor to center/top/bottom of viewport (mirrors zz/zt/zb in classic vim)
|
|
153
|
+
Vim.defineAction("scrollCursorToCenter", (cm: CodeMirror) =>
|
|
154
|
+
scrollCursorTo(cm, "center"),
|
|
155
|
+
);
|
|
156
|
+
Vim.mapCommand(
|
|
157
|
+
"zz",
|
|
158
|
+
"action",
|
|
159
|
+
"scrollCursorToCenter",
|
|
160
|
+
{},
|
|
161
|
+
{ context: "normal" },
|
|
162
|
+
);
|
|
163
|
+
|
|
164
|
+
Vim.defineAction("scrollCursorToTop", (cm: CodeMirror) =>
|
|
165
|
+
scrollCursorTo(cm, "start"),
|
|
166
|
+
);
|
|
167
|
+
Vim.mapCommand(
|
|
168
|
+
"zt",
|
|
169
|
+
"action",
|
|
170
|
+
"scrollCursorToTop",
|
|
171
|
+
{},
|
|
172
|
+
{ context: "normal" },
|
|
173
|
+
);
|
|
174
|
+
|
|
175
|
+
Vim.defineAction("scrollCursorToBottom", (cm: CodeMirror) =>
|
|
176
|
+
scrollCursorTo(cm, "end"),
|
|
177
|
+
);
|
|
178
|
+
Vim.mapCommand(
|
|
179
|
+
"zb",
|
|
180
|
+
"action",
|
|
181
|
+
"scrollCursorToBottom",
|
|
182
|
+
{},
|
|
183
|
+
{ context: "normal" },
|
|
184
|
+
);
|
|
185
|
+
|
|
123
186
|
// Save command
|
|
124
187
|
Vim.defineEx("write", "w", (cm: CodeMirror) => {
|
|
125
188
|
const view = cm.cm6;
|
|
@@ -52,6 +52,7 @@ const KNOWN_DIALECTS_ARRAY = [
|
|
|
52
52
|
"databricks",
|
|
53
53
|
"datafusion",
|
|
54
54
|
"microsoft sql server",
|
|
55
|
+
"dremio",
|
|
55
56
|
] as const;
|
|
56
57
|
const KNOWN_DIALECTS: ReadonlySet<string> = new Set(KNOWN_DIALECTS_ARRAY);
|
|
57
58
|
type KnownDialect = (typeof KNOWN_DIALECTS_ARRAY)[number];
|
|
@@ -115,6 +116,7 @@ export function guessDialect(
|
|
|
115
116
|
case "spark":
|
|
116
117
|
case "databricks":
|
|
117
118
|
case "datafusion":
|
|
119
|
+
case "dremio":
|
|
118
120
|
Logger.debug("Unsupported dialect", { dialect });
|
|
119
121
|
return ModifiedStandardSQL;
|
|
120
122
|
default:
|
|
@@ -46,6 +46,7 @@ test("default UserConfig - empty", () => {
|
|
|
46
46
|
{
|
|
47
47
|
"ai": {
|
|
48
48
|
"custom_providers": {},
|
|
49
|
+
"enabled": true,
|
|
49
50
|
"inline_tooltip": false,
|
|
50
51
|
"mode": "manual",
|
|
51
52
|
"models": {
|
|
@@ -56,6 +57,7 @@ test("default UserConfig - empty", () => {
|
|
|
56
57
|
},
|
|
57
58
|
"completion": {
|
|
58
59
|
"activate_on_typing": true,
|
|
60
|
+
"auto_close_pairs": true,
|
|
59
61
|
"copilot": false,
|
|
60
62
|
"signature_hint_on_typing": false,
|
|
61
63
|
},
|
|
@@ -117,6 +119,7 @@ test("default UserConfig - one level", () => {
|
|
|
117
119
|
{
|
|
118
120
|
"ai": {
|
|
119
121
|
"custom_providers": {},
|
|
122
|
+
"enabled": true,
|
|
120
123
|
"inline_tooltip": false,
|
|
121
124
|
"mode": "manual",
|
|
122
125
|
"models": {
|
|
@@ -127,6 +130,7 @@ test("default UserConfig - one level", () => {
|
|
|
127
130
|
},
|
|
128
131
|
"completion": {
|
|
129
132
|
"activate_on_typing": true,
|
|
133
|
+
"auto_close_pairs": true,
|
|
130
134
|
"copilot": false,
|
|
131
135
|
"signature_hint_on_typing": false,
|
|
132
136
|
},
|
|
@@ -75,6 +75,7 @@ export const UserConfigSchema = z
|
|
|
75
75
|
.object({
|
|
76
76
|
activate_on_typing: z.boolean().prefault(true),
|
|
77
77
|
signature_hint_on_typing: z.boolean().prefault(false),
|
|
78
|
+
auto_close_pairs: z.boolean().prefault(true),
|
|
78
79
|
copilot: z
|
|
79
80
|
.union([z.boolean(), z.enum(["github", "codeium", "custom"])])
|
|
80
81
|
.prefault(false)
|
|
@@ -157,7 +158,9 @@ export const UserConfigSchema = z
|
|
|
157
158
|
.prefault({}),
|
|
158
159
|
ai: z
|
|
159
160
|
.looseObject({
|
|
161
|
+
enabled: z.boolean().prefault(true),
|
|
160
162
|
rules: z.string().prefault(""),
|
|
163
|
+
max_tokens: z.number().int().positive().nullable().optional(),
|
|
161
164
|
mode: z.enum(COPILOT_MODES).prefault("manual"),
|
|
162
165
|
inline_tooltip: z.boolean().prefault(false),
|
|
163
166
|
open_ai: AiConfigSchema.optional(),
|
|
@@ -207,6 +210,7 @@ export const UserConfigSchema = z
|
|
|
207
210
|
.looseObject({
|
|
208
211
|
html: z.boolean().optional(),
|
|
209
212
|
wasm: z.boolean().optional(),
|
|
213
|
+
molab: z.boolean().optional(),
|
|
210
214
|
})
|
|
211
215
|
.optional(),
|
|
212
216
|
mcp: z
|
|
@@ -78,6 +78,14 @@ export const aiEnabledAtom = atom<boolean>((get) => {
|
|
|
78
78
|
return isAiEnabled(get(resolvedMarimoConfigAtom));
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
+
export const aiModelConfiguredAtom = atom<boolean>((get) => {
|
|
82
|
+
return isAiModelConfigured(get(resolvedMarimoConfigAtom));
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
export const aiFeaturesEnabledAtom = atom<boolean>((get) => {
|
|
86
|
+
return isAiFeatureEnabled(get(resolvedMarimoConfigAtom));
|
|
87
|
+
});
|
|
88
|
+
|
|
81
89
|
export const editorFontSizeAtom = atom<number>((get) => {
|
|
82
90
|
return get(resolvedMarimoConfigAtom).display.code_editor_font_size;
|
|
83
91
|
});
|
|
@@ -87,6 +95,10 @@ export const localeAtom = atom<string | null | undefined>((get) => {
|
|
|
87
95
|
});
|
|
88
96
|
|
|
89
97
|
export function isAiEnabled(config: UserConfig) {
|
|
98
|
+
return config.ai?.enabled !== false;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function isAiModelConfigured(config: UserConfig) {
|
|
90
102
|
return (
|
|
91
103
|
Boolean(config.ai?.models?.chat_model) ||
|
|
92
104
|
Boolean(config.ai?.models?.edit_model) ||
|
|
@@ -94,6 +106,10 @@ export function isAiEnabled(config: UserConfig) {
|
|
|
94
106
|
);
|
|
95
107
|
}
|
|
96
108
|
|
|
109
|
+
export function isAiFeatureEnabled(config: UserConfig) {
|
|
110
|
+
return isAiEnabled(config) && isAiModelConfigured(config);
|
|
111
|
+
}
|
|
112
|
+
|
|
97
113
|
/**
|
|
98
114
|
* Atom for storing the app config.
|
|
99
115
|
*/
|
package/src/core/edit-app.tsx
CHANGED
|
@@ -12,6 +12,7 @@ import { Controls } from "@/components/editor/controls/Controls";
|
|
|
12
12
|
import { AppHeader } from "@/components/editor/header/app-header";
|
|
13
13
|
import { FilenameForm } from "@/components/editor/header/filename-form";
|
|
14
14
|
import { MultiCellActionToolbar } from "@/components/editor/navigation/multi-cell-action-toolbar";
|
|
15
|
+
import { ViewerBanner } from "@/components/editor/viewer-banner";
|
|
15
16
|
import { cn } from "@/utils/cn";
|
|
16
17
|
import { Paths } from "@/utils/paths";
|
|
17
18
|
import { AppContainer } from "../components/editor/app-container";
|
|
@@ -164,6 +165,8 @@ export const EditApp: React.FC<AppProps> = ({
|
|
|
164
165
|
)}
|
|
165
166
|
</AppHeader>
|
|
166
167
|
|
|
168
|
+
<ViewerBanner />
|
|
169
|
+
|
|
167
170
|
{/* Don't render until we have a single cell */}
|
|
168
171
|
{hasCells && (
|
|
169
172
|
<CellsRenderer appConfig={appConfig} mode={viewState.mode}>
|
|
@@ -90,6 +90,7 @@ describe("buildCellData", () => {
|
|
|
90
90
|
terminal: false,
|
|
91
91
|
},
|
|
92
92
|
auto_instantiated: false,
|
|
93
|
+
consumer_capabilities: { edit: true, interact: true },
|
|
93
94
|
};
|
|
94
95
|
|
|
95
96
|
const cells = buildCellData(kernelReadyData);
|
|
@@ -158,6 +159,7 @@ describe("buildCellData", () => {
|
|
|
158
159
|
terminal: false,
|
|
159
160
|
},
|
|
160
161
|
auto_instantiated: false,
|
|
162
|
+
consumer_capabilities: { edit: true, interact: true },
|
|
161
163
|
};
|
|
162
164
|
|
|
163
165
|
const cells = buildCellData(kernelReadyData);
|
|
@@ -191,6 +193,7 @@ describe("buildCellData", () => {
|
|
|
191
193
|
terminal: false,
|
|
192
194
|
},
|
|
193
195
|
auto_instantiated: false,
|
|
196
|
+
consumer_capabilities: { edit: true, interact: true },
|
|
194
197
|
};
|
|
195
198
|
|
|
196
199
|
const cells = buildCellData(kernelReadyData);
|
|
@@ -223,6 +226,7 @@ describe("buildLayoutState", () => {
|
|
|
223
226
|
terminal: false,
|
|
224
227
|
},
|
|
225
228
|
auto_instantiated: false,
|
|
229
|
+
consumer_capabilities: { edit: true, interact: true },
|
|
226
230
|
};
|
|
227
231
|
|
|
228
232
|
const cells = buildCellData(kernelReadyData);
|
|
@@ -271,6 +275,7 @@ describe("buildLayoutState", () => {
|
|
|
271
275
|
terminal: false,
|
|
272
276
|
},
|
|
273
277
|
auto_instantiated: false,
|
|
278
|
+
consumer_capabilities: { edit: true, interact: true },
|
|
274
279
|
};
|
|
275
280
|
|
|
276
281
|
const cells = buildCellData(kernelReadyData);
|
|
@@ -31,19 +31,6 @@ describe("classifyCloseEvent", () => {
|
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
describe("terminal closes (server-initiated)", () => {
|
|
34
|
-
it("MARIMO_ALREADY_CONNECTED → terminal + closeTransport, with takeover", () => {
|
|
35
|
-
const decision = classify("MARIMO_ALREADY_CONNECTED");
|
|
36
|
-
expect(decision.kind).toBe("terminal");
|
|
37
|
-
expect(decision.status).toMatchObject({
|
|
38
|
-
state: WebSocketState.CLOSED,
|
|
39
|
-
code: WebSocketClosedReason.ALREADY_RUNNING,
|
|
40
|
-
canTakeover: true,
|
|
41
|
-
});
|
|
42
|
-
if (decision.kind === "terminal") {
|
|
43
|
-
expect(decision.closeTransport).toBe(true);
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
|
|
47
34
|
it.each([
|
|
48
35
|
"MARIMO_WRONG_KERNEL_ID",
|
|
49
36
|
"MARIMO_NO_FILE_KEY",
|
|
@@ -14,7 +14,6 @@ export type WebSocketState =
|
|
|
14
14
|
|
|
15
15
|
export const WebSocketClosedReason = {
|
|
16
16
|
KERNEL_DISCONNECTED: "KERNEL_DISCONNECTED",
|
|
17
|
-
ALREADY_RUNNING: "ALREADY_RUNNING",
|
|
18
17
|
MALFORMED_QUERY: "MALFORMED_QUERY",
|
|
19
18
|
KERNEL_STARTUP_ERROR: "KERNEL_STARTUP_ERROR",
|
|
20
19
|
} as const;
|
|
@@ -30,11 +29,6 @@ export type ConnectionStatus =
|
|
|
30
29
|
* Human-readable reason for closing the connection.
|
|
31
30
|
*/
|
|
32
31
|
reason: string;
|
|
33
|
-
/**
|
|
34
|
-
* Whether the current session can be taken over by another session,
|
|
35
|
-
* since we only allow single-user editing.
|
|
36
|
-
*/
|
|
37
|
-
canTakeover?: boolean;
|
|
38
32
|
}
|
|
39
33
|
| {
|
|
40
34
|
state:
|