Commit Graph

207 Commits

Author SHA1 Message Date
xj
dbd04574db merge(main): sync upstream main and resolve workflow/tooling conflicts 2026-03-01 14:48:14 -08:00
xj
61ee2a4664
Merge pull request #1365 from gh-xj/feat/wasm-plugin-runtime-exec
feat(plugins): add wasm runtime execution bridge, limits, and docs (part 2/2) (RMN-271)
2026-03-01 14:00:26 -08:00
xj
aa0e58aa3c Merge remote-tracking branch 'upstream/main' into feat/max-token-continuation-policy 2026-03-01 13:13:55 -08:00
xj
f547e4d966 merge(main): sync upstream main into feature branch 2026-03-01 13:02:09 -08:00
argenis de la rosa
13790ac2b9 fix(agent): refresh system prompt datetime across long-lived turns 2026-03-01 15:51:10 -05:00
xj
b145093488 Merge remote-tracking branch 'upstream/main' into tmp/pr1365-sync 2026-03-01 12:40:02 -08:00
argenis de la rosa
2052c720cc feat(memory): flush durable facts before compaction 2026-03-01 15:24:38 -05:00
argenis de la rosa
f7b6295e9b feat(agent): expose tool_specs and public run_tool_call_loop 2026-03-01 14:56:09 -05:00
chumyin
c691820fa8
test(agent): cover valid native max-tokens tool-call path 2026-03-02 00:55:01 +08:00
chumyin
49b447982f
fix(agent): prefer retry over hard-fail for truncated native calls 2026-03-02 00:55:01 +08:00
chumyin
5c0d66f967
fix(agent): fail closed on malformed native tool args 2026-03-02 00:55:01 +08:00
xj
ceb3aae654
fix(agent): fail closed on truncated native tool calls 2026-03-02 00:55:01 +08:00
xj
ad58bdf99e
fix(providers): harden continuation and gemini stop handling 2026-03-02 00:55:01 +08:00
xj
f8fd241869
fix(agent): enforce post-merge continuation output cap 2026-03-02 00:55:01 +08:00
xj
f7167ea485
feat(agent): add normalized stop reasons and max-token continuation 2026-03-02 00:55:00 +08:00
xj
1da53f154c
Merge branch 'main' into feat/wasm-plugin-runtime-exec 2026-03-01 00:57:15 -08:00
argenis de la rosa
4043056332 feat(cost): enforce preflight budget policy in agent loop 2026-03-01 00:17:27 -05:00
Argenis
0683467bc1
fix(channels): prompt non-CLI always_ask approvals (#2337)
* fix(channels): prompt non-cli always_ask approvals

* chore(ci): retrigger intake after PR template update
2026-02-28 23:53:59 -05:00
xj
05d36862c5 feat(plugins): add hot-reload state and activate observer bridge 2026-02-28 21:33:11 -05:00
argenis de la rosa
a1d51b6454 feat(agent): add ProgressTracker for in-place tool progress updates 2026-02-28 21:19:16 -05:00
argenis de la rosa
bfacba20cb feat(config): add ProgressMode enum for streaming channel draft updates 2026-02-28 20:56:16 -05:00
argenis de la rosa
36a490388c fix(plugins): align hook config with rebased foundation 2026-02-28 19:51:37 -05:00
argenis de la rosa
0ccff1cd12 fix(plugins): preserve tool errors and support config-aware reinit 2026-02-28 19:51:37 -05:00
argenis de la rosa
f677367e4b style: apply rustfmt to agent-authored changes 2026-02-28 19:51:37 -05:00
argenis de la rosa
52e8fd9cc3 fix(build): add missing mut binding and remove duplicated plugin tool block 2026-02-28 19:51:37 -05:00
argenis de la rosa
ade0e91898 feat(plugins): route declared tools/providers through plugin registry 2026-02-28 19:51:37 -05:00
argenis de la rosa
1d6afe792b feat(plugins): scaffold wasm runtime and wire core hook lifecycle 2026-02-28 19:51:37 -05:00
argenis de la rosa
408616b34e feat(agent): expose hooks parameter in public run() entry point
Add `hooks: Option<&crate::hooks::HookRunner>` as the last parameter
to the public `agent::run()` (re-exported from `loop_::run`).

This enables library consumers to inject custom HookHandler
implementations (before_tool_call, on_after_tool_call) without
patching the crate. The hooks are threaded through to
`run_tool_call_loop` which already accepts and dispatches them.

All existing call sites pass `None`, preserving backward compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 18:19:48 -05:00
argenis de la rosa
fe688d6b1a fix(agent): remove stale loop session imports 2026-02-28 18:18:43 -05:00
argenis de la rosa
7f645e1a5c Merge remote-tracking branch 'origin/main' into pr2093-mainmerge 2026-02-28 17:43:48 -05:00
argenis de la rosa
c07314bd92 merge(main): resolve #2093 conflicts and restore session build/test parity 2026-02-28 17:42:37 -05:00
argenis de la rosa
f7de9cda3a Merge remote-tracking branch 'origin/main' into pr2093-mainmerge 2026-02-28 17:33:17 -05:00
argenis de la rosa
6a24f25f91 fix(memory): auto-save assistant responses alongside user messages 2026-02-28 17:24:31 -05:00
argenis de la rosa
df9ebcb3d2 fix(model): resolve provider-aware fallback model IDs 2026-02-28 16:33:04 -05:00
argenis de la rosa
3825eca3dc fix(memory): thread session IDs through runtime paths 2026-02-28 15:00:27 -05:00
argenis de la rosa
0253752bc9 feat(memory): add observation memory tool 2026-02-28 13:32:13 -05:00
ZeroClaw Bot
8c0be20422 feat(providers): add quota_metadata to ChatResponse across all providers
Wire QuotaMetadata into ChatResponse for all provider implementations,
enabling quota tracking data to flow from API responses through the
agent loop to quota monitoring tools.

Depends on: circuit breaker (#1842) + quota monitoring (#1904)

Made-with: Cursor
2026-02-28 11:45:02 -05:00
argenis de la rosa
a029c720a6 feat(security): add safety heartbeat reinjection with cadence fixes 2026-02-28 08:52:16 -05:00
Chummy
51ad52d0e8 security: harden sensitive I/O and outbound leak controls 2026-02-28 21:30:37 +08:00
VirtualHotBar
857cb3c054 Merge remote-tracking branch 'origin/main' 2026-02-28 19:00:27 +08:00
VirtualHotBar
824ce19622 Share SessionManager across runtime 2026-02-28 17:45:29 +08:00
VirtualHotBar
fae10cd5c4 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/channels/mod.rs
#	src/config/mod.rs
#	src/config/schema.rs
2026-02-28 16:12:02 +08:00
Chummy
6716391502 feat: harden web access policy and add flexible web search/runtime config 2026-02-28 15:50:06 +08:00
VirtualHotBar
0a42329ca5 fix: session leftovers after db47f56
- Demote session normal flow logs to debug\n- Skip session operations when CHANNEL_SESSION_CONFIG is uninitialized\n- Add spawn_blocking panic context for SQLite session manager\n- Fix fmt/clippy regressions (Box::pin large futures, cfg features, misc lints)
2026-02-28 15:23:42 +08:00
reidliu41
6662601a6c feat(agent): add result-aware loop detection for tool-call loop 2026-02-28 00:58:31 -05:00
Chummy
b721754ead feat(codex): add websocket-first transport selection 2026-02-28 13:48:41 +08:00
VirtualHotBar
db47f569ce channels: persist sessions via SessionManager
Fix channel runtime history persistence (load/seed/update) and remove duplicate agent turn call in process_message.
2026-02-28 12:51:03 +08:00
VirtualHotBar
fa8a98113e Merge remote-tracking branch 'origin/main' 2026-02-28 12:06:01 +08:00
argenis de la rosa
1a0bb175f2 fix(agent): retry deferred tool follow-through in CJK contexts 2026-02-27 22:48:51 -05:00
argenis de la rosa
8004260e4d fix(agent): retry deferred-action replies missing tool calls 2026-02-27 15:28:38 -05:00