Repository navigation
build(deps-dev): bump @deepseek-ai/dsh-llm from 0.1.0-rc.6 to 0.1.0-rc.8 - #39
dependabot[bot] wants to merge 2 commits into
Conversation
Bumps [@deepseek-ai/dsh-llm](https://github.com/deepseek-ai/deepseek-harness/tree/HEAD/packages/llm/llm) from 0.1.0-rc.6 to 0.1.0-rc.8. - [Release notes](https://github.com/deepseek-ai/deepseek-harness/releases) - [Commits](https://github.com/deepseek-ai/deepseek-harness/commits/dsh-v0.1.0-rc.8/packages/llm/llm) --- updated-dependencies: - dependency-name: "@deepseek-ai/dsh-llm" dependency-version: 0.1.0-rc.8 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
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).
|
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 hereThe lockfile carried rotating What actually fails
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 renamerc.8 splits replay metadata into response-level and per-block halves, and couples the 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 ( |
|
Superseded by #54. rc.8 is an API break, not a bump: it types the finish chunk's |
|
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 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
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.
## 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
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.
... (truncated)
Commits
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)