Files
owlen/agents.md

2.3 KiB
Raw Blame History

Agents Upgrade Plan

  • feat: add first-class prompt, agent, and sub-agent configuration via .owlen/agents plus reusable prompt libraries, mirroring Codex custom prompts and Claudes configurable agents — shipped (AgentRegistry loaders, :agent list/use/reload, prompt/ sub-agent TOML + file-based libraries)
  • feat: deliver official VS Code extension and browser workspace so Owlen runs alongside Codexs IDE plugin and Claude Codes app-based surfaces
  • feat: support multimodal inputs (images, rich artifacts) and preview panes so non-text context matches Codex CLI image handling and Claude Codes artifact outputs
  • feat: integrate repository automation (GitHub PR review, commit templating, Claude SDK-style automation APIs) to reach parity with Codex CLIs GitHub integration and Claude Codes CLI/SDK automation
  • feat: implement Codex-style non-blocking TUI so commands remain usable while backend work runs:
    1. Add an AppEvent channel and dispatch layer in crates/owlen-tui/src/app/mod.rs that mirrors the tokio::select! loop used in codex-rs/tui/src/app.rs:190-197 to multiplex UI input, session events, and background updates without blocking redraws.
    2. Refactor ChatApp::process_pending_llm_request and related helpers to spawn tasks that submit prompts via SessionController and stream results back through the new channel, following codex-rs/tui/src/chatwidget/agent.rs:16-61 so the request lifecycle no longer stalls the UI thread.
    3. Track active-turn state plus queued inputs inside ChatApp and surface them through the status pane—similar to codex-rs/tui/src/chatwidget.rs:1105-1132 and codex-rs/tui/src/bottom_pane/mod.rs:334-352,378-383—so users can enqueue commands/slash actions while a turn is executing.
    4. Introduce a frame requester/draw scheduler (accessible from ChatApp and background tasks) that coalesces redraws like codex-rs/tui/src/tui.rs:234-390, ensuring notifications, queue updates, and streaming deltas trigger renders without blocking the event loop.
    5. Extend input handling and regression tests to cover concurrent queued messages, cancellation, and post-turn flushing, echoing the completion hooks in codex-rs/tui/src/chatwidget.rs:436-455 and keeping /help and command palette responsive under load.