github-actions[bot]
c21081c71a
chore(release): version packages ( #1402 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-29 11:49:03 +03:00
Fahreddin Özcan
8ba484cdc8
feat(cli): add interactive skill generation wizard ( #1572 )
...
* generate skills
* feat: add generate questions methods
* feat(cli): improve skill generation UX with streaming feedback
- Add real-time query results display during generation
- Collapse answered questions to show summary
- Separate query phase spinner from generation spinner
- Add skill preview with expand option
- Remove legacy generateSkill function
- Clean up redundant comments
* feat(cli): improve skill generation UX with streaming feedback
- Add real-time query results display during generation
- Collapse answered questions to show summary
- Separate query phase spinner from generation spinner
- Add skill preview with expand option
- Remove legacy generateSkill function
- Clean up redundant comments
* feat(cli): optimize feedback regeneration and clean up UI
- Add previousContent to StructuredGenerateInput for efficient feedback
- Remove redundant "Selected X libraries" log message
- Consolidate menu options (remove "Regenerate completely")
- Update feedback prompt with skip hint
* feat(cli): add skill generation with quota and improved display
- Add skill quota checking before generation
- Fix tool result display timing issue
- Show library project IDs in selection to avoid confusion
- Improve generation spinner with query log display
* docs(cli): add 0.2.0 changelog entry
* fix(cli): switch userinfo endpoint from dev to production
* docs(cli): add skill generation and auth sections to README
* fix(sdk): increase timeout for sequential search test
* chore(cli): replace manual changelog with changeset for skill generation
2026-01-29 11:46:45 +03:00
Fahreddin Özcan
aacfd3165a
feat(cli): add OAuth 2.0 support with login, whoami and logout commands ( #1573 )
...
* feat: add oauth 2.0 support with login,whoami and logout commands
* ci: lockfile
* fix: address security and port issues in OAuth flow
- Fix XSS vulnerability by escaping HTML in error page messages
- Change callback port from 9876 to 52417 (high ephemeral range, less likely to conflict)
* refactor: clean up auth code and remove unnecessary comments
- Remove obvious comments that duplicate function names
- Extract duplicate expiration display logic into printTokenExpiration helper
- Simplify logoutCommand (remove async, inline condition)
- Remove unused saved_at field from token storage
* fix: address auth bugs and remove unused code
Bug fixes:
- whoami now shows "Session expired" instead of misleading "Logged in" when token is invalid
- expires_at calculation preserves existing value instead of overwriting
- Login check now allows re-login when tokens are expired with no refresh token
Simplifications:
- Remove unused getAccessToken and refreshAccessToken functions
- Simplify printTokenExpiration (remove unused showExpired parameter)
* refactor: improve whoami output formatting
- Align labels using padEnd for consistent output
- Remove expiration time display from whoami
- Show login status first, then fetch user details
* chore: add changeset for OAuth feature
2026-01-28 14:36:39 +03:00
Fahreddin Özcan
7ca9720ccf
Revert "fix: use stateless pattern for HTTP transport to prevent connection leaks ( #1471 )" ( #1495 )
...
This reverts commit 8a2ad1aba4 .
2026-01-28 14:32:41 +03:00
Fahreddin Özcan
a0bb5a5705
feat: improve skill selection UX with metadata panel and install counts ( #1563 )
...
* feat: enumerate search results
* feat: select hovered item on Enter in checkbox prompts
* refactor: improve types in prompts.ts
* feat: improve skill list UI with metadata panel and install counts
* chore: update version and changelog
* feat: add consistent green highlighting to IDE/scope prompts
Apply green highlight theme to all selection prompts in ide.ts
for visual consistency with skill selection prompts.
2026-01-27 15:57:04 +03:00
Fahreddin Özcan
572c3ca98b
feat(cli): simplify skills list to show all detected IDEs without prompts ( #1551 )
2026-01-27 12:53:58 +03:00
Fahreddin Özcan
fd27e29340
CTX7-1141: don't loop paginated results ( #1538 )
...
* feat: dont loop paginated results
* chore: add changelog.md
* chore: bump version to sync
* chore: add changeset
2026-01-27 12:32:59 +03:00
luo jiyin
e412350939
fix: typo in retry count comment ( #1540 )
2026-01-26 11:50:14 +03:00
Fahreddin Özcan
ddf9cdbbc7
feat: prompt injection error ( #1536 )
...
* feat: prompt injection error
* revert logs
2026-01-24 14:26:42 -08:00
Fahreddin Özcan
89b8bf5285
feat: ide confirmation ( #1525 )
2026-01-22 12:54:57 -08:00
Fahreddin Özcan
7b41f39fb7
fix: use get single skill endpoint ( #1522 )
...
* fix: use get single skill endpoint
* remove unnecessary type
2026-01-22 23:14:31 +03:00
Fahreddin Özcan
04b7b395db
feat: add installation count metric collection ( #1523 )
2026-01-22 16:54:23 +03:00
Fahreddin Özcan
1fbd3d906c
feat: add skills registry CLI for managing AI coding agent skills ( #1505 )
...
* feat: add skills cli
* chore: cleanup comments
* feat: update commands with new apis
* chore: remove unnecessary deps
* chore: update aliases and package name
* feat: remove /owner/repo/skill convention
* fix: cleanup, path and param handling
* feat(cli): multi-keyword search and Claude symlink priority
- Support multi-keyword search: `ctx7 skills search react hooks`
- Prioritize Claude to receive original files when installing to multiple IDEs
* refactor(cli): rename project to repository, reorder options
- Rename "project" argument to "repository" in help text
- Reorder options: --all and --global first, then IDE options
- Simplify IDE option descriptions to show client name and path
- Update internal variable names (project → repo)
* refactor(cli): flatten search results display
- Remove grouping by repository in search results
- Remove "Select all from repo" option
- Show each skill on single line with repo name in parentheses
- Simplify selection handling
* docs(cli): improve main help output with detailed examples
- Add section headers for commands and examples
- Include npx prefix in all example commands
- Group examples by use case (search, install, manage)
- Add comments explaining each example group
- Add link to context7.com
* refactor(cli): simplify banner, add examples to --help
Move detailed examples to --help output using addHelpText().
Simplify the no-argument banner to show only quick start examples.
* chore: remove unnecessary package
2026-01-21 12:25:04 -08:00
Enes Gules
8a2ad1aba4
fix: use stateless pattern for HTTP transport to prevent connection leaks ( #1471 )
...
* fix: use stateless pattern for HTTP transport to prevent connection leaks
* remove comments
* increase timeout
* changeset
---------
Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com >
2026-01-16 20:25:03 +03:00
Fahreddin Özcan
b5942ddade
docs: fix claude installation guides with correct args location ( #1438 )
2026-01-13 01:01:05 +03:00
Fahreddin Özcan
f0e42a9099
fix(docs): reoder claude installation guide ( #1405 )
...
* fix(docs): reoder claude installation guide
* fix(docs): reoder claude installation guide
2026-01-09 09:54:50 -08:00
dependabot[bot]
02148ff13c
chore(deps): bump zod from 3.25.76 to 4.3.4 ( #1349 )
...
* chore(deps): bump zod from 3.25.76 to 4.3.4
Bumps [zod](https://github.com/colinhacks/zod ) from 3.25.76 to 4.3.4.
- [Release notes](https://github.com/colinhacks/zod/releases )
- [Commits](https://github.com/colinhacks/zod/compare/v3.25.76...v4.3.4 )
---
updated-dependencies:
- dependency-name: zod
dependency-version: 4.3.4
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore: bump zod for mcp and tools-ai-sdk
* ci: update test .env source
* chore: match zod versions
* chore: add changeset
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com >
2026-01-09 12:46:43 +03:00
Fahreddin Özcan
f0ee85d0c7
CTX7-879: Context7 Vercel AI SDK Docs ( #1155 )
...
* feat: context7 vercel ai sdk tools package
* ci: remove master target condition on test action
* ci: manual actions trigger for test
* ci: always run all tests
* update tests and imports
* ci: typecheck command
* fix: tests
* docs: add readme
* update folder structure and tool descriptions
* docs: context7-ai-sdk
* tests: fix test env vars
* ci: bump pnpm version
* update ai sdk step count api
* Add stopWhen to docstring examples
* update tests
* update prompt name
* update context7 agent name
* update tool description var to description
* make context7agent config optional
* ci: add changeset
* make context7-sdk peer deps
* update pnpm-lock.yaml
* update package name to @upstash/context7-tools-ai-sdk
* remove check workflow
* update pnpm lock
* make the agent a class instead of function
* replace all name instances
* add agent generate test
* update docs with latest changes and updated veai sdk examples
* finalize docs
* docs: remove duplicate H1 headers from AI SDK documentation pages
* simplify agent config
* fix refs
* remove changeset
* feat: update diagram with query param
* fix: address reviews
---------
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com >
2026-01-08 21:15:35 +03:00
github-actions[bot]
e5ccf1998d
chore(release): version packages ( #1383 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 20:32:06 +03:00
Fahreddin Özcan
ef82f3057c
CTX7-884: OAuth Support for MCP ( #1176 )
...
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com >
2026-01-08 20:17:19 +03:00
Fahreddin Özcan
07a53dc940
chore(deps): upgrade ai to v6 and @ai-sdk/amazon-bedrock to v4 ( #1376 )
2026-01-07 14:26:40 +03:00
Fahreddin Özcan
3b4c18e929
chore(release): version packages ( #1381 )
2026-01-07 13:53:44 +03:00
Fahreddin Özcan
9412e62487
feat(sdk): update default format ( #1377 )
...
* feat(sdk): update default format
* chore: add changeset
* chore(release): revert version
2026-01-07 13:37:31 +03:00
dependabot[bot]
d1252b75df
chore(deps-dev): bump @types/node from 22.19.1 to 25.0.3 ( #1347 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 22.19.1 to 25.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 25.0.3
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com >
2026-01-07 11:31:57 +03:00
github-actions[bot]
01fa67e926
chore(release): version packages ( #1365 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-07 10:36:37 +03:00
Fahreddin Özcan
b3cd38a32c
CTX7-982: Update Context7 SDK with API v3 ( #1335 )
...
* feat: update sdk with API v3
* feat: simplify sdk types
* feat: simplify return types and fields
* fmt
* chore: seperate type and utils locations
* chore: update sdk readme
* docs: update sdk docs with new updates
* fix: update vitest config
* chores
* update tools-ai-sdk package
* update tests with proper types
* feat: update tools-ai-sdk package tools
* chore: update tools-ai-sdk changeset
* update changesets
2026-01-05 17:34:51 +03:00
github-actions[bot]
21d3da5107
chore(release): version packages ( #1353 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-02 17:26:02 +03:00
Fahreddin Özcan
368b143356
CTX7-971: Client Metrics ( #1305 )
...
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com >
2026-01-02 17:24:42 +03:00
github-actions[bot]
f8adfe4db1
chore(release): version packages ( #1325 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-30 12:41:11 +03:00
Bryan Thompson
93a2d5be83
feat: Add tool annotations for improved LLM tool understanding ( #1282 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: triepod-ai <noreply@github.com >
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com >
2025-12-30 12:34:01 +03:00
github-actions[bot]
7a4d9a7105
chore(release): version packages ( #1317 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com >
2025-12-29 13:44:26 +03:00
Enes Akar
66ea0d6aad
new arch ( #1283 )
...
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com >
2025-12-29 13:41:26 +03:00
Enes Gules
2701b5d65d
test: update searchLibrary test to expect error on empty query ( #1279 )
2025-12-22 10:45:13 +03:00
github-actions[bot]
05f3e9ecf0
chore(release): version packages ( #1256 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-17 22:12:23 +03:00
Enes Gules
a5228fde0d
fix: use fallback to globalApiKey in search tool ( #1255 )
2025-12-17 22:11:02 +03:00
Enes Gules
c4ce22595d
fix: update MCP Dockerfile to use pnpm monorepo setup and update schema version ( #1252 )
2025-12-17 16:15:15 +03:00
github-actions[bot]
4eb491a022
chore(release): version packages ( #1127 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: enesgules <abdullah.enes.gules@gmail.com >
2025-12-17 15:34:33 +03:00
Enes Gules
aa123909ba
feat: parse error messages from API response body ( #1250 )
2025-12-17 15:28:14 +03:00
Enes Gules
6983b20173
fix: use absolute GitHub URL for cover image in README files ( #1208 )
2025-12-11 22:11:27 +03:00
Fahreddin Özcan
6c8143dac8
docs: add in progress warning for sdk package and docs ( #1194 )
2025-12-09 15:08:17 -08:00
Fahreddin Özcan
f820f7fecd
CTX7-879: Context7 Vercel AI SDK Tools ( #1122 )
...
* feat: context7 vercel ai sdk tools package
* ci: remove master target condition on test action
* ci: manual actions trigger for test
* ci: always run all tests
* update tests and imports
* ci: typecheck command
* fix: tests
* docs: add readme
* update folder structure and tool descriptions
* tests: fix test env vars
* ci: bump pnpm version
* update ai sdk step count api
* Add stopWhen to docstring examples
* update tests
* update prompt name
* update context7 agent name
* update tool description var to description
* make context7agent config optional
* ci: add changeset
* make context7-sdk peer deps
* update pnpm-lock.yaml
* update package name to @upstash/context7-tools-ai-sdk
* remove check workflow
* update pnpm lock
* make the agent a class instead of function
* replace all name instances
* add agent generate test
* simplify agent config
* fix refs
2025-12-09 14:45:01 -08:00
Fahreddin Özcan
ad2399641c
fix: remove detailed 401 response ( #1124 )
...
* fix: remove detailed 401 response
* ci: add changeset
2025-12-01 14:50:55 +03:00
Fahreddin Özcan
6c0515818d
fix(sdk): add publishConfig for public npm access ( #1110 )
2025-11-28 16:34:25 +03:00
github-actions[bot]
9a02c2a048
chore(release): version packages ( #1108 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-28 16:17:33 +03:00
Fahreddin Özcan
5e11d358af
CTX7-855: TypeScript SDK ( #1061 )
...
* init sdk and monorepo
* init sdk and monorepo
* comment cleanup
* remove bun.lock
* cleanup: remove sdk package and deps
* update tsconfigs
* chore: add temp changelog
* ci: update scripts
* ci: update github workflows
* fmt: workflows
* fix: search libraries response type
* ci: update pack-mcpb script
* feat: init ts sdk
* feat: add commands and http client
* update keywords and author
* update eslint config for mcp
* include license and readme in build
* update release.yaml
* add readme symlink
* include readme in mcp package
* chore: add canary release workflow and update configs
* chore: format files
* ci: add changeset check workflow
* canary release trigger
* ci: login to npm before release
* bump mcp version on package
* remove pr trigger from canary release
* ci: remove package input
* finalize sdk with tests and proper types
* address reviews
* add client tests
* feat: use env var automatically
* add docs
* remove docs changes (moving to separate PR)
* remove docs
* update build config with tsup
* cleanup comments
* fix error hangling on http client
* minor fixes
* address reviews
* add txt pagination feature
* remove unnecessary types
* update default format
* cleanup
* add mcp lint command
* update format scripts
* fix: update eslint and tsconfig with update
* add readme
* make default format json
* change docType to mode
* update basic usage
* update changeset
2025-11-28 16:16:30 +03:00
github-actions[bot]
6cba71fde4
chore(release): version packages ( #1107 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-28 15:23:11 +03:00
Fahreddin Özcan
6255e26677
CTX7-854: Migrate to pnpm monorepo ( #1058 )
...
* init sdk and monorepo
* init sdk and monorepo
* comment cleanup
* remove bun.lock
* cleanup: remove sdk package and deps
* update tsconfigs
* chore: add temp changelog
* ci: update scripts
* ci: update github workflows
* fmt: workflows
* fix: search libraries response type
* ci: update pack-mcpb script
* update keywords and author
* update eslint config for mcp
* include license and readme in build
* update release.yaml
* add readme symlink
* include readme in mcp package
* chore: add canary release workflow and update configs
* chore: format files
* ci: add changeset check workflow
* canary release trigger
* ci: login to npm before release
* bump mcp version on package
* remove pr trigger from canary release
* ci: remove package input
* add mcp lint command
* update format scripts
2025-11-28 15:18:33 +03:00