Skip to main content

Crate ix_daemon

Crate ix_daemon 

Source
Expand description

ix-daemon: Global per-user daemon for Ixchel.

Provides IPC, sync queueing, and single-writer enforcement across repos and tools.

§Protocol

All messages are UTF-8 JSON lines over Unix socket (~/.ixchel/run/ixcheld.sock). See specs/design.md for the full protocol specification.

Structs§

Client
EnqueueSyncPayload
EnqueueSyncResponse
ErrorInfo
PingResponse
QueueInfo
QueueKey
Request
Request envelope sent from CLI to daemon.
Response
Response envelope sent from daemon to CLI.
Server
ShutdownPayload
ShutdownResponse
StatusPayload
StatusResponse
SyncJob
SyncQueue
SyncStats
WaitSyncPayload
WaitSyncResponse

Enums§

Command
Commands supported by the daemon.
DaemonError
ErrorCode
Error codes for protocol responses.
ResponsePayload
Response payloads for each command.
ResponseResult
SyncState

Constants§

DEFAULT_IDLE_TIMEOUT_MS
Default idle timeout before daemon shuts down (milliseconds).
DEFAULT_SOCKET_PATH
Default socket path (Unix).
PROTOCOL_VERSION
Protocol version. Increment on breaking changes.