DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

4fuu /

4fuu/dsh-arbor-fonts

Topic repository only

Optional DeepSeek Harness client plugin: ChillDIN fonts for the dsh-arbor Arbor page

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@3ad17417

dsh-arbor-fonts

An optional DeepSeek Harness client plugin that sets the typography of the Arbor page from dsh-arbor: ChillDIN Gothic for display labels and ChillDIN for numerals. Body text and code keep DSH's own fonts. Nothing else changes.

The plugin is one package, @4fu/dsh-arbor-fonts. It is not required by dsh-arbor and has no effect on ordinary DSH pages.

What it changes

dsh-arbor owns the typography contract:

  • every text node on the Arbor page and its session tabs carries data-arbor-text = body | display | numeric | code;
  • the Arbor root sets --arbor-font-body, --arbor-font-display, --arbor-font-numeric and --arbor-font-code, defaulting to DSH's own font tokens.

This plugin overrides only --arbor-font-display and --arbor-font-numeric. The rules are scoped to [data-arbor-page] and to the contract-pinned [data-arbor-text] nodes, so an ordinary DSH element cannot match them:

  • display becomes "Arbor ChillDIN Gothic" at its single 500 weight, with font-synthesis: none so it is never synthetically bolded;
  • numeric becomes "Arbor ChillDIN" at weights 400, 500 and 600, with the page's existing tabular numerals;
  • body and code are untouched.

The stylesheet is injected lazily, only after an Arbor root or a [data-arbor-text] node exists. A browser fetches a @font-face file only when a matching family is used, so a DSH page with no Arbor UI makes no font request from this plugin. The plugin's client bundle is still loaded with the normal DSH plugin graph; its apply only installs a MutationObserver until the page appears.

Screenshots

The same Arbor overview at 1440 px wide, without and with the plugin:

Without the plugin With the plugin, light
Arbor overview without the font plugin Arbor overview with ChillDIN fonts

With the plugin, dark:

Arbor overview with ChillDIN fonts in dark mode

The labels and numerals change; the body text, code, layout and colours are DSH's own.

Install

Requirements: Node.js 24.9 or newer, DeepSeek Harness dsh-v0.2.2-rc.1, and a web profile with dsh-arbor installed. The npm package ships its built lib/index.js, client.js and .d.ts declarations; nothing has to be built after install.

npm install -g @deepseek-ai/dsh@0.2.2-rc.1
dsh plugin --profile web add @4fu/dsh-arbor-fonts@2026.1110.0

Then insert the Host row in the profile's cordis.patch.yml:

- insert:
    - id: arbor-fonts
      name: '@4fu/dsh-arbor-fonts'

Restart the profile. dsh plugin add writes the dependency; the Host row is what mounts it. The Host half registers four exact Fetch routes under /api/arbor-fonts/; the browser half installs the stylesheet when the Arbor page appears.

From a checkout, install the package directory instead:

dsh plugin --profile web add file:/absolute/path/to/packages/dsh-arbor-fonts

On a profile with no browser connection (headless, acp, sdk) the Host plugin stays inactive and registers no route. Nothing changes on those profiles.

Hand the install to a model

Install dsh-arbor first, following its docs/install-for-agents.md. Then give a model this prompt, editing the bracketed parts:

Install dsh-arbor-fonts@2026.1110.0 (https://github.com/4fuu/dsh-arbor-fonts)
alongside dsh-arbor in a DSH web profile. Follow this repository's Install
section and dsh-arbor's docs/install-for-agents.md for the host; add the Host row
to the profile's cordis.patch.yml, and show me the Arbor overview with and
without the plugin in light and dark at 1440 px. Report what changed, which font
files were served, and anything that did not work.

DSH version

The plugin is built for dsh-v0.2.2-rc.1 (@deepseek-ai/dsh@0.2.2-rc.1). The package manifest records that in engines.dsh; DSH checks it as the plugin runtime requirement, and pnpm check:pin checks the recorded version. A different DSH version is unsupported: the plugin depends on DSH's exact Fetch registry (HostConnectionFetch.register) and on the Arbor page's contract. On another version it may register no route or answer 404 from another asset path. The same pin applies to dsh-arbor; see its versions page.

Fonts and licensing

The four vendored faces come from Warren2060/ChillDIN-ChillDINGothic at commit d5251e66ded29639397025784c72dc2ac12bc817, under the SIL Open Font License 1.1. The full OFL text is at packages/dsh-arbor-fonts/fonts/ChillDIN-OFL.txt; per-file SHA-256 values, families and weights are in packages/dsh-arbor-fonts/fonts/README.md. No font file was modified or subsetted.

Attribution, as carried by the upstream files:

Copyright 2023 ChillType, with Reserved Font Name 'ChillDIN' 'ChillDINGothic'. Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'.

The plugin's source code is MIT. The fonts are OFL-1.1. Both license texts and the attribution ship with the package; see LICENSE and NOTICE.

Develop

.agents/setup   # pinned pnpm and dependencies
pnpm check      # pin check, build, typecheck and tests
pnpm build      # regenerate lib/index.js and client.js

pnpm check must pass on a clean clone after .agents/setup. The tests cover the four routes, the scoped selectors, the lazy installation and the built files; they fail when the manifest and the vendored files disagree.

Layout

packages/dsh-arbor-fonts/
  src/client.ts          the browser half: lazy stylesheet, scoped overrides
  src/index.ts           the Host half: registers the exact Fetch routes
  src/routes.ts          the four content-addressed font routes
  src/font-manifest.ts   generated hashes, families, weights and URLs
  fonts/                 the vendored faces, the OFL text and the attribution
  lib/index.js           the built Host entry
  client.js              the built browser entry
  test/                  route, scoping and built-file tests
—/ 5

No ratings yet

Manifest verification required

Commit 3ad17417aad0

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout