Skip to content

Releases: scientificmaniac/dsh-faremeter

dsh-faremeter v1.3.0

Choose a tag to compare

@scientificmaniac scientificmaniac released this 25 Oct 06:37

更名发布:dsh-turn-cost → dsh-faremeter(给 AI 对话打表)。Renamed release: same plugin, new name.

名字换成「打表器」的意象:token 三档 + 峰谷 = 按里程计价;2026-11-01 起网页搜索/抓取按次计费(¥5/1000 次)= 过路费,同一块表上一笔不漏。
The fare-meter metaphor: token tiers + peak/off-peak are the mileage fare; per-request Search/Fetch billing (¥5 per 1,000) from Nov 1, 2026 is the toll — all on one meter.

安装 / Install

npm(推荐 / recommended):已发布 / Published — https://www.npmjs.com/package/dsh-faremeter

cd $env:USERPROFILE\.dsh\profiles\desktop
npm install dsh-faremeter
# 再把 "dsh-faremeter" 加进 package.json 的 dsh.profile.bundles 数组 / then add "dsh-faremeter" to dsh.profile.bundles

Release 包 / Release bundle:tgz 或 zip 见下方资产 / see assets below;源码 zip 解压后 pwsh -File install-profile.ps1。

装完完全退出并重开 DSH Desktop / Fully quit and restart DSH Desktop after installing.

变更 / Changes

  • 包名 / 仓库 / bundle id / 路由路径 / 诊断句柄全部更名(诊断句柄现为 DSH_FAREMETER)
  • 已安装旧版的用户:卸载 dsh-turn-cost 后重新安装 dsh-faremeter
  • 功能与 1.2.0 完全一致;72 个测试 + 42 个基准向量全绿

dsh-turn-cost v1.2.0

Choose a tag to compare

@scientificmaniac scientificmaniac released this 25 Oct 05:19

对话费用显示插件 · Conversation cost display plugin

新增 Search / Fetch 按次计费(官方公告 2026-10-25,北京时间 2026-11-01 00:00 起生效,之前的调用免费):每次成功请求 ¥0.005(¥5 / 1,000 次),不分峰谷;web_fetch 按成功结果计次,web_search 按子查询数计次(本机实测与真实请求事件数严格一致)。

New: per-request billing for the Search / Fetch APIs (official announcement 2026-10-25, effective 2026-11-01 00:00 Beijing time; earlier calls stay free): ¥0.005 per successful request (¥5 / 1,000), no peak/off-peak distinction. web_fetch is counted on successful tool results; web_search by sub-query count (verified to match real request events exactly).


其他:token 三档计价 + 北京时间峰谷(节假日表);每轮胶囊 / 输入框底部累计 / 侧边栏工作区累计三个显示位全部含 web 费用;四组测试(72 用例)+ 42 个独立 Python 基准向量 + live-ledger 交叉核对。

Also: token billing with cache hit/miss/output tiers and Beijing-time peak/off-peak (holiday-aware); all three display surfaces (per-turn pill, composer dock, sidebar workspace rows) include web costs; four test groups (72 cases) + 42 independent Python baseline vectors + live-ledger cross-checks.

校验 / Checksums (SHA256)

  • dsh-turn-cost-1.2.0.tgz — F2DA1E3B082FEAFCC855D64617B02D04DB5105306944FF33FCEFAC7D12A853DD
  • dsh-turn-cost-1.2.0.zip — A1E9A73860B04CE686BA949F8A3996C5D41BC24EBC5C08848CCB8627F7C02D74

安装 / Install

  • tgz:npm install "<tgz 路径>"(或 DSH 插件本地包安装入口),再把 dsh-turn-cost 加进 profile 的 dsh.profile.bundles。

  • zip:解压后进入目录执行 pwsh -File install-profile.ps1。

  • 装完完全退出并重开 DSH Desktop。

  • tgz: npm install "<path-to-tgz>" (or DSH's local-package install entry), then add dsh-turn-cost to the profile's dsh.profile.bundles.

  • zip: unzip, enter the directory, run pwsh -File install-profile.ps1.

  • After installing, fully quit and restart DSH Desktop.