We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dad7e7 commit 76f9c6eCopy full SHA for 76f9c6e
.agents/tmux-viewer/gif-exporter.ts
@@ -258,10 +258,11 @@ export async function renderSessionToGif(
258
}
259
260
/**
261
- * Get suggested output filename based on session name
+ * Get suggested output filename based on session name.
262
+ * Returns a path inside the session folder (debug/tmux-sessions/{session}/).
263
*/
264
export function getSuggestedFilename(sessionData: SessionData): string {
265
const sessionName = sessionData.sessionInfo.session
266
const timestamp = new Date().toISOString().replace(/[:.]/g, '-').slice(0, 19)
- return `${sessionName}-${timestamp}.gif`
267
+ return `debug/tmux-sessions/${sessionName}/${sessionName}-${timestamp}.gif`
268
0 commit comments