Skip to content

Releases: zhangxianhe666/AFSplug

1.6.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 11:42

AFSplug v1.6.0

本次为结构性版本:仓库扁平化 + 应用更名为 AFS。代码与功能保持不变,老用户数据零迁移。

🏗️ 仓库结构扁平化

  • 移除 Chat2API/ 中间层,应用代码、配置、脚本与测试直接位于仓库根目录
  • 375 个文件经 Git rename 迁移,提交历史完整保留(git log --follow 可追溯)
  • Issue 模板迁入根 .github/;应用文档迁移为 docs/README.md 与 docs/README_CN.md
  • 修正 README / CODE_WIKI / docs 中因迁移失效的相对路径与项目结构树

🎨 应用更名为 AFS

安装后,下列位置统一显示 AFS:

  • macOS 菜单栏、Dock、.app 包名(AFS.app)
  • Windows 快捷方式 / 开始菜单 / 任务栏(shortcutName)
  • Linux 桌面项(.desktop Name)与 deb maintainer
  • 应用内:窗口标题、托盘提示与退出项、关于页、顶栏与托盘面板词标、HTML <title>
  • 代理根端点 GET / 返回的 name 字段

🔒 数据零丢失(刻意保留的兼容标识)

为让老用户无需任何迁移,以下标识保持不变:

  • package.json 的 name 仍为 chat2api → app.name / userData 路径不变,localStorage 设置与脚本保留
  • appId 仍为 com.chat2api.manager → macOS 自动更新链不断
  • 数据目录 ~/.chat2api/、加密密钥、钥匙串条目 chat2api Safe Storage → 已保存的账号凭证可直接解密
  • chat2api:// 协议、.c2a 文件关联、<|CHAT2API|> 工具调用标记

说明:更名只作用于可见显示名(productName 及界面文案)。打包内 package.json 不含 productName,
因此 Electron 运行时 app.name 仍回退为 chat2api。

✅ 验证

  • 137 项测试全部通过
  • npm run build(main / preload / renderer)构建成功
  • electron-builder --dir 产出 AFS.app:CFBundleName / CFBundleDisplayName / CFBundleExecutable 均为 AFS,CFBundleIdentifier 保持 com.chat2api.manager

📦 构建产物

平台 文件
macOS (Apple Silicon) afs-1.6.0-mac-arm64.dmg
macOS (Intel) afs-1.6.0-mac-x64.dmg、afs-1.6.0-mac-x64.zip
Windows x64 afs-1.6.0-x64-setup.exe、afs-1.6.0-x64-portable.exe、afs-1.6.0-x64.tar.gz
Linux x64 afs-1.6.0-x86_64.AppImage、afs-1.6.0-amd64.deb
Linux arm64 afs-1.6.0-arm64.AppImage

1.5.9

Choose a tag to compare

@github-actions github-actions released this 18 Sep 05:53

AFSplug v1.5.9

工具调用可靠性

  • 参数归一化:新增 normalizeToolArguments,将字符串形态的数组参数(如 web_search.queries)自动还原为数组,修复 GLM-5.3 等模型因参数类型不符被客户端拦截("queries must be an array")的故障
  • Schema 驱动提取:managed XML 协议新增 tryExtractSchemaDrivenCalls,参数标签未被识别时按 JSON Schema 兜底抽取,避免 args 为空导致 "missing required property"

模型更名

  • DeepSeek:对外模型名 deepseek-v4-flash → DeepSeek-V4.1-Flash;旧名登记为 legacy,历史模型映射与模型覆盖会自动迁移,避免遗留僵尸配置

文档与测试

  • README 版本徽章、更新日志同步至 v1.5.9
  • 补充 tool-parser / provider-profiles / runtime-plan 测试用例

构建产物

平台 文件
macOS (Apple Silicon) afs-1.5.9-mac-arm64.dmg
macOS (Intel) afs-1.5.9-mac-x64.dmg, afs-1.5.9-mac-x64.zip
Windows x64 afs-1.5.9-x64-setup.exe, afs-1.5.9-x64-portable.exe
Linux x64 afs-1.5.9-x86_64.AppImage, afs-1.5.9-amd64.deb
Linux arm64 afs-1.5.9-arm64.AppImage

1.5.8

Choose a tag to compare

@github-actions github-actions released this 04 Sep 12:01
v1.5.8

Release v1.5.8

1.5.2

Choose a tag to compare

@github-actions github-actions released this 18 Aug 11:10
v1.5.2

chore: bump version to 1.5.2

v1.5.1

Choose a tag to compare

@zhangxianhe666 zhangxianhe666 released this 18 Aug 07:01

feat: OAuth in-app login + token refresh optimizations + Kimi provider update

1.4.7

Choose a tag to compare

@github-actions github-actions released this 10 Aug 13:13
v1.4.7

chore: rename release artifacts to afs-* prefix

1.4.5

Choose a tag to compare

@github-actions github-actions released this 19 Jul 15:33
v1.4.5

chore: bump version to 1.4.5

1.4.3

Choose a tag to compare

@github-actions github-actions released this 14 Jul 03:46
v1.4.3

v1.4.3: fix scripts handler registration bug — 'No handler registered…

1.4.2

Choose a tag to compare

@github-actions github-actions released this 14 Jul 03:11
v1.4.2

v1.4.2: 脚本路径跨机器通用性修复