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
fix: dcs config (#3004)
Eric Hayes7e240bb72383
diff --git a/infra/packages/shared/src/ai_tools.ts b/infra/packages/shared/src/ai_tools.tsindex f33d7cd8e0..c46d753aa1 100644--- a/infra/packages/shared/src/ai_tools.ts+++ b/infra/packages/shared/src/ai_tools.ts@@ -90,7 +90,9 @@ export function getAiToolsInfra(): AiToolsInfra {const syncServiceUrl = `https://sync-service-${stack === 'dev' ? 'dev3' : 'prod2'}.macroverse.workers.dev`;- const lexicalServiceUrl = `https://lexical-service-${stack}.macroverse.workers.dev`;+ const lexicalServiceUrl = `https://lexical-service${+ stack === 'prod' ? '' : `-${stack}`+ }.macroverse.workers.dev`;const emailServiceUrl = `https://email-service${stack === 'prod' ? '' : `-${stack}`}.macro.com`;diff --git a/infra/stacks/search-processing-service/index.ts b/infra/stacks/search-processing-service/index.tsindex 76deccfbd5..ae85c095c9 100644--- a/infra/stacks/search-processing-service/index.ts+++ b/infra/stacks/search-processing-service/index.ts@@ -149,7 +149,9 @@ const searchProcessingService = new SearchProcessingService(},{name: 'LEXICAL_SERVICE_URL',- value: `https://lexical-service-${stack}.macroverse.workers.dev`,+ value: `https://lexical-service${+ stack === 'prod' ? '' : `-${stack}`+ }.macroverse.workers.dev`,},// OpenTelemetry / Datadog tracing configuration{diff --git a/rust/cloud-storage/document_cognition_service/src/main.rs b/rust/cloud-storage/document_cognition_service/src/main.rsindex b8d4cb449f..6d8a0584d5 100644--- a/rust/cloud-storage/document_cognition_service/src/main.rs+++ b/rust/cloud-storage/document_cognition_service/src/main.rs@@ -131,7 +131,7 @@ async fn main() -> anyhow::Result<()> {.context("failed to create jwt validation args")?;let lexical_client = Arc::new(lexical_client::LexicalClient::new(- sync_service_auth_key,+ internal_auth_key.as_ref().to_string(),config.lexical_service_url.clone(),));diff --git a/rust/cloud-storage/mcp_service/src/context.rs b/rust/cloud-storage/mcp_service/src/context.rsindex 0f7e6fc7c4..51fb821a70 100644--- a/rust/cloud-storage/mcp_service/src/context.rs+++ b/rust/cloud-storage/mcp_service/src/context.rs@@ -138,7 +138,7 @@ async fn build_tool_context(let search_service_client = SearchServiceClient::new(internal_auth_key.clone(), dss_url);let lexical_client = Arc::new(lexical_client::LexicalClient::new(- sync_service_auth_key.clone(),+ internal_auth_key.clone(),env_vars.lexical_service_url.as_ref().to_owned(),));