feat: add GraalVM native-image support for CLI#63
Merged
Conversation
Add support for loading server configuration from a TOML file using ktoml, with CLI flags taking precedence over file values. Includes --config flag for explicit path, --generate-config to create a default config template, and automatic loading from the platform config directory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add cli/README.md with full documentation for all CLI commands (download, queue-demo, server), flags, TOML config file format and reference, speed limit format, and database paths. Update root README to link to CLI docs, add CLI to the modules table, and show daemon CLI usage examples. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Configure the GraalVM Native Build Tools plugin to compile the CLI module into a standalone native binary via `./gradlew :cli:nativeCompile`. The resulting `kdown` executable requires no JVM to run. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Rename all `kdown-cli` references to `kdown` and remove "Example" from the title to match the native binary name. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
./gradlew :cli:nativeCompile, producing a ~72MBkdownexecutable atcli/build/native/nativeCompile/kdownTest plan
./gradlew :cli:nativeCompilebuilds successfullykdownbinary runs without JVM and prints usage helpkdown serversubcommand with the native binary🤖 Generated with Claude Code