Replies: 4 comments 3 replies
|
Follow up prompt:
|
|
Instead of modifying the source code, we should make it a plugin. |
|
@zhengyuzi is right, and for your specific example there is a concrete answer: the model selector is a slot, someone already occupies it, and you can too. The seat exists. I enumerated the web shell's Someone is already sitting in it. The one catch for your case specifically: The traps, since they are all silent when you get them wrong — every one of these cost me a debugging session, and
If a feature you want has no seat, that is still not the end. On your follow-up prompt about a diff directory plus a memory file: I would not. Diffs against a moving upstream reconcile badly and you find out at the worst moment. A plugin has a stable published contract, survives updates by construction, and you can share it. Interest disclosure: I maintain a DSH plugin with its own browser half, which is where all of the above was learned. None of it is specific to my package — it is the host's public contract, and the |
|
The plugin direction is confirmed by the rc.2 source, with two boundaries worth making explicit before implementing the model-selector example. First, Second, a package that loads on the Host is not automatically a Web plugin. The rc.2 Client registry resolves The final browser artifact is also a specific contract: a browser-targeted CJS bundle that calls I assembled a complete manifest skeleton, slot decision table, install-to-boot proof chain, failure router, removal test, and pinned upgrade checklist here: https://sandbaseai.github.io/deepseek-harness-handbook/persistent-web-ui-client-plugin.html Disclosure: I maintain this independent SandBase handbook; it is not an official DeepSeek AI project. |
Uh oh!
There was an error while loading. Please reload this page.
The demo says I can just tell DSH to show a whale, but when I asked it to modify the model selector to add a search feature, it said my changes would get wiped on the next npx update. How do we persist any modifications to the webUI? Should I just tell it to write diffs on top of modifying source?
All reactions