thinkpool-pair 0.7.288 → 0.7.289

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 +3 -3
  2. package/package.json +1 -1
package/bridge.mjs CHANGED
@@ -3838,8 +3838,8 @@ channel
3838
3838
  // inferred "working…" state (no turn → no result to clear it; the old bug).
3839
3839
  // Instead announce a ◆ control line both readers see. Claude /compact + any
3840
3840
  // other slash still flow through as a real, self-terminating turn.
3841
- const ctlLine = (ctlText) => {
3842
- const evt = { kind: 'control', text: ctlText, by: payload.by, cid: payload.cid }
3841
+ const ctlLine = (ctlText, details = {}) => {
3842
+ const evt = { kind: 'control', text: ctlText, by: payload.by, cid: payload.cid, ...details }
3843
3843
  pushLog(s, evt)
3844
3844
  bcast('code-event', { term: payload.term, evt })
3845
3845
  }
@@ -3935,7 +3935,7 @@ channel
3935
3935
  if (/^\/compact\s*$/.test(text)) {
3936
3936
  if (s.runtime === 'codex') {
3937
3937
  if (s.session.turnActive) {
3938
- ctlLine('finish or stop the current Codex turn before compacting context')
3938
+ ctlLine('Compact after this turn ends.', { tone: 'caution' })
3939
3939
  return
3940
3940
  }
3941
3941
  const recap = buildRecapFromLog(s.log, RECAP_CAP, { reason: 'compact' })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thinkpool-pair",
3
- "version": "0.7.288",
3
+ "version": "0.7.289",
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": {