Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

### Added

- Cargo workspace with 4 crates: zeph-core, zeph-llm, zeph-skills, zeph-memory
- Binary entry point with version display
- Default configuration file
- Workspace-level dependency management and lints
26 changes: 26 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[workspace]
members = ["crates/*"]
resolver = "3"

[workspace.package]
edition = "2024"
authors = ["bug-ops"]
license = "MIT"
repository = "https://github.com/bug-ops/zeph"

[workspace.dependencies]
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
thiserror = "2.0"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.3"

[workspace.lints.clippy]
all = "warn"
pedantic = "warn"

[package]
name = "zeph"
version = "0.1.0"
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
zeph-core = { path = "crates/zeph-core" }

[lints]
workspace = true
14 changes: 14 additions & 0 deletions config/default.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[agent]
name = "Zeph"

[llm]
provider = "ollama"
base_url = "http://localhost:11434"
model = "mistral:7b"

[skills]
paths = ["./skills"]

[memory]
sqlite_path = "./data/zeph.db"
history_limit = 50
12 changes: 12 additions & 0 deletions crates/zeph-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "zeph-core"
version = "0.1.0"
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]

[lints]
workspace = true
1 change: 1 addition & 0 deletions crates/zeph-core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//! Agent loop, configuration loading, and context builder.
12 changes: 12 additions & 0 deletions crates/zeph-llm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "zeph-llm"
version = "0.1.0"
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]

[lints]
workspace = true
1 change: 1 addition & 0 deletions crates/zeph-llm/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//! LLM provider abstraction and backend implementations.
12 changes: 12 additions & 0 deletions crates/zeph-memory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "zeph-memory"
version = "0.1.0"
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]

[lints]
workspace = true
1 change: 1 addition & 0 deletions crates/zeph-memory/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//! SQLite-backed conversation persistence.
12 changes: 12 additions & 0 deletions crates/zeph-skills/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "zeph-skills"
version = "0.1.0"
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]

[lints]
workspace = true
1 change: 1 addition & 0 deletions crates/zeph-skills/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//! SKILL.md loader, skill registry, and prompt formatter.
Empty file added skills/.gitkeep
Empty file.
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fn main() {
let version = env!("CARGO_PKG_VERSION");
println!("zeph v{version}");
}