/** * kimi-code statusline (footer under the chatbox). * File-size sweep: split out of kimi-generator.ts. * * Kimi supports a custom status line: [status_line].command in * ~/.kimi-code/tui.toml. Kimi runs the command with a JSON snapshot on stdin * (model, cwd, git branch, permission mode, plan mode, context usage, * session id, version) and renders the FIRST stdout line as the footer. * Runs are capped at 300ms and throttled to once per second; a failure (or * no output) falls back to the built-in layout, so this script exits quietly * whenever the project has no monomind statusline. */ /** * Generate ~/.kimi-code/statusline.sh — reads the cwd out of kimi's stdin * JSON snapshot and delegates to that project's monomind statusline helper, * joining its multi-line output into the single footer line kimi renders. * Exits 0 with no output when there's nothing to show (kimi then keeps its * built-in layout). * * The script must be free of backticks and ${...} outside its own template * usage — it is embedded into a TypeScript template literal by the caller. */ export declare function generateKimiStatuslineSh(): string; /** * Merge [status_line].command into a tui.toml file WITHOUT clobbering: * - existing [status_line] with a command → unchanged (user's choice wins) * - existing [status_line] without a command → command inserted into the section * - no [status_line] section → appended at the end * Anything else in the file is preserved byte-for-byte. */ export declare function mergeKimiTuiTomlStatusline(existing: string, command: string): string; //# sourceMappingURL=kimi-generator-statusline.d.ts.map