ankesu / dsh-emoji-wallet

목록에 있음

Minimal DeepSeek balance wallet for DSH: one click shows your API balance in the session header. · DSH 余额小钱包:顶栏一点看余额

main세션 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:ankesu/dsh-emoji-wallet

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

README

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

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

dsh-emoji-wallet

npm version npm downloads license

A minimal DeepSeek balance wallet for DeepSeek Harness: one click shows your API balance right in the session header.

DSH 余额小钱包:顶栏一个 💰,点一下就知道 DeepSeek API 还剩多少钱。

preview

Features / 功能

  • 💰 One-click balance — a small wallet button in the session header (right side, next to Session log)
  • 🔒 Key never leaves the host — the browser only ever sees the balance numbers; the API key is read from the harness credentials file (~/.dsh/.credentials.yaml) on the host
  • 🫧 Semi-transparent bubble — click to open, click again to close (auto-closes after 8s)
  • 🎛️ No config needed — reads DEEPSEEK_API_KEY automatically

Install / 安装

dsh plugin --profile web add dsh-emoji-wallet

Restart the harness. A 💰 button appears in the session header, right next to Session log. Click it to see your balance.

How it works / 原理

  • Host half: GET /api/wallet/balance reads DEEPSEEK_API_KEY from ~/.dsh/.credentials.yaml and queries https://api.deepseek.com/user/balance
  • Client half: a slot component in conversation.session.header.utilities (the same container as Session log), positioned before it with flex order: -1

License

MIT

프로젝트 파일 및 신호

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

문서감지됨

저장소 정보

언어
TypeScript
라이선스
MIT
마지막 업데이트
2026. 8. 17. AM 8:32

신중하게 설치하기

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