#!/usr/bin/env node /** * Hippo CLI - biologically-inspired memory system for AI agents. * * Commands: * hippo init [--global] * hippo remember [--tag ] [--error] [--pin] [--global] * hippo recall [--budget ] [--json] [--why] * hippo sleep [--dry-run] * hippo status * hippo outcome --good | --bad [--id ] * hippo conflicts [--status ] [--json] * hippo snapshot * hippo session * hippo handoff * hippo card * hippo current * hippo forget [--archive --reason ""] * hippo reject |--value "" --reason "" * hippo rejections * hippo unreject * hippo inspect * hippo embed [--status] * hippo watch "" * hippo learn --git [--days ] [--repos ] * hippo daily-runner * hippo promote * hippo sync * hippo decide "" [--context ""] [--supersedes ] * hippo wm */ import { MemoryEntry } from './memory.js'; import * as api from './api.js'; /** Test-only: reset the module-level recall-history Map. Call from beforeEach. */ export declare function __resetSessionRecallHistoryCli(): void; export declare function parseArgs(argv: string[]): { command: string; args: string[]; flags: Record; }; /** * Scan for Claude Code MEMORY.md files and import new entries into hippo. * Looks in ~/.claude/projects//memory/ for .md files with YAML frontmatter. */ export declare function learnFromMemoryMd(hippoRoot: string, homeDir?: string): number; /** * Render an api.sleep result as console output, byte-identical to the * pre-extraction inline implementation in cmdSleepCore. */ /** @internal — exported for snapshot tests (tests/cli-context-render-snapshot.test.ts). NOT a stable public API. */ export declare function renderSleepResult(result: api.SleepResult): void; /** @internal — exported for snapshot tests (tests/cli-context-render-snapshot.test.ts). NOT a stable public API. */ export declare function printContextMarkdown(items: Array<{ entry: MemoryEntry; score: number; tokens: number; isGlobal: boolean; }>, totalTokens: number, framing?: string): void; //# sourceMappingURL=cli.d.ts.map