DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-mood

R

dsh-mood

Manifest valid★ 1

A tiny behavioral mood ring for AI coding agents — folds session behavior (consecutive failures, repeated calls, activity) into a four-state Mood (GOOD / CONFUSED / FRUSTRATED / OVERWHELMED) shown as

UI (client)hasBundlePatch

Your agent doesn't have feelings, but its behavior does—a four-state mood status light

dsh-mood

A tiny mood ring for your AI coding agent.

CI Release License TypeScript DeepSeek Harness GitHub stars

中文

"Your agent doesn't have feelings. But its behavior does. It's not science. It's a mood ring."

dsh-mood watches how your AI coding agent is working — consecutive failures, repeating the same tool, activity level — and folds that into one simple four-state Mood, shown as a low-friction status light in the session header: doing fine 😊, confused 😕, frustrated 😤, overwhelmed 🤯.

Machine-readable project facts: llms.txt

30-second proof

After installing and refreshing dsh web, a status light appears beside the session header. Have the agent fail a few times and watch it go 😊 → 😤; a run of stable successes brings it back to 😊:

Without dsh-moodWith dsh-mood
You guess whether the agent is fine or stuck by reading the log.At a glance you see the current Mood, a verifiable why (e.g. 3 consecutive failures), and the session's mood journey.

Session-header status light: failure → frustrated → recovered

Why Mood?

Coding agents are good at moving quickly — and just as good at getting stuck. Consecutive failures, repeating the same call, several abnormal signals at once. While you wait, the one thing you want to know is: does it look OK right now?

Mood is not magic. It is an interpretable behavior classification. Every Mood comes from observed signals and gives you a fixed, verifiable why. It never interrupts the workflow and never pretends to measure the model's inner psychology.

Read progress at a glanceCatch stallsLow-frictionKind of fun
No log reading to see if things look normal.Repeated failures / repeated actions get a hint.It's a status light, not a dashboard.Four faces + a session journey you don't mind glancing at.

The four Moods

MoodMeaningObserved signal
😊 GOODEverything looks finesteady useful results, no abnormal repetition
😕 CONFUSEDStarting to spinrepeating the same / highly similar action
😤 FRUSTRATEDFailing visiblya short run of clear consecutive failures
🤯 OVERWHELMEDOut of control / overloadedhigh activity + failure + repetition together

When several hold at once, priority is: 🤯 OVERWHELMED > 😤 FRUSTRATED > 😕 CONFUSED > 😊 GOOD. A normal, complex task is not flagged OVERWHELMED just for many tool calls — it requires several abnormal signals together.

How it works

flowchart LR
    A["session/event (tool result / tool call)"] --> B["sliding window: failures · repeat · activity"]
    B --> C{"several conditions hold?"}
    C -- OVERWHELMED --> D["🤯 overwhelmed"]
    C -- FRUSTRATED --> E["😤 frustrated"]
    C -- CONFUSED --> F["😕 confused"]
    C -- otherwise --> G["😊 good"]
    D --> H["header status light + why + journey"]
    E --> H
    F --> H
    G --> H

The state machine is a pure fold: session/event → MoodState → MoodProjection. The host computes it; the browser reads it directly via useProjection('mood'). No external dependencies, fully predictable.

Anti-flash design

  • Upgrades are sensitive. A failure/repeat crossing its threshold moves the Mood up immediately.
  • Recovery is conservative. Returning to GOOD needs a few consecutive successes, so a single success doesn't make it bounce.
  • Reasons are de-duplicated. The same reason stops re-surfacing within its cooldown window, but a real recovery or worse escalation is never hidden.
  • Session journey. It remembers the whole trip (😊 → 😤 → 😊), shown on hover.

Quick start

Install from a Release package

Invoke-WebRequest `
  -Uri 'https://github.com/Raphaelutumn/dsh-mood/releases/latest/download/dsh-external-dsh-mood-0.1.0.tgz' `
  -OutFile '.\dsh-mood-0.1.0.tgz'

dsh plugin --profile web add .\dsh-mood-0.1.0.tgz

When running from a DeepSeek Harness source checkout:

$env:DSH_HOME='D:\Deepseek harness\.dsh'
corepack pnpm --dir 'D:\Deepseek harness' dsh plugin --profile web add .\dsh-mood-0.1.0.tgz

Build from source

git clone https://github.com/Raphaelutumn/dsh-mood.git
Set-Location .\dsh-mood
corepack pnpm install
corepack pnpm pack --pack-destination .
dsh plugin --profile web add .\dsh-external-dsh-mood-0.1.0.tgz

Uninstall

dsh plugin --profile web remove dsh-mood

If you run the DeepSeek Harness monorepo directly, the two packages @deepseek-ai/dsh-mood (host) and @deepseek-ai/dsh-client-mood (client) are already wired into dsh-base / dsh-web-app and load with the default profile.

Configuration

