[codex] add Dify memory adapter#1
Closed
bugkeep wants to merge 3 commits into
Closed
Conversation
Add a Dify plugin adapter that connects Dify workflows to the TencentDB Agent Memory Gateway for recall, capture, health, search, and session flush operations. Include a mock Dify quickstart e2e script, adapter architecture notes, Mermaid workflow diagram, and cross-platform comparison documentation. Closes TencentCloud#235 Signed-off-by: bugkeep <1921817430@qq.com>
Owner
Author
|
Runtime validation update:
|
Use the Dify CLI icon reference convention so the Dify plugin package passes asset validation, and add manifest coverage for provider icon references.\n\nCloses TencentCloud#235 Signed-off-by: bugkeep <1921817430@qq.com>
Document Dify package/install, provider configuration, workflow wiring, and local validation evidence for the TencentDB Agent Memory Dify adapter.\n\nCloses TencentCloud#235 Signed-off-by: bugkeep <1921817430@qq.com>
Owner
Author
|
Superseded by #2 using the requested branch name eat/dify-memory-adapter. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description | 描述
Add a Dify platform adapter for TencentDB Agent Memory. The adapter provides basic memory write/read through
tdai_captureandtdai_recall, plus health, memory search, conversation search, and session flush tools backed by the Gateway API.This also adds a mock Dify quickstart e2e harness for
Gateway -> mock Dify plugin server -> capture -> recall, an adapter architecture note, a Mermaid workflow diagram, and a cross-platform comparison for OpenClaw / Hermes / Dify.Related Issue | 关联 Issue
Related to TencentCloud#235
Change Type | 修改类型
Self-test Checklist | 自测清单
Validation performed:
git pull --ff-only origin mainE:\dify-mainpython -m unittest discover -s dify-plugin-tdai-memory\tests-> 51 tests OKgit diff --check -- dify-plugin-tdai-memory docsbash -n dify-plugin-tdai-memory/scripts/quickstart-gateway-mock-e2e.shbash dify-plugin-tdai-memory/scripts/quickstart-gateway-mock-e2e.shcurrently stops with the expected prerequisite message because this checkout has nonode_modules; the script tells users to runnpm installor reuse a running Gateway viaTDAI_DIFY_GATEWAY_URL.ocr review --audience agent --commit HEADwas run during development; high-confidence code style/security findings were fixed.Additional Notes | 其他说明
The adapter keeps
max_chars=0as an explicit "unlimited" setting because the tool YAML and tests document that behavior. It does not block private/internal Gateway URLs because local/private Gateway deployments are an expected TencentDB Agent Memory use case; Bearer tokens over non-local plain HTTP are still rejected.