From f22dc040d3a909e889d51885e1166d8ff0e542c0 Mon Sep 17 00:00:00 2001 From: omartelo Date: Sat, 10 Oct 2026 00:40:24 -0300 Subject: [PATCH] chore: release v0.20.0 --- .claude-plugin/plugin.json | 2 +- .codex-plugin/plugin.json | 2 +- CHANGELOG.md | 5 ++++- hooks/mod-compacting.js | 2 +- hooks/mod-control.js | 2 +- hooks/mod-status.js | 2 +- hooks/mod-usage.js | 2 +- hooks/report-session-start.sh | 2 +- hooks/report-state.sh | 2 +- hooks/report-title.sh | 2 +- hooks/report-tool.sh | 2 +- hooks/report-touched.sh | 2 +- hooks/worker-answer.js | 2 +- omp/lich.js | 2 +- opencode/lich.js | 2 +- 15 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index f1faf5d..99608ae 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "lich", "description": "Claude Code plugin for the lich harness", - "version": "0.19.2", + "version": "0.20.0", "author": { "name": "omartelo" } diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index ad2d2c7..1d3548f 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "lich", - "version": "0.19.2", + "version": "0.20.0", "description": "Codex CLI plugin for the lich harness", "author": { "name": "omartelo" diff --git a/CHANGELOG.md b/CHANGELOG.md index 6563712..0c67138 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.20.0] - 2026-10-10 + ### Added - **The agent-facing mod text also comes in Simplified Chinese and Spanish.** @@ -732,7 +734,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 plugin is safe to install globally. Requests time out after ~1s and errors are swallowed — the hook never blocks or fails the turn. -[Unreleased]: https://github.com/omartelo/lich-plugin/compare/v0.19.2...HEAD +[Unreleased]: https://github.com/omartelo/lich-plugin/compare/v0.20.0...HEAD +[0.20.0]: https://github.com/omartelo/lich-plugin/compare/v0.19.2...v0.20.0 [0.19.2]: https://github.com/omartelo/lich-plugin/compare/v0.19.1...v0.19.2 [0.19.1]: https://github.com/omartelo/lich-plugin/compare/v0.19.0...v0.19.1 [0.19.0]: https://github.com/omartelo/lich-plugin/compare/v0.18.4...v0.19.0 diff --git a/hooks/mod-compacting.js b/hooks/mod-compacting.js index ac93103..b225c83 100644 --- a/hooks/mod-compacting.js +++ b/hooks/mod-compacting.js @@ -19,7 +19,7 @@ // refuses a module that hands `$` to a nested function. // Sent as X-Lich-Plugin on every request; bumped at release (CLAUDE.md, Release). -const PLUGIN_VERSION = "0.19.2" +const PLUGIN_VERSION = "0.20.0" /** * @typedef {import('claude-code').EngineInterface} Engine diff --git a/hooks/mod-control.js b/hooks/mod-control.js index f5b1762..7e52b62 100644 --- a/hooks/mod-control.js +++ b/hooks/mod-control.js @@ -15,7 +15,7 @@ import { promptLang, say } from "./prompt-text.js" // Sent as X-Lich-Plugin on every request; bumped at release (CLAUDE.md, Release). -const PLUGIN_VERSION = "0.19.2" +const PLUGIN_VERSION = "0.20.0" const SETTLE_WHEN_IDLE = new Set(["prompt", "command"]) diff --git a/hooks/mod-status.js b/hooks/mod-status.js index 2b631a0..2514da8 100644 --- a/hooks/mod-status.js +++ b/hooks/mod-status.js @@ -12,7 +12,7 @@ import { setStatusPart } from "./status-line.js" // Sent as X-Lich-Plugin on every request; bumped at release (CLAUDE.md, Release). -const PLUGIN_VERSION = "0.19.2" +const PLUGIN_VERSION = "0.20.0" // The contract asks for a read at most every few seconds; the worker count in // agent-cards.js polls lich on the same period. diff --git a/hooks/mod-usage.js b/hooks/mod-usage.js index c9ba623..084144e 100644 --- a/hooks/mod-usage.js +++ b/hooks/mod-usage.js @@ -12,7 +12,7 @@ // refuses a module that hands `$` to a nested function. // Sent as X-Lich-Plugin on every request; bumped at release (CLAUDE.md, Release). -const PLUGIN_VERSION = "0.19.2" +const PLUGIN_VERSION = "0.20.0" /** * @typedef {import('claude-code').EngineInterface} Engine diff --git a/hooks/report-session-start.sh b/hooks/report-session-start.sh index a1d8d50..d9b5a16 100755 --- a/hooks/report-session-start.sh +++ b/hooks/report-session-start.sh @@ -7,7 +7,7 @@ [ -n "$LICH_PORT" ] && [ -n "$LICH_TOKEN" ] && [ -n "$LICH_SESSION_ID" ] || exit 0 # Sent as X-Lich-Plugin on every report; bumped at release (CLAUDE.md, Release). -plugin_version=0.19.2 +plugin_version=0.20.0 provider=${1:-claude} # A file-shipped install that lacks conversation-id.sh says so and still diff --git a/hooks/report-state.sh b/hooks/report-state.sh index 7fb1bda..f3caf6f 100755 --- a/hooks/report-state.sh +++ b/hooks/report-state.sh @@ -8,7 +8,7 @@ [ -n "$LICH_PORT" ] && [ -n "$LICH_TOKEN" ] && [ -n "$LICH_SESSION_ID" ] || exit 0 # Sent as X-Lich-Plugin on every report; bumped at release (CLAUDE.md, Release). -plugin_version=0.19.2 +plugin_version=0.20.0 # A file-shipped install that lacks conversation-id.sh says so and still # runs: sourcing a missing file would end the script. `${0%/*}` rather than diff --git a/hooks/report-title.sh b/hooks/report-title.sh index 393b23e..0408ceb 100755 --- a/hooks/report-title.sh +++ b/hooks/report-title.sh @@ -11,7 +11,7 @@ [ -n "$LICH_PORT" ] && [ -n "$LICH_TOKEN" ] && [ -n "$LICH_SESSION_ID" ] || exit 0 # Sent as X-Lich-Plugin on every report; bumped at release (CLAUDE.md, Release). -plugin_version=0.19.2 +plugin_version=0.20.0 command -v jq >/dev/null 2>&1 || exit 0 # Checked before stdin is read, because it is the whole point: finding a title diff --git a/hooks/report-tool.sh b/hooks/report-tool.sh index 3f947c0..c1108fa 100755 --- a/hooks/report-tool.sh +++ b/hooks/report-tool.sh @@ -11,7 +11,7 @@ [ -n "$LICH_PORT" ] && [ -n "$LICH_TOKEN" ] && [ -n "$LICH_SESSION_ID" ] || exit 0 # Sent as X-Lich-Plugin on every report; bumped at release (CLAUDE.md, Release). -plugin_version=0.19.2 +plugin_version=0.20.0 here=$(dirname "$0") diff --git a/hooks/report-touched.sh b/hooks/report-touched.sh index 8dbfe10..bfe08ee 100755 --- a/hooks/report-touched.sh +++ b/hooks/report-touched.sh @@ -6,7 +6,7 @@ [ -n "$LICH_PORT" ] && [ -n "$LICH_TOKEN" ] && [ -n "$LICH_SESSION_ID" ] || exit 0 # Sent as X-Lich-Plugin on every report; bumped at release (CLAUDE.md, Release). -plugin_version=0.19.2 +plugin_version=0.20.0 curl -s -o /dev/null --max-time 1 \ -X POST "http://127.0.0.1:${LICH_PORT}/session-touched?token=${LICH_TOKEN}" \ diff --git a/hooks/worker-answer.js b/hooks/worker-answer.js index d6cbd48..2d30454 100644 --- a/hooks/worker-answer.js +++ b/hooks/worker-answer.js @@ -33,7 +33,7 @@ // refuses a module that hands `$` to a nested function. // Sent as X-Lich-Plugin on every request; bumped at release (CLAUDE.md, Release). -const PLUGIN_VERSION = "0.19.2" +const PLUGIN_VERSION = "0.20.0" // The value a lich older than LICH_SUBAGENT_DEPTH spawns every `--subagent` // session with. diff --git a/omp/lich.js b/omp/lich.js index 280c849..53217c8 100644 --- a/omp/lich.js +++ b/omp/lich.js @@ -24,7 +24,7 @@ // environment is read per report rather than at import, so a module loaded // outside lich stays a no-op instead of a cached decision. // Sent as X-Lich-Plugin on every report; bumped at release (CLAUDE.md, Release). -const PLUGIN_VERSION = "0.19.2" +const PLUGIN_VERSION = "0.20.0" function report(path, body) { const port = process.env.LICH_PORT diff --git a/opencode/lich.js b/opencode/lich.js index 14f1c70..970d424 100644 --- a/opencode/lich.js +++ b/opencode/lich.js @@ -11,7 +11,7 @@ // environment is read per report rather than at import, so a module loaded // outside lich stays a no-op instead of a cached decision. // Sent as X-Lich-Plugin on every report; bumped at release (CLAUDE.md, Release). -const PLUGIN_VERSION = "0.19.2" +const PLUGIN_VERSION = "0.20.0" function report(path, body) { const port = process.env.LICH_PORT