Commit Graph

17 Commits

Author SHA1 Message Date
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 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
luo jiyin e412350939 fix: typo in retry count comment (#1540) 2026-01-26 11:50:14 +03: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
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 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
Enes Gules 2701b5d65d test: update searchLibrary test to expect error on empty query (#1279) 2025-12-22 10:45:13 +03:00
Enes Gules aa123909ba feat: parse error messages from API response body (#1250) 2025-12-17 15:28:14 +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 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