Skip to content

laya-codex v0.2.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 12:35
· 46 commits to main since this release
d55441e

One name: laya-codex

Everything you use is now called laya-codex. "Laya" by itself now refers only to the upstream Laya model that laya-codex uses to re-rank code.

before (0.1.x) now
laya command laya-codex
LAYA_* environment variables LAYA_CODEX_*
MCP server laya, tool laya_search server laya-codex, tool search

This is a clean break: the old names no longer work.

Upgrading from 0.1.x

  1. Reinstall, then remove the old binary:
    curl -fsSL https://raw.githubusercontent.com/pilotspace/laya-codex/main/install.sh | sh, then rm ~/.local/bin/laya.
  2. Plugin users, inside Claude Code: /plugin marketplace update laya-codex, then /plugin update laya-codex@laya-codex, then restart Claude Code.
  3. Repositories set up with laya init: run laya-codex init --repo <repo>, then delete the old laya hook entries from .claude/settings.local.json and the old "laya" server from .mcp.json.
  4. Environment variables: rename any LAYA_* you set to LAYA_CODEX_*.

See the CHANGELOG for the full guide.

New ways to get started

  • Homebrew: brew install pilotspace/tap/laya-codex, then install.sh --model-only to fetch the model.
  • A new README with charts. In the benchmark, a correct file was already in Claude's context before its first turn in 15 of 20 tasks; stock Claude Code got there at turn 6.5 (median).
  • Example use cases and How it works, both built from real output.

Fixes

  • laya-codex now finds its bundled moon even when it's run through a symlink, as Homebrew installs it.
  • init now writes the plain laya-codex hook command instead of a version-specific path that breaks when you upgrade.
  • doctor now tells you to fetch a missing model with install.sh --model-only.

The benchmark numbers, the model and the injection format are unchanged from v0.1.x.

Known limitations

  • Moon password: the local search server's password is visible in the process list until Moon enforces its ACL file.
  • Linux: laya-codex ranks by keywords alone by default, because the model runs on the CPU there and is too slow.