Commit Graph

74 Commits (4388fd00500979ce88a7900eb05ca3d813b959c2)

Author SHA1 Message Date
Zhiming Ma 207559b0a2
feat: Agent add postprocess for repetitive patterns. (#294) 2023-07-13 16:31:20 +08:00
Zhiming Ma 5a5d6ee9d2
refactor: update yarn workspace struct and build scripts. (#288)
* refactor: update yarn workspace struct and build scripts.

* fix: vim upgrade agent script.
2023-07-11 14:02:58 +08:00
Zhiming Ma 62e0ea91d4
refactor: move vscode dev options to agent config. (#283) 2023-07-07 00:31:15 +08:00
Zhiming Ma 920ff9d0fe
docs: update VSCode extensino walkthrough docs about Tabby Cloud. (#282) 2023-07-06 11:43:34 +08:00
Zhiming Ma 011b05ee30
feat: vscode extension walkthrough guide (#278)
* feat: VSCode extension walkthrough guides.

* chore: remove git assets.

* chore: move asset image.

* chore: revert unused changes.
2023-07-05 22:56:07 +08:00
Zhiming Ma 77079a9033
fix: vim plugin tab keymap fallback. (#277) 2023-07-04 16:35:46 +08:00
Zhiming Ma 9ca7d11295
chore: move agent log filepath. (#275) 2023-07-03 14:16:19 +08:00
Zhiming Ma 2a01fdf177
feat: agent read config toml (#274)
* feat: agent read config toml.

* fix: move loading config toml from agent creating to initialization.

* docs: update agent config doc.
2023-07-03 11:19:09 +08:00
Zhiming Ma 8a7630563b
chore: bump VSCode extention version 0.1.1. (#271) 2023-06-24 19:57:29 -07:00
Zhiming Ma af517fb15b
refactor: improve client auth flow (#269)
* refactor: improve client auth flow

* fix: agent waiting for auth token should update status before resolve.
2023-06-24 14:43:13 -07:00
Meng Zhang 7abca766ca
feat(python): add tabby-python-client (#268)
* feat(python): add tabby-python-client

* switch to setup.py
2023-06-24 09:43:16 -07:00
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