Repository navigation
feat!: raise the plugin floor to 0.13.0 and drop claude_session_id - #601
Merged
Merged
Conversation
omartelo
force-pushed
the
feat/plugin-version-compat
branch
from
September 13, 2026 19:26
6cf9065 to
cbb1125
Compare
omartelo
force-pushed
the
feat/plugin-version-floor
branch
from
September 13, 2026 19:27
86b00eb to
193c5b3
Compare
0.13.0 is the first lich-plugin release that sends X-Lich-Plugin, so every supported install now names the release a report comes from. A report without the header is below the floor and raises plugin-incompatible like any other out-of-range release; the startup gate offers the supported one. The pre-0.3.0 claude_session_id alias on /session-start is no longer read: the floor is past every plugin that sent it. Its two fixture cases and the parser tests for it go with the contract. Test versions move inside the new floor.
omartelo
force-pushed
the
feat/plugin-version-floor
branch
from
September 13, 2026 19:45
193c5b3 to
97e26d4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task B, part C of three. This PR is stacked on #599. Do not merge it until lichdotdev/lich-plugin#24 is released as 0.13.0: until that release exists, every install would be marked unsupported and there would be no supported release to offer.
What changes
PluginVersionFloorgoes from 0.3.0 to 0.13.0, the first plugin release that sendsX-Lich-Plugin. A report with no header now counts as below the floor. It raisesplugin-incompatible(with an empty version, which the window answers by re-reading the plugin status) instead of passing silently.startRequest.LegacyClaudeSessionIDis gone. This is the "install gate"transport.gowas waiting for.claude_session_idis no longer read, so a plugin older than 0.3.0 gets its session-start refused and logged withplugin=absent. That user already gets the unsupported prompt at startup.docs/hooks/session-start.md(field, server side, ceiling),fixtures/README.md, the two legacy fixture cases, thedocs/ceilings.mdbullet anddocs/hooks/README.mdon the missing header. CHANGELOG[Unreleased]is updated.Tests changed
The contract changed. The legacy parser cases and fixture lines are removed, one case now asserts the alias is not read, and every test version moves inside the new floor (
testVersion0.8.0 to 0.13.0, the status tables to 0.13.x).Test plan
gofmt,go vet ./...,go test ./..., cross-OS vet ofterminalandagentplugintests/lich-refto the lich tag that carries this PR drops the legacy fixture cases there too. The plugin never sends the alias, so nothing breaks.