Commit Graph

4483 Commits

Author SHA1 Message Date
Shakker
4919a8871b refactor: lazy load compaction store updates 2026-04-04 01:07:28 +09:00
Shakker
335b472c37 test: merge subagent context-engine coverage into registry suite 2026-04-04 01:07:28 +09:00
Shakker
5ae346427f test: fix stale typing in active suites 2026-04-04 01:07:28 +09:00
Shakker
48fe2fd8be test: trim subagent context-engine harness cost 2026-04-04 01:07:28 +09:00
Shakker
6be5d34f2f test: avoid rebuilding openclaw tools in camera tests 2026-04-04 01:07:28 +09:00
Shakker
18891b1806 refactor: lazy load subagent registry runtime hooks 2026-04-04 01:07:28 +09:00
Shakker
192c02cd92 test: reuse subagent registry loop guard harness 2026-04-04 01:07:28 +09:00
Shakker
9a6dda1b66 refactor: localize workspace skill prompt contract 2026-04-04 01:07:28 +09:00
Shakker
c593ed0055 refactor: split lightweight plugin config policy 2026-04-04 01:07:28 +09:00
Shakker
4499d572fa refactor: split skill command specs from workspace snapshot 2026-04-04 01:07:28 +09:00
Vincent Koc
3d799ba004 fix(ci): tighten whatsapp and openai transport types 2026-04-04 01:02:41 +09:00
Vincent Koc
f49d8f665c test(providers): use preferred gpt-5.4 constant 2026-04-04 00:59:50 +09:00
Vincent Koc
bd4f745833 fix(providers): respect responses developer-role compat (#60385) 2026-04-04 00:49:16 +09:00
Shakker
b1747d8b1c fix: remove unused sandbox browser type import 2026-04-03 16:39:47 +01:00
Shakker
5e7ebd098e fix: remove duplicate sandbox browser import 2026-04-03 16:39:47 +01:00
Shakker
2e520d112d refactor: split browser sdk imports for sandbox and audit 2026-04-03 16:39:47 +01:00
Vincent Koc
ed297eb8b9 fix(providers): align cache-ttl anthropic semantics (#60375) 2026-04-04 00:22:32 +09:00
Vincent Koc
f08a1c34dd fix(providers): scope anthropic-family cache semantics (#60370) 2026-04-04 00:11:57 +09:00
Vincent Koc
93d514f816 fix(ci): correct zalo status helper imports 2026-04-04 00:06:47 +09:00
Vincent Koc
9e6da1e70a fix(providers): pass anthropic cache retention through custom apis (#60359) 2026-04-04 00:04:09 +09:00
Peter Steinberger
a6816cb59c test: reduce subagent announce import overhead 2026-04-03 16:03:32 +01:00
Shakker
1f0c4a624b refactor: route cron subagent reads through registry seam 2026-04-03 16:03:10 +01:00
Shakker
11dbcdc46d refactor: narrow model fallback auth imports 2026-04-03 16:03:10 +01:00
Shakker
fc8ab82aab refactor: trim cron session startup imports 2026-04-03 16:03:10 +01:00
Shakker
88b1c00b39 refactor: lazy load cron cli runtime 2026-04-03 16:03:10 +01:00
Vincent Koc
66825c0969 refactor(providers): centralize native provider detection (#60341)
* refactor(providers): centralize native provider detection

* fix(providers): preserve openrouter thinking format

* fix(providers): preserve openrouter host thinking format
2026-04-03 23:46:21 +09:00
Vincent Koc
1556490ee7 fix(ci): collapse duplicate provider request union 2026-04-03 23:30:25 +09:00
Josh Lehman
799c6f40aa refactor: move provider replay runtime ownership into plugins (#60126)
* refactor: move provider replay runtime ownership into plugins

* fix(provider-runtime): address review followups

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-03 23:14:37 +09:00
Shakker
cef0f36931 refactor: split chat history text helpers 2026-04-03 15:10:48 +01:00
Shakker
e26a590f7a refactor: drop heavy channel outbound test imports 2026-04-03 15:10:48 +01:00
Peter Steinberger
8d0bed458e refactor: simplify reply-threading and test helpers 2026-04-03 23:06:22 +09:00
pgondhi987
b48b528b02 fix(skills): block UV_PYTHON in workspace dotenv and harden uv installer env [AI] (#59178)
* fix: address issue

* fix: finalize issue changes

* fix: address PR review feedback

* Changelog: note uv installer env hardening

---------

Co-authored-by: Jacob Tomlinson <jtomlinson@nvidia.com>
2026-04-03 06:50:43 -07:00
Vincent Koc
4798e125f4 feat(providers): add llm transport adapter seam (#60264)
* feat(providers): add llm transport adapter seam

* fix(providers): harden openai transport adapter

* fix(providers): correct transport usage accounting
2026-04-03 22:45:47 +09:00
Shakker
e0e5df25e6 test: unstick context lookup fake-timer warmup 2026-04-03 14:38:30 +01:00
Shakker
8fabfa5d1c fix: rehydrate context token cache after module reload 2026-04-03 14:23:44 +01:00
Shakker
a764b8f8cd refactor: trim test setup agent imports 2026-04-03 14:17:16 +01:00
Peter Steinberger
35d890b5ef test: narrow subagent spawn test seams 2026-04-03 13:53:11 +01:00
Peter Steinberger
1a75fc9e05 fix: align latest-main gate drift on #60221 2026-04-03 21:52:35 +09:00
Peter Steinberger
49936f6066 refactor: move ollama synthetic auth precedence into extension 2026-04-03 21:25:02 +09:00
Peter Steinberger
f59d0eac68 refactor(plugin-runtime): remove plugin-specific core seams 2026-04-03 13:08:39 +01:00
Peter Steinberger
fbb2537774 refactor: clarify tool schema normalization 2026-04-03 21:07:19 +09:00
Peter Steinberger
87abcfd6a6 fix: harden ollama tool-call replay (#52253) (thanks @Adam-Researchh) 2026-04-03 21:06:06 +09:00
Peter Steinberger
0d938748a5 refactor(sessions): clarify duplicate session resolution 2026-04-03 20:53:17 +09:00
Peter Steinberger
57999f9965 fix: narrow empty MCP tool schema normalization (#60176) (thanks @Bartok9) 2026-04-03 20:45:33 +09:00
Bartok Moltbot
19dbe00763 fix(tools): normalize truly empty MCP tool schemas for OpenAI
Fixes #60158

MCP tools with parameter-free schemas may return truly empty objects
`{}` without a `type` field. The existing normalization handled
`{ type: "object" }` → `{ type: "object", properties: {} }` but
missed the truly empty case.

OpenAI gpt-5.4 rejects tool schemas without `type: "object"` and
`properties`, causing HTTP 400 errors:

```
Invalid schema for function 'flux-mcp__get_flux_instance':
In context=(), object schema missing properties.
```

This change catches empty schemas (no type, no properties, no unions)
before the final pass-through and converts them to the required format.

Added test case for parameter-free MCP tool schemas.
2026-04-03 20:45:33 +09:00
Peter Steinberger
1dd88c6288 fix(sessions): harden session id resolution 2026-04-03 20:29:20 +09:00
Vincent Koc
53504b3662 fix(agents): suppress profile allowlist warnings 2026-04-03 19:55:05 +09:00
Peter Steinberger
d921784718 fix: support default subagent allowlists (#59944) (thanks @hclsys) 2026-04-03 19:43:17 +09:00
HCL
a57766bad0 fix(agents): fall back to defaults for subagents.allowAgents
resolveAgentConfig().subagents.allowAgents reads only the per-agent
entry, never falling back to agents.defaults.subagents.allowAgents.
Other subagent defaults like runTimeoutSeconds correctly read from
cfg.agents.defaults.subagents — allowAgents was missed.

Root cause: subagent-spawn.ts:463 and agents-list-tool.ts:49 both
use resolveAgentConfig() which returns only per-agent config without
defaults merging. The same pattern is already established at
subagent-spawn.ts:403 for runTimeoutSeconds.

Fix: add cfg.agents.defaults.subagents.allowAgents as fallback when
per-agent entry doesn't specify allowAgents. Both call sites fixed.

Closes #59938

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: HCL <chenglunhu@gmail.com>
2026-04-03 19:42:24 +09:00
Peter Steinberger
32ebaa3757 refactor: share session model resolution helpers 2026-04-03 19:37:56 +09:00