add-coder 0.3.19 → 0.3.20-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 +2 -0
- package/dist/index.js +380 -128
- package/package.json +3 -3
- package/templates/.add-coder-src-hash.json +12 -11
- package/templates/adapters/qoder/sync-policy.json +1 -1
- package/templates/core/scripts/mcp-server/resources/add-coder-version.ts +4 -3
- package/templates/core/scripts/mcp-server/shared/fs.ts +9 -4
- package/templates/core/scripts/mcp-server/shared/prisma.ts +10 -0
- package/templates/core/scripts/mcp-server/shared/run-command.ts +57 -0
- package/templates/core/scripts/mcp-server/tools/gateway/check_dps.ts +4 -1
- package/templates/core/scripts/mcp-server/tools/gateway/check_rahs.ts +4 -5
- package/templates/core/scripts/mcp-server/tools/gateway/check_spec_sync.ts +4 -5
- package/templates/core/scripts/mcp-server/tools/gateway/helpers.ts +7 -0
- package/templates/core/templates/01-/346/236/266/346/236/204//343/200/212ADD/345/274/200/345/217/221/345/267/245/344/275/234/350/267/257/345/276/204/344/270/216/346/226/207/346/241/243/345/215/217/345/220/214/350/247/204/350/214/203/343/200/213.md +1 -1
- package/templates/core/vocabulary/add-governance-vocabulary.md +1 -1
package/README.md
CHANGED
|
@@ -103,6 +103,8 @@ published 2 weeks ago by wujixmm <wujixmm@gmail.com>
|
|
|
103
103
|
npx add-coder init
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
+
> 💾 **embedding 模型预下载**(v0.3.20+):`add-coder init` 自动预下载 DPS 评分用的 embedding 模型(约 90MB,`--skip-model` 跳过);`add-coder sync` 缓存缺失时提示、`--model` 触发下载;独立命令 `add-coder model:download`(`--force` 强制重下)。缓存于 `~/.cache/huggingface/hub/`(多仓库共享,仅需一次下载,首次 DPS 调用也会自动下载)。
|
|
107
|
+
|
|
106
108
|
---
|
|
107
109
|
|
|
108
110
|
## 这不是模板工具,这是架构差异
|