dsh-plugin-local-life
Manifest validLocal-life toolkit for DSH agents: budget planning, bill splitting, unit-price and discount math, common unit conversions (jin/li/chi, C/F, L/gallon), and trip checklists.
dsh-plugin-local-life
A local-life toolkit for DeepSeek Harness agents: budgets, bill splitting, unit prices, discounts, unit conversions, and trip checklists. Everyday arithmetic, done right.
Compatibility
Tool schemas are validated against the @deepseek-ai/dsh-tools value-schema DSL at plugin load (checked against dsh-tools 0.1.0-rc.6 and 0.1.1-rc.2). Earlier releases used JSON-Schema required at the root of output.schema and closed nested objects without declared properties, which made the host abort the whole profile boot with unsupported JSON schema: schema.required is not supported by the value schema DSL and could reject the tool's own results. Current releases fix both; if an affected version left your DSH unable to start, remove the plugin from the profile (or upgrade) — no data is lost.
Install
dsh plugin --profile <profile> add dsh-plugin-local-life
Restart DSH. The local_life tool is registered host-wide.
Tool
| action | purpose |
|---|---|
budget | Monthly budget plan from income and category amounts/percentages, with savings and leftover |
split | Split a bill equally or by weights, optional tip and rounding |
price | Unit-price comparison (e.g. price per kg / per 100g) |
discount | Percent-off or amount-off (with threshold) math |
convert | Unit conversion — weight (斤/kg/磅), length (里/km/尺/英里), volume (L/加仑), temperature (°C/°F) |
checklist | Trip/outing checklist by scenario (city / airport / outdoor / self-drive) |
ledger | Expense-ledger summary — totals by category and month |
loan | Loan amortization — equal-payment or equal-principal schedules, monthly payment and total interest |
compare | Spec-normalized unit-price comparison and stacked discounts/thresholds |
recipe_cost | Recipe cost from ingredients — total and per-serving |
Config
All optional, on the composition row's config:
| key | default | meaning |
|---|---|---|
personaSection | true | register the local-life prompt-guidance section |
sectionOrder | 6 | prompt section order (persona is 0, ascending) |
Design
Pure logic (lib/local.js) has zero DSH/Cordis imports and is unit-tested in isolation; lib/index.js is the thin Cordis plugin wiring the tool and the prompt section. No filesystem access — deterministic and side-effect free.
License
MIT
Roadmap
See ROADMAP.md — next five versions (v0.2.0 – v0.6.0): ledger & loans, shopping compare & recipe cost, bills calendar & shared ledger, commute & insurance compare, annual report & daily briefing.
Comments
Loading…
Similar plugins
by Zenjibad
Live llmtrim savings dashboard in the DSH web UI: Settings page with paid, would-have-cost, saved-today and saved-this-week cards plus per-model breakdown, and a configurable rotating or static stats
★ 2
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add llmtrim-stats-pluginby 121212165
dsh plugin: live usage meter — per-session token/turns/cost tracking injected into the system prompt, /qm panel, quota_meter card tool; also the family's universal plugin-development test template
★ 0
MIT
TypeScript
Oct 7, 2026
dsh plugin --profile web add dsh-plugin-quotaby Ayowait
DSH ??????????:????????????????Token ?????
★ 1
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add dsh-usage-insightsby Jannchie
Cost tracking priced from an online catalogue (models.dev + OpenRouter, 8000+ models, each call priced at its own instant): a per-turn cost line, a Cost tab attributing spend to tool output / model ou
★ 8
↓ 857/wk
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add dsh-billby openplancc
Cost policy plugin for DeepSeek Harness: per-call metering plus an offline fuse that enforces budget, model and reasoning-effort limits before any token is spent.
★ 0
↓ 231/wk
MIT
TypeScript
Sep 12, 2026
dsh plugin --profile web add @openplan/dsh-fuseby Synapse-ACh
DSH Web plugin: subagent token usage and CNY cost in the composer dock, grouped by parent turn · DSH 网页插件:输入框工具条上统计子智能体 token 用量与人民币花费,按 turn 分组
★ 1
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add dsh-subagent-cost