Skip to content

Releases

v1.5.0-upgraded.2 - cloud sign-in page (Windows amd64)

Choose a tag to compare

@wisqqud wisqqud released this 17 Nov 20:28

New mod UI release on top of upstream v1.5.0.

Changes:

  • feat(webui): sign-in page rebuilt to match the new dark cloud design — split panel layout, blurred cloud backdrop, underlined tab, password reveal, custom Remember me checkbox and a Sign out button pinned to the sidebar footer
  • docs: added the sign-in and statistics screenshots to all four READMEs

Everything from v1.5.0-upgraded.1 stays unchanged: #chat, statistics page, prompt inject, persistent admin sessions, OpenCode 2.3.0 fingerprint fixes, Windows host identity, WARP SOCKS5 and per-key proxies.

Verified with go vet ./... and go test ./internal/....

Artifacts: o2cserver.exe (windows/amd64, version v1.5.0-upgraded.2).
SHA-256: b9442bcb6a87dfdc5bb2f4a64a070b490f6fca30804ac6b0dfadddfb0184aa02

v1.5.0-upgraded.1 - o2cserver.exe (Windows amd64)

Choose a tag to compare

@wisqqud wisqqud released this 17 Nov 19:46

Upstream v1.5.0 ported into the mod. All previous mod features stay: #chat, the statistics page, prompt inject, persistent admin sessions, OpenCode 2.3.0 fingerprint fixes, Windows host identity, WARP SOCKS5 and per-key proxies.

Upstream changes:

  • refactor(oauth): goauth renamed to oauth; Go and Zen Device OAuth moved to internal/admin/oauth.go and internal/gateway/oauth.go/oauth_refresh.go; old gosubscription* code removed
  • feat(config): bulk proxy management tab with per-proxy checks (POST /api/proxies/check, internal/admin/proxies.go, internal/gateway/proxy_check.go, webui/js/pages/proxies.js)
  • fix(httpx): replayable Bun-shaped requests, decoder mutex and close, stricter request URI validation
  • fix(httpx): validated SOCKS5 replies; upstream failures are no longer echoed verbatim (generic upstream SSE stream failed)
  • fix(protocol): tool-call keys include the choice index so parallel completions keep separate names
  • feat(telemetry): expanded structured logging and metrics
  • docs: new docs/management.{md,it,vi}, updated Chinese guide

Mod-side notes:

  • stream chain (text-tool bridge + keepalive), WARP connect_via, Bun fingerprint and #chat wiring preserved through the merge
  • READMEs re-branded for opencode2api_upgraded with upstream author credit and a Mod features section
  • verified with go build ./..., go vet ./..., go test ./internal/... and node --check on all WebUI modules

Artifacts: o2cserver.exe (windows/amd64, version v1.5.0-upgraded.1).
SHA-256: a21939b8caae7416e7acb2ce8dd093787c4ec8cf4d1edee2e0b4d91213c9eb42

v1.4.11

Choose a tag to compare

@wisqqud wisqqud released this 17 Nov 19:20

WebUI update: the diagnostics Playground is now a full chat page, and admin sessions survive restarts.

  • feat(webui): #chat replaces the Playground with a real streaming conversation through the Gateway
    system prompt, conversation list, message editing, answer regeneration, protocol/model/key/relay selection,
    sampling and reasoning controls, request JSON preview, stop, copy, delete, and JSON export/import
  • POST /api/debug/chat streams the Gateway's SSE frames (Chat, Responses, Anthropic deltas, including reasoning);
    turning Stream off falls back to the buffered /api/debug/inference
  • fix(webui): the default chat model now prefers a routable entry instead of the first catalog row
  • feat(auth): sessions are persisted to config.json.sessions.json (SHA-256 token digests only),
    so restarting the server no longer signs the operator out
  • feat(config): webui.session_ttl_minutes default is now 30 days (43200) and the accepted range is 5–43200
  • docs: README (en/zh-CN/vi/it) and config.example.json updated

Artifacts: o2cserver.exe (windows/amd64, version v1.4.11) + SHA-256.

v1.4.10

Choose a tag to compare

@wisqqud wisqqud released this 17 Nov 19:20

Ports two commits from jacobax/oc2api:

  • feat(stream): keep SSE responses alive while upstream is idle (with tests)
    new performance.stream_keepalive_seconds (default 15, 0 disables); the keepalive reader wraps the existing DSML/tool-rename stream chain
  • fix(webui): version asset URLs per build and keep no-cache on the index
    index.html now serves /css and /js URLs with ?v=, so a stale browser cache cannot run the previous frontend against the new backend

The upstream patch's proxyChecks field was dropped: it belongs to the bulk-proxy feature this fork does not carry.

Artifacts: o2cserver.exe (windows/amd64, version v1.4.10) + SHA-256.

v1.4.9

Choose a tag to compare

