decocms 2.289.1 → 2.290.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-DvPnQfC5.js → AlertCircle-Dy6WQ5ge.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-BKxpVLR_.js → ArrowNarrowLeft-DyXfpAXl.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-CuQjuTVk.js → ArrowUpRight-CnIoXxER.js} +1 -1
- package/dist/client/assets/{CheckCircle-4_rcsB70.js → CheckCircle-BZH7SpHU.js} +1 -1
- package/dist/client/assets/{ChevronDown-DfsMdmf4.js → ChevronDown-BjTzGWO3.js} +1 -1
- package/dist/client/assets/{ChevronRight-CVhRkUc0.js → ChevronRight-CYmVBoc2.js} +1 -1
- package/dist/client/assets/{ChevronUp-CD4XJT02.js → ChevronUp-Cw4IUx4c.js} +1 -1
- package/dist/client/assets/{Container-BcAiX456.js → Container-9mToJ-Hm.js} +1 -1
- package/dist/client/assets/{DotsVertical-e4sJs2sy.js → DotsVertical-CbfHiscK.js} +1 -1
- package/dist/client/assets/{LinkExternal01-M3Y1_vaI.js → LinkExternal01-Kt8lGWbQ.js} +1 -1
- package/dist/client/assets/{Lock01-_ctwMSEo.js → Lock01-BhhALBsJ.js} +1 -1
- package/dist/client/assets/{Palette-BkMTuMlr.js → Palette-6WmqQOED.js} +1 -1
- package/dist/client/assets/{Play-CrMiqzaH.js → Play-B-Yf_e00.js} +1 -1
- package/dist/client/assets/{Plus-BR3le3XA.js → Plus-C4wuRIjK.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-BvVeeLFE.js → RefreshCcw01-KsYBIYgq.js} +1 -1
- package/dist/client/assets/{SearchMd-CnSMs6Gr.js → SearchMd-BhWG7TtE.js} +1 -1
- package/dist/client/assets/{Settings02-bYDpmczV.js → Settings02-C0B8JYoO.js} +1 -1
- package/dist/client/assets/{Shield01-CMpoeZYl.js → Shield01-vr0RTpPH.js} +1 -1
- package/dist/client/assets/{Star01-B5vecVQL.js → Star01-BRTO8Wcg.js} +1 -1
- package/dist/client/assets/{Sun-wZV-LjB0.js → Sun-DD9THIbp.js} +1 -1
- package/dist/client/assets/{Tool01-CuCSRQWJ.js → Tool01-CzK8v2e2.js} +1 -1
- package/dist/client/assets/{Trash01-J7CgYdQ6.js → Trash01-Cqpb-tl4.js} +1 -1
- package/dist/client/assets/{User01-BgWj-XfO.js → User01-CHqQvVRk.js} +1 -1
- package/dist/client/assets/{Users03-DuJUh6K5.js → Users03-DQHeHtuJ.js} +1 -1
- package/dist/client/assets/{X-B94SYTq6.js → X-Cz2VwWbK.js} +1 -1
- package/dist/client/assets/{XCircle-CV0L9GR_.js → XCircle-D7CLzAA2.js} +1 -1
- package/dist/client/assets/{XClose-BDJKoeIM.js → XClose-xVgTKp3y.js} +1 -1
- package/dist/client/assets/{Zap-DbOUQQao.js → Zap-eM4vJ-Od.js} +1 -1
- package/dist/client/assets/{ZapSquare-BVc4n4iU.js → ZapSquare-DAasimGP.js} +1 -1
- package/dist/client/assets/{accordion-_jHDGcgU.js → accordion-BM20EgNo.js} +1 -1
- package/dist/client/assets/{agent-icon-C6qW6eXG.js → agent-icon-CPrrz1CF.js} +1 -1
- package/dist/client/assets/{agents-list-DQZlBppY.js → agents-list-bLyTwxOp.js} +1 -1
- package/dist/client/assets/ai-providers-D-IR9UZj.js +1 -0
- package/dist/client/assets/ai-providers-logos-D6a8kmGH.js +1 -0
- package/dist/client/assets/{alert-dialog-DUehP6wO.js → alert-dialog-D6BTsTie.js} +1 -1
- package/dist/client/assets/{auth-catchall-Cbr_hZzc.js → auth-catchall-DrwBfvc7.js} +1 -1
- package/dist/client/assets/{automation-list-row-CE-l0VNu.js → automation-list-row-BAkKDhdt.js} +1 -1
- package/dist/client/assets/{automations-C3LxjCxf.js → automations-DsHMII0n.js} +1 -1
- package/dist/client/assets/{avatar-BIm7SPe1.js → avatar-B5MfJTPB.js} +1 -1
- package/dist/client/assets/{badge-CtBsPi0r.js → badge-C3ltiwQz.js} +1 -1
- package/dist/client/assets/{brand-context-CB2HhrLr.js → brand-context-DdXBk5wZ.js} +1 -1
- package/dist/client/assets/{card-BLtPWaiK.js → card-DXc1-cjm.js} +1 -1
- package/dist/client/assets/{chat-context-DcUrkBB6.js → chat-context-BM3OkNBp.js} +1 -1
- package/dist/client/assets/{checkbox-BEdGbH_8.js → checkbox-CXSt-qCU.js} +1 -1
- package/dist/client/assets/{collection-detail-CtkPh5nj.js → collection-detail-PiEvUvyY.js} +1 -1
- package/dist/client/assets/{collection-display-button-DbKOigBA.js → collection-display-button-CbF3FIKJ.js} +1 -1
- package/dist/client/assets/{collection-search-CEPfUiWA.js → collection-search-BD7TaK50.js} +1 -1
- package/dist/client/assets/{collection-search-BEbLDyCP.js → collection-search-D9OTGkON.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-B2huksH6.js → collection-table-wrapper-C_wGPjYd.js} +1 -1
- package/dist/client/assets/{collection-tabs-QSa5ykeq.js → collection-tabs-B5kXhLnr.js} +1 -1
- package/dist/client/assets/{collections-CF9hrNRd.js → collections-uRCOIhF1.js} +1 -1
- package/dist/client/assets/{command-DmhSl-c8.js → command-_aeZDxv4.js} +1 -1
- package/dist/client/assets/{connection-card-bmzpIukU.js → connection-card-CG4RgzFA.js} +1 -1
- package/dist/client/assets/{connection-detail-DwoYH_6W.js → connection-detail-CPj5tV8W.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-BrmC7SFw.js → connection-form-helpers-CF_hDkTW.js} +1 -1
- package/dist/client/assets/{connections-B52vPeyp.js → connections-BFVESmsw.js} +1 -1
- package/dist/client/assets/{constants-DjiHYs3d.js → constants-BXPLSYK0.js} +1 -1
- package/dist/client/assets/{constants-Bv-ydthU.js → constants-fisX-szF.js} +1 -1
- package/dist/client/assets/{dialog-CbDVIhlb.js → dialog-DgIfLmkz.js} +1 -1
- package/dist/client/assets/{domain-settings-5pXF-wm_.js → domain-settings-Da9TCjdO.js} +1 -1
- package/dist/client/assets/{drawer-BmeDjX1X.js → drawer-DcXb-dIX.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BfGuGlIh.js → dropdown-menu-CpKKd4KR.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-BodX3cKc.js → dynamic-plugin-layout-5YDFJfrE.js} +1 -1
- package/dist/client/assets/{empty-state-Bmk-UZeD.js → empty-state-7OQh5AG_.js} +1 -1
- package/dist/client/assets/{empty-state-dX7dSbXx.js → empty-state-BNoYs1pG.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DpnZLfW6.js → extract-connection-data-C1fjt67g.js} +1 -1
- package/dist/client/assets/{features-B6zSQU4N.js → features-DlbqWaud.js} +1 -1
- package/dist/client/assets/{form-Bp7QYVLp.js → form-B9N1Oecs.js} +1 -1
- package/dist/client/assets/{general-CwdchWiq.js → general-BRrfSAHw.js} +1 -1
- package/dist/client/assets/{github-repo-picker-iNFjYstD.js → github-repo-picker-xqXMF4Z2.js} +1 -1
- package/dist/client/assets/{index-EeoXzNpy.js → index-B1ENCl_P.js} +1 -1
- package/dist/client/assets/{index-BHs8YvDv.js → index-BNDDAuFY.js} +1 -1
- package/dist/client/assets/{index-BsNTGYXY.js → index-Bdy-Zxd0.js} +1 -1
- package/dist/client/assets/{index-n7SSrZJX.js → index-Bjw9mABo.js} +2 -2
- package/dist/client/assets/{index-Bren1GGu.js → index-CdcT6o1u.js} +1 -1
- package/dist/client/assets/{index-B2N3AyqY.js → index-D4HJx8LE.js} +4 -4
- package/dist/client/assets/{index-B5cVztKY.js → index-DFbeaR6v.js} +1 -1
- package/dist/client/assets/{index-B0QzmEJF.js → index-PDe7t-Zh.js} +1 -1
- package/dist/client/assets/{index-CtxpjU_s.js → index-RUiHYhDy.js} +1 -1
- package/dist/client/assets/{index-CC820IDY.js → index-nPLW8S1n.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-BvBE16xD.js → infiniteQueryObserver-D6FVOZDT.js} +1 -1
- package/dist/client/assets/{input-93auOJA-.js → input-B0Th2JQ1.js} +1 -1
- package/dist/client/assets/{integration-icon-D1WPsIeS.js → integration-icon-BlpgeQ99.js} +1 -1
- package/dist/client/assets/{label-CDWfKnpv.js → label-DuAMprL4.js} +1 -1
- package/dist/client/assets/{layout-ALExO3RM.js → layout-RImR4U5w.js} +1 -1
- package/dist/client/assets/{login-Dh8YEJcV.js → login-BfxCAW1K.js} +1 -1
- package/dist/client/assets/{members-B0H2ICnj.js → members-DUXCSlLM.js} +1 -1
- package/dist/client/assets/{monaco-editor-D2WY7je5.js → monaco-editor-LE71GrBO.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-CuznDVqp.js → monitoring-stats-row-Bu8i_dr0.js} +1 -1
- package/dist/client/assets/{oauth-callback-BxmH83JY.js → oauth-callback-CHnueJxo.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-Dji18vK6.js → oauth-callback-ai-provider-BqIWE2za.js} +1 -1
- package/dist/client/assets/{onboarding-DO-aZIsc.js → onboarding-Bvfd_deQ.js} +1 -1
- package/dist/client/assets/{org-layout-DwQfVG_G.js → org-layout-D8HwQgZC.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-C0Hb_7ZN.js → org-plugin-layout-Dlrq-WhH.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-DsKgDNt_.js → plugin-empty-state-FtnIU00p.js} +1 -1
- package/dist/client/assets/{plugin-header-I-VJ7nR-.js → plugin-header-CFqdNjHj.js} +1 -1
- package/dist/client/assets/{plugin-layout-rZ66K3Mj.js → plugin-layout-BAtMOLNI.js} +1 -1
- package/dist/client/assets/{popover-BlhVdyjC.js → popover-E3qdo7hr.js} +1 -1
- package/dist/client/assets/{profile-ChlGBaRJ.js → profile-D53qb-aC.js} +1 -1
- package/dist/client/assets/{project-app-view-CxGV0sjn.js → project-app-view-CPYOBF6b.js} +1 -1
- package/dist/client/assets/registry-RhRTyf-3.js +2 -0
- package/dist/client/assets/{registry-layout-fy1D5wVh.js → registry-layout-DDDh6l1Z.js} +1 -1
- package/dist/client/assets/{required-auth-layout-D3LKevpJ.js → required-auth-layout-0ZrPtRX5.js} +1 -1
- package/dist/client/assets/{reset-password-Cl6OUHwF.js → reset-password-CF8xZipJ.js} +1 -1
- package/dist/client/assets/{roles-BZIugQbX.js → roles-2DmhU_lO.js} +1 -1
- package/dist/client/assets/{scroll-area-DjI8JrA4.js → scroll-area-CV58Sm3r.js} +1 -1
- package/dist/client/assets/{search-input-c4tKbop1.js → search-input-CiJD1zmQ.js} +1 -1
- package/dist/client/assets/{select-DXPKpbnT.js → select-C0BTO_VN.js} +1 -1
- package/dist/client/assets/select-model-CgAdbxOF.js +4 -0
- package/dist/client/assets/{settings-layout-D5262yUh.js → settings-layout-B5g5nOFG.js} +1 -1
- package/dist/client/assets/{settings-section-BlkGvCu3.js → settings-section-BEc6_hxC.js} +1 -1
- package/dist/client/assets/{shell-layout-DhpXypjS.js → shell-layout-DhVFCecl.js} +1 -1
- package/dist/client/assets/{skeleton-BK_N4aC7.js → skeleton-CqLjEim6.js} +1 -1
- package/dist/client/assets/{sso-BtozqQ30.js → sso-CLQ0WAZ4.js} +1 -1
- package/dist/client/assets/{store-DyctnerN.js → store-DXpPzjGX.js} +1 -1
- package/dist/client/assets/store-registry-Fp0RwcQv.js +2 -0
- package/dist/client/assets/{switch-CrF-gMSq.js → switch-r_J-E_R6.js} +1 -1
- package/dist/client/assets/{table-C8OGdLdI.js → table-BLW1fb71.js} +1 -1
- package/dist/client/assets/{tabs-C_BS-m5A.js → tabs-OaMhPT1S.js} +1 -1
- package/dist/client/assets/{task-status-Cm6Qp7d4.js → task-status-BYU1JOas.js} +1 -1
- package/dist/client/assets/{textarea-Bx9ByRsd.js → textarea-CB4EPwI8.js} +1 -1
- package/dist/client/assets/{toggle-group-3sydXp-E.js → toggle-group-BK2Eyxb9.js} +1 -1
- package/dist/client/assets/{tools-list-CBTIdi20.js → tools-list-D0-t6r7P.js} +1 -1
- package/dist/client/assets/{types-CZtgPZDT.js → types-DV1fT4jg.js} +1 -1
- package/dist/client/assets/{use-ai-providers-D498L3pM.js → use-ai-providers-DuAykeEv.js} +1 -1
- package/dist/client/assets/{use-collections-CtCWr_i-.js → use-collections-Cp0FTIw2.js} +1 -1
- package/dist/client/assets/{use-connection-BNJDlOt9.js → use-connection-CwwdEwVq.js} +1 -1
- package/dist/client/assets/{use-copy-CogZRw7t.js → use-copy-I5xIu5vL.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-BZbpQ7wy.js → use-create-virtual-mcp-D9eK4uEY.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CGP9dkEP.js → use-decopilot-events-BnOlrQOP.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DnC4oqeg.js → use-delete-connection-DgzyKP3C.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BDcVHuzE.js → use-infinite-scroll-DVe1Fk7x.js} +1 -1
- package/dist/client/assets/{use-list-state-DhCZMYGi.js → use-list-state-BK8f1wO4.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BtNM-5qj.js → use-mcp-tools-B2JuhhY2.js} +1 -1
- package/dist/client/assets/{use-members-BhnMtyBX.js → use-members-BpPuDkhN.js} +1 -1
- package/dist/client/assets/{use-mobile-BP1wV0Dh.js → use-mobile-BY3ZRSKc.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-Bl8tivkk.js → use-navigate-to-agent-CL1nPgsu.js} +1 -1
- package/dist/client/assets/{use-org-sso-BURT85r2.js → use-org-sso-CNjY_Yrf.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DFb5kpIb.js → use-organization-roles-DjWvKcNS.js} +1 -1
- package/dist/client/assets/{use-organization-settings-DOx6Mt6y.js → use-organization-settings-DqQLKHYU.js} +1 -1
- package/dist/client/assets/{use-registry-connections-BnhgPbEO.js → use-registry-connections-Du2J1Ki6.js} +1 -1
- package/dist/client/assets/{use-status-sounds-DfEYCKF7.js → use-status-sounds-9eY_nA5Y.js} +1 -1
- package/dist/client/assets/{use-tasks-CpxN0ye6.js → use-tasks-HeJD0lAu.js} +1 -1
- package/dist/client/assets/{use-view-mode-CXzkxsjO.js → use-view-mode-CimRH_Z1.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CXDuGiqH.js → use-virtual-mcp-Dyx_89bN.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-ch_R3hWu.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-BU66AZeq.js +1 -0
- package/dist/client/assets/{user-DzVhNpqN.js → user-DwSGRsb4.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DPCyIr82.js → view-mode-toggle-B7tN1U0U.js} +1 -1
- package/dist/client/assets/{workflow-CdQVYV4Q.js → workflow-BSnZsZNr.js} +1 -1
- package/dist/client/assets/workflow-detail-DR2tbuTB.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +393 -393
- package/dist/server/migrate.js +132 -132
- package/dist/server/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/dist/server/node_modules/get-east-asian-width/index.js +30 -0
- package/dist/server/node_modules/get-east-asian-width/lookup-data.js +18 -0
- package/dist/server/node_modules/get-east-asian-width/lookup.js +135 -0
- package/dist/server/node_modules/get-east-asian-width/package.json +71 -0
- package/dist/server/node_modules/get-east-asian-width/readme.md +65 -0
- package/dist/server/node_modules/get-east-asian-width/utilities.js +24 -0
- package/dist/server/node_modules/{react-reconciler → pg}/LICENSE +1 -1
- package/dist/server/node_modules/pg/README.md +95 -0
- package/dist/server/node_modules/pg/esm/index.mjs +20 -0
- package/dist/server/node_modules/pg/lib/client.js +743 -0
- package/dist/server/node_modules/pg/lib/connection-parameters.js +171 -0
- package/dist/server/node_modules/pg/lib/connection.js +221 -0
- package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +122 -0
- package/dist/server/node_modules/pg/lib/crypto/sasl.js +212 -0
- package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
- package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +89 -0
- package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
- package/dist/server/node_modules/pg/lib/defaults.js +91 -0
- package/dist/server/node_modules/pg/lib/index.js +73 -0
- package/dist/server/node_modules/pg/lib/native/client.js +323 -0
- package/dist/server/node_modules/pg/lib/native/index.js +2 -0
- package/dist/server/node_modules/pg/lib/native/query.js +165 -0
- package/dist/server/node_modules/pg/lib/query.js +252 -0
- package/dist/server/node_modules/pg/lib/result.js +109 -0
- package/dist/server/node_modules/pg/lib/stream.js +83 -0
- package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
- package/dist/server/node_modules/pg/lib/utils.js +217 -0
- package/dist/server/node_modules/pg/package.json +76 -0
- package/dist/server/server.js +2 -2
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-CbLrb_N0.js +0 -1
- package/dist/client/assets/ai-providers-logos-CS4PCiqI.js +0 -1
- package/dist/client/assets/registry-Fsu61we3.js +0 -2
- package/dist/client/assets/select-model-_tj2LEO8.js +0 -4
- package/dist/client/assets/store-registry-Iir3u5ll.js +0 -2
- package/dist/client/assets/useInfiniteQuery-CJd90n7M.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CJSBGdra.js +0 -1
- package/dist/client/assets/workflow-detail-BXw4DQr0.js +0 -1
- package/dist/server/node_modules/ansi-escapes/base.d.ts +0 -307
- package/dist/server/node_modules/ansi-escapes/base.js +0 -202
- package/dist/server/node_modules/ansi-escapes/index.d.ts +0 -2
- package/dist/server/node_modules/ansi-escapes/index.js +0 -2
- package/dist/server/node_modules/ansi-escapes/package.json +0 -70
- package/dist/server/node_modules/ansi-escapes/readme.md +0 -296
- package/dist/server/node_modules/ansi-regex/index.d.ts +0 -33
- package/dist/server/node_modules/ansi-regex/index.js +0 -14
- package/dist/server/node_modules/ansi-regex/license +0 -9
- package/dist/server/node_modules/ansi-regex/package.json +0 -61
- package/dist/server/node_modules/ansi-regex/readme.md +0 -66
- package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
- package/dist/server/node_modules/ansi-styles/index.js +0 -223
- package/dist/server/node_modules/ansi-styles/license +0 -9
- package/dist/server/node_modules/ansi-styles/package.json +0 -54
- package/dist/server/node_modules/ansi-styles/readme.md +0 -173
- package/dist/server/node_modules/auto-bind/index.d.ts +0 -50
- package/dist/server/node_modules/auto-bind/index.js +0 -41
- package/dist/server/node_modules/auto-bind/license +0 -9
- package/dist/server/node_modules/auto-bind/package.json +0 -51
- package/dist/server/node_modules/auto-bind/react.d.ts +0 -26
- package/dist/server/node_modules/auto-bind/react.js +0 -28
- package/dist/server/node_modules/auto-bind/readme.md +0 -92
- package/dist/server/node_modules/chalk/license +0 -9
- package/dist/server/node_modules/chalk/package.json +0 -83
- package/dist/server/node_modules/chalk/readme.md +0 -297
- package/dist/server/node_modules/chalk/source/index.d.ts +0 -325
- package/dist/server/node_modules/chalk/source/index.js +0 -225
- package/dist/server/node_modules/chalk/source/utilities.js +0 -33
- package/dist/server/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/dist/server/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/dist/server/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/dist/server/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/dist/server/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/dist/server/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
- package/dist/server/node_modules/cli-cursor/index.d.ts +0 -47
- package/dist/server/node_modules/cli-cursor/index.js +0 -39
- package/dist/server/node_modules/cli-cursor/license +0 -9
- package/dist/server/node_modules/cli-cursor/package.json +0 -49
- package/dist/server/node_modules/cli-cursor/readme.md +0 -51
- package/dist/server/node_modules/cli-truncate/index.d.ts +0 -118
- package/dist/server/node_modules/cli-truncate/index.js +0 -168
- package/dist/server/node_modules/cli-truncate/license +0 -9
- package/dist/server/node_modules/cli-truncate/package.json +0 -52
- package/dist/server/node_modules/cli-truncate/readme.md +0 -154
- package/dist/server/node_modules/deepmerge/.editorconfig +0 -7
- package/dist/server/node_modules/deepmerge/.eslintcache +0 -1
- package/dist/server/node_modules/deepmerge/changelog.md +0 -167
- package/dist/server/node_modules/deepmerge/dist/cjs.js +0 -133
- package/dist/server/node_modules/deepmerge/dist/umd.js +0 -139
- package/dist/server/node_modules/deepmerge/index.d.ts +0 -20
- package/dist/server/node_modules/deepmerge/index.js +0 -106
- package/dist/server/node_modules/deepmerge/license.txt +0 -21
- package/dist/server/node_modules/deepmerge/package.json +0 -42
- package/dist/server/node_modules/deepmerge/readme.md +0 -264
- package/dist/server/node_modules/deepmerge/rollup.config.js +0 -22
- package/dist/server/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/dist/server/node_modules/emoji-regex/README.md +0 -107
- package/dist/server/node_modules/emoji-regex/index.d.ts +0 -3
- package/dist/server/node_modules/emoji-regex/index.js +0 -4
- package/dist/server/node_modules/emoji-regex/index.mjs +0 -4
- package/dist/server/node_modules/emoji-regex/package.json +0 -45
- package/dist/server/node_modules/environment/index.d.ts +0 -74
- package/dist/server/node_modules/environment/index.js +0 -47
- package/dist/server/node_modules/environment/license +0 -9
- package/dist/server/node_modules/environment/package.json +0 -74
- package/dist/server/node_modules/environment/readme.md +0 -94
- package/dist/server/node_modules/escape-string-regexp/index.d.ts +0 -18
- package/dist/server/node_modules/escape-string-regexp/index.js +0 -11
- package/dist/server/node_modules/escape-string-regexp/license +0 -9
- package/dist/server/node_modules/escape-string-regexp/package.json +0 -43
- package/dist/server/node_modules/escape-string-regexp/readme.md +0 -29
- package/dist/server/node_modules/indent-string/index.d.ts +0 -38
- package/dist/server/node_modules/indent-string/index.js +0 -38
- package/dist/server/node_modules/indent-string/license +0 -9
- package/dist/server/node_modules/indent-string/package.json +0 -40
- package/dist/server/node_modules/indent-string/readme.md +0 -73
- package/dist/server/node_modules/ink/build/ansi-tokenizer.d.ts +0 -38
- package/dist/server/node_modules/ink/build/ansi-tokenizer.js +0 -316
- package/dist/server/node_modules/ink/build/ansi-tokenizer.js.map +0 -1
- package/dist/server/node_modules/ink/build/apply-styles.js +0 -175
- package/dist/server/node_modules/ink/build/build-layout.js +0 -77
- package/dist/server/node_modules/ink/build/calculate-wrapped-text.js +0 -53
- package/dist/server/node_modules/ink/build/colorize.d.ts +0 -3
- package/dist/server/node_modules/ink/build/colorize.js +0 -48
- package/dist/server/node_modules/ink/build/colorize.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/AccessibilityContext.d.ts +0 -3
- package/dist/server/node_modules/ink/build/components/AccessibilityContext.js +0 -5
- package/dist/server/node_modules/ink/build/components/AccessibilityContext.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/App.d.ts +0 -18
- package/dist/server/node_modules/ink/build/components/App.js +0 -351
- package/dist/server/node_modules/ink/build/components/App.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/AppContext.d.ts +0 -15
- package/dist/server/node_modules/ink/build/components/AppContext.js +0 -11
- package/dist/server/node_modules/ink/build/components/AppContext.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/BackgroundContext.d.ts +0 -4
- package/dist/server/node_modules/ink/build/components/BackgroundContext.js +0 -3
- package/dist/server/node_modules/ink/build/components/BackgroundContext.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/Box.d.ts +0 -117
- package/dist/server/node_modules/ink/build/components/Box.js +0 -34
- package/dist/server/node_modules/ink/build/components/Box.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/Color.js +0 -62
- package/dist/server/node_modules/ink/build/components/Cursor.d.ts +0 -83
- package/dist/server/node_modules/ink/build/components/Cursor.js +0 -53
- package/dist/server/node_modules/ink/build/components/Cursor.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/CursorContext.d.ts +0 -11
- package/dist/server/node_modules/ink/build/components/CursorContext.js +0 -8
- package/dist/server/node_modules/ink/build/components/CursorContext.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/ErrorBoundary.d.ts +0 -18
- package/dist/server/node_modules/ink/build/components/ErrorBoundary.js +0 -23
- package/dist/server/node_modules/ink/build/components/ErrorBoundary.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/ErrorOverview.d.ts +0 -6
- package/dist/server/node_modules/ink/build/components/ErrorOverview.js +0 -84
- package/dist/server/node_modules/ink/build/components/ErrorOverview.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/FocusContext.d.ts +0 -16
- package/dist/server/node_modules/ink/build/components/FocusContext.js +0 -17
- package/dist/server/node_modules/ink/build/components/FocusContext.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/Newline.d.ts +0 -13
- package/dist/server/node_modules/ink/build/components/Newline.js +0 -8
- package/dist/server/node_modules/ink/build/components/Newline.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/Spacer.d.ts +0 -7
- package/dist/server/node_modules/ink/build/components/Spacer.js +0 -11
- package/dist/server/node_modules/ink/build/components/Spacer.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/Static.d.ts +0 -24
- package/dist/server/node_modules/ink/build/components/Static.js +0 -28
- package/dist/server/node_modules/ink/build/components/Static.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/StderrContext.d.ts +0 -15
- package/dist/server/node_modules/ink/build/components/StderrContext.js +0 -13
- package/dist/server/node_modules/ink/build/components/StderrContext.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/StdinContext.d.ts +0 -22
- package/dist/server/node_modules/ink/build/components/StdinContext.js +0 -19
- package/dist/server/node_modules/ink/build/components/StdinContext.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/StdoutContext.d.ts +0 -15
- package/dist/server/node_modules/ink/build/components/StdoutContext.js +0 -13
- package/dist/server/node_modules/ink/build/components/StdoutContext.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/Text.d.ts +0 -55
- package/dist/server/node_modules/ink/build/components/Text.js +0 -50
- package/dist/server/node_modules/ink/build/components/Text.js.map +0 -1
- package/dist/server/node_modules/ink/build/components/Transform.d.ts +0 -16
- package/dist/server/node_modules/ink/build/components/Transform.js +0 -15
- package/dist/server/node_modules/ink/build/components/Transform.js.map +0 -1
- package/dist/server/node_modules/ink/build/cursor-helpers.d.ts +0 -38
- package/dist/server/node_modules/ink/build/cursor-helpers.js +0 -56
- package/dist/server/node_modules/ink/build/cursor-helpers.js.map +0 -1
- package/dist/server/node_modules/ink/build/devtools-window-polyfill.d.ts +0 -1
- package/dist/server/node_modules/ink/build/devtools-window-polyfill.js +0 -65
- package/dist/server/node_modules/ink/build/devtools-window-polyfill.js.map +0 -1
- package/dist/server/node_modules/ink/build/devtools.d.ts +0 -1
- package/dist/server/node_modules/ink/build/devtools.js +0 -11
- package/dist/server/node_modules/ink/build/devtools.js.map +0 -1
- package/dist/server/node_modules/ink/build/dom.d.ts +0 -56
- package/dist/server/node_modules/ink/build/dom.js +0 -124
- package/dist/server/node_modules/ink/build/dom.js.map +0 -1
- package/dist/server/node_modules/ink/build/experimental/apply-style.js +0 -140
- package/dist/server/node_modules/ink/build/experimental/dom.js +0 -123
- package/dist/server/node_modules/ink/build/experimental/output.js +0 -91
- package/dist/server/node_modules/ink/build/experimental/reconciler.js +0 -141
- package/dist/server/node_modules/ink/build/experimental/renderer.js +0 -81
- package/dist/server/node_modules/ink/build/get-max-width.d.ts +0 -3
- package/dist/server/node_modules/ink/build/get-max-width.js +0 -10
- package/dist/server/node_modules/ink/build/get-max-width.js.map +0 -1
- package/dist/server/node_modules/ink/build/hooks/use-app.d.ts +0 -5
- package/dist/server/node_modules/ink/build/hooks/use-app.js +0 -8
- package/dist/server/node_modules/ink/build/hooks/use-app.js.map +0 -1
- package/dist/server/node_modules/ink/build/hooks/use-cursor.d.ts +0 -12
- package/dist/server/node_modules/ink/build/hooks/use-cursor.js +0 -29
- package/dist/server/node_modules/ink/build/hooks/use-cursor.js.map +0 -1
- package/dist/server/node_modules/ink/build/hooks/use-focus-manager.d.ts +0 -28
- package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js +0 -17
- package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js.map +0 -1
- package/dist/server/node_modules/ink/build/hooks/use-focus.d.ts +0 -29
- package/dist/server/node_modules/ink/build/hooks/use-focus.js +0 -42
- package/dist/server/node_modules/ink/build/hooks/use-focus.js.map +0 -1
- package/dist/server/node_modules/ink/build/hooks/use-input.d.ts +0 -131
- package/dist/server/node_modules/ink/build/hooks/use-input.js +0 -124
- package/dist/server/node_modules/ink/build/hooks/use-input.js.map +0 -1
- package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +0 -5
- package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +0 -11
- package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +0 -1
- package/dist/server/node_modules/ink/build/hooks/use-stderr.d.ts +0 -5
- package/dist/server/node_modules/ink/build/hooks/use-stderr.js +0 -8
- package/dist/server/node_modules/ink/build/hooks/use-stderr.js.map +0 -1
- package/dist/server/node_modules/ink/build/hooks/use-stdin.d.ts +0 -5
- package/dist/server/node_modules/ink/build/hooks/use-stdin.js +0 -8
- package/dist/server/node_modules/ink/build/hooks/use-stdin.js.map +0 -1
- package/dist/server/node_modules/ink/build/hooks/use-stdout.d.ts +0 -5
- package/dist/server/node_modules/ink/build/hooks/use-stdout.js +0 -8
- package/dist/server/node_modules/ink/build/hooks/use-stdout.js.map +0 -1
- package/dist/server/node_modules/ink/build/hooks/useInput.js +0 -38
- package/dist/server/node_modules/ink/build/index.d.ts +0 -34
- package/dist/server/node_modules/ink/build/index.js +0 -20
- package/dist/server/node_modules/ink/build/index.js.map +0 -1
- package/dist/server/node_modules/ink/build/ink.d.ts +0 -90
- package/dist/server/node_modules/ink/build/ink.js +0 -637
- package/dist/server/node_modules/ink/build/ink.js.map +0 -1
- package/dist/server/node_modules/ink/build/input-parser.d.ts +0 -7
- package/dist/server/node_modules/ink/build/input-parser.js +0 -154
- package/dist/server/node_modules/ink/build/input-parser.js.map +0 -1
- package/dist/server/node_modules/ink/build/instance.js +0 -205
- package/dist/server/node_modules/ink/build/instances.d.ts +0 -3
- package/dist/server/node_modules/ink/build/instances.js +0 -8
- package/dist/server/node_modules/ink/build/instances.js.map +0 -1
- package/dist/server/node_modules/ink/build/kitty-keyboard.d.ts +0 -23
- package/dist/server/node_modules/ink/build/kitty-keyboard.js +0 -32
- package/dist/server/node_modules/ink/build/kitty-keyboard.js.map +0 -1
- package/dist/server/node_modules/ink/build/layout.d.ts +0 -7
- package/dist/server/node_modules/ink/build/layout.js +0 -33
- package/dist/server/node_modules/ink/build/layout.js.map +0 -1
- package/dist/server/node_modules/ink/build/log-update.d.ts +0 -19
- package/dist/server/node_modules/ink/build/log-update.js +0 -242
- package/dist/server/node_modules/ink/build/log-update.js.map +0 -1
- package/dist/server/node_modules/ink/build/measure-element.d.ts +0 -16
- package/dist/server/node_modules/ink/build/measure-element.js +0 -9
- package/dist/server/node_modules/ink/build/measure-element.js.map +0 -1
- package/dist/server/node_modules/ink/build/measure-text.d.ts +0 -6
- package/dist/server/node_modules/ink/build/measure-text.js +0 -21
- package/dist/server/node_modules/ink/build/measure-text.js.map +0 -1
- package/dist/server/node_modules/ink/build/options.d.ts +0 -52
- package/dist/server/node_modules/ink/build/options.js +0 -2
- package/dist/server/node_modules/ink/build/options.js.map +0 -1
- package/dist/server/node_modules/ink/build/output.d.ts +0 -35
- package/dist/server/node_modules/ink/build/output.js +0 -183
- package/dist/server/node_modules/ink/build/output.js.map +0 -1
- package/dist/server/node_modules/ink/build/parse-keypress.d.ts +0 -22
- package/dist/server/node_modules/ink/build/parse-keypress.js +0 -493
- package/dist/server/node_modules/ink/build/parse-keypress.js.map +0 -1
- package/dist/server/node_modules/ink/build/reconciler.d.ts +0 -4
- package/dist/server/node_modules/ink/build/reconciler.js +0 -274
- package/dist/server/node_modules/ink/build/reconciler.js.map +0 -1
- package/dist/server/node_modules/ink/build/render-background.d.ts +0 -4
- package/dist/server/node_modules/ink/build/render-background.js +0 -25
- package/dist/server/node_modules/ink/build/render-background.js.map +0 -1
- package/dist/server/node_modules/ink/build/render-border.d.ts +0 -4
- package/dist/server/node_modules/ink/build/render-border.js +0 -73
- package/dist/server/node_modules/ink/build/render-border.js.map +0 -1
- package/dist/server/node_modules/ink/build/render-node-to-output.d.ts +0 -14
- package/dist/server/node_modules/ink/build/render-node-to-output.js +0 -147
- package/dist/server/node_modules/ink/build/render-node-to-output.js.map +0 -1
- package/dist/server/node_modules/ink/build/render-to-string.d.ts +0 -38
- package/dist/server/node_modules/ink/build/render-to-string.js +0 -115
- package/dist/server/node_modules/ink/build/render-to-string.js.map +0 -1
- package/dist/server/node_modules/ink/build/render.d.ts +0 -121
- package/dist/server/node_modules/ink/build/render.js +0 -55
- package/dist/server/node_modules/ink/build/render.js.map +0 -1
- package/dist/server/node_modules/ink/build/renderer.d.ts +0 -8
- package/dist/server/node_modules/ink/build/renderer.js +0 -55
- package/dist/server/node_modules/ink/build/renderer.js.map +0 -1
- package/dist/server/node_modules/ink/build/sanitize-ansi.d.ts +0 -2
- package/dist/server/node_modules/ink/build/sanitize-ansi.js +0 -27
- package/dist/server/node_modules/ink/build/sanitize-ansi.js.map +0 -1
- package/dist/server/node_modules/ink/build/screen-reader-update.d.ts +0 -13
- package/dist/server/node_modules/ink/build/screen-reader-update.js +0 -38
- package/dist/server/node_modules/ink/build/screen-reader-update.js.map +0 -1
- package/dist/server/node_modules/ink/build/squash-text-nodes.d.ts +0 -3
- package/dist/server/node_modules/ink/build/squash-text-nodes.js +0 -36
- package/dist/server/node_modules/ink/build/squash-text-nodes.js.map +0 -1
- package/dist/server/node_modules/ink/build/styles.d.ts +0 -240
- package/dist/server/node_modules/ink/build/styles.js +0 -232
- package/dist/server/node_modules/ink/build/styles.js.map +0 -1
- package/dist/server/node_modules/ink/build/utils.d.ts +0 -2
- package/dist/server/node_modules/ink/build/utils.js +0 -4
- package/dist/server/node_modules/ink/build/utils.js.map +0 -1
- package/dist/server/node_modules/ink/build/wrap-text.d.ts +0 -3
- package/dist/server/node_modules/ink/build/wrap-text.js +0 -31
- package/dist/server/node_modules/ink/build/wrap-text.js.map +0 -1
- package/dist/server/node_modules/ink/build/write-synchronized.d.ts +0 -4
- package/dist/server/node_modules/ink/build/write-synchronized.js +0 -7
- package/dist/server/node_modules/ink/build/write-synchronized.js.map +0 -1
- package/dist/server/node_modules/ink/license +0 -10
- package/dist/server/node_modules/ink/package.json +0 -201
- package/dist/server/node_modules/ink/readme.md +0 -2636
- package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/dist/server/node_modules/is-fullwidth-code-point/index.js +0 -12
- package/dist/server/node_modules/is-fullwidth-code-point/license +0 -9
- package/dist/server/node_modules/is-fullwidth-code-point/package.json +0 -53
- package/dist/server/node_modules/is-fullwidth-code-point/readme.md +0 -31
- package/dist/server/node_modules/is-in-ci/cli.js +0 -5
- package/dist/server/node_modules/is-in-ci/index.d.ts +0 -15
- package/dist/server/node_modules/is-in-ci/index.js +0 -7
- package/dist/server/node_modules/is-in-ci/license +0 -9
- package/dist/server/node_modules/is-in-ci/package.json +0 -49
- package/dist/server/node_modules/is-in-ci/readme.md +0 -44
- package/dist/server/node_modules/is-unicode-supported/index.d.ts +0 -12
- package/dist/server/node_modules/is-unicode-supported/index.js +0 -21
- package/dist/server/node_modules/is-unicode-supported/license +0 -9
- package/dist/server/node_modules/is-unicode-supported/package.json +0 -47
- package/dist/server/node_modules/is-unicode-supported/readme.md +0 -35
- package/dist/server/node_modules/mimic-fn/index.d.ts +0 -54
- package/dist/server/node_modules/mimic-fn/index.js +0 -13
- package/dist/server/node_modules/mimic-fn/license +0 -9
- package/dist/server/node_modules/mimic-fn/package.json +0 -42
- package/dist/server/node_modules/mimic-fn/readme.md +0 -69
- package/dist/server/node_modules/onetime/index.d.ts +0 -64
- package/dist/server/node_modules/onetime/index.js +0 -44
- package/dist/server/node_modules/onetime/license +0 -9
- package/dist/server/node_modules/onetime/package.json +0 -43
- package/dist/server/node_modules/onetime/readme.md +0 -94
- package/dist/server/node_modules/patch-console/dist/index.d.ts +0 -4
- package/dist/server/node_modules/patch-console/dist/index.js +0 -45
- package/dist/server/node_modules/patch-console/dist/index.js.map +0 -1
- package/dist/server/node_modules/patch-console/license +0 -9
- package/dist/server/node_modules/patch-console/package.json +0 -53
- package/dist/server/node_modules/patch-console/readme.md +0 -62
- package/dist/server/node_modules/pg-int8/LICENSE +0 -13
- package/dist/server/node_modules/pg-int8/README.md +0 -16
- package/dist/server/node_modules/pg-int8/index.js +0 -100
- package/dist/server/node_modules/pg-int8/package.json +0 -24
- package/dist/server/node_modules/postgres-array/index.d.ts +0 -4
- package/dist/server/node_modules/postgres-array/index.js +0 -97
- package/dist/server/node_modules/postgres-array/license +0 -21
- package/dist/server/node_modules/postgres-array/package.json +0 -35
- package/dist/server/node_modules/postgres-array/readme.md +0 -43
- package/dist/server/node_modules/postgres-bytea/index.js +0 -33
- package/dist/server/node_modules/postgres-bytea/license +0 -21
- package/dist/server/node_modules/postgres-bytea/package.json +0 -34
- package/dist/server/node_modules/postgres-bytea/readme.md +0 -34
- package/dist/server/node_modules/postgres-date/index.js +0 -116
- package/dist/server/node_modules/postgres-date/license +0 -21
- package/dist/server/node_modules/postgres-date/package.json +0 -33
- package/dist/server/node_modules/postgres-date/readme.md +0 -49
- package/dist/server/node_modules/postgres-interval/index.d.ts +0 -20
- package/dist/server/node_modules/postgres-interval/index.js +0 -125
- package/dist/server/node_modules/postgres-interval/license +0 -21
- package/dist/server/node_modules/postgres-interval/package.json +0 -36
- package/dist/server/node_modules/postgres-interval/readme.md +0 -48
- package/dist/server/node_modules/react-reconciler/README.md +0 -353
- package/dist/server/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +0 -19
- package/dist/server/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js +0 -18
- package/dist/server/node_modules/react-reconciler/cjs/react-reconciler-reflection.development.js +0 -394
- package/dist/server/node_modules/react-reconciler/cjs/react-reconciler-reflection.production.js +0 -382
- package/dist/server/node_modules/react-reconciler/cjs/react-reconciler.development.js +0 -19736
- package/dist/server/node_modules/react-reconciler/cjs/react-reconciler.production.js +0 -11594
- package/dist/server/node_modules/react-reconciler/cjs/react-reconciler.profiling.js +0 -13427
- package/dist/server/node_modules/react-reconciler/constants.js +0 -7
- package/dist/server/node_modules/react-reconciler/index.js +0 -7
- package/dist/server/node_modules/react-reconciler/package.json +0 -34
- package/dist/server/node_modules/react-reconciler/reflection.js +0 -7
- package/dist/server/node_modules/restore-cursor/index.d.ts +0 -11
- package/dist/server/node_modules/restore-cursor/index.js +0 -11
- package/dist/server/node_modules/restore-cursor/license +0 -9
- package/dist/server/node_modules/restore-cursor/package.json +0 -55
- package/dist/server/node_modules/restore-cursor/readme.md +0 -31
- package/dist/server/node_modules/split2/LICENSE +0 -13
- package/dist/server/node_modules/split2/README.md +0 -85
- package/dist/server/node_modules/split2/bench.js +0 -27
- package/dist/server/node_modules/split2/index.js +0 -141
- package/dist/server/node_modules/split2/package.json +0 -39
- package/dist/server/node_modules/split2/test.js +0 -409
- package/dist/server/node_modules/string-width/index.d.ts +0 -39
- package/dist/server/node_modules/string-width/index.js +0 -82
- package/dist/server/node_modules/string-width/license +0 -9
- package/dist/server/node_modules/string-width/package.json +0 -64
- package/dist/server/node_modules/string-width/readme.md +0 -66
- package/dist/server/node_modules/terminal-size/index.d.ts +0 -17
- package/dist/server/node_modules/terminal-size/index.js +0 -139
- package/dist/server/node_modules/terminal-size/license +0 -9
- package/dist/server/node_modules/terminal-size/package.json +0 -49
- package/dist/server/node_modules/terminal-size/readme.md +0 -32
- package/dist/server/node_modules/widest-line/index.d.ts +0 -12
- package/dist/server/node_modules/widest-line/index.js +0 -11
- package/dist/server/node_modules/widest-line/license +0 -9
- package/dist/server/node_modules/widest-line/package.json +0 -60
- package/dist/server/node_modules/widest-line/readme.md +0 -26
- package/dist/server/node_modules/wrap-ansi/index.d.ts +0 -41
- package/dist/server/node_modules/wrap-ansi/index.js +0 -222
- package/dist/server/node_modules/wrap-ansi/license +0 -9
- package/dist/server/node_modules/wrap-ansi/package.json +0 -69
- package/dist/server/node_modules/wrap-ansi/readme.md +0 -75
- package/dist/server/node_modules/yoga-layout/README.md +0 -40
- package/dist/server/node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js +0 -75
- package/dist/server/node_modules/yoga-layout/dist/src/generated/YGEnums.d.ts +0 -189
- package/dist/server/node_modules/yoga-layout/dist/src/generated/YGEnums.js +0 -211
- package/dist/server/node_modules/yoga-layout/dist/src/generated/YGEnums.js.map +0 -1
- package/dist/server/node_modules/yoga-layout/dist/src/index.d.ts +0 -12
- package/dist/server/node_modules/yoga-layout/dist/src/index.js +0 -16
- package/dist/server/node_modules/yoga-layout/dist/src/index.js.map +0 -1
- package/dist/server/node_modules/yoga-layout/dist/src/load.d.ts +0 -11
- package/dist/server/node_modules/yoga-layout/dist/src/load.js +0 -17
- package/dist/server/node_modules/yoga-layout/dist/src/load.js.map +0 -1
- package/dist/server/node_modules/yoga-layout/dist/src/wrapAssembly.d.ts +0 -155
- package/dist/server/node_modules/yoga-layout/dist/src/wrapAssembly.js +0 -125
- package/dist/server/node_modules/yoga-layout/dist/src/wrapAssembly.js.map +0 -1
- package/dist/server/node_modules/yoga-layout/package.json +0 -53
- package/dist/server/node_modules/yoga-layout/src/Config.cpp +0 -54
- package/dist/server/node_modules/yoga-layout/src/Config.h +0 -44
- package/dist/server/node_modules/yoga-layout/src/Layout.h +0 -19
- package/dist/server/node_modules/yoga-layout/src/Node.cpp +0 -507
- package/dist/server/node_modules/yoga-layout/src/Node.h +0 -239
- package/dist/server/node_modules/yoga-layout/src/Size.h +0 -17
- package/dist/server/node_modules/yoga-layout/src/Value.h +0 -23
- package/dist/server/node_modules/yoga-layout/src/embind.cpp +0 -207
- package/dist/server/node_modules/yoga-layout/src/generated/YGEnums.ts +0 -210
- package/dist/server/node_modules/yoga-layout/src/index.ts +0 -23
- package/dist/server/node_modules/yoga-layout/src/load.ts +0 -25
- package/dist/server/node_modules/yoga-layout/src/wrapAssembly.ts +0 -336
- /package/dist/server/node_modules/{ansi-escapes → get-east-asian-width}/license +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Box.js","sourceRoot":"","sources":["../../src/components/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,UAAU,EAAE,UAAU,EAAyB,MAAM,OAAO,CAAC;AAI5E,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAC,iBAAiB,EAAC,MAAM,wBAAwB,CAAC;AAoDzD;;EAEE;AACF,MAAM,GAAG,GAAG,UAAU,CACrB,CACC,EACC,QAAQ,EACR,eAAe,EACf,YAAY,EAAE,SAAS,EACvB,aAAa,EAAE,UAAU,EACzB,WAAW,EAAE,IAAI,EACjB,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACR,EACD,GAAG,EACF,EAAE;IACH,MAAM,EAAC,qBAAqB,EAAC,GAAG,UAAU,CAAC,oBAAoB,CAAC,CAAC;IACjE,MAAM,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,sCAAW,SAAS,CAAY,CAAC,CAAC,CAAC,SAAS,CAAC;IACvE,IAAI,qBAAqB,IAAI,UAAU,EAAE,CAAC;QACzC,OAAO,IAAI,CAAC;IACb,CAAC;IAED,MAAM,UAAU,GAAG,CAClB,iCACC,GAAG,EAAE,GAAG,EACR,KAAK,EAAE;YACN,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,KAAK;YACpB,QAAQ,EAAE,CAAC;YACX,UAAU,EAAE,CAAC;YACb,GAAG,KAAK;YACR,eAAe;YACf,SAAS,EAAE,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,QAAQ,IAAI,SAAS;YACzD,SAAS,EAAE,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,QAAQ,IAAI,SAAS;SACzD,EACD,sBAAsB,EAAE;YACvB,IAAI;YACJ,KAAK,EAAE,SAAS;SAChB,IAEA,qBAAqB,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CACzC,CACV,CAAC;IAEF,yEAAyE;IACzE,IAAI,eAAe,EAAE,CAAC;QACrB,OAAO,CACN,oBAAC,iBAAiB,CAAC,QAAQ,IAAC,KAAK,EAAE,eAAe,IAChD,UAAU,CACiB,CAC7B,CAAC;IACH,CAAC;IAED,OAAO,UAAU,CAAC;AACnB,CAAC,CACD,CAAC;AAEF,GAAG,CAAC,WAAW,GAAG,KAAK,CAAC;AAExB,eAAe,GAAG,CAAC"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
|
-
var _arrify = _interopRequireDefault(require("arrify"));
|
|
13
|
-
|
|
14
|
-
var _chalk = _interopRequireDefault(require("chalk"));
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
-
|
|
18
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
19
|
-
|
|
20
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
21
|
-
|
|
22
|
-
const methods = ['hex', 'hsl', 'hsv', 'hwb', 'rgb', 'keyword', 'bgHex', 'bgHsl', 'bgHsv', 'bgHwb', 'bgRgb', 'bgKeyword'];
|
|
23
|
-
|
|
24
|
-
const Color = (_ref) => {
|
|
25
|
-
let {
|
|
26
|
-
children
|
|
27
|
-
} = _ref,
|
|
28
|
-
colorProps = _objectWithoutProperties(_ref, ["children"]);
|
|
29
|
-
|
|
30
|
-
if (children === '') {
|
|
31
|
-
return null;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const transformChildren = children => {
|
|
35
|
-
Object.keys(colorProps).forEach(method => {
|
|
36
|
-
if (colorProps[method]) {
|
|
37
|
-
if (methods.includes(method)) {
|
|
38
|
-
children = _chalk.default[method](...(0, _arrify.default)(colorProps[method]))(children);
|
|
39
|
-
} else if (typeof _chalk.default[method] === 'function') {
|
|
40
|
-
children = _chalk.default[method](children);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
return children;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
return _react.default.createElement("span", {
|
|
48
|
-
style: {
|
|
49
|
-
flexDirection: 'row'
|
|
50
|
-
},
|
|
51
|
-
unstable__transformChildren: transformChildren
|
|
52
|
-
}, children);
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
Color.propTypes = {
|
|
56
|
-
children: _propTypes.default.node
|
|
57
|
-
};
|
|
58
|
-
Color.defaultProps = {
|
|
59
|
-
children: ''
|
|
60
|
-
};
|
|
61
|
-
var _default = Color;
|
|
62
|
-
exports.default = _default;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import React, { type RefObject } from 'react';
|
|
2
|
-
import { type DOMElement, type CursorAnchorMode } from '../dom.js';
|
|
3
|
-
export type Props = {
|
|
4
|
-
/**
|
|
5
|
-
Optional reference to anchor cursor coordinates to a different element.
|
|
6
|
-
|
|
7
|
-
By default, `anchorRef` uses `anchor="textEnd"` behavior to follow the rendered end of that element's text, including wrapping and wide characters.
|
|
8
|
-
|
|
9
|
-
Use this for inputs where the cursor should stay at the visible end of text.
|
|
10
|
-
|
|
11
|
-
If `anchorRef` is set but currently unresolved, Ink hides the cursor for that frame unless `anchor="flow"` is used.
|
|
12
|
-
|
|
13
|
-
If multiple `<Cursor>` components are rendered in one frame, the last rendered one controls terminal cursor position.
|
|
14
|
-
*/
|
|
15
|
-
readonly anchorRef?: RefObject<DOMElement | null>;
|
|
16
|
-
/**
|
|
17
|
-
Anchor mode used to resolve cursor coordinates.
|
|
18
|
-
|
|
19
|
-
- `'flow'`: Anchor to `<Cursor />` position in layout flow.
|
|
20
|
-
Use this when you place `<Cursor />` exactly where it should appear.
|
|
21
|
-
|
|
22
|
-
- `'origin'`: Anchor to content origin (top-left) of `anchorRef` or parent when no `anchorRef` is provided.
|
|
23
|
-
Use this for manual `x/y` positioning.
|
|
24
|
-
|
|
25
|
-
- `'textEnd'`: Anchor to rendered end of text for `anchorRef` or parent when no `anchorRef` is provided.
|
|
26
|
-
Use this when cursor should follow wrapped text.
|
|
27
|
-
|
|
28
|
-
Defaults to `'flow'` when `anchorRef` is omitted and `'textEnd'` when `anchorRef` is provided.
|
|
29
|
-
|
|
30
|
-
`'flow'` is the default without `anchorRef` to avoid coupling cursor position to surrounding sibling text changes.
|
|
31
|
-
*/
|
|
32
|
-
readonly anchor?: CursorAnchorMode;
|
|
33
|
-
/**
|
|
34
|
-
Horizontal offset from resolved anchor position.
|
|
35
|
-
*/
|
|
36
|
-
readonly x?: number;
|
|
37
|
-
/**
|
|
38
|
-
Vertical offset from resolved anchor position.
|
|
39
|
-
*/
|
|
40
|
-
readonly y?: number;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
Declaratively position the terminal cursor relative to a container.
|
|
44
|
-
|
|
45
|
-
Use this component when building reusable inputs where absolute root coordinates are inconvenient.
|
|
46
|
-
|
|
47
|
-
`<Cursor>` must not be rendered inside `<Text>`.
|
|
48
|
-
|
|
49
|
-
@example
|
|
50
|
-
```jsx
|
|
51
|
-
import {Box, Cursor, Text} from 'ink';
|
|
52
|
-
import {useRef} from 'react';
|
|
53
|
-
|
|
54
|
-
const prompt = '> ';
|
|
55
|
-
const value = 'hello';
|
|
56
|
-
|
|
57
|
-
const Example = () => {
|
|
58
|
-
return (
|
|
59
|
-
<Box flexDirection="row">
|
|
60
|
-
<Text>{prompt}</Text>
|
|
61
|
-
<Text>{value}</Text>
|
|
62
|
-
<Cursor />
|
|
63
|
-
</Box>
|
|
64
|
-
);
|
|
65
|
-
};
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
```jsx
|
|
69
|
-
const ExampleWithAnchor = () => {
|
|
70
|
-
const lineReference = useRef();
|
|
71
|
-
|
|
72
|
-
return (
|
|
73
|
-
<Box flexDirection="column">
|
|
74
|
-
<Box ref={lineReference}>
|
|
75
|
-
<Text>{`${prompt}${value}`}</Text>
|
|
76
|
-
</Box>
|
|
77
|
-
<Cursor anchorRef={lineReference} />
|
|
78
|
-
</Box>
|
|
79
|
-
);
|
|
80
|
-
};
|
|
81
|
-
```
|
|
82
|
-
*/
|
|
83
|
-
export default function Cursor({ anchorRef, anchor, x, y }: Props): React.JSX.Element;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
Declaratively position the terminal cursor relative to a container.
|
|
4
|
-
|
|
5
|
-
Use this component when building reusable inputs where absolute root coordinates are inconvenient.
|
|
6
|
-
|
|
7
|
-
`<Cursor>` must not be rendered inside `<Text>`.
|
|
8
|
-
|
|
9
|
-
@example
|
|
10
|
-
```jsx
|
|
11
|
-
import {Box, Cursor, Text} from 'ink';
|
|
12
|
-
import {useRef} from 'react';
|
|
13
|
-
|
|
14
|
-
const prompt = '> ';
|
|
15
|
-
const value = 'hello';
|
|
16
|
-
|
|
17
|
-
const Example = () => {
|
|
18
|
-
return (
|
|
19
|
-
<Box flexDirection="row">
|
|
20
|
-
<Text>{prompt}</Text>
|
|
21
|
-
<Text>{value}</Text>
|
|
22
|
-
<Cursor />
|
|
23
|
-
</Box>
|
|
24
|
-
);
|
|
25
|
-
};
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
```jsx
|
|
29
|
-
const ExampleWithAnchor = () => {
|
|
30
|
-
const lineReference = useRef();
|
|
31
|
-
|
|
32
|
-
return (
|
|
33
|
-
<Box flexDirection="column">
|
|
34
|
-
<Box ref={lineReference}>
|
|
35
|
-
<Text>{`${prompt}${value}`}</Text>
|
|
36
|
-
</Box>
|
|
37
|
-
<Cursor anchorRef={lineReference} />
|
|
38
|
-
</Box>
|
|
39
|
-
);
|
|
40
|
-
};
|
|
41
|
-
```
|
|
42
|
-
*/
|
|
43
|
-
export default function Cursor({ anchorRef, anchor, x = 0, y = 0 }) {
|
|
44
|
-
const normalizedAnchorReference = anchorRef ?? undefined;
|
|
45
|
-
const normalizedAnchor = anchor ?? (normalizedAnchorReference ? 'textEnd' : 'flow');
|
|
46
|
-
return (React.createElement("ink-cursor", { internal_cursor: {
|
|
47
|
-
anchorRef: normalizedAnchorReference,
|
|
48
|
-
anchor: normalizedAnchor,
|
|
49
|
-
x,
|
|
50
|
-
y,
|
|
51
|
-
} }));
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=Cursor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cursor.js","sourceRoot":"","sources":["../../src/components/Cursor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAmD5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCE;AACF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAC,SAAS,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAQ;IACtE,MAAM,yBAAyB,GAC9B,SAAS,IAAI,SAAS,CAAC;IACxB,MAAM,gBAAgB,GACrB,MAAM,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IAE5D,OAAO,CACN,oCACC,eAAe,EAAE;YAChB,SAAS,EAAE,yBAAyB;YACpC,MAAM,EAAE,gBAAgB;YACxB,CAAC;YACD,CAAC;SACD,GACA,CACF,CAAC;AACH,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type CursorPosition } from '../log-update.js';
|
|
2
|
-
export type Props = {
|
|
3
|
-
/**
|
|
4
|
-
Set the cursor position relative to the Ink output.
|
|
5
|
-
|
|
6
|
-
Pass `undefined` to hide the cursor.
|
|
7
|
-
*/
|
|
8
|
-
readonly setCursorPosition: (position: CursorPosition | undefined) => void;
|
|
9
|
-
};
|
|
10
|
-
declare const CursorContext: import("react").Context<Props>;
|
|
11
|
-
export default CursorContext;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { createContext } from 'react';
|
|
2
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
3
|
-
const CursorContext = createContext({
|
|
4
|
-
setCursorPosition() { },
|
|
5
|
-
});
|
|
6
|
-
CursorContext.displayName = 'InternalCursorContext';
|
|
7
|
-
export default CursorContext;
|
|
8
|
-
//# sourceMappingURL=CursorContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CursorContext.js","sourceRoot":"","sources":["../../src/components/CursorContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAYpC,gEAAgE;AAChE,MAAM,aAAa,GAAG,aAAa,CAAQ;IAC1C,iBAAiB,KAAI,CAAC;CACtB,CAAC,CAAC;AAEH,aAAa,CAAC,WAAW,GAAG,uBAAuB,CAAC;AAEpD,eAAe,aAAa,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent, type ReactNode } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
readonly children: ReactNode;
|
|
4
|
-
readonly onError: (error: Error) => void;
|
|
5
|
-
};
|
|
6
|
-
type State = {
|
|
7
|
-
readonly error?: Error;
|
|
8
|
-
};
|
|
9
|
-
export default class ErrorBoundary extends PureComponent<Props, State> {
|
|
10
|
-
static displayName: string;
|
|
11
|
-
static getDerivedStateFromError(error: Error): {
|
|
12
|
-
error: Error;
|
|
13
|
-
};
|
|
14
|
-
state: State;
|
|
15
|
-
componentDidCatch(error: Error): void;
|
|
16
|
-
render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent } from 'react';
|
|
2
|
-
import ErrorOverview from './ErrorOverview.js';
|
|
3
|
-
// Error boundary must be a class component since getDerivedStateFromError
|
|
4
|
-
// and componentDidCatch are not available as hooks
|
|
5
|
-
export default class ErrorBoundary extends PureComponent {
|
|
6
|
-
static displayName = 'InternalErrorBoundary';
|
|
7
|
-
static getDerivedStateFromError(error) {
|
|
8
|
-
return { error };
|
|
9
|
-
}
|
|
10
|
-
state = {
|
|
11
|
-
error: undefined,
|
|
12
|
-
};
|
|
13
|
-
componentDidCatch(error) {
|
|
14
|
-
this.props.onError(error);
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
if (this.state.error) {
|
|
18
|
-
return React.createElement(ErrorOverview, { error: this.state.error });
|
|
19
|
-
}
|
|
20
|
-
return this.props.children;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=ErrorBoundary.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.js","sourceRoot":"","sources":["../../src/components/ErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,aAAa,EAAiB,MAAM,OAAO,CAAC;AAC3D,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAW/C,0EAA0E;AAC1E,mDAAmD;AACnD,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAA2B;IACrE,MAAM,CAAC,WAAW,GAAG,uBAAuB,CAAC;IAE7C,MAAM,CAAC,wBAAwB,CAAC,KAAY;QAC3C,OAAO,EAAC,KAAK,EAAC,CAAC;IAChB,CAAC;IAEQ,KAAK,GAAU;QACvB,KAAK,EAAE,SAAS;KAChB,CAAC;IAEO,iBAAiB,CAAC,KAAY;QACtC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;IAEQ,MAAM;QACd,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACtB,OAAO,oBAAC,aAAa,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GAAI,CAAC;QACnD,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;IAC5B,CAAC"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import * as fs from 'node:fs';
|
|
2
|
-
import { cwd } from 'node:process';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import StackUtils from 'stack-utils';
|
|
5
|
-
import codeExcerpt from 'code-excerpt';
|
|
6
|
-
import Box from './Box.js';
|
|
7
|
-
import Text from './Text.js';
|
|
8
|
-
// Error's source file is reported as file:///home/user/file.js
|
|
9
|
-
// This function removes the file://[cwd] part
|
|
10
|
-
const cleanupPath = (path) => {
|
|
11
|
-
return path?.replace(`file://${cwd()}/`, '');
|
|
12
|
-
};
|
|
13
|
-
const stackUtils = new StackUtils({
|
|
14
|
-
cwd: cwd(),
|
|
15
|
-
internals: StackUtils.nodeInternals(),
|
|
16
|
-
});
|
|
17
|
-
export default function ErrorOverview({ error }) {
|
|
18
|
-
const stack = error.stack ? error.stack.split('\n').slice(1) : undefined;
|
|
19
|
-
const origin = stack ? stackUtils.parseLine(stack[0]) : undefined;
|
|
20
|
-
const filePath = cleanupPath(origin?.file);
|
|
21
|
-
let excerpt;
|
|
22
|
-
let lineWidth = 0;
|
|
23
|
-
if (filePath && origin?.line && fs.existsSync(filePath)) {
|
|
24
|
-
const sourceCode = fs.readFileSync(filePath, 'utf8');
|
|
25
|
-
excerpt = codeExcerpt(sourceCode, origin.line);
|
|
26
|
-
if (excerpt) {
|
|
27
|
-
for (const { line } of excerpt) {
|
|
28
|
-
lineWidth = Math.max(lineWidth, String(line).length);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return (React.createElement(Box, { flexDirection: "column", padding: 1 },
|
|
33
|
-
React.createElement(Box, null,
|
|
34
|
-
React.createElement(Text, { backgroundColor: "red", color: "white" },
|
|
35
|
-
' ',
|
|
36
|
-
"ERROR",
|
|
37
|
-
' '),
|
|
38
|
-
React.createElement(Text, null,
|
|
39
|
-
" ",
|
|
40
|
-
error.message)),
|
|
41
|
-
origin && filePath && (React.createElement(Box, { marginTop: 1 },
|
|
42
|
-
React.createElement(Text, { dimColor: true },
|
|
43
|
-
filePath,
|
|
44
|
-
":",
|
|
45
|
-
origin.line,
|
|
46
|
-
":",
|
|
47
|
-
origin.column))),
|
|
48
|
-
origin && excerpt && (React.createElement(Box, { marginTop: 1, flexDirection: "column" }, excerpt.map(({ line, value }) => (React.createElement(Box, { key: line },
|
|
49
|
-
React.createElement(Box, { width: lineWidth + 1 },
|
|
50
|
-
React.createElement(Text, { dimColor: line !== origin.line, backgroundColor: line === origin.line ? 'red' : undefined, color: line === origin.line ? 'white' : undefined, "aria-label": line === origin.line
|
|
51
|
-
? `Line ${line}, error`
|
|
52
|
-
: `Line ${line}` },
|
|
53
|
-
String(line).padStart(lineWidth, ' '),
|
|
54
|
-
":")),
|
|
55
|
-
React.createElement(Text, { key: line, backgroundColor: line === origin.line ? 'red' : undefined, color: line === origin.line ? 'white' : undefined }, ' ' + value)))))),
|
|
56
|
-
error.stack && (React.createElement(Box, { marginTop: 1, flexDirection: "column" }, error.stack
|
|
57
|
-
.split('\n')
|
|
58
|
-
.slice(1)
|
|
59
|
-
.map(line => {
|
|
60
|
-
const parsedLine = stackUtils.parseLine(line);
|
|
61
|
-
// If the line from the stack cannot be parsed, we print out the unparsed line.
|
|
62
|
-
if (!parsedLine) {
|
|
63
|
-
return (React.createElement(Box, { key: line },
|
|
64
|
-
React.createElement(Text, { dimColor: true }, "- "),
|
|
65
|
-
React.createElement(Text, { dimColor: true, bold: true },
|
|
66
|
-
line,
|
|
67
|
-
"\\t",
|
|
68
|
-
' ')));
|
|
69
|
-
}
|
|
70
|
-
return (React.createElement(Box, { key: line },
|
|
71
|
-
React.createElement(Text, { dimColor: true }, "- "),
|
|
72
|
-
React.createElement(Text, { dimColor: true, bold: true }, parsedLine.function),
|
|
73
|
-
React.createElement(Text, { dimColor: true, color: "gray", "aria-label": `at ${cleanupPath(parsedLine.file) ?? ''} line ${parsedLine.line} column ${parsedLine.column}` },
|
|
74
|
-
' ',
|
|
75
|
-
"(",
|
|
76
|
-
cleanupPath(parsedLine.file) ?? '',
|
|
77
|
-
":",
|
|
78
|
-
parsedLine.line,
|
|
79
|
-
":",
|
|
80
|
-
parsedLine.column,
|
|
81
|
-
")")));
|
|
82
|
-
})))));
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=ErrorOverview.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorOverview.js","sourceRoot":"","sources":["../../src/components/ErrorOverview.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type Props = {
|
|
2
|
-
readonly activeId?: string;
|
|
3
|
-
readonly add: (id: string, options: {
|
|
4
|
-
autoFocus: boolean;
|
|
5
|
-
}) => void;
|
|
6
|
-
readonly remove: (id: string) => void;
|
|
7
|
-
readonly activate: (id: string) => void;
|
|
8
|
-
readonly deactivate: (id: string) => void;
|
|
9
|
-
readonly enableFocus: () => void;
|
|
10
|
-
readonly disableFocus: () => void;
|
|
11
|
-
readonly focusNext: () => void;
|
|
12
|
-
readonly focusPrevious: () => void;
|
|
13
|
-
readonly focus: (id: string) => void;
|
|
14
|
-
};
|
|
15
|
-
declare const FocusContext: import("react").Context<Props>;
|
|
16
|
-
export default FocusContext;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { createContext } from 'react';
|
|
2
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
3
|
-
const FocusContext = createContext({
|
|
4
|
-
activeId: undefined,
|
|
5
|
-
add() { },
|
|
6
|
-
remove() { },
|
|
7
|
-
activate() { },
|
|
8
|
-
deactivate() { },
|
|
9
|
-
enableFocus() { },
|
|
10
|
-
disableFocus() { },
|
|
11
|
-
focusNext() { },
|
|
12
|
-
focusPrevious() { },
|
|
13
|
-
focus() { },
|
|
14
|
-
});
|
|
15
|
-
FocusContext.displayName = 'InternalFocusContext';
|
|
16
|
-
export default FocusContext;
|
|
17
|
-
//# sourceMappingURL=FocusContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FocusContext.js","sourceRoot":"","sources":["../../src/components/FocusContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAepC,gEAAgE;AAChE,MAAM,YAAY,GAAG,aAAa,CAAQ;IACzC,QAAQ,EAAE,SAAS;IACnB,GAAG,KAAI,CAAC;IACR,MAAM,KAAI,CAAC;IACX,QAAQ,KAAI,CAAC;IACb,UAAU,KAAI,CAAC;IACf,WAAW,KAAI,CAAC;IAChB,YAAY,KAAI,CAAC;IACjB,SAAS,KAAI,CAAC;IACd,aAAa,KAAI,CAAC;IAClB,KAAK,KAAI,CAAC;CACV,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAElD,eAAe,YAAY,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type Props = {
|
|
3
|
-
/**
|
|
4
|
-
Number of newlines to insert.
|
|
5
|
-
|
|
6
|
-
@default 1
|
|
7
|
-
*/
|
|
8
|
-
readonly count?: number;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
Adds one or more newline (`\n`) characters. Must be used within `<Text>` components.
|
|
12
|
-
*/
|
|
13
|
-
export default function Newline({ count }: Props): React.JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
Adds one or more newline (`\n`) characters. Must be used within `<Text>` components.
|
|
4
|
-
*/
|
|
5
|
-
export default function Newline({ count = 1 }) {
|
|
6
|
-
return React.createElement("ink-text", null, '\n'.repeat(count));
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=Newline.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Newline.js","sourceRoot":"","sources":["../../src/components/Newline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B;;EAEE;AACF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAC,KAAK,GAAG,CAAC,EAAQ;IACjD,OAAO,sCAAW,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAY,CAAC;AAClD,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Box from './Box.js';
|
|
3
|
-
/**
|
|
4
|
-
A flexible space that expands along the major axis of its containing layout.
|
|
5
|
-
|
|
6
|
-
It's useful as a shortcut for filling all the available space between elements.
|
|
7
|
-
*/
|
|
8
|
-
export default function Spacer() {
|
|
9
|
-
return React.createElement(Box, { flexGrow: 1 });
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=Spacer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Spacer.js","sourceRoot":"","sources":["../../src/components/Spacer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,UAAU,CAAC;AAE3B;;;;EAIE;AACF,MAAM,CAAC,OAAO,UAAU,MAAM;IAC7B,OAAO,oBAAC,GAAG,IAAC,QAAQ,EAAE,CAAC,GAAI,CAAC;AAC7B,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React, { type ReactNode } from 'react';
|
|
2
|
-
import { type Styles } from '../styles.js';
|
|
3
|
-
export type Props<T> = {
|
|
4
|
-
/**
|
|
5
|
-
Array of items of any type to render using the function you pass as a component child.
|
|
6
|
-
*/
|
|
7
|
-
readonly items: T[];
|
|
8
|
-
/**
|
|
9
|
-
Styles to apply to a container of child elements. See <Box> for supported properties.
|
|
10
|
-
*/
|
|
11
|
-
readonly style?: Styles;
|
|
12
|
-
/**
|
|
13
|
-
Function that is called to render every item in the `items` array. The first argument is the item itself, and the second argument is the index of that item in the `items` array. Note that a `key` must be assigned to the root component.
|
|
14
|
-
*/
|
|
15
|
-
readonly children: (item: T, index: number) => ReactNode;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
`<Static>` component permanently renders its output above everything else. It's useful for displaying activity like completed tasks or logs—things that don't change after they're rendered (hence the name "Static").
|
|
19
|
-
|
|
20
|
-
It's preferred to use `<Static>` for use cases like these when you can't know or control the number of items that need to be rendered.
|
|
21
|
-
|
|
22
|
-
For example, [Tap](https://github.com/tapjs/node-tap) uses `<Static>` to display a list of completed tests. [Gatsby](https://github.com/gatsbyjs/gatsby) uses it to display a list of generated pages while still displaying a live progress bar.
|
|
23
|
-
*/
|
|
24
|
-
export default function Static<T>(props: Props<T>): React.JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React, { useMemo, useState, useLayoutEffect } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
`<Static>` component permanently renders its output above everything else. It's useful for displaying activity like completed tasks or logs—things that don't change after they're rendered (hence the name "Static").
|
|
4
|
-
|
|
5
|
-
It's preferred to use `<Static>` for use cases like these when you can't know or control the number of items that need to be rendered.
|
|
6
|
-
|
|
7
|
-
For example, [Tap](https://github.com/tapjs/node-tap) uses `<Static>` to display a list of completed tests. [Gatsby](https://github.com/gatsbyjs/gatsby) uses it to display a list of generated pages while still displaying a live progress bar.
|
|
8
|
-
*/
|
|
9
|
-
export default function Static(props) {
|
|
10
|
-
const { items, children: render, style: customStyle } = props;
|
|
11
|
-
const [index, setIndex] = useState(0);
|
|
12
|
-
const itemsToRender = useMemo(() => {
|
|
13
|
-
return items.slice(index);
|
|
14
|
-
}, [items, index]);
|
|
15
|
-
useLayoutEffect(() => {
|
|
16
|
-
setIndex(items.length);
|
|
17
|
-
}, [items.length]);
|
|
18
|
-
const children = itemsToRender.map((item, itemIndex) => {
|
|
19
|
-
return render(item, index + itemIndex);
|
|
20
|
-
});
|
|
21
|
-
const style = useMemo(() => ({
|
|
22
|
-
position: 'absolute',
|
|
23
|
-
flexDirection: 'column',
|
|
24
|
-
...customStyle,
|
|
25
|
-
}), [customStyle]);
|
|
26
|
-
return (React.createElement("ink-box", { internal_static: true, style: style }, children));
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=Static.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Static.js","sourceRoot":"","sources":["../../src/components/Static.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAiB,MAAM,OAAO,CAAC;AAoBhF;;;;;;EAME;AACF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAI,KAAe;IAChD,MAAM,EAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAC,GAAG,KAAK,CAAC;IAC5D,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEtC,MAAM,aAAa,GAAQ,OAAO,CAAC,GAAG,EAAE;QACvC,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;IAEnB,eAAe,CAAC,GAAG,EAAE;QACpB,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAEnB,MAAM,QAAQ,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE;QACtD,OAAO,MAAM,CAAC,IAAI,EAAE,KAAK,GAAG,SAAS,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;IAEH,MAAM,KAAK,GAAW,OAAO,CAC5B,GAAG,EAAE,CAAC,CAAC;QACN,QAAQ,EAAE,UAAU;QACpB,aAAa,EAAE,QAAQ;QACvB,GAAG,WAAW;KACd,CAAC,EACF,CAAC,WAAW,CAAC,CACb,CAAC;IAEF,OAAO,CACN,iCAAS,eAAe,QAAC,KAAK,EAAE,KAAK,IACnC,QAAQ,CACA,CACV,CAAC;AACH,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type Props = {
|
|
2
|
-
/**
|
|
3
|
-
Stderr stream passed to `render()` in `options.stderr` or `process.stderr` by default.
|
|
4
|
-
*/
|
|
5
|
-
readonly stderr: NodeJS.WriteStream;
|
|
6
|
-
/**
|
|
7
|
-
Write any string to stderr while preserving Ink's output. It's useful when you want to display external information outside of Ink's rendering and ensure there's no conflict between the two. It's similar to `<Static>`, except it can't accept components; it only works with strings.
|
|
8
|
-
*/
|
|
9
|
-
readonly write: (data: string) => void;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
`StderrContext` is a React context that exposes the stderr stream.
|
|
13
|
-
*/
|
|
14
|
-
declare const StderrContext: import("react").Context<Props>;
|
|
15
|
-
export default StderrContext;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import process from 'node:process';
|
|
2
|
-
import { createContext } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
`StderrContext` is a React context that exposes the stderr stream.
|
|
5
|
-
*/
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
-
const StderrContext = createContext({
|
|
8
|
-
stderr: process.stderr,
|
|
9
|
-
write() { },
|
|
10
|
-
});
|
|
11
|
-
StderrContext.displayName = 'InternalStderrContext';
|
|
12
|
-
export default StderrContext;
|
|
13
|
-
//# sourceMappingURL=StderrContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StderrContext.js","sourceRoot":"","sources":["../../src/components/StderrContext.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAcpC;;EAEE;AACF,gEAAgE;AAChE,MAAM,aAAa,GAAG,aAAa,CAAQ;IAC1C,MAAM,EAAE,OAAO,CAAC,MAAM;IACtB,KAAK,KAAI,CAAC;CACV,CAAC,CAAC;AAEH,aAAa,CAAC,WAAW,GAAG,uBAAuB,CAAC;AAEpD,eAAe,aAAa,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from 'node:events';
|
|
2
|
-
export type Props = {
|
|
3
|
-
/**
|
|
4
|
-
The stdin stream passed to `render()` in `options.stdin`, or `process.stdin` by default. Useful if your app needs to handle user input.
|
|
5
|
-
*/
|
|
6
|
-
readonly stdin: NodeJS.ReadStream;
|
|
7
|
-
/**
|
|
8
|
-
Ink exposes this function via own `<StdinContext>` to be able to handle Ctrl+C, that's why you should use Ink's `setRawMode` instead of `process.stdin.setRawMode`. If the `stdin` stream passed to Ink does not support setRawMode, this function does nothing.
|
|
9
|
-
*/
|
|
10
|
-
readonly setRawMode: (value: boolean) => void;
|
|
11
|
-
/**
|
|
12
|
-
A boolean flag determining if the current `stdin` supports `setRawMode`. A component using `setRawMode` might want to use `isRawModeSupported` to nicely fall back in environments where raw mode is not supported.
|
|
13
|
-
*/
|
|
14
|
-
readonly isRawModeSupported: boolean;
|
|
15
|
-
readonly internal_exitOnCtrlC: boolean;
|
|
16
|
-
readonly internal_eventEmitter: EventEmitter;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
`StdinContext` is a React context that exposes the input stream.
|
|
20
|
-
*/
|
|
21
|
-
declare const StdinContext: import("react").Context<Props>;
|
|
22
|
-
export default StdinContext;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from 'node:events';
|
|
2
|
-
import process from 'node:process';
|
|
3
|
-
import { createContext } from 'react';
|
|
4
|
-
/**
|
|
5
|
-
`StdinContext` is a React context that exposes the input stream.
|
|
6
|
-
*/
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
-
const StdinContext = createContext({
|
|
9
|
-
stdin: process.stdin,
|
|
10
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11
|
-
internal_eventEmitter: new EventEmitter(),
|
|
12
|
-
setRawMode() { },
|
|
13
|
-
isRawModeSupported: false,
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
15
|
-
internal_exitOnCtrlC: true,
|
|
16
|
-
});
|
|
17
|
-
StdinContext.displayName = 'InternalStdinContext';
|
|
18
|
-
export default StdinContext;
|
|
19
|
-
//# sourceMappingURL=StdinContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StdinContext.js","sourceRoot":"","sources":["../../src/components/StdinContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAuBpC;;EAEE;AACF,gEAAgE;AAChE,MAAM,YAAY,GAAG,aAAa,CAAQ;IACzC,KAAK,EAAE,OAAO,CAAC,KAAK;IACpB,gEAAgE;IAChE,qBAAqB,EAAE,IAAI,YAAY,EAAE;IACzC,UAAU,KAAI,CAAC;IACf,kBAAkB,EAAE,KAAK;IACzB,gEAAgE;IAChE,oBAAoB,EAAE,IAAI;CAC1B,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAElD,eAAe,YAAY,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type Props = {
|
|
2
|
-
/**
|
|
3
|
-
Stdout stream passed to `render()` in `options.stdout` or `process.stdout` by default.
|
|
4
|
-
*/
|
|
5
|
-
readonly stdout: NodeJS.WriteStream;
|
|
6
|
-
/**
|
|
7
|
-
Write any string to stdout while preserving Ink's output. It's useful when you want to display external information outside of Ink's rendering and ensure there's no conflict between the two. It's similar to `<Static>`, except it can't accept components; it only works with strings.
|
|
8
|
-
*/
|
|
9
|
-
readonly write: (data: string) => void;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
`StdoutContext` is a React context that exposes the stdout stream where Ink renders your app.
|
|
13
|
-
*/
|
|
14
|
-
declare const StdoutContext: import("react").Context<Props>;
|
|
15
|
-
export default StdoutContext;
|