跪拜 Guibai
← All articles
Frontend · JavaScript · Open Source

dsh-gta6: GTA VI Skin for DeepSeek Harness Ties Wanted Stars to Agent Runtime

By 蔓越莓曲奇 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Plugin authors building extensions for AI agent clients can learn from how dsh-gta6 avoids brittle DOM scraping by subscribing to the host's session service for state. The approach keeps the UI honest, and the careful separation of copyrighted assets from the MIT code sets a clean precedent for fan-made tools.

Summary

dsh-gta6 restyles the DeepSeek Harness AI agent client with GTA VI artwork from Rockstar's official promo material. The theme ships light and dark variants, a banner based on the official key visual, and a Vice City neon palette. But the visual overhaul is only part of it. The plugin reads the host's session service to drive a six-star wanted level in the corner: stars light up sequentially when a task starts and reset instantly when it stops. Because it subscribes to the runtime field instead of scanning for a stop button, the indicator keeps working across language changes and window resizes.

The right sidebar becomes a live dashboard showing the current session title, cumulative token usage, the active model, and inference tier. Tool call lines are color-coded by action type, using the host's semantic markers rather than hashed class names, so the styling survives host updates. Two desktop pets, Jason and Lucia, can be dragged around and get progressively tired the longer they run. Each decorative element can be toggled individually in settings, and animations respect the system's Reduce Motion preference.

The plugin targets DeepSeek Harness 0.2.x, which is still in preview, so the plugin API may shift. The artwork is owned by Rockstar and Take-Two and excluded from the MIT license; the repo includes source notes and disclaims affiliation.

Takeaways
— Install with `dsh plugin add dsh-gta6` or through the in-app plugin manager.
— The wanted-star indicator uses the host session service's run field, not DOM scanning, so it's resilient to UI changes.
— The right panel subscribes to the session service to display title, token count, model, and inference tier, updating when switching sessions.
— Tool call coloring relies on the host's semantic markers instead of hashed class names, reducing breakage after host updates.
— Desktop pets Jason and Lucia are cut from official visual and can be dragged, toggled, and they respond to clicks.
— All animations honor the system's "Reduce Motion" setting.
— Compatible with DeepSeek Harness 0.2.x; plugin API is still in preview.
— Art assets are from Rockstar's official GTA VI material, copyrighted, and not under MIT license; repo includes attribution.
Conclusions

The wanted-star indicator's reliance on the session service rather than DOM state is the kind of deep integration that makes plugin ecosystems reliable; it's a pattern other theme and extension developers should copy.

The licensing note is a refreshingly honest boundary: the code is MIT but the game assets aren't, and the author spells out the provenance. That clarity helps users avoid IP pitfalls.

Concepts & terms
Semantic markers
Stable, human-readable identifiers (class names or attributes) that the host application exposes to indicate the meaning of a UI element, such as 'thinking' or 'file-read'. They allow plugins to style elements reliably even when the host's internal hashed class names change between builds.
DeepSeek Harness
An open-source AI agent client that provides a plugin system and a session service. The session service exposes runtime state (like active run status, token usage, and model info) that plugins can subscribe to.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