- Introduce `owlen-mcp-llm-server` crate with RPC handling, `generate_text` tool, model listing, and streaming notifications. - Add `RpcNotification` struct and `MODELS_LIST` method to the MCP protocol. - Update `owlen-core` to depend on `tokio-stream`. - Adjust Ollama provider to omit empty `tools` field for compatibility. - Enhance `RemoteMcpClient` to locate the renamed server binary, handle resource tools locally, and implement the `Provider` trait (model listing, chat, streaming, health check). - Add new crate to workspace `Cargo.toml`.
48 lines
1.3 KiB
TOML
48 lines
1.3 KiB
TOML
[package]
|
|
name = "owlen-core"
|
|
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]
|
|
anyhow = { workspace = true }
|
|
log = "0.4.20"
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true }
|
|
unicode-segmentation = "1.11"
|
|
unicode-width = "0.1"
|
|
uuid = { workspace = true }
|
|
textwrap = { workspace = true }
|
|
futures = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
toml = { workspace = true }
|
|
shellexpand = { workspace = true }
|
|
dirs = "5.0"
|
|
ratatui = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
jsonschema = { workspace = true }
|
|
which = { workspace = true }
|
|
nix = { workspace = true }
|
|
aes-gcm = { workspace = true }
|
|
ring = { workspace = true }
|
|
keyring = { workspace = true }
|
|
chrono = { workspace = true }
|
|
crossterm = { workspace = true }
|
|
urlencoding = { workspace = true }
|
|
rpassword = { workspace = true }
|
|
sqlx = { workspace = true }
|
|
duckduckgo = "0.2.0"
|
|
reqwest = { workspace = true, features = ["default"] }
|
|
reqwest_011 = { version = "0.11", package = "reqwest" }
|
|
path-clean = "1.0"
|
|
tokio-stream = "0.1"
|
|
|
|
[dev-dependencies]
|
|
tokio-test = { workspace = true }
|