From 768e2f59b1681d747cbeacb86286d2fafbb99977 Mon Sep 17 00:00:00 2001 From: Prateek Date: Mon, 16 Feb 2026 05:30:12 +0530 Subject: [PATCH] fix: make TAIL_READ_BYTES internal constant instead of exported TAIL_READ_BYTES is only used internally within readLastJsonlEntry() and is not exported from the package's index.ts. Removed the export keyword to make it clear it's an internal implementation detail. Addresses bugbot comment about unused export. Co-Authored-By: Claude Sonnet 4.5 --- packages/core/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/utils.ts b/packages/core/src/utils.ts index 0754d9912..61899f46c 100644 --- a/packages/core/src/utils.ts +++ b/packages/core/src/utils.ts @@ -36,7 +36,7 @@ export function validateUrl(url: string, label: string): void { * Read only the last 4KB of JSONL files to find the last entry. * Avoids loading entire (potentially large) files into memory. */ -export const TAIL_READ_BYTES = 4096; +const TAIL_READ_BYTES = 4096; /** * Read the last entry from a JSONL file efficiently.