@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
3 lines (2 loc) • 447 B
JavaScript
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url); { const __piWorkerThreads = require("node:worker_threads"); if (typeof __piWorkerThreads.markAsUncloneable !== "function") { __piWorkerThreads.markAsUncloneable = () => {}; } }
function isAbortGraceInRange(graceMs){return typeof graceMs=="number"&&Number.isInteger(graceMs)&&graceMs>=0&&graceMs<=6e4}export{isAbortGraceInRange};