dsh-new-session 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,7 +15,9 @@ Code 的 `/clear` 对齐:旧对话完整留在侧边栏历史里,上下文
15
15
  - **工作目录(包括 worktree 副本)会继承**:新会话的创建目录仍是 Workspace 路径,但工作
16
16
  目录与当前会话一致。因此在 worktree 会话里 `/clear` 会留在**同一个 worktree**,而不是像
17
17
  普通新会话那样让 `dsh-worktree-switch` 再建一份副本——`dsh-worktree-switch` 看到新会话已
18
- 在副本里,只显示 ready,不再 prepare。
18
+ 在副本里,只显示 ready,不再 prepare。跨插件前提:`/new` 只在当前工作目录上原地开新
19
+ 对话,所以会话在副本里时新对话继承同一份副本;这份副本仍归原会话,离开时只回源检出、
20
+ 不弹提示,见 [`dsh-worktree-switch` 的 README](../dsh-worktree-switch/README.md)。
19
21
  - 旧会话原样保留(侧边栏历史、`/resume` 语义上的可回)。
20
22
  - 只在当前 Peer 有 `session/create` 权限时注册;只读的远程访问者看不到这两行。
21
23
  - 不提交任何提示词:`action` 类型会消费掉 `/clear` / `/new` 这个 token。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-new-session",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "`/clear` (alias `/new`) in the Web GUI composer: start a fresh conversation in the current working directory and keep the previous one in your history.",
5
5
  "keywords": [
6
6
  "dsh",