Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Claude Code statusLine command: stdin JSON not piped correctly

オープン
#3,371 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go, powershell
領域
cli

調査の方向性

Start with the statusLine command path and reproduce the issue using the settings.json configuration and statusline-command.ps1 on Windows. Compare WaveTerm's stdin handling with the described Windows Terminal behavior, then verify that the command receives the Claude Code JSON payload and produces model, context, and token information instead of the fallback output.

索引モデルが issue の本文から書いたものです。

説明

Description

When using Claude Code inside WaveTerm, the custom statusLine command does not receive any JSON data via stdin, causing the statusline to fall back to a generic output instead of displaying model info, context usage, token counts, etc.

How Claude Code statusLine works

Claude Code supports a custom statusline via settings.json:

"statusLine": {
  "type": "command",
  "command": "pwsh -NoProfile -File statusline-command.ps1"
}

Claude Code is supposed to pipe a JSON payload to the command's stdin after each response. The JSON includes model.display_name, context_window.used_percentage, rate_limits, cwd, session_name, etc.

What happens in WaveTerm

The command is executed, but stdin is empty. The script reads nothing from [Console]::In.ReadToEnd(), causing it to hit the fallback and output just claude instead of the full statusline.

The same script works correctly in Windows Terminal where stdin is properly piped.

Steps to Reproduce

  1. Configure Claude Code statusLine with a custom command that reads from stdin
  2. Run Claude Code inside WaveTerm
  3. Observe the statusline only shows the fallback output

Expected Behavior

The custom statusline command should receive the JSON payload via stdin, same as in other terminals.

Environment

  • WaveTerm (latest)
  • Windows 11
  • Claude Code CLI
  • PowerShell 7 (pwsh)
主要言語
Go
スター
22.4k
フォーク
1.1k
平均マージ
12日 6時間
マージ済み PR(30日)
14

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wavetermdev/waveterm のほかの issue

wavetermdev/waveterm の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。