Merge pull request #2459 from code-yeongyu/fix/2453-regression

fix(tmux): add barrel export for pane-state-parser and log parse failures
This commit is contained in:
YeonGyu-Kim
2026-03-11 20:44:33 +09:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ export * from "./session-status-parser"
export * from "./session-message-count"
export * from "./session-ready-waiter"
export * from "./types"
export * from "./pane-state-parser"
export * from "./pane-state-querier"
export * from "./decision-engine"
export * from "./action-executor"

View File

@@ -29,7 +29,12 @@ export async function queryWindowState(sourcePaneId: string): Promise<WindowStat
}
const parsedPaneState = parsePaneStateOutput(stdout)
if (!parsedPaneState) return null
if (!parsedPaneState) {
log("[pane-state-querier] failed to parse pane state output", {
sourcePaneId,
})
return null
}
const { panes } = parsedPaneState
const windowWidth = parsedPaneState.windowWidth