863683348/dsh-plugin-local-life0

dsh-plugin-local-life

用于 DeepSeek Harness 智能体的本地生活工具包:预算规划、账单平分、单价与折扣计算、常用单位转换以及旅行/郊游自查清单。

AI 分析

核心用于处理日常生活的数学计算与规划,如记账分摊、折扣对比、传统单位转换及出行清单。适合需要AI辅助管理日常生活琐事、进行日常计算的用户。

套件
dsh-plugin-local-life
版本
0.1.0
授權
MIT
最近更新
2026年8月17日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 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 
 add dsh-plugin-local-life

Restart DSH. The local_life tool is registered host-wide.

Tool

actionpurpose
budgetMonthly budget plan from income and category amounts/percentages, with savings and leftover
splitSplit a bill equally or by weights, optional tip and rounding
priceUnit-price comparison (e.g. price per kg / per 100g)
discountPercent-off or amount-off (with threshold) math
convertUnit conversion — weight (斤/kg/磅), length (里/km/尺/英里), volume (L/加仑), temperature (°C/°F)
checklistTrip/outing checklist by scenario (city / airport / outdoor / self-drive)

Config

All optional, on the composition row's config:

keydefaultmeaning
personaSectiontrueregister the local-life prompt-guidance section
sectionOrder6prompt 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