Skip to content

feat: in-app connector browser#67

Merged
graydawnc merged 6 commits intomainfrom
feat/in-app-connector-browser
Apr 12, 2026
Merged

feat: in-app connector browser#67
graydawnc merged 6 commits intomainfrom
feat/in-app-connector-browser

Conversation

@graydawnc
Copy link
Copy Markdown
Collaborator

@graydawnc graydawnc commented Apr 12, 2026

Summary

  • Add a Discover section to Settings > Connectors tab that shows available connectors from the registry
  • App fetches registry.json from GitHub raw URL on launch, caches locally in ~/.spool/
  • One-click install from the Discover section — reuses existing install pipeline
  • Graceful fallback: cache on network failure, empty state when no cache

Changes

  • packages/core/src/connectors/registry-fetch.ts — new module: fetch registry with cache fallback
  • packages/app/src/main/index.ts — extracted installConnectorPackage for reuse, added connector:fetch-registry and connector:install IPC handlers
  • packages/app/src/preload/index.ts — exposed fetchRegistry() and install() to renderer
  • packages/app/src/renderer/components/SettingsPanel.tsx — Discover section UI with install flow

Test plan

  • Open Settings > Connectors — verify installed connectors show at top, Discover section below
  • Click Install on a Discover item — verify it installs and moves to installed list
  • Kill network, restart app — verify cached connectors still show in Discover
  • Deep link install (spool://connector/install/...) still works as before
  • All registry-fetch unit tests pass

🤖 Generated with Claude Code

graydawnc and others added 6 commits April 12, 2026 23:47
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Shows available but not-yet-installed connectors from the registry
with one-click install buttons.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… import

- Import RegistryConnector from @spool/core in preload and SettingsPanel
- Replace dynamic import with static import in fetch-registry IPC handler
- Fix JSX indentation in Discover section

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix vertical centering: add leading-4 to text wrapper divs to
  override inherited line-height: 1.5 from Tailwind base
- Fix horizontal alignment: remove px-2, use before pseudo-element
  for hover background so content stays aligned with Agent Sessions
- Remove dashed border from Available Connectors items
- Rename section title: "Discover" → "Available Connectors"

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@graydawnc graydawnc marked this pull request as ready for review April 12, 2026 16:56
@graydawnc graydawnc merged commit a530091 into main Apr 12, 2026
3 checks passed
@graydawnc graydawnc deleted the feat/in-app-connector-browser branch April 12, 2026 16:57
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