{"modulePath":"github.com/nuitsjp/commit-spark","version":"v0.1.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package codexcli\n\nPackage codexcli invokes the external \\`codex\\` CLI to generate text.\n\n## Constants\n\n```go\nconst DefaultModel = \"gpt-5.3-codex-spark\"\n```\nDefaultModel is used when the caller hasn't set a model. gpt-5.3-codex-spark is used because it has separate (currently unconstrained) usage limits from Codex CLI's built-in default model.\n\n## Functions\n\n```go\nfunc Run(ctx context.Context, opts RunOptions) (string, error)\n```\nRun invokes \\`codex exec\\` as a subprocess with the given prompt on stdin, waits for it to finish (bounded by Timeout), and returns the trimmed, code-fence-stripped content of the file passed to --output-last-message.\n\n## Types\n\n```go\ntype RunOptions struct {\n\tPrompt  string\n\tModel   string // empty means \"use DefaultModel\"\n\tTimeout time.Duration\n}\n```\nRunOptions configures Run.\n\n","path":"github.com/nuitsjp/commit-spark/internal/codexcli","name":"codexcli","synopsis":"Package codexcli invokes the external `codex` CLI to generate text.","isRedistributable":true}
