Skip to content

Release 0.22.0: team connectors, read-only and shared-credential rows - #54

Open
Artui wants to merge 3 commits into
mainfrom
release/0.22.0
Open

Artui wants to merge 3 commits into
mainfrom
release/0.22.0

Conversation

@Artui

@Artui Artui commented Dec 2, 2026

Copy link
Copy Markdown
Owner

What changes

The connectors panel lists GET connectors/available/ (django-ag-ui 0.94.0) and keeps the editor's routes for writes.

  • A connector the caller may not edit shows its name, host and On or Off, with no toggle. It shows "Needs authorization" with Connect, or "Connected" with Sign out (DELETE <id>/authorize/). Opening it lists its tool names read only, with no Edit, Remove, Test or Review.
  • A shared-credential connector says "Connected for the team" or "Not connected: ask an editor", with no button.
  • The add form gains "One credential for everyone" (sharedCredential). A refusal shows like any refused create.
  • Provenance on the tool call card and the approval card reads editable and sharedCredential from the run's connector object, never from the list. It says "your connector" only when editable is true, and "a shared connector" otherwise. A read-only connector's approval card has no Always allow box, only a line saying every call asks. A connector with no editable (a 0.93 server) keeps the box.
  • Fixtures are regenerated from django-ag-ui 0.95.0 by scripts/record_connectors_fixture.py.
  • The demo shows one editable row (GitHub), one read-only row (Linear (team)) and one shared row (Team wiki). It also has a prompt for a shared connector's approval card.

Opt-in

A host whose server runs django-ag-ui 0.93.0 must upgrade it to 0.94.0 for the panel. The CHANGELOG lists the new string keys and parts.

Checks

  • make test passes: 5525 tests, with 100% statements, branches, functions and lines.
  • make lint and make build pass.
  • The new tests fail against main.
  • The demo was checked in a browser: Connect, then Sign out; the read-only detail; the shared approval card; and the add form's switch.
  • Two review rounds: the first found one missing test (a connector with no editable keeps the box), now added and mutation-checked; the second said ready.

🤖 Generated with Claude Code

Artui and others added 3 commits December 2, 2026 23:09
…m the run

The connectors panel lists GET connectors/available/ (django-ag-ui 0.94.0).
A connector the caller may not edit shows name, host and on/off, with
Connect, or Sign out (DELETE authorize/); a shared-credential one says
whether it is connected for the team, with no button. Opening it lists its
tool names read only. The add form gains One credential for everyone.

Provenance reads editable from the run's connector object: "your
connector" only when editable is true, "a shared connector" otherwise, and
a read-only connector's approval card replaces the Always allow box with a
line saying every call asks. Fixtures come from django-ag-ui 0.95.0; the
demo shows one editable, one read-only and one shared row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant