Skip to content

Releases: byebye-code/byebyecode

v1.1.29

Choose a tag to compare

@johnnyee johnnyee released this 01 Mar 13:07

What's New

Multi-line statusline support (line_break_after)

Added line_break_after config option to [style] section in config.toml, allowing the statusline to be split into multiple lines.

This prevents truncation on terminals where the total statusline content exceeds the terminal width (e.g., when many segments like model, directory, git, context, usage, and subscription are all enabled).

Usage

Add to your config.toml:

[style]
mode = "plain"
separator = " | "
line_break_after = 5  # first 5 segments on line 1, rest on line 2
  • line_break_after = 5 → segments 1-5 on line 1, remaining on line 2
  • Remove or set to 0 to keep single-line output (default behavior)
  • Works with both plain separators and Powerline arrow mode

Full Changelog: v1.1.28...v1.1.29

v1.1.28

Choose a tag to compare

@johnnyee johnnyee released this 09 Jan 03:05

Changes

  • feat(api): 支持 88code 所有镜像站并智能构造 API URL (#28) @shiluanzzz
    • 将硬编码的域名列表改为通配符匹配 contains("88code")
    • 智能构造 API URL,自动适配各镜像站

Full Changelog: v1.1.27...v1.1.28

v1.1.27

Choose a tag to compare

@johnnyee johnnyee released this 09 Jan 01:28

更新内容

新功能

  • 支持所有 88code 镜像站:移除硬编码域名,改用通配符匹配所有 88code 镜像站(如 88code.ai88code.org88code.wu.ren 等)
  • 智能 URL 构造:根据 ANTHROPIC_BASE_URL 的不同格式自动构造正确的 API 路径
  • 自动推断 subscription_url:确保 usage 和 subscription 使用同一域名,避免跨域问题

贡献者

Full Changelog: v1.1.26...v1.1.27

What's Changed

  • feat(api): 支持 88code 所有镜像站并智能构造 API URL by @shiluanzzz in #28

New Contributors

Full Changelog: v1.1.26...v1.1.27

What's Changed

  • feat(api): 支持 88code 所有镜像站并智能构造 API URL by @shiluanzzz in #28

New Contributors

Full Changelog: v1.1.26...v1.1.27

v1.1.26

Choose a tag to compare

@johnnyee johnnyee released this 05 Jan 02:32

What's Changed

Bug 修复

  • 修复 Usage API 返回 null 导致状态栏无法显示 - 当 88code 的 /api/usage 接口返回无效数据时,自动 fallback 到 /api/subscription 获取用量信息
    • 新增 is_valid() 方法检测 API 数据有效性
    • 新增 from_subscriptions() 方法从订阅数据构造等价的用量数据
    • 向后兼容:88code 修复接口后自动恢复原方案

技术细节

  • 修复 Issue #26: 接口不返回用量数据
  • 合并 PR #27

Full Changelog: v1.1.25...v1.1.26

What's Changed

  • fix: 当 /api/usage 返回无效数据时,fallback 到 /api/subscription by @johnnyee in #27

Full Changelog: v1.1.25...v1.1.26

v1.1.25

Choose a tag to compare

@github-actions github-actions released this 30 Dec 07:54

Full Changelog: v1.1.24...v1.1.25

v1.1.24

Choose a tag to compare

@johnnyee johnnyee released this 14 Dec 03:32

What's Changed

新功能

  • 恢复订阅段重置次数显示 - 包月套餐(PLUS/PRO/MAX/FREE)现在显示可重置次数
    • 格式:PLUS ¥198/月 重置×2 23天
    • PAYGO 套餐不显示重置次数

Bug 修复

  • 简化 88code 域名识别逻辑 - 只要 URL 包含 "88code" 就识别为 88code 中转站
    • 支持 88code.ai、88code.org、88code.wu.ren 等所有域名

Full Changelog: v1.1.23...v1.1.24

Full Changelog: v1.1.23...v1.1.24

v1.1.23

Choose a tag to compare

@github-actions github-actions released this 11 Dec 09:10

What's Changed

  • fix: 只有 FREE + PAYGO 时显示 PAYGO 额度 by @johnnyee in #23

Full Changelog: v1.1.22...v1.1.23

v1.1.22

Choose a tag to compare

@github-actions github-actions released this 11 Dec 02:02

What's Changed

Full Changelog: v1.1.21...v1.1.22

v1.1.21

Choose a tag to compare

@github-actions github-actions released this 10 Dec 14:59

What's Changed

  • fix: 修复 Packy 用量显示错误的问题 by @johnnyee in #20

Full Changelog: v1.1.20...v1.1.21

v1.1.20

Choose a tag to compare

@github-actions github-actions released this 10 Dec 09:42

What's Changed

  • feat: 按剩余天数升序排序订阅列表 by @johnnyee in #18
  • feat: 状态栏UI增强 - 状态色 + 订阅精简 + 加载优化 by @johnnyee in #19

Full Changelog: v1.1.19...v1.1.20