You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(integrations): the connections group; the catalog route removed #251
Part of #247. Implements spec §7's connection level and §14's connections group; decision Discovery for agents (connections inline, list connections [<handle>], catalog goes away).
What to build
The connections API group in packages/integrations: GET /api/connections?all → { connections: [ConnectionSummary], offered? } where ConnectionSummary is { id, handle, integration, description, status, hint, reason? } (a connected one's hint is patchy add postgres/<handle>; a disconnected one's reason is not_connected with /company/connections in the hint; all adds the offered integrations with their state, as the catalog did); GET /api/connections/:handle → the connection with its current immutable snapshot and takenAt, or snapshot: null when none is available, never an empty database. Bearer, any active member.
GET /api/sdk/catalog removed from the sdk group with Generation.catalog, its tests and its docs/API.md section; the shared-table half of the catalog is ticket 3's patch level. patchy catalog still compiles against the client until ticket 5 removes it: keep the CLI building by pointing catalog at the new connections route for one merge, or land this with ticket 5 ready behind it.
Admitted at merge
Connections readable by every member's token; the catalog route gone.
Done when
HttpApiTest.groups covers both routes, all, a disconnected connection's reason, a missing snapshot as null; the catalog route answers 404; docs/API.md regenerated.
Surfaces
The wire (docs/API.md), the Integrations glossary (the connections group; Catalog pointer), CONTEXT-MAP.md (Integrations gains the group; Publishing's sdk line loses the catalog), ADR-0002 unchanged.
Activity
feat(integrations): replace SDK catalog with connections API
feat(integrations): replace SDK catalog with connections API