Skip to content

Conversation

@Romakita
Copy link
Contributor

No description provided.

…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.
…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.
@Romakita Romakita merged commit ad93cd7 into beta Dec 24, 2025
9 checks passed
@Romakita
Copy link
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants