Skip to main content

Crate kodegend_client_ipc

Crate kodegend_client_ipc 

Source
Expand description

Cross-platform IPC client for kodegend daemon

This library provides a high-level API for querying the kodegend daemon via IPC (Unix sockets on Unix platforms, Named Pipes on Windows).

Structs§

AggregatedToolHistory
Aggregated tool history from all backend servers for a specific connection
AggregatedUsageStats
Aggregated usage statistics from all backend servers
GlobalAggregates
Global aggregated statistics across all servers
ServerStats
Usage statistics from a single backend server
ServerToolHistory
Tool history from a single backend server
ServiceStatus
Per-service status information
StatusResponse
Status query response (sent by manager)
ToolCallRecord
Single tool call record (matches kodegen_mcp_schema::ToolCallRecord)
UsageStatsSnapshot
Snapshot of UsageStats from a backend server CRITICAL: Fields must match UsageStats in kodegen-tools-introspection/src/usage_tracker.rs

Enums§

IpcError
ServiceStateKind
StatusQuery
Status query request (sent by CLI)

Functions§

get_all_services
Get all service statuses
get_service
Get specific service status
get_tool_history
Get aggregated tool history from all backend servers for a specific connection
get_usage_stats
Get aggregated usage statistics from all backend servers for a specific connection
is_daemon_running
Check if daemon is running
query_daemon
Query kodegend daemon with a status query