thinkpool-pair 0.7.202 → 0.7.203

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/bridge.mjs +4 -1
  2. package/package.json +1 -1
package/bridge.mjs CHANGED
@@ -2239,7 +2239,10 @@ function openStructured({ id, runtime = 'claude', model, effort, resume, log, co
2239
2239
  { const onBuiltin = !entry.provider || entry.provider === 'anthropic'
2240
2240
  const m = onBuiltin ? (evt.model || evt.ctx?.model) : null
2241
2241
  if (m && m !== entry.model) { entry.model = m; announce() }
2242
- if (evt.kind === 'models' && Array.isArray(evt.models) && evt.models.length) { roomModels = evt.models; announce() } }
2242
+ // A custom Anthropic-compatible endpoint may expose its own catalog through the
2243
+ // same SDK method. Never publish that as the ROOM's Claude catalog: its models
2244
+ // already render in the provider group and otherwise leak under ANTHROPIC.
2245
+ if (onBuiltin && evt.kind === 'models' && Array.isArray(evt.models) && evt.models.length) { roomModels = evt.models; announce() } }
2243
2246
  // Cache the last usage/ctx meter on the entry (persisted + replayed — see
2244
2247
  // openStructured). Chrome events bypass pushLog/persist in emitTail below, so
2245
2248
  // usage needs an explicit persist() here to survive a bridge restart.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thinkpool-pair",
3
- "version": "0.7.202",
3
+ "version": "0.7.203",
4
4
  "description": "Share a local coding-agent CLI (Claude Code, Codex, Gemini, Aider, …) into a ThinkPool Code room, live.",
5
5
  "type": "module",
6
6
  "bin": {