Sttrevens / dsh-linked-folders

목록에 있음

dsh plugin: multi-folder workspace — global linked-folders list + per-session on-the-fly linking, managed from the Web sidebar.

main세션 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:Sttrevens/dsh-linked-folders

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 88fce3f동기화 2026. 8. 17.

@steven-wu/dsh-linked-folders

Out-of-tree dsh plugin that gives a session multi-folder workspace access — like Codex's linked folders.

  • A global linked-folders list (durable, cross-session) — your "global workspace".
  • Per-session temporary links the model adds/removes on the fly with link_folder / unlink_folder.

Both lists are injected into the system prompt, so the model knows which extra roots it may cd into and work across.

Install

The package declares a dsh.bundle manifest, so dsh plugin add installs it and adds it to the profile's bundle layers automatically:

dsh plugin --profile web add @steven-wu/dsh-linked-folders
# restart the web profile, then refresh the page

Use

  • Sidebar → footer → 📁 Linked folders (N). Expand it to see the global list, add a folder by absolute path, or remove one with ×.
  • Model: say "link folder /path/to/foo" — the agent calls link_folder; "unlink /path/to/foo" calls unlink_folder. Session links appear in the prompt as (this session).

Configuration

State lives in ~/.dsh/linked-folders.json:

{
  "global": ["/Users/you/projects/app", "/Users/you/projects/lib"],
  "sessions": { "session-abc…": ["/tmp/scratch"] }
}

Override the path with the DSH_LINKED_FOLDERS env var or the bundle row's config.path. Linked folders are canonicalized to real paths and must be existing directories.

Sandbox note

The plugin only advertises folders to the model and provides the management UI; it does not change the file sandbox. Under danger-full-access the model can read/write anywhere; under workspace-write it can read linked folders but writes are still confined to the session workspace root.

Model experience

  • System prompt: a ## Linked folders section listing global + session roots.
  • Tools: link_folder(path) / unlink_folder(path).
  • Web Remote: the client bundle explicitly mounts the linkedFolders Remote contribution before the sidebar consumes it (required by dsh rc.6+).
  • Prompt token cost: proportional to the number of linked folders (one short line each), zero when none are linked.

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨

저장소 정보

언어
JavaScript
라이선스
MIT
마지막 업데이트
2026. 8. 17. AM 5:52

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.