wangchengxin666/dsh-dock--plugins-file-manager ↗★ 1

@local/dsh-plugin-file-manager

Server file manager page in the left sidebar: browse any server directory with breadcrumbs and a path bar, then upload, download, preview, rename, create folders, and delete.

패키지
@local/dsh-plugin-file-manager
호환성
미검증
Harness peer 범위
>=0.2.0 <0.3.0
Cordis peer 범위
~4.1.0
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 11. 14.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add 'github:wangchengxin666/dsh-dock#84741ee515cec2b4ddacd6df9c768a137ea01d58&path:plugins/file-manager'

Configuration

The bundle row's config in cordis.patch.yml:

- insert:
    - id: file-manager
      name: '@local/dsh-plugin-file-manager'
      config:
        roots: []                 # [] = the whole filesystem
        startPath: ''             # first directory; '' = the first root, else /
        allowOutsideRoots: false  # false = stay inside roots once roots are set
        showHidden: false         # show dotfiles
        maxEntries: 5000          # entries per listing
        maxPreviewBytes: 1048576  # text preview cap
        maxBinaryPreviewBytes: 8388608
        maxUploadBytes: 1073741824

To restrict the page to a few directories, set e.g. roots: ['/srv/data', '/home/me/share']. A path is refused on the Host unless it resolves inside one of those roots (symlinks followed), and the configured roots themselves cannot be renamed or deleted.