-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tabby-chat-panel): adding capability check in tabby-ui and addin…
…g applyInEditorV2 (#3432) * feat: add hasCapability method to ClientApi interface * feat: adding custom createThread implementation * feat: add createThreadInsideIframe module and update dependencies * [autofix.ci] apply automated fixes * feat: add CHECK_CAPABILITY method to createThread function * feat: update server capabilities in ChatPage component * [autofix.ci] apply automated fixes * feat: add ChatContext to AssistantMessageSection component * feat(tabby-thread): adding tabby threads package * feat(tabby-threads): add customized version of @quilted/threads for Tabby project, also added readme * feat: add CHECK_CAPABILITY method to target.ts * feat: update dependencies for tabby-chat-panel and vscode clients * chore: delete custom thread * chore: remove custom thread * feat: adding apply in editor v2 * feat: implement applyEditorV2 on vscode * feat(web-ui): adding capability check, also auto apply applyEditor v1 and v2 * chore: adding a new interface to encapsulate client apis * chore: Update createClient function parameter name in index.ts and react.ts - In index.ts, update the second parameter of the createClient function from `api: ClientApi` to `api: ClientApiMethods`. - In react.ts, update the second parameter of the useClient function from `api: ClientApi` to `api: ClientApiMethods`. * [autofix.ci] apply automated fixes * chore: update tabby-chat-panel to version 0.3.0 * feat: Add clientApiKeys array to export available client API methods The `clientApiKeys` array is added to export the available client API methods. This array includes keys for methods such as `navigate`, `refresh`, `onSubmitMessage`, `onApplyInEditor`, `onApplyInEditorV2`, `onLoaded`, `onCopy`, and `onKeyboardEvent`. This change enhances the functionality of the `ClientApi` interface. * chore: Update createClient and useClient function parameter names Update the second parameter of the createClient function in index.ts and the useClient function in react.ts from `api: ClientApi` to `api: ClientApiMethods`. This change improves the clarity and consistency of the function parameter names. * chore: Update createClient and useClient function parameter names * chore: Update createClient and useClient function parameter names Update the second parameter of the createClient function in index.ts and the useClient function in react.ts from `api: ClientApi` to `api: ClientApiMethods`. This change improves the clarity and consistency of the function parameter names. --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6236c30
commit 5c15a7c
Showing
11 changed files
with
141 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.