Preface¶
When using agents to write code in DeepSeek Harness (DSH), the interface typically only shows logs, tool results, and token statistics, lacking an intuitive sense of how “busy” the current session is. Some people open monitoring panels on the side; others simply ignore it. @weibaohui/dsh-kite (community catalog name weibaohui/dsh-kite, category “Fun Dress-Up”) takes another path: it adds a transparent canvas overlay layer to the web interface, mapping token usage and session events to the flight altitude and actions of a Weifang-style kite — rising when busy, trembling when tools succeed, diving on failure, rolling at milestones, and doing double circles to celebrate when wrapping up. It does not replace DSH’s core capabilities, nor does it change agent logic; it only occupies the visual layer and event subscriptions.
What Is This¶
Maintainer weibaohui publishes @weibaohui/dsh-kite on npm (current package.json version 0.5.0, MIT). The plugin targets the DSH web client: the host side subscribes to session/event to accumulate energy and categorize events, pushing {activity, tier} and gust pulses to the client via dsh-event-hub or fallback SSE/polling; the client draws the kite with position: fixed; pointer-events: none, so it doesn’t block clicks. The engine README summarizes it as a “kite-flying engine” — more tokens and denser events make the kite fly higher, with skeleton card decks (hard-wing/soft-wing/board-style/three-dimensional/string-style, etc.) and custom decals included.
Core Features¶
Activity and Altitude¶
Each round of tokens accumulates into an energy pool decaying with τ≈75s through a log curve, mapped to a 0..1 activity level that directly determines the target flight altitude (rises fast, falls slowly). If the agent stops for about a minute, the kite will slowly settle back into low-altitude gliding. The responsiveness setting (default 1, range 0.3–2) adjusts the response strength of “activity → altitude”.
Event-Driven Actions¶
| Event | Behavior |
|---|---|
assistant/message (token usage) |
Accumulate into energy pool → activity → target altitude |
turn/end |
Upward impulse (magnitude scales with this turn’s tokens) |
tool/result success |
Wing-flap tremble + breeze (batched) |
tool/result failure |
Dive + turbulence (batched, restrained) |
| Cumulative output crosses tier | Mid-air roll + permanent altitude floor lift (6 tiers: 2k/8k/20k/50k/120k/300k) |
todo/write all complete |
Double-circle roll celebration (5-minute cooldown) |
session/created |
Swap to a new kite (shuffle bag without replacement, never duplicates the previous one) |
Besides new sessions, turn ends, errors, sub-agent launches, milestone tier crossings, wrapping up, etc. can also trigger on-the-spot kite swapping (the settings page “Swap timing” lets you check items individually, all enabled by default, except ordinary tool calls; a 10-second cooldown prevents rapid swapping).
Weifang Lineage Card Deck and Decals¶
15 skeletons × 11 pattern artists × 12 traditional color schemes, 26 curated cards; kite swapping uses a shuffle bag with 1–5 rarity weighting. Shapes, patterns, and color schemes are purely data-driven in client/kite-cards.js, consumed by the engine via resolveCard() and paintSail(). The settings page allows enabling/disabling by skeleton (config.frames), pinning a specific one (config.preferredFrame or auto), or uploading a photo as a decal (client-side compression to ≤640px, sharing the affine pose with the sail surface, with real-time flip transformations on forward/side views).
Interaction and Display¶
- Wind field biases toward the mouse pointer; “mouse linkage” can be disabled.
- Kite string ink color: follows theme / rainbow flow (rate scales with activity) / custom solid color.
- Display region:
fullscreen,left,right,bottom-left,bottom-right. - Light/dark theme follows DSH official theme;
prefers-reduced-motionparks the kite by default (can be overridden withignoreReducedMotion). - Rendering throttled at 30fps, paused when the page is hidden.
Integration with the DSH Ecosystem¶
Events are pushed through a single dsh-event-hub connection (shared with fireworks/matrix/process and other plugins); when the hub is absent, it degrades to its own SSE (GET /dsh-kite/api/stream) or incremental polling (GET /dsh-kite/api/updates?since=). The plugin can work independently without installing the hub.
Installation and Activation¶
Install command (from README, do not assemble github paths yourself):
dsh plugin --profile web add @weibaohui/dsh-kite -w
After installation, restart dsh web to take effect. The entry point is in Settings → Kite Flying (admin panel and test-flight button).
Version compatibility (README table): plugin 0.1.0 verified with @deepseek-ai/dsh 0.1.7-rc.2; package.json declares engines.dsh as >=0.1.7-rc.2, Node >=22.5. The release convention is to append a row to the above table for each version recording the actual verified dsh version.
Typical Usage¶
- Just code normally: tokens pour in and the kite rises → tool calls cause trembles → crossing milestones causes rolls and raises the altitude floor → wrapping up triggers double circles → new sessions auto-swap to a new kite.
- If it’s distracting: narrow the
regionin settings, lowerresponsiveness, or setenabled: falseto reel in the line. - Custom appearance: Settings → Custom Decal upload an image, enable
decalEnabled; adjustdecalOpacity(0.3–1). - Pin a specific skeleton: Settings Current Kite → Pin (e.g., sand swallow), or turn off disliked skeleton ids in
frames. - Browser console (README easter egg):
__dshKite.next() // swap to another kite
__dshKite.pulse('milestone') // manual gust
__dshKite.stats() // flight state
- Preview without installing the plugin: open
demo/demo.htmlin the repository (?act=0..1to lock activity,?frame=shayanto pin skeleton, top-right corner allows decal uploads).
Common configuration keys (persisted in storageDomain dsh_kite, readable/writable via settings page or HTTP API):
| Key | Default | Description |
|---|---|---|
enabled |
true |
Master switch |
intensity |
1 |
Wind force/size 0.3–2 |
responsiveness |
1 |
Altitude response 0.3–2 |
region |
fullscreen |
Display region |
preferredFrame |
auto |
Shuffle or skeleton id |
frames |
{} |
Enable/disable by skeleton |
decalEnabled |
false |
Use user decal |
decalOpacity |
0.9 |
Decal opacity |
ignoreReducedMotion |
false |
Whether to ignore system reduced motion |
Decal API: PUT /dsh-kite/api/decal (≤660KB, png/jpeg/webp); test flight POST /dsh-kite/api/test, body like { kind?, magnitude? }.
Use Cases and Notes¶
For whom: Developers who run agents in DSH Web long-term and want lightweight visual feedback to perceive session rhythm; users who like Weifang kite elements or want to play with card decks/decals. This is a “Fun Dress-Up” category plugin that does not change harness behavior.
Permissions and security: The plugin runs with the current DSH process privileges, subscribes to session events, and injects client scripts into the browser. Before installing, you should read the GitHub repository source code and MIT license to confirm acceptance of the event channel and decal upload (stored in host storageDomain) behavior.
Ecosystem note: The DSH community plugin catalog is hosted on an independent site SkillHub catalog page, with no official affiliation with DeepSeek / High-Flyer; “everything is a plugin” is DSH’s product philosophy, and this article introduces the community-maintained @weibaohui/dsh-kite, not an official app store entry.
Extension development: To add a new kite, simply append FRAMES / PATTERNS / ALL_CARDS data in client/kite-cards.js; after local link installation, source code changes require npm run build:client then refresh the page. The repository provides npm run check, npm test (13 offline tests).
Conclusion¶
@weibaohui/dsh-kite translates the agent’s tokens and tool events into a configurable kite on screen: a zero-intrusion overlay, Weifang-style card decks, optional decals, and a complete settings page. If you want to try it in DSH Web, just add the plugin with the installation command above and restart dsh web.
- Catalog page: https://www.skillhub.cn/plugins/weibaohui/dsh-kite
- GitHub: https://github.com/weibaohui/dsh-kite