Skip to content

chore(deps): 将 dsh peers 升级到 0.1.2-alpha.2 / upgrade dsh peers to 0.1.2-alpha.2 - #69

Merged
btspoony merged 2 commits into
mainfrom
chore/dsh-0.1.2-alpha.2
Aug 30, 2026
Merged

chore(deps): 将 dsh peers 升级到 0.1.2-alpha.2 / upgrade dsh peers to 0.1.2-alpha.2#69
btspoony merged 2 commits into
mainfrom
chore/dsh-0.1.2-alpha.2

Conversation

@auto-wood

Copy link
Copy Markdown
Collaborator

Summary

@deepseek-ai/dsh-* peer 对齐到 ^0.1.2-alpha.2,并完成 0.1.2 客户端 seam 迁移(dsh-client-runtime 已从该线移除),以兼容 deepseek-harness dsh-v0.1.2-alpha.2(pre-release)。

Bump @deepseek-ai/dsh-* peers to ^0.1.2-alpha.2 and migrate the client half off the removed dsh-client-runtime line for deepseek-harness dsh-v0.1.2-alpha.2 (pre-release).

变更 / Changes

  • package.json: @deepseek-ai/dsh-* peers ^0.1.1-rc.2^0.1.2-alpha.2dsh-client-runtime 替换为 dsh-client-store;补上实际导入的 dsh-api-remotes / dsh-api-settings-controller / dsh-api-session-controller / dsh-client-ui-renderer。cordis ^4.0.1^4.0.2,schemastery ^3.18.1^3.18.2

  • workspace yaml + lockfile: 刷新到已发布的 0.1.2-alpha.2 线。

  • README.md / README.zh.md: dsh badge → 0.1.2-alpha.2

  • Client: connection.api 改为 ctx.remotellm.listConfigurableProviders / settings.describe / session.modelCatalog);createSnapshotStore 改从 dsh-client-store 导入。

  • Host: settingsNamespace() 改为 branded string;gateway 在 settings 不可用时抛 RemoteError

  • package.json: @deepseek-ai/dsh-* peers ^0.1.1-rc.2^0.1.2-alpha.2; replace dsh-client-runtime with dsh-client-store; add actually-imported dsh-api-remotes / dsh-api-settings-controller / dsh-api-session-controller / dsh-client-ui-renderer. cordis ^4.0.1^4.0.2, schemastery ^3.18.1^3.18.2.

  • workspace yaml + lockfile refreshed onto the published 0.1.2-alpha.2 line.

  • README badges → 0.1.2-alpha.2.

  • Client: connection.apictx.remote (llm.listConfigurableProviders / settings.describe / session.modelCatalog); createSnapshotStore from dsh-client-store.

  • Host: settingsNamespace() → branded string; gateway throws RemoteError when settings are unavailable.

Test plan

  • peer range includes 0.1.2-alpha.2 and lock is a single alpha.2 line
  • typecheck / tests against installed 0.1.2-alpha.2
  • settings card still loads provider/model directory via Remote

…nstallSection (dsh 0.1.2-alpha.2)

alpha.2 replaced the installSettingsSection free function with the
SettingsProvider.installSection service method, whose runtime body is
line-by-line equivalent to the hand-mirrored contract this module carried:
register({ base: entry }) -> setSource(scope thunk) -> detach effect with
isUnloading guard -> onChange -> scope.watch with the same guard.

Delegate to the library and delete the vendored mirror:

- The inject child now makes ONE installSection(ctx, ns, Config, entry,
  { setSource, onChange }) call; the library owns the source-thunk swap,
  onChange timing, detach fallback (setSource(entry) + onChange), and the
  unload guard.
- Delete the isUnloading FiberState 4/5 vendor mirror and the now-unused
  SettingsScope import.
- Multi-fiber dedupe (qc1 W-5) is unchanged in behavior but now
  synchronous: installSection runs inside the inject child, so the
  try/catch wraps the call directly and catches the duplicate-namespace
  error (the old comment about the async error escaping an outer
  try/catch is obsolete; docstrings re-anchored to current facts,
  circular-verification warning preserved).
- Test files: comment-only updates describing installSection; zero
  assertion or behavior changes.

Verified: pnpm typecheck (3 tsconfigs), pnpm test (376/376), pnpm build
all exit 0; grep 'installSettingsSection' src tests -> zero hits.
@btspoony
btspoony merged commit e20c856 into main Aug 30, 2026
1 check passed
@btspoony
btspoony deleted the chore/dsh-0.1.2-alpha.2 branch August 30, 2026 17:36
@btspoony btspoony mentioned this pull request Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants