[Feature Request] Support Ctrl+V image pasting from clipboard in CLI

Resolved 💬 1 comment Opened May 9, 2026 by whatsbcn Closed Jun 7, 2026

Description
allow the ctrl+v for pasting an image which has been captured using snapshot tool. This works on desktop app but not on the cli. here it only works with copy and paste files.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.137
  • Feedback ID: c30de2ea-b7fe-441d-ae83-d310f8c3498d

Errors

[{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at PZ1 (/$bunfs/root/src/entrypoints/cli.js:436:16231)\n    at i8H (/$bunfs/root/src/entrypoints/cli.js:436:16406)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:436:16948)\n    at bf (/$bunfs/root/src/entrypoints/cli.js:8811:8596)\n    at i3_ (/$bunfs/root/src/entrypoints/cli.js:823:26323)\n    at r3_ (/$bunfs/root/src/entrypoints/cli.js:823:29242)\n    at OY5 (/$bunfs/root/src/entrypoints/cli.js:2544:2503)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2544:3092)\n    at zY5 (/$bunfs/root/src/entrypoints/cli.js:2544:4472)\n    at M86 (/$bunfs/root/src/entrypoints/cli.js:2544:6668)","timestamp":"2026-05-09T05:35:49.421Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at PZ1 (/$bunfs/root/src/entrypoints/cli.js:436:16231)\n    at i8H (/$bunfs/root/src/entrypoints/cli.js:436:16406)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:436:16948)\n    at bf (/$bunfs/root/src/entrypoints/cli.js:8811:8596)\n    at i3_ (/$bunfs/root/src/entrypoints/cli.js:823:26323)\n    at r3_ (/$bunfs/root/src/entrypoints/cli.js:823:29242)\n    at OY5 (/$bunfs/root/src/entrypoints/cli.js:2544:2503)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2544:3092)\n    at zY5 (/$bunfs/root/src/entrypoints/cli.js:2544:4472)\n    at M86 (/$bunfs/root/src/entrypoints/cli.js:2544:6668)","timestamp":"2026-05-09T05:35:49.424Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 212881 tokens > 200000 maximum\"},\"request_id\":\"req_011CarTDiZdTbP1F81cH1Pib\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58750)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T05:36:04.837Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 212881 tokens > 200000 maximum\"},\"request_id\":\"req_011CarTEKTbqr8uW5icqguCu\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58750)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T05:36:13.072Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 212881 tokens > 200000 maximum\"},\"request_id\":\"req_011CarTErgpDNXL143CgZb8n\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58750)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T05:36:21.208Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 212881 tokens > 200000 maximum\"},\"request_id\":\"req_011CarTF88zkDzuqRa1PS9dQ\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58750)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T05:36:24.019Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 212881 tokens > 200000 maximum\"},\"request_id\":\"req_011CarTFZidCrpjFpNkDYQjF\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58750)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T05:36:30.887Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 212881 tokens > 200000 maximum\"},\"request_id\":\"req_011CarTFfqEPa1b1H4v5oM78\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58750)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T05:36:31.859Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T05:56:53.916Z"},{"error":"SyntaxError: JSON Parse error…

Note: Content was truncated.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