deepccc 0.1.5 → 0.1.7

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
@@ -31,6 +31,14 @@ node bin/deepccc.mjs --help
31
31
  - Node.js >= 20
32
32
  - DeepSeek 或其他 OpenAI-compatible 模型服务的 API Key
33
33
 
34
+ ## 缓存命中率
35
+
36
+ deepccc 的本地缓存优化实测命中率 **96.7%**,有效降低重复请求开销,让响应更快、更省成本。
37
+
38
+ ![缓存命中率 1](docs/cache-hit-rate-1.jpg)
39
+
40
+ ![缓存命中率 2](docs/cache-hit-rate-2.jpg)
41
+
34
42
  ## 配置
35
43
 
36
44
  最快的方式是使用环境变量:
@@ -73,23 +81,6 @@ $env:DEEPCCC_MODEL="deepseek-v4-pro"
73
81
  }
74
82
  ```
75
83
 
76
- ## 隐私替换
77
-
78
- `deepccc` 支持在展示层(终端输出 / JSONL 流式输出)把敏感信息替换为掩码值,防止用户名、路径等隐私内容出现在终端或管道输出里。创建 `~/.deepccc/privacy.json` 即可启用:
79
-
80
- ```json
81
- {
82
- "enabled": true,
83
- "rules": {
84
- "weizhangjian": "wzj"
85
- }
86
- }
87
- ```
88
-
89
- - `rules` 的键按字面量替换(`split`/`join`,非正则),可配置多条规则;不配置 `enabled`/`rules` 字段时,扁平写法 `{ "weizhangjian": "wzj" }` 也兼容(等效 `enabled: true`)。
90
- - 替换作用于模型回复文本、工具调用参数与结果、错误消息中的字符串字段;持久化上下文仍保存原文,替换仅影响展示层。
91
- - 文件变更后自动热加载,无需重启进程。
92
-
93
84
  ## 命令行交互
94
85
 
95
86
  在当前目录启动一个交互式 Agent:
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepccc",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "A lightweight DeepSeek-optimized coding agent with OpenAI-compatible model support.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -33,6 +33,7 @@
33
33
  "files": [
34
34
  "dist/",
35
35
  "bin/",
36
+ "docs/",
36
37
  "package.json",
37
38
  "README.md",
38
39
  "LICENSE"