first-commit
ci / Validate workspace (push) Has been cancelled
landing-page-ci / Validate landing page (push) Has been cancelled
landing-page-deploy / Deploy landing page (push) Has been cancelled
github-metrics / Generate repository metrics SVG (push) Has been cancelled
refresh-contributors-wall / Refresh contributors wall cache bust (push) Waiting to run

This commit is contained in:
Zakaria
2026-05-04 14:58:14 -04:00
commit a46764fb1b
1210 changed files with 233231 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { APP_KEYS, OPEN_DESIGN_SIDECAR_CONTRACT } from "@open-design/sidecar-proto";
import { bootstrapSidecarRuntime } from "@open-design/sidecar";
import { readProcessStamp } from "@open-design/platform";
import { startWebSidecar } from "./server.js";
async function main(): Promise<void> {
const stamp = readProcessStamp(process.argv.slice(2), OPEN_DESIGN_SIDECAR_CONTRACT);
if (stamp == null) throw new Error("sidecar stamp is required");
const runtime = bootstrapSidecarRuntime(stamp, process.env, {
app: APP_KEYS.WEB,
contract: OPEN_DESIGN_SIDECAR_CONTRACT,
});
const server = await startWebSidecar(runtime);
process.stdout.write(`${JSON.stringify(await server.status(), null, 2)}\n`);
await server.waitUntilStopped();
}
void main().catch((error: unknown) => {
console.error(error instanceof Error ? error.stack || error.message : String(error));
process.exit(1);
});