Skip to content

feat(adapters): add Codex Gateway adapter#378

Open
Ricky-7-Yan wants to merge 1 commit into
TencentCloud:mainfrom
Ricky-7-Yan:issue235-codex-gateway-adapter
Open

feat(adapters): add Codex Gateway adapter#378
Ricky-7-Yan wants to merge 1 commit into
TencentCloud:mainfrom
Ricky-7-Yan:issue235-codex-gateway-adapter

Conversation

@Ricky-7-Yan

Copy link
Copy Markdown

Description | 描述

Adds a lightweight Codex/CLI Gateway adapter and a platform adapter guide. The adapter maps Codex-like agent lifecycle events to the existing TDAI Gateway endpoints while keeping memory logic inside TdaiCore.

Related Issue | 关联 Issue

Closes #235

Change Type | 修改类型

  • New platform adapter
  • Documentation
  • Tests added

Self-test Checklist | 自测清单

  • Reviewed TdaiCore recall/capture/search boundaries
  • Compared in-process OpenClaw adapter with Hermes/Gateway sidecar flow
  • Added CodexMemoryAdapter for Gateway-backed recall, capture, search, and session flush
  • Exported the adapter from src/adapters
  • Added platform adapter guide and best practices
  • Added unit coverage for auth headers, capture payloads, and Gateway errors

Verification | 验证

  • npx.cmd vitest run src/adapters/codex/gateway-client.test.ts
  • npm.cmd run build
  • git diff --check

@Maxwell-Code07

Copy link
Copy Markdown
Collaborator

Thank you for submitting this PR and participating in Tencent Rhino-bird Open-source Training Program!
We have successfully received your submission. The program is currently in full swing, and we will complete the Code Review for you as soon as possible. Please keep an eye on the status notifications for this PR so you can follow up promptly once the review feedback is provided.
Thanks again for your contribution and open-source spirit! 🚀

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.

Cross-Platform Adapters for the Memory Plugin

2 participants