Skip to content

Add Supermemory-compatible SDK scaffold#1

Merged
EthanThatOneKid merged 3 commits into
mainfrom
initial-scaffold
Jul 6, 2026
Merged

Add Supermemory-compatible SDK scaffold#1
EthanThatOneKid merged 3 commits into
mainfrom
initial-scaffold

Conversation

@EthanThatOneKid

Copy link
Copy Markdown
Contributor

Summary

  • Adds the initial TypeScript package scaffold for memsdk.
  • Defines a MemoryClient contract using Supermemory-compatible shapes directly.
  • Adds example request/response fixtures and validates them against a vendored public Supermemory Zod schema subset.

Verification

  • npm run typecheck
  • npm test
  • npm run build

- Replace flat MemoryClient with SupermemoryInterface + nested resource interfaces
- Vendor SDK-compatible public types from supermemory@4.24.12
- Add APIPromise, RequestOptions, Uploadable support types
- Add dev-only SDK type comparison checks
- Update tests for interface contract and schema validation
- Add COMPATIBILITY.md with pinned references and conformance tiers
- Add NOTICE for independent interoperability attribution
- Update README with compatibility positioning
- Update tsconfig.json with DOM/DOM.Iterable libs
- Add tsconfig.test.json for test file typechecking

Transcript: https://gist.github.com/EthanThatOneKid/03db37f121836c4c763c1503399dec9d
@EthanThatOneKid EthanThatOneKid merged commit ab7a0ef into main Jul 6, 2026
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