decocms 2.316.0 → 2.316.2
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-BhKIfxeV.js → AlertCircle-CUtXIfwC.js} +1 -1
- package/dist/client/assets/{Archive-Dz0wtILE.js → Archive-Btl9BXLu.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-D2IzKz0U.js → ArrowNarrowLeft-CVkIxPAV.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-DQNhEvxd.js → ArrowUpRight-BrfnA0N_.js} +1 -1
- package/dist/client/assets/{Check-B3zx_U26.js → Check-Ccw422Wb.js} +1 -1
- package/dist/client/assets/{CheckCircle-S5ffz95T.js → CheckCircle-C3sPsdSO.js} +1 -1
- package/dist/client/assets/{ChevronDown-B2rzld2y.js → ChevronDown-cpZNJlz9.js} +1 -1
- package/dist/client/assets/{ChevronRight-E3ry5bv1.js → ChevronRight-CeUhrzuf.js} +1 -1
- package/dist/client/assets/{ChevronUp-CR14Z0nx.js → ChevronUp-C-rBrlqd.js} +1 -1
- package/dist/client/assets/{Container-hpy3kvOB.js → Container-OQiFme-7.js} +1 -1
- package/dist/client/assets/{DotsVertical-DlBHJ9PJ.js → DotsVertical-BV7jVmIB.js} +1 -1
- package/dist/client/assets/{LayoutLeft-O15r8yaV.js → LayoutLeft-BuJA8_jK.js} +1 -1
- package/dist/client/assets/{LinkExternal01-CqYIOZ9A.js → LinkExternal01-CRxfzQ_Z.js} +1 -1
- package/dist/client/assets/{Lock01-BWTd97_q.js → Lock01-D2YNxdLq.js} +1 -1
- package/dist/client/assets/{Palette-48b46GGh.js → Palette-By9pNqp1.js} +1 -1
- package/dist/client/assets/{Play-CWd0g6Ov.js → Play-CcNC_puc.js} +1 -1
- package/dist/client/assets/{Plus-Dld8jPbl.js → Plus-D1tHeJo2.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-DlZMdaR5.js → RefreshCcw01-BESGm5a8.js} +1 -1
- package/dist/client/assets/{SearchMd-BzVtNNV8.js → SearchMd-eCR8N7AG.js} +1 -1
- package/dist/client/assets/{Settings02-Yw9y8zcL.js → Settings02-xGJb-3cc.js} +1 -1
- package/dist/client/assets/{Shield01-Bryrtn4R.js → Shield01-CA7f1yxn.js} +1 -1
- package/dist/client/assets/{Star01-D7-_AozX.js → Star01-nv1oI22I.js} +1 -1
- package/dist/client/assets/{Sun-BRoJ4FPT.js → Sun-hmutQjwc.js} +1 -1
- package/dist/client/assets/{Tool01-C_J_zDPh.js → Tool01-DmFqON6q.js} +1 -1
- package/dist/client/assets/{Trash01-CWiWK8tz.js → Trash01-IeycYlZQ.js} +1 -1
- package/dist/client/assets/{User01-Cuf_FrNk.js → User01-CnizOinw.js} +1 -1
- package/dist/client/assets/{Users03-BvEJiMrD.js → Users03-y_ec4Rh1.js} +1 -1
- package/dist/client/assets/{X-DCaJ2DR_.js → X-C63lgCLS.js} +1 -1
- package/dist/client/assets/{XCircle-Xm8lpkAu.js → XCircle-BkB1Kg5O.js} +1 -1
- package/dist/client/assets/{XClose-BpbAJCm9.js → XClose-DA8jbEWY.js} +1 -1
- package/dist/client/assets/{Zap-DkdmeY_3.js → Zap-N-AnbCTG.js} +1 -1
- package/dist/client/assets/{ZapSquare-D31ZX-yT.js → ZapSquare-Biue2YhF.js} +1 -1
- package/dist/client/assets/{accordion-D2I2JgOz.js → accordion-C4V_UW2A.js} +1 -1
- package/dist/client/assets/{agent-icon-DIgcdFeV.js → agent-icon-CGz6_qSV.js} +1 -1
- package/dist/client/assets/{agents-list-DJEDnQKa.js → agents-list-TldZe4YF.js} +1 -1
- package/dist/client/assets/{ai-providers-BKQlREzu.js → ai-providers-DGBj5bEk.js} +1 -1
- package/dist/client/assets/{alert-dialog-CoBaZf61.js → alert-dialog-BTkTE2x9.js} +1 -1
- package/dist/client/assets/{auth-catchall-C__PbIds.js → auth-catchall-8PNCF3Wj.js} +1 -1
- package/dist/client/assets/{automation-list-row-BjJTW98i.js → automation-list-row-BY-_98AX.js} +1 -1
- package/dist/client/assets/{automations-sFtOtWq7.js → automations-CqPMUDuQ.js} +1 -1
- package/dist/client/assets/{avatar-C31fe2qO.js → avatar-Bb8VCoXQ.js} +1 -1
- package/dist/client/assets/{badge-wVDQydbB.js → badge-DP5IQfr9.js} +1 -1
- package/dist/client/assets/{brand-context-CQ0dSgsx.js → brand-context-CPtzFC3q.js} +1 -1
- package/dist/client/assets/{card-BsjNx5Cg.js → card-Bl-Rmbpi.js} +1 -1
- package/dist/client/assets/{chat-context-CXqWCM0D.js → chat-context-CZtWWj-u.js} +1 -1
- package/dist/client/assets/{checkbox-B5i71aX9.js → checkbox-B4-n2Voa.js} +1 -1
- package/dist/client/assets/{collection-detail-w94sCgAJ.js → collection-detail-DjrRkSmH.js} +1 -1
- package/dist/client/assets/{collection-display-button-Dy9WKszB.js → collection-display-button-BCIVtUBW.js} +1 -1
- package/dist/client/assets/{collection-search-DRd31o69.js → collection-search-ByjHguQI.js} +1 -1
- package/dist/client/assets/{collection-search-CkG6QTlc.js → collection-search-DEySGVjR.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BIwFJIlS.js → collection-table-wrapper-BQ8LubEz.js} +1 -1
- package/dist/client/assets/{collection-tabs-DZIZ-iDz.js → collection-tabs-CU9XDvba.js} +1 -1
- package/dist/client/assets/{collections-BbDNQEWM.js → collections-D541sKCa.js} +1 -1
- package/dist/client/assets/{command-DGrDaXPR.js → command-MAfm8eaf.js} +1 -1
- package/dist/client/assets/{connection-card-CtNK-usI.js → connection-card-C9CMuiWA.js} +1 -1
- package/dist/client/assets/{connection-detail-Dy49P_Wb.js → connection-detail-Du5PjTQN.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Ck24jZcw.js → connection-form-helpers-1qctTRqV.js} +1 -1
- package/dist/client/assets/{connections-YpkySNNU.js → connections-DYgmyz3C.js} +1 -1
- package/dist/client/assets/{constants-hHr1XnHs.js → constants-CjJyIjLn.js} +1 -1
- package/dist/client/assets/{constants-ClujOLL0.js → constants-CmcFrIt1.js} +1 -1
- package/dist/client/assets/{dialog-DlXEbbro.js → dialog-C8PiJXDq.js} +1 -1
- package/dist/client/assets/{domain-settings-Bk8xfxCT.js → domain-settings-BqGEv34a.js} +1 -1
- package/dist/client/assets/{drawer-PL1KJG8h.js → drawer-SuAP4nw3.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DX0TPN0k.js → dropdown-menu-B6XbAhub.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-BN4WTDcX.js → dynamic-plugin-layout-zW_YPWvS.js} +1 -1
- package/dist/client/assets/{empty-state-BDuWm3OO.js → empty-state-CG0ziTmf.js} +1 -1
- package/dist/client/assets/{empty-state-D8kZInFe.js → empty-state-ChZyciKg.js} +1 -1
- package/dist/client/assets/{extract-connection-data-D2pRgNGp.js → extract-connection-data-CH0LUcT-.js} +1 -1
- package/dist/client/assets/{features-Cfl0ad_g.js → features-BwQY7IjX.js} +1 -1
- package/dist/client/assets/{form-lvEVsZiS.js → form-C_Vw9izm.js} +1 -1
- package/dist/client/assets/{general-DTam8mrI.js → general-CLqSOIWH.js} +1 -1
- package/dist/client/assets/{index-xu72xd1g.js → index-4sYeFn0S.js} +1 -1
- package/dist/client/assets/{index-Bq8MNgeV.js → index-B3N0ijMe.js} +2 -2
- package/dist/client/assets/{index-CuEDzA2l.js → index-B5tvQ-SE.js} +1 -1
- package/dist/client/assets/{index-DF2eiQ1x.js → index-Bn0UKgPw.js} +1 -1
- package/dist/client/assets/{index-DJVBUrUD.js → index-BtaMjmKz.js} +1 -1
- package/dist/client/assets/{index-mhkzUFBK.js → index-CQv-4_0B.js} +1 -1
- package/dist/client/assets/{index-Ea3ltYi1.js → index-Ccxjprlf.js} +20 -20
- package/dist/client/assets/{index-BRQL1Qy9.js → index-CdOnHCPx.js} +1 -1
- package/dist/client/assets/{index-5QFk1v1j.js → index-CtJF4A1M.js} +1 -1
- package/dist/client/assets/{index-C0JHkPGv.js → index-D07mVDo7.js} +1 -1
- package/dist/client/assets/{index-C-ZizHKt.js → index-D5WZXYzH.js} +1 -1
- package/dist/client/assets/{index-Fz2lfOzM.js → index-DBM1DnAx.js} +1 -1
- package/dist/client/assets/{index-s_hf2jI7.js → index-DIhFNhBy.js} +1 -1
- package/dist/client/assets/{index-n7gxPtHW.js → index-DaDKcZx1.js} +1 -1
- package/dist/client/assets/{index-DhY6sTVx.js → index-MYhsZ8uD.js} +1 -1
- package/dist/client/assets/{index-DaOIazOa.js → index-VVahlVGx.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-DKVQWAgx.js → infiniteQueryObserver-CFUccQoY.js} +1 -1
- package/dist/client/assets/{input-DTt32vul.js → input-t1YlgH6I.js} +1 -1
- package/dist/client/assets/{integration-icon-C60b_d7I.js → integration-icon-BtzcxrlN.js} +1 -1
- package/dist/client/assets/{label-BhsxXb5j.js → label-DqZ3xuXa.js} +1 -1
- package/dist/client/assets/{layout-R2hI-PPe.js → layout-CN45dcgI.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-cabC6cgI.js → lean-canvas-recruit-modal-Bjwqo_gw.js} +1 -1
- package/dist/client/assets/{login-Dva0Y2V_.js → login-AnZ_hiQc.js} +1 -1
- package/dist/client/assets/{members-Ou1keNAh.js → members-iSwHLVLc.js} +1 -1
- package/dist/client/assets/{monaco-editor-CMrJ86sf.js → monaco-editor-B-GoBXtk.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-tiSP7a3c.js → monitoring-stats-row-D2ikvjk9.js} +1 -1
- package/dist/client/assets/{oauth-callback-Cz2eV7A_.js → oauth-callback-DZdNeSYS.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-C9l8YAob.js → oauth-callback-ai-provider-CmcHfY8z.js} +1 -1
- package/dist/client/assets/{onboarding-RgB912Pu.js → onboarding-CSFkAYKn.js} +1 -1
- package/dist/client/assets/{org-layout-B68eO6KC.js → org-layout-MhC4Qi2j.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-Dy7mAYsZ.js → org-plugin-layout-v3On4cF4.js} +1 -1
- package/dist/client/assets/{pair-mPsfY4Tl.js → pair-C3CCgNgt.js} +52 -52
- package/dist/client/assets/{plugin-empty-state-DNUBfOpk.js → plugin-empty-state-A7iG48Mg.js} +1 -1
- package/dist/client/assets/{plugin-header-D-036HBF.js → plugin-header-Bs3leeaa.js} +1 -1
- package/dist/client/assets/{plugin-layout-MmU0m6ZW.js → plugin-layout-BS79Aht2.js} +1 -1
- package/dist/client/assets/{popover-BJlGGBoZ.js → popover-GjQldSsa.js} +1 -1
- package/dist/client/assets/{profile-CDeQH0Ne.js → profile-D-pIBEjg.js} +1 -1
- package/dist/client/assets/{project-app-view-DhcSNy7a.js → project-app-view-BqjrqgzX.js} +1 -1
- package/dist/client/assets/registry-BzLfRgnp.js +2 -0
- package/dist/client/assets/{registry-layout-DjRsP-ha.js → registry-layout-D60NS6tY.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CanoKJcr.js → required-auth-layout-B7ZjdWLg.js} +1 -1
- package/dist/client/assets/{reset-password-CeQ244pS.js → reset-password-CmC0LepN.js} +1 -1
- package/dist/client/assets/{roles-ClefMxwg.js → roles-BsRaXL8k.js} +1 -1
- package/dist/client/assets/{scroll-area-Bg2pYWAU.js → scroll-area-DGuVxP9B.js} +1 -1
- package/dist/client/assets/{search-input-CtBB2Ogw.js → search-input-DUMgPofa.js} +1 -1
- package/dist/client/assets/{select-Bmu7KX9g.js → select-C6LJ-qZk.js} +1 -1
- package/dist/client/assets/{select-model-A6plReXc.js → select-model-CTQ1Ef9H.js} +1 -1
- package/dist/client/assets/{settings-layout-arVQNb4q.js → settings-layout-BORw4NbB.js} +1 -1
- package/dist/client/assets/{settings-section-Bh35ipKE.js → settings-section-BXgkeIdc.js} +1 -1
- package/dist/client/assets/{shell-layout-G1fWb3Wf.js → shell-layout-C-KiCZAL.js} +1 -1
- package/dist/client/assets/{sidebar-CaCy2pvj.js → sidebar-DC8b4t6M.js} +1 -1
- package/dist/client/assets/{skeleton-B2ZrUZa6.js → skeleton-DMpf-C3P.js} +1 -1
- package/dist/client/assets/{spinner-M0_j9E66.js → spinner-BN00SFRY.js} +1 -1
- package/dist/client/assets/{sso-BP3gjZB7.js → sso-Df0_hBqL.js} +1 -1
- package/dist/client/assets/{store-B88v1kcS.js → store-B6hVgdLD.js} +1 -1
- package/dist/client/assets/store-registry-BTMEZZNw.js +2 -0
- package/dist/client/assets/{switch-MKqFhI8u.js → switch-XlpH18pA.js} +1 -1
- package/dist/client/assets/{table-Dpz7V2d2.js → table-0An9LWy-.js} +1 -1
- package/dist/client/assets/{tabs-Jp4EeqTR.js → tabs-O1R9U7Ur.js} +1 -1
- package/dist/client/assets/{task-status-Ch-lJ70q.js → task-status-DIXYIX6U.js} +1 -1
- package/dist/client/assets/{textarea-D4e6a8Nz.js → textarea-BVeCELvS.js} +1 -1
- package/dist/client/assets/{toggle-group-BDnmrZSN.js → toggle-group-BrCYmglG.js} +1 -1
- package/dist/client/assets/{tools-list-DuzUp3Cr.js → tools-list-BBH__HqN.js} +1 -1
- package/dist/client/assets/{tooltip-Cop6BWIB.js → tooltip-D_KYUaTY.js} +1 -1
- package/dist/client/assets/{types-B1bS009C.js → types-D5VFAtuD.js} +1 -1
- package/dist/client/assets/{use-ai-providers-BGcGBNhE.js → use-ai-providers-D1Gd_B23.js} +1 -1
- package/dist/client/assets/{use-collections-8VzaVe93.js → use-collections-Cqjc7P8G.js} +1 -1
- package/dist/client/assets/{use-connection-Lr8heJ8D.js → use-connection-BIHmIl4c.js} +1 -1
- package/dist/client/assets/{use-copy-Cu8-dSUz.js → use-copy-C_1CDwM3.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-BobcuW0I.js → use-create-virtual-mcp-CAXfmcVs.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-CyEn9Ro2.js → use-debounced-autosave-CHZpR2fH.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CiJL_0vR.js → use-decopilot-events-C4C_kTbf.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CiGpEvZr.js → use-delete-connection-s3Ve1Sl_.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BkIExLyi.js → use-infinite-scroll-BHuVaefo.js} +1 -1
- package/dist/client/assets/{use-list-state-DbpCBDBf.js → use-list-state-BK9s1zn4.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DQxTqUp3.js → use-mcp-tools-CclZhRpl.js} +1 -1
- package/dist/client/assets/{use-members-B_II-0yJ.js → use-members-CZYThJQZ.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-C4qiakGR.js → use-navigate-to-agent-Cz6wq5hE.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-BACib0-t.js → use-org-auth-client-D-j4hyAV.js} +1 -1
- package/dist/client/assets/{use-org-sso-Dam1kDCD.js → use-org-sso-BFDAXwGH.js} +1 -1
- package/dist/client/assets/{use-organization-roles-STx8KC7J.js → use-organization-roles-NjEscIo4.js} +1 -1
- package/dist/client/assets/{use-organization-settings-4FSfpkha.js → use-organization-settings-CNcnwjVj.js} +1 -1
- package/dist/client/assets/{use-registry-connections-Dr0EGoqa.js → use-registry-connections-SMKAO0tY.js} +1 -1
- package/dist/client/assets/{use-status-sounds-DTHvTmo7.js → use-status-sounds-CfCko9iv.js} +1 -1
- package/dist/client/assets/{use-tasks-C2q1pKyD.js → use-tasks-BGvJcXek.js} +1 -1
- package/dist/client/assets/{use-view-mode-Bo1TFi-O.js → use-view-mode-DQdopV9M.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CD_T-y85.js → use-virtual-mcp-fhETXyqA.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-dYBf2D3j.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-02EoyUEK.js +1 -0
- package/dist/client/assets/{user-DOkjJZQI.js → user-CgpKaSQi.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-Cf3Unpm2.js → view-mode-toggle-f23VJfhB.js} +1 -1
- package/dist/client/assets/{workflow-CQNAZF1P.js → workflow-CpYJf0EI.js} +1 -1
- package/dist/client/assets/workflow-detail-lNDVTwYf.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +52 -37
- package/dist/server/node_modules/ansi-styles/index.d.ts +236 -0
- package/dist/server/node_modules/ansi-styles/index.js +223 -0
- package/dist/server/node_modules/{slice-ansi → ansi-styles}/license +0 -1
- package/dist/server/node_modules/ansi-styles/package.json +54 -0
- package/dist/server/node_modules/ansi-styles/readme.md +173 -0
- package/dist/server/node_modules/environment/index.d.ts +74 -0
- package/dist/server/node_modules/environment/index.js +47 -0
- package/dist/server/node_modules/environment/license +9 -0
- package/dist/server/node_modules/environment/package.json +74 -0
- package/dist/server/node_modules/environment/readme.md +94 -0
- package/dist/server/node_modules/escape-string-regexp/index.d.ts +18 -0
- package/dist/server/node_modules/escape-string-regexp/index.js +11 -0
- package/dist/server/node_modules/escape-string-regexp/license +9 -0
- package/dist/server/node_modules/escape-string-regexp/package.json +43 -0
- package/dist/server/node_modules/escape-string-regexp/readme.md +29 -0
- package/dist/server/node_modules/ink/build/ansi-tokenizer.d.ts +38 -0
- package/dist/server/node_modules/ink/build/ansi-tokenizer.js +316 -0
- package/dist/server/node_modules/ink/build/ansi-tokenizer.js.map +1 -0
- package/dist/server/node_modules/ink/build/apply-styles.js +175 -0
- package/dist/server/node_modules/ink/build/build-layout.js +77 -0
- package/dist/server/node_modules/ink/build/calculate-wrapped-text.js +53 -0
- package/dist/server/node_modules/ink/build/colorize.d.ts +3 -0
- package/dist/server/node_modules/ink/build/colorize.js +48 -0
- package/dist/server/node_modules/ink/build/colorize.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/AccessibilityContext.d.ts +3 -0
- package/dist/server/node_modules/ink/build/components/AccessibilityContext.js +5 -0
- package/dist/server/node_modules/ink/build/components/AccessibilityContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/App.d.ts +18 -0
- package/dist/server/node_modules/ink/build/components/App.js +351 -0
- package/dist/server/node_modules/ink/build/components/App.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/AppContext.d.ts +15 -0
- package/dist/server/node_modules/ink/build/components/AppContext.js +11 -0
- package/dist/server/node_modules/ink/build/components/AppContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/BackgroundContext.d.ts +4 -0
- package/dist/server/node_modules/ink/build/components/BackgroundContext.js +3 -0
- package/dist/server/node_modules/ink/build/components/BackgroundContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Box.d.ts +117 -0
- package/dist/server/node_modules/ink/build/components/Box.js +34 -0
- package/dist/server/node_modules/ink/build/components/Box.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Color.js +62 -0
- package/dist/server/node_modules/ink/build/components/Cursor.d.ts +83 -0
- package/dist/server/node_modules/ink/build/components/Cursor.js +53 -0
- package/dist/server/node_modules/ink/build/components/Cursor.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/CursorContext.d.ts +11 -0
- package/dist/server/node_modules/ink/build/components/CursorContext.js +8 -0
- package/dist/server/node_modules/ink/build/components/CursorContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/ErrorBoundary.d.ts +18 -0
- package/dist/server/node_modules/ink/build/components/ErrorBoundary.js +23 -0
- package/dist/server/node_modules/ink/build/components/ErrorBoundary.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/ErrorOverview.d.ts +6 -0
- package/dist/server/node_modules/ink/build/components/ErrorOverview.js +84 -0
- package/dist/server/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/FocusContext.d.ts +16 -0
- package/dist/server/node_modules/ink/build/components/FocusContext.js +17 -0
- package/dist/server/node_modules/ink/build/components/FocusContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Newline.d.ts +13 -0
- package/dist/server/node_modules/ink/build/components/Newline.js +8 -0
- package/dist/server/node_modules/ink/build/components/Newline.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Spacer.d.ts +7 -0
- package/dist/server/node_modules/ink/build/components/Spacer.js +11 -0
- package/dist/server/node_modules/ink/build/components/Spacer.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Static.d.ts +24 -0
- package/dist/server/node_modules/ink/build/components/Static.js +28 -0
- package/dist/server/node_modules/ink/build/components/Static.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/StderrContext.d.ts +15 -0
- package/dist/server/node_modules/ink/build/components/StderrContext.js +13 -0
- package/dist/server/node_modules/ink/build/components/StderrContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/StdinContext.d.ts +22 -0
- package/dist/server/node_modules/ink/build/components/StdinContext.js +19 -0
- package/dist/server/node_modules/ink/build/components/StdinContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/StdoutContext.d.ts +15 -0
- package/dist/server/node_modules/ink/build/components/StdoutContext.js +13 -0
- package/dist/server/node_modules/ink/build/components/StdoutContext.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Text.d.ts +55 -0
- package/dist/server/node_modules/ink/build/components/Text.js +50 -0
- package/dist/server/node_modules/ink/build/components/Text.js.map +1 -0
- package/dist/server/node_modules/ink/build/components/Transform.d.ts +16 -0
- package/dist/server/node_modules/ink/build/components/Transform.js +15 -0
- package/dist/server/node_modules/ink/build/components/Transform.js.map +1 -0
- package/dist/server/node_modules/ink/build/cursor-helpers.d.ts +38 -0
- package/dist/server/node_modules/ink/build/cursor-helpers.js +56 -0
- package/dist/server/node_modules/ink/build/cursor-helpers.js.map +1 -0
- package/dist/server/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
- package/dist/server/node_modules/ink/build/devtools-window-polyfill.js +65 -0
- package/dist/server/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
- package/dist/server/node_modules/ink/build/devtools.d.ts +1 -0
- package/dist/server/node_modules/ink/build/devtools.js +11 -0
- package/dist/server/node_modules/ink/build/devtools.js.map +1 -0
- package/dist/server/node_modules/ink/build/dom.d.ts +56 -0
- package/dist/server/node_modules/ink/build/dom.js +124 -0
- package/dist/server/node_modules/ink/build/dom.js.map +1 -0
- package/dist/server/node_modules/ink/build/experimental/apply-style.js +140 -0
- package/dist/server/node_modules/ink/build/experimental/dom.js +123 -0
- package/dist/server/node_modules/ink/build/experimental/output.js +91 -0
- package/dist/server/node_modules/ink/build/experimental/reconciler.js +141 -0
- package/dist/server/node_modules/ink/build/experimental/renderer.js +81 -0
- package/dist/server/node_modules/ink/build/get-max-width.d.ts +3 -0
- package/dist/server/node_modules/ink/build/get-max-width.js +10 -0
- package/dist/server/node_modules/ink/build/get-max-width.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-app.d.ts +5 -0
- package/dist/server/node_modules/ink/build/hooks/use-app.js +8 -0
- package/dist/server/node_modules/ink/build/hooks/use-app.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-cursor.d.ts +12 -0
- package/dist/server/node_modules/ink/build/hooks/use-cursor.js +29 -0
- package/dist/server/node_modules/ink/build/hooks/use-cursor.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus-manager.d.ts +28 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js +17 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus.d.ts +29 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus.js +42 -0
- package/dist/server/node_modules/ink/build/hooks/use-focus.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-input.d.ts +131 -0
- package/dist/server/node_modules/ink/build/hooks/use-input.js +124 -0
- package/dist/server/node_modules/ink/build/hooks/use-input.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +5 -0
- package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +11 -0
- package/dist/server/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
- package/dist/server/node_modules/ink/build/hooks/use-stderr.js +8 -0
- package/dist/server/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdin.d.ts +5 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdin.js +8 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdout.js +8 -0
- package/dist/server/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
- package/dist/server/node_modules/ink/build/hooks/useInput.js +38 -0
- package/dist/server/node_modules/ink/build/index.d.ts +34 -0
- package/dist/server/node_modules/ink/build/index.js +20 -0
- package/dist/server/node_modules/ink/build/index.js.map +1 -0
- package/dist/server/node_modules/ink/build/ink.d.ts +90 -0
- package/dist/server/node_modules/ink/build/ink.js +637 -0
- package/dist/server/node_modules/ink/build/ink.js.map +1 -0
- package/dist/server/node_modules/ink/build/input-parser.d.ts +7 -0
- package/dist/server/node_modules/ink/build/input-parser.js +154 -0
- package/dist/server/node_modules/ink/build/input-parser.js.map +1 -0
- package/dist/server/node_modules/ink/build/instance.js +205 -0
- package/dist/server/node_modules/ink/build/instances.d.ts +3 -0
- package/dist/server/node_modules/ink/build/instances.js +8 -0
- package/dist/server/node_modules/ink/build/instances.js.map +1 -0
- package/dist/server/node_modules/ink/build/kitty-keyboard.d.ts +23 -0
- package/dist/server/node_modules/ink/build/kitty-keyboard.js +32 -0
- package/dist/server/node_modules/ink/build/kitty-keyboard.js.map +1 -0
- package/dist/server/node_modules/ink/build/layout.d.ts +7 -0
- package/dist/server/node_modules/ink/build/layout.js +33 -0
- package/dist/server/node_modules/ink/build/layout.js.map +1 -0
- package/dist/server/node_modules/ink/build/log-update.d.ts +19 -0
- package/dist/server/node_modules/ink/build/log-update.js +242 -0
- package/dist/server/node_modules/ink/build/log-update.js.map +1 -0
- package/dist/server/node_modules/ink/build/measure-element.d.ts +16 -0
- package/dist/server/node_modules/ink/build/measure-element.js +9 -0
- package/dist/server/node_modules/ink/build/measure-element.js.map +1 -0
- package/dist/server/node_modules/ink/build/measure-text.d.ts +6 -0
- package/dist/server/node_modules/ink/build/measure-text.js +21 -0
- package/dist/server/node_modules/ink/build/measure-text.js.map +1 -0
- package/dist/server/node_modules/ink/build/options.d.ts +52 -0
- package/dist/server/node_modules/ink/build/options.js +2 -0
- package/dist/server/node_modules/ink/build/options.js.map +1 -0
- package/dist/server/node_modules/ink/build/output.d.ts +35 -0
- package/dist/server/node_modules/ink/build/output.js +183 -0
- package/dist/server/node_modules/ink/build/output.js.map +1 -0
- package/dist/server/node_modules/ink/build/parse-keypress.d.ts +22 -0
- package/dist/server/node_modules/ink/build/parse-keypress.js +493 -0
- package/dist/server/node_modules/ink/build/parse-keypress.js.map +1 -0
- package/dist/server/node_modules/ink/build/reconciler.d.ts +4 -0
- package/dist/server/node_modules/ink/build/reconciler.js +274 -0
- package/dist/server/node_modules/ink/build/reconciler.js.map +1 -0
- package/dist/server/node_modules/ink/build/render-background.d.ts +4 -0
- package/dist/server/node_modules/ink/build/render-background.js +25 -0
- package/dist/server/node_modules/ink/build/render-background.js.map +1 -0
- package/dist/server/node_modules/ink/build/render-border.d.ts +4 -0
- package/dist/server/node_modules/ink/build/render-border.js +73 -0
- package/dist/server/node_modules/ink/build/render-border.js.map +1 -0
- package/dist/server/node_modules/ink/build/render-node-to-output.d.ts +14 -0
- package/dist/server/node_modules/ink/build/render-node-to-output.js +147 -0
- package/dist/server/node_modules/ink/build/render-node-to-output.js.map +1 -0
- package/dist/server/node_modules/ink/build/render-to-string.d.ts +38 -0
- package/dist/server/node_modules/ink/build/render-to-string.js +115 -0
- package/dist/server/node_modules/ink/build/render-to-string.js.map +1 -0
- package/dist/server/node_modules/ink/build/render.d.ts +121 -0
- package/dist/server/node_modules/ink/build/render.js +55 -0
- package/dist/server/node_modules/ink/build/render.js.map +1 -0
- package/dist/server/node_modules/ink/build/renderer.d.ts +8 -0
- package/dist/server/node_modules/ink/build/renderer.js +55 -0
- package/dist/server/node_modules/ink/build/renderer.js.map +1 -0
- package/dist/server/node_modules/ink/build/sanitize-ansi.d.ts +2 -0
- package/dist/server/node_modules/ink/build/sanitize-ansi.js +27 -0
- package/dist/server/node_modules/ink/build/sanitize-ansi.js.map +1 -0
- package/dist/server/node_modules/ink/build/screen-reader-update.d.ts +13 -0
- package/dist/server/node_modules/ink/build/screen-reader-update.js +38 -0
- package/dist/server/node_modules/ink/build/screen-reader-update.js.map +1 -0
- package/dist/server/node_modules/ink/build/squash-text-nodes.d.ts +3 -0
- package/dist/server/node_modules/ink/build/squash-text-nodes.js +36 -0
- package/dist/server/node_modules/ink/build/squash-text-nodes.js.map +1 -0
- package/dist/server/node_modules/ink/build/styles.d.ts +240 -0
- package/dist/server/node_modules/ink/build/styles.js +232 -0
- package/dist/server/node_modules/ink/build/styles.js.map +1 -0
- package/dist/server/node_modules/ink/build/utils.d.ts +2 -0
- package/dist/server/node_modules/ink/build/utils.js +4 -0
- package/dist/server/node_modules/ink/build/utils.js.map +1 -0
- package/dist/server/node_modules/ink/build/wrap-text.d.ts +3 -0
- package/dist/server/node_modules/ink/build/wrap-text.js +31 -0
- package/dist/server/node_modules/ink/build/wrap-text.js.map +1 -0
- package/dist/server/node_modules/ink/build/write-synchronized.d.ts +4 -0
- package/dist/server/node_modules/ink/build/write-synchronized.js +7 -0
- package/dist/server/node_modules/ink/build/write-synchronized.js.map +1 -0
- package/dist/server/node_modules/ink/license +10 -0
- package/dist/server/node_modules/ink/package.json +201 -0
- package/dist/server/node_modules/ink/readme.md +2636 -0
- package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/dist/server/node_modules/is-fullwidth-code-point/index.js +12 -0
- package/dist/server/node_modules/is-fullwidth-code-point/license +9 -0
- package/dist/server/node_modules/is-fullwidth-code-point/package.json +53 -0
- package/dist/server/node_modules/is-fullwidth-code-point/readme.md +31 -0
- package/dist/server/node_modules/is-unicode-supported/index.d.ts +12 -0
- package/dist/server/node_modules/is-unicode-supported/index.js +21 -0
- package/dist/server/node_modules/is-unicode-supported/license +9 -0
- package/dist/server/node_modules/is-unicode-supported/package.json +47 -0
- package/dist/server/node_modules/is-unicode-supported/readme.md +35 -0
- package/dist/server/node_modules/restore-cursor/index.d.ts +11 -0
- package/dist/server/node_modules/restore-cursor/index.js +11 -0
- package/dist/server/node_modules/restore-cursor/license +9 -0
- package/dist/server/node_modules/restore-cursor/package.json +55 -0
- package/dist/server/node_modules/restore-cursor/readme.md +31 -0
- package/dist/server/node_modules/string-width/index.d.ts +39 -0
- package/dist/server/node_modules/string-width/index.js +82 -0
- package/dist/server/node_modules/string-width/license +9 -0
- package/dist/server/node_modules/string-width/package.json +64 -0
- package/dist/server/node_modules/string-width/readme.md +66 -0
- package/dist/server/server.js +51 -36
- package/package.json +1 -1
- package/dist/client/assets/registry-CXcvF-uz.js +0 -2
- package/dist/client/assets/store-registry-BebL2rFu.js +0 -2
- package/dist/client/assets/useInfiniteQuery-Dj_RSaBx.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DJb5VXkS.js +0 -1
- package/dist/client/assets/workflow-detail-E-UgwIFZ.js +0 -1
- package/dist/server/node_modules/slice-ansi/index.d.ts +0 -19
- package/dist/server/node_modules/slice-ansi/index.js +0 -260
- package/dist/server/node_modules/slice-ansi/package.json +0 -59
- package/dist/server/node_modules/slice-ansi/readme.md +0 -54
- package/dist/server/node_modules/slice-ansi/tokenize-ansi.js +0 -752
package/dist/server/server.js
CHANGED
|
@@ -3336,6 +3336,8 @@ data: \${payload}
|
|
|
3336
3336
|
}
|
|
3337
3337
|
|
|
3338
3338
|
// daemon/events/broadcast.ts
|
|
3339
|
+
var VERBOSE = process.env.DAEMON_LOG_VERBOSE === "1";
|
|
3340
|
+
|
|
3339
3341
|
class Broadcaster {
|
|
3340
3342
|
replay;
|
|
3341
3343
|
clients = new Set;
|
|
@@ -3351,11 +3353,13 @@ class Broadcaster {
|
|
|
3351
3353
|
size() {
|
|
3352
3354
|
return this.clients.size;
|
|
3353
3355
|
}
|
|
3354
|
-
broadcastChunk(source, data) {
|
|
3356
|
+
broadcastChunk(source, data, opts) {
|
|
3355
3357
|
if (!data)
|
|
3356
3358
|
return;
|
|
3357
3359
|
this.replay.append(source, data);
|
|
3358
|
-
|
|
3360
|
+
if (VERBOSE || opts?.tee !== false) {
|
|
3361
|
+
process.stdout.write(\`[\${source}] \${data}\`);
|
|
3362
|
+
}
|
|
3359
3363
|
const bytes = sseFormat("log", JSON.stringify({ source, data }));
|
|
3360
3364
|
this.fan(bytes);
|
|
3361
3365
|
}
|
|
@@ -3687,7 +3691,7 @@ function createPortSniffer() {
|
|
|
3687
3691
|
|
|
3688
3692
|
// daemon/process/task-manager.ts
|
|
3689
3693
|
import { spawn as nodeSpawn } from "child_process";
|
|
3690
|
-
import { readdirSync, unlinkSync } from "fs";
|
|
3694
|
+
import { readdirSync, unlinkSync as unlinkSync2 } from "fs";
|
|
3691
3695
|
import { join as join2 } from "path";
|
|
3692
3696
|
|
|
3693
3697
|
// daemon/paths.ts
|
|
@@ -3719,6 +3723,7 @@ import {
|
|
|
3719
3723
|
mkdirSync,
|
|
3720
3724
|
openSync,
|
|
3721
3725
|
statSync,
|
|
3726
|
+
unlinkSync,
|
|
3722
3727
|
writeSync
|
|
3723
3728
|
} from "fs";
|
|
3724
3729
|
import { dirname } from "path";
|
|
@@ -3728,7 +3733,7 @@ class LogTee {
|
|
|
3728
3733
|
maxBytes;
|
|
3729
3734
|
fd = null;
|
|
3730
3735
|
written = 0;
|
|
3731
|
-
|
|
3736
|
+
rotatedOnce = false;
|
|
3732
3737
|
constructor(path2, maxBytes) {
|
|
3733
3738
|
this.path = path2;
|
|
3734
3739
|
this.maxBytes = maxBytes;
|
|
@@ -3736,28 +3741,9 @@ class LogTee {
|
|
|
3736
3741
|
write(data) {
|
|
3737
3742
|
if (data.length === 0)
|
|
3738
3743
|
return;
|
|
3739
|
-
if (this.truncated)
|
|
3740
|
-
return;
|
|
3741
3744
|
const buf = Buffer.from(data, "utf-8");
|
|
3742
3745
|
if (this.written + buf.length > this.maxBytes) {
|
|
3743
|
-
this.
|
|
3744
|
-
const remain = Math.max(0, this.maxBytes - this.written);
|
|
3745
|
-
if (remain > 0 && this.openIfNeeded()) {
|
|
3746
|
-
try {
|
|
3747
|
-
writeSync(this.fd, buf, 0, remain);
|
|
3748
|
-
this.written += remain;
|
|
3749
|
-
} catch {}
|
|
3750
|
-
}
|
|
3751
|
-
const marker = Buffer.from(\`
|
|
3752
|
-
[log truncated at \${this.maxBytes} bytes]
|
|
3753
|
-
\`, "utf-8");
|
|
3754
|
-
if (this.openIfNeeded()) {
|
|
3755
|
-
try {
|
|
3756
|
-
writeSync(this.fd, marker);
|
|
3757
|
-
} catch {}
|
|
3758
|
-
}
|
|
3759
|
-
this.close();
|
|
3760
|
-
return;
|
|
3746
|
+
this.rotate();
|
|
3761
3747
|
}
|
|
3762
3748
|
if (!this.openIfNeeded())
|
|
3763
3749
|
return;
|
|
@@ -3766,6 +3752,22 @@ class LogTee {
|
|
|
3766
3752
|
this.written += buf.length;
|
|
3767
3753
|
} catch {}
|
|
3768
3754
|
}
|
|
3755
|
+
rotate() {
|
|
3756
|
+
this.close();
|
|
3757
|
+
try {
|
|
3758
|
+
unlinkSync(this.path);
|
|
3759
|
+
} catch {}
|
|
3760
|
+
this.written = 0;
|
|
3761
|
+
this.rotatedOnce = true;
|
|
3762
|
+
if (!this.openIfNeeded())
|
|
3763
|
+
return;
|
|
3764
|
+
const marker = Buffer.from(\`[log rotated at \${this.maxBytes} bytes]
|
|
3765
|
+
\`, "utf-8");
|
|
3766
|
+
try {
|
|
3767
|
+
writeSync(this.fd, marker);
|
|
3768
|
+
this.written = marker.length;
|
|
3769
|
+
} catch {}
|
|
3770
|
+
}
|
|
3769
3771
|
writeHeader(label) {
|
|
3770
3772
|
let prior = this.written;
|
|
3771
3773
|
if (this.fd === null) {
|
|
@@ -3779,7 +3781,7 @@ class LogTee {
|
|
|
3779
3781
|
\`);
|
|
3780
3782
|
}
|
|
3781
3783
|
isTruncated() {
|
|
3782
|
-
return this.
|
|
3784
|
+
return this.rotatedOnce;
|
|
3783
3785
|
}
|
|
3784
3786
|
bytesWritten() {
|
|
3785
3787
|
return this.written;
|
|
@@ -4160,7 +4162,7 @@ class TaskManager {
|
|
|
4160
4162
|
}
|
|
4161
4163
|
unlink(path2) {
|
|
4162
4164
|
try {
|
|
4163
|
-
|
|
4165
|
+
unlinkSync2(path2);
|
|
4164
4166
|
} catch {}
|
|
4165
4167
|
}
|
|
4166
4168
|
create(id, spec) {
|
|
@@ -4361,7 +4363,9 @@ class TaskManager {
|
|
|
4361
4363
|
} catch {}
|
|
4362
4364
|
}
|
|
4363
4365
|
if (task.spec.logName) {
|
|
4364
|
-
this.deps.broadcaster?.broadcastChunk(task.spec.logName, chunk.data
|
|
4366
|
+
this.deps.broadcaster?.broadcastChunk(task.spec.logName, chunk.data, {
|
|
4367
|
+
tee: false
|
|
4368
|
+
});
|
|
4365
4369
|
}
|
|
4366
4370
|
}
|
|
4367
4371
|
}
|
|
@@ -5550,7 +5554,7 @@ function makeScriptsHandler(getScripts) {
|
|
|
5550
5554
|
}
|
|
5551
5555
|
|
|
5552
5556
|
// daemon/setup/orchestrator.ts
|
|
5553
|
-
import { existsSync as existsSync5, unlinkSync as
|
|
5557
|
+
import { existsSync as existsSync5, unlinkSync as unlinkSync3 } from "fs";
|
|
5554
5558
|
import { join as join6 } from "path";
|
|
5555
5559
|
|
|
5556
5560
|
// daemon/setup/autodetect.ts
|
|
@@ -5896,6 +5900,9 @@ class SetupOrchestrator {
|
|
|
5896
5900
|
chunk(data) {
|
|
5897
5901
|
this.deps.broadcaster.broadcastChunk("setup", data);
|
|
5898
5902
|
}
|
|
5903
|
+
rawChunk(data) {
|
|
5904
|
+
this.deps.broadcaster.broadcastChunk("setup", data, { tee: false });
|
|
5905
|
+
}
|
|
5899
5906
|
async stepClone() {
|
|
5900
5907
|
const config = this.currentConfig();
|
|
5901
5908
|
if (!config)
|
|
@@ -5905,7 +5912,7 @@ class SetupOrchestrator {
|
|
|
5905
5912
|
this.deps.lifecycle.transition({ phase: "cloning" });
|
|
5906
5913
|
const cloneLogPath = appLogPath(this.deps.logsDir, "clone");
|
|
5907
5914
|
try {
|
|
5908
|
-
|
|
5915
|
+
unlinkSync3(cloneLogPath);
|
|
5909
5916
|
} catch {}
|
|
5910
5917
|
const cloneTee = new LogTee(cloneLogPath, INSTALL_LOG_MAX_BYTES);
|
|
5911
5918
|
let code;
|
|
@@ -5913,7 +5920,7 @@ class SetupOrchestrator {
|
|
|
5913
5920
|
code = await spawnClone({
|
|
5914
5921
|
config,
|
|
5915
5922
|
onChunk: (_src, data) => {
|
|
5916
|
-
this.
|
|
5923
|
+
this.rawChunk(data);
|
|
5917
5924
|
cloneTee.write(data);
|
|
5918
5925
|
}
|
|
5919
5926
|
});
|
|
@@ -5975,13 +5982,13 @@ class SetupOrchestrator {
|
|
|
5975
5982
|
\`);
|
|
5976
5983
|
const installLogPath = appLogPath(this.deps.logsDir, "install");
|
|
5977
5984
|
try {
|
|
5978
|
-
|
|
5985
|
+
unlinkSync3(installLogPath);
|
|
5979
5986
|
} catch {}
|
|
5980
5987
|
const installTee = new LogTee(installLogPath, INSTALL_LOG_MAX_BYTES);
|
|
5981
5988
|
const installPromise = spawnInstall({
|
|
5982
5989
|
config,
|
|
5983
5990
|
onChunk: (_src, data) => {
|
|
5984
|
-
this.
|
|
5991
|
+
this.rawChunk(data);
|
|
5985
5992
|
installTee.write(data);
|
|
5986
5993
|
}
|
|
5987
5994
|
});
|
|
@@ -6174,7 +6181,7 @@ class SetupOrchestrator {
|
|
|
6174
6181
|
const repoDir = this.deps.bootConfig.repoDir;
|
|
6175
6182
|
if (!repoDir)
|
|
6176
6183
|
return;
|
|
6177
|
-
const onChunk = (_src, data) => this.
|
|
6184
|
+
const onChunk = (_src, data) => this.rawChunk(data);
|
|
6178
6185
|
const silent = (_src, _data) => {};
|
|
6179
6186
|
const gc = \`git -c safe.directory='*' -c http.connectTimeout=10 -c http.lowSpeedLimit=1 -c http.lowSpeedTime=10 -C \${repoDir}\`;
|
|
6180
6187
|
const probe = await spawnSetupStep(\`\${gc} fetch origin +refs/heads/\${branch}:refs/remotes/origin/\${branch}\`, silent);
|
|
@@ -6360,9 +6367,9 @@ var TMP_DIR = join7(APP_ROOT, "tmp");
|
|
|
6360
6367
|
var broadcaster = new Broadcaster(REPLAY_BYTES);
|
|
6361
6368
|
var portSniffer = createPortSniffer();
|
|
6362
6369
|
var broadcastChunkRaw = broadcaster.broadcastChunk.bind(broadcaster);
|
|
6363
|
-
broadcaster.broadcastChunk = (source, data) => {
|
|
6370
|
+
broadcaster.broadcastChunk = (source, data, opts) => {
|
|
6364
6371
|
portSniffer.observe(source, data);
|
|
6365
|
-
broadcastChunkRaw(source, data);
|
|
6372
|
+
broadcastChunkRaw(source, data, opts);
|
|
6366
6373
|
};
|
|
6367
6374
|
var currentStatus = { state: "running" };
|
|
6368
6375
|
function setStatus(next) {
|
|
@@ -6374,10 +6381,14 @@ var installState = new InstallState;
|
|
|
6374
6381
|
var lifecycle = new LifecycleManager({ broadcaster });
|
|
6375
6382
|
var lifecycleTransitionRaw = lifecycle.transition.bind(lifecycle);
|
|
6376
6383
|
lifecycle.transition = (next) => {
|
|
6377
|
-
const
|
|
6384
|
+
const prev = lifecycle.current().phase;
|
|
6385
|
+
const wasRunning = prev === "running";
|
|
6378
6386
|
lifecycleTransitionRaw(next);
|
|
6379
6387
|
if (wasRunning && next.phase !== "running")
|
|
6380
6388
|
portSniffer.reset();
|
|
6389
|
+
if (prev !== next.phase) {
|
|
6390
|
+
console.log(\`[lifecycle] \${prev} \\u2192 \${next.phase}\`);
|
|
6391
|
+
}
|
|
6381
6392
|
};
|
|
6382
6393
|
var phaseManager = new PhaseManager;
|
|
6383
6394
|
var taskManager = new TaskManager({
|
|
@@ -6388,6 +6399,10 @@ var taskManager = new TaskManager({
|
|
|
6388
6399
|
broadcaster.emit("tasks", { active: getActiveTasks() });
|
|
6389
6400
|
}
|
|
6390
6401
|
});
|
|
6402
|
+
taskManager.onTaskExit((s) => {
|
|
6403
|
+
const label = s.logName ?? s.id;
|
|
6404
|
+
console.log(\`[task] \${label} \${s.status} (exit=\${s.exitCode})\`);
|
|
6405
|
+
});
|
|
6391
6406
|
function getActiveTasks() {
|
|
6392
6407
|
return taskManager.list({ status: ["running"] }).map((t) => ({ id: t.id, command: t.command, logName: t.logName }));
|
|
6393
6408
|
}
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-DjRsP-ha.js","assets/index-Bq8MNgeV.js","assets/index-Bo94M6wo.css","assets/ArrowNarrowLeft-D2IzKz0U.js","assets/CheckCircle-S5ffz95T.js","assets/Container-hpy3kvOB.js","assets/Settings02-Yw9y8zcL.js","assets/XCircle-Xm8lpkAu.js","assets/constants-ClujOLL0.js","assets/useInfiniteQuery-Dj_RSaBx.js","assets/infiniteQueryObserver-DKVQWAgx.js","assets/badge-wVDQydbB.js","assets/input-DTt32vul.js","assets/dropdown-menu-DX0TPN0k.js","assets/Check-B3zx_U26.js","assets/ChevronRight-E3ry5bv1.js","assets/DotsVertical-DlBHJ9PJ.js","assets/table-Dpz7V2d2.js","assets/toggle-group-BDnmrZSN.js","assets/use-view-mode-Bo1TFi-O.js","assets/tooltip-Cop6BWIB.js","assets/SearchMd-BzVtNNV8.js","assets/dialog-DlXEbbro.js","assets/X-DCaJ2DR_.js","assets/AlertCircle-BhKIfxeV.js","assets/alert-dialog-CoBaZf61.js","assets/card-BsjNx5Cg.js","assets/Trash01-CWiWK8tz.js","assets/label-BhsxXb5j.js","assets/select-Bmu7KX9g.js","assets/ChevronDown-B2rzld2y.js","assets/ChevronUp-CR14Z0nx.js","assets/switch-MKqFhI8u.js","assets/textarea-D4e6a8Nz.js","assets/RefreshCcw01-DlZMdaR5.js","assets/checkbox-B5i71aX9.js","assets/LinkExternal01-CqYIOZ9A.js","assets/use-copy-Cu8-dSUz.js","assets/Plus-Dld8jPbl.js","assets/Play-CWd0g6Ov.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as a,j as t,r,l as i,_ as o}from"./index-Bq8MNgeV.js";const n=r.lazy(()=>o(()=>import("./registry-layout-DjRsP-ha.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])));function c(){const s=a.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(r.Suspense,{fallback:t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(i,{size:20,className:"animate-spin text-muted-foreground"})}),children:t.jsx(n,{})}),s[0]=e):e=s[0],e}export{c as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-DjRsP-ha.js","assets/index-Bq8MNgeV.js","assets/index-Bo94M6wo.css","assets/ArrowNarrowLeft-D2IzKz0U.js","assets/CheckCircle-S5ffz95T.js","assets/Container-hpy3kvOB.js","assets/Settings02-Yw9y8zcL.js","assets/XCircle-Xm8lpkAu.js","assets/constants-ClujOLL0.js","assets/useInfiniteQuery-Dj_RSaBx.js","assets/infiniteQueryObserver-DKVQWAgx.js","assets/badge-wVDQydbB.js","assets/input-DTt32vul.js","assets/dropdown-menu-DX0TPN0k.js","assets/Check-B3zx_U26.js","assets/ChevronRight-E3ry5bv1.js","assets/DotsVertical-DlBHJ9PJ.js","assets/table-Dpz7V2d2.js","assets/toggle-group-BDnmrZSN.js","assets/use-view-mode-Bo1TFi-O.js","assets/tooltip-Cop6BWIB.js","assets/SearchMd-BzVtNNV8.js","assets/dialog-DlXEbbro.js","assets/X-DCaJ2DR_.js","assets/AlertCircle-BhKIfxeV.js","assets/alert-dialog-CoBaZf61.js","assets/card-BsjNx5Cg.js","assets/Trash01-CWiWK8tz.js","assets/label-BhsxXb5j.js","assets/select-Bmu7KX9g.js","assets/ChevronDown-B2rzld2y.js","assets/ChevronUp-CR14Z0nx.js","assets/switch-MKqFhI8u.js","assets/textarea-D4e6a8Nz.js","assets/RefreshCcw01-DlZMdaR5.js","assets/checkbox-B5i71aX9.js","assets/LinkExternal01-CqYIOZ9A.js","assets/use-copy-Cu8-dSUz.js","assets/Plus-Dld8jPbl.js","assets/Play-CWd0g6Ov.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as n,f as c,g as m,j as r,l as f,r as l,_ as u}from"./index-Bq8MNgeV.js";const _=l.lazy(()=>u(()=>import("./registry-layout-DjRsP-ha.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])));function x(){const e=n.c(5),o=c();let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:i}=m(t);let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=r.jsx("div",{className:"h-full flex items-center justify-center",children:r.jsx(f,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=s):s=e[1];let a;return e[2]!==o||e[3]!==i?(a=r.jsx(l.Suspense,{fallback:s,children:r.jsx(_,{onBack:()=>o({to:"/$org/settings/store",params:{org:i}})})}),e[2]=o,e[3]=i,e[4]=a):a=e[4],a}export{x as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-DKVQWAgx.js";import{c1 as i}from"./index-Bq8MNgeV.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./infiniteQueryObserver-DKVQWAgx.js";import{c1 as u,c2 as n}from"./index-Bq8MNgeV.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as s,g as l,j as o,l as a,E as n,r as c}from"./index-Bq8MNgeV.js";import{a as f}from"./index-Fz2lfOzM.js";import"./index-DhY6sTVx.js";import"./constants-ClujOLL0.js";import"./collections-BbDNQEWM.js";import"./index-DaOIazOa.js";import"./use-virtual-mcp-CD_T-y85.js";import"./use-collections-8VzaVe93.js";import"./monaco-editor-CMrJ86sf.js";import"./spinner-M0_j9E66.js";import"./accordion-D2I2JgOz.js";import"./agent-icon-DIgcdFeV.js";import"./AlertCircle-BhKIfxeV.js";import"./Tool01-C_J_zDPh.js";import"./Archive-Dz0wtILE.js";import"./XClose-BpbAJCm9.js";import"./RefreshCcw01-DlZMdaR5.js";import"./ArrowNarrowLeft-D2IzKz0U.js";import"./XCircle-Xm8lpkAu.js";import"./ArrowUpRight-DQNhEvxd.js";import"./ZapSquare-D31ZX-yT.js";import"./Users03-BvEJiMrD.js";import"./CheckCircle-S5ffz95T.js";import"./Check-B3zx_U26.js";import"./ChevronDown-B2rzld2y.js";import"./ChevronRight-E3ry5bv1.js";import"./ChevronUp-CR14Z0nx.js";import"./DotsVertical-DlBHJ9PJ.js";import"./Container-hpy3kvOB.js";import"./Star01-D7-_AozX.js";import"./Palette-48b46GGh.js";import"./SearchMd-BzVtNNV8.js";import"./LayoutLeft-O15r8yaV.js";import"./LinkExternal01-CqYIOZ9A.js";import"./Lock01-BWTd97_q.js";import"./Sun-BRoJ4FPT.js";import"./Play-CWd0g6Ov.js";import"./Plus-Dld8jPbl.js";import"./Settings02-Yw9y8zcL.js";import"./Shield01-Bryrtn4R.js";import"./Trash01-CWiWK8tz.js";import"./User01-Cuf_FrNk.js";import"./X-DCaJ2DR_.js";import"./Zap-DkdmeY_3.js";import"./index-mhkzUFBK.js";import"./badge-wVDQydbB.js";import"./select-Bmu7KX9g.js";import"./tooltip-Cop6BWIB.js";import"./view-mode-toggle-Cf3Unpm2.js";import"./layout-R2hI-PPe.js";import"./index-DF2eiQ1x.js";import"./sidebar-CaCy2pvj.js";import"./use-connection-Lr8heJ8D.js";import"./use-mcp-tools-DQxTqUp3.js";import"./dialog-DlXEbbro.js";import"./index-5QFk1v1j.js";import"./dropdown-menu-DX0TPN0k.js";import"./integration-icon-C60b_d7I.js";import"./scroll-area-Bg2pYWAU.js";import"./index-CuEDzA2l.js";import"./empty-state-BDuWm3OO.js";import"./create-sse-subscription-CxkOgzKf.js";import"./input-DTt32vul.js";function yt(){const t=s.c(4);let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/workflows/$itemId"},t[0]=r):r=t[0];const{itemId:e}=l(r);let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx("div",{className:"flex h-full items-center justify-center",children:o.jsx(a,{size:32,className:"animate-spin text-muted-foreground"})}),t[1]=i):i=t[1];const p=decodeURIComponent(e);let m;return t[2]!==p?(m=o.jsx(n,{children:o.jsx(c.Suspense,{fallback:i,children:o.jsx(f,{itemId:p})})}),t[2]=p,t[3]=m):m=t[3],m}export{yt as default};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Slice a string with [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles)
|
|
3
|
-
|
|
4
|
-
@param string - A string with ANSI escape codes. Like one styled by [`chalk`](https://github.com/chalk/chalk).
|
|
5
|
-
@param startSlice - Zero-based visible-column index at which to start the slice. Grapheme clusters are kept intact.
|
|
6
|
-
@param endSlice - Zero-based visible-column index at which to end the slice.
|
|
7
|
-
|
|
8
|
-
@example
|
|
9
|
-
```
|
|
10
|
-
import chalk from 'chalk';
|
|
11
|
-
import sliceAnsi from 'slice-ansi';
|
|
12
|
-
|
|
13
|
-
const string = 'The quick brown ' + chalk.red('fox jumped over ') +
|
|
14
|
-
'the lazy ' + chalk.green('dog and then ran away with the unicorn.');
|
|
15
|
-
|
|
16
|
-
console.log(sliceAnsi(string, 20, 30));
|
|
17
|
-
```
|
|
18
|
-
*/
|
|
19
|
-
export default function sliceAnsi(string: string, startSlice: number, endSlice?: number): string;
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
import tokenizeAnsi from './tokenize-ansi.js';
|
|
2
|
-
|
|
3
|
-
function applySgrFragments(activeStyles, fragments) {
|
|
4
|
-
for (const fragment of fragments) {
|
|
5
|
-
switch (fragment.type) {
|
|
6
|
-
case 'reset': {
|
|
7
|
-
activeStyles.clear();
|
|
8
|
-
break;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
case 'end': {
|
|
12
|
-
activeStyles.delete(fragment.endCode);
|
|
13
|
-
break;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
case 'start': {
|
|
17
|
-
activeStyles.delete(fragment.endCode);
|
|
18
|
-
activeStyles.set(fragment.endCode, fragment.code);
|
|
19
|
-
break;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
default: {
|
|
23
|
-
break;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return activeStyles;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function undoAnsiCodes(activeStyles) {
|
|
32
|
-
return [...activeStyles.keys()].reverse().join('');
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
function closeHyperlink(hyperlinkToken) {
|
|
36
|
-
return `${hyperlinkToken.closePrefix}${hyperlinkToken.terminator}`;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function shouldIncludeSgrAfterEnd(token, activeStyles) {
|
|
40
|
-
let hasStartFragment = false;
|
|
41
|
-
let hasClosingEffect = false;
|
|
42
|
-
|
|
43
|
-
for (const fragment of token.fragments) {
|
|
44
|
-
if (fragment.type === 'start') {
|
|
45
|
-
hasStartFragment = true;
|
|
46
|
-
continue;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
if (fragment.type === 'reset' && activeStyles.size > 0) {
|
|
50
|
-
hasClosingEffect = true;
|
|
51
|
-
continue;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
if (fragment.type === 'end' && activeStyles.has(fragment.endCode)) {
|
|
55
|
-
hasClosingEffect = true;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return hasClosingEffect && !hasStartFragment;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
function applySgrToken({token, isPastEnd, activeStyles, returnValue, include, activeHyperlink, position}) {
|
|
63
|
-
if (isPastEnd && !shouldIncludeSgrAfterEnd(token, activeStyles)) {
|
|
64
|
-
return {
|
|
65
|
-
activeStyles,
|
|
66
|
-
activeHyperlink,
|
|
67
|
-
position,
|
|
68
|
-
returnValue,
|
|
69
|
-
include,
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
activeStyles = applySgrFragments(activeStyles, token.fragments);
|
|
74
|
-
if (include) {
|
|
75
|
-
returnValue += token.code;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
return {
|
|
79
|
-
activeStyles,
|
|
80
|
-
activeHyperlink,
|
|
81
|
-
position,
|
|
82
|
-
returnValue,
|
|
83
|
-
include,
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
function applyHyperlinkToken({token, isPastEnd, activeStyles, activeHyperlink, position, returnValue, include}) {
|
|
88
|
-
if (
|
|
89
|
-
isPastEnd
|
|
90
|
-
&& (
|
|
91
|
-
token.action !== 'close'
|
|
92
|
-
|| !activeHyperlink
|
|
93
|
-
)
|
|
94
|
-
) {
|
|
95
|
-
return {
|
|
96
|
-
activeStyles,
|
|
97
|
-
activeHyperlink,
|
|
98
|
-
position,
|
|
99
|
-
returnValue,
|
|
100
|
-
include,
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
if (token.action === 'open') {
|
|
105
|
-
activeHyperlink = token;
|
|
106
|
-
} else if (token.action === 'close') {
|
|
107
|
-
activeHyperlink = undefined;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
if (include) {
|
|
111
|
-
returnValue += token.code;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
return {
|
|
115
|
-
activeStyles,
|
|
116
|
-
activeHyperlink,
|
|
117
|
-
position,
|
|
118
|
-
returnValue,
|
|
119
|
-
include,
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
function applyControlToken({token, isPastEnd, activeStyles, activeHyperlink, position, returnValue, include}) {
|
|
124
|
-
if (!isPastEnd && include) {
|
|
125
|
-
returnValue += token.code;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
return {
|
|
129
|
-
activeStyles,
|
|
130
|
-
activeHyperlink,
|
|
131
|
-
position,
|
|
132
|
-
returnValue,
|
|
133
|
-
include,
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
function applyCharacterToken({token, start, activeStyles, activeHyperlink, position, returnValue, include}) {
|
|
138
|
-
if (
|
|
139
|
-
!include
|
|
140
|
-
&& position >= start
|
|
141
|
-
&& !token.isGraphemeContinuation
|
|
142
|
-
) {
|
|
143
|
-
include = true;
|
|
144
|
-
returnValue = [...activeStyles.values()].join('');
|
|
145
|
-
if (activeHyperlink) {
|
|
146
|
-
returnValue += activeHyperlink.code;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
if (include) {
|
|
151
|
-
returnValue += token.value;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
position += token.visibleWidth;
|
|
155
|
-
return {
|
|
156
|
-
activeStyles,
|
|
157
|
-
activeHyperlink,
|
|
158
|
-
position,
|
|
159
|
-
returnValue,
|
|
160
|
-
include,
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
const tokenHandlers = {
|
|
165
|
-
sgr: applySgrToken,
|
|
166
|
-
hyperlink: applyHyperlinkToken,
|
|
167
|
-
control: applyControlToken,
|
|
168
|
-
character: applyCharacterToken,
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
function applyToken(parameters) {
|
|
172
|
-
const tokenHandler = tokenHandlers[parameters.token.type];
|
|
173
|
-
if (!tokenHandler) {
|
|
174
|
-
const {
|
|
175
|
-
activeStyles,
|
|
176
|
-
activeHyperlink,
|
|
177
|
-
position,
|
|
178
|
-
returnValue,
|
|
179
|
-
include,
|
|
180
|
-
} = parameters;
|
|
181
|
-
|
|
182
|
-
return {
|
|
183
|
-
activeStyles,
|
|
184
|
-
activeHyperlink,
|
|
185
|
-
position,
|
|
186
|
-
returnValue,
|
|
187
|
-
include,
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
return tokenHandler(parameters);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
function createHasContinuationAheadMap(tokens) {
|
|
195
|
-
const hasContinuationAhead = Array.from({length: tokens.length}, () => false);
|
|
196
|
-
let nextCharacterIsContinuation = false;
|
|
197
|
-
|
|
198
|
-
for (let tokenIndex = tokens.length - 1; tokenIndex >= 0; tokenIndex--) {
|
|
199
|
-
const token = tokens[tokenIndex];
|
|
200
|
-
hasContinuationAhead[tokenIndex] = nextCharacterIsContinuation;
|
|
201
|
-
if (token.type === 'character') {
|
|
202
|
-
nextCharacterIsContinuation = Boolean(token.isGraphemeContinuation);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
return hasContinuationAhead;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export default function sliceAnsi(string, start, end) {
|
|
210
|
-
const tokens = tokenizeAnsi(string, {endCharacter: end});
|
|
211
|
-
const hasContinuationAhead = createHasContinuationAheadMap(tokens);
|
|
212
|
-
let activeStyles = new Map();
|
|
213
|
-
let activeHyperlink;
|
|
214
|
-
let position = 0;
|
|
215
|
-
let returnValue = '';
|
|
216
|
-
let include = false;
|
|
217
|
-
|
|
218
|
-
for (const [tokenIndex, token] of tokens.entries()) {
|
|
219
|
-
let isPastEnd = end !== undefined && position >= end;
|
|
220
|
-
if (
|
|
221
|
-
isPastEnd
|
|
222
|
-
&& token.type !== 'character'
|
|
223
|
-
&& hasContinuationAhead[tokenIndex]
|
|
224
|
-
) {
|
|
225
|
-
isPastEnd = false;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
if (
|
|
229
|
-
isPastEnd
|
|
230
|
-
&& token.type === 'character'
|
|
231
|
-
&& !token.isGraphemeContinuation
|
|
232
|
-
) {
|
|
233
|
-
break;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
({activeStyles, activeHyperlink, position, returnValue, include} = applyToken({
|
|
237
|
-
token,
|
|
238
|
-
isPastEnd,
|
|
239
|
-
start,
|
|
240
|
-
activeStyles,
|
|
241
|
-
activeHyperlink,
|
|
242
|
-
position,
|
|
243
|
-
returnValue,
|
|
244
|
-
include,
|
|
245
|
-
}));
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
if (!include) {
|
|
249
|
-
return '';
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
if (activeHyperlink) {
|
|
253
|
-
returnValue += closeHyperlink(activeHyperlink);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
// Disable active codes at the end
|
|
257
|
-
returnValue += undoAnsiCodes(activeStyles);
|
|
258
|
-
|
|
259
|
-
return returnValue;
|
|
260
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "slice-ansi",
|
|
3
|
-
"version": "8.0.0",
|
|
4
|
-
"description": "Slice a string with ANSI escape codes",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "chalk/slice-ansi",
|
|
7
|
-
"funding": "https://github.com/chalk/slice-ansi?sponsor=1",
|
|
8
|
-
"type": "module",
|
|
9
|
-
"exports": {
|
|
10
|
-
"types": "./index.d.ts",
|
|
11
|
-
"default": "./index.js"
|
|
12
|
-
},
|
|
13
|
-
"sideEffects": false,
|
|
14
|
-
"engines": {
|
|
15
|
-
"node": ">=20"
|
|
16
|
-
},
|
|
17
|
-
"scripts": {
|
|
18
|
-
"test": "xo && ava && tsc --lib esnext index.d.ts"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"index.js",
|
|
22
|
-
"tokenize-ansi.js",
|
|
23
|
-
"index.d.ts"
|
|
24
|
-
],
|
|
25
|
-
"keywords": [
|
|
26
|
-
"slice",
|
|
27
|
-
"string",
|
|
28
|
-
"ansi",
|
|
29
|
-
"styles",
|
|
30
|
-
"color",
|
|
31
|
-
"colour",
|
|
32
|
-
"colors",
|
|
33
|
-
"terminal",
|
|
34
|
-
"console",
|
|
35
|
-
"cli",
|
|
36
|
-
"tty",
|
|
37
|
-
"escape",
|
|
38
|
-
"formatting",
|
|
39
|
-
"rgb",
|
|
40
|
-
"256",
|
|
41
|
-
"shell",
|
|
42
|
-
"xterm",
|
|
43
|
-
"log",
|
|
44
|
-
"logging",
|
|
45
|
-
"command-line",
|
|
46
|
-
"text"
|
|
47
|
-
],
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"ansi-styles": "^6.2.3",
|
|
50
|
-
"is-fullwidth-code-point": "^5.1.0"
|
|
51
|
-
},
|
|
52
|
-
"devDependencies": {
|
|
53
|
-
"ava": "^6.4.1",
|
|
54
|
-
"chalk": "^5.6.2",
|
|
55
|
-
"random-item": "^4.0.1",
|
|
56
|
-
"strip-ansi": "^7.1.2",
|
|
57
|
-
"xo": "^1.2.3"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# slice-ansi [](https://github.com/xojs/xo)
|
|
2
|
-
|
|
3
|
-
> Slice a string with [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles)
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
npm install slice-ansi
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import chalk from 'chalk';
|
|
15
|
-
import sliceAnsi from 'slice-ansi';
|
|
16
|
-
|
|
17
|
-
const string = 'The quick brown ' + chalk.red('fox jumped over ') +
|
|
18
|
-
'the lazy ' + chalk.green('dog and then ran away with the unicorn.');
|
|
19
|
-
|
|
20
|
-
console.log(sliceAnsi(string, 20, 30));
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## API
|
|
24
|
-
|
|
25
|
-
### sliceAnsi(string, startSlice, endSlice?)
|
|
26
|
-
|
|
27
|
-
#### string
|
|
28
|
-
|
|
29
|
-
Type: `string`
|
|
30
|
-
|
|
31
|
-
String with ANSI escape codes. Like one styled by [`chalk`](https://github.com/chalk/chalk).
|
|
32
|
-
|
|
33
|
-
#### startSlice
|
|
34
|
-
|
|
35
|
-
Type: `number`
|
|
36
|
-
|
|
37
|
-
Zero-based visible-column index at which to start the slice. Grapheme clusters (for example, emoji sequences and combining marks) are kept intact.
|
|
38
|
-
|
|
39
|
-
#### endSlice
|
|
40
|
-
|
|
41
|
-
Type: `number`
|
|
42
|
-
|
|
43
|
-
Zero-based visible-column index at which to end the slice.
|
|
44
|
-
|
|
45
|
-
## Related
|
|
46
|
-
|
|
47
|
-
- [wrap-ansi](https://github.com/chalk/wrap-ansi) - Wordwrap a string with ANSI escape codes
|
|
48
|
-
- [cli-truncate](https://github.com/sindresorhus/cli-truncate) - Truncate a string to a specific width in the terminal
|
|
49
|
-
- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
|
|
50
|
-
|
|
51
|
-
## Maintainers
|
|
52
|
-
|
|
53
|
-
- [Sindre Sorhus](https://github.com/sindresorhus)
|
|
54
|
-
- [Josh Junon](https://github.com/qix-)
|