[package]
edition = "2024"
rust-version = "1.85"
name = "kaish-kernel"
version = "0.5.0"
authors = ["Amy Tobey <tobert@gmail.com>"]
build = "build.rs"
exclude = ["tests/snapshots/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core kernel for kaish: lexer, parser, interpreter, and runtime"
homepage = "https://github.com/tobert/kaish"
readme = "README.md"
keywords = [
"shell",
"mcp",
"ai",
"agent",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/tobert/kaish"
resolver = "2"
[features]
schema = [
"dep:schemars",
"kaish-types/schema",
]
[lib]
name = "kaish_kernel"
path = "src/lib.rs"
[[test]]
name = "background_execution_tests"
path = "tests/background_execution_tests.rs"
[[test]]
name = "external_command_tests"
path = "tests/external_command_tests.rs"
[[test]]
name = "job_stream_tests"
path = "tests/job_stream_tests.rs"
[[test]]
name = "lexer_tests"
path = "tests/lexer_tests.rs"
[[test]]
name = "parser_tests"
path = "tests/parser_tests.rs"
[[test]]
name = "realworld_builtin_tests"
path = "tests/realworld_builtin_tests.rs"
[[test]]
name = "shell_bugs_tests"
path = "tests/shell_bugs_tests.rs"
[[test]]
name = "validation_tests"
path = "tests/validation_tests.rs"
[dependencies.anyhow]
version = "1"
[dependencies.ariadne]
version = "0.6"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
[dependencies.chumsky]
version = "1.0.0-alpha.8"
[dependencies.directories]
version = "5"
[dependencies.git2]
version = "0.20"
[dependencies.jaq-core]
version = "2.2"
[dependencies.jaq-json]
version = "1.1"
[dependencies.jaq-std]
version = "2.1"
[dependencies.kaish-glob]
version = "0.5.0"
[dependencies.kaish-types]
version = "0.5.0"
features = []
[dependencies.logos]
version = "0.16"
[dependencies.regex]
version = "1"
[dependencies.schemars]
version = "1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.similar]
version = "2"
[dependencies.thiserror]
version = "2"
[dependencies.tiktoken-rs]
version = "0.9"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
[dependencies.tracing]
version = "0.1"
[dependencies.trash]
version = "5"
[dev-dependencies.insta]
version = "1.46"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.tempfile]
version = "3"
[build-dependencies.chrono]
version = "0.4"
[target.'cfg(target_os = "linux")'.dependencies.procfs]
version = "0.18"
[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = [
"signal",
"process",
"term",
]
[lints.clippy]
expect_used = "warn"
unwrap_used = "deny"
[lints.rust]
unsafe_code = "deny"