Skip to content

docs(connector-sdk): write a real README for the npm page#92

Merged
graydawnc merged 1 commit intomainfrom
docs/sdk-readme
Apr 15, 2026
Merged

docs(connector-sdk): write a real README for the npm page#92
graydawnc merged 1 commit intomainfrom
docs/sdk-readme

Conversation

@graydawnc
Copy link
Copy Markdown
Collaborator

Summary

The 0.1.0 README on npm was a 2-line stub pointing at a doc in the Spool repo, which looks unhelpful to anyone landing on the npm package page. Replace with a full authoring guide so a community author can ship their first connector just from reading the npm page.

Contents of the new README

  • Minimal 3-file example (package.json manifest, src/index.ts implementing Connector, tsconfig.json)
  • Install path: deep link + TrustStore behavior for non-@spool-lab/ scopes
  • The Connector interface and two real methods (checkAuth, fetchPage)
  • CapturedItem shape, field-by-field
  • Capability table: what each capability is for, the security model
  • Prerequisites system with a real yt-dlp-shaped example
  • Helpers (SyncError, parseCliJsonOutput, abortableSleep)
  • Multi-connector packages
  • Links to first-party examples + the architecture doc

Versioning

Bumps @spool-lab/connector-sdk to 0.1.1. Pure docs change; peerDep ^0.1.0 in all consumer packages still satisfies. Will republish after merge.

🤖 Generated with Claude Code

The published 0.1.0 README was a stub pointing at a doc in the repo,
which looks empty on npmjs.com. Replace with an actual authoring
guide: minimal 3-file connector example (package.json + src/index.ts
+ tsconfig.json), the Connector interface, CapturedItem shape,
capability table, prerequisites manifest, helper APIs, and links to
first-party + community examples.

Bump to 0.1.1 to republish with the expanded README. No code
changes; existing consumers (peerDep ^0.1.0) unaffected.

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