codex-a2a 0.7.3__tar.gz → 1.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- codex_a2a-1.1.0/.github/dependabot.yml +32 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/.github/workflows/ci.yml +2 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/.github/workflows/publish.yml +0 -4
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/.gitignore +2 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/CONTRIBUTING.md +1 -1
- {codex_a2a-0.7.3/src/codex_a2a.egg-info → codex_a2a-1.1.0}/PKG-INFO +25 -6
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/README.md +19 -1
- codex_a2a-1.1.0/docs/a2a-extension-baseline.md +102 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/docs/architecture.md +1 -1
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/docs/compatibility.md +27 -20
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/docs/conformance-triage.md +7 -7
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/docs/conformance.md +4 -4
- codex_a2a-1.1.0/docs/extension-specifications.md +155 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/docs/guide.md +131 -97
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/docs/maintainer-architecture.md +1 -2
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/pyproject.toml +6 -5
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/scripts/README.md +4 -2
- codex_a2a-1.1.0/scripts/audit_low_call_sites.py +402 -0
- codex_a2a-1.1.0/scripts/check_dead_code.py +125 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/scripts/conformance.sh +1 -1
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/scripts/smoke_test_built_cli.sh +9 -2
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/scripts/validate_baseline.sh +24 -3
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/__init__.py +3 -12
- codex_a2a-1.1.0/src/codex_a2a/a2a_proto.py +125 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/auth.py +18 -37
- codex_a2a-1.1.0/src/codex_a2a/cli.py +246 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/client/__init__.py +0 -8
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/client/agent_card.py +4 -6
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/client/auth.py +5 -17
- codex_a2a-1.1.0/src/codex_a2a/client/client.py +435 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/client/config.py +21 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/client/errors.py +23 -61
- codex_a2a-1.1.0/src/codex_a2a/client/extension_negotiation.py +215 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/client/manager.py +19 -18
- codex_a2a-1.1.0/src/codex_a2a/client/payload_text.py +75 -0
- codex_a2a-1.1.0/src/codex_a2a/client/request_context.py +61 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/config.py +24 -32
- codex_a2a-1.1.0/src/codex_a2a/contracts/extension_registry.py +357 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/contracts/extension_specs.py +57 -106
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/contracts/extensions.py +336 -247
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/contracts/runtime_output.py +3 -13
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/discovery_runtime.py +5 -4
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/exec_runtime.py +11 -14
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/executor.py +95 -48
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/output_mapping.py +9 -16
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/request_metadata.py +63 -26
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/response_emitter.py +23 -15
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/review_runtime.py +9 -23
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/stream_chunks.py +6 -5
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/stream_processor.py +8 -7
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/stream_state.py +10 -9
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/thread_lifecycle_runtime.py +20 -14
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/tool_call_payloads.py +24 -50
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/input_mapping.py +37 -74
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/application.py +65 -64
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/discovery_control.py +6 -7
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/discovery_params.py +45 -104
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/discovery_query.py +3 -2
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/dispatch.py +0 -11
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/errors.py +19 -71
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/exec_control.py +46 -30
- codex_a2a-1.1.0/src/codex_a2a/jsonrpc/exec_control_params.py +132 -0
- codex_a2a-1.1.0/src/codex_a2a/jsonrpc/interrupt_params.py +202 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/interrupt_recovery.py +8 -4
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/interrupt_recovery_params.py +3 -15
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/interrupts.py +35 -39
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/owner_guard.py +1 -1
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/params.py +0 -52
- codex_a2a-1.1.0/src/codex_a2a/jsonrpc/params_common.py +422 -0
- codex_a2a-1.1.0/src/codex_a2a/jsonrpc/payload_mapping.py +67 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/query_params.py +43 -66
- codex_a2a-1.1.0/src/codex_a2a/jsonrpc/request_models.py +14 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/review_control.py +30 -33
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/review_control_params.py +11 -35
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/session_query.py +14 -8
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/thread_lifecycle_control.py +62 -69
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/thread_lifecycle_params.py +20 -100
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/turn_control.py +14 -6
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/turn_control_params.py +73 -29
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/profile/runtime.py +0 -11
- codex_a2a-1.1.0/src/codex_a2a/protocol_versions.py +105 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/agent_card.py +49 -226
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/application.py +93 -68
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/call_context.py +12 -2
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/http_middlewares.py +73 -126
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/migrations.py +16 -1
- codex_a2a-1.1.0/src/codex_a2a/server/openapi.py +254 -0
- codex_a2a-1.1.0/src/codex_a2a/server/openapi_contract_fragments.py +191 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/output_negotiation.py +78 -77
- codex_a2a-1.1.0/src/codex_a2a/server/push_config_store.py +65 -0
- codex_a2a-1.1.0/src/codex_a2a/server/request_handler.py +564 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/runtime_state_schema.py +51 -2
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/task_store.py +219 -38
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/client.py +78 -163
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/conversation_facade.py +7 -114
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/notification_mapping.py +46 -7
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/request_mapping.py +114 -43
- {codex_a2a-0.7.3 → codex_a2a-1.1.0/src/codex_a2a.egg-info}/PKG-INFO +25 -6
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a.egg-info/SOURCES.txt +20 -10
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a.egg-info/requires.txt +5 -4
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/client/test_cli.py +43 -1
- codex_a2a-1.1.0/tests/client/test_client_flow.py +522 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/client/test_client_manager.py +5 -0
- codex_a2a-1.1.0/tests/client/test_errors.py +67 -0
- codex_a2a-1.1.0/tests/client/test_payload_text.py +129 -0
- codex_a2a-1.1.0/tests/client/test_request_context.py +99 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/config/test_settings.py +37 -15
- codex_a2a-1.1.0/tests/contracts/test_extension_contract_consistency.py +628 -0
- codex_a2a-1.1.0/tests/contracts/test_extension_registry.py +206 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_agent_errors.py +4 -4
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_cancellation.py +2 -2
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_codex_agent_session_binding.py +89 -63
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_directory_validation.py +8 -3
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_discovery_exec_runtime.py +8 -9
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_metrics.py +33 -29
- codex_a2a-1.1.0/tests/execution/test_request_metadata.py +101 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_review_runtime.py +6 -5
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_session_ownership.py +8 -7
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_session_persistence.py +33 -3
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_stream_chunks.py +11 -7
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_streaming_output_contract.py +87 -49
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_thread_lifecycle_runtime.py +102 -15
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_tool_call_payloads.py +16 -16
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/jsonrpc/test_codex_discovery_extension.py +22 -21
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/jsonrpc/test_codex_exec_extension.py +36 -33
- codex_a2a-1.1.0/tests/jsonrpc/test_codex_session_extension.py +199 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/jsonrpc/test_codex_thread_lifecycle_extension.py +33 -27
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/jsonrpc/test_codex_turn_review_extension.py +19 -11
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/jsonrpc/test_dispatch.py +3 -14
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/jsonrpc/test_guard_hooks.py +60 -29
- codex_a2a-1.1.0/tests/jsonrpc/test_interrupt_lifecycle.py +254 -0
- codex_a2a-1.1.0/tests/jsonrpc/test_interrupt_protocol_handlers.py +295 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/jsonrpc/test_jsonrpc_models.py +156 -271
- codex_a2a-1.1.0/tests/jsonrpc/test_protocol_payload_mapping.py +245 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/package/test_release_distribution_contract.py +17 -7
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/package/test_typing_contract.py +5 -0
- codex_a2a-1.1.0/tests/package/test_version.py +44 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/profile/test_profile.py +0 -6
- codex_a2a-1.1.0/tests/scripts/test_audit_low_call_sites.py +145 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/scripts/test_script_health_contract.py +26 -9
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/server/test_agent_card.py +283 -243
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/server/test_auth.py +4 -7
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/server/test_call_context_builder.py +1 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/server/test_cli.py +12 -4
- codex_a2a-1.1.0/tests/server/test_database_app_persistence.py +337 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/server/test_migrations.py +42 -1
- codex_a2a-1.1.0/tests/server/test_push_config_store.py +60 -0
- codex_a2a-1.1.0/tests/server/test_request_handler.py +718 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/server/test_task_store.py +140 -21
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/server/test_transport_contract.py +323 -172
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/support/context.py +14 -5
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/support/dummy_clients.py +2 -80
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/support/fixtures.py +4 -4
- codex_a2a-1.1.0/tests/support/http_auth.py +6 -0
- codex_a2a-1.1.0/tests/support/jsonrpc_errors.py +38 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/support/settings.py +17 -2
- codex_a2a-1.1.0/tests/test_a2a_proto.py +18 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/test_input_mapping.py +52 -25
- codex_a2a-1.1.0/tests/test_protocol_versions.py +62 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/upstream/test_codex_client_params.py +123 -135
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/upstream/test_modular_upstream_components.py +5 -46
- codex_a2a-1.1.0/tests/upstream/test_request_mapping.py +177 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/uv.lock +319 -192
- codex_a2a-0.7.3/.github/dependabot.yml +0 -16
- codex_a2a-0.7.3/docs/extension-specifications.md +0 -117
- codex_a2a-0.7.3/scripts/doctor.sh +0 -7
- codex_a2a-0.7.3/src/codex_a2a/cli.py +0 -125
- codex_a2a-0.7.3/src/codex_a2a/client/client.py +0 -361
- codex_a2a-0.7.3/src/codex_a2a/client/payload_text.py +0 -188
- codex_a2a-0.7.3/src/codex_a2a/client/request_context.py +0 -41
- codex_a2a-0.7.3/src/codex_a2a/client/types.py +0 -76
- codex_a2a-0.7.3/src/codex_a2a/execution/cancellation.py +0 -82
- codex_a2a-0.7.3/src/codex_a2a/execution/directory_policy.py +0 -44
- codex_a2a-0.7.3/src/codex_a2a/jsonrpc/exec_control_params.py +0 -216
- codex_a2a-0.7.3/src/codex_a2a/jsonrpc/interrupt_params.py +0 -259
- codex_a2a-0.7.3/src/codex_a2a/jsonrpc/params_common.py +0 -200
- codex_a2a-0.7.3/src/codex_a2a/jsonrpc/payload_mapping.py +0 -97
- codex_a2a-0.7.3/src/codex_a2a/jsonrpc/session_control.py +0 -210
- codex_a2a-0.7.3/src/codex_a2a/jsonrpc/session_control_params.py +0 -349
- codex_a2a-0.7.3/src/codex_a2a/protocol_versions.py +0 -188
- codex_a2a-0.7.3/src/codex_a2a/server/agent_card_extensions.py +0 -272
- codex_a2a-0.7.3/src/codex_a2a/server/openapi.py +0 -132
- codex_a2a-0.7.3/src/codex_a2a/server/openapi_contract_fragments.py +0 -541
- codex_a2a-0.7.3/src/codex_a2a/server/request_handler.py +0 -516
- codex_a2a-0.7.3/src/codex_a2a/upstream/exec_facade.py +0 -81
- codex_a2a-0.7.3/tests/client/test_client_flow.py +0 -312
- codex_a2a-0.7.3/tests/client/test_errors.py +0 -90
- codex_a2a-0.7.3/tests/client/test_payload_text.py +0 -71
- codex_a2a-0.7.3/tests/client/test_request_context.py +0 -55
- codex_a2a-0.7.3/tests/client/test_types.py +0 -45
- codex_a2a-0.7.3/tests/contracts/test_extension_contract_consistency.py +0 -680
- codex_a2a-0.7.3/tests/jsonrpc/test_codex_session_extension.py +0 -1681
- codex_a2a-0.7.3/tests/package/test_version.py +0 -22
- codex_a2a-0.7.3/tests/server/test_database_app_persistence.py +0 -280
- codex_a2a-0.7.3/tests/server/test_request_handler.py +0 -847
- codex_a2a-0.7.3/tests/test_protocol_versions.py +0 -83
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/.github/workflows/dependency-health.yml +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/.pre-commit-config.yaml +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/.secrets.baseline +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/AGENTS.md +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/LICENSE +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/SECURITY.md +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/mypy.ini +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/scripts/dependency_health.sh +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/scripts/health_common.sh +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/scripts/publish_github_release.sh +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/scripts/sync_codex_docs.sh +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/scripts/validate_runtime_matrix.sh +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/setup.cfg +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/contracts/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/request_overrides.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/session_runtime.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/stream_interrupts.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/streaming.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/execution/watch_events.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/discovery_payload_mapping.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/hooks.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/jsonrpc/interrupt_lifecycle.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/logging_context.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/media_modes.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/metrics.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/parts/text.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/payload_helpers.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/profile/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/py.typed +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/database.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/server/runtime_state.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/discovery_payloads.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/interrupt_bridge.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/interrupts.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/models.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/startup.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/stream_bridge.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a/upstream/transport.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a.egg-info/dependency_links.txt +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a.egg-info/entry_points.txt +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/src/codex_a2a.egg-info/top_level.txt +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/client/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/client/test_agent_card.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/client/test_lifecycle.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/config/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/contracts/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_session_runtime.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/execution/test_stream_interrupts.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/fixtures/codex_app_server/command_execution_output_delta.json +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/fixtures/codex_app_server/file_change_output_delta.json +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/jsonrpc/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/package/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/package/test_logging.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/package/test_publish_github_release_script.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/parts/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/parts/test_text.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/profile/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/scripts/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/server/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/server/test_database.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/server/test_runtime_state.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/support/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/upstream/__init__.py +0 -0
- {codex_a2a-0.7.3 → codex_a2a-1.1.0}/tests/upstream/test_interrupt_persistence.py +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
|
|
3
|
+
updates:
|
|
4
|
+
- package-ecosystem: "uv"
|
|
5
|
+
directory: "/"
|
|
6
|
+
schedule:
|
|
7
|
+
interval: "weekly"
|
|
8
|
+
open-pull-requests-limit: 1
|
|
9
|
+
commit-message:
|
|
10
|
+
prefix: "deps"
|
|
11
|
+
labels:
|
|
12
|
+
- "dependencies"
|
|
13
|
+
ignore:
|
|
14
|
+
- dependency-name: "fastapi"
|
|
15
|
+
update-types:
|
|
16
|
+
- "version-update:semver-minor"
|
|
17
|
+
- dependency-name: "httpx"
|
|
18
|
+
update-types:
|
|
19
|
+
- "version-update:semver-minor"
|
|
20
|
+
- dependency-name: "protobuf"
|
|
21
|
+
update-types:
|
|
22
|
+
- "version-update:semver-major"
|
|
23
|
+
- dependency-name: "setuptools-scm"
|
|
24
|
+
update-types:
|
|
25
|
+
- "version-update:semver-major"
|
|
26
|
+
- dependency-name: "uvicorn"
|
|
27
|
+
update-types:
|
|
28
|
+
- "version-update:semver-minor"
|
|
29
|
+
groups:
|
|
30
|
+
uv-all-updates:
|
|
31
|
+
patterns:
|
|
32
|
+
- "*"
|
|
@@ -67,10 +67,6 @@ jobs:
|
|
|
67
67
|
RELEASE_TAG: ${{ steps.release_tag.outputs.tag }}
|
|
68
68
|
|
|
69
69
|
- name: Build package artifacts
|
|
70
|
-
env:
|
|
71
|
-
PYTHONWARNINGS: >-
|
|
72
|
-
ignore::UserWarning:vcs_versioning._backends._git,
|
|
73
|
-
ignore::UserWarning:vcs_versioning.overrides
|
|
74
70
|
run: uv build --no-sources
|
|
75
71
|
|
|
76
72
|
- name: Capture built wheel path
|
|
@@ -45,7 +45,7 @@ export A2A_STATIC_AUTH_CREDENTIALS='[{"id":"local-bearer","scheme":"bearer","tok
|
|
|
45
45
|
4. Start this service from the source tree:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
CODEX_WORKSPACE_ROOT=/abs/path/to/workspace uv run codex-a2a
|
|
48
|
+
CODEX_WORKSPACE_ROOT=/abs/path/to/workspace uv run codex-a2a serve
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
5. Inspect the discovery surfaces:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codex-a2a
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Codex A2A runtime adapter
|
|
5
5
|
Author: liujuanjuan1984@Intelligent-Internet
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -22,18 +22,19 @@ Classifier: Topic :: Internet :: WWW/HTTP
|
|
|
22
22
|
Requires-Python: >=3.11
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE
|
|
25
|
-
Requires-Dist: a2a-sdk==0.
|
|
25
|
+
Requires-Dist: a2a-sdk==1.0.2
|
|
26
26
|
Requires-Dist: aiosqlite<1.0,>=0.20
|
|
27
|
-
Requires-Dist: fastapi<0.
|
|
27
|
+
Requires-Dist: fastapi<0.137,>=0.121
|
|
28
28
|
Requires-Dist: httpx<0.29,>=0.28.1
|
|
29
|
-
Requires-Dist: protobuf<
|
|
29
|
+
Requires-Dist: protobuf<7.0,>=6.33.5
|
|
30
30
|
Requires-Dist: pyasn1<1.0,>=0.6.3
|
|
31
|
+
Requires-Dist: python-dotenv<2.0,>=1.2.2
|
|
31
32
|
Requires-Dist: pydantic<3.0,>=2.6
|
|
32
33
|
Requires-Dist: pydantic-settings<3.0,>=2.2
|
|
33
34
|
Requires-Dist: requests<3.0,>=2.33.0
|
|
34
35
|
Requires-Dist: sqlalchemy<3.0,>=2.0
|
|
35
36
|
Requires-Dist: sse-starlette<4.0,>=2.1
|
|
36
|
-
Requires-Dist: uvicorn<0.
|
|
37
|
+
Requires-Dist: uvicorn<0.46,>=0.29
|
|
37
38
|
Provides-Extra: dev
|
|
38
39
|
Requires-Dist: pip-audit<3.0,>=2.9; extra == "dev"
|
|
39
40
|
Requires-Dist: pre-commit>=3.7; extra == "dev"
|
|
@@ -47,8 +48,25 @@ Dynamic: license-file
|
|
|
47
48
|
|
|
48
49
|
# codex-a2a
|
|
49
50
|
|
|
51
|
+
```text
|
|
52
|
+
_ ___
|
|
53
|
+
| | |__ \
|
|
54
|
+
___ ___ __| | _____ __ __ _ ) |__ _
|
|
55
|
+
/ __/ _ \ / _` |/ _ \ \/ / / _` | / // _` |
|
|
56
|
+
| (_| (_) | (_| | __/> < | (_| |/ /| (_| |
|
|
57
|
+
\___\___/ \__,_|\___/_/\_\ \__,_|____\__,_|
|
|
58
|
+
```
|
|
59
|
+
|
|
50
60
|
> Expose Codex through A2A.
|
|
51
61
|
|
|
62
|
+
Repository: https://github.com/liujuanjuan1984/codex-a2a
|
|
63
|
+
|
|
64
|
+
Install: `uv tool install --upgrade codex-a2a`
|
|
65
|
+
|
|
66
|
+
Protocol: A2A `1.0` only.
|
|
67
|
+
|
|
68
|
+
Start the runtime explicitly with `codex-a2a serve`.
|
|
69
|
+
|
|
52
70
|
`codex-a2a` adds an A2A runtime layer to the local Codex runtime, with auth, streaming, session continuity, interrupt handling, a built-in outbound A2A client, and a clear deployment boundary.
|
|
53
71
|
|
|
54
72
|
## What This Is
|
|
@@ -110,6 +128,7 @@ Before starting the runtime:
|
|
|
110
128
|
- Configure Codex with a working provider/model setup and any required credentials.
|
|
111
129
|
- `codex-a2a` does not provision Codex providers, login state, or API keys for you.
|
|
112
130
|
- Startup fails fast if the local `codex` runtime is missing or cannot initialize.
|
|
131
|
+
- For long-running Linux service-manager deployments, set `CODEX_CLI_BIN` explicitly to the bundled native Codex binary. See [Usage Guide](docs/guide.md) for the recommended setup.
|
|
113
132
|
|
|
114
133
|
Self-start the released CLI against a workspace root:
|
|
115
134
|
|
|
@@ -121,7 +140,7 @@ A2A_PORT=8000 \
|
|
|
121
140
|
A2A_PUBLIC_URL=http://127.0.0.1:8000 \
|
|
122
141
|
A2A_DATABASE_URL=sqlite+aiosqlite:////abs/path/to/workspace/.codex-a2a/codex-a2a.db \
|
|
123
142
|
CODEX_WORKSPACE_ROOT=/abs/path/to/workspace \
|
|
124
|
-
codex-a2a
|
|
143
|
+
codex-a2a serve
|
|
125
144
|
```
|
|
126
145
|
|
|
127
146
|
For the full runtime configuration matrix, outbound client settings, and deployment notes, see [Usage Guide](docs/guide.md).
|
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
# codex-a2a
|
|
2
2
|
|
|
3
|
+
```text
|
|
4
|
+
_ ___
|
|
5
|
+
| | |__ \
|
|
6
|
+
___ ___ __| | _____ __ __ _ ) |__ _
|
|
7
|
+
/ __/ _ \ / _` |/ _ \ \/ / / _` | / // _` |
|
|
8
|
+
| (_| (_) | (_| | __/> < | (_| |/ /| (_| |
|
|
9
|
+
\___\___/ \__,_|\___/_/\_\ \__,_|____\__,_|
|
|
10
|
+
```
|
|
11
|
+
|
|
3
12
|
> Expose Codex through A2A.
|
|
4
13
|
|
|
14
|
+
Repository: https://github.com/liujuanjuan1984/codex-a2a
|
|
15
|
+
|
|
16
|
+
Install: `uv tool install --upgrade codex-a2a`
|
|
17
|
+
|
|
18
|
+
Protocol: A2A `1.0` only.
|
|
19
|
+
|
|
20
|
+
Start the runtime explicitly with `codex-a2a serve`.
|
|
21
|
+
|
|
5
22
|
`codex-a2a` adds an A2A runtime layer to the local Codex runtime, with auth, streaming, session continuity, interrupt handling, a built-in outbound A2A client, and a clear deployment boundary.
|
|
6
23
|
|
|
7
24
|
## What This Is
|
|
@@ -63,6 +80,7 @@ Before starting the runtime:
|
|
|
63
80
|
- Configure Codex with a working provider/model setup and any required credentials.
|
|
64
81
|
- `codex-a2a` does not provision Codex providers, login state, or API keys for you.
|
|
65
82
|
- Startup fails fast if the local `codex` runtime is missing or cannot initialize.
|
|
83
|
+
- For long-running Linux service-manager deployments, set `CODEX_CLI_BIN` explicitly to the bundled native Codex binary. See [Usage Guide](docs/guide.md) for the recommended setup.
|
|
66
84
|
|
|
67
85
|
Self-start the released CLI against a workspace root:
|
|
68
86
|
|
|
@@ -74,7 +92,7 @@ A2A_PORT=8000 \
|
|
|
74
92
|
A2A_PUBLIC_URL=http://127.0.0.1:8000 \
|
|
75
93
|
A2A_DATABASE_URL=sqlite+aiosqlite:////abs/path/to/workspace/.codex-a2a/codex-a2a.db \
|
|
76
94
|
CODEX_WORKSPACE_ROOT=/abs/path/to/workspace \
|
|
77
|
-
codex-a2a
|
|
95
|
+
codex-a2a serve
|
|
78
96
|
```
|
|
79
97
|
|
|
80
98
|
For the full runtime configuration matrix, outbound client settings, and deployment notes, see [Usage Guide](docs/guide.md).
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# A2A 1.0 Extension Baseline
|
|
2
|
+
|
|
3
|
+
This document defines the phase-1 baseline for how `codex-a2a` classifies, documents, and publishes A2A 1.0 extensions and extension-like contracts.
|
|
4
|
+
|
|
5
|
+
Phase 1 is intentionally internal-facing. The goal is to establish a single source of truth for extension inventory, disclosure surfaces, and negotiation posture before any later Agent Card expansion or compatibility-line change.
|
|
6
|
+
|
|
7
|
+
## Goals
|
|
8
|
+
|
|
9
|
+
- Define which runtime surfaces are true A2A extensions versus auxiliary machine-readable contracts.
|
|
10
|
+
- Define the intended responsibilities of the public Agent Card, authenticated extended Agent Card, and anonymous OpenAPI metadata.
|
|
11
|
+
- Centralize extension inventory so that Agent Card, OpenAPI, compatibility guidance, and documentation stop drifting independently.
|
|
12
|
+
- Preserve current externally visible behavior during phase 1 unless a change is required to remove ambiguity.
|
|
13
|
+
|
|
14
|
+
## Extension Classes
|
|
15
|
+
|
|
16
|
+
`codex-a2a` uses three classes during phase 1:
|
|
17
|
+
|
|
18
|
+
1. Shared A2A extensions
|
|
19
|
+
|
|
20
|
+
- These are cross-repository conventions layered onto standard A2A requests, responses, or task streams.
|
|
21
|
+
- They belong in `capabilities.extensions`.
|
|
22
|
+
- They may participate in request-level extension negotiation when the behavior is activation-sensitive.
|
|
23
|
+
|
|
24
|
+
2. Provider-private extensions
|
|
25
|
+
|
|
26
|
+
- These are adapter-managed `codex.*` contracts that remain specific to this deployment family.
|
|
27
|
+
- They are still treated as extensions conceptually, but their public disclosure remains conservative.
|
|
28
|
+
- They should be declared through authenticated extended Agent Card `capabilities.extensions`.
|
|
29
|
+
- Their detailed contract payloads should stay machine-readable on the authenticated extended card, with authenticated skill inventory remaining additive discovery guidance.
|
|
30
|
+
|
|
31
|
+
3. Machine-readable contract metadata
|
|
32
|
+
|
|
33
|
+
- These describe compatibility posture, wire-level method availability, and service behavior summaries.
|
|
34
|
+
- They are not negotiated runtime extensions.
|
|
35
|
+
- They should not be modeled as fake chat/task capabilities just to fit the Agent Card surface.
|
|
36
|
+
|
|
37
|
+
## Disclosure Responsibilities
|
|
38
|
+
|
|
39
|
+
### Public Agent Card
|
|
40
|
+
|
|
41
|
+
- Anonymous discovery surface.
|
|
42
|
+
- Declares only the minimum shared extension surface needed for safe interoperability.
|
|
43
|
+
- Must not be used as a hiding mechanism for real shared extensions.
|
|
44
|
+
- Should remain small even after later phases expand authenticated disclosures.
|
|
45
|
+
|
|
46
|
+
### Authenticated Extended Agent Card
|
|
47
|
+
|
|
48
|
+
- Authenticated discovery surface with deployment-aware detail.
|
|
49
|
+
- Provider-private extensions that are part of the declared contract should appear here through standard `capabilities.extensions`.
|
|
50
|
+
- Skills and examples remain additive discovery aids rather than the primary declaration path.
|
|
51
|
+
|
|
52
|
+
### OpenAPI Metadata
|
|
53
|
+
|
|
54
|
+
- Anonymous, transport-adjacent discovery surface.
|
|
55
|
+
- Should remain limited to the minimum shared-contract disclosure needed for interoperable clients.
|
|
56
|
+
- Should not be treated as the canonical machine-readable source for provider-private method matrices or deployment-private compatibility metadata.
|
|
57
|
+
- Should still be derived from the same registry as Agent Card declarations whenever possible.
|
|
58
|
+
|
|
59
|
+
## Negotiation Rules
|
|
60
|
+
|
|
61
|
+
- Shared request/response extensions are the only extensions treated as negotiated by default in phase 1.
|
|
62
|
+
- Shared request/response extensions use request-level `A2A-Extensions` activation only when the request depends on that negotiated behavior.
|
|
63
|
+
- Provider-private `codex.*` contracts and shared callback contracts marked `declaration_only` are used by directly invoking their documented methods. They do not require a separate `A2A-Extensions` activation header.
|
|
64
|
+
- Shared callback contracts may publish minimal public discovery metadata, but their detailed method contracts and reply schemas remain on authenticated discovery surfaces.
|
|
65
|
+
- Compatibility and wire-profile documents are not negotiable extensions.
|
|
66
|
+
|
|
67
|
+
## Inventory Rules
|
|
68
|
+
|
|
69
|
+
Every extension-like surface tracked by this repository must define at least:
|
|
70
|
+
|
|
71
|
+
- stable key
|
|
72
|
+
- stable URI
|
|
73
|
+
- classification
|
|
74
|
+
- disclosure surfaces
|
|
75
|
+
- negotiation posture
|
|
76
|
+
- contract parameter builder source
|
|
77
|
+
|
|
78
|
+
That inventory must be reusable by:
|
|
79
|
+
|
|
80
|
+
- Agent Card extension builders
|
|
81
|
+
- OpenAPI extension contract builders
|
|
82
|
+
- compatibility taxonomy reporting
|
|
83
|
+
- extension specification index documentation
|
|
84
|
+
|
|
85
|
+
## Phase 1 Non-Goals
|
|
86
|
+
|
|
87
|
+
- No migration from `urn:` to HTTPS extension URI yet.
|
|
88
|
+
- No public expansion of provider-private extension declarations.
|
|
89
|
+
- No compatibility shim for A2A 0.3 behavior.
|
|
90
|
+
|
|
91
|
+
## Canonical URI Strategy Snapshot
|
|
92
|
+
|
|
93
|
+
- `urn:codex-a2a:extension:...` URIs are the repository-governed, versioned permanent identifiers for this repository family.
|
|
94
|
+
- `docs/extension-specifications.md` is the repository-managed specification index for those URIs, but it is not itself the extension URI namespace.
|
|
95
|
+
- The current contract strategy does not assume a later migration to dereferenceable HTTPS extension URIs as the default next step.
|
|
96
|
+
- Any future namespace change would require an explicit compatibility and governance decision, and it should replace the old canonical identifiers for the new compatibility line rather than creating an indefinite dual-identity runtime contract.
|
|
97
|
+
|
|
98
|
+
## Follow-On Phases
|
|
99
|
+
|
|
100
|
+
Phase 2 will unify request-level negotiation, disclosure layering, and runtime behavior around the authenticated extension declaration model.
|
|
101
|
+
|
|
102
|
+
Canonical URI and spec-hosting strategy remain a separate follow-up track after declaration-path convergence.
|
|
@@ -62,7 +62,7 @@ The service keeps a shared session continuation contract around `metadata.shared
|
|
|
62
62
|
When Codex asks for permission or answers, the service exposes:
|
|
63
63
|
|
|
64
64
|
- shared asked/resolved lifecycle metadata in stream status events
|
|
65
|
-
- callback methods through
|
|
65
|
+
- callback methods through the provider-private JSON-RPC control surface
|
|
66
66
|
- lifecycle and type validation before forwarding callback replies
|
|
67
67
|
|
|
68
68
|
## Boundary Model
|
|
@@ -5,13 +5,13 @@ This document explains the compatibility promises this repository currently trie
|
|
|
5
5
|
## Runtime Support
|
|
6
6
|
|
|
7
7
|
- Python versions: 3.11, 3.12, 3.13
|
|
8
|
-
- A2A SDK line: `0.
|
|
9
|
-
- A2A protocol version advertised by default: `
|
|
10
|
-
- Normalized protocol compatibility lines declared today: `
|
|
8
|
+
- A2A SDK line: `1.0.x`
|
|
9
|
+
- A2A protocol version advertised by default: `1.0`
|
|
10
|
+
- Normalized protocol compatibility lines declared today: `1.0`
|
|
11
11
|
|
|
12
12
|
The repository pins the SDK version in `pyproject.toml` and validates the published CLI build in CI. Upgrade the SDK deliberately rather than relying on floating dependency resolution.
|
|
13
13
|
|
|
14
|
-
The
|
|
14
|
+
The OpenAPI-published compatibility profile and wire contract publish `default_protocol_version`, `supported_protocol_versions`, and `protocol_compatibility`. Request-time `A2A-Version` negotiation now targets the repository's `1.0` baseline only, and the published contracts should describe the implemented `1.0` transport surface rather than any legacy compatibility line.
|
|
15
15
|
|
|
16
16
|
## Contract Honesty
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ Machine-readable discovery surfaces must reflect actual runtime behavior:
|
|
|
19
19
|
|
|
20
20
|
- public Agent Card
|
|
21
21
|
- authenticated extended card
|
|
22
|
-
- OpenAPI metadata
|
|
22
|
+
- OpenAPI metadata, including anonymous `x-a2a-extension-contracts`
|
|
23
23
|
- JSON-RPC wire contract
|
|
24
24
|
- compatibility profile
|
|
25
25
|
|
|
@@ -28,7 +28,10 @@ If runtime support is not implemented, do not expose it as a supported machine-r
|
|
|
28
28
|
Open-source consumption guidance:
|
|
29
29
|
|
|
30
30
|
- Treat the core A2A send / stream / task methods as the portable baseline.
|
|
31
|
-
- Treat
|
|
31
|
+
- Treat the Agent Card `supported_interfaces[].url` value as the shared service discovery root. For `HTTP+JSON`, this repository uses that URL as the REST base root rather than as a concrete method path.
|
|
32
|
+
- Treat `POST /` as the shared JSON-RPC surface for both core A2A methods and provider-private extension methods.
|
|
33
|
+
- Treat `urn:codex-a2a:extension:...` entries in this repository as repository-governed extension identifiers, not as claims that they are part of the A2A core baseline.
|
|
34
|
+
- Treat `a2a.interrupt.*` reply methods as a shared callback contract on `POST /`, declared on public and authenticated discovery surfaces but not activated through `A2A-Extensions`.
|
|
32
35
|
- Treat `codex.*` methods plus `metadata.codex.directory` and `metadata.codex.execution` as a Codex-specific control plane layered on top of the portable A2A surface.
|
|
33
36
|
- Treat [extension-specifications.md](./extension-specifications.md) as the stable URI/spec index, not as the main usage guide.
|
|
34
37
|
|
|
@@ -54,7 +57,7 @@ This repository still ships as an alpha project. Within that alpha line, these d
|
|
|
54
57
|
|
|
55
58
|
Changes to those surfaces should be treated as compatibility-sensitive and should include corresponding test updates.
|
|
56
59
|
|
|
57
|
-
Service-level behavior layered on top of those core methods should also be declared explicitly when this repository depends on it for interoperability. Current example: terminal `
|
|
60
|
+
Service-level behavior layered on top of those core methods should also be declared explicitly when this repository depends on it for interoperability. Current example: terminal `SubscribeToTask` replay-once behavior is published as a service-level contract, not as a claim about generic A2A runtime semantics.
|
|
58
61
|
|
|
59
62
|
Task-store resilience is also service-level behavior in this deployment:
|
|
60
63
|
|
|
@@ -80,6 +83,8 @@ The current service profile is intentionally:
|
|
|
80
83
|
|
|
81
84
|
One deployed instance should be treated as a single-tenant trust boundary, not as a secure multi-tenant runtime boundary.
|
|
82
85
|
|
|
86
|
+
The supported HTTP+JSON contract is rooted at `/v1/...` only. Tenant-prefixed REST aliases such as `/{tenant}/v1/...` are intentionally not part of the supported surface for this single-tenant deployment profile.
|
|
87
|
+
|
|
83
88
|
The compatibility surface distinguishes between:
|
|
84
89
|
|
|
85
90
|
- a stable deployment profile
|
|
@@ -90,19 +95,19 @@ Execution-environment boundary fields are also published through the runtime pro
|
|
|
90
95
|
## Extension Stability
|
|
91
96
|
|
|
92
97
|
- Shared metadata and extension contracts should stay synchronized across Agent Card, OpenAPI, and runtime behavior.
|
|
93
|
-
- Public Agent Card should stay intentionally minimal.
|
|
98
|
+
- Public Agent Card should stay intentionally minimal. Negotiated shared extension params and the shared interrupt callback contract belong in public `capabilities.extensions`; provider-private and machine-readable extension contracts belong in authenticated extended card `capabilities.extensions`, with skill decomposition remaining additive discovery guidance.
|
|
99
|
+
- Only shared request/response extensions currently participate in request-level `A2A-Extensions` negotiation. Provider-private extension URIs declared on the authenticated extended card are declaration-only unless explicitly documented otherwise; clients discover them there and then invoke their documented methods directly.
|
|
94
100
|
- Product-specific extensions should remain stable within the current major line unless explicitly documented otherwise.
|
|
95
101
|
- Deployment-conditional methods must be declared as conditional rather than silently disappearing.
|
|
96
|
-
-
|
|
97
|
-
- Rich input mapping is compatibility-sensitive across both `codex.sessions.prompt_async` and the core A2A message surface. Changes to supported part types, FilePart image handling, or DataPart mention/skill mapping should be treated as wire-level behavior changes.
|
|
102
|
+
- Rich input mapping is compatibility-sensitive across the core A2A message surface and `codex.turns.steer`. Changes to supported part types, `Part(url|raw)` image handling, or `Part(data)` mention/skill mapping should be treated as wire-level behavior changes.
|
|
98
103
|
- `codex.exec.*` is compatibility-sensitive as the standalone interactive exec contract. Changes to handle shapes, task-stream delivery, or lifecycle method names should be treated as wire-level changes.
|
|
99
104
|
- `codex.discovery.*` is compatibility-sensitive as the stable discovery contract for `skill.path` and `mention_path` identifiers. Changes to normalized item fields, plugin marketplace mapping, or discovery watch task payload kinds should be treated as wire-level changes.
|
|
100
105
|
- `codex.threads.*` is compatibility-sensitive as the provider-private thread lifecycle contract. Changes to lifecycle method names, watch payload kinds, or watch-task bridge event names should be treated as wire-level changes.
|
|
101
106
|
- `codex.turns.*` is compatibility-sensitive as the active-turn control contract. Changes to `expected_turn_id` semantics, same-turn rich-input handling, or rejected override fields should be treated as wire-level changes.
|
|
102
107
|
- `codex.review.*` is compatibility-sensitive as the review control and watch contract. Changes to supported target types, `delivery` semantics, review watch payload kinds, or review watch event names should be treated as wire-level changes.
|
|
103
|
-
- Provider-private Agent Card skill decomposition is also compatibility-sensitive. Renaming or re-merging `codex.sessions.query
|
|
108
|
+
- Provider-private Agent Card skill decomposition is also compatibility-sensitive. Renaming or re-merging `codex.sessions.query`, `codex.discovery.query/watch`, `codex.threads.control/watch`, `codex.turns.control`, `codex.review.control`, `codex.exec.control/stream`, or narrowing `codex.interrupt.callback` output modes should be treated as discoverability contract changes.
|
|
104
109
|
- Agent Card media modes and `acceptedOutputModes` handling are compatibility-sensitive. Changes to declared default modes, to task-scoped persistence of negotiated modes, or to structured-output downgrade behavior should be treated as wire-level changes.
|
|
105
|
-
- For core chat tasks, negotiated output modes are lifecycle-scoped. `
|
|
110
|
+
- For core chat tasks, negotiated output modes are lifecycle-scoped. `SendMessage`, `SendStreamingMessage`, `GetTask`, `SubscribeToTask`, and push notifications should not drift apart for the same task.
|
|
106
111
|
- For core chat requests, explicit `acceptedOutputModes` are also a compatibility-sensitive fail-fast boundary: requests must remain compatible with declared chat output modes, and current chat turns require `text/plain`.
|
|
107
112
|
|
|
108
113
|
## Extension Boundary Governance
|
|
@@ -128,8 +133,8 @@ Current repository judgment under those rules:
|
|
|
128
133
|
- `codex.interrupts.list` is acceptable as an adapter-local recovery surface because it only exposes active pending interrupt handles already known to this adapter and does not mutate upstream state.
|
|
129
134
|
- `codex.turns.steer` is boundary-sensitive and should remain narrowly scoped, provider-private, and resistant to scope creep into a general orchestration API.
|
|
130
135
|
- `codex.review.*` is also boundary-sensitive and should stay framed as a provider-private reviewer surface rather than a generic A2A review standard.
|
|
131
|
-
- `codex.
|
|
132
|
-
- Current default posture keeps `codex.
|
|
136
|
+
- `codex.exec.*` sits closest to the adapter boundary because it exposes standalone interactive command execution semantics instead of a stable session/message projection. It should stay deployment-conditional and provider-private rather than being treated as a generic extension template.
|
|
137
|
+
- Current default posture keeps `codex.review.*` and `codex.exec.*` disabled unless a deployment intentionally opts into them. `codex.turns.steer` is enabled by default but remains narrowly scoped, provider-private, and deployment-configurable.
|
|
133
138
|
- Inbound auth is intentionally static and deployment-scoped. The current contract requires a static multi-credential registry with stable principals; it does not claim OAuth2, OIDC, or dynamic token introspection.
|
|
134
139
|
- Stable principal mapping is part of the runtime compatibility surface because session ownership, thread watch ownership, and exec ownership all key off the authenticated principal rather than a rotating token hash.
|
|
135
140
|
|
|
@@ -140,11 +145,12 @@ This repository distinguishes between three layers:
|
|
|
140
145
|
- core A2A surface
|
|
141
146
|
- standard send / stream / task methods
|
|
142
147
|
- shared extensions
|
|
143
|
-
- repo-family conventions such as session binding
|
|
144
|
-
-
|
|
148
|
+
- repo-family conventions such as session binding and stream hints
|
|
149
|
+
- provider-private control contracts
|
|
150
|
+
- `a2a.interrupt.*` reply methods on `POST /`
|
|
145
151
|
- `codex.*` JSON-RPC methods plus `metadata.codex.directory` and `metadata.codex.execution`
|
|
146
152
|
- this now includes:
|
|
147
|
-
- session query
|
|
153
|
+
- session query
|
|
148
154
|
- discovery/query surfaces
|
|
149
155
|
- discovery watch task bridge
|
|
150
156
|
- thread lifecycle watch-task bridge
|
|
@@ -162,14 +168,15 @@ Discovery note:
|
|
|
162
168
|
- `codex.turns.steer` is the declared active-turn control method for appending additional input to an already-running regular turn.
|
|
163
169
|
- `codex.review.start` is the declared review-start control method for `uncommittedChanges`, `baseBranch`, `commit`, and `custom` review targets.
|
|
164
170
|
- `codex.review.watch` is the declared review lifecycle watch-task bridge for `review.started`, `review.status.changed`, `review.completed`, and `review.failed`.
|
|
165
|
-
- `codex.review.start` remains a control-handle surface; clients should use `codex.review.watch` plus `
|
|
166
|
-
- `codex.interrupts.list` is always-on but adapter-local and identity-scoped. `codex.
|
|
171
|
+
- `codex.review.start` remains a control-handle surface; clients should use `codex.review.watch` plus `SubscribeToTask` for review lifecycle observation.
|
|
172
|
+
- `codex.interrupts.list` is always-on but adapter-local and identity-scoped. `codex.turns.steer`, `codex.review.*`, and `codex.exec.*` remain deployment-conditional surfaces and should be discovered from machine-readable contracts before use.
|
|
173
|
+
- `a2a.interrupt.*` reply methods remain shared callback contracts. Minimal metadata is declared on public discovery surfaces and mirrored in OpenAPI, while detailed method contracts stay on authenticated discovery surfaces. These methods are used directly rather than through `A2A-Extensions` activation.
|
|
167
174
|
- `thread/unsubscribe` is intentionally excluded from the stable public contract until this service exposes connection-safe subscription ownership.
|
|
168
175
|
- This repository does not claim a generic standalone server-push JSON-RPC transport for those notifications; the compatibility contract is the watch-task bridge published through Agent Card and OpenAPI.
|
|
169
176
|
|
|
170
177
|
Important note:
|
|
171
178
|
|
|
172
|
-
- `urn:a2a
|
|
179
|
+
- `urn:codex-a2a:extension:...` extension URIs used here are repository-governed, versioned permanent identifiers.
|
|
173
180
|
- They are not a claim that those extensions are part of the A2A core baseline.
|
|
174
181
|
- `codex.*` methods are intentionally product-specific. They improve Codex-aware workflows but should not be assumed to transfer unchanged to unrelated A2A agents.
|
|
175
182
|
- The public Agent Card is intentionally smaller than the authenticated extended card; that size difference is part of the current discovery contract rather than a documentation accident.
|
|
@@ -4,18 +4,18 @@ This document is the standing triage template for local `./scripts/conformance.s
|
|
|
4
4
|
|
|
5
5
|
## Standards Used For Triage
|
|
6
6
|
|
|
7
|
-
- `a2a-sdk==0.
|
|
8
|
-
- The default A2A protocol version advertised by this repository: `0.
|
|
7
|
+
- `a2a-sdk==1.0.2` as installed in this repository.
|
|
8
|
+
- The default A2A protocol version advertised by this repository: `1.0.0`.
|
|
9
9
|
- Repository compatibility policy:
|
|
10
10
|
- machine-readable Agent Card and OpenAPI contracts must reflect implemented runtime behavior;
|
|
11
11
|
- external TCK results are investigation input rather than default merge gates;
|
|
12
|
-
- unsupported
|
|
12
|
+
- unsupported behavior should be tracked as implementation work, not silently declared as supported.
|
|
13
13
|
|
|
14
14
|
## Classification Labels
|
|
15
15
|
|
|
16
16
|
- `Runtime issue`: the failure reproduces against the repository's declared runtime behavior and should be fixed here.
|
|
17
|
-
- `TCK mismatch`: the failure appears to conflict with the installed SDK line or this repository's declared
|
|
18
|
-
- `
|
|
17
|
+
- `TCK mismatch`: the failure appears to conflict with the installed SDK line or this repository's declared `1.0` baseline.
|
|
18
|
+
- `Protocol gap`: the failure identifies work needed to complete the repository's declared `1.0` surface.
|
|
19
19
|
- `Local experiment artifact`: the failure comes from the dummy-backed SUT, local auth, local URLs, timing, or other experiment setup details.
|
|
20
20
|
- `Needs repro`: the failure needs a focused local probe before assigning ownership.
|
|
21
21
|
|
|
@@ -25,7 +25,7 @@ For each failed or errored node ID:
|
|
|
25
25
|
|
|
26
26
|
1. Copy the node ID from `failed-tests.json`.
|
|
27
27
|
2. Inspect the corresponding raw details in `pytest-report.json` and `tck.log`.
|
|
28
|
-
3. Compare the expectation with `docs/compatibility.md`, authenticated
|
|
28
|
+
3. Compare the expectation with `docs/compatibility.md`, authenticated extended card skills/examples, and OpenAPI `x-a2a-extension-contracts`.
|
|
29
29
|
4. Assign one classification label.
|
|
30
30
|
5. Record whether the next action belongs in this repository, the TCK, or a future protocol compatibility issue.
|
|
31
31
|
|
|
@@ -44,6 +44,6 @@ Keep the summary short and separate:
|
|
|
44
44
|
|
|
45
45
|
- Count clean runtime issues.
|
|
46
46
|
- Count TCK mismatches.
|
|
47
|
-
- Count
|
|
47
|
+
- Count protocol gaps.
|
|
48
48
|
- Count local experiment artifacts.
|
|
49
49
|
- List follow-up issue numbers when created.
|
|
@@ -4,7 +4,7 @@ This repository keeps internal regression and external interoperability experime
|
|
|
4
4
|
|
|
5
5
|
## Scope
|
|
6
6
|
|
|
7
|
-
- `./scripts/
|
|
7
|
+
- `./scripts/validate_baseline.sh` remains the default internal regression entrypoint.
|
|
8
8
|
- `./scripts/conformance.sh` is a local/manual experiment entrypoint for official external tooling.
|
|
9
9
|
- External conformance output is investigation input, not an automatic merge gate.
|
|
10
10
|
|
|
@@ -68,11 +68,11 @@ Each run keeps the following artifacts in the selected output directory:
|
|
|
68
68
|
When a TCK run fails, inspect the raw report before changing the runtime:
|
|
69
69
|
|
|
70
70
|
- Some failures may point to real runtime gaps.
|
|
71
|
-
- Some failures may come from TCK assumptions that do not match `a2a-sdk==0.
|
|
72
|
-
- Some failures may come from A2A
|
|
71
|
+
- Some failures may come from TCK assumptions that do not match `a2a-sdk==1.0.2`.
|
|
72
|
+
- Some failures may come from older A2A naming or schema expectations that no longer match the repository's `1.0` contract.
|
|
73
73
|
- Some failures may be local experiment artifacts from the dummy-backed runtime.
|
|
74
74
|
|
|
75
75
|
The experiment is useful only if those categories stay separate during triage.
|
|
76
|
-
Use the authenticated compatibility profile and wire contract `protocol_compatibility` fields as the repository-owned declaration of which protocol lines are supported today
|
|
76
|
+
Use the authenticated compatibility profile and wire contract `protocol_compatibility` fields as the repository-owned declaration of which protocol lines are supported today.
|
|
77
77
|
|
|
78
78
|
Record first-pass classifications in [conformance-triage.md](./conformance-triage.md).
|