Skip to content

v0.5.0: Claude Code target, Pi 0.99.1 validated

Choose a tag to compare

@wowayou wowayou released this 30 Sep 15:12
1b7666f
  • Validated against Pi 0.99.1 (baseline raised from 0.87.1) and Codex 0.154.0 (unchanged). Pi 0.99 changed none of the three managed files' structures, API identifiers, thinking levels or managed settings keys, so no code changed for it. New settings keys (theme: "system", fullscreenWheelScrollLines, defaultTools +name/-name entries, extensions -builtin: entries, codemode, and deviceId from Sign in with ChatGPT) are preserved like any unknown key, and an OAuth auth.json entry stays untouched and never reaches the browser.

  • Validated release candidate: full npm test passed 285 of 288, with 0 failures and 3 Windows-only skips that the CI Windows job runs. That includes 34 production-browser tests, 5 real-Codex tests on 0.149.0, 2 real-Pi tests on 0.99.1, and 10 real-Claude tests on 2.1.285 (interactive pty cases included). The Linux/WSL archive also passed an isolated startup/save check without node_modules.

  • Interactive-terminal tests no longer fail when the machine is busy (test-only). The pty driver checked whether Claude had exited after a fixed five-second sleep, and reported a clean exit as a hung session when the machine was loaded. It now polls for up to 20 seconds. Under full CPU load, the old driver failed 2 of 3 cases and the new one passed all 3; the assertion that Claude exits is unchanged.

  • Claude Code is a third target. The shared wizard manages static Anthropic Messages gateways, both credential modes, default models and alias mappings, renaming, duplication, guarded deletion, reply settings and global CLAUDE.md. Native settings win on read without writing; the provider store has a separate revision, atomic writes and rollback, and existing credentials never return to the browser.

  • A dedicated Claude command for each terminal. Save a provider without changing the global default, then launch it using a private per-run --settings snapshot. Multiple terminals retain their own gateways, credentials and models when the global default changes. The launcher carries no model traffic, preserves Claude's normal policy/permission system, and cleans up its snapshot on exit, on handled signals and when the terminal window closes. A forced kill leaves the snapshot until the next launch or manager start proves both recorded processes gone. On Windows the npm package's native bin/claude.exe entry is run directly. Scope and tradeoffs explain cleanup and revocation.

  • Pinned or follow-the-default, chosen per copy. The command card offers 固定此供应商 (the launcher) or 跟随全局默认 (plain claude, which Claude Code itself hot-reloads from user settings). No setting is stored.

  • Cross-gateway resume is documented as best effort. Measured behavior, including the one failure mode (a relay's non-standard signature error), is in the Claude guide.

  • Verification and packaging cover Claude. Storage/API/launcher tests, production-browser flows, and real Claude against offline fake gateways cover the new target. The release includes the dependency-free launcher and guide; all test servers isolate the new configuration directory.

Linux/WSL and Windows archives include the built UI, the dependency-free server and the Claude launcher; Node.js 18 or newer is required. Each archive has a SHA-256 sidecar. Existing Pi, Codex and Claude Code files are preserved.