thinkpool-pair 0.7.82 → 0.7.83
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.
- package/bridge.mjs +1 -1
- package/package.json +1 -1
package/bridge.mjs
CHANGED
|
@@ -1225,7 +1225,7 @@ channel
|
|
|
1225
1225
|
// Display the clean body (web sends `body` when the agent `text` carries host
|
|
1226
1226
|
// file paths) + the uploaded attachments, so the partner shows the image — not
|
|
1227
1227
|
// a raw /var path. The agent already got the full `text` via sendTurn above.
|
|
1228
|
-
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 } : {}) }
|
|
1228
|
+
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 } : {}), ...(Array.isArray(payload.pastes) && payload.pastes.length ? { pastes: payload.pastes } : {}) }
|
|
1229
1229
|
pushLog(s, evt)
|
|
1230
1230
|
bcast('code-event', { term: payload.term, evt })
|
|
1231
1231
|
}
|