Commit Graph

193 Commits

Author SHA1 Message Date
argenis de la rosa 13790ac2b9 fix(agent): refresh system prompt datetime across long-lived turns 2026-03-01 15:51:10 -05: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
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
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
argenis de la rosa 5981e50514 fix(agent): avoid anthropic vision preflight false negatives 2026-02-27 15:15:17 -05:00
VirtualHotBar e8310a7841 fix(pr-review): address code review comments for session persistence 2026-02-28 00:41:31 +08:00
VirtualHotBar 0d68992fb7 feat(session): Add channel session persistence 2026-02-28 00:41:30 +08:00
argenis de la rosa 15457cc368 fix(agent): parse direct XML tool tags in web chat 2026-02-27 10:42:13 -05:00
argenis de la rosa c8980a047a feat(agent): add slash command tab completion and hints 2026-02-27 08:09:18 -05:00
argenis de la rosa bde9d45ead feat(cron): add lark and feishu delivery targets 2026-02-26 22:52:46 -05:00
argenis de la rosa 6aa2164d16 fix(web): advertise browser automation tool in prompts 2026-02-26 21:30:32 -05:00
argenis de la rosa b27b44829a chore: promote dev snapshot to main (resolve #1978/#1970) 2026-02-26 21:09:33 -05:00
argenis de la rosa dedb59a4ef fix(agent): stop converting plain URLs into shell calls 2026-02-26 21:04:32 -05:00
Chum Yin 9b0e70b2f2 supersede: file-replay changes from #1895 (#1926)
Automated conflict recovery via changed-file replay on latest main.
2026-02-26 04:15:47 -05:00
argenis de la rosa 1e8c09d34a fix(agent): improve iteration-limit recovery and defaults 2026-02-25 17:33:32 -05:00
Chummy 1ad2d71c9b feat(approval): add one-time all-tools non-cli approval flow 2026-02-26 02:19:14 +08:00
Chummy d8a1d1d14c fix: reconcile non-cli approval governance with current dev APIs 2026-02-26 02:19:14 +08:00
Chummy 1fcf2df28b feat: harden non-CLI approval governance and runtime policy sync 2026-02-26 02:19:14 +08:00