Repository navigation
Conversation
Claude Code 2.1.326 deprecated subagentStatusLine in favor of mods and says the setting will stop working in a future release. Add a hooks module on the AgentRow component so the rows have a supported path. The module does no rendering. It sends each row to `howl --subagent` in the setting's own schema and draws the returned content, so there is still one renderer and an already installed binary works unchanged. A row that arrives with a body is left alone, so while the setting is in place it keeps drawing and no second process is started for that row. Claude Code asks every row again whenever one comes or goes, so the module reuses a row's output while its input is unchanged and shares the process between overlapping asks. A failed process is not cached. Under Claude Code, one such call took at most 6 ms over 50 runs, and 20 at once took up to 17 ms, against the 300 ms a new row waits for its first answer. On 2.1.323 the module loads, logs that AgentRow is not a component there, and the SessionStart hook still runs.
The plugin's settings.json held only subagentStatusLine, so every start on Claude Code 2.1.326 and later warned that Howl uses a deprecated setting, and the setting took precedence over the agent-row mod. What changes by Claude Code version: - 2.1.326 and later: the same rows, drawn by the mod, with no warning. - 2.1.323 to 2.1.325: nothing. These versions already ignore the setting (removed in 2.1.323) and have no AgentRow component. - 2.1.322 and earlier: the rows are no longer automatic. The README gives the setting to add to the user's own settings.json.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
한 줄 요약
Claude Code 2.1.326부터는 플러그인이
subagentStatusLine설정을 담고 있으면 시작할 때마다Plugin "howl": subagentStatusLine is deprecated in favor of mods and will stop working in a future release경고가 뜹니다. Howl이 이 설정으로 agent panel 행을 그려 왔기 때문에, 2.1.326 이상을 쓰는 Howl 사용자는 모두 이 경고를 봅니다. 이 PR은 행을 그리는 일을 mod(hooks/agent-row.ts)로 옮기고 플러그인 루트의settings.json을 지웁니다. mod는 기존howl --subagent를 그대로 부르므로 렌더러는 Go 하나로 남습니다.제품 변화: 2.1.326 이상에서는 경고 없이 같은 행이 나옵니다. 2.1.322 이하에서는 행이 더는 자동으로 바뀌지 않고, README에 직접 넣을 설정을 적었습니다.
이 PR을 읽는 데 필요한 배경 지식
이 레포와 Claude Code의 플러그인 구조에 익숙하다면 건너뛰어도 됩니다.
1. agent panel 행과
subagentStatusLineClaude Code는 subagent가 돌 때 prompt 아래에 subagent마다 한 줄씩 보여 줍니다.
subagentStatusLine설정에 명령을 적으면, Claude Code가 보이는 행 목록을 JSON으로 그 명령의 stdin에 넘깁니다. 명령이{"id","content"}줄을 돌려주면 그 행을content로 그립니다. Howl은 v1.10.0(#24)에서 이 설정용howl --subagent를 만들었고, v1.11.0(#29)부터 플러그인의settings.json에 이 설정을 넣어 설치만 하면 행마다 context 비율이 나오게 했습니다.2. mod
mod는 Claude Code의 hooks module입니다. 플러그인의
hooks/hooks.json이modules에 TypeScript 파일을 적으면 Claude Code가 그 파일을 불러옵니다. 그 파일은 화면 요소를 그리기 직전의ui.render이벤트에 끼어들 수 있습니다.AgentRow는 agent panel의 행 하나이고, 훅이 props의body를 채우면 그 내용으로 그립니다. 빈 문자열을 넣으면 행이 사라집니다.3. Claude Code 버전별 동작
subagentStatusLineAgentRowmod2.1.323 changelog는 이 설정을 지웠다고 적고, 2.1.326에서 경고와 함께 되살아난 것은 changelog에 없고 바이너리에서 확인했습니다. 2.1.324는 따로 받아 보지 않았고 changelog로 추정했습니다. 2026-11-23 기준 npm의 stable 채널은 2.1.323, latest 채널은 2.1.330입니다.
무엇이 문제였나
어떻게 고쳤나
Claude Code가
AgentRow하나를 그릴 때 mod는 이 순서로 움직입니다.body가 있으면 그대로 넘깁니다(next(e)).subagentStatusLine과 같은 스키마의 task 하나로 바꿉니다.~/.claude/hud/howl --subagent를 띄워 stdin으로 넘깁니다(제한 시간 2초).content를 찾아body에 넣습니다. 찾지 못하거나 실행이 실패하면 기본 행을 그립니다.렌더러는 Go 하나로
mod는 그리는 일을 하지 않습니다. 설정이 쓰던 스키마로
howl --subagent를 부르고 돌아온 문자열을 넣기만 합니다. 그래서 segment를 바꿀 때는 지금처럼internal/subagent.go만 고치면 되고, 이미 설치된 v1.11.0 바이너리로도 이 mod가 동작합니다.기각한 대안: 렌더러를 TypeScript로 다시 쓰기. 렌더러가 두 벌이 되어 서로 어긋날 수 있습니다. 아래 검증 표처럼 프로세스를 띄우는 비용이 행당 수 ms라 다시 쓸 이유도 없습니다.
같은 입력의 재사용과 겹친 요청
Claude Code는 행 하나가 생기거나 사라질 때마다 모든 행을 다시 그립니다. mod는 행 id마다 마지막 입력과 그 실행을 기억합니다.
이미 그려진 행은 그대로
행이
body를 가진 채 오면, 사용자가 직접 넣은subagentStatusLine설정이 이미 그 행을 그린 것입니다. mod는 그 행을 건드리지 않고 프로세스도 띄우지 않습니다. 2.1.326 이상에서 수동 설정을 지우지 않은 사용자도 같은 행을 봅니다.플러그인
settings.json삭제이 파일에는
subagentStatusLine하나만 있었습니다. 남겨 두면 2.1.326 이상에서 경고가 계속 뜨고, 설정이 먼저 행을 그려서 mod가 쓰이지 않습니다. 지워도 2.1.323–2.1.325는 원래 무시하던 설정이라 달라지지 않습니다. 자동 행을 잃는 것은 2.1.322 이하뿐이고, README의 Subagent Panel Rows 절에 버전별 동작과 직접 넣을 설정을 적었습니다.기각한 대안은 둘입니다.
body를 가진 채 mod에 오므로 mod는 그 행에 쓰이지 않습니다.그 밖의 결정
.catch를 달아 예외가 나도 기본 행이 나옵니다.HOME이 없으면 바이너리 경로를 만들 수 없으므로 아무것도 띄우지 않습니다.internal/plugin_test.go는hooks/hooks.json이 적은 module 파일이 있는지 CI에서 확인합니다. 경로가 틀려도 Claude Code는 디버그 로그에 한 줄만 남기므로, 행이 사라진 채 릴리스될 수 있기 때문입니다.hooks/agent-row.test.ts)는 Claude Code가 있어야 돌아서 CI에 넣지 않았습니다. 로컬에서make plugin-test로 돌립니다.howl --help,sync-binary.sh주석의 설명을 mod 기준으로 고쳤습니다.기대되는 효과
internal/subagent.gointernal/subagent.go(그대로)fix:커밋이라 머지하면 patch 릴리스가 나갑니다. 서드파티 marketplace는 자동 업데이트가 기본으로 꺼져 있어서, 그 설정을 켜지 않은 사용자는/plugin에서 업데이트해야 경고가 사라집니다.검증
claude plugin test ., Claude Code 2.1.326, 2.1.329plugin_test.go2개 모두 테스트 실패로 잡힘tsc5.9.3 strictclaude plugin validate .go test ./...internalcoverage 97.0%--plugin-dir와 marketplace 설치 각각)AgentRow가 없다는 디버그 로그 한 줄만 남기고 SessionStart 훅은 그대로 돎howl --subagent실행 시간, 50회확인하지 못한 것은 이렇습니다.
hooks.json의 새modules키를 받아들여 SessionStart 훅을 그대로 불러오는지는 바이너리의hooks.json스키마로만 확인했습니다.status는props.taskStatus,type은props.kind)와 이 id의content그리기hooks/agent-row.test.ts"sends the subagentStatusLine schema to the binary", "draws the content printed for this id"content, 빈 줄 무시HOME없음hooks.json의 module 경로internal/plugin_test.go범위 밖 (후속 추적)
columns는 최상위 폭이라, 좁은 화면에서 자식 행 끝이 잘릴 수 있습니다. 기존 설정도 모든 행에 같은 폭을 넘겼으므로 이 PR 전부터 있던 문제입니다. 미이슈화.