orchestrata_kernel.cxp

Reference › components › kernel › orchestrata_kernel › cxp

Cross-agent eXchange Protocol (CXP) Implementation.

The implementation of the Cross-agent eXchange Protocol (CXP) in orchestrata_kernel, 53 modules. The contracts it implements are in contracts cxp and contracts packet. By role: encoding and validation (c_x_p_encoder, c_x_p_serializer, binary_serializer, j_s_o_n_serializer, c_x_p_packet_codec, c_x_p_validator, schema_registry, header_manager, payload_manager, priority_manager, protocol_version, version_checker); routing and dispatch (c_x_p_router, c_x_p_dispatcher, reply_router, postman_adapter, session_adapter, prolog_bridge); servers and clients over gRPC (c_x_p_servicer, 460 lines, with the proto classes), WebSocket (w_s_server, w_s_client, c_x_p_web_socket_handler) and direct in-process links (direct_c_x_p_server, direct_c_x_p_client, async_direct_client); and tracking (delivery_tracker, thread_manager, thread_store, work_tracker). deterministic_ids creates packet ids with UUID v5. See the cxp narrative.

53 modules, 8,517 lines of code.

Subpackages

Package Modules LOC
proto 2 103

Modules

Module Summary LOC Lifted from
__init__ Cross-agent eXchange Protocol (CXP) Implementation. 284 lifted from orchestrata_ultimate.cxp
__queue_entry 28
__stream_cancelled 12
async_direct_client 228
binary_serializer 227 lifted from orchestrata_ultimate.cxp.binary_serializer
c_x_p_client_config 19
c_x_p_client_like 35
c_x_p_config_error 9
c_x_p_dispatcher 243
c_x_p_encoder 72
c_x_p_handler 70
c_x_p_packet_codec 133
c_x_p_router 234
c_x_p_serializer 73
c_x_p_server_config 16
c_x_p_server_like 23
c_x_p_servicer 460
c_x_p_stats 15
c_x_p_validator 234
c_x_p_web_socket_handler 160
compatibility_result 20
constants CXP Protocol Constants. 84 lifted from orchestrata_ultimate.cxp.constants
delivery_tracker 213
deterministic_ids Deterministic CXP packet ID generation using UUID v5. 61 lifted from orchestrata_ultimate.cxp.deterministic_ids
direct_c_x_p_client 304
direct_c_x_p_server 295
direct_server 197
endpoint_config Residue-only lift of frozen cxp.endpoint_config (ADR-0103 P2-F). 115 lifted from orchestrata_ultimate.cxp.endpoint_config
header_manager 480
j_s_o_n_serializer 251
payload_manager 498
postman_adapter 313 lifted from orchestrata_ultimate.cxp.postman_adapter
priority_manager 160
prolog_bridge 669 lifted from orchestrata_ultimate.cxp.prolog_bridge
protocol_version 132
reply_router 299 lifted from orchestrata_ultimate.cxp.reply_router
rpc_error 14
schema_registry 325
servicer Residue-only lift of frozen cxp.servicer (ADR-0103 P2-F). 53 lifted from orchestrata_ultimate.cxp.servicer
session_adapter 200 lifted from orchestrata_ultimate.cxp.session_adapter
thread_manager 300
thread_store 92 lifted from orchestrata_ultimate.cxp.thread_store
transport Residue-only lift of frozen cxp.transport (ADR-0103 P2-F). 92 lifted from orchestrata_ultimate.cxp.transport
types 28 lifted from orchestrata_ultimate.cxp.types
validation_rule 20
version_checker 90
w_s_client 199
w_s_client_config 22
w_s_server 75
w_s_server_config 16
work_tracker 222

Dependency diagram

Package dependency diagram orchestrata_kernel.cxp

Truncated: showing 40 of 52 modules/subpackages (most connected first) and 6 of 6 outside packages.