[package]
edition = "2021"
name = "gate4agent"
version = "0.2.36"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Universal transport library for CLI AI agents (Claude Code, Codex, Gemini, OpenCode). Pipe, PTY, ACP (Agent Client Protocol), and Daemon transports."
readme = "README.md"
keywords = [
"claude",
"agent",
"cli",
"pipe",
"pty",
]
categories = [
"development-tools",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/ZENG3LD/gate4agent"
[features]
cure-network = ["dep:reqwest"]
default = []
[lib]
name = "gate4agent"
path = "src/lib.rs"
[[example]]
name = "acp_hello"
path = "examples/acp_hello.rs"
[[example]]
name = "pipe_hello"
path = "examples/pipe_hello.rs"
[[example]]
name = "pty_cursor_probe"
path = "examples/pty_cursor_probe.rs"
[[example]]
name = "pty_hello"
path = "examples/pty_hello.rs"
[[test]]
name = "acp_live"
path = "tests/acp_live.rs"
[[test]]
name = "builder_argv"
path = "tests/builder_argv.rs"
[[test]]
name = "pipe_live"
path = "tests/pipe_live.rs"
[[test]]
name = "spawn_argv_parity"
path = "tests/spawn_argv_parity.rs"
[[test]]
name = "transport_session"
path = "tests/transport_session.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.portable-pty]
version = "0.8"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true
[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"sync",
"time",
"process",
]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dependencies.vt100]
version = "0.15"
[dependencies.vte]
version = "0.13"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]