OpenClaw plugin: shared sessions table, security scanner fixes, capture toggle#50
Closed
OpenClaw plugin: shared sessions table, security scanner fixes, capture toggle#50
Conversation
… 0.6.10 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… rename to hivemind
Track which agent (claude_code, codex, openclaw) generated each event. The column is included in CREATE TABLE schema for both memory and sessions tables, and populated in all INSERT statements.
- Use same sessions table schema as CC (id, path, filename, message JSONB, author, size_bytes, project, description, agent, creation_date, last_update_date) - Use buildSessionPath() with same convention as CC - Set agent='openclaw' on all captured events - Fix SQL quoting (wrap sqlStr() in single quotes) - Delete credentials.ts and memory.ts (replaced by shared src/) - Add child_process stub in esbuild for OpenClaw build - Rebuild CC bundles with agent column
…ommand # Conflicts: # CLAUDE.md # claude-code/.claude-plugin/plugin.json # esbuild.config.mjs
Add /hivemind_login step and explain auto-recall/capture behavior. Note shared sessions table across all platforms.
…ommand # Conflicts: # README.md
…feat/openclaw-login-command
…rip readFileSync for scanner
…ommand # Conflicts: # openclaw/package.json # openclaw/src/index.ts
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.
Summary
sessionstable (same schema as CC/Codex)agent='openclaw'on all captured events/hivemind_loginand/hivemind_capturecommandsprocess.env,readFileSync, andchild_processfrom bundle to pass OpenClaw security scannersqlLikefor ILIKE patterns to prevent % wildcard data leakcredentials.tsandmemory.ts(replaced by sharedsrc/)Test plan
readFileSync,process.env,child_processin bundle