Commit Graph

417 Commits

Author SHA1 Message Date
Meng Zhang
8d83f30332
refactor(vscode/chat): remove unused getTheme function and related code (#3107) 2024-09-09 22:01:56 -07:00
Meng Zhang
c4a947c1a1
refactor(ui/chat): cleanup client usage in chat page (#3098)
* refactor(ui/chat): cleanup client usage in chat page

* refactor(ui/chat): cleanup css variables

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-06 16:29:25 -07:00
Meng Zhang
8938c30959
refactor(vscode, ui/chat): cleanup tabby chat panel interface (#3088)
* refactor: cleanup tabby chat panel interface

* update

* futher simplify

* update

* update

* update

* update version

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-06 14:27:28 -07:00
Shankar
7227d0b171
chore(agent): require min length for code shown to complete (#3073)
* Require min length for code shown to complete

* [autofix.ci] apply automated fixes

* more review fixes

* Remove dropBlank module + more fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-06 14:26:39 -07:00
Zhiming Ma
8dcdf6cda4
refactor(eclipse): refactor the inline completion trigger. (#3060) 2024-09-03 18:38:02 -07:00
Zhiming Ma
9e11dbd3b1
fix(chat-panel): add support for custom headers. (#3053)
* fix(chat-panel): add support for custom headers.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-03 08:12:45 -07:00
Zhiming Ma
d4f10aee33
fix(vscode): inline edit resolving context variable. (#3044) 2024-09-03 01:11:03 +08:00
Zhiming Ma
47fa435217
fix(eclipse): fix chat view browser on windows. (#3036) 2024-09-01 23:20:47 -07:00
Meng Zhang
2852d3a09f fix(vscode): move diff dependency to devDependencies 2024-08-30 17:43:18 -07:00
Meng Zhang
85a8376240
fix(vscode): only display Edit with Tabby when chat is enabled (#3020) 2024-08-30 03:35:24 -07:00
eryue0220
2dfd0bbd9c
feat(vscode): add proxy support for vscode (#2921)
* feat: add proxy support for vscode

* feat: complete proxy feature

* feat: add proxy support for vscode

* fix: remove noProxy configuration

* fix: update configuration strategy

* fix: support vscode proxy update

* [autofix.ci] apply automated fixes

* fix: cr

* feat: reactor init function

* [autofix.ci] apply automated fixes

* feat: refactor configuration init & update

* fix: format

* fix: cr

* fix: cr

* fix: cr bug

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-29 22:42:14 -07:00
Meng Zhang
d966621ecf
style(vscode): display iframe only when iframe is fully loaded (#3024)
* style(vscode): display iframe only when iframe is fully loaded

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-29 22:23:09 -07:00
Meng Zhang
0903ea9e3f
style(vscode): tune line editing insertion mode to minimize editing (#3021)
* style(vscode): tune line editing insertion mode to minimize editing

* update

* update

* update
2024-08-29 22:15:47 -07:00
Zhiming Ma
70822ed644
fix(eclipse): make eclipse jgit optional. (#3018)
* fix(eclipse): make eclipse jgit optional.

* fix: add logging.
2024-08-29 10:08:49 -07:00
Zhiming Ma
76f24c8fc1
docs(eclipse): add export archive in readme. (#3017) 2024-08-30 00:33:26 +08:00
Meng Zhang
08a326c347
chore(vscode): use codelens for inline edit actions / decorations (#3000)
* refactor(vscode): disable noUnusedLocals and update build script. Extract InlineEditController

* refactor(inline-edit): reorganize InlineChatEdit

* restructure tsconfig.json

* build(clients/tabby-agent): update watch script to modify dist/protocol.d.ts on success, to help trigger watch mode of vscode extension

* streaming at line break

* Let CodeLensProvider using footer's markers

* turn off background color of header / footer to avoid flickering

* support cancel from codelens

* update

* update

* update

* update

* [autofix.ci] apply automated fixes

* fix

* chore(agent): when apply inline edit, apply the first edit as soon as possible so codelens can display immediately

* add highlight for in progress edit

* update

* [autofix.ci] apply automated fixes

* update

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-28 21:52:58 -07:00
Jackson Chen
eafd8c6cc8
feat(vscode): adding inline edit into quick fix bar (#3010)
* feat(vscode): adding inline edit into quick fix bar

asd

* to: change the kind and name for inline edit
2024-08-28 21:52:44 -07:00
Zhiming Ma
361862494e
chore(vscode): bump vsce version to 1.11.0-dev. (#3014) 2024-08-28 21:45:07 -07:00
Jackson Chen
e610e2877a
fix: change the reg rather replace str (#3004) 2024-08-29 11:00:07 +08:00
Meng Zhang
589c4d43a7
fix(vscode): when serverInfo got updated, chat ui need to be force re… (#2993)
* fix(vscode): when serverInfo got updated, chat ui need to be force refreshed

* [autofix.ci] apply automated fixes

* Update clients/vscode/src/chat/ChatViewProvider.ts

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-27 18:35:01 +08:00
Meng Zhang
540e9e7a5e
ci: add release-vsce.yml (#2989)
* ci: add release-vsce.yml

* update

* update

* update

* update

* [autofix.ci] apply automated fixes

* Update .github/workflows/release-vscode.yml

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-26 20:28:38 -07:00
Meng Zhang
c6860d02c4
feat(vscode): add command to select server config from history (#2975)
* refactor(vscode): rename chatEditHistory to maxChatEditHistory

* feat(vscode): add command to select server config from history

* Update clients/vscode/src/CommandPalette.ts

* Update clients/vscode/package.json

* update

* [autofix.ci] apply automated fixes

* limit max count

* update

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-25 19:13:41 -07:00
Meng Zhang
27b39a622d
chore(vscode): update command palette to pass modal flag correctly (#2972)
- Modified the command in CommandPalette.ts to pass `true` for the modal flag when calling `showHelpMessage`.
- Updated Issues.ts to always use `modal = true` and marked the `modal = false` codepath as deprecated for future removal.
2024-08-25 19:10:40 -07:00
Jackson Chen
a60a0c4b53
feat(vscode): adding commit message button in source control title (#2878)
* feat(vscode): adding auto generate button in source control

* to(vscode): adding white magic-wand and change command description

* update icons

* hide generate commit message in command palette

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2024-08-25 19:09:49 -07:00
Jackson Chen
ecc5bfb6f5
feat(vscode): one undo-redo step for one chat stream (#2872)
* feat(tabby-agent): adding tabby/workspace/applyEdi tsserver to client namespace

* feat:  send request by using new tabby/workspace/applyEdit type in ChatEditProvider to applyEdit

* feat(vscode):  onRequest by using new tabby/workspace/applyEdit type in ChatFeature to applyEdit

* feat(client): adding middleware to prevent that clients not support specific connection type

* to(vscode): remove inner applyUndo func and adding optional value check

* to(client): remove console log and fix cannot decode GENERATEDCODE tag
2024-08-26 10:07:51 +08:00
Zhiming Ma
74c78dd91a
feat(eclipse): support to collect additional context used for code completion. (#2971)
* feat(eclipse): impl git provider lsp client.

* feat(eclipse): add client side language support based on lsp4e.

* chore(eclipse): bump build number.
2024-08-23 11:08:46 -07:00
Zhiming Ma
2eafea6b3d
fix(eclipse): fix chat panel version parsing (#2968)
* fix(eclipse): fix chat panel version parsing.

* chore(eclipse): bump build number.
2024-08-23 01:04:53 -07:00
Meng Zhang
3207b49b0c
chore(vscode): optimize go to file experience for client side context (#2958)
* chore(vscode): optimize go to file experience for client side context

* [autofix.ci] apply automated fixes

* update

* update

* Update clients/vscode/src/chat/ChatViewProvider.ts

Co-authored-by: Zhiming Ma <codes.icy@gmail.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Zhiming Ma <codes.icy@gmail.com>
2024-08-23 06:48:26 +00:00
Meng Zhang
8f0474a10d
feat(vscode): tune vscode sidebar display logic with file context sel… (#2957)
* feat(vscode): tune vscode sidebar display logic with file context selection

* update

* [autofix.ci] apply automated fixes

* update

* update

* update

* Update clients/vscode/src/chat/ChatViewProvider.ts

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-22 23:43:27 -07:00
Zhiming Ma
ab2136f054
fix(agent): fix build text loader. (#2949) 2024-08-22 19:07:49 +08:00
Zhiming Ma
b6cf160ccb
feat(eclipse): add chat panel. (#2933)
* feat(eclipse): add chat panel.

* feat(eclipse): add git context for chat panel.

* feat(eclipse): support chat panel navigate and applyInEditor.

* fix(eclipse): if current selection is empty, use full file as context.

* chore(eclipse): bump build number.

* fix(eclipse): fix reload.
2024-08-21 22:54:55 -07:00
Meng Zhang
474c1a200c
refactor(webserver): remove deprecated /v1beta/answer route (#2852)
* refactor(webserver): remove deprecated /v1beta/answer route

* remove unused

* clean up tabby-ui openapi.json

* update
2024-08-21 20:12:42 -07:00
Meng Zhang
8cdf6a5f41
feat(vscode): use CommandPalette to display tabby menu (#2917)
* feat(vscode): use CommandPalette to display tabby menu

* update

* [autofix.ci] apply automated fixes

* Apply suggestions from code review

* update

* Update clients/vscode/src/Commands.ts

Co-authored-by: Zhiming Ma <codes.icy@gmail.com>

* chore(vscode): display issues help message in CommandPalette

* update label

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Zhiming Ma <codes.icy@gmail.com>
2024-08-21 04:19:40 -07:00
Meng Zhang
af51b79904
feat(vscode): add an edit button in inline edit history (#2926) 2024-08-21 02:59:48 -07:00
Meng Zhang
c9970bd431
docs: add CONTRIBUTING.md for VSCode (#2913)
* docs: add CONTRIBUTING.md for VSCode

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-19 22:03:34 -07:00
Meng Zhang
bbf4519c97
chore(vscode): add relevant context menu in context menu (#2916)
* chore(vscode): add relevant context menu in context menu

* Update clients/vscode/package.json

* chore(vscode): support add file context (#2918)

* chore(vscode): support add file context

* Update clients/vscode/package.json

Co-authored-by: Zhiming Ma <codes.icy@gmail.com>

---------

Co-authored-by: Zhiming Ma <codes.icy@gmail.com>

---------

Co-authored-by: Zhiming Ma <codes.icy@gmail.com>
2024-08-20 04:39:44 +00:00
Meng Zhang
4841fc4bb8
chore(vscode): add key short cut for add selection to chat sidebar / focus on sidebar (#2915) 2024-08-19 20:18:29 -07:00
Meng Zhang
d8a618bf95
chore(vscode): improve error message of chat side panel (#2912)
* chore: improve error message of chat side panel

* update

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-19 20:18:07 -07:00
Zhiming Ma
3c468751db
feat(eclipse): implement statusbar item sync. (#2896) 2024-08-16 00:02:04 -07:00
Zhiming Ma
c3bc3d12b5
refactor(agent): deprecate tabby/agent/* methods and intro tabby/config/* and tabby/stastus/*. (#2895) 2024-08-16 00:01:52 -07:00
Zhiming Ma
12daed3aca
fix(eclipse): remove the isEditable check. (#2863) 2024-08-13 22:51:16 +08:00
Zhiming Ma
f7613ef315
docs(eclipse): add screenshot in readme. (#2860)
* docs(eclipse): add screenshot in readme.

* fix: format.

* fix: update images.

* fix: format.
2024-08-13 14:56:49 +08:00
Meng Zhang
8dfc23a8dc
docs: change grammar fixing command's text copy (#2849)
* docs: change grammar fixing command's text copy

* Update AgentConfig.ts

* Update AgentConfig.ts

* update

* update

* update

* update

* update

* update

* update

* update

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-13 04:28:36 +00:00
Meng Zhang
730fab06b1
docs(vscode): update inline editing command (#2855) 2024-08-13 11:02:48 +08:00
Meng Zhang
11486b87bb
chore: fix inline chat command text copy (#2848) 2024-08-12 10:06:55 -07:00
Zhiming Ma
23987ae351
docs(eclipse): fix readme step build tabby-agent. (#2846) 2024-08-12 08:55:28 -07:00
Zhiming Ma
d8b66ea1d7
docs(eclipse): add readme. (#2844)
* docs(eclipse): add readme.

* Update README.md

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2024-08-12 08:24:25 -07:00
Meng Zhang
2c78c21d1e
fix(vscode): set excludeFiles to undefined so by default ignored files are applied (#2834) 2024-08-12 10:50:47 +08:00
aliang
fdfbf046b5
feat(ui): support multi selection in chat panel (#2808)
* feat(ui): support multi selection in chat panel

* update: add logger

* [autofix.ci] apply automated fixes

* version

* update title

* update schema

* rename

* version check

* rename

* add `activeContext` field in ChatMessage

* [autofix.ci] apply automated fixes

* add pending relevantContext

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-09 14:18:59 -07:00
Zhiming Ma
3a87d1a858
fix(eclipse): impl initialization options. (#2819) 2024-08-09 18:50:29 +08:00