mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 06:17:23 +01:00
fix(onboarding): tell the truth about the daemon requiring a repo clone
Last commit (422873a) made step 2 of the connect flow work for new
customers, but step 3 — "Start the daemon: ./scripts/cockpit-daemon.sh"
— was still a lie: the agent CLI only writes a token env file, it does
not install the 783-line daemon script. New customers would copy that
path, get "No such file or directory", and assume they did something
wrong.
Update both surfaces (the onboarding UI's step 3 + the CLI's post-init
"Next steps" output) to acknowledge that the daemon currently requires
a Cockpit repo clone and flag a one-line public installer as coming
soon. The "Skip for now" button on the step already lets non-developer
customers complete onboarding and explore the cloud — the copy now
makes that the explicit, honest path.
Does not change behavior. The real fix (serve scripts/cockpit-daemon.sh
+ _brand.sh + agent-hook-lib.sh via /api/agent/daemon, with a bash
installer that drops them into ~/.local/share/cockpit) is queued — out
of scope for one commit (1500+ lines of bash, multi-file tracing).
This commit is contained in:
2 files changed
+5
-3
No files matched your search
@@ -121,7 +121,8 @@ async function main() {
|
||||
console.log("\nNext steps:");
|
||||
console.log(" 1. Install Zellij + at least one agent CLI (claude, codex, gemini, or openclaw)");
|
||||
console.log(" 2. Register projects in Cockpit with local directory paths");
|
||||
console.log(` 3. Start the daemon:`);
|
||||
console.log(` 3. Start the daemon — currently requires a Cockpit repo clone`);
|
||||
console.log(` (one-line public installer is coming; for now, from a clone:)`);
|
||||
console.log(` set -a && source ${ENV_FILE} && ./scripts/cockpit-daemon.sh`);
|
||||
console.log(` # optional: bash scripts/install-daemon.sh (systemd user service)`);
|
||||
|
||||
|
||||
@@ -87,8 +87,9 @@ export function ConnectMachineStep({ saving, onComplete, onSkip }: Props) {
|
||||
</li>
|
||||
<li>Generate a token and run the init command below.</li>
|
||||
<li>
|
||||
Start the daemon:{" "}
|
||||
<code className="ui-auth-inline-code">./scripts/cockpit-daemon.sh</code>
|
||||
Start the daemon — currently requires a {APP_NAME} repo clone
|
||||
(one-line public installer coming soon). Skip below to explore
|
||||
the cloud surface without it.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
|
||||
Reference in new issue
Block a user