You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: failed to apply loader entry 7907c9d6 (@deepseek-ai/cordis-plugin-hmr): --expose-internals is required for HMR service
at updateError (.../cordis-plugin-loader/lib/index.js:299:9)
at Entry._init (.../cordis-plugin-loader/lib/index.js:519:10)
at async Entry.init (.../cordis-plugin-loader/lib/index.js:495:4)
at async Entry.update (.../cordis-plugin-loader/lib/index.js:416:37)
at async EntryGroup.create (.../cordis-plugin-loader/lib/index.js:55:4)
at async Proxy.create (.../cordis-plugin-loader/lib/index.js:217:14)
at async runProfile (.../dsh/lib/profile-boot-*.js:259:4)
Analysis
The headless bundle's cordis.patch.yml already disables the HMR row:
- id: hmrdisabled: true
and dsh --profile headless --dump-config correctly shows the composed row as id: hmr with disabled: true. However, at runtime the loader still initializes a @deepseek-ai/cordis-plugin-hmr entry first — the failing entry id is a hash that changes between runs (6696ebe1, then 7907c9d6), not the hmr id the patch targets — and its constructor throws before the headless patch layer's disable takes effect. Hypothesis: the base-bundle row is initialized while the base layer is applied, so the constructor error wins before later patch layers (which disable it) are processed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Environment
@deepseek-ai/dsh0.1.0-rc.6 (installed vianpm i -g)@deepseek-ai/dsh-base,@deepseek-ai/dsh-headless0.0.1-rc.1Repro
Result
Boot fails before any LLM call is made:
Analysis
The headless bundle's
cordis.patch.ymlalready disables the HMR row:and
dsh --profile headless --dump-configcorrectly shows the composed row asid: hmrwithdisabled: true. However, at runtime the loader still initializes a@deepseek-ai/cordis-plugin-hmrentry first — the failing entry id is a hash that changes between runs (6696ebe1, then7907c9d6), not thehmrid the patch targets — and its constructor throws before the headless patch layer's disable takes effect. Hypothesis: the base-bundle row is initialized while the base layer is applied, so the constructor error wins before later patch layers (which disable it) are processed.Workaround
All reactions