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

@starpivot/dsh-session-rehome

move_agent_to_root: rehome the current conversation to an existing project directory, with an ask/auto setting 适合需要将对话与特定项目工作区进行关联和迁移的用户。

パッケージ
@starpivot/dsh-session-rehome
互換性
未検証
Harness ピア範囲
^0.1.0-rc.6
バージョン
0.2.0
最終更新
2026/09/20

インストール

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

ドキュメント

README 全文を読む ↗

@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