use crate::error::Result;
use crate::skill::Skill;
pub struct RunOptions {
pub inputs: serde_json::Value,
}
impl Default for RunOptions {
fn default() -> Self {
Self {
inputs: serde_json::json!({}),
}
}
}
pub struct RunResult {
pub output: serde_json::Value,
pub stdout: String,
pub stderr: String,
}
pub fn run(_skill: &Skill, _opts: RunOptions) -> Result<RunResult> {
Ok(RunResult {
output: serde_json::json!(null),
stdout: String::new(),
stderr: "runtime execution not yet implemented in v0.1".into(),
})
}