Skip to content

Commit 39ea02d

Browse files
author
Shaw
committed
style: biome auto-format pass post-merge
1 parent 3e4281f commit 39ea02d

62 files changed

Lines changed: 13210 additions & 13188 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bun.lock

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/agent/src/api/server.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,9 +1656,7 @@ async function handleRequest(
16561656
}
16571657

16581658
const localInferenceServerApi = await getLocalInferenceServerApi();
1659-
if (
1660-
await localInferenceServerApi.handleLocalInferenceRoutes(req, res)
1661-
)
1659+
if (await localInferenceServerApi.handleLocalInferenceRoutes(req, res))
16621660
return;
16631661
if (
16641662
localInferenceServerApi.handleLocalInferenceTtsRoute &&

packages/agent/src/runtime/eliza.ts

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3068,26 +3068,29 @@ export async function startEliza(
30683068
// module evaluation in the cloud Docker boot path. Manifests as a silent
30693069
// hang at this await call after the node:sqlite experimental warning; PID 1
30703070
// sits in `ep_poll`, no listen, 180s health timeout.
3071-
if (process.env.ELIZA_CLOUD_PROVISIONED !== "1") try {
3072-
const accountPool = await importAppCoreRuntime();
3073-
accountPool.getDefaultAccountPool();
3074-
await accountPool.applyAccountPoolApiCredentials({
3075-
activeBackend: resolveServiceRoutingInConfig(
3076-
config as Record<string, unknown>,
3077-
)?.llmText?.backend,
3078-
accountStrategies: (
3079-
config as Record<string, unknown> & {
3080-
accountStrategies?: Record<string, unknown>;
3081-
}
3082-
).accountStrategies,
3083-
serviceRouting: resolveServiceRoutingInConfig(
3084-
config as Record<string, unknown>,
3085-
),
3086-
});
3087-
accountPool.startAccountPoolKeepAlive();
3088-
} catch (err) {
3089-
logger.debug(`[eliza] Account pool bootstrap skipped: ${formatError(err)}`);
3090-
}
3071+
if (process.env.ELIZA_CLOUD_PROVISIONED !== "1")
3072+
try {
3073+
const accountPool = await importAppCoreRuntime();
3074+
accountPool.getDefaultAccountPool();
3075+
await accountPool.applyAccountPoolApiCredentials({
3076+
activeBackend: resolveServiceRoutingInConfig(
3077+
config as Record<string, unknown>,
3078+
)?.llmText?.backend,
3079+
accountStrategies: (
3080+
config as Record<string, unknown> & {
3081+
accountStrategies?: Record<string, unknown>;
3082+
}
3083+
).accountStrategies,
3084+
serviceRouting: resolveServiceRoutingInConfig(
3085+
config as Record<string, unknown>,
3086+
),
3087+
});
3088+
accountPool.startAccountPoolKeepAlive();
3089+
} catch (err) {
3090+
logger.debug(
3091+
`[eliza] Account pool bootstrap skipped: ${formatError(err)}`,
3092+
);
3093+
}
30913094

30923095
// 2g. Apply subscription-based credentials (Claude Max, Codex Max).
30933096
// Failure is non-fatal — the agent can still start with other providers.

packages/app-core/platforms/electrobun/src/electrobun-boot-config.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ describe("Electrobun boot config bridge", () => {
1919
});
2020
expect(globalObject.__ELIZAOS_APP_BOOT_CONFIG__).toBe(nextConfig);
2121
expect(globalObject.__ELIZA_APP_BOOT_CONFIG__).toBe(nextConfig);
22-
expect((globalObject as Record<symbol, { current: unknown } | undefined>)[Symbol.for("elizaos.app.boot-config")]?.current).toBe(
23-
nextConfig,
24-
);
22+
expect(
23+
(globalObject as Record<symbol, { current: unknown } | undefined>)[
24+
Symbol.for("elizaos.app.boot-config")
25+
]?.current,
26+
).toBe(nextConfig);
2527
});
2628

