Passer au contenu principal
J

dsh-think-skin

jestions-dev/dsh-think-skin

Reskins the DSH thinking row: pick an image, give that image its own line pool, and the row types the line out one character at a time with a highlight sweep, over a 2-4 colour gradient you control. Three packs ship in the box (39 images, 41 lines, 184 verbs). Everything is edited in Settings -> Thinking and lands on the next line, no restart, and packs import or export as .zip. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Installer

dsh plugin --profile web add github:jestions-dev/dsh-think-skin

README

dsh-think-skin

Give the DSH thinking row your own face and your own words.

The row that says 深度求索中,用时 3秒 ··· next to a whale tail is the one thing you look at more than the answer. This replaces its icon and its copy, and keeps the timer.

The row, reskinned

▶ 宣传片 · B 站 (1 分 45 秒,三套皮肤 + 安装全过程)


What it does

图标      换成你自己的图(GIF / PNG / WebP)
文案      每次「思考」随机抽一句,从这张图自己的池子里抽
轮换      同一轮里每 7–15 秒换一句,图不变
渐变      2–4 色渐变,四种模式:无 / 静态 / 流动 / 扫光,周期可调
亮带      一条 3 字符宽的白色高光扫过文字,和打字同速
打字      词条逐字出现(90ms/字),打完停住,等下次换词
字形套    没有图片的套用字符转圈:盲文 ⠋⠙⠹… 或字符画 · ✢ ✻ 呼吸
设置      设置 → 思考状态:套组卡片、每图独立文案池、导入图片/文件夹、
          导出/导入 .zip、字形参数与实时预览

双随机: 一次运行抽一张图(整轮固定),图再带自己的文案池,池里每 7–15 秒抽一句。 两个随机在不同尺度上,组合数远大于单池。

一次运行怎么判定: 行出现 = 新一轮;「用时 N秒」归零也算新一轮。 踩过两次坑才定下来——见 DESIGN.md。


Install

dsh plugin add github:Jestions-dev/dsh-think-skin
# 或从 npm:
dsh plugin add dsh-think-skin

Then restart DSH once.

Local development (edit → refresh, no restart):

dsh plugin add link:D:/path/to/dsh-think-skin

Packs

A pack is a folder of images; every image may carry its own list of phrases.

pack
├─ images[]          一次运行抽一张
│   └─ texts[]       这张图自己的文案池(可空 → 用套级池)
└─ fallbackTexts[]   套级兜底池

Image data lives on the host, not in the bundle:

$DSH_HOME/storages/think_skin/
  pack.json
  images/<pack>/f001.gif …

The browser fetches pack.json once and each image with immutable caching, so the bundle stays around 19 KB no matter how many images a pack holds.

导入图片: 设置 → 思考状态 → 选图片 / 选文件夹。文件会被复制进上面的目录,原文件随便处置。 Import from the CLI:

python tools/import-pack.py --pack 我的套 --dir /path/to/gifs
python tools/import-pack.py --claudecode     # placeholder + the 179 verbs

Bundled packs

PackImagesWhat
蓝色大肥鱼39Blue Fat Fish stickers, 128×128
酒狐1One fox sticker, 128×128
Claude Code1盲文/字符画转圈 + 184 个真动词(从 claude.exe 2.1.328 提取)

内置套的句子是逐张手写的,不是从文件名生成的。

帧率不统一——每个包保留源文件自己的节奏:鱼是 20 ms 一帧,狐狸是 100 ms 一帧。 强行统一帧率是曾经的 bug:狐狸转快一倍,鱼丢掉三分之二的帧。见 tools/compile-pack.py。

The Claude Code pack is a text-mode pack, not an image pack. Claude Code ships two spinners:

framestimingcolour
盲文⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏80 ms per frameyellow
字符画· ✢ ✻ (ours; the binary uses · ✢ * ✶ ✻ ✽)one breath per 2000 ms, (1-cos)/2theme, or a fixed colour

Both are selectable in the panel, with separate durations — the braille interval is milliseconds per frame, while the glyph value is milliseconds per whole breath. Everything measured from the binary is recorded in assets/ClaudeCode/FINDINGS.md.


Credits

  • Mechanism reference: huanlinoto/dsh-plugin-prts-neuron. No code was copied — that repository carries no license, so it was read for the DOM facts only (data-chat-running, data-shimmer-text, the icon box being the svg's parent).
  • Claude Code verb list: extracted from @anthropic-ai/claude-code v2.1.121 by shanraisshan/claude-code-best-practice, cross-checked against the verb array inside claude.exe 2.1.328.
  • Layout reference: Saknutella/dsh-thinking-quips for how a third-party page claims settings.section.

MIT.

Plugins associés