king-bcolor / dsh-aliyundrive-plugin

목록에 있음

업스트림 저장소에 설명이 없습니다.

main도구 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:king-bcolor/dsh-aliyundrive-plugin

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

README

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

GitHub에서 보기 ↗
커밋 0cf0d19동기화 2026. 8. 18.

dsh-aliyundrive-plugin

中文文档README.zh-CN.md

A DeepSeek Harness plugin that wraps the aliyunpan Alibaba Cloud Drive CLI as model-callable tools and a built-in web UI tab.

What it is

dsh-aliyundrive-plugin exposes Alibaba Cloud Drive operations to DSH agents: account status, drive switching, directory browsing, file management, upload/download with progress, sharing, albums, and sync backup — through structured tools.

Features

  • Account: login guidance, current user, account list.
  • Drive: switch backup/resource drive, quota.
  • Files: ls/ll, cd, pwd, mkdir, mv, cp, rename, rm (confirm-gated).
  • Transfer: upload/download with concurrency, retry, regex exclusions, progress.
  • Share: create shares and rapid-transfer links (share set; list/cancel are not exposed by aliyunpan v0.3.x).
  • Albums: list, show, batch download.
  • Sync: upload/download modes with exclusive/increment policies.
  • Long transfers run in background: poll with aliyunpan_task_status, list with aliyunpan_task_list, stop with aliyunpan_task_stop.
  • Web UI: an 阿里云盘 conversation tab exposes every tool as a dynamic form with quick account/quota/pwd actions, JSON results, and a live task panel. A standalone page is also available at /aliyundrive after the web profile starts.
  • Dangerous operations require explicit confirmation.

Use cases

  • Ask the agent to list files in a cloud directory.
  • Upload a local folder to Alibaba Cloud Drive.
  • Download files with progress and retry.
  • Manage shares and albums.
  • Set up incremental sync between local and cloud directories.

See docs/用例目录/README.md for the full command/use-case/parameter catalog (Chinese).

Installation

Preconditions

Install from GitHub

dsh plugin --profile default add github:king-bcolor/dsh-aliyundrive-plugin
# allowlist build in $DSH_HOME/profiles/default/pnpm-workspace.yaml if requested

Install locally

git clone https://github.com/king-bcolor/dsh-aliyundrive-plugin.git
cd dsh-aliyundrive-plugin
dsh plugin --profile default add .

Usage

dsh --profile default
# or the web profile
dsh web

Open a conversation and switch to the 阿里云盘 tab for the UI. Example prompts:

  • List files in the root of my backup drive.
  • Upload ~/Documents to /我的文档.
  • Start sync from ~/Documents to /备份盘/我的文档 using increment policy.

Configuration

- id: aliyundrive
  name: dsh-aliyundrive-plugin
  config:
    aliyunpanBin: /usr/local/bin/aliyunpan
    timeoutMs: 60000
    longRunningTimeoutMs: 3600000
    confirmDangerous: true

Development

TDD is mandatory:

npm test

License

MIT

프로젝트 파일 및 신호

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

테스트감지됨
문서감지됨

저장소 정보

언어
JavaScript
라이선스
보고되지 않음
최신 릴리스
v0.1.2
마지막 업데이트
2026. 8. 16. 오후 9:26

신중하게 설치하기

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