Skip to content

chore: rename @spool/connector-sdk to @spool-lab/connector-sdk#89

Merged
graydawnc merged 1 commit intomainfrom
chore/rename-sdk-to-spool-lab
Apr 15, 2026
Merged

chore: rename @spool/connector-sdk to @spool-lab/connector-sdk#89
graydawnc merged 1 commit intomainfrom
chore/rename-sdk-to-spool-lab

Conversation

@graydawnc
Copy link
Copy Markdown
Collaborator

Summary

  • @spool scope is reserved on npm and not owned by the publishing account; aligning the SDK's scope with @spool-lab (where all official connectors already live) unblocks publishing
  • Bump versions on already-published @spool-lab/connector-* packages so they can be rebuilt with the renamed peerDep

Why

Follow-up to #88 — publishing the SDK failed with a 404 because graydawnc isn't an admin of the @spool scope and npm won't let us register it (reserved). Keeping the SDK internal defeats the purpose of #88. @spool-lab/connector-sdk matches the scope that already owns all the official connector packages on npm, keeps everything under one org, and matches the GitHub org.

Changes

  • @spool/connector-sdk@spool-lab/connector-sdk everywhere (package name, all imports, devDeps/peerDeps, dev-connectors symlink scope path, bundle/phantom scripts, docs, workflow)
  • Version bumps on already-published connectors (new source imports require a new tarball):
    • reddit, hackernews-hot, typeless, xiaohongshu: 0.1.0 → 0.1.1
    • github: 0.1.1 → 0.1.2
  • Internal workspace packages (@spool/core, @spool/app, @spool/cli, @spool/landing) are untouched — they are not published

Runtime impact

Existing installs of @spool-lab/connector-*@0.1.0 import from the old SDK path and will break after a user upgrades Spool. The update checker from #66 picks up the bumped versions on next launch and re-installs them with corrected imports.

Test plan

  • pnpm -r build (SDK + all connectors + core + cli) clean
  • Full test suite passes (151 tests, 1 skipped across core)
  • pnpm --filter @spool/app exec tsc --noEmit clean
  • CI green
  • After merge: publish @spool-lab/connector-sdk@0.1.0 to npm
  • After merge: republish 5 bumped connector packages

🤖 Generated with Claude Code

The SDK needs to be published to npm so community authors can depend
on it. npm scope names map 1:1 to org or user names, and graydawnc
owns @spool-lab on npm (not @spool). Renaming to @spool-lab/connector-sdk
aligns the SDK scope with the org that actually publishes it.

Mechanical changes:
- Package name flip + all import-path updates across core, connectors,
  dev-connectors symlink, docs, workflow, bundle/phantom scripts
- Bump patch version on all @spool-lab/connector-* packages that are
  already on npm (reddit, hackernews-hot, typeless, xiaohongshu →
  0.1.1; github → 0.1.2) so republishing picks up the renamed peerDep
- bundle-extract reads package name from the tarball manifest, so no
  hardcoded SDK path changes are needed there

Runtime impact: existing user installs of @spool-lab/connector-*@0.1.0
import from @spool/connector-sdk, which will no longer exist after the
Spool app is rebuilt from this main. They need to upgrade the installed
connector packages to pick up the renamed imports — the update checker
shipped in #66 handles this automatically on next app launch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@graydawnc graydawnc merged commit b1c6b83 into main Apr 15, 2026
3 checks passed
@graydawnc graydawnc deleted the chore/rename-sdk-to-spool-lab branch April 15, 2026 08:17
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