Repository navigation
Replies: 1 comment
|
Verified against rc.7 ( 1. Your claim verified. 2. The two known defects you'd inherit by copying the current logic (both verified against the same checkout):
3. Recommended order: fix β move β re-point, not copy.
4. The design intent is sound β don't lose it in the refactor. The comment at If the maintainers accept a PR once the contribution channel is open, the fix+export as one change (defects + move + CLI re-point + YoDsh's convergence test shape) would be a small, self-contained PR. Happy to co-draft it. |
Uh oh!
There was an error while loading. Please reload this page.
Context
Out-of-tree plugin managers (like YoDsh) wrap the official
dsh pluginchannel. The reconciliation logic that keepsdsh.profile.bundlesaligned with installed dependencies lives inapps/cli/src/plugin.tsand is not exported.Proposal
Export the reconciliation as a library function (for example
reconcileProfilePluginson@deepseek-ai/dsh-app-boot), or provide a Host service that runs the pnpm forwarder.@deepseek-ai/dsh-app-bootalready exportsreadProfileManifest/writeProfileManifest/resolveBundleDir, so the remaining piece is the dependency-vs-bundle-diff logic.Why
Managers otherwise duplicate the logic (divergence risk) or shell out to the CLI (process overhead, harder error handling). YoDsh currently reimplements it and keeps a convergence test.
All reactions