Context7 Platform -- Up-to-date docs for AI agents
chore(release): version packages (#1365)
github-actions[bot]01fa67e926d1
diff --git a/.changeset/proud-beans-sneeze.md b/.changeset/proud-beans-sneeze.mddeleted file mode 100644index f5591a97..00000000--- a/.changeset/proud-beans-sneeze.md+++ /dev/null@@ -1,13 +0,0 @@-----"@upstash/context7-tools-ai-sdk": minor------feat: Rename tools to match MCP naming conventions--- Rename `resolveLibrary` to `resolveLibraryId` with new `query` parameter-- Rename `getLibraryDocs` to `queryDocs` with new `query` parameter (replaces `topic`)-- Rename `RESOLVE_LIBRARY_DESCRIPTION` to `RESOLVE_LIBRARY_ID_DESCRIPTION`-- Rename `GET_LIBRARY_DOCS_DESCRIPTION` to `QUERY_DOCS_DESCRIPTION`-- Update type re-exports to match new SDK types (Library, Documentation, GetContextOptions)-- Remove deprecated `defaultMaxResults` option from Context7ToolsConfig and Context7AgentConfig-- Add rate limiting guidance to tool descriptions\ No newline at end of filediff --git a/.changeset/tough-dodos-play.md b/.changeset/tough-dodos-play.mddeleted file mode 100644index 444d80b9..00000000--- a/.changeset/tough-dodos-play.md+++ /dev/null@@ -1,11 +0,0 @@-----"@upstash/context7-sdk": minor------feat: Simplify SDK API--- Replace `getDocs()` with `getContext(query, libraryId, options)` - now takes a query parameter for relevance-based retrieval-- Update `searchLibrary(query, libraryName)` to take both query and libraryName parameters-- Replace response types: `Library` and `Documentation` instead of `SearchResult`, `CodeDocsResponse`, `InfoDocsResponse`, etc.-- Remove pagination, mode, topic, and limit options from context retrieval-- Simplify `GetContextOptions` to only include `type: "json" | "txt"`\ No newline at end of filediff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.mdindex 663bde06..a27ad93d 100644--- a/packages/sdk/CHANGELOG.md+++ b/packages/sdk/CHANGELOG.md@@ -1,5 +1,16 @@# @upstash/context7-sdk+## 0.2.0++### Minor Changes++- b3cd38a: feat: Simplify SDK API+ - Replace `getDocs()` with `getContext(query, libraryId, options)` - now takes a query parameter for relevance-based retrieval+ - Update `searchLibrary(query, libraryName)` to take both query and libraryName parameters+ - Replace response types: `Library` and `Documentation` instead of `SearchResult`, `CodeDocsResponse`, `InfoDocsResponse`, etc.+ - Remove pagination, mode, topic, and limit options from context retrieval+ - Simplify `GetContextOptions` to only include `type: "json" | "txt"`+## 0.1.0### Minor Changesdiff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex e556295c..930323d8 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -1,6 +1,6 @@{"name": "@upstash/context7-sdk",- "version": "0.1.0",+ "version": "0.2.0","description": "JavaScript/TypeScript SDK for Context7","scripts": {"build": "tsup",diff --git a/packages/tools-ai-sdk/CHANGELOG.md b/packages/tools-ai-sdk/CHANGELOG.mdnew file mode 100644index 00000000..d87a3d44--- /dev/null+++ b/packages/tools-ai-sdk/CHANGELOG.md@@ -0,0 +1,19 @@+# @upstash/context7-tools-ai-sdk++## 1.0.0++### Minor Changes++- b3cd38a: feat: Rename tools to match MCP naming conventions+ - Rename `resolveLibrary` to `resolveLibraryId` with new `query` parameter+ - Rename `getLibraryDocs` to `queryDocs` with new `query` parameter (replaces `topic`)+ - Rename `RESOLVE_LIBRARY_DESCRIPTION` to `RESOLVE_LIBRARY_ID_DESCRIPTION`+ - Rename `GET_LIBRARY_DOCS_DESCRIPTION` to `QUERY_DOCS_DESCRIPTION`+ - Update type re-exports to match new SDK types (Library, Documentation, GetContextOptions)+ - Remove deprecated `defaultMaxResults` option from Context7ToolsConfig and Context7AgentConfig+ - Add rate limiting guidance to tool descriptions++### Patch Changes++- Updated dependencies [b3cd38a]+ - @upstash/[email protected]diff --git a/packages/tools-ai-sdk/package.json b/packages/tools-ai-sdk/package.jsonindex 661cc1b7..020ca3c8 100644--- a/packages/tools-ai-sdk/package.json+++ b/packages/tools-ai-sdk/package.json@@ -1,6 +1,6 @@{"name": "@upstash/context7-tools-ai-sdk",- "version": "0.1.0",+ "version": "1.0.0","description": "Context7 tools for Vercel AI SDK","type": "module","main": "./dist/index.cjs",@@ -29,7 +29,7 @@"clean": "rm -rf dist"},"peerDependencies": {- "@upstash/context7-sdk": ">=0.1.0",+ "@upstash/context7-sdk": ">=0.2.0","ai": ">=5.0.0","zod": ">=3.24.0"},