⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
export { cn } from 'cn';
// A string of digits to a positive integer, or null when empty/invalid. Used by the
// numeric inputs in the provider settings forms (port, timeout, expiry).
export function toPositiveInt(value: string): number | null {
const n = Number(value);
return value.trim() !== '' && Number.isInteger(n) && n > 0 ? n : null;
}