[codex] close out API transport protocol work - #737
Merged
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
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.
Summary
WalkerAPI path across adapters and derive conflict defaults from the public signatures.Impact
This keeps existing public entry points working while moving legacy Jupyter usage onto the supported anywidget path. It also reduces frontend/backend protocol drift by making the generated TypeScript contract verifiable from Python.
Validation
venv/bin/python -m pytest tests/test_computation.py tests/test_integration_apis.py tests/test_walker_api.py tests/test_pygwalker_core.py tests/test_readme_api_reference.py tests/test_frontend_contracts.py tests/test_communication_transports.py tests/test_data_communication.py tests/test_cloud_communication.py tests/test_spec_communication.py -q --disable-warnings(210 passed)venv/bin/python -m ruff check README.md pygwalker/api/_walker_reuse.py pygwalker/api/anywidget.py pygwalker/api/html.py pygwalker/api/jupyter.py pygwalker/api/marimo.py pygwalker/api/streamlit.py pygwalker/api/walker.py pygwalker/api/webserver.py pygwalker/communications/protocol.py pygwalker/utils/computation.py scripts/generate_comm_protocol_ts.py tests/test_computation.py tests/test_frontend_contracts.py tests/test_integration_apis.py tests/test_pygwalker_core.py tests/test_readme_api_reference.py tests/test_walker_api.pyyarn typecheckfromapp/venv/bin/python scripts/generate_comm_protocol_ts.pyfollowed by no diff inapp/src/interfaces/comm.generated.ts