Skip to content

Releases: AoharuCat/Closure

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 22 Sep 14:52

v0.4.0

本版把「多智能体」补成 Closure 的一条主线:对话中的 AI 可以把任务交给后台子代理并行执行,主对话零中断、随时可看可停。配套地,材料库可以直接在线导入(wiki 词条、批评文章),用量台账补齐全调用面并新增月度预算,模型网关获得熔断保护与整组预设。

新功能 / New Features

  • Agent 面板:后台子代理——对话中把调查/长任务派给后台子代理并行执行(每项目至多 3 个),主对话不中断;「后台任务」条实时显示状态与耗时,可取消、可点开只读检视子会话完整过程
  • Agent 面板:子代理结果三通道——完成时弹通知、自动唤醒主对话汇报、或静默记账,派发时任选;应用重启后未完成的任务如实标注「已中断」
  • 材料库:在线导入——URL 直贴或关键词搜索(萌娘百科等 wiki 词条、批评文章页),自动抽取正文、按来源(社区/原作/批评)预填出处,同链接重复导入幂等
  • 手艺卡:讲法来源徽章——蒸馏产出的讲法在人审页标注来自社区 wiki、原作还是批评文章
  • 用量面板:全调用面计量——嵌入/重排/生图调用入账并按任务标签分账(知识库检索/索引/生图等),生图行显示张数;Antigravity CLI 重试与降级逐次尝试记账,不漏不重
  • 用量面板:月度预算——设置软/硬双线(¥),面板显示月度进度与状态色,过线一次性提醒;触及硬线时新调用被拦并如实入账
  • 模型配置:任务档多套预设——整组模型指派一键保存/切换/删除,当前状态显示预设名或「自定义」
  • 模型网关:熔断保护——同一模型短时间内连续失败自动进入冷却跳过,回退链不再反复撞死端点;冷却结束自动探针恢复
  • Antigravity CLI:桥车道工具能力对等——桥会话内可调用 Closure 的本地写作工具(读文件、检索、写章等),工具失败如实呈现

修复 / Fixed

  • Agent 页:CLI 模型徽标与桥授权状态矛盾修正——授权后显示「CLI · 工具经 MCP 桥」
  • 桥会话:隔离假宿不再复制 CLI 历史日志(防体积膨胀与隐私泄漏)
  • 设置:对话框打开期间的校验提示不再被遮罩盖住
  • Agent 面板:桥警示条随回合结局收敛——被纠正续跑救回的成功回合不再挂着「离开写作工具族」警示
  • 版本管理:并发提交串行化保护——多任务同时提交版本不再互相孤儿化
  • 用量面板:保留窗不足一个月时,月度累计如实标注「仅覆盖近 N 天」

已知限制 / Known Issues

  • 后台子代理、在线导入、月度预算已过全量自动化测试,完整真机验收进行中;遇到问题请提 issue

This release rounds multi-agent support into a mainline of Closure: the AI in your conversation can now hand tasks to background sub-agents running in parallel — the main dialog never blocks, and you can watch or stop them anytime. Alongside it, the materials library gains online import (wiki entries, critique articles), the usage ledger now meters every call type and adds a monthly budget, and the model gateway gains circuit-breaker protection and assignment presets.

New Features

  • Agent panel: Background sub-agents — dispatch research or long-running tasks to background sub-agents from the conversation (up to 3 per project) without interrupting the dialog; the "Background Tasks" bar shows live status and elapsed time, with cancel and a read-only drill-in view of the sub-agent's full session
  • Agent panel: Three delivery channels for sub-agent results — toast notification, auto-wake the dialog to report, or silent ledger, chosen at dispatch time; unfinished tasks are honestly marked "interrupted" after an app restart
  • Materials library: Online import — paste a URL or search by keyword (wiki entries such as Moegirl, critique articles); body text is extracted automatically, provenance pre-filled by source tier (community / original / criticism), and re-importing the same link is idempotent
  • Craft cards: Teaching source badges — distilled teachings are badged on the human-review page as coming from a community wiki, the original work, or criticism
  • Usage panel: Full-call-surface metering — embedding / rerank / image-generation calls are now metered and broken down by task label (KB retrieval, indexing, image gen, etc.), with image rows showing counts; Antigravity CLI retries and degradations are metered per attempt, neither missed nor double-counted
  • Usage panel: Monthly budget — set soft/hard caps (CNY); the panel shows monthly progress with status colors and one-time over-line reminders; new calls are blocked and honestly metered once the hard cap is hit
  • Model config: Task-model presets — save / switch / delete whole model assignment sets in one click; the current state shows the preset name or "Custom"
  • Model gateway: Circuit breaker — a model failing repeatedly within a short window enters an automatic cooldown and gets skipped, so fallback chains stop hammering a dead endpoint; a probe restores it after cooldown
  • Antigravity CLI: Bridge-lane tool parity — bridge sessions can call Closure's local writing tools (file reading, search, chapter writing, etc.), with tool failures reported faithfully

