feat: add the logo, and point people at the plugin before they mint a token
Logo: the app had no icon at all — public/ held only .gitkeep and the page emitted no <link rel="icon">, so browsers requested /favicon.ico, got a 404 and showed a blank tab. app/icon.svg is picked up automatically by the App Router; public/logo.svg is a currentColor variant for in-app use. The mark is three retrieval signals converging on a single memory, which is what the search actually does (vector + full-text + tags fused by RRF) and what the product does (many sessions, one store). Checked at 16px: the outer strokes are held at equal opacity because asymmetry read as a rendering artifact rather than as ranking. Tokens page: reframed so a bearer token is the exception rather than the default. A token is a credential to store and rotate; the plugin just signs you in. The install hint renders only when PLUGIN_MARKETPLACE_URL is set — a copyable command pointing nowhere is worse than no command. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -67,6 +67,13 @@ const envSchema = z.object({
|
||||
// every issued CLI token at once.
|
||||
CLI_TOKEN_SECRET: z.string().min(32, "CLI_TOKEN_SECRET must be at least 32 chars"),
|
||||
|
||||
// Plugin marketplace this instance is published from. When set, the CLI
|
||||
// tokens page shows the one-command plugin install, so people only mint a
|
||||
// bearer token when their machine genuinely can't complete a browser
|
||||
// sign-in. Left unset, that hint is hidden rather than shown wrong.
|
||||
PLUGIN_MARKETPLACE_URL: optional(z.string().url()),
|
||||
PLUGIN_MARKETPLACE_NAME: z.string().min(1).default("shared-memory"),
|
||||
|
||||
// Behavior flags
|
||||
ALLOW_INSECURE_HTTP: Bool.optional().default(false),
|
||||
});
|
||||
@@ -110,6 +117,7 @@ function buildPhaseStub(): Env {
|
||||
EMBEDDING_DIM: 384,
|
||||
NEXTAUTH_SECRET: "build-phase-secret-not-used-at-runtime-xxxxxxxx",
|
||||
CLI_TOKEN_SECRET: "build-phase-secret-not-used-at-runtime-xxxxxxxx",
|
||||
PLUGIN_MARKETPLACE_NAME: "shared-memory",
|
||||
ALLOW_INSECURE_HTTP: false,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user