Commit Graph

16 Commits

Author SHA1 Message Date
d0dbac109d
feat: Invoke marker と LlmCall callback を導入し AgentTurn セマンティクスを明確化
- protocol: InvokeKind enum、Event::InvokeStart / LlmCallStart / LlmCallEnd 追加
- llm-worker: Worker.llm_call_count と on_llm_call_start/end callback、turn_count を AgentTurn 数として doc 更新
- session-store: LogEntry::Invoke { ts, trigger } 追加 (replay は marker のみで state 不変)
- pod: run/run_for_notification 開始時に Invoke marker commit、PendingRun::RunForNotification(InvokeKind) で kind を伝搬
- pod ipc: sink + server で Invoke エントリーを Event::InvokeStart として broadcast
- tui: 新 Event 3種を no-op で受理 (UI 設計はチケット範囲外)
2026-05-15 07:04:26 +09:00
eae0efb2c0
update: fmt + memoryに用いる言語の構成 2026-05-13 01:57:04 +09:00
7bbc9afc7a
feat: パターンベースのツール権限制御を追加 2026-05-09 03:20:02 +09:00
9fd61e8068
feat: Reasoningのコンテキスト管理の対応 2026-05-04 21:31:44 +09:00
c48b99cfe3
feat: Pos処理の非同期化・Busy状態の削除 2026-05-04 15:52:27 +09:00
7183847ee5
feat(llm-worker): HTTP transient エラーへのリトライを追加
`transport.rs` の HTTP 送信〜ステータスチェック区間に指数バックオフ
+ フルジッターのリトライループを追加する。SSE 読み出し開始後 (
`bytes_stream()` 以降) のエラーは従来どおりそのまま流す。

- `is_retryable(&ClientError)`: 408/425/429/500/502/503/504/529 と
  reqwest の connect/timeout のみ true
- `RetryPolicy` (default: base 500ms / cap 10s / max_attempts 4 /
  total_timeout 30s)
- `Retry-After` ヘッダ (秒数) があればバックオフを上書き
- リトライ発火ごとに warn! でステータス・attempt・wait を出す

ref: tickets/llm-worker-transient-retry.md
2026-05-04 12:45:33 +09:00
b8d5398520 TUIに向けたprotocolの詳細調整 2026-04-21 20:50:59 +09:00
b1e4572823 llm-model-configの実装 2026-04-19 23:32:14 +09:00
9eef8117c8 cargo fmt 2026-04-14 03:13:36 +09:00
48e62f65df compactの実装 2026-04-12 07:09:48 +09:00
0c9551eef0 Tool Outputの仕様簡素化 2026-04-12 05:19:00 +09:00
982e0d2dbb Workerのリファクタリング 2026-04-11 19:47:34 +09:00
e1cf8fad0f Workerの自動キャッシュロック 2026-04-11 18:47:33 +09:00
748e858ec5 HookのPod側への移動・Interceptorの実装 2026-04-11 17:19:20 +09:00
88aa2cf953 llm-workerのAPI改善 2026-04-11 14:11:40 +09:00
490ed0ca7c cargo init 2026-04-04 03:30:49 +09:00