diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index ca1cce1..8fab827 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.0", + "version": "0.19.1", "author": { "name": "omartelo" } diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index 746ba1e..504f21a 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "lich", - "version": "0.19.0", + "version": "0.19.1", "description": "Codex CLI plugin for the lich harness", "author": { "name": "omartelo" diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cd2c66..dd47627 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.19.1] - 2026-10-09 + ### Added - **A Claude Code session runs a built-in slash command when asked to.** Told @@ -686,7 +688,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.0...HEAD +[Unreleased]: https://github.com/omartelo/lich-plugin/compare/v0.19.1...HEAD +[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 [0.18.4]: https://github.com/omartelo/lich-plugin/compare/v0.18.3...v0.18.4 [0.18.3]: https://github.com/omartelo/lich-plugin/compare/v0.18.2...v0.18.3 diff --git a/hooks/mod-compacting.js b/hooks/mod-compacting.js index a30f4a8..e093fda 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.0" +const PLUGIN_VERSION = "0.19.1" /** * @typedef {import('claude-code').EngineInterface} Engine diff --git a/hooks/mod-control.js b/hooks/mod-control.js index 5f53684..73d828e 100644 --- a/hooks/mod-control.js +++ b/hooks/mod-control.js @@ -13,7 +13,7 @@ // 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.0" +const PLUGIN_VERSION = "0.19.1" const SETTLE_WHEN_IDLE = new Set(["prompt", "command"]) diff --git a/hooks/mod-status.js b/hooks/mod-status.js index d956986..a2f7f95 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.0" +const PLUGIN_VERSION = "0.19.1" // 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 f1c4e74..491de46 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.0" +const PLUGIN_VERSION = "0.19.1" /** * @typedef {import('claude-code').EngineInterface} Engine diff --git a/hooks/report-session-start.sh b/hooks/report-session-start.sh index 85666ac..698e756 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.0 +plugin_version=0.19.1 provider=${1:-claude} # Parse session_id from the stdin payload. Prefer jq; fall back to sed so the # hook works on Windows, where jq is usually absent but sed (Git Bash) is not. diff --git a/hooks/report-state.sh b/hooks/report-state.sh index 50bc7c5..691cab4 100755 --- a/hooks/report-state.sh +++ b/hooks/report-state.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.0 +plugin_version=0.19.1 state=$1 body="{\"session_id\":\"${LICH_SESSION_ID}\",\"state\":\"${state}\"}" diff --git a/hooks/report-title.sh b/hooks/report-title.sh index 9f56cf1..d127045 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.0 +plugin_version=0.19.1 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 94bbac4..8735135 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.0 +plugin_version=0.19.1 here=$(dirname "$0") payload=$(cat) diff --git a/hooks/report-touched.sh b/hooks/report-touched.sh index 4b57724..27c53ff 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.0 +plugin_version=0.19.1 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 b3f658c..8c58a07 100644 --- a/hooks/worker-answer.js +++ b/hooks/worker-answer.js @@ -24,7 +24,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.0" +const PLUGIN_VERSION = "0.19.1" // 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 759817e..072dc15 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.0" +const PLUGIN_VERSION = "0.19.1" function report(path, body) { const port = process.env.LICH_PORT diff --git a/opencode/lich.js b/opencode/lich.js index d1551e8..92588b5 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.0" +const PLUGIN_VERSION = "0.19.1" function report(path, body) { const port = process.env.LICH_PORT