Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

App settings: drop two narrating comments

milind-soni652d994f29bb
diff --git a/server/app-settings/host.ts b/server/app-settings/host.ts
index 235376409a..0792014d06 100644
--- a/server/app-settings/host.ts
+++ b/server/app-settings/host.ts
@@ -92,7 +92,6 @@ export function createAppSettings(deps: AppSettingsDeps) {
const reply = (status: number, body: Record<string, unknown>) => ({ status, body });
const refuse = (status: number, error: string) => reply(status, { error });
const describe = (entry: SettingEntry) => ({ id: entry.id, label: entry.label, tier: entry.tier, value: text(entry.read()), where: placePath(entry.where),
- // A bot changes it in Simple mode too; the person sees the path only when they want to look themselves.
...(entry.tier !== "owner-only" && advancedOnlyPlace(entry.where) ? { inSimple: "set it as usual; never switch modes for it" } : {}) });
/** Null when the turn is the owner's own; otherwise why not, so the refusal can say what the person can do instead. */
const notOwners = (turn: Turn): NotOwners | null =>
diff --git a/server/app-settings/registry-window.ts b/server/app-settings/registry-window.ts
index 558ea09cb0..57c5e2d59d 100644
--- a/server/app-settings/registry-window.ts
+++ b/server/app-settings/registry-window.ts
@@ -32,7 +32,6 @@ export function windowEntries(windowPref: WindowPref, read: (id: WindowPrefId) =
windowPref("appearance.pinnedPages", "Pinned pages", "Web pages pinned beside the chat. Send the full list; chat pages pinned from a conversation stay.", "layout",
["pinned panels", "pinned pages", "web panel", "side page"], 'a list of up to 6 {"name","url"} with http(s) addresses; an empty list unpins every web page',
{ says: (pages: Array<{ name: string; url: string }>) => (pages.length ? `Pin these pages beside the chat: ${pages.map((page) => `${page.name} (${page.url})`).join(", ")}` : "Unpin every web page beside the chat"),
- // Simple shows pinned pages only in the window frame's top bar.
refusal: advancedOnly("Pinned pages", () => read("appearance.windowFrame") === true) }),
flag("appearance.showComputers", "Show your computers", "The rail of places down the side of the window (desktop app).", "layout", ["rail", "show your computers", "places"],
"Show the rail of your computers and Clouds", "Hide the rail of your computers and Clouds"),