Commit Graph

53 Commits

Author SHA1 Message Date
8d6b47bef1 feat: queue tui input during runs 2026-05-23 13:57:22 +09:00
70c0548190 feat: restore rolled back tui input 2026-05-23 13:28:56 +09:00
23e218abaa chore: handle rolled back run result clients 2026-05-23 12:51:40 +09:00
e6fa660a5f feat: add visible pod discovery tools 2026-05-23 12:04:45 +09:00
4b263f8743 feat: show context usage in tui status 2026-05-23 07:15:03 +09:00
f03e84a62a refactor: remove legacy plural log entries 2026-05-23 02:03:42 +09:00
08dc6b29f8 style: run cargo fmt 2026-05-22 22:03:27 +09:00
e8c16be475 feat: Session(Segment 群の grouping)を導入
- SessionId 型を新設、各 SegmentStart に session_id を持たせる
- compaction / 内部 fork は同 SessionId を継承、fork() は新 Session を発行
- Store API を (SessionId, SegmentId) ベースに、FsStore layout は
  <root>/<session_id>/<segment_id>.jsonl に
- Store::list_sessions / list_segments(session_id) / lookup_session_of を追加
- restore_by_segment shim を session-store に提供(pod-cli --session で使用)
- SegmentState に SegmentLocation (session_id, segment_id) を保持し ArcSwap で更新
- RestoredState に session_id: Option<SessionId> を追加
- Picker は Session 単位に列挙、leaf segment を解決して resume
2026-05-20 06:17:56 +09:00
d5fcbc2125 update: SessionId / SessionStart / SessionOrigin 等を Segment 系名称へ
- Type/Function/Variantを Segment* 系へ統一
  - SessionId/SessionStart/SessionOrigin/SessionStartState/SessionState/SessionLogSink/SessionLockInfo
  - new_session_id / session_id / create_session* / list_sessions / lookup_session / update_session / find_by_session
  - protocol Event::SessionRotated → SegmentRotated、CompactDone.new_session_id → new_segment_id
- Module: session_log → segment_log / session → segment (file mv 含む)
  pod 側の session_log_sink → segment_log_sink も同様
- crate 名 (session-store)、CLI flag (--session)、ResumeWithSession (CLI tied) は据え置き
- session-tests/session_metrics_test 等の Store impl も追従
2026-05-20 05:06:04 +09:00
49b78612d6 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
3143353ddc update: エントリの単数化のフォローアップ 2026-05-14 19:42:23 +09:00
904ea6e326 update: SystemItem1本化 2026-05-14 14:36:29 +09:00
a02f34437c fix: 実態にそぐわないEvent::Entryを実装した構造を訂正 2026-05-14 03:35:52 +09:00
1ef094f039 refactor: Podのメインループのリファクタリング 2026-05-14 03:27:49 +09:00
8ebdd47fbb feat: compactのプログレス表示 2026-05-09 03:11:53 +09:00
17a7744da1 feat: TUI上に進行中のTaskを表示する実装 2026-05-04 17:06:02 +09:00
3266ddb2d4 feat: Pos処理の非同期化・Busy状態の削除 2026-05-04 15:52:27 +09:00
4eb73fa552 feat: Podのステータスを厳密にし、同期漏れを防ぐ 2026-05-04 12:55:11 +09:00
20097e8296 Merge branch 'tui-system-message-render' into develop 2026-05-04 12:10:17 +09:00
8870af800f feat: システムメッセージをTUIで表示させる 2026-05-04 12:04:09 +09:00
5efe0e4910 feat: tuiのトークン集計表示の修正 2026-05-04 00:01:37 +09:00
5fbb9c47dd update: tuiからspawnする際にエラー詳細が落ちていた問題を修正 2026-05-03 21:47:54 +09:00
cae18a4339 feat: TUIに他Podからの通知を表示する 2026-05-03 12:45:05 +09:00
97a1c10ef7 update: tuiの文字入力のCtrlブロックを追加 2026-05-03 00:44:38 +09:00
a05d7533b0 TUI補完の細かい挙動修正 2026-04-30 14:38:03 +09:00
621acbe224 tuiの補完の実装 2026-04-30 12:46:48 +09:00
2c9db5a27b cargo fmt 2026-04-29 23:20:25 +09:00
de6b8faf55 session-log-segments実装 2026-04-29 22:42:10 +09:00
99d6a4cf4b tuiの単語単位Backspace 2026-04-29 21:31:19 +09:00
9782323885 tuiの単語境界カーソル移動実装 2026-04-29 21:23:29 +09:00
04ad20e760 tui-thinking-display修正 2026-04-28 16:22:45 +09:00
fc2c6bc81c TUIにThinkingを表示する実装 2026-04-28 16:10:48 +09:00
cabf9c967c cargo fmt 2026-04-27 22:51:07 +09:00
2722e0b7ba submitをvec segmentを受け付ける形に変更 2026-04-27 11:03:58 +09:00
e44d49e80f Method::NotifyとEvent::Notificationが紛らわしい問題 2026-04-26 23:25:50 +09:00
7ce77f0ad5 TUIのEditツール周りの表示とカラー 2026-04-22 01:17:58 +09:00
3717569533 複数クライアント間でのRunメソッドの同期漏れ 2026-04-21 23:59:49 +09:00
84fedd8048 TUIのオーバーホール実装 2026-04-21 23:12:35 +09:00
d4055fb19d TUIに向けたprotocolの詳細調整 2026-04-21 20:50:59 +09:00
b7b315cd39 protocol拡張の実装 2026-04-21 09:27:58 +09:00
223d06c77e TUIからPauseする実装 2026-04-19 14:27:53 +09:00
aa138e6583 プロトコル経由のshutdow経路 2026-04-16 13:49:53 +09:00
faa8eb5793 warn/errorのTUIへの通知ルート 2026-04-15 12:58:31 +09:00
0c29de1b10 greetingカードの作成 2026-04-15 10:35:15 +09:00
a0a9df11c0 cargo fmt 2026-04-14 03:13:36 +09:00
8b120504a7 TUIをinline viewportに変更 2026-04-12 07:32:06 +09:00
47c59a416e TUIのratatuiを0.30.0にした 2026-04-12 06:57:07 +09:00
c0d283b47d TUI上のターンカウンタ・ターン統計の実装 2026-04-12 05:41:22 +09:00
0e7a7b02fe Pod切断時にTUIがハングする問題 2026-04-12 04:22:26 +09:00
b19eb52511 history取得:TUI側の実装 2026-04-12 03:44:45 +09:00