FieldDefaultMeaning
confusedRepeatThreshold3consecutive occurrences of one tool that mean CONFUSED
frustratedFailureThreshold3consecutive failures that mean FRUSTRATED
overwhelmedSignalCount3whether high activity + failure + repetition are all present for OVERWHELMED
stableSuccessesToRecover2consecutive successes required to return to GOOD
changeCooldownMs60000how long before the same reason stops re-surfacing
repetitionWindow12recent tool calls kept for repeat detection
highActivityThreshold4window length treated as "high activity"

Override in the profile's cordis.patch.yml:

- id: mood
  config:
    frustratedFailureThreshold: 5
    stableSuccessesToRecover: 3
    changeCooldownMs: 30000

All config values must be positive integers. Invalid config fails plugin load loudly rather than silently weakening behavior.

Compatibility

EnvironmentSupport & verification
Node.js 20 / 22 / 24matches DeepSeek Harness
DeepSeek Harnesshost @deepseek-ai/dsh-mood + client @deepseek-ai/dsh-client-mood; standalone @dsh-external/dsh-mood
Session header UIconversation.session.header.utilities slot (right-aligned, additive, never pollutes the message flow)

What the model sees

Mood is a pure observer: it changes no model request, adds no prompt, and vetoes no tool. ctx.mood.snapshot(session) reads the current snapshot; mood/change events notify host-side consumers when the Mood changes.

FAQ

Does it interrupt the agent?

No. It is a read-only behavior observer — no injected prompts, no call vetoing or rewriting. The status light lives only in the session header and never touches the message flow.

Is it rigorous science?

No. Mood is an interpretable behavior classification; every why comes from observed signals. It does not pretend to measure the model's mental state.

Why does recovery need several successes?

To avoid flipping on success/failure alternation. Upgrades are sensitive, recovery is conservative — that is the core anti-flash design.

Behavior details

  • Signals are computed locally: nothing leaves the machine, no database, no dashboard.
  • Recovery needs stable successes; repeated reasons are de-duplicated by cooldown; OVERWHELMED needs several signals at once.
  • All thresholds are Config-tunable for real-task calibration.

Limitations

  • Mood reflects behavioral signals, not a guarantee of task progress — repeated failure isn't proof of being stuck, but the absence of failure usually means progress.
  • State is in-memory only; a session restart does not persist the journey.
  • Standalone-install status. The @dsh-external/dsh-mood package here builds and serves against the current DeepSeek Harness source. The DSH packages published to npm are still at 0.0.1-rc.1 and do not yet expose the web-client APIs (conversation.session.header.utilities, useProjection) this plugin uses — so a standalone dsh plugin add of the browser half is not yet supported against the public npm stack. It runs inside the DeepSeek Harness monorepo and with the default web profile. We will publish standalone once the public client stack catches up. See packages/dsh-mood/README.md.

Contributing

Issues and clearly-scoped pull requests are welcome. Local verification:

corepack pnpm install
corepack pnpm test
corepack pnpm typecheck
corepack pnpm build

Behavior must be test-backed. The project has 32 tests (host 22 + client 10).

License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.2.0-rc.2: failedDSH 0.2.1-alpha.1: failed

Versions

Latest versionPublishedSize
0.1.0——

Comments

Loading…

Similar plugins

DSH_Plugin_Taffy

A Taffy mood mascot for the DeepSeek Harness Web UI: the corner GIF reacts live to agent state — approval pending / approved / rejected / begging, thinking, tool runs, interrupts, ask_user_question wa

Just for FunManifest valid

★ 0

dsh plugin --profile web add dsh-taffy-mood

by Yuuyuko-uu

给 AI 伙伴一个会自己判断、你看得见的心情 —— 每轮聊完自动判断涨跌,右下角挂饰看数值、情绪和时间线

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 181

MIT

JavaScript

Oct 29, 2026

dsh plugin --profile web add dsh-feiyu-mood

by JMX-4869

给 DeepSeek Harness 加一层心情:22 种心情各自持有数值,每 3~6 小时自动判定,注入提示词影响回复语气和内心话。附带每日心情日记、可自配来源的时事、可选的主动开口。

Terminal & ClientsManifest valid

★ 4

↓ 97/wk

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-mood

by StarterMonk

DeepSeek Harness plugin converted from ayghri/i-have-adhd: ADHD-friendly output shaping that takes effect in a single session, never globally.

Tools & CapabilitiesSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add dsh-adhd-session-mode

by cspyz

Keep the agent terse: four adjustable levels plus independent switches for reasoning effort, web search and subagents, on the conversation header and in Settings. No output ceiling.

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 2

MIT

JavaScript

Oct 1, 2026

dsh plugin --profile web add dsh-terse-mode

Replaces the DeepSeek Harness sidebar with a fixed 2x4 board of eight standing agent seats — each seat shows its own status, latest tool call, reasoning and result; a settings switch restores the stock sidebar.

UI & ExperienceManifest valid

★ 1

NOASSERTION

JavaScript

dsh plugin --profile web add dsh-agent-grid