Commit Graph
42 Commits
Author SHA1 Message Date
ciregenz cc50fda07b [eric] agents: a silent-quit turn gets one hidden continue nudge, and the context meter reads real context not summed billing 2026-08-03 20:12:50 -07:00
ciregenz b29c75d5e0 [eric] agents: crossing the compact threshold now actually trims next turn, and a pasted log can't ride the recap back over the wall 2026-08-03 15:47:18 -07:00
ciregenz 9eef9d6a1d [eric] agents: a context overflow now compacts and retries once instead of dying, and never fakes a completed 2026-08-03 15:24:11 -07:00
ciregenz 500e6ebe59 [eric] mcp: activating a server ends the turn, so the model stops guessing tool names 2026-08-02 21:27:34 -07:00
ciregenz e9eb7a1b81 [eric] backend: surface error-shaped ResultMessages as failed turns instead of silent successes 2026-07-31 14:17:17 -07:00
ciregenz 71f480ecfd [eric] client-pool: stop hashing the compaction cutoff, it respawned the CLI every turn past 65% context 2026-07-31 01:17:14 -07:00
ciregenz df0e4a2393 [eric] merge eric/onboarding into eric/dev; version 1.6.0 2026-07-28 22:20:34 -07:00
ciregenz 2a42a1c460 [eric] agents: AV-repair card for missing CLI, stderr tail on masked exit-1 cards, group-unwrap in the fatal path 2026-07-28 15:49:59 -07:00
ciregenz e498484409 [eric] agents: pool state typed end to end (protocol attrs + SdkClientLike casts), pyright clean 2026-07-28 11:06:53 -07:00
ciregenz f2bc65b204 [eric] agents: web results carry a render-with-ShowUI reminder when openswarm-ui is live (system-prompt nudge alone loses to the prose prior; live-proven haiku weather widget) 2026-07-20 13:23:05 -07:00
ciregenz 9b440a3c18 [eric] agents: OSW_TOOL_MANIFEST flag prunes dead preset built-ins from the tool surface (default off, no tool loss) 2026-07-17 13:14:26 -07:00
ciregenz ce3e67d613 [eric] agents: SDK deny list merges effective_disallowed + hard blocks (plain reassignment silently discarded the computed denies; runtime gate was the only wall) 2026-07-16 19:30:40 -07:00
ciregenz 82d4acd6dd [eric] dashboard: agent clicks in its own browser no longer steal selection (browser chased the cursor mid-drag, spawn-beside re-anchored); also block Task, the 2.1.122 name of the builtin sub-agent tool 2026-07-15 17:30:22 -07:00
ciregenz 128869f0e6 [eric] agents: native SpawnAgent tool (prompt + run_in_background only) replaces the CLI's built-in Agent; child runs as a real dashboard session 2026-07-15 17:13:37 -07:00
ciregenz fd9e32309e [eric] agents: fetch live connections for the sub-agent model pin (run/ split starved it with [], every sub-agent 401d on router routes) 2026-07-15 15:48:24 -07:00
ciregenz a1a461eb57 [eric] agents: cap persistent client pool + background sweeper (bound resident memory) 2026-07-07 17:33:35 -07:00
ciregenz 9da027a948 [eric] context: distill dropped history via aux LLM on rebuild + model-aware compaction threshold 2026-07-06 15:25:58 -07:00
ciregenz f787414fc6 [eric] agents: context-pressure valve, one fresh-recap retry when the CLI dies mid-compaction-churn 2026-07-05 21:40:16 -07:00
ciregenz a459177d39 [eric] lint: drop p_ prefix from healer/pool names the tests access (p-private boundary rule) 2026-07-05 16:24:13 -07:00
ciregenz e0f5414cda [eric] web-search: gate the browser-fallback nudge on browser-delegation availability 2026-07-05 16:19:12 -07:00
ciregenz 0cd5e0022c [eric] agents: strip the temporary TTFT probes (pool drift-diag stays, gated OPENSWARM_POOL_DIAG) 2026-07-03 15:49:57 -07:00
ciregenz d36fd6e4c6 [eric] agents: persistent client default ON (kill switch OPENSWARM_PERSISTENT_CLIENT=0); conftest pins tests off 2026-07-03 15:30:01 -07:00
ciregenz 5605fee826 [eric] agents: client-pool idle eviction (30min TTL) + fingerprint field-drift diagnostics 2026-07-03 03:53:19 -07:00
ciregenz f671aacb43 [eric] agents: extend TTFT probes to full waterfall (msg_received/thinking/first_text/result) 2026-07-03 03:22:13 -07:00
ciregenz 3e0c4811e2 [eric] agents: wire persistent client behind OSW_TTFT_PERSISTENT_CLIENT (warm TTFT 535ms -> 6ms) 2026-07-03 02:48:16 -07:00
ciregenz 0116248af8 [eric] agents: persistent-client pool w/ boot-fingerprint reuse + seeded invariant tests (flag-gated, default off) 2026-07-03 02:48:15 -07:00
ciregenz 93cd94d4b4 [eric] agents: rename strict-mcp kill switch to OPENSWARM_STRICT_MCP (repo env convention) 2026-07-03 02:35:14 -07:00
ciregenz ab0caa1054 [eric] agents: gated TTFT phase probes (OSW_TTFT_PROBE) for latency profiling 2026-07-03 02:23:32 -07:00
ciregenz f3c53ea3cf [eric] agents: strict-mcp-config skips already-blocked claude.ai MCPs (~74% faster TTFT) 2026-07-03 02:22:50 -07:00
SirKentut 75df12a1b7 [pierre] feat: merge app-use (OPENSWARM_APP bridge + AppAgent) onto eric/dev, convention-clean
Brings the app-use feature (OPENSWARM_APP bridge, AppAgent delegation tool,
BrowserClickPoint, autopilot supervision) onto the linted eric/dev base.

