Yida-Dev
4216449405
fix: guard resolveUserPath against undefined input ( #10176 )
...
* fix: guard resolveUserPath against undefined input
When subagent spawner omits workspaceDir, resolveUserPath receives
undefined and crashes on .trim(). Add a falsy guard that falls back
to process.cwd(), matching the behavior callers already expect.
Closes #10089
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* fix: harden runner workspace fallback (#10176 ) (thanks @Yida-Dev)
* fix: harden workspace fallback scoping (#10176 ) (thanks @Yida-Dev)
* refactor: centralize workspace fallback classification and redaction (#10176 ) (thanks @Yida-Dev)
* test: remove explicit any from utils mock (#10176 ) (thanks @Yida-Dev)
* security: reject malformed agent session keys for workspace resolution (#10176 ) (thanks @Yida-Dev)
---------
Co-authored-by: Yida-Dev <reyifeijun@gmail.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com >
2026-02-06 13:16:58 -05:00
cpojer
b48d72a2b8
chore: fix lint, and format after lint to catch reformats triggered by autofixes.
2026-02-01 13:19:06 +09:00
Lalit Singh
01d76e4799
feat(routing): add thread parent binding inheritance for Discord ( #3892 )
...
* feat(routing): add thread parent binding inheritance for Discord
When a Discord thread message doesn't match a direct peer binding,
now checks if the parent channel has a binding and uses that agent.
This enables multi-agent setups where threads inherit their parent
channel's agent binding automatically.
Changes:
- Add parentPeer parameter to ResolveAgentRouteInput
- Add binding.peer.parent match type
- Resolve thread parent early in Discord preflight
- Pass parentPeer to resolveAgentRoute for threads
Fixes thread routing in Discord multi-agent configurations where
threads were incorrectly routed to the default agent instead of
inheriting from their parent channel's binding.
* ci: trigger fresh macOS runners
* Discord: inherit thread bindings in reactions
* fix: add changelog for thread parent binding (#3892 ) (thanks @aerolalit)
---------
Co-authored-by: Lalit Singh <lalit@clawd.bot >
Co-authored-by: OSS Agent <oss-agent@clawdbot.ai >
Co-authored-by: Shadow <shadow@clawd.bot >
2026-01-31 20:30:45 -06: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
Peter Steinberger
9a7160786a
refactor: rename to openclaw
2026-01-30 03:16:21 +01:00
Jarvis Deploy
d499b14842
feat(routing): add per-account-channel-peer session scope
...
Adds a new dmScope option that includes accountId in session keys,
enabling isolated sessions per channel account for multi-bot setups.
- Add 'per-account-channel-peer' to DmScope type
- Update session key generation to include accountId
- Pass accountId through routing chain
- Add tests for new routing behavior (13/13 passing)
Closes #3094
Co-authored-by: Sebastian Almeida <89653954+SebastianAlmeida@users.noreply.github.com >
2026-01-28 11:42:33 +05:30
Peter Steinberger
6d16a658e5
refactor: rename clawdbot to moltbot with legacy compat
2026-01-27 12:21:02 +00:00
Shadow
73507e8654
Routing: precompile session key regexes ( #1697 )
...
Co-authored-by: Ray Tien <ray0907@users.noreply.github.com >
2026-01-25 21:15:20 -06:00
Peter Steinberger
390b730b37
fix: unify reasoning tags + agent ids ( #1613 ) (thanks @kyleok) ( #1629 )
2026-01-24 19:56:02 +00:00
Peter Steinberger
6d79c6cd26
fix: clean docker onboarding warnings + preserve agentId casing
2026-01-24 19:07:01 +00:00
Peter Steinberger
93737ee152
test: align agent id normalization
2026-01-24 14:36:31 +00:00
Peter Steinberger
ef7971e3a4
fix: normalize heartbeat targets
2026-01-24 13:53:00 +00:00
Peter Steinberger
386d21b6d1
fix: sync tests with config normalization
2026-01-24 13:32:26 +00:00
Peter Steinberger
fa746b05de
fix: preserve agent id casing
2026-01-24 12:23:44 +00:00
Peter Steinberger
298901208d
fix: align agent id normalization
2026-01-24 12:10:08 +00:00
Peter Steinberger
4b6cdd1d3c
fix: normalize session keys and outbound mirroring
2026-01-24 11:57:11 +00:00
Peter Steinberger
65bed815a8
fix: resolve ci failures
2026-01-18 08:45:29 +00:00
Peter Steinberger
de3b68740a
feat(acp): add experimental ACP support
...
Co-authored-by: Jonathan Taylor <visionik@pobox.com >
2026-01-18 08:03:36 +00:00
Peter Steinberger
c92265a51b
refactor: canonicalize gateway session store keys
2026-01-17 07:41:24 +00:00
Peter Steinberger
f14d622c0f
refactor: centralize account bindings + health probes
2026-01-17 01:19:43 +00:00
Ruby
0cd24137e8
feat: add session.identityLinks for cross-platform DM session linking ( #1033 )
...
Co-authored-by: Shadow <shadow@clawd.bot >
2026-01-16 14:23:22 -06:00
Ubuntu
ca9688b5cc
feat(session): add dmScope for multi-user DM isolation
...
Co-authored-by: Alphonse-arianee <Alphonse-arianee@users.noreply.github.com >
2026-01-16 04:13:10 +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
90342a4f3a
refactor!: rename chat providers to channels
2026-01-13 08:40:39 +00:00
Peter Steinberger
6c7a27c010
refactor: normalize main session key handling
2026-01-09 22:30:15 +01:00
Peter Steinberger
7641b142ad
refactor: harden broadcast groups
2026-01-09 21:39:58 +01:00
Peter Steinberger
36bdec0f2c
refactor(messages): centralize per-agent prefixes
2026-01-09 16:54:54 +01:00
Peter Steinberger
7b81d97ec2
feat: wire multi-agent config and routing
...
Co-authored-by: Mark Pors <1078320+pors@users.noreply.github.com >
2026-01-09 12:48:42 +00:00
Peter Steinberger
cb9f8146c4
refactor: centralize thread helpers
2026-01-07 20:01:19 +01:00
Peter Steinberger
7973fd4caf
feat: add agents command
2026-01-07 10:03:53 +01:00
Peter Steinberger
dbfa316d19
feat: multi-agent routing + multi-account providers
2026-01-06 18:33:37 +00:00