Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- 让你的骰娘活起来

![License](https://img.shields.io/badge/License-MIT-blue)
![Version](https://img.shields.io/badge/Version-4.15.0-green)
![Version](https://img.shields.io/badge/Version-4.15.1-green)

## 快速开始

Expand Down
4 changes: 2 additions & 2 deletions docs/01-项目概览.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ AI 骰娘4(`aiplugin4`)是运行在 SealDice 上的 JavaScript 插件,为骰娘

## 版本信息

- `src/config/static_config/meta.ts` 中 `VERSION = "4.15.0"`,作者 `baiyu&错误`,插件名 `aiplugin4`。
- `src/config/static_config/meta.ts` 中 `VERSION = "4.15.1"`,作者 `baiyu&错误`,插件名 `aiplugin4`。
- 开发遵循「分支 + squash PR」流程(见 [07-开发指南](07-开发指南.md));近期工作围绕:模型配置 TOML 化、Provider 统一请求(超时/重试/用量上报)、智能体编排重构、MCP/技能、日志治理、消息管线、配套后端独立仓库化等。
- README 顶部徽章与 `VERSION` 保持一致(当前 4.15.0)(详见 [09-注意事项与常见问题](09-注意事项与常见问题.md))。
- README 顶部徽章与 `VERSION` 保持一致(当前 4.15.1)(详见 [09-注意事项与常见问题](09-注意事项与常见问题.md))。

## 环境要求

Expand Down
2 changes: 1 addition & 1 deletion docs/03-核心模块详解.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

### static_config/(静态常量)

- `VERSION`(当前 4.15.0)、`AUTHOR`、`NAME`、`STORAGE_VERSION`、`CONFIG_CACHE_TTL`、`CQ_TYPES_ALLOW`。
- `VERSION`(当前 4.15.1)、`AUTHOR`、`NAME`、`STORAGE_VERSION`、`CONFIG_CACHE_TTL`、`CQ_TYPES_ALLOW`。
- `PRIVILEGE_LEVEL_MAP`:master=100 / whitelist=70 / owner=60 / admin=50 / inviter=40 / user=0 / blacklist=-30。
- `HELP_MAP`、`ALIAS_MAP`(命令别名表)、`FACE_MAP`(QQ 表情编号 → 名称)。
- `PROVIDER_MAP`:10 家厂商的 OpenAI 兼容 base_url。
Expand Down
2 changes: 1 addition & 1 deletion docs/09-注意事项与常见问题.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

## 代码中的已知不一致

- `src/config/static_config/meta.ts` 的 `VERSION` 与 `src/update.ts` 的 `updateInfo` 最新条目需保持一致(当前 4.15.0);`checkUpdate` 按 `VERSION` 比较输出对应更新日志。
- `src/config/static_config/meta.ts` 的 `VERSION` 与 `src/update.ts` 的 `updateInfo` 最新条目需保持一致(当前 4.15.1);`checkUpdate` 按 `VERSION` 比较输出对应更新日志。
- `package.json` 的 `main`/`typings` 指向 `build/index.js`/`build/index.d.ts`,但实际构建产物是 `dist/aiplugin4.js`(esbuild),`build/` 目录是陈旧的 tsc 输出,与构建流程无关。
- `engines.node >= 10` 是模板遗留,实际构建依赖 esbuild,建议使用较新 Node。
- `sub_cmd/sample.ts` 与 `agent/agents/samples.ts` 是开发示例,未注册到运行时。
Expand Down
2 changes: 1 addition & 1 deletion header.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name AI骰娘4
// @author 错误、白鱼
// @version 4.15.0
// @version 4.15.1
// @description 适用于大部分OpenAI API兼容格式AI的模型插件,测试环境为 Deepseek AI (https://platform.deepseek.com/),用于与 AI 进行对话,并根据特定关键词触发回复。使用.ai help查看使用方法。具体配置查看插件配置项。\nopenai标准下的function calling功能已进行适配,选用模型若不支持该功能,可以开启迁移到提示词工程的开关,即可使用调用函数功能。\n交流答疑QQ群:143412516
// @timestamp 1733387279
// 2024-12-05 16:27:59
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aiplugin4",
"version": "4.15.0",
"version": "4.15.1",
"description": "ai plugin for sealdice",
"main": "build/index.js",
"typings": "build/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion sealpack/info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ format_version = "1.0.0"
[package]
id = "error2913/aiplugin4"
name = "AI骰娘4"
version = "4.15.0"
version = "4.15.1"
authors = ["错误、白鱼"]
license = "MIT"
description = "适用于大部分 OpenAI API 兼容格式 AI 的 Sealdice 模型插件,支持对话、记忆、工具调用、MCP/Skills 等。"
Expand Down
2 changes: 1 addition & 1 deletion src/config/static_config/meta.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 静态常量:版本/作者/模型映射表/权限等级/别名/表情表等
export const VERSION = "4.15.0";
export const VERSION = "4.15.1";
export const AUTHOR = "baiyu&错误";
export const NAME = "aiplugin4";

Expand Down
7 changes: 7 additions & 0 deletions src/update.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
// 版本更新日志(updateInfo),供启动时展示更新说明
// 版本更新日志,格式为 "版本号": "更新内容",版本号格式为 "x.y.z",按照时间顺序从新到旧排列。
export const updateInfo: { [version: string]: string } = {
"4.15.1": `## 修复
- 修复 MCP 服务器配置默认值 mcp-files-exec 的 url 缺少 /mcp 路径的问题:默认值修正为 http://127.0.0.1:3910/mcp,与后端 Streamable HTTP 实际路径一致(旧默认值初始化会 404,面板实测 list_dir / read_file 调用正常)
- 自动改名(昵称/群名片)增加 5 秒超时保护:ob11 网络连接依赖请求异常或未响应时不再让整条消息处理链路挂起,超时记 warning 后继续处理
## 配置项更改
- MCP 服务器配置默认值更新:mcp-files-exec 的 url 由 http://127.0.0.1:3910 改为 http://127.0.0.1:3910/mcp
## 重要
- 若面板上已保存过旧的 mcp-files-exec 地址(http://127.0.0.1:3910),请在「工具 → MCP服务器配置」中改为 http://127.0.0.1:3910/mcp,或直接恢复默认配置`,
"4.15.0": `## 新功能
- 配置热加载:删除所有「修改后保存并重载 js」提示,配置全部走缓存机制自动生效(缓存最多 1 分钟);MCP 服务器增删、技能配置、音乐服务等修改后无需重载
- .ai help <一级子指令>:查看对应子命令的帮助(如 .ai help tool)
Expand Down
Loading