Files
Reactive-Resume/lefthook.yml
T
Amruth Pillai 3c195dc3f8 Release v5.2.8 (#3375)
Upgrades to Better Auth 1.7, expands Custom Styles coverage of item headers, and adds a human-approval step to the AI agent's resume edits.

Breaking for self-hosters using a custom OAuth provider: the callback path changes from /api/auth/oauth2/callback/custom to /api/auth/callback/custom, and installs using OAUTH_DISCOVERY_URL need one additional UPDATE after upgrading. Both are documented in docs/self-hosting/sso.mdx.

- Better Auth 1.7, with the account issuer migration and the jwks alg/crv columns the 1.7 jwt plugin requires
- Agent edits gated behind an approval step, with crash-safe runs and context pruning
- item-header now covers every section header row on every template; adds the item-header-row part
- Fixes provider unlinking, auth error messages, and version conflicts on freshly created resumes
- New /auth/error page, translated across all 53 target locales
- DeepSeek Harness plugin moved into packages/dsh-plugin
- Dependency bumps across the workspace
2026-08-24 21:44:16 +02:00

39 lines
1.5 KiB
YAML

# Lefthook configuration
# https://github.com/evilmartians/lefthook
pre-commit:
parallel: true
jobs:
- name: check merge conflict markers
glob: "*"
exclude:
- "*.md"
- "*.mdx"
# Single quotes only: on Windows the script is truncated at the first double quote, which
# leaves the shell with an unterminated command and fails the job on every commit.
# grep exits 1 for a clean tree and 2 on error, so the statuses are handled separately —
# an unreadable path must fail the job rather than read as no markers found.
run: |
grep -nEI '<{7} |>{7} |^={7}$' {staged_files}
status=$?
if [ $status -eq 1 ]; then
exit 0
elif [ $status -ne 0 ]; then
exit $status
fi
echo 'Error: merge conflict markers found in staged files'
exit 1
- name: lint and format
# Every extension Biome is configured to handle here. `mts`/`cts` also cover the `d.mts`/
# `d.cts` declaration files, and `css` matters because biome.json enables the CSS parser
# with Tailwind directives — those files were previously formatted only by a full `pnpm
# check`, never on commit.
glob: "*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,json,jsonc,css}"
run: pnpm biome check --write --unsafe --no-errors-on-unmatched --files-ignore-unknown=true {staged_files}
stage_fixed: true
commit-msg:
jobs:
- name: commitlint
run: pnpm commitlint --edit {1}