diff --git a/internal/agentplugin/compat.go b/internal/agentplugin/compat.go index ea009411..8c31336d 100644 --- a/internal/agentplugin/compat.go +++ b/internal/agentplugin/compat.go @@ -14,8 +14,8 @@ const ( // install says which release a report comes from. PluginVersionFloor = "0.13.0" // PluginVersionCeiling is the first release past the newest contract this - // lich implements (0.20), and the first one it cannot vouch for. - PluginVersionCeiling = "0.21.0" + // lich implements (0.21), and the first one it cannot vouch for. + PluginVersionCeiling = "0.22.0" // ModAnswerRelease is the first release whose mod answers a subagent // worker's errand itself (docs/hooks/mod-answer.md). ModAnswerRelease = "0.17.0" diff --git a/internal/agentplugin/compat_test.go b/internal/agentplugin/compat_test.go index 3c950a60..d85fae21 100644 --- a/internal/agentplugin/compat_test.go +++ b/internal/agentplugin/compat_test.go @@ -18,7 +18,8 @@ func TestCompatible(t *testing.T) { "0.18.0": true, "0.19.0": true, "0.20.0": true, - "0.21.0": false, + "0.21.0": true, + "0.22.0": false, "1.0.0": false, "": false, "not-a-semver": false, @@ -36,9 +37,9 @@ func TestNewestCompatible(t *testing.T) { tags []string want string }{ - {"newest in range wins over a newer one past it", []string{"0.21.0", "0.13.2", "0.13.10", "0.12.9"}, "0.13.10"}, + {"newest in range wins over a newer one past it", []string{"0.22.0", "0.13.2", "0.13.10", "0.12.9"}, "0.13.10"}, {"order does not matter", []string{"0.13.0", "0.13.1"}, "0.13.1"}, - {"nothing in range", []string{"0.21.0", "0.12.0"}, ""}, + {"nothing in range", []string{"0.22.0", "0.12.0"}, ""}, {"no releases", nil, ""}, } for _, tc := range tests {