426e9eeabd
Voice Workbench / headless workbench (mocked backends) (push) Has been cancelled
Voice Workbench / real acoustic lane (nightly, provisioned only) (push) Has been cancelled
ci / test (push) Has been cancelled
ci / lint-and-format (push) Has been cancelled
ci / build (push) Has been cancelled
ci / dev-startup (push) Has been cancelled
gitleaks / gitleaks (push) Has been cancelled
Markdown Links / Relative Markdown Links (push) Has been cancelled
Quality (Extended) / Homepage Build (PR smoke) (push) Has been cancelled
Quality (Extended) / Comment-only diff guard (push) Has been cancelled
Quality (Extended) / Format + Type Safety Ratchet (push) Has been cancelled
Quality (Extended) / Develop Gate (secret scan + UI determinism) (push) Has been cancelled
Quality (Extended) / Develop Gate (lint) (push) Has been cancelled
Chat shell gestures / Chat shell gesture + parity e2e (push) Has been cancelled
Cloud Gateway Discord / Test (push) Has been cancelled
Benchmark Bridge Tests / benchmark (bunx @biomejs/biome check packages/lifeops-bench/src, benchmark-lint) (push) Has been cancelled
Benchmark Bridge Tests / benchmark (bunx vitest run --config packages/lifeops-bench/vitest.config.ts --root packages/lifeops-bench --passWithNoTests, benchmark-tests) (push) Has been cancelled
Build Agent Image / build-and-push (push) Has been cancelled
Dev Smoke / bun run dev onboarding chat (push) Has been cancelled
Dev Smoke / Vite HMR dependency-level smoke (push) Has been cancelled
Electrobun Submodule Guard / electrobun gitlink is fetchable (push) Has been cancelled
Publish @elizaos/example-code / check_npm (push) Has been cancelled
Publish @elizaos/example-code / publish_npm (push) Has been cancelled
Publish @elizaos/plugin-elizacloud / verify_version (push) Has been cancelled
Publish @elizaos/plugin-elizacloud / publish_npm (push) Has been cancelled
Sandbox Live Smoke / Sandbox live smoke (push) Has been cancelled
Snap Build & Test / Build Snap (amd64) (push) Has been cancelled
Snap Build & Test / Build Snap (arm64) (push) Has been cancelled
Test Packaging / elizaos CLI global-install smoke (node + bun) (push) Has been cancelled
Cloud Gateway Webhook / Test (push) Has been cancelled
Cloud Tests / lint-and-types (push) Has been cancelled
Cloud Tests / unit-tests (push) Has been cancelled
Cloud Tests / integration-tests (push) Has been cancelled
Cloud Tests / e2e-tests (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Apps Worker (Product 2) / Determine environment (push) Has been cancelled
Deploy Apps Worker (Product 2) / Deploy apps worker to apps-control host (${{ needs.determine-env.outputs.environment }}) (push) Has been cancelled
Deploy Eliza Provisioning Worker / Determine environment (push) Has been cancelled
Deploy Eliza Provisioning Worker / Deploy worker to Hetzner host (${{ needs.determine-env.outputs.environment }} @ ${{ needs.determine-env.outputs.deployment_sha }}) (push) Has been cancelled
Dev Smoke / Classify changed paths (push) Has been cancelled
supply-chain / sbom (push) Has been cancelled
supply-chain / vulnerability-scan (push) Has been cancelled
Build, Push & Deploy to Phala Cloud / build-and-push (push) Has been cancelled
Test Packaging / Validate Packaging Configs (push) Has been cancelled
Test Packaging / Build & Test PyPI Package (push) Has been cancelled
Test Packaging / PyPI on Python ${{ matrix.python }} (push) Has been cancelled
Test Packaging / Pack & Test JS Tarballs (push) Has been cancelled
UI Fixture E2E / ui-fixture-e2e (push) Has been cancelled
UI Fixture E2E / fixture-e2e (push) Has been cancelled
UI Story Gate / story-gate (push) Has been cancelled
vault-ci / test (macos-latest) (push) Has been cancelled
vault-ci / test (ubuntu-latest) (push) Has been cancelled
vault-ci / test (windows-latest) (push) Has been cancelled
vault-ci / app-core wiring tests (push) Has been cancelled
verify-patches / verify patches/CHECKSUMS.sha256 (push) Has been cancelled
Voice Benchmark Smoke / voice-emotion fixture smoke (push) Has been cancelled
Voice Benchmark Smoke / voiceagentbench fixture smoke (push) Has been cancelled
Voice Benchmark Smoke / voicebench-quality unit smoke (push) Has been cancelled
Voice Benchmark Smoke / voicebench TypeScript unit (no audio) (push) Has been cancelled
Voice Benchmark Smoke / voice bench smoke summary (push) Has been cancelled
Windows CI / windows ([bun run --cwd packages/app-core test bun run --cwd packages/elizaos test bun run --cwd packages/cloud/shared test], app-and-cli) (push) Has been cancelled
Windows CI / windows ([bun run --cwd packages/scenario-runner test bun run --cwd packages/vault test bun run --cwd packages/security test bun run --cwd plugins/plugin-coding-tools test], framework-packages) (push) Has been cancelled
Windows CI / windows ([bun run --cwd plugins/plugin-elizacloud test bun run --cwd plugins/plugin-discord test bun run --cwd plugins/plugin-anthropic test bun run --cwd plugins/plugin-openai test bun run --cwd plugins/plugin-app-control test bun run --cwd plugins/pl… (push) Has been cancelled
Windows CI / windows ([node packages/scripts/run-turbo.mjs run build --filter=@elizaos/core --filter=@elizaos/shared --filter=@elizaos/agent --concurrency=4 node packages/scripts/run-bash-linux-only.mjs scripts/verify-riscv64-buildpaths.sh node packages/scripts/run… (push) Has been cancelled
Windows CI / windows ([node packages/scripts/run-turbo.mjs run typecheck --filter=@elizaos/core --filter=@elizaos/shared --filter=@elizaos/cloud-shared --concurrency=4 bun run --cwd packages/core test bun run --cwd packages/shared test], core-runtime, 75) (push) Has been cancelled
264 lines
8.3 KiB
JSON
264 lines
8.3 KiB
JSON
{
|
|
"name": "@elizaos/plugin-openai",
|
|
"version": "2.0.3-beta.7",
|
|
"type": "module",
|
|
"main": "dist/node/index.node.js",
|
|
"module": "dist/node/index.node.js",
|
|
"types": "dist/index.d.ts",
|
|
"browser": "dist/browser/index.browser.js",
|
|
"sideEffects": false,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/elizaos-plugins/plugin-openai.git"
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"browser": {
|
|
"types": "./dist/browser/index.d.ts",
|
|
"import": "./dist/browser/index.browser.js",
|
|
"default": "./dist/browser/index.browser.js"
|
|
},
|
|
"node": {
|
|
"types": "./dist/node/index.d.ts",
|
|
"import": "./dist/node/index.node.js",
|
|
"default": "./dist/node/index.node.js"
|
|
},
|
|
"default": "./dist/node/index.node.js"
|
|
},
|
|
"./*.css": "./dist/*.css",
|
|
"./*": {
|
|
"types": "./dist/*.d.ts",
|
|
"import": "./dist/*.js",
|
|
"default": "./dist/*.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"registry-entry.json",
|
|
"dist",
|
|
"rust",
|
|
"auto-enable.ts"
|
|
],
|
|
"elizaos": {
|
|
"plugin": {
|
|
"autoEnableModule": "./auto-enable.ts",
|
|
"capabilities": [
|
|
"text-large",
|
|
"text-small",
|
|
"tool-use",
|
|
"embedding",
|
|
"text-to-speech",
|
|
"image-description"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"coreBuild": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai": "^3.0.9",
|
|
"ai": "^6.0.30",
|
|
"js-tiktoken": "^1.0.21"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.5.3",
|
|
"@elizaos/core": "workspace:*",
|
|
"@elizaos/test-harness": "workspace:*",
|
|
"@types/bun": "^1.3.8",
|
|
"@types/json-schema": "^7.0.15",
|
|
"@types/node": "^25.0.3",
|
|
"typescript": "^6.0.3",
|
|
"uuid": "^14.0.0",
|
|
"vitest": "^4.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@elizaos/core": "workspace:*",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"scripts": {
|
|
"build:ts": "bun run build.ts",
|
|
"dev": "bun --hot build.ts",
|
|
"lint": "bunx @biomejs/biome check --write --unsafe .",
|
|
"lint:check": "bunx @biomejs/biome check .",
|
|
"clean": "node ../../packages/scripts/rm-path-recursive.mjs dist .turbo",
|
|
"format": "bunx @biomejs/biome format --write .",
|
|
"format:check": "bunx @biomejs/biome format .",
|
|
"typecheck": "tsgo --noEmit -p tsconfig.json",
|
|
"test": "vitest run --config ./vitest.config.ts",
|
|
"test:ts": "vitest run --config ./vitest.config.ts",
|
|
"test:harness": "bunx vitest run --config vitest.harness.config.ts",
|
|
"build": "bun run build.ts"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"agentConfig": {
|
|
"pluginType": "elizaos:plugin:1.0.0",
|
|
"pluginParameters": {
|
|
"OPENAI_API_KEY": {
|
|
"type": "string",
|
|
"description": "API key used to authenticate requests to the OpenAI API.",
|
|
"required": true,
|
|
"sensitive": true
|
|
},
|
|
"OPENAI_BASE_URL": {
|
|
"type": "string",
|
|
"description": "Base URL for all OpenAI API requests.",
|
|
"required": false,
|
|
"default": "https://api.openai.com/v1",
|
|
"sensitive": false
|
|
},
|
|
"EVOLINK_API_KEY": {
|
|
"type": "string",
|
|
"description": "API key used to authenticate requests to EvoLink's OpenAI-compatible API.",
|
|
"required": false,
|
|
"sensitive": true
|
|
},
|
|
"EVOLINK_BASE_URL": {
|
|
"type": "string",
|
|
"description": "Base URL for EvoLink's OpenAI-compatible API.",
|
|
"required": false,
|
|
"default": "https://direct.evolink.ai/v1",
|
|
"sensitive": false
|
|
},
|
|
"EVOLINK_MODEL": {
|
|
"type": "string",
|
|
"description": "Identifier of the EvoLink chat model to use when EVOLINK_API_KEY enables this plugin.",
|
|
"required": false,
|
|
"default": "gpt-5.2",
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_SMALL_MODEL": {
|
|
"type": "string",
|
|
"description": "Identifier of the small language model to be used (overrides SMALL_MODEL).",
|
|
"required": false,
|
|
"sensitive": false
|
|
},
|
|
"SMALL_MODEL": {
|
|
"type": "string",
|
|
"description": "Fallback identifier for the small language model if OPENAI_SMALL_MODEL is not set.",
|
|
"required": false,
|
|
"default": "gpt-5.4-mini",
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_LARGE_MODEL": {
|
|
"type": "string",
|
|
"description": "Identifier of the large language model to be used (overrides LARGE_MODEL).",
|
|
"required": false,
|
|
"sensitive": false
|
|
},
|
|
"LARGE_MODEL": {
|
|
"type": "string",
|
|
"description": "Fallback identifier for the large language model if OPENAI_LARGE_MODEL is not set.",
|
|
"required": false,
|
|
"default": "gpt-5",
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_EMBEDDING_MODEL": {
|
|
"type": "string",
|
|
"description": "Identifier of the model to use for generating text embeddings.",
|
|
"required": false,
|
|
"default": "text-embedding-3-small",
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_EMBEDDING_URL": {
|
|
"type": "string",
|
|
"description": "Custom base URL for the OpenAI embeddings endpoint.",
|
|
"required": false,
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_EMBEDDING_API_KEY": {
|
|
"type": "string",
|
|
"description": "Custom API key for the OpenAI embeddings endpoint.",
|
|
"required": false,
|
|
"sensitive": true
|
|
},
|
|
"OPENAI_EMBEDDING_DIMENSIONS": {
|
|
"type": "number",
|
|
"description": "Number of dimensions for the returned embedding vectors.",
|
|
"required": false,
|
|
"default": 1536,
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_IMAGE_DESCRIPTION_API_KEY": {
|
|
"type": "string",
|
|
"description": "Optional API key for image-description requests. Falls back to the general OpenAI API key when unset.",
|
|
"required": false,
|
|
"sensitive": true
|
|
},
|
|
"OPENAI_IMAGE_DESCRIPTION_BASE_URL": {
|
|
"type": "string",
|
|
"description": "Optional OpenAI-compatible base URL for image-description requests. Useful when text models use a non-vision-compatible endpoint.",
|
|
"required": false,
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_IMAGE_DESCRIPTION_MODEL": {
|
|
"type": "string",
|
|
"description": "Identifier of the model used for describing images.",
|
|
"required": false,
|
|
"default": "gpt-5-mini",
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_IMAGE_DESCRIPTION_MAX_TOKENS": {
|
|
"type": "number",
|
|
"description": "Maximum number of tokens allowed in the image-description model response.",
|
|
"required": false,
|
|
"default": 8192,
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_TTS_MODEL": {
|
|
"type": "string",
|
|
"description": "Identifier of the model used for text-to-speech generation.",
|
|
"required": false,
|
|
"default": "gpt-5-mini-tts",
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_TTS_VOICE": {
|
|
"type": "string",
|
|
"description": "Voice profile to use for text-to-speech output.",
|
|
"required": false,
|
|
"default": "nova",
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_TTS_INSTRUCTIONS": {
|
|
"type": "string",
|
|
"description": "Optional instructions to control the style or behavior of the text-to-speech request.",
|
|
"required": false,
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_EXPERIMENTAL_TELEMETRY": {
|
|
"type": "boolean",
|
|
"description": "Enable experimental telemetry features for enhanced debugging and usage analytics.",
|
|
"required": false,
|
|
"default": false,
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_BROWSER_BASE_URL": {
|
|
"type": "string",
|
|
"description": "Browser-only proxy endpoint base URL for OpenAI requests (no secrets in the client).",
|
|
"required": false,
|
|
"sensitive": false
|
|
},
|
|
"OPENAI_BROWSER_EMBEDDING_URL": {
|
|
"type": "string",
|
|
"description": "Browser-only proxy endpoint base URL for OpenAI embeddings.",
|
|
"required": false,
|
|
"sensitive": false
|
|
}
|
|
}
|
|
},
|
|
"gitHead": "646c632924826e2b75c2304a75ee56959fe4a460",
|
|
"eliza": {
|
|
"platforms": [
|
|
"browser",
|
|
"node"
|
|
],
|
|
"runtime": "both",
|
|
"platformDetails": {
|
|
"browser": "Browser-compatible build available via exports.browser",
|
|
"node": "Node.js build available via exports.node"
|
|
}
|
|
}
|
|
}
|