Skip to content

Add cwd/project metadata to exported conversations#61

Open
Ngobo wants to merge 1 commit into
ZeroSumQuant:mainfrom
Ngobo:add-cwd-project-metadata
Open

Add cwd/project metadata to exported conversations#61
Ngobo wants to merge 1 commit into
ZeroSumQuant:mainfrom
Ngobo:add-cwd-project-metadata

Conversation

@Ngobo

@Ngobo Ngobo commented Jul 5, 2026

Copy link
Copy Markdown

Every session's raw JSONL transcript already carries a cwd field, but it was dropped on export, making --all exports impossible to route back to their source project. extract_conversation() now captures the session's cwd, and save_as_markdown()/save_as_json() attach it (plus a derived project name) as frontmatter/JSON keys. Pure addition, no existing behavior changes.

Every session's raw JSONL transcript already carries a cwd field, but it was
dropped on export, making --all exports impossible to route back to their
source project. extract_conversation() now captures the session's cwd, and
save_as_markdown()/save_as_json() attach it (plus a derived project name) as
frontmatter/JSON keys. Pure addition, no existing behavior changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant