Files
ai-setup/home-configs/claude
Виталий Никитенко c379ee8efc feat(ai-setup): /logout для ai-glm, ai-deepseek, ai-kimi
Новый UserPromptSubmit хук logout-account-hook.sh перехватывает /logout
(провайдер по AI_LAUNCHER) и /logout-glm|/logout-deepseek|/logout-kimi
(явно), удаляет сохранённый ключ провайдера. Для ai-claude /logout
отступает — работает нативный oauth-logout.

- хук: удаляет glm_key/deepseek_key или текущий kimi_keys/<current>.key
  (+.meta) с пересчётом current; exit 2 глушит нативную /logout для
  api-key провайдеров
- 3 скилла logout-{glm,deepseek,kimi} для автокомплита
- ai-setup.sh: секция деплоя 6.7.3 + хук в копирование/регистрацию
  изолированных cfg

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-14 10:10:14 +03:00
..

Claude Code configuration

Statusline (statusline-command.sh)

The custom statusline script renders only ASCII-safe characters and ANSI color codes:

  • ASCII brackets [ ] for git branch and effort level
  • ANSI 256-color escape sequences for model names, effort levels, and rate-limit percentages
  • The ¥ symbol (U+00A5) for CNY balance in DeepSeek output

It does not use Nerd Font glyphs, powerline separators, or emoji.

Unicode symbols you may see in the TUI

Some symbols that appear in the Claude Code interface are rendered by Claude Code's own TUI, not by this statusline script. For example, arrow symbols such as (used before "bypass permissions on" prompts) are drawn by Claude Code itself.

If these symbols display as boxes or question marks, install a Unicode-capable font such as:

  • Noto Color Emoji (recommended on Linux)
  • Any terminal font with full Unicode support

To install Noto Color Emoji on Debian/Ubuntu:

sudo apt-get install -y fonts-noto-color-emoji

The statusline script itself does not require emoji fonts.