thinkpool-pair 0.7.346 → 0.7.347

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 +7 -9
  2. package/package.json +1 -1
package/bridge.mjs CHANGED
@@ -55,7 +55,7 @@ import { readCodexDefaultModel, readCodexModels, codexConfigForMode, codexThread
55
55
  import { codexAccountUsageLine, codexCreditsReportLine, codexLimitReportLine } from './codex-commands.mjs'
56
56
  import { withMcpSessionFactory } from './codex-mcp-http.mjs'
57
57
  import { startStructuredSession } from './runtime-session.mjs'
58
- import { cleanTerminalName, fallbackTerminalName, modelTerminalNameInput } from './terminal-name.mjs'
58
+ import { cleanTerminalName, modelTerminalNameInput } from './terminal-name.mjs'
59
59
  import { defaultStructuredMode, normalizeStructuredEffort, shouldDeferStructuredRuntime, structuredModeForSlice, structuredModeLocked, structuredModesForLane, structuredRuntimeForCommand, structuredRuntimeMetadata, structuredRuntimeSupportsMode } from './runtime-registry.mjs'
60
60
  import { commandCatalogForRuntime, commandHelpLine, reconcileCommandCatalog } from './command-catalog.mjs'
61
61
  import { gitDiffReport } from './git-diff-report.mjs'
@@ -1497,7 +1497,7 @@ const requestManagedTerminalName = async (id, task, retry = true) => {
1497
1497
  const data = await response.json().catch(() => ({}))
1498
1498
  // Bridge-created lanes can receive their task before the browser has
1499
1499
  // inserted the terminal row. Retry that non-billable race once; every
1500
- // provider failure simply keeps the already-visible local fallback.
1500
+ // provider failure leaves the terminal on its ordinary default label.
1501
1501
  if (retry && response.status === 404 && data?.code === 'terminal_pending') {
1502
1502
  const timer = setTimeout(() => { void requestManagedTerminalName(id, task, false) }, 1500)
1503
1503
  timer.unref?.()
@@ -1511,18 +1511,16 @@ const requestManagedTerminalName = async (id, task, retry = true) => {
1511
1511
  }
1512
1512
  }
1513
1513
 
1514
- // First real task only. The zero-token local name appears immediately; a
1515
- // managed tiny model may improve it later without delaying the agent turn.
1514
+ // First real task only. Naming is managed-model-only: keep the terminal's
1515
+ // ordinary default label until Groq returns instead of showing a local guess.
1516
1516
  const autoNameTerminal = (id, text) => {
1517
1517
  const entry = sessions.get(id)
1518
1518
  if (!entry || termNames[id] || manualNameTouched.has(id) || autoNameAttempts.has(id)) return
1519
1519
  if (entry.log?.some((event) => event?.kind === 'you')) return
1520
- const fallback = fallbackTerminalName(text)
1521
- if (!fallback) return
1522
- autoNameAttempts.add(id)
1523
- applyAutoTerminalName(id, fallback)
1524
1520
  const task = modelTerminalNameInput(text)
1525
- if (task) void requestManagedTerminalName(id, task)
1521
+ if (!task) return
1522
+ autoNameAttempts.add(id)
1523
+ void requestManagedTerminalName(id, task)
1526
1524
  }
1527
1525
 
1528
1526
  // (cross-person grantee yield removed 2026-07-06 — owner-only serving now; the owner's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thinkpool-pair",
3
- "version": "0.7.346",
3
+ "version": "0.7.347",
4
4
  "description": "Connect Claude Code, Codex, or Hermes on your computer to a Thinkpool Code room.",
5
5
  "type": "module",
6
6
  "bin": {