Skip to content

Kokoro Engine v0.3.1

Latest

Choose a tag to compare

@chyinan chyinan released this 11 Jul 14:00
· 8 commits to main since this release

中文

概览

v0.3.1 覆盖了 v0.3.0 之后的全部功能新增与修复,重点是官方 QQ 机器人接入、OpenAI Responses API 支持、记忆衰减清理稳定性,以及 macOS DMG 打包可靠性。

新增功能

  • 新增官方 QQ 机器人平台接入,支持私聊消息和群聊 @ 消息,并通过 QQ Bot API 返回文本回复。
  • 新增 QQ 机器人授权弹窗与访问白名单管理;首次收到未授权用户或群组的消息时,可以直接在应用内允许或拒绝访问。
  • 新增 QQ 机器人 AppID、AppSecret、角色绑定和访问策略配置,并支持通过 QQBOT_APP_IDQQBOT_APP_SECRET 环境变量提供凭据。
  • 新增 OpenAI Responses API 提供商,支持流式文本、工具调用、多轮消息以及 Responses 兼容服务端点。
  • OpenAI Responses API 默认使用 store: false,继续由 Kokoro Engine 在本地管理会话历史和工具执行;现有 OpenAI-Compatible 配置不会被自动迁移。

修复

  • 修复记忆衰减清理在删除过期记忆时可能触发的运行时崩溃。
  • 修复 macOS 发布工作流缺少 create-dmg 的问题,提高 DMG 构建成功率。

其他更新

  • 移除因外部 API 账号停用而不可用的 PR 自动审查工作流和脚本。
  • 将 README 中的 Star History 改为仓库内静态图片,避免外部图表嵌入不稳定。
  • 新增 OpenAI Responses API 配置与回退文档。
  • 升级应用版本号:0.3.0 -> 0.3.1

兼容性说明

  • 如果需要降级到不支持 Responses API 的旧版本,请先在当前版本中移除或禁用 openai_responses 提供商配置。

完整变更


English

Overview

v0.3.1 includes all additions and fixes since v0.3.0, focusing on official QQ Bot integration, OpenAI Responses API support, memory-decay pruning stability, and more reliable macOS DMG packaging.

New Features

  • Added official QQ Bot integration with support for C2C messages and group mention messages, returning text replies through the QQ Bot API.
  • Added an in-app QQ Bot authorization dialog and access allowlist management so first-time users and groups can be approved or rejected directly in Kokoro Engine.
  • Added QQ Bot AppID, AppSecret, character binding, and access-policy settings, with QQBOT_APP_ID and QQBOT_APP_SECRET environment variable support.
  • Added an OpenAI Responses API provider with streaming text, tool calls, multi-turn messages, and Responses-compatible endpoint support.
  • The OpenAI Responses API provider uses store: false by default, leaving local conversation history and tool execution under Kokoro Engine's control; existing OpenAI-Compatible providers are not migrated automatically.

Fixes

  • Fixed a runtime panic that could occur while pruning expired memories during memory decay.
  • Fixed the macOS release workflow by installing create-dmg, improving DMG build reliability.

Other Updates

  • Removed the PR auto-review workflow and script after its external API account became unavailable.
  • Replaced external Star History embeds in the READMEs with a repository-hosted static image.
  • Added configuration and rollback documentation for the OpenAI Responses API provider.
  • Bumped the app version from 0.3.0 to 0.3.1.

Compatibility Notes

  • Before downgrading to a version without Responses API support, remove or disable the openai_responses provider entry in the current version.

Full Changelog