polygram 0.12.0-rc.36 → 0.12.0-rc.37

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.
@@ -23,7 +23,7 @@ const EFFORT_OPTIONS = ['low', 'medium', 'high', 'xhigh', 'max'];
23
23
  // polygram passes the alias (opus / sonnet / haiku) and lets claude
24
24
  // resolve. Bump on Claude release.
25
25
  const MODEL_VERSIONS_DESC = {
26
- opus: 'claude-opus-4-7',
26
+ opus: 'claude-opus-4-8',
27
27
  sonnet: 'claude-sonnet-4-6',
28
28
  haiku: 'claude-haiku-4-5',
29
29
  };
@@ -28,6 +28,10 @@ const MODEL_COSTS = {
28
28
  'claude-haiku-4-5': { input: 0.80, output: 4, cacheRead: 0.08, cacheCreation: 1 },
29
29
  // Claude Opus 4.7 (1M context)
30
30
  'claude-opus-4-7': { input: 15, output: 75, cacheRead: 1.50, cacheCreation: 18.75 },
31
+ // Claude Opus 4.8 — what `--model opus` resolves to now (verified in the
32
+ // Music-topic transcript 2026-06-10). Same Opus pricing; without this entry
33
+ // opus turns fall back to the Sonnet `default` and undercount cost ~5×.
34
+ 'claude-opus-4-8': { input: 15, output: 75, cacheRead: 1.50, cacheCreation: 18.75 },
31
35
  // Default fallback — Sonnet rates (safest mid-tier estimate).
32
36
  default: { input: 3, output: 15, cacheRead: 0.30, cacheCreation: 3.75 },
33
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polygram",
3
- "version": "0.12.0-rc.36",
3
+ "version": "0.12.0-rc.37",
4
4
  "description": "Telegram daemon for Claude Code that preserves the OpenClaw per-chat session model. Migration path for OpenClaw users moving to Claude Code.",
5
5
  "main": "lib/ipc/client.js",
6
6
  "bin": {