全部插件

dsh-plugin-local-life

dsh-plugin-local-life · 版本 0.3.2 · 更新于 2026年11月29日

面向 DeepSeek Harness Agent 的日常生活工具包,涵盖预算、账单分摊、单价、折扣、单位换算和出行清单,帮助准确完成日常计算。

  • 逐版审核
  • 工具能力
  • MIT
  • 0次下载

说明

以下为插件作者提供的原文。

dsh-plugin-local-life

面向 DeepSeek Harness agent 的本地生活工具包:预算规划、账单分摊、单价换算、折扣计算、单位换算与出行清单。日常算术,交给插件。

安装

sole plugin --profile <profile> add dsh-plugin-local-life

重启 DSH 后,local_life 工具全局注册。

工具

动作用途
budget月度预算:收入按类别(金额或百分比)分配,含储蓄与结余
split账单分摊:均分或按权重,支持小费与取整
price单价换算(如每公斤 / 每 100 克多少钱)
discount折扣计算:百分比折扣或满减(带门槛)
convert单位换算 —— 重量(斤/公斤/磅)、长度(里/公里/尺/英里)、容量(升/加仑)、温度(°C/°F)
checklist出行清单(city / airport / outdoor / self-drive)
ledger记账流水汇总(分类/月度合计)
loan贷款分期(等额本息/等额本金、月供与总利息)

配置

均为可选项,写在组合行的 config 里:

键默认值含义
personaSectiontrue是否注册本地生活提示词段
sectionOrder6提示词段顺序(persona 为 0,升序)

设计

纯逻辑(lib/local.js)零 DSH/Cordis 依赖、可独立单测;lib/index.js 是薄 Cordis 壳。无文件系统访问,全部确定性、无副作用。

License

MIT

版本历史

  • 0.3.22026年11月29日 · 57 KB
dsh-plugin-local-life · SoleAPI Agent 插件 | SoleAPI