69b6967
Integrate the new diff algorithm into the modal assistant
Antonio Scandurra created
69b6967
Integrate the new diff algorithm into the modal assistant
Antonio Scandurra created
1ae5a90
Start on a custom diff implementation
Antonio Scandurra created
ced2b2a
reworked ProjectState to include additional context
KCaverly created
d27cebd
Z 2819 (#2872)
This PR adds new config option to language config called `word_boundaries` that controls which characters should be recognised as word boundary for a given language. This will improve our UX for languages such as PHP and Tailwind. Release Notes: - Improved completions for PHP [#1820](https://github.com/zed-industries/community/issues/1820) --------- Co-authored-by: Julia Risley <julia@zed.dev>
Piotr Osiewicz and Julia Risley created
a836f9c
Add a `default_open_ai_model` setting for the assistant (#2876)
[This PR has been sitting around for a bit](https://github.com/zed-industries/zed/pull/2845). I received a bit of mixed opinions from the team on how this setting should work, if it should use the full model names or some simpler form of it, etc. I went ahead and made the decision to do the following: - Use the full model names in settings - ex: `gpt-4-0613` - Default to `gpt-4-0613` when no setting is present - Save the full model names in the conversation history files (this is how it was prior) - ex: `gpt-4-0613` - Display the shortened model names in the assistant - ex: `gpt-4` - Not worry about adding an option to add custom models (can add in a follow-up PR) - Not query what models are available to the user via their api key (can add in a follow-up PR) Release Notes: - Added a `default_open_ai_model` setting for the assistant (defaults to `gpt-4-0613`). --------- Co-authored-by: Mikayla <mikayla@zed.dev>
Joseph T. Lyons and Mikayla created
5453553
WIP
Antonio Scandurra created
168a213
Add test for word characters in vim
Conrad Irwin created
14fa996
Add # and $ for js
Conrad Irwin created
42b0c5d
Remove comment;for real now
Piotr Osiewicz created
bca2d02
Revert "Remove dead comment"
This reverts commit 046759a366a3ed65ae3c0deacbd880ffbfe291f9.
Piotr Osiewicz created
344a09a
Rename word_boundaries to word_characters
Piotr Osiewicz created
046759a
Remove dead comment
Piotr Osiewicz created
ff7b25c
Checkpoint
Nathan Sobo created
3a13795
Add channel id to call events (#2873)
Release Notes: - N/A
Joseph T. Lyons created
f66e686
Add channel id to call events
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Joseph T. Lyons and Max Brunsfeld created
6137d88
Merge branch 'main' into Z-2819
Piotr Osiewicz created
00caad2
..and use it in PHP language config
Piotr Osiewicz created
ab5bd0a
Use new char_kind (parameterized by language)
Piotr Osiewicz created
3e8522b
WIP: Saved state from Friday.
Co-authored-by: Julia Risley <julia@zed.dev>
Piotr Osiewicz and Julia Risley created
3d89cd1
added sha1 encoding for each document
KCaverly created
5b9d48d
Avoid diffing when the length is too small
Antonio Scandurra created
42f02eb
Incrementally diff input coming from GPT
Antonio Scandurra created
bbe6d3b
Semantic index rough edges (#2871)
Small PR aimed at improving a few edge cases for semantic indexing large projects. Release Notes (Preview-only). - Batched large files with a number of documents greater than EMBEDDINGS_BATCH_SIZE. - Ensured that the job handle counting mechanism is consistent with inner file batching. - Updated tab content names for semantic search, to match text/regex searches.
Kyle Caverly created
c68b518
chore: fix compiler warning
Co-authored-by: Kyle <kyle@zed.dev>
Piotr Osiewicz and Kyle created
67a48ec
project_search: use search history's current entry as a tab name.
Previously the tab name for Semantic Search was not updated, as we didn't have an active query to go off of Co-authored-by: Kyle <kyle@zed.dev>
Piotr Osiewicz and Kyle created
61041b0
Do not attempt to reindex a file if previous attempts have failed.
Add doc comment to JobHandle Co-authored-by: Kyle <kyle@zed.dev>
Piotr Osiewicz and Kyle created
1a88444
Increment job counter on JobClient::new
Co-authored-by: Kyle <kyle@zed.dev>
Piotr Osiewicz and Kyle created
def215a
update job handle to ensure file count is consistent
Co-authored-by: Piotr <piotr@zed.dev>
KCaverly and Piotr created
267c0b9
chore: Update Cargo.lock following rodio PR (#2870)
That's merely a follow-up to a previous PR. Release Notes: - N/A
Piotr Osiewicz created
1cae475
manage for edge case in which file documents are larger than the allowable limit
KCaverly created
9ea0ed3
chore: remove unused features from rodio crate. (#2869)
This reduces our dep count by 1% at the expense of not supporting playback of .flac, .mp3 and .vorbis formats. We only use .wav anyways. Release Notes: - N/A
Piotr Osiewicz created
f4d8763
WIP
Nathan Sobo created
6663d3f
Checkpoint
Nathan Sobo created
afff46b
Checkpoint
Nathan Sobo created
2c6f692
Checkpoint
Nathan Sobo created
0747131
Compiling checkpoint
Nathan Sobo created
bfd3e53
Implement component test page
Mikayla created
e946b0a
Finish building out adapters and names
Document core traits Add start for a component storybook
Mikayla created
bd3ab82
Add disclosable components into channels
Rename components to more closely match their purpose
Mikayla created
b7e0350
Update components.rs
Mikayla Maki created
76993f6
WIP: Trying to find a composable approach to styling that plays nice with layout engine
Nathan Sobo created
2d37128
Actually get it compiling, omg
Mikayla created
3178ade
WIP: Add disclosable channels
Mikayla created
29c339e
Revert "Remove semantic search UI" (#2865)
This reverts commit c0f042b39a595da6f93de2268e5990a3c5604912, where I deleted the semantic-search related UI code. Apologies to @KCaverly for the misunderstanding Release Notes: - N/A
Mikayla Maki created
15f91f3
Remove potential osascript hijacking attack (#2867)
Fixes https://linear.app/zed-industries/issue/Z-2818/security-vulnerability-dylib-injection Release Notes: - Fixed a potential local code-injection if a user installs the Zed CLI for the first time with a hijacked `osascript` in their path.
Mikayla Maki created
d22caf5
Fix erorr in revert
Mikayla created
5a356a4
Remove potential osascript hijacking
Mikayla created
ef9686c
Reorganize the structure of the collab crate's `db` module (#2866)
This PR just moves some code around, with the goal of making it easier to find things in the `collab::db` module. That has become a large module. Previously, most of the logic lived in one giant `impl Database` item in `db.rs`. I broke up this `impl` into several different `impl` blocks, grouped by topic, each in a different file in a folder called `queries`. I also pulled out the macro-generated id types into their own file, moved the `TestDb` struct into its own file, and moved the `sea_orm` entity declarations into a folder called `tables`. New folder structure: ``` db ├── db_tests.rs ├── ids.rs ├── queries │ ├── access_tokens.rs │ ├── channels.rs │ ├── contacts.rs │ ├── projects.rs │ ├── rooms.rs │ ├── servers.rs │ ├── signups.rs │ └── users.rs ├── queries.rs ├── tables │ ├── access_token.rs │ ├── channel.rs │ ├── channel_member.rs │ ├── channel_path.rs │ ├── contact.rs │ ├── follower.rs │ ├── language_server.rs │ ├── project.rs │ ├── project_collaborator.rs │ ├── room.rs │ ├── room_participant.rs │ ├── server.rs │ ├── signup.rs │ ├── user.rs │ ├── worktree.rs │ ├── worktree_diagnostic_summary.rs │ ├── worktree_entry.rs │ ├── worktree_repository.rs │ ├── worktree_repository_statuses.rs │ └── worktree_settings_file.rs ├── tables.rs └── test_db.rs ``` Release Notes: - N/A
Max Brunsfeld created
b35aaf1
Break up Database impl into multiple files, organized by topic
Max Brunsfeld created
e964137
Reorganize source files of collab::db
* Move all sea_orm tables into a 'tables' module * Move TestDb into its own file * Move id types into their own module
Max Brunsfeld created