[feat] Add BidiComponentRequestHandler and wire it up to the Server#12662
Merged
sfc-gh-bnisco merged 1 commit intodevelopfrom Oct 24, 2025
Merged
[feat] Add BidiComponentRequestHandler and wire it up to the Server#12662sfc-gh-bnisco merged 1 commit intodevelopfrom
sfc-gh-bnisco merged 1 commit intodevelopfrom
Conversation
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
✅ PR preview is ready!
|
This was referenced Sep 29, 2025
Collaborator
Author
Contributor
📉 Python coverage change detectedThe Python unit test coverage has decreased by 0.0008%
✅ Coverage change is within normal range. Coverage by files
|
Contributor
📈 Significant wheel size change detectedThe wheel file size has increased by 0.31% (threshold: 0.25%)
Please verify this change is expected. |
570b1e1 to
b879459
Compare
92247d9 to
c20865f
Compare
f75edc9 to
752e40f
Compare
c20865f to
7c7af1c
Compare
752e40f to
e0a6960
Compare
7c7af1c to
72bf9b9
Compare
e0a6960 to
8262ea3
Compare
72bf9b9 to
68938cd
Compare
8262ea3 to
ee977b7
Compare
68938cd to
32afb72
Compare
This was referenced Oct 10, 2025
21d6cbb to
813e9a5
Compare
3ca7d6c to
4df22d8
Compare
4df22d8 to
0599bc7
Compare
813e9a5 to
0b5d606
Compare
0599bc7 to
08b64b1
Compare
0b5d606 to
d75a740
Compare
08b64b1 to
87bcd7a
Compare
39bb9f4 to
bd3ff3b
Compare
7664ddf to
eb90750
Compare
bd3ff3b to
8b5a830
Compare
8b5a830 to
052df52
Compare
eb90750 to
dd9e9d6
Compare
052df52 to
7c98375
Compare
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
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.

Describe your changes
Added support for bidirectional component file serving with a new
BidiComponentRequestHandler. This handler serves static files from component asset directories, similar to the existingComponentRequestHandler, but works with the CCv2 registry.Key additions:
BidiComponentRequestHandlerto serve files from bidirectional component asset directoriescomponent_file_utils.pywith shared utility functions for safe path handling and content type detectionComponentRequestHandlerto use the new shared utilities/bidi-components/endpoint to the server routesGitHub Issue Link (if applicable)
Testing Plan
Unit Tests: Added comprehensive test suite in
bidi_component_request_handler_test.pythat verifies:The implementation reuses proven patterns from the existing component handler, with shared utilities extracted to ensure consistent behavior.
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.