Commit graph

110 commits

Author SHA1 Message Date
Evan
eedae086a3
Fix Merge Conflict resolutions
Fixes Merge conflict resolutions from Main to Dev that were incorrectly chosen.
2025-02-28 13:12:40 -08:00
pashpashpash
39980e9be7 Revert "Better Streaming Support (#1980)" (#1993)
This reverts commit 93856ab3b06fef1b5b2f47b8ee6c2af5ab89dbe7.
2025-02-27 15:50:02 -08:00
brownrw8
9b5cefd69d Better Streaming Support (#1980)
* feat: enterprise support

* Update src/api/providers/enterprise.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* refactor + anthropic

* fix

* update chunking

* fix enterprise providers

* minor refactor for chunking

* comments

* defaults

* tests

* remove imports

* suggested fixes

* decouple message type

* upgrade libs, prompt caching no longer in beta for claude models

* updates for tests

* enterprise -> streaming provider

* update tests

* remove section from anthropic.ts

* handle specific GCP Vertex invalid_grant error

* finish comment

* add caching stats to chunking

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-02-27 15:46:01 -08:00
canvrno
30a4a0e1f1 Check git out - Checkpoints 2.0
**Branch-Per-Task:** Each repo now has a single Shadow Git repo, with separate branches per task (instead of one Shadow Git repo per task).
-   **Legacy Support:** Existing Checkpoints remain functional, while all new Checkpoints use branch-per-task.

-   **Commits:** Legacy tasks commit to legacy Checkpoints; new tasks commit using branch-per-task.
-   **Diffing & Deletions:** Both legacy and branch-per-task Checkpoints support diffing and deletion.

No migration needed—existing tasks stay as-is, and new tasks adopt **branch-per-task** automatically.
2025-02-27 15:40:52 -08:00
Andrei Edell
202e3a6d05 Hugelung/rich mcp response (#1941)
* showing images after mcp responses

* images now open in a webview tab

* Open Graph link metadata display for MCP responses

* almost totally working rich mcp response display with images and embeds

* closer

* header for response display

* updated styling of mcp responses

* default to plain text if rich response is loading

* formatting fix

* added changeset output

* remove some old code

* add the dashed border back

* avoid XSS attacks by sanitizing the preview image urls and embeds

* remove incorrect vendor prefix css

* delete old version of open image implementation

* undo some comment removals and cleanups to make PR easier to read

---------

Co-authored-by: Andrei Edell <andrei@nugbase.com>
2025-02-27 14:45:42 -08:00
Saoud Rizwan
131b245023 Revert "Anthropic: Bump it up! (#1938)"
This reverts commit c2809491b4.
2025-02-24 18:09:51 -08:00
Evan
c2809491b4
Anthropic: Bump it up! (#1938)
* Updated Anthropic SDK and fixed types

* adjust export markdown handling

* adjust export markdown handling

* added changeset
2025-02-24 17:02:21 -08:00
Saoud Rizwan
584af64334
Add terminal context mention (#1805)
* Add terminal context mention

* Create fuzzy-moose-punch.md
2025-02-14 18:48:47 -08:00
Saoud Rizwan
887456ead8
Fix bug where new files won't show up in files dropdown (#1704)
* Fix bug where new files won't show up in files dropdown

* Create small-gifts-count.md
2025-02-07 20:52:51 -08:00
Saoud Rizwan
56a7b53ed9
Revert "Added more exclusions to checkpoints" (#1478) 2025-01-26 15:56:54 -08:00
canvrno
40e4d20f85 Restore changes from evan-fannin after accidental overwrite 2025-01-26 01:19:31 -07:00
canvrno
353df9afd8 Added more exlcusions to checkpoints
Added CheckpointExclusions.ts to separate file filtering for checkpoints. This excludes default a default list of extensions, build artifacts, binary files, large files (>10MB), and various development-specific files from being tracked in checkpoints. Includes a caching system to improve filtering performance and handles OS-specific binary detection. TODO - Make exclusions user-configurable.
2025-01-26 00:07:07 -07:00
Evan Fannin
4f0e3a6f87
Add disable checkpoints setting (#1450)
* disable checkpoints

* reverse setting boolean
2025-01-25 16:40:19 -08:00
Dennis Bartlett
f915fb2e2d
Merge pull request #1421 from evan-fannin/fix-linting-error
Chore: Fix linting error
2025-01-23 20:29:02 -06:00
Evan
c9d274fd84 linting error 2025-01-24 00:25:08 +08:00
Evan
c9b37326bd Merge branch 'main' into cline-terminals-fix 2025-01-23 22:42:49 +08:00
Asbjørn Rørvik
c3c6fc63be
Add debug console output monitoring (#1400)
* feat: add debug console output monitoring

* Fix formatting

---------

Co-authored-by: minimali <minimali@local>
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-01-22 13:38:19 -08:00
Saoud Rizwan
6bde6c6cbf Fixes 2025-01-20 16:12:11 -08:00
Saoud Rizwan
8ec0b2cf08 Add VS Code LM API 2025-01-20 16:12:10 -08:00
Evan
67786ada49 reuse existing non-busy terminals 2025-01-16 14:08:03 +08:00
Saoud Rizwan
4ba68df1ee Disable shadow repo git signing 2025-01-09 13:30:18 -08:00
Saoud Rizwan
cf6fd27977 Gracefully handle snapshot failures with nested git repos 2025-01-07 09:15:47 -08:00
Saoud Rizwan
d542d751d7 Ignore LFS files when creating checkpoints 2025-01-06 22:26:13 -08:00
Saoud Rizwan
25cd7cc8e2 chore: Prettier fix formatting 2025-01-06 12:41:33 -08:00
Saoud Rizwan
9de7253998 refactor: code cleanup, formatting updates, improved workspace handling, checkpoints feature
Add instructions

Fix completion

Refactor

Rename reset to restore

add haschanges flag

Remove log

Better error handling

Better error handling

Fix wording

Fix

Fix

Fix

Comment

Add hash for only latest tool

Prepare for release

Fix

Fix delete

Format fix
2025-01-06 12:40:30 -08:00
Saoud Rizwan
69311f013c Return auto-formatting in file edit responses to avoid invalid diff edit operations 2024-12-31 16:06:41 -08:00
Saoud Rizwan
11450e17ab Escape quotations 2024-12-31 12:45:06 -08:00
Saoud Rizwan
f873a51521 Revert to using batched file watcher to fix crash when many files would be created at once 2024-12-27 10:24:32 -08:00
Saoud Rizwan
164d5eac7b Remove onDidChange listener 2024-12-25 18:56:41 -08:00
Saoud Rizwan
2b5ffa1493 Remove comments 2024-12-25 18:49:38 -08:00
Saoud Rizwan
5b1c68337d Fix formatting 2024-12-25 18:48:47 -08:00
Matt Rubens
f87b70f5ba
Use createFileSystemWatcher to more reliably watch for file system changes (#1012) 2024-12-25 16:34:53 -08:00
Saoud Rizwan
6b1a48f2fb Add linux notifications 2024-12-18 11:39:47 -08:00
Saoud Rizwan
e58a722416 Fixes 2024-12-17 20:53:11 -08:00
Saoud Rizwan
d480015b16 Get diff based editing working! Uses a new EDIT FILES section in system prompt and combination of write_to_file and replace_in_file 2024-12-17 15:17:52 -08:00
Saoud Rizwan
cd54c501b4 Add auto-approve UI and notification integration 2024-12-16 20:02:23 -08:00
Saoud Rizwan
44f70c1102 Use diff based editing with write_to_file tool 2024-12-15 21:02:28 -08:00
Mark Percival
93e70c62f1
Chore: Prettier for consistant formatting (#794)
* Chore: Pretier for consistant formatting

- TODO: This PR needs to be updated by Saoud after he runs `npm install` & `npm format:fix` and commits the results of the prettier changes.

* Revert prettier config

* Run npm install

* Fix prettier config and ignore package lock

* Run format

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2024-11-21 13:13:54 -08:00
Saoud Rizwan
cbf942e700 Return updated file content when user makes edits to cline's suggestions 2024-10-18 07:43:09 -04:00
Saoud Rizwan
364f0921ba Fixes 2024-10-17 06:07:04 -04:00
Saoud Rizwan
717d83b5cb Only show warning if truncation comment is in new content 2024-10-17 06:02:16 -04:00
Saoud Rizwan
0d09897aa6 Fixes 2024-10-17 05:45:07 -04:00
Saoud Rizwan
b33abaa8b5 Detect code omission and show warning with troubleshooting link 2024-10-17 05:31:48 -04:00
Saoud Rizwan
24292759b3 Move cursor to beginning of file during stream animation 2024-10-17 03:46:34 -04:00
Saoud Rizwan
5a94f6434b Fix diff editor not opening on slow machines 2024-10-16 10:02:35 -04:00
Saoud Rizwan
cc4825efc3 Fix issue where cline's edits would stream into active editor instead of diff view editor 2024-10-11 01:22:50 -04:00
Saoud Rizwan
26bcc0b7ca Replace tool blocks with xml tags format to allow continuing old tasks without passing in tool schema to API 2024-10-09 03:25:19 -04:00
Saoud Rizwan
31f5fabc54 Refactor cline-diff 2024-10-09 01:49:59 -04:00
Saoud Rizwan
c04dfc76cb Misc refactor cline 2024-10-09 01:49:59 -04:00
Saoud Rizwan
385c54d3c0 Refactor Cline 2024-10-09 01:49:59 -04:00