Rename the add-on Bookmarks API and drop CLI copy from the product UI.

This commit is contained in:
alexveley
2026-09-22 07:33:35 -04:00
parent 9242c01015
commit de0814f3ed
7 changed files with 27 additions and 54 deletions
+5 -6
View File
@@ -2,18 +2,18 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Firefox Agent Bridge</title>
<title>Bookmarks API</title>
<link rel="stylesheet" href="ui.css">
</head>
<body class="page">
<header>
<h1>Firefox Agent Bridge</h1>
<p class="muted">Issue a secret to each script or agent. The add-on keeps only a hash. Put the secret in an env var, vault, or <code>.env</code> — whatever you already use.</p>
<h1>Bookmarks API for Scripting and AI</h1>
<p class="muted">Issue a secret to each client. Store it with your secrets. This add-on keeps only a hash.</p>
<p id="status" class="muted"></p>
</header>
<section class="row">
<input id="name" type="text" maxlength="64" placeholder="Client name, e.g. cursor-agent" autocomplete="off">
<input id="name" type="text" maxlength="64" placeholder="Client name" autocomplete="off">
<button id="create" type="button">Generate secret</button>
</section>
<p id="error" class="error" hidden></p>
@@ -34,10 +34,9 @@
<dialog id="secret-modal">
<h2>Copy this secret now</h2>
<p class="muted">It will not be shown again. Store it the same way you store any other API token.</p>
<p class="muted">It will not be shown again. Store it with your secrets.</p>
<label class="sr">Secret</label>
<textarea id="secret" readonly rows="3"></textarea>
<p class="hint">Example: <code>set FAB_TOKEN=&lt;secret&gt;</code> then <code>python tools/client.py meta.methods</code></p>
<div class="row">
<button id="copy" type="button">Copy</button>
<button id="close" type="button">I saved it</button>