Skip to content

v0.2.0

Choose a tag to compare

@XiaoFeng7418 XiaoFeng7418 released this 20 Nov 02:27
· 9 commits to main since this release

v0.2.0 — 本地斜杠命令 / 轻量语气档 / 按需联网

新增(中文)

  • 零 Token 本地斜杠命令:/chat(状态 / help / savings / save)、/tone web|empty|concise|creative|custom、/temp 0-1.5|auto|off、/web on|off、/think on|off|low|high|max|auto;命令在本地执行,不产生模型请求。
  • concise 与 creative 语气:concise 先给结论、能一句不说三句;creative 多联想多思路,并默认联动温度 1.28(/temp 手动锁定则尊重手动值)。
  • 按需联网:默认关闭时请求体没有任何联网工具;/web on 只额外提供 web_search 与 web_fetch,实测约 +455 input tokens。
  • 预设内隔离的联网通道:preset-chat 内挂隔离的 @deepseek-ai/dsh-web,默认 deepseek-official(模型调用触发的搜索只计 token、不按次收费)+ http 抓取,不影响 Standard 或全局设置;~/.dsh/chat-mode.json 的 webSearchProvider 可选 inherit 跟随宿主。
  • 思考档位:/think 直接对齐 DeepSeek 网页端深度思考,on = high;思考开启时不发送 emperature,关闭后恢复发送。
  • 工程门面:GitHub Actions CI(typecheck + test)、CHANGELOG.md、README 徽章与命令文档。

Added (English)

  • Local, zero-token slash commands: /chat, /tone, /temp, /web, /think.
  • New concise and creative tones; creative pairs with temperature 1.28 unless /temp pins one.
  • Opt-in web tools: web_search + web_fetch only when /web on (about +455 input tokens); no web tool at all when off.
  • Isolated web runtime inside the preset (deepseek-official search + local http fetch), leaving Standard and global settings untouched.
  • /think maps to DeepSeek reasoning levels (on = high); temperature is never sent while thinking is on.

修复 / Fixed

  • 会话内 /temp 覆盖持久化的请求头温度;思考模式下彻底剥离 emperature 字段。
  • 每轮掩蔽不会误伤本插件自己的 web_search / web_fetch。
  • 会话状态按 session.id 键控,多个会话的语气 / 联网 / 温度互不影响。

c.1 兼容:改用 pre-step /
equest 路径,不依赖 �gent/inbox/claimed。

  • /temp 空参数不再被当成 0;损坏的 ~/.dsh/chat-mode.json 不会让插件启动失败。

说明 / Notes

  • 安卓 DSH Go(App 1.1.0 / 1.2.0,内置引擎 �.2.2-rc.1)已实机验证 /web on 联网搜索与引用渲染;
    c.1 下仍可能残留其他插件注入的少量工具或上下文。

c.5 在关闭工具时请求体会出现空 "tools": [](约 15 字节、无任何 schema),属引擎层行为。

  • �0.1.3 Release 保持不动。