Open
Conversation
- Move TypeScript packages to packages/ts/ (sdk, mcp, ai-sdk) - Update pnpm workspace to use packages/ts/* - Update GitHub Actions workflows for new paths - Update package.json repository directory fields - Add Python-specific entries to .gitignore This prepares the monorepo structure for adding Python SDK at packages/py/
- Move packages/ts/mcp to packages/mcp - Move packages/ts/sdk to packages/sdk - Rename packages/py to packages/python - Update workflow files with new paths - Update pnpm-workspace.yaml and package.json
enesgules
reviewed
Jan 7, 2026
enesgules
reviewed
Jan 7, 2026
enesgules
reviewed
Jan 19, 2026
|
|
||
| Async version: `await client.search_library_async(query, library_name)` | ||
|
|
||
| ### `client.get_context(query: str, library_id: str, *, type="txt") -> str | list[Documentation]` |
enesgules
reviewed
Jan 19, 2026
|
|
||
| - `query`: The user's question or task | ||
| - `library_id`: Context7 library ID (e.g., `/facebook/react`) | ||
| - `type`: Response format - `"txt"` (default) returns plain text, `"json"` returns list of Documentation objects |
enesgules
reviewed
Jan 19, 2026
Collaborator
enesgules
left a comment
There was a problem hiding this comment.
The TS SDK has type option for searchLibrary and Python doesn't do we need to add it to here too? What do you think?
enesgules
reviewed
Jan 19, 2026
Collaborator
enesgules
left a comment
There was a problem hiding this comment.
Python SDK has a configurable base_url but TS SDK doesn't have it. Should we remove this or add it to TS SDK too?
enesgules
approved these changes
Jan 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
create python sdk