ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 leeovery

workflow-gates-rows

짝을 이루는 sent.json 레코드와 대화별 rows.json 저장소를 사용해 workflow-gates mod가 보낸 답변의 transcript 줄을 그리는 Claude Code 플러그인입니다.

leeovery@leeovery

leeovery/portal/tree/main/.claude/skills/workflow-gates-rows

번역 완료

이 mod 소개

workflow-gates-rows는 workflow-gates mod가 제출한 답변의 transcript 줄을 렌더링하는 독립적인 Claude Code 플러그인입니다. 답변한 질문도 답변 옆에 함께 표시합니다(예: "Approve this task? → yes · Commit and continue to next task"). Claude Code는 플러그인이 제출한 프롬프트 줄에서는 해당 플러그인 자체의 render hooks를 건너뛰기 때문에 별도 플러그인으로 존재합니다. 각 줄을 mod가 대화 폴더에 쓰는 sent.json 레코드와 연결하고, 연결할 수 없는 줄에는 답변만 표시합니다. 바뀌는 것은 그리기뿐입니다. 모델은 여전히 Claude Code의 원래 프레이밍을 보고 ctrl+o로 전체 메시지를 확인할 수 있습니다. 그린 줄은 message id별로 ~/.config/workflows/conversations/{session-id}/rows.json(또는 WORKFLOWS_CONFIG_DIR 아래)에 저장되므로 작업 디렉터리가 바뀌어도 이전으로 스크롤하거나 재개한 대화가 일관되게 렌더링됩니다. Claude Code가 transcript를 삭제하면 폴더도 삭제됩니다. 단, session-end hook이 종료를 한 번도 관찰하지 못한 세션(설치 중인 세션이나 충돌한 세션 등)은 예외입니다. workflows를 실행하지 않는 대화나 home directory 또는 WORKFLOWS_CONFIG_DIR가 없는 대화에는 폴더를 만들지 않고 Claude Code 기본 렌더링을 사용합니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add leeovery/portal
claude plugin install workflow-gates-rows
원문 / README

workflow-gates-rows

A Claude Code mod that draws the transcript row of an answer the workflow-gates mod sent as the question and the answer — Approve this task? → yes · Commit and continue to next task — in place of Claude Code's framing of a plugin's prompt. It is a plugin of its own because Claude Code skips a plugin's own render hooks on the row of a prompt that plugin submitted. It pairs a row with the record the mod leaves in the conversation's own folder as sent.json as it sends; a row it cannot pair shows the answer alone. It changes only the drawing: the model reads Claude Code's framing, and ctrl+o shows the message in full.

Each line it draws is kept in that folder, ~/.config/workflows/conversations/{session-id}/rows.json (under WORKFLOWS_CONFIG_DIR where that is set, beside the workflows' system config), under the row's message id, so scrolling back and a resumed conversation draw the row the same way, wherever the session's working directory has moved. The folder goes once Claude Code has deleted the conversation's transcript, and the lines with it, with one exception: a conversation whose end the session-end hook never saw — the session that first installed the hook, or one that crashed — keeps its folder. The mod names the folder the way the workflows' engine does. A conversation that does not run the workflows has no folder, nor does one in a process that names neither a home directory nor WORKFLOWS_CONFIG_DIR: there the mod writes nothing and draws the row as Claude Code does.

동명의 다른 작품

비슷한 프로젝트