Skip to content

feat: add DeepSeek (DSH) pixel mascot - #390

Merged
wxtsky merged 2 commits into
wxtsky:mainfrom
conghuhu:feat/deepseek-mascot
Oct 28, 2026
Merged

wxtsky merged 2 commits into
wxtsky:mainfrom
conghuhu:feat/deepseek-mascot

Conversation

@conghuhu

@conghuhu conghuhu commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

DeepSeek Harness (DSH) sessions had no mascot — MascotView has a dedicated pixel character for every supported tool, but dsh fell through to default: ClawdView, so a DSH card showed Claude's mascot (#315/#317 added DSH support and its CLI icon, but not a mascot).

This PR adds an in-house DeepSeek pixel whale (DeepSeek brand blue #4D6BFE), drawn on the same unit grid as the other mascots with no external asset:

  • Sources/CodeIsland/DeepSeekView.swift — new mascot: slow bob while idle, flapping fin + water spout while a turn runs, amber alert dot when DSH waits for approval or an answer.
  • Sources/CodeIsland/MascotView.swift — map dsh / deepseek → DeepSeekView.
  • Sources/CodeIsland/SettingsView.swift — add the DeepSeek entry to Settings → Mascots (live preview + default-mascot picker).
  • docs/images/mascots/dsh.gif — 128×128 transparent loop, same encoding as the other mascot GIFs (15 frames, 80 ms, 1.2 s seamless loop, ~15 KB).
  • README.md / README.zh-CN.md — the DSH row in the supported-tools table now shows the mascot GIF instead of the CLI icon, like every other tool.

Preview

DeepSeek mascot

(The GIF above is rendered straight from DeepSeekView by the repo's MascotRenderHarness approach — ImageRenderer frames at 128×128 on a transparent background, assembled losslessly.)

image

Verification

  • swift build -c release --build-system native --arch arm64 passes; the built app was launched with CODEISLAND_ISOLATED=1 and a private socket, and renders the new mascot in both the notch card and Settings → Mascots.
  • Offscreen contact sheets were used to check all three scenes (idle / running / waiting) and the 1.2 s GIF loop is seamless (bob period, fin and spout phase all align to the loop).
  • No behavior outside the mascot changes: the view is presentation-only and the mapping only affects dsh/deepseek sources.

Notes

  • Art is original (pixel drawing in SwiftUI), so there is no third-party asset/licence to worry about; the blue is DeepSeek's brand colour.
  • dsh already has cli-icons/dsh.png; that icon is still used where CLI icons are (Hooks settings, small badges) — only the mascot slots change.

DSH sessions fell through MascotView's default branch and showed Clawd
(Claude's mascot). Add an in-house DeepSeek pixel whale in the same
unit-grid style as the other mascots, map dsh/deepseek to it, list it in
Settings -> Mascots, and use docs/images/mascots/dsh.gif in the README
supported-tools table.

The gif is a 15-frame, 80 ms, seamless 1.2 s loop rendered from the view
itself (128x128, transparent), matching the existing mascot assets.
@conghuhu

Copy link
Copy Markdown
Contributor Author

@wxtsky cc

The README GIF harness routed every unknown source to Clawd, so
regenerating the mascot GIFs would have drawn Claude's crab for DSH.
It now routes `dsh` to DeepSeekView and has a README spec for it; the
committed dsh.gif is regenerated from that spec.

The fin flapped every 0.65 s, which doesn't divide the 1.2 s loop, so the
GIF jumped at its seam; it now flaps every 0.6 s (twice per loop). The
blink gets a seed of its own like every other mascot, and the mascot
routes only the real `dsh` source.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@wxtsky
wxtsky merged commit 3da88f2 into wxtsky:main Oct 28, 2026
wxtsky added a commit that referenced this pull request Oct 28, 2026
… idle removal and more

Unreleased notes for this round: the island's 20 fps clock (#381, #391),
"Always allow" holding in its session and Codex rules Codex can use
(#380), shortcuts and pinned displays with a second monitor (#384), pi
and Oh My Pi ringing once a task (#386), the Claude Desktop answer and
background compaction fixes (#389, #388), removing idle cards (#385),
the Codex Desktop thread jump (#387), the DeepSeek whale (#390) and the
Grok / DeepSeek Harness sections in Group by CLI.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@wxtsky

wxtsky commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Thanks @conghuhu! The whale fits right in next to the others. Before merging I added one small maintainer commit on your branch (1bcf109):

  • The README GIF harness (MascotRenderHarness) now routes dsh to DeepSeekView and has a GIF spec for it. Before, regenerating the README GIFs would have drawn Clawd for DSH. dsh.gif is regenerated from that spec.
  • The fin flaps every 0.6 s instead of 0.65 s, so the 1.2 s loop has no seam. The blink also got a seed of its own, like every other mascot, and only the real dsh source routes to the whale.

Separately on main: "Group by CLI" had no section for DeepSeek Harness (or Grok), so their sessions were listed under "Other". That's fixed too (a5f64e8).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants