Feat/agon everywhere#231
Merged
Merged
Conversation
The brain answered from a generic CLI persona ("I can't browse, but I can
curl/gh") because `agon serve` opened it with no systemPrompt — so the 🔍 page
and 📷 screenshot capabilities were invisible to it. The HeadlessTurnBrainClient
already forwards `config.systemPrompt` on every dispatch; serve just wasn't
setting one.
Now it tells the brain it lives in a browser side panel, that the user can
attach a read-only page snapshot (🔍) or a screenshot (📷), and that when asked
to look at / read / "browse to" a page it should direct the user to click 🔍
rather than refuse. Page content is framed as untrusted DATA; READ-and-advise
only (no acting yet). Restart a running `agon serve` to pick it up.
⚔️ Forged by [Agon](https://github.com/KERNlang/agon)
Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
…ening BrainTurnRequest gains an optional engineId; HeadlessTurnBrainClient.runTurn resolves it against the registry per turn (unknown -> falls back to the session's bound engine), so the bridge is multi-engine without re-opening the brain. AgonServe /attach exposes the engine roster + bound default and /send threads engineId; serve.kern hands the bridge registry.listIds(). From the 6-engine review: record the provenance frame BEFORE emitting the connection line (verify-before-you-send invariant). ⚔️ Forged by [Agon](https://github.com/KERNlang/agon) Co-Authored-By: agon (KERN) <292465531+KERN-Agon@users.noreply.github.com>
… messaging `agon ext install` registers a Chrome native-messaging host so the Agon side panel auto-launches `agon serve --emit-connection` and attaches with no terminal and no pasted token. The host speaks a tiny ping/connect protocol and only ever spawns serve with our Origin. Hardened per the 6-engine review: wrapper paths are single-quoted + escaped (no $()/backtick injection), a generation token stops a superseded serve child emitting a stale frame, an oversized length-prefix tears the host down instead of wedging, and validExtensionId guards the baked --id. The wrapper bakes the installed origin so a custom/unpacked extension id connects. ⚔️ 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.