Repository navigation
Conversation
🤖 Open Code ReviewTarget: PR #2486 🔍 OpenCodeReview found 3 issue(s) in this PR. 1.
|
✅ Automated Test Results: PASSEDAll tests passed (6/6 executed). common/smoke: 6/6. Duration: 2s [advisory, non-gating] AI-generated tests on branch test/auto-gen-85e56e4106eb57a4-20261012204343: 41/44 passed, 3 failed — these do NOT affect the PR verdict; review the branch manually. Branch: |
|
This PR has been automatically marked as stale due to inactivity. |
|
This PR has been automatically closed due to inactivity. |
Description
The OpenClaw plugin passed user-configured
infofields directly to the MemOS Cloud/add/messageendpoint. Cloud Hub rejects the reserved keyslocal_state,state, andlocalStats, regardless of their values, causing the add request to fail.This change filters those three reserved keys when building the request payload. Other custom
infofields and plugin-generated metadata are preserved. The plugin README files in English and Chinese have been updated, and a regression test verifies the filtering behavior.This PR fixes the client-side payload issue only. Cloud Hub server-side delete schema and behavior, and long synchronous request timeouts, are outside this repository’s implementation scope.
Dependencies: None.
Related Issue (Required): Fixes #2423
Type of change
How Has This Been Tested?
node --test apps/MemOS-Cloud-OpenClaw-Plugin/test/direct-session-user-id.test.mjs node --test apps/MemOS-Cloud-OpenClaw-Plugin/test/*.test.mjs git diff --checkResults: focused tests passed (9/9); full plugin suite passed (64/64);
git diff --checkpassed.Checklist
Reviewer Checklist