import{d as t,l as o,c as r,m as s}from"../../../../nitro/nitro.mjs";import"node:http";import"node:https";import"node:crypto";import"stream";import"events";import"http";import"crypto";import"buffer";import"zlib";import"https";import"net";import"tls";import"url";import"node:events";import"node:buffer";import"node:fs";import"node:path";import"chokidar";import"path";import"@anthropic-ai/claude-code";import"fs";import"fs/promises";import"readline";import"node:url";const i=t(async t=>{try{const i=o(t,"sessionId");if(!i)throw r({statusCode:400,statusMessage:"Session ID required"});const e=s(i);return{sessionId:i,alive:null!==e,busy:(null==e?void 0:e.busy)||!1,projectId:(null==e?void 0:e.projectId)||null,startTime:(null==e?void 0:e.startTime)||null,lastActivity:(null==e?void 0:e.lastActivity)||null}}catch(t){throw r({statusCode:t.statusCode||500,statusMessage:t.message||"Internal Server Error"})}});export{i as default};
//# sourceMappingURL=status.get.mjs.map
