diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 2434492..d3ff060 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.20.6", + "version": "0.20.7", "author": { "name": "omartelo" } diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index efbb26d..12f7a1f 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "lich", - "version": "0.20.6", + "version": "0.20.7", "description": "Codex CLI plugin for the lich harness", "author": { "name": "omartelo" diff --git a/CHANGELOG.md b/CHANGELOG.md index ca2b940..30116c3 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.7] - 2026-10-21 + ### Fixed - **Claude Code hooks run when the plugin's path has a space in it.** On macOS @@ -814,7 +816,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/lichdotdev/lich-plugin/compare/v0.20.6...HEAD +[Unreleased]: https://github.com/lichdotdev/lich-plugin/compare/v0.20.7...HEAD +[0.20.7]: https://github.com/lichdotdev/lich-plugin/compare/v0.20.6...v0.20.7 [0.20.6]: https://github.com/lichdotdev/lich-plugin/compare/v0.20.5...v0.20.6 [0.20.5]: https://github.com/lichdotdev/lich-plugin/compare/v0.20.4...v0.20.5 [0.20.4]: https://github.com/lichdotdev/lich-plugin/compare/v0.20.3...v0.20.4 diff --git a/hooks/mod-compacting.js b/hooks/mod-compacting.js index 2b730b8..88b8d81 100644 --- a/hooks/mod-compacting.js +++ b/hooks/mod-compacting.js @@ -20,7 +20,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.20.6" +const PLUGIN_VERSION = "0.20.7" /** * @typedef {import('claude-code').EngineInterface} Engine diff --git a/hooks/mod-control.js b/hooks/mod-control.js index a6e87a6..225342e 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.20.6" +const PLUGIN_VERSION = "0.20.7" const SETTLE_WHEN_IDLE = new Set(["prompt", "command"]) diff --git a/hooks/mod-status.js b/hooks/mod-status.js index 71ee02c..a8ec812 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.20.6" +const PLUGIN_VERSION = "0.20.7" // 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 79de15f..95c13e5 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.20.6" +const PLUGIN_VERSION = "0.20.7" /** * @typedef {import('claude-code').EngineInterface} Engine diff --git a/hooks/report-session-start.sh b/hooks/report-session-start.sh index c49b629..95b7b13 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.20.6 +plugin_version=0.20.7 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 ea5e9cf..80ffded 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.20.6 +plugin_version=0.20.7 # 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 e490efe..1968c62 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.20.6 +plugin_version=0.20.7 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 3ee3319..5ee6115 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.20.6 +plugin_version=0.20.7 here=$(dirname "$0") diff --git a/hooks/report-touched.sh b/hooks/report-touched.sh index 588049b..19d4894 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.20.6 +plugin_version=0.20.7 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 cbf71ef..21929b1 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.20.6" +const PLUGIN_VERSION = "0.20.7" // 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 80a5231..5427b72 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.20.6" +const PLUGIN_VERSION = "0.20.7" function report(path, body) { const port = process.env.LICH_PORT diff --git a/opencode/lich.js b/opencode/lich.js index fa76e55..2e8d16b 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.20.6" +const PLUGIN_VERSION = "0.20.7" function report(path, body) { const port = process.env.LICH_PORT