mirror of
https://github.com/yigitkonur/cli-continues.git
synced 2026-04-26 00:36:02 +03:00
[PR #24] [MERGED] include original session file path in handoff output #22
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cli-continues#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/yigitkonur/cli-continues/pull/24
Author: @yigitkonur
Created: 3/2/2026
Status: ✅ Merged
Merged: 3/2/2026
Merged by: @yigitkonur
Base:
main← Head:feat/session-file-path-in-handoff📝 Commits (1)
06ae8bainclude original session file path in handoff output📊 Changes
3 files changed (+39 additions, -2 deletions)
View changed files
📝
.gitignore(+9 -0)📝
src/utils/markdown.ts(+26 -0)📝
src/utils/resume.ts(+4 -2)📄 Description
hey! so i noticed when you do a cross-tool handoff, the markdown output doesn't actually tell you where the original session file lives on disk. like you get the session id and working directory, but if you ever want to go back and check the raw session data or debug something, you're kinda stuck guessing the path.
this adds the full file path in a few places:
Session Filerow right after the working directory, so it's easy to spotOriginal session filerow to the quick-reference tableall of these are conditional on
session.originalPathbeing set, which every parser already populates, so nothing breaks. no new dependencies, no schema changes.files changed
src/utils/markdown.ts— overview table row + session origin sectionsrc/utils/resume.ts— inline prompt + reference prompt updatestested locally, all existing tests pass (the zod-related failures are pre-existing and unrelated).
Review all of them with eye of John Carmack-like simplicity with elegeance approach and apply the one only if required
Greptile Summary
Adds
originalPath(session file path) to handoff outputs. The overview table addition (line 125) and reference prompt update are good — they surface useful debugging info. However, the "Session Origin" section (lines 240-252) duplicates data already in the overview table (session ID, cwd, file path). Cut the redundant section, keep the table row.What's good:
originalPathbeing setWhat's unnecessary:
Confidence Score: 4/5
src/utils/markdown.ts— remove the redundant "Session Origin" section (lines 240-252)Important Files Changed
Last reviewed commit: 8969ddf
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.