summaryrefslogtreecommitdiff
path: root/frontend/src/components
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-26 18:45:36 +0000
committersoryu <soryu@soryu.co>2026-01-26 18:54:32 +0000
commit904a2efa7d39705215b8312f74e2e1c0a38bab27 (patch)
tree2fc9b94169fcb80836cc42137dd950e0cafb1f0e /frontend/src/components
parentcb4f2fc40dbabb40de948512eee74c7e46264665 (diff)
downloadsoryu-904a2efa7d39705215b8312f74e2e1c0a38bab27.tar.gz
soryu-904a2efa7d39705215b8312f74e2e1c0a38bab27.zip
Implement core patch export system
Add functionality to create uncompressed, human-readable git patches for export. This enables users to generate patches that can be manually applied or shared, without the compression used for internal checkpoints. Changes: - Add ExportPatchResult struct with patch content, file count, and line stats - Add create_export_patch() function that generates diffs against a base SHA - Add get_head_sha() utility function - Add parse_diff_stat() helper to extract line counts from git output - Add CreateExportPatch command to daemon protocol - Add ExportPatchCreated response message to protocol - Add handler in task manager to process export patch requests - Add server-side handling to broadcast patch results to UI The export patch system automatically finds the merge-base when no base SHA is provided, trying upstream tracking branch first, then common default branches (origin/main, origin/master, main, master). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'frontend/src/components')
0 files changed, 0 insertions, 0 deletions