diff --git a/tests/lich-ref b/tests/lich-ref index 9b50604..44bfdc6 100644 --- a/tests/lich-ref +++ b/tests/lich-ref @@ -1 +1 @@ -v0.61.0 +v0.64.0 diff --git a/tests/refresh-fixtures.sh b/tests/refresh-fixtures.sh index 5346198..49b2762 100755 --- a/tests/refresh-fixtures.sh +++ b/tests/refresh-fixtures.sh @@ -19,21 +19,13 @@ ref=$(tr -d '[:space:]' <"$here/lich-ref") raw=https://raw.githubusercontent.com/omartelo/lich/$ref base=$raw/docs/hooks/fixtures -for file in session-start.jsonl session-title.jsonl \ +for file in session-start.jsonl session-state.jsonl session-title.jsonl \ session-touched.jsonl mod-usage.jsonl mod-control.jsonl mod-commands.json \ mod-answer.jsonl mod-status.json; do curl -fsSL "$base/$file" -o "$here/fixtures/$file" echo "refreshed $file at $ref" done -# session-state gained `compacting` in omartelo/lich#687, merged to main but in -# no release yet, so it is read at the merge commit. Once a release ships it, -# move tests/lich-ref to that release and put the file back in the loop above. -unreleased=f44818488bd2bb18023bec69f2d9476e31434256 -curl -fsSL "https://raw.githubusercontent.com/omartelo/lich/$unreleased/docs/hooks/fixtures/session-state.jsonl" \ - -o "$here/fixtures/session-state.jsonl" -echo "refreshed session-state.jsonl at $unreleased (unreleased)" - # validate.mjs reads its token sets off this copy, so a token lich adds reaches # the validator by moving tests/lich-ref, not by hand. curl -fsSL "$raw/themes/template.json" -o "$here/../skills/theme/template.json"