Skip to content

WIP:feat:add ast-grep to OpenViking #202

Open
Mijamind719 wants to merge 3 commits intovolcengine:mainfrom
Mijamind719:ast-grep
Open

WIP:feat:add ast-grep to OpenViking #202
Mijamind719 wants to merge 3 commits intovolcengine:mainfrom
Mijamind719:ast-grep

Conversation

@Mijamind719
Copy link
Contributor

@Mijamind719 Mijamind719 commented Feb 18, 2026

Description

- add AST-based code search endpoint: POST /api/v1/search/ast-grep
- implement VikingFS ast_grep with sg command integration,
  file materialization, output parsing, and error handling
- expose ast_grep in FSService, local/async/sync clients,
  and HTTP client stack
- add Python CLI ast-grep command and Rust CLI ast-grep command support
- update English/Chinese API and architecture docs for ast-grep usage/examples
- add tests for server API, SDK client, Python client,
  and CLI help for ast-grep

Related Issue

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

Mijamind added 2 commits February 18, 2026 14:49
- add AST-based code search endpoint: POST /api/v1/search/ast-grep
- implement VikingFS ast_grep with sg command integration,
  file materialization, output parsing, and error handling
- expose ast_grep in FSService, local/async/sync clients,
  and HTTP client stack
- add Python CLI ast-grep command and Rust CLI ast-grep command support
- update English/Chinese API and architecture docs for ast-grep usage/examples
- add tests for server API, SDK client, Python client,
  and CLI help for ast-grep
# Conflicts:
#	crates/ov_cli/src/main.rs
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Mijamind seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Mijamind719 Mijamind719 changed the title feat: add ast-grep to OpenViking WIP:feat: add ast-grep to OpenViking Feb 18, 2026
@Mijamind719 Mijamind719 changed the title WIP:feat: add ast-grep to OpenViking WIP:feat:add ast-grep to OpenViking Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants

Comments