@kendoo.agentdesk/agentdesk 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/login.mjs +1 -1
- package/package.json +1 -1
package/cli/login.mjs
CHANGED
|
@@ -108,7 +108,7 @@ export async function runLogin() {
|
|
|
108
108
|
writeFileSync(CREDENTIALS_PATH, JSON.stringify({ apiKey, name, savedAt: Date.now() }, null, 2), { mode: 0o600 });
|
|
109
109
|
|
|
110
110
|
res.writeHead(200, { "Content-Type": "text/html" });
|
|
111
|
-
res.end(`<html><body style="background:#
|
|
111
|
+
res.end(`<html><body style="background:#011627;color:#fdfffc;font-family:system-ui;display:flex;align-items:center;justify-content:center;height:100vh;margin:0"><div style="text-align:center"><h2 style="color:#2ec4b6">Logged in to AgentDesk</h2><p>You can close this tab and return to your terminal.</p></div></body></html>`);
|
|
112
112
|
|
|
113
113
|
console.log(` Logged in as ${name || "user"}`);
|
|
114
114
|
console.log(` API key saved to ~/.agentdesk/credentials.json`);
|