ellmercodex: 'ChatGPT' Plan Provider for 'ellmer'

Connects 'ellmer' chats to a 'ChatGPT' subscription through 'OpenAI”s documented "Sign in with ChatGPT" flow for open-source, locally hosted apps <https://developers.openai.com/siwc/token-sharing-open-source>. Provides a stable, explicitly bounded core of the public 'ellmer' (>= 0.5.0) Chat object, including browser sign-in with dynamic client registration, package-scoped credential storage, redacted diagnostics, multi-turn text, streaming, structured-output, function-tool, asynchronous, cancellation, cloning, metadata, multimodal chat, account-specific model discovery, and reasoning-effort selection through the public 'Responses' API. Parallel and batch helper functions are explicitly unsupported because 'ChatGPT' plan usage is stream-only. This independent third-party integration is not endorsed by 'OpenAI'.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: coro, ellmer (≥ 0.5.0), httr2 (≥ 1.3.0), httpuv, jose, jsonlite, openssl, promises, rlang, S7
Suggests: callr, knitr, later, pkgload, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-10-16
DOI: 10.32614/CRAN.package.ellmercodex (may not be active yet)
Author: Simon Herrera [aut, cre, cph]
Maintainer: Simon Herrera <simxnherrera at gmail.com>
BugReports: https://github.com/simxnherrera/ellmercodex/issues
License: MIT + file LICENSE
URL: https://github.com/simxnherrera/ellmercodex
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: ellmercodex results

Documentation:

Reference manual: ellmercodex.html , ellmercodex.pdf
Vignettes: Getting started with ellmercodex (source, R code)

Downloads:

Package source: ellmercodex_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): ellmercodex_0.2.0.tgz, r-oldrel (arm64): ellmercodex_0.2.0.tgz, r-release (x86_64): ellmercodex_0.2.0.tgz, r-oldrel (x86_64): ellmercodex_0.2.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ellmercodex to link to this page.