sshler 1.2.1__tar.gz → 1.3.0__tar.gz
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.
- {sshler-1.2.1/sshler.egg-info → sshler-1.3.0}/PKG-INFO +1 -1
- {sshler-1.2.1 → sshler-1.3.0}/pyproject.toml +1 -1
- sshler-1.3.0/scripts/capture_views.py +287 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/boxes.py +1 -1
- sshler-1.2.1/sshler/static/dist/assets/Add-DVj_NAD5.js → sshler-1.3.0/sshler/static/dist/assets/Add-DEmZuhBN.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/Alert-CKoH27Xv.js → sshler-1.3.0/sshler/static/dist/assets/Alert-DIRa-mLO.js +3 -3
- sshler-1.3.0/sshler/static/dist/assets/ArtifactsView-DBlFlU7Q.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/ArtifactsView-WEoMOwvv.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/BoxesView-Kv_-7He8.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/BoxesView-zc5PoApp.js +1 -0
- sshler-1.2.1/sshler/static/dist/assets/ChevronRight-CB13mv_U.js → sshler-1.3.0/sshler/static/dist/assets/ChevronRight-BRxEsqaL.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/ClaudeSessionsView-CFiCqe9_.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/ClaudeSessionsView-Dsr1b3SU.js +137 -0
- sshler-1.3.0/sshler/static/dist/assets/CommanderView-BXUhbX5j.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/CommanderView-C3kzrrRj.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/ContextMenu-Bf1q3yh_.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/ContextMenu-Dzb8gEM5.css +1 -0
- sshler-1.2.1/sshler/static/dist/assets/DiffView-BuaOaZHV.css → sshler-1.3.0/sshler/static/dist/assets/DiffView-C0go8e8Z.css +1 -1
- sshler-1.3.0/sshler/static/dist/assets/DiffView-QYPKtJgq.js +9 -0
- sshler-1.2.1/sshler/static/dist/assets/DiffViewer-CNSxZac5.js → sshler-1.3.0/sshler/static/dist/assets/DiffViewer-CwS6Pb5U.js +2 -2
- sshler-1.3.0/sshler/static/dist/assets/DirectoryPickerModal-V3skxPqP.js +95 -0
- sshler-1.3.0/sshler/static/dist/assets/DirectoryPickerModal-s0UA0vR3.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/FilesView-BKMMXyhy.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/FilesView-DgaZaJ8F.js +772 -0
- sshler-1.3.0/sshler/static/dist/assets/GitBadge-DXhwNg1u.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/Input-DnapVD4O.js +234 -0
- sshler-1.3.0/sshler/static/dist/assets/InputNumber-vaLjPFY8.js +13 -0
- sshler-1.3.0/sshler/static/dist/assets/LoginView-BVD5vU89.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/LoginView-CjBkF355.js +110 -0
- sshler-1.3.0/sshler/static/dist/assets/MultiTerminalView-DK69qR-F.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/MultiTerminalView-y_VKl809.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/NotFoundView-D_bm6QDQ.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/NotFoundView-Dj55XWwy.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/OverviewView-BYKkvHRn.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/OverviewView-DztAV6t8.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/PhArrowLeft.vue-BMs1SZjy.js +1 -0
- sshler-1.2.1/sshler/static/dist/assets/PhArrowsClockwise.vue-DIpXw-wC.js → sshler-1.3.0/sshler/static/dist/assets/PhArrowsClockwise.vue-9RBDD46V.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/PhArrowsLeftRight.vue-8OgBoRAo.js → sshler-1.3.0/sshler/static/dist/assets/PhArrowsLeftRight.vue-DjncoiiD.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/PhArrowsOut.vue-DQptlW4v.js → sshler-1.3.0/sshler/static/dist/assets/PhArrowsOut.vue-BOCyKglI.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/PhCheck.vue-DVhfUCos.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/PhCircle.vue-BMTIJDex.js +1 -0
- sshler-1.2.1/sshler/static/dist/assets/PhClockCounterClockwise.vue-8fEtbkeo.js → sshler-1.3.0/sshler/static/dist/assets/PhClockCounterClockwise.vue-eSgjR-is.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/PhCopy.vue-FKiTGwf5.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/PhCopySimple.vue-lAo26JOS.js +1 -0
- sshler-1.2.1/sshler/static/dist/assets/PhFloppyDisk.vue-BzUr1KeQ.js → sshler-1.3.0/sshler/static/dist/assets/PhFloppyDisk.vue-DG1DzU7a.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/PhFolderOpen.vue-BliJ8f_D.js → sshler-1.3.0/sshler/static/dist/assets/PhFolderOpen.vue-DXTvd5o3.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/PhGitBranch.vue-Bcy7lLT8.js → sshler-1.3.0/sshler/static/dist/assets/PhGitBranch.vue-B09vnVPP.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/PhPencilSimple.vue-CZyPwIW4.js → sshler-1.3.0/sshler/static/dist/assets/PhPencilSimple.vue-DEromwmD.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/PhPlay.vue-YnRHvIIa.js → sshler-1.3.0/sshler/static/dist/assets/PhPlay.vue-D_wZ8r3z.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/PhPushPinSimple.vue-BMQpg4HB.js +1 -0
- sshler-1.2.1/sshler/static/dist/assets/PhQuestion.vue-BG4hB2wF.js → sshler-1.3.0/sshler/static/dist/assets/PhQuestion.vue-6r8_Wp_x.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/PhTrash.vue-UcyRJtzp.js → sshler-1.3.0/sshler/static/dist/assets/PhTrash.vue-B_MgjXry.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/Popconfirm-BNVwQU1b.js +16 -0
- sshler-1.3.0/sshler/static/dist/assets/Popover-B7DitKyC.js +117 -0
- sshler-1.3.0/sshler/static/dist/assets/Progress-BZXXtjea.js +166 -0
- sshler-1.3.0/sshler/static/dist/assets/ProgressView-3p_OIi-y.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/ProgressView-o8nNcvpx.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/Select-Cc7bvkLZ.js +317 -0
- sshler-1.3.0/sshler/static/dist/assets/SettingsView-a2sUA5vI.js +74 -0
- sshler-1.3.0/sshler/static/dist/assets/SettingsView-quFzRgtz.css +1 -0
- sshler-1.2.1/sshler/static/dist/assets/Spin-DMtfGyTl.js → sshler-1.3.0/sshler/static/dist/assets/Spin-Dd0ayTqa.js +2 -2
- sshler-1.3.0/sshler/static/dist/assets/Suffix-B36DzEY5.js +25 -0
- sshler-1.2.1/sshler/static/dist/assets/Switch-CUeyUos9.js → sshler-1.3.0/sshler/static/dist/assets/Switch-qbvDBLs_.js +2 -2
- sshler-1.3.0/sshler/static/dist/assets/Tag-DuIn8UVX.js +94 -0
- sshler-1.3.0/sshler/static/dist/assets/TerminalView-B9PJBhCP.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/TerminalView-CtuLeLw6.js +2 -0
- sshler-1.2.1/sshler/static/dist/assets/Warning-DQEelS-y.js → sshler-1.3.0/sshler/static/dist/assets/Warning-DdY8ttUA.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/_plugin-vue_export-helper-Bq7SfXed.js +400 -0
- sshler-1.2.1/sshler/static/dist/assets/abnfDiagram-S7VZAUFO-CRAuAPKn.js → sshler-1.3.0/sshler/static/dist/assets/abnfDiagram-S7VZAUFO-Dl62XIa8.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/architectureDiagram-YGSQEFNW-DpqGi7F5.js → sshler-1.3.0/sshler/static/dist/assets/architectureDiagram-YGSQEFNW-CX2aIRmb.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/blockDiagram-APKKGZFW-DDgqpToC.js → sshler-1.3.0/sshler/static/dist/assets/blockDiagram-APKKGZFW-h8c8DRn_.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/bootstrap-DMKDM0gE.js +1 -0
- sshler-1.2.1/sshler/static/dist/assets/c4Diagram-KJ2TOQU5-C1xXULaU.js → sshler-1.3.0/sshler/static/dist/assets/c4Diagram-KJ2TOQU5-CETSG46L.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-6MUBBAK2-CJDfnB2x.js → sshler-1.3.0/sshler/static/dist/assets/chunk-6MUBBAK2-QI-PvRu8.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-AXFCVDMN-BPNpFjIz.js → sshler-1.3.0/sshler/static/dist/assets/chunk-AXFCVDMN-B6oAzgGh.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-BG4553SI-31NRIiO1.js → sshler-1.3.0/sshler/static/dist/assets/chunk-BG4553SI-Cz90o6c2.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-DQASFODM-PhNJXukx.js → sshler-1.3.0/sshler/static/dist/assets/chunk-DQASFODM-CBQyowXs.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-HFQBQIA3-BJOOoMyZ.js → sshler-1.3.0/sshler/static/dist/assets/chunk-HFQBQIA3-BNSGSFhc.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-KQLB2F66-Culypxju.js → sshler-1.3.0/sshler/static/dist/assets/chunk-KQLB2F66-W3LJLXaT.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-KS47KZWR-DC-0YsSj.js → sshler-1.3.0/sshler/static/dist/assets/chunk-KS47KZWR-CiMX3_TA.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-LEVMRMFU-B0cxXb-O.js → sshler-1.3.0/sshler/static/dist/assets/chunk-LEVMRMFU-QVTambqF.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-M57EVK23-YCUPLlVX.js → sshler-1.3.0/sshler/static/dist/assets/chunk-M57EVK23-DaZQyPnU.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-OY52VR5R-Dt5cnDg4.js → sshler-1.3.0/sshler/static/dist/assets/chunk-OY52VR5R-PoE6xPk0.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-QB3YPZ4I-Bxd9TvGD.js → sshler-1.3.0/sshler/static/dist/assets/chunk-QB3YPZ4I-DTzHDg1d.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-R3KSYZAL-CDf2N8ls.js → sshler-1.3.0/sshler/static/dist/assets/chunk-R3KSYZAL-Co4cu03u.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-STOXU5M4-DrkFUR4Q.js → sshler-1.3.0/sshler/static/dist/assets/chunk-STOXU5M4-DQS_GffP.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-TU62E6Q5-BjGh__rd.js → sshler-1.3.0/sshler/static/dist/assets/chunk-TU62E6Q5-DgV5rx-o.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/chunk-X4PVCEUW-VSKCw2t0.js → sshler-1.3.0/sshler/static/dist/assets/chunk-X4PVCEUW-Nu_AGfdq.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/classDiagram-v2-L25IHNXF-Dc5jD78x.js → sshler-1.3.0/sshler/static/dist/assets/classDiagram-v2-L25IHNXF-Cy3mefYn.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/composables-t62CRov_.js +1 -0
- sshler-1.2.1/sshler/static/dist/assets/cynefinDiagram-L36ESFBY-D7tNGZw8.js → sshler-1.3.0/sshler/static/dist/assets/cynefinDiagram-L36ESFBY-CitA4c9o.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/dagre-SPEB5RXH-DNdGxsVE.js → sshler-1.3.0/sshler/static/dist/assets/dagre-SPEB5RXH-CgWivpDz.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/diagram-3B7GL73J-CqdGkx6m.js → sshler-1.3.0/sshler/static/dist/assets/diagram-3B7GL73J-C4x_nMmI.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/diagram-DNEMPZML-CnUwrV1Q.js → sshler-1.3.0/sshler/static/dist/assets/diagram-DNEMPZML-O7cqJkdu.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/diagram-L3MUGCDN-dVze692u.js → sshler-1.3.0/sshler/static/dist/assets/diagram-L3MUGCDN-C8OSMZVz.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/diagram-LA4NIPWU-BQ5wXtyf.js → sshler-1.3.0/sshler/static/dist/assets/diagram-LA4NIPWU-DtrA47zY.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/diagram-MHCOC4E2-BRDZ4aI4.js → sshler-1.3.0/sshler/static/dist/assets/diagram-MHCOC4E2-DtH_Z1dL.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/diagram-XPFHEONP-CK4hrnDe.js → sshler-1.3.0/sshler/static/dist/assets/diagram-XPFHEONP-D0vdRQt6.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/ebnfDiagram-UZSYDL2S-DDWraZHo.js → sshler-1.3.0/sshler/static/dist/assets/ebnfDiagram-UZSYDL2S-jUftlOMT.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/elk-XV6XMXQE-CBaL4Ym6.js → sshler-1.3.0/sshler/static/dist/assets/elk-XV6XMXQE-CkUwtCDs.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/erDiagram-EYBAPDEH-BVPB658E.js → sshler-1.3.0/sshler/static/dist/assets/erDiagram-EYBAPDEH-DZvAyEAy.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/event-Db0nAmVz.js +1 -0
- sshler-1.2.1/sshler/static/dist/assets/favorites-xRCBAWJ7.js → sshler-1.3.0/sshler/static/dist/assets/favorites-CPj5Zj-5.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/flatten-C237jh8P.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/flowDiagram-MALGAFMO-jiDO23TT.js +1 -0
- sshler-1.2.1/sshler/static/dist/assets/ganttDiagram-23REXITY-CBlsecvz.js → sshler-1.3.0/sshler/static/dist/assets/ganttDiagram-23REXITY-DgFgtUtE.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/gitGraphDiagram-STJD7YCW-CTaWVdXt.js → sshler-1.3.0/sshler/static/dist/assets/gitGraphDiagram-STJD7YCW-fIg-hNNm.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/http-5jBZtK3s.js +3 -0
- sshler-1.3.0/sshler/static/dist/assets/i18n-gQdbl5sJ.js +5 -0
- sshler-1.3.0/sshler/static/dist/assets/index-D2Lnc2ko.css +1 -0
- sshler-1.3.0/sshler/static/dist/assets/index-D6bev0bd.js +591 -0
- sshler-1.2.1/sshler/static/dist/assets/infoDiagram-KBXO4MBG-DkSOQT-R.js → sshler-1.3.0/sshler/static/dist/assets/infoDiagram-KBXO4MBG-BVVfHFcQ.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/ishikawaDiagram-M35NCXHK-BgjsD5bI.js → sshler-1.3.0/sshler/static/dist/assets/ishikawaDiagram-M35NCXHK-CqGTk0dp.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/journeyDiagram-OPLOXDXO-CZ1ETyhW.js → sshler-1.3.0/sshler/static/dist/assets/journeyDiagram-OPLOXDXO-BFB5FKSr.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/kanban-definition-BZKZHSQY-qkOaCBel.js → sshler-1.3.0/sshler/static/dist/assets/kanban-definition-BZKZHSQY-DSSNLkvk.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/light-B3Z7NuY-.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/light-Bw_xNwn4.js +108 -0
- sshler-1.3.0/sshler/static/dist/assets/light-COnbaPWa.js +105 -0
- sshler-1.2.1/sshler/static/dist/assets/mermaid.core-D5w3hbD9.js → sshler-1.3.0/sshler/static/dist/assets/mermaid.core-C2mTQdtl.js +4 -4
- sshler-1.2.1/sshler/static/dist/assets/mindmap-definition-I2QAS2VK-C-g7iR5I.js → sshler-1.3.0/sshler/static/dist/assets/mindmap-definition-I2QAS2VK-_q85r7dF.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/pathParts-CdTzPsGR.js → sshler-1.3.0/sshler/static/dist/assets/pathParts-B6X81jnP.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/pegDiagram-FD4XPPHP-BD4SCum0.js → sshler-1.3.0/sshler/static/dist/assets/pegDiagram-FD4XPPHP-DDudVw-Y.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/pieDiagram-J4AKIIQI-jgo_yfAe.js → sshler-1.3.0/sshler/static/dist/assets/pieDiagram-J4AKIIQI-BqvFr1aO.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/quadrantDiagram-XTYBLID2-CMNwkjsj.js → sshler-1.3.0/sshler/static/dist/assets/quadrantDiagram-XTYBLID2-BoymLJsF.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/railroadDiagram-MRQ6NCDL-CtghQNBS.js → sshler-1.3.0/sshler/static/dist/assets/railroadDiagram-MRQ6NCDL-DSoHEHCg.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/requirementDiagram-Y7LWUY3S-D5lIq31W.js → sshler-1.3.0/sshler/static/dist/assets/requirementDiagram-Y7LWUY3S-YZ16mKPo.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/runtime-core.esm-bundler-Dg-ZVrJt.js +1 -0
- sshler-1.2.1/sshler/static/dist/assets/sankeyDiagram-WGJFYUXA-BgJgBQSA.js → sshler-1.3.0/sshler/static/dist/assets/sankeyDiagram-WGJFYUXA-CAxDBX7v.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/sequenceDiagram-5NDRBG5M-Biszpcaf.js → sshler-1.3.0/sshler/static/dist/assets/sequenceDiagram-5NDRBG5M-CcwEdL0y.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/sessionName-m9Owacal.js → sshler-1.3.0/sshler/static/dist/assets/sessionName-DUN8bJpk.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/stateDiagram-v2-FJ4FJNEA-Dgy1pNMu.js → sshler-1.3.0/sshler/static/dist/assets/stateDiagram-v2-FJ4FJNEA-DCGJ2ioH.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/swimlanes-UMQ2AFYF-BuWt8UN7.js → sshler-1.3.0/sshler/static/dist/assets/swimlanes-UMQ2AFYF-D9gDCaI4.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/swimlanesDiagram-OMPLPG4O-CyX5GEB6.js +8 -0
- sshler-1.2.1/sshler/static/dist/assets/timeline-definition-SEUHKTQE-CXhY3lRv.js → sshler-1.3.0/sshler/static/dist/assets/timeline-definition-SEUHKTQE-DdmcvoJw.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/use-merged-state-CuoatQ1O.js → sshler-1.3.0/sshler/static/dist/assets/use-merged-state-Dm-xuTAu.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/useApi-SF8tY_yo-CGxurG4J.js +1 -0
- sshler-1.3.0/sshler/static/dist/assets/useBoxAnswer-CZQidpPa.js +153 -0
- sshler-1.2.1/sshler/static/dist/assets/useFolderSearch-NCF-aCNV.js → sshler-1.3.0/sshler/static/dist/assets/useFolderSearch-CJjr_Jqh.js +1 -1
- sshler-1.3.0/sshler/static/dist/assets/useReplacePrompt-YQcfeUCq.js +376 -0
- sshler-1.2.1/sshler/static/dist/assets/usecaseDiagram-AFA6YXN4-D2HPDd5g.js → sshler-1.3.0/sshler/static/dist/assets/usecaseDiagram-AFA6YXN4-BCh0_dta.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/vennDiagram-NNMJR3RB-DMr6IXjZ.js → sshler-1.3.0/sshler/static/dist/assets/vennDiagram-NNMJR3RB-HmLde3vs.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/wardleyDiagram-S7YFUSEH-3O3u2OIU.js → sshler-1.3.0/sshler/static/dist/assets/wardleyDiagram-S7YFUSEH--TohOzHi.js +1 -1
- sshler-1.2.1/sshler/static/dist/assets/xychartDiagram-GGNKY7IX-CUYbM1pN.js → sshler-1.3.0/sshler/static/dist/assets/xychartDiagram-GGNKY7IX-Cf76Eobh.js +1 -1
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/index.html +19 -11
- {sshler-1.2.1 → sshler-1.3.0/sshler.egg-info}/PKG-INFO +1 -1
- sshler-1.3.0/sshler.egg-info/SOURCES.txt +370 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_api_body_models.py +22 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_session_active_flag.py +9 -2
- sshler-1.2.1/sshler/static/dist/assets/ArtifactsView-Dv33f2Fs.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/ArtifactsView-afhw1qXI.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/BoxesView-9Vjlf5Iv.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/BoxesView-C2c0xItr.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/ClaudeSessionsView-vF7gyCQp.js +0 -137
- sshler-1.2.1/sshler/static/dist/assets/ClaudeSessionsView-xGWjqzNK.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/CommanderView-4LyZJYDy.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/CommanderView-ThrOCSOS.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/DiffView-BXCpZW0Z.js +0 -9
- sshler-1.2.1/sshler/static/dist/assets/DirectoryPickerModal-3MJl9Fe_.js +0 -95
- sshler-1.2.1/sshler/static/dist/assets/DirectoryPickerModal-BchEuEbT.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/FilesView-BkB3GWQ_.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/FilesView-BtZrU3i_.js +0 -772
- sshler-1.2.1/sshler/static/dist/assets/GitBadge-DBBiAe6y.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/Grid-C0Ybw0fx.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/InputNumber-DLHiw-vi.js +0 -13
- sshler-1.2.1/sshler/static/dist/assets/LoginView-BPjMtIkt.js +0 -110
- sshler-1.2.1/sshler/static/dist/assets/LoginView-ZzJUJyPs.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/MultiTerminalView-BY769dER.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/MultiTerminalView-D9Moh7Zr.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/NotFoundView-DWZwQy5Q.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/NotFoundView-DwnT1Qmo.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/OverviewView-Aq1mzCKn.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/OverviewView-CCyD27cf.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/PhArrowLeft.vue-Bx2QsCJM.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/PhCheck.vue-CEm_oMEb.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/PhCircle.vue-vHfAO3d-.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/PhCopy.vue-BLGEnEkX.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/PhCopySimple.vue-DEwhUG3v.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/PhList.vue-KPsdW08_.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/PhPushPinSimple.vue-B8qMbkV_.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/Popconfirm-BzPxPplj.js +0 -16
- sshler-1.2.1/sshler/static/dist/assets/ProgressView-CPI0lyZX.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/ProgressView-DbwfQb8J.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/RadioGroup-DwZph3HN.js +0 -153
- sshler-1.2.1/sshler/static/dist/assets/SettingsView-B21c--4o.js +0 -74
- sshler-1.2.1/sshler/static/dist/assets/SettingsView-xAJiWU9o.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/Tag-BXB6UJbk.js +0 -210
- sshler-1.2.1/sshler/static/dist/assets/TerminalView-Bxk8zgzW.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/TerminalView-C6hzrcMJ.js +0 -2
- sshler-1.2.1/sshler/static/dist/assets/_plugin-vue_export-helper-BUbEWP3a.js +0 -400
- sshler-1.2.1/sshler/static/dist/assets/bootstrap-B1hYOSMw.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/composables-BklhQYb_.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/flatten-blBgGSOx.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/flowDiagram-MALGAFMO-Dn6Ozus2.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/http-BqXQFLQe.js +0 -7
- sshler-1.2.1/sshler/static/dist/assets/index-B3oOG2dl.js +0 -1557
- sshler-1.2.1/sshler/static/dist/assets/index-CEzH1A4_.css +0 -1
- sshler-1.2.1/sshler/static/dist/assets/runtime-core.esm-bundler-BrzYnu9e.js +0 -1
- sshler-1.2.1/sshler/static/dist/assets/swimlanesDiagram-OMPLPG4O-DH2U0TbL.js +0 -8
- sshler-1.2.1/sshler/static/dist/assets/useReplacePrompt-4JyUiYgK.js +0 -376
- sshler-1.2.1/sshler.egg-info/SOURCES.txt +0 -358
- {sshler-1.2.1 → sshler-1.3.0}/LICENSE +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/MANIFEST.in +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/README.md +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/scripts/check_frontend_dist.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/setup.cfg +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/__init__.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/_pty_child.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/access.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/__init__.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/archive.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/artifacts.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/auth.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/batch.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/box_files.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/box_runner.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/claude_sessions.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/config.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/dependencies.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/diff.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/excel.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/failure.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/file_contract.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/files.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/git.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/grep.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/helpers.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/local_files.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/models.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/pdf.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/ping.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/placement.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/progress.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/rate_limiting.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/recovery.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/remote.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/remote_files.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/run_failures.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/search.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/sessions.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/snippets.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/stats_stream.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/terminal.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/transfer.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/api/tunnels.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/artifacts.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/auth.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/claude_sessions.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/cli/__init__.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/cli/_main.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/cli/artifacts.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/cli/client.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/cli/password.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/cli/ping.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/cli/progress.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/cli/runtime_token.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/cli/server.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/config.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/config_cache.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/config_dir.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/pdf.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/proc.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/ptyspawn.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/rate_limit.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/scripts/install-sshler-task.ps1 +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/scripts/remove-sshler-task.ps1 +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/scripts/run-sshler.ps1 +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/session.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/session_activity.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/settings.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/snapshot.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/spa.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/ssh.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/ssh_config.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/ssh_pool.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/state.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/DiffViewer-BRAHvu6K.css +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/GitBadge-i4R5k8Yn.css +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/_baseEach-DRxRab5x.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/architecture-WOLXFQ4H-C6rElQ7Y.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/bpmnIcons-APHXDYXF-C0jbCElo.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/chunk-2Q5K7J3B-C1jixKkw.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/chunk-5VM5RSS4-ZNzvKenW.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/chunk-DUW6YSOI-Dgx8z5s3.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/chunk-J5ZVWO5B-oDCd-gWO.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/chunk-JWPE2WC7-DVXcaiue.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/chunk-NGNAAXSQ-DI_UYJZ4.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/chunk-XXDRQBXY-i7MKP1NY.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/cose-bilkent-JH36ORCC-C6J2IoHg.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/cynefin-EF2NZ3EQ-lPUjyvIZ.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/cytoscape.esm-nTrd5EVq.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/d3-scale-CElPUUud.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/d3-selection-COWvaQNI.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/dist-DdXDFcej.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/eventmodeling-K75KTNOO-BEvQBdS3.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/get-Jkx-poUl.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/get-slot-6kXJmSMP.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/gitGraph-VSP46ZUC-DPePhKd7.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/graphlib-C-M0B7mD.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/happens-in-D4nrdV77.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/info-OHQRW6UA-FXs-3RzV.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/isArrayLikeObject-DDw98r_w.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/katex-MEuSR36T.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/map-qc1plvxH.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/merge-DVfkhdQt.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/mermaid-parser.core-gWF4TbpQ.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/packet-JDAUHWVQ-DWI00mii.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/pageLoad-86LfyLdt.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/pie-XZMESJXO-mEep_piW.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/preload-helper-BSZHtiEo.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/radar-ABXABTNO-Co9rsjbw.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/railroad-I3PHUGI6-_QD7qyEP.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/railroad-abnf-LNEFI6M7-Dya2h1Ax.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/railroad-ebnf-DWYD2UWJ-xXJLDf9V.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/railroad-peg-JR7BVNR7-CCnFE6SM.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/rolldown-runtime-COiEfhsA.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/rough.esm-Dy-Kn_BL.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/sizeCapture-INFHLROL-3uHXrFqA.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/treeView-D4JQ5SDB-v1jaVIUB.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/treemap-SAJKECNS-DNI-q7O8.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/useReplacePrompt-g2-2SknS.css +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/assets/wardley-7MLQ67FV-B8BqdR-s.js +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/favicon.png +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/fonts/MonaspaceNeon-Bold.woff2 +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/fonts/MonaspaceNeon-Regular.woff2 +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/fonts/MonaspaceNeon-Variable.woff2 +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/icon-192.png +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/icon-512-maskable.png +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/icon-512.png +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/logo.png +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/static/dist/manifest.webmanifest +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/terminal/__init__.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/terminal/conpty.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/terminal/local.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/terminal/pump.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/terminal/remote.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/terminal/transport.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/tmux.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/validation.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/webapp.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/win_terminal_registry.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler/winpty_proc.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler.egg-info/dependency_links.txt +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler.egg-info/entry_points.txt +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler.egg-info/requires.txt +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/sshler.egg-info/top_level.txt +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_api_artifacts.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_api_diff.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_api_progress.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_api_v1.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_archive.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_archive_existing_names.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_artifacts.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_basic.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_batch_ops.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_box_files_contract.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_box_program_failure_reasons.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_box_runner_contract.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_claude_sessions.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_cli_artifacts.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_cli_imports.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_cli_progress.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_cli_stop.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_client_address.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_command_injection.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_config.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_database_indexes.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_dev_workflow.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_existing_name_rule.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_failure_answers.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_failure_reasons.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_fake_tmux.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_files_folder_zip_remote.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_files_upload_local.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_force_kill.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_git_refs.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_grep.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_handshake_status.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_httpx_ws.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_keep_both.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_local_folder_copy.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_local_git_runs.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_origin_csrf.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_page_failure_reasons.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_path_validation.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_ping_websocket.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_plain_shell.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_platform_support.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_progress_websocket.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_ptyspawn.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_rate_limit.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_rate_limit_middleware.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_recovery.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_remote_git_info_quoting.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_remote_home_callers.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_remote_owners.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_remote_program_checks.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_remote_tilde_routes.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_require_token.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_route_failure_reasons.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_search.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_serve_token_cache.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_session_auth.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_session_name_parity.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_snapshot_loop_settings.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_snippets.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_ssh.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_ssh_connection_leaks.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_ssh_loopback.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_ssh_pool_age.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_state_store.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_stats_stream.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_terminal_closes.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_terminal_endings.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_terminal_teardown.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_terminal_transport_contract.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_tmux_subprocess.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_tmux_window_list.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_tunnels.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_websocket.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_win_terminal_registry.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_windows_terminal.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_ws_access.py +0 -0
- {sshler-1.2.1 → sshler-1.3.0}/tests/test_ws_term_auth.py +0 -0
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "sshler"
|
|
8
|
-
version = "1.
|
|
8
|
+
version = "1.3.0"
|
|
9
9
|
description = "A local FastAPI-powered SSH multiplexer for tmux-in-browser — from your laptop only."
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.12"
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
"""Screenshots of sshler's views at chosen widths, languages and themes.
|
|
2
|
+
|
|
3
|
+
uv run python scripts/capture_views.py --out DIR [--views overview,files,...]
|
|
4
|
+
[--widths 390,760,1366] [--langs en,ja] [--themes dark,light]
|
|
5
|
+
[--platform posix|windows] [--dist FOLDER]
|
|
6
|
+
|
|
7
|
+
Writes one PNG per combination, named ``<view>-<width>-<lang>-<theme>.png``. It checks
|
|
8
|
+
nothing: it is for looking at the page.
|
|
9
|
+
|
|
10
|
+
``--platform windows`` shows the page a Windows host would get: the browser rewrites the
|
|
11
|
+
bootstrap answer to say the platform is Windows, with its four shells, so the views that
|
|
12
|
+
decide on it (the terminal's shell choice and tabs) draw their Windows form. File paths
|
|
13
|
+
do not: they come from the server, which is unchanged and still runs here on Linux, so
|
|
14
|
+
they stay in Linux form (no drive letters). A Windows shell does not open; the page
|
|
15
|
+
around it renders. Those files end in ``-windows.png``.
|
|
16
|
+
|
|
17
|
+
``--dist FOLDER`` serves the page from another built frontend (``vite build --outDir
|
|
18
|
+
FOLDER``), as the code of an earlier commit, while the API is still this server's.
|
|
19
|
+
|
|
20
|
+
The app starts the way the browser suites start it: this script runs pytest on itself
|
|
21
|
+
with ``tests/e2e/conftest.py`` loaded as a plugin, so the ``app_server`` fixture there
|
|
22
|
+
(its isolated config, HOME and tmux directory, and their teardown) is the one server
|
|
23
|
+
start. The page is the built frontend in ``sshler/static/dist``: run
|
|
24
|
+
``pnpm --prefix frontend build`` first, and ``uv run playwright install chromium`` once.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
from __future__ import annotations
|
|
28
|
+
|
|
29
|
+
import argparse
|
|
30
|
+
import importlib.util
|
|
31
|
+
import json
|
|
32
|
+
import os
|
|
33
|
+
import shutil
|
|
34
|
+
import sys
|
|
35
|
+
import tempfile
|
|
36
|
+
from pathlib import Path
|
|
37
|
+
from urllib.parse import quote, unquote, urlparse
|
|
38
|
+
|
|
39
|
+
ROOT = Path(__file__).resolve().parents[1]
|
|
40
|
+
CONFTEST = ROOT / "tests" / "e2e" / "conftest.py"
|
|
41
|
+
ARGS_ENV = "SSHLER_CAPTURE_ARGS"
|
|
42
|
+
|
|
43
|
+
# The window height that goes with each common width: a phone, a narrow window, a laptop.
|
|
44
|
+
HEIGHTS = {390: 844, 760: 700, 1366: 768}
|
|
45
|
+
DEFAULT_HEIGHT = 900
|
|
46
|
+
|
|
47
|
+
# Storage keys the page reads at start (stores/app.ts, i18n.ts).
|
|
48
|
+
COLOR_KEY = "sshler:ui:color-mode"
|
|
49
|
+
LOCALE_KEY = "sshler:locale"
|
|
50
|
+
|
|
51
|
+
# Each view: its route. ``{dir}`` is a small known folder made for the run.
|
|
52
|
+
VIEWS: dict[str, str] = {
|
|
53
|
+
"overview": "/app/",
|
|
54
|
+
"files": "/app/files?box=local&dir={dir}",
|
|
55
|
+
"terminal": "/app/terminal?box=local&dir={dir}",
|
|
56
|
+
"multi-terminal": "/app/multi-terminal?box=local",
|
|
57
|
+
"commander": "/app/commander?box=local&dir={dir}",
|
|
58
|
+
"boxes": "/app/boxes",
|
|
59
|
+
"settings": "/app/settings",
|
|
60
|
+
"login": "/app/login",
|
|
61
|
+
"progress": "/app/progress",
|
|
62
|
+
"claude": "/app/claude",
|
|
63
|
+
"diff": "/app/diff",
|
|
64
|
+
"artifacts": "/app/artifacts",
|
|
65
|
+
"notfound": "/app/no-such-page",
|
|
66
|
+
}
|
|
67
|
+
DEFAULT_VIEWS = [
|
|
68
|
+
"overview",
|
|
69
|
+
"files",
|
|
70
|
+
"terminal",
|
|
71
|
+
"multi-terminal",
|
|
72
|
+
"commander",
|
|
73
|
+
"boxes",
|
|
74
|
+
"settings",
|
|
75
|
+
"login",
|
|
76
|
+
]
|
|
77
|
+
|
|
78
|
+
# What a Windows host's bootstrap adds (sshler/api/helpers.py `available_windows_shells`).
|
|
79
|
+
WINDOWS_BOOTSTRAP = {
|
|
80
|
+
"platform": "windows",
|
|
81
|
+
"windows_shells": [
|
|
82
|
+
{"id": "pwsh", "label": "PowerShell 7", "available": True},
|
|
83
|
+
{"id": "powershell", "label": "Windows PowerShell", "available": True},
|
|
84
|
+
{"id": "cmd", "label": "Command Prompt", "available": True},
|
|
85
|
+
{"id": "wsl", "label": "WSL (Ubuntu)", "available": True},
|
|
86
|
+
],
|
|
87
|
+
"default_shell": "pwsh",
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
# How long to wait for a view's own content before taking the picture anyway.
|
|
91
|
+
READY_TIMEOUT_MS = 15_000
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def _csv(value: str) -> list[str]:
|
|
95
|
+
return [item.strip() for item in value.split(",") if item.strip()]
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def parse_args(argv: list[str]) -> argparse.Namespace:
|
|
99
|
+
parser = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])
|
|
100
|
+
parser.add_argument("--out", required=True, type=Path, help="folder for the PNG files")
|
|
101
|
+
parser.add_argument(
|
|
102
|
+
"--views", type=_csv, default=DEFAULT_VIEWS, help=f"any of: {', '.join(VIEWS)}"
|
|
103
|
+
)
|
|
104
|
+
parser.add_argument("--widths", type=_csv, default=["390", "760", "1366"])
|
|
105
|
+
parser.add_argument("--langs", type=_csv, default=["en", "ja"])
|
|
106
|
+
parser.add_argument("--themes", type=_csv, default=["dark", "light"])
|
|
107
|
+
parser.add_argument("--platform", choices=["posix", "windows"], default="posix")
|
|
108
|
+
parser.add_argument("--dist", type=Path, default=None, help="a built frontend to serve instead")
|
|
109
|
+
args = parser.parse_args(argv)
|
|
110
|
+
unknown = [view for view in args.views if view not in VIEWS]
|
|
111
|
+
if unknown:
|
|
112
|
+
parser.error(f"unknown view(s): {', '.join(unknown)}; known: {', '.join(VIEWS)}")
|
|
113
|
+
bad_langs = [lang for lang in args.langs if lang not in ("en", "ja")]
|
|
114
|
+
if bad_langs:
|
|
115
|
+
parser.error(f"unknown language(s): {', '.join(bad_langs)}")
|
|
116
|
+
bad_themes = [theme for theme in args.themes if theme not in ("dark", "light")]
|
|
117
|
+
if bad_themes:
|
|
118
|
+
parser.error(f"unknown theme(s): {', '.join(bad_themes)}")
|
|
119
|
+
if args.dist is not None and not (args.dist / "index.html").is_file():
|
|
120
|
+
parser.error(f"--dist {args.dist} has no index.html")
|
|
121
|
+
try:
|
|
122
|
+
args.widths = [int(width) for width in args.widths]
|
|
123
|
+
except ValueError:
|
|
124
|
+
parser.error("--widths takes whole numbers, as 390,760,1366")
|
|
125
|
+
return args
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def make_fixture_dir() -> Path:
|
|
129
|
+
"""A folder with a few known entries, so the file views show rows."""
|
|
130
|
+
folder = Path(tempfile.mkdtemp(prefix="capture"))
|
|
131
|
+
(folder / "docs").mkdir()
|
|
132
|
+
(folder / "src").mkdir()
|
|
133
|
+
readme = "# Capture\n\nA folder made for the screenshots.\n"
|
|
134
|
+
(folder / "README.md").write_text(readme, encoding="utf-8")
|
|
135
|
+
(folder / "notes.txt").write_text("one\ntwo\nthree\n", encoding="utf-8")
|
|
136
|
+
(folder / "src" / "main.py").write_text("print('hello')\n", encoding="utf-8")
|
|
137
|
+
return folder
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
def _wait_for_view(page, view: str) -> None:
|
|
141
|
+
"""Wait for the view's own content; take the picture anyway when it does not come."""
|
|
142
|
+
try:
|
|
143
|
+
# Sockets do not count here, so the terminal's and the progress strip's stay open.
|
|
144
|
+
page.wait_for_load_state("networkidle", timeout=READY_TIMEOUT_MS)
|
|
145
|
+
if view == "terminal":
|
|
146
|
+
page.locator(".xterm-screen").first.wait_for(state="visible", timeout=READY_TIMEOUT_MS)
|
|
147
|
+
elif view == "files":
|
|
148
|
+
page.get_by_text("README.md").first.wait_for(state="visible", timeout=READY_TIMEOUT_MS)
|
|
149
|
+
# No loading spinner left on the page.
|
|
150
|
+
page.wait_for_function(
|
|
151
|
+
"() => ![...document.querySelectorAll('.n-spin')].some(el => el.offsetParent !== null)",
|
|
152
|
+
timeout=READY_TIMEOUT_MS,
|
|
153
|
+
)
|
|
154
|
+
except Exception as exc: # noqa: BLE001 - a missing landmark still gets its picture
|
|
155
|
+
print(f" {view}: content did not settle ({type(exc).__name__}); capturing as is")
|
|
156
|
+
page.evaluate(
|
|
157
|
+
"document.fonts.ready.then(() => new Promise("
|
|
158
|
+
"r => requestAnimationFrame(() => requestAnimationFrame(r))))"
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
def _serve_dist(context, base_url: str, dist: Path) -> None:
|
|
163
|
+
"""Answer every /app/ request from *dist*, as sshler/spa.py does from its own folder."""
|
|
164
|
+
root = dist.resolve()
|
|
165
|
+
index = root / "index.html"
|
|
166
|
+
|
|
167
|
+
def handle(route) -> None:
|
|
168
|
+
path = urlparse(route.request.url).path.removeprefix("/app").lstrip("/")
|
|
169
|
+
target = (root / unquote(path)).resolve() if path else index
|
|
170
|
+
if not (target.is_relative_to(root) and target.is_file()):
|
|
171
|
+
target = index
|
|
172
|
+
route.fulfill(path=str(target))
|
|
173
|
+
|
|
174
|
+
context.route(f"{base_url}/app", handle)
|
|
175
|
+
context.route(f"{base_url}/app/**", handle)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
def _answer_as_windows(context, base_url: str) -> None:
|
|
179
|
+
def handle(route) -> None:
|
|
180
|
+
response = route.fetch()
|
|
181
|
+
body = response.json()
|
|
182
|
+
body.update(WINDOWS_BOOTSTRAP)
|
|
183
|
+
route.fulfill(response=response, json=body)
|
|
184
|
+
|
|
185
|
+
context.route(f"{base_url}/api/v1/bootstrap*", handle)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
def capture(base_url: str, token: str, args: dict) -> list[Path]:
|
|
189
|
+
folder = make_fixture_dir()
|
|
190
|
+
try:
|
|
191
|
+
return _capture(base_url, token, args, folder)
|
|
192
|
+
finally:
|
|
193
|
+
shutil.rmtree(folder, ignore_errors=True)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
def _capture(base_url: str, token: str, args: dict, folder: Path) -> list[Path]:
|
|
197
|
+
from playwright.sync_api import sync_playwright
|
|
198
|
+
|
|
199
|
+
out = Path(args["out"])
|
|
200
|
+
out.mkdir(parents=True, exist_ok=True)
|
|
201
|
+
written: list[Path] = []
|
|
202
|
+
suffix = "-windows" if args["platform"] == "windows" else ""
|
|
203
|
+
with sync_playwright() as playwright:
|
|
204
|
+
browser = playwright.chromium.launch(headless=True)
|
|
205
|
+
try:
|
|
206
|
+
for lang in args["langs"]:
|
|
207
|
+
for theme in args["themes"]:
|
|
208
|
+
context = browser.new_context(base_url=base_url, color_scheme=theme)
|
|
209
|
+
context.set_extra_http_headers({"X-SSHLER-TOKEN": token})
|
|
210
|
+
if args["dist"]:
|
|
211
|
+
_serve_dist(context, base_url, Path(args["dist"]))
|
|
212
|
+
if args["platform"] == "windows":
|
|
213
|
+
_answer_as_windows(context, base_url)
|
|
214
|
+
context.add_init_script(
|
|
215
|
+
f"localStorage.setItem({json.dumps(COLOR_KEY)}, {json.dumps(theme)});"
|
|
216
|
+
f"localStorage.setItem({json.dumps(LOCALE_KEY)}, {json.dumps(lang)});"
|
|
217
|
+
)
|
|
218
|
+
page = context.new_page()
|
|
219
|
+
for view in args["views"]:
|
|
220
|
+
url = VIEWS[view].replace("{dir}", quote(str(folder)))
|
|
221
|
+
for width in args["widths"]:
|
|
222
|
+
height = HEIGHTS.get(width, DEFAULT_HEIGHT)
|
|
223
|
+
page.set_viewport_size({"width": width, "height": height})
|
|
224
|
+
page.goto(url, wait_until="load")
|
|
225
|
+
_wait_for_view(page, view)
|
|
226
|
+
path = out / f"{view}-{width}-{lang}-{theme}{suffix}.png"
|
|
227
|
+
page.screenshot(path=str(path))
|
|
228
|
+
written.append(path)
|
|
229
|
+
print(f" wrote {path.name}")
|
|
230
|
+
context.close()
|
|
231
|
+
finally:
|
|
232
|
+
browser.close()
|
|
233
|
+
return written
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
def test_capture_views(app_server) -> None:
|
|
237
|
+
"""The pytest entry this script runs on itself: the conftest's server, then the pictures."""
|
|
238
|
+
base_url, token = app_server
|
|
239
|
+
args = json.loads(os.environ[ARGS_ENV])
|
|
240
|
+
written = capture(base_url, token, args)
|
|
241
|
+
print(f"{len(written)} screenshot(s) in {args['out']}")
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
def _load_conftest():
|
|
245
|
+
spec = importlib.util.spec_from_file_location("sshler_e2e_conftest", CONFTEST)
|
|
246
|
+
if spec is None or spec.loader is None:
|
|
247
|
+
raise SystemExit(f"cannot load {CONFTEST}")
|
|
248
|
+
module = importlib.util.module_from_spec(spec)
|
|
249
|
+
spec.loader.exec_module(module)
|
|
250
|
+
return module
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
def main(argv: list[str] | None = None) -> int:
|
|
254
|
+
import pytest
|
|
255
|
+
|
|
256
|
+
args = parse_args(sys.argv[1:] if argv is None else argv)
|
|
257
|
+
os.environ[ARGS_ENV] = json.dumps(
|
|
258
|
+
{
|
|
259
|
+
"out": str(args.out.resolve()),
|
|
260
|
+
"views": args.views,
|
|
261
|
+
"widths": args.widths,
|
|
262
|
+
"langs": args.langs,
|
|
263
|
+
"themes": args.themes,
|
|
264
|
+
"platform": args.platform,
|
|
265
|
+
"dist": str(args.dist.resolve()) if args.dist else None,
|
|
266
|
+
}
|
|
267
|
+
)
|
|
268
|
+
return int(
|
|
269
|
+
pytest.main(
|
|
270
|
+
[
|
|
271
|
+
str(Path(__file__).resolve()),
|
|
272
|
+
"--rootdir",
|
|
273
|
+
str(ROOT),
|
|
274
|
+
"-p",
|
|
275
|
+
"no:cacheprovider",
|
|
276
|
+
"-o",
|
|
277
|
+
"timeout=0",
|
|
278
|
+
"-q",
|
|
279
|
+
"-s",
|
|
280
|
+
],
|
|
281
|
+
plugins=[_load_conftest()],
|
|
282
|
+
)
|
|
283
|
+
)
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
if __name__ == "__main__":
|
|
287
|
+
raise SystemExit(main())
|
|
@@ -37,7 +37,7 @@ if TYPE_CHECKING: # pragma: no cover - type checking only
|
|
|
37
37
|
from ..webapp import ServerSettings # noqa: F401
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
_VALID_THEMES = {"cyberpunk", "default", "solarized", "dracula", "nord", "monokai", "light"}
|
|
40
|
+
_VALID_THEMES = {"cyberpunk", "default", "solarized", "dracula", "nord", "monokai", "light", "calm"}
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
def _box_to_api(box: StoredBox | Box) -> APIBox:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{rt as e}from"./_plugin-vue_export-helper-
|
|
1
|
+
import{rt as e}from"./_plugin-vue_export-helper-Bq7SfXed.js";import{u as t,v as n}from"./runtime-core.esm-bundler-Dg-ZVrJt.js";var r=n({name:`Add`,render(){return(()=>{let n=e(`b30130fbba5c5b23`);return n[0]||=t(`svg`,{width:`512`,height:`512`,viewBox:`0 0 512 512`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},[t(`path`,{d:`M256 112V400M400 256H112`,stroke:`currentColor`,"stroke-width":`32`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1)})()}});export{r as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{A as e,Ct as t,Et as n,M as r,P as i,U as a,V as o,W as s,b as c,bt as l,et as u,ft as d,it as f,st as p,wt as m,xt as h,y as g}from"./_plugin-vue_export-helper-
|
|
1
|
+
import{A as e,Ct as t,Et as n,M as r,P as i,U as a,V as o,W as s,b as c,bt as l,et as u,ft as d,it as f,st as p,wt as m,xt as h,y as g}from"./_plugin-vue_export-helper-Bq7SfXed.js";import{i as _,n as v,r as y,t as b}from"./Warning-DdY8ttUA.js";import{ct as x,lt as S}from"./index-D6bev0bd.js";import{E as C,F as w,d as T,l as E,p as D,rt as O,u as k,v as A}from"./runtime-core.esm-bundler-Dg-ZVrJt.js";var j=h(`alert`,`
|
|
2
2
|
line-height: var(--n-line-height);
|
|
3
3
|
border-radius: var(--n-border-radius);
|
|
4
4
|
position: relative;
|
|
@@ -18,7 +18,7 @@ import{A as e,Ct as t,Et as n,M as r,P as i,U as a,V as o,W as s,b as c,bt as l,
|
|
|
18
18
|
pointer-events: none;
|
|
19
19
|
`),m(`closable`,[h(`alert-body`,[t(`title`,`
|
|
20
20
|
padding-right: 24px;
|
|
21
|
-
`)])]),t(`icon`,{color:`var(--n-icon-color)`}),h(`alert-body`,{padding:`var(--n-padding)`},[t(`title`,{color:`var(--n-title-text-color)`}),t(`content`,{color:`var(--n-content-text-color)`})]),
|
|
21
|
+
`)])]),t(`icon`,{color:`var(--n-icon-color)`}),h(`alert-body`,{padding:`var(--n-padding)`},[t(`title`,{color:`var(--n-title-text-color)`}),t(`content`,{color:`var(--n-content-text-color)`})]),x({originalTransition:`transform .3s var(--n-bezier)`,enterToProps:{transform:`scale(1)`},leaveToProps:{transform:`scale(0.9)`}}),t(`icon`,`
|
|
22
22
|
position: absolute;
|
|
23
23
|
left: 0;
|
|
24
24
|
top: 0;
|
|
@@ -45,4 +45,4 @@ import{A as e,Ct as t,Et as n,M as r,P as i,U as a,V as o,W as s,b as c,bt as l,
|
|
|
45
45
|
font-size: 16px;
|
|
46
46
|
line-height: 19px;
|
|
47
47
|
font-weight: var(--n-title-font-weight);
|
|
48
|
-
`,[l(`& +`,[t(`content`,{marginTop:`9px`})])]),t(`content`,{transition:`color .3s var(--n-bezier)`,fontSize:`var(--n-font-size)`})]),t(`icon`,{transition:`color .3s var(--n-bezier)`})]),M={...a.props,title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:`default`},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function},N=A({name:`Alert`,inheritAttrs:!1,props:M,slots:Object,setup(t){let{mergedClsPrefixRef:r,mergedBorderedRef:i,inlineThemeDisabled:o,mergedRtlRef:c}=d(t),l=a(`Alert`,`-alert`,j,
|
|
48
|
+
`,[l(`& +`,[t(`content`,{marginTop:`9px`})])]),t(`content`,{transition:`color .3s var(--n-bezier)`,fontSize:`var(--n-font-size)`})]),t(`icon`,{transition:`color .3s var(--n-bezier)`})]),M={...a.props,title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:`default`},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function},N=A({name:`Alert`,inheritAttrs:!1,props:M,slots:Object,setup(t){let{mergedClsPrefixRef:r,mergedBorderedRef:i,inlineThemeDisabled:o,mergedRtlRef:c}=d(t),l=a(`Alert`,`-alert`,j,S,t,r),f=e(`Alert`,c,r),p=E(()=>{let{common:{cubicBezierEaseInOut:e},self:r}=l.value,{fontSize:i,borderRadius:a,titleFontWeight:o,lineHeight:s,iconSize:c,iconMargin:d,iconMarginRtl:f,closeIconSize:p,closeBorderRadius:m,closeSize:h,closeMargin:g,closeMarginRtl:_,padding:v}=r,{type:y}=t,{left:b,right:x}=u(d);return{"--n-bezier":e,"--n-color":r[n(`color`,y)],"--n-close-icon-size":p,"--n-close-border-radius":m,"--n-close-color-hover":r[n(`closeColorHover`,y)],"--n-close-color-pressed":r[n(`closeColorPressed`,y)],"--n-close-icon-color":r[n(`closeIconColor`,y)],"--n-close-icon-color-hover":r[n(`closeIconColorHover`,y)],"--n-close-icon-color-pressed":r[n(`closeIconColorPressed`,y)],"--n-icon-color":r[n(`iconColor`,y)],"--n-border":r[n(`border`,y)],"--n-title-text-color":r[n(`titleTextColor`,y)],"--n-content-text-color":r[n(`contentTextColor`,y)],"--n-line-height":s,"--n-border-radius":a,"--n-font-size":i,"--n-title-font-weight":o,"--n-icon-size":c,"--n-icon-margin":d,"--n-icon-margin-rtl":f,"--n-close-size":h,"--n-close-margin":g,"--n-close-margin-rtl":_,"--n-padding":v,"--n-icon-margin-left":b,"--n-icon-margin-right":x}}),m=o?s(`alert`,E(()=>t.type[0]),p,t):void 0,h=O(!0),g=()=>{let{onAfterLeave:e,onAfterHide:n}=t;e&&e(),n&&n()};return{rtlEnabled:f,mergedClsPrefix:r,mergedBordered:i,visible:h,handleCloseClick:()=>{Promise.resolve(t.onClose?.()).then(e=>{e!==!1&&(h.value=!1)})},handleAfterLeave:()=>{g()},mergedTheme:l,cssVars:o?void 0:p,themeClass:m?.themeClass,onRender:m?.onRender}},render(){return this.onRender?.(),w(),T(g,{onAfterLeave:this.handleAfterLeave},{default:()=>{let{mergedClsPrefix:e,$slots:t}=this,n={class:[`${e}-alert`,this.themeClass,this.closable&&`${e}-alert--closable`,this.showIcon&&`${e}-alert--show-icon`,!this.title&&this.closable&&`${e}-alert--right-adjust`,this.rtlEnabled&&`${e}-alert--rtl`],style:this.cssVars,role:`alert`};return this.visible?(w(),D(`div`,C({key:1},C(this.$attrs,n)),[p(()=>this.closable&&(w(),T(c,{clsPrefix:e,class:f(`${e}-alert__close`),onClick:this.handleCloseClick},null,8,[`clsPrefix`,`class`,`onClick`]))),p(()=>this.bordered&&(w(),D(`div`,{class:f(`${e}-alert__border`)},null,2))),p(()=>this.showIcon&&(w(),D(`div`,{class:f(`${e}-alert__icon`),"aria-hidden":`true`},[p(()=>r(t.icon,()=>[(w(),T(o,{clsPrefix:e},{default:()=>{switch(this.type){case`success`:return w(),T(v,{key:3});case`info`:return w(),T(y,{key:4});case`warning`:return w(),T(b,{key:5});case`error`:return w(),T(_,{key:6});default:return null}}},1032,[`clsPrefix`]))]))],2))),k(`div`,{class:f([`${e}-alert-body`,this.mergedBordered&&`${e}-alert-body--bordered`])},[p(()=>i(t.header,t=>{let n=t||this.title;return n?(w(),D(`div`,{key:2,class:f(`${e}-alert-body__title`)},[p(()=>n)],2)):null})),p(()=>t.default&&(w(),D(`div`,{class:f(`${e}-alert-body__content`)},[p(()=>t.default())],2)))],2)],16)):null}},1032,[`onAfterLeave`])}});export{N as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e,Dt as t,F as n,K as r,L as i,M as a,Ot as o,W as ee,_ as s,d as c,f as l,g as u,i as d,l as f,p,rt as m,tt as te,u as h,ut as g,v as ne}from"./runtime-core.esm-bundler-Dg-ZVrJt.js";import{It as re,Lt as _,n as ie,s as v,t as y}from"./_plugin-vue_export-helper-Bq7SfXed.js";import{At as b,F as x,I as ae,It as S,L as C,b as w,d as T,f as E,ht as D,vt as O,y as k}from"./http-5jBZtK3s.js";import{_ as oe,g as se}from"./useApi-SF8tY_yo-CGxurG4J.js";import{t as A}from"./Alert-DIRa-mLO.js";import{C as j,t as ce}from"./Tag-DuIn8UVX.js";import{F as le,J as ue,S as de,T as fe,X as M,y as pe}from"./index-D6bev0bd.js";import{t as N}from"./Input-DnapVD4O.js";import{r as P}from"./light-Bw_xNwn4.js";import{t as F}from"./Select-Cc7bvkLZ.js";import{t as me}from"./Spin-Dd0ayTqa.js";import{t as he}from"./composables-t62CRov_.js";import{t as ge}from"./PhCopy.vue-FKiTGwf5.js";import{t as _e}from"./PhFolderOpen.vue-DXTvd5o3.js";import{t as I}from"./PhPencilSimple.vue-DEromwmD.js";import{t as L}from"./PhTrash.vue-B_MgjXry.js";import{i as ve}from"./i18n-gQdbl5sJ.js";import{i as R,n as ye}from"./bootstrap-DMKDM0gE.js";var be=R(`artifacts`,()=>{let e=m([]),t=m([]),n=m({}),r=m(new Set),i=m(!1),a=m(null),o=m({}),ee=f(()=>{let e={};for(let n of t.value)(e[n.project_id]??=[]).push(n);for(let t of Object.values(e))t.sort((e,t)=>`${e.group_path}/${e.title||e.source_path}`.localeCompare(`${t.group_path}/${t.title||t.source_path}`));return e});async function s(n,r=o.value){o.value={...r},i.value=!0,a.value=null;try{let[i,a]=await Promise.all([ae(n),C(n,r)]);e.value=[...i.projects].sort((e,t)=>e.name.localeCompare(t.name)),t.value=a.artifacts}catch(e){throw a.value=S(e),e}finally{i.value=!1}}async function c(e,t){if(n.value[e])return n.value[e];r.value.add(e);try{let r=await x(e,t);return n.value[e]=r.pages,r.pages}finally{r.value.delete(e)}}async function l(e,t){r.value.add(e);try{let r=await O(e,t);return n.value[e]=r.pages,r.pages}finally{r.value.delete(e)}}async function u(e,t){let n=await T(e,t);return await s(t),n}async function d(e,t,r){let i=await b(e,t,r);return delete n.value[e],await s(r),i}async function p(e,r){let i=await k(e,r);return delete n.value[e],t.value=t.value.filter(t=>t.id!==e),await s(r),i.removed}async function te(e,t){let n=await E(e,t);return await s(t),n}async function h(e,t,n){let r=await D(e,t,n);return await s(n),r}async function g(e,t){let r=await w(e,!0,t);return n.value={},await s(t),r}return{projects:e,artifacts:t,pagesByArtifact:n,loadingPages:r,loading:i,error:a,artifactsByProject:ee,refresh:s,ensurePages:c,rescan:l,create:u,update:d,remove:p,createProject:te,renameProject:h,removeProject:g}});function z(e){let t=e.replace(/^\[|\]$/g,``).toLowerCase();return t===`localhost`||t===`127.0.0.1`||t===`::1`}function xe(e,t,n=typeof location<`u`?location.hostname:``){return!t||!z(n)?null:`http://127.0.0.1:${t}${e.startsWith(`/`)?e:`/${e}`}`}var Se={class:`artifacts-view`},Ce={class:`page-header`},we={class:`header-actions`},Te={class:`catalog-filters`},Ee={class:`project-header`},De={key:0,class:`group-path`},Oe={class:`artifact-row`},ke={class:`artifact-details`},Ae={class:`artifact-title`},je={class:`artifact-alias`},Me=[`disabled`,`onClick`],Ne={class:`form-grid`},Pe={key:0},Fe={class:`modal-actions`},Ie={class:`modal-actions`},Le=[`src`],B=y(ne({__name:`ArtifactsView`,setup(ne){let y=be(),b=ye(),x=se(),ae=oe(),C=ue(),w=he(),{t:T}=ve(),E=f(()=>b.token||b.payload?.token||null),D=f(()=>b.payload?.artifact_server_port??null),O=f(()=>xe(`/`,D.value)!==null),k=m(!1),R=m(null),z=m(!1),B=m(null),V=m(``),H=m(null),U=m(new Set),W=m(!1),G=m(``),K=m(null),q=m(null),J=null,Y=te({source_path:``,project:``,group_path:``,mode:`auto`,entrypoint:``,title:``,slug:``,mount_path:``}),Re=[{label:T(`artifacts.mode.auto`),value:`auto`},{label:T(`artifacts.mode.file`),value:`file`},{label:T(`artifacts.mode.site`),value:`site`},{label:T(`artifacts.mode.collection`),value:`collection`}],ze=Re.filter(e=>e.value!==`auto`),Be=f(()=>y.projects.map(e=>({label:e.name,value:e.slug}))),X=f(()=>!!(G.value.trim()||K.value||q.value)),Ve=f(()=>X.value?y.projects.filter(e=>y.artifactsByProject[e.id]?.length):y.projects);function He(e){return e.split(/[/\\]/).filter(Boolean).pop()||e}function Ue(e){return e.title||He(e.source_path)}function We(){R.value=null,Object.assign(Y,{source_path:``,project:``,group_path:``,mode:`auto`,entrypoint:``,title:``,slug:``,mount_path:``})}function Ge(){We(),k.value=!0}function Ke(e){R.value=e.id,Object.assign(Y,{source_path:e.source_path,project:e.project_name,group_path:e.group_path,mode:e.mode,entrypoint:e.entrypoint||``,title:e.title||``,slug:e.slug,mount_path:e.mount_path?.replace(/^\//,``)||``}),k.value=!0}async function qe(){W.value=!0;try{let e={source_path:Y.source_path,project:Y.project||void 0,group_path:Y.group_path,mode:Y.mode,entrypoint:R.value?Y.entrypoint||null:Y.entrypoint||void 0,title:R.value?Y.title||null:Y.title||void 0,slug:R.value?Y.slug:Y.slug||void 0,mount_path:R.value?Y.mount_path||null:Y.mount_path||void 0};if(R.value)await y.update(R.value,e,E.value),C.success(T(`artifacts.updated`));else{let t=await y.create(e,E.value);C.success(t.created?T(`artifacts.registered`):T(`artifacts.already_registered`))}k.value=!1,We()}catch(e){C.error(S(e))}finally{W.value=!1}}async function Z(e){let t=new Set(U.value);if(t.has(e.id))t.delete(e.id),U.value=t;else try{await y.ensurePages(e.id,E.value),t.add(e.id),U.value=t}catch(e){C.error(S(e))}}function Q(e){return xe(e,D.value)}function Je(e){let t=Q(e.serve_path);if(!t)return;let n=window.open(t,`_blank`,`noopener,noreferrer`);n&&(n.opener=null)}async function Ye(e){try{let t=await y.ensurePages(e.id,E.value),n=t[0]?Q(t[0].serve_path):null;if(!n){C.warning(T(`artifacts.local_only`));return}H.value=n}catch(e){C.error(S(e))}}async function Xe(e){try{let t=await y.rescan(e.id,E.value);U.value=new Set([...U.value,e.id]),C.success(T(`artifacts.rescanned`,{n:t.length}))}catch(e){C.error(S(e))}}function Ze(e){w.warning({title:T(`artifacts.unregister`),content:T(`artifacts.unregister_confirm`,{title:Ue(e)}),positiveText:T(`artifacts.unregister`),negativeText:T(`common.cancel`),onPositiveClick:async()=>{await y.remove(e.id,E.value),C.success(T(`artifacts.unregistered`))}})}async function Qe(e){let t=Q(e.mount_path||e.alias_path)||`${window.location.origin}/app/artifacts/${e.id}`;await navigator.clipboard.writeText(t),C.success(T(`artifacts.link_copied`))}async function $e(){await y.refresh(E.value,{q:G.value.trim()||void 0,project:K.value||void 0,mode:q.value||void 0})}ee([G,K,q],()=>{J&&clearTimeout(J),J=setTimeout(()=>{$e().catch(e=>{C.error(S(e))})},220)}),e(()=>{J&&clearTimeout(J)});function $(e){B.value=e||null,V.value=e?.name||``,z.value=!0}async function et(){try{B.value?await y.renameProject(B.value.id,V.value,E.value):await y.createProject(V.value,E.value),z.value=!1,C.success(T(`artifacts.project_saved`))}catch(e){C.error(S(e))}}function tt(e){w.warning({title:T(`artifacts.project_remove`),content:T(`artifacts.project_remove_confirm`,{name:e.name,n:e.registration_count}),positiveText:T(`artifacts.project_remove`),negativeText:T(`common.cancel`),onPositiveClick:async()=>{await y.removeProject(e.id,E.value),C.success(T(`artifacts.project_removed`))}})}return a(async()=>{b.payload||await b.bootstrap(),await y.refresh(E.value);let e=typeof x.params.id==`string`?x.params.id:null;if(e){let t=y.artifacts.find(t=>t.id===e);t&&(await Z(t),ae.replace(`/artifacts`))}}),(e,a)=>(n(),p(`div`,Se,[h(`div`,Ce,[h(`div`,null,[h(`h1`,null,o(g(T)(`artifacts.title`)),1),h(`p`,null,o(g(T)(`artifacts.subtitle`)),1)]),h(`div`,we,[s(g(v),{secondary:``,onClick:a[0]||=e=>$()},{icon:r(()=>[s(g(M),null,{default:r(()=>[s(g(_e))]),_:1})]),default:r(()=>[u(` `+o(g(T)(`artifacts.new_project`)),1)]),_:1}),s(g(v),{type:`primary`,onClick:Ge},{icon:r(()=>[s(g(M),null,{default:r(()=>[s(g(pe))]),_:1})]),default:r(()=>[u(` `+o(g(T)(`artifacts.register`)),1)]),_:1})])]),O.value?l(``,!0):(n(),c(g(A),{key:0,type:`warning`,class:`local-alert`},{default:r(()=>[u(o(g(T)(`artifacts.local_only`)),1)]),_:1})),g(y).error?(n(),c(g(A),{key:1,type:`error`,class:`local-alert`},{default:r(()=>[u(o(g(y).error),1)]),_:1})):l(``,!0),h(`div`,Te,[s(g(N),{value:G.value,"onUpdate:value":a[1]||=e=>G.value=e,clearable:``,placeholder:g(T)(`artifacts.search_placeholder`)},{prefix:r(()=>[s(g(M),null,{default:r(()=>[s(g(de))]),_:1})]),_:1},8,[`value`,`placeholder`]),s(g(F),{value:K.value,"onUpdate:value":a[2]||=e=>K.value=e,clearable:``,options:Be.value,placeholder:g(T)(`artifacts.all_projects`)},null,8,[`value`,`options`,`placeholder`]),s(g(F),{value:q.value,"onUpdate:value":a[3]||=e=>q.value=e,clearable:``,options:g(ze),placeholder:g(T)(`artifacts.all_modes`)},null,8,[`value`,`options`,`placeholder`])]),s(g(me),{show:g(y).loading},{default:r(()=>[!g(y).loading&&g(y).projects.length===0?(n(),c(g(j),{key:0,description:g(T)(`artifacts.empty`)},{extra:r(()=>[s(g(v),{type:`primary`,onClick:Ge},{default:r(()=>[u(o(g(T)(`artifacts.register`)),1)]),_:1})]),_:1},8,[`description`])):l(``,!0),!g(y).loading&&X.value&&g(y).artifacts.length===0?(n(),c(g(j),{key:1,description:g(T)(`artifacts.no_matches`)},null,8,[`description`])):l(``,!0),(n(!0),p(d,null,i(Ve.value,e=>(n(),p(`section`,{key:e.id,class:`project-section`},[h(`div`,Ee,[h(`div`,null,[h(`h2`,null,o(e.name),1),h(`span`,null,o(g(T)(`artifacts.registration_count`,{n:e.registration_count})),1)]),h(`div`,null,[s(g(v),{quaternary:``,circle:``,onClick:t=>$(e),title:g(T)(`common.rename`)},{default:r(()=>[s(g(M),null,{default:r(()=>[s(g(I))]),_:1})]),_:1},8,[`onClick`,`title`]),s(g(v),{quaternary:``,circle:``,type:`error`,onClick:t=>tt(e),title:g(T)(`artifacts.project_remove`)},{default:r(()=>[s(g(M),null,{default:r(()=>[s(g(L))]),_:1})]),_:1},8,[`onClick`,`title`])])]),g(y).artifactsByProject[e.id]?.length?l(``,!0):(n(),c(g(j),{key:0,description:g(T)(`artifacts.project_empty`),size:`small`},null,8,[`description`])),(n(!0),p(d,null,i(g(y).artifactsByProject[e.id]||[],e=>(n(),p(`div`,{key:e.id,class:`artifact-indent`,style:t({"--depth":String((e.group_path.match(/\//g)||[]).length)})},[e.group_path?(n(),p(`div`,De,o(e.group_path.split(`/`).join(` › `)),1)):l(``,!0),s(g(ie),{size:`small`,class:`artifact-card`,role:`button`,tabindex:`0`,onClick:t=>Z(e),onKeydown:[re(_(t=>Z(e),[`prevent`]),[`enter`]),re(_(t=>Z(e),[`prevent`]),[`space`])]},{default:r(()=>[h(`div`,Oe,[h(`div`,ke,[h(`div`,Ae,[h(`span`,null,o(Ue(e)),1),s(g(ce),{size:`small`},{default:r(()=>[u(o(e.mode),1)]),_:2},1024),s(g(ce),{size:`small`,type:e.exists?`success`:`error`},{default:r(()=>[u(o(e.exists?g(T)(`artifacts.ready`):g(T)(`artifacts.missing`)),1)]),_:2},1032,[`type`])]),h(`code`,null,o(e.source_path),1),h(`code`,je,o(e.mount_path||e.alias_path),1)]),h(`div`,{class:`artifact-actions`,onClick:a[4]||=_(()=>{},[`stop`]),onKeydown:a[5]||=_(()=>{},[`stop`])},[s(g(v),{size:`small`,onClick:t=>Z(e)},{default:r(()=>[u(o(U.value.has(e.id)?g(T)(`common.close`):g(T)(`artifacts.pages`)),1)]),_:2},1032,[`onClick`]),s(g(v),{size:`small`,disabled:!e.exists,onClick:t=>Ye(e)},{icon:r(()=>[s(g(M),null,{default:r(()=>[s(g(fe))]),_:1})]),default:r(()=>[u(` `+o(g(T)(`common.preview`)),1)]),_:1},8,[`disabled`,`onClick`]),s(g(v),{size:`small`,onClick:t=>Qe(e)},{icon:r(()=>[s(g(M),null,{default:r(()=>[s(g(ge))]),_:1})]),_:1},8,[`onClick`]),s(g(v),{size:`small`,onClick:t=>Xe(e)},{icon:r(()=>[s(g(M),null,{default:r(()=>[s(g(le))]),_:1})]),_:1},8,[`onClick`]),s(g(v),{size:`small`,onClick:t=>Ke(e)},{icon:r(()=>[s(g(M),null,{default:r(()=>[s(g(I))]),_:1})]),_:1},8,[`onClick`]),s(g(v),{size:`small`,type:`error`,onClick:t=>Ze(e)},{icon:r(()=>[s(g(M),null,{default:r(()=>[s(g(L))]),_:1})]),_:1},8,[`onClick`])],32)]),U.value.has(e.id)?(n(),p(`div`,{key:0,class:`page-list`,onClick:a[6]||=_(()=>{},[`stop`]),onKeydown:a[7]||=_(()=>{},[`stop`])},[g(y).loadingPages.has(e.id)?(n(),c(g(me),{key:0,size:`small`})):g(y).pagesByArtifact[e.id]?.length?l(``,!0):(n(),c(g(j),{key:1,description:g(T)(`artifacts.no_pages`),size:`small`},null,8,[`description`])),(n(!0),p(d,null,i(g(y).pagesByArtifact[e.id]||[],t=>(n(),p(`button`,{key:t.relative_path,class:`page-link`,disabled:!O.value,onClick:e=>Je(t)},[h(`span`,null,o(t.title),1),h(`code`,null,o(t.relative_path||e.entrypoint||He(e.source_path)),1)],8,Me))),128))],32)):l(``,!0)]),_:2},1032,[`onClick`,`onKeydown`])],4))),128))]))),128))]),_:1},8,[`show`]),s(g(P),{show:k.value,"onUpdate:show":a[17]||=e=>k.value=e,preset:`card`,title:R.value?g(T)(`artifacts.edit`):g(T)(`artifacts.register`),class:`form-modal`},{default:r(()=>[h(`div`,Ne,[h(`label`,null,[h(`span`,null,o(g(T)(`artifacts.source`)),1),s(g(N),{value:Y.source_path,"onUpdate:value":a[8]||=e=>Y.source_path=e,placeholder:g(T)(`artifacts.source_placeholder`)},null,8,[`value`,`placeholder`])]),h(`label`,null,[h(`span`,null,o(g(T)(`artifacts.project`)),1),s(g(N),{value:Y.project,"onUpdate:value":a[9]||=e=>Y.project=e,placeholder:g(T)(`artifacts.project_hint`)},null,8,[`value`,`placeholder`])]),h(`label`,null,[h(`span`,null,o(g(T)(`artifacts.group`)),1),s(g(N),{value:Y.group_path,"onUpdate:value":a[10]||=e=>Y.group_path=e,placeholder:`design/experiments`},null,8,[`value`])]),h(`label`,null,[h(`span`,null,o(g(T)(`artifacts.mode`)),1),s(g(F),{value:Y.mode,"onUpdate:value":a[11]||=e=>Y.mode=e,options:Re},null,8,[`value`])]),Y.mode===`site`||Y.mode===`auto`?(n(),p(`label`,Pe,[h(`span`,null,o(g(T)(`artifacts.entrypoint`)),1),s(g(N),{value:Y.entrypoint,"onUpdate:value":a[12]||=e=>Y.entrypoint=e,placeholder:`index.html`},null,8,[`value`])])):l(``,!0),h(`label`,null,[h(`span`,null,o(g(T)(`artifacts.title_override`)),1),s(g(N),{value:Y.title,"onUpdate:value":a[13]||=e=>Y.title=e,placeholder:g(T)(`artifacts.title_hint`)},null,8,[`value`,`placeholder`])]),h(`label`,null,[h(`span`,null,o(g(T)(`artifacts.slug`)),1),s(g(N),{value:Y.slug,"onUpdate:value":a[14]||=e=>Y.slug=e,placeholder:`quarterly-summary`},null,8,[`value`])]),h(`label`,null,[h(`span`,null,o(g(T)(`artifacts.mount`)),1),s(g(N),{value:Y.mount_path,"onUpdate:value":a[15]||=e=>Y.mount_path=e,placeholder:`published/reports`},null,8,[`value`])])]),Y.mode===`file`?l(``,!0):(n(),c(g(A),{key:0,type:`info`,class:`scope-note`},{default:r(()=>[u(o(g(T)(`artifacts.directory_scope`)),1)]),_:1})),h(`div`,Fe,[s(g(v),{onClick:a[16]||=e=>k.value=!1},{default:r(()=>[u(o(g(T)(`common.cancel`)),1)]),_:1}),s(g(v),{type:`primary`,loading:W.value,disabled:!Y.source_path,onClick:qe},{default:r(()=>[u(o(g(T)(`common.save`)),1)]),_:1},8,[`loading`,`disabled`])])]),_:1},8,[`show`,`title`]),s(g(P),{show:z.value,"onUpdate:show":a[20]||=e=>z.value=e,preset:`card`,title:B.value?g(T)(`artifacts.rename_project`):g(T)(`artifacts.new_project`),class:`project-modal`},{default:r(()=>[s(g(N),{value:V.value,"onUpdate:value":a[18]||=e=>V.value=e,placeholder:g(T)(`artifacts.project`)},null,8,[`value`,`placeholder`]),h(`div`,Ie,[s(g(v),{onClick:a[19]||=e=>z.value=!1},{default:r(()=>[u(o(g(T)(`common.cancel`)),1)]),_:1}),s(g(v),{type:`primary`,disabled:!V.value.trim(),onClick:et},{default:r(()=>[u(o(g(T)(`common.save`)),1)]),_:1},8,[`disabled`])])]),_:1},8,[`show`,`title`]),s(g(P),{show:!!H.value,preset:`card`,title:g(T)(`artifacts.preview_title`),class:`preview-modal`,"onUpdate:show":a[21]||=e=>{e||(H.value=null)}},{default:r(()=>[H.value?(n(),p(`iframe`,{key:0,src:H.value,sandbox:`allow-scripts allow-same-origin allow-forms allow-downloads allow-modals allow-popups`,referrerpolicy:`no-referrer`,class:`artifact-frame`},null,8,Le)):l(``,!0)]),_:1},8,[`show`,`title`])]))}}),[[`__scopeId`,`data-v-78313e8c`]]);export{B as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.artifacts-view[data-v-78313e8c]{max-width:1180px;margin:0 auto}.page-header[data-v-78313e8c],.project-header[data-v-78313e8c],.artifact-row[data-v-78313e8c],.header-actions[data-v-78313e8c],.artifact-actions[data-v-78313e8c],.modal-actions[data-v-78313e8c]{align-items:center;display:flex}.page-header[data-v-78313e8c],.project-header[data-v-78313e8c],.artifact-row[data-v-78313e8c]{justify-content:space-between;gap:16px}.page-header h1[data-v-78313e8c],.project-header h2[data-v-78313e8c]{margin:0}.page-header p[data-v-78313e8c],.project-header span[data-v-78313e8c]{color:var(--muted);margin:4px 0 0}.header-actions[data-v-78313e8c],.artifact-actions[data-v-78313e8c],.modal-actions[data-v-78313e8c]{flex-wrap:wrap;gap:8px}.local-alert[data-v-78313e8c]{margin:14px 0}.catalog-filters[data-v-78313e8c]{grid-template-columns:minmax(240px,1fr) 220px 180px;gap:10px;margin:16px 0;display:grid}.project-section[data-v-78313e8c]{margin-top:24px}.project-header[data-v-78313e8c]{border-bottom:1px solid var(--stroke);padding:0 4px 10px}.artifact-indent[data-v-78313e8c]{margin:12px 0 0 calc(var(--depth) * 14px)}.group-path[data-v-78313e8c]{color:var(--muted);margin:0 0 4px 8px;font-size:12px}.artifact-card[data-v-78313e8c]{border-left:3px solid var(--accent);cursor:pointer}.artifact-card[data-v-78313e8c]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.artifact-details[data-v-78313e8c]{flex:1;min-width:0}.artifact-title[data-v-78313e8c]{flex-wrap:wrap;align-items:center;gap:8px;font-weight:700;display:flex}.artifact-details code[data-v-78313e8c],.page-link code[data-v-78313e8c]{color:var(--muted);overflow-wrap:anywhere;display:block}.artifact-details .artifact-alias[data-v-78313e8c]{color:var(--accent)}.page-list[data-v-78313e8c]{border-top:1px solid var(--stroke);gap:6px;margin-top:12px;padding-top:12px;display:grid}.page-link[data-v-78313e8c]{text-align:left;border:1px solid var(--stroke);background:var(--panel-bg);color:var(--text);cursor:pointer;border-radius:8px;padding:9px 11px}.page-link[data-v-78313e8c]:hover{border-color:var(--accent)}.page-link[data-v-78313e8c]:disabled{opacity:.5;cursor:not-allowed}.form-modal[data-v-78313e8c]{width:min(680px,92vw)}.project-modal[data-v-78313e8c]{width:min(460px,92vw)}.preview-modal[data-v-78313e8c]{width:min(1200px,96vw)}.form-grid[data-v-78313e8c]{grid-template-columns:1fr 1fr;gap:14px;display:grid}.form-grid label[data-v-78313e8c]{gap:6px;display:grid}.scope-note[data-v-78313e8c]{margin-top:14px}.modal-actions[data-v-78313e8c]{justify-content:flex-end;margin-top:18px}.artifact-frame[data-v-78313e8c]{background:#fff;border:0;border-radius:8px;width:100%;height:min(75vh,820px)}@media (width<=767px){.page-header[data-v-78313e8c],.artifact-row[data-v-78313e8c]{flex-direction:column;align-items:stretch}.form-grid[data-v-78313e8c],.catalog-filters[data-v-78313e8c]{grid-template-columns:1fr}.artifact-indent[data-v-78313e8c]{margin-left:0}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.page[data-v-08414985]{flex-direction:column;gap:16px;display:flex}.page-header[data-v-08414985]{flex-direction:column;gap:4px;display:flex}.eyebrow[data-v-08414985]{text-transform:uppercase;letter-spacing:.4px;color:var(--muted);margin:0;font-size:12px}.box-grid[data-v-08414985]{grid-template-columns:1fr;gap:12px;display:grid}@media (width>=640px){.box-grid[data-v-08414985]{grid-template-columns:repeat(2,1fr)}}@media (width>=1024px){.box-grid[data-v-08414985]{grid-template-columns:repeat(3,1fr)}}.box-grid__item[data-v-08414985]{min-width:0}.small[data-v-08414985]{font-size:12px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{F as e,K as t,L as n,M as r,Ot as i,_ as a,d as o,f as s,g as c,i as l,l as u,p as d,u as f,ut as p,v as m}from"./runtime-core.esm-bundler-Dg-ZVrJt.js";import{t as h}from"./Alert-DIRa-mLO.js";import{n as g,s as _,t as v}from"./_plugin-vue_export-helper-Bq7SfXed.js";import{D as y,G as b,J as x,X as S,_ as C,a as w,h as T,n as E}from"./index-D6bev0bd.js";import{t as D}from"./PhPushPinSimple.vue-BMQpg4HB.js";import{i as O}from"./i18n-gQdbl5sJ.js";import{It as k,Lt as A,a as j}from"./http-5jBZtK3s.js";import{n as M}from"./bootstrap-DMKDM0gE.js";import{t as N}from"./favorites-CPj5Zj-5.js";var P={class:`page`},F={class:`page-header`},I={class:`eyebrow`},L={class:`text-muted`},R={class:`box-grid`},z={class:`card-title`},B={class:`text-muted small`},V=v(m({__name:`BoxesView`,setup(m){let v=M(),V=E(),H=N(),U=x(),{t:W}=O(),G=u(()=>v.token||v.payload?.token||null);async function K(){!v.payload&&!v.loading&&await v.bootstrap(),!V.items.length&&!V.loading&&await V.load(G.value),V.items.length&&H.hydrateFromBoxes(V.items)}function q(e,t){V.setBoxes(V.items.map(n=>n.name===e?{...n,...t}:n))}async function J(e){let t=await H.setPinned(e,G.value);H.error?U.error(H.error):(q(e,{pinned:t}),U.success(W(t?`boxes.pinned`:`boxes.unpinned`)))}async function Y(e,t){let n=!H.isFavorite(e,t),r=await H.setFavorite(e,t,n,G.value);if(H.error){U.error(H.error);return}let i=await H.loadBox(e,G.value);i?q(e,{favorites:i.favorites,pinned:i.pinned}):q(e,{favorites:Array.from(H.favoritesForBox(e).values())}),U.success(W(r?`boxes.favorited`:`boxes.unfavorited`))}async function X(e){let t;try{t=await j(e,G.value)}catch(e){U.error(k(e));return}t.status===`online`?U.info(W(`boxes.status_info`,{status:t.status,latency:String(t.latency_ms||0)})):U.error(A(t))}return r(async()=>{await K()}),(r,u)=>(e(),d(`div`,P,[f(`header`,F,[f(`div`,null,[f(`p`,I,i(p(W)(`boxes.title`)),1),f(`h1`,null,i(p(W)(`boxes.subtitle`)),1),f(`p`,L,i(p(W)(`boxes.description`)),1)])]),f(`div`,R,[(e(!0),d(l,null,n(p(V).items,n=>(e(),d(`div`,{key:n.name,class:`box-grid__item`},[a(p(g),{class:`surface-card`,size:`small`},{default:t(()=>[f(`div`,z,[a(p(S),{size:`16`},{default:t(()=>[a(p(y),{weight:`duotone`})]),_:1}),f(`span`,null,i(p(w)(n.name))+` `+i(n.name),1)]),f(`p`,B,i(n.host)+` • `+i(n.transport),1),a(p(b),{size:`small`,style:{"margin-bottom":`8px`}},{default:t(()=>[a(p(_),{size:`tiny`,type:`primary`,onClick:()=>r.$router.push(`/files?box=${encodeURIComponent(n.name)}`)},{default:t(()=>[a(p(S),{size:`14`},{default:t(()=>[a(p(y),{weight:`duotone`})]),_:1}),c(` `+i(p(W)(`boxes.files`)),1)]),_:1},8,[`onClick`]),a(p(_),{size:`tiny`,type:`primary`,onClick:()=>r.$router.push(`/terminal?box=${encodeURIComponent(n.name)}`)},{default:t(()=>[a(p(S),{size:`14`},{default:t(()=>[a(p(T),{weight:`duotone`})]),_:1}),c(` `+i(p(W)(`boxes.terminal`)),1)]),_:1},8,[`onClick`]),a(p(_),{size:`tiny`,onClick:()=>r.$router.push(`/multi-terminal?box=${encodeURIComponent(n.name)}`)},{default:t(()=>[c(i(p(W)(`boxes.multi`)),1)]),_:1},8,[`onClick`])]),_:2},1024),a(p(b),{size:`small`},{default:t(()=>[a(p(_),{size:`tiny`,secondary:``,onClick:()=>J(n.name)},{default:t(()=>[a(p(S),{size:`14`},{default:t(()=>[a(p(D),{weight:`duotone`})]),_:1}),c(` `+i(p(H).isPinned(n.name)?p(W)(`boxes.unpin`):p(W)(`boxes.pin`)),1)]),_:2},1032,[`onClick`]),a(p(_),{size:`tiny`,secondary:``,onClick:()=>Y(n.name,n.default_dir||`/`)},{default:t(()=>[a(p(S),{size:`14`},{default:t(()=>[a(p(C),{weight:`duotone`})]),_:1}),c(` `+i(p(H).isFavorite(n.name,n.default_dir||`/`)?p(W)(`boxes.unfavorite`):p(W)(`boxes.favorite`)),1)]),_:2},1032,[`onClick`]),a(p(_),{size:`tiny`,quaternary:``,onClick:()=>X(n.name)},{default:t(()=>[c(i(p(W)(`common.status`)),1)]),_:1},8,[`onClick`])]),_:2},1024)]),_:2},1024)]))),128))]),p(V).error?(e(),o(p(h),{key:0,type:`error`,closable:``},{default:t(()=>[c(i(p(V).error),1)]),_:1})):p(H).error?(e(),o(p(h),{key:1,type:`error`,closable:``},{default:t(()=>[c(i(p(H).error),1)]),_:1})):s(``,!0)]))}}),[[`__scopeId`,`data-v-08414985`]]);export{V as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as e,
|
|
1
|
+
import{u as e,v as t}from"./runtime-core.esm-bundler-Dg-ZVrJt.js";import{rt as n}from"./_plugin-vue_export-helper-Bq7SfXed.js";var r=t({name:`ChevronLeft`,render(){return(()=>{let t=n(`dfe229c2639b2082`);return t[0]||=e(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},[e(`path`,{d:`M10.3536 3.14645C10.5488 3.34171 10.5488 3.65829 10.3536 3.85355L6.20711 8L10.3536 12.1464C10.5488 12.3417 10.5488 12.6583 10.3536 12.8536C10.1583 13.0488 9.84171 13.0488 9.64645 12.8536L5.14645 8.35355C4.95118 8.15829 4.95118 7.84171 5.14645 7.64645L9.64645 3.14645C9.84171 2.95118 10.1583 2.95118 10.3536 3.14645Z`,fill:`currentColor`})],-1)})()}}),i=t({name:`ChevronRight`,render(){return(()=>{let t=n(`6ab04425f4fcb756`);return t[0]||=e(`svg`,{viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},[e(`path`,{d:`M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z`,fill:`currentColor`})],-1)})()}});export{r as n,i as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.claude-view[data-v-7b63a1a1]{flex-direction:column;gap:12px;max-width:960px;margin:0 auto;padding:8px;display:flex}.claude-view__header[data-v-7b63a1a1]{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.claude-view__title[data-v-7b63a1a1]{align-items:center;gap:8px;display:flex}.claude-view__title h1[data-v-7b63a1a1]{margin:0;font-size:20px;font-weight:600}.claude-view__meta[data-v-7b63a1a1]{align-items:center;gap:12px;font-size:13px;display:flex}.claude-view__count[data-v-7b63a1a1]{opacity:.7}.claude-view__center[data-v-7b63a1a1]{justify-content:center;padding:48px 0;display:flex}.claude-view__hint[data-v-7b63a1a1]{background:var(--n-action-color,color-mix(in srgb, currentColor 8%, transparent));font-family:var(--font-mono);border-radius:4px;padding:4px 8px;display:inline-block}.claude-view__toolbar[data-v-7b63a1a1]{align-items:center;gap:6px;display:flex}.claude-view__filter[data-v-7b63a1a1]{flex:1}.claude-view__groups[data-v-7b63a1a1]{flex-direction:column;display:flex}.claude-group__header[data-v-7b63a1a1]{align-items:center;gap:8px;min-width:0;display:flex}.claude-group__emoji[data-v-7b63a1a1]{border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;line-height:1;display:inline-flex}.claude-group__name[data-v-7b63a1a1]{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.claude-group__summary[data-v-7b63a1a1]{opacity:.6;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.claude-row[data-v-7b63a1a1]{align-items:center;gap:12px;padding:2px 0;display:flex}.claude-row__text[data-v-7b63a1a1]{flex:1;min-width:0}.claude-row__title[data-v-7b63a1a1]{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.claude-row__sub[data-v-7b63a1a1]{flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;font-size:12px;display:flex}.claude-row__time[data-v-7b63a1a1]{opacity:.65;white-space:nowrap}.claude-row__preview[data-v-7b63a1a1]{opacity:.5;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:4px;font-size:12px;overflow:hidden}.claude-row__actions[data-v-7b63a1a1]{flex-shrink:0;align-items:center;gap:6px;display:flex}.claude-cmd-pop[data-v-7b63a1a1]{flex-direction:column;gap:8px;display:flex}.claude-cmd-pop__label[data-v-7b63a1a1]{font-size:13px;font-weight:500}.claude-cmd-pop__sub[data-v-7b63a1a1]{opacity:.7;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.claude-cmd-pop__hint[data-v-7b63a1a1]{opacity:.6;font-size:11px}.claude-cmd-pop__actions[data-v-7b63a1a1]{justify-content:flex-end;gap:8px;margin-top:2px;display:flex}
|