@bivy/bivy 0.18.11-staging.5 → 0.18.11-staging.6

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.
@@ -1089,6 +1089,10 @@ class ClaudeSession {
1089
1089
  if (!images.length)
1090
1090
  return;
1091
1091
  const toolUseId = String(block.tool_use_id ?? "");
1092
+ // A file read returns an image that already exists on disk — most often
1093
+ // one the user just uploaded — so surfacing it would repeat it in chat.
1094
+ if (this.toolDetailsByUseId.get(toolUseId)?.kind === "read")
1095
+ return;
1092
1096
  const toolName = this.toolNamesByUseId.get(toolUseId) ?? "tool";
1093
1097
  for (const image of images) {
1094
1098
  const byteLength = Buffer.byteLength(image.data, "base64");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bivy/bivy",
3
- "version": "0.18.11-staging.5",
3
+ "version": "0.18.11-staging.6",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "Run coding agents on machines you own. Open-source, self-hostable agent workspace.",