Skip to content

build(deps-dev): bump @deepseek-ai/dsh-llm from 0.1.0-rc.6 to 0.1.0-rc.8 - #39

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/deepseek-ai/dsh-llm-0.1.0-rc.8
Closed

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/deepseek-ai/dsh-llm-0.1.0-rc.8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor

Bumps @deepseek-ai/dsh-llm from 0.1.0-rc.6 to 0.1.0-rc.8.

Release notes

Sourced from @​deepseek-ai/dsh-llm's releases.

v0.1.0-rc.8

中文 | English

  • 增强多模态支持度,DeepSeek 模型适配器支持配置启用原生图片请求,/goal、/plan 等命令可接收图文输入,@ 菜单支持引用文件和会话
  • Claude Code 与 Codex 子代理均可作为 Profile Bundle 按需安装,同时支持非交互权限模式和多个命名实例
  • Windows PTY 终端支持持久 PowerShell 会话, 并在极简模式预设中默认支持

问题修复

  • 修复图片尺寸过大或历史图片累计载荷过高导致模型请求失败的问题
  • 修正取消流式生成后已展示的回复前缀未带入后续提问和分叉会话
  • 修复部分自定义 OpenAI 兼容网关因请求格式差异无法调用,以及推理内容回传可能缺失问题

体验优化

  • 优化布局和信息呈现,涉及HOME 目录以 ~ 缩写表示、输入框窄屏布局、反馈界面等
  • 优化界面操作,涉及侧栏搜索焦点响应、工作流面板操作、模型选择器选中操作、打开本地文件失败支持重试等
  • 优化工具调用,web_search 支持并发查询、子代理 reportDelivery 会及时反馈并唤醒父任务
  • 优化安装与启动,改善下载依赖体积、本地运行 dsh web 时会自动打开浏览器
  • 改善大历史会话执行分叉操作上的性能耗时

其他变更

  • 改善 SQLite 后端的读写与分叉性能并降低存储体积,数据结构不兼容
  • 明确品牌使用规范:“DeepSeek Harness”是注册商标,详见 品牌使用规范

SDK

  • Python SDK 依赖配置覆盖 4 个内置 Agent 预设,并包含 rg / glob 搜索和 MCP stdio 工具所需依赖

  • Expand multimodal support with configurable native image requests for DeepSeek adapters, image input for commands such as /goal and /plan, and file and session references in the @ menu by @​LegGasai and @​CreatixChu
  • Make Claude Code and Codex subagents installable on demand as Profile Bundles, with non-interactive permission modes and named instances by @​pku-xht
  • Add persistent PowerShell session support to Windows PTY terminals and enable it by default in the Minimal preset by @​Elevator14B

Bug Fixes

  • Fix model request failures caused by oversized images or excessive accumulated image payloads by @​CreatixChu
  • Preserve displayed response prefixes in follow-up prompts and forks after cancelling streamed generation by @​CreatixChu
  • Fix custom OpenAI-compatible gateway failures caused by request-format differences or missing reasoning content by @​LegGasai

Improvements

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 3, 2026
Dependabot resolves against the 1ES proxy, which serves tarballs from
rotating ms-feed-N hosts. pnpm 11 verifies every recorded tarball URL
against the registry's current metadata before lifecycle scripts run, so
the next install dies with ERR_PNPM_TARBALL_URL_MISMATCH. That is why
this PR failed at `pnpm install --frozen-lockfile` in about a minute,
unrelated to the dependency it bumps.

