Commit Graph

195 Commits (a4b1d75c1a4dcc7147c61c6c9f7e2a20a0595178)

Author SHA1 Message Date
Zhiming Ma 732d83feef
feat(agent): monitor completion response time. (#359)
* feat(agent): monitor completion response time.

* fix(agent): improve help message for running large model on cpu.

* fix: notification spacing.
2023-08-17 22:28:41 +08:00
Zhiming Ma d497217427
feat(agent): support add request headers in config. (#351)
* feat(agent): support add request headers in config.

* fix(agent): fix authRequired event condition.
2023-08-11 19:39:17 +08:00
Zhiming Ma ad85befc7c
fix(agent): event name Connected -> AgentConnected. (#350) 2023-08-10 17:34:24 +08:00
Zhiming Ma b6ce85733f
feat(agent): add anonymous event: Connected. (#349) 2023-08-10 17:14:45 +08:00
Zhiming Ma 61a885ddd8
fix(vscode): will show warning if editor inline suggest is disabled. (#348)
* fix(vscode): will show warning if editor inline suggest is disabled.

* fix(vscode): update notification message when inline suggest disabled.
2023-08-10 15:57:59 +08:00
Zhiming Ma 3052ad4450
fix(vim): text inserted position error when completion ends with empty line. (#346) 2023-08-09 18:29:06 +08:00
Zhiming Ma d89d5aeef2
fix(vim): multibytes characters counting. (#345) 2023-08-09 17:42:57 +08:00
Zhiming Ma 203949bb76
feat(intellij): support auth. (#341) 2023-08-09 13:55:24 +08:00
Zhiming Ma 9e44d469d1
docs: add instruction to intellij plugin. (#338) 2023-08-05 13:13:21 +08:00
Zhiming Ma d4a83cf302
chore: update intellij plugin description. Bump version to 0.1.2. (#337) 2023-08-04 23:18:02 +08:00
Zhiming Ma 81f953faea
fix(intellij): node process not closed. (#336) 2023-08-04 16:59:31 +08:00
Zhiming Ma a90a195807
fix(intellij): fix compatibility for build 2023.x. Bump version to 0.1.1. (#335) 2023-08-04 14:18:14 +08:00
Zhiming Ma 7a61ceac1b
chore: bump intellij plugin version to 0.1.0. (#334) 2023-08-04 12:39:47 +08:00
Zhiming Ma 20e9788f29
feat(intellij): add statusbar and settings (#333)
* fix: intellij job coroutines and cancellation.

* feat: intellij plugin add settings.

* fix: intellij plugin language id map.

* fix: intellij log completion events.

* feat(intellij): add status bar.

* docs: update docs for intellij plugin.
2023-08-04 12:02:32 +08:00
Zhiming Ma 67d407779c
feat(intellij): auto trigger completion and add hotkeys to accept/dismiss completion. (#315) 2023-07-27 16:47:51 +08:00
Zhiming Ma ead8090a8f
feat: add intellij plugin. (#312)
* feat: add intellij plugin.

* fix: fix name in intellij/package.json.
2023-07-25 19:17:14 +08:00
Zhiming Ma 81a8332c89
chore: bump VSCode extension version 0.2.1. (#303) 2023-07-17 16:47:54 +08:00
Zhiming Ma ec73728825
chore(vscode): set keybinding default to vscode-style. (#302) 2023-07-17 12:58:42 +08:00
Zhiming Ma 3c8455077e
docs(vscode): add changelog. (#300) 2023-07-16 16:03:13 +08:00
Zhiming Ma 3457599db5
chore: bump VSCode extension version 0.1.2. (#298) 2023-07-14 15:16:19 +08:00
Zhiming Ma 1878644778
feat(vscode): add keybindings for accepting inline completions. (#297)
* feat(vscode): add keybindings for accepting inline completions.

* fix: set vscode keybinding profile to tabby-style.

* fix: update vscode keybindings documentation.

* docs: update vscode keybindings documentation.
2023-07-14 14:54:24 +08:00
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
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
Meng Zhang 86e565fe0a
Update README.md 2023-04-06 18:23:30 +08:00
Meng Zhang 72345620db chore: bump vscode extension to 0.0.4 2023-04-06 17:57:06 +08:00
Meng Zhang 67f0030b96
Create README.md 2023-04-06 17:54:00 +08:00
Meng Zhang 325b6773d9 chore: bump vscode plugin version 2023-04-06 00:04:09 +08:00
Zhiming Ma 0d89a1221a
VSCode extension: add language field in completion request. (#45)
* vsode ext: add language field in completion request.

* Add comment: language identifier link.

* Add comment: language id link.
2023-04-05 14:27:23 +08:00
Zhiming Ma c86582fcce
Support vscode web extension. (#44) 2023-04-05 12:11:39 +08:00
Meng Zhang 6da7c17f67
refactor: switch to /v1/events endpoint (#42)
* refactor: Add EventType enum for validation

* refactor: use /v1/events in monaco components

* refactor: use /v1/events in vscode client

* refactor: remove unused api endpoint

* refactor: improve api endpoint type check
2023-04-04 19:42:57 +08:00
Meng Zhang 51e3b54016 feat: add icon for vscode extension 2023-04-04 17:58:37 +08:00
Meng Zhang 9b4be4a8e0 feat: support vscode packaging 2023-04-04 14:30:47 +08:00
Meng Zhang 7c5d1d26bd Add dev command 2023-04-04 12:04:52 +08:00
Zhiming Ma 2f31418ac6
VSCode client: Add status bar item. (#31) 2023-03-29 18:30:13 +08:00
Meng Zhang 07a3cff13a
Delete README.md 2023-03-29 09:09:41 +08:00
Meng Zhang 03f70c8466
move vscode clients (#27) 2023-03-28 20:35:59 +08:00