refactor(toolproxy): the tools are plugins — retire the core brokers, guest tool groups and hub editions #13

Closed
gabrielvidal wants to merge 0 commits from retire-tool-proxy into main
pull from: retire-tool-proxy
Owner

Summary

Since 2026-11-25 the guests' paid tools have been live plugins (nanobanana, video-extract, 3d-gen, 3d-render, matomo, movies, meta), each with its own proxy and managed grants. The core still served the old path right next to them: per-tool brokers, per-guest tool groups, Settings → Meta Business and seven cli/skills "hub editions" that took precedence over the plugin skills on workers. This PR finishes the move. The tool proxy is now just the door: bearer tokens, whoami, the tool ledger and the tools chip. A one-time carry-over turns every guest's switches and the brokers' data into the plugins' own. This is move A of the "what could move to ai-agent-plugins" review (form ai-agent-moves-to-ai-agent-plugins_o2qxmd).

Homelab companion (Seerr webhook + lab shims): gabrielvidal/homelab#18
Matomo companion (the extraSites grant field): gabrielvidal/ai-agent-plugins#15

Update 2026-11-27: rebased on 41665fa2, plus the Matomo extra sites

  • Rebased onto main ad150f1f, after 41665fa2, "remove the core's legacy Meta Business" (already deployed). Where both branches deleted the same code, main's Meta removal is the one kept: toolproxy/{meta,metaroutes,snapshots}.py, schemas/meta.py, cli/skills/meta, business/meta/ and the /settings/meta redirect now come from main. This PR removes everything else. Main's unrelated additions are kept, including c6e15991: a guest's cron job still gets its tool token, because tool_scope gives one whenever the guest has plugin skills.
  • Matomo extra sites carry-over (carryover_tools.matomo_sites): users.json tools.matomoSites (for example Cel's [11], calamite.net) goes into the matomo grant's extraSites (a list of ints). The grant is also turned on for every guest in the analytics group. This runs once per guest rather than once per plugin, so Cel, who got analytics and site 11 after the groups moved, still gets it. An explicit grant is never overridden: it only gets extraSites when it has none. If the installed matomo manifest doesn't have the field yet, the sites wait, and the plugin's update carries them over. CLAUDE.md's Matomo note points at the grant field.

Key changes

  • Removed backend/toolproxy/{matomo,media,webroutes,owned,catalog}.py (the Meta files had already gone in 41665fa2). Also removed: the nanobanana / 3d-gen / 3d-render / video-extract / matomo / meta / movies routes and the core movies webhook, /api/me/meta, /api/users/{uid}/meta and /api/movies/*. toolproxy/routes.py keeps the shared HTTP client, the bearer helpers and whoami (now: who, the caller's live plugins, this month's spend). access.py keeps the tokens and resolve; the group, Pro, budget and in-flight checks moved to the plugin side long ago.
  • Removed cli/skills/{nanobanana,3d-gen,3d-render,video-extract,matomo,movies,meta} (~3.1k lines). workers/labsync.items_for: a live plugin's skill now wins over a lab skill of the same name, on guest computers and on owner workers. Proxied plugin skills keep their hub.json (with_hub / tool_hub stay).
  • Guest tool groups gone: users.json tools is no longer read or written (only the carry-over reads it), along with Caller.tool_groups, Me.tools / GuestUser.tools / UserBody.tools and the schemas GuestTools, PaidToolsMonth, Meta* and Movie*. users/runs.tool_scope is plugin-only, and TOOLS_LINE says "Tools the hub shares with them".
  • Guest runs get their plugin skills everywhere: deps is now passed to scope_for / scratch_scope on resume, reply, fork and No project runs. Before, only spawns got plugin skills; the old groups masked the gap.
  • Movies brings Jellyfin when the movies grant comes on, either at guest creation (on by default) or through the owner's switch. This goes through plugins/routes._granted → users/routes.movies_bring_jellyfin, then a Pocket ID sync.
  • plugins/carryover_tools.py (new; wired into carryover.run_all and also run when one of these plugins is installed or put in the catalog). See Carry-over below.
  • Frontend:
    • Removed: Settings → Meta Business (business/meta/, /settings/meta → /settings/plugin/meta), and the User page's Paid tools and Tools budget panels.
    • Managed plugins help now names the tools.
    • The guest's Me → Budget Tools card reads their managed plugin rows.
    • The mock gained managed grants and the guest's managed rows.
    • openapi.json and src/generated regenerated; authz/matrix.golden.txt lost the 8 routes.
  • Docs: CLAUDE.md's 210-line "Guests' paid tools" section is replaced by "Guests' tools: the tool plugins".

Carry-over (once; never over an explicit grant)

old new
group images (+ Pro switch, tools budget) nanobanana grant on, allowPro = Pro, monthly budget = tools budget
video video-extract grant + video-dl installed for the guest
3d 3d-gen + 3d-render grants
analytics matomo grant (per guest, also after the groups moved)
tools.matomoSites the matomo grant's extraSites, only when the grant doesn't have it yet
media (the old default) movies (on by default) — a guest who had Movies off gets an explicit off
meta meta installed for the guest
/data/tools-meta.json guest's meta user secret token + connection.json / snapshot.json (no key, no Page tokens)
/data/meta-snapshots/<uid>/*.json the guest's meta data dir (same day files), where absent
/data/tools-matomo.json <uid>/matomo/_private/viewer.json (0600)
/data/tools-media.json <uid>/movies/state.json (seerrUser, requests, indexed) + pending titles in the shared requests.json index
/data/tools-owned.json <uid>/3d-gen/_private/owned.json

Each legacy file is renamed ….migrated once fully carried. A plugin that isn't installed (or in the catalog) yet waits: the next start, or its install, carries it over.

Key decisions

  • Seerr is repointed, not forwarded (Gabriel's pick): the core movies webhook is deleted; the homelab PR documents the new URL. Until Seerr is repointed, "it's ready" pushes come only from the plugin's polling and release-holds.
  • Grants only where they differ from the plugin default: Movies (defaultForGuests) only gets an explicit off for guests who had it off. Nano Banana always gets its Pro + budget.
  • owned.py and catalog.py deleted too (the brief said keep owned.py). Nothing reads them once the brokers are gone: the 3d-gen plugin has its own _private/owned.json (carried over), and nb_classify lives in the plugin. access.py, ledger.py and whoami are kept.
  • Owner workers: plugin skills bypass the per-worker Skills & agents unticks, as every plugin skill already did. The hub editions used to be tickable.
  • The owner no longer sees a guest's Meta connection on the User page (it was under the Paid tools switch). meta --as <guest> from the owner's runs still reads it.
  • legacyLedgerTool: "nanobanana" stays, so this month's rows from the old route still count toward the key's spend.

Changelog

  • Removed: the guests' "Paid tools" switches and "Tools budget" — the image, video, 3D, analytics, movie and Meta tools are granted per guest under Managed plugins, each with this month's use and (for Nano Banana) its own budget
  • Removed: Settings → Meta Business — a guest connects their Meta key on the Meta Business plugin's page (old links redirect)
  • Changed: guests see this month's use of each tool they're granted under Me → Budget → Tools
  • Changed: workers and guest computers get the plugin edition of a tool skill instead of the hub's built-in copy
  • Fixed: a guest's resumed, replied-to, forked or No project conversation now gets their plugin tools, as a new one does
  • Changed: Movies being granted to a guest switches their Jellyfin app on (as the Movies switch did)

Test notes

  • After the rebase (same runs on ~/projects/ai-agent main at ad150f1f for comparison):
    • Backend: all 161 modules, one per process under bwrap with a throwaway /data. Everything passes except test_typed_plugins::test_records_carry_kind, which fails the same way on main.
    • sidecar: 6 failures, identical to main (test_guard ×4, test_guest_accounts ×1, plus 1 known).
    • cli: 3 failures, identical to main (test_conv_ref ×3).
    • frontend: 1084 pass and 3 fail, identical to main (useShareTarget ×2 plus 1 known). Main has 1085 passing because this PR deletes one test.
    • types: clean.
    • openapi.json was re-dumped from app.openapi() (venv under bwrap) and npm run gen:api was re-run.
  • Before the rebase:
  • Backend, one module per process under bwrap with a throwaway /data, all 155 modules. Everything passes except test_typed_plugins (test_records_carry_kind), which fails identically on main (missing fixture dir).
    • New: test_carryover_tools.py (14 tests, 4 of them for the Matomo sites: Cel added after the groups moved, explicit grants, waiting for the field, no analytics means no grant) and a rewritten test_tool_proxy.py (11: tokens, whoami, retired routes 404/405, run / scratch scopes, labsync plugin-wins + hub.json).
    • Updated: test_oidc.py (Jellyfin on the grant), test_guest_computers.py, test_plugin_key_health.py (the core Gemini classifier test left with catalog.py) and authz/matrix.golden.txt.
  • cli: 111 pass. test_conv_ref.py ×3 fails identically on main.
  • sidecar: test_labsync, test_shared_skills and test_tools pass (22).
  • Frontend: tsc --noEmit is clean. vitest: 1058 pass, 3 fail — the already-known useShareTarget ×2 and FreshContext CacheExpiredNotice. npm run build:mock is OK.
  • Screenshots (mock build): the User page's Managed plugins, the User page Budget tab without Tools budget, and the guest's Me → Budget → Tools card.
  • Not deployed from the EVOX2. Deploy from the Homelab after review (ai-agent-deploy).
  • Merge order and Homelab steps: merge this PR first, then the sibling cleanup PRs (ai-agent-plugins #15 matomo extraSites, ai-agent #24 and the other retire-legacy PRs), rebasing each in turn.
    1. Make sure the tool plugins are installed for the owner (nanobanana, video-extract, 3d-gen, 3d-render, matomo, movies as managed plugins). meta and video-dl must be installed for the owner or in the hub catalog, so the carry-over can install them for guests.
    2. Merge the homelab PR (gabrielvidal/homelab#18) and this one, then deploy. The carry-over runs at start; check the logs for tool carry-over: and that /data/tools-*.json became ….migrated.
    3. Repoint Seerr's webhook (Settings → Notifications → Webhook) to the movies plugin's URL, as in the homelab README. The owner also removes the leftover legacy authHeader there: Seerr still sends it, and the plugin's URL carries its own token.
    4. Once the matomo plugin with extraSites (ai-agent-plugins #15) is installed or reloaded, check that Cel's matomo grant shows Extra sites = 11 (tool carry-over: matomo for cel in the logs).
    5. Optional cleanup: SEERR_WEBHOOK_TOKEN, MATOMO_*, SEERR_* and META_* in services/ai-agent/docker-compose.yml / the root .env are no longer read by the core.
  • Conflicts are possible with sibling PRs B–F in root.tsx, registry.ts, CLAUDE.md, carryover.py and the generated API: rebase in merge order.

🤖 Generated with Claude Code

## Summary Since 2026-11-25 the guests' paid tools have been live plugins (`nanobanana`, `video-extract`, `3d-gen`, `3d-render`, `matomo`, `movies`, `meta`), each with its own proxy and managed grants. The core still served the old path right next to them: per-tool brokers, per-guest **tool groups**, Settings → Meta Business and seven `cli/skills` "hub editions" that **took precedence over the plugin skills** on workers. This PR finishes the move. The tool proxy is now just the door: bearer tokens, `whoami`, the tool ledger and the tools chip. A one-time carry-over turns every guest's switches and the brokers' data into the plugins' own. This is move A of the "what could move to ai-agent-plugins" review (form `ai-agent-moves-to-ai-agent-plugins_o2qxmd`). Homelab companion (Seerr webhook + lab shims): https://git.gabvdl.xyz/gabrielvidal/homelab/pulls/18 Matomo companion (the `extraSites` grant field): https://git.gabvdl.xyz/gabrielvidal/ai-agent-plugins/pulls/15 ### Update 2026-11-27: rebased on `41665fa2`, plus the Matomo extra sites - **Rebased onto main `ad150f1f`**, after `41665fa2`, "remove the core's legacy Meta Business" (already deployed). Where both branches deleted the same code, main's Meta removal is the one kept: `toolproxy/{meta,metaroutes,snapshots}.py`, `schemas/meta.py`, `cli/skills/meta`, `business/meta/` and the `/settings/meta` redirect now come from main. This PR removes everything else. Main's unrelated additions are kept, including `c6e15991`: a guest's cron job still gets its tool token, because `tool_scope` gives one whenever the guest has plugin skills. - **Matomo extra sites carry-over** (`carryover_tools.matomo_sites`): `users.json` `tools.matomoSites` (for example Cel's `[11]`, calamite.net) goes into the matomo grant's **`extraSites`** (a list of ints). The grant is also turned **on** for every guest in the `analytics` group. This runs once per guest rather than once per plugin, so Cel, who got analytics and site 11 *after* the groups moved, still gets it. An explicit grant is never overridden: it only gets `extraSites` when it has none. If the installed matomo manifest doesn't have the field yet, the sites wait, and the plugin's update carries them over. CLAUDE.md's Matomo note points at the grant field. ## Key changes - **Removed** `backend/toolproxy/{matomo,media,webroutes,owned,catalog}.py` (the Meta files had already gone in `41665fa2`). Also removed: the nanobanana / 3d-gen / 3d-render / video-extract / matomo / meta / movies routes and the core movies webhook, `/api/me/meta`, `/api/users/{uid}/meta` and `/api/movies/*`. `toolproxy/routes.py` keeps the shared HTTP client, the bearer helpers and `whoami` (now: who, the caller's live plugins, this month's spend). `access.py` keeps the tokens and `resolve`; the group, Pro, budget and in-flight checks moved to the plugin side long ago. - **Removed** `cli/skills/{nanobanana,3d-gen,3d-render,video-extract,matomo,movies,meta}` (~3.1k lines). `workers/labsync.items_for`: a **live plugin's skill now wins over a lab skill of the same name**, on guest computers and on owner workers. Proxied plugin skills keep their `hub.json` (`with_hub` / `tool_hub` stay). - **Guest tool groups gone**: `users.json` `tools` is no longer read or written (only the carry-over reads it), along with `Caller.tool_groups`, `Me.tools` / `GuestUser.tools` / `UserBody.tools` and the schemas `GuestTools`, `PaidToolsMonth`, `Meta*` and `Movie*`. `users/runs.tool_scope` is plugin-only, and `TOOLS_LINE` says "Tools the hub shares with them". - **Guest runs get their plugin skills everywhere**: `deps` is now passed to `scope_for` / `scratch_scope` on resume, reply, fork and *No project* runs. Before, only spawns got plugin skills; the old groups masked the gap. - **Movies brings Jellyfin** when the `movies` grant comes on, either at guest creation (on by default) or through the owner's switch. This goes through `plugins/routes._granted` → `users/routes.movies_bring_jellyfin`, then a Pocket ID sync. - **`plugins/carryover_tools.py`** (new; wired into `carryover.run_all` and also run when one of these plugins is installed or put in the catalog). See *Carry-over* below. - **Frontend**: - Removed: Settings → Meta Business (`business/meta/`, `/settings/meta` → `/settings/plugin/meta`), and the User page's *Paid tools* and *Tools budget* panels. - *Managed plugins* help now names the tools. - The guest's Me → Budget *Tools* card reads their `managed` plugin rows. - The mock gained managed grants and the guest's `managed` rows. - `openapi.json` and `src/generated` regenerated; `authz/matrix.golden.txt` lost the 8 routes. - Docs: CLAUDE.md's 210-line "Guests' paid tools" section is replaced by "Guests' tools: the tool plugins". ### Carry-over (once; never over an explicit grant) | old | new | |---|---| | group `images` (+ Pro switch, tools budget) | `nanobanana` grant on, `allowPro` = Pro, monthly budget = tools budget | | `video` | `video-extract` grant + `video-dl` installed for the guest | | `3d` | `3d-gen` + `3d-render` grants | | `analytics` | `matomo` grant (per guest, also after the groups moved) | | `tools.matomoSites` | the matomo grant's `extraSites`, only when the grant doesn't have it yet | | `media` (the old default) | `movies` (on by default) — a guest who had Movies **off** gets an explicit off | | `meta` | `meta` installed for the guest | | `/data/tools-meta.json` | guest's `meta` user secret `token` + `connection.json` / `snapshot.json` (no key, no Page tokens) | | `/data/meta-snapshots/<uid>/*.json` | the guest's meta data dir (same day files), where absent | | `/data/tools-matomo.json` | `<uid>/matomo/_private/viewer.json` (0600) | | `/data/tools-media.json` | `<uid>/movies/state.json` (`seerrUser`, `requests`, `indexed`) + pending titles in the shared `requests.json` index | | `/data/tools-owned.json` | `<uid>/3d-gen/_private/owned.json` | Each legacy file is renamed `….migrated` once fully carried. A plugin that isn't installed (or in the catalog) yet waits: the next start, or its install, carries it over. ## Key decisions - **Seerr is repointed, not forwarded** (Gabriel's pick): the core movies webhook is deleted; the homelab PR documents the new URL. Until Seerr is repointed, "it's ready" pushes come only from the plugin's polling and `release-holds`. - **Grants only where they differ from the plugin default**: Movies (`defaultForGuests`) only gets an explicit **off** for guests who had it off. Nano Banana always gets its Pro + budget. - **`owned.py` and `catalog.py` deleted too** (the brief said keep `owned.py`). Nothing reads them once the brokers are gone: the 3d-gen plugin has its own `_private/owned.json` (carried over), and `nb_classify` lives in the plugin. `access.py`, `ledger.py` and `whoami` are kept. - **Owner workers**: plugin skills bypass the per-worker *Skills & agents* unticks, as every plugin skill already did. The hub editions used to be tickable. - The owner no longer sees a guest's Meta connection on the User page (it was under the Paid tools switch). `meta --as <guest>` from the owner's runs still reads it. - `legacyLedgerTool: "nanobanana"` stays, so this month's rows from the old route still count toward the key's spend. ## Changelog - Removed: the guests' "Paid tools" switches and "Tools budget" — the image, video, 3D, analytics, movie and Meta tools are granted per guest under *Managed plugins*, each with this month's use and (for Nano Banana) its own budget - Removed: Settings → Meta Business — a guest connects their Meta key on the Meta Business plugin's page (old links redirect) - Changed: guests see this month's use of each tool they're granted under Me → Budget → Tools - Changed: workers and guest computers get the plugin edition of a tool skill instead of the hub's built-in copy - Fixed: a guest's resumed, replied-to, forked or *No project* conversation now gets their plugin tools, as a new one does - Changed: Movies being granted to a guest switches their Jellyfin app on (as the Movies switch did) ## Test notes - **After the rebase** (same runs on `~/projects/ai-agent` main at `ad150f1f` for comparison): - **Backend**: all 161 modules, one per process under bwrap with a throwaway `/data`. Everything passes except `test_typed_plugins::test_records_carry_kind`, which fails the same way on main. - **sidecar**: 6 failures, identical to main (`test_guard` ×4, `test_guest_accounts` ×1, plus 1 known). - **cli**: 3 failures, identical to main (`test_conv_ref` ×3). - **frontend**: 1084 pass and 3 fail, identical to main (`useShareTarget` ×2 plus 1 known). Main has 1085 passing because this PR deletes one test. - **types**: clean. - `openapi.json` was re-dumped from `app.openapi()` (venv under bwrap) and `npm run gen:api` was re-run. - **Before the rebase**: - **Backend**, one module per process under bwrap with a throwaway `/data`, all 155 modules. Everything passes except `test_typed_plugins` (`test_records_carry_kind`), which fails identically on main (missing fixture dir). - New: `test_carryover_tools.py` (14 tests, 4 of them for the Matomo sites: Cel added after the groups moved, explicit grants, waiting for the field, no analytics means no grant) and a rewritten `test_tool_proxy.py` (11: tokens, whoami, retired routes 404/405, run / scratch scopes, labsync plugin-wins + `hub.json`). - Updated: `test_oidc.py` (Jellyfin on the grant), `test_guest_computers.py`, `test_plugin_key_health.py` (the core Gemini classifier test left with `catalog.py`) and `authz/matrix.golden.txt`. - **cli**: 111 pass. `test_conv_ref.py` ×3 fails identically on main. - **sidecar**: `test_labsync`, `test_shared_skills` and `test_tools` pass (22). - **Frontend**: `tsc --noEmit` is clean. vitest: 1058 pass, 3 fail — the already-known `useShareTarget` ×2 and `FreshContext CacheExpiredNotice`. `npm run build:mock` is OK. - **Screenshots** (mock build): the User page's Managed plugins, the User page Budget tab without *Tools budget*, and the guest's Me → Budget → Tools card. - **Not deployed from the EVOX2.** Deploy from the Homelab after review (`ai-agent-deploy`). - **Merge order and Homelab steps**: **merge this PR first**, then the sibling cleanup PRs (ai-agent-plugins #15 matomo `extraSites`, ai-agent #24 and the other retire-legacy PRs), rebasing each in turn. 1. Make sure the tool plugins are installed for the owner (`nanobanana`, `video-extract`, `3d-gen`, `3d-render`, `matomo`, `movies` as managed plugins). `meta` and `video-dl` must be installed for the owner or in the hub catalog, so the carry-over can install them for guests. 2. Merge the homelab PR (https://git.gabvdl.xyz/gabrielvidal/homelab/pulls/18) and this one, then deploy. The carry-over runs at start; check the logs for `tool carry-over:` and that `/data/tools-*.json` became `….migrated`. 3. Repoint Seerr's webhook (Settings → Notifications → Webhook) to the movies plugin's URL, as in the homelab README. **The owner also removes the leftover legacy `authHeader` there**: Seerr still sends it, and the plugin's URL carries its own token. 4. Once the matomo plugin with `extraSites` (ai-agent-plugins #15) is installed or reloaded, check that Cel's matomo grant shows *Extra sites* = 11 (`tool carry-over: matomo for cel` in the logs). 5. Optional cleanup: `SEERR_WEBHOOK_TOKEN`, `MATOMO_*`, `SEERR_*` and `META_*` in `services/ai-agent/docker-compose.yml` / the root `.env` are no longer read by the core. - Conflicts are possible with sibling PRs B–F in `root.tsx`, `registry.ts`, `CLAUDE.md`, `carryover.py` and the generated API: rebase in merge order. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
gabrielvidal self-assigned this 2026-11-27 00:07:40 +01:00
Author
Owner

Held, not merged. While the batch was testing, matomo-site-grants (0797e454, Matomo site grants for guests + guest-job mailHtml) landed on main. It extends what this PR deletes: backend/toolproxy/matomo.py, users/store.py guestTools, PaidTools.tsx / User.tsx / userDraft.ts, schemas/users.py, test_tool_proxy.py and the generated guestTools model all conflict (two modify/delete). Merging needs the guests' Matomo site grants ported into the matomo plugin (its grant config) — a feature port, not a merge resolution. The rest of the batch (#11, #12, #14, #15, #16) shipped without it; homelab #18 is landed (its shims work against the plugins' editions already). Next: rebase on main and port the site grants into the matomo plugin.

**Held, not merged.** While the batch was testing, `matomo-site-grants` (0797e454, Matomo site grants for guests + guest-job mailHtml) landed on main. It extends what this PR deletes: `backend/toolproxy/matomo.py`, `users/store.py` guestTools, `PaidTools.tsx` / `User.tsx` / `userDraft.ts`, `schemas/users.py`, `test_tool_proxy.py` and the generated `guestTools` model all conflict (two modify/delete). Merging needs the guests' Matomo site grants ported into the matomo plugin (its grant config) — a feature port, not a merge resolution. The rest of the batch (#11, #12, #14, #15, #16) shipped without it; homelab #18 is landed (its shims work against the plugins' editions already). Next: rebase on main and port the site grants into the matomo plugin.
gabrielvidal added 1 commit 2026-11-27 11:44:31 +01:00
Since 2026-11-25 nanobanana, video-extract, 3d-gen, 3d-render, matomo,
movies and meta are live plugins with their own proxies and managed grants,
but the core still served the old path next to them — and its hub editions
won over the plugin skills on workers. This finishes the move (form
ai-agent-moves-to-ai-agent-plugins_o2qxmd, move A). Rebased on 41665fa2,
which had already removed the core's Meta Business.

- gone: toolproxy/{matomo,media,webroutes,owned,catalog}.py, the nanobanana /
  3d-gen / 3d-render / video-extract / matomo / movies routes and the movies
  webhook, cli/skills/{nanobanana,3d-gen,3d-render,video-extract,matomo,
  movies}, the guests' `tools` groups (users store, Caller.tool_groups,
  Me/GuestUser.tools, tools.matomoSites), the User page's Paid tools and
  Tools budget panels
- kept: the /proxy/tools door (tokens, whoami — now the caller's plugins and
  spend — and the shared client), the tool ledger, the tools chip, a guest
  job's tool token (c6e15991: tool_scope still gives one with plugin skills)
- labsync: a plugin skill wins over a lab skill of the same name; plugin
  skills with a proxy keep their hub.json
- guest runs get their plugins' skills on spawn, resume, reply, fork and No
  project runs alike (deps passed to scope_for / scratch_scope everywhere)
- Movies brings Jellyfin when the movies grant comes on (new guest, or the
  owner's switch)
- plugins/carryover_tools.py: tool groups → grants / installs (never over an
  explicit grant), Meta keys + saved days (only where the plugin has none),
  Matomo viewers, Seerr users and pending requests, 3d-gen ownership → the
  plugins' data, once
- matomo_sites: users.json tools.matomoSites → the matomo grant's
  `extraSites` (list grantField, sibling ai-agent-plugins PR), and the grant
  on for an `analytics` guest — once per guest, so Cel (analytics + site 11
  after the groups moved) gets it; an explicit grant only gets extraSites
  when it has none; waits for a matomo manifest with the field
- Me → Budget's Tools card reads the guest's managed plugins

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gabrielvidal force-pushed retire-tool-proxy from 50e621fda0 to 4d0dcfa3ff 2026-11-27 11:44:31 +01:00 Compare
Author
Owner
Merged into `main` as 101b6f6e by the auto-ship batch https://ai-agent.lab.gabvdl.xyz/conversation/12d75a3b-25dc-487a-ac3b-17782cba4214.
gabrielvidal closed this pull request 2026-11-27 12:19:30 +01:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gabrielvidal/ai-agent#13