refactor: rename clawdbot to moltbot with legacy compat

This commit is contained in:
Peter Steinberger
2026-01-27 12:19:58 +00:00
parent 83460df96f
commit 6d16a658e5
1839 changed files with 11250 additions and 11199 deletions

View File

@@ -24,7 +24,7 @@ describe("memory plugin e2e", () => {
let dbPath: string;
beforeEach(async () => {
tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-memory-test-"));
tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-memory-test-"));
dbPath = path.join(tmpDir, "lancedb");
});
@@ -165,7 +165,7 @@ describeLive("memory plugin live tests", () => {
let dbPath: string;
beforeEach(async () => {
tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-memory-live-"));
tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-memory-live-"));
dbPath = path.join(tmpDir, "lancedb");
});

View File

@@ -1,5 +1,5 @@
/**
* Clawdbot Memory (LanceDB) Plugin
* Moltbot Memory (LanceDB) Plugin
*
* Long-term memory with vector search for AI conversations.
* Uses LanceDB for storage and OpenAI for embeddings.
@@ -10,7 +10,7 @@ import { Type } from "@sinclair/typebox";
import * as lancedb from "@lancedb/lancedb";
import OpenAI from "openai";
import { randomUUID } from "node:crypto";
import type { ClawdbotPluginApi } from "clawdbot/plugin-sdk";
import type { MoltbotPluginApi } from "clawdbot/plugin-sdk";
import { stringEnum } from "clawdbot/plugin-sdk";
import {
@@ -220,7 +220,7 @@ const memoryPlugin = {
kind: "memory" as const,
configSchema: memoryConfigSchema,
register(api: ClawdbotPluginApi) {
register(api: MoltbotPluginApi) {
const cfg = memoryConfigSchema.parse(api.pluginConfig);
const resolvedDbPath = api.resolvePath(cfg.dbPath!);
const vectorDim = vectorDimsForModel(cfg.embedding.model ?? "text-embedding-3-small");

View File

@@ -2,13 +2,13 @@
"name": "@moltbot/memory-lancedb",
"version": "2026.1.26",
"type": "module",
"description": "Clawdbot LanceDB-backed long-term memory plugin with auto-recall/capture",
"description": "Moltbot LanceDB-backed long-term memory plugin with auto-recall/capture",
"dependencies": {
"@lancedb/lancedb": "^0.23.0",
"@sinclair/typebox": "0.34.47",
"openai": "^6.16.0"
},
"clawdbot": {
"moltbot": {
"extensions": [
"./index.ts"
]