dsh-local-ai 0.1.2 → 0.1.3
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 +9 -0
- package/README.es.md +4 -4
- package/README.hi.md +4 -4
- package/README.md +4 -4
- package/README.pt.md +4 -4
- package/README.zh.md +4 -4
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/lib/index.js +2 -2
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.js +1 -1
- package/package.json +15 -15
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.3] - 2026-08-21
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Upgraded every `@deepseek-ai/dsh-*` peer and dev dependency from `0.1.0-rc.6` to `0.1.0-rc.8` (peer ranges now `>=0.1.0-rc.8 <0.2.0`) for DeepSeek Harness rc8 compatibility; no adapter, routing, or tool API changes were required.
|
|
13
|
+
- Workspace build policy: allowed the `koffi` native build (introduced by the rc8 `dsh-subprocess-local` dependency chain) and repinned `minimumReleaseAgeExclude` to the rc.8 peer family.
|
|
14
|
+
- Synchronized rc.8 baseline references across the five-language READMEs, AGENTS.md, THIRD_PARTY_NOTICES.md, the CI workflow name, and the compat workflow baseline.
|
|
15
|
+
- Merged the 0.1.2 bug-fix line (tool-call id minting and slot-reuse block handling) so this release carries both fixes.
|
|
16
|
+
|
|
8
17
|
## [0.1.2] - 2026-08-20
|
|
9
18
|
|
|
10
19
|
### Fixed
|
package/README.es.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| Superficie | Estado |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.0-rc.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.0-rc.8` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| Backend | [Ollama](https://ollama.com) (API HTTP local + sonda CLI) |
|
|
30
30
|
| Modelo | Ruta solo texto (`inputModalities: ['text']`); se admiten llamadas y resultados de herramientas |
|
|
@@ -143,7 +143,7 @@ Todos los ajustes son campos `Config` de Schemastery (modificables desde cordis.
|
|
|
143
143
|
|
|
144
144
|
## Known limitations
|
|
145
145
|
|
|
146
|
-
- **Solo rc.
|
|
146
|
+
- **Solo rc.8** — desarrollado y probado contra `@deepseek-ai/dsh@0.1.0-rc.8`; se espera que baselines más nuevos funcionen, pero los verifica el workflow mensual de compat.
|
|
147
147
|
- **Ruta solo texto** — el contenido de imagen se rechaza (`UNSUPPORTED_CONTENT`); los modelos locales multimodales aún no están conectados.
|
|
148
148
|
- **Respaldo a mitad de flujo** — una vez que una ruta local empezó a producir contenido, un fallo posterior se reenvía (no se retira); solo un fallo antes del primer token respalda a la nube.
|
|
149
149
|
|
|
@@ -151,8 +151,8 @@ Todos los ajustes son campos `Config` de Schemastery (modificables desde cordis.
|
|
|
151
151
|
|
|
152
152
|
```sh
|
|
153
153
|
pnpm install # node ^22.19 || >=24
|
|
154
|
-
pnpm run typecheck # tsc: src + tests contra los tipos publicados 0.1.0-rc.
|
|
155
|
-
pnpm run typecheck:ci # tsc estricto contra los tipos publicados rc.
|
|
154
|
+
pnpm run typecheck # tsc: src + tests contra los tipos publicados 0.1.0-rc.8
|
|
155
|
+
pnpm run typecheck:ci # tsc estricto contra los tipos publicados rc.8 (skipLibCheck off)
|
|
156
156
|
pnpm test # vitest: costuras reales Context/LlmRuntime/ToolRuntime/CommandRuntime/subprocess
|
|
157
157
|
pnpm run test:coverage # puerta de cobertura (90/80/90/90)
|
|
158
158
|
pnpm run build # bundle tsdown + declaraciones tsc (lib/)
|
package/README.hi.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| सतह | स्थिति |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.0-rc.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.0-rc.8` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| Backend | [Ollama](https://ollama.com) (स्थानीय HTTP API + CLI जाँच) |
|
|
30
30
|
| Model | केवल-पाठ रूट (`inputModalities: ['text']`); टूल कॉल व परिणाम समर्थित हैं |
|
|
@@ -143,7 +143,7 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-local-ai'
|
|
|
143
143
|
|
|
144
144
|
## Known limitations
|
|
145
145
|
|
|
146
|
-
- **केवल rc.
|
|
146
|
+
- **केवल rc.8** — `@deepseek-ai/dsh@0.1.0-rc.8` के विरुद्ध विकसित व परीक्षित; नए harness बेसलाइन काम करने की अपेक्षा है, पर मासिक compat workflow उन्हें सत्यापित करता है।
|
|
147
147
|
- **केवल-पाठ रूट** — छवि सामग्री अस्वीकृत होती है (`UNSUPPORTED_CONTENT`); मल्टीमॉडल स्थानीय मॉडल अभी जुड़े नहीं हैं।
|
|
148
148
|
- **मध्य-स्ट्रीम वापसी** — एक बार स्थानीय रूट सामग्री बनाना शुरू कर दे, तो बाद की विफलता आगे भेजी जाती है (वापस नहीं ली जाती); केवल पहले टोकन से पहले की विफलता क्लाउड पर लौटती है।
|
|
149
149
|
|
|
@@ -151,8 +151,8 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-local-ai'
|
|
|
151
151
|
|
|
152
152
|
```sh
|
|
153
153
|
pnpm install # node ^22.19 || >=24
|
|
154
|
-
pnpm run typecheck # tsc: src + परीक्षण, प्रकाशित 0.1.0-rc.
|
|
155
|
-
pnpm run typecheck:ci # सख्त tsc, प्रकाशित rc.
|
|
154
|
+
pnpm run typecheck # tsc: src + परीक्षण, प्रकाशित 0.1.0-rc.8 प्रकारों के विरुद्ध
|
|
155
|
+
pnpm run typecheck:ci # सख्त tsc, प्रकाशित rc.8 प्रकारों के विरुद्ध (skipLibCheck बंद)
|
|
156
156
|
pnpm test # vitest: वास्तविक Context/LlmRuntime/ToolRuntime/CommandRuntime/subprocess सीम
|
|
157
157
|
pnpm run test:coverage # कवरेज द्वार (90/80/90/90)
|
|
158
158
|
pnpm run build # tsdown बंडल + tsc घोषणाएँ (lib/)
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| Surface | Status |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.0-rc.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.0-rc.8` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| Backend | [Ollama](https://ollama.com) (local HTTP API + CLI probe) |
|
|
30
30
|
| Model | Text-only route (`inputModalities: ['text']`); tool calls and tool results are supported |
|
|
@@ -143,7 +143,7 @@ All tunables are Schemastery `Config` fields (changeable from cordis.yml). An id
|
|
|
143
143
|
|
|
144
144
|
## Known limitations
|
|
145
145
|
|
|
146
|
-
- **rc.
|
|
146
|
+
- **rc.8 only** — developed and tested against `@deepseek-ai/dsh@0.1.0-rc.8`; newer harness baselines are expected to work but are verified by the monthly compat workflow.
|
|
147
147
|
- **Text-only route** — image content is rejected (`UNSUPPORTED_CONTENT`); multimodal local models are not wired up yet.
|
|
148
148
|
- **Mid-stream fallback** — once a local route has started producing content, a later failure is forwarded (not retracted); only a failure before the first token falls back to the cloud.
|
|
149
149
|
|
|
@@ -151,8 +151,8 @@ All tunables are Schemastery `Config` fields (changeable from cordis.yml). An id
|
|
|
151
151
|
|
|
152
152
|
```sh
|
|
153
153
|
pnpm install # node ^22.19 || >=24
|
|
154
|
-
pnpm run typecheck # tsc: src + tests against the published 0.1.0-rc.
|
|
155
|
-
pnpm run typecheck:ci # strict tsc against published rc.
|
|
154
|
+
pnpm run typecheck # tsc: src + tests against the published 0.1.0-rc.8 types
|
|
155
|
+
pnpm run typecheck:ci # strict tsc against published rc.8 types (skipLibCheck off)
|
|
156
156
|
pnpm test # vitest: real Context/LlmRuntime/ToolRuntime/CommandRuntime/subprocess seams
|
|
157
157
|
pnpm run test:coverage # coverage gate (90/80/90/90)
|
|
158
158
|
pnpm run build # tsdown bundle + tsc declarations (lib/)
|
package/README.pt.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| Superfície | Status |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.0-rc.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.0-rc.8` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| Backend | [Ollama](https://ollama.com) (API HTTP local + sonda CLI) |
|
|
30
30
|
| Modelo | Rota somente texto (`inputModalities: ['text']`); chamadas e resultados de ferramentas são suportados |
|
|
@@ -143,7 +143,7 @@ Todos os ajustes são campos `Config` de Schemastery (modificáveis pelo cordis.
|
|
|
143
143
|
|
|
144
144
|
## Known limitations
|
|
145
145
|
|
|
146
|
-
- **Somente rc.
|
|
146
|
+
- **Somente rc.8** — desenvolvido e testado contra `@deepseek-ai/dsh@0.1.0-rc.8`; espera-se que baselines mais novos funcionem, mas são verificados pelo workflow mensal de compat.
|
|
147
147
|
- **Rota somente texto** — conteúdo de imagem é rejeitado (`UNSUPPORTED_CONTENT`); modelos locais multimodais ainda não estão conectados.
|
|
148
148
|
- **Fallback no meio do fluxo** — uma vez que uma rota local começou a produzir conteúdo, uma falha posterior é reencaminhada (não retirada); apenas uma falha antes do primeiro token faz fallback para a nuvem.
|
|
149
149
|
|
|
@@ -151,8 +151,8 @@ Todos os ajustes são campos `Config` de Schemastery (modificáveis pelo cordis.
|
|
|
151
151
|
|
|
152
152
|
```sh
|
|
153
153
|
pnpm install # node ^22.19 || >=24
|
|
154
|
-
pnpm run typecheck # tsc: src + testes contra os tipos publicados 0.1.0-rc.
|
|
155
|
-
pnpm run typecheck:ci # tsc estrito contra os tipos publicados rc.
|
|
154
|
+
pnpm run typecheck # tsc: src + testes contra os tipos publicados 0.1.0-rc.8
|
|
155
|
+
pnpm run typecheck:ci # tsc estrito contra os tipos publicados rc.8 (skipLibCheck off)
|
|
156
156
|
pnpm test # vitest: costuras reais Context/LlmRuntime/ToolRuntime/CommandRuntime/subprocess
|
|
157
157
|
pnpm run test:coverage # porta de cobertura (90/80/90/90)
|
|
158
158
|
pnpm run build # bundle tsdown + declarações tsc (lib/)
|
package/README.zh.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| 项目 | 状态 |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.0-rc.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.0-rc.8` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| 后端 | [Ollama](https://ollama.com)(本地 HTTP API + CLI 探测) |
|
|
30
30
|
| 模型 | 纯文本路由(`inputModalities: ['text']`);支持工具调用与工具结果 |
|
|
@@ -143,7 +143,7 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-local-ai'
|
|
|
143
143
|
|
|
144
144
|
## Known limitations
|
|
145
145
|
|
|
146
|
-
- **仅 rc.
|
|
146
|
+
- **仅 rc.8** —— 针对 `@deepseek-ai/dsh@0.1.0-rc.8` 开发与测试;更新版本的 harness 基线预期可用,但由每月 compat workflow 验证。
|
|
147
147
|
- **纯文本路由** —— 图片内容会被拒绝(`UNSUPPORTED_CONTENT`);多模态本地模型尚未接入。
|
|
148
148
|
- **中途失败不回退** —— 本地路由一旦开始产出内容,之后的失败会透传(无法撤回);只有首个 token 前的失败才回退云端。
|
|
149
149
|
|
|
@@ -151,8 +151,8 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-local-ai'
|
|
|
151
151
|
|
|
152
152
|
```sh
|
|
153
153
|
pnpm install # node ^22.19 || >=24
|
|
154
|
-
pnpm run typecheck # tsc:src + 测试,对发布版 0.1.0-rc.
|
|
155
|
-
pnpm run typecheck:ci # 严格 tsc,对发布版 rc.
|
|
154
|
+
pnpm run typecheck # tsc:src + 测试,对发布版 0.1.0-rc.8 类型
|
|
155
|
+
pnpm run typecheck:ci # 严格 tsc,对发布版 rc.8 类型(关闭 skipLibCheck)
|
|
156
156
|
pnpm test # vitest:真实 Context/LlmRuntime/ToolRuntime/CommandRuntime/subprocess 机制
|
|
157
157
|
pnpm run test:coverage # 覆盖率门禁(90/80/90/90)
|
|
158
158
|
pnpm run build # tsdown 打包 + tsc 声明(lib/)
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -13,7 +13,7 @@ published tarball; these are install-time dependencies:
|
|
|
13
13
|
| [typescript](https://github.com/microsoft/TypeScript) | `^5.9.0` | Apache-2.0 | Build-time declaration emission (`lib/types/`) |
|
|
14
14
|
| [@deepseek-ai/cordis](https://www.npmjs.com/package/@deepseek-ai/cordis) | `^4.0.1` (peer) | See package | The plugin runtime |
|
|
15
15
|
| [@deepseek-ai/schemastery](https://www.npmjs.com/package/@deepseek-ai/schemastery) | `^3.18.0` (peer) | See package | Configuration schema |
|
|
16
|
-
| `@deepseek-ai/dsh-*` peers | `0.1.0-rc.
|
|
16
|
+
| `@deepseek-ai/dsh-*` peers | `0.1.0-rc.8` (peer) | See packages | Official harness seams (`dsh-llm`, `dsh-tools`, `dsh-subprocess`, `dsh-commands`, `dsh-timeout`) |
|
|
17
17
|
|
|
18
18
|
At runtime the plugin only talks to the Ollama endpoint you configure (over
|
|
19
19
|
its HTTP API and, for the process-liveness probe, its CLI); it performs no
|
package/lib/index.js
CHANGED
|
@@ -792,7 +792,7 @@ async function* translate(lines) {
|
|
|
792
792
|
throw new LlmError("Ollama NDJSON stream ended without a done chunk", "STREAM_CLOSED");
|
|
793
793
|
}
|
|
794
794
|
//#endregion
|
|
795
|
-
//#region \0@oxc-project+runtime@0.
|
|
795
|
+
//#region \0@oxc-project+runtime@0.146.0/helpers/esm/usingCtx.js
|
|
796
796
|
function _usingCtx() {
|
|
797
797
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
798
798
|
var n = Error();
|
|
@@ -1156,7 +1156,7 @@ async function checkHealth(baseURL, fetchImpl, subprocess, requestTimeoutMs, gra
|
|
|
1156
1156
|
* The `dsh-local-ai` plugin version. The release script bumps this string
|
|
1157
1157
|
* alongside `package.json`; `test/version.spec.ts` trips when the two drift.
|
|
1158
1158
|
*/
|
|
1159
|
-
const VERSION = "0.1.
|
|
1159
|
+
const VERSION = "0.1.3";
|
|
1160
1160
|
//#endregion
|
|
1161
1161
|
//#region src/index.ts
|
|
1162
1162
|
const name = "local-ai";
|
package/lib/types/version.d.ts
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* The `dsh-local-ai` plugin version. The release script bumps this string
|
|
3
3
|
* alongside `package.json`; `test/version.spec.ts` trips when the two drift.
|
|
4
4
|
*/
|
|
5
|
-
export declare const VERSION = "0.1.
|
|
5
|
+
export declare const VERSION = "0.1.3";
|
|
6
6
|
//# sourceMappingURL=version.d.ts.map
|
package/lib/types/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-local-ai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Local-model (Ollama) integration for DeepSeek Harness: discover, pull, remove, and inspect local models, route requests to them by task type or keyword with automatic fallback to the cloud, and get a one-shot status overview via /ollama.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
],
|
|
65
65
|
"compatibility": {
|
|
66
66
|
"dshVersions": [
|
|
67
|
-
"0.1.0-rc.
|
|
67
|
+
"0.1.0-rc.8"
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
70
|
"capability": {
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
"packageManager": "pnpm@11.7.0",
|
|
100
100
|
"peerDependencies": {
|
|
101
101
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
102
|
-
"@deepseek-ai/dsh-commands": "0.1.0-rc.
|
|
103
|
-
"@deepseek-ai/dsh-llm": "0.1.0-rc.
|
|
104
|
-
"@deepseek-ai/dsh-subprocess": "0.1.0-rc.
|
|
105
|
-
"@deepseek-ai/dsh-timeout": "0.1.0-rc.
|
|
106
|
-
"@deepseek-ai/dsh-tools": "0.1.0-rc.
|
|
102
|
+
"@deepseek-ai/dsh-commands": ">=0.1.0-rc.8 <0.2.0",
|
|
103
|
+
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.8 <0.2.0",
|
|
104
|
+
"@deepseek-ai/dsh-subprocess": ">=0.1.0-rc.8 <0.2.0",
|
|
105
|
+
"@deepseek-ai/dsh-timeout": ">=0.1.0-rc.8 <0.2.0",
|
|
106
|
+
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.8 <0.2.0",
|
|
107
107
|
"@deepseek-ai/schemastery": "^3.18.0"
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|
|
@@ -114,14 +114,14 @@
|
|
|
114
114
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
115
115
|
"@deepseek-ai/cordis-plugin-include": "1.0.6",
|
|
116
116
|
"@deepseek-ai/cordis-plugin-loader": "1.0.2",
|
|
117
|
-
"@deepseek-ai/dsh-commands": "0.1.0-rc.
|
|
118
|
-
"@deepseek-ai/dsh-llm": "0.1.0-rc.
|
|
119
|
-
"@deepseek-ai/dsh-session": "0.1.0-rc.
|
|
120
|
-
"@deepseek-ai/dsh-subprocess": "0.1.0-rc.
|
|
121
|
-
"@deepseek-ai/dsh-subprocess-local": "0.1.0-rc.
|
|
122
|
-
"@deepseek-ai/dsh-system-prompt": "0.1.0-rc.
|
|
123
|
-
"@deepseek-ai/dsh-timeout": "0.1.0-rc.
|
|
124
|
-
"@deepseek-ai/dsh-tools": "0.1.0-rc.
|
|
117
|
+
"@deepseek-ai/dsh-commands": "0.1.0-rc.8",
|
|
118
|
+
"@deepseek-ai/dsh-llm": "0.1.0-rc.8",
|
|
119
|
+
"@deepseek-ai/dsh-session": "0.1.0-rc.8",
|
|
120
|
+
"@deepseek-ai/dsh-subprocess": "0.1.0-rc.8",
|
|
121
|
+
"@deepseek-ai/dsh-subprocess-local": "0.1.0-rc.8",
|
|
122
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.0-rc.8",
|
|
123
|
+
"@deepseek-ai/dsh-timeout": "0.1.0-rc.8",
|
|
124
|
+
"@deepseek-ai/dsh-tools": "0.1.0-rc.8",
|
|
125
125
|
"@deepseek-ai/schemastery": "^3.18.0",
|
|
126
126
|
"@types/node": "^22.19.0",
|
|
127
127
|
"@vitest/coverage-v8": "^3.2.0",
|
package/src/version.ts
CHANGED