Skip to content

Feature/v0.1/cli - #3

Merged
mavdol merged 8 commits into
mainfrom
feature/v0.1/cli
Dec 9, 2025
Merged

mavdol merged 8 commits into
mainfrom
feature/v0.1/cli

Conversation

@mavdol

@mavdol mavdol commented Dec 9, 2025

Copy link
Copy Markdown
Member

CLI: capsule run main.py with JIT Compilation

This PR adds JIT-powered execution of Python entrypoints directly from the Capsule CLI.

  • New run command in capsule-cli
    Introduces capsule run <file.py>, enabling on-the-fly JIT compilation and execution of Python files through the capsule runtime.

  • Capsule-core compiled as part of capsule-cli
    capsule-cli now embeds and compiles capsule-core internally, ensuring the CLI has direct access to all core capabilities required for JIT compilation and runtime execution.

  • Improved examples
    Updated examples can now be executed directly through the CLI.
    Example usage:

cd crates/capsule-cli
cargo run -- run ../../examples/voice-of-customer/src/main.py

@mavdol
mavdol merged commit 5474f50 into main Dec 9, 2025
2 checks passed
@mavdol
mavdol deleted the feature/v0.1/cli branch December 9, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant