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
2 changes: 1 addition & 1 deletion .agents/skills/run-leio-bench/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license: MIT OR Apache-2.0
compatibility: Requires python3, leio-harness, and a clean git checkout.
metadata:
author: leio-code
version: "2.6.6"
version: "2.6.7"
---

# run-leio-bench (repo-local)
Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/run-leio-code/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license: MIT OR Apache-2.0
compatibility: Requires cargo, python3, and a local git checkout.
metadata:
author: leio-code
version: "2.6.6"
version: "2.6.7"
---


Expand Down
2 changes: 1 addition & 1 deletion .chatgpt-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leio-code",
"version": "2.6.6",
"version": "2.6.7",
"description": "LEIO Code ChatGPT App — capability-aware repository intelligence over MCP Apps (https://leio-code.getjai.com/mcp). Local wiki, SPARQL explain, lattice nav.",
"mcp": {
"url": "https://leio-code.getjai.com/mcp",
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"name": "leio-code",
"description": "Indexed lookup, graph, doctors, local wiki, SPARQL-gated explain, formal graph, lattice nav, and JSON-LD provenance via CLI/MCP.",
"version": "2.6.6",
"version": "2.6.7",
"author": {
"name": "LEIO Code contributors",
"url": "https://github.com/josaum/leio-code"
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leio-code",
"version": "2.6.6",
"version": "2.6.7",
"description": "Agent-first code intelligence. CLI/MCP for index, find, graph, doctors, local Arrow wiki, SPARQL-gated knowledge explain, formal.nq, lattice/heading nav, and JSON-LD provenance events. Concurrent-agent safe.",
"author": {
"name": "LEIO Code contributors",
Expand Down
2 changes: 1 addition & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leio-code",
"version": "2.6.6",
"version": "2.6.7",
"description": "Agent-first code intelligence. Local Arrow wiki first, SPARQL-gated knowledge explain, formal.nq, lattice/heading nav, JSON-LD provenance. Fully local.",
"author": {
"name": "LEIO Code contributors",
Expand Down
42 changes: 30 additions & 12 deletions .github/workflows/binary-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,19 @@ jobs:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
asset_name: leio-code-linux-amd64
ext: ""
- os: macos-15
target: aarch64-apple-darwin
asset_name: leio-code-darwin-arm64
ext: ""
- os: macos-15-intel
target: x86_64-apple-darwin
asset_name: leio-code-darwin-amd64
ext: ""
- os: windows-latest
target: x86_64-pc-windows-msvc
asset_name: leio-code-windows-amd64
ext: ".exe"
runs-on: ${{ matrix.os }}
timeout-minutes: 60
permissions:
Expand All @@ -64,27 +71,37 @@ jobs:
with:
shared-key: leio-code-binary-${{ matrix.target }}
- name: Build release binary
shell: bash
env:
RUSTC_WRAPPER: ""
CARGO_TARGET_DIR: target
run: |
cargo build --locked --release --target ${{ matrix.target }} -p leio-code -p leio-harness
BINARY=$(find target -name leio-code -type f ! -path "*/deps/*" ! -path "*/build/*" | grep release | head -1)
HARNESS=$(find target -name leio-harness -type f ! -path "*/deps/*" ! -path "*/build/*" | grep release | head -1)
cp "$BINARY" ${{ matrix.asset_name }}
cp "$HARNESS" ${{ matrix.asset_name }}-harness
cp "target/${{ matrix.target }}/release/leio-code${{ matrix.ext }}" "${{ matrix.asset_name }}${{ matrix.ext }}"
cp "target/${{ matrix.target }}/release/leio-harness${{ matrix.ext }}" "${{ matrix.asset_name }}-harness${{ matrix.ext }}"
- name: Strip binary
shell: bash
run: |
command -v strip >/dev/null && strip ${{ matrix.asset_name }} ${{ matrix.asset_name }}-harness || true
if [ -z "${{ matrix.ext }}" ] && command -v strip >/dev/null; then
strip "${{ matrix.asset_name }}${{ matrix.ext }}" "${{ matrix.asset_name }}-harness${{ matrix.ext }}" || true
fi
- name: Smoke release binaries
shell: bash
run: |
./${{ matrix.asset_name }} --version
./${{ matrix.asset_name }}-harness --version
"./${{ matrix.asset_name }}${{ matrix.ext }}" --version
"./${{ matrix.asset_name }}-harness${{ matrix.ext }}" --version
- name: Checksum
shell: bash
run: |
shasum -a 256 ${{ matrix.asset_name }} > ${{ matrix.asset_name }}.sha256
shasum -a 256 ${{ matrix.asset_name }}-harness > ${{ matrix.asset_name }}-harness.sha256
if command -v shasum >/dev/null 2>&1; then
shasum -a 256 "${{ matrix.asset_name }}${{ matrix.ext }}" > "${{ matrix.asset_name }}${{ matrix.ext }}.sha256"
shasum -a 256 "${{ matrix.asset_name }}-harness${{ matrix.ext }}" > "${{ matrix.asset_name }}-harness${{ matrix.ext }}.sha256"
else
sha256sum "${{ matrix.asset_name }}${{ matrix.ext }}" > "${{ matrix.asset_name }}${{ matrix.ext }}.sha256"
sha256sum "${{ matrix.asset_name }}-harness${{ matrix.ext }}" > "${{ matrix.asset_name }}-harness${{ matrix.ext }}.sha256"
fi
- name: Ensure release
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
Expand All @@ -93,7 +110,8 @@ jobs:
gh release create "$TAG" --target "$GITHUB_SHA" \
--title "LEIO Code v${{ needs.resolve-tag.outputs.version }}" \
--notes "Binary release for leio-code v${{ needs.resolve-tag.outputs.version }}" \
--draft
--draft || true
fi
gh release upload "$TAG" "${{ matrix.asset_name }}" "${{ matrix.asset_name }}.sha256" \
"${{ matrix.asset_name }}-harness" "${{ matrix.asset_name }}-harness.sha256" --clobber
gh release upload "$TAG" \
"${{ matrix.asset_name }}${{ matrix.ext }}" "${{ matrix.asset_name }}${{ matrix.ext }}.sha256" \
"${{ matrix.asset_name }}-harness${{ matrix.ext }}" "${{ matrix.asset_name }}-harness${{ matrix.ext }}.sha256" --clobber
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to LEIO Code. Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow the crate version in `Cargo.toml`.

## [2.6.7] — 2026-10-28

### Added
- Windows x64 (`x86_64-pc-windows-msvc` / `win32-x64`) release support across `leio-code` and `leio-harness`, GitHub Release assets (`leio-code-windows-amd64.exe` and `leio-code-windows-amd64-harness.exe`), `cargo-binstall` metadata, `@leio/leio-code-mcp` binary installer, `leio-code` npm package, and `leio_code` `win_amd64` Python wheel.
- Cross-platform `leio-harness` process supervision, local TCP managed bus fallback, file-backed shared-memory ring and loopback UDP signaling plane, and native/local doctor pack execution on Windows.

## [2.6.5] — 2026-09-23

- Move product-specific doctors, baselines and regression tests into their owning
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

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

10 changes: 8 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude = ["tools/leio-self-doctors"]

[package]
name = "leio-code"
version = "2.6.6"
version = "2.6.7"
edition = "2024"
description = "Agent-first code intelligence for one repository at a time"
license = "MIT OR Apache-2.0"
Expand All @@ -26,11 +26,17 @@ pkg-url = "https://github.com/josaum/leio-code/releases/download/leio-code-plugi
[package.metadata.binstall.overrides.x86_64-unknown-linux-gnu]
pkg-url = "https://github.com/josaum/leio-code/releases/download/leio-code-plugin-v{ version }/leio-code-linux-amd64"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "https://github.com/josaum/leio-code/releases/download/leio-code-plugin-v{ version }/leio-code-windows-amd64.exe"

[package.metadata.binstall.overrides.x86_64-pc-windows-gnu]
pkg-url = "https://github.com/josaum/leio-code/releases/download/leio-code-plugin-v{ version }/leio-code-windows-amd64.exe"

[dependencies]
# Formal store + anchored-or-refuse SPARQL envelope, split out so runtimes
# that ship an ontology without a repo (container images, brain substrates)
# share one mechanism instead of re-implementing it.
leio-knowledge-core = { path = "crates/leio-knowledge-core", version = "2.6.6" }
leio-knowledge-core = { path = "crates/leio-knowledge-core", version = "2.6.7" }
anyhow = "1"
aho-corasick = "=1.1.4"
tempfile = "3"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ and confirm the session cursor is still there.

**15 of 15 scripted runs passed**, including cursor restoration after provider
restart. Measured on this repository's **420 indexed files**, Apple M1,
release 2.6.2. The current release is 2.6.6; these timings were not re-run.
release 2.6.2. The current release is 2.6.7; these timings were not re-run.
Five runs per scenario; warm index/graph. Timings include the
11 calls, checks and reconnect; setup is excluded.

Expand All @@ -71,9 +71,9 @@ npm install -g leio-code
cargo binstall leio-code
```

The Python wheel and the Node package install `leio-code`, `leio-harness`, and the stdio server `leio-mcp`. They register that server with harnesses already on the machine. Any other MCP host launches `leio-mcp`. `cargo binstall leio-code` installs Code. The release covers macOS arm64, macOS x64, and Linux x64. Pass an absolute `--repo` or `repo_root` for each codebase. Do not set `LEIO_CODE_REPO_ROOT`.
The Python wheel and the Node package install `leio-code`, `leio-harness`, and the stdio server `leio-mcp`. They register that server with harnesses already on the machine. Any other MCP host launches `leio-mcp`. `cargo binstall leio-code` installs Code. The release covers macOS arm64, macOS x64, Linux x64, and Windows x64. Pass an absolute `--repo` or `repo_root` for each codebase. Do not set `LEIO_CODE_REPO_ROOT`.

[Release 2.6.6](https://github.com/josaum/leio-code/releases/tag/leio-code-plugin-v2.6.6)
[Release 2.6.7](https://github.com/josaum/leio-code/releases/tag/leio-code-plugin-v2.6.7)

## Your first useful query

Expand Down
4 changes: 2 additions & 2 deletions apps-sdk/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 apps-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leio/leio-code-apps-sdk",
"version": "2.6.6",
"version": "2.6.7",
"private": true,
"type": "module",
"description": "OpenAI Apps SDK / ChatGPT MCP app for LEIO Code (self-host production-capable; private package)",
Expand Down
2 changes: 1 addition & 1 deletion crates/leio-harness/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "leio-harness"
version = "2.6.6"
version = "2.6.7"
edition = "2024"
license = "MIT OR Apache-2.0"
description = "LEIO-Harness — agent execution runtime for LEIO Code"
Expand Down
15 changes: 14 additions & 1 deletion crates/leio-harness/src/acp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ use crate::arrow_events::{EventStreamWriter, StreamEvent};
use crate::model::{AgentSessionResult, AgentSessionSpec, RunStatus};
use crate::process::inherited_value;
use anyhow::{Context, Result, bail};
#[cfg(unix)]
use nix::sys::signal::{Signal, killpg};
#[cfg(unix)]
use nix::unistd::Pid;
use std::collections::BTreeSet;
use std::fs::File;
Expand Down Expand Up @@ -406,8 +408,18 @@ fn terminate_group(pid: u32, grace_ms: u64) -> Result<()> {
}
#[cfg(not(unix))]
{
let _ = pid;
thread::sleep(Duration::from_millis(grace_ms));
#[cfg(windows)]
{
let _ = Command::new("taskkill")
.args(["/PID", &pid.to_string(), "/T", "/F"])
.stdin(Stdio::null())
.stdout(Stdio::null())
.stderr(Stdio::null())
.status();
}
#[cfg(not(windows))]
let _ = pid;
}
Ok(())
}
Expand All @@ -419,6 +431,7 @@ fn write_json_atomic(path: &Path, value: &impl serde::Serialize) -> Result<()> {
file.write_all(b"\n")?;
file.sync_all()?;
std::fs::rename(temporary, path)?;
#[cfg(unix)]
if let Some(parent) = path.parent() {
File::open(parent)?.sync_all()?;
}
Expand Down
Loading
Loading