settings.json

refreshInterval

イベント駆動の更新に加えて、ステータスラインのコマンドをN秒ごとに再実行します。

使い方・用途

  • 時計のような時間ベースのデータや、バックグラウンドのサブエージェントが変化させた Git の状態などを、AI がアイドル中であっても最新に保ちたい場合に使用します。
  • デフォルトではイベント発生時のみ更新されますが、定期実行により外部リソースの変化を常に反映させることが可能になります。
英語原文(公式ドキュメントより)

Re-run the status line command every N seconds in addition to event-driven updates. Leave unset to run only on events. Useful for time-based data like clocks, or when background subagents change git state while the main session is idle. See https://code.claude.com/docs/en/statusline

関連する変更履歴

v2.1.97 (1件)

Added
ステータスラインの設定に、コマンドをN秒ごとに再実行するrefreshIntervalを追加しました。
英語原文を表示
Added refreshInterval status line setting to re-run the status line command every N seconds