Documentation
¶
Overview ¶
Package codexcompose is a self-contained, keyless one-shot text client for the command composer. It reuses the user's existing Codex / ChatGPT login (~/.codex/auth.json) and calls the Codex Responses endpoint. It deliberately does NOT plug into the streaming chat backend in this package — it's an isolated helper so it can't affect the interactive AI chat path.
The endpoint is undocumented/reverse-engineered and may change; callers must treat any error as non-fatal and fall back to a local generator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposeText ¶
ComposeText sends a one-shot prompt and returns the accumulated assistant text.
func IsAvailable ¶
func IsAvailable() bool
IsAvailable reports whether a usable Codex login is present.
Types ¶
This section is empty.