konoma 0.23.0

Terminal file browser built for AI pair-programming — full-screen previews (Markdown, images, PDF, CSV), git suite, and an agent-watch mode that follows your AI's edits (macOS and Linux)
1
2
3
4
5
6
7
8
9
10
// External command delegation renderer.
//
// Policy: expand the `PreviewKind::Command` template ({path} / {out}) and run a child process.
//   - render_as = "image": pass the generated artifact (PNG, etc.) to the image renderer for
//     full-screen display.
//   - detached = true: open in a separate process without blocking the TUI (e.g. video via mpv).
// If the command isn't installed or fails, don't crash — fall back to the same path as
// CanNotPreview.
//
// Stub for M0. Template expansion and child-process launch will be implemented later.