From e1407ae9cf117885c07d8faeae4431033a8c4e42 Mon Sep 17 00:00:00 2001 From: VasilevNStas Date: Thu, 18 Jun 2026 20:28:26 +0300 Subject: [PATCH] docs: clarify that opencode-db works with OpenCode's local SQLite database MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously the description was ambiguous — sounded like a connector to an external DB. Now it's clear: OpenCode stores everything in a local SQLite file, and opencode-db is the CLI for that data. --- README.md | 4 +--- README_PYPI.md | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5603b16..5c7f07d 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,7 @@ [![Python](https://img.shields.io/badge/python-3.12%2B-blue)](https://www.python.org/downloads/) [![License](https://img.shields.io/badge/license-MIT-green)](LICENSE) -**OpenCode database manager: browse, export, analyze, and clean up sessions.** - -`opencode-db` is a CLI utility that connects to OpenCode's local SQLite database and lets you inspect your agent sessions, export conversations to Markdown, track token usage and costs, and manage storage by deleting old sessions or optimizing the database. +**OpenCode stores everything in a local SQLite database.** Every agent session, conversation, token usage, and cost is saved automatically. `opencode-db` is the CLI tool to work with that database — list sessions, export conversations to Markdown, track token costs, prune old data, and more. ``` opencode-db help # full reference with examples diff --git a/README_PYPI.md b/README_PYPI.md index 91c2c1b..d83dbe4 100644 --- a/README_PYPI.md +++ b/README_PYPI.md @@ -3,7 +3,7 @@ [![Python](https://img.shields.io/badge/python-3.12%2B-blue)](https://www.python.org/downloads/) [![License](https://img.shields.io/badge/license-MIT-green)](LICENSE) -**OpenCode database CLI manager** — browse, export, analyze, and clean up agent sessions. +**CLI for OpenCode's local database.** OpenCode saves every agent session, conversation, token usage, and cost in a local SQLite file. This tool lets you inspect, export, analyze, and clean up that data. ```bash pip install opencode-db diff --git a/pyproject.toml b/pyproject.toml index 6396d84..6493e5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "opencode-db" -version = "0.4.9" +version = "0.5.0" description = "OpenCode database CLI manager — browse, export, analyze, clean up sessions" readme = "README_PYPI.md" requires-python = ">=3.12"