leafrelay 0.1.6 → 0.2.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/README.md +3 -1
- package/README.zh-CN.md +3 -1
- package/dist/chunk-J46L4Q2T.js +5157 -0
- package/dist/chunk-J46L4Q2T.js.map +1 -0
- package/dist/{chunk-MNOPLM7M.js → chunk-PRWBFOB2.js} +187 -132
- package/dist/chunk-PRWBFOB2.js.map +1 -0
- package/dist/cli.js +21 -36
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +959 -0
- package/dist/daemon.js.map +1 -0
- package/dist/index.d.ts +11 -722
- package/dist/index.js +3 -69
- package/package.json +6 -3
- package/dist/chunk-MNOPLM7M.js.map +0 -1
- package/dist/cli.d.ts +0 -1
package/README.md
CHANGED
|
@@ -9,6 +9,8 @@ cd /path/to/local-replica
|
|
|
9
9
|
leafrelay serve
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
`leafrelay serve` reads `.overleaf/settings.json` from the local project
|
|
12
|
+
`leafrelay serve` reads `.overleaf/settings.json` from the local project and connects to the machine-wide LeafRelay daemon. VS Code windows and other CLI processes use that same daemon, request scheduler, project connection, and local watcher.
|
|
13
|
+
|
|
14
|
+
Login sessions are stored per server in `~/.leafrelay/config.json`. Use `leafrelay daemon status|stop|restart` to control the daemon. `LEAFRELAY_HOME` relocates all LeafRelay user state, `LEAFRELAY_CONFIG` selects another login file, and `LEAFRELAY_COOKIE` overrides the saved cookie for the current process.
|
|
13
15
|
|
|
14
16
|
For the VS Code extension, architecture, and project documentation, see the [LeafRelay repository](https://github.com/yunhaoli24/leafrelay).
|
package/README.zh-CN.md
CHANGED
|
@@ -9,6 +9,8 @@ cd /path/to/local-replica
|
|
|
9
9
|
leafrelay serve
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
`leafrelay serve` 会读取项目中的 `.overleaf/settings.json
|
|
12
|
+
`leafrelay serve` 会读取项目中的 `.overleaf/settings.json`,然后连接这台电脑上唯一的 LeafRelay daemon。VS Code 窗口和其他 CLI 进程共用同一个后台、请求队列、项目连接和本地 watcher。
|
|
13
|
+
|
|
14
|
+
登录会话按服务器保存到 `~/.leafrelay/config.json`。使用 `leafrelay daemon status|stop|restart` 控制后台进程。`LEAFRELAY_HOME` 可以移动全部 LeafRelay 用户状态,`LEAFRELAY_CONFIG` 只指定其他登录文件,`LEAFRELAY_COOKIE` 则仅覆盖当前进程使用的 cookie。
|
|
13
15
|
|
|
14
16
|
VS Code 扩展、架构和完整文档见 [LeafRelay 仓库](https://github.com/yunhaoli24/leafrelay)。
|