Skip to content

Fix session diff handling for created files#283

Merged
GCWing merged 1 commit intoGCWing:mainfrom
wgqqqqq:fix/session-diff-created-files
Mar 26, 2026
Merged

Fix session diff handling for created files#283
GCWing merged 1 commit intoGCWing:mainfrom
wgqqqqq:fix/session-diff-created-files

Conversation

@wgqqqqq
Copy link
Copy Markdown
Collaborator

@wgqqqqq wgqqqqq commented Mar 26, 2026

Summary

  • classify Write as Create when the file does not exist yet and create an empty baseline for session-created files
  • use the empty baseline when computing session diffs for newly created files and keep diff tabs labeled/deduplicated as session diffs
  • keep the file operation tool-card diff action available without requiring preloaded snapshot contents

Validation

  • cargo check -p bitfun-core
  • pnpm --dir src/web-ui type-check

@GCWing GCWing merged commit 1eb8f97 into GCWing:main Mar 26, 2026
4 checks passed
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.

2 participants