Fix #184: mcp type error by post build script #185
Merged
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.
This pull request introduces a new post-build script, updates dependencies, and makes a minor documentation correction. The most significant changes include the addition of a script to copy type definition files after the build process, updates to
typescript
and other dependencies, and a change in a type reference in the documentation.Build process enhancements:
build/post.ts
to copy type definition files (IMcpLlmController.d.ts
andIMcpLlmController.d.mts
) from thesrc
directory to thelib
directory. This script is now invoked as part of thebuild
process inpackage.json
. [1] [2]Dependency updates:
typescript
from5.7.3
to5.8.3
inpackage.json
andpnpm-lock.yaml
. This includes updates to related dependencies such as@rollup/plugin-typescript
andtypedoc
. [1] [2] [3]@modelcontextprotocol/sdk
from1.11.1
to1.11.4
inpackage.json
andpnpm-lock.yaml
. [1] [2] [3]@types/node
,ts-node
, and several transitive dependencies such asajv
,fast-deep-equal
,fast-uri
, andrequire-from-string
inpnpm-lock.yaml
. [1] [2] [3] [4]Documentation correction:
src/OpenApi.ts
fromIOpenAiSchema
toIJsonSchema
in comments, aligning the documentation with the actual type definitions.