NAME

Langertha::Raider::CLI::PromptBuilder - Internal prompt-builder sub-agent of the raider CLI (/prompt)

VERSION

version 0.503

SYNOPSIS

# Internal to Langertha-Raider -- no API promise.
Langertha::Raider::CLI::PromptBuilder->new(app => $app, output => $out)->run;

DESCRIPTION

Internal module. Its interface may change without notice.

The /prompt REPL command and --customize-prompt: a second raider on the same engine whose only job is to write the project instructions file with the user: the one in use ("file" in Langertha::Raider::Instructions), so .raider/instructions.md when it exists, else .raider.md; it never creates .raider/instructions.md. It reads lines from "in" until /done (reload the mission and return) or /cancel.

app

The Langertha::Raider::CLI whose instructions file is edited. Required.

output

The Langertha::Raider::CLI::Output to print to. Required.

in

Filehandle the conversation is read from. Defaults to STDIN.

run

Runs the prompt-builder conversation until /done, /cancel or the end of "in".

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha-raider/issues.

IRC

Join #langertha on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.