Skip to main content

Module preprocessor

Module preprocessor 

Source
Expand description

Shell command preprocessor for skill prompts

Supports two syntaxes in skill markdown content:

  • Code blocks: ! command
  • Inline: !command

§Usage

use a3s_code_core::skills::ShellPreprocessor;

let preprocessor = ShellPreprocessor::new();
let result = preprocessor.process("Run !`echo hello`", &context).await?;

Structs§

DefaultShellPreprocessor
Default shell preprocessor implementation

Traits§

ShellPreprocessor
Shell command output extractor