Files
webber/webber-cli
jpmschweitzerandClaude Opus 4.5 b7956f88ed feat: add permission modes and CLI orchestration layer
Permission Modes:
- Add default/plan/auto_accept modes controlling tool access
- Plan mode restricts Task agent to read-only tools only
- Auto-accept mode bypasses approval prompts (with confirmation)

Approval Scaffolding:
- Add ApprovalRule/ApprovalRuleSet for granular tool control
- Pattern-based matching on tool name and arguments
- Default rules for common safe/dangerous patterns
- Prep for future bidirectional approval flow

CLI Refactor:
- Default to Task agent (main orchestrator)
- Add --mode flag and runtime mode switching
- Integrate prompt_toolkit for better UX:
  - Persistent command history (~/.webber_history)
  - Tab completion for commands and file paths
  - Auto-suggest from history
- Deprecate standalone 'explore' command

Other:
- Split CHANGELOG.md into per-package files
- Update AGENTS.md release procedure for both packages

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 08:48:07 +01:00
..

Webber CLI

Command-line client for the Webber API.

Installation

# Create virtual environment
python3.12 -m venv .venv
source .venv/bin/activate

# Install dependencies
pip install -r requirements.txt

# Install package in editable mode
pip install -e .

Usage

# Check API connection
webber-cli status

# Explore a codebase (streams by default)
webber-cli explore "find all python files" -d /path/to/project

# Batch mode (wait for full response)
webber-cli explore "find bugs" -d /path/to/project --no-stream

# Interactive chat mode
webber-cli chat -d /path/to/project

# Chat without streaming
webber-cli chat -d /path/to/project --no-stream

Commands

Command Description
status Check API connection and list available agents
explore QUERY One-shot codebase exploration
chat Interactive chat session

Options

Option Short Description
--directory -d Working directory for exploration
--api -a API URL (default: $WEBBER_API_URL or http://localhost:8095)
--stream/--no-stream -s Enable/disable streaming (default: enabled)
--agent Agent to use (default: explore)

Configuration

Set the API URL via environment variable:

export WEBBER_API_URL=http://localhost:8095

Requirements

  • Python 3.12+
  • Webber API running (see ../webber-api/)