Invalid sai-find limit unchecked
Low Severity
tg-sai ops sai-find passes Number(options.limit) to dialog iteration with no validation. A non-numeric --limit becomes NaN, unlike sai-bootstrap, which rejects invalid --delay-ms values.
ts-pkg/tg-sai/main.ts#L534-L537
Originally posted by @cursor[bot] in #18 (comment)
Invalid sai-find limit unchecked
Low Severity
tg-sai ops sai-findpassesNumber(options.limit)to dialog iteration with no validation. A non-numeric--limitbecomesNaN, unlikesai-bootstrap, which rejects invalid--delay-msvalues.ts-pkg/tg-sai/main.ts#L534-L537
Originally posted by @cursor[bot] in #18 (comment)