@leviyuan/lodestar 0.12.0 → 0.12.2
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 +4 -3
- package/dist/lodestar.js +213 -213
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -140,7 +140,7 @@ curl -sS -X POST http://127.0.0.1:9876/notify \
|
|
|
140
140
|
|
|
141
141
|
### 想让某个外部项目跑在别的目录?
|
|
142
142
|
|
|
143
|
-
默认群名就是 `projects_root` 下的目录名。但如果你的项目放在别处、不想搬进来,在 config.toml
|
|
143
|
+
默认群名就是 `projects_root` 下的目录名。但如果你的项目放在别处、不想搬进来,在 config.toml 指一下它的目录就行——**section 名就是飞书群名**(daemon 用群名去 `config.projects[群名]` 取 cwd),其它项目不受影响:
|
|
144
144
|
|
|
145
145
|
```toml
|
|
146
146
|
[projects.calculator2]
|
|
@@ -155,10 +155,11 @@ cwd = "/abs/path/to/calculator2"
|
|
|
155
155
|
setting_sources = "project" # 只读项目级配置(会丢全局)
|
|
156
156
|
strict_mcp = "true" # 只挂项目 .mcp.json,挡掉全局 MCP
|
|
157
157
|
tools = "Read,Write,Edit,Bash,Glob,Grep"
|
|
158
|
-
load_project_mcp = "true" # 读 <cwd>/.mcp.json
|
|
159
158
|
```
|
|
160
159
|
|
|
161
|
-
>
|
|
160
|
+
> `<cwd>/.mcp.json` 默认就会被读(对齐裸 `claude` 的项目 MCP 自动发现),不用单独开;只有想关掉才设 `load_project_mcp = "false"`。
|
|
161
|
+
>
|
|
162
|
+
> 最常踩的坑:`setting_sources = "project"` 会把 `~/.claude/settings.json` 里的 GLM 路由一起丢掉 —— `[claude.env]` 是**无差别注入到所有项目** spawn env 的(不只对这一个项目生效),把 GLM 的 base_url / token 挪过去就能兜住。要是看到卡片一直 `Thinking...`、model 显示 `<synthetic>`,先把整节注释掉重启,基本就是这几个开关没配齐。
|
|
162
163
|
|
|
163
164
|
### 想换成 reclaude 之类的 claude 包装器?
|
|
164
165
|
|