openclaw/src/infra/outbound
Tyler Yust 92e794dc18
feat: add chunking mode option for BlueBubbles (#1645)
* feat: add chunking mode for outbound messages

- Introduced `chunkMode` option in various account configurations to allow splitting messages by "length" or "newline".
- Updated message processing to handle chunking based on the selected mode.
- Added tests for new chunking functionality, ensuring correct behavior for both modes.

* feat: enhance chunking mode documentation and configuration

- Added `chunkMode` option to the BlueBubbles account configuration, allowing users to choose between "length" and "newline" for message chunking.
- Updated documentation to clarify the behavior of the `chunkMode` setting.
- Adjusted account merging logic to incorporate the new `chunkMode` configuration.

* refactor: simplify chunk mode handling for BlueBubbles

- Removed `chunkMode` configuration from various account schemas and types, centralizing chunk mode logic to BlueBubbles only.
- Updated `processMessage` to default to "newline" for BlueBubbles chunking.
- Adjusted tests to reflect changes in chunk mode handling for BlueBubbles, ensuring proper functionality.

* fix: update default chunk mode to 'length' for BlueBubbles

- Changed the default value of `chunkMode` from 'newline' to 'length' in the BlueBubbles configuration and related processing functions.
- Updated documentation to reflect the new default behavior for chunking messages.
- Adjusted tests to ensure the correct default value is returned for BlueBubbles chunk mode.
2026-01-25 00:47:10 +00:00
..
agent-delivery.test.ts refactor: reuse agent outbound target resolution 2026-01-17 06:54:31 +00:00
agent-delivery.ts fix: preserve subagent thread routing (#1241) 2026-01-20 17:22:07 +00:00
channel-adapters.ts refactor: centralize outbound policy + target schema 2026-01-17 03:33:56 +00:00
channel-selection.ts fix: stabilize gateway config tests + tool schema 2026-01-15 05:16:28 +00:00
channel-target.ts refactor: centralize target normalization 2026-01-17 06:45:11 +00:00
deliver.test.ts fix: normalize outbound media payloads 2026-01-24 04:53:34 +00:00
deliver.ts feat: add chunking mode option for BlueBubbles (#1645) 2026-01-25 00:47:10 +00:00
directory-cache.ts refactor: centralize target normalization 2026-01-17 06:45:11 +00:00
envelope.test.ts refactor: unify outbound result envelopes 2026-01-07 02:36:05 +00:00
envelope.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
format.test.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
format.ts refactor: migrate messaging plugins to sdk 2026-01-18 08:54:00 +00:00
message-action-runner.test.ts fix: honor accountId in message actions 2026-01-23 09:06:04 +00:00
message-action-runner.threading.test.ts fix: harden outbound mirroring normalization 2026-01-24 12:57:58 +00:00
message-action-runner.ts fix: harden outbound mirroring normalization 2026-01-24 12:57:58 +00:00
message-action-spec.ts feat: implement short ID mapping for BlueBubbles messages and enhance reply context caching 2026-01-21 00:45:01 -08:00
message.test.ts refactor: migrate messaging plugins to sdk 2026-01-18 08:54:00 +00:00
message.ts fix: normalize session keys and outbound mirroring 2026-01-24 11:57:11 +00:00
outbound-policy.test.ts refactor: require target for message actions 2026-01-17 04:15:46 +00:00
outbound-policy.ts Step 5 + Review 2026-01-20 12:07:54 +00:00
outbound-send-service.ts fix: normalize session keys and outbound mirroring 2026-01-24 11:57:11 +00:00
outbound-session.test.ts fix: align bluebubbles outbound group sessions 2026-01-24 12:23:26 +00:00
outbound-session.ts fix: align bluebubbles outbound group sessions 2026-01-24 12:23:26 +00:00
payloads.test.ts fix: normalize outbound media payloads 2026-01-24 04:53:34 +00:00
payloads.ts fix: normalize outbound media payloads 2026-01-24 04:53:34 +00:00
target-errors.ts refactor: trim resolver exports 2026-01-17 07:36:09 +00:00
target-normalization.ts refactor: unify target resolver metadata 2026-01-17 07:34:26 +00:00
target-resolver.test.ts test: fix mocks for target resolver 2026-01-17 04:41:02 +00:00
target-resolver.ts feat(channels): add resolve command + defaults 2026-01-18 01:00:24 +00:00
targets.test.ts fix: preserve subagent thread routing (#1241) 2026-01-20 17:22:07 +00:00
targets.ts fix: resolve heartbeat sender and Slack thread_ts 2026-01-23 02:05:34 +00:00