You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The config file creates and maintains itself. A SessionStart hook (hooks/sync-config)
runs once per plugin version, on the first Claude Code start after an install or update.
Without ~/.config/youtrack-task/config.toml it creates the file from config.example.toml,
so you start from one file with every option. With one, it appends the options the new version
added (commented out, with their comment, placed before any [table] header so they still work when uncommented) and removes the ones it dropped, judged against a
snapshot of the previous example. Your own values, keys and comments are never touched, a config.toml.bak is written before any change, and one line tells you what happened. An
unchanged version exits at once; read-config stays read-only. The first update after
adopting this removes nothing, because there is no earlier snapshot.
tests/sync-config.sh covers create, no-op, add, prune, idempotence, backup, the [type_prefix] block, the real example and the read-only case.