- Resolved 9 conflicts favoring eric's refactored structure; renamed all of
  pierre's _-prefixed names to p_/P_, kept eric's prior_messages resume guard.
- Made the 4 test-exercised bridge helpers public (p-private rule).
- Wired AppAgent into browser_delegation_tools + BuiltinTool registry and
  threaded selected_app_output_ids -> OPENSWARM_SELECTED_APP_IDS (eric had
  forward-ported the prompt but not the tool, so it was unreachable).
- Linter clean (underscore/p-private/ruff/cycles 0); 301 backend tests pass.
2026-06-26 02:44:10 -07:00
ciregenz d5cd4db026 [eric] agents: one-line every comment + collapse 3+ blank runs across manager/ surface (33 files, -550 lines, code byte-identical) 2026-06-25 02:16:14 -07:00
ciregenz b9cea6c647 [eric] agents: drop the Mixin suffix, name the 9 manager classes by domain (Messaging, SessionLifecycle, ...) + AgentManagerState -> AgentManagerProtocol 2026-06-25 00:50:47 -07:00
ciregenz d0dd5e799b [eric] agents: typed AgentManagerState mixin base re-enables pyright attr-access + fixes 2 broken outputs imports (pyright caught them) 2026-06-25 00:32:16 -07:00
ciregenz d29076df93 [eric] agents: wire the unwired out-of-credits card into handle_run_error + test (is_out_of_tokens/extract_reset_hint) 2026-06-25 00:14:12 -07:00
ab6037267c [aidan] fix/agent-chat: stop agents reading the recap as spoofed tool output (#104)
* [aidan] fix/agent-chat: ground fresh-session recap and label platform notes as trusted

* [aidan] fix/mcp-activate: fork on activate instead of fresh-session restart

* [eric] agents: add strip_forged_sentinels, defang spoofed platform-note/recap tags in untrusted text

* [eric] agents: sanitize untrusted tool output in post_tool_hook before trusted notes append

---------

Co-authored-by: cire <134991075+ciregenz@users.noreply.github.com>
2026-06-24 18:40:15 -07:00
ciregenz 755862b7b5 [eric] backend: rename single-export modules to match their export (naming convention sweep) 2026-06-24 01:30:04 -07:00
ciregenz 6bf543831f [eric] agents: rename single-export modules to match their export (handle_run_error, register_builtin_mcp_servers) 2026-06-24 01:03:55 -07:00
ciregenz 1e0b51b43e [eric] agents: fix builtin MCP server script paths broken by run-loop decomposition (seal dir off package) 2026-06-24 00:46:34 -07:00
ciregenz 553b307a57 [eric] agents: run/ decomposition follows conventions (naming, @typechecked+types, p-private) 2026-06-24 00:33:21 -07:00
ciregenz a18b99cc84 [eric] agents: extract per-turn options build into manager/run/run_options.py (RunOptionsMixin) + helpers (web-mcp/web-hint/thinking/pre-send-guard); agent_manager 933->256, now UNDER the 300 ceiling 2026-06-24 00:03:15 -07:00
ciregenz 70b4cae84f [eric] agents: extract streaming-turn + capacity-retry into manager/run/turn_runner.py (TurnRunnerMixin); agent_manager 933->709, trim now-unused imports 2026-06-23 22:45:15 -07:00
ciregenz b3e1fe224e [eric] agents: extract run-error classification (long-context/capacity/free-trial/auth/unknown-model cards) into manager/run/error_cards.py; agent_manager 1166->932 2026-06-23 22:37:38 -07:00