Openclaw local plugin 20260408#1454
Merged
Hun-ger merged 4 commits intoMemTensor:openclaw-local-plugin-20260408from Apr 10, 2026
Merged
Openclaw local plugin 20260408#1454Hun-ger merged 4 commits intoMemTensor:openclaw-local-plugin-20260408from
Hun-ger merged 4 commits intoMemTensor:openclaw-local-plugin-20260408from
Conversation
added 4 commits
April 9, 2026 15:18
…e for openclaw doctor
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
This PR introduces UX enhancements for model configurations, improves the server shutdown lifecycle, and fixes a critical issue where multiple Viewer instances were being spawned concurrently due to OpenClaw lifecycle mismatch.
Key Changes:
globalRef.__memosLocalPluginActiveService) to ensure the service startup is idempotent across repeated register/init cycles. The self-start fallback logic was also refactored to conditionally trigger based onprocess.argvarguments (ensuring it only auto-starts forgateway,start, orrestartcommands), completely preventing orphan instances and port accumulation.ViewerServer.stop()to be asynchronous, utilizingserver.closeAllConnections()to ensure all active connections are properly closed and releasing the singleton lock before shutting down the process.Related Issue (Required): Fixes #1430, Fixes #1425, Fixes #1422
Type of change
How Has This Been Tested?
start-viewer.tsand triggeredSIGINTto verify the asynchronous graceful shutdown works as expected without leaving hanging processes.pnpm test) to ensure everything works correctly.Checklist
https://github.com/MemTensor/MemOS-Docs(if applicable) | 我已在https://github.com/MemTensor/MemOS-Docs中创建了相关的文档 issue/PR(如果适用)Reviewer Checklist