Skip to content

Releases: Moguifeng-9119/aperture

v1.0.0 — 精简版,3 文件核心

04 Jun 13:26

Choose a tag to compare

v1.0.0 — 从 47 文件砍到 3 文件

旧版 v0.8.0 代码见 tag v0.8.0-archived

删掉的功能

Dashboard、Admin API、Analytics (SQLite)、Setup Wizard、Tracing/Observability、Pipeline、ML 路由 (embedding)、A/B Test、Helm/K8s 部署、Docker Compose、9 个 Provider 精简到按需配置。

保留的功能

  • 协议翻译: Anthropic Messages API ↔ OpenAI Chat Completions (含 SSE 流)
  • 关键词路由: 根据用户消息关键词匹配 → 选便宜/贵模型

3 个源文件

文件 行数 作用
main.go 127 入口、配置加载、路由注册
proxy.go 220 Anthropic ↔ OpenAI 格式互转
router.go 67 关键词匹配 → 选 provider+model

使用

cp config.example.yaml config.yaml
# 填入 API key
go run . --config config.yaml

Claude Code settings.json: "ANTHROPIC_BASE_URL": "http://localhost:8080"

v0.8.0-archived

04 Jun 13:11

Choose a tag to compare

Changelog

  • d38dfae chore: add start.bat for one-click launch on Windows
  • bf29c35 feat: Anthropic Messages API endpoint for Claude Code integration
  • a346ecd feat: add issue templates (bug/feature), enable discussions, community section
  • 277c44e feat: context-aware routing — tool calls boost complexity
  • 87cb5f4 fix: Anthropic proxy now records tokens to DB for dashboard display
  • 5713d57 fix: Anthropic proxy now routes only without double API call
  • ebabd18 fix: always route Anthropic requests regardless of Claude Code model setting
  • 6daae64 fix: calculate cost for Anthropic proxy requests from model pricing
  • 7b49862 fix: dashboard HTMX requests missing X-Admin-Key header
  • e2d221b fix: deployment bugs found during local deployment
  • 4d943e3 fix: extract tokens from SSE stream (message_start + message_delta events)
  • b168ba9 fix: remove admin key input from dashboard UI
  • 840c357 fix: remove dashboard admin key requirement, open access
  • 144fb99 fix: remove latency from dashboard, SSE stream token extraction, cost calculation for Anthropic path
  • 92924c9 fix: remove leftover latency format placeholder causing Sprintf type error
  • 6c68607 fix: support both string and array Anthropic content formats in /v1/messages

v0.8.0

03 Jun 16:32

Choose a tag to compare

Changelog

  • d38dfae chore: add start.bat for one-click launch on Windows
  • bf29c35 feat: Anthropic Messages API endpoint for Claude Code integration
  • a346ecd feat: add issue templates (bug/feature), enable discussions, community section
  • 277c44e feat: context-aware routing — tool calls boost complexity
  • 87cb5f4 fix: Anthropic proxy now records tokens to DB for dashboard display
  • 5713d57 fix: Anthropic proxy now routes only without double API call
  • ebabd18 fix: always route Anthropic requests regardless of Claude Code model setting
  • 6daae64 fix: calculate cost for Anthropic proxy requests from model pricing
  • 7b49862 fix: dashboard HTMX requests missing X-Admin-Key header
  • e2d221b fix: deployment bugs found during local deployment
  • 4d943e3 fix: extract tokens from SSE stream (message_start + message_delta events)
  • b168ba9 fix: remove admin key input from dashboard UI
  • 840c357 fix: remove dashboard admin key requirement, open access
  • 144fb99 fix: remove latency from dashboard, SSE stream token extraction, cost calculation for Anthropic path
  • 92924c9 fix: remove leftover latency format placeholder causing Sprintf type error
  • 6c68607 fix: support both string and array Anthropic content formats in /v1/messages

v0.7.3

03 Jun 13:44

Choose a tag to compare

Changelog

  • 38d4701 feat: add Zhipu GLM, MiniMax, Xiaomi MiMo to setup wizard and config
  • 1cf1e72 feat: setup wizard now supports Chinese domestic models

v0.7.2

03 Jun 13:35

Choose a tag to compare

Changelog

  • 82c97d7 feat: Chinese domestic model support

v0.7.1

03 Jun 13:28

Choose a tag to compare

Changelog

  • 63f43e3 feat: interactive CLI setup wizard (aperture -setup)
  • 30d86f5 fix+perf: 6 bug fixes + 6 algorithm optimizations
  • ac46aa4 refactor: extract App struct, fix auth JSON injection

v0.6.0

03 Jun 12:47

Choose a tag to compare

Changelog

  • 3b95cfe feat: v0.6 — structured errors, tracing, Helm chart

v0.5.0

03 Jun 10:59

Choose a tag to compare

Changelog

  • 0d0753c feat: initial release of Aperture - intelligent multi-model LLM routing gateway
  • b5e8f57 feat: production readiness — fallback chain, retry, cost wiring, new roadmap
  • e561051 feat: rate limiter, docker-compose, groq+ollama tests
  • 1f71a64 feat: v0.5 — real embeddings, training export, A/B testing
  • b073e30 fix: prevent Go toolchain auto-download in CI
  • b3fea7a fix: resolve CI lint failure
  • 86cb4ea fix: resolve critical bugs from code review
  • 1e5b494 fix: simplify CI test to avoid toolchain covdata error
  • 1feecba fix: use Go 1.25 in CI to match modernc.org/libc requirement