supercode-core 0.1.0

A lightweight, fully-customizable AI coding agent SDK in Rust. Talks to any model via OpenRouter or any OpenAI-compatible endpoint.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85"
name = "supercode-core"
version = "0.1.0"
authors = ["supercode contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, fully-customizable AI coding agent SDK in Rust. Talks to any model via OpenRouter or any OpenAI-compatible endpoint."
homepage = "https://github.com/volter-ai/supercode"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "llm",
    "coding",
    "cli",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/volter-ai/supercode"

[package.metadata.docs.rs]
all-features = true

[lib]
name = "supercode"
path = "src/lib.rs"

[[example]]
name = "01_hello"
path = "examples/01_hello.rs"

[[example]]
name = "02_custom_tool"
path = "examples/02_custom_tool.rs"

[[example]]
name = "03_sandbox"
path = "examples/03_sandbox.rs"

[[example]]
name = "04_customize"
path = "examples/04_customize.rs"

[[example]]
name = "05_convert_session"
path = "examples/05_convert_session.rs"

[[example]]
name = "inspect_session"
path = "examples/inspect_session.rs"

[[test]]
name = "agent_loop"
path = "tests/agent_loop.rs"

[[test]]
name = "mcp"
path = "tests/mcp.rs"

[[test]]
name = "schema_coverage"
path = "tests/schema_coverage.rs"

[[test]]
name = "session_fidelity"
path = "tests/session_fidelity.rs"

[[test]]
name = "session_loading"
path = "tests/session_loading.rs"

[[test]]
name = "session_saving"
path = "tests/session_saving.rs"

[[test]]
name = "tools"
path = "tests/tools.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.ignore]
version = "0.4"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = ["full"]