fix conflicts with the new version

This commit is contained in:
Hande committed 2026-01-28 15:08:04 +01:00
1 parent a57cc024c6
commit 140a640ebf
4 files changed
+10 -5

No files matched your search

+2
View File
@@ -12,3 +12,5 @@ export * from "./runtime-overrides.js";
export * from "./types.js";
export { validateConfigObject, validateConfigObjectWithPlugins } from "./validation.js";
export { MoltbotSchema } from "./zod-schema.js";
export type { MoltbotConfig as ClawdbotConfig } from "./types.js";
+4 -4
View File
@@ -1,6 +1,6 @@
import fs from "node:fs/promises";
import path from "node:path";
import type { ClawdbotConfig } from "../config/config.js";
import type { MoltbotConfig } from "../config/config.js";
import { resolveAgentWorkspaceDir } from "../agents/agent-scope.js";
import { resolveSessionTranscriptsDirForAgent } from "../config/sessions/paths.js";
import { createSubsystemLogger } from "../logging/subsystem.js";
@@ -40,7 +40,7 @@ export type CogneeMemorySource = "memory" | "sessions";
export class CogneeMemoryProvider {
private readonly client: CogneeClient;
private readonly cfg: ClawdbotConfig;
private readonly cfg: MoltbotConfig;
private readonly agentId: string;
private readonly workspaceDir: string;
private readonly datasetName: string;
@@ -53,7 +53,7 @@ export class CogneeMemoryProvider {
private syncedFiles = new Map<string, string>(); // path -> hash
constructor(
cfg: ClawdbotConfig,
cfg: MoltbotConfig,
agentId: string,
sources: Array<CogneeMemorySource>,
config: CogneeProviderConfig = {},
@@ -412,7 +412,7 @@ export class CogneeMemoryProvider {
}
export async function createCogneeProvider(
cfg: ClawdbotConfig,
cfg: MoltbotConfig,
agentId: string,
sources: Array<CogneeMemorySource>,
config: CogneeProviderConfig = {},