Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
[package]
edition = "2024"
name = "coding_agent_worker"
publish = false
version = "0.1.0"
[[bin]]
name = "macrod"
path = "src/main.rs"
[dependencies]
agent_fold = { path = "../folds/agent_fold", default-features = false }
claude_fold = { path = "../folds/claude_fold" }
codex_fold = { path = "../folds/codex_fold" }
messages = { path = "../messages", features = ["broker"] }
# Direct crate imports are the whole typegen story: the protocol envelope,
# the trigger event vocabulary, and the delivery signature all come from the
# owning crates, compiler-checked.
agent-client-protocol = { workspace = true }
agent_runtime_protocol = { path = "../agent_runtime_protocol" }
agent_session = { path = "../agent_session" }
agent_trigger = { path = "../agent_trigger" }
arboard = { workspace = true }
base64 = { workspace = true }
bot_id = { path = "../bot_id" }
trigger_context = { path = "../trigger_context" }
chrono = { workspace = true }
clap = { workspace = true }
crossterm = { workspace = true }
dashmap = { workspace = true }
eventsource-stream = { workspace = true }
futures = { workspace = true }
harness_id = { path = "../harness_id" }
harnesses = { path = "../harnesses", default-features = false }
hex = { workspace = true }
lazy-regex = { workspace = true }
macro_event_broker = { path = "../macro_event_broker", default-features = false }
macro_env_var = { path = "../macro_env_var" }
macro_user_id = { path = "../macro_user_id" }
macro_uuid = { path = "../macro_uuid" }
ratatui = { workspace = true }
reqwest = { workspace = true, features = ["stream"] }
rootcause = { workspace = true }
# The gateway dial is `wss` on every deployment but a local stack, and
# tokio-tungstenite's rustls feature selects no crypto provider.
rustls = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
sha2 = { workspace = true }
shell-words = { workspace = true }
strum = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["io-util", "macros", "net", "process", "rt-multi-thread", "signal", "time"] }
tokio-retry = { workspace = true }
tokio-util = { workspace = true, features = ["compat", "rt"] }
tokio-tungstenite = { workspace = true }
toml = { workspace = true }
toml_edit = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
tui-input = { workspace = true }
uuid = { workspace = true }
webbrowser = { workspace = true }
webhook = { path = "../webhook", default-features = false }
workspace-hack = { version = "0.1", path = "../workspace-hack" }
[target.'cfg(unix)'.dependencies]
rustix = { workspace = true }
# Release archives: tar.gz everywhere but Windows, which gets a zip.
[target.'cfg(not(windows))'.dependencies]
flate2 = { workspace = true }
tar = { workspace = true }
# Stripe (agent_session -> ai_billing) reaches native-tls, which is OpenSSL on
# Linux, and a musl build has no system OpenSSL to link: compile it in.
[target.'cfg(target_env = "musl")'.dependencies]
openssl-sys = { workspace = true, features = ["vendored"] }
[target.'cfg(windows)'.dependencies]
windows-sys = { workspace = true, features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Console",
"Win32_System_JobObjects",
] }
zip = { workspace = true }
[dev-dependencies]
bot_id = { path = "../bot_id", features = ["test-utils"] }
channel_sender = { path = "../channel_sender" }
channels = { path = "../channels", default-features = false }
chrono = { workspace = true }
harness_id = { path = "../harness_id", features = ["test-utils"] }
tempfile = { workspace = true }
tokio = { workspace = true, features = ["io-util", "net", "test-util"] }