Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lich",
"description": "Claude Code plugin for the lich harness",
"version": "0.18.3",
"version": "0.18.4",
"author": {
"name": "omartelo"
}
Expand Down
2 changes: 1 addition & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lich",
"version": "0.18.3",
"version": "0.18.4",
"description": "Codex CLI plugin for the lich harness",
"author": {
"name": "omartelo"
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.18.4] - 2026-10-08

### Added

- **opencode has the six lich tools it was missing.** `control_session`
Expand Down Expand Up @@ -651,7 +653,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.18.3...HEAD
[Unreleased]: https://github.com/omartelo/lich-plugin/compare/v0.18.4...HEAD
[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
[0.18.2]: https://github.com/omartelo/lich-plugin/compare/v0.18.1...v0.18.2
[0.18.1]: https://github.com/omartelo/lich-plugin/compare/v0.18.0...v0.18.1
Expand Down
2 changes: 1 addition & 1 deletion hooks/mod-control.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.3"
const PLUGIN_VERSION = "0.18.4"

const SETTLE_WHEN_IDLE = new Set(["prompt", "command"])

Expand Down
2 changes: 1 addition & 1 deletion hooks/mod-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.3"
const PLUGIN_VERSION = "0.18.4"

// The contract asks for a read at most every few seconds; the worker count in
// agent-cards.js polls lich on the same period.
Expand Down
2 changes: 1 addition & 1 deletion hooks/mod-usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.3"
const PLUGIN_VERSION = "0.18.4"

/**
* @typedef {import('claude-code').EngineInterface} Engine
Expand Down
2 changes: 1 addition & 1 deletion hooks/report-session-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.3
plugin_version=0.18.4
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.
Expand Down
2 changes: 1 addition & 1 deletion hooks/report-state.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.3
plugin_version=0.18.4

state=$1
body="{\"session_id\":\"${LICH_SESSION_ID}\",\"state\":\"${state}\"}"
Expand Down
2 changes: 1 addition & 1 deletion hooks/report-title.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.3
plugin_version=0.18.4
command -v jq >/dev/null 2>&1 || exit 0

# Checked before stdin is read, because it is the whole point: finding a title
Expand Down
2 changes: 1 addition & 1 deletion hooks/report-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.3
plugin_version=0.18.4

here=$(dirname "$0")
payload=$(cat)
Expand Down
2 changes: 1 addition & 1 deletion hooks/report-touched.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.3
plugin_version=0.18.4

curl -s -o /dev/null --max-time 1 \
-X POST "http://127.0.0.1:${LICH_PORT}/session-touched?token=${LICH_TOKEN}" \
Expand Down
2 changes: 1 addition & 1 deletion hooks/worker-answer.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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.18.3"
const PLUGIN_VERSION = "0.18.4"

// The value lich spawns a `--subagent` session with.
const CARDS_OFF = "off"
Expand Down
2 changes: 1 addition & 1 deletion omp/lich.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.3"
const PLUGIN_VERSION = "0.18.4"

function report(path, body) {
const port = process.env.LICH_PORT
Expand Down
2 changes: 1 addition & 1 deletion opencode/lich.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.3"
const PLUGIN_VERSION = "0.18.4"

function report(path, body) {
const port = process.env.LICH_PORT
Expand Down
Loading