Fixed

  • Agent panel: CLI model badge vs. bridge authorization contradiction fixed — shows "CLI · tools via MCP bridge" once authorized
  • Bridge sessions: The isolated fake home no longer copies CLI history logs (size bloat and privacy)
  • Settings: Validation toasts are no longer hidden behind the dialog overlay
  • Agent panel: Bridge warning strips now settle with the turn's outcome — a successful turn rescued by correction no longer keeps a "left the writing toolset" warning
  • Versioning: Concurrent commits are serialized — simultaneous version commits no longer orphan each other
  • Usage panel: When the retention window is shorter than a month, the monthly total honestly notes "covers only the last N days"

Known Issues

  • Background sub-agents, online import, and the monthly budget have passed the full automated test suite; complete real-machine verification is in progress — please file issues if you hit anything.

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 19 Sep 15:03

本版是修复专项:把 Antigravity CLI 接入从「能接上」推到「能稳定用」——补上项目内检索/列目录的正路、把调用内置工具被拒导致的空回合改造成可观测可救援,并修掉一批会静默失败或给出错误归因的地方。

新功能 / New Features

  • 模型配置:Antigravity CLI 密钥状态探测——启动自动连通性检查 + 手动「测试连接」,凭据失效时状态行常驻并有提示
  • 模型配置:Antigravity CLI 支持自定义 agy 可执行路径(留空自动探测默认安装位置)
  • Agent 页:Antigravity CLI 模型带形态标识(CLI · 无工具调用)
  • Antigravity CLI:补入项目内检索与列目录——模型现在能直接回答「项目里哪里有 X」「这个目录下有什么」,不再绕道调用会被拒的内置工具
  • Antigravity CLI:模型离开写作工具族时给出可见提示(含调用的是哪个工具);这类调用导致空回合时,系统注入纠正并续跑,把该轮救回
  • 设置:Closure 文本 Agent 卡片——纯文本调用挂载写作人设 agent,可开可关,带文件状态与启动对账
  • 诊断:Antigravity CLI 日志观测——会话的 agent 加载状态写入应用日志

修复 / Fixed

  • 知识库:向量索引维度漂移自愈——换嵌入模型后不再常驻「向量检索降级中」
  • 蒸馏:中断残留的「运行中」台账启动自动对账——状态条不再永挂
  • Antigravity CLI:认证失效不再以「空响应」收场,改为可读错误 + 终端重新登录指引
  • Antigravity CLI:修复调用内置工具被拒时的错误归因——不再把拒绝原因说错
  • Antigravity CLI:修复一处导致整条通道在生产不可用的路径校验缺陷
  • Antigravity CLI:修复授权被拒时的错误归因——不再把授权问题误报成「工具被拒」
  • 文件工具:读取越界不再静默返回空内容,改为带总行数与回退上界的提示;新增翻页续读信号(并送进模型可见面)
  • 文件工具:列目录/检索的路径校验强度对齐——项目内符号链接不再把项目外内容带出来
  • 模型配置:参数越界被拒时的提示改为可见(原先渲染在视口外,用户只见「点了没反应」)
  • 设置:Antigravity CLI 会话占用时的关闭提示改为如实说明释放条件
  • 品牌:运行时兜底提示词的人设由 Orison 更正为 Closure(可露希尔)

