ne-ilyxa/dsh-session-drafts

ne-ilyxa★ 1TypeScript最后同步: 2026-08-21

在 GitHub 打开

Cursor-style New Session for DeepSeek Harness (DSH): every click mints a fresh durable draft session — plus a sidebar Drafts switcher to keep several empty chats open at once.

README 摘要

dsh-session-drafts Cursor-style New Session for DeepSeek Harness (DSH): every click mints a fresh durable blank session — persisted in Session persistence before the first message is ever sent — so you can keep several empty chats open at once, exactly like Cursor's new-chat tabs. The stock web shell reuses a workspace's single blank session (one empty chat per workspace, silently). This plugin removes that cap and adds a sidebar Drafts switcher to manage the empties. What it does 1. Fresh drafts, never reuse. workspaces.startSession — the one service entry behind every New Session surface (sidebar button, workspace browser, agent preset) — is patched on the live WorkspaceRuntime instance to always call session.create (which persists the Session entity host-side) and open the result. The stock target policy is preserved: explicit workspace → current session's workspace → recent workspace; no workspace at all still clears into the pure New Session view. 2. Drafts switcher. The stock sidebar tree hides blank sessions other than the current one. An add-on sidebar.footer.action entry renders a Drafts (N) trigger above Settings with a popover that lists every blank draft (workspace labe…

在 GitHub 查看完整 README →
终端/TUIcursor-styledeepseek-harnessdeepseek-harness-plugindeepseek-harness-pluginsdraftdraftsdshdsh-plugin

分类