texlite 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN.md +215 -35
- package/OPERATIONS.md +2 -2
- package/README.md +48 -44
- package/README.zh-CN.md +42 -36
- package/dist/client/assets/AdminUsers-DepqkT6m.js +1 -0
- package/dist/client/assets/AdminUsers-DepqkT6m.js.br +0 -0
- package/dist/client/assets/AdminUsers-DepqkT6m.js.gz +0 -0
- package/dist/client/assets/{AgentIcon-dCMgWJG-.css → AgentIcon-DeoZDwgh.css} +1 -1
- package/dist/client/assets/AgentIcon-DeoZDwgh.css.br +0 -0
- package/dist/client/assets/AgentIcon-DeoZDwgh.css.gz +0 -0
- package/dist/client/assets/{AgentManagement-rIYtm4Bo.js → AgentManagement-DlV6tHez.js} +1 -1
- package/dist/client/assets/AgentManagement-DlV6tHez.js.br +0 -0
- package/dist/client/assets/AgentManagement-DlV6tHez.js.gz +0 -0
- package/dist/client/assets/AgentTerminal-CvOz5X_j.js +2 -0
- package/dist/client/assets/AgentTerminal-CvOz5X_j.js.br +0 -0
- package/dist/client/assets/AgentTerminal-CvOz5X_j.js.gz +0 -0
- package/dist/client/assets/{AgentTerminalSurface-B2rwONYs.js → AgentTerminalSurface-COqg_GdK.js} +1 -1
- package/dist/client/assets/AgentTerminalSurface-COqg_GdK.js.br +0 -0
- package/dist/client/assets/AgentTerminalSurface-COqg_GdK.js.gz +0 -0
- package/dist/client/assets/{AvatarSettingsDialog-DplRpiJJ.js → AvatarSettingsDialog-C8WQhZBK.js} +1 -1
- package/dist/client/assets/AvatarSettingsDialog-C8WQhZBK.js.br +0 -0
- package/dist/client/assets/AvatarSettingsDialog-C8WQhZBK.js.gz +0 -0
- package/dist/client/assets/CitationBibtexEditor-SpudGDwi.js +1 -0
- package/dist/client/assets/CitationLibraryDialog-DgOIkLwK.js +3 -0
- package/dist/client/assets/CitationLibraryDialog-DgOIkLwK.js.br +0 -0
- package/dist/client/assets/CitationLibraryDialog-DgOIkLwK.js.gz +0 -0
- package/dist/client/assets/CitationNotesPreview-D3CjBD0p.js +1 -0
- package/dist/client/assets/Dashboard-CD1w42mA.js +5 -0
- package/dist/client/assets/Dashboard-CD1w42mA.js.br +0 -0
- package/dist/client/assets/Dashboard-CD1w42mA.js.gz +0 -0
- package/dist/client/assets/GitDialog-DGzZ3GRj.js +4 -0
- package/dist/client/assets/GitDialog-DGzZ3GRj.js.br +0 -0
- package/dist/client/assets/GitDialog-DGzZ3GRj.js.gz +0 -0
- package/dist/client/assets/GitHubAccountDialog-CGZl3mcY.js +1 -0
- package/dist/client/assets/GitHubAccountDialog-CGZl3mcY.js.br +0 -0
- package/dist/client/assets/GitHubAccountDialog-CGZl3mcY.js.gz +0 -0
- package/dist/client/assets/HistoryDialog-DTZxCgyT.js +8 -0
- package/dist/client/assets/HistoryDialog-DTZxCgyT.js.br +0 -0
- package/dist/client/assets/HistoryDialog-DTZxCgyT.js.gz +0 -0
- package/dist/client/assets/InfoPopover-Ba7GvcuW.js +1 -0
- package/dist/client/assets/LatexEditor-Boc-45KL.js +25 -0
- package/dist/client/assets/LatexEditor-Boc-45KL.js.br +0 -0
- package/dist/client/assets/LatexEditor-Boc-45KL.js.gz +0 -0
- package/dist/client/assets/MarkdownContent-BeKi2gI5.js +36 -0
- package/dist/client/assets/MarkdownContent-BeKi2gI5.js.br +0 -0
- package/dist/client/assets/MarkdownContent-BeKi2gI5.js.gz +0 -0
- package/dist/client/assets/MarkdownPreview-BH2iwvle.js +1 -0
- package/dist/client/assets/MarkdownPreview-BH2iwvle.js.br +0 -0
- package/dist/client/assets/MarkdownPreview-BH2iwvle.js.gz +0 -0
- package/dist/client/assets/PdfPreview-CIOM7sbu.js +1 -0
- package/dist/client/assets/PdfPreview-CIOM7sbu.js.br +0 -0
- package/dist/client/assets/PdfPreview-CIOM7sbu.js.gz +0 -0
- package/dist/client/assets/{ProjectIconPickerDialog-B9_XvdIC.js → ProjectIconPickerDialog-Bfkaxcnh.js} +1 -1
- package/dist/client/assets/ProjectIconPickerDialog-Bfkaxcnh.js.br +0 -0
- package/dist/client/assets/ProjectIconPickerDialog-Bfkaxcnh.js.gz +0 -0
- package/dist/client/assets/ProjectSearchDialog-DPIzxVYj.js +1 -0
- package/dist/client/assets/ProjectSearchDialog-DPIzxVYj.js.br +0 -0
- package/dist/client/assets/ProjectSearchDialog-DPIzxVYj.js.gz +0 -0
- package/dist/client/assets/ProjectSettings-ChXx_cmP.js +4 -0
- package/dist/client/assets/ProjectSettings-ChXx_cmP.js.br +0 -0
- package/dist/client/assets/ProjectSettings-ChXx_cmP.js.gz +0 -0
- package/dist/client/assets/ProjectWorkspace-B-w2ix8N.js +25 -0
- package/dist/client/assets/ProjectWorkspace-B-w2ix8N.js.br +0 -0
- package/dist/client/assets/ProjectWorkspace-B-w2ix8N.js.gz +0 -0
- package/dist/client/assets/QuickOpenDialog-CHjPlBu2.js +1 -0
- package/dist/client/assets/QuickOpenDialog-CHjPlBu2.js.br +0 -0
- package/dist/client/assets/QuickOpenDialog-CHjPlBu2.js.gz +0 -0
- package/dist/client/assets/ReadOnlySource-DKcmDg0e.js +2 -0
- package/dist/client/assets/SelectionHistoryDialog-Dnj22E8N.js +3 -0
- package/dist/client/assets/SelectionHistoryDialog-Dnj22E8N.js.br +0 -0
- package/dist/client/assets/SelectionHistoryDialog-Dnj22E8N.js.gz +0 -0
- package/dist/client/assets/SharedProjectPage-l8GSYTm-.js +2 -0
- package/dist/client/assets/SharedProjectPage-l8GSYTm-.js.br +0 -0
- package/dist/client/assets/SharedProjectPage-l8GSYTm-.js.gz +0 -0
- package/dist/client/assets/{SystemMetricsDialog-BExTHWxg.js → SystemMetricsDialog-DkmBA4o4.js} +1 -1
- package/dist/client/assets/SystemMetricsDialog-DkmBA4o4.js.br +0 -0
- package/dist/client/assets/SystemMetricsDialog-DkmBA4o4.js.gz +0 -0
- package/dist/client/assets/{TagColorSelect-CzPUDAny.js → TagColorSelect-e-Tq5V3H.js} +1 -1
- package/dist/client/assets/TagManagementDialog-BM1MRuwh.js +1 -0
- package/dist/client/assets/TagManagementDialog-BM1MRuwh.js.br +0 -0
- package/dist/client/assets/TagManagementDialog-BM1MRuwh.js.gz +0 -0
- package/dist/client/assets/TagMarquee-BLmCTTCt.js +1 -0
- package/dist/client/assets/ThemeSwitcher-dcvtWVCO.js +1 -0
- package/dist/client/assets/{WordCountDialog-CgDcnPdJ.js → WordCountDialog-DI0Jv-fg.js} +1 -1
- package/dist/client/assets/WordCountDialog-DI0Jv-fg.js.br +0 -0
- package/dist/client/assets/WordCountDialog-DI0Jv-fg.js.gz +0 -0
- package/dist/client/assets/{bibtexFormatterWorker-B_jvobIv.js → bibtexFormatterWorker-Bp8kjjvw.js} +14 -14
- package/dist/client/assets/bibtexFormatterWorker-Bp8kjjvw.js.br +0 -0
- package/dist/client/assets/bibtexFormatterWorker-Bp8kjjvw.js.gz +0 -0
- package/dist/client/assets/bibtexMetadataWorker-CQozbzep.js +2 -0
- package/dist/client/assets/bibtexMetadataWorker-CQozbzep.js.br +0 -0
- package/dist/client/assets/bibtexMetadataWorker-CQozbzep.js.gz +0 -0
- package/dist/client/assets/bibtexNames-CPGbBJxd.js +1 -0
- package/dist/client/assets/bibtexReferences-xpSF8IXH.js +1 -0
- package/dist/client/assets/bot-ClmnQ29j.js +1 -0
- package/dist/client/assets/{chktex-BeOSrdut.js → chktex-BrzPYHey.js} +2 -2
- package/dist/client/assets/citationAuthors-BWHXhKvT.js +1 -0
- package/dist/client/assets/citationAuthors-BWHXhKvT.js.br +0 -0
- package/dist/client/assets/citationAuthors-BWHXhKvT.js.gz +0 -0
- package/dist/client/assets/citationLibrary-DxGdbZEQ.js +1 -0
- package/dist/client/assets/citationLibrary-DxGdbZEQ.js.br +0 -0
- package/dist/client/assets/citationLibrary-DxGdbZEQ.js.gz +0 -0
- package/dist/client/assets/dist-C9O-A_C4.js +1 -0
- package/dist/client/assets/dist-C9O-A_C4.js.br +0 -0
- package/dist/client/assets/dist-C9O-A_C4.js.gz +0 -0
- package/dist/client/assets/dist-Dxkdrap6.js +2 -0
- package/dist/client/assets/dist-Dxkdrap6.js.br +0 -0
- package/dist/client/assets/dist-Dxkdrap6.js.gz +0 -0
- package/dist/client/assets/editor-CkUEg2La.js +14 -0
- package/dist/client/assets/editor-CkUEg2La.js.br +0 -0
- package/dist/client/assets/editor-CkUEg2La.js.gz +0 -0
- package/dist/client/assets/editor-languages-kcWr1Z3Q.js +36 -0
- package/dist/client/assets/editor-languages-kcWr1Z3Q.js.br +0 -0
- package/dist/client/assets/editor-languages-kcWr1Z3Q.js.gz +0 -0
- package/dist/client/assets/editorThemeExtension-BWtZV1Af.js +1 -0
- package/dist/client/assets/editorThemeExtension-BWtZV1Af.js.br +0 -0
- package/dist/client/assets/editorThemeExtension-BWtZV1Af.js.gz +0 -0
- package/dist/client/assets/generatedParser-CZa2vsK6.js +1 -0
- package/dist/client/assets/generatedParser-CZa2vsK6.js.br +0 -0
- package/dist/client/assets/generatedParser-CZa2vsK6.js.gz +0 -0
- package/dist/client/assets/git-compare-arrows-158rS_vn.js +1 -0
- package/dist/client/assets/i18n-Dtn6w-qA.js +13 -0
- package/dist/client/assets/i18n-Dtn6w-qA.js.br +0 -0
- package/dist/client/assets/i18n-Dtn6w-qA.js.gz +0 -0
- package/dist/client/assets/index-BbU2fbRw.css +1 -0
- package/dist/client/assets/index-BbU2fbRw.css.br +0 -0
- package/dist/client/assets/index-BbU2fbRw.css.gz +0 -0
- package/dist/client/assets/index-CPR6YZEf.js +2 -0
- package/dist/client/assets/index-CPR6YZEf.js.br +0 -0
- package/dist/client/assets/index-CPR6YZEf.js.gz +0 -0
- package/dist/client/assets/katex-Ca9qmXPj.js +257 -0
- package/dist/client/assets/katex-Ca9qmXPj.js.br +0 -0
- package/dist/client/assets/katex-Ca9qmXPj.js.gz +0 -0
- package/dist/client/assets/katex.min-VLoWtPY0.js +1 -0
- package/dist/client/assets/{latexFormatterWorker-BIDCSZPd.js → latexFormatterWorker-BWiogBYE.js} +1 -1
- package/dist/client/assets/latexFormatterWorker-BWiogBYE.js.br +0 -0
- package/dist/client/assets/latexFormatterWorker-BWiogBYE.js.gz +0 -0
- package/dist/client/assets/latexScanner-D9bMX44Y.js +6 -0
- package/dist/client/assets/latexScanner-D9bMX44Y.js.br +0 -0
- package/dist/client/assets/latexScanner-D9bMX44Y.js.gz +0 -0
- package/dist/client/assets/palette-8_-Y5XON.js +1 -0
- package/dist/client/assets/plus-Cei21TlT.js +1 -0
- package/dist/client/assets/relativeTime-mmWGtWRR.js +1 -0
- package/dist/client/assets/relativeTime-mmWGtWRR.js.br +0 -0
- package/dist/client/assets/relativeTime-mmWGtWRR.js.gz +0 -0
- package/dist/client/assets/sourceCursorStore-BVDvDKeP.js +1 -0
- package/dist/client/assets/sourceCursorStore-BVDvDKeP.js.br +0 -0
- package/dist/client/assets/sourceCursorStore-BVDvDKeP.js.gz +0 -0
- package/dist/client/assets/{spellCheck-P-fMO4iR.js → spellCheck-BTyLQAFH.js} +1 -1
- package/dist/client/assets/spellCheck-BTyLQAFH.js.br +0 -0
- package/dist/client/assets/spellCheck-BTyLQAFH.js.gz +0 -0
- package/dist/client/assets/{textLanguageSupport-BSIE7WPM.js → textLanguageSupport-Ck8lMOWz.js} +1 -1
- package/dist/client/assets/textLanguages-CwWstpJ5.js +78 -0
- package/dist/client/assets/textLanguages-CwWstpJ5.js.br +0 -0
- package/dist/client/assets/textLanguages-CwWstpJ5.js.gz +0 -0
- package/dist/client/assets/useDeletionTransitions-Ba_yhkrl.js +1 -0
- package/dist/client/assets/useDeletionTransitions-Ba_yhkrl.js.br +0 -0
- package/dist/client/assets/useDeletionTransitions-Ba_yhkrl.js.gz +0 -0
- package/dist/client/assets/{vimSupport-BwIAfLU0.js → vimSupport-C-WiMLjc.js} +6 -6
- package/dist/client/assets/vimSupport-C-WiMLjc.js.br +0 -0
- package/dist/client/assets/vimSupport-C-WiMLjc.js.gz +0 -0
- package/dist/client/index.html +3 -3
- package/dist/server/agentChanges.js +149 -0
- package/dist/server/agents/sessions.js +1 -1
- package/dist/server/agents/workspaces.js +7 -27
- package/dist/server/app.js +15 -6
- package/dist/server/boundedExpiringCache.js +69 -0
- package/dist/server/citationFolderTransfer.js +5 -5
- package/dist/server/citationInput.js +1 -0
- package/dist/server/collaboration.js +39 -5
- package/dist/server/db.js +23 -0
- package/dist/server/editHistory.js +71 -12
- package/dist/server/git.js +58 -7
- package/dist/server/history.js +58 -9
- package/dist/server/i18n.js +9 -0
- package/dist/server/locales/zh-Hant.js +5 -0
- package/dist/server/projectPreview.js +8 -12
- package/dist/server/projectReferences.js +110 -9
- package/dist/server/projectReplace.js +67 -0
- package/dist/server/projectSearch.js +72 -0
- package/dist/server/routes/auth.js +3 -0
- package/dist/server/routes/citations.js +28 -61
- package/dist/server/routes/commentSuggestions.js +1 -1
- package/dist/server/routes/comments.js +8 -3
- package/dist/server/routes/projectGit.js +10 -0
- package/dist/server/routes/projectHistory.js +42 -0
- package/dist/server/routes/projectSearch.js +72 -0
- package/dist/server/routes/projects.js +1 -2
- package/dist/server/routes/users.js +2 -2
- package/dist/shared/bibtexBraces.js +20 -0
- package/dist/shared/bibtexNames.js +82 -0
- package/dist/shared/bibtexReferences.js +52 -12
- package/dist/shared/bibtexText.js +175 -0
- package/dist/shared/gitProtocol.js +2 -0
- package/dist/shared/historyProtocol.js +5 -0
- package/dist/shared/projectSearch.js +17 -0
- package/dist/shared/textDiff.js +36 -1
- package/package.json +1 -1
- package/dist/client/assets/AdminUsers-BghRo_hC.js +0 -1
- package/dist/client/assets/AdminUsers-BghRo_hC.js.br +0 -0
- package/dist/client/assets/AdminUsers-BghRo_hC.js.gz +0 -0
- package/dist/client/assets/AgentIcon-dCMgWJG-.css.br +0 -0
- package/dist/client/assets/AgentIcon-dCMgWJG-.css.gz +0 -0
- package/dist/client/assets/AgentManagement-rIYtm4Bo.js.br +0 -0
- package/dist/client/assets/AgentManagement-rIYtm4Bo.js.gz +0 -0
- package/dist/client/assets/AgentTerminal-BEjiw51y.js +0 -2
- package/dist/client/assets/AgentTerminal-BEjiw51y.js.br +0 -0
- package/dist/client/assets/AgentTerminal-BEjiw51y.js.gz +0 -0
- package/dist/client/assets/AgentTerminalSurface-B2rwONYs.js.br +0 -0
- package/dist/client/assets/AgentTerminalSurface-B2rwONYs.js.gz +0 -0
- package/dist/client/assets/AvatarSettingsDialog-DplRpiJJ.js.br +0 -0
- package/dist/client/assets/AvatarSettingsDialog-DplRpiJJ.js.gz +0 -0
- package/dist/client/assets/CitationBibtexEditor-BnK6nZPi.js +0 -1
- package/dist/client/assets/CitationLibraryDialog-CZvJiTmT.js +0 -3
- package/dist/client/assets/CitationLibraryDialog-CZvJiTmT.js.br +0 -0
- package/dist/client/assets/CitationLibraryDialog-CZvJiTmT.js.gz +0 -0
- package/dist/client/assets/CitationNotesPreview-CiIzdjCa.js +0 -36
- package/dist/client/assets/CitationNotesPreview-CiIzdjCa.js.br +0 -0
- package/dist/client/assets/CitationNotesPreview-CiIzdjCa.js.gz +0 -0
- package/dist/client/assets/Dashboard-Dcl0Y_C3.js +0 -5
- package/dist/client/assets/Dashboard-Dcl0Y_C3.js.br +0 -0
- package/dist/client/assets/Dashboard-Dcl0Y_C3.js.gz +0 -0
- package/dist/client/assets/GitDialog-BeYvUCDv.js +0 -3
- package/dist/client/assets/GitDialog-BeYvUCDv.js.br +0 -0
- package/dist/client/assets/GitDialog-BeYvUCDv.js.gz +0 -0
- package/dist/client/assets/GitHubAccountDialog-BGKINOwJ.js +0 -1
- package/dist/client/assets/GitHubAccountDialog-BGKINOwJ.js.br +0 -0
- package/dist/client/assets/GitHubAccountDialog-BGKINOwJ.js.gz +0 -0
- package/dist/client/assets/HistoryDialog-B-C4Zaef.js +0 -8
- package/dist/client/assets/HistoryDialog-B-C4Zaef.js.br +0 -0
- package/dist/client/assets/HistoryDialog-B-C4Zaef.js.gz +0 -0
- package/dist/client/assets/InfoPopover-Dkz742vJ.js +0 -1
- package/dist/client/assets/LatexEditor-CohUJrGD.js +0 -25
- package/dist/client/assets/LatexEditor-CohUJrGD.js.br +0 -0
- package/dist/client/assets/LatexEditor-CohUJrGD.js.gz +0 -0
- package/dist/client/assets/PdfPreview-BvJxduy3.js +0 -1
- package/dist/client/assets/PdfPreview-BvJxduy3.js.br +0 -0
- package/dist/client/assets/PdfPreview-BvJxduy3.js.gz +0 -0
- package/dist/client/assets/ProjectIconPickerDialog-B9_XvdIC.js.br +0 -0
- package/dist/client/assets/ProjectIconPickerDialog-B9_XvdIC.js.gz +0 -0
- package/dist/client/assets/ProjectSettings-D8uH3PqQ.js +0 -4
- package/dist/client/assets/ProjectSettings-D8uH3PqQ.js.br +0 -0
- package/dist/client/assets/ProjectSettings-D8uH3PqQ.js.gz +0 -0
- package/dist/client/assets/ProjectWorkspace-BZj-CRZB.js +0 -31
- package/dist/client/assets/ProjectWorkspace-BZj-CRZB.js.br +0 -0
- package/dist/client/assets/ProjectWorkspace-BZj-CRZB.js.gz +0 -0
- package/dist/client/assets/QuickOpenDialog-B9bf5mnw.js +0 -1
- package/dist/client/assets/QuickOpenDialog-B9bf5mnw.js.br +0 -0
- package/dist/client/assets/QuickOpenDialog-B9bf5mnw.js.gz +0 -0
- package/dist/client/assets/ReadOnlySource-BZ7WYQO7.js +0 -2
- package/dist/client/assets/SelectionHistoryDialog-DYQb9hXp.js +0 -3
- package/dist/client/assets/SelectionHistoryDialog-DYQb9hXp.js.br +0 -0
- package/dist/client/assets/SelectionHistoryDialog-DYQb9hXp.js.gz +0 -0
- package/dist/client/assets/SharedProjectPage-DJjR-D8d.js +0 -2
- package/dist/client/assets/SharedProjectPage-DJjR-D8d.js.br +0 -0
- package/dist/client/assets/SharedProjectPage-DJjR-D8d.js.gz +0 -0
- package/dist/client/assets/SystemMetricsDialog-BExTHWxg.js.br +0 -0
- package/dist/client/assets/SystemMetricsDialog-BExTHWxg.js.gz +0 -0
- package/dist/client/assets/TagManagementDialog-BBOpD_62.js +0 -1
- package/dist/client/assets/TagManagementDialog-BBOpD_62.js.br +0 -0
- package/dist/client/assets/TagManagementDialog-BBOpD_62.js.gz +0 -0
- package/dist/client/assets/ThemeSwitcher-BTDUp7Wj.js +0 -1
- package/dist/client/assets/ThemeSwitcher-BTDUp7Wj.js.br +0 -0
- package/dist/client/assets/ThemeSwitcher-BTDUp7Wj.js.gz +0 -0
- package/dist/client/assets/WordCountDialog-CgDcnPdJ.js.br +0 -0
- package/dist/client/assets/WordCountDialog-CgDcnPdJ.js.gz +0 -0
- package/dist/client/assets/bibtexFormatterWorker-B_jvobIv.js.br +0 -0
- package/dist/client/assets/bibtexFormatterWorker-B_jvobIv.js.gz +0 -0
- package/dist/client/assets/citationLibrary-BzlqZiFU.js +0 -26
- package/dist/client/assets/citationLibrary-BzlqZiFU.js.br +0 -0
- package/dist/client/assets/citationLibrary-BzlqZiFU.js.gz +0 -0
- package/dist/client/assets/clipboard-CslquMx4.js +0 -1
- package/dist/client/assets/dist-Bcdl4EAC.js +0 -1
- package/dist/client/assets/dist-Bcdl4EAC.js.br +0 -0
- package/dist/client/assets/dist-Bcdl4EAC.js.gz +0 -0
- package/dist/client/assets/editor-JqCouYk8.js +0 -14
- package/dist/client/assets/editor-JqCouYk8.js.br +0 -0
- package/dist/client/assets/editor-JqCouYk8.js.gz +0 -0
- package/dist/client/assets/editor-languages-CRI2h3Fj.js +0 -36
- package/dist/client/assets/editor-languages-CRI2h3Fj.js.br +0 -0
- package/dist/client/assets/editor-languages-CRI2h3Fj.js.gz +0 -0
- package/dist/client/assets/editorThemeExtension-BNWs0sHh.js +0 -1
- package/dist/client/assets/editorThemeExtension-BNWs0sHh.js.br +0 -0
- package/dist/client/assets/editorThemeExtension-BNWs0sHh.js.gz +0 -0
- package/dist/client/assets/eye-BnslGpqB.js +0 -1
- package/dist/client/assets/i18n-Bv4wFb8D.js +0 -13
- package/dist/client/assets/i18n-Bv4wFb8D.js.br +0 -0
- package/dist/client/assets/i18n-Bv4wFb8D.js.gz +0 -0
- package/dist/client/assets/index-Bdb2ITID.js +0 -2
- package/dist/client/assets/index-Bdb2ITID.js.br +0 -0
- package/dist/client/assets/index-Bdb2ITID.js.gz +0 -0
- package/dist/client/assets/index-wqKiaXZr.css +0 -1
- package/dist/client/assets/index-wqKiaXZr.css.br +0 -0
- package/dist/client/assets/index-wqKiaXZr.css.gz +0 -0
- package/dist/client/assets/katex-CBRBI6nR.js +0 -257
- package/dist/client/assets/katex-CBRBI6nR.js.br +0 -0
- package/dist/client/assets/katex-CBRBI6nR.js.gz +0 -0
- package/dist/client/assets/latexFormatterWorker-BIDCSZPd.js.br +0 -0
- package/dist/client/assets/latexFormatterWorker-BIDCSZPd.js.gz +0 -0
- package/dist/client/assets/relativeTime-DlKXhH_h.js +0 -1
- package/dist/client/assets/relativeTime-DlKXhH_h.js.br +0 -0
- package/dist/client/assets/relativeTime-DlKXhH_h.js.gz +0 -0
- package/dist/client/assets/sourceCursorStore-C7u-3Gbl.js +0 -1
- package/dist/client/assets/sourceCursorStore-C7u-3Gbl.js.br +0 -0
- package/dist/client/assets/sourceCursorStore-C7u-3Gbl.js.gz +0 -0
- package/dist/client/assets/spellCheck-P-fMO4iR.js.br +0 -0
- package/dist/client/assets/spellCheck-P-fMO4iR.js.gz +0 -0
- package/dist/client/assets/tags-GrE3ZIQN.js +0 -1
- package/dist/client/assets/textLanguages-DAJ1OXJA.js +0 -78
- package/dist/client/assets/textLanguages-DAJ1OXJA.js.br +0 -0
- package/dist/client/assets/textLanguages-DAJ1OXJA.js.gz +0 -0
- package/dist/client/assets/useDeletionTransitions-TAZINdHX.js +0 -1
- package/dist/client/assets/useDeletionTransitions-TAZINdHX.js.br +0 -0
- package/dist/client/assets/useDeletionTransitions-TAZINdHX.js.gz +0 -0
- package/dist/client/assets/vimSupport-BwIAfLU0.js.br +0 -0
- package/dist/client/assets/vimSupport-BwIAfLU0.js.gz +0 -0
- /package/dist/client/assets/{AgentIcon-DsoMeMA8.js → AgentIcon-CA-PfOka.js} +0 -0
- /package/dist/client/assets/{AgentIcon-DsoMeMA8.js.br → AgentIcon-CA-PfOka.js.br} +0 -0
- /package/dist/client/assets/{AgentIcon-DsoMeMA8.js.gz → AgentIcon-CA-PfOka.js.gz} +0 -0
package/DESIGN.md
CHANGED
|
@@ -83,17 +83,19 @@ same view before revalidation. Obsolete requests are aborted and ignored, and
|
|
|
83
83
|
rows from a previous category are not shown while its replacement is loading.
|
|
84
84
|
Successful catalog mutations revalidate the currently selected view.
|
|
85
85
|
|
|
86
|
-
Grid cards
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
86
|
+
Grid cards use a paper illustration containing the main document's title and
|
|
87
|
+
opening abstract text. Unavailable fields use neutral bars; genuinely empty
|
|
88
|
+
documents show blank paper. Grid catalog requests opt into bounded metadata
|
|
89
|
+
reads for every visible project, including tagged projects. The server reads
|
|
90
|
+
at most the first 64 KiB, extracts only complete title/abstract constructs,
|
|
91
|
+
and limits each field to 240 Unicode characters. Reads are asynchronous,
|
|
92
|
+
coalesced and cached by file metadata, with at most 128 entries; includes are
|
|
93
|
+
not traversed and no TeX is executed. Unread mentions precede unresolved-comment
|
|
94
|
+
badges at the thumbnail's top right; private tags sit at its bottom left.
|
|
95
|
+
Single-line titles and relative-modification metadata occupy fixed caption
|
|
96
|
+
slots, with owner/creation/modification details in the title tooltip. The open,
|
|
97
|
+
mention and action-menu buttons are independent keyboard targets. List layout
|
|
98
|
+
and its labels remain unchanged.
|
|
97
99
|
|
|
98
100
|
### Citation library
|
|
99
101
|
|
|
@@ -103,6 +105,22 @@ reference preserves the author's original formatting; importing inserts the
|
|
|
103
105
|
selected entry at the current editor cursor and requires project write access.
|
|
104
106
|
Each user owns a private library. Citation entries and color tags are scoped to
|
|
105
107
|
the owning user; other users cannot list, search, import, edit, or delete them.
|
|
108
|
+
The browser's Lezer BibTeX parser derives the display venue (biblatex
|
|
109
|
+
`journaltitle`, `journal` or `booktitle`) together with title, authors and year
|
|
110
|
+
(`year`, or the year of biblatex's `date`); the client submits it on save.
|
|
111
|
+
Values have `@string` macros defined earlier in the same source expanded, and
|
|
112
|
+
a `.bib` import fills a `crossref` child's missing fields from a parent in the
|
|
113
|
+
same file; the saved BibTeX stays as written. Schema migration 21 stores the
|
|
114
|
+
venue, so citation cards read the field instead of reparsing BibTeX on every
|
|
115
|
+
render. Rows created before that migration, or saved before `journaltitle` and
|
|
116
|
+
`date` were read, keep a null venue or year until they are edited or saved
|
|
117
|
+
again; their cards derive both from the stored BibTeX (memoized per entry) so
|
|
118
|
+
they do not disappear, but library search matches the stored columns only.
|
|
119
|
+
Folder import re-parses every entry, so imported rows always carry them.
|
|
120
|
+
Stored title, author and venue columns are TeX as written. Cards and hover
|
|
121
|
+
previews show them through `src/shared/bibtexText.ts`, which drops protective
|
|
122
|
+
braces and converts common accents, special letters and TeX punctuation while
|
|
123
|
+
keeping math verbatim; DOI and URL are shown unchanged.
|
|
106
124
|
The homepage keeps Projects as the default view and exposes the
|
|
107
125
|
citation library as a separate management page beside the other management
|
|
108
126
|
controls; the project workspace keeps a smaller `.bib` import dialog for
|
|
@@ -128,14 +146,25 @@ oversized folders are preserved and may shrink, but cannot gain new entries.
|
|
|
128
146
|
All references and Unfiled are views, not folders, and have no 500-entry cap;
|
|
129
147
|
the private library's total size is not limited by folder capacity.
|
|
130
148
|
The dashboard page and project import dialog share folder navigation. Project
|
|
131
|
-
workflows use a separate controller
|
|
132
|
-
|
|
149
|
+
workflows use a separate controller: My library entries only offer Import into
|
|
150
|
+
the current file, and current-file entries only offer Save into the library. These are compact icon-only actions
|
|
133
151
|
with accessible names, action/state tooltips and the shared saved-check feedback.
|
|
134
152
|
Tag filters combine with folders, search and pagination, but project dialogs do
|
|
135
153
|
not expose tag or entry management controls. The workspace's compact entry is
|
|
136
|
-
labelled Citation; the homepage keeps Citation library.
|
|
137
|
-
|
|
138
|
-
|
|
154
|
+
labelled Citation; the homepage keeps Citation library. Saving from the current
|
|
155
|
+
file only adds entries whose key is not in the library yet, into a chosen
|
|
156
|
+
destination folder; an entry already there shows as saved and is never changed
|
|
157
|
+
from the project dialog. A bounded, debounced key lookup returns only
|
|
158
|
+
key/id/revision metadata, never library text.
|
|
159
|
+
The project dialog opens a `.bib` file on its Current file tab, and any other
|
|
160
|
+
file on My library. It reads the current file once per opening: edits made
|
|
161
|
+
while it stays open are neither re-parsed nor re-compared, and reopening shows
|
|
162
|
+
them. My library is paginated by the server; Current file pages the parsed
|
|
163
|
+
entries in the browser (60 per page) with a local search and a library-status
|
|
164
|
+
filter, while the key lookup still covers the whole file so the counts are
|
|
165
|
+
exact. The folder sidebar filters My library only and is hidden on Current
|
|
166
|
+
file, whose save destination is a separate selector; entering Current file
|
|
167
|
+
without a destination offers the folder being browsed.
|
|
139
168
|
Equality ignores platform line endings and outer whitespace, not differences
|
|
140
169
|
inside an entry. Unchanged entries cannot be updated; changed ones still need
|
|
141
170
|
the last-read revision. Source/file switches abort stale comparisons and
|
|
@@ -204,14 +233,21 @@ HTTP/LAN browsers without usable
|
|
|
204
233
|
Clipboard API access. Save/import remain direct actions in project dialogs.
|
|
205
234
|
Library rows use compact spacing and a single-line title with the full title
|
|
206
235
|
available on hover.
|
|
207
|
-
Library entries are checked in the browser
|
|
208
|
-
|
|
236
|
+
Library entries are checked in the browser before a mutation request is sent,
|
|
237
|
+
using the same Lezer BibTeX grammar as the editor (`bibtex/entries.ts`). That
|
|
238
|
+
grammar alone decides what an entry is, where it begins and ends, and whether
|
|
239
|
+
the text is valid: a syntax error anywhere makes the whole document invalid, so
|
|
240
|
+
the library never accepts what the editor underlines, and never silently skips
|
|
241
|
+
a damaged entry. A single-entry write must be exactly one citeable entry with
|
|
242
|
+
nothing before or after it. `bibtex-tidy` only formats, and is bundled with the
|
|
243
|
+
formatter worker alone. Citation keys are unique
|
|
209
244
|
per user without regard to letter case. Creating an existing key is rejected;
|
|
210
245
|
updating an entry or its tags requires the revision last read by the client, so
|
|
211
246
|
concurrent browser sessions report a conflict instead of silently overwriting
|
|
212
|
-
newer content. Entry-text and tag-only mutations use separate endpoints
|
|
213
|
-
|
|
214
|
-
|
|
247
|
+
newer content. Entry-text and tag-only mutations use separate endpoints.
|
|
248
|
+
`POST /api/citations` only creates entries, including saves from a project's
|
|
249
|
+
`.bib`; it never replaces an existing key, and the key lookup reports only
|
|
250
|
+
which keys exist. The server retains only transport-level size and
|
|
215
251
|
field-shape limits; it does not reparse BibTeX syntax.
|
|
216
252
|
|
|
217
253
|
TexLite is intentionally a single-instance application. The collaboration
|
|
@@ -903,9 +939,14 @@ payloads at once. This budget never shares or
|
|
|
903
939
|
reduces the 128 MB recovery-snapshot budget. A too-large individual edit burst
|
|
904
940
|
is omitted, and retention removes the oldest records; both deliberately create
|
|
905
941
|
a visible history boundary rather than presenting an unsafe attribution. When selection history is viewed,
|
|
906
|
-
adjacent records affecting the selection are consolidated into
|
|
907
|
-
|
|
908
|
-
|
|
942
|
+
adjacent records affecting the selection are consolidated into one editing
|
|
943
|
+
session while no pause between them exceeds five minutes, up to a 30-minute
|
|
944
|
+
span; a longer continuous session is split so earlier states stay visible.
|
|
945
|
+
Coding-agent edits and direct edits never share a session entry, so an agent's
|
|
946
|
+
change can be compared on its own. When later edits only moved the selection
|
|
947
|
+
boundary and are folded into the state they left unchanged, the entry keeps the
|
|
948
|
+
agent flag of the older change that wrote the text. Raw per-user records remain separate, while
|
|
949
|
+
the timeline lists every contributor to that session. Each entry maps the selected
|
|
909
950
|
passage backward through the durable edit chain and presents the resulting
|
|
910
951
|
selected content, a semantic character-level comparison with the preceding
|
|
911
952
|
older state, contributors, and latest edit time in reverse chronological order.
|
|
@@ -994,6 +1035,35 @@ temporary ZIP under the consistent-read barrier before the HTTP download starts.
|
|
|
994
1035
|
|
|
995
1036
|
## Editor, files, and navigation
|
|
996
1037
|
|
|
1038
|
+
The file-tree overflow menu opens project-wide search in a lazy-loaded modal.
|
|
1039
|
+
Search is literal, with case-sensitive and whole-word options, and groups source
|
|
1040
|
+
previews by file. Selecting a match opens that file at its line and column.
|
|
1041
|
+
The authenticated endpoint checks project access and reads under the existing
|
|
1042
|
+
consistent-read barrier, flushing server-received collaborative edits first.
|
|
1043
|
+
Only shared-classifier text paths with valid UTF-8 text content are scanned;
|
|
1044
|
+
binary and unknown types are excluded. Searches are bounded to 500 files,
|
|
1045
|
+
32 MiB total and 500 matches, with an explicit incomplete-results notice.
|
|
1046
|
+
Per-file limits match collaborative-file limits. Case-sensitive and whole-word
|
|
1047
|
+
matching default to on. Writers can preview literal replacements (red deletions
|
|
1048
|
+
and green insertions only for a nonempty replacement), replace one exact match,
|
|
1049
|
+
or confirm replacement across all displayed results. Each occurrence is a separate
|
|
1050
|
+
row labelled with its line and column; only that occurrence is highlighted in
|
|
1051
|
+
its surrounding source preview. Read-only members
|
|
1052
|
+
only see search. Truncated results disable replacement until the search is
|
|
1053
|
+
narrowed. Each target includes its searched source hash and exact UTF-16 ranges.
|
|
1054
|
+
The server validates ranges against the search pattern, rejecting duplicates,
|
|
1055
|
+
overlaps and locations that are not complete matches before editing anything.
|
|
1056
|
+
The write queue flushes current drafts, validates every target before mutation,
|
|
1057
|
+
then applies exact attributed Yjs edits in one synchronous transaction. Stale
|
|
1058
|
+
sources and active formatting leases reject the operation; normal persistence
|
|
1059
|
+
updates anchors, edit history, snapshots and collaborators without a reload.
|
|
1060
|
+
After replacement, the modal immediately revalidates results in the background
|
|
1061
|
+
without clearing the current list. Stable file/location keys preserve scroll and
|
|
1062
|
+
collapsed groups; replacement remains disabled until fresh hashes arrive. A
|
|
1063
|
+
failed refresh keeps the previous results visible but non-replaceable. New
|
|
1064
|
+
search criteria still clear obsolete results and debounce for 350 ms. Success
|
|
1065
|
+
feedback sits in the footer so it does not shift the result list.
|
|
1066
|
+
|
|
997
1067
|
Workspace resizing uses `react-resizable-panels` v4 (`Group`, `Panel`,
|
|
998
1068
|
`Separator`). Constraints use explicit percentage strings; numbers in v4
|
|
999
1069
|
would mean pixels. The editor and preview share the space remaining after the
|
|
@@ -1143,6 +1213,59 @@ prefix coverage across scrolls. Pending scans are cancelled on disable/unmount,
|
|
|
1143
1213
|
and their results apply only to the same immutable document. Ctrl/Cmd-click
|
|
1144
1214
|
revalidates retained references against the current source when a scan is
|
|
1145
1215
|
pending, including edits to later lines of multiline citation arguments.
|
|
1216
|
+
Hovering a citation key after a short stationary delay can preview the
|
|
1217
|
+
resolved BibTeX entry's key, type, title, authors, year, venue, DOI/URL and
|
|
1218
|
+
source location. Author lists, here and on citation library cards, follow
|
|
1219
|
+
biblatex's default truncation (`maxnames=3`, `minnames=1`): longer lists, and
|
|
1220
|
+
lists ending in `and others`, show the first author followed by "et al." and,
|
|
1221
|
+
when known, the author count (`citationAuthors.ts`). `src/shared/bibtexNames.ts`
|
|
1222
|
+
splits names at brace-depth-0 `and` on the TeX source; each shown name is then
|
|
1223
|
+
converted to readable text.
|
|
1224
|
+
The per-user, per-project editor preference defaults on.
|
|
1225
|
+
The workspace editor renders all CodeMirror tooltips (hover previews,
|
|
1226
|
+
completion, diagnostics) in a zero-size fixed layer in `<body>` instead of the
|
|
1227
|
+
isolated editor host, so a neighbouring PDF panel cannot cover a preview near
|
|
1228
|
+
the editor's right edge. The layer copies the editor font and sits at z-index
|
|
1229
|
+
85: above workspace panels, below menus, drawers and dialogs, preserving why
|
|
1230
|
+
`.editor-host` is isolated. Editors inside dialogs keep their tooltips local.
|
|
1231
|
+
Obsolete requests are aborted when their tooltip closes. The server resolves
|
|
1232
|
+
only the main-document-aware target and reuses a metadata-keyed source snapshot
|
|
1233
|
+
across keys, so a project's LaTeX sources and directives are not re-read for
|
|
1234
|
+
every lookup. The snapshot cache is bounded by project count and bytes, and an
|
|
1235
|
+
unref'd timer aimed at the earliest expiry frees each entry when its 15-second
|
|
1236
|
+
lifetime ends, so an idle project's sources do not stay resident until another
|
|
1237
|
+
project displaces them. Each `.bib` file gets a separate key -> line/column
|
|
1238
|
+
index, not its content, reused while the file's size and modification time are
|
|
1239
|
+
unchanged, so an unchanged bibliography is neither re-read nor re-scanned on
|
|
1240
|
+
every hover; it is bounded by file count and bytes and freed after five minutes
|
|
1241
|
+
without use. Both caches share `boundedExpiringCache.ts`. The target also
|
|
1242
|
+
carries a `revision` (size and modification time) of the file that defines it,
|
|
1243
|
+
omitted when that metadata is unknown so nothing derived from it is reused. The browser then fetches the
|
|
1244
|
+
target `.bib` file and parses it with the editor's Lezer BibTeX grammar in a
|
|
1245
|
+
dedicated, lazily created metadata worker, caching the parsed entry map per
|
|
1246
|
+
project file for as long as the server reports the same revision. The bounded
|
|
1247
|
+
cache is shared by the whole page, so remounting the editor for another file or
|
|
1248
|
+
reconfiguring it after a preference change keeps it. Concurrent hovers share
|
|
1249
|
+
one fetch-and-parse per file revision; closing a tooltip only stops waiting, so
|
|
1250
|
+
a load that finishes after its hover moved on still fills the cache, and only
|
|
1251
|
+
the newest revision started for a path may do so. A shared download still
|
|
1252
|
+
cannot hang: it is aborted after 30 seconds, or 10 seconds after its last
|
|
1253
|
+
waiting hover closed unless another hover joins first. Parsing is not aborted;
|
|
1254
|
+
the metadata worker receives one request at a time and times out each parse
|
|
1255
|
+
after 30 seconds of its own work, so a huge file that times out fails alone and
|
|
1256
|
+
queued parses continue on a fresh worker. When the file cannot be loaded or
|
|
1257
|
+
parsed the hover still shows the target's location with a short notice, and a
|
|
1258
|
+
file that parses without the entry (for example one the editor reads as a
|
|
1259
|
+
syntax error) is reported as unreadable rather than unavailable. Hover never changes
|
|
1260
|
+
the source or opens the entry, so Ctrl/Cmd-click remains navigation.
|
|
1261
|
+
|
|
1262
|
+
Freshness comes from the server, not from a timer. The resolve and file
|
|
1263
|
+
requests are both consistent reads that flush live Yjs edits to disk first, and
|
|
1264
|
+
every hover re-resolves its target, so a "not found" answer is never cached and
|
|
1265
|
+
an entry added or edited moments ago is visible on the next hover. Only the
|
|
1266
|
+
fetch-and-parse of an unchanged `.bib` file is reused; a changed revision, a
|
|
1267
|
+
missing revision, or a failed load is never cached and simply refetches.
|
|
1268
|
+
|
|
1146
1269
|
Automatic pairing applies its existing line-local insertion predicates before
|
|
1147
1270
|
materializing a whole-document string. Only actual candidates need the full
|
|
1148
1271
|
literal-state and matching-end checks; ordinary input and skipped non-candidate
|
|
@@ -1278,8 +1401,10 @@ Compilation follows this sequence:
|
|
|
1278
1401
|
request can finish.
|
|
1279
1402
|
|
|
1280
1403
|
The previous successful PDF remains visible during a new compile. The latest
|
|
1281
|
-
published bundle is recovered after a restart
|
|
1282
|
-
|
|
1404
|
+
published bundle is recovered after a restart independently of collaboration
|
|
1405
|
+
startup. Once project access metadata is available, the workspace applies the
|
|
1406
|
+
current permission and starts collaboration without waiting for compile
|
|
1407
|
+
metadata, a PDF, or file indexing. PDF requests support range responses for
|
|
1283
1408
|
PDF.js and expose the successful compile time and artifact size. The default
|
|
1284
1409
|
automatic loading policy uses a complete, cache-friendly response through 2 MB
|
|
1285
1410
|
and enables PDF.js byte-range loading above that threshold; deployments can
|
|
@@ -1401,11 +1526,39 @@ Invalid snapshot changed-path metadata is reported as an error rather than an
|
|
|
1401
1526
|
empty file list. File-backed root validation and icon lookup likewise preserve
|
|
1402
1527
|
normal not-found results while allowing permission, I/O, and malformed generated
|
|
1403
1528
|
resource errors to reach the server's error handler and logs.
|
|
1404
|
-
Autosaves across authors are coalesced within a fixed two-minute project window
|
|
1529
|
+
Autosaves across authors are coalesced within a fixed two-minute project window,
|
|
1530
|
+
but only with autosaves of the same kind: agent and human changes never share a
|
|
1531
|
+
snapshot, so the snapshot before an agent started remains a separate restore
|
|
1532
|
+
point. A coding agent's file writes are observed by separate source polls; one
|
|
1533
|
+
user's consecutive agent writes share a snapshot within the same window.
|
|
1405
1534
|
A mixed-author snapshot has no single author attribution; selection edit history
|
|
1406
|
-
retains the individual contributions independently.
|
|
1535
|
+
retains the individual contributions independently.
|
|
1536
|
+
Schema migration 22 adds a `has_agent` flag to snapshots and edit segments.
|
|
1537
|
+
Coding agents are not told apart: the user who ran the task stays the author,
|
|
1538
|
+
and the interface adds "Coding Agent" after them ("Alice, Coding Agent"; a
|
|
1539
|
+
coalesced autosave without one author reads "Multiple authors, Coding Agent").
|
|
1540
|
+
Agent text enters the live room with an `agent` marker on its external origin;
|
|
1541
|
+
its edit segments are flagged and never merged with the same user's direct
|
|
1542
|
+
edits, so the segment flag is exact. A snapshot is flagged when changes it
|
|
1543
|
+
holds came from an agent: the autosave that persists agent text inherits the
|
|
1544
|
+
flag from its segments, and agent file writes and task recovery pass it
|
|
1545
|
+
directly. Because coalescing never crosses the flag, a flagged snapshot holds
|
|
1546
|
+
agent changes; it can still include human text the agent sync merged. Rows
|
|
1547
|
+
written before the migration cannot be classified and stay unflagged. File
|
|
1407
1548
|
contents are complete SHA-256-addressed objects; unchanged files are reused
|
|
1408
|
-
across manifests.
|
|
1549
|
+
across manifests. Under the storage budget nothing is removed. Over it,
|
|
1550
|
+
retention first thins older history so the budget covers a longer period:
|
|
1551
|
+
every version from the last 24 hours is kept, then the newest version of each
|
|
1552
|
+
server-local hour for the last week, then the newest of each server-local day;
|
|
1553
|
+
the latest version represents its own hour or day. Initial, labeled, restore
|
|
1554
|
+
and pre-restore checkpoint versions are never thinned. Only if the history is
|
|
1555
|
+
still over the budget are the oldest remaining versions removed. The
|
|
1556
|
+
snapshot timeline groups versions under local-day headers and folds runs of
|
|
1557
|
+
three or more plain automatic saves (no name, no agent changes) into one
|
|
1558
|
+
expandable row. Selecting a snapshot, or a fresh list load, opens the row that
|
|
1559
|
+
holds the selection; later list updates leave a row the user collapsed alone,
|
|
1560
|
+
and a row stays open while saves join either end.
|
|
1561
|
+
By default, ordinary version count is unlimited (`history.maxVersions: 0`),
|
|
1409
1562
|
and retention is primarily governed by the soft storage limit (default 128 MiB of deduplicated
|
|
1410
1563
|
objects plus snapshot row text and baseline manifests per project). This includes
|
|
1411
1564
|
metadata for settings-only snapshots even when all file objects are reused.
|
|
@@ -1442,12 +1595,14 @@ account menu and encrypted in SQLite; it is never placed in a remote URL or
|
|
|
1442
1595
|
command-line argument. A project's current owner supplies the credential for
|
|
1443
1596
|
creating its GitHub repository and pushing. The remote URL and repository
|
|
1444
1597
|
metadata remain project-specific. The local repository lives in the project
|
|
1445
|
-
source directory
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
user.email
|
|
1450
|
-
|
|
1598
|
+
source directory. The same account dialog also stores an optional Git author
|
|
1599
|
+
name and email (schema migration 20). Accounts without saved values default to
|
|
1600
|
+
the TexLite username and `<username>@texlite.com`; the owner can change both.
|
|
1601
|
+
TexLite resolves the project owner's effective identity when committing and
|
|
1602
|
+
injects it with per-command `-c user.name` / `-c user.email` overrides. The
|
|
1603
|
+
values are not written to the repository or the host's Git configuration.
|
|
1604
|
+
GitHub attributes a commit only when the configured email belongs to the
|
|
1605
|
+
GitHub account.
|
|
1451
1606
|
|
|
1452
1607
|
For a fine-grained GitHub token in a trusted deployment, grant repository
|
|
1453
1608
|
Administration and Contents read/write permissions. “All repositories” is the
|
|
@@ -1687,6 +1842,31 @@ save the agent version under `.texlite-agent-conflicts/<task-id>/`, then stop th
|
|
|
1687
1842
|
task with a visible warning. Symlinks and unreadable files stop synchronization
|
|
1688
1843
|
instead of being followed. Polling ends with execution, not browser attachment.
|
|
1689
1844
|
|
|
1845
|
+
A user reviews their own coding-agent changes manually. `GET
|
|
1846
|
+
/api/projects/:id/agent-changes` returns only the caller's flagged edit
|
|
1847
|
+
segments, mapped forward through the file's edit chain to the current source
|
|
1848
|
+
(`src/server/agentChanges.ts`). The chain already holds each replacement's
|
|
1849
|
+
complete text, so nothing new is stored: a later edit that replaces agent text
|
|
1850
|
+
drops it from the range, a chain gap (an unrecorded replacement, a restore, or
|
|
1851
|
+
retention) drops everything before it, and a chain that does not end at the
|
|
1852
|
+
current source yields nothing rather than misplaced ranges. Replacements from
|
|
1853
|
+
one write within 80 characters, and not separated by a blank line, are one
|
|
1854
|
+
change; each comes with its affected lines before and after the write when the
|
|
1855
|
+
agent's text still stands as written. The agent panel shows a review bar above
|
|
1856
|
+
the terminal with previous/next across files, "New content" and "Diff" tabs
|
|
1857
|
+
(the affected lines with the agent's text marked, and a line diff; Diff is the
|
|
1858
|
+
default and the chosen tab stays while moving between changes), "Mark
|
|
1859
|
+
reviewed" and "Mark all reviewed"; previous/next scrolls the editor without
|
|
1860
|
+
taking keyboard focus, and "Open in editor" moves focus there. Where the agent
|
|
1861
|
+
panel is available, a small agent button after each highlighted change opens
|
|
1862
|
+
the panel (if needed) and selects that change in the review without moving the
|
|
1863
|
+
editor. The editor highlights
|
|
1864
|
+
unreviewed agent text only on the exact source revision the ranges were
|
|
1865
|
+
computed for, and otherwise asks for a fresh result a bounded number of times.
|
|
1866
|
+
Which changes were reviewed is kept per user and project in browser storage,
|
|
1867
|
+
pruned to changes that still exist; the list refreshes on task events and every
|
|
1868
|
+
few seconds while one of the user's tasks runs. Reviewing never changes source.
|
|
1869
|
+
|
|
1690
1870
|
Task context JSON and a compile log are exposed through `TEXLITE_PROJECT_CONTEXT`
|
|
1691
1871
|
and `TEXLITE_COMPILE_LOG`; compile API completion refreshes this context. A CLI
|
|
1692
1872
|
does not become sandboxed by running in a project, nor does this watcher impose
|
package/OPERATIONS.md
CHANGED
|
@@ -233,14 +233,14 @@ preferred.
|
|
|
233
233
|
| --- | --- | --- |
|
|
234
234
|
| `siteName` | `TexLite` | Site title. |
|
|
235
235
|
| `adminEmail` | empty | Optional administrator contact address. |
|
|
236
|
-
| `server.host` / `server.port` | `127.0.0.1` / `3000` |
|
|
236
|
+
| `server.host` / `server.port` | `127.0.0.1` / `3000` | Use `0.0.0.0` to serve a trusted local network; keep localhost behind a tunnel or reverse proxy. |
|
|
237
237
|
| `server.basePath` | `/` | Public URL mount point, such as `/texlite` or `/tools/texlite`. |
|
|
238
238
|
| `storage.dataDir` | XDG data directory | Stores all persistent project data. |
|
|
239
239
|
| `clientDir` | Installed package's `dist/client` | Normally changed only for development or a custom deployment. |
|
|
240
240
|
| `sessionDays` | `14` | Login-session lifetime. |
|
|
241
241
|
| `uploads.maxFileSizeMB` | `50` MB | Limit for uploads, ZIP entries, and attachments. |
|
|
242
242
|
| `pdf.loadingStrategy` / `pdf.rangeThresholdMB` | `auto` / `2` MB | Uses full transfer through the threshold and allows PDF.js byte-range requests above it. Explicitly configured thresholds are preserved. |
|
|
243
|
-
| `history.maxVersions` / `history.maxStorageMB` | `0` (unlimited) / `128` MiB | Per-project ordinary-version count (`0` = unlimited) and soft limit for deduplicated files plus snapshot metadata. Protected snapshots may exceed the limit; shared SQLite overhead is excluded. |
|
|
243
|
+
| `history.maxVersions` / `history.maxStorageMB` | `0` (unlimited) / `128` MiB | Per-project ordinary-version count (`0` = unlimited) and soft limit for deduplicated files plus snapshot metadata. Over the storage limit, older history is first thinned to one version per hour after a day and one per day after a week (named, restore and checkpoint snapshots are kept); only then are the oldest versions removed. Protected snapshots may exceed the limit; shared SQLite overhead is excluded. |
|
|
244
244
|
| `editHistory.maxStorageMB` / `editHistory.maxSegments` | `64` MiB / `20000` | Independent per-project payload and segment-count caps for author-attributed selection edits. Retains the newest records within both limits and never consumes snapshot storage. Both settings are optional; existing explicit limits are preserved. |
|
|
245
245
|
| `latex.latexmk` | `latexmk` | Host command. |
|
|
246
246
|
| `latex.defaultEngine` | `xelatex` | Must appear in the allowed list. |
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# TexLite
|
|
6
6
|
|
|
7
7
|
A lightweight self-hosted alternative to Overleaf for _small, trusted_ research
|
|
8
|
-
teams. Use your existing LaTeX distribution, with no heavyweight service stack.
|
|
8
|
+
teams. Use your existing LaTeX distribution and coding agents, with no heavyweight service stack.
|
|
9
9
|
|
|
10
10
|
[](https://github.com/SWUFE-DB-Group/TexLite/actions/workflows/ci.yml)
|
|
11
11
|
[](https://www.npmjs.com/package/texlite)
|
|
@@ -21,8 +21,7 @@ https://github.com/user-attachments/assets/c2b277ab-7cab-4f2b-8684-358fd9fefe8f
|
|
|
21
21
|
|
|
22
22
|
## Why TexLite
|
|
23
23
|
|
|
24
|
-
- **Own the writing environment.** Use the host's TeX installation and keep
|
|
25
|
-
sources, history, and compiled output in one local data directory.
|
|
24
|
+
- **Own the writing environment.** Use the host's TeX installation and coding agents; keep sources, history, and compiled output in one local data directory.
|
|
26
25
|
- **Collaborate without a large stack.** The default deployment is one Node.js
|
|
27
26
|
process, SQLite, and local files—plus real-time editing and source-level
|
|
28
27
|
comments for a small trusted team.
|
|
@@ -61,31 +60,6 @@ texlite logs
|
|
|
61
60
|
`start`, `stop`, `restart`, `status`, and `logs` use the PM2 runtime bundled
|
|
62
61
|
with the npm package. Run `texlite help` for the complete command list.
|
|
63
62
|
|
|
64
|
-
<details>
|
|
65
|
-
<summary>How to access TexLite publicly</summary>
|
|
66
|
-
|
|
67
|
-
Keep TexLite bound to `127.0.0.1` and use
|
|
68
|
-
[TexLite Share](https://share.zhongpu.info/) when you need convenient,
|
|
69
|
-
HTTPS-protected public access. TexLite Share is currently hosted in Hong Kong,
|
|
70
|
-
so access from mainland China or regions outside Southeast Asia may be slower.
|
|
71
|
-
With TexLite running locally on its default port, install and launch the tunnel
|
|
72
|
-
client with:
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
curl -fsSL https://raw.githubusercontent.com/ChenZhongPu/TexLite-Share/main/install-client.sh | bash
|
|
76
|
-
~/.local/bin/texlite-tunnel-client --server-url https://share.zhongpu.info
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
For a non-default local port, specify the address explicitly:
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
~/.local/bin/texlite-tunnel-client \
|
|
83
|
-
--server-url https://share.zhongpu.info \
|
|
84
|
-
--local-addr 127.0.0.1:8080
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
</details>
|
|
88
|
-
|
|
89
63
|
## A practical distinction from Overleaf
|
|
90
64
|
|
|
91
65
|
[Overleaf](https://www.overleaf.com/about/features-overview) is a strong choice
|
|
@@ -97,6 +71,7 @@ a narrower self-hosted use case:
|
|
|
97
71
|
follows a more involved [Docker deployment path](https://docs.overleaf.com/on-premises/getting-started/what-is-the-overleaf-toolkit), and
|
|
98
72
|
several functionalities, such as source comments, are [Server Pro features](https://docs.overleaf.com/on-premises/user-and-project-management/roles-and-permissions).
|
|
99
73
|
_If you do not mind a heftier Docker image, [we have one ready too](#docker-deployment) :)_
|
|
74
|
+
- TexLite can run host-installed Coding Agent CLIs (e.g., Claude Code, Codex, OpenCode) directly in a project terminal. Agents can inspect and edit project files, while the team chooses the models and workflows; this goes beyond a built-in AI chat interface.
|
|
100
75
|
|
|
101
76
|
Self-hosting does not make every document compile faster: that still depends on
|
|
102
77
|
the host and the document. It does give the team control over capacity, TeX
|
|
@@ -112,8 +87,7 @@ shared browser writing, not a replacement for a personal IDE.
|
|
|
112
87
|
- Projects with folders, ZIP import/export, tags, sharing, ownership transfer,
|
|
113
88
|
archiving, and a private per-user citation library with topic folders, tags,
|
|
114
89
|
Markdown notes, and folder-wide BibTeX export with optional notes for sharing.
|
|
115
|
-
Import `.bib` files or TexLite JSON exports
|
|
116
|
-
500 entries per transfer and exclude tags. Each folder holds up to 500 references.
|
|
90
|
+
Import `.bib` files or TexLite JSON exports.
|
|
117
91
|
- Owner-managed read-only links for anonymous readers, with expiry, rotation
|
|
118
92
|
and revocation. Readers can view source and existing PDFs without joining collaboration.
|
|
119
93
|
- CodeMirror editing with LaTeX/BibTeX highlighting, folding, completion,
|
|
@@ -128,8 +102,7 @@ shared browser writing, not a replacement for a personal IDE.
|
|
|
128
102
|
- Per-project history and owner-only Git/GitHub backup. Git is optional and is
|
|
129
103
|
checked only when its integration is used.
|
|
130
104
|
- Optional browser terminals for host-installed coding agents, enabled by an
|
|
131
|
-
administrator.
|
|
132
|
-
project. See [external agent terminals](OPERATIONS.md#external-agent-terminals).
|
|
105
|
+
administrator. See [external agent terminals](OPERATIONS.md#external-agent-terminals).
|
|
133
106
|
|
|
134
107
|
<a id="docker-deployment"></a>
|
|
135
108
|
|
|
@@ -168,18 +141,49 @@ for its user-facing configuration and operations guide.
|
|
|
168
141
|
|
|
169
142
|
## Scope and security
|
|
170
143
|
|
|
171
|
-
TexLite is a single-host application for trusted
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
144
|
+
TexLite is a single-host application for a small, trusted team. Accounts are
|
|
145
|
+
created by an administrator, and project access is enforced by the server. It
|
|
146
|
+
is not a compiler sandbox: LaTeX and an enabled project `latexmkrc` can run
|
|
147
|
+
powerful commands on the host, so only give accounts to people you trust.
|
|
148
|
+
|
|
149
|
+
**Within a local network.** TexLite listens on `127.0.0.1` by default, so only
|
|
150
|
+
the host itself can open it. To let colleagues on the same lab or office
|
|
151
|
+
network use it, set `server.host` to `0.0.0.0` in `texlite.config.json` (or
|
|
152
|
+
set `TEXLITE_HOST=0.0.0.0`) and run `texlite restart`. Others can then open
|
|
153
|
+
`http://<host-ip>:3000`; allow the port in the host firewall if needed.
|
|
154
|
+
`texlite config` prints the configuration file in use.
|
|
155
|
+
|
|
156
|
+
**Outside the local network.** Use a tunnel or a private network instead of
|
|
157
|
+
forwarding the port on your router. TexLite keeps listening on `127.0.0.1`, and
|
|
158
|
+
its own login still protects every project.
|
|
159
|
+
|
|
160
|
+
<details>
|
|
161
|
+
<summary><b>TexLite Share</b>: the simplest HTTPS link for TexLite</summary>
|
|
162
|
+
|
|
163
|
+
[TexLite Share](https://share.zhongpu.info/) is currently hosted in Hong Kong,
|
|
164
|
+
so access from mainland China or regions outside Southeast Asia may be slower.
|
|
165
|
+
With TexLite running locally on its default port, install and launch the tunnel
|
|
166
|
+
client:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
curl -fsSL https://raw.githubusercontent.com/ChenZhongPu/TexLite-Share/main/install-client.sh | bash
|
|
170
|
+
~/.local/bin/texlite-tunnel-client --server-url https://share.zhongpu.info
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
For a non-default local port, specify the address explicitly:
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
~/.local/bin/texlite-tunnel-client \
|
|
177
|
+
--server-url https://share.zhongpu.info \
|
|
178
|
+
--local-addr 127.0.0.1:8080
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
</details>
|
|
182
|
+
|
|
183
|
+
Other common options include
|
|
184
|
+
[Tailscale Serve](https://tailscale.com/docs/reference/tailscale-cli/serve),
|
|
185
|
+
[Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/),
|
|
186
|
+
and [frp](https://github.com/fatedier/frp).
|
|
183
187
|
|
|
184
188
|
## License
|
|
185
189
|
|
package/README.zh-CN.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# TexLite
|
|
6
6
|
|
|
7
7
|
面向*小型、可信*研究团队的轻量自托管 Overleaf 替代方案。直接使用现有的 LaTeX
|
|
8
|
-
|
|
8
|
+
发行版和 Coding Agents,无需沉重的服务栈。
|
|
9
9
|
|
|
10
10
|
[](https://github.com/SWUFE-DB-Group/TexLite/actions/workflows/ci.yml)
|
|
11
11
|
[](https://www.npmjs.com/package/texlite)
|
|
@@ -21,7 +21,7 @@ https://github.com/user-attachments/assets/c2b277ab-7cab-4f2b-8684-358fd9fefe8f
|
|
|
21
21
|
|
|
22
22
|
## 为什么选择 TexLite
|
|
23
23
|
|
|
24
|
-
- **掌控写作环境。** 直接使用宿主机 TeX
|
|
24
|
+
- **掌控写作环境。** 直接使用宿主机 TeX 环境和 Coding Agents,并将源码、历史版本和编译产物保存在
|
|
25
25
|
一个本地数据目录中。
|
|
26
26
|
- **无需庞大服务栈即可协作。** 默认部署只有一个 Node.js 进程、SQLite 和本地文件,
|
|
27
27
|
同时提供实时编辑和源码级批注,适合少量可信协作者。
|
|
@@ -58,28 +58,6 @@ texlite logs
|
|
|
58
58
|
`restart`、`status`、`logs` 使用 npm 包内置的 PM2 运行时;完整命令请执行
|
|
59
59
|
`texlite help`。
|
|
60
60
|
|
|
61
|
-
<details>
|
|
62
|
-
<summary>如何公开访问 TexLite</summary>
|
|
63
|
-
|
|
64
|
-
建议让 TexLite 继续监听 `127.0.0.1`。如果需要方便、安全地公开访问,请使用
|
|
65
|
-
[TexLite Share](https://share.zhongpu.info/)。TexLite Share 目前部署在香港,来自中国大陆或
|
|
66
|
-
东南亚以外地区的访问可能较慢。确保 TexLite 已在默认端口启动,然后安装并运行隧道客户端:
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
curl -fsSL https://raw.githubusercontent.com/ChenZhongPu/TexLite-Share/main/install-client.sh | bash
|
|
70
|
-
~/.local/bin/texlite-tunnel-client --server-url https://share.zhongpu.info
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
如果 TexLite 使用非默认端口,请明确指定本地地址:
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
~/.local/bin/texlite-tunnel-client \
|
|
77
|
-
--server-url https://share.zhongpu.info \
|
|
78
|
-
--local-addr 127.0.0.1:8080
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
</details>
|
|
82
|
-
|
|
83
61
|
## 与 Overleaf 的实际区别
|
|
84
62
|
|
|
85
63
|
[Overleaf](https://www.overleaf.com/about/features-overview) 在团队需要其托管产品或更完整生态时
|
|
@@ -89,6 +67,7 @@ curl -fsSL https://raw.githubusercontent.com/ChenZhongPu/TexLite-Share/main/inst
|
|
|
89
67
|
- Overleaf 开源 [Community Edition](https://github.com/overleaf/overleaf) 的
|
|
90
68
|
[Docker 部署路径](https://docs.overleaf.com/on-premises/getting-started/what-is-the-overleaf-toolkit) 更复杂,且源码批注等高级功能 [仅限 Server Pro](https://docs.overleaf.com/on-premises/user-and-project-management/roles-and-permissions)。
|
|
91
69
|
*如果不介意一个更庞大的 Docker 镜像,[我们也准备好了](#docker-deployment) :)*
|
|
70
|
+
- TexLite 可在项目终端中直接运行宿主机安装的 Coding Agent CLI(比如Claude Code、Codex、OpenCode),让 agent 读取和编辑项目文件,由团队自主选择模型和工作流,而不局限于内建的 AI 聊天界面。
|
|
92
71
|
|
|
93
72
|
自托管并不保证每份文档都编译得更快,速度仍取决于宿主机和文档本身;它带来的是对容量、
|
|
94
73
|
TeX 更新、数据位置与协作工作流的掌控。
|
|
@@ -100,7 +79,7 @@ TeX 更新、数据位置与协作工作流的掌控。
|
|
|
100
79
|
## 核心写作工作流
|
|
101
80
|
|
|
102
81
|
- 项目支持文件夹、ZIP 导入/导出、标签、分享、所有权转让、归档和私有的个人引用库;引用库支持主题文件夹、标签、Markdown 笔记及整文件夹 BibTeX 导出,也可携带笔记导出并分享给其他用户。
|
|
103
|
-
支持导入 `.bib` 文件或 TexLite JSON
|
|
82
|
+
支持导入 `.bib` 文件或 TexLite JSON 导出文件。
|
|
104
83
|
- 所有者可创建免登录的只读链接,设置有效期、轮换或撤销;访客可查看源码和已有 PDF,
|
|
105
84
|
不加入协作列表。
|
|
106
85
|
- 基于 CodeMirror 的编辑器提供 LaTeX/BibTeX 高亮、折叠、补全、可选 Vim 模式、格式化、
|
|
@@ -111,8 +90,7 @@ TeX 更新、数据位置与协作工作流的掌控。
|
|
|
111
90
|
可下载产物以及可选的项目级 `latexmkrc`。
|
|
112
91
|
- 每个项目拥有历史版本和仅所有者可用的 Git/GitHub 备份;Git 是可选依赖,仅在使用
|
|
113
92
|
集成时才检查。
|
|
114
|
-
- 可选的网页终端可调用服务器上安装的代码 agent
|
|
115
|
-
每个项目同时只能运行一个任务。参见[外部 agent 终端](OPERATIONS.md#external-agent-terminals)。
|
|
93
|
+
- 可选的网页终端可调用服务器上安装的代码 agent,由管理员启用。参见[外部 agent 终端](OPERATIONS.md#external-agent-terminals)。
|
|
116
94
|
|
|
117
95
|
<a id="docker-deployment"></a>
|
|
118
96
|
|
|
@@ -149,16 +127,44 @@ Docker 版的用户配置和日常运维请参见
|
|
|
149
127
|
|
|
150
128
|
## 范围与安全
|
|
151
129
|
|
|
152
|
-
TexLite
|
|
153
|
-
|
|
154
|
-
|
|
130
|
+
TexLite 是面向小型可信团队的单宿主机应用。账号由管理员创建,项目权限由服务端校验。
|
|
131
|
+
它不是编译沙箱:LaTeX 本身以及启用的项目 `latexmkrc` 都可以在宿主机上执行强大的命令,
|
|
132
|
+
因此只应给可信的人开设账号。
|
|
133
|
+
|
|
134
|
+
**局域网内使用。** TexLite 默认监听 `127.0.0.1`,只有本机可以访问。若要让同一实验室或
|
|
135
|
+
办公网络中的同事使用,在 `texlite.config.json` 中把 `server.host` 设为 `0.0.0.0`
|
|
136
|
+
(或设置环境变量 `TEXLITE_HOST=0.0.0.0`),然后运行 `texlite restart`。其他人即可通过
|
|
137
|
+
`http://<宿主机 IP>:3000` 访问;如有需要,请在宿主机防火墙中放行该端口。
|
|
138
|
+
`texlite config` 会显示当前使用的配置文件。
|
|
139
|
+
|
|
140
|
+
**局域网外访问。** 请使用隧道或私有网络,不要在路由器上直接做端口转发。此时 TexLite
|
|
141
|
+
继续监听 `127.0.0.1`,所有项目仍由 TexLite 自身的登录保护。
|
|
142
|
+
|
|
143
|
+
<details>
|
|
144
|
+
<summary><b>TexLite Share</b>:为 TexLite 提供最简单的 HTTPS 链接</summary>
|
|
145
|
+
|
|
146
|
+
[TexLite Share](https://share.zhongpu.info/) 目前部署在香港,来自中国大陆或东南亚以外
|
|
147
|
+
地区的访问可能较慢。确保 TexLite 已在默认端口启动,然后安装并运行隧道客户端:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
curl -fsSL https://raw.githubusercontent.com/ChenZhongPu/TexLite-Share/main/install-client.sh | bash
|
|
151
|
+
~/.local/bin/texlite-tunnel-client --server-url https://share.zhongpu.info
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
如果 TexLite 使用非默认端口,请明确指定本地地址:
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
~/.local/bin/texlite-tunnel-client \
|
|
158
|
+
--server-url https://share.zhongpu.info \
|
|
159
|
+
--local-addr 127.0.0.1:8080
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
</details>
|
|
155
163
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
无论采用哪一种访问层,都应保留 TexLite 登录认证、启用 HTTPS、限制访问范围,并注意
|
|
161
|
-
LaTeX 编译环境并不是面向不可信代码的沙箱。
|
|
164
|
+
其他常见选择包括
|
|
165
|
+
[Tailscale Serve](https://tailscale.com/docs/reference/tailscale-cli/serve)、
|
|
166
|
+
[Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/)
|
|
167
|
+
和 [frp](https://github.com/fatedier/frp)。
|
|
162
168
|
|
|
163
169
|
## 许可证
|
|
164
170
|
|