Commit Graph

68 Commits (f750b3e970baf12f64614e0fbd6fced3425e3e5e)

Author SHA1 Message Date
Zhiming Ma c049f23a0c
feat(agent): format indentation if not match with editor config. (#911) 2023-11-28 16:57:02 +08:00
Zhiming Ma 52cf5fb613
feat(agent): support read clipboard as prompt (#885)
* feat(agent): add support for reading clipboard text as prompt.

* fix: add clipboard in context hash calculation.

* fix: set default allowed clipboard chars to 2000.
2023-11-24 14:56:31 +08:00
Zhiming Ma 1583e76994
fix(agent): Hotfix 1.1.1. Fix agent completion stats initialization error. (#844)
* fix(agent): fix completion stats initialization error.

* fix(agent): Hotfix 1.1.1. Fix agent completion stats initialization error.

* fix: fix changelog format.
2023-11-19 20:11:03 -08:00
Zhiming Ma 84781ec84a
chore(vscode): bump vscode extension & tabby-agent version to 1.1.0. (#835) 2023-11-18 21:34:57 -08:00
Zhiming Ma adb4bcd13f
feat(vscode): add notification when failed to connect to server. (#808) 2023-11-16 20:30:04 -08:00
Zhiming Ma 63c7da4f96
feat(agent): postprocess add calculate replace range by syntax. (#765) 2023-11-12 20:53:20 -08:00
Zhiming Ma 568b7b41a5
feat(agent): add experimental postprocess limit scope by syntax. (#758)
* feat(agent): add tree-sitter parser.

* feat(agent): make parser updating tree cache optional.

* feat(agent): add experimental limit scopy by syntax.

* test(agent): update unit test for limitScopeBySyntax.
2023-11-12 10:11:31 -08:00
Zhiming Ma f2ea57bdd6
refactor(agent): extract calculateReplaceRange and add unit test. (#764)
* refactor(agent): extract calculateReplaceRange.

* test(agent): add unit test for calculateReplaceRangeByBracketStack.
2023-11-11 08:42:00 -08:00
Zhiming Ma e3518b46a5
test(agent): add test bad case for limit scopy by indentation. (#757)
* test(agent): add test bad case for limitScopeByIndentation.

* test(agent): fix golden test config.

* fix: lint.

* test(agent): update test cases.
2023-11-10 22:45:38 -08:00
Zhiming Ma ff03e2a34e
feat(agent): add back agent timeout config. (#739)
* feat(agent): add back agent timeout config, add option to disable warning for slow response time.

* feat(agent): Update completion timeout to single number. Add config type validation.
2023-11-09 22:39:22 -08:00
Zhiming Ma 424626cf5f
feat(clients): add information about anonymous data tracking. (#704)
* feat(clients): add information about anonymous data tracking.

* fix: update docs for anonymous usage data.

* Update website/docs/extensions/configurations.md

Co-authored-by: Meng Zhang <meng@tabbyml.com>

* Update website/docs/extensions/configurations.md

Co-authored-by: Meng Zhang <meng@tabbyml.com>

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-11-05 22:59:28 -08:00
Zhiming Ma 4d6389a9ab
test(agent): add golden test. (#684)
* test(agent): add golden test.

* test(agent): update golden test.

* test(agent): remove docker-compose.

* test(agent): update golden test.
2023-11-04 19:12:52 -07:00
Zhiming Ma f991b8b7ab
fix(agent): update config.toml template. (#671) 2023-10-29 21:27:28 -07:00
Zhiming Ma e88097320b
feat(agent): add auth token config. (#649)
* feat(agent): add auth token config.

* fix: fix agent loading auth token.

* fix: update retain old config filepath.

* fix: update retain old config filepath.

* fix: lint.

* fix: remove auto migrate, update config template.
2023-10-29 21:09:18 -07:00
Zhiming Ma c51e00ee45
feat(agent): add experimental option: scope of indentation filter. (#652)
* feat(agent): add experimental option: scope of indentation filter.

* fix: add config to fix unit test for limitScopeByIndentation.
2023-10-29 19:59:09 -07:00
Zhiming Ma 238d81ad4f
feat(agent): add experimental option: strip auto-closing chars in prompt suffix. (#651)
* feat(agent): add experimental option: strip auto-closing chars in prompt suffix.

* fix: rename settings adding experimental prefix.
2023-10-29 19:58:25 -07:00
Zhiming Ma 3b4717fd47
chore(vscode): bump vscode extension & tabby-agent version to 1.0.0. (#609) 2023-10-22 00:11:59 -07:00
Zhiming Ma c2db171ef9
feat(vim): update vim plugin. (#604)
* feat(vim): update vim plugin.

* fix(vim): fix bugs.

* docs: update vim doc.

* docs: update vim readme.

* docs(vim): add vim plugin changelog.
2023-10-21 23:32:17 -07:00
Zhiming Ma 5cd32eb7c0
refactor(agent): remove deprecated agent options. (#585)
* refactor(agent): remove deprecated agent options.

* fix: overwrite old template if user has not modified it.

* fix: also remove debounce options.
2023-10-18 20:12:14 -07:00
Zhiming Ma 85109daea8
feat(agent): add count_select in AgentStats event. (#583)
* feat(agent): add count_select in AgentStats event.

* fix: also count view events in agent stats.
2023-10-18 09:08:14 -07:00
Zhiming Ma 4a87bcf431
fix(agent): fix postprocess indentation filter to check if the block closing line is duplicated. (#586) 2023-10-18 03:11:55 -07:00
Zhiming Ma be5e76650f
refactor(agent): refactor completion postprocess and caching. (#576) 2023-10-17 09:04:04 -07:00
Zhiming Ma 5f67abb553
fix(agent): improve postprocess to trim whitespace. (#550)
* fix(agent): improve postprocess to trim white space.

* fix: lint.
2023-10-13 21:57:55 -07:00
Zhiming Ma 4ebad71805
fix(agent): hotfix vscode extension 0.6.1. Filter out no data AgentStats event. (#489) 2023-09-28 18:58:44 -07:00
Zhiming Ma 1d6ac7836b
chore: bump VSCode extension version 0.6.0. bump tabby-agent version 0.3.0. (#484) 2023-09-27 19:19:31 -07:00
Zhiming Ma 50ac1ced0a
feat(agent): add user properties for anonymous usage tracking. (#483) 2023-09-27 19:15:39 -07:00
Zhiming Ma e5340ddf06
chore: add ci test clients. (#476)
* chore: add ci test clients.

* chore: add ci test build intellij plugin.
2023-09-26 21:02:56 -07:00
Zhiming Ma f75a50de02
Refactor completion request statistics (#474)
* refactor(agent): improve completion provider stats.

* refactor(agent): refactor issues notification and config update.
2023-09-26 03:01:38 -07:00
Zhiming Ma cc83e4d269
fix(vscode): completion view/select event. (#471)
* fix(vscode): completion view/select event.

* chore: bump tabby-agent version 0.3.0-dev.
2023-09-25 09:07:25 +08:00
Zhiming Ma 635469f6bd
chore: bump VSCode extension version 0.5.0. bump tabby-agent version 0.2.0. (#449) 2023-09-15 19:04:01 +08:00
Zhiming Ma efe2dcbb0f
refactor(agent): agent http request and cancellation flow. (#446)
* refactor(agent): refactor http request and cancellation flow.

* fix: minor fixes.

* fix: minor fix cheking timeout error in stats.
2023-09-15 11:05:46 +08:00
Zhiming Ma 3af32c8c7c
fix: hotfix vscode extension 0.4.1. update document links, fix data.json migration, and update anonymous usage tracking client properties. (#434) 2023-09-12 13:25:20 +08:00
Zhiming Ma 8cabf68892
chore: bump VSCode extension version 0.4.0. bump tabby-agent version 0.1.0. (#426) 2023-09-11 12:23:02 +08:00
Zhiming Ma 12a37e2330
refactor(agent): Move data path from ~/.tabby/agent to ~/.tabby-client/agent. Add config.toml template. (#420) 2023-09-10 10:25:23 +08:00
Zhiming Ma f514e47c2e
feat(agent): add server info in AgentConnected event. (#402) 2023-09-05 15:06:35 +08:00
Zhiming Ma 1c1cf44639
feat(agent): added adaptive completion debouncing. (#389)
* feat(agent): added adaptive completion debouncing.

* chore: bump tabby-agent version to v0.1.0-dev.
2023-09-01 13:30:53 +08:00
Zhiming Ma 77fc2be552
fix(agent): improve postprocess: limitScopeByIndentaion. (#367)
* fix(agent): improve postprocess: limitScopeByIndentaion.

* fix lint.
2023-08-24 13:58:04 +08:00
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 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 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 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
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