migrating the logs file

This commit is contained in:
2026-03-24 21:53:14 -04:00
parent 4416626acf
commit 9687b352d5
29 changed files with 452 additions and 374 deletions

View File

@@ -0,0 +1,8 @@
--- Estimate token count for a string (rough approximation ~4 chars per token)
---@param text string
---@return number
local function estimate_tokens(text)
return math.ceil(#text / 4)
end
return estimate_tokens

View File

@@ -0,0 +1,7 @@
--- Get current timestamp formatted as HH:MM:SS
---@return string
local function get_timestamp()
return os.date("%H:%M:%S")
end
return get_timestamp