Commit Graph

34 Commits (77eda8431c87ad0220e2f8f35a01e7fb58ba1e2e)

Author SHA1 Message Date
Zhiming Ma d4bef71441
refactor(agent): refactor tabby agent code style. Add typescripty strict check and eslint. (#950)
* refactor(agent): add typescript strict check and eslint.

* fix(agent): fix tree-shaking for building browser lib.

* fix(vscode): fix ignore paths for watch script.
2023-12-06 22:06:01 +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 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 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 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 3b4717fd47
chore(vscode): bump vscode extension & tabby-agent version to 1.0.0. (#609) 2023-10-22 00:11:59 -07:00
Zhiming Ma be5e76650f
refactor(agent): refactor completion postprocess and caching. (#576) 2023-10-17 09:04:04 -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 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 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 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 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 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 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
Zhiming Ma 7f607f2f30
feat: Update agent completion api user field. (#246) 2023-06-16 10:50:47 -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 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
Zhiming Ma e3eae370be
refactor: Update agent getCompletion interface. (#176) 2023-06-01 20:58:34 -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