60 Commits

Author SHA1 Message Date
Phred Lane
476f342fe6 chore: used native action-centric methods for testing (#2856)
* chore: used native action-centric methods for testing

* pass the GitHub token to the `gh` cli
2025-12-22 08:19:10 +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
Dmitry Torokhov
d737fa6109 build: remove presubmit dependency on luvit-meta
As discussed in https://github.com/yetone/avante.nvim/pull/2536 the
project should either use luv bindings from luals or luvit-meta
library, but not both, as they conflict with each other (especially
with uv.uv_timer_t). Given that other projects such as kickstart.nvim
and lazydev.nvim are switching to use the former, we should do the same
and drop luvit-meta dependency.

Also adjust code that was using luvit-meta's annotations for timers.
2025-07-31 14:12:13 +08:00
Peter Cardenas
9a04edba4a chore: remove all references to nvim-treesitter (#2327) 2025-06-25 17:42:38 +08:00
Avinash Thakur
ec0f4f9ae0 feat: allow custom input provider, removing dressing.nvim (#2173)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: yetone <yetoneful@gmail.com>
2025-06-06 23:04:35 +08:00
yetone
28f0bf75d0 chores(ci): update ubuntu (#2138) 2025-06-04 03:30:44 +08:00
yetone
e067abcd61 chores(ci): change release name (#2137) 2025-06-04 03:27:10 +08:00
yetone
7e31317fbc fix(lint): make neovim 0.11 typecheck happy (#1844) 2025-04-10 14:14:47 +08:00
yetone
f83378a67e feat: add pre-commit ci (#1824) 2025-04-07 14:55:21 +08:00
yetone
cd13eeb7d9 fix: revert max_completion_tokens to max_tokens (#1741) 2025-03-27 16:53:55 +08:00
yetone
ae5a86103d feat(ci): close stable issues and prs (#1416) 2025-02-27 11:57:46 +08:00
yetone
9c9fadd256 fix(ci): use latest stable rust version (#1406) 2025-02-26 18:05:51 +08:00
yetone
812261200c fix: release ci (#1405) 2025-02-26 17:47:21 +08:00
yetone
6f98cb0ed6 fix: fetch llm tool no longer depends on system libssl.so (#1404) 2025-02-26 17:36:01 +08:00
yetone
fd84c91cdb feat: RAG service (#1220) 2025-02-23 01:37:26 +08:00
yetone
13cd40bba7 fix: lua typecheck ci (#1350) 2025-02-23 00:16:43 +08:00
yetone
f44c5b1258 fix: lua typecheck ci (#1349) 2025-02-22 23:57:46 +08:00
yetone
3373a66f38 fix: update luals (#1348) 2025-02-22 23:48:06 +08:00
yetone
b04bffa441 fix: types (#1344) 2025-02-22 23:24:20 +08:00
yetone
2adf335344 fix: release html2md (#1199) 2025-02-06 20:17:29 +08:00
yetone
1437f319d2 feat: tools (#1180)
* feat: tools

* feat: claude use tools

* feat: openai use tools
2025-02-05 22:39:54 +08:00
Hanchin Hsieh
122bc3287b feat(ci/release): use ubuntu-24.04-arm on aarch64 (#1101)
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2025-01-17 21:36:19 +08:00
yetone
e14eb002d5 feat: add luatest (#1064) 2025-01-10 00:23:59 +08:00
Moritz G.
71c9a7911b fix(ci): change linux-aarch64 to compile to aarch64 file (#909)
- change linux-aarch64 to aarch64 container
- add qemu for architecture emulation
2024-11-29 18:22:07 +08:00
Radosław Woźniak
29a645a39e style(repo_map): fix style (#901)
* style(repo_map): fix style

after it was broken in https://github.com/yetone/avante.nvim/pull/894

* fix: rust ci conditions

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-11-25 20:24:09 +08:00
yetone
8c432720ed fix: try to fix rust ci condations (#905) 2024-11-25 20:16:13 +08:00
yetone
0b1cd5509e fix: incorrect filepath (#865) 2024-11-18 02:55:44 +08:00
yetone
dfc51b3247 feat: add url_join (#856) 2024-11-17 00:39:03 +08:00
Aaron Pham
3c4ef490a8 chore(ci): enable rust conditional check (#790) 2024-11-03 19:31:20 -05:00
Aaron Pham
5c02a5d846 chore(type): update providers and claude hints (#766) 2024-10-27 02:27:10 -04:00
teocns
36b23cef16 feat: add repo map display (#727)
Co-authored-by: yetone <yetoneful@gmail.com>
2024-10-18 14:41:40 +08:00
yetone
d28fece472 fix: revert cargo-zigbuild (#664)
* Revert "fix(release): install openssl headers (#662)"

This reverts commit 6aaaeda003.

* Revert "fix(release): setup zig for cargo-zigbuild (#661)"

This reverts commit e3e5785a1a.

* Revert "feat(release): use cargo-zigbuild to build for glibc 2.17 (#660)"

This reverts commit 2ff2456fcb.
2024-09-29 02:14:17 +08:00
yetone
6aaaeda003 fix(release): install openssl headers (#662) 2024-09-28 21:45:21 +08:00
yetone
e3e5785a1a fix(release): setup zig for cargo-zigbuild (#661) 2024-09-28 14:06:23 +08:00
yetone
2ff2456fcb feat(release): use cargo-zigbuild to build for glibc 2.17 (#660) 2024-09-28 14:01:54 +08:00
yetone
f3ee77dd5b fix(release): only x86_64 integrates a lower version of glibc because docker arm64 builds too slowly (#653) 2024-09-27 02:27:18 +08:00
yetone
131d800c16 fix(release): use sudo (#651) 2024-09-27 01:23:04 +08:00
yetone
80e4ce31b0 fix(release): install qemu to use docker arm64 platform (#650) 2024-09-27 01:15:22 +08:00
yetone
b757b1971e fix(release): munually use docker to build with multi-arch glibc (#649) 2024-09-27 01:05:12 +08:00
yetone
4917f0966c fix(release): downgrade upload release asset action to use old nodejs version (#648) 2024-09-27 00:37:04 +08:00
yetone
fc71cc26fb fix(release): install esenttial dependencies openssl-devel (#647) 2024-09-27 00:24:52 +08:00
yetone
93abd8e525 fix(release): source cargo env (#646) 2024-09-26 23:59:07 +08:00
yetone
753b77425b fix(release): source cargo env (#645) 2024-09-26 23:54:46 +08:00
yetone
9387c8ad45 fix(release): manually install Rust to support lower versions of glibc (#643) 2024-09-26 20:26:10 +08:00
yetone
1fca51917e fix(release): use glibc 2.17 (#642) 2024-09-26 20:04:49 +08:00
yetone
0c97dfe5e9 feat: supports windows aarch64 (#640) 2024-09-26 11:54:11 +08:00
yetone
67adc263ad fix(release): supports darwin x86_64 (#637) 2024-09-26 11:36:54 +08:00
yetone
0d90c047ef feat: avante repo map rust crate (#628) 2024-09-26 03:45:49 +08:00
yuchanns
3e65e7a40d ci(release): archive Windows artifacts with zip
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2024-09-04 12:45:44 +08:00