Skip to main content
← Back to list
01Issue
FeatureOpenSwamp Club
AssigneesNone

feat: add --content-type filter to extension search

Opened by swampadmin · 3/27/2026

Problem

swamp extension search has no way to filter by content type. Users looking for community datastore or driver extensions must search by keyword and manually inspect results.

Currently ExtensionSearchParams only supports q, collective, platform[], label[], sort, perPage, and page — no content type filter.

Expected Behavior

# Find extensions containing custom datastores
swamp extension search --content-type datastore --json

# Find extensions containing custom drivers
swamp extension search --content-type driver --json

# Combine with keyword search
swamp extension search gcs --content-type datastore --json

Valid content types: models, workflows, vaults, datastores, drivers.

Why This Matters

The extension pipeline fully supports pushing and pulling datastores and drivers (PRs #745-#750). The swamp-extension-datastore and swamp-extension-driver skills both guide users to run swamp extension search datastore or swamp extension search driver as the first step before creating a custom implementation. Without a content type filter, these searches rely on keyword matching which is unreliable — an extension named @myorg/postgres wouldn't match the keyword "datastore" even though it is one.

Implementation Notes

  • src/infrastructure/http/extension_api_client.ts — add contentType?: string to ExtensionSearchParams
  • src/cli/commands/extension_search.ts — add --content-type option
  • Requires corresponding support in swamp-club's search API (routes/api/v1/extensions/search.ts)
  • The contentTypes array is already denormalized on extensions via deriveContentTypes() in swamp-club, so the server-side filter should be straightforward
  • swamp-club issue: systeminit/swamp-club#281 (add datastore/driver support to club UI)
  • swamp PR: #752 (extension datastore/driver skills)
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

3/27/2026, 5:48:32 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.