mobygate 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -4,6 +4,42 @@ All notable changes to mobygate are documented here. Format loosely follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version numbers are
5
5
  [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## [0.9.5] — 2026-06-17
8
+
9
+ Claude Agent SDK upgrade: `0.2.112` → `0.3.181`. Pure dependency bump —
10
+ no mobygate behavior change. Closes a 58-release gap and re-aligns the
11
+ SDK with the current `claude` CLI generation (CLI 2.1.181 ↔ SDK 0.3.181
12
+ ship in lockstep).
13
+
14
+ ### Changed
15
+
16
+ - **`@anthropic-ai/claude-agent-sdk` `^0.2.112` → `^0.3.181`.** Resolves
17
+ alongside `@anthropic-ai/sdk@0.104.2`. Lockfile regenerated.
18
+
19
+ ### Verification
20
+
21
+ Vetted on an isolated worktree before merge:
22
+
23
+ - **Static surface diff (0.2.112 vs 0.3.181):** every SDK API mobygate
24
+ depends on is identical — `query()` signature, the
25
+ `{ type:'preset', preset:'claude_code', append }` systemPrompt shape,
26
+ `permissionMode`, `allowDangerouslySkipPermissions`, `persistSession`,
27
+ `resume`, `betas`, `mcpServers`. Nothing removed or reshaped.
28
+ - **Boot:** server starts, binds, `/health` 200, no import errors.
29
+ - **Smoke suite 11/11** against the real API on 0.3.181 — including
30
+ every runtime path: `/v1/messages` and `/v1/chat/completions`
31
+ (non-streaming, streaming, tools), `/quiet` scrub, and the SQLite
32
+ capture index.
33
+
34
+ ### Notes
35
+
36
+ - The SDK reads OAuth from the macOS Keychain (`Claude Code-credentials`),
37
+ not `~/.claude/.credentials.json` — the latter is a stale secondary
38
+ cache and can read "expired" even when auth is healthy. If mobygate
39
+ ever 401s with "proxy refresh failed", re-auth via `claude` → `/login`
40
+ (renews the Keychain credential); restarting mobygate alone won't fix
41
+ a genuinely expired token.
42
+
7
43
  ## [0.9.4] — 2026-05-29
8
44
 
9
45
  Fable 5 support. Anthropic shipped the Fable 5 model family (parallel to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobygate",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "OpenAI-compatible local proxy for Claude Max. The Möbius-strip gateway: OpenAI shape in, Claude Max out.",
5
5
  "type": "module",
6
6
  "main": "server.js",
@@ -18,7 +18,7 @@
18
18
  "postinstall": "node scripts/postinstall.js || true"
19
19
  },
20
20
  "dependencies": {
21
- "@anthropic-ai/claude-agent-sdk": "^0.2.112",
21
+ "@anthropic-ai/claude-agent-sdk": "^0.3.181",
22
22
  "better-sqlite3": "^12.9.0",
23
23
  "express": "^5.1.0",
24
24
  "js-yaml": "^4.1.1",