openclaw/src/agents/tools
Tyler Yust 8d74578ceb feat: native image injection for vision-capable models
- Auto-detect and load images referenced in user prompts
- Inject history images at their original message positions
- Fix EXIF orientation - rotate before resizing in resizeToJpeg
- Sandbox security: validate paths, block remote URLs when sandbox enabled
- Prevent duplicate history image injection across turns
- Handle string-based user message content (convert to array)
- Add bounds check for message index in history processing
- Fix regex to properly match relative paths (./  ../)
- Add multi-image support for iMessage attachments
- Pass MAX_IMAGE_BYTES limit to image loading

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 08:15:21 +00:00
..
agent-step.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
agents-list-tool.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
browser-tool.schema.ts fix: avoid format keyword in tool schemas 2026-01-16 20:20:26 +00:00
browser-tool.test.ts fix(browser): default chrome profile to host 2026-01-15 10:43:39 +00:00
browser-tool.ts fix: avoid format keyword in tool schemas 2026-01-16 20:20:26 +00:00
canvas-tool.ts style: run oxfmt 2026-01-16 21:11:55 +00:00
common.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
common.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
cron-tool.test.ts Improve reminder text generation. 2026-01-16 14:03:17 +09:00
cron-tool.ts Improve reminder text generation. 2026-01-16 14:03:17 +09:00
discord-actions-guild.ts fix(config): allow discord action flags in schema 2026-01-16 06:48:25 +00:00
discord-actions-messaging.ts refactor(discord): centralize target parsing 2026-01-18 00:04:38 +00:00
discord-actions-moderation.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
discord-actions.test.ts feat(whatsapp): add debounceMs for batching rapid messages (#971) 2026-01-15 23:07:19 +00:00
discord-actions.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
gateway-tool.ts chore: format sources and update protocol outputs 2026-01-15 05:17:19 +00:00
gateway.test.ts chore: changelog for #293 2026-01-06 15:32:06 +01:00
gateway.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
image-tool.helpers.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
image-tool.test.ts feat: native image injection for vision-capable models 2026-01-18 08:15:21 +00:00
image-tool.ts feat: native image injection for vision-capable models 2026-01-18 08:15:21 +00:00
memory-tool.does-not-crash-on-errors.test.ts style: oxfmt 2026-01-17 10:26:08 +00:00
memory-tool.ts feat: add experimental session memory source 2026-01-17 18:53:52 +00:00
message-tool.test.ts refactor: require target for message actions 2026-01-17 04:15:46 +00:00
message-tool.ts feat(telegram): support sending audio as native voice notes via asVoice param in message tool 2026-01-17 17:32:50 +00:00
nodes-tool.ts feat: add exec host routing + node daemon 2026-01-18 07:46:00 +00:00
nodes-utils.ts feat: add exec approvals allowlists 2026-01-18 01:34:31 +00:00
session-status-tool.ts refactor: prune legacy group prefixes 2026-01-17 08:47:25 +00:00
sessions-announce-target.test.ts fix: normalize delivery routing context 2026-01-17 06:38:33 +00:00
sessions-announce-target.ts fix: normalize delivery routing context 2026-01-17 06:38:33 +00:00
sessions-helpers.ts refactor: prune legacy group prefixes 2026-01-17 08:47:25 +00:00
sessions-history-tool.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
sessions-list-tool.gating.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
sessions-list-tool.ts style: run oxfmt 2026-01-17 08:00:05 +00:00
sessions-send-helpers.ts refactor: prune legacy group prefixes 2026-01-17 08:47:25 +00:00
sessions-send-tool.a2a.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
sessions-send-tool.gating.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
sessions-send-tool.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
sessions-spawn-tool.ts feat: add thinking override to sessions_spawn 2026-01-18 00:14:18 +00:00
slack-actions.test.ts refactor(slack): centralize target parsing 2026-01-18 00:15:05 +00:00
slack-actions.ts refactor(slack): centralize target parsing 2026-01-18 00:15:05 +00:00
telegram-actions.test.ts test: cover tg/group/topic inline button targets (#1072) — thanks @danielz1z 2026-01-17 08:00:16 +00:00
telegram-actions.ts feat(telegram): support sending audio as native voice notes via asVoice param in message tool 2026-01-17 17:32:50 +00:00
web-fetch-utils.ts style: apply oxfmt 2026-01-18 02:19:35 +00:00
web-fetch.ts refactor: split web tools and docs 2026-01-18 01:42:54 +00:00
web-search.ts style: apply oxfmt 2026-01-18 02:19:35 +00:00
web-shared.ts style: apply oxfmt 2026-01-18 02:19:35 +00:00
web-tools.enabled-defaults.test.ts style: apply oxfmt 2026-01-18 02:19:35 +00:00
web-tools.fetch.test.ts feat: enhance web_fetch fallbacks 2026-01-17 00:00:49 +00:00
web-tools.readability.test.ts feat: improve web_fetch readability extraction 2026-01-16 23:18:01 +00:00
web-tools.ts refactor: split web tools and docs 2026-01-18 01:42:54 +00:00
whatsapp-actions.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
whatsapp-actions.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00