Skip to content

Releases: GoldenTangerine/Claude-Relay-Meter

Release v1.1.5

Choose a tag to compare

@github-actions github-actions released this 15 Dec 07:25

Claude Relay Meter 1.1.5

安装方式

  1. 下载下方的 .vsix 文件
  2. 在 VSCode 中打开扩展面板
  3. 点击 "..." 菜单,选择 "从 VSIX 安装..."
  4. 选择下载的文件进行安装

Installation

  1. Download the .vsix file below
  2. Open Extensions panel in VSCode
  3. Click "..." menu, select "Install from VSIX..."
  4. Select the downloaded file to install

完整更新日志请查看 CHANGELOG.md

For full changelog, see CHANGELOG.md

Release v1.1.4

Choose a tag to compare

@github-actions github-actions released this 08 Dec 09:54

Claude Relay Meter 1.1.4

安装方式

  1. 下载下方的 .vsix 文件
  2. 在 VSCode 中打开扩展面板
  3. 点击 "..." 菜单,选择 "从 VSIX 安装..."
  4. 选择下载的文件进行安装

Installation

  1. Download the .vsix file below
  2. Open Extensions panel in VSCode
  3. Click "..." menu, select "Install from VSIX..."
  4. Select the downloaded file to install

完整更新日志请查看 CHANGELOG.md

For full changelog, see CHANGELOG.md

Release v1.1.3

Choose a tag to compare

@github-actions github-actions released this 08 Dec 09:48

Claude Relay Meter 1.1.3

安装方式

  1. 下载下方的 .vsix 文件
  2. 在 VSCode 中打开扩展面板
  3. 点击 "..." 菜单,选择 "从 VSIX 安装..."
  4. 选择下载的文件进行安装

Installation

  1. Download the .vsix file below
  2. Open Extensions panel in VSCode
  3. Click "..." menu, select "Install from VSIX..."
  4. Select the downloaded file to install

完整更新日志请查看 CHANGELOG.md

For full changelog, see CHANGELOG.md

Release v1.1.2

Choose a tag to compare

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

Claude Relay Meter 1.1.2

安装方式

  1. 下载下方的 .vsix 文件
  2. 在 VSCode 中打开扩展面板
  3. 点击 "..." 菜单,选择 "从 VSIX 安装..."
  4. 选择下载的文件进行安装

Installation

  1. Download the .vsix file below
  2. Open Extensions panel in VSCode
  3. Click "..." menu, select "Install from VSIX..."
  4. Select the downloaded file to install

完整更新日志请查看 CHANGELOG.md

For full changelog, see CHANGELOG.md

Release v1.1.1

Choose a tag to compare

@github-actions github-actions released this 08 Dec 09:19

Claude Relay Meter 1.1.1

安装方式

  1. 下载下方的 .vsix 文件
  2. 在 VSCode 中打开扩展面板
  3. 点击 "..." 菜单,选择 "从 VSIX 安装..."
  4. 选择下载的文件进行安装

Installation

  1. Download the .vsix file below
  2. Open Extensions panel in VSCode
  3. Click "..." menu, select "Install from VSIX..."
  4. Select the downloaded file to install

完整更新日志请查看 CHANGELOG.md

For full changelog, see CHANGELOG.md

v1.1.0

Choose a tag to compare

@GoldenTangerine GoldenTangerine released this 19 Nov 04:28

🎉 新增功能

✨ 账户过期时间显示

  • 状态栏悬浮窗显示账户过期时间
  • 过期时间精确到秒,支持完整倒计时显示(天时分秒)
  • 已过期账户使用红色警告样式突出显示
  • 永久有效账户显示特殊标记

📋 显示效果

未过期账户

  • 中文:2025/09/29 11:24:19 (120天2小时30分45秒 后过期)
  • 英文:2025/09/29 11:24:19 (Expires in 120d 2h 30m 45s)

已过期账户

  • 中文:2024/01/15 08:30:00 (已过期) [红色显示]
  • 英文:2024/01/15 08:30:00 (Expired) [红色显示]

永久有效

  • 中文:永久有效
  • 英文:Permanent

🔧 技术改进

  • 新增 formatExpiryDate() 日期格式化函数
  • 支持 ISO 8601 日期格式解析和本地时间转换
  • 精确的时间差计算(天、小时、分钟、秒)
  • 完整的错误处理和回退机制

🌐 国际化

  • 新增 tooltips.expiresAttooltips.permanenttooltips.expiresInDetail 等翻译键
  • 中英文完整支持
  • 时间格式根据语言自动调整

