Dmitry Torokhov
9fb2be881c
fix: do not run luacheck over files in ./target directory ( #2752 )
2025-10-11 15:40:23 +08:00
Dmitry Torokhov
61c1bf8bfe
feat(luatest): create a self-contained test runner
...
Adds a new scripts/run-luatest.sh script to provide a consistent,
self-contained way to run project unit tests, including locally.
The script handles:
- Checking for necessary tools (rg, ag)
- Cloning or updating plenary.nvim into the target/tests/deps directory
The Makefile is updated to use this new script, making make luatest the
single entry point for running unit tests.
The lua.yaml workflow is simplified to use this new make target,
ensuring the CI environment uses the exact same testing logic.
2025-08-02 17:43:55 +08:00
Dmitry Torokhov
59a518cf86
feat(typecheck): add local mode mirroring github to lua-typecheck.sh
...
This implements mode mirroring github workflow in scripts/lua-typecheck.sh
so that it can run locally.
A supporting script scripts/setup_deps.sh is created to define and
download/clone dependencies (plugins), as well as download luals, neovim
runtime, and create luarc.json. setup_deps.sh is now the only and
authoritative source of dependencies and luals version. Neovim version
still comes from lua.yaml.
To fetch neovim version from lua.yaml as well as figure out the right
source of neovim package, dependency on yq is introduced when running
locally in "managed" mode.
Dependencies, neovim runtime, and luals are downloaded to
target/tests subdirectory on local machine. luarc.json is created
from a template there as well.
The ability to run against the live system is preserved with "--live"
option. In this case it assumes that neovim is using lazy package
manager and optionally Mason, so if luals is not present in path the
script will try to see if it is installed by Mason.
When running in github CI neovim is set up through github action while
dependencies and luals are handled by the scripts.
2025-08-02 17:43:55 +08:00
yetone
e2d160aa83
Revert "feat: obsoletes "require("avante_lib").load()" ( #2324 )" ( #2353 )
2025-06-27 16:31:51 +08:00
Matthieu Coudron
20e7f992a8
feat: obsoletes "require("avante_lib").load()" ( #2324 )
2025-06-26 16:53:26 +08:00
yetone
687da816f9
chores: update rag service image version ( #2182 )
2025-06-07 14:40:33 +08:00
Peter Cardenas
b6a3c925a4
fix: support rag search on macos ( #1928 )
2025-05-12 16:54:48 +08:00
yetone
b59cbf4392
feat: upgrade rag service image version ( #1673 )
2025-03-22 14:38:28 +08:00
yetone
008fe29de8
fix: use host network for rag service container ( #1649 )
2025-03-20 03:45:44 +08:00
yetone
7d7f93d093
feat: upgrade rag service ( #1548 )
2025-03-10 16:32:17 +08:00
yetone
7578f13d8d
feat: upgrade rag service image version ( #1488 )
2025-03-05 16:22:25 +08:00
yetone
1097f1dfae
feat: update rag service image ( #1415 )
2025-02-27 11:54:38 +08:00
yetone
a1d1697400
feat: parse excel ( #1383 )
2025-02-25 12:06:50 +08:00
yetone
7255e16020
fix: rag resource must be a git repo ( #1360 )
2025-02-23 15:11:18 +08:00
yetone
ea07d45c1c
fix: update image registry ( #1353 )
2025-02-23 01:54:01 +08:00
yetone
fd84c91cdb
feat: RAG service ( #1220 )
2025-02-23 01:37:26 +08:00
yetone
b04bffa441
fix: types ( #1344 )
2025-02-22 23:24:20 +08:00
Hanchin Hsieh
16bcbc0229
Revert "Fix Makefile shell usage"
...
This reverts commit 8f32512949 .
2025-02-13 15:31:02 +08:00
Alexandre Balon-Perin
8f32512949
Fix Makefile shell usage
2025-02-13 15:19:22 +08:00
yetone
1ec12907a2
feat: fetch tool ( #1196 )
2025-02-06 19:13:47 +08:00
yetone
e14eb002d5
feat: add luatest ( #1064 )
2025-01-10 00:23:59 +08:00
yetone
0d90c047ef
feat: avante repo map rust crate ( #628 )
2024-09-26 03:45:49 +08:00
Josef Moudrik
bf8a943f45
fix(windows): check nil ( #529 )
...
* small fixes: sidebar: opts.win ~= nil case && bash
- and bash in Makefile (should correspond to she-bang in build.sh)
* fix lua style
2024-09-04 10:34:33 -04:00
Aaron Pham
a5726bd2bf
feat(crates): prebuilt binaries ( #473 )
...
* feat(crates): prebuilt binaries
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: update name
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: build on PR
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: only build for lua51 and luajit
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* feat: build stuff
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: only build if changes in Rust
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* fix: remove deadcode
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2024-09-03 06:20:53 -04:00
Aaron Pham
e8c71d931e
chore: run stylua [generated] ( #460 )
...
* chore: add stylua
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: running stylua
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2024-09-03 04:19:54 -04:00
Aaron Pham
4ad913435c
feat(templates): avanterules filetype support ( closes #254 ) ( #466 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2024-09-03 04:09:13 -04:00
Aaron Pham
0557deeab7
feat: tokenizers ( #429 )
...
* feat: tokenizers
This reverts commit d5a4db8321 .
* fix(inputs): #422
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2024-08-31 13:39:50 -04:00
yetone
d5a4db8321
Revert tokenizers ( #423 )
...
* Revert "fix: add missing "with" in README"
This reverts commit bf1e7f1f17 .
* Revert "feat: tokenizers (#407 )"
This reverts commit d2095ba267 .
2024-08-31 22:45:31 +08:00
Aaron Pham
d2095ba267
feat: tokenizers ( #407 )
...
* feat: autobuild tiktoken lib and schenanigans
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: revert readme changes
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* fix(build): windows
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz >
* chore(plugin): early load commands and base setup
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* fix(build): make sync
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* feat: rust go vroom vroom
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* feat: scuffed afaf implementation binding go brrrr
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: remove dups
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* fix(tokens): calculate whether we should do prompt_caching (fixes #416 )
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: ignore lockfiles
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* Update README.md
* Update crates/avante-tokenizers/README.md
* chore: remove unused
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: remove auto build
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz >
Co-authored-by: yuchanns <me@yuchanns.xyz >
2024-08-31 07:19:59 -04:00
yetone
1f0395ccd0
fix: makefile ( #319 )
2024-08-28 20:57:50 +08:00
yetone
bfa203018e
fix: remove copilot provider ( #318 )
2024-08-28 20:51:20 +08:00
Chuang Yu
eaf37668b1
fix: remove temporary build directory ( #252 )
2024-08-27 00:00:36 -04:00
Aaron Pham
db1f1efb27
chore(build): from source ( #241 )
...
* chore(build): from source
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: update readme
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2024-08-26 20:36:05 +08:00
rkk1995
5159aeefd1
Include ARCH in asset name ( #219 )
2024-08-26 03:54:42 +08:00
Aaron Pham
2a0311fbf1
chore(build): add options to build from source on linux ( #98 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2024-08-19 15:41:18 -04:00
Hanchin Hsieh
2674872945
feat: support build tiktoken in Linux aarch64 ( #15 )
2024-08-16 10:01:51 +08:00
Aaron Pham
f7de743fe0
feat(tiktoken): automatic build ( #9 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2024-08-15 20:59:01 +08:00
yetone
9edd4202af
first commit
2024-08-15 01:45:38 +08:00