Skip to content

CodeLedger 0.10.87 portable

Latest

Choose a tag to compare

@aseddeek aseddeek released this 01 Dec 20:58
· 6 commits to main since this release

CodeLedger 0.10.87 portable

CodeLedger gives your coding agent read-only access to committed source in the Git worktree you choose. Each result includes the Git revision, repository-relative path, line number, and matching text.

  • Search committed source, tests, and documentation by a literal symbol or phrase through the CLI or local MCP.
  • Name a repository-relative file to limit the search. CodeLedger reports when it cannot find that file in committed HEAD and distinguishes this from an existing file with zero matches.
  • Save a lookup and recheck its citations at the current revision. A changed revision or altered citation makes the check fail.

The portable command set is activation, saved citation checks, capabilities, version, help, and the local stdio MCP server. Use the 0.10.86 release if your workflow depends on its full-runtime commands. Your client can inspect uncommitted changes with its own tools.

Quickstart

Use Git and Node.js 20 or newer. The package was tested with Node.js 22.22.2 on macOS, Windows, and Linux, and with Node.js 20 on Linux. Use the version-pinned install.

npm install --global @codeledger/cli@0.10.87
codeledger --version
codeledger activate --repo "/absolute/path/to/worktree" --task "Where is the HTTP retry delay set?" --query "Retry-After"

Choose a worktree with at least one commit. Replace the example with a symbol or phrase that appears in your project. Omit --repo when running from that worktree. To check one file, add --file src/retry.ts. The output includes a requested_context_missing warning if there is no eligible committed file at that path.

Connect your coding agent

Run the setup command for your client. Give each worktree its own MCP entry and use an absolute launcher path if the client cannot find codeledger-mcp on its PATH. On Windows, use the npm launcher path your shell resolves or configure the client to run node with the absolute path to the installed codeledger-open.cjs, followed by mcp start --repo and the worktree path.

codex mcp add codeledger -- codeledger-mcp --repo "/absolute/path/to/worktree"
claude mcp add --transport stdio codeledger -- codeledger-mcp --repo "/absolute/path/to/worktree"

Ask your agent, “Use CodeLedger to find where this repository sets the HTTP retry delay. Search for Retry-After and cite the revision, file, and line.” The get_activation_payload tool accepts a task, a literal query, and an optional file. Give the client access only to worktrees whose excerpts it may receive.

Download or remove

For an offline install, verify the portable ZIP against SHA256SUMS.txt before extracting it. Use node /path/to/codeledger-open.cjs in place of codeledger. For MCP, use that same Node command followed by mcp start --repo /absolute/path/to/worktree.

To remove the npm installation, run npm uninstall --global @codeledger/cli and remove the server entry from your client.

How did your first lookup go?

Use the first-lookup feedback form after trying CodeLedger. Report where you got stuck or whether the citation answered your question. The form is public and requires GitHub sign-in. Use a public repo or a made-up example, and leave out private code, paths, logs, and credentials.

For this week's first-lookup round, join the group of five.