auq-mcp-server 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/auq.js +0 -11
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/bin/auq.js
CHANGED
|
@@ -321,23 +321,12 @@ const App = () => {
|
|
|
321
321
|
// Clear terminal before showing app
|
|
322
322
|
console.clear();
|
|
323
323
|
const { waitUntilExit } = render(React.createElement(App, null));
|
|
324
|
-
// Periodically clear performance measures to prevent memory leak warnings
|
|
325
|
-
// React development mode creates performance marks that can accumulate over time
|
|
326
|
-
const clearPerformanceBuffer = () => {
|
|
327
|
-
if (typeof performance !== 'undefined' && performance.clearMeasures) {
|
|
328
|
-
performance.clearMeasures();
|
|
329
|
-
}
|
|
330
|
-
};
|
|
331
|
-
// Clear performance buffer every 5 minutes to prevent accumulation
|
|
332
|
-
const performanceCleanupInterval = setInterval(clearPerformanceBuffer, 5 * 60 * 1000);
|
|
333
324
|
// Handle Ctrl+C gracefully
|
|
334
325
|
process.on("SIGINT", () => {
|
|
335
|
-
clearInterval(performanceCleanupInterval);
|
|
336
326
|
process.exit(0);
|
|
337
327
|
});
|
|
338
328
|
// Show goodbye after Ink unmounts
|
|
339
329
|
waitUntilExit().then(() => {
|
|
340
|
-
clearInterval(performanceCleanupInterval);
|
|
341
330
|
process.stdout.write("\n");
|
|
342
331
|
console.log("👋 Goodbye! See you next time.");
|
|
343
332
|
});
|
package/dist/package.json
CHANGED