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 tests/lich-ref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.61.0
v0.64.0
10 changes: 1 addition & 9 deletions tests/refresh-fixtures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading