chore: remove unused ALLOWED_ARTIST_CONNECTORS from api (chat#1793)

Merged
SW
5mo ago
+0-64

What

Removes the unused ALLOWED_ARTIST_CONNECTORS / isAllowedArtistConnector from recoupable/api.

Repurposed: this PR originally added twitter/linkedin to the api artist allow-list. Investigation during preview testing showed that constant has no runtime consumer in api — only its definition, its test, and an (also-unused) barrel re-export in lib/composio/connectors/index.ts. The connector routes are unopinionated by design (validateAuthorizeConnectorRequest.ts: "allows any connector for any account type… decisions are handled at the tool router level, not the API level"). The allow-list that actually drives the artist Connectors tab lives in chat (lib/composio/allowedArtistConnectors.ts, see chat#1805).

Decision (owner, 2026-06-18): the artist allow-list is chat-only; the api copy is dead code → deleted.

Changes

  • delete lib/composio/connectors/isAllowedArtistConnector.ts
  • delete lib/composio/connectors/__tests__/isAllowedArtistConnector.test.ts
  • remove the re-export from lib/composio/connectors/index.ts

Net diff vs test: 64 deletions, 0 insertions (squash-merge collapses the intermediate add-then-delete commits).

Verification

  • grep confirms zero remaining references in lib/app.
  • pnpm exec vitest run lib/composio → 149 passed.
  • tsc --noEmit → 198 errors, identical to the test baseline (all pre-existing test-mock typings; none from this change).
  • eslint clean.

Tracking issue: recoupable/chat#1793