dsh-fast-mode 1.5.2 → 1.5.4
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/CHANGELOG.md +10 -0
- package/README.en.md +4 -1
- package/README.md +4 -1
- package/docs/REFERENCE.en.md +1 -1
- package/docs/REFERENCE.md +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.5.4
|
|
4
|
+
|
|
5
|
+
- **市场预检修复**:`peerDependencies["@deepseek-ai/schemastery"]` 从 `^3.18.5` 改为 `>=3.18.5-rc.1 <4.0.0-0`。原来的范围会静默排除预发布的宿主构建,市场预检判为 error;新范围同时覆盖稳定版 3.18.5 与 3.18.5-rc 系列。行为无变化。
|
|
6
|
+
|
|
7
|
+
## 1.5.3
|
|
8
|
+
|
|
9
|
+
- **发布到 npm**:`dsh-fast-mode@1.5.3` 已在 registry 上(`npm i dsh-fast-mode` / 插件管理器目标填 `dsh-fast-mode`),30 个文件、含 `cordis.patch.yml` 与 `client.js`。GitHub 安装方式(`github:regrevia/dsh-fast-mode`)照旧可用。
|
|
10
|
+
- **插件市场**:仓库内新增 `market/index.json`(format 1 单插件索引,已用宿主 `@deepseek-ai/dsh-plugin-market-index` 的解析器验证通过),可作为「插件 → 发现 → 索引源」的自托管源;同时向精选列表 `awesome-dsh-plugin` 提了收录 PR [#9650](https://github.com/awesome-dsh-plugin/awesome-dsh-plugin/pull/9650),合并后 dshmarket 与站点自动收录。
|
|
11
|
+
- **对外口径**:总量约快 26–28%(三块独立批次 0.72×/0.73×/0.73×,合计 65 个有效单元);「典型一格快 36%」已撤回,40% 不支持,见 `README.md` 与 `BENCHMARK.md`。
|
|
12
|
+
|
|
3
13
|
## 1.5.2
|
|
4
14
|
|
|
5
15
|
- **新增实验旋钮 `workspaceMap`(默认关闭)与 `mapEntries`(默认 60)**:会话第一次工具调用之前,harness 把工作目录走一遍(深度 2、≤`mapEntries` 条、跳过 `node_modules`/`.git`/`dist`/`build`/`coverage`/`__pycache__`/`.venv`,正文 ≤1.4 kB),把「相对路径 + 字节数」和看得见的测试入口作为一条通知交给模型。它不结束回合、不改完成判定、不动 `reasoningEffort`、不加请求字段;它只是把模型自己会用 `ls`/`find` 换来的同一份清单先给一次。实现 `src/map.js`,接入 `index.js` 的 `agent/pre-step`,配置见 `src/config.js`、`src/effort.js`。
|
package/README.en.md
CHANGED
|
@@ -62,7 +62,10 @@ Every raw number, the step buckets, the rejected candidates and the failure mode
|
|
|
62
62
|
|
|
63
63
|
## Install
|
|
64
64
|
|
|
65
|
-
1. **Install
|
|
65
|
+
1. **Install** (any one):
|
|
66
|
+
- **npm** (recommended): plugin manager → install bundle, target `dsh-fast-mode`; terminal equivalent `pnpm add dsh-fast-mode --dir ~/.dsh/profiles/desktop`. Package page <https://www.npmjs.com/package/dsh-fast-mode>.
|
|
67
|
+
- **GitHub**: target `github:regrevia/dsh-fast-mode`; terminal equivalent `pnpm add github:regrevia/dsh-fast-mode --dir ~/.dsh/profiles/desktop`.
|
|
68
|
+
- **Market index**: Plugins → Discover → index sources, add `https://raw.githubusercontent.com/regrevia/dsh-fast-mode/main/market/index.json` (format 1, checked with the host index parser). The curated-list submission is [#9650](https://github.com/awesome-dsh-plugin/awesome-dsh-plugin/pull/9650); once merged, dshmarket and the site pick it up automatically and no manual source is needed.
|
|
66
69
|
2. **Enable**: reload the page, click the small lightning bolt next to the composer. No mode to pick.
|
|
67
70
|
3. **Takes effect** on the next request — no restart, no new conversation.
|
|
68
71
|
|
package/README.md
CHANGED
|
@@ -62,7 +62,10 @@
|
|
|
62
62
|
|
|
63
63
|
## 使用
|
|
64
64
|
|
|
65
|
-
1.
|
|
65
|
+
1. **装**(任选其一):
|
|
66
|
+
- **npm**(推荐):插件管理器 → 安装 bundle,目标填 `dsh-fast-mode`;终端等价 `pnpm add dsh-fast-mode --dir ~/.dsh/profiles/desktop`。包页 <https://www.npmjs.com/package/dsh-fast-mode>。
|
|
67
|
+
- **GitHub**:目标填 `github:regrevia/dsh-fast-mode`;终端等价 `pnpm add github:regrevia/dsh-fast-mode --dir ~/.dsh/profiles/desktop`。
|
|
68
|
+
- **市场索引**:插件 → 发现 → 索引源,添加 `https://raw.githubusercontent.com/regrevia/dsh-fast-mode/main/market/index.json`(format 1,已用宿主索引解析器验过)。精选列表 `awesome-dsh-plugin` 的收录 PR 是 [#9650](https://github.com/awesome-dsh-plugin/awesome-dsh-plugin/pull/9650),合并后 dshmarket 与站点自动收录,不用手动加源。
|
|
66
69
|
2. **开**:重载页面,点输入框旁的小闪电。没有档位要选。
|
|
67
70
|
3. **生效**:下一条请求生效,不用重启、不用新开会话。
|
|
68
71
|
|
package/docs/REFERENCE.en.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Reference: principles, configuration and limits
|
|
2
2
|
|
|
3
|
-
This manual describes what **dsh-fast-mode 1.5.
|
|
3
|
+
This manual describes what **dsh-fast-mode 1.5.4** actually does (compared with 1.5.0 it adds two experimental knobs, `preferPatch` and `workspaceMap`, both off by default; with the default config behaviour is identical to 1.5.0), matching `index.js`, `src/` and `client.js` in the repository. It is not a brochure: where something can be measured it gets a number, and where it has not been measured it says so.
|
|
4
4
|
|
|
5
5
|
**The one contract: fast mode never changes reasoning effort, the thinking budget, or the model.** The `agent/request` hook does exactly one thing — `await next()`, read the `reasoningEffort` the request already carries for measurement, then return it unchanged. Whatever effort the user picked (the per-session choice in the UI, or the effort pinned by the profile's agent-default-model) is the effort every request uses.
|
|
6
6
|
|
package/docs/REFERENCE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 参考手册:原理、配置与边界
|
|
2
2
|
|
|
3
|
-
本手册描述 **dsh-fast-mode 1.5.
|
|
3
|
+
本手册描述 **dsh-fast-mode 1.5.4** 的实际行为(相对 1.5.0 多两个默认关闭的实验旋钮 `preferPatch` 与 `workspaceMap`,默认配置下行为与 1.5.0 完全一致),对应仓库里的 `index.js`、`src/` 与 `client.js`。它不是宣传页:凡是能测量的地方给出数字,凡是没测量的地方直接说没测量。
|
|
4
4
|
|
|
5
5
|
**唯一的契约:Fast 模式从不改变思考强度、thinking 预算或模型。** `agent/request` 钩子只做一件事——`await next()`,读一下请求携带的 `reasoningEffort` 记进测量,然后原样返回。用户选的是哪一档(会话里的 UI 选择,或者 profile 里 agent-default-model 固定下来的那一档),每个请求就用哪一档。
|
|
6
6
|
|
package/index.js
CHANGED
|
@@ -95,7 +95,7 @@ const TAG = '[fast-mode]'
|
|
|
95
95
|
* Shipped identity of this build. Traced into the debug log so a stale install is
|
|
96
96
|
* visible at a glance, and pinned by a test against `package.json`.
|
|
97
97
|
*/
|
|
98
|
-
export const VERSION = '1.5.
|
|
98
|
+
export const VERSION = '1.5.4'
|
|
99
99
|
const GLOBAL_AGENT = '__global__'
|
|
100
100
|
|
|
101
101
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-fast-mode",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.4",
|
|
4
4
|
"description": "DeepSeek Harness fast mode: same thinking effort, fewer round trips. An adaptive parallel tool fan-out, output discipline that never trims the answer, and a cancellable stall guard. Never changes reasoning effort, the model, or the request body. Provider-agnostic, one dependency (@deepseek-ai/schemastery).",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"dsh-fast-mode-report": "./bin/report.mjs"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@deepseek-ai/schemastery": "
|
|
87
|
+
"@deepseek-ai/schemastery": ">=3.18.5-rc.1 <4.0.0-0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@deepseek-ai/schemastery": "~3.18.5"
|