Acme-Claude-Shell
view release on metacpan or search on metacpan
Revision history for Acme-Claude-Shell
0.04 2026-10-17
- Require Claude::Agent 0.14: hooks now run through the CLI and command output is printed from the tool results.
- Add verbose, audit_log and effort options and the --verbose and --effort flags.
- Turn off the CLI built-in tools so every command goes through execute_command.
- Read the approval from STDIN when output is not colorful; end of input cancels.
- Declare utf8 in Hooks.pm so the statistics rule prints.
0.01 2026-01-11
First version - AI-powered interactive shell showcasing Claude::Agent SDK
[Features]
- shell() for interactive multi-turn sessions using session()
- run() for single-shot commands using query()
- SDK MCP tools: execute_command, list_files, read_file
- Safety hooks with dangerous command detection
- Colorful terminal UI with spinners and menus
lib/Acme/Claude/Shell/Hooks.pm view on Meta::CPAN
package Acme::Claude::Shell::Hooks;
use 5.020;
use strict;
use warnings;
use utf8;
use Exporter 'import';
our @EXPORT_OK = qw(safety_hooks);
use Claude::Agent::CLI qw(stop_spinner status);
use Claude::Agent::Hook::Matcher;
use Claude::Agent::Hook::Result;
use Term::ANSIColor qw(colored);
use Time::HiRes qw(time);
( run in 2.015 seconds using v1.01-cache-2.11-cpan-234fa220139 )