(ctx context.Context, args []string, onOutput func(string))
| 198 | // Streaming callback semantics are identical to ExecuteWithStream. |
| 199 | type StructuredExecutor interface { |
| 200 | ExecuteStructured(ctx context.Context, args []string, onOutput func(string)) (StructuredResult, error) |
| 201 | } |
| 202 | |
| 203 | // RunStructured executes the plugin and always returns a StructuredResult, |