@klarkxy/dsh-session-manager 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [简体中文](README.zh-CN.md)
6
6
 
7
- Find and read DeepSeek Harness sessions across working directories, copy thread IDs, start a chat in a temporary workspace, continue with one tap on an empty composer, and get a welcome-back recap after time away.
7
+ Find and read DeepSeek Harness sessions across working directories, start a chat in a temporary workspace, continue with one tap on an empty composer, and get a welcome-back recap after time away.
8
8
 
9
9
  ## Install
10
10
 
@@ -17,8 +17,7 @@ Replace `web` with your profile name and restart the profile.
17
17
  ## Use
18
18
 
19
19
  - **Agent tools**: `list_sessions`, `search_sessions`, and `read_session` let the agent find sessions by title or content and read a conversation, its full details, or a handoff summary. Reading a conversation returns one preview per turn, newest first; the agent pages further back with the returned cursor and opens full original content through details mode.
20
- - **Copy thread ID**: from a session's menu, or press `Ctrl + Alt + C` (`⌘ + ⌥ + C` on macOS) for the open session.
21
- - **Right-click menu**: right-clicking a session or workspace group in the sidebar opens the same menu as its **⋯** button.
20
+ - **Session context menu**: right-click a session row in the sidebar, or its **⋯** button, to open the session's actions menu without switching conversations. Left-click the row to open the conversation. Search results and blank new-session rows do not have this menu.
22
21
  - **Temporary workspace**: choose it in the new-session workspace picker to start a chat in its own new folder.
23
22
  - **Continue ghost**: with an empty composer, a grey suggestion floats in the input area. Press `Tab` to fill it into the draft, or click it to send it immediately. **Fixed text** uses the configured text, or "Continue" when that is empty. **Model-generated** uses the model chosen in that same switch. The model runs once after the previous turn ends and the line stays cached in the session, so the same turn does not call it again. Mode, fixed text, and the ghost model are all under **Continue ghost** (equivalent keys: `continueMode`, `continueText`).
24
23
  - **Welcome back**: returning to a session whose last response is older than `recapMinutes` (default 15) shows an inline card at the end of the conversation, after the last turn, with a model-written recap of what you were discussing, the progress so far, and a suggested next step. Past `compactMinutes` (default 60), the same card adds a prompt-cache expiry note with two optional buttons: **Compact context** invokes the host's native compaction command; **Continue in a new session** creates a blank session in the source session's workspace (or keeps the original directory when the source is ungrouped) and fills its draft with the recap and source session ID for you to review and send, without copying the full history. You can also ignore both buttons and send normally; nothing is compacted or switched automatically. The card disappears once you continue the conversation. Toggle each feature and set its idle threshold under the **Welcome back** settings group. After **Save** is confirmed, the current conversation is checked against the new thresholds. Time is measured from the last response, not from when the settings were saved.
package/README.zh-CN.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [English](README.md)
6
6
 
7
- 跨工作目录查找和阅读 DeepSeek Harness 会话、复制线程 ID、在临时工作区中开始对话,空输入时一键继续,久离回来时在输入框上方显示摘要与压缩建议。
7
+ 跨工作目录查找和阅读 DeepSeek Harness 会话、在临时工作区中开始对话,空输入时一键继续,久离回来时在输入框上方显示摘要与压缩建议。
8
8
 
9
9
  ## 安装
10
10
 
@@ -17,8 +17,7 @@ dsh plugin --profile web add @klarkxy/dsh-session-manager
17
17
  ## 使用
18
18
 
19
19
  - **智能体工具**:`list_sessions`、`search_sessions` 和 `read_session` 让智能体按标题或内容查找会话,并阅读对话、完整细节或交接摘要。阅读对话时按轮返回预览(最新在前),智能体可用返回的游标继续向前翻页,并通过细节模式查看完整原文。
20
- - **复制线程 ID**:在会话菜单中复制,或按 `Ctrl + Alt + C`(macOS 为 `⌘ + ⌥ + C`)复制当前会话的线程 ID。
21
- - **右键菜单**:在左侧列表右键点击会话或工作区分组,等同于点击它的「⋯」按钮。
20
+ - **会话右键菜单**:在左侧列表右键点击会话行或它的「⋯」按钮,打开该会话的操作菜单,不切换当前对话。左键点击会话行仍打开对话。搜索结果和空白新会话行不提供此菜单。
22
21
  - **临时工作区**:在新会话的工作区选择器中选择它,即可在一个新的独立目录中开始对话。
23
22
  - **继续灰影**:输入框为空时,输入区域会浮现灰色建议文本。按 `Tab` 填入草稿,点击它则直接发送。切到「固定文本」就使用配置的文本,留空则使用「继续」;切到「模型生成」就使用所选模型。模型只在上一轮结束后生成一次,并缓存在这个会话中,同一轮不会重复调用。模式、固定文本和灰影模型都在插件设置页的「继续灰影」分组中调整(对应配置键:`continueMode`、`continueText`)。
24
23
  - **欢迎回来**:回到一个距上次响应超过 `recapMinutes` 分钟(默认 15)的会话时,在对话末尾(最后一轮回复之后)内嵌显示模型生成的摘要卡片,说明之前在聊什么、进展到哪一步、建议的下一步。超过 `compactMinutes` 分钟(默认 60)时,同一卡片还会提示缓存可能已失效,并提供「压缩上下文」和「在新会话中继续」两个可选按钮:前者调用宿主的原生压缩命令,后者在来源会话所属的工作区内新建空白会话(来源未归属工作区时沿用原目录),将摘要和原会话 ID 填入草稿供确认后发送,不复制完整历史。也可以不点按钮,直接发送;不会自动压缩或切换会话。继续对话后卡片自动消失。两项开关和各自的空闲阈值在设置的「欢迎回来」分组中调整,点击「保存」并确认成功后,当前会话会按新阈值重新检查。时间从上次响应计算,不从保存设置时重新计时。