Custom agent presets in $DSH_HOME/.agent-presets/ are no longer registered after upgrading from 0.1.5-rc.1 to 0.1.7-alpha.2 #7545
Replies: 1 comment
|
中文摘要:你的定位是对的,机制确实从「目录」变成了「组合条目」。我按你说的两个版本分别核过: Your diagnosis holds, and I can pin down both halves of it at the two versions you named. Before ( At and a preset row looks like this ( - insert:
- id: preset-standard
name: '@deepseek-ai/dsh-agent-preset'
config:
id: standard
order: 1
plugins:
- id: persona
name: '@deepseek-ai/dsh-persona'So What to do about the sessions that cannot resume. The header recorded I have not tested that re-registering the id makes those sessions resumable again; it follows from the id being the lookup key, but treat it as the expected outcome rather than a verified one. Boundary: verified at |
Uh oh!
There was an error while loading. Please reload this page.
Custom agent presets in
$DSH_HOME/.agent-presets/are no longer registered after upgrading from0.1.5-rc.1to0.1.7-alpha.2Summary
After upgrading
@deepseek-ai/dshfrom 0.1.5-rc.1 to 0.1.7-alpha.2, everysession whose creation header carries a user-defined
agentPresetfails to resume:The conversation history renders correctly, but the session cannot be continued —
sending a message fails and nothing is written.
Three user-defined presets live in
$DSH_HOME/.agent-presets/(crew,qa,walnut).They are byte-identical to their pre-upgrade state, yet none of them is registered
by 0.1.7-alpha.2.
This is not a data problem. All 925 existing session logs are byte-identical after
the upgrade; the failure is at preset discovery/registration.
Environment
@deepseek-ai/dsh0.1.5-rc.1 (working install, presets work)@deepseek-ai/dsh0.1.7-alpha.2 (fresh, clean install)DSH_HOMEcontaining a byte-for-byte copy of the real home; 267@deepseek-ai/dsh*packages, all at0.1.7-alpha.2(verified uniform, so this is not a mixed-version install)Expected
A user-defined agent preset placed in
$DSH_HOME/.agent-presets/<id>/(the discovery root used by 0.1.5-rc.1, and the location
dsh-crewwrites to)keeps working after the upgrade — or the release notes describe the new model and
a migration path exists.
Actual
The preset is not registered at all.
Evidence
1. The old mechanism was directory-based and shipped its own preset files
0.1.5-rc.1installs@deepseek-ai/dsh-agent-presets(plural), which contains:On the npm registry,
@deepseek-ai/dsh-agent-presetshas no0.1.7-alpha.xversion;its last published version is
0.1.6-alpha.2:2. The new mechanism is a composition entry, not a directory
0.1.7-alpha.2instead installs@deepseek-ai/dsh-agent-preset(singular) plus@deepseek-ai/dsh-agent-preset-registry. The whole of@deepseek-ai/dsh-agent-preset/lib/index.jsis 29 lines:A preset is now an entry in an ordinary Cordis composition whose
pluginsare declaredinline. There is no directory scan.
3. No filesystem path in the new build references an
agent-presetsdirectorySearching the entire installed
0.1.7-alpha.2tree (node_modules/.pnpm, all*.js):.agent-presetsagent-presets/agent-presets"agent-presets-invariant"(registry plugin name) andid: "agent-presets"(a client UI section id) — no path(The old install does contain
@deepseek-ai/dsh-agent-presets/presets/..., as shown above.)So on
0.1.7-alpha.2there is no code path that reads$DSH_HOME/.agent-presets/.4. The user data is intact — this is purely discovery
session.v4.jsonl.zstdA real pre-existing v3 session was successfully migrated and published as a v4 successor,
which is the behaviour the format design promises.
Minimal reproduction
0.1.5-rc.1, create a user preset in the old format:$DSH_HOME/.agent-presets/crew/containingpreset.ymlandagent.cordis.yml(this is exactly what
dsh-crew@0.10.0writes — see itshost/crew.js,PRESET_ID = "crew",join(home, ".agent-presets", PRESET_ID)).agentPreset: "crew").@deepseek-ai/dshto0.1.7-alpha.2in a clean install.RemoteError: Unknown agent preset: crew (gateway/internal); sending a message fails.Impact
visible; the conversation cannot be continued.
dsh-crew(the plugin that ships thecrew/PM workflow) is at 0.10.0, which is thelatest published version, and it still writes its preset into
$DSH_HOME/.agent-presets/crew/. Its entire workflow therefore stops working on0.1.7-alpha.x.$DSH_HOME/.agent-presets/layout.Things I ruled out (so they do not need re-testing)
session migrated to v4 successfully.
@deepseek-ai/dsh*packages are0.1.7-alpha.2.qaandwalnutout of.agent-presets(leaving onlycrew) and restarting still yieldsUnknown agent preset: crew.crewpreset. All 19@deepseek-ai/*packagesreferenced by its
agent.cordis.ymlare present in the0.1.7-alpha.2install.Separate, independent issue found at the same time
The same user presets reference
@deepseek-ai/dsh-workflow-worker-thread, whose lastpublished version is
0.1.5-rc.3; it does not exist at0.1.7-alpha.1/0.1.7-alpha.2.So even after the discovery problem is fixed, those two presets would fail to mount.
Worth an upgrade note for preset authors: a package referenced by a preset can disappear
between minor lines.
What I could not determine
.agent-presetsdiscovery is intended, andif so, what the documented replacement for user-authored presets is.
pointer would be welcome.
Request
$DSH_HOME/.agent-presets/<id>/discovery working, orplugins) and provide amigration path/upgrade note, so preset authors can follow — and so existing sessions
can be resumed again.
Version data used in this report
Related
This appears to be part of a pattern in the 0.1.6/0.1.7 line, where third-party plugins and presets break in ways that surface far from the cause:
0.1.7-alpha.1: legacy client service settingsScope silently removed — third-party plugins hang on boot and the failure surfaces as a misleading client-half failedtool-cordis registers Host inspect providers globally → any second mount of a preset containing it fails (New Session appears to do nothing)[Bug] 空白新会话切换 Agent Preset 后,新 preset 的 modelSelectionSettings 型 delegation 工具完全未安装A single upgrade note about what changed for third-party preset/plugin authors — and a migration path — would help all of them at once.
All reactions