docs: add ceeker architecture/design proposal#7336
Conversation
|
|
||
| ```toml | ||
| [hooks] | ||
| notify = "curl -s -X POST http://127.0.0.1:9820/hook/notification -H 'Content-Type: application/json' -d '{\"type\": \"notification\", \"message\": \"$MESSAGE\"}'" |
There was a problem hiding this comment.
どちらかといえばcodexの方が使う機会が多いので、codexはファーストスコープから入れて欲しい
|
|
||
| ### 1.1 課題 | ||
|
|
||
| 現在のopenclaw運用環境では、複数のAIコーディングエージェント(Claude Code / Codex)が並行して動作する。各エージェントはgwq worktree上で独立したtmuxセッションとして起動されるが、以下の課題がある: |
There was a problem hiding this comment.
openclaw環境での利用は想定しておらず、私のラップトップでの環境(ghq+gwq worktree+tmux)を想定しています
|
|
||
| Claude Code / Codex からのhookイベントを受信するHTTPサーバー。 | ||
|
|
||
| - **リッスンアドレス**: `127.0.0.1:<port>`(localhost限定) |
There was a problem hiding this comment.
cmuxのようにブラウザベースの実装は存在しないので、http serverで受けずにhookからコマンド呼び出しさせて受ければ良くないですか?
- Target environment: laptop (ghq+gwq+tmux) instead of openclaw - Codex integration: included in MVP scope (Phase 1) instead of deferred - Hook architecture: CLI subcommand + Unix Domain Socket instead of HTTP server - Project structure: add AGENTS.md as CLAUDE.md symlink for Codex support Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Review feedback addressed in 18ecfd6. Changes: Codex in MVP scope, laptop env instead of openclaw, UDS+CLI instead of HTTP server, AGENTS.md symlink added. |
| - `ceeker hook notification` — 通知(進捗、質問、エラー等) | ||
| - `ceeker hook stop` — セッション終了通知 | ||
| - **IPC**: Unix Domain Socket(`$XDG_RUNTIME_DIR/ceeker.sock` or `/tmp/ceeker-<uid>.sock`) | ||
| - **フロー**: hook → `ceeker hook <event>` CLI → UDS送信 → TUIプロセスが受信・State Store更新 |
There was a problem hiding this comment.
これだとTUIが複数起動していたり起動していない状態だと破綻するので ceeker hook <event> 時に ceeker hook <event> 自身がstate storeを更新し、tuiはあくまでstate storeを見るだけにしませんか
Addresses review comment about TUI scenarios. TUI becomes read-only. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Review feedback addressed in b7b31d2. Hook CLI now directly updates persistent State Store. TUI is read-only client. UDS IPC removed. |
ceeker design document for Linux/WSL AI coding agent session monitoring TUI. Based on cmux investigation. Codex review passed.