thinkpool-pair 0.7.224 → 0.7.225

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
@@ -1671,8 +1671,11 @@ function openStructured({ id, runtime = 'claude', model, effort, resume, log, co
1671
1671
  // `claude-fable-5` → 400 [1211][Unknown Model]. One value, one truth.
1672
1672
  // undefined → omit the SDK option entirely and let the provider env/endpoint default.
1673
1673
  const codexModels = runtime === 'codex' ? readCodexModels() : []
1674
+ const codexRequestedModel = runtime === 'codex' ? (model || readCodexDefaultModel() || undefined) : undefined
1674
1675
  const laneModel = runtime === 'codex'
1675
- ? resolveCodexModel(model || readCodexDefaultModel() || undefined, codexModels)
1676
+ ? (codexRequestedModel
1677
+ ? resolveCodexModel(codexRequestedModel, codexModels)
1678
+ : flowLaneModelFor({ sliceType: 'feature', runtime: 'codex', catalog: codexModels }))
1676
1679
  : effectiveLaneModel({ provider, model, configuredModel: resolveProviderEnv(provider)?.ANTHROPIC_MODEL })
1677
1680
  // spawnedBy: set when this lane was Dispatched (spawn_terminal). Restored from the
1678
1681
  // session store so the Ensemble flag survives a bridge restart (else a respin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thinkpool-pair",
3
- "version": "0.7.224",
3
+ "version": "0.7.225",
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": {