📝 文档更新

  • 更新 CLAUDE.md 项目文档
  • 更新 README.md 中英文更新日志

📦 安装方式

下载 claude-relay-meter-1.1.0.vsix 文件,在 VSCode 中按 Ctrl+Shift+P (Windows/Linux) 或 Cmd+Shift+P (Mac),输入 "Install from VSIX" 并选择下载的文件。

  1. 上传文件:拖拽 builds/claude-relay-meter-1.1.0.vsix 到附件区域
  2. 点击 "Publish release" 发布

📊 版本总结

v1.1.0 版本主要更新:

  • ✨ 新增账户过期时间显示功能
  • 🎯 精确到秒的完整倒计时(天时分秒)
  • 🎨 过期账户红色警告样式
  • 🌐 完整的中英文国际化支持
  • 📝 更新项目文档

V1.0.9

Choose a tag to compare

@GoldenTangerine GoldenTangerine released this 24 Oct 01:49

v1.0.9 - 费率限制窗口支持和剩余时间倒计时

发布日期: 2025-10-24

✨ 新增

费率限制窗口(Rate Limit Window)支持

  • 新增周限制(Window Limit)检测和显示功能
  • currentWindowCost > 0rateLimitCost > 0 时自动启用周限制显示
  • 状态栏显示格式:
    • 无周限制:$(graph) $X/$Y Z%
    • 有周限制:$(graph) 日:$X/$Y Z% | 周:$A/$B C%
  • 周限制百分比优先用于状态栏颜色显示

剩余时间倒计时

  • 新增 windowRemainingSeconds 剩余时间显示
  • 自动转换为易读格式:
    • 中文:"1天2小时3分4秒"
    • 英文:"1d 2h 3m 4s"
  • 支持过期状态显示:"已过期" / "Expired"

🎨 改进

悬浮窗内容重构

  • 将"Opus 模型周费用限制"标题改为"费率限制"
  • 优化费率限制区域显示:
    • Opus: $0 / $50 🟢 0%
    • 周限制: $20.44 / $133 🟢 15.37%
    • 剩余时间: 剩余 1天1小时41分24秒 后重置
  • 修复换行问题:所有行正确使用 \n\n 双换行符,避免内容拥挤
  • 移除"其他统计"标题,直接显示统计数据,简化界面

🛠️ 技术改进

新增时间格式化函数

  • 添加 formatRemainingTime(seconds, t) 函数
  • 支持国际化时间单位(天、小时、分、秒)
  • 智能分隔符:中文无分隔符,英文使用空格

国际化翻译更新

新增翻译键:

  • statusBar.daily / statusBar.window - 状态栏日/周标签
  • tooltips.rateLimitTitle - "费率限制"
  • tooltips.windowLimit - "周限制"
  • tooltips.opusLabel - "Opus"
  • tooltips.resetTime / tooltips.resetsIn - 剩余时间相关
  • time.* - 时间单位(days, hours, minutes, seconds, separator, expired)

状态栏处理优化

  • 改进 updateStatusBar() 函数,支持双模式显示
  • 重构 createTooltip() 函数,优化费率限制区域
  • 导入 formatRemainingTime 函数

📝 文档更新

  • 更新 CLAUDE.md - 新增周限制功能说明
  • 更新 API 响应字段文档:
    • rateLimitCost - 费率限制窗口支出限额
    • currentWindowCost - 当前窗口支出
    • windowRemainingSeconds - 窗口重置剩余秒数
  • 更新状态栏显示格式说明
  • 更新语言包结构说明

🌐 国际化

  • 完整支持中英文双语显示
  • 所有新增文本通过 t() 函数实现多语言
  • 时间格式根据语言自动调整

💡 用户体验提升

  • 更清晰的限制显示:日限制和周限制同时显示,一目了然
  • 实时倒计时:周限制重置时间可视化,便于规划使用
  • 自适应显示:无周限制时保持简洁,有周限制时自动展开
  • 视觉优化:修复换行问题,悬浮窗排版更舒适

📦 安装方式

下载 claude-relay-meter-1.0.9.vsix 文件后:

  1. 打开 VSCode
  2. Ctrl+Shift+P (Windows/Linux) 或 Cmd+Shift+P (macOS)
  3. 输入 Extensions: Install from VSIX...
  4. 选择下载的 .vsix 文件
  5. 重启 VSCode

🔗 相关链接