NAME

Acme::Claude::Shell::Session - Multi-turn session for Acme::Claude::Shell

SYNOPSIS

use Acme::Claude::Shell::Session;
use IO::Async::Loop;

my $loop = IO::Async::Loop->new;

my $session = Acme::Claude::Shell::Session->new(
    loop      => $loop,
    dry_run   => 0,
    safe_mode => 1,
);

$session->run->get;

DESCRIPTION

Runs an interactive REPL using Claude's session() function for multi-turn conversations. Claude remembers context from previous commands.

Uses Claude::Agent SDK features:

  • session() - Multi-turn conversation with context

  • SDK MCP tools - execute_command, list_files, read_file

  • Hooks - Safety confirmation before command execution

  • CLI utilities - Spinners, menus, and colored output

AUTHOR

LNATION, <email at lnation.org>

LICENSE AND COPYRIGHT

This software is Copyright (c) 2026 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)