Feat/agon everywhere#233
Merged
Merged
Conversation
…rfaces Round out `/chrome` so browser-driving is reachable from the CLI, external CLIs, and the results pager — not just the REPL slash: - `agon chrome "<task>"` — terminal sibling of /chrome: ensureChromeBridge (reuse a live serve/REPL bridge, else embed a transient one) → the proven runDrive loop → tear the embedded bridge down in finally (idempotent, leak-safe even if ensureChromeBridge throws after starting the server). - `agon call chrome "<task>" [--auto-approve] [--engine <id>]` — external-CLI bridge so Codex/Antigravity can drive the browser for research/design checks (read-only tools never prompt; --auto-approve lets a non-interactive caller act). - /last + Ctrl+R: ChromeResultData variant + formatChrome; handleChrome records the turn (pageActivity = whether page tools actually ran). - agent-guide (JSON + prose + docs/modes.md), README mode section, and call/intent/formatter tests. ⚔️ Forged by [Agon](https://github.com/KERNlang/agon) Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
The served agentic brain announced an action and stopped — "Ich suche auf LinkedIn Jobs … starte ich mit einer gezielten Suche." — without ever calling a page tool, so nothing happened. Two root causes, both fixed: - looksLikeActionIntent (the safety-net that nudges an engine which describes an action but emits no tool line) was ENGLISH-ONLY, so a non-English "I'll search" slipped through as a final answer and the loop ended. It is now multilingual (EN + DE). This also exposed a latent bug: the trailing \b made every verb STEM (navigat/brows/such/navigier/…) dead — only the whole word "review" ever matched — so stems now anchor at the word START and match their inflections (such→suche, navigat→navigate, klick→klicke). - buildAgentSystemPrompt now tells the brain to BE PROACTIVE: when asked to do something on the web (search/find/open/navigate/fill/click) it must ACT via tools and drive multiple steps itself, in EVERY language — never answer a "do X" request with only a prose promise to do it. Restart a running `agon serve` (or re-open the side panel) to pick it up. ⚔️ Forged by [Agon](https://github.com/KERNlang/agon) Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
Review of 15d9889 surfaced real flaws in looksLikeActionIntent; redesign it: - The umlaut bug: `\böffne` never matched — 'ö' is not an ASCII word char, so there is no `\b` between a leading space and 'ö'. German verbs are now matched as explicit "ich <verb>" pairs, ASCII-anchored before "ich". - False positives removed: 'such' (English "such a"), 'enter' ("entertainment"), and bare adverbs 'jetzt'/'zuerst'; 'finde' dropped because "ich finde X gut" is an opinion, not a self-action. - Honest scope: the backstop covers EN + DE (the panel's languages); other languages rely on the proactivity system prompt, which still instructs the model to act in any language. Comment corrected (it had over-claimed FR/ES). Regression tests added for each false-positive case + an umlaut-initial verb. ⚔️ Forged by [Agon](https://github.com/KERNlang/agon) Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
…arration End-to-end loop test of the field scenario: a German job-search narration with no tool call → the loop nudges → the engine navigates to site 1 → readPage → navigates to site 2 → readPage → final answer. Asserts the nudge fired, 4 capability-requests ran (switched + checked two sites), and a single approve-session covered both navigations. Locks in that the harness drives autonomous multi-step browsing (open → check → open → check), not a single read. ⚔️ Forged by [Agon](https://github.com/KERNlang/agon) Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.