Comparing outp1:main...Davidyz:main · outp1/VectorCode
Commits on Aug 17, 2025
-
feat(debugging): Implement cProfile-based profiling for performance a…
…nalysis (Davidyz#271) * feat(cli): implement debug mode with coredumpy and viztracer * chore(cli): exclude debugging.py from coverage * ci(cli): add debug group to pdm lock * feat(debugging): Implement cProfile-based profiling for performance analysis Since viztracer didn't work (gaogaotiantian/viztracer#606), I decided to replace it with cProfile * chore(dependencies): Remove viztracer from debug dependencies * fix(cli): lazy import * feat(debugging): add log directory creation and crash debugging support * chore(build): revert makefile and ci/cd outdated changes * chore(dependencies): Add coredumpy to development dependencies * fix(debugging): Add noqa comment to suppress linting warning * docs(cli): remove debug dependency from cli help * fix(cli): make sure to enable `coredumpy` when available. * tests(cli): Replace `MagicMock` with `Config` so that `debug` won't be truthy * docs(cli): Add profiling and post-mortem debugging instructions * ci: Update git auto commit action and ignore main branch * Auto generate docs --------- Co-authored-by: Zhe Yu <zcabzyu@ucl.ac.uk> Co-authored-by: Davidyz <30951234+Davidyz@users.noreply.github.com>
Commits on Aug 28, 2025
Commits on Aug 30, 2025
-
refactor(cli): Implement
QueryResulttype. (Davidyz#280)* feat(cli): Implement `QueryResult` type. * refactor(cli): Use in-house `QueryResult` in the query subcommand and the rerankers. * fix(cli): test coverage. * make basedpyright happy. * test coverage * typo. * rename parameter * refactor(cli): make function signatures more consistent. * fix(cli): safeguard the output processing. * improve coverage * tests for `Chunk.export_dict`/`chunks` pipe mode
Commits on Sep 4, 2025
-
feat(nvim): Add prompt library builder for codecompanion.nvim extensi…
…on (Davidyz#264) * feat(nvim): Add VectorCode integration for Neovim help files * feat(nvim): use pre_hook to prepare the embeddings. * feat(nvim): also vectorise help files * feat(nvim): Add toggleable notifications for vectorising help files * fix(nvim): make sure to load the custom system prompt * feat(nvim): Add customisable prompt library for CodeCompanion * Auto generate docs * feat(nvim): Improve vectorisation feedback * fix(nvim): loop require. * Auto generate docs * feat(nvim): allow function type for `project_root` and `file_patterns` * docs(nvim): Vectorise help files notify message * Auto generate docs * docs(nvim): Document customisable prompt library for Neovim * Auto generate docs * refactor(nvim): move prompt library presets to dedicated module * Auto generate docs * feat(nvim): Improve project root and file pattern handling * update documentations. * Auto generate docs
Commits on Sep 20, 2025
-
fix(codecompanion): improve error handling for empty stderr output (D…
…avidyz#286) * fix(codecompanion): improve error handling for empty stderr output - Enhanced flatten_table_to_string to filter out empty error messages - Added logic to distinguish actual errors from empty stderr output - Prevents false error reporting when VectorCode operations succeed but have no stderr - Provides meaningful fallback error message for truly empty error conditions - Fixes issue where successful operations with empty stderr were reported as { "" } errors Resolves the confusing empty error message issue in CodeCompanion integration. * refactor(nvim): cleanup `flatten_table_to_string` * refactor(nvim): Simplify error handling in `query_tool` --------- Co-authored-by: Zhe Yu <zcabzyu@ucl.ac.uk>