2729
it("prefers the current key while preserving existing fields", () => {

packages/app/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
"@elizaos/shared": "workspace:*",
120120
"@elizaos/shared-brand": "workspace:*",
121121
"@elizaos/ui": "workspace:*",
122-
"@fontsource-variable/open-sans": "^5.2.7",
123122
"@fontsource/poppins": "^5.2.7",
124123
"@pixiv/three-vrm": "^3.4.5",
125124
"llama-cpp-capacitor": "^0.1.5",

packages/app/src/main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import {
1414
DetachedShellRoot,
1515
} from "@elizaos/app-core";
1616
import {
17-
installIosLocalAgentFetchBridge,
18-
installIosLocalAgentNativeRequestBridge,
1917
type IosLocalAgentNativeRequestOptions,
2018
type IosLocalAgentNativeRequestResult,
19+
installIosLocalAgentFetchBridge,
20+
installIosLocalAgentNativeRequestBridge,
2121
primeIosFullBunRuntime,
2222
} from "@elizaos/app-core/api/ios-local-agent-transport";
2323
import { Agent } from "@elizaos/capacitor-agent";

packages/app/vite.config.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,13 @@ export default defineConfig({
991991
react(),
992992
desktopCorsPlugin(),
993993
appDevSettingsBannerPlugin(),
994-
visualizer({ filename: "dist/stats.html", template: "treemap", gzipSize: true, brotliSize: true, emitFile: false }) as Plugin,
994+
visualizer({
995+
filename: "dist/stats.html",
996+
template: "treemap",
997+
gzipSize: true,
998+
brotliSize: true,
999+
emitFile: false,
1000+
}) as Plugin,
9951001
],
9961002
oxc: {
9971003
// Override tsconfig target so generated workspace configs cannot push the

packages/cloud-frontend/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"@elizaos/steward-session-client": "workspace:*",
2929
"@elizaos/ui": "workspace:*",
3030
"@fontsource-variable/inter": "^5.2.8",
31-
"@fontsource-variable/open-sans": "^5.2.7",
3231
"@fontsource/dm-mono": "^5.2.7",
3332
"@fontsource/poppins": "^5.2.7",
3433
"@mdx-js/rollup": "^3.1.0",

packages/cloud-frontend/src/components/chat/eliza-chat-interface.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ export function ElizaChatInterface({
15641564
{loadingState.isSending && (
15651565
<div className="absolute top-0 left-0 right-0 h-[2px] overflow-hidden pointer-events-none z-10">
15661566
<div
1567-
className="absolute h-full w-24 bg-[#FF5800]"
1567+
className="absolute h-full w-24 bg-[var(--brand-orange)]"
15681568
style={{
15691569
animation:
15701570
"visor-scan 4.8s cubic-bezier(0.4, 0, 0.6, 1) infinite",
@@ -1573,7 +1573,7 @@ export function ElizaChatInterface({
15731573
}}
15741574
/>
15751575
<div
1576-
className="absolute h-full w-16 bg-[#FF5800]/60"
1576+
className="absolute h-full w-16 bg-[var(--brand-orange)]/60"
15771577
style={{
15781578
animation:
15791579
"visor-scan-delayed 6.2s cubic-bezier(0.3, 0.1, 0.7, 0.9) infinite 1.5s",
@@ -1676,12 +1676,12 @@ export function ElizaChatInterface({
16761676
>
16771677
<div className="flex items-center gap-3">
16781678
<ImageIcon
1679-
className={`h-4 w-4 ${createImageEnabled ? "text-[#FF5800]" : "text-white/50"}`}
1679+
className={`h-4 w-4 ${createImageEnabled ? "text-[var(--brand-orange)]" : "text-white/50"}`}
16801680
/>
16811681
<span className="text-sm">Create image</span>
16821682
</div>
16831683
{createImageEnabled && (
1684-
<Check className="h-4 w-4 text-[#FF5800]" />
1684+
<Check className="h-4 w-4 text-[var(--brand-orange)]" />
16851685
)}
16861686
</DropdownMenuItem>
16871687

@@ -1694,12 +1694,12 @@ export function ElizaChatInterface({
16941694
>
16951695
<div className="flex items-center gap-3">
16961696
<Globe
1697-
className={`h-4 w-4 ${webSearchEnabled ? "text-[#FF5800]" : "text-white/50"}`}
1697+
className={`h-4 w-4 ${webSearchEnabled ? "text-[var(--brand-orange)]" : "text-white/50"}`}
16981698
/>
16991699
<span className="text-sm">Web search</span>
17001700
</div>
17011701
{webSearchEnabled && (
1702-
<Check className="h-4 w-4 text-[#FF5800]" />
1702+
<Check className="h-4 w-4 text-[var(--brand-orange)]" />
17031703
)}
17041704
</DropdownMenuItem>
17051705

@@ -1715,12 +1715,12 @@ export function ElizaChatInterface({
17151715
>
17161716
<div className="flex items-center gap-3">
17171717
<Volume2
1718-
className={`h-4 w-4 ${audioState.autoPlayTTS ? "text-[#FF5800]" : "text-white/50"}`}
1718+
className={`h-4 w-4 ${audioState.autoPlayTTS ? "text-[var(--brand-orange)]" : "text-white/50"}`}
17191719
/>
17201720
<span className="text-sm">Auto-play voice</span>
17211721
</div>
17221722
{audioState.autoPlayTTS && (
1723-
<Check className="h-4 w-4 text-[#FF5800]" />
1723+
<Check className="h-4 w-4 text-[var(--brand-orange)]" />
17241724
)}
17251725
</DropdownMenuItem>
17261726

@@ -1802,7 +1802,7 @@ export function ElizaChatInterface({
18021802
<button
18031803
type="button"
18041804
onClick={() => setCreateImageEnabled(false)}
1805-
className="flex items-center gap-1 h-7 px-3 rounded-sm bg-transparent hover:bg-[#FF5800]/10 text-[#FF5800] text-sm transition-colors"
1805+
className="flex items-center gap-1 h-7 px-3 rounded-sm bg-transparent hover:bg-[var(--brand-orange)]/10 text-[var(--brand-orange)] text-sm transition-colors"
18061806
>
18071807
<span>{selectedImageModel.name}</span>
18081808
<X className="h-3.5 w-3.5" />
@@ -1910,7 +1910,7 @@ export function ElizaChatInterface({
19101910
{tier.name}
19111911
</span>
19121912
{tier.recommended && (
1913-
<span className="rounded-full border border-[#FF5800]/30 bg-[#FF5800]/10 px-1.5 py-0.5 text-[9px] uppercase text-[#FF9B66]">
1913+
<span className="rounded-full border border-[var(--brand-orange)]/30 bg-[var(--brand-orange)]/10 px-1.5 py-0.5 text-[9px] uppercase text-[#FF9B66]">
19141914
Recommended
19151915
</span>
19161916
)}
@@ -1924,7 +1924,7 @@ export function ElizaChatInterface({
19241924
</div>
19251925
</div>
19261926
{!customModel && selectedTier === tier.id && (
1927-
<Check className="h-4 w-4 text-[#FF5800]" />
1927+
<Check className="h-4 w-4 text-[var(--brand-orange)]" />
19281928
)}
19291929
</DropdownMenuItem>
19301930
))}
@@ -1977,7 +1977,7 @@ export function ElizaChatInterface({
19771977
)}
19781978
</span>
19791979
{model.recommended && (
1980-
<span className="rounded-full border border-[#FF5800]/30 bg-[#FF5800]/10 px-1.5 py-0.5 text-[9px] uppercase text-[#FF9B66]">
1980+
<span className="rounded-full border border-[var(--brand-orange)]/30 bg-[var(--brand-orange)]/10 px-1.5 py-0.5 text-[9px] uppercase text-[#FF9B66]">
19811981
Recommended
19821982
</span>
19831983
)}
@@ -1995,7 +1995,7 @@ export function ElizaChatInterface({
19951995
</span>
19961996
</div>
19971997
{customModel?.id === model.id && (
1998-
<Check className="h-4 w-4 text-[#FF5800]" />
1998+
<Check className="h-4 w-4 text-[var(--brand-orange)]" />
19991999
)}
20002000
</DropdownMenuItem>
20012001
))}
@@ -2080,7 +2080,7 @@ export function ElizaChatInterface({
20802080
</div>
20812081
{createImageEnabled &&
20822082
selectedImageModel.id === tier.model.id && (
2083-
<Check className="h-4 w-4 text-[#FF5800]" />
2083+
<Check className="h-4 w-4 text-[var(--brand-orange)]" />
20842084
)}
20852085
</DropdownMenuItem>
20862086
);
@@ -2155,7 +2155,7 @@ export function ElizaChatInterface({
21552155
</div>
21562156
{createImageEnabled &&
21572157
selectedImageModel.id === model.id && (
2158-
<Check className="h-4 w-4 text-[#FF5800]" />
2158+
<Check className="h-4 w-4 text-[var(--brand-orange)]" />
21592159
)}
21602160
</DropdownMenuItem>
21612161
);
@@ -2177,7 +2177,7 @@ export function ElizaChatInterface({
21772177
isMessageLimitReached
21782178
}
21792179
size="icon"
2180-
className="h-8 w-8 rounded-sm bg-[#FF5800] hover:bg-[#e54e00] disabled:bg-white/10 transition-colors group"
2180+
className="h-8 w-8 rounded-sm bg-[var(--brand-orange)] hover:bg-[#e54e00] disabled:bg-white/10 transition-colors group"
21812181
>
21822182
{loadingState.isSending ? (
21832183
<Loader2 className="h-4 w-4 animate-spin text-white" />

0 commit comments

Comments
 (0)