/**
 * OpenAI Codex CLI transport helper.
 *
 * Purpose: keep the codex CLI app-server JSON-RPC client and account/catalog
 * snapshot in a dedicated workspace package so provider code can depend on
 * one small helper instead of embedding the upstream subprocess integration
 * inline (mirrors @singularity-forge/google-gemini-cli-provider).
 *
 * Scope: this package owns the codex-CLI integration boundary — the
 * subprocess client and the local cache/snapshot reader. Stream shaping
 * (turning Codex events into pi-ai assistant messages) intentionally stays
 * inside @singularity-forge/ai because it depends on pi-ai's stream-event
 * internals and is not reusable outside the provider.
 *
 * Consumer: `@singularity-forge/ai` openai-codex-responses provider for
 * the JSON-RPC client; SF extension catalog reader + future usage UI for
 * snapshot/discover.
 */
export {
	CodexAppServerClient,
	type CodexAppServerClientOptions,
	type CodexAppServerNotification,
	type CodexAppServerNotificationHandler,
	clearCodexAppServerClient,
	getCodexAppServerClient,
} from "./codex-app-server-client.js";

export {
	type CodexCliAccountSnapshot,
	discoverCodexCliModels,
	snapshotCodexCliAccount,
} from "./snapshot.js";
