863683348/dsh-plugin-local-life

Local-life toolkit for DeepSeek Harness agents: budget planning, bill splitting, unit-price and discount math, common unit conversions (incl. jin/li/chi, C/F), and trip/outing checklists

Bundle 已验证 MIT JavaScript 未知
Bundle 已验证

已收录

0

Tools

Bundle 已验证

版本未知
语言JavaScript
许可证MIT
在 GitHub 查看

预览

功能介绍

为 DSH agent 提供本地生活工具包:预算规划、账单分摊、单价与折扣计算、常用单位换算(斤/里/尺、摄氏/华氏、升/加仑)与出行清单。

适合

  • 需要计算月度预算、账单分摊、折扣、单价或贷款计划的家庭和个人。
  • 需要常见中外单位换算或按场景生成出行清单的旅行者和购物者。

不适合

  • 不适合需要实时价格、路线、可用性或本地商户数据的流程,因为该工具包是确定性的且不访问外部数据。
  • 不适合超出文档所述计算与规划工具范围的复杂税务、保险或个性化财务建议流程。

README

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.

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

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.

常见问题常见问题

在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:863683348/dsh-plugin-local-life。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。