下载并安装 LeafPair
v0.3.6 · Windows x64 · Chrome / Microsoft Edge
已打开的 Overleaf 项目在扩展重载后自动恢复侧栏,保留正文与选区。依赖未变时跳过重装,慢安装等完成后再报告结果。从 v0.3.5 升级请使用完整包做一次原目录覆盖,然后重载原扩展。
已安装 v0.3.6 本机服务?仅下载扩展 ZIP · 极狐镜像。
本页提供免商店安装。完整包包含浏览器扩展、本机服务、Windows 启动组件和 Node.js/npm。首次安装从 npm 下载锁定的运行依赖。扩展免费,模型或 CLI 服务的费用由你选用的提供方决定。
三步安装
- 解压并安装。将完整 ZIP 解压到固定目录,例如
D:\Apps\LeafPair,双击其中的Install.cmd。输入1选择中文或2选择 English,按回车开始安装。脚本会联网安装锁定的依赖,并自动为 Chrome 和 Edge 登记随包扩展,无需填写扩展 ID。 - 加载扩展。打开
chrome://extensions或edge://extensions,开启开发者模式,选择加载已解压的扩展程序,然后选择解压目录中的extension文件夹。 - 打开 Overleaf。打开或刷新项目,在 LeafPair 侧栏点击启动并配对,核对确认窗中的本机地址后确认。
配对后,可在设置 → 模型接入添加模型服务或启用已配置的 CLI。
从 v0.3.5 升级
等当前任务结束,在原安装目录运行 Stop-LeafPair.cmd。用 完整包覆盖解压到同一目录,再运行 Install.cmd。在扩展管理页重载已有的 LeafPair。已打开的 Overleaf 项目无需刷新。最后确认工具栏里的扩展和本机服务都显示 v0.3.6。
卸载 LeafPair
在工具栏选择卸载服务,或运行安装目录里的 Uninstall.cmd。本机设置和配对默认保留。如需完全卸载,再从浏览器移除 LeafPair。
校验下载
下载两份 ZIP 的 SHA-256 校验值 · 极狐镜像。在 ZIP 所在目录打开 PowerShell。
Get-FileHash -Algorithm SHA256 -Path '.\LeafPair-v0.3.6-windows-x64*.zip'
- Windows 完整包:
1a9f305040d4eb527a7234095e439773860d64865a61656b2451b842c05c9752 - 扩展 ZIP:
d415ae57705687fc5b58f37336bc85c7e1850f091379c52106a743bab68d139c
此版本的 Windows 启动器未做 Authenticode 签名。运行前请核对来源和哈希,并遵循所在机构的 Windows 管理策略。
排障与升级
- 如果启动登记失败,核对浏览器和扩展 ID,运行
Enable-AutoStart.cmd再刷新项目。也可以用Start-LeafPair.cmd前台启动,再在http://127.0.0.1:3210/settings生成五分钟有效的配对码。返回项目侧栏的手动配对入口,填入地址和配对码。 - 若提示端口占用,请确认持有该端口的进程。
- 从旧版路径生成的扩展 ID 迁移到固定 ID 时,需重新登记和配对。原有的浏览器本地历史与草稿仍关联旧扩展 ID。
- Host 无法启动时,用
Start-LeafPair.cmd查看前台错误,或检查安装目录中的logs/host.stdout.log与logs/host.stderr.log。用Disable-AutoStart.cmd可撤销相应浏览器的启动登记。
模型请求可能将项目内容发给所选服务商。请参阅 LeafPair 隐私政策。安装或使用问题可到 公开支持页面反馈。
Download and install LeafPair
v0.3.6 · Windows x64 · Chrome / Microsoft Edge
Open Overleaf projects regain the sidebar after an extension reload while keeping edits and selections. Updates skip unchanged dependencies and wait for slow installs to finish. From v0.3.5, use the full ZIP for one upgrade in place, then reload the existing extension.
Download the complete Windows bundle · JihuLab mirror
Already running the v0.3.6 local service? Download the extension-only ZIP · JihuLab mirror.
This page covers direct installation. The bundle includes the browser extension, local Host, Windows launcher, and Node.js/npm. The installer downloads locked runtime dependencies from npm on first use. The extension is free. Any model or CLI service charges depend on the provider you use.
Install in three steps
- Extract and install. Extract the full ZIP to a permanent folder such as
D:\Apps\LeafPairand double-clickInstall.cmd. Enter1for 中文 or2for English, then press Enter. The script installs locked dependencies online and automatically registers the bundled extension for Chrome and Edge. You do not need to enter an extension ID. - Load the extension. Open
chrome://extensionsoredge://extensions, turn on Developer mode, choose Load unpacked, and select theextensionfolder inside the extracted bundle. - Open Overleaf. Open or refresh an Overleaf project, select Start & Pair in the LeafPair sidebar, and check the local address before confirming.
After pairing, open Settings → Model Access to add a model connection or enable a configured CLI.
Upgrade from v0.3.5
Wait for active tasks to finish, then run Stop-LeafPair.cmd in the original installation folder. Extract the full ZIP over that same folder and run Install.cmd. On the extensions page, reload the existing LeafPair entry. Open Overleaf tabs regain the sidebar without a page refresh. Check that both versions in the toolbar show v0.3.6.
Uninstall LeafPair
Choose Uninstall service in the toolbar or run Uninstall.cmd from the installation folder. Settings and pairing are kept by default. To uninstall LeafPair completely, remove the extension from the browser as well.
Verify the download
Download the SHA-256 checksums for both ZIPs · JihuLab mirror. Open PowerShell in the folder containing the ZIP and run the command below.
Get-FileHash -Algorithm SHA256 -Path '.\LeafPair-v0.3.6-windows-x64*.zip'
- Complete Windows bundle:
1a9f305040d4eb527a7234095e439773860d64865a61656b2451b842c05c9752 - Extension-only ZIP:
d415ae57705687fc5b58f37336bc85c7e1850f091379c52106a743bab68d139c
The Windows launcher in this release is Authenticode unsigned. Verify the download source and checksum and follow your organization’s Windows policies.
Troubleshooting and upgrades
- If launcher registration fails, check the browser and its extension ID, run
Enable-AutoStart.cmd, and refresh the project. To pair manually, runStart-LeafPair.cmd. Openhttp://127.0.0.1:3210/settingsto generate a five-minute pairing code, then enter the address and code in the project sidebar’s manual pairing flow. - If the port is in use, identify the process holding it.
- When moving from an earlier folder-based extension ID to the fixed ID, register and pair again. Existing browser history and drafts stay associated with the old extension ID.
- If the Host fails to start, run
Start-LeafPair.cmdto see errors or checklogs/host.stdout.logandlogs/host.stderr.log. UseDisable-AutoStart.cmdto remove the launcher registration for the selected browser.
AI requests may send project content to the provider you select. See the LeafPair Privacy Policy. Visit public support for installation and usage questions.