Skip to main content

generate_opencode_plugin

Function generate_opencode_plugin 

Source
pub fn generate_opencode_plugin(sqz_path: &str) -> String
Expand description

Generate the OpenCode TypeScript plugin content.

The plugin intercepts shell tool calls and rewrites them to pipe output through sqz hook opencode, which compresses the output.