From 64e49be1065f56fabd673534381a495f3ddc9102 Mon Sep 17 00:00:00 2001 From: Emal Alwis Date: Wed, 15 Apr 2026 00:53:26 -0700 Subject: [PATCH] fix(packaging): include README in published npm + lib crate - npm/package.json: add README.md to files allowlist; bump version stub to 0.15.1 - npm/README.md: correct install command to scoped @avala-ai/agent-code - crates/lib/Cargo.toml: point readme at root README so agent-code-lib has a docs page on crates.io --- crates/lib/Cargo.toml | 1 + npm/README.md | 2 +- npm/package.json | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/lib/Cargo.toml b/crates/lib/Cargo.toml index 084f9a5..e41749b 100644 --- a/crates/lib/Cargo.toml +++ b/crates/lib/Cargo.toml @@ -3,6 +3,7 @@ name = "agent-code-lib" version = "0.15.1" edition = "2024" description = "Agent engine library: LLM providers, tools, query loop, memory" +readme = "../../README.md" license = "MIT" [dependencies] diff --git a/npm/README.md b/npm/README.md index 4cd776b..5cfdb8c 100644 --- a/npm/README.md +++ b/npm/README.md @@ -7,7 +7,7 @@ This is the npm wrapper package — it downloads the correct prebuilt binary for ## Install ```bash -npm install -g agent-code +npm install -g @avala-ai/agent-code ``` ## Usage diff --git a/npm/package.json b/npm/package.json index 16a7820..9f78d50 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "@avala-ai/agent-code", - "version": "0.14.0", + "version": "0.15.1", "description": "AI coding agent for the terminal. Built in Rust.", "license": "MIT", "repository": { @@ -22,6 +22,7 @@ }, "files": [ "install.js", - "bin/" + "bin/", + "README.md" ] }