add-coder 0.3.19 → 0.3.20

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 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
  ## 这不是模板工具,这是架构差异
@@ -261,7 +263,7 @@ npx add-coder init
261
263
 
262
264
  | 命令 | 说明 |
263
265
  |------|------|
264
- | `init` | 初始化 ADD 模板,支持 `--adapter claude\|qoder\|vscode\|auto` |
266
+ | `init` | 初始化 ADD 模板,支持 `--adapter claude\|qoder\|vscode\|trae\|codex\|auto` |
265
267
  | `sync` | 增量同步缺失文件 |
266
268
  | `status` | 检查模板完整性 |
267
269
 
@@ -281,7 +283,7 @@ npx add-coder init
281
283
 
282
284
  | 选项 | 说明 |
283
285
  |------|------|
284
- | `--adapter <type>` | 目标 IDE:claude / qoder / vscode / auto(默认) |
286
+ | `--adapter <type>` | 目标 IDE:claude / qoder / vscode / trae / codex / auto(自动检测,默认) |
285
287
  | `--config <path>` | 指定配置文件 |
286
288
  | `--yes` | 跳过交互,只创建新文件 |
287
289
  | `--force` | 覆盖已有文件 |
@@ -295,6 +297,8 @@ npx add-coder init
295
297
  | `.claude/` | Claude Code 适配(hooks、settings.json) |
296
298
  | `.qoder/` | Qoder 适配(hooks、settings.json、mcp.json) |
297
299
  | `.vscode/` | VS Code 适配(settings.json、tasks.json) |
300
+ | `.trae/` | Trae 适配(hooks.json、settings.json) |
301
+ | `.codex/` | Codex 适配(hooks.json、settings.json) |
298
302
 
299
303
  ## MCP 审计工具链
300
304
 
@@ -588,7 +592,7 @@ npx add-coder init
588
592
 
589
593
  | Command | Description |
590
594
  |---------|-------------|
591
- | `init` | Initialize ADD templates, supports `--adapter claude\|qoder\|vscode\|auto` |
595
+ | `init` | Initialize ADD templates, supports `--adapter claude\|qoder\|vscode\|trae\|codex\|auto` |
592
596
  | `sync` | Incrementally sync missing files |
593
597
  | `status` | Check template integrity |
594
598