Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -0,0 +1,17 @@
#!/usr/bin/env node
// Thin shim so the CLI is callable as `hivegrid-cli`.
// The actual command tree lives in ../src/index.ts and is loaded via tsx in dev,
// or via the compiled output once the build pipeline produces dist/index.js.
import { fileURLToPath, pathToFileURL } from "node:url";
import { existsSync } from "node:fs";
import { dirname, resolve } from "node:path";
const __dirname = dirname(fileURLToPath(import.meta.url));
const distEntry = resolve(__dirname, "../dist/index.js");
const srcEntry = resolve(__dirname, "../src/index.ts");
const target = existsSync(distEntry) ? distEntry : srcEntry;
const moduleUrl = pathToFileURL(target).href;
const { runMain } = await import(moduleUrl);
await runMain();