The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#120665)
hermes-seaeye[bot]1beb666f33e2
diff --git a/apps/desktop/src/app/settings/billing/use-billing-state.test.ts b/apps/desktop/src/app/settings/billing/use-billing-state.test.tsindex 04405da25cc..ba45703ee86 100644--- a/apps/desktop/src/app/settings/billing/use-billing-state.test.ts+++ b/apps/desktop/src/app/settings/billing/use-billing-state.test.ts@@ -140,9 +140,13 @@ describe('deriveBillingView', () => {expect(local.action).toEqual(english.action)expect(refusal).toEqual(before)- if (kind === 'monthly_cap_exceeded') {expect(local.message).toContain('17.42')}+ if (kind === 'monthly_cap_exceeded') {+ expect(local.message).toContain('17.42')+ }- if (kind === 'stripe_unavailable') {expect(local.message).toContain('2')}+ if (kind === 'stripe_unavailable') {+ expect(local.message).toContain('2')+ }}expect(resolveRefusal({ kind: 'unknown', message: 'Server notice Ω' }, copy).message).toBe('Server notice Ω')diff --git a/apps/desktop/src/app/settings/billing/use-charge-poller.ts b/apps/desktop/src/app/settings/billing/use-charge-poller.tsindex aea8b4df92c..ac722e4dbba 100644--- a/apps/desktop/src/app/settings/billing/use-charge-poller.ts+++ b/apps/desktop/src/app/settings/billing/use-charge-poller.ts@@ -319,11 +319,15 @@ function renderChargeFailed(reason: null | string | undefined, copy = en.setting// Repaint completed feedback on a locale switch without replaying a charge.function localizeChargeOutcome(outcome: ChargeFlowOutcome, b: Translations['settings']['billing']): ChargeFlowOutcome {- if (outcome.kind === 'success') {return { ...outcome, message: b.charge.added(outcome.amountUsd ?? '') }}+ if (outcome.kind === 'success') {+ return { ...outcome, message: b.charge.added(outcome.amountUsd ?? '') }+ }switch (outcome.copy) {case 'refusal': {- if (!outcome.refusal) {return outcome}+ if (!outcome.refusal) {+ return outcome+ }const resolved = resolveRefusal(outcome.refusal, b.errors)return { ...outcome, message: resolved.message, title: resolved.title }