[Bug] Image uploads shared across multiple agent instances instead of isolated per session
Resolved 💬 3 comments Opened Mar 7, 2026 by boobal003 Closed Mar 11, 2026
Bug Description
When running multiple Claude Code agents in the terminal, there appears to be an issue with image uploads.
If I upload an image to one specific agent, the uploaded image is automatically visible and accessible to all other running agents in the terminal session. All agents are able to read and process the same image, even though it was intended for only one agent.
Ideally, the uploaded image should be isolated to the specific agent session where it was uploaded. This behavior seems to be a bug, as it affects agent-level isolation.
Environment Info
- Platform: win32
- Terminal: cursor
- Version: 2.1.71
- Feedback ID: 45e0865f-6088-40f9-8fbf-a6e3c786bfaa
Errors
[{"error":"TelemetrySafeError: {\"error\":{\"name\":\"HttpException\",\"message\":\"Failed to run sql query: ERROR: 42P01: relation \\\"users\\\" does not exist\\nLINE 11: FROM users u\\n ^\\n\"}}\n at iWL (B:/~BUN/root/src/entrypoints/cli.js:6220:26838)\n at async YWM (B:/~BUN/root/src/entrypoints/cli.js:6220:23932)\n at async call (B:/~BUN/root/src/entrypoints/cli.js:6220:43424)\n at async kfM (B:/~BUN/root/src/entrypoints/cli.js:3956:14884)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-07T05:18:03.692Z"},{"error":"TelemetrySafeError: {\"error\":{\"name\":\"HttpException\",\"message\":\"Failed to run sql query: ERROR: 42703: column \\\"user_id\\\" does not exist\\nLINE 4: OR user_id = '6ad7d1d6-6927-4b66-b044-71df85ffa264';\\n ^\\n\"}}\n at iWL (B:/~BUN/root/src/entrypoints/cli.js:6220:26838)\n at async YWM (B:/~BUN/root/src/entrypoints/cli.js:6220:23932)\n at async call (B:/~BUN/root/src/entrypoints/cli.js:6220:43424)\n at async kfM (B:/~BUN/root/src/entrypoints/cli.js:3956:14884)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-07T05:18:13.458Z"},{"error":"TelemetrySafeError: {\"error\":{\"name\":\"HttpException\",\"message\":\"Failed to run sql query: ERROR: 42601: syntax error at or near \\\"WHERE\\\"\\nLINE 23: WHERE COUNT(*) > 0;\\n ^\\n\"}}\n at iWL (B:/~BUN/root/src/entrypoints/cli.js:6220:26838)\n at async YWM (B:/~BUN/root/src/entrypoints/cli.js:6220:23932)\n at async call (B:/~BUN/root/src/entrypoints/cli.js:6220:43424)\n at async kfM (B:/~BUN/root/src/entrypoints/cli.js:3956:14884)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-07T05:20:07.150Z"},{"error":"TelemetrySafeError: {\"error\":{\"name\":\"HttpException\",\"message\":\"Failed to run sql query: ERROR: 23503: insert or update on table \\\"user_roles\\\" violates foreign key constraint \\\"user_roles_user_id_fkey\\\"\\nDETAIL: Key (user_id)=(6ad7d1d6-6927-4b66-b044-71df85ffa264) is not present in table \\\"profiles\\\".\\n\"}}\n at iWL (B:/~BUN/root/src/entrypoints/cli.js:6220:26838)\n at async YWM (unknown)\n at async call (unknown)\n at async kfM (unknown)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-07T05:20:29.032Z"},{"error":"Error: Error normalizing tool input: ZodError: [\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"old_string\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"new_string\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"old_content\",\n \"new_content\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"old_content\\\", \\\"new_content\\\"\"\n }\n]\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:6527:357)\n at map (native:1:11)\n at WdA (B:/~BUN/root/src/entrypoints/cli.js:6527:71)\n at EEL (B:/~BUN/root/src/entrypoints/cli.js:6258:6543)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-07T08:25:03.331Z"},{"error":"aWL: Diagnostics file path mismatch: expected D:\\Projects\\MyJKKN\\app\\(routes)\\learners\\profiles\\[id]\\edit\\page.tsx, got file://d:\\projects\\myjkkn\\app\\(routes)\\learners\\profiles\\[id]\\edit\\page.tsx/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:6220:47128)\n at async call (B:/~BUN/root/src/entrypoints/cli.js:6236:880)\n …
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