dsh-session-rehome
Đã xác minh@starpivot/dsh-session-rehome · v0.2.0 · MIT · Giao diện web
move_agent_to_root: rehome the current conversation to an existing project directory, with an ask/auto setting
Cài đặt
dsh plugin add @starpivot/dsh-session-rehome Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.
Mã nguồn
Phát hành lên npm mà không có repository công khai. Hãy kiểm tra nội dung package trước khi cài.
Thẻ
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
| Mode | Current home | Target | Action |
|---|---|---|---|
| Ask | No Repo | Unique registered match | Rehome immediately |
| Ask | No Repo | Several registered matches | userQuestions choice |
| Ask | No Repo | Existing unregistered directory | Rehome immediately (Host creates the workspace) |
| Ask | Real project | Another directory | Confirm Move / Stay first |
| Auto | Any (not a No Repo target) | The model's absolute path | Rehome immediately; several matches do not prompt |
| Any | Any | $DSH_HOME/no-repo |
Refuse |
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