Files
owlen/crates/owlen-cli
vikingowl e57844e742 feat(phase5): implement mode consolidation and tool availability system
Implements Phase 5 from the roadmap with complete mode-based tool filtering:

- Add Mode enum (Chat/Code) with FromStr trait implementation
- Extend Config with ModeConfig for per-mode tool availability
- Update ToolRegistry to enforce mode-based filtering
- Add --code/-c CLI argument to start in code mode
- Implement TUI commands: :mode, :code, :chat, :tools
- Add operating mode indicator to status line (💬/💻 badges)
- Create comprehensive documentation in docs/phase5-mode-system.md

Default configuration:
- Chat mode: only web_search allowed
- Code mode: all tools allowed (wildcard *)

All code compiles cleanly with cargo clippy passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 20:17:41 +02:00
..

Owlen CLI

This crate is the command-line entry point for the Owlen application.

It is responsible for:

  • Parsing command-line arguments.
  • Loading the configuration.
  • Initializing the providers.
  • Starting the owlen-tui application.

There are two binaries:

  • owlen: The main chat application.
  • owlen-code: A specialized version for code-related tasks.