Skip to content

feat(source-api): add Codex app server provider - #313

Merged
siisee11 merged 1 commit into
mainfrom
codex/add-codex-app-server-api-provider
Jul 16, 2026
Merged

feat(source-api): add Codex app server provider#313
siisee11 merged 1 commit into
mainfrom
codex/add-codex-app-server-api-provider

Conversation

@siisee11

Copy link
Copy Markdown
Contributor

One-Line Summary

Codex App Server API can now be connected as a Source API provider and used through audited REST operations.

User-Facing Changes

  • Adds a Codex App Server API provider to the public provider catalog.
  • Allows connecting credentials with apiBaseUrl and apiKey.
  • Exposes native /v1/models, /v1/responses, and /v1/chat/completions calls through Source API.

Why This Changed

Velen needs to list and call the Codex app server as an integration worker. The provider catalog previously had Hermes as the closest OpenAI-compatible worker shape, but no distinct Codex app server provider identity or adapter.

How It Changed

  • Added codex_app_server_api credentials and catalog metadata.
  • Registered a simple REST Source API adapter with Bearer auth and Codex-friendly request headers.
  • Added provider icon support and provider snapshot coverage.

Verification

  • bun run --cwd vendor/onequery/packages/db test src/source-providers.test.ts src/credentials.test.ts src/schema/data-sources.test.ts
  • bun run --cwd vendor/onequery/packages/server test src/source-api/adapters/codex-app-server-api.test.ts src/source-api/adapters/hermes.test.ts
  • bun run --cwd vendor/onequery/packages/db typecheck
  • bun run --cwd vendor/onequery/packages/server typecheck
  • bun run --cwd vendor/onequery/packages/ui typecheck
  • bun run format

Video / Screenshot (Optional)

  • N/A

@siisee11
siisee11 enabled auto-merge (squash) July 16, 2026 02:52
@siisee11
siisee11 force-pushed the codex/add-codex-app-server-api-provider branch from dff25ba to 2167837 Compare July 16, 2026 02:54
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
onequery-landing 90b3f49 Commit Preview URL

Branch Preview URL
Jul 16 2026, 03:01 AM

@siisee11
siisee11 force-pushed the codex/add-codex-app-server-api-provider branch from 2167837 to 90b3f49 Compare July 16, 2026 02:59
@siisee11
siisee11 merged commit b648e99 into main Jul 16, 2026
8 checks passed
@siisee11
siisee11 deleted the codex/add-codex-app-server-api-provider branch July 16, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant