Skip to content

Releases: AK-Switch/ak-switch

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 18 Jul 18:17
ef3a0e7

What's Changed

  • fix: 安装和运行 rsrc 时临时清除 GOOS/GOARCH by @bigmanBass666 in #77
  • feat: keyring 加密文件回退 + --insecure-storage 明文逃生口 (#45+#46) by @bigmanBass666 in #76
  • feat: Host 可配置化 — 支持绑定 Tailscale IP by @bigmanBass666 in #78
  • feat: 移除 KEYS_ENCRYPTION_KEY + 添加 key import 批量导入 (#47+#43) by @bigmanBass666 in #79
  • fix: estimateInputTokens 支持 Anthropic 格式 by @bigmanBass666 in #73
  • fix: Token 计量全面加固 — OpenAI 格式兼容 + 模型感知编码 + tiktoken fallback by @bigmanBass666 in #80
  • fix: Token 计量显示为 0 的两个问题 by @bigmanBass666 in #81
  • fix: 修复 icon.ico — 缩放为 256/48/32/16 标准尺寸 by @bigmanBass666 in #83
  • feat: 添加 remote-monitoring 项目级 skill by @bigmanBass666 in #82
  • fix: 支持多种 SSE 流式格式的 Token 估算 (message_delta, content_block_start, OpenAI) by @bigmanBass666 in #85
  • fix: release.yml 增量 Release Notes,不再包含全部历史 PR by @bigmanBass666 in #84
  • docs: update changelog for v0.1.2 by @bigmanBass666 in #86
  • fix: release job 添加 GH_TOKEN 环境变量 by @bigmanBass666 in #87
  • fix: 使用正确的 API 参数 previous_tag_name(不是 previous_tag) by @bigmanBass666 in #89
  • feat: 为紧凑日志格式添加 method 和 duration 颜色 by @bigmanBass666 in #88
  • fix: 用 git tag 获取前一个版本号,替代不可靠的 gh releases 索引 by @bigmanBass666 in #90
  • revert: 移除 remote-monitoring 项目级 skill(不提交到公开仓库) by @bigmanBass666 in #91
  • fix: release job 添加 fetch-depth: 0,确保 git tag 能获取到全部 tag by @bigmanBass666 in #92

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 17 Jul 20:27

What's Changed

  • fix: Go 1.24+ log/slog 循环依赖导致的启动 deadlock by @bigmanBass666 in #6
  • docs: ADR 0001 — repository migration by @bigmanBass666 in #8
  • refactor: 消除 CLI 命令模板模式 (#3) by @bigmanBass666 in #9
  • refactor: 消除 Config 双重表示 (#4) by @bigmanBass666 in #10
  • refactor: 合并 ProviderState/ServerState 结构体 (#2) by @bigmanBass666 in #7
  • refactor: 统一 Key 状态管理 (#5) by @bigmanBass666 in #11
  • docs: CLAUDE.md 新增任务收尾清理清单 by @bigmanBass666 in #13
  • revert: CLAUDE.md 任务收尾清理规则(GitHub 自动删除已覆盖) by @bigmanBass666 in #14
  • docs: CLAUDE.md 构建路径 %USERPROFILE% -> go env GOPATH by @bigmanBass666 in #15
  • docs: CLAUDE.md 重写 + fix: 配置重载保留熔断状态 by @bigmanBass666 in #17
  • fix: Ctrl+C 不再触发 ExecRestart 自重启 by @bigmanBass666 in #18
  • feat: 自动构建 Release — 版本号注入 + checksums + release target by @bigmanBass666 in #19
  • fix: Windows stop 命令兼容 + Ctrl+C 不重启 by @bigmanBass666 in #20
  • chore: 合并后 go install 更新本地二进制加入检查清单 by @bigmanBass666 in #22
  • feat: 日志增量分析 — /logs?since= + CLI --since 参数 by @bigmanBass666 in #21
  • docs: CLAUDE.md 添加日志分析增量 checkpoint 工作流约定 by @bigmanBass666 in #23
  • feat: CLI 日志默认显示用户视角,新增 --verbose 标志 by @bigmanBass666 in #24
  • feat: stdout 精简模式 — akswitch start --log-format=compact by @bigmanBass666 in #33
  • docs: CLAUDE.md 更新日志相关说明 by @bigmanBass666 in #35
  • fix: KeyPool 并发竞态 — 防止多请求同时命中同一 Key by @bigmanBass666 in #25
  • fix: 补上 --log-format 标志注册行 by @bigmanBass666 in #36
  • fix: 合并 per-provider metrics 到 router 级 registry,统一 /metrics 暴露 by @bigmanBass666 in #37
  • feat: RPM-aware key selection in KeyPool.Next() by @bigmanBass666 in #30
  • test: 补齐所有命令的标志注册测试,堵住系统性漏洞 by @bigmanBass666 in #39
  • feat: Token 计量 — 非流式响应记录 input_tokens / output_tokens by @bigmanBass666 in #31
  • test: 补齐所有命令的标志注册测试,堵住系统性漏洞 by @bigmanBass666 in #38
  • feat: 流式响应 Token 估算 — SSE 累计文本 + tiktoken 计量 (#28) by @bigmanBass666 in #34
  • fix: add merge_group trigger for merge queue by @bigmanBass666 in #42
  • chore: 添加 merge_group CI 触发 + 更新工作流规范 by @bigmanBass666 in #41
  • feat: 新增 Token 用量指标 + LogStore 水位指标 (P1+P2) by @bigmanBass666 in #52
  • feat: 新增 Retry 聚合指标 + Uptime gauge (P3+P4) by @bigmanBass666 in #54
  • feat: compact 模式增加 TTFB 和总用时 + akswitch logs --compact by @bigmanBass666 in #53
  • test: Token 计量 — extractTokenUsage + streamSSEAndEstimateTokens 全面测试覆盖 by @bigmanBass666 in #49
  • docs: ADR-003 — 默认启用 OS Keyring 存储 API Key by @bigmanBass666 in #48
  • feat: 校准机制 — Calibrator 滑动窗口 + 中位数比例 by @bigmanBass666 in #51
  • feat: 校准集成 — Calibrator 挂载到 ProviderRouter,非流式记录/流式校准 by @bigmanBass666 in #55
  • fix: compact 模式格式化逻辑未实现 (#40) by @bigmanBass666 in #40
  • test: RPM 感知 Key 选择测试覆盖 by @bigmanBass666 in #50
  • feat: 默认日志格式改为 compact,修复热重载丢失格式 by @bigmanBass666 in #57
  • docs: 精简 CLAUDE.md 角色分工,强化 Coder 边界约束 by @bigmanBass666 in #58
  • docs: 更新 CLAUDE.md — 补充架构细节与测试命令 by @bigmanBass666 in #56
  • feat: Calibrator 校准集成 + tiktoken helper 提取 by @bigmanBass666 in #59
  • docs: 文档翻新 — CHANGELOG 迁移、archive 清理、内容修复 by @bigmanBass666 in #61
  • docs: 文档质量升级 P1-P3 — README/CONTRIBUTING/架构文档 by @bigmanBass666 in #65
  • docs: 强化文档维护纪律 — 发版/改功能必须同步更新文档 by @bigmanBass666 in #66
  • feat: 添加 cleanup-worktrees skill + 配置优化 by @bigmanBass666 in #63
  • chore: 添加 Dependabot 依赖自动更新配置 by @bigmanBass666 in #64
  • feat: 添加 SessionStart hook — 启动时自动同步主目录到最新 by @bigmanBass666 in #70
  • feat: 为 Windows 二进制添加 exe 图标 by @bigmanBass666 in #71
  • feat: 引入 99designs/keyring 作为默认凭证存储后端 by @bigmanBass666 in #69
  • chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.4 to 2.4.3 by @dependabot[bot] in #67
  • chore(deps): bump golang.org/x/term from 0.22.0 to 0.45.0 by @dependabot[bot] in #68
  • ci: Release 构建 Windows 时动态嵌入 exe 图标 by @bigmanBass666 in #72
  • fix: 移除仓库中残留的 .syso 文件 by @bigmanBass666 in #74
  • fix: 修复 Release 构建中 rsrc 命令路径问题 by @bigmanBass666 in #75

New Contributors

Full Changelog: https://github.com/AK-Switch/ak-switch/commits/v0.1.1

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 17 Jul 17:55

What's Changed

  • fix: Go 1.24+ log/slog 循环依赖导致的启动 deadlock by @bigmanBass666 in #6
  • docs: ADR 0001 — repository migration by @bigmanBass666 in #8
  • refactor: 消除 CLI 命令模板模式 (#3) by @bigmanBass666 in #9
  • refactor: 消除 Config 双重表示 (#4) by @bigmanBass666 in #10
  • refactor: 合并 ProviderState/ServerState 结构体 (#2) by @bigmanBass666 in #7
  • refactor: 统一 Key 状态管理 (#5) by @bigmanBass666 in #11
  • docs: CLAUDE.md 新增任务收尾清理清单 by @bigmanBass666 in #13
  • revert: CLAUDE.md 任务收尾清理规则(GitHub 自动删除已覆盖) by @bigmanBass666 in #14
  • docs: CLAUDE.md 构建路径 %USERPROFILE% -> go env GOPATH by @bigmanBass666 in #15
  • docs: CLAUDE.md 重写 + fix: 配置重载保留熔断状态 by @bigmanBass666 in #17
  • fix: Ctrl+C 不再触发 ExecRestart 自重启 by @bigmanBass666 in #18
  • feat: 自动构建 Release — 版本号注入 + checksums + release target by @bigmanBass666 in #19
  • fix: Windows stop 命令兼容 + Ctrl+C 不重启 by @bigmanBass666 in #20
  • chore: 合并后 go install 更新本地二进制加入检查清单 by @bigmanBass666 in #22
  • feat: 日志增量分析 — /logs?since= + CLI --since 参数 by @bigmanBass666 in #21
  • docs: CLAUDE.md 添加日志分析增量 checkpoint 工作流约定 by @bigmanBass666 in #23
  • feat: CLI 日志默认显示用户视角,新增 --verbose 标志 by @bigmanBass666 in #24
  • feat: stdout 精简模式 — akswitch start --log-format=compact by @bigmanBass666 in #33
  • docs: CLAUDE.md 更新日志相关说明 by @bigmanBass666 in #35
  • fix: KeyPool 并发竞态 — 防止多请求同时命中同一 Key by @bigmanBass666 in #25
  • fix: 补上 --log-format 标志注册行 by @bigmanBass666 in #36
  • fix: 合并 per-provider metrics 到 router 级 registry,统一 /metrics 暴露 by @bigmanBass666 in #37
  • feat: RPM-aware key selection in KeyPool.Next() by @bigmanBass666 in #30
  • test: 补齐所有命令的标志注册测试,堵住系统性漏洞 by @bigmanBass666 in #39
  • feat: Token 计量 — 非流式响应记录 input_tokens / output_tokens by @bigmanBass666 in #31
  • test: 补齐所有命令的标志注册测试,堵住系统性漏洞 by @bigmanBass666 in #38
  • feat: 流式响应 Token 估算 — SSE 累计文本 + tiktoken 计量 (#28) by @bigmanBass666 in #34
  • fix: add merge_group trigger for merge queue by @bigmanBass666 in #42
  • chore: 添加 merge_group CI 触发 + 更新工作流规范 by @bigmanBass666 in #41
  • feat: 新增 Token 用量指标 + LogStore 水位指标 (P1+P2) by @bigmanBass666 in #52
  • feat: 新增 Retry 聚合指标 + Uptime gauge (P3+P4) by @bigmanBass666 in #54
  • feat: compact 模式增加 TTFB 和总用时 + akswitch logs --compact by @bigmanBass666 in #53
  • test: Token 计量 — extractTokenUsage + streamSSEAndEstimateTokens 全面测试覆盖 by @bigmanBass666 in #49
  • docs: ADR-003 — 默认启用 OS Keyring 存储 API Key by @bigmanBass666 in #48
  • feat: 校准机制 — Calibrator 滑动窗口 + 中位数比例 by @bigmanBass666 in #51
  • feat: 校准集成 — Calibrator 挂载到 ProviderRouter,非流式记录/流式校准 by @bigmanBass666 in #55
  • fix: compact 模式格式化逻辑未实现 (#40) by @bigmanBass666 in #40
  • test: RPM 感知 Key 选择测试覆盖 by @bigmanBass666 in #50
  • feat: 默认日志格式改为 compact,修复热重载丢失格式 by @bigmanBass666 in #57
  • docs: 精简 CLAUDE.md 角色分工,强化 Coder 边界约束 by @bigmanBass666 in #58
  • docs: 更新 CLAUDE.md — 补充架构细节与测试命令 by @bigmanBass666 in #56
  • feat: Calibrator 校准集成 + tiktoken helper 提取 by @bigmanBass666 in #59
  • docs: 文档翻新 — CHANGELOG 迁移、archive 清理、内容修复 by @bigmanBass666 in #61
  • docs: 文档质量升级 P1-P3 — README/CONTRIBUTING/架构文档 by @bigmanBass666 in #65
  • docs: 强化文档维护纪律 — 发版/改功能必须同步更新文档 by @bigmanBass666 in #66

Full Changelog: https://github.com/AK-Switch/ak-switch/commits/v0.1.0