Fix OAuth page: system monospace font, proper sizing, rebrand headings
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2
logo.mjs
2
logo.mjs
@@ -12,4 +12,4 @@ export const FEYNMAN_ASCII_LOGO = [
|
|||||||
|
|
||||||
export const FEYNMAN_ASCII_LOGO_TEXT = FEYNMAN_ASCII_LOGO.join("\n");
|
export const FEYNMAN_ASCII_LOGO_TEXT = FEYNMAN_ASCII_LOGO.join("\n");
|
||||||
|
|
||||||
export const FEYNMAN_LOGO_HTML = `<style>@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');.logo{width:auto!important;height:auto!important}</style><span style="font-family:'VT323',monospace;font-size:64px;letter-spacing:-0.05em;color:#10b981">feynman</span>`;
|
export const FEYNMAN_LOGO_HTML = `<style>.logo{width:auto!important;height:auto!important;margin-bottom:16px!important}</style><span style="font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:36px;font-weight:700;letter-spacing:-0.03em;color:#10b981">feynman</span>`;
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@companion-ai/feynman",
|
"name": "@companion-ai/feynman",
|
||||||
"version": "0.2.10",
|
"version": "0.2.11",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@companion-ai/feynman",
|
"name": "@companion-ai/feynman",
|
||||||
"version": "0.2.10",
|
"version": "0.2.11",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@companion-ai/alpha-hub": "^0.1.2",
|
"@companion-ai/alpha-hub": "^0.1.2",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@companion-ai/feynman",
|
"name": "@companion-ai/feynman",
|
||||||
"version": "0.2.10",
|
"version": "0.2.11",
|
||||||
"description": "Research-first CLI agent built on Pi and alphaXiv",
|
"description": "Research-first CLI agent built on Pi and alphaXiv",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
@@ -367,6 +367,9 @@ if (oauthPagePath && existsSync(oauthPagePath)) {
|
|||||||
if (source.includes(piLogo)) {
|
if (source.includes(piLogo)) {
|
||||||
const feynmanLogo = `const LOGO_SVG = \`${FEYNMAN_LOGO_HTML}\`;`;
|
const feynmanLogo = `const LOGO_SVG = \`${FEYNMAN_LOGO_HTML}\`;`;
|
||||||
source = source.replace(piLogo, feynmanLogo);
|
source = source.replace(piLogo, feynmanLogo);
|
||||||
|
source = source.replaceAll("Authentication successful", "Logged in");
|
||||||
|
source = source.replaceAll("Authentication failed", "Login failed");
|
||||||
|
source = source.replace("You can close this window.", "You can close this tab.");
|
||||||
writeFileSync(oauthPagePath, source, "utf8");
|
writeFileSync(oauthPagePath, source, "utf8");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user