Milestone 7: the app normal people install (macOS)
A Tauri menu-bar app runs the same sync engine as `lunesync run`. It connects from the website with no code typed (lune://join and lune://pair links), shows status in the menu bar, and lets a person resolve held secrets, held big changes and kept-both notes side by side. Uninstall shares and hands over first, then removes only what Lune created. Releases are signed on the hub that holds the key (`lunehub release keygen/publish`); other hubs `release import` them. Apps verify the signature and the signed version. Clients older than the previous release are asked to update and keep saving locally. A device can now be on several hubs at once (own and workplace), each with its own key; the CLI takes --team when it matters. The supervisor and status summary moved into core, shared by the CLI and the app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,7 @@ import { StrictMode, useEffect, useState } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { api, SignedOut, type CanvasData } from './api';
|
||||
import { Canvas } from './Canvas';
|
||||
import { JoinWithApp } from './MacApp';
|
||||
import './styles.css';
|
||||
|
||||
/** Sign in with a code from one of your devices (no passwords, §8). */
|
||||
@@ -34,7 +35,7 @@ function SignIn({ onDone }: { onDone: () => void }) {
|
||||
);
|
||||
}
|
||||
|
||||
/** What an invite link shows in a browser: how to join with the app. */
|
||||
/** What an invite link shows in a browser: get the Mac app and join from it, or join a server from the terminal. */
|
||||
function Join() {
|
||||
const link = location.href;
|
||||
return (
|
||||
@@ -42,9 +43,11 @@ function Join() {
|
||||
<div className="card">
|
||||
<span className="eyebrow">Lune · invite</span>
|
||||
<h1 className="disp">You're invited to a team</h1>
|
||||
<p>Install the sync app, then join from the device you'll use (this link works once):</p>
|
||||
<pre className="cmd">lunesync join {link} --name "My laptop"</pre>
|
||||
<p className="muted">Pick any name for the device; your team sees it next to your changes. Shared vaults arrive in <code>~/Vaults</code>.</p>
|
||||
<JoinWithApp link={link} />
|
||||
<details>
|
||||
<summary className="muted">Joining from a server or the terminal instead</summary>
|
||||
<pre className="cmd">lunesync join {link} --name "My server"</pre>
|
||||
</details>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user