Redesign the UI on brain's look: sidebar with search, Overview, modules, grouped Settings
- Left sidebar as in brain: search at the top (press /), Overview, Inventory, the modules (Content with Inbox, Sources, Scheduled and Published; later phases greyed out), Settings at the bottom; a top bar with breadcrumbs, and a menu that slides in on narrow screens. - brain's colour tokens, type, radius and shadows, with a dark theme that follows the system setting. - Settings as grouped tabs: Profile; Social accounts (was Credentials, now keys and sign-in together per network); Core & Hermes; AI, which now holds the API keys too. Old addresses redirect. - /search matches every word across posts, fetched items, the inventory, products and settings pages. - Overview: a card per module, then the setup checklist, folded once done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -34,10 +34,12 @@ After that, CoreDesktop's `update` keeps it current: it pulls this repository an
|
||||
|
||||
Then open Supermarket and:
|
||||
|
||||
1. **Profile**: enter your website and press *Draft*. Correct the draft and save it.
|
||||
2. **Settings > AI provider**: Anthropic (add your API key under *Credentials*) or an LLM server on your network, such as Ollama. Servers found by CoreDesktop's `configure ai-servers` are offered.
|
||||
1. **Settings → AI**: Anthropic, with Hermes' key (shared by `supermarket hermes`) or your own, or an LLM server on your network, such as Ollama. Servers found by CoreDesktop's `configure ai-servers` are offered.
|
||||
2. **Settings → Profile**: enter your website and press *Draft*. Correct the draft and save it.
|
||||
3. **Inventory**: add your partners and competitors, or import a list.
|
||||
4. **Settings > Credentials**: connect X and LinkedIn.
|
||||
4. **Settings → Social accounts**: connect X, LinkedIn and Reddit.
|
||||
|
||||
The menu on the left has a search box at the top (press `/` to jump to it), then the **Overview** with a card per module, the **Inventory**, and the modules: **Content** (Inbox, Sources, Scheduled, Published), and the ones still to come. **Settings**, at the bottom, holds the Profile, Social accounts, Core & Hermes, and AI. Search finds posts, fetched items, inventory entries, your products and settings pages. The look follows brain (Federated's superbrain), including a dark theme that follows your system's setting.
|
||||
|
||||
## The `supermarket` command
|
||||
|
||||
@@ -88,7 +90,7 @@ MCPHUB_AUTH=<your own hub token from your Core: the part after "Basic ">
|
||||
|
||||
Hermes' sandbox can only reach the hub once it's in `network.allowedDomains` in `~/.config/coredesktop/sandbox/hermes.json`. The script asks before adding it, then restarts Hermes' gateway. To enter a different hub token: `supermarket hermes --reconfigure`.
|
||||
|
||||
**AI for Supermarket itself.** If Hermes uses an Anthropic key, `supermarket hermes` offers to let Supermarket use the same key and model, so AI is set up once. Only the key and model are copied, to `hermes-ai.json` in the data folder (readable only by you), and `update.sh` keeps them in step. Supermarket still calls the model directly, not through Hermes: writing posts means reading text from the web, and that text shouldn't reach an agent that has tools and your CRM. A key saved under Settings → Credentials takes the place of Hermes'.
|
||||
**AI for Supermarket itself.** If Hermes uses an Anthropic key, `supermarket hermes` offers to let Supermarket use the same key and model, so AI is set up once. Only the key and model are copied, to `hermes-ai.json` in the data folder (readable only by you), and `update.sh` keeps them in step. Supermarket still calls the model directly, not through Hermes: writing posts means reading text from the web, and that text shouldn't reach an agent that has tools and your CRM. A key saved under Settings → AI takes the place of Hermes'.
|
||||
|
||||
To check the connection, open **Core & Hermes** in Supermarket and ask Hermes the question shown there. Hermes lists the hub's tools and reports them back to Supermarket, which shows when it last heard from Hermes.
|
||||
|
||||
@@ -125,7 +127,7 @@ Sign-ins come back to Supermarket at `http://localhost:8470/auth/<provider>/call
|
||||
|
||||
- X developer portal, your app's *User authentication settings*: `http://localhost:8470/auth/x/callback`
|
||||
- LinkedIn developer portal, your app's *Auth* tab: `http://localhost:8470/auth/linkedin/callback`
|
||||
- Reddit, [reddit.com/prefs/apps](https://www.reddit.com/prefs/apps): create a **web app** with the redirect URI `http://localhost:8470/auth/reddit/callback`, and put its client ID and secret under Settings → Credentials
|
||||
- Reddit, [reddit.com/prefs/apps](https://www.reddit.com/prefs/apps): create a **web app** with the redirect URI `http://localhost:8470/auth/reddit/callback`, and put its client ID and secret under Settings → Social accounts
|
||||
|
||||
The old terminal app used `http://localhost:8080/callback`; you can remove that one.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user