thinkpool-pair 0.7.31 → 0.7.32

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
@@ -904,7 +904,10 @@ channel
904
904
  // said what — UNLESS silent (an @pool synthesis, which renders its own line).
905
905
  const echoYou = () => {
906
906
  if (payload.silent) return
907
- const evt = { kind: 'you', text, cid: payload.cid, by: payload.by }
907
+ // Display the clean body (web sends `body` when the agent `text` carries host
908
+ // file paths) + the uploaded attachments, so the partner shows the image — not
909
+ // a raw /var path. The agent already got the full `text` via sendTurn above.
910
+ const evt = { kind: 'you', text: payload.body != null ? String(payload.body) : text, cid: payload.cid, by: payload.by, ...(Array.isArray(payload.files) && payload.files.length ? { files: payload.files } : {}) }
908
911
  pushLog(s, evt)
909
912
  bcast('code-event', { term: payload.term, evt })
910
913
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thinkpool-pair",
3
- "version": "0.7.31",
3
+ "version": "0.7.32",
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": {