Releases: autogame-17/prism
Releases · autogame-17/prism
Release list
v0.1.5
v0.1.4
v0.1.4 — quota hotfix + log selectability
Bug fixes
- relay (critical): users on 0.1.0–0.1.3 who sent enough requests would hit
402 user quota is not enougheven though their API token is set to unlimited. The embedded one-hub core has two separate quota gates — a token-level budget (which token-unlimited waives) and a user-level budget (which it does not). Prism now bumps the root user's budget to ~2 billion on every boot so the local gateway never gates its own owner. - logs: Wails v2 disables text selection window-wide for native drag feel, leaving system log entries and captured trace bodies completely uncopyable. Diagnostic text panels now opt in to
user-select: textvia a.prism-selectableclass, while sidebar and table chrome stay unselectable.
New features
- logs: "Copy all" button on the system log toolbar copies the entire ring buffer as
<time> <level> <msg>lines in one click.
v0.1.3
v0.1.3 — channel UX hotfix
Bug fixes
- channels: clicking the Test button when no Test model is configured no longer returns a cryptic "请填写测速模型后再试" error; Prism now falls back to
GET /v1/modelsto verify connectivity and key validity. Providers without a model-list endpoint (Bedrock, Vertex AI) surface a clear "please fill the Test model field" hint instead. - channels: every model-list-fallback failure now surfaces one actionable hint ("please fill the Test model field") with the upstream's real error in parentheses, so a 401 invalid-key is still visible.
- capture: upstream error responses with an empty body now render as
(empty response body)in the Logs panel instead of a blank string. - tray (macOS): the status-bar template icon no longer has visible stair-stepping ("毛边") on Retina displays. The PNG is rendered at 4× supersampled resolution and downsampled with LANCZOS, and each
NSImageRepis tagged as 18pt so AppKit stops double-resampling the bitmap.
New features
- channels: a "Fetch from Base URL" button next to the Models textarea probes
GET /v1/modelson the unsaved editor form, merges the upstream model list with whatever names you have already typed, and deduplicates. Useful for populating a one-api / OpenRouter / Ollama channel in one click. - channels: a help line under Models explains that custom client aliases (e.g.
cursor-opus-4-7) must appear in this list for the distributor to route requests, and points to Model Mapping for name translation.
Internal
appVersionconstant now tracks the git tag (was stuck at0.1.0since the initial release; users on 0.1.1/0.1.2 binaries saw0.1.0in the UI footer).
v0.1.2
Release v0.1.2 — QA round bugfixes (purge-all, tunnel rotate race, si…
v0.1.1
Release v0.1.1 — stable port + Cloudflare named tunnel + Bedrock thin…
Prism v0.1.0 — initial public preview
Prism 的第一个公开预览版。macOS universal + Windows amd64 + Linux amd64。AGPL-3.0 许可证。
下载
macOS universal(Intel + Apple Silicon)
Prism-v0.1.0-darwin-universal.dmg— 推荐,双击挂载后拖到 Applications。Prism-v0.1.0-darwin-universal.zip— 命令行 / CI 友好。
Windows amd64
Prism-v0.1.0-windows-amd64-installer.exe— NSIS 安装包,35 MB。Prism-v0.1.0-windows-amd64.zip— 解压即用的 portable 版本,33 MB。
Linux amd64
Prism-v0.1.0-linux-amd64.tar.gz— 解压后是单一PrismELF,36 MB。运行需要 GTK3 + WebKit2GTK 4.1 (libwebkit2gtk-4.1-0),Ubuntu 22.04+ / Fedora 39+ / Debian 12+ 默认有。
SHA256SUMS.txt — 校验和。
# macOS / Linux
shasum -a 256 -c SHA256SUMS.txt
# Windows PowerShell
Get-FileHash Prism-v0.1.0-windows-amd64.zip -Algorithm SHA256首次启动注意
macOS:未签名 / 未公证,首次启动若提示"无法验证开发者",在 系统设置 → 隐私与安全性 里放行,或:
xattr -dr com.apple.quarantine /Applications/Prism.appWindows:未签名,SmartScreen 可能弹"Windows protected your PC"。点 "More info" → "Run anyway"。安装包需要 Microsoft Edge WebView2 Runtime(Win10 1809+ 通常已自带,没装的话首次启动会引导安装)。
Linux:
tar -xzf Prism-v0.1.0-linux-amd64.tar.gz
chmod +x Prism
./Prism如果报 webkit 相关 .so 找不到:sudo apt install libwebkit2gtk-4.1-0(Debian/Ubuntu)或 sudo dnf install webkit2gtk4.1(Fedora)。
亮点
- 内嵌 one-hub 网关核心(37 家 provider:OpenAI / Anthropic / Gemini / Bedrock / Vertex AI / DeepSeek / Groq / Zhipu / Moonshot …)。
- Cloudflare Tunnel 一键公网化,
*.trycloudflare.com临时域名,零账号。cloudflared各平台二进制全部内嵌,开箱即用。 - 原生 React UI(shadcn/ui + Tailwind),Dashboard / Channels / Tokens / Logs / Traces / Settings。
- Traces:中间件级别全文捕获上下行 body(含 SSE 流),排查 provider 报错首选。
- macOS 菜单栏驻留(NSStatusItem / CGO),关窗不退出进程,菜单里直接启停 Tunnel / 复制 URL。
- 中英双语 + 深浅主题。
对 one-hub 的补丁
- Anthropic 格式 tools 发到 OpenAI 兼容入口不再报
tools.0.custom.name: Field required。 - Gemini
systemprompt 在顶层或消息里都能正确聚合。 - Bedrock tool schema 修复。
- 网络层
dial tcp …不再被 "请求上游地址失败" 吞掉,进 Traces。
使用起点
见仓库 README 的 "5 步上手"。关键点:Bedrock API Key 填 region|AccessKeyID|SecretAccessKey;被墙的 provider(Gemini / Anthropic 直连)在渠道编辑里的 "Outbound proxy" 填本机代理,例如 http://127.0.0.1:7890。