feat: add Rust CLI implementation [very fast]#162
Merged
MaojiaSheng merged 23 commits intovolcengine:mainfrom Feb 14, 2026
Merged
feat: add Rust CLI implementation [very fast]#162MaojiaSheng merged 23 commits intovolcengine:mainfrom
MaojiaSheng merged 23 commits intovolcengine:mainfrom
Conversation
- GitHub Actions workflow for Linux/macOS/Windows builds - install.sh script with platform detection and checksum verification - README updated with Rust CLI installation instructions - Build badges and platform support documentation
- Rename build.yml to rust-cli.yml to avoid conflicts - Add path filters to trigger only on Rust file changes - Integrate Rust build into existing PR workflow - Fix cross-compilation setup for ARM64 Linux - Fix checksum generation for macOS compatibility - Add proper environment variables for cross-compilation
a28132c to
c75317a
Compare
- Switch reqwest to use rustls-tls instead of native-tls for better portability - Add pkg-config and libssl-dev installation for Linux builds as fallback - Eliminates openssl-sys dependency issues on Ubuntu runners
- Add serde defaults for url and output fields to handle missing config values - Add new 'config init' command to initialize configuration properly - Make configuration backward compatible with existing configs - Provide better error messages and initialization flow for users
- Remove comfy-table dependency (unused, causing build issues with Rust 1.87) - Fix error handling to properly handle null error field in API responses - Update Cargo.toml to remove unused dependency - Client now correctly parses responses from OpenViking server Tested: openviking-cli ls / works correctly with remote server
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
- Change repository from volcengine/OpenViking to zaynjarvis/openviking - Fix SKIP_CHECKSUM environment variable documentation - Add validation to detect 'Not Found' checksum files and skip gracefully
Collaborator
Author
|
GitHub Build Actions doesn't work in volcengine repo. |
Collaborator
Author
|
hence tmp releases in fork curl -fsSL https://raw.githubusercontent.com/ZaynJarvis/OpenViking/refs/tags/cli-0.1.0/crates/openviking-cli/install.sh | bash |
Collaborator
Author
|
alignment improved
|
MaojiaSheng
approved these changes
Feb 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP: Rust CLI Implementation
This PR adds a Rust CLI implementation for OpenViking with significantly improved startup performance.
Key Features:
crates/openviking-cli/Commands Implemented:
read,abstract,overviewfind,search,grep,globls,tree,mkdir,rm,mv,statBuild & Test:
Binary size: 3.4MB
This is a work-in-progress implementation for feedback and discussion.