Skip to content

[AiBundle][McpBundle] Upgrade bundle structure #94

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 1 commit into from
Jul 12, 2025

Conversation

yceruto
Copy link
Member

@yceruto yceruto commented Jul 11, 2025

Q A
Bug fix? no
New feature? no
Docs? no
Issues Fix #91
License MIT

This pull request introduces significant changes to the configuration system for AI-related bundles. It replaces the Configuration.php files with new options.php files, streamlining the definition of configuration options. Additionally, it removes exclusions from PHPStan analysis for the deleted Configuration.php files.

Configuration System Overhaul:

  • src/ai-bundle/config/options.php: Introduced a new configuration file to define options for AI platforms, agents, stores, and indexers. This replaces the previous Configuration.php file with a more concise and flexible structure.
  • src/mcp-bundle/config/options.php: Added a new configuration file for MCP bundle options, including client transport settings and application metadata.

Removal of Legacy Files:

PHPStan Analysis Updates:

@welcoMattic welcoMattic changed the title Upgrade bundle structure [AiBundle][McpBundle] Upgrade bundle structure Jul 11, 2025
@welcoMattic welcoMattic added AI Bundle Issues & PRs about the AI integration bundle MCP Bundle Issues & PRs about the MCP SDK integration bundle labels Jul 11, 2025
@yceruto
Copy link
Member Author

yceruto commented Jul 11, 2025

Still work to do...

@yceruto yceruto force-pushed the bundle_structure branch 6 times, most recently from ada9cc4 to 5befa8b Compare July 11, 2025 21:25
@yceruto
Copy link
Member Author

yceruto commented Jul 11, 2025

This is ready for review!

Copy link
Contributor

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great & I'm actually learning stuff here - thanks for that @yceruto! :)

@chr-hertel
Copy link
Contributor

Did you by any chance try to use git mv for the config and extension stuff for keeping the git history there? just wondering if we have that option

@yceruto yceruto force-pushed the bundle_structure branch 3 times, most recently from 2bcb267 to 1f21a9d Compare July 12, 2025 19:52
@yceruto
Copy link
Member Author

yceruto commented Jul 12, 2025

@chr-hertel I already did that, but GitHub still shows them as new files instead of recognizing them as moved

@chr-hertel
Copy link
Contributor

Thank you @yceruto.

@chr-hertel chr-hertel merged commit fd775eb into symfony:main Jul 12, 2025
11 of 12 checks passed
@yceruto yceruto deleted the bundle_structure branch July 13, 2025 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Bundle Issues & PRs about the AI integration bundle MCP Bundle Issues & PRs about the MCP SDK integration bundle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bundles should use the modern package structure
3 participants