[package]
edition = "2021"
name = "tycode-core"
version = "0.5.0"
authors = ["tigy"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core chat actor and AI functionality for TyCode"
readme = false
license = "MIT"
repository = "https://github.com/tigy32/Tycode"
[features]
default = []
voice = [
"dep:aws-sdk-transcribestreaming",
"dep:aws-sdk-polly",
"dep:cpal",
"dep:rubato",
"dep:tokio-tungstenite",
]
[lib]
name = "tycode_core"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[test]]
name = "agent"
path = "tests/agent.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "cancellation"
path = "tests/cancellation.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "compaction"
path = "tests/compaction.rs"
[[test]]
name = "context"
path = "tests/context.rs"
[[test]]
name = "fixture"
path = "tests/fixture.rs"
[[test]]
name = "images"
path = "tests/images.rs"
[[test]]
name = "mcp"
path = "tests/mcp.rs"
[[test]]
name = "modules"
path = "tests/modules.rs"
[[test]]
name = "profiles"
path = "tests/profiles.rs"
[[test]]
name = "rust_analyzer"
path = "tests/rust_analyzer.rs"
[[test]]
name = "sessions"
path = "tests/sessions.rs"
[[test]]
name = "steering"
path = "tests/steering.rs"
[[test]]
name = "voice"
path = "tests/voice.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-channel]
version = "2.1"
[dependencies.async-stream]
version = "0.3"
[dependencies.async-trait]
version = "0.1"
[dependencies.aws-config]
version = "1.1.1"
features = ["credentials-process"]
[dependencies.aws-sdk-bedrockruntime]
version = "1.105.0"
[dependencies.aws-sdk-polly]
version = "1"
optional = true
[dependencies.aws-sdk-transcribestreaming]
version = "1"
optional = true
[dependencies.aws-smithy-async]
version = "1"
[dependencies.aws-smithy-http]
version = "0.60"
[dependencies.aws-smithy-runtime-api]
version = "1"
[dependencies.aws-smithy-types]
version = "1"
features = [
"serde-deserialize",
"serde-serialize",
]
[dependencies.base64]
version = "0.22"
[dependencies.cargo_metadata]
version = "0.18"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.cpal]
version = "0.15"
optional = true
[dependencies.dirs]
version = "5.0"
[dependencies.futures-util]
version = "0.3"
[dependencies.ignore]
version = "0.4"
[dependencies.lsp-types]
version = "0.95"
[dependencies.prettyplease]
version = "0.2"
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1.10"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
]
[dependencies.rmcp]
version = "0.2"
features = [
"transport-child-process",
"client",
]
[dependencies.rubato]
version = "0.14"
optional = true
[dependencies.schemars]
version = "0.8"
features = ["preserve_order"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10"
[dependencies.shell-words]
version = "1.1"
[dependencies.similar]
version = "2.4"
[dependencies.strum]
version = "0.27"
features = ["derive"]
[dependencies.syn]
version = "2.0"
features = [
"full",
"parsing",
"visit",
]
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.36.0"
features = [
"full",
"process",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-tungstenite]
version = "0.21"
features = ["native-tls"]
optional = true
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.6.1"
features = [
"v4",
"serde",
]
[dependencies.walkdir]
version = "2.4"
[dev-dependencies.hound]
version = "3.5"
[dev-dependencies.rstest]
version = "0.18"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[target.'cfg(target_env = "musl")'.dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]