thinkpool-pair 0.6.18 → 0.6.19

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 +5 -0
  2. package/package.json +1 -1
package/bridge.mjs CHANGED
@@ -435,6 +435,11 @@ function openStructured({ id, model, resume, log }) {
435
435
  openStructured({ id, model, log: entry.log })
436
436
  return
437
437
  }
438
+ // Stamp a wall-clock ts on every transcript event so the web client can
439
+ // sort agent turns chronologically against room chat/whispers on reload
440
+ // (the client merges the replayed log with persisted human lines). Used
441
+ // for ordering only — agent timestamps are never displayed.
442
+ if (typeof evt.ts !== 'number') evt.ts = Date.now()
438
443
  // Chrome events (mode / usage / clear) are transient state, not transcript —
439
444
  // broadcast + print them, but keep them out of the persisted/replayed log.
440
445
  const chrome = evt.kind === 'mode' || evt.kind === 'usage' || evt.kind === 'clear'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thinkpool-pair",
3
- "version": "0.6.18",
3
+ "version": "0.6.19",
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": {