@leviyuan/lodestar 0.12.9 → 0.12.10
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 +11 -0
- package/dist/lodestar.js +232 -232
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -138,6 +138,17 @@ curl -sS -X POST http://127.0.0.1:9876/notify \
|
|
|
138
138
|
|
|
139
139
|
配置在 `~/.config/lodestar/config.toml`,`lodestar-setup` 会帮你生成,手改也行。两个常被问的:
|
|
140
140
|
|
|
141
|
+
### 想让 footer / 后台卡按秒刷新耗时?
|
|
142
|
+
|
|
143
|
+
默认 `bucket`:活跃 footer 与后台任务 header 用相对档位(`<30s` / `<1m` / …),只在档位边界 push,省飞书 cardkit 配额。需要旧式按秒进度时:
|
|
144
|
+
|
|
145
|
+
```toml
|
|
146
|
+
[runtime]
|
|
147
|
+
live_elapsed = "second" # "bucket"(默认) | "second"
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
`second` 时 footer 约每 1s、后台卡约每 2s push,文案为 `45s` 这种整秒。改完需重启 daemon。
|
|
151
|
+
|
|
141
152
|
### 想让某个外部项目跑在别的目录?
|
|
142
153
|
|
|
143
154
|
默认群名就是 `projects_root` 下的目录名。但如果你的项目放在别处、不想搬进来,在 config.toml 指一下它的目录就行——**section 名就是飞书群名**(daemon 用群名去 `config.projects[群名]` 取 cwd),其它项目不受影响:
|