Add MIT license and refactor Cargo workspace configuration

This commit is contained in:
2025-09-30 02:45:11 +02:00
parent 54bcabd53d
commit 9d4633865f
8 changed files with 58 additions and 11 deletions

View File

@@ -1,7 +1,11 @@
[package]
name = "owlen-cli"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
description = "Command-line interface for OWLEN LLM client"
[features]

View File

@@ -21,7 +21,7 @@ use ratatui::{backend::CrosstermBackend, Terminal};
async fn main() -> Result<()> {
let matches = Command::new("owlen-code")
.about("OWLEN Code Mode - TUI optimized for programming assistance")
.version("0.2.0")
.version(env!("CARGO_PKG_VERSION"))
.arg(
Arg::new("model")
.short('m')
@@ -87,7 +87,7 @@ async fn run_app(
session_rx: &mut mpsc::UnboundedReceiver<SessionEvent>,
) -> Result<()> {
loop {
terminal.draw(|f| ui::render_chat(f, app.inner()))?;
terminal.draw(|f| ui::render_chat(f, app.inner_mut()))?;
tokio::select! {
Some(event) = event_rx.recv() => {

View File

@@ -21,7 +21,7 @@ use ratatui::{backend::CrosstermBackend, Terminal};
async fn main() -> Result<()> {
let matches = Command::new("owlen")
.about("OWLEN - A chat-focused TUI client for Ollama")
.version("0.2.0")
.version(env!("CARGO_PKG_VERSION"))
.arg(
Arg::new("model")
.short('m')

View File

@@ -1,7 +1,11 @@
[package]
name = "owlen-core"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
description = "Core traits and types for OWLEN LLM client"
[dependencies]

View File

@@ -1,7 +1,11 @@
[package]
name = "owlen-ollama"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
description = "Ollama provider for OWLEN LLM client"
[dependencies]

View File

@@ -1,7 +1,11 @@
[package]
name = "owlen-tui"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
description = "Terminal User Interface for OWLEN LLM client"
[dependencies]