Aiden Cline
472a0c998f
feat(core): normalize tool and attachment images at settlement
...
Image resizing previously ran only inside the read tool, so plugin, MCP,
and codemode tools could persist unbounded inline base64 images that grow
every provider request body (see #36552 ).
- ToolRegistry.settleTool now normalizes image file content generically:
a missing resizer keeps the original, an unresizable image is dropped
and replaced with an omission note, mirroring V1 processor behavior.
- SessionV2.prompt normalizes image attachments at admission, resolving
the Location-scoped Image service lazily so text-only prompts do not
boot location services.
- read keeps its internal normalize call to bound the image persisted in
its structured output.
2026-07-15 22:11:38 -05:00
..
2026-07-15 22:53:38 -04:00
2026-07-06 01:29:08 -04:00
2026-07-08 17:58:55 -05:00
2026-07-14 16:38:22 -04:00
2026-07-15 18:21:32 -05:00
2026-07-10 21:11:12 -04:00
2026-07-15 00:47:10 -04:00
2026-07-15 22:11:38 -05:00
2026-07-15 22:55:40 -04:00
2026-06-28 11:30:38 -04:00
2026-07-01 17:12:00 -04:00
2026-07-10 13:26:25 -04:00
2026-07-14 16:38:22 -04:00
2026-07-01 17:12:00 -04:00
2026-07-15 15:11:03 -04:00
2026-07-07 22:10:11 -04:00
2026-07-06 16:05:29 -05:00
2026-07-01 17:12:00 -04:00
2026-07-10 13:26:25 -04:00
2026-07-05 15:59:44 -04:00
2026-07-12 11:48:52 -04:00
2026-07-01 17:12:00 -04:00
2026-07-10 00:22:01 -05:00
2026-07-10 19:41:48 -04:00
2026-05-01 15:35:45 -04:00
2026-07-10 13:26:25 -04:00
2026-07-15 22:53:38 -04:00
2026-07-01 17:12:00 -04:00
2026-07-15 22:53:38 -04:00
2026-06-24 16:43:17 -04:00
2026-07-01 17:12:00 -04:00
2026-07-10 20:49:16 -04:00
2026-07-01 17:12:00 -04:00
2026-07-06 01:29:08 -04:00
2026-06-30 22:31:51 -04:00
2026-07-15 22:11:38 -05:00
2026-05-30 04:06:08 +00:00
2026-07-14 22:12:02 -05:00
2026-07-15 00:33:59 -04:00
2026-07-04 21:43:08 -04:00
2026-04-27 03:54:59 +00:00
2026-07-13 22:45:15 -04:00
2026-06-26 00:36:40 -05:00
2026-06-04 03:03:39 +00:00
2026-07-09 00:13:48 -05:00
2026-07-15 16:32:00 -04:00
2026-07-14 15:57:16 -04:00
2026-06-22 22:49:57 -04:00
2026-07-01 17:12:00 -04:00
2026-06-29 14:10:11 -04:00
2026-07-06 16:05:29 -05:00
2026-07-09 16:32:44 -05:00
2026-07-03 00:32:10 -05:00
2026-07-11 16:38:02 -04:00
2026-07-11 16:38:02 -04:00
2026-07-01 17:12:00 -04:00
2026-06-02 13:42:23 +00:00
2026-06-28 11:30:38 -04:00
2026-07-15 15:11:03 -04:00
2026-07-15 15:11:03 -04:00
2026-07-09 17:25:40 -04:00
2026-07-15 15:11:03 -04:00
2026-07-15 15:11:03 -04:00
2026-07-15 15:11:03 -04:00
2026-07-07 22:10:11 -04:00
2026-07-10 13:26:25 -04:00
2026-07-15 22:11:38 -05:00
2026-07-06 19:19:22 -04:00
2026-07-06 18:14:06 -04:00
2026-07-15 15:11:03 -04:00
2026-07-15 15:11:03 -04:00
2026-07-15 18:21:32 -05:00
2026-07-15 15:11:03 -04:00
2026-07-15 22:11:38 -05:00
2026-07-15 18:21:32 -05:00
2026-07-07 22:10:11 -04:00
2026-07-15 15:11:03 -04:00
2026-07-07 22:10:11 -04:00
2026-07-01 17:12:00 -04:00
2026-07-15 15:11:03 -04:00
2026-06-29 12:05:56 -04:00
2026-07-06 16:05:29 -05:00
2026-07-10 20:42:44 -04:00
2026-07-10 17:34:40 -04:00
2026-06-22 19:06:57 -04:00
2026-07-06 18:14:06 -04:00
2026-07-14 15:57:16 -04:00
2026-07-14 15:57:16 -04:00
2026-07-09 22:01:31 -04:00
2026-07-15 22:11:38 -05:00
2026-07-01 17:12:00 -04:00
2026-07-06 18:14:06 -04:00
2026-07-15 13:49:16 -04:00
2026-07-14 21:29:59 -04:00
2026-07-15 22:11:38 -05:00
2026-07-14 15:57:16 -04:00
2026-07-15 22:11:38 -05:00
2026-07-15 22:11:38 -05:00
2026-07-06 18:14:06 -04:00
2026-07-03 17:42:25 +05:30
2026-07-03 16:49:03 +05:30
2026-07-15 22:53:38 -04:00