Skip to content

fix: support Codex integration requirements#67

Open
YOMXXX wants to merge 4 commits into
Tencent:mainfrom
YOMXXX:fix/codex-integration-critical
Open

fix: support Codex integration requirements#67
YOMXXX wants to merge 4 commits into
Tencent:mainfrom
YOMXXX:fix/codex-integration-critical

Conversation

@YOMXXX
Copy link
Copy Markdown
Contributor

@YOMXXX YOMXXX commented May 21, 2026

Summary

  • Add host capability metadata and a standalone memory-tdai CLI entry for non-OpenClaw hosts such as Codex.
  • Harden offload/standalone LLM integration: secure backend TLS defaults, custom CA support, providerOptions passthrough, multi-slash provider/model parsing, and Unicode-safe storage sanitization.
  • Add L1 memory scope (global|project|session) plus independent L2/L3 stage switches, schema updates, migration compatibility, and regression tests.
  • Fix gateway multi-user isolation by forwarding a stable userId to the offload backend and exposing process/data-dir diagnostics in /health.
  • Add ZeroEntropy native embedding support (POST <baseUrl>/v1/models/embed) and preserve qclaw proxyUrl / embedding timeoutMs through store creation.
  • Document installation into an existing Hermes Agent and add ZeroEntropy embedding examples.

Test Plan

  • npm test
  • npm run build
  • npx tsc --noEmit --module NodeNext --moduleResolution NodeNext --target ES2022 --allowImportingTsExtensions --types node --skipLibCheck index.ts src/**/*.ts
  • npm pack --dry-run --json
  • git diff --check

Issue coverage

@YOMXXX YOMXXX force-pushed the fix/codex-integration-critical branch from 78b05c8 to ab3d3d6 Compare May 21, 2026 02:19
YOMXXX added 2 commits May 21, 2026 19:06
Signed-off-by: 李冠辰 <liguanchen@xiaomi.com>
Signed-off-by: 李冠辰 <liguanchen@xiaomi.com>
@YOMXXX YOMXXX force-pushed the fix/codex-integration-critical branch from 6cfd420 to 3292c88 Compare May 21, 2026 11:07
YOMXXX added 2 commits May 21, 2026 19:10
Signed-off-by: 李冠辰 <liguanchen@xiaomi.com>
Signed-off-by: 李冠辰 <liguanchen@xiaomi.com>
@Maxwell-Code07
Copy link
Copy Markdown
Collaborator

感谢你投入的精力,这个PR非常全面!我们会尽快评审相关内容。由于改动范围较大,评审、reveiw的时间可能稍长,感谢耐心等待!另外,建议后续尽量单个PR对应单个问题,能更便于高效核验迭代哈

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.

2 participants