Ran scripts/strip-lockfile-hosts.mjs. pnpm reconstructs the URL from the
configured registry when `tarball:` is absent; integrity is untouched
(SOURCES.md#lockfile-integrity).
@stuffbucket

Copy link
Copy Markdown
Owner

Not mergeable as-is. This is a genuine breaking change in the dependency, not the lockfile problem that was blocking every other PR in this batch.

What was fixed here

The lockfile carried rotating ms-feed-N tarball hosts from the 1ES proxy, so every one of these PRs died at pnpm install --frozen-lockfile with ERR_PNPM_TARBALL_URL_MISMATCH before any code ran. That is fixed on this branch, which is why CI now gets far enough to report a real failure.

What actually fails

src/translate.ts(111,20): error TS2353: Object literal may only specify known
  properties, and 'content' does not exist in type 'ReplayEnvelope'.
src/sse.ts(698,9): error TS2322: Type '{ replayState?: undefined; ... }' is not
  assignable to type 'StreamChunk'.
Failed: @stuffbucket/anthropic-provider#typecheck, @stuffbucket/omlx#typecheck

ReplayEnvelope does not exist anywhere in this tree today — rc.8 introduces it. Its shape in @deepseek-ai/[email protected], lib/types/types.d.ts:

export interface ReplayEnvelope {
  /** Response-level adapter-private metadata (ids, native stop reason). */
  response: unknown
  /**
   * Per-block adapter-private metadata, one entry per emitted block in
   * first-seen stream order. When assembly drops a block it drops the entry at
   * the same position; entries whose length does not match the emitted block
   * count discard the whole envelope.
   */
  blocks?: readonly unknown[]
}

The current call site passes the old shape:

// packages/anthropic-provider/src/translate.ts:111
replayState: { content: state.replay, type: "anthropic-message-v1" }

Why this is not a rename

rc.8 splits replay metadata into response-level and per-block halves, and couples the blocks array to emitted block order with a documented invariant: a length mismatch silently discards the whole envelope. Migrating means deciding what the Anthropic adapter and omlx each put in response versus blocks, and keeping blocks aligned with block emission. Getting that subtly wrong loses replay state at runtime without failing a type check.

That belongs in its own change with its own tests, not folded into a version bump. Leaving this PR open pending that migration.

Sibling PRs #38 and #40 (dsh-invariants, dsh-attachment rc.6 → rc.8) had no API break and are merged, so the packages are no longer all on the same prerelease — worth resolving reasonably soon.

@stuffbucket

Copy link
Copy Markdown
Owner

Superseded by #54.

rc.8 is an API break, not a bump: it types the finish chunk's replayState as ReplayEnvelope { response, blocks? }, replacing the unknown this workspace filled with its own { content, type }. #54 carries the same version bump plus the migration and the tests that pin the new alignment contract, so this branch has nothing left to land.

@stuffbucket stuffbucket closed this Sep 6, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/deepseek-ai/dsh-llm-0.1.0-rc.8 branch September 6, 2026 09:26
stuffbucket added a commit that referenced this pull request Sep 6, 2026
Supersedes #39, which cannot land as a plain bump.

## The break

rc.8 types the terminal finish chunk's `replayState`, which rc.6 left as
`unknown`:

```ts
interface ReplayEnvelope {
  response: unknown
  blocks?: readonly unknown[]
}
```

This workspace filled that slot with its own `{ content, type:
"anthropic-message-v1" }`.

## Why the per-block array goes in `blocks`

Not cosmetic. dsh-llm's assembler prunes `blocks` at the same positions
as any
block it drops — a `max_tokens` finish drops tool calls that were cut
off and
cannot safely be executed — so the envelope keeps describing the content
that
survived. Anything under `response` is opaque to the assembler, cannot
be
pruned, and drifts out of step on the first truncation.

**Drift is silent.** When `blocks.length` disagrees with the emitted
block
count, the assembler discards the envelope whole and reports nothing.
The
reasoning block just arrives without its signature, and the first
visible
symptom is a provider rejecting the replayed history much later.

So the alignment is what the tests pin, against the real
`BlockAssembler`
rather than against our beliefs about it:

- one `blocks` entry per emitted block — asserted as the invariant,
since a
  literal would still pass if both sides drifted together;
- a `max_tokens` finish drops the unexecutable tool call **and** prunes
the
envelope at the same position, with the surviving reasoning block
keeping its
  signature;
- a misaligned envelope is discarded with no error — pinning the hazard
itself,
  so reintroducing it fails a test instead of going quiet.

Plus a host-side test: the host reads the finish chunk directly rather
than
using the assembler, which makes it the one place a mismatch can still
become a
502 instead of a silence.

## Migrated in step

Producers and consumers move together. The envelope never leaves the
workspace
— no on-disk persistence, and `bridge.ts` rebuilds replay from request
content
rather than reading a stored envelope — so no compatibility shim is
needed.

| Package | Producer | Consumer |
|---|---|---|
| `omlx` | `replay.ts` (type + helper) | `serialize.ts` |
| `anthropic-provider` | `translate.ts` | `wire.ts` |
| `maximal-dsh-host` | `bridge.ts` | `bridge.ts` |

## Two fixture pins the bump exposed

The host's synthetic provider profiles and the oMLX integration profile
declare
dsh-llm as an **exact** version, and profile validation rejects a
mismatch
against what is installed — every host test failed with `The external
provider
profile is invalid` until they tracked the bump.

Only the hoisted `dsh-llm` actually moved. `dsh-attachment`,
`dsh-brand`,
`dsh-invariants` and `dsh-timeout` still resolve to rc.6 there, so those
pins
are deliberately unchanged.

## Verification

- Container suite **15/15 tasks green**, including all four new tests.
- `tsc --noEmit` and `eslint` clean across the three changed packages.
- `verify:workspace` passes; lockfile re-resolved and stripped of
rotating
  shard hosts per SOURCES.md.

One structural note: the new host test pushed `host.test.ts` past its
800-line
`max-lines` ceiling, so it lives in `tests/replay-alignment.test.ts`.
Only the
new test moved — relocating the existing replay tests would be a larger
diff
than this PR warrants.
stuffbucket added a commit that referenced this pull request Sep 8, 2026
## Summary

- update the transitive `fast-uri` lockfile resolution from 3.1.5 to
3.1.6
- remediate Dependabot alerts #38, #39, #42, and #43
- retain `[email protected]`; its existing dependency range accepts the patched
release

## Security

GitHub reports four high-severity advisories affecting 3.1.5, covering
malformed IPv6 normalization, percent-encoded scheme normalization,
repeated hostname percent-decoding, and skipped IDN canonicalization.
All identify 3.1.6 as the first patched version.

## Validation

- `pnpm why fast-uri -r` resolves only `[email protected]`
- `pnpm audit --audit-level high` reports no high-severity findings
(three unrelated moderate findings remain)
- `pnpm test` passes: 15/15 Turbo tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant