* fix: rename moltbot to openclawd * fix * fix * fix: use single shared pg0 database for all banks + add default mission This commit fixes a critical database isolation issue and adds the default mission feature for the openclawd plugin. ## Changes: **hindsight-embed:** - Fixed daemon_client.py to use single shared database: pg0://hindsight-embed - Previously, each bank_id would create a separate pg0 instance (wrong!) - Now all banks share the same database with isolation via bank_id parameter - Updated README to clarify database architecture **openclawd plugin (v0.0.5):** - Added default bank mission describing OpenClawd's multi-channel assistant role - Added setBankMission() method to client - Integrated mission setting during plugin initialization - Added bankMission to plugin config schema with sensible default - Updated docs to explain shared database architecture ## Why this matters: Bank isolation should happen WITHIN the database (via separate tables/schemas), not via separate database instances. Using HINDSIGHT_EMBED_BANK_ID to create separate pg0 databases was architecturally wrong and caused confusion. * ci: rename moltbot to openclawd in workflows and release script - Updated build-moltbot-integration → build-openclawd-integration in test.yml - Updated release-moltbot-integration → release-openclawd-integration in release.yml - Updated all working directories from moltbot to openclawd - Updated artifact names from moltbot-integration to openclawd-integration - Added openclawd package.json to release.sh version bump script
49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"id": "hindsight-openclawd",
|
|
"name": "Hindsight Memory",
|
|
"kind": "memory",
|
|
"configSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"daemonIdleTimeout": {
|
|
"type": "number",
|
|
"description": "Seconds before daemon shuts down from inactivity (0 = never)",
|
|
"default": 0
|
|
},
|
|
"embedPort": {
|
|
"type": "number",
|
|
"description": "Port for hindsight-embed server (auto-assigned if not specified)",
|
|
"default": 0
|
|
},
|
|
"bankMission": {
|
|
"type": "string",
|
|
"description": "Custom mission/context for the memory bank",
|
|
"default": "You are an AI assistant helping users across multiple communication channels (Telegram, Slack, Discord, etc.). Remember user preferences, instructions, and important context from conversations to provide personalized assistance."
|
|
},
|
|
"embedVersion": {
|
|
"type": "string",
|
|
"description": "hindsight-embed version to use (e.g. 'latest', '0.4.2', or empty for latest)",
|
|
"default": "latest"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"uiHints": {
|
|
"daemonIdleTimeout": {
|
|
"label": "Daemon Idle Timeout",
|
|
"placeholder": "0 (never timeout)"
|
|
},
|
|
"embedPort": {
|
|
"label": "Embed Server Port",
|
|
"placeholder": "0 (auto-assign)"
|
|
},
|
|
"bankMission": {
|
|
"label": "Bank Mission",
|
|
"placeholder": "Custom context for what this agent does..."
|
|
},
|
|
"embedVersion": {
|
|
"label": "Hindsight Embed Version",
|
|
"placeholder": "latest (or pin to specific version like 0.4.2)"
|
|
}
|
|
}
|
|
}
|