Releases: theYahia/cdek-mcp
Releases · theYahia/cdek-mcp
Release list
v2.2.0
First release buildable and testable as a standalone repository (previous 2.1.0 was never published — CI could not build it outside the monorepo).
Fixed
- Standalone build — removed monorepo coupling that broke
npm ci/tscfor anyone cloning the repo:@theyahia/mcp-coredependencyworkspace:*→^1.0.0(resolves from the npm registry).tsconfig.jsonno longerextends ../../tsconfig.base.json/ references../../packages/core; the compiler options are inlined.repositorynow points attheYahia/cdek-mcpinstead of the archived monorepo.
- Test suite — repaired drift against the current source:
tests/server.test.tsnow imports the exportedcreateServerfactory and asserts all 16 tools.- Removed the obsolete
token-manager.test.ts(OAuth token handling lives in@theyahia/mcp-core’sOAuthStrategy). tests/e2e/smoke.test.tsexpects 16 tools (was 8).- Consolidated unit tests under
tests/(was split betweentest/andtests/).
Added
- GPS search for
list_delivery_points— optionallatitude/longitude/radius_kmfilter and sort pickup points by client-side haversine distance (annotates each result withкоординатыandрасстояние_км). Makes the README "nearest pickup point" demo work. - Input validation —
calculate_tariff,calculate_tariff_list, andcreate_ordernow requirecodeorpostal_codefor each location up front, with an actionable error. src/server.ts— the server is now a pure, importable factory;src/index.tsis a thin runtime entry point.- Tooling — ESLint (flat config) + Prettier,
lint/formatscripts; CI now runslint,typecheck, and the e2e smoke test.
Changed
- Node 20+ required (
engines.node>=18→>=20). The test toolchain (Vitest 4) needsutil.styleText, available from Node 20.12; Node 18 is end-of-life. CI matrix is now Node 20 / 22.
Установка: npx -y @theyahia/cdek-mcp@2.2.0 · npm
Тег v2.2.0 уже существовал в репозитории — здесь для него оформлен GitHub Release.