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
- Enqueue
Sync Payload - Enqueue
Sync Response - Error
Info - Ping
Response - Queue
Info - Queue
Key - Request
- Request envelope sent from CLI to daemon.
- Response
- Response envelope sent from daemon to CLI.
- Server
- Shutdown
Payload - Shutdown
Response - Status
Payload - Status
Response - SyncJob
- Sync
Queue - Sync
Stats - Wait
Sync Payload - Wait
Sync Response
Enums§
- Command
- Commands supported by the daemon.
- Daemon
Error - Error
Code - Error codes for protocol responses.
- Response
Payload - Response payloads for each command.
- Response
Result - Sync
State
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.