已知限制 / Known Issues

  • Antigravity CLI 目前无法派发写作链与规划员:它只能调用受控的工具子集,「写章链」与规划员派发等工具对它不可达。表现为——让对话模型「写第一章」时,它会把正文直接写在对话里,而不会触发写章链(写作页时间线不会亮)。该能力正在开发,下一版补。
  • Antigravity CLI 下模型仍可能尝试调用 agy 内置工具,这类调用会被无头权限拒绝;系统会注入纠正并重试一次,但仍可能失败。

This release is the fourth dogfood round's fix batch: it takes the Antigravity CLI integration from "it connects" to "it holds up" — adding the proper in-project search and directory-listing path, turning the empty-turn failures caused by denied built-in tool calls into something visible and recoverable, and fixing a set of places that failed silently or blamed the wrong cause.

New Features

  • Model settings: Antigravity CLI credential probe — connectivity is checked automatically at startup, plus a manual "Test connection"; a dead credential shows a persistent status row and a notice
  • Model settings: Antigravity CLI accepts a custom agy executable path (leave blank to auto-detect the default install location)
  • Agent page: Antigravity CLI models carry a form badge (CLI · 无工具调用)
  • Antigravity CLI: in-project search and directory listing are now available — the model can answer "where is X in this project" and "what is in this directory" directly, instead of falling back to built-in tools that get denied
  • Antigravity CLI: leaving the writing toolset now produces a visible notice (naming the tool it tried); when such a call empties the turn, the system injects a correction and continues the turn, recovering it
  • Settings: Closure text agent card — the plain-text lane mounts a writing-persona agent, toggleable, with file state and startup reconciliation
  • Diagnostics: Antigravity CLI log observation — the session's agent-loaded state is written to the app log

Fixed

  • Knowledge base: vector index dimension drift now self-heals — switching embedding models no longer leaves a permanent "vector search degraded" banner
  • Distillation: a "running" ledger row left by an interrupted run is reconciled at startup — the status strip no longer hangs forever
  • Antigravity CLI: an expired credential no longer ends as an "empty response"; it now reports a readable error with terminal re-login guidance
  • Antigravity CLI: fixed the misattributed error when a built-in tool call is denied
  • Antigravity CLI: fixed a path-validation defect that made the whole lane unusable in production
  • Antigravity CLI: fixed the misattributed error when authorization is denied — an authorization problem is no longer reported as "tool denied"
  • File tools: reading past the end of a file no longer silently returns nothing — it reports the total line count and the usable range; added a continuation signal (and made it visible to the model)
  • File tools: directory listing and search now validate paths as strictly as file reads — in-project symlinks can no longer reach content outside the project
  • Model settings: out-of-range parameter values now show a visible notice when rejected
  • Settings: the close-bridge notice shown while a session is active now states the real release condition
  • Branding: the runtime fallback prompt's persona is corrected from Orison to Closure

Known Issues

  • Antigravity CLI cannot dispatch the writing chain or the planner agents right now: it can only call a restricted tool subset, so tools such as the chapter-writing chain and planner dispatch are unreachable for it. In practice — asking the dialogue model to "write chapter one" makes it write the prose straight into the chat, without triggering the writing chain (the writing page timeline stays empty). This capability is under development and will land next release.
  • Antigravity CLI models may still attempt to call agy built-in tools; such calls are denied by headless permissions. The system injects a correction and retries once, but the turn may still fail.

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 19 Sep 01:26

Closure v0.3.1 —— 多系统支持整条线:三平台从「能打包」升级为「能运行」,CI 全链机械验证 + 启动冒烟,随批修复一批跨平台缺陷。

本次更新

  • 多系统支持:Windows / macOS / Linux 理论可运行全链——每次推送即证三平台构建、测试与启动冒烟
  • 磁盘命名安全单源:项目与文件树手建名拒绝 Windows 非法名(保留名 / 非法字符 / 超长),章节文件名、导出、图片、材料派生名自动净化
  • Linux 文件监听原生化:外部改动自动刷新,不再降级为手动刷新
  • 文件读取编码归一:GBK 中文文件、CRLF 文件不再乱码或把回车符带进生成链路
  • 修复数据丢失:「移动文件」在 macOS / Linux 上目标已存在会被静默覆盖——现在显式拒绝
  • 修复 macOS 同类误判:默认文件系统大小写不敏感导致的改名 / 提及台账目录判定问题
  • agy 接入增强:macOS / Linux 图形会话 PATH 受限时自动枚举常见安装路径;Windows npm shim 形态给出专用引导;会话临时目录清扫加固
  • 分发扩面:macOS 补 zip、Windows / Linux 补 arm64

