This skill should be used when the user encounters Atuin sync issues, "atuin status" 4XX errors, encryption key mismatch, daemon problems, "atuin history delete" errors, or asks about shell history...
Atuin ์ ํ์คํ ๋ฆฌ ๋๊ธฐํ ๊ฐ์ด๋์ ๋๋ค.
Atuin ๋๊ธฐํ ์ํ ์ ๊ฒ, ํ๊ธ ํ์คํ ๋ฆฌ ์ ๋ฆฌ, encryption key ๋ฌธ์ ๋ถ๋ฆฌ๋ฅผ ๋ค๋ฃฌ๋ค.
Atuin v1 API deprecated
atuin status ๋ช
๋ น์ด๊ฐ 4XX ์๋ฌ ๋ฐํ ๊ฐ๋ฅlast_sync_time ํ์ผ์ด CLI sync์์ ์๋ ์
๋ฐ์ดํธ๋์ง ์์atuin doctor์ last_sync๋ก ํ์ธsync.records = true์ auto_sync = true ๊ธฐ์คatuin history delete ์๋ธ์ปค๋งจ๋ ๋ฏธ์กด์ฌ (v18.17.0 ๊ธฐ์ค ์ฌ์ ํ ์์. atuin history --help๋ก ์ฌํ์ธ)
atuin history ํ์์ delete ๋ช
๋ น์ด๊ฐ ์์atuin-clean-kr ์คํฌ๋ฆฝํธ ์ฌ์ฉ~/.local/share/atuin/history.dbDB migration ๋ถ์ผ์น (nixpkgs ๋ฒ์ ๋ค์ด๊ทธ๋ ์ด๋ ์)
migration XXXXXXXX was previously applied but is missing in the resolved migrationsnix flake update nixpkgs)20260224000100 ("history author intent") migration์ด Mac DB์๋ง ์ ์ฉ๋ ์ํ์์ nixpkgs lock์ด v18.12.1์ ๊ฐ๋ฆฌ์ผ ๋ฐ์ (PR #333)nix run nixpkgs#atuin ๋ฑ์ผ๋ก nixpkgs lock๋ณด๋ค ์ ๋ฒ์ ์ ์์ ์คํํ์ง ์๊ธฐ# ํ๊ธ ํฌํจ ํญ๋ชฉ ๋ฏธ๋ฆฌ๋ณด๊ธฐ
atuin-clean-kr --dry-run
# ํ๊ธ ํฌํจ ํญ๋ชฉ ์ผ๊ด ์ญ์ (๋ฐฑ์
ํ ์ญ์ )
atuin-clean-kr
# ์ค์ ๋๊ธฐํ ์ํ (๊ถ์ฅ)
atuin doctor 2>&1 | grep -o '"last_sync": "[^"]*"'
# v1 status endpoint ํ์ธ์ฉ (4XX ์๋ฌ ๋ฐ์ ๊ฐ๋ฅ)
atuin status
# ์๋ ๋๊ธฐํ
atuin sync
| ํ์ผ | ์ฉ๋ |
|---|---|
~/.config/atuin/config.toml |
Atuin ์ค์ |
~/.local/share/atuin/ |
๋ฐ์ดํฐ ๋๋ ํ ๋ฆฌ |
~/.local/share/atuin/last_sync_time |
legacy/display-debug์ฉ ํ์์คํฌํ. CLI sync v2 ๊ธฐ์ค ์ค์ ๋๊ธฐํ ํ์ ์๋ ์ฐ์ง ์์ |
atuin doctor์ last_sync๋ก ์ค์ ๋๊ธฐํ ์ํ๋ฅผ ํ์ธํ๋ค.atuin status 4XX์ last_sync_time ์ง์ฐ์ ํ์/legacy ์ด์๋ก ๋ถ๋ฆฌํ๊ณ , ํ์ํ ๋๋ง DB ์ํ๋ฅผ ํ์ธํ๋ค.atuin-clean-kr๋ก ์ ๋ฆฌํ๋ค.