Skip to content

feat(web): Tools page lists the tenant's published tool packages from stock registry assets (CL-8443) - #877

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-8443-tools-page
Sep 18, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-8443-tools-page

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • The Tools page called listCapabilityInventory against a hub route that no longer exists (/api/tenants/:t/agent-definitions/capabilities/inventory) — the last deleted-route reference in apps/web.
  • Rebuilt it on stock data: GET /api/tenants/:t/assets?kind=package-registry&inherited=false to find the tenant's own registry assets, then GET /:assetId/tarballs on each for the published tarball filenames, parsed into name + version.
  • Deleted listCapabilityInventory / CapabilityInventory from agents-api.ts (no other caller).
  • Page now reads through useToolPackages (TanStack useQuery, arktype-parsed) and QueryView — no useEffect.

Gap

  • Stock read routes only list tarball filenames (no packument route), so description and declared tool names from a package's manifest are not shown — only name and version, recovered from the <name>-<version>.tgz filename registry-publish.ts writes.

Test plan

  • bun install
  • bunx tsc -p apps/web --noEmit
  • bun run fmt / bun run lint
  • grep -rn "agent-definitions" apps/web/src — empty

@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

CL-8443

@TheGreatAxios
TheGreatAxios merged commit 92f8ab2 into main Sep 18, 2026
4 checks passed
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