Commit Graph

63 Commits (848aff7d1feb2b0d4e16cba2b89c02f7f2844052)

Author SHA1 Message Date
Zhiming Ma 450bf5eded
fix: agent auth token refresh. (#267) 2023-06-24 06:33:33 -07:00
Meng Zhang 0265d946d9 fix 2023-06-23 11:03:02 -07:00
Meng Zhang c43f885bc1
fix authApiBase (#264) 2023-06-23 10:56:00 -07:00
Zhiming Ma 2b258041bb
fix: Agent refresh auth token retry delay. (#263) 2023-06-23 00:39:06 -07:00
Zhiming Ma 1752f1555b
feat: agent auth support to refresh token. (#262) 2023-06-22 23:43:55 -07:00
Will Owens b6845ddac0
feat: vim user configurable bindings for accept/dismiss (#257)
* feat: update vim tabby-agent.js

* feat: vim configurable accept/dismiss bindings
2023-06-22 23:35:55 -07:00
Zhiming Ma 2680410ac0
Feat agent postprocess limit completion scope (#254)
* refactor: Extract postprocess filters , add unit test for postprocess filters.

* feat: agent add indentation based postprocess.

* feat: agent enable indentation based postprocess.

* fix: rebase and small fixes.

* fix: move postprocess after completion cache.
2023-06-21 23:22:35 -07:00
Will Owens 450e6bbb56
feat: agent enable per request prefix/suffix max lines configuration (#255) 2023-06-21 20:01:57 -07:00
Pau García Chiner 41c747e295
Update the clients/vim/README.md (#253)
Added a section that explains how to install the extension on packer and lazy.
2023-06-19 13:50:48 -07:00
Zhiming Ma dda1013f21
chore: bump VSCode extension version 0.1.0. (#249) 2023-06-16 13:08:07 -07:00
Zhiming Ma 7597ec6097
refactor: VSCode Extension Settings cleanup. (#248)
* refactor: VSCode Extension Settings cleanup.

* fix: vscode extension update settings naming.
2023-06-16 12:54:30 -07:00
Zhiming Ma 7f607f2f30
feat: Update agent completion api user field. (#246) 2023-06-16 10:50:47 -07:00
Zhiming Ma 6f7a6afcd1
feat: Update agent device token api. (#244)
* feat: Update agent device token api.

* fix: typedef for DeviceTokenRequest.
2023-06-16 10:43:47 -07:00
Zhiming Ma 534d3d5ea7
feat: Add anonymous usage tracking. (#243)
* feat: Add anonymous usage tracking.

* fix: anonymous usage post body.

* fix: anonymous usage tracking initialize agent event name.

* chore: build tabby-agent.

* fix: agent anonymous data store.

* fix anonymous usage tracking event name: AgentInitialized.
2023-06-16 01:58:50 -07:00
Zhiming Ma 11e4a5991d
feat: tabby agent auth (#240)
* feat: Support tabby server auth.

* fix notification toggle command.

* feat: add vscode web support.
2023-06-15 08:53:21 -07:00
Zhiming Ma 4ea3298bc9
feat: Add agent completion post-process. (#221) 2023-06-08 10:19:10 -07:00
Zhiming Ma 1eb22b9768
feat: vim update agent (#217)
* feat: vim plugin update agent.

* update readme.
2023-06-07 09:12:37 -07:00
Zhiming Ma 0528c36bac
fix: vim plugin inline completion display error if starts with newline. (#216) 2023-06-07 09:12:09 -07:00
Zhiming Ma c82cc38e9d
feat: Agent update backend FIM completion api. (#218) 2023-06-07 09:11:31 -07:00
Zhiming Ma e8a1688fce
feat: add tabby-agent loggers. (#210) 2023-06-06 07:25:31 -07:00
Zhiming Ma bc90ff4b7e
refactor: agent configuration interface (#209)
* refactor: Agent configuration interface.

* Simplify agent logs config.

* Rename analytics to anonymousUsageTracking.
2023-06-06 06:29:04 -07:00
Meng Zhang 40d8e039b3
fix: neovim expand path (#188) 2023-06-04 21:42:18 -07:00
Zhiming Ma e3eae370be
refactor: Update agent getCompletion interface. (#176) 2023-06-01 20:58:34 -07:00
Meng Zhang bd5fd0592a
fix: tabby agent shouldn't ping a url with trailing slash (#173)
* fix: tabby agent shouldn't ping a url with trailing slash

* remove status 200 check
2023-05-30 23:36:54 -07:00
Zhiming Ma 781e6a7db3
Bump VSCode Extension version to 0.0.6. (#168) 2023-05-29 23:31:39 -07:00
Zhiming Ma a9d74f7a35
Agent: Add completion cache. (#158) 2023-05-28 19:09:44 -07:00
Zhiming Ma c08f5acf26
VSCode extension: import agent lib. (#144) 2023-05-24 09:21:38 -07:00
Zhiming Ma ea0252c17d
Refactor to clarify agent interface. (#142)
* Refactor to clarify agent interface.

* Refactor stdio and extract types.

* Fix notification type.
2023-05-23 18:50:57 -07:00
Zhiming Ma eb67371cce
Move vim plugin node scripts to agent lib. (#141)
* Move vim plugin node scripts to agent lib.

* Fix gitignore.
2023-05-22 09:34:56 -07:00
Zhiming Ma 9c3a23ea51
Vim plugin: only trigger completion request when text changed. (#139) 2023-05-18 08:48:13 -07:00
Zhiming Ma 2b34d177ba
Vim plugin readability refactor. (#132) 2023-05-15 09:42:16 -07:00
vodkaslime 666d37ff52
small fix for completion cache (#130) 2023-05-12 08:10:57 -07:00
Zhiming Ma 75c82fa7c6
VSCode extensions: add completion cache. (#128) 2023-05-11 07:55:34 -07:00
Zhiming Ma 5710994bca
Bump VSCode Extension version to 0.0.5. (#120) 2023-04-26 11:29:17 +08:00
Zhiming Ma 300fe8c2b0
VIM plugin: Improve commands, and help document. (#113)
* VIM plugin: Add help and improve commands.

* Improve help command and command completion.
2023-04-21 13:06:16 +08:00
Zhiming Ma 3dedd49afc
Fix vim plugin: cancel pending completion request when make a new completion request. (#114) 2023-04-21 13:05:52 +08:00
Zhiming Ma b8730685e0
Improve VSCode extension configuration and validation. (#111) 2023-04-20 08:23:30 +08:00
Zhiming Ma 5d5421f2b3
Fix VSCode extension: cancel pending completion request when make a new completion request. (#110) 2023-04-18 00:00:08 +08:00
TheEmber dc88f03a1f
Added suggestion delay setting and command to vscode extension. (#106)
* Added suggestion delay setting and command.

* Formatted with prettier

* Removed yarn local dependency
2023-04-17 09:12:16 +08:00
Zhiming Ma 04e2af3790
Update vim plugin use openapi codegen. (#101)
* Update vim plugin use openapi codegen.

* Refactor: move utils function.

* Rebuild dist/tabby.js.
2023-04-13 21:57:14 +08:00
Zhiming Ma d5b6ea8187
Update vscode language field in completion api. (#102) 2023-04-13 21:42:59 +08:00
Zhiming Ma a9b00b1450
Update vscode use openapi codegen. (#99) 2023-04-13 15:28:30 +08:00
Zhiming Ma 9c4b13174e
Add neovim support. (#87)
* Add neovim support.

* Fix lint.
2023-04-12 03:36:27 +08:00
Meng Zhang f3aa91c715
Update README.md 2023-04-12 01:46:03 +08:00
Meng Zhang 120a9ae4a7
Update README.md 2023-04-11 15:46:46 +08:00
Ikko Eltociear Ashimine e18f83fd46
fix typo in launch.json (#80)
Extentions -> Extensions
2023-04-10 23:21:17 +08:00
Meng Zhang 0ddc1bc087
fix: fix vim extension linebreak bug (#73)
* update

* remove fs
2023-04-09 21:12:18 +08:00
Meng Zhang 2c3fee4f4f
feat: improve vim extension user experience (#71)
* chore: checkin dist file for vim extension

* use getbufline

* do not invoke tabby if file type is unknown

* update readme

* Update README.md

* Update README.md

* Update README.md

* Update tabby.vim
2023-04-09 20:26:54 +08:00
Meng Zhang e28877fbbb
chore: add pre-commit workflow (#72)
* chore: add pre-commit workflow

* fix pre-commit
2023-04-09 20:17:56 +08:00
Zhiming Ma e653ca0a74
Add VIM client. (#63)
* Add vim client.

* Checking global flag to avoid duplicated loading.
2023-04-08 13:20:27 +08:00