BruceXcluding/dev-almanac--packages-dsh ↗★ 0

dsh-dev-almanac

程序员黄历 + 今日星运 for dsh: a playful, offline daily almanac and horoscope. Adds a right-sidebar tab, the /almanac and /qiuqian commands, and the almanac_today tool.

패키지
dsh-dev-almanac
호환성
미검증
Harness peer 범위
>=0.1.0-rc.1 <0.3.0-0
Cordis peer 범위
^4.0.1
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 11. 6.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add 'github:BruceXcluding/dev-almanac#ee9e58d26b41fde870fb05550f16d935d3001f0d&path:packages/dsh'

dsh-dev-almanac

A programmer's almanac and daily horoscope for dsh (DeepSeek Harness).

Chinese almanac · daily horoscope · fortune slips · offline · deterministic · no tokens

This is the dsh version of dev-almanac. It uses the same almanac, horoscope and fortune-slip code as the Claude Code mod.

PartWhat it does
Almanac tabA tab in the right sidebar with the full day: the seasonal postcard, the do and don't lists, the clash, the solar term, the twelve double-hours, the horoscope, your birthday and the fortune tube
/almanacShows today's almanac as text. /almanac en or /almanac zh sets the language. /almanac birthday 1997-06-01 sets your birthday.
/qiuqianDraws a fortune slip. Each draw gives a new slip.
almanac_today toolLets the agent read today's almanac

Install

  1. Download dsh-dev-almanac-.tgz from the releases.

  2. Run this command:

    dsh plugin --profile web add ./dsh-dev-almanac-0.1.0.tgz
    
  3. Restart dsh.

  4. Open a session, click + in the right sidebar, and select the almanac tab. Its name is 程序员黄历 in Chinese, the default, and Programmer's almanac in English.

  5. To show the tab in English, press 🌐 English at its top.

Settings

The tab and the /almanac command share one settings file: ~/.cache/dev-almanac/state.json. It holds your birthday, your language and today's slip. To use another folder, set DEV_ALMANAC_HOME.

Privacy

The plugin reads the clock and its settings file. It makes no network or model calls. The tab gets its data from the plugin's own route, POST /api/dev-almanac/panel, which dsh protects with its browser sign-in. Nothing is written into the chat.

Develop

From the repository root:

node scripts/build-dsh.mjs           # compiles hooks/*.ts into packages/dsh/vendor
node --test tests/dsh.test.mjs
node scripts/build-dsh.mjs --pack    # writes dist/dsh-dev-almanac-.tgz

The build needs the typescript package. To use a copy from another folder, set TYPESCRIPT_PATH.

License

MIT. The almanac uses lunar-javascript 1.7.7 by 6tail (MIT), with its license in vendor/core/vendor/.