lordqyxz/dsh-ark-quota ↗★ 2

dsh-ark-quota

火山方舟订阅套餐剩余额度侧边栏小组件:宿主半区代理控制台 GetCodingPlanUsage,浏览器半区渲染 footer 固定小组件 核心用途是在 DSH 界面中直观监控火山方舟平台的套餐剩余额度。适合使用火山方舟大模型服务,需要防止额度耗尽影响智能体运行的用户。

패키지
dsh-ark-quota
호환성
미검증
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 17.

같은 패키지 이름의 다른 저장소

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

Usage

  • The widget polls /ark-quota every refreshMs (default 5 min) and every time the settings namespace changes.
  • Click the ⟳ button (or ?force=1) for an immediate refetch.
  • When the keys are missing or wrong you'll see an error card; fix them in Settings → 方舟额度 (or re-run node tools/check.mjs) and the widget updates itself.

Configuration

All settings live in the ark-quota settings namespace. The composition entry config in cordis.patch.yml is the base; the user layer in $DSH_HOME/settings.yaml overrides it and is hot-applied.

keytypedefaultdescription
accessKeyIdstring"" (secret)Volcengine AccessKey ID (signs every OpenAPI call)
secretAccessKeystring"" (secret)Volcengine Secret Access Key
regionstringcn-beijingArk region
versionstring2024-01-01control-plane OpenAPI version
refreshMsnumber300000proxy cache TTL before refetching