dsh-strata-sync 0.10.0 → 0.10.1
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 +7 -3
- package/dist/client.js +5 -8
- package/docs/README.zh-CN.md +5 -3
- package/docs/README.zh-TW.md +5 -3
- package/docs/VALIDATION.md +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ A plugin that aligns **DeepSeek Harness (DSH)** with the model actually loaded b
|
|
|
6
6
|
|
|
7
7
|
Open **Settings → dsh-strata-sync** to inspect differences, synchronize an existing Strata provider, or enable automatic synchronization when DSH starts. The interface and README are available in English, Simplified Chinese and Traditional Chinese. The interface automatically follows DSH’s language, including live changes. DSH `zh` uses Simplified Chinese; `zh-Hant`, `zh-TW`, `zh-HK` and `zh-MO` use Traditional Chinese. Other languages fall back to English. There is no separate language preference. Unknown backend diagnostics retain their original text for troubleshooting.
|
|
8
8
|
|
|
9
|
-
Version 0.10.
|
|
9
|
+
Version 0.10.1 shortens the summary settings explanation. Keep the default prompt template or customize it with the dynamic `{target}` placeholder; DSH's native prompt and output cap remain unchanged.
|
|
10
10
|
|
|
11
11
|
## What it does
|
|
12
12
|
|
|
@@ -95,7 +95,7 @@ dsh plugin --profile desktop add dsh-strata-sync --registry=https://registry.npm
|
|
|
95
95
|
|
|
96
96
|
Reopen DSH after installation. The bundle is automatically selected on its first installation; an already installed but disabled bundle must be enabled in DSH's plugin manager.
|
|
97
97
|
|
|
98
|
-
To install **0.10.
|
|
98
|
+
To install **0.10.1 with the editable summary prompt** from source, use Node.js 22 or newer, finish active tasks and fully quit DSH Desktop before the final installation command:
|
|
99
99
|
|
|
100
100
|
```sh
|
|
101
101
|
git clone https://github.com/ethan741205/dsh-strata-sync.git
|
|
@@ -103,7 +103,7 @@ cd dsh-strata-sync
|
|
|
103
103
|
npm ci
|
|
104
104
|
npm test
|
|
105
105
|
npm pack
|
|
106
|
-
dsh plugin --profile desktop add ./dsh-strata-sync-0.10.
|
|
106
|
+
dsh plugin --profile desktop add ./dsh-strata-sync-0.10.1.tgz
|
|
107
107
|
```
|
|
108
108
|
|
|
109
109
|
Use an absolute tarball path if running the last command elsewhere. DSH's plugin installer selects the included bundle; it can require a desktop reload to mount the new browser entry. Finish any active task before restarting DSH.
|
|
@@ -120,6 +120,10 @@ The **Dynamic summary target** card is independent of model synchronization. Lea
|
|
|
120
120
|
|
|
121
121
|
No API key needs to be copied into this plugin. Set up or repair credentials in DSH Models settings.
|
|
122
122
|
|
|
123
|
+
## Changes in 0.10.1
|
|
124
|
+
|
|
125
|
+
- Shortens the summary UI explanation to the formula and native-summary fallback. Calculation and runtime behavior are unchanged; full details remain in this README.
|
|
126
|
+
|
|
123
127
|
## Changes in 0.10.0
|
|
124
128
|
|
|
125
129
|
- Makes the actual supplemental prompt editable, with a dynamic `{target}` placeholder and Restore default prompt action.
|
package/dist/client.js
CHANGED
|
@@ -119,6 +119,10 @@ window.__ModuleLoader__.load({
|
|
|
119
119
|
"zh-Hant": "目標 = floor(min(上下文 / N, 摘要輸出上限 / O, 待壓縮內容估算 / S))。",
|
|
120
120
|
"zh-Hans": "目标 = floor(min(上下文 / N, 摘要输出上限 / O, 待压缩内容估算 / S))。"
|
|
121
121
|
},
|
|
122
|
+
"When guidance cannot be applied, DSH keeps its native summary behavior.": {
|
|
123
|
+
"zh-Hant": "無法套用時,沿用 DSH 原生摘要。",
|
|
124
|
+
"zh-Hans": "无法应用时,沿用 DSH 原生摘要。"
|
|
125
|
+
},
|
|
122
126
|
"Enable summary guidance": {
|
|
123
127
|
"zh-Hant": "啟用摘要提示補充",
|
|
124
128
|
"zh-Hans": "启用摘要提示补充"
|
|
@@ -539,15 +543,8 @@ REASONING_DEFAULT_CONFLICT: 'The provider default reasoning level is not support
|
|
|
539
543
|
h('div',{className:'ss-grid'},
|
|
540
544
|
h('label',null,t('Summary output divisor (output limit ÷ O)'),h('input',{type:'number','data-testid':'summary-output-divisor','aria-label':t('Summary output divisor (output limit ÷ O)'),'aria-invalid':!isDivisor(draft.summaryOutputDivisor),min:1,max:Number.MAX_SAFE_INTEGER,step:'any',value:form.summaryOutputDivisor,onChange:e=>edit({summaryOutputDivisor:e.target.value}),disabled:pending||!state})),
|
|
541
545
|
h('label',null,t('Source length divisor (source estimate ÷ S)'),h('input',{type:'number','data-testid':'summary-source-divisor','aria-label':t('Source length divisor (source estimate ÷ S)'),'aria-invalid':!isDivisor(draft.summarySourceDivisor),min:1,max:Number.MAX_SAFE_INTEGER,step:'any',value:form.summarySourceDivisor,onChange:e=>edit({summarySourceDivisor:e.target.value}),disabled:pending||!state}))),
|
|
542
|
-
h('p',{className:'ss-muted'},t("Enabled by default. Turning this off keeps DSH's native summary and automatic compaction behavior.")),
|
|
543
|
-
h('p',{className:'ss-muted'},t('Defaults: N = 16, O = 2, S = 2. Smaller divisors allow longer targets; the smallest of the three bounds wins. Decimals are supported.')),
|
|
544
546
|
h('p',{className:'ss-muted'},t('Target = floor(min(context / N, summary output limit / O, selected content estimate / S)).')),
|
|
545
|
-
h('p',{className:'ss-muted'},t('
|
|
546
|
-
h('p',{className:'ss-muted'},t('The actual target may be lower for shorter content. System prompts and tool schemas are excluded from the content estimate.')),
|
|
547
|
-
h('p',{className:'ss-muted'},t('The original prompt, output cap and other settings stay unchanged. This is a writing target, not a guaranteed length or an optimal value.')),
|
|
548
|
-
h('p',{className:'ss-muted'},t('Targets below 256 tokens leave the original prompt unchanged; the native summary still runs.')),
|
|
549
|
-
h('p',{className:'ss-muted'},t('If the route or native summary format cannot be verified, DSH uses its original prompt.')),
|
|
550
|
-
h('p',{className:'ss-muted'},t('Unpriced image/file attachments, cancellation or a disabled plugin preserve native request handling.')))),
|
|
547
|
+
h('p',{className:'ss-muted'},t('When guidance cannot be applied, DSH keeps its native summary behavior.')))),
|
|
551
548
|
h('div',{className:'ss-actions'},
|
|
552
549
|
h('button',{disabled:pending||!state||!form.providerId||!valid||!dirty||conflict,onClick:()=>action(async()=>{
|
|
553
550
|
const changes=Object.fromEntries(Object.entries(values(formRef.current)).filter(([key,value])=>!Object.is(value,baseline.current.values[key])));
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
UI 支持 English、简体中文、繁體中文。自动跟随 DSH 界面语言并实时更新,不提供独立语言菜单。DSH 的 `zh` 对应简体中文,`zh-Hant`、`zh-TW`、`zh-HK`、`zh-MO` 对应繁体中文;其他语言使用英文。服务器返回的未知诊断消息保留原文,方便排查。
|
|
8
8
|
|
|
9
|
-
0.10.
|
|
9
|
+
0.10.1 进一步精简摘要设置说明。可保留默认提示词模板,或使用动态 `{target}` 自定义内容;DSH 原生提示词与输出硬上限保持不变。
|
|
10
10
|
|
|
11
11
|
## 功能
|
|
12
12
|
|
|
@@ -84,7 +84,7 @@ dsh plugin --profile desktop add dsh-strata-sync --registry=https://registry.npm
|
|
|
84
84
|
|
|
85
85
|
完成后重新打开 DSH。首次安装会自动选中 bundle;已安装但禁用的 bundle 需在插件管理器重新启用。
|
|
86
86
|
|
|
87
|
-
要从源码安装**包含摘要提示词编辑器的 0.10.
|
|
87
|
+
要从源码安装**包含摘要提示词编辑器的 0.10.1**,请使用 Node.js 22 或更新版本构建,并在最后的安装命令前完成任务、完全退出 DSH Desktop:
|
|
88
88
|
|
|
89
89
|
```sh
|
|
90
90
|
git clone https://github.com/ethan741205/dsh-strata-sync.git
|
|
@@ -92,7 +92,7 @@ cd dsh-strata-sync
|
|
|
92
92
|
npm ci
|
|
93
93
|
npm test
|
|
94
94
|
npm pack
|
|
95
|
-
dsh plugin --profile desktop add ./dsh-strata-sync-0.10.
|
|
95
|
+
dsh plugin --profile desktop add ./dsh-strata-sync-0.10.1.tgz
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
执行最后一行前同样需要完全退出 DSH Desktop,安装完成后重新打开。在其他目录执行时,请使用安装包的绝对路径。
|
|
@@ -155,6 +155,8 @@ ConfigEditor 负责单项原子写入与热加载;跨多项设置采用补偿
|
|
|
155
155
|
|
|
156
156
|
## 开发与版本
|
|
157
157
|
|
|
158
|
+
0.10.1 将摘要界面说明缩短为公式与沿用原生摘要的提示,计算及运行机制不变,完整说明保留在 README。
|
|
159
|
+
|
|
158
160
|
0.10.0 加入补充提示词编辑器、动态 `{target}` 与恢复默认功能,精简三语摘要区域,新增高级输出/原文除数与三项除数的小数支持,并沿用备份与版本冲突保护。
|
|
159
161
|
|
|
160
162
|
0.9.0 加入默认开启的摘要提示补充开关及可调整的上下文除数(默认 16),沿用偏好保存与版本冲突保护,并同步三语界面和文档。保存这两个控件不改变原生摘要指令、输出硬上限、其他预算或服务器设置。
|
package/docs/README.zh-TW.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
UI 支援 English、简体中文、繁體中文。自動跟隨 DSH 介面語言並即時更新,不提供獨立語言選單。DSH 的 `zh` 對應簡體中文,`zh-Hant`、`zh-TW`、`zh-HK`、`zh-MO` 對應繁體中文;其他語言使用英文。伺服器傳回的未知診斷訊息保留原文,以利排查。
|
|
8
8
|
|
|
9
|
-
0.10.
|
|
9
|
+
0.10.1 進一步精簡摘要設定說明。可保留預設提示詞範本,或使用動態 `{target}` 自訂內容;DSH 原生提示詞與輸出硬上限保持不變。
|
|
10
10
|
|
|
11
11
|
## 功能
|
|
12
12
|
|
|
@@ -84,7 +84,7 @@ dsh plugin --profile desktop add dsh-strata-sync --registry=https://registry.npm
|
|
|
84
84
|
|
|
85
85
|
完成後重新開啟 DSH。首次安裝會自動選取 bundle;已安裝但停用的 bundle 需在外掛管理員重新啟用。
|
|
86
86
|
|
|
87
|
-
要從原始碼安裝**包含摘要提示詞編輯器的 0.10.
|
|
87
|
+
要從原始碼安裝**包含摘要提示詞編輯器的 0.10.1**,請使用 Node.js 22 或更新版本建置,並在最後的安裝命令前完成工作、完全結束 DSH Desktop:
|
|
88
88
|
|
|
89
89
|
```sh
|
|
90
90
|
git clone https://github.com/ethan741205/dsh-strata-sync.git
|
|
@@ -92,7 +92,7 @@ cd dsh-strata-sync
|
|
|
92
92
|
npm ci
|
|
93
93
|
npm test
|
|
94
94
|
npm pack
|
|
95
|
-
dsh plugin --profile desktop add ./dsh-strata-sync-0.10.
|
|
95
|
+
dsh plugin --profile desktop add ./dsh-strata-sync-0.10.1.tgz
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
執行最後一行前同樣需要完全結束 DSH Desktop,安裝完成後重新開啟。在其他目錄執行時,請使用套件的絕對路徑。
|
|
@@ -155,6 +155,8 @@ ConfigEditor 負責個別原子寫入與熱載入;跨多項設定採補償回
|
|
|
155
155
|
|
|
156
156
|
## 開發與版本
|
|
157
157
|
|
|
158
|
+
0.10.1 將摘要介面說明縮短為公式與沿用原生摘要的提示,計算及執行機制不變,完整說明保留在 README。
|
|
159
|
+
|
|
158
160
|
0.10.0 加入補充提示詞編輯器、動態 `{target}` 與還原預設功能,精簡三語摘要區塊,新增進階輸出/原文除數與三項除數的小數支援,並沿用備份與版本衝突保護。
|
|
159
161
|
|
|
160
162
|
0.9.0 加入預設開啟的摘要提示補充開關及可調整的上下文除數(預設 16),沿用偏好儲存與版本衝突保護,並同步三語介面和文件。儲存這兩個控制項不改變原生摘要指令、輸出硬上限、其他預算或伺服器設定。
|
package/docs/VALIDATION.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Validation date: 2026-10-30 (Asia/Taipei).
|
|
4
4
|
|
|
5
|
+
## Concise summary help 0.10.1
|
|
6
|
+
|
|
7
|
+
- Reduces the expanded summary help to the calculation formula and one native-fallback sentence in all three locales. Full explanations remain in the READMEs. No runtime behavior, settings, defaults or prompt text changes.
|
|
8
|
+
- Verification is limited to the 38 affected UI tests and package checks; inference and native integration tests are not repeated for this wording-only change.
|
|
9
|
+
|
|
5
10
|
## Editable summary prompt and fractional divisors 0.10.0
|
|
6
11
|
|
|
7
12
|
- The compact settings card displays the exact editable supplement; detailed limits and the output/source divisors are inside a collapsed disclosure. All three locales preserve the saved prompt verbatim. Restore-default changes the draft until preferences are saved.
|