7a788a9d90
CI / check (pull_request) Successful in 2m31s
- All 5 CLI bins: shebang --disable-warning=ExperimentalWarning - Remove NODE_OPTIONS injection from thread.ts spawn (redundant now) - Bootstrap pip install: venv (recommended) / pipx / source options - setup --help mentions interactive wizard mode - Update shebang test to accept -S flag Fixes #116
16 lines
586 B
JavaScript
Executable File
16 lines
586 B
JavaScript
Executable File
#!/usr/bin/env -S node --disable-warning=ExperimentalWarning
|
|
|
|
// eslint-disable-next-line -- dynamic import for version
|
|
const pkg = await import("../package.json", { with: { type: "json" } });
|
|
if (process.argv.includes("--version") || process.argv.includes("-V")) {
|
|
process.stdout.write(`${pkg.default.version}\n`);
|
|
process.exit(0);
|
|
}
|
|
|
|
import { createHermesAgent } from "./hermes.js";
|
|
import { isResumeDisabled } from "./session-cache.js";
|
|
|
|
const resumeDisabled = isResumeDisabled(process.env.UWF_HERMES_RESUME ?? null);
|
|
const main = createHermesAgent(resumeDisabled);
|
|
void main();
|