Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@cookielab.io/klovi

Package Overview
Dependencies
Maintainers
5
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cookielab.io/klovi

Klovi — browse and present AI coding session history

latest
Source
npmnpm
Version
3.5.0
Version published
Weekly downloads
97
-27.61%
Maintainers
5
Weekly downloads
 
Created
Source

@cookielab.io/klovi

Browse and present AI coding session history. Supports Claude Code, Codex CLI, Cursor, and OpenCode.

Quick Start

bunx @cookielab.io/klovi@latest

Klovi starts a local server on http://127.0.0.1:3583 and opens your browser. All data stays on your machine. Sessions are read directly from each tool's local storage.

Compatibility run:

npx @cookielab.io/klovi@latest

CLI Options

klovi [options]

Options:
  --port NUMBER     Override the default port (default: 3583)
  --no-browser      Start the server without opening a browser

Environment Variables

VariableDefaultDescription
KLOVI_PORT3583Server port
KLOVI_HOST127.0.0.1Bind address (localhost-only by default)
KLOVI_STATIC_DIR(auto)Override the static assets directory
KLOVI_SETTINGS_PATH~/.klovi/settings.jsonOverride the settings file used by the CLI

Programmatic API

import { startKloviServer } from "@cookielab.io/klovi/server";

const server = await startKloviServer({
  host: "127.0.0.1",
  port: 3583,
});

console.log(`Klovi listening on ${server.url}`);

// Later:
server.stop();

startKloviServer(options?)

Starts the Klovi backend server. Returns { url, stop() }.

OptionTypeDefaultDescription
hoststring"127.0.0.1"Bind address
portnumber0 (auto)Server port
versionstring"dev"Version string
commitstring""Commit hash
settingsPathstring~/.klovi/settings.jsonSettings file path
runtime"auto" | "bun" | "node""auto"Runtime selection

Supported Tools

  • Claude Code — reads from ~/.claude/projects/
  • Codex CLI — reads from ~/.codex/sessions/
  • Cursor — reads from ~/.cursor/ plus Cursor's platform-specific app-support SQLite state
  • OpenCode — reads from ~/.local/share/opencode/opencode.db

Settings

Klovi stores settings in ~/.klovi/settings.json by default. The settings file tracks:

  • enabled/disabled state for each built-in plugin
  • optional custom data directory overrides per plugin
  • general UI settings such as the security warning preference

In browser-served mode there is no native directory picker, so custom plugin paths are edited manually.

License

MIT

FAQs

Package last updated on 06 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts