yoi/crates/protocol
2026-05-23 07:15:03 +09:00
..
src feat: show context usage in tui status 2026-05-23 07:15:03 +09:00
Cargo.toml chore: 依存パッケージの集約 2026-05-01 23:35:46 +09:00
README.md Add README to all crates 2026-04-11 03:07:56 +09:00

protocol

クライアントとPod間の通信プロトコルを定義するクレート。Unix ソケット上で JSON Lines として送受信されるメッセージ型を提供する。

公開型

  • Method — クライアント→Pod のコマンド(Run, Resume, Cancel
  • Event — Pod→クライアント のイベント(TurnStart, TextDelta, ToolCallStart, Usage, Error など)
  • TurnResult — ターン完了状態(Finished, Paused
  • ErrorCode — エラー分類(AlreadyRunning, ProviderError, ToolError など)