fix: rename openclawd to openclaw (#252)

* fix: rename openclawd to openclaw

* fix: rename openclawd to openclaw

* Revise OpenClaw documentation and remove dev section

Updated the description of local memory for OpenClaw agents and removed the development section along with requirements and links.
This commit is contained in:
Nicolò Boschi 2026-01-30 13:04:42 +01:00 committed by GitHub
parent 35f0984b72
commit b364bc3402
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 113 additions and 145 deletions

View file

@ -139,7 +139,7 @@ jobs:
path: hindsight-clients/typescript/*.tgz
retention-days: 1
release-openclawd-integration:
release-openclaw-integration:
runs-on: ubuntu-latest
environment: npm
@ -153,15 +153,15 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
working-directory: ./hindsight-integrations/openclawd
working-directory: ./hindsight-integrations/openclaw
run: npm ci
- name: Build
working-directory: ./hindsight-integrations/openclawd
working-directory: ./hindsight-integrations/openclaw
run: npm run build
- name: Publish to npm
working-directory: ./hindsight-integrations/openclawd
working-directory: ./hindsight-integrations/openclaw
run: |
set +e
OUTPUT=$(npm publish --access public 2>&1)
@ -178,14 +178,14 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Pack for GitHub release
working-directory: ./hindsight-integrations/openclawd
working-directory: ./hindsight-integrations/openclaw
run: npm pack
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: openclawd-integration
path: hindsight-integrations/openclawd/*.tgz
name: openclaw-integration
path: hindsight-integrations/openclaw/*.tgz
retention-days: 1
release-control-plane:
@ -415,7 +415,7 @@ jobs:
create-github-release:
runs-on: ubuntu-latest
needs: [release-python-packages, release-typescript-client, release-openclawd-integration, release-control-plane, release-rust-cli, release-docker-images, release-helm-chart]
needs: [release-python-packages, release-typescript-client, release-openclaw-integration, release-control-plane, release-rust-cli, release-docker-images, release-helm-chart]
permissions:
contents: write
@ -438,11 +438,11 @@ jobs:
name: typescript-client
path: ./artifacts/typescript-client
- name: Download OpenClawd Integration
- name: Download OpenClaw Integration
uses: actions/download-artifact@v4
with:
name: openclawd-integration
path: ./artifacts/openclawd-integration
name: openclaw-integration
path: ./artifacts/openclaw-integration
- name: Download Control Plane
uses: actions/download-artifact@v4
@ -485,8 +485,8 @@ jobs:
cp artifacts/python-packages/hindsight-embed/dist/* release-assets/ || true
# TypeScript client
cp artifacts/typescript-client/*.tgz release-assets/ || true
# OpenClawd Integration
cp artifacts/openclawd-integration/*.tgz release-assets/ || true
# OpenClaw Integration
cp artifacts/openclaw-integration/*.tgz release-assets/ || true
# Control Plane
cp artifacts/control-plane/*.tgz release-assets/ || true
# Rust CLI binaries

View file

@ -82,7 +82,7 @@ jobs:
- name: Build TypeScript client
run: npm run build --workspace=hindsight-clients/typescript
build-openclawd-integration:
build-openclaw-integration:
runs-on: ubuntu-latest
steps:
@ -94,15 +94,15 @@ jobs:
node-version: '22'
- name: Install dependencies
working-directory: ./hindsight-integrations/openclawd
working-directory: ./hindsight-integrations/openclaw
run: npm ci
- name: Run tests
working-directory: ./hindsight-integrations/openclawd
working-directory: ./hindsight-integrations/openclaw
run: npm test
- name: Build
working-directory: ./hindsight-integrations/openclawd
working-directory: ./hindsight-integrations/openclaw
run: npm run build
build-control-plane:

View file

@ -2,9 +2,9 @@
sidebar_position: 4
---
# OpenClawd
# OpenClaw
Local-first, persistent memory for [OpenClawd](https://openclawd.ai) agents using [Hindsight](https://vectorize.io/hindsight).
Local, long term memory for [OpenClaw](https://openclaw.ai) agents using [Hindsight](https://vectorize.io/hindsight).
This plugin integrates [hindsight-embed](https://vectorize.io/hindsight/cli), a standalone daemon that bundles Hindsight's memory engine (API + PostgreSQL) into a single command. Everything runs locally on your machine, reuses the LLM you're already paying for, and costs nothing extra. The plugin automatically manages the daemon lifecycle and provides hooks for seamless memory capture and recall.
@ -16,9 +16,9 @@ export OPENAI_API_KEY="sk-your-key"
clawdbot config set 'agents.defaults.models."openai/gpt-4o-mini"' '{}'
# 2. Install and enable the plugin
clawdbot plugins install @vectorize-io/hindsight-openclawd
clawdbot plugins install @vectorize-io/hindsight-openclaw
# 3. Start OpenClawd
# 3. Start OpenClaw
clawdbot gateway
```
@ -48,12 +48,17 @@ Auto-recall solves this by injecting relevant memories automatically before ever
<hindsight_memories>
[
{
"content": "User prefers JSON responses for technical data",
"score": 0.95,
"metadata": {
"document_id": "session-abc123",
"chunk_id": "chunk-1"
}
{
"chunk_id": "openclawd_default-session_12",
"context": "",
"document_id": "default-session",
"id": "5f55f684-e6f5-46e3-9f5c-043bdf005511",
"mentioned_at": "2026-01-30T11:07:33.211396+00:00",
"occurred_end": "2025-01-29T23:14:30+00:00",
"occurred_start": "2025-01-29T23:14:30+00:00",
"tags": [],
"text": "Nicolò Boschi attended an OpenAI devday last year and found it cool. | When: 2025-01-30 | Involving: Nicolò Boschi",
"type": "world"
}
]
</hindsight_memories>
@ -61,10 +66,10 @@ Auto-recall solves this by injecting relevant memories automatically before ever
The agent sees past context automatically without needing to remember to remember. This approach trades token cost for reliability - but for conversational agents, spending 500 tokens on auto-injected context is better than ignoring 10,000 stored facts because the model didn't call a tool.
## Understanding OpenClawd Concepts
## Understanding OpenClaw Concepts
### Plugins
Extensions that add functionality to OpenClawd. This Hindsight plugin:
Extensions that add functionality to OpenClaw. This Hindsight plugin:
- Runs a background service (manages `hindsight-embed` daemon)
- Registers hooks (automatic event handlers)
@ -79,7 +84,7 @@ Think of hooks as "forced automation" - they always run.
```
┌─────────────────────────────────────────┐
│ OpenClawd Gateway │
│ OpenClaw Gateway
│ │
│ ┌───────────────────────────────────┐ │
│ │ Hindsight Plugin │ │
@ -95,11 +100,11 @@ Think of hooks as "forced automation" - they always run.
uvx hindsight-embed
• Daemon on port 8889
• PostgreSQL (pg0://hindsight-embed)
• Bank: 'openclawd' (isolated within shared database)
• Bank: 'openclaw' (isolated within shared database)
• Fact extraction
```
**Database Architecture:** All banks share a single pg0 database instance (`pg0://hindsight-embed`). Bank isolation happens within the database via separate tables/schemas per bank ID. The 'openclawd' bank is automatically created when the plugin stores its first memory.
**Database Architecture:** All banks share a single pg0 database instance (`pg0://hindsight-embed`). Bank isolation happens within the database via separate tables/schemas per bank ID. The 'openclaw' bank is automatically created when the plugin stores its first memory.
**Local-First Design:**
- **Your data stays local**: All conversations, facts, and relationships stored in PostgreSQL on your machine
@ -113,7 +118,7 @@ Think of hooks as "forced automation" - they always run.
### Prerequisites
- **Node.js** 22+
- **OpenClawd** (Clawdbot) with plugin support
- **OpenClaw** (Clawdbot) with plugin support
- **uv/uvx** for running `hindsight-embed`
- **LLM API key** (OpenAI, Anthropic, etc.)
@ -125,9 +130,9 @@ export OPENAI_API_KEY="sk-your-key"
clawdbot config set 'agents.defaults.models."openai/gpt-4o-mini"' '{}'
# 2. Install and enable the plugin
clawdbot plugins install @vectorize-io/hindsight-openclawd
clawdbot plugins install @vectorize-io/hindsight-openclaw
# 3. Start OpenClawd
# 3. Start OpenClaw
clawdbot gateway
```
@ -142,7 +147,7 @@ Optional settings in `~/.clawdbot/clawdbot.json`:
{
"plugins": {
"entries": {
"hindsight-openclawd": {
"hindsight-openclaw": {
"enabled": true,
"config": {
"daemonIdleTimeout": 0
@ -185,7 +190,7 @@ clawdbot plugins list | grep hindsight
```
**Test auto-recall:**
Send a message on any OpenClawd channel (Telegram, Slack, etc.):
Send a message on any OpenClaw channel (Telegram, Slack, etc.):
```
User: My name is John and I love pizza
Bot: Got it! I'll remember that.
@ -201,7 +206,7 @@ tail -f ~/.hindsight/daemon.log
**Check memories in database:**
```bash
uvx hindsight-embed@latest memory recall openclawd "pizza" --output json
uvx hindsight-embed@latest memory recall openclaw "pizza" --output json
```
## Inspecting Memories
@ -225,31 +230,31 @@ uvx hindsight-embed@latest ui
**List memory banks:**
```bash
uvx hindsight-embed@latest bank list
# Shows all banks including 'openclawd'
# Shows all banks including 'openclaw'
```
**Query memories:**
```bash
# Search memories
uvx hindsight-embed@latest memory recall openclawd "user preferences" --output json
uvx hindsight-embed@latest memory recall openclaw "user preferences" --output json
# View recent memories
uvx hindsight-embed@latest memory list openclawd --limit 10
uvx hindsight-embed@latest memory list openclaw --limit 10
# Export all memories
uvx hindsight-embed@latest memory export openclawd --output memories.json
uvx hindsight-embed@latest memory export openclaw --output memories.json
```
**Inspect facts and entities:**
```bash
# List extracted facts
uvx hindsight-embed@latest fact list openclawd
uvx hindsight-embed@latest fact list openclaw
# List entities
uvx hindsight-embed@latest entity list openclawd
uvx hindsight-embed@latest entity list openclaw
# Show entity relationships
uvx hindsight-embed@latest entity graph openclawd
uvx hindsight-embed@latest entity graph openclaw
```
## Troubleshooting
@ -260,7 +265,7 @@ uvx hindsight-embed@latest entity graph openclawd
clawdbot plugins list | grep -i hindsight
# Reinstall if needed
clawdbot plugins install @vectorize-io/hindsight-openclawd
clawdbot plugins install @vectorize-io/hindsight-openclaw
```
**Daemon not starting?**
@ -294,40 +299,3 @@ tail -f /tmp/clawdbot/clawdbot-*.log | grep Hindsight
# [Hindsight Hook] agent_end triggered
# [Hindsight] Retained X messages for session ...
```
## Development
```bash
# Clone repo
git clone https://github.com/vectorize-io/hindsight.git
cd hindsight/hindsight-integrations/openclawd
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Install locally
npm run build && ./install.sh
```
## Requirements
- **Node.js** 22+
- **OpenClawd** (Clawdbot) with plugin support
- **uv/uvx** for running `hindsight-embed`
- **LLM API key** (OpenAI, Anthropic, etc.)
## License
MIT
## Links
- [Hindsight Documentation](https://vectorize.io/hindsight)
- [OpenClawd Documentation](https://openclawd.ai)
- [GitHub Repository](https://github.com/vectorize-io/hindsight)

View file

@ -189,8 +189,8 @@ const sidebars: SidebarsConfig = {
},
{
type: 'doc',
id: 'sdks/integrations/openclawd',
label: 'OpenClawd',
id: 'sdks/integrations/openclaw',
label: 'OpenClaw',
},
{
type: 'doc',

View file

@ -29,13 +29,13 @@ For full release details, see [GitHub Releases](https://github.com/vectorize-io/
**Other**
- Rename the default bot/user identity from "moltbot" to "openclawd". ([`728ce13`](https://github.com/vectorize-io/hindsight/commit/728ce13))
- Rename the default bot/user identity from "moltbot" to "openclaw". ([`728ce13`](https://github.com/vectorize-io/hindsight/commit/728ce13))
## [0.4.2](https://github.com/vectorize-io/hindsight/releases/tag/v0.4.2)
**Features**
- Added Clawdbot/Moltbot/OpenClawd integration. ([`12e9a3d`](https://github.com/vectorize-io/hindsight/commit/12e9a3d))
- Added Clawdbot/Moltbot/OpenClaw integration. ([`12e9a3d`](https://github.com/vectorize-io/hindsight/commit/12e9a3d))
**Improvements**

View file

@ -2,9 +2,9 @@
sidebar_position: 4
---
# OpenClawd
# OpenClaw
Local-first, persistent memory for [OpenClawd](https://openclawd.ai) agents using [Hindsight](https://vectorize.io/hindsight).
Local-first, persistent memory for [OpenClaw](https://openclaw.ai) agents using [Hindsight](https://vectorize.io/hindsight).
This plugin integrates [hindsight-embed](https://vectorize.io/hindsight/cli), a standalone daemon that bundles Hindsight's memory engine (API + PostgreSQL) into a single command. Everything runs locally on your machine, reuses the LLM you're already paying for, and costs nothing extra. The plugin automatically manages the daemon lifecycle and provides hooks for seamless memory capture and recall.
@ -16,9 +16,9 @@ export OPENAI_API_KEY="sk-your-key"
clawdbot config set 'agents.defaults.models."openai/gpt-4o-mini"' '{}'
# 2. Install and enable the plugin
clawdbot plugins install @vectorize-io/hindsight-openclawd
clawdbot plugins install @vectorize-io/hindsight-openclaw
# 3. Start OpenClawd
# 3. Start OpenClaw
clawdbot gateway
```
@ -61,10 +61,10 @@ Auto-recall solves this by injecting relevant memories automatically before ever
The agent sees past context automatically without needing to remember to remember. This approach trades token cost for reliability - but for conversational agents, spending 500 tokens on auto-injected context is better than ignoring 10,000 stored facts because the model didn't call a tool.
## Understanding OpenClawd Concepts
## Understanding OpenClaw Concepts
### Plugins
Extensions that add functionality to OpenClawd. This Hindsight plugin:
Extensions that add functionality to OpenClaw. This Hindsight plugin:
- Runs a background service (manages `hindsight-embed` daemon)
- Registers hooks (automatic event handlers)
@ -79,7 +79,7 @@ Think of hooks as "forced automation" - they always run.
```
┌─────────────────────────────────────────┐
│ OpenClawd Gateway │
│ OpenClaw Gateway │
│ │
│ ┌───────────────────────────────────┐ │
│ │ Hindsight Plugin │ │
@ -95,11 +95,11 @@ Think of hooks as "forced automation" - they always run.
uvx hindsight-embed
• Daemon on port 8889
• PostgreSQL (pg0://hindsight-embed)
• Bank: 'openclawd' (isolated within shared database)
• Bank: 'openclaw' (isolated within shared database)
• Fact extraction
```
**Database Architecture:** All banks share a single pg0 database instance (`pg0://hindsight-embed`). Bank isolation happens within the database via separate tables/schemas per bank ID. The 'openclawd' bank is automatically created when the plugin stores its first memory.
**Database Architecture:** All banks share a single pg0 database instance (`pg0://hindsight-embed`). Bank isolation happens within the database via separate tables/schemas per bank ID. The 'openclaw' bank is automatically created when the plugin stores its first memory.
**Local-First Design:**
- **Your data stays local**: All conversations, facts, and relationships stored in PostgreSQL on your machine
@ -113,7 +113,7 @@ Think of hooks as "forced automation" - they always run.
### Prerequisites
- **Node.js** 22+
- **OpenClawd** (Clawdbot) with plugin support
- **OpenClaw** (Clawdbot) with plugin support
- **uv/uvx** for running `hindsight-embed`
- **LLM API key** (OpenAI, Anthropic, etc.)
@ -125,9 +125,9 @@ export OPENAI_API_KEY="sk-your-key"
clawdbot config set 'agents.defaults.models."openai/gpt-4o-mini"' '{}'
# 2. Install and enable the plugin
clawdbot plugins install @vectorize-io/hindsight-openclawd
clawdbot plugins install @vectorize-io/hindsight-openclaw
# 3. Start OpenClawd
# 3. Start OpenClaw
clawdbot gateway
```
@ -142,7 +142,7 @@ Optional settings in `~/.clawdbot/clawdbot.json`:
{
"plugins": {
"entries": {
"hindsight-openclawd": {
"hindsight-openclaw": {
"enabled": true,
"config": {
"daemonIdleTimeout": 0
@ -185,7 +185,7 @@ clawdbot plugins list | grep hindsight
```
**Test auto-recall:**
Send a message on any OpenClawd channel (Telegram, Slack, etc.):
Send a message on any OpenClaw channel (Telegram, Slack, etc.):
```
User: My name is John and I love pizza
Bot: Got it! I'll remember that.
@ -201,7 +201,7 @@ tail -f ~/.hindsight/daemon.log
**Check memories in database:**
```bash
uvx hindsight-embed@latest memory recall openclawd "pizza" --output json
uvx hindsight-embed@latest memory recall openclaw "pizza" --output json
```
## Inspecting Memories
@ -225,31 +225,31 @@ uvx hindsight-embed@latest ui
**List memory banks:**
```bash
uvx hindsight-embed@latest bank list
# Shows all banks including 'openclawd'
# Shows all banks including 'openclaw'
```
**Query memories:**
```bash
# Search memories
uvx hindsight-embed@latest memory recall openclawd "user preferences" --output json
uvx hindsight-embed@latest memory recall openclaw "user preferences" --output json
# View recent memories
uvx hindsight-embed@latest memory list openclawd --limit 10
uvx hindsight-embed@latest memory list openclaw --limit 10
# Export all memories
uvx hindsight-embed@latest memory export openclawd --output memories.json
uvx hindsight-embed@latest memory export openclaw --output memories.json
```
**Inspect facts and entities:**
```bash
# List extracted facts
uvx hindsight-embed@latest fact list openclawd
uvx hindsight-embed@latest fact list openclaw
# List entities
uvx hindsight-embed@latest entity list openclawd
uvx hindsight-embed@latest entity list openclaw
# Show entity relationships
uvx hindsight-embed@latest entity graph openclawd
uvx hindsight-embed@latest entity graph openclaw
```
## Troubleshooting
@ -260,7 +260,7 @@ uvx hindsight-embed@latest entity graph openclawd
clawdbot plugins list | grep -i hindsight
# Reinstall if needed
clawdbot plugins install @vectorize-io/hindsight-openclawd
clawdbot plugins install @vectorize-io/hindsight-openclaw
```
**Daemon not starting?**
@ -300,7 +300,7 @@ tail -f /tmp/clawdbot/clawdbot-*.log | grep Hindsight
```bash
# Clone repo
git clone https://github.com/vectorize-io/hindsight.git
cd hindsight/hindsight-integrations/openclawd
cd hindsight/hindsight-integrations/openclaw
# Install dependencies
npm install
@ -318,7 +318,7 @@ npm run build && ./install.sh
## Requirements
- **Node.js** 22+
- **OpenClawd** (Clawdbot) with plugin support
- **OpenClaw** (Clawdbot) with plugin support
- **uv/uvx** for running `hindsight-embed`
- **LLM API key** (OpenAI, Anthropic, etc.)
@ -329,5 +329,5 @@ MIT
## Links
- [Hindsight Documentation](https://vectorize.io/hindsight)
- [OpenClawd Documentation](https://openclawd.ai)
- [OpenClaw Documentation](https://openclaw.ai)
- [GitHub Repository](https://github.com/vectorize-io/hindsight)

View file

@ -187,8 +187,8 @@
},
{
"type": "doc",
"id": "sdks/integrations/openclawd",
"label": "OpenClawd"
"id": "sdks/integrations/openclaw",
"label": "OpenClaw"
},
{
"type": "doc",

View file

@ -1,6 +1,6 @@
# Hindsight Memory Plugin for OpenClawd
# Hindsight Memory Plugin for OpenClaw
Biomimetic long-term memory for [OpenClawd](https://openclawd.ai) using [Hindsight](https://vectorize.io/hindsight). Automatically captures conversations and intelligently recalls relevant context.
Biomimetic long-term memory for [OpenClaw](https://openclaw.ai) using [Hindsight](https://vectorize.io/hindsight). Automatically captures conversations and intelligently recalls relevant context.
## Quick Start
@ -10,9 +10,9 @@ export OPENAI_API_KEY="sk-your-key"
clawdbot config set 'agents.defaults.models."openai/gpt-4o-mini"' '{}'
# 2. Install and enable the plugin
clawdbot plugins install @vectorize-io/hindsight-openclawd
clawdbot plugins install @vectorize-io/hindsight-openclaw
# 3. Start OpenClawd
# 3. Start OpenClaw
clawdbot gateway
```
@ -22,12 +22,12 @@ That's it! The plugin will automatically start capturing and recalling memories.
For full documentation, configuration options, troubleshooting, and development guide, see:
**[OpenClawd Integration Documentation](https://vectorize.io/hindsight/sdks/integrations/openclawd)**
**[OpenClaw Integration Documentation](https://vectorize.io/hindsight/sdks/integrations/openclaw)**
## Links
- [Hindsight Documentation](https://vectorize.io/hindsight)
- [OpenClawd Documentation](https://openclawd.ai)
- [OpenClaw Documentation](https://openclaw.ai)
- [GitHub Repository](https://github.com/vectorize-io/hindsight)
## License

View file

@ -1,5 +1,5 @@
{
"id": "hindsight-openclawd",
"id": "hindsight-openclaw",
"name": "Hindsight Memory",
"kind": "memory",
"configSchema": {

View file

@ -5,7 +5,7 @@ echo "🚀 Installing Hindsight Memory Plugin for Moltbot..."
# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
INSTALL_DIR="$HOME/.clawdbot/extensions/hindsight-openclawd"
INSTALL_DIR="$HOME/.clawdbot/extensions/hindsight-openclaw"
# Check Node version
if ! command -v node &> /dev/null; then
@ -41,9 +41,9 @@ echo "1. Make sure you have an OpenAI API key set:"
echo " export OPENAI_API_KEY=\"sk-your-key-here\""
echo ""
echo "2. Enable the plugin:"
echo " clawdbot plugins enable hindsight-openclawd"
echo " clawdbot plugins enable hindsight-openclaw"
echo ""
echo "3. Start OpenClawd:"
echo "3. Start OpenClaw:"
echo " clawdbot start"
echo ""
echo "On first start, uvx will automatically download hindsight-embed (no manual install needed)"

View file

@ -1,12 +1,12 @@
{
"name": "@vectorize-io/hindsight-moltbot-plugin",
"version": "0.1.0",
"name": "@vectorize-io/hindsight-openclaw",
"version": "0.4.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@vectorize-io/hindsight-moltbot-plugin",
"version": "0.1.0",
"name": "@vectorize-io/hindsight-openclaw",
"version": "0.4.3",
"license": "MIT",
"dependencies": {
"node-fetch": "^3.3.2"

View file

@ -1,7 +1,7 @@
{
"name": "@vectorize-io/hindsight-openclawd",
"name": "@vectorize-io/hindsight-openclaw",
"version": "0.4.3",
"description": "Hindsight memory plugin for OpenClawd - biomimetic long-term memory with fact extraction",
"description": "Hindsight memory plugin for OpenClaw - biomimetic long-term memory with fact extraction",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
@ -11,7 +11,7 @@
]
},
"keywords": [
"openclawd",
"openclaw",
"memory",
"ai",
"agent",
@ -23,7 +23,7 @@
"repository": {
"type": "git",
"url": "https://github.com/vectorize-io/hindsight.git",
"directory": "hindsight-integrations/openclawd"
"directory": "hindsight-integrations/openclaw"
},
"files": [
"dist",

View file

@ -26,7 +26,7 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
// Default bank name
const BANK_NAME = 'openclawd';
const BANK_NAME = 'openclaw';
// Provider mapping: moltbot provider name -> hindsight provider name
const PROVIDER_MAP: Record<string, string> = {
@ -114,7 +114,7 @@ function detectLLMConfig(api: MoltbotPluginAPI): {
}
function getPluginConfig(api: MoltbotPluginAPI): PluginConfig {
const config = api.config.plugins?.entries?.['hindsight-openclawd']?.config || {};
const config = api.config.plugins?.entries?.['hindsight-openclaw']?.config || {};
const defaultMission = '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.';
return {
@ -173,7 +173,7 @@ export default function (api: MoltbotPluginAPI) {
console.log('[Hindsight] Creating HindsightClient...');
client = new HindsightClient(llmConfig.provider, llmConfig.apiKey, llmConfig.model, pluginConfig.embedVersion);
// Use openclawd bank
// Use openclaw bank
console.log(`[Hindsight] Using bank: ${BANK_NAME}`);
client.setBankId(BANK_NAME);

View file

@ -144,14 +144,14 @@ else
print_warn "File $TYPESCRIPT_CLIENT_PKG not found, skipping"
fi
# Update OpenClawd integration
OPENCLAWD_PKG="hindsight-integrations/openclawd/package.json"
if [ -f "$OPENCLAWD_PKG" ]; then
print_info "Updating $OPENCLAWD_PKG"
sed -i.bak "s/\"version\": \".*\"/\"version\": \"$VERSION\"/" "$OPENCLAWD_PKG"
rm "${OPENCLAWD_PKG}.bak"
# Update OpenClaw integration
OPENCLAW_PKG="hindsight-integrations/openclaw/package.json"
if [ -f "$OPENCLAW_PKG" ]; then
print_info "Updating $OPENCLAW_PKG"
sed -i.bak "s/\"version\": \".*\"/\"version\": \"$VERSION\"/" "$OPENCLAW_PKG"
rm "${OPENCLAW_PKG}.bak"
else
print_warn "File $OPENCLAWD_PKG not found, skipping"
print_warn "File $OPENCLAW_PKG not found, skipping"
fi
# Update documentation version (creates new version or syncs to existing)
@ -198,7 +198,7 @@ COMMIT_MSG="Release v$VERSION
- TypeScript client: hindsight-clients/typescript
- Rust CLI: hindsight-cli
- Control Plane: hindsight-control-plane
- OpenClawd integration: hindsight-integrations/openclawd
- OpenClaw integration: hindsight-integrations/openclaw
- Helm chart"
# Add docs update note