chore: post-commit formatting churn

This commit is contained in:
Raphael Westphal
2026-08-18 13:10:15 +02:00
parent 05ad577eea
commit 345025b070
4 changed files with 30 additions and 28 deletions
+19 -19
View File
@@ -4,29 +4,29 @@
import { createAgentSession } from "@earendil-works/pi-coding-agent";
process.on("unhandledRejection", (err) => {
console.error("[lvmh-bridge] unhandledRejection:", err);
console.error("[lvmh-bridge] unhandledRejection:", err);
});
try {
const { session } = await createAgentSession();
console.error(`[lvmh-bridge] session up, cwd=${process.cwd()}`);
const { session } = await createAgentSession();
console.error(`[lvmh-bridge] session up, cwd=${process.cwd()}`);
session.subscribe((event) => {
// Keep the loop warm; the extension does the mirroring.
if (event.type === "agent_settled") {
console.error("[lvmh-bridge] agent settled");
}
});
session.subscribe((event) => {
// Keep the loop warm; the extension does the mirroring.
if (event.type === "agent_settled") {
console.error("[lvmh-bridge] agent settled");
}
});
for (const sig of ["SIGTERM", "SIGINT"]) {
process.on(sig, () => {
console.error(`[lvmh-bridge] ${sig}, exiting`);
process.exit(0);
});
}
// Stay alive forever.
setInterval(() => {}, 1 << 30);
for (const sig of ["SIGTERM", "SIGINT"]) {
process.on(sig, () => {
console.error(`[lvmh-bridge] ${sig}, exiting`);
process.exit(0);
});
}
// Stay alive forever.
setInterval(() => {}, 1 << 30);
} catch (err) {
console.error("[lvmh-bridge] failed to create agent session", err);
process.exit(1);
console.error("[lvmh-bridge] failed to create agent session", err);
process.exit(1);
}