dsh-local-ai 0.1.4 → 0.1.5

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 CHANGED
@@ -5,6 +5,12 @@ 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.5] - 2026-08-23
9
+
10
+ ### Added
11
+
12
+ - Endpoint liveness (M3): `scripts/check-endpoints.mjs` probes the configured Ollama HTTP endpoint (`/api/version`; 2xx = alive, any transport error or non-2xx = fail) with `OLLAMA_HOST` / `CHECK_ENDPOINTS` / `TIMEOUT_MS` overrides, and `.github/workflows/check-endpoints.yml` runs it monthly and on demand against a throwaway local Ollama; `test/check-endpoints.spec.ts` covers the endpoint-resolution, verdict, error-classification, and timeout helpers plus a plain-Node syntax check.
13
+
8
14
  ## [0.1.4] - 2026-08-22
9
15
 
10
16
  ### Added
package/README.es.md CHANGED
@@ -160,6 +160,7 @@ pnpm run build # bundle tsdown + declaraciones tsc (lib/)
160
160
  pnpm run verify:self-contained # las especificaciones de dependencias resuelven desde el registry
161
161
  pnpm run verify:artifacts # cara ESM construida + bundle patch presentes
162
162
  node scripts/check-readme-sync.mjs # puerta de sincronización de README en cinco idiomas
163
+ node scripts/check-endpoints.mjs # sonda de actividad M3 (Ollama /api/version)
163
164
  pnpm pack # el tarball publicado
164
165
  ```
165
166
 
package/README.hi.md CHANGED
@@ -160,6 +160,7 @@ pnpm run build # tsdown बंडल + tsc घोषणाएँ (lib/)
160
160
  pnpm run verify:self-contained # निर्भरता विनिर्देश registry से हल होते हैं
161
161
  pnpm run verify:artifacts # निर्मित ESM फलक + बंडल पैच मौजूद
162
162
  node scripts/check-readme-sync.mjs # पाँच-भाषा README समन्वय द्वार
163
+ node scripts/check-endpoints.mjs # M3 एंडपॉइंट-लाइवनेस प्रोब (Ollama /api/version)
163
164
  pnpm pack # प्रकाशित tarball
164
165
  ```
165
166
 
package/README.md CHANGED
@@ -161,6 +161,7 @@ pnpm run build # tsdown bundle + tsc declarations (lib/)
161
161
  pnpm run verify:self-contained # dependency specs resolve from the registry
162
162
  pnpm run verify:artifacts # built ESM face + bundle patch present
163
163
  node scripts/check-readme-sync.mjs # five-language README sync gate
164
+ node scripts/check-endpoints.mjs # M3 endpoint-liveness probe (Ollama /api/version)
164
165
  pnpm pack # the published tarball
165
166
  ```
166
167
 
package/README.pt.md CHANGED
@@ -160,6 +160,7 @@ pnpm run build # bundle tsdown + declarações tsc (lib/)
160
160
  pnpm run verify:self-contained # especificações de dependências resolvem do registry
161
161
  pnpm run verify:artifacts # face ESM construída + bundle patch presentes
162
162
  node scripts/check-readme-sync.mjs # porta de sincronização de README em cinco idiomas
163
+ node scripts/check-endpoints.mjs # sonda de atividade M3 (Ollama /api/version)
163
164
  pnpm pack # o tarball publicado
164
165
  ```
165
166
 
package/README.zh.md CHANGED
@@ -160,6 +160,7 @@ pnpm run build # tsdown 打包 + tsc 声明(lib/)
160
160
  pnpm run verify:self-contained # 依赖声明均来自 registry
161
161
  pnpm run verify:artifacts # 构建产物 ESM 面 + bundle patch 存在
162
162
  node scripts/check-readme-sync.mjs # 五语 README 同步门禁
163
+ node scripts/check-endpoints.mjs # M3 端点存活探测(Ollama /api/version)
163
164
  pnpm pack # 发布用 tarball
164
165
  ```
165
166
 
package/lib/index.js CHANGED
@@ -1235,7 +1235,7 @@ async function checkHealth(baseURL, fetchImpl, subprocess, requestTimeoutMs, gra
1235
1235
  * The `dsh-local-ai` plugin version. The release script bumps this string
1236
1236
  * alongside `package.json`; `test/version.spec.ts` trips when the two drift.
1237
1237
  */
1238
- const VERSION = "0.1.4";
1238
+ const VERSION = "0.1.5";
1239
1239
  //#endregion
1240
1240
  //#region src/index.ts
1241
1241
  const name = "local-ai";
@@ -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.4";
5
+ export declare const VERSION = "0.1.5";
6
6
  //# sourceMappingURL=version.d.ts.map
@@ -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 const VERSION = '0.1.4';
5
+ export const VERSION = '0.1.5';
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-local-ai",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
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",
package/src/version.ts CHANGED
@@ -2,4 +2,4 @@
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 const VERSION = '0.1.4'
5
+ export const VERSION = '0.1.5'