pzyyll/dsh-plugins--packages-dsh-xai-auth ↗★ 0

@balaenis/dsh-xai-auth

dsh plugin that signs in to an xAI SuperGrok subscription and serves it as the xai-supergrok model route.

套件
@balaenis/dsh-xai-auth
相容性
待驗證
Harness 依賴範圍
>=0.2.0 <0.3.0
Cordis 依賴範圍
*
版本
0.2.0
授權
MIT
最近更新
2026年11月6日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add 'github:pzyyll/dsh-plugins#cb51a7d9248ca443fd34f8b83a7bb1fc1595f679&path:packages/dsh-xai-auth'

Usage

  1. Open Plugins → dsh-xai-auth → Sign in.
  2. Open the verification page and enter the code to approve sign-in.
  3. Select an xai-supergrok/... model to start chatting.

On the plugin page:

  • Refresh models updates the model list.
  • Usage shows subscription credits and billing details. Readings are cached for 2 minutes.
  • Sign out removes local credentials; it does not revoke the token at xAI.

After sign-in, Grok usage appears above Settings in the sidebar footer, for all model routes. The percentage shows used credits. Select the indicator to see details. A collapsed sidebar rail shows only the ring icon, with the percentage in its tooltip. The blank-session Hero and the chat composer have no usage indicator.

The sidebar indicator requires the sidebar.footer.action slot, verified with dsh 0.2.2-rc.1. Windows desktop hides the indicator when the sidebar is fully collapsed.