diff --git a/CHANGELOG.md b/CHANGELOG.md index 50317f6..c92671c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,21 @@ All notable changes to lcode are documented here. The format follows ## [Unreleased] +## [0.18.0] - 2026-10-06 + +### Added + +- `lcode -p "…" --output json` prints one result object (status, answer, tool calls, files + changed, token usage); `--output stream-json` prints an event per model step and tool result, + then the result. `--max-steps` and `--allowed-tools` limit a run, and the exit code says how it + ended. Without a person to ask, anything that needs permission is refused. +- A Python API: `from lcode import Session`, with `run()`, `stream()` and an `approve` callback + for permission requests. See `examples/api/fix_tests.py`. +- A GitHub Action for self-hosted runners (`uses: nasser1941/lcode@v0.18.0`). It answers `@lcode` + in issues and pull requests from the repository's owners, members and collaborators, proposes + changes as a pull request (or pushes them to the pull request's branch), and can review pull + requests. See [Automation](https://nasser1941.github.io/lcode/automation/). + ## [0.17.0] - 2026-10-06 ### Added @@ -419,7 +434,8 @@ First public release. - `AGENTS.md` project instructions and `/init` to generate them. - One-line installer for Linux and macOS. -[Unreleased]: https://github.com/nasser1941/lcode/compare/v0.17.0...HEAD +[Unreleased]: https://github.com/nasser1941/lcode/compare/v0.18.0...HEAD +[0.18.0]: https://github.com/nasser1941/lcode/compare/v0.17.0...v0.18.0 [0.17.0]: https://github.com/nasser1941/lcode/compare/v0.16.0...v0.17.0 [0.16.0]: https://github.com/nasser1941/lcode/compare/v0.15.0...v0.16.0 [0.15.0]: https://github.com/nasser1941/lcode/compare/v0.14.0...v0.15.0 diff --git a/README.md b/README.md index c6977ac..433912f 100644 --- a/README.md +++ b/README.md @@ -178,8 +178,8 @@ fills up. Details: [How it works](https://nasser1941.github.io/lcode/how-it-work See the pinned [Roadmap issue](https://github.com/nasser1941/lcode/issues/10). Next up: -- [Automation: JSON output, a Python API and a GitHub Action for self-hosted runners](https://github.com/nasser1941/lcode/issues/48) - [Editor integration through the Agent Client Protocol](https://github.com/nasser1941/lcode/issues/49) +- [Long-running work: finish notifications and background commands](https://github.com/nasser1941/lcode/issues/51) - More models in the catalog, and test reports from your hardware ([report one](https://github.com/nasser1941/lcode/issues/new?template=model_request.yml)) ## Contributing diff --git a/docs/quickstart.md b/docs/quickstart.md index 6ec3ac5..e80f7ca 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -12,7 +12,7 @@ lcode ```text ╭──────────────────────────────────────────────╮ -│ lcode v0.17.0 — local coding agent │ +│ lcode v0.18.0 — local coding agent │ │ │ │ model lcode-qwen3.6-35b │ │ context 256K tokens │ diff --git a/src/lcode/__init__.py b/src/lcode/__init__.py index 8539a2a..0fcc767 100644 --- a/src/lcode/__init__.py +++ b/src/lcode/__init__.py @@ -3,7 +3,7 @@ From a program: `from lcode import Session` (see lcode.api). """ -__version__ = "0.17.0" +__version__ = "0.18.0" API = ("Session", "Result", "Options", "SetupError")