- Home
- Plugin
- Utilizzo e fatturazione
- dsh-minato
dsh-minato
sakanamaru/dsh-minato
Bridge facoltativo in sola lettura che pubblica le statistiche aggiornate di sessioni e token dsh in un unico snapshot JSON, consultabile dal toolkit autonomo dsh-minato.
Installazione
dsh plugin --profile web add github:sakanamaru/dsh-minatoREADME
dsht
A single self-contained Windows executable that looks after a DeepSeek Harness install from the outside: it diagnoses the failures that leave the desktop app unable to update or start, and it will grow a small always-on-top status overlay.
Unofficial. Not affiliated with DeepSeek. No telemetry, no network calls.
Why an external tool at all
dsh plugins run inside dsh, which means they are unavailable exactly when they are needed most: when the app will not start, when an update rolls back, or when the installer cannot replace files that are still held open. Those failures happen outside the plugin sandbox, so the tool that explains them has to live outside it too.
The upstream reports this tool targets: discussion #3959
(the updater replaces node.exe before the backend exits) and
discussion #12988
(MoveFileExW fails with Windows error 32, ten retries, then rollback).
Commands
dsht diag [--json] [--dir <path>] [--updater <path>]
Read-only diagnosis of a desktop install.
dsht port [--port <n>]
Is the web port listening, and which dsh processes are running.
dsht hud [--position X,Y] [--scale 100-300]
Always-on-top status overlay: sessions, context pressure, tokens, project.
dsht hud --preview out.png render the same scene to an image
dsht hud --dump print the four lines and the snapshot path
dsht hud --selftest verify the window contract
dsht scan|repair|backup|profile|log
Reserved. They exit with code 3 today.
Exit codes: 0 no problems found, 1 problems found, 2 usage, 3 unsupported.
What a diagnosis looks like
dsht diag
install : C:\Users\<user>\AppData\Local\Programs\DeepSeek Harness
version : 0.2.2-rc.5 (electron 44.7.0)
updater : Pending staged=0.2.2-rc.5
[ok] main-exe Main executable present
[..] app-running The app is running (10 process(es))
Normal. If an update fails with a file-in-use error, quit the app first,
including its tray icon.
-> Quit DeepSeek Harness from the tray icon, then retry the update.
[ok] updater-staged A staged installer is present and not newer than the installed build
verdict: no problems detected (diagnosis only; start the app to confirm it works)
Build and test
dotnet build src/Dsht.Toolbox/Dsht.Toolbox.csproj -c Release
dotnet run --project tests/Dsht.Toolbox.Tests -c Release
# Self-contained single file, no runtime needed on the target machine
dotnet publish src/Dsht.Toolbox/Dsht.Toolbox.csproj -c Release -r win-x64 `
--self-contained true -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true -o out
The rules this project runs on
docs/SCOPE.md is a contract, not a wish list: at most eight subcommands, each with core
logic under 300 lines and at least one assertion that fails if the behaviour disappears, and
anything without usage evidence after eight weeks is deleted.
docs/ARCHITECTURE.md explains the shape (pure core, one side-effect interface, one renderer),
and docs/REVIEW.md is the reviewer's entry point, including how to exercise the repair path
against a fixture instead of a live install.
Status
diag, port and hud work; the five other commands are reserved and exit 3.
The overlay reads %USERPROFILE%\.dsh\shio-bridge\sessions.json, which the optional
dsh-minato-bridge plugin already writes every three seconds - see docs/SNAPSHOT.md.
Without that plugin the overlay shows unknown rather than hiding the fact.
The repair path was designed, implemented, reviewed, and withdrawn: four independent reviews found that it could delete its own installer, target a sibling installation, and report success without proving repair. The design and the requirements for a future attempt live in docs/REPAIR-DESIGN.md. Nothing in this build changes the machine.
License
MIT
Plugin correlati
DeepSeek-Balance-Whale-Widget
meteornox/deepseek-balance-whale-widget
dsh-context
bowenliang123/dsh-context
dsh-cost-meter
han-1413141/dsh-cost-meter
dsh-damage-pulse
wssfk12138/dsh-damage-pulse