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 = "activity"
publish = false
version = "0.1.0"
[features]
schema = ["dep:utoipa"]
ai_tools = ["dep:ai_toolset", "dep:async-trait", "dep:schemars", "dep:tracing"]
consumer = [
"dep:kafka_util",
"dep:futures",
"dep:tokio-util",
"dep:rdkafka",
"dep:rootcause",
"dep:tokio",
"dep:tracing",
"macro_event_broker/outbound",
]
default = ["consumer", "outbound", "realtime"]
outbound = ["dep:sqlx", "dep:tracing"]
realtime = [
"dep:broadcast",
"dep:rootcause",
"dep:tokio",
"dep:tokio-retry",
"dep:tracing",
]
[dependencies]
agent_correlation = { path = "../agent_correlation" }
utoipa = { workspace = true, optional = true }
ai_toolset = { path = "../ai_toolset", optional = true }
async-trait = { workspace = true, optional = true }
broadcast = { path = "../broadcast", optional = true }
channel_sender = { path = "../channel_sender" }
chrono = { workspace = true }
chrono-tz = { workspace = true }
futures = { workspace = true, optional = true }
kafka_util = { path = "../kafka_util", optional = true }
macro_event_broker = { path = "../macro_event_broker", default-features = false }
macro_event_topics = { path = "../macro_event_topics" }
macro_user_id = { path = "../macro_user_id" }
model-entity = { path = "../model-entity" }
model_owner = { path = "../model_owner" }
rdkafka = { workspace = true, optional = true }
readonly = { workspace = true }
rootcause = { workspace = true, optional = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true }
serde_json = { workspace = true }
sqlx = { workspace = true, features = ["json"], optional = true }
strum = { workspace = true }
tokio = { workspace = true, features = ["sync", "time"], optional = true }
tokio-util = { workspace = true, features = ["rt"], optional = true }
tokio-retry = { workspace = true, optional = true }
tracing = { workspace = true, optional = true }
uuid = { workspace = true }
workspace-hack = { version = "0.1", path = "../workspace-hack" }
[dev-dependencies]
bot_id = { path = "../bot_id" }
macro_db_migrator = { path = "../macro_db_migrator" }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "test-util"] }