Add plugin: memorysync 1.0.0 - long-term user memory tools - #3002
Open
mdhaseeb343q-pixel wants to merge 2 commits into
Open
Add plugin: memorysync 1.0.0 - long-term user memory tools#3002mdhaseeb343q-pixel wants to merge 2 commits into
mdhaseeb343q-pixel wants to merge 2 commits into
Conversation
…n internal version
Author
|
Template filled in - Medium risk selected (the plugin sends user content to an external HTTPS service, per the risk classification). Also repackaged the .difypkg on this branch: added the plugin README, stripped |
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.
Plugin Submission
Plugin information
Submission type
What changed
MemorySync (https://memorysync.io) gives Dify apps cross-conversation, per-user long-term memory — the thing conversation variables and the knowledge base don't cover. Four curated tools:
User identity auto-resolves from Dify's runtime user (with an optional per-call override), sessions are recorded as
dify::<conversation_id>, calls run under a 10s budget with structured branchable error JSON, and quota limits degrade gracefully. Credential validation checks the API key against the live API on save.Docs: https://docs.memorysync.io/guides/dify
Risk level
Required checks
.envfiles,.gitdirectories, virtual environments, caches, logs, or IDE files.PRIVACY.mdor a hosted privacy policy, andmanifest.yamlreferences it.Security and privacy notes
The plugin sends user-provided conversation text (the content passed to Remember, and query strings for Recall/Search) to the MemorySync API over HTTPS (
api.memorysync.io, or a user-configured base URL), authenticated by the customer's own API key — this is the plugin's documented purpose. No command or code execution, no SQL, no SSH/SFTP, no file operations, no browser automation, and no arbitrary URL fetching (the only configurable endpoint is the base URL credential, intended for staging). It does not target health, financial, biometric, or children's data; what is stored is whatever facts the app's users choose to remember. Privacy policy ships asPRIVACY.mdand is referenced frommanifest.yaml.Local validation
dify-plugin plugin package ./memorysync -o memorysync-1.0.0.difypkg(CLI 0.6.10) — packaged successfully; archive verified to contain only runtime files (17 entries, no caches/secrets/binaries).pytest tests— 32 checks driven through the dify_plugin SDK's offline harness (Tool.from_credentials): the user-resolution ladder, idempotent Remember, capped scored Search, loud single-id Forget, credential validation, quota modes, and manifest/provider/tool YAML schema sanity.Reviewer notes
Testing limitation, per the checklist: the plugin was validated through the official
dify_pluginSDK's offline harness plus a live run against the production MemorySync API, not on a running Dify Community Edition / Dify Cloud installation. The harness drives the same Tool entrypoints Dify invokes at runtime. Happy to address any findings from a marketplace-side installation test.