Skip to content

Releases: syscc/octopus

v1.0.5

Choose a tag to compare

@github-actions github-actions released this 30 Sep 13:39

Release v1.0.5

完善 Sub2API 会话自动续期,修复 New API auto 分组的模型展示和渠道投影。

新增

  • Sub2API 增加独立会话续期任务,启动时检查,此后每分钟检查并在 Access Token 到期前续期。
  • 关闭账号模型自动同步后仍可自动续期;未记录到期时间的会话首次刷新后会保存新的到期时间。

修复

  • 修复 New API auto 虚拟分组的模型被价格元数据中的显式分组列表过滤,导致模型不显示或无法投影的问题。
  • 刷新请求不再携带旧 Access Token 或自定义 Authorization,同时保留其他请求头和账号代理配置。
  • 防止单实例并发重复刷新,以及旧同步快照覆盖已轮换的会话凭据。
  • 刷新期间用户修改 Access Token 或到期时间时,保留手动值并保存新 Refresh Token;不会覆盖用户同时替换的新 Refresh Token。
  • 为每个账号设置独立刷新超时,单个慢请求或锁等待不再阻塞后续账号;失败冷却会在凭据更新后失效。
  • 同步与创建站点 Key 失败时保留并显示脱敏后的具体刷新原因,避免被错误包装或通用翻译隐藏。
  • 补齐凭据并发、错误展示、超时、锁等待及测试清理的回归覆盖。

兼容性与边界

  • 保持普通分组和其他平台的既有模型过滤行为,不新增业务数据表或数据库迁移。
  • 自动续期需要有效的 Refresh Token;已经失效或被上游消费的旧凭据仍需重新取得并录入。
  • 当前刷新互斥为进程内锁;多个服务副本共享同一账号时,仍需避免跨进程同时刷新。

验证

  • 全量 Go 测试及站点同步、任务、Handler、业务层的定向竞态测试通过。
  • 前端 ESLint、TypeScript、刷新错误展示测试和生产构建通过。
  • 跨平台发布构建及独立代码、发布前审查通过。

发布说明和 annotated tag 流程按照仓库 agent.md 的约定整理。

v1.0.4

Choose a tag to compare

@github-actions github-actions released this 15 Sep 02:44

   🚀 Features

  • group: Add global model allowlist and blocklist  -  by so (eb81a)
    View changes on GitHub

v1.0.3

Choose a tag to compare

@github-actions github-actions released this 14 Sep 12:30

   🚀 Features

  • site: Support optional textual platform user IDs  -  by so (9db82)
    View changes on GitHub

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 04 Sep 13:37

   🐞 Bug Fixes

  • site: 修复 PostgreSQL 上同步大站点失败  -  by so (49b80)
    View changes on GitHub

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 04 Sep 12:57

   🚀 Features

  • site:
    • API 直连站点自动探测上游协议  -  by so (56e50)
    • 按探测能力拆分渠道并统一 URL 候选  -  by so (a18f7)
  • web:
    • API 直连站点表单简化  -  by so (de275)
    View changes on GitHub

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 03:16

   🚀 Features

  • OpenAI protocol negotiation, SSE hardening, Cloudflare Workers AI  -  by so (5bf98)
    View changes on GitHub

v0.9.2

Choose a tag to compare

@github-actions github-actions released this 27 Aug 02:58

   🐞 Bug Fixes

  • site-channel: Unify OpenAI route targets  -  by so (80a0e)
    View changes on GitHub

v0.9.1

Choose a tag to compare

@github-actions github-actions released this 26 Aug 04:56

No significant changes

    View changes on GitHub

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 23 Aug 14:50

   🚀 Features

Read more