Skip to content

Commit 739a581

Browse files
roodboiclaude
andcommitted
feat(init): surface the hack global install requirement in init output
Both init paths now tell first-time users/agents that full *.hack routing needs hack global install (sudo, machine-wide DNS/CA) — field agents hit this as a late surprise. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 064db0e commit 739a581

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/commands/project.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3420,6 +3420,8 @@ async function handleInit({
34203420
"Next:",
34213421
" hack up",
34223422
" hack open",
3423+
"",
3424+
"First time on this machine? Run `hack global install` for *.hack DNS/TLS (needs sudo).",
34233425
].join("\n"),
34243426
"Initialized"
34253427
);
@@ -3567,6 +3569,10 @@ async function handleInitAuto({
35673569
logger.info({
35683570
message: "Next: hack up --detach && hack open",
35693571
});
3572+
logger.info({
3573+
message:
3574+
"First time on this machine? Run `hack global install` for *.hack DNS/TLS (needs sudo).",
3575+
});
35703576

35713577
if (withValue) {
35723578
await runInitOnboardingHandoff({

0 commit comments

Comments
 (0)