max
f0924d3c4e
refactor: consolidate PNG encoder and safeParseJson utilities ( #12457 )
...
- Create shared PNG encoder module (src/media/png-encode.ts)
- Refactor qr-image.ts and live-image-probe.ts to use shared encoder
- Add safeParseJson to utils.ts and plugin-sdk exports
- Update msteams and pairing-store to use centralized safeParseJson
2026-02-09 00:21:54 -08:00
succ985
b8f740fb14
fix: add .caf to AUDIO_FILE_EXTENSIONS ( #10982 )
...
* fix: add .caf to AUDIO_FILE_EXTENSIONS for iMessage voice messages
* fix: add caf audio extension regression coverage (#10982 ) (thanks @succ985)
---------
Co-authored-by: succ985 <succ985@users.noreply.github.com >
Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com >
2026-02-07 18:04:22 -05:00
Peter Steinberger
9bd64c8a1f
fix: expand SSRF guard coverage
2026-02-02 04:58:32 -08:00
Peter Steinberger
81c68f582d
fix: guard remote media fetches with SSRF checks
2026-02-02 04:07:29 -08:00
cpojer
f06dd8df06
chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts.
2026-02-01 10:03:47 +09:00
cpojer
5ceff756e1
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
2026-01-31 16:19:20 +09:00
cpojer
15792b153f
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
2026-01-31 16:04:04 +09:00
Evan Otero
c67df653b6
fix(security): restrict local path extraction in media parser to prevent LFI ( #4880 )
...
* Media: restrict local path extraction to prevent LFI
* Lint: remove unused variable hasValidMediaOnLine
2026-01-31 03:44:11 +01:00
Peter Steinberger
9a7160786a
refactor: rename to openclaw
2026-01-30 03:16:21 +01:00
Bruno Guidolim
57efd8e083
fix(media): add missing MIME type mappings for audio/video files
...
Add mappings for audio/x-m4a, audio/mp4, and video/quicktime to ensure
media files sent as documents are saved with proper extensions, enabling
automatic transcription/analysis tools to work correctly.
- audio/x-m4a → .m4a
- audio/mp4 → .m4a
- video/quicktime → .mov
Also adds comprehensive test coverage for extensionForMime().
2026-01-28 13:17:50 +01:00
Shadow
20c0d1f2c5
fix: avoid global image size regression
2026-01-27 16:02:19 -06:00
{Suksham-sharma}
b59ea0e3f3
fix: prevent infinite retry loop for images exceeding 5MB
...
- Change MAX_IMAGE_BYTES from 6MB to 5MB to match Anthropic API limit
- Add isImageSizeError() to detect image size errors from API
- Handle image size errors with user-friendly message instead of retry
- Prevent failover for image size errors (not retriable)
Fixes #2271
2026-01-27 16:02:19 -06:00
Peter Steinberger
6d16a658e5
refactor: rename clawdbot to moltbot with legacy compat
2026-01-27 12:21:02 +00:00
Peter Steinberger
5eee991913
fix: harden file serving
2026-01-27 03:35:07 +00:00
Peter Steinberger
b623557a2e
fix: harden url fetch dns pinning
2026-01-26 16:05:29 +00:00
Peter Steinberger
951a4ea065
fix: anchor MEDIA tag parsing
2026-01-24 03:46:27 +00:00
Peter Steinberger
350131b4d7
fix: improve web image optimization
2026-01-24 01:18:58 +00:00
Peter Steinberger
6d2a1ce217
test: trim async waits in webhook tests
2026-01-23 18:34:33 +00:00
Robby
e634791585
fix(media): preserve alpha channel for transparent PNGs ( #1473 )
2026-01-23 08:43:01 +00:00
Peter Steinberger
e0c19607b7
fix: allow MEDIA local paths with spaces
2026-01-22 07:51:09 +00:00
Peter Steinberger
0f7f7bb95f
fix: msteams attachments + plugin prompt hints
...
Co-authored-by: Christof <10854026+Evizero@users.noreply.github.com >
2026-01-22 03:37:29 +00:00
Peter Steinberger
5bd55037e4
fix: harden web fetch SSRF and redirects
...
Co-authored-by: Eli <fogboots@users.noreply.github.com >
2026-01-21 02:54:14 +00:00
Tyler Yust
14a072f5fa
feat: add support for setting group icons in BlueBubbles, enhancing group management capabilities
2026-01-20 12:07:54 +00:00
Peter Steinberger
d88b239d3c
feat: add device token auth and devices cli
2026-01-20 10:30:53 +00:00
Peter Steinberger
069b50635b
fix: lazy-load pdf/image input deps
2026-01-20 08:47:56 +00:00
Peter Steinberger
f06ad4502b
refactor: share responses input handling
2026-01-20 08:21:57 +00:00
Peter Steinberger
6d5195c890
refactor: normalize cli command hints
2026-01-20 07:43:00 +00:00
Peter Steinberger
50fdd514ae
refactor(logging): split config + subsystem imports
2026-01-19 00:15:44 +00:00
Peter Steinberger
ab340c82fb
fix: stabilize tests and logging
2026-01-18 18:43:31 +00:00
Peter Steinberger
c5e19f5c67
refactor: migrate messaging plugins to sdk
2026-01-18 08:54:00 +00:00
Peter Steinberger
65bed815a8
fix: resolve ci failures
2026-01-18 08:45:29 +00:00
Peter Steinberger
8b57f519c3
fix: tighten native image injection ( #1098 )
...
Thanks @tyler6204.
Co-authored-by: Tyler Yust <tyler6204@users.noreply.github.com >
2026-01-18 08:15:21 +00:00
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
Peter Steinberger
fcb7c9ff65
refactor: unify media understanding pipeline
2026-01-17 04:39:00 +00:00
Peter Steinberger
1b973f7506
feat: add inbound media understanding
...
Co-authored-by: Tristan Manchester <tmanchester96@gmail.com >
2026-01-17 03:54:46 +00:00
Peter Steinberger
c379191f80
chore: migrate to oxlint and oxfmt
...
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com >
2026-01-14 15:02:19 +00:00
Peter Steinberger
f241859c98
fix: relax fetch typing for Bun
2026-01-10 04:01:06 +01:00
Peter Steinberger
f28a4a34ad
refactor: unify inline directives and media fetch
2026-01-10 03:01:04 +01:00
Peter Steinberger
4075895c4c
refactor: consolidate reply/media helpers
2026-01-10 02:41:16 +01:00
Peter Steinberger
c56b2f4bc1
fix: honor audio_as_voice streaming + parse tests ( #490 ) (thanks @jarvis-medmatic)
2026-01-10 01:50:33 +01:00
Jarvis
5fedfd8d15
chore: format audioAsVoice updates
...
Co-authored-by: Manuel Hettich <17690367+ManuelHettich@users.noreply.github.com >
2026-01-10 01:44:57 +01:00
Jarvis
05a99aa49b
feat(telegram): buffer audio blocks for [[audio_as_voice]] tag support
...
- Add [[audio_as_voice]] detection to splitMediaFromOutput()
- Pass audioAsVoice through onBlockReply callback chain
- Buffer audio blocks during streaming, flush at end with correct flag
- Non-audio media still streams immediately
- Fix: emit payloads with audioAsVoice flag even if text is empty
Co-authored-by: Manuel Hettich <17690367+ManuelHettich@users.noreply.github.com >
2026-01-10 01:41:18 +01:00
Peter Steinberger
837cec64af
refactor: centralize test path containment checks
2026-01-09 19:15:44 +00:00
Peter Steinberger
dac3b675cc
fix: stabilize CI path assumptions
2026-01-09 18:35:52 +01:00
Peter Steinberger
6aac3184c3
test: normalize windows path assertions
2026-01-09 18:32:45 +01:00
Peter Steinberger
3f11927cd9
chore: update ClawdBot CLI branding
2026-01-08 05:20:39 +01:00
Peter Steinberger
cc0ef4d012
fix(telegram): improve gif handling
2026-01-06 02:22:19 +00:00
Peter Steinberger
cc790f2c84
docs(agent): annotate stream invariants
2026-01-05 18:10:03 +00:00
Peter Steinberger
7c89ce93b5
fix(agent): align tools + preserve indentation
2026-01-05 17:55:20 +00:00
Peter Steinberger
246adaa119
chore: rename project to clawdbot
2026-01-04 14:38:51 +00:00