dsh-strata-sync 0.10.0 → 0.10.2
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 +8 -4
- package/dist/client.js +5 -8
- package/docs/README.zh-CN.md +5 -5
- package/docs/README.zh-TW.md +5 -5
- package/docs/VALIDATION.md +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
A plugin that aligns **DeepSeek Harness (DSH)** with the model actually loaded by **Strata Server**, using a native DSH settings UI.
|
|
6
6
|
|
|
7
|
-
Open **Settings → dsh-strata-sync** to inspect differences, synchronize an existing Strata provider, or enable automatic synchronization when DSH starts.
|
|
7
|
+
Open **Settings → dsh-strata-sync** to inspect differences, synchronize an existing Strata provider, or enable automatic synchronization when DSH starts.
|
|
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.2 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.2.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
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
让 **DeepSeek Harness(DSH)** 对齐 **Strata Server** 实际加载的模型,并在 DSH **设置 → dsh-strata-sync** 中提供操作界面。
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
0.10.0 精简摘要设置,并让补充提示词可直接编辑。可保留默认模板,或使用动态 `{target}` 自定义内容;DSH 原生提示词与输出硬上限保持不变。
|
|
7
|
+
0.10.1 进一步精简摘要设置说明。可保留默认提示词模板,或使用动态 `{target}` 自定义内容;DSH 原生提示词与输出硬上限保持不变。
|
|
10
8
|
|
|
11
9
|
## 功能
|
|
12
10
|
|
|
@@ -84,7 +82,7 @@ dsh plugin --profile desktop add dsh-strata-sync --registry=https://registry.npm
|
|
|
84
82
|
|
|
85
83
|
完成后重新打开 DSH。首次安装会自动选中 bundle;已安装但禁用的 bundle 需在插件管理器重新启用。
|
|
86
84
|
|
|
87
|
-
要从源码安装**包含摘要提示词编辑器的 0.10.
|
|
85
|
+
要从源码安装**包含摘要提示词编辑器的 0.10.2**,请使用 Node.js 22 或更新版本构建,并在最后的安装命令前完成任务、完全退出 DSH Desktop:
|
|
88
86
|
|
|
89
87
|
```sh
|
|
90
88
|
git clone https://github.com/ethan741205/dsh-strata-sync.git
|
|
@@ -92,7 +90,7 @@ cd dsh-strata-sync
|
|
|
92
90
|
npm ci
|
|
93
91
|
npm test
|
|
94
92
|
npm pack
|
|
95
|
-
dsh plugin --profile desktop add ./dsh-strata-sync-0.10.
|
|
93
|
+
dsh plugin --profile desktop add ./dsh-strata-sync-0.10.2.tgz
|
|
96
94
|
```
|
|
97
95
|
|
|
98
96
|
执行最后一行前同样需要完全退出 DSH Desktop,安装完成后重新打开。在其他目录执行时,请使用安装包的绝对路径。
|
|
@@ -155,6 +153,8 @@ ConfigEditor 负责单项原子写入与热加载;跨多项设置采用补偿
|
|
|
155
153
|
|
|
156
154
|
## 开发与版本
|
|
157
155
|
|
|
156
|
+
0.10.1 将摘要界面说明缩短为公式与沿用原生摘要的提示,计算及运行机制不变,完整说明保留在 README。
|
|
157
|
+
|
|
158
158
|
0.10.0 加入补充提示词编辑器、动态 `{target}` 与恢复默认功能,精简三语摘要区域,新增高级输出/原文除数与三项除数的小数支持,并沿用备份与版本冲突保护。
|
|
159
159
|
|
|
160
160
|
0.9.0 加入默认开启的摘要提示补充开关及可调整的上下文除数(默认 16),沿用偏好保存与版本冲突保护,并同步三语界面和文档。保存这两个控件不改变原生摘要指令、输出硬上限、其他预算或服务器设置。
|
package/docs/README.zh-TW.md
CHANGED
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
讓 **DeepSeek Harness(DSH)** 對齊 **Strata Server** 實際載入的模型,並在 DSH **設定 → dsh-strata-sync** 中提供操作介面。
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
0.10.0 精簡摘要設定,並讓補充提示詞可直接編輯。可保留預設範本,或使用動態 `{target}` 自訂內容;DSH 原生提示詞與輸出硬上限保持不變。
|
|
7
|
+
0.10.1 進一步精簡摘要設定說明。可保留預設提示詞範本,或使用動態 `{target}` 自訂內容;DSH 原生提示詞與輸出硬上限保持不變。
|
|
10
8
|
|
|
11
9
|
## 功能
|
|
12
10
|
|
|
@@ -84,7 +82,7 @@ dsh plugin --profile desktop add dsh-strata-sync --registry=https://registry.npm
|
|
|
84
82
|
|
|
85
83
|
完成後重新開啟 DSH。首次安裝會自動選取 bundle;已安裝但停用的 bundle 需在外掛管理員重新啟用。
|
|
86
84
|
|
|
87
|
-
要從原始碼安裝**包含摘要提示詞編輯器的 0.10.
|
|
85
|
+
要從原始碼安裝**包含摘要提示詞編輯器的 0.10.2**,請使用 Node.js 22 或更新版本建置,並在最後的安裝命令前完成工作、完全結束 DSH Desktop:
|
|
88
86
|
|
|
89
87
|
```sh
|
|
90
88
|
git clone https://github.com/ethan741205/dsh-strata-sync.git
|
|
@@ -92,7 +90,7 @@ cd dsh-strata-sync
|
|
|
92
90
|
npm ci
|
|
93
91
|
npm test
|
|
94
92
|
npm pack
|
|
95
|
-
dsh plugin --profile desktop add ./dsh-strata-sync-0.10.
|
|
93
|
+
dsh plugin --profile desktop add ./dsh-strata-sync-0.10.2.tgz
|
|
96
94
|
```
|
|
97
95
|
|
|
98
96
|
執行最後一行前同樣需要完全結束 DSH Desktop,安裝完成後重新開啟。在其他目錄執行時,請使用套件的絕對路徑。
|
|
@@ -155,6 +153,8 @@ ConfigEditor 負責個別原子寫入與熱載入;跨多項設定採補償回
|
|
|
155
153
|
|
|
156
154
|
## 開發與版本
|
|
157
155
|
|
|
156
|
+
0.10.1 將摘要介面說明縮短為公式與沿用原生摘要的提示,計算及執行機制不變,完整說明保留在 README。
|
|
157
|
+
|
|
158
158
|
0.10.0 加入補充提示詞編輯器、動態 `{target}` 與還原預設功能,精簡三語摘要區塊,新增進階輸出/原文除數與三項除數的小數支援,並沿用備份與版本衝突保護。
|
|
159
159
|
|
|
160
160
|
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.
|