Minimal Codex plugin scaffold for OpenBot/Melony.
- A plugin registry export (
plugin) compatible with Melony - One tool definition:
codex_run - One action handler:
action:codex_run @openai/codex-sdkintegration viaCodex+thread.run(...)
-
Install dependencies:
npm install -
Build:
npm run build -
Load
dist/index.jsfrom your OpenBot plugin registry/runtime.
Set an API key using one of the following:
CODEX_API_KEYenvironment variableOPENAI_API_KEYenvironment variableapiKeyin plugin options
Optional plugin options:
model(defaults togpt-5-codex)baseURL(for custom OpenAI-compatible endpoints)workingDirectory,skipGitRepoCheck,sandboxMode,approvalPolicynetworkAccessEnabled,webSearchMode,threadId