Skip to content

Nion 0.8.4

Latest

Choose a tag to compare

@Echoer009 Echoer009 released this 27 Jul 16:32

新功能

  • AI 对话上下文管理:用 /隐藏 N/显示 N/隐藏 all(或 /hide/show)等斜杠命令控制发给 AI 的对话轮数,被排除的早期消息变灰显示、不再进入上下文,显著降低 token 消耗;在输入框输入 / 时会内联弹出命令补全
  • 笔记编辑器重构:移除 Markwon 依赖,改为编辑/预览切换模式(编辑态为纯文本输入、预览态调用 MarkdownText 渲染),解决实时渲染时语法符号残留的问题
  • 笔记型清单:AI 创建清单时支持 checklist_type="notebook",可区分任务型与笔记型清单

修复

  • 每日任务完成:修复当任务 reminder 为空或日期格式异常时,点击「知道了」后任务未被标记完成的问题。Rust 侧改为先标记完成再计算下一天日期,Kotlin 侧增加异常降级双保险,并修复完成后任务列表界面不刷新的问题

New Features

  • AI conversation context management: slash commands like /隐藏 N, /显示 N, /隐藏 all (/hide, /show) control how many turns of conversation are sent to the AI. Excluded earlier messages are grayed out and kept out of context to significantly cut token usage. Typing / in the input bar brings up inline command autocomplete.
  • Notebook editor rework: removed the Markwon dependency in favor of an edit/preview toggle (plain-text edit mode + Markdown-rendered preview via MarkdownText), fixing syntax-symbol residue from live rendering.
  • Notebook-style checklists: the AI can now create notebook checklists via checklist_type="notebook", distinguishing task checklists from notebook checklists.

Fixes

  • Daily task completion: fixed tasks not being marked done when their reminder is null or the date format is invalid after tapping "Got it". The Rust side now marks the task done before computing the next day, with a Kotlin-side exception fallback as a second safety net. Also fixed the task list UI not refreshing after completion.