@eduwork/dsh-oidc 0.3.1 → 0.3.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/CHANGELOG.en.md CHANGED
@@ -4,6 +4,11 @@
4
4
 
5
5
  All notable changes are documented here. The format follows Keep a Changelog principles and the project uses Semantic Versioning with pre-1.0 qualifications described in `docs/compatibility.en.md`.
6
6
 
7
+ ## [0.3.2] — 2026-10-24
8
+
9
+ - Import model-provider support from pi-ai's models subpath to avoid loading unrelated providers at startup; public interfaces and identity renewal behavior are unchanged.
10
+ - Check built imports to retain identity and model functionality without eagerly loading unrelated protocol adapters.
11
+
7
12
  ## [0.3.1] — 2026-10-23
8
13
 
9
14
  - Add the Host-only `identityToken(profileID)`, which returns the current verified ID Token so that services the organization runs, such as a remote access relay, can confirm who is signed in; gateway sign-in also keeps the new ID Token a refresh brings.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@
4
4
 
5
5
  所有重要变更均记录于此。格式遵循 Keep a Changelog 原则;项目使用语义化版本,并遵循[兼容性与发布策略](docs/compatibility.md)中对 1.0 之前版本的说明。
6
6
 
7
+ ## [0.3.2] — 2026-10-24
8
+
9
+ - 模型 Provider 从 pi-ai 的 models 子路径导入,避免启动时加载无关 Provider;公开接口与身份续期行为保持不变。
10
+ - 增加产物导入检查,确认保留身份服务与模型能力,同时不提前加载无关协议适配。
11
+
7
12
  ## [0.3.1] — 2026-10-23
8
13
 
9
14
  - 新增仅限宿主调用的 `identityToken(profileID)`,返回当前已验证的 ID Token,供机构自有服务(例如远程访问中继)确认登录者身份;网关登录刷新时一并保存新的 ID Token。
@@ -2,7 +2,8 @@ import { AsyncLocalStorage } from 'node:async_hooks'
2
2
  import { launchEnvironmentOf } from '@deepseek-ai/dsh-launch-environment'
3
3
  import { LlmError, assertUsableApiKey, resolveImageAttachmentAccess, resolveRetryPolicy } from '@deepseek-ai/dsh-llm'
4
4
  import { Config as PiAiConfig, PiAiAdapter } from '@deepseek-ai/dsh-llm-pi-ai'
5
- import { createProvider } from '@earendil-works/pi-ai'
5
+ // The package root re-exports TypeBox; keep the startup path on the models subpath.
6
+ import { createProvider } from '@earendil-works/pi-ai/models'
6
7
  import { openAICompletionsApi } from '@earendil-works/pi-ai/api/openai-completions.lazy'
7
8
  import {
8
9
  configurableEntries, ENTERPRISE_DEFAULT_MAX_REQUEST_IMAGE_BYTES, ENTERPRISE_DEFAULT_REQUEST_IMAGE_MAX_BYTES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eduwork/dsh-oidc",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Standards-based OIDC identity, token-authorized model access, declarative branding, and OpenAI-compatible model integration for DeepSeek Harness",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -85,7 +85,8 @@
85
85
  "check:docs": "node scripts/check-doc-links.mjs",
86
86
  "check:dsh": "npm run check:lock && node scripts/check-dsh-rc1.mjs",
87
87
  "check:build": "node scripts/smoke-build.mjs",
88
- "check": "npm run typecheck && npm run check:dsh && npm run build && npm run check:build && npm test && npm run check:schemas && npm run check:docs && npm run check:secrets && npm run check:licenses && npm pack --dry-run",
88
+ "check:startup": "node scripts/check-startup-imports.mjs",
89
+ "check": "npm run typecheck && npm run check:dsh && npm run build && npm run check:build && npm run check:startup && npm test && npm run check:schemas && npm run check:docs && npm run check:secrets && npm run check:licenses && npm pack --dry-run",
89
90
  "prepare": "npm run build",
90
91
  "check:browser": "node scripts/check-account-menu-browser.mjs",
91
92
  "check:lock": "node scripts/check-dependency-lock.mjs"