平台覆盖

平台 产物
Windows x64 / arm64 Closure-Setup-0.3.1.exe(双架构合一安装包)、Closure-portable-v0.3.1-win-x64.zip
macOS arm64 / x64 dmg 安装镜像 + zip
Linux x64 / arm64 AppImage

已知限制

  • macOS 包未签名:首启需右键打开或终端执行 xattr -cr /Applications/Closure.app;应用内自动更新在签名落地前不可用
  • arm64 产物为机械验证级(CI 全链 + 启动冒烟实证,未真机实测)

完整变更见仓库 CHANGELOG.md。

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 13:27

v0.3.0

v0.2.0 之后的一次大更新:写作页全面改版——写章全程一条时间线,审批和终稿都在写作页就地完成;同时新增 Antigravity CLI 接入、模型自动回退链和应用内用量面板。

新增

  • 写作页全面改版:写章从对话栏发起后,AI 的思考、调查、工具调用、正文流在写作页全程时间线可见;规划与终稿的审批卡就地处理;终稿可直接手改,也可以选中文字让 AI 精修。
  • Antigravity CLI 接入:新增通过 Antigravity CLI(agy)接入对话模型——经 Google 官方通道直连调用 Gemini 系列模型,不经第三方反代中转,密钥与请求数据不经他人之手;订阅配额内成本远低于按 token 计费的 API。配合工具桥,对话模型可在一次性授权后调用 Closure 的写作工具(写章、查设定、资料检索)。
  • 模型自动回退链:设置页可为任务档位配置回退模型——主力模型失败(配额 / 认证 / 超时 / 网关)时自动切换并在对话中提示,消息带「回退自」标记。
  • 用量面板:设置页新增「用量」页:本机调用量的本地计量——按模型 / 按档位分解、估算费用、失败与耗时一目了然;记录按保留窗自动清理,另附官方网页配额外查。
  • 自定义请求头与默认参数:模型配置支持自定义请求头(网关鉴权 / 自建路由)、模型默认参数与额外请求体字段(厂商长尾参数逃生舱)。

改进

  • 拆书引擎一批修复:43 万字真书实测后集中修复——长输出截断自动升帽重试、失败任务可重跑、派生 .md 章标记保全、重新摄取不再显示 0 章假态。
  • 对话前缀缓存:对话链路接入前缀缓存,长对话中重复的上下文不再每次全价重算,更快也更省。

安装包

文件 说明
Closure-Setup-0.3.0.exe Windows 安装包(NSIS,x64)
Closure-portable-v0.3.0-win-x64.zip Windows 免安装版
Closure-0.3.0.dmg macOS Intel(实验性)
Closure-0.3.0-arm64.dmg macOS Apple Silicon(实验性)
Closure-0.3.0.AppImage Linux 免安装版(实验性)

安装包未签名,Windows 首次运行可能触发 SmartScreen 提示,选择「更多信息 → 仍要运行」即可。

Closure 仍处于 Alpha 阶段,功能与界面可能调整,遇 bug 欢迎带复现步骤提 issue,或加入 QQ 群 1106823246 交流。

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 06 Sep 03:25

v0.2.0

v0.1.1 之后最大的一个功能更新:拆书引擎整条线上线——把读过的小说、剧本、字幕导入 Closure,拆解成可复用的写作知识。同时对话框支持上传文件和图片了。

新增

  • 对话框可传文件与图片:对话框新增「上传文件…」——文档(txt / docx / pdf 等)自动解析后作为参考资料进入对话;图片交给具备视觉能力的模型识别,识图进度实时可见。
  • 材料库:侧边栏新增「材料」页。批量导入外部作品——txt / docx / pdf / epub 以及 srt / ass / vtt 字幕等常见格式,自动识别章节结构并建立全文索引。每份材料带质量标记与出处信息,支持导入历史与批量管理。
  • 拆书:侧边栏新增「拆书」页。选一本导入的小说,按档位与维度跑拆解管线:提取事实设定(世界观 / 人物 / 势力等),生成读法、章评与细批,分析风格特征;关键节点停下来等你人工把关。风格分析可导出为风格卡,之后写章直接参考。
  • 经验蒸馏:材料中的写作经验可切条提炼,经人工审核沉淀为「手艺」页的手艺卡,与内置知识库一样可被写手、导演、审核查证引用。

安装包

文件 说明
Closure-Setup-0.2.0.exe Windows 安装包(NSIS,x64)
Closure-portable-v0.2.0-win-x64.zip Windows 免安装版
Closure-0.2.0.dmg macOS Intel(实验性)
Closure-0.2.0-arm64.dmg macOS Apple Silicon(实验性)
Closure-0.2.0.AppImage Linux 免安装版(实验性)

安装包未签名,Windows 首次运行可能触发 SmartScreen 提示,选择「更多信息 → 仍要运行」即可。

Closure 仍处于 Alpha 阶段,功能与界面可能调整,遇 bug 欢迎带复现步骤提 issue,或加入 QQ 群 1106823246 交流。

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 30 Aug 14:10

v0.1.1

v0.1.0 之后的第一个功能更新:两个新面板 + 一批写章链稳定性修复。

新增

  • 世界状态面板:侧边栏新增「世界」入口——以世界事件为主线的读面,支持三级缩放(总览 / 时点 / 主体),写章推进时实时刷新,随时回看「世界此刻发生了什么」。
  • 设定页:侧边栏新增「设定」入口——资产卡 8 个类别集中浏览,全字段可编辑,卡片关联文档一键直达(左列表右详情)。
  • 壁纸磨砂强度可调:壁纸磨砂由开/关改为 0–50px 连续可调。

修复

  • 写章链可靠性大修:修复多处挂起链死锁与假中断(leader 忙时自家任务挂起、完成事件竞态被误判中断等);新项目首章冷启动双保险——章节空状态可直接「新建第一章」,链侧自动建章兜底。
  • 稳定性:修复个别情况下应用启动后整个界面无响应的问题(预加载脚本崩溃);修复章节头部信息在特定富文本内容下的兼容问题;项目注册库打开失败时现在给出明确弹窗提示。
  • 总览页世界观摘要回退正确数据来源。

安装包

文件 说明
Closure-Setup-0.1.1.exe Windows 安装包(NSIS,x64)
Closure-portable-v0.1.1-win-x64.zip Windows 免安装版
Closure-0.1.1.dmg macOS Intel(实验性)
Closure-0.1.1-arm64.dmg macOS Apple Silicon(实验性)
Closure-0.1.1.AppImage Linux 免安装版(实验性)

安装包未签名,Windows 首次运行可能触发 SmartScreen 提示,选择「更多信息 → 仍要运行」即可。

Closure 仍处于 Alpha 阶段,功能与界面可能调整,遇 bug 欢迎带复现步骤提 issue,或加入 QQ 群 1106823246 交流。

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Aug 01:32

Closure 首个公开发布 🎉

以 OrisonSpace(Apache-2.0)为基底的 AI 小说创作 IDE,叠加叙事操作系统层:多线叙事结构、结构工作台、信息差操控、世界事件系统、情绪闭环、双层审核漏斗、修订保义、百万字长程供给、去 AI 味引擎(llmlint)、任务型模型路由、风格卡、联网研究。

用户主导创意、AI 执笔与自查——每一处 AI 改动都可预览、可对比、可回退。

⚠️ 早期开发阶段(Alpha):功能与界面都可能变化,可能遇到各种奇怪的 BUG。遇到请提 Issue,附上复现步骤与应用内「复制诊断」输出。Windows 优先;macOS / Linux 产物尚未充分实测(实验性)。

安装包

文件 说明
Closure-Setup-0.1.0.exe Windows 安装包(NSIS,x64)
Closure-portable-v0.1.0-win-x64.zip Windows 免安装版(解压即用)
Closure-0.1.0.dmg macOS Intel(实验性)
Closure-0.1.0-arm64.dmg macOS Apple Silicon(实验性)
Closure-0.1.0.AppImage Linux 免安装可执行(实验性)

未签名安装包首次运行会有 SmartScreen 提示(更多信息 → 仍要运行)。

交流

QQ 群 1106823246(问题反馈、使用交流、催更路线图)