NAME
Langertha::Raider::Result - Result object from a Raider raid
VERSION
version 0.307
SYNOPSIS
my $result = await $raider->raid_f('What files are here?');
# Stringifies to text (backward compatible)
say $result;
# Check result type
if ($result->is_final) {
say "Final answer: $result";
} elsif ($result->is_question) {
say "Agent asks: " . $result->content;
my $answer = <STDIN>;
my $continued = await $raider->respond_f($answer);
} elsif ($result->is_pause) {
say "Agent paused: " . $result->content;
my $continued = await $raider->respond_f('continue');
} elsif ($result->is_abort) {
say "Agent aborted: " . $result->content;
}
DESCRIPTION
Backward-compatible Raider-specific result class. It now subclasses Langertha::Result so Raider and Raid orchestration can share the same result semantics.
type
Inherited from Langertha::Result. One of final, question, pause, or abort.
text
Inherited from Langertha::Result. Final response text payload.
content
Inherited from Langertha::Result. Question/pause/abort message.
options
Inherited from Langertha::Result. Optional choices for question results.
is_final
Inherited predicate helper from Langertha::Result.
is_question
Inherited predicate helper from Langertha::Result.
is_pause
Inherited predicate helper from Langertha::Result.
is_abort
Inherited predicate helper from Langertha::Result.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> https://raudss.us/
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.