Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

744 B
Raw Blame
/**
 * Test shim for openclaw/plugin-sdk.
 * At runtime this is resolved from the OpenClaw gateway.
 */
export interface OpenClawPluginApi {
  pluginConfig: Record<string, unknown>;
  logger: {
    info(msg: string): void;
    warn(msg: string): void;
    error(msg: string): void;
    debug(msg: string): void;
  };
  resolvePath(p: string): string;
  registerTool(definition: Record<string, unknown>, metadata?: Record<string, unknown>): void;
  on(event: string, handler: (event: any, ctx: any) => any): void;
  registerCli(handler: (context: { program: any }) => void, options?: Record<string, unknown>): void;
  registerService(service: { id: string; start: (...args: any[]) => void; stop: () => void }): void;
  [key: string]: unknown;
}