gate4agent 0.2.4

Universal transport library for 5 CLI AI agents (Claude Code, Codex, Gemini, Cursor, OpenCode). Pipe and PTY transports. TransportSession is a thin router over PipeSession.
Documentation
[package]

name = "gate4agent"

version = "0.2.4"

edition = "2021"

description = "Universal transport library for 5 CLI AI agents (Claude Code, Codex, Gemini, Cursor, OpenCode). Pipe and PTY transports. TransportSession is a thin router over PipeSession."

license = "MIT"

repository = "https://github.com/ZENG3LD/gate4agent"

readme = "README.md"

keywords = ["claude", "agent", "cli", "pipe", "pty"]

categories = ["development-tools", "command-line-utilities"]



[dependencies]

# PTY creation and cross-platform ConPTY support

portable-pty = "0.8"



# ANSI escape sequence stripping (VteParser)

vte = "0.13"



# Full virtual terminal screen emulation (ScreenParser, PTY mirror mode)

vt100 = "0.15"



# Async runtime + broadcast channel (required for PtySession and PipeSession)

tokio = { version = "1", features = ["rt", "rt-multi-thread", "sync", "time", "process"] }



# Serialization for AgentEvent, CliTool, etc.

serde = { version = "1", features = ["derive"] }



# UUID for InstanceId

uuid = { version = "1", features = ["v4", "serde"] }



# NDJSON parsing

serde_json = "1"



# Timestamps in RateLimitInfo

chrono = { version = "0.4", features = ["serde"] }



# PtyError, AgentError

thiserror = "2"



# RateLimitDetector patterns, OutputParser regex matching

regex = "1"



[dev-dependencies]

tokio = { version = "1", features = ["full", "test-util"] }



# Standalone crate — not part of the parent workspace

[workspace]