@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 352 B
JavaScript
let hostGenerationScopes = 0;
export function isHostGenerationProcess() {
return hostGenerationScopes > 0;
}
export async function runAsHostGenerationProcess(action) {
hostGenerationScopes += 1;
try {
return await action();
}
finally {
hostGenerationScopes -= 1;
}
}
//# sourceMappingURL=host-process-role.js.map