Skip to content

Dev - #1

Merged
crossben merged 11 commits into
mainfrom
dev
Sep 25, 2026
Merged

Dev#1
crossben merged 11 commits into
mainfrom
dev

Conversation

@crossben

Copy link
Copy Markdown
Owner

No description provided.

crossben added 11 commits July 5, 2026 03:14
…endencies; enhance TUI with diff parsing and stats functionality
…ctions

- Added `llm` package to abstract HTTP LLM APIs with a Provider interface.
- Implemented `OpenAI` and `Anthropic` providers for chat completions.
- Introduced `postJSON` function for handling JSON requests and responses.
- Created `HTTPClient` interface to allow for mock testing of HTTP requests.
- Added error handling for various HTTP response statuses.
- Developed patching functionality to apply changes from model outputs safely.
- Implemented extraction of changes from free-form model text, supporting unified diffs and whole-file updates.
- Added tests for provider functionality, patch application, and extraction logic.
- Introduced `fsdiff` package for git-free change tracking, including snapshotting, diffing, and restoring directory states.
- Implemented unified diff format rendering for added, modified, and deleted files.
- Added tests for capturing directory states, handling oversized files, and ensuring correct diff outputs.
- Created helper functions for file operations and diff algorithms, including Myers' algorithm for line edits.
- Ensured excluded directories and files are properly handled during snapshot capture.
@crossben
crossben merged commit e763b1b into main Sep 25, 2026
2 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.

1 participant