Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 17 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ operation.
Install the latest tagged release from GitHub with Codex's native plugin flow:

```sh
codex plugin marketplace add Team-Volt/codex-lcm --ref v0.2.6
codex plugin marketplace add Team-Volt/codex-lcm --ref v0.2.7
codex plugin add codex-lcm@codex-lcm
```

Expand All @@ -119,20 +119,20 @@ The native plugin manifest wires the MCP server, lifecycle hooks, and
The first TUI session after install asks you to review and trust the lifecycle
hooks. That is expected. Hooks capture the session data that LCM indexes.

Upgrade an existing GitHub marketplace install to `v0.2.6`:
Upgrade an existing GitHub marketplace install to `v0.2.7`:

```sh
codex plugin marketplace remove codex-lcm
codex plugin marketplace add Team-Volt/codex-lcm --ref v0.2.6
codex plugin marketplace add Team-Volt/codex-lcm --ref v0.2.7
codex plugin add codex-lcm@codex-lcm
```

Upgrade a local checkout install to `v0.2.6` by checking out the release tag,
Upgrade a local checkout install to `v0.2.7` by checking out the release tag,
then asking Codex to refresh the installed plugin cache:

```sh
git -C /path/to/codex-lcm fetch --tags origin
git -C /path/to/codex-lcm checkout v0.2.6
git -C /path/to/codex-lcm checkout v0.2.7
codex plugin add codex-lcm@codex-lcm
```

Expand Down Expand Up @@ -161,7 +161,7 @@ codex plugin remove codex-lcm@codex-lcm

## Release Status

Current release: `v0.2.6`.
Current release: `v0.2.7`.

Codex LCM is a local-first Codex memory plugin with native plugin installation,
hook ingestion, sanitized raw event storage, SQLite FTS, DAG-backed retrieval,
Expand All @@ -171,18 +171,19 @@ tools. The `lcm-recall` skill gives Codex a repeatable retrieval workflow for
resumes, compaction recovery, long-running work, and questions about prior
sessions.

### v0.2.6 notes
### v0.2.7 notes

This release adds cross-project session observability and avoids unnecessary
raw-log scans during normal hook ingestion.
This release cuts derived SQLite storage and keeps multi-session retrieval
responses bounded without changing the raw JSONL source of truth.

- Adds session listing and token usage to the CLI and MCP server, including
parent/child lineage, model metadata, reasoning metadata, and cumulative token
usage backfilled from existing Codex transcripts.
- Keeps a bounded event and redacted overflow file for oversized hook inputs up
to the 8 MiB safety ceiling.
- Records synchronized raw-log state in SQLite so unchanged logs skip full
rescans while edited or truncated logs still use the reconciliation path.
- Adds `codex-lcm cleanup`, which previews index compaction by default and
requires `--apply` before writing.
- Keeps high-signal prompts, notes, outcomes, and compaction summaries in FTS
instead of duplicating large tool payloads across derived tables.
- Returns compact summaries from session listings, removes repeated MCP response
text, and makes full lineage arrays opt-in.
- Shortens post-compaction stop feedback while still requiring
`lcm_pack_context` before completion continues.

Use the [Installation](#installation) section for install and upgrade commands.

Expand Down
30 changes: 30 additions & 0 deletions docs/releases/v0.2.7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Codex LCM v0.2.7

`v0.2.7` cuts derived SQLite storage and keeps multi-session retrieval responses
bounded without changing the raw JSONL source of truth.

## Changes

- ([#45](https://github.com/Team-Volt/codex-lcm/pull/45)) Shorten post-compaction stop feedback to one sentence while still requiring `lcm_pack_context` before completion continues.
- ([#46](https://github.com/Team-Volt/codex-lcm/pull/46)) Add dry-run-first index cleanup, remove duplicated low-signal event text from derived search tables, return compact session summaries in one call, and reduce repeated MCP response data. On the database copy used for validation, cleanup reduced SQLite from about 2.56 GB to 1.13 GB while preserving the raw JSONL log.

## Upgrade to v0.2.7

Restart Codex Desktop or open a fresh Codex CLI/TUI session after upgrading so
the refreshed plugin cache, MCP server, hooks, and skill are loaded.

For an existing GitHub marketplace install:

```sh
codex plugin marketplace remove codex-lcm
codex plugin marketplace add Team-Volt/codex-lcm --ref v0.2.7
codex plugin add codex-lcm@codex-lcm
```

For a local checkout install:

```sh
git -C /path/to/codex-lcm fetch --tags origin
git -C /path/to/codex-lcm checkout v0.2.7
codex plugin add codex-lcm@codex-lcm
```
2 changes: 1 addition & 1 deletion plugins/codex-lcm/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codex-lcm",
"version": "0.2.6",
"version": "0.2.7",
"description": "Codex-native session-first lossless context memory with hook ingestion and MCP retrieval.",
"author": {
"name": "Team Volt"
Expand Down
4 changes: 2 additions & 2 deletions plugins/codex-lcm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/codex-lcm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codex-lcm",
"version": "0.2.6",
"version": "0.2.7",
"description": "Codex-native session-first lossless context memory plugin.",
"license": "MIT",
"author": "Team Volt",
Expand Down
2 changes: 1 addition & 1 deletion plugins/codex-lcm/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { createStorage } from "./storage.ts";
export async function main(argv: string[]): Promise<void> {
const [command, ...rest] = argv;
if (command === "--version" || command === "-v") {
process.stdout.write("0.2.6\n");
process.stdout.write("0.2.7\n");
return;
}
if (command === "--help" || command === "-h" || command === undefined) {
Expand Down
2 changes: 1 addition & 1 deletion plugins/codex-lcm/src/mcp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type JsonRpcRequest = {
};

const SERVER_NAME = "codex-lcm";
const SERVER_VERSION = "0.2.6";
const SERVER_VERSION = "0.2.7";
const SUPPORTED_PROTOCOL_VERSION = "2025-11-25";
const HEADER_SEPARATOR = Buffer.from("\r\n\r\n", "utf8");
const MAX_MESSAGE_BYTES = DEFAULT_LIMITS.maxInputBytes;
Expand Down