Repository navigation
Release 0.21.0: the connectors element, the approval form, labelled templates, shared answers - #53
Merged
Merged
Conversation
The step row and card head now read a placeholder's value as the choice title the readable arguments list draws; the const-to-title lookup has one home shared by both. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…fused Regenerate <ag-ui-answer> now follows a running answer, per-principal or shared, at answers/<skill>/events/?subject=<id>&after=0 (django-ag-ui 0.95.0), never threads/<id>/events/, and reads can_regenerate from every JSON body: false hides Regenerate, true or absent shows it. A 403 on Regenerate shows the failed state. The fixture is re-recorded from django-ag-ui 0.95.0 with a shared skill's running, done, replay and 403 bodies; the demo's mock follows the new route. No opt-in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…iews out A connector's TOOL_CALL_START metadata rides onto the call and its card, live and read back; a view whose serverId is a connector's toolset id is drawn as one line; a chat removed during a sign-in wait drops the wait and the panel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s in the editor event Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ount's failure Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With an argument projection and a flat call, the approval card reads the call as a labelled list with Edit (a field per argument, typed by its value) and Edit as JSON (the JSON field as before). An invalid field refuses on the card as unparseable JSON does; a nested call or a tool with no projection keeps the JSON field. The actions row wraps so Deny stays inside a narrow card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts/, honour can_regenerate Also brings the answer demo's recorded-from version and Event 43 heading in line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wraps for every host A browser normalises line breaks in a field's text, so a form approved as proposed reported an edit; a field whose control still shows what it was built with now reads back the original value. The 240px browser test runs under the default display too and measures the read-only list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oad keeps the line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ld its app view Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A connector call's approval interrupt carries metadata.connector; the card now shows the provenance line under its prompt and, when the chat has data-connectors-url, an "Always allow <tool>" box named by the server's tool name. Approving with it ticked approves at once and, beside the resumed run, reads the connectors list and puts the entry back whole with the tool always allowed. A 403 shows the server's rule in the box's place, any other failure a not-saved line. Writes from one batch are queued so the second keeps the first's tool; the chat's open list reloads once one is saved. No box for editable false. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The card resolved after starting the write, so a save that threw at once (a connectors URL that does not parse) left the approval unresolved with both buttons disabled. It now resolves first and starts the write through a promise, so a synchronous throw shows the not-saved line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ite, fix demo since and changelog string notes Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ly with a JSON error, pin the connector-less card Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nly connector; make the recorder scripts ruff clean Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the new views to host styling A select drops the browser's chevron for one drawn inside the field in --ag-ui-select-chevron, in the chat and the editor elements alike. A full-panel view's footer wraps, so the connectors screen's buttons stay in a 380px panel. The connectors view gains parts on its notices, tags, Ask pair and row action, a strings key for the URL placeholder, and the spinner token; the approval form's fields read --ag-ui-input-bg and --ag-ui-ring. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Release 0.21.0: the connectors element, the approval form, labelled templates, shared answers
Four cards, 74 files against
main. Over the ~50-file budget by the owner's choice (2026-12-02, "One release at ~70", offered a split).CONNECTORS-WC
<ag-ui-connectors>with its own entry (./connectors,./connectors/bundle), working alone and under<ag-ui-agents>.<ag-ui-chat>draws the same class in its panel whendata-connectors-urlis set; the header gains a More row for it.data-connector-presets), popup sign-in, test, the tools screen, Turn off and Remove. The popup listener accepts only a message whose origin is the connectors URL's and whose source is the popup.metadata.connectorfromTOOL_CALL_START), live and when read back from the local store.serverIdconnector-<id>) is drawn as one line saying it is not shown.PUT connectors/<id>/rebuilt from the listed entry; approve never waits on that write, and writes are queued per chat.editable: false(django-ag-ui 0.94.0).data-connectors-url.READ-ARGS-WC-APPROVAL
approveWithEdits, a call with an argument projection and no nested argument reads as a labelled list, with Edit (a field per argument, typed from the value and the projection) and Edit as JSON.approveWithEdits, and it is stated in the CHANGELOG.READ-ARGS-WC-TEMPLATE-LABELS
A filled summary template shows an enumerated argument's choice title, not its constant ("in Running late"). No opt-in.
ANSWER-SHARED-WC
<ag-ui-answer>follows a running answer atanswers/<skill>/events/?subject=<id>&after=0, so a shared answer can be followed, and hides Regenerate when the body sayscan_regenerate: false. The server floor is django-ag-ui 0.95.0. No opt-in.Owner-requested fixes (after review)
--ag-ui-select-chevron; the select's text now lines up with an input's..panel-view-footernow wraps.connector-action,connector-notice,connector-tagandconnector-seg.connectors-button,new-connector-button, and a Connectors row in the theming parts table.connectorUrlPlaceholder.--ag-ui-input-bgand--ag-ui-ring, and the connectors spinner reads--ag-ui-tool-spin-duration.Verification
RunConnectors, with a real<prefix>__<tool>name and a read-only connector;main, because the feature is new, so they were falsified by mutation instead.2caf3f4) found four blocking issues and five follow-ups, all fixed with tests that failed first. The most serious: the tools screen re-saved a stale Always allow from a cached test.dc0d50d) confirmed all nine fixed. It left one gap, the tools screen'sonseed, which a test now pins (2b1161b). That test, and one for thecanAlwaysAllowgate, each fail under their mutant.make test(5507 tests, 100% coverage, Chromium included), build, docs strict, demo-check (34 scenarios).What to look at in the demo
<ag-ui-connectors>.Left for the owner
editable: false.toolCallsand themcp-appssnapshot.🤖 Generated with Claude Code