-
-
Notifications
You must be signed in to change notification settings - Fork 24
Init mpc 2 #513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Init mpc 2 #513
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…d options - Deleted `@On`, `@OnAdd`, `@OnExec`, `@OnPostInstall`, and `@OnPrompt` with associated tests. - Simplified `CommandOptions` design by refactoring `CommandParameters` into specific types. - Updated DI usage in services and functions for clean and efficient dependency management. - Improved command execution flow by streamlining task handling logic.
…lugin` method - Updated plugin modules to use `$onAddPlugin` for plugin initialization logic. - Refactored DI usage and simplified dependency imports in plugin modules. - Adjusted test files to remove redundant commands and streamline task lists.
… `tsed-mcp` binary, and enhance schema definitions - Consolidated MCP-related tools and resources under `commands/mcp` for improved organization. - Removed `tsed-mcp` binary and updated `package.json` and integration scripts accordingly. - Enhanced support for dynamic input schemas with arrow function handlers in `defineTool`. - Improved error handling and logging during MCP tool execution. - Added `initProjectTool` and `McpCommand` for streamlined project initialization in MCP mode.
…rvice, and other core services
…ations - Updated `package.json` and `yarn.lock` files to use `@tsed` packages >=8.20.0. - Added `start:init:options` command to `tools/integration/package.json`. - Adjusted commitlint config to include `body-max-line-length` rule. - Synced MCP-related dependencies and scripts with the new version.
…gration logic - Replaced `db` references with `orm` throughout CLI to standardize terminology. - Updated TypeORM integration to use `orm:typeorm` and adjusted templates, prompts, and tests accordingly. - Improved consistency in feature mapping and selection mechanisms.
…and option consistency - Updated `getCommandMetadata` to unify handling of `args` and `options`, removing unused `allowUnknownOption` parameter. - Introduced `x-opt` metadata key in the schema for improved flexibility and custom parsing. - Added enhancements to `JsonSchema` with helpers like `prompt`, `opt`, `when`, and `choices`. - Adjusted tests to reflect revised `args` mapping and schema extensions. - Minor improvements in `CommandOptions` typings and schema definitions for clarity and maintainability.
- Introduced `inputSchema` in `CommandMetadata` for command input validation. - Integrated schema validation logic in `createCommand` to verify inputs before lifecycle execution. - Enhanced tests to cover valid and invalid input scenarios during command execution.
…d input validation and extensibility - Migrated from `InitFileSchema` to `InitSchema` in the init command for improved schema flexibility and better prompt-driven configuration. - Updated references and adjusted schema definitions to support dynamic prompts and richer options.
…ations - Updated `package.json` and `yarn.lock` files to use `@tsed` packages >=8.20.1. - Synced MCP-related dependencies and configurations with the new version.
…ns for external tools - Implemented `InitOptionsCommand` to provide detailed options for the `init` command. - Replaced old `InitCmd.spec.ts` tests with a new structure and approach. - Updated commands registry to include `InitOptionsCommand`.
…ions - Updated `package.json` and `yarn.lock` files to use `@tsed` packages >=8.21.0. - Synced MCP-related dependencies and updated schema imports to align with the new version. - Adjusted MCP commands to utilize the revised `InitSchema` structure.
Contributor
Author
|
🎉 This PR is included in version 7.0.0-beta.4 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.