StarPivotNet/dsh-plugins-public--packages-session-rehome ↗★ 0

@starpivot/dsh-session-rehome

将当前对话重定位至项目目录 适合需要将对话与特定项目工作区进行关联和迁移的用户。

包名
@starpivot/dsh-session-rehome
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.6
版本
0.2.0
最近更新
2026年9月20日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:StarPivotNet/dsh-plugins-public#8d5d23bff5ac296c2fb545bd563761ae71ca6b3c&path:packages/session-rehome

@starpivot/dsh-session-rehome

Cursor-parity conversation rehome. The model tool move_agent_to_root({ rootPath }) moves the current conversation onto an existing project directory. Sidebar grouping and later bash/fs/AGENTS.md follow the new root. It does not mkdir and cannot rehome back to No Repo.

General Settings → Move workspace chooses ask or automatic (ask is the default).

Behavior

ModeCurrent homeTargetAction
AskNo RepoUnique registered matchRehome immediately
AskNo RepoSeveral registered matchesuserQuestions choice
AskNo RepoExisting unregistered directoryRehome immediately (Host creates the workspace)
AskReal projectAnother directoryConfirm Move / Stay first
AutoAny (not a No Repo target)The model's absolute pathRehome immediately; several matches do not prompt
AnyAny$DSH_HOME/no-repoRefuse

Needs Host session.rehome (deepseek-harness 7e166f8 onward).

This is the current-session tool. Library-wide rehome of another conversation is a separate Host session_control_rehome tool, not this plugin.

Install

dsh plugin --profile web add github:StarPivotNet/dsh-plugins-public#path:packages/session-rehome
# or
dsh plugin --profile web add @starpivot/dsh-session-rehome

Then restart dsh web. Refresh the page to see the settings row.

Verify

node scripts/rehome-policy.test.mjs