@wisqqud wisqqud released this 17 Nov 19:20

Ports the last four jy02739245/opencode2iori commits onto the fork:

  • fix(protocol): filter undeclared tool calls and adapt client arguments
  • chore(scripts): add configured proxy diagnostics helper
  • fix: align model prompts and bridge Codex filesystem tools
  • fix: reuse official read and skill tools

Merge adaptations for this fork:

  • prompt config/environment overrides now also fill the 2.x model identity ({{MODEL_NAME}}/{{MODEL_ID}}); promptModel trims surrounding spaces before stripping the opencode/ prefix
  • tool shaping keeps client-first ordering while reusing authoritative official read/skill definitions
  • mangled wire-name recovery understands the legacy clnt_ prefix and literal legacy names
  • upstream tests adjusted for the mcp_ namespace, platform argument and Windows host

Artifacts: o2cserver.exe (windows/amd64, version v1.4.9) + SHA-256.

v1.4.8-upgraded.1 - o2cserver.exe (Windows amd64)

Choose a tag to compare

@wisqqud wisqqud released this 17 Nov 19:20

Windows x64 build of the fork — amd64 only.

Based on: upstream v1.4.8 + OpenCode 2.2.5/2.3.0 sync from jy02739245/opencode2iori.

Upstream v1.4.8

  • Free-tier retry hardening — retry responses are buffered instead of drained, so a throttled attempt keeps its body; client-compatibility gates plus 429/session handling are reworked.
  • Ordinary tool namespace — client tools are renamed under mcp_ instead of clnt_; the free tier refuses a prefix it has learned to recognise, and an MCP-style namespace is one a real tool name could carry.
  • Go device OAuth — browser device sign-in for Go subscriptions (internal/goauth, admin Go auth tab, automatic subscription refresh).
  • Proxy management — bulk proxy page and proxy health check in the WebUI.

Features in this build

  • Statistic page — durable daily token aggregates in statistics.json: cumulative and peak tokens, useful sessions, day streaks, a 12-month heatmap, a daily trend, and per-model lifetime usage.
  • Prompt inject editor — the Prompt inject tab edits the v1/v2 base prompts, the <env> template ({{model}}, {{cwd}}, {{workspace}}, {{git}}, {{platform}}, {{date}}), the skill listing and trailing extra instructions, with per-part Override switches and a live preview. The new upstream.prompt_environment config pins the directory, workspace root, platform and git flag the shaped client reports.
  • Windows host identity — PowerShell wording, win32 platform, and Windows host paths in the shaped client identity, host-aware platform rewrites for the official tool descriptions.
  • Tool shaping extras — a 24-hex digest wire name, official edit description normalization, official-argument remapping (official shell → client exec_command keeps cmd/workdir, drops timeout/background), and DSML text tool-call recovery.
  • Extended WARP egress — warp.connect_via over SOCKS5 (UDP ASSOCIATE), plus per-key proxy binding.

Asset

File Platform Notes
o2cserver.exe windows/amd64 CGO disabled, stripped (-s -w), main.version=v1.4.8-upgraded.1
SHA-256  E70F08DC7A2161D4ACA15F35F1A32498B2E7F1A1F360C3AF78F15C1AB9861BC9
Size     14,478,336 bytes

Run with o2cserver.exe -config config.json.

v1.4.7-upgraded.1 - o2cserver.exe (Windows amd64)

Choose a tag to compare

@wisqqud wisqqud released this 17 Nov 19:20

Windows x64 build of the fork — amd64 only.

Based on: upstream v1.4.7 + OpenCode 2.2.5/2.3.0 sync from jy02739245/opencode2iori.

Features in this build

  • Statistic page — durable daily token aggregates in statistics.json: cumulative and peak tokens, useful sessions, day streaks, a 12-month heatmap, a daily trend, and per-model lifetime usage.
  • Prompt inject editor — the Prompt inject tab edits the v1/v2 base prompts, the <env> template ({{model}}, {{cwd}}, {{workspace}}, {{git}}, {{platform}}, {{date}}), the skill listing and trailing extra instructions, with per-part Override switches and a live preview.
  • OpenCode 2.2.5 / 2.3.0 fixes — request fingerprint sync, official tool prefixes, mangled wire tool-name rebuild, and 2.x title requests.
  • Windows host identity — PowerShell wording, win32 platform, and Windows host paths in the shaped client identity.
  • Extended WARP egress — warp.connect_via over SOCKS5 (UDP ASSOCIATE), plus per-key proxy binding.

Asset

File Platform Notes
o2cserver.exe windows/amd64 CGO disabled, stripped (-s -w), main.version=v1.4.7-upgraded.1
SHA-256  3053a1e395d5a730c5b8b69863245c035898a14b0577f7dc4e10171ffc34a666

Run with o2cserver.exe -config config.json.