From 07f523be4a2f48f27a0ec72b551fd6f12fc4fc03 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 2 May 2026 00:39:49 +0100 Subject: [PATCH] refactor: trim auto reply type exports --- src/auto-reply/envelope.ts | 2 +- src/auto-reply/send-policy.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auto-reply/envelope.ts b/src/auto-reply/envelope.ts index 19dbd9fa349..dc1d688eddf 100644 --- a/src/auto-reply/envelope.ts +++ b/src/auto-reply/envelope.ts @@ -13,7 +13,7 @@ import { normalizeOptionalString, } from "../shared/string-coerce.js"; -export type AgentEnvelopeParams = { +type AgentEnvelopeParams = { channel: string; from?: string; timestamp?: number | Date; diff --git a/src/auto-reply/send-policy.ts b/src/auto-reply/send-policy.ts index 7705e313b96..bcccfa98745 100644 --- a/src/auto-reply/send-policy.ts +++ b/src/auto-reply/send-policy.ts @@ -2,7 +2,7 @@ import { normalizeOptionalLowercaseString } from "../shared/string-coerce.js"; import { normalizeCommandBody } from "./commands-registry.js"; import { stripInboundMetadata } from "./reply/strip-inbound-meta.js"; -export type SendPolicyOverride = "allow" | "deny"; +type SendPolicyOverride = "allow" | "deny"; function normalizeSendPolicyOverride(raw?: string | null): SendPolicyOverride | undefined { const value = normalizeOptionalLowercaseString(raw);