@companion-ai/feynman 0.2.10 → 0.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/logo.mjs +1 -1
- package/package.json +1 -1
- package/scripts/patch-embedded-pi.mjs +3 -0
package/logo.mjs
CHANGED
|
@@ -12,4 +12,4 @@ export const FEYNMAN_ASCII_LOGO = [
|
|
|
12
12
|
|
|
13
13
|
export const FEYNMAN_ASCII_LOGO_TEXT = FEYNMAN_ASCII_LOGO.join("\n");
|
|
14
14
|
|
|
15
|
-
export const FEYNMAN_LOGO_HTML = `<style
|
|
15
|
+
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>`;
|
package/package.json
CHANGED
|
@@ -367,6 +367,9 @@ if (oauthPagePath && existsSync(oauthPagePath)) {
|
|
|
367
367
|
if (source.includes(piLogo)) {
|
|
368
368
|
const feynmanLogo = `const LOGO_SVG = \`${FEYNMAN_LOGO_HTML}\`;`;
|
|
369
369
|
source = source.replace(piLogo, feynmanLogo);
|
|
370
|
+
source = source.replaceAll("Authentication successful", "Logged in");
|
|
371
|
+
source = source.replaceAll("Authentication failed", "Login failed");
|
|
372
|
+
source = source.replace("You can close this window.", "You can close this tab.");
|
|
370
373
|
writeFileSync(oauthPagePath, source, "utf8");
|
|
371
374
|
}
|
|
372
375
|
}
|