Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
0a41092
1. 修复:Loomy 图片适配改为按模型是否支持图片识别判断,避免能识图的模型被错误转换导致上下文体积翻倍、费用上涨
aimod-cc Oct 16, 2026
73e29b6
1. 更新說明文件,補充 Windows、macOS、Docker、Linux 四種安裝方式的選擇指引
aimod-cc Oct 16, 2026
4f0040f
优化
aimod-cc Oct 16, 2026
902bee3
移除:发版流程说明
aimod-cc Oct 17, 2026
e148cb0
更新
aimod-cc Oct 17, 2026
43eb9d3
1. 新增:Windows / Linux 服务端形态(无界面、可注册成系统服务,开机自启)
aimod-cc Oct 17, 2026
adaef5c
修复:v3.0.9-beta.1 的构建失败(Linux 服务端包 / Docker 镜像 / Windows 服务端包三个作业)
aimod-cc Oct 17, 2026
cf7a296
1. 新增:Windows / Linux 服务端形态(无界面、可注册成系统服务,开机自启)
aimod-cc Oct 17, 2026
c8ab7d6
修复:发版脚本的两个坑(Linux 桌面端包扫不到、附件整批上传会中断)
aimod-cc Oct 17, 2026
82c5c60
优化:发版脚本的 Linux 包回显列全(Git Bash 的 basename 只认第一个操作数)
aimod-cc Oct 17, 2026
e028f4f
文档:安装说明从各语言 README 搬到 docs/install*.md,六语各一份
aimod-cc Oct 17, 2026
29322eb
优化:韩文安装文档的 systemd 小节标题改用半角括号(与正文风格一致,锚点同步更新)
aimod-cc Oct 17, 2026
e6e4434
3.3.0-beta.1:提供商实现移入插件架构
aimod-cc Oct 23, 2026
b63cddc
release: keep mobile installers off the Release by default
Agent2API Oct 23, 2026
b9631b0
release: mirror the release to the source repository
Agent2API Oct 23, 2026
69b5ac8
3.3.0-beta.2:完善插件更新与账号管理
aimod-cc Oct 24, 2026
e745666
修复:校验助手失效模型并调整签到排程布局
aimod-cc Oct 24, 2026
f093612
3.3.0-beta.3:修复 ZCode 令牌池与模型路由,完善账号批量设置
aimod-cc Oct 24, 2026
6f47f7f
1. 新增:OpenAI Images 接口,支持图片生成与参考图编辑。
aimod-cc Oct 26, 2026
e32e713
新增:模型调用必须携带启用的网关 Key,本机未配置 Key 时不再放行。
aimod-cc Oct 26, 2026
9625556
1. 新增:添加账号改用插件声明的动态登录方式,OAuth 与 API 凭证分列,共享登录桥统一等待与报错。
aimod-cc Oct 29, 2026
c974a48
优化:账号余额窗口按原型分组显示并收起重置详情
aimod-cc Oct 29, 2026
dca813d
1. 新增:模型调用必须携带启用的网关 Key,未配置 Key 时不再放行。
aimod-cc Oct 29, 2026
c4257da
1. 新增:模型调用必须携带启用的网关 Key,未配置 Key 时不再放行。
aimod-cc Oct 29, 2026
c9ceffc
1. 新增:模型调用必须携带启用的网关 Key,未配置 Key 时不再放行。
aimod-cc Oct 29, 2026
83c4a37
1. 修复:Docker 版升级到 beta.5 后启动即崩溃并无限重启(update::init_global 在 Tokio 运行时建…
aimod-cc Oct 29, 2026
90dbd7c
1. 更新:协议库引用跟到 v3.3.0-beta.5.1,与本次网关版本号一致。
aimod-cc Oct 29, 2026
51ea2ea
1. 更新:重建手机端与 Service Worker 产物,版本号跟到 3.3.0-beta.5.1。
aimod-cc Oct 29, 2026
3239d12
1. 新增:签到页「定时补签」「活动窗口重试」拆为独立标签页;补签沿用对应计划的平台范围,只补当天未签到账号。
aimod-cc Oct 30, 2026
bd36938
1. 更新:发版规范对齐新的发布链路 —— 发布改由构建仓库的 publish-installers.yml 在构建完成事件后自动执行,重…
aimod-cc Oct 30, 2026
8e8dea9
优化
aimod-cc Oct 31, 2026
42db58d
1. 新增:路由工作台,路由页改为「工作台 / 执行 / 配置」三栏,按路径聚合会话,可按会话或账号搜索。
aimod-cc Nov 1, 2026
2680a89
1. 核心更新
aimod-cc Nov 3, 2026
1bd1ec9
1. 新增:路由工作台新增「模型」筛选 —— 模型下拉只列当前时间窗内真的发过请求的模型,选中后不再只剩它自己。
aimod-cc Nov 3, 2026
31bc7bd
1. 新增:会话图片压缩 —— 转发前把对话里内联的 base64 大图缩到长边上限并重编码,同一张原图复用压缩结果;默认开启,长边、质量…
aimod-cc Nov 3, 2026
0add462
1. 更新:重建手机端与 Service Worker 产物,版本号跟到 3.4.0。
aimod-cc Nov 3, 2026
3ff4b82
1. 新增:工具服务页 —— 提供网络搜索与视觉分析两类能力,支持 Skill / MCP / API 三种接入方式;四家搜索提供商的密钥…
aimod-cc Nov 4, 2026
34582c7
1. 核心更新
aimod-cc Nov 5, 2026
e8bed73
1. 新增:自定义路由组,可将不同提供商、不同模型组合成一个对外模型 ID,配置参与成员、账号顺序与失败后备选。
aimod-cc Nov 5, 2026
d85cdf2
chore(deploy): docker-compose 参数化(默认值与上游口径一致)
free6589 Nov 7, 2026
d809cec
feat(deploy): Omarchy/Arch 本机部署辅助脚本与加固 compose(适配 3.4.x)
free6589 Nov 7, 2026
b0036a6
docs(install): 新增 Arch / Omarchy 源码部署一节(六份 install + README 速查表)
free6589 Nov 7, 2026
c4f2e2f
test(server): repair stale test initializers
free6589 Oct 31, 2026
0b4f2e7
test(server): mark plugin-delegated CodeArts test ignored
free6589 Oct 31, 2026
e122520
test(server): repair stale WebDavConfig initializers in cloud sync tests
free6589 Nov 7, 2026
7a0bc0c
ci(server): run agent2api-server tests (#311)
free6589 Oct 31, 2026
efa71a2
fix(ui): correct SenseNova preset endpoint (#305)
free6589 Oct 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
304 changes: 304 additions & 0 deletions .agents/skills/provider-adaptation/SKILL.md

Large diffs are not rendered by default.

375 changes: 375 additions & 0 deletions .agents/skills/release-flow/SKILL.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.git
.github
Acankao
plugin
assets
prototype
logs
Expand Down
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 钩子脚本必须以 LF 检出。
#
# Windows 上 core.autocrlf=true 会把文本文件检出成 CRLF,而 CRLF 的
# `#!/bin/sh` 会让 Git Bash 报 "bad interpreter",钩子直接失效(还不会
# 报错提示,只是静默不跑)。只约束 .githooks/ 下的文件,仓库其余部分
# 维持现状,不做全仓库行尾规范化。
.githooks/** text eol=lf
89 changes: 89 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
#!/bin/sh
#
# pre-commit:本次提交若动了前端源码,就自动重建入库产物并一起提交。
#
# ── 为什么需要它 ──────────────────────────────────────────────
# 本仓库把前端构建产物**入库**(ui/islands/ui.js、ui/islands/ui.css、
# ui/i18n/**、ui/m/**、ui/sw.js),Tauri 打包(tauri.conf.json 的
# frontendDist 指向 ui/)与 Docker 镜像(Dockerfile COPY ui/)都直接取
# 这些字节 —— 仓库里那几份就是用户拿到的界面,没有任何构建兜底。
#
# 于是「改了源码忘了重建」会一路进分支,而 review 看不出 1 MB 压缩产物
# 里少了什么。CI 的 frontend-artifacts 闸能在推送后拦住,但那时代码已经
# 进了远端;这道钩子把拦截提前到本地提交前 —— 忘了也交不上去。
#
# ── 行为 ──────────────────────────────────────────────────────
# 检测暂存区里是否含前端源码改动,有则重建对应产物并 git add:
# ui-islands / ui-kit → desktop-tauri/ui/islands/{ui.js,ui.css}
# mobile → desktop-tauri/ui/m/** 与 desktop-tauri/ui/sw.js
# i18n → desktop-tauri/ui/i18n/**
# 任何一步构建失败都会中止提交(产物没更新,提交出去就与源码不同源)。
#
# ── 逃生门 ────────────────────────────────────────────────────
# 刻意想分开提交(例如先提源码再提产物)时:
# git commit --no-verify
# 关掉钩子(本机生效):
# git config --unset core.hooksPath

set -e

# 暂存区名单落到临时文件:管道里的 while 跑在子 shell 里,变量传不出来
staged="$(mktemp)"
trap 'rm -f "$staged"' EXIT
git diff --cached --name-only --diff-filter=ACMR > "$staged"

need_islands=0
need_mobile=0
need_i18n=0

while IFS= read -r f; do
[ -n "$f" ] || continue
case "$f" in
# ui-kit 以源码方式被两端引用:岛走 vite alias,手机端引它的样式
desktop-tauri/ui-kit/* | desktop-tauri/ui-islands/*)
need_islands=1
need_mobile=1
;;
desktop-tauri/i18n/*)
need_i18n=1
;;
# 手机端原生工程不参与 Web 产物,改了不用重建
desktop-tauri/mobile/android/* | desktop-tauri/mobile/ios/* | desktop-tauri/mobile/android-www/*)
;;
desktop-tauri/mobile/*)
need_mobile=1
;;
esac
done < "$staged"

if [ "$need_islands" = 0 ] && [ "$need_mobile" = 0 ] && [ "$need_i18n" = 0 ]; then
exit 0
fi

if ! command -v npm > /dev/null 2>&1; then
echo "pre-commit: 检测到前端源码改动,但找不到 npm,无法重建产物。" >&2
echo " 装好 Node 后重试,或用 git commit --no-verify 跳过(不推荐)。" >&2
exit 1
fi

echo "pre-commit: 检测到前端源码改动,重建入库产物……"

if [ "$need_islands" = 1 ]; then
npm --prefix desktop-tauri/ui-islands run build
fi
if [ "$need_mobile" = 1 ]; then
npm --prefix desktop-tauri/mobile run build
fi
if [ "$need_i18n" = 1 ]; then
npm --prefix desktop-tauri/i18n run build
fi

# 只 add 产物所在目录:ui/ 根下的 app.js、css/ 等是手写文件,不归钩子管
[ "$need_islands" = 1 ] && git add desktop-tauri/ui/islands
[ "$need_mobile" = 1 ] && git add desktop-tauri/ui/m desktop-tauri/ui/sw.js
[ "$need_i18n" = 1 ] && git add desktop-tauri/ui/i18n

# 产物更新后可能在暂存区留下差异(也可能没有 —— 那说明本来就同源),
# 两种情况都放行;真正的把关交给构建是否成功
echo "pre-commit: 产物已重建并加入本次提交"
exit 0
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
# 注意:链接固定指向默认分支(main),文档合并到 main 之后按钮才可用。
# 将来接入其它平台(爱发电 / Buy Me a Coffee / GitHub Sponsors 等)时,
# 在这里追加对应的键(如 buy_me_a_coffee)或往 custom 数组里再加链接即可(最多 4 条)。
custom: ["https://github.com/aimod-cc/agent2api/blob/main/docs/SPONSOR.md"]
custom: ["https://github.com/aimod-cc/Agent2API/blob/main/docs/SPONSOR.md"]
21 changes: 21 additions & 0 deletions .github/secret_scanning.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# secret scanning / push protection 路径排除清单(GitHub 官方机制:
# 「Excluding folders and files from secret scanning」,键为 paths-ignore)。
#
# 下列文件含有**第三方官方客户端自带**的公开凭证 —— 不是本仓库的机密,
# 也不能改写(改了对应提供商的登录链路就断了),因此按整文件排除,
# 避免历史告警反复出现、push protection 拦截触碰这些值的推送:
#
# 1. providers/antigravity/endpoints.rs —— Google 官方 Antigravity 客户端
# 随安装包分发的公开 OAuth client_id / client_secret(全网开源实现原样
# 公开;本仓文件头注释也写明「公开客户端凭证,不是用户机密」)。
# 用于 Antigravity 提供商的 Google 账号网页登录(oauth.rs)。
# 2. providers/orcaterm/login.rs —— 腾讯 OrcaTerm 官方自己的微信开放平台
# AppID(其登录页 302 跳转 URL 里明文可见的公开标识符;微信的机密是
# AppSecret,本仓没有)。该值在文件里仅出现在注释中。
#
# 注意:此配置按仓库默认分支(main)读取,改动合入 main 后才生效;
# 命中的已有告警会被自动关闭(理由:ignored by configuration)。
# 不要往本文件写入任何密钥明文 —— 本文件自身不在排除清单里,写了反而会触发告警。
paths-ignore:
- "desktop-tauri/src-tauri/server/src/server/core/providers/antigravity/endpoints.rs"
- "desktop-tauri/src-tauri/server/src/server/core/providers/orcaterm/login.rs"
Loading
Loading