export interface CodexCommandResult { stderr: string; stdout: string; } export type CodexCommandRunner = ( args: string[], ) => Promise; export interface CodexSetupResult { marketplaceAdded: boolean; pluginChanged: boolean; pluginId: string; version: string; } /** * The Whitespace distribution does not own a Codex CLI marketplace. Failing * before invoking a runner prevents it from silently installing the upstream * JFRK plugin under a different package identity. */ export async function setupCodexPlugin( _version: string, _runner?: CodexCommandRunner, ): Promise { throw new Error( "The Whitespace Pony distribution does not currently provide a Codex CLI marketplace. Use `pony setup chatgpt` for the ChatGPT desktop app.", ); }