Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(onboarding): build the approved flow — one identity screen, three steps

[email protected]14aeccfeb5e9
diff --git a/app/src/components/BootCheckGate/BootCheckGate.tsx b/app/src/components/BootCheckGate/BootCheckGate.tsx
index 8a6232f9f8..23ab784d83 100644
--- a/app/src/components/BootCheckGate/BootCheckGate.tsx
+++ b/app/src/components/BootCheckGate/BootCheckGate.tsx
@@ -325,8 +325,7 @@ function ModePicker({ onConfirm }: PickerProps) {
</div>
<div className="flex flex-col gap-1">
<label className="text-xs font-medium text-content-secondary">
- {t('bootCheck.authToken')} (
- <code className="text-[10px]">OPENHUMAN_CORE_TOKEN</code>)
+ {t('bootCheck.authToken')}
</label>
<input
type="text"
@@ -577,8 +576,24 @@ export default function BootCheckGate({ children }: BootCheckGateProps) {
const dispatch = useAppDispatch();
const coreMode = useAppSelector(state => state.coreMode.mode);
+ /**
+ * A first launch boots local without asking.
+ *
+ * The picker used to greet every new user with an infrastructure question
+ * before the app had shown them anything. It cannot be answered on a first
+ * run either: the cloud branch needs a URL and a bearer for a core the user
+ * must already have deployed, so anyone able to answer it has by definition
+ * been here before. Local is right for essentially everyone, and when it is
+ * not — a port conflict, a core that will not start — the boot check already
+ * surfaces a typed failure with a targeted recovery, which is a far better
+ * moment to ask than a cold start.
+ *
+ * The web build is the exception: it cannot spawn a local core, so cloud is
+ * its only option and the picker stays its first screen.
+ */
+ const canBootLocal = isTauri();
const [phase, setPhase] = useState<Phase>(() =>
- coreMode.kind === 'unset' ? 'picker' : 'checking'
+ coreMode.kind === 'unset' && !canBootLocal ? 'picker' : 'checking'
);
const [result, setResult] = useState<BootCheckResult | null>(null);
const [actionBusy, setActionBusy] = useState(false);
@@ -629,10 +644,23 @@ export default function BootCheckGate({ children }: BootCheckGateProps) {
// do not synchronously cascade — suppress the linter warning here.
useEffect(() => {
+ if (coreMode.kind === 'unset' && canBootLocal && phase === 'checking') {
+ // Adopt local the same way the picker's Continue would, so the
+ // synchronous localStorage marker is written before any reload can
+ // race the persisted slice (see `deriveInitialMode`).
+ log('[boot-check] gate — first launch, booting local without asking');
+ storeRpcUrl('');
+ clearStoredCoreToken();
+ storeCoreMode('local');
+ clearCoreRpcUrlCache();
+ clearCoreRpcTokenCache();
+ dispatch(setCoreMode({ kind: 'local' }));
+ return;
+ }
if (coreMode.kind !== 'unset' && phase === 'checking') {
void runCheck(coreMode);
}
- }, [coreMode, phase, runCheck]);
+ }, [coreMode, phase, runCheck, canBootLocal, dispatch]);
// ------------------------------------------------------------------
// Picker confirm — dispatches setCoreMode and kicks off check.
@@ -795,6 +823,14 @@ export default function BootCheckGate({ children }: BootCheckGateProps) {
// Render
// ------------------------------------------------------------------
+ // A desktop first launch is on its way to local: the effect above dispatches
+ // the mode, but it runs AFTER this render, so the unset mode would fall into
+ // the picker branch below and flash the very screen the demotion removes.
+ // Show the checking screen instead and let the effect catch up.
+ if (canBootLocal && coreMode.kind === 'unset' && phase === 'checking') {
+ return <CheckingScreen />;
+ }
+
// Unset — show picker (even if Redux persisted something; phase reflects truth).
if (phase === 'picker' || coreMode.kind === 'unset') {
return (
diff --git a/app/src/components/BootCheckGate/__tests__/BootCheckGate.test.tsx b/app/src/components/BootCheckGate/__tests__/BootCheckGate.test.tsx
index 29aa93d9e3..a5b86c6ebd 100644
--- a/app/src/components/BootCheckGate/__tests__/BootCheckGate.test.tsx
+++ b/app/src/components/BootCheckGate/__tests__/BootCheckGate.test.tsx
@@ -13,8 +13,10 @@ import { fireEvent, render, screen, waitFor } from '@testing-library/react';
import { Provider } from 'react-redux';
import { beforeEach, describe, expect, it, vi } from 'vitest';
+import en from '../../../lib/i18n/en';
import coreModeReducer, { type CoreModeState } from '../../../store/coreModeSlice';
import localeReducer from '../../../store/localeSlice';
+import { clearStoredCoreToken, storeCoreMode, storeRpcUrl } from '../../../utils/configPersistence';
import BootCheckGate from '../BootCheckGate';
// The global test setup mocks isTauri()=>false (web). The existing picker
@@ -23,6 +25,14 @@ import BootCheckGate from '../BootCheckGate';
// describe at the bottom flips it back to false.
const mockedIsTauri = vi.mocked(isTauri);
+// Assert against the real English dictionary so copy edits do not silently
+// turn these behavioural tests red (or green).
+const copy = (key: string): string => {
+ const value = (en as Record<string, string>)[key];
+ if (value === undefined) throw new Error(`missing en key ${key}`);
+ return value;
+};
+
// ---------------------------------------------------------------------------
// Mocks
// ---------------------------------------------------------------------------
@@ -86,6 +96,21 @@ function renderGate(store = makeStore()) {
);
}
+/**
+ * Reach the picker the way a real desktop user now does: first launch
+ * auto-boots local (no picker), the boot check comes back unreachable, and the
+ * user clicks copy('bootCheck.switchMode'). Consumes exactly one
+ * `mockRunBootCheck` result (queued with `Once`), so callers may set their own
+ * default result beforehand for what happens after the picker's Continue.
+ */
+async function renderPicker(store = makeStore()) {
+ mockRunBootCheck.mockResolvedValueOnce({ kind: 'unreachable', reason: 'Connection refused' });
+ const view = renderGate(store);
+ fireEvent.click(await screen.findByRole('button', { name: copy('bootCheck.switchMode') }));
+ await screen.findByText(copy('bootCheck.chooseCoreMode'));
+ return view;
+}
+
// ---------------------------------------------------------------------------
// Tests
// ---------------------------------------------------------------------------
@@ -95,23 +120,66 @@ beforeEach(() => {
mockedIsTauri.mockReturnValue(true);
});
-describe('BootCheckGate — picker (unset mode)', () => {
- it('shows the mode picker when coreMode is unset', () => {
- renderGate();
- expect(screen.getByText('Select a Runtime')).toBeInTheDocument();
- expect(screen.getByText('Run Locally (Recommended)')).toBeInTheDocument();
- expect(screen.getByText('Run on the Cloud (Complex)')).toBeInTheDocument();
+describe('BootCheckGate — first launch on desktop (unset mode)', () => {
+ beforeEach(() => {
+ mockRunBootCheck.mockReset();
+ vi.mocked(storeCoreMode).mockClear();
+ });
+
+ // The picker used to be the first screen. It asked an infrastructure
+ // question before the app showed anything, and its cloud branch cannot be
+ // answered on a genuine first run (needs a URL + bearer for an already
+ // deployed core). It is now a fallback, not an entry point.
+ it('does not show the picker and proceeds to the checking phase', async () => {
+ mockRunBootCheck.mockImplementation(() => new Promise(() => {}));
+ const store = makeStore();
+ renderGate(store);
+
+ await waitFor(() => {
+ expect(screen.getByText(copy('bootCheck.checkingCore'))).toBeInTheDocument();
+ });
+ expect(screen.queryByText(copy('bootCheck.chooseCoreMode'))).not.toBeInTheDocument();
+ expect(screen.queryByText(copy('bootCheck.localRecommended'))).not.toBeInTheDocument();
+ expect(store.getState().coreMode.mode).toEqual({ kind: 'local' });
});
- it('does NOT render children while in picker', () => {
+ it('adopts local mode and persists the marker', async () => {
+ mockRunBootCheck.mockResolvedValue({ kind: 'match' });
renderGate();
+
+ await waitFor(() => {
+ expect(screen.getByTestId('app-content')).toBeInTheDocument();
+ });
+ expect(storeCoreMode).toHaveBeenCalledWith('local');
+ expect(clearStoredCoreToken).toHaveBeenCalled();
+ expect(storeRpcUrl).toHaveBeenCalledWith('');
+ expect(mockRunBootCheck).toHaveBeenCalledWith({ kind: 'local' }, expect.any(Object));
+ });
+
+ it('reaches the picker as a fallback when local boot fails', async () => {
+ await renderPicker();
+ expect(screen.getByText(copy('bootCheck.localRecommended'))).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.cloudMode'))).toBeInTheDocument();
+ });
+});
+
+describe('BootCheckGate — picker (reached via Pick a Different Runtime)', () => {
+ it('shows the mode picker when coreMode is unset', async () => {
+ await renderPicker();
+ expect(screen.getByText(copy('bootCheck.chooseCoreMode'))).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.localRecommended'))).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.cloudMode'))).toBeInTheDocument();
+ });
+
+ it('does NOT render children while in picker', async () => {
+ await renderPicker();
expect(screen.queryByTestId('app-content')).not.toBeInTheDocument();
});
it('continues with local mode when user clicks Continue', async () => {
mockRunBootCheck.mockResolvedValue({ kind: 'match' });
- renderGate();
+ await renderPicker();
// Local is pre-selected — just click Continue
fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
@@ -121,27 +189,27 @@ describe('BootCheckGate — picker (unset mode)', () => {
});
});
- it('shows URL input when user selects Cloud', () => {
- renderGate();
+ it('shows URL input when user selects Cloud', async () => {
+ await renderPicker();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
expect(screen.getByPlaceholderText(/https:\/\/core\.example\.com/)).toBeInTheDocument();
});
- it('shows URL validation error when cloud URL is empty', () => {
- renderGate();
+ it('shows URL validation error when cloud URL is empty', async () => {
+ await renderPicker();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
- expect(screen.getByText('Please enter a runtime URL.')).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.invalidUrl'))).toBeInTheDocument();
});
- it('shows URL validation error for non-http URL', () => {
- renderGate();
+ it('shows URL validation error for non-http URL', async () => {
+ await renderPicker();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
const input = screen.getByPlaceholderText(/https:\/\/core\.example\.com/);
fireEvent.change(input, { target: { value: 'ftp://invalid' } });
fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
@@ -149,10 +217,10 @@ describe('BootCheckGate — picker (unset mode)', () => {
expect(screen.getByText(/start with http/)).toBeInTheDocument();
});
- it('shows URL validation error for malformed URL string', () => {
- renderGate();
+ it('shows URL validation error for malformed URL string', async () => {
+ await renderPicker();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
const input = screen.getByPlaceholderText(/https:\/\/core\.example\.com/);
fireEvent.change(input, { target: { value: 'not a url at all' } });
fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
@@ -160,10 +228,10 @@ describe('BootCheckGate — picker (unset mode)', () => {
expect(screen.getByText(/That doesn't look like a valid URL/)).toBeInTheDocument();
});
- it('shows token validation error when cloud URL is valid but token is missing', () => {
- renderGate();
+ it('shows token validation error when cloud URL is valid but token is missing', async () => {
+ await renderPicker();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
const urlInput = screen.getByPlaceholderText(/https:\/\/core\.example\.com/);
fireEvent.change(urlInput, { target: { value: 'https://core.example.com/rpc' } });
// Token left blank.
@@ -175,12 +243,12 @@ describe('BootCheckGate — picker (unset mode)', () => {
it('accepts a Tailscale HTTP core URL in cloud mode', async () => {
mockRunBootCheck.mockResolvedValue({ kind: 'match' });
- renderGate();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ await renderPicker();
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
fireEvent.change(screen.getByPlaceholderText(/https:\/\/core\.example\.com/), {
target: { value: 'http://100.116.244.64:7788/rpc' },
});
- fireEvent.change(screen.getByPlaceholderText(/Bearer token/i), {
+ fireEvent.change(screen.getByPlaceholderText(copy('bootCheck.bearerTokenPlaceholder')), {
target: { value: 'tok-1234' },
});
fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
@@ -201,12 +269,12 @@ describe('BootCheckGate — picker (unset mode)', () => {
it('normalizes a cloud core base URL to the /rpc endpoint before continuing', async () => {
mockRunBootCheck.mockResolvedValue({ kind: 'match' });
- renderGate();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ await renderPicker();
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
fireEvent.change(screen.getByPlaceholderText(/https:\/\/core\.example\.com/), {
target: { value: 'https://example.trycloudflare.com/' },
});
- fireEvent.change(screen.getByPlaceholderText(/Bearer token/i), {
+ fireEvent.change(screen.getByPlaceholderText(copy('bootCheck.bearerTokenPlaceholder')), {
target: { value: 'tok-1234' },
});
fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
@@ -227,16 +295,16 @@ describe('BootCheckGate — picker (unset mode)', () => {
it('warns about public HTTP cloud URLs but does not block them', async () => {
mockRunBootCheck.mockResolvedValue({ kind: 'match' });
- renderGate();
+ await renderPicker();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
const urlInput = screen.getByPlaceholderText(/https:\/\/core\.example\.com/);
fireEvent.change(urlInput, { target: { value: 'http://core.example.com/rpc' } });
// Non-blocking warning shows inline as soon as the public HTTP URL is typed.
expect(screen.getByText(/traffic will not be encrypted/i)).toBeInTheDocument();
- fireEvent.change(screen.getByPlaceholderText(/Bearer token/i), {
+ fireEvent.change(screen.getByPlaceholderText(copy('bootCheck.bearerTokenPlaceholder')), {
target: { value: 'tok-1234' },
});
fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
@@ -254,17 +322,17 @@ describe('BootCheckGate — picker (unset mode)', () => {
});
});
- it('clears the token error as soon as the user types into the token field', () => {
- renderGate();
+ it('clears the token error as soon as the user types into the token field', async () => {
+ await renderPicker();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
fireEvent.change(screen.getByPlaceholderText(/https:\/\/core\.example\.com/), {
target: { value: 'https://core.example.com/rpc' },
});
fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
expect(screen.getByText(/We'll need an auth token to connect/i)).toBeInTheDocument();
- const tokenInput = screen.getByPlaceholderText(/Bearer token/i);
+ const tokenInput = screen.getByPlaceholderText(copy('bootCheck.bearerTokenPlaceholder'));
fireEvent.change(tokenInput, { target: { value: 'tok' } });
expect(screen.queryByText(/We'll need an auth token to connect/i)).not.toBeInTheDocument();
@@ -273,12 +341,12 @@ describe('BootCheckGate — picker (unset mode)', () => {
it('advances past picker and triggers boot check when cloud URL + token are both set', async () => {
mockRunBootCheck.mockResolvedValue({ kind: 'match' });
- renderGate();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ await renderPicker();
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
fireEvent.change(screen.getByPlaceholderText(/https:\/\/core\.example\.com/), {
target: { value: 'https://core.example.com/rpc' },
});
- fireEvent.change(screen.getByPlaceholderText(/Bearer token/i), {
+ fireEvent.change(screen.getByPlaceholderText(copy('bootCheck.bearerTokenPlaceholder')), {
target: { value: 'tok-1234' },
});
fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
@@ -303,11 +371,13 @@ describe('BootCheckGate — picker test connection', () => {
});
function fillCloudInputs(url = 'https://core.example.com/rpc', token = 'tok-abc') {
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
fireEvent.change(screen.getByPlaceholderText(/https:\/\/core\.example\.com/), {
target: { value: url },
});
- fireEvent.change(screen.getByPlaceholderText(/Bearer token/i), { target: { value: token } });
+ fireEvent.change(screen.getByPlaceholderText(copy('bootCheck.bearerTokenPlaceholder')), {
+ target: { value: token },
+ });
}
it('shows Connected on a 200 response', async () => {
@@ -317,7 +387,7 @@ describe('BootCheckGate — picker test connection', () => {
json: async () => ({ result: { ok: true } }),
} as unknown as Response);
- renderGate();
+ await renderPicker();
fillCloudInputs();
fireEvent.click(screen.getByRole('button', { name: 'Test Connection' }));
@@ -337,7 +407,7 @@ describe('BootCheckGate — picker test connection', () => {
json: async () => ({ result: { ok: true } }),
} as unknown as Response);
- renderGate();
+ await renderPicker();
fillCloudInputs('https://example.trycloudflare.com/');
fireEvent.click(screen.getByRole('button', { name: 'Test Connection' }));
@@ -357,7 +427,7 @@ describe('BootCheckGate — picker test connection', () => {
json: async () => ({ error: 'unauthorized' }),
} as unknown as Response);
- renderGate();
+ await renderPicker();
fillCloudInputs();
fireEvent.click(screen.getByRole('button', { name: 'Test Connection' }));
@@ -373,7 +443,7 @@ describe('BootCheckGate — picker test connection', () => {
json: async () => ({}),
} as unknown as Response);
- renderGate();
+ await renderPicker();
fillCloudInputs();
fireEvent.click(screen.getByRole('button', { name: 'Test Connection' }));
@@ -385,7 +455,7 @@ describe('BootCheckGate — picker test connection', () => {
it('shows Unreachable when fetch rejects', async () => {
mockTestCoreRpcConnection.mockRejectedValue(new Error('network down'));
- renderGate();
+ await renderPicker();
fillCloudInputs();
fireEvent.click(screen.getByRole('button', { name: 'Test Connection' }));
@@ -402,7 +472,7 @@ describe('BootCheckGate — picker test connection', () => {
json: async () => ({}),
} as unknown as Response);
- renderGate();
+ await renderPicker();
fillCloudInputs();
fireEvent.click(screen.getByRole('button', { name: 'Test Connection' }));
@@ -412,18 +482,18 @@ describe('BootCheckGate — picker test connection', () => {
expect(screen.getByTestId('test-status-unreachable').textContent).toMatch(/HTTP 500/);
});
- it('does not call the test endpoint when URL is missing', () => {
- renderGate();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ it('does not call the test endpoint when URL is missing', async () => {
+ await renderPicker();
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
fireEvent.click(screen.getByRole('button', { name: 'Test Connection' }));
expect(mockTestCoreRpcConnection).not.toHaveBeenCalled();
- expect(screen.getByText('Please enter a runtime URL.')).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.invalidUrl'))).toBeInTheDocument();
});
- it('does not call the test endpoint when token is missing', () => {
- renderGate();
- fireEvent.click(screen.getByText('Run on the Cloud (Complex)'));
+ it('does not call the test endpoint when token is missing', async () => {
+ await renderPicker();
+ fireEvent.click(screen.getByText(copy('bootCheck.cloudMode')));
fireEvent.change(screen.getByPlaceholderText(/https:\/\/core\.example\.com/), {
target: { value: 'https://core.example.com/rpc' },
});
@@ -440,14 +510,14 @@ describe('BootCheckGate — picker test connection', () => {
json: async () => ({}),
} as unknown as Response);
- renderGate();
+ await renderPicker();
fillCloudInputs();
fireEvent.click(screen.getByRole('button', { name: 'Test Connection' }));
await waitFor(() => {
expect(screen.getByTestId('test-status-ok')).toBeInTheDocument();
});
- fireEvent.change(screen.getByPlaceholderText(/Bearer token/i), {
+ fireEvent.change(screen.getByPlaceholderText(copy('bootCheck.bearerTokenPlaceholder')), {
target: { value: 'tok-def' },
});
@@ -461,10 +531,9 @@ describe('BootCheckGate — checking state', () => {
mockRunBootCheck.mockImplementation(() => new Promise(() => {}));
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
- expect(screen.getByText('Waking up your runtime…')).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.checkingCore'))).toBeInTheDocument();
});
});
});
@@ -474,7 +543,6 @@ describe('BootCheckGate — match result', () => {
mockRunBootCheck.mockResolvedValue({ kind: 'match' });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
expect(screen.getByTestId('app-content')).toBeInTheDocument();
@@ -487,10 +555,9 @@ describe('BootCheckGate — daemonDetected', () => {
mockRunBootCheck.mockResolvedValue({ kind: 'daemonDetected' });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
- expect(screen.getByText('Legacy Background Runtime Detected')).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.legacyDetected'))).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'Remove and Continue' })).toBeInTheDocument();
});
});
@@ -501,11 +568,12 @@ describe('BootCheckGate — outdatedLocal', () => {
mockRunBootCheck.mockResolvedValue({ kind: 'outdatedLocal' });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
- expect(screen.getByText('Local Runtime Needs a Restart')).toBeInTheDocument();
- expect(screen.getByRole('button', { name: 'Restart Runtime' })).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.localNeedsRestart'))).toBeInTheDocument();
+ expect(
+ screen.getByRole('button', { name: copy('bootCheck.restartCore') })
+ ).toBeInTheDocument();
});
});
});
@@ -526,8 +594,10 @@ describe('BootCheckGate — outdatedCloud', () => {
);
await waitFor(() => {
- expect(screen.getByText('Cloud Runtime Needs an Update')).toBeInTheDocument();
- expect(screen.getByRole('button', { name: 'Update Cloud Runtime' })).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.cloudNeedsUpdate'))).toBeInTheDocument();
+ expect(
+ screen.getByRole('button', { name: copy('bootCheck.updateCloudCore') })
+ ).toBeInTheDocument();
});
});
});
@@ -537,10 +607,9 @@ describe('BootCheckGate — noVersionMethod', () => {
mockRunBootCheck.mockResolvedValue({ kind: 'noVersionMethod' });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
- expect(screen.getByText('Runtime Version Check Failed')).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.versionCheckFailed'))).toBeInTheDocument();
});
});
});
@@ -550,29 +619,31 @@ describe('BootCheckGate — unreachable', () => {
mockRunBootCheck.mockResolvedValue({ kind: 'unreachable', reason: 'Connection refused' });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
- expect(screen.getByText("Can't Reach the Runtime")).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.cannotReach'))).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'Quit' })).toBeInTheDocument();
- expect(screen.getByRole('button', { name: 'Pick a Different Runtime' })).toBeInTheDocument();
+ expect(
+ screen.getByRole('button', { name: copy('bootCheck.switchMode') })
+ ).toBeInTheDocument();
});
});
- it("returns to picker when 'Pick a Different Runtime' is clicked", async () => {
+ it('returns to picker when the switch-mode button is clicked', async () => {
mockRunBootCheck.mockResolvedValue({ kind: 'unreachable', reason: 'Connection refused' });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
- expect(screen.getByRole('button', { name: 'Pick a Different Runtime' })).toBeInTheDocument();
+ expect(
+ screen.getByRole('button', { name: copy('bootCheck.switchMode') })
+ ).toBeInTheDocument();
});
- fireEvent.click(screen.getByRole('button', { name: 'Pick a Different Runtime' }));
+ fireEvent.click(screen.getByRole('button', { name: copy('bootCheck.switchMode') }));
await waitFor(() => {
- expect(screen.getByText('Select a Runtime')).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.chooseCoreMode'))).toBeInTheDocument();
});
});
});
@@ -595,10 +666,10 @@ describe('BootCheckGate — pre-set mode (subsequent launches)', () => {
);
await waitFor(() => {
- expect(screen.getByText('Waking up your runtime…')).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.checkingCore'))).toBeInTheDocument();
});
- expect(screen.queryByText('Select a Runtime')).not.toBeInTheDocument();
+ expect(screen.queryByText(copy('bootCheck.chooseCoreMode'))).not.toBeInTheDocument();
});
});
@@ -616,7 +687,6 @@ describe('BootCheckGate — port conflict recovery', () => {
});
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
expect(screen.getByTestId('fix-automatically-btn')).toBeInTheDocument();
@@ -628,10 +698,9 @@ describe('BootCheckGate — port conflict recovery', () => {
mockRunBootCheck.mockResolvedValue({ kind: 'unreachable', reason: 'some other error' });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
- expect(screen.getByText("Can't Reach the Runtime")).toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.cannotReach'))).toBeInTheDocument();
});
expect(screen.queryByTestId('fix-automatically-btn')).not.toBeInTheDocument();
});
@@ -643,7 +712,6 @@ describe('BootCheckGate — port conflict recovery', () => {
mockRecoverPortConflict.mockResolvedValue({ success: true, message: 'ok', new_port: 7789 });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
expect(screen.getByTestId('fix-automatically-btn')).toBeInTheDocument();
@@ -663,7 +731,6 @@ describe('BootCheckGate — port conflict recovery', () => {
mockRecoverPortConflict.mockResolvedValue({ success: true, message: 'ok', new_port: 7789 });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
expect(screen.getByTestId('fix-automatically-btn')).toBeInTheDocument();
@@ -690,7 +757,6 @@ describe('BootCheckGate — port conflict recovery', () => {
});
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
expect(screen.getByTestId('fix-automatically-btn')).toBeInTheDocument();
@@ -705,7 +771,7 @@ describe('BootCheckGate — port conflict recovery', () => {
});
});
- it('"Pick a Different Runtime" still renders as secondary for port conflict', async () => {
+ it('the switch-mode button still renders as secondary for port conflict', async () => {
mockRunBootCheck.mockResolvedValue({
kind: 'unreachable',
reason: 'port conflict',
@@ -713,10 +779,11 @@ describe('BootCheckGate — port conflict recovery', () => {
});
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
- expect(screen.getByRole('button', { name: 'Pick a Different Runtime' })).toBeInTheDocument();
+ expect(
+ screen.getByRole('button', { name: copy('bootCheck.switchMode') })
+ ).toBeInTheDocument();
});
});
});
@@ -739,7 +806,6 @@ describe('BootCheckGate — foreign port owner', () => {
mockRunBootCheck.mockResolvedValue(foreignResult);
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
expect(screen.getByTestId('force-quit-owner-btn')).toBeInTheDocument();
@@ -754,7 +820,6 @@ describe('BootCheckGate — foreign port owner', () => {
mockForceQuitPortOwner.mockResolvedValue({ success: true, message: 'ok', new_port: 7789 });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
expect(screen.getByTestId('force-quit-owner-btn')).toBeInTheDocument();
@@ -773,7 +838,6 @@ describe('BootCheckGate — foreign port owner', () => {
mockForceQuitPortOwner.mockResolvedValue({ success: false, message: 'access denied' });
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
expect(screen.getByTestId('force-quit-owner-btn')).toBeInTheDocument();
@@ -798,7 +862,6 @@ describe('BootCheckGate — foreign port owner', () => {
});
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
expect(screen.getByTestId('fix-automatically-btn')).toBeInTheDocument();
@@ -820,7 +883,6 @@ describe('BootCheckGate — foreign port owner', () => {
});
renderGate();
- fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
await waitFor(() => {
expect(screen.getByTestId('force-quit-owner-btn')).toBeInTheDocument();
@@ -834,18 +896,28 @@ describe('BootCheckGate — foreign port owner', () => {
describe('BootCheckGate — picker (web build, !isTauri)', () => {
beforeEach(() => {
mockedIsTauri.mockReturnValue(false);
+ vi.mocked(storeCoreMode).mockClear();
+ });
+
+ it('shows the picker as the FIRST screen and does not auto-adopt local', () => {
+ renderGate();
+
+ expect(screen.getByText(copy('bootCheck.connectToCore'))).toBeInTheDocument();
+ expect(screen.queryByText(copy('bootCheck.checkingCore'))).not.toBeInTheDocument();
+ expect(storeCoreMode).not.toHaveBeenCalled();
+ expect(mockRunBootCheck).not.toHaveBeenCalled();
});
it('uses the web-friendly title and hides the Local option', () => {
renderGate();
- expect(screen.getByText('Connect to Your Runtime')).toBeInTheDocument();
- expect(screen.queryByText('Select a Runtime')).not.toBeInTheDocument();
- expect(screen.queryByText('Run Locally (Recommended)')).not.toBeInTheDocument();
+ expect(screen.getByText(copy('bootCheck.connectToCore'))).toBeInTheDocument();
+ expect(screen.queryByText(copy('bootCheck.chooseCoreMode'))).not.toBeInTheDocument();
+ expect(screen.queryByText(copy('bootCheck.localRecommended'))).not.toBeInTheDocument();
// The selectable Cloud tile is also gone — cloud is implicit and the
// URL/token form is rendered directly.
expect(
- screen.queryByRole('button', { name: 'Run on the Cloud (Complex)' })
+ screen.queryByRole('button', { name: copy('bootCheck.cloudMode') })
).not.toBeInTheDocument();
});
@@ -853,7 +925,9 @@ describe('BootCheckGate — picker (web build, !isTauri)', () => {
renderGate();
expect(screen.getByPlaceholderText(/https:\/\/core\.example\.com/)).toBeInTheDocument();
- expect(screen.getByPlaceholderText(/Bearer token/i)).toBeInTheDocument();
+ expect(
+ screen.getByPlaceholderText(copy('bootCheck.bearerTokenPlaceholder'))
+ ).toBeInTheDocument();
});
it('shows a Download desktop app CTA linking to the release page', () => {
@@ -878,7 +952,7 @@ describe('BootCheckGate — picker (web build, !isTauri)', () => {
fireEvent.change(screen.getByPlaceholderText(/https:\/\/core\.example\.com/), {
target: { value: 'https://core.example.com/rpc' },
});
- fireEvent.change(screen.getByPlaceholderText(/Bearer token/i), {
+ fireEvent.change(screen.getByPlaceholderText(copy('bootCheck.bearerTokenPlaceholder')), {
target: { value: 'tok-web' },
});
fireEvent.click(screen.getByRole('button', { name: 'Continue' }));
diff --git a/app/src/components/memory/MemoryEngineTab.test.tsx b/app/src/components/memory/MemoryEngineTab.test.tsx
index 45eaaf4a2a..4208c245c0 100644
--- a/app/src/components/memory/MemoryEngineTab.test.tsx
+++ b/app/src/components/memory/MemoryEngineTab.test.tsx
@@ -3,9 +3,15 @@ import { beforeEach, describe, expect, it, vi } from 'vitest';
import type { EngineDescriptor, EngineState } from '../../services/api/memoryApi';
import { renderWithProviders } from '../../test/test-utils';
+import { createLocalSessionToken } from '../../utils/localSession';
import MemoryEngineTab from './MemoryEngineTab';
-const hoisted = vi.hoisted(() => ({ enginesList: vi.fn(), engineSet: vi.fn(), signedIn: true }));
+const hoisted = vi.hoisted(() => ({
+ enginesList: vi.fn(),
+ engineSet: vi.fn(),
+ signedIn: true,
+ token: 'header.payload.sig',
+}));
vi.mock('../../services/api/memoryApi', async importOriginal => ({
...(await importOriginal<typeof import('../../services/api/memoryApi')>()),
@@ -17,13 +23,11 @@ vi.mock('../../providers/CoreStateProvider', () => ({
useCoreState: () => ({
snapshot: {
auth: { isAuthenticated: hoisted.signedIn, userId: hoisted.signedIn ? 'u1' : null },
- sessionToken: hoisted.signedIn ? 'header.payload.sig' : null,
+ sessionToken: hoisted.signedIn ? hoisted.token : null,
},
}),
}));
-vi.mock('../../utils/localSession', () => ({ isLocalSessionToken: () => false }));
-
const TINYHUMANS: EngineDescriptor = {
id: 'tinyhumans',
label: 'TinyHumans',
@@ -60,6 +64,7 @@ beforeEach(() => {
.mockResolvedValue({ engines: [TINYHUMANS, CORTEXDB], active: null });
hoisted.engineSet.mockReset();
hoisted.signedIn = true;
+ hoisted.token = 'header.payload.sig';
});
describe('MemoryEngineTab', () => {
@@ -91,14 +96,29 @@ describe('MemoryEngineTab', () => {
expect(onStateChange).toHaveBeenCalledWith(next);
});
- it('disables TinyHumans with an explanation when signed out', async () => {
+ // A hosted engine used to render "Active" and "Sign in required" at once when
+ // signed out. It is now not offered at all.
+ it('hides hosted engines when signed out', async () => {
hoisted.signedIn = false;
renderTab();
- const use = await screen.findByTestId('memory-engine-tinyhumans-use');
- expect(use).toBeDisabled();
- expect(screen.getByTestId('memory-engine-tinyhumans-detail')).toHaveTextContent(
- 'Sign in required'
- );
+ expect(await screen.findByTestId('memory-engine-cortexdb')).toBeInTheDocument();
+ expect(screen.queryByTestId('memory-engine-tinyhumans')).not.toBeInTheDocument();
+ expect(screen.queryByText('Sign in required')).not.toBeInTheDocument();
+ });
+
+ it('hides hosted engines for a local (self-hosted) session token', async () => {
+ hoisted.token = createLocalSessionToken();
+ expect(hoisted.token.split('.')).toHaveLength(3);
+ expect(hoisted.token.endsWith('.local')).toBe(true);
+ renderTab();
+ expect(await screen.findByTestId('memory-engine-cortexdb')).toBeInTheDocument();
+ expect(screen.queryByTestId('memory-engine-tinyhumans')).not.toBeInTheDocument();
+ });
+
+ it('shows hosted engines when signed in', async () => {
+ renderTab();
+ expect(await screen.findByTestId('memory-engine-tinyhumans')).toBeInTheDocument();
+ expect(screen.getByTestId('memory-engine-cortexdb')).toBeInTheDocument();
});
it('connects CortexDB with the default endpoint and a key', async () => {
diff --git a/app/src/components/memory/MemoryEngineTab.tsx b/app/src/components/memory/MemoryEngineTab.tsx
index 9b28001953..f8c76e15c8 100644
--- a/app/src/components/memory/MemoryEngineTab.tsx
+++ b/app/src/components/memory/MemoryEngineTab.tsx
@@ -162,43 +162,59 @@ export default function MemoryEngineTab({ state, onStateChange, embedded }: Memo
description={t('memoryPage.engine.listDescription')}
card
data-testid="memory-engines">
- {engines.map(engine => {
- const isActive = engine.id === activeId;
- const blocked = engine.hosted && !signedIn;
- const testId = `memory-engine-${engine.id}`;
- const configurable = engine.needs_endpoint || engine.needs_key;
- return (
- <ProviderListRow
- key={engine.id}
- slug={engine.id}
- label={engine.label}
- tone=""
- detail={<span data-testid={`${testId}-detail`}>{rowDetail(engine)}</span>}
- detailMono={!blocked && !engine.hosted}
- badge={
- isActive ? (
- <Badge variant={on ? 'success' : 'warning'} data-testid={`${testId}-active`}>
- {on ? t('memoryPage.engine.active') : t('memoryPage.engine.statusOff')}
- </Badge>
- ) : null
- }
- control={
- isActive && !configurable ? null : (
- <Button
- type="button"
- size="sm"
- variant={isActive ? 'secondary' : 'primary'}
- disabled={saving || blocked}
- data-testid={`${testId}-use`}
- onClick={() => choose(engine)}>
- {isActive ? t('memoryPage.engine.edit') : t('memoryPage.engine.use')}
- </Button>
- )
- }
- data-testid={testId}
- />
- );
- })}
+ {/* A hosted engine needs a TinyHumans account. Without one it used to
+ render anyway — and because the core still names it as the active
+ engine, the row claimed "Active" and "Sign in required" at the
+ same time, for something the user cannot reach. Signed out, the
+ list is the engines that are actually usable. */}
+ {engines
+ .filter(engine => signedIn || !engine.hosted)
+ .map(engine => {
+ const isActive = engine.id === activeId;
+ const blocked = engine.hosted && !signedIn;
+ const testId = `memory-engine-${engine.id}`;
+ const configurable = engine.needs_endpoint || engine.needs_key;
+ // "On this Mac": runs here, needs no account and no credentials.
+ // With nothing active the picker was simply empty, leaving the
+ // onboarding step with no answer to "which should I pick?".
+ const recommend =
+ !activeId && !engine.hosted && !engine.needs_endpoint && !engine.needs_key;
+ return (
+ <ProviderListRow
+ key={engine.id}
+ slug={engine.id}
+ label={engine.label}
+ tone=""
+ detail={<span data-testid={`${testId}-detail`}>{rowDetail(engine)}</span>}
+ detailMono={!blocked && !engine.hosted}
+ badge={
+ isActive ? (
+ <Badge variant={on ? 'success' : 'warning'} data-testid={`${testId}-active`}>
+ {on ? t('memoryPage.engine.active') : t('memoryPage.engine.statusOff')}
+ </Badge>
+ ) : recommend ? (
+ <Badge variant="primary" dot={false} data-testid={`${testId}-recommended`}>
+ {t('memoryPage.engine.recommended')}
+ </Badge>
+ ) : null
+ }
+ control={
+ isActive && !configurable ? null : (
+ <Button
+ type="button"
+ size="sm"
+ variant={isActive ? 'secondary' : 'primary'}
+ disabled={saving || blocked}
+ data-testid={`${testId}-use`}
+ onClick={() => choose(engine)}>
+ {isActive ? t('memoryPage.engine.edit') : t('memoryPage.engine.use')}
+ </Button>
+ )
+ }
+ data-testid={testId}
+ />
+ );
+ })}
</ProviderGroup>
)}
diff --git a/app/src/components/settings/panels/AIPanel.tsx b/app/src/components/settings/panels/AIPanel.tsx
index b43540a77c..126466a774 100644
--- a/app/src/components/settings/panels/AIPanel.tsx
+++ b/app/src/components/settings/panels/AIPanel.tsx
@@ -223,6 +223,7 @@ const AIPanel = ({
content: (
<div className="flex w-full flex-col gap-4">
<ProviderAuthSection
+ hideAddButton={hideTabChrome}
draft={draft}
persist={persist}
loading={loading}
diff --git a/app/src/components/settings/panels/SearchPanel.test.tsx b/app/src/components/settings/panels/SearchPanel.test.tsx
index dbad7504e1..a275841037 100644
--- a/app/src/components/settings/panels/SearchPanel.test.tsx
+++ b/app/src/components/settings/panels/SearchPanel.test.tsx
@@ -379,6 +379,24 @@ describe('SearchPanel — connected providers', () => {
});
});
+describe('SearchPanel — wizard chrome', () => {
+ test('Connected group cites the Routing tab normally', async () => {
+ await renderPanel();
+ expect(screen.getByTestId('search-providers')).toHaveTextContent(
+ 'settings.search.connectedDesc'
+ );
+ });
+
+ // The copy points at a Routing tab the onboarding wizard hides.
+ test('Connected group carries no description when the tab chrome is hidden', async () => {
+ renderWithProviders(<SearchPanel embedded hideTabChrome />);
+ await screen.findByTestId('search-providers');
+ expect(screen.getByTestId('search-providers')).not.toHaveTextContent(
+ 'settings.search.connectedDesc'
+ );
+ });
+});
+
describe('SearchPanel — add a provider', () => {
const withTinyFish = () =>
settings({
diff --git a/app/src/components/settings/panels/SearchPanel.tsx b/app/src/components/settings/panels/SearchPanel.tsx
index d40ad9883c..3ae83ff209 100644
--- a/app/src/components/settings/panels/SearchPanel.tsx
+++ b/app/src/components/settings/panels/SearchPanel.tsx
@@ -180,6 +180,7 @@ const SearchPanel = ({
saving={saving}
managedUnavailable={managedUnavailable}
updateProvider={updateProvider}
+ hideTabChrome={hideTabChrome}
t={t}
/>
)}
diff --git a/app/src/components/settings/panels/SearchPanelProviders.tsx b/app/src/components/settings/panels/SearchPanelProviders.tsx
index 9a3d829bdf..7ec969011e 100644
--- a/app/src/components/settings/panels/SearchPanelProviders.tsx
+++ b/app/src/components/settings/panels/SearchPanelProviders.tsx
@@ -52,6 +52,8 @@ interface Props {
managedUnavailable: boolean;
updateProvider: (id: string, patch: SearchProviderUpdate) => Promise<boolean>;
t: Translate;
+ /** Wizard mode: the Routing/Websites tabs are hidden, so do not cite them. */
+ hideTabChrome?: boolean;
}
/** The secondary line under a connected provider's name. */
@@ -70,6 +72,7 @@ const SearchPanelProviders = ({
saving,
managedUnavailable,
updateProvider,
+ hideTabChrome = false,
t,
}: Props) => {
const [dialog, setDialog] = useState<DialogState | null>(null);
@@ -177,7 +180,10 @@ const SearchPanelProviders = ({
<div className="flex w-full flex-col gap-4">
<ProviderGroup
title={t('settings.search.connectedTitle')}
- description={t('settings.search.connectedDesc')}
+ /* The copy ends "the Routing tab decides which one is tried first".
+ The onboarding wizard hides that tab, so it points at something the
+ reader cannot see. */
+ description={hideTabChrome ? undefined : t('settings.search.connectedDesc')}
card
data-testid="search-providers">
{connected.length === 0 && (
diff --git a/app/src/components/settings/panels/ai/ProviderAuthSection.tsx b/app/src/components/settings/panels/ai/ProviderAuthSection.tsx
index d34b77f85e..57d1fd9085 100644
--- a/app/src/components/settings/panels/ai/ProviderAuthSection.tsx
+++ b/app/src/components/settings/panels/ai/ProviderAuthSection.tsx
@@ -107,6 +107,7 @@ export const ProviderAuthSection = ({
onEditCustomProvider,
addOpen: controlledAddOpen,
onAddOpenChange,
+ hideAddButton = false,
}: {
draft: AISettings;
persist: (next: AISettings) => Promise<void>;
@@ -140,6 +141,14 @@ export const ProviderAuthSection = ({
*/
addOpen?: boolean;
onAddOpenChange?: (open: boolean) => void;
+ /**
+ * Hide the standalone "Add a provider" button.
+ *
+ * The onboarding wizard renders the provider catalog inline, so the button
+ * opened a dialog onto a list already on screen — two ways to do one thing,
+ * and the loudest control on a step whose primary action is Continue.
+ */
+ hideAddButton?: boolean;
}) => {
const { t } = useT();
const managedAvailable = useManagedInferenceAvailable();
@@ -270,7 +279,7 @@ export const ProviderAuthSection = ({
)}
{codexAuthError ? <ProviderSetupErrorNotice error={codexAuthError} /> : null}
- {!hostControlsAdd && (
+ {!hostControlsAdd && !hideAddButton && (
<div className="flex justify-end">
<AddProviderButton onClick={() => setAddOpen(true)} />
</div>
@@ -292,7 +301,12 @@ export const ProviderAuthSection = ({
win. */}
<ProviderGroup
title={t('settings.ai.providers.groupConnected')}
- description={t('settings.ai.providers.connectedDesc')}
+ /* The description says "Managed is always on as a fallback. Choose
+ which provider each task uses on the Routing tab." Both halves are
+ wrong without a managed session: there is no managed fallback, and
+ the onboarding wizard hides the Routing tab. Shown only where both
+ are true. */
+ description={managedAvailable ? t('settings.ai.providers.connectedDesc') : undefined}
card
data-testid="provider-group-connected">
{managedAvailable && (
diff --git a/app/src/components/settings/panels/ai/__tests__/ProviderAuthSection.test.tsx b/app/src/components/settings/panels/ai/__tests__/ProviderAuthSection.test.tsx
index c039cb6e37..6ddfba72ee 100644
--- a/app/src/components/settings/panels/ai/__tests__/ProviderAuthSection.test.tsx
+++ b/app/src/components/settings/panels/ai/__tests__/ProviderAuthSection.test.tsx
@@ -1,5 +1,6 @@
import { configureStore } from '@reduxjs/toolkit';
import { render, screen } from '@testing-library/react';
+import type { ComponentProps } from 'react';
import { Provider } from 'react-redux';
import { describe, expect, it, vi } from 'vitest';
@@ -11,7 +12,10 @@ import { createLocalSessionToken } from '../../../../../utils/localSession';
import { EMPTY_SETTINGS } from '../aiPanelTypes';
import { ProviderAuthSection } from '../ProviderAuthSection';
-function renderSection(sessionToken: string | null) {
+function renderSection(
+ sessionToken: string | null,
+ extra: Partial<ComponentProps<typeof ProviderAuthSection>> = {}
+) {
const store = configureStore({
reducer: { locale: localeReducer },
preloadedState: { locale: { current: 'en' as Locale } },
@@ -36,6 +40,7 @@ function renderSection(sessionToken: string | null) {
onOpenKeyDialog={vi.fn()}
onAddCustomProvider={vi.fn()}
onEditCustomProvider={vi.fn()}
+ {...extra}
/>
</CoreStateContext.Provider>
</I18nProvider>
@@ -60,3 +65,30 @@ describe('ProviderAuthSection managed row', () => {
expect(screen.queryByTestId('provider-row-openhuman')).not.toBeInTheDocument();
});
});
+
+describe('ProviderAuthSection wizard affordances', () => {
+ it('shows the standalone "Add a provider" button by default', () => {
+ renderSection('header.payload.signature');
+ expect(screen.getByTestId('add-provider-open')).toBeInTheDocument();
+ });
+
+ it('hides the standalone "Add a provider" button when hideAddButton is set', () => {
+ renderSection('header.payload.signature', { hideAddButton: true });
+ expect(screen.queryByTestId('add-provider-open')).not.toBeInTheDocument();
+ });
+
+ // The description promises a managed fallback and cites the Routing tab; both
+ // are false without a managed session.
+ it('describes the Connected group only when a managed session exists', () => {
+ const managed = renderSection('header.payload.signature');
+ expect(screen.getByTestId('provider-group-connected')).toHaveTextContent(
+ 'Managed is always on as a fallback'
+ );
+ managed.unmount();
+
+ renderSection(createLocalSessionToken());
+ expect(screen.getByTestId('provider-group-connected')).not.toHaveTextContent(
+ 'Managed is always on as a fallback'
+ );
+ });
+});
diff --git a/app/src/components/ui/Field.test.tsx b/app/src/components/ui/Field.test.tsx
new file mode 100644
index 0000000000..cb081e8049
--- /dev/null
+++ b/app/src/components/ui/Field.test.tsx
@@ -0,0 +1,34 @@
+import { render, screen } from '@testing-library/react';
+import { describe, expect, it } from 'vitest';
+
+import Field from './Field';
+
+describe('Field', () => {
+ it('keeps the row structure when there is no error', () => {
+ const { container } = render(
+ <Field htmlFor="a" label="Name" control={<input id="a" />} data-testid="f" />
+ );
+ const root = screen.getByTestId('f');
+ expect(root.className).toContain('flex items-center justify-between gap-4 px-4 py-3');
+ expect(root.className).not.toContain('flex-wrap');
+ expect(container.querySelector('[data-slot="field-error"]')).toBeNull();
+ expect(screen.getByRole('textbox')).not.toHaveAttribute('aria-invalid');
+ expect(screen.getByRole('textbox')).not.toHaveAttribute('aria-describedby');
+ });
+
+ it('renders the error and wires it to the control', () => {
+ render(<Field htmlFor="a" label="Name" error="Required" control={<input id="a" />} />);
+ const msg = screen.getByText('Required');
+ const input = screen.getByRole('textbox');
+ expect(msg.id).toBeTruthy();
+ expect(input).toHaveAttribute('aria-describedby', msg.id);
+ expect(input).toHaveAttribute('aria-invalid', 'true');
+ });
+
+ it('merges an existing aria-describedby', () => {
+ render(<Field error="Bad" control={<input aria-describedby="hint" />} />);
+ const input = screen.getByRole('textbox');
+ const id = screen.getByText('Bad').id;
+ expect(input.getAttribute('aria-describedby')).toBe(`hint ${id}`);
+ });
+});
diff --git a/app/src/components/ui/Field.tsx b/app/src/components/ui/Field.tsx
index a618cf8be7..3b14985e8f 100644
--- a/app/src/components/ui/Field.tsx
+++ b/app/src/components/ui/Field.tsx
@@ -1,4 +1,4 @@
-import { type ReactNode } from 'react';
+import { cloneElement, isValidElement, type ReactElement, type ReactNode, useId } from 'react';
import { cn } from '../../lib/cn';
@@ -9,6 +9,14 @@ export interface FieldProps {
control: ReactNode;
stacked?: boolean;
disabled?: boolean;
+ /**
+ * Validation message, rendered in coral below the control. The control gets
+ * `aria-describedby` (merged with any it already has) and `aria-invalid`
+ * when `control` is a single React element. If it is a fragment or a
+ * component that drops those props, wire it yourself: the message id is
+ * `${htmlFor}-error` when `htmlFor` is set, otherwise a generated id.
+ */
+ error?: string;
className?: string;
'data-testid'?: string;
}
@@ -28,9 +36,23 @@ const Field = ({
control,
stacked = false,
disabled = false,
+ error,
className,
'data-testid': testId,
}: FieldProps) => {
+ const generatedId = useId();
+ const errorId = error ? (htmlFor ? `${htmlFor}-error` : `${generatedId}-error`) : undefined;
+
+ let controlEl = control;
+ if (errorId && isValidElement(control)) {
+ const el = control as ReactElement<{ 'aria-describedby'?: string }>;
+ const existing = el.props['aria-describedby'];
+ controlEl = cloneElement(el, {
+ 'aria-describedby': existing ? `${existing} ${errorId}` : errorId,
+ 'aria-invalid': true,
+ } as Record<string, unknown>);
+ }
+
const labelEl =
label && htmlFor ? (
<label htmlFor={htmlFor} className="text-sm font-medium text-content">
@@ -48,6 +70,9 @@ const Field = ({
stacked
? 'flex flex-col gap-2 px-4 py-3'
: 'flex items-center justify-between gap-4 px-4 py-3',
+ // Only an errored row wraps, so the error drops below the control row
+ // while error-free rows keep their exact geometry.
+ error && !stacked && 'flex-wrap',
disabled && 'pointer-events-none opacity-50',
className
)}>
@@ -59,7 +84,12 @@ const Field = ({
)}
</div>
)}
- <div className={stacked ? 'w-full' : 'shrink-0'}>{control}</div>
+ <div className={stacked ? 'w-full' : 'shrink-0'}>{controlEl}</div>
+ {error && (
+ <p id={errorId} data-slot="field-error" className="w-full text-xs text-coral-600">
+ {error}
+ </p>
+ )}
</div>
);
};
diff --git a/app/src/components/ui/Skeleton.test.tsx b/app/src/components/ui/Skeleton.test.tsx
new file mode 100644
index 0000000000..254cb6ec18
--- /dev/null
+++ b/app/src/components/ui/Skeleton.test.tsx
@@ -0,0 +1,26 @@
+import { render } from '@testing-library/react';
+import { describe, expect, it } from 'vitest';
+
+import Skeleton from './Skeleton';
+
+describe('Skeleton', () => {
+ it('renders a hidden placeholder', () => {
+ const { container } = render(<Skeleton />);
+ const el = container.querySelector('[data-slot="skeleton"]');
+ expect(el).not.toBeNull();
+ expect(el).toHaveAttribute('aria-hidden', 'true');
+ });
+
+ it('only animates when motion is allowed', () => {
+ const { container } = render(<Skeleton className="h-4 w-32" />);
+ const el = container.firstElementChild as HTMLElement;
+ expect(el.className).toContain('motion-safe:animate-pulse');
+ expect(el.className).not.toMatch(/(^|\s)animate-pulse/);
+ expect(el.className).toContain('h-4');
+ });
+
+ it('passes style through', () => {
+ const { container } = render(<Skeleton style={{ width: 10 }} />);
+ expect((container.firstElementChild as HTMLElement).style.width).toBe('10px');
+ });
+});
diff --git a/app/src/components/ui/Skeleton.tsx b/app/src/components/ui/Skeleton.tsx
new file mode 100644
index 0000000000..3979fe6b0a
--- /dev/null
+++ b/app/src/components/ui/Skeleton.tsx
@@ -0,0 +1,27 @@
+import { type ComponentPropsWithRef } from 'react';
+
+import { cn } from '../../lib/cn';
+
+export type SkeletonProps = ComponentPropsWithRef<'div'>;
+
+/**
+ * A loading placeholder block. Size it with `className` (`h-4 w-32`) or
+ * `style` (`{ width, height }`).
+ *
+ * MOTION. The pulse is gated in CSS with `motion-safe:`, so a user who asks
+ * for reduced motion gets a static block — no JS media query involved.
+ *
+ * A11Y. It conveys nothing to a screen reader, so it is `aria-hidden` by
+ * default. Announce loading state on the surrounding region (`aria-busy`, a
+ * status message); a caller can still override `aria-hidden` explicitly.
+ */
+const Skeleton = ({ className, ...rest }: SkeletonProps) => (
+ <div
+ data-slot="skeleton"
+ aria-hidden="true"
+ className={cn('rounded-md bg-surface-strong motion-safe:animate-pulse', className)}
+ {...rest}
+ />
+);
+
+export default Skeleton;
diff --git a/app/src/components/ui/Stepper.test.tsx b/app/src/components/ui/Stepper.test.tsx
new file mode 100644
index 0000000000..843e74a7ab
--- /dev/null
+++ b/app/src/components/ui/Stepper.test.tsx
@@ -0,0 +1,35 @@
+import { render, screen } from '@testing-library/react';
+import { describe, expect, it } from 'vitest';
+
+import Stepper from './Stepper';
+
+const labels = ['One', 'Two', 'Three'];
+
+describe('Stepper', () => {
+ it('renders labels in order under the given aria-label', () => {
+ render(<Stepper labels={labels} activeIndex={0} ariaLabel="Progress" data-testid="s" />);
+ expect(screen.getByRole('list', { name: 'Progress' })).toBe(screen.getByTestId('s'));
+ expect(screen.getAllByRole('listitem').map(li => li.textContent)).toEqual([
+ '1One',
+ '2Two',
+ '3Three',
+ ]);
+ });
+
+ it('marks only the active step as current', () => {
+ render(<Stepper labels={labels} activeIndex={1} ariaLabel="Progress" />);
+ const items = screen.getAllByRole('listitem');
+ expect(items[1]).toHaveAttribute('aria-current', 'step');
+ expect(items[0]).not.toHaveAttribute('aria-current');
+ expect(items[2]).not.toHaveAttribute('aria-current');
+ });
+
+ it('shows a check for completed steps and a number otherwise', () => {
+ render(<Stepper labels={labels} activeIndex={2} ariaLabel="Progress" />);
+ const items = screen.getAllByRole('listitem');
+ expect(items[0].querySelector('svg')).not.toBeNull();
+ expect(items[1].querySelector('svg')).not.toBeNull();
+ expect(items[2].querySelector('svg')).toBeNull();
+ expect(items[2].textContent).toContain('3');
+ });
+});
diff --git a/app/src/components/ui/Stepper.tsx b/app/src/components/ui/Stepper.tsx
new file mode 100644
index 0000000000..ff8f84003d
--- /dev/null
+++ b/app/src/components/ui/Stepper.tsx
@@ -0,0 +1,84 @@
+import { cn } from '../../lib/cn';
+import { CheckIcon } from './icons';
+
+export interface StepperProps {
+ /** Ordered labels for each step. */
+ labels: string[];
+ /** Zero-based index of the step that is currently active. */
+ activeIndex: number;
+ /** Accessible name for the step list. Required: a primitive owns no copy. */
+ ariaLabel: string;
+ className?: string;
+ 'data-testid'?: string;
+}
+
+/**
+ * Horizontal step indicator — a dot per step joined by connectors, with three
+ * states: completed (sage, check), active (primary, `aria-current="step"`) and
+ * upcoming (outlined). Promoted out of the onboarding wizard.
+ */
+const Stepper = ({
+ labels,
+ activeIndex,
+ ariaLabel,
+ className,
+ 'data-testid': testId,
+}: StepperProps) => (
+ <ol
+ role="list"
+ data-slot="stepper"
+ data-testid={testId}
+ aria-label={ariaLabel}
+ className={cn('flex w-full items-start justify-between', className)}>
+ {labels.map((label, idx) => {
+ const completed = idx < activeIndex;
+ const active = idx === activeIndex;
+ const isLast = idx === labels.length - 1;
+
+ const dotClasses = completed
+ ? 'bg-sage-500 border-sage-500 text-content-inverted'
+ : active
+ ? 'bg-primary-500 border-primary-500 text-content-inverted'
+ : 'bg-surface border-line-strong text-content-faint';
+
+ const labelClasses = completed
+ ? 'text-sage-700 dark:text-sage-300'
+ : active
+ ? 'text-content font-semibold'
+ : 'text-content-faint';
+
+ const connectorClasses = completed ? 'bg-sage-500' : 'bg-surface-strong';
+
+ return (
+ <li
+ key={label}
+ data-slot="stepper-item"
+ aria-current={active ? 'step' : undefined}
+ className="relative flex flex-1 flex-col items-center">
+ <div className="flex w-full items-center">
+ <div
+ aria-hidden
+ className={cn('h-0.5 flex-1', idx === 0 ? 'opacity-0' : connectorClasses)}
+ />
+ <div
+ className={cn(
+ 'flex h-6 w-6 flex-none items-center justify-center rounded-full border-2 text-[10px] font-semibold',
+ dotClasses
+ )}>
+ {completed ? <CheckIcon className="h-3 w-3" aria-hidden /> : idx + 1}
+ </div>
+ <div
+ aria-hidden
+ className={cn('h-0.5 flex-1', isLast ? 'opacity-0' : connectorClasses)}
+ />
+ </div>
+ <span className={cn('mt-2 text-[11px] leading-tight text-center', labelClasses)}>
+ {label}
+ </span>
+ </li>
+ );
+ })}
+ </ol>
+);
+
+export default Stepper;
diff --git a/app/src/components/ui/index.ts b/app/src/components/ui/index.ts
index ec5b117b0a..aac1f5a110 100644
--- a/app/src/components/ui/index.ts
+++ b/app/src/components/ui/index.ts
@@ -101,6 +101,8 @@ export { default as EmptyState, type EmptyStateProps } from './EmptyState';
export { default as StatusLine, type StatusLineProps } from './StatusLine';
export { default as ListRow, type ListRowProps } from './ListRow';
export { default as Progress, type ProgressProps } from './Progress';
+export { default as Skeleton, type SkeletonProps } from './Skeleton';
+export { default as Stepper, type StepperProps } from './Stepper';
export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from './Table';
export {
default as DataTable,
diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.ts
index c93ff6f97a..bf7fb80d73 100644
--- a/app/src/lib/i18n/ar.ts
+++ b/app/src/lib/i18n/ar.ts
@@ -422,6 +422,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'سياسة الخصوصية',
'welcome.termsOutro': '.',
'welcome.connect': 'اختبار',
+ 'welcome.hero.subtitle': 'ذكاؤك الاصطناعي، بذاكرة وصوت والويب كاملًا.',
+ 'welcome.th.title': 'المتابعة مع TinyHumans',
+ 'welcome.th.promise': 'حساب واحد. كل شيء مضمّن. لا شيء لتهيئته.',
+ 'welcome.th.featureInference': 'الاستدلال',
+ 'welcome.th.featureSearch': 'البحث في الويب',
+ 'welcome.th.featureVoice': 'الصوت',
+ 'welcome.th.featureMemory': 'الذاكرة',
+ 'welcome.th.featureEmbeddings': 'التضمينات',
+ 'welcome.th.featureBilling': 'الفوترة',
+ 'welcome.th.credit': 'رصيد 5$ للبدء',
+ 'welcome.th.cta': 'المتابعة مع TinyHumans',
+ 'welcome.th.providers': 'سجّل الدخول عبر Google أو GitHub أو X',
+ 'welcome.self.title': 'سأُعدّه بنفسي',
+ 'welcome.self.promise': 'استخدم مفاتيح API ونقاط النهاية الخاصة بك.',
+ 'welcome.self.listLabel': 'ستُعدّ:',
+ 'welcome.self.step1': 'الاستدلال',
+ 'welcome.self.step2': 'البحث في الويب',
+ 'welcome.self.step3': 'الذاكرة',
+ 'welcome.self.time': 'حوالي 3 دقائق. يمكنك تغيير أي شيء لاحقًا في الإعدادات.',
+ 'welcome.self.cta': 'سأُعدّه بنفسي',
+ 'welcome.serverPrompt': 'هل تشغّل OpenHuman على خادم بالفعل؟',
+ 'welcome.serverCta': 'اتصل به.',
+ 'welcome.handoff.title': 'إنهاء تسجيل الدخول في متصفحك',
+ 'welcome.handoff.body': 'فتحنا tinyhumans.ai — عُد عندما تنتهي.',
+ 'welcome.handoff.reopen': 'افتح الصفحة مرة أخرى',
+ 'welcome.handoff.failedTitle': 'لم يكتمل تسجيل الدخول',
+ 'welcome.handoff.failedBody': 'ربما حظر المتصفح العودة إلى OpenHuman.',
+ 'welcome.handoff.retry': 'حاول مرة أخرى',
+ 'welcome.handoff.fallbackSelf': 'أعدّه بنفسي بدلًا من ذلك',
'home.askAssistant': 'اسأل مساعدك أي شيء...',
'home.statusOk': 'مساعدك جاهز متى كنت مستعدًا. اكتب شيئًا في الأسفل للبدء.',
'home.statusBackendOnly': 'جارٍ إعادة الاتصال بالخادم… سيتوفر وكيلك قريبًا.',
@@ -717,8 +746,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'يمكنك إكمال الإعداد بعد انتهاء الإعداد الأولي. سننقلك إلى صفحة الإعدادات المناسبة عند الانتهاء.',
'onboarding.custom.openSettings': 'فتح في الإعدادات',
- 'onboarding.custom.inference.title': 'الاستدلال (النص)',
- 'onboarding.custom.inference.subtitle': 'أي نموذج لغوي يجب أن يُجيب على أسئلتك ويشغّل وكلاءك؟',
+ 'onboarding.custom.inference.title': 'اختر مزوّد النموذج',
+ 'onboarding.custom.inference.subtitle':
+ 'يحتاج OpenHuman إلى نموذج ليفكّر به. أضف مفتاحًا لمزوّد تستخدمه بالفعل، أو وجّهه إلى نموذج يعمل محليًا.',
'onboarding.custom.inference.defaultDesc':
'يُوجّه OpenHuman كل عبء عمل إلى نموذج افتراضي مناسب. بدون مفاتيح أو إعداد.',
'onboarding.custom.inference.configureDesc':
@@ -735,8 +765,8 @@ const messages: TranslationMap = {
'يشغّل OpenHuman مساحة عمل Composio مُدارة. نقرة واحدة لتوصيل كل خدمة لاحقًا.',
'onboarding.custom.oauth.configureDesc':
'استخدم حساب Composio الخاص بك / مفتاح API. اضبطه من الإعدادات › الاتصالات.',
- 'onboarding.custom.search.title': 'البحث على الويب',
- 'onboarding.custom.search.subtitle': 'كيف يبحث OpenHuman على الويب نيابةً عنك.',
+ 'onboarding.custom.search.title': 'دع OpenHuman يبحث في الويب',
+ 'onboarding.custom.search.subtitle': 'من دون هذا، لا يعرف OpenHuman سوى ما تدرّب عليه.',
'onboarding.custom.search.defaultDesc':
'يعمل البحث على الويب فورًا: Exa وGemini مضمّنان مع TinyHumans، دون الحاجة إلى مفتاح API.',
'onboarding.custom.search.configureDesc':
@@ -1566,60 +1596,60 @@ const messages: TranslationMap = {
'stats.latest': 'الأحدث',
'stats.sessions': 'الجلسات',
'stats.tokens': 'رموز',
- 'bootCheck.invalidUrl': 'يرجى إدخال عنوان URL لبيئة التشغيل.',
+ 'bootCheck.invalidUrl': 'يرجى إدخال عنوان.',
'bootCheck.urlMustStartWith': 'يجب أن يبدأ عنوان URL بـ http:// أو https://',
'bootCheck.validUrlRequired': 'لا يبدو أن هذا عنوان URL صالح (جرّب https://core.example.com/rpc)',
'bootCheck.tokenRequired': 'سنحتاج إلى رمز مصادقة للاتصال.',
'bootCheck.httpPublicWarning':
'هذا عنوان HTTP عادي على مضيف عام: لن تكون حركة البيانات مشفّرة. استخدم HTTPS ما لم تكن تثق بهذه الشبكة.',
- 'bootCheck.chooseCoreMode': 'اختر بيئة التشغيل',
- 'bootCheck.connectToCore': 'اتصل ببيئة تشغيلك',
- 'bootCheck.desktopDescription': 'يحتاج OpenHuman إلى بيئة تشغيل للعمل. اختر مكانها.',
+ 'bootCheck.chooseCoreMode': 'أين تريد تشغيل OpenHuman؟',
+ 'bootCheck.connectToCore': 'الاتصال بـ OpenHuman',
+ 'bootCheck.desktopDescription':
+ 'تعذّر تشغيل OpenHuman على هذا الكمبيوتر. اختر المكان الذي يجب أن يعمل فيه.',
'bootCheck.webDescription':
- 'على الويب، يتصل OpenHuman ببيئة تشغيل تتحكم فيها. أدخل عنوان URL الخاص بها ورمز المصادقة أدناه، أو احصل على تطبيق سطح المكتب لتشغيلها مباشرة على جهازك.',
+ 'على الويب، يتصل OpenHuman بخادم تتحكم فيه. أدخل عنوانه والرمز أدناه، أو نزّل تطبيق سطح المكتب لتشغيله مباشرةً على جهازك.',
'bootCheck.preferDesktop': 'تفضّل إبقاء كل شيء على جهازك؟',
'bootCheck.downloadDesktop': 'احصل على تطبيق سطح المكتب',
- 'bootCheck.localRecommended': 'التشغيل محليًا (موصى به)',
- 'bootCheck.localDescription':
- 'يعمل مباشرة على جهازك. الأسرع، خصوصي تمامًا، لا شيء يحتاج إلى إعداد.',
- 'bootCheck.cloudMode': 'التشغيل على السحابة (معقد)',
+ 'bootCheck.localRecommended': 'على هذا الكمبيوتر',
+ 'bootCheck.localDescription': 'الأسرع والأكثر خصوصية بالكامل، ولا يحتاج إلى أي إعداد.',
+ 'bootCheck.cloudMode': 'على خادم أستضيفه بنفسي',
'bootCheck.cloudDescription':
- 'الاتصال ببيئة تشغيل تستضيفها في مكان آخر. تبقى متصلة 24×7 حتى لا تحتاج إلى إبقاء هذا الجهاز يعمل.',
- 'bootCheck.coreRpcUrl': 'عنوان URL لبيئة التشغيل',
+ 'يبقى متصلاً على مدار الساعة، فلا حاجة لإبقاء هذا الكمبيوتر قيد التشغيل.',
+ 'bootCheck.coreRpcUrl': 'العنوان',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'رمز المصادقة',
- 'bootCheck.bearerTokenPlaceholder': 'رمز Bearer من بيئة تشغيلك البعيدة',
+ 'bootCheck.authToken': 'الرمز',
+ 'bootCheck.bearerTokenPlaceholder': 'الرمز الخاص بخادمك',
'bootCheck.storedLocally': 'يُحفظ على هذا الجهاز فقط. يُرسَل كـ ',
'bootCheck.testing': 'جارٍ الاختبار…',
'bootCheck.testConnection': 'اختبار الاتصال',
'bootCheck.connectedOk': 'متصل. أنت جاهز للانطلاق.',
'bootCheck.authFailed': 'الرمز لم ينجح. تحقق منه وحاول مرة أخرى.',
'bootCheck.unreachablePrefix': 'تعذّر الوصول إليه:',
- 'bootCheck.checkingCore': 'جارٍ تنشيط بيئة تشغيلك…',
- 'bootCheck.cannotReach': 'تعذّر الوصول إلى بيئة التشغيل',
- 'bootCheck.cannotReachDesc': 'تعذّر الاتصال ببيئة تشغيلك. هل تريد تجربة بيئة مختلفة؟',
- 'bootCheck.switchMode': 'اختر بيئة تشغيل مختلفة',
+ 'bootCheck.checkingCore': 'جارٍ تشغيل OpenHuman…',
+ 'bootCheck.cannotReach': 'تعذّر الوصول إليه',
+ 'bootCheck.cannotReachDesc': 'تعذّر الاتصال. هل تريد المحاولة في مكان آخر؟',
+ 'bootCheck.switchMode': 'تغيير مكان التشغيل',
'bootCheck.quit': 'خروج',
- 'bootCheck.legacyDetected': 'تم اكتشاف بيئة تشغيل خلفية قديمة',
+ 'bootCheck.legacyDetected': 'تم العثور على خدمة خلفية قديمة',
'bootCheck.legacyDescription':
- 'خدمة OpenHuman مثبّتة بشكل منفصل تعمل بالفعل على هذا الجهاز. نحتاج إلى إزالتها قبل أن تتولى بيئة التشغيل المدمجة.',
+ 'يوجد بالفعل برنامج خلفي لـ OpenHuman مثبّت بشكل منفصل ويعمل على هذا الجهاز. نحتاج إلى إزالته قبل أن تتولى النسخة المدمجة المهمة.',
'bootCheck.removing': 'جارٍ الإزالة…',
'bootCheck.removeContinue': 'إزالة ومتابعة',
- 'bootCheck.localNeedsRestart': 'بيئة التشغيل المحلية تحتاج إلى إعادة تشغيل',
+ 'bootCheck.localNeedsRestart': 'يحتاج OpenHuman إلى إعادة التشغيل',
'bootCheck.localNeedsRestartDesc':
- 'بيئة تشغيلك المحلية على إصدار مختلف عن هذا التطبيق. ستعيد إعادة التشغيل السريعة مزامنتهما.',
+ 'إصدار OpenHuman على هذا الكمبيوتر مختلف عن إصدار هذا التطبيق. ستعيدهما إعادة تشغيل سريعة إلى التزامن.',
'bootCheck.restarting': 'جارٍ إعادة التشغيل…',
- 'bootCheck.restartCore': 'إعادة تشغيل بيئة التشغيل',
- 'bootCheck.cloudNeedsUpdate': 'بيئة التشغيل السحابية تحتاج إلى تحديث',
+ 'bootCheck.restartCore': 'إعادة التشغيل',
+ 'bootCheck.cloudNeedsUpdate': 'يحتاج خادمك إلى تحديث',
'bootCheck.cloudNeedsUpdateDesc':
- 'بيئة تشغيلك السحابية على إصدار مختلف عن هذا التطبيق. شغّل المحدّث لإعادة مزامنتهما.',
+ 'إصدار خادمك مختلف عن إصدار هذا التطبيق. شغّل أداة التحديث لإعادتهما إلى التزامن.',
'bootCheck.updating': 'جارٍ التحديث…',
- 'bootCheck.updateCloudCore': 'تحديث بيئة التشغيل السحابية',
- 'bootCheck.versionCheckFailed': 'فشل التحقق من إصدار بيئة التشغيل',
+ 'bootCheck.updateCloudCore': 'تحديث الخادم',
+ 'bootCheck.versionCheckFailed': 'فشل التحقق من الإصدار',
'bootCheck.versionCheckFailedDesc':
- 'بيئة تشغيلك تعمل لكنها لا تُبلّغ عن إصدارها. قد تكون قديمة. أعد تشغيلها أو حدّثها للمتابعة.',
+ 'خادمك يعمل لكنه لا يبلّغ عن إصداره. قد يكون قديماً. أعد تشغيله أو حدّثه للمتابعة.',
'bootCheck.working': 'جارٍ العمل…',
- 'bootCheck.restartUpdateCore': 'إعادة تشغيل / تحديث بيئة التشغيل',
+ 'bootCheck.restartUpdateCore': 'إعادة التشغيل / التحديث',
'bootCheck.unexpectedError': 'خطأ غير متوقع في فحص بدء التشغيل',
'bootCheck.actionFailed': 'حدث خطأ ما. يرجى المحاولة مرة أخرى.',
'bootCheck.portConflictTitle': 'تعذّر تشغيل محرّك التطبيق',
@@ -4224,9 +4254,9 @@ const messages: TranslationMap = {
// Monthly cost badge
- 'onboarding.custom.vault.title': 'إعداد الذاكرة والخزينة',
+ 'onboarding.custom.vault.title': 'امنح OpenHuman ذاكرة',
'onboarding.custom.vault.subtitle':
- 'تأكيد موضع كتابة ملاحظات الذاكرة، وكيفية قراءة البيانات المصدر، وسلامة مسار الخزينة.',
+ 'المكان الذي يُحفظ فيه ما تخبره به، ليبقى حاضرًا عبر المحادثات.',
'onboarding.custom.vault.defaultDesc':
'استخدم الإعدادات الافتراضية لذاكرة OpenHuman المُدارة. يمكن مراجعة مسار الخزينة وصحة المزامنة لاحقًا.',
'onboarding.custom.vault.configureDesc':
@@ -4838,6 +4868,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'تعذّر الوصول إلى محرّك الذاكرة',
'memoryPage.engine.statusOff': 'متوقف',
'memoryPage.engine.active': 'نشط',
+ 'memoryPage.engine.recommended': 'موصى به',
'memoryPage.engine.use': 'استخدام',
'memoryPage.engine.edit': 'تعديل',
'memoryPage.engine.signInRequired': 'يلزم تسجيل الدخول',
diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.ts
index 09b1b20262..8b2dff146f 100644
--- a/app/src/lib/i18n/bn.ts
+++ b/app/src/lib/i18n/bn.ts
@@ -433,6 +433,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'গোপনীয়তা নীতি',
'welcome.termsOutro': '.',
'welcome.connect': 'পরীক্ষা করুন',
+ 'welcome.hero.subtitle': 'আপনার AI, স্মৃতি, কণ্ঠস্বর আর পুরো ওয়েব নিয়ে।',
+ 'welcome.th.title': 'TinyHumans দিয়ে চালিয়ে যান',
+ 'welcome.th.promise': 'একটি অ্যাকাউন্ট। সবকিছু অন্তর্ভুক্ত। কনফিগার করার কিছু নেই।',
+ 'welcome.th.featureInference': 'ইনফারেন্স',
+ 'welcome.th.featureSearch': 'ওয়েব সার্চ',
+ 'welcome.th.featureVoice': 'ভয়েস',
+ 'welcome.th.featureMemory': 'মেমরি',
+ 'welcome.th.featureEmbeddings': 'এমবেডিং',
+ 'welcome.th.featureBilling': 'বিলিং',
+ 'welcome.th.credit': 'শুরুতে $5 ক্রেডিট',
+ 'welcome.th.cta': 'TinyHumans দিয়ে চালিয়ে যান',
+ 'welcome.th.providers': 'Google, GitHub বা X দিয়ে সাইন ইন করুন',
+ 'welcome.self.title': 'আমি নিজেই সেট আপ করব',
+ 'welcome.self.promise': 'নিজের API কী ও এন্ডপয়েন্ট নিয়ে আসুন।',
+ 'welcome.self.listLabel': 'আপনি সেট আপ করবেন:',
+ 'welcome.self.step1': 'ইনফারেন্স',
+ 'welcome.self.step2': 'ওয়েব সার্চ',
+ 'welcome.self.step3': 'মেমরি',
+ 'welcome.self.time': 'প্রায় ৩ মিনিট। পরে সেটিংসে গিয়ে যেকোনো কিছু বদলাতে পারবেন।',
+ 'welcome.self.cta': 'আমি নিজেই সেট আপ করব',
+ 'welcome.serverPrompt': 'ইতিমধ্যে কোনো সার্ভারে OpenHuman চালাচ্ছেন?',
+ 'welcome.serverCta': 'সেটির সাথে সংযুক্ত হন।',
+ 'welcome.handoff.title': 'আপনার ব্রাউজারে সাইন-ইন শেষ হচ্ছে',
+ 'welcome.handoff.body': 'আমরা tinyhumans.ai খুলেছি — শেষ হলে ফিরে আসুন।',
+ 'welcome.handoff.reopen': 'পেজটি আবার খুলুন',
+ 'welcome.handoff.failedTitle': 'সাইন-ইন ফিরে আসেনি',
+ 'welcome.handoff.failedBody': 'ব্রাউজার হয়তো OpenHuman-এ ফেরা আটকে দিয়েছে।',
+ 'welcome.handoff.retry': 'আবার চেষ্টা করুন',
+ 'welcome.handoff.fallbackSelf': 'বরং আমি নিজেই সেট আপ করব',
'home.askAssistant': 'আপনার অ্যাসিস্ট্যান্টকে যেকোনো কিছু জিজ্ঞেস করুন...',
'home.statusOk': 'আপনার সহকারী প্রস্তুত। শুরু করতে নিচে কিছু লিখুন।',
'home.statusBackendOnly': 'ব্যাকএন্ডে পুনরায় সংযোগ হচ্ছে… আপনার এজেন্ট শীঘ্রই আবার পাওয়া যাবে।',
@@ -731,9 +760,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'অনবোর্ডিং শেষে এটি কনফিগার করতে পারবেন। সম্পন্ন হলে সংশ্লিষ্ট সেটিংস পেজে নিয়ে যাওয়া হবে।',
'onboarding.custom.openSettings': 'সেটিংসে খুলুন',
- 'onboarding.custom.inference.title': 'ইনফারেন্স (টেক্সট)',
+ 'onboarding.custom.inference.title': 'একটি মডেল প্রোভাইডার বেছে নিন',
'onboarding.custom.inference.subtitle':
- 'কোন ল্যাঙ্গুয়েজ মডেল আপনার প্রশ্নের উত্তর দেবে এবং এজেন্ট চালাবে?',
+ 'OpenHuman-এর চিন্তা করতে একটি মডেল দরকার। আপনি ইতিমধ্যে যে প্রোভাইডার ব্যবহার করেন তার একটি কী যোগ করুন, অথবা লোকালি চলা কোনো মডেলের দিকে নির্দেশ করুন।',
'onboarding.custom.inference.defaultDesc':
'OpenHuman প্রতিটি ওয়ার্কলোড একটি সেন্সিবল ডিফল্ট মডেলে রুট করে। কোনো কী বা সেটআপ নেই।',
'onboarding.custom.inference.configureDesc':
@@ -751,8 +780,9 @@ const messages: TranslationMap = {
'OpenHuman একটি ম্যানেজড Composio ওয়ার্কস্পেস চালায়। পরে প্রতিটি সার্ভিস সংযুক্ত করতে এক ক্লিক।',
'onboarding.custom.oauth.configureDesc':
'নিজের Composio অ্যাকাউন্ট / API কী আনুন। Settings › Connections-এ কনফিগার করুন।',
- 'onboarding.custom.search.title': 'ওয়েব সার্চ',
- 'onboarding.custom.search.subtitle': 'OpenHuman আপনার হয়ে কীভাবে ওয়েব সার্চ করে।',
+ 'onboarding.custom.search.title': 'OpenHuman-কে ওয়েব সার্চ করতে দিন',
+ 'onboarding.custom.search.subtitle':
+ 'এটি ছাড়া OpenHuman শুধু তাই জানে যা দিয়ে তাকে প্রশিক্ষণ দেওয়া হয়েছে।',
'onboarding.custom.search.defaultDesc':
'ওয়েব সার্চ সঙ্গে সঙ্গে কাজ করে: Exa ও Gemini, TinyHumans-এ অন্তর্ভুক্ত, কোনো API কী লাগে না।',
'onboarding.custom.search.configureDesc':
@@ -1597,62 +1627,60 @@ const messages: TranslationMap = {
'stats.latest': 'সর্বশেষ',
'stats.sessions': 'সেশন',
'stats.tokens': 'টোকেন',
- 'bootCheck.invalidUrl': 'একটি রানটাইম URL দিন।',
+ 'bootCheck.invalidUrl': 'অনুগ্রহ করে একটি ঠিকানা লিখুন।',
'bootCheck.urlMustStartWith': 'URL-টি http:// বা https:// দিয়ে শুরু হতে হবে',
'bootCheck.validUrlRequired':
'এটি বৈধ URL মনে হচ্ছে না (চেষ্টা করুন https://core.example.com/rpc)',
'bootCheck.tokenRequired': 'সংযোগ করতে একটি অথ টোকেন প্রয়োজন।',
'bootCheck.httpPublicWarning':
'এটি একটি পাবলিক হোস্টে সাধারণ HTTP URL: ট্রাফিক এনক্রিপ্ট করা হবে না। এই নেটওয়ার্কে আস্থা না থাকলে HTTPS ব্যবহার করুন।',
- 'bootCheck.chooseCoreMode': 'একটি রানটাইম বেছে নিন',
- 'bootCheck.connectToCore': 'আপনার রানটাইমে সংযুক্ত হন',
+ 'bootCheck.chooseCoreMode': 'OpenHuman কোথায় চলবে?',
+ 'bootCheck.connectToCore': 'OpenHuman-এর সাথে সংযুক্ত হন',
'bootCheck.desktopDescription':
- 'OpenHuman চিন্তা করতে একটি রানটাইম প্রয়োজন। এটি কোথায় থাকবে তা বেছে নিন।',
+ 'এই কম্পিউটারে OpenHuman চালু করা যায়নি। এটি কোথায় চলবে তা বেছে নিন।',
'bootCheck.webDescription':
- 'ওয়েবে, OpenHuman আপনার নিয়ন্ত্রণে একটি রানটাইমে সংযুক্ত হয়। নিচে এর URL ও অথ টোকেন দিন, অথবা সরাসরি আপনার মেশিনে চালাতে ডেস্কটপ অ্যাপ নিন।',
+ 'ওয়েবে OpenHuman আপনার নিয়ন্ত্রণে থাকা একটি সার্ভারের সাথে সংযুক্ত হয়। নিচে তার ঠিকানা ও টোকেন দিন, অথবা সরাসরি আপনার কম্পিউটারে চালাতে ডেস্কটপ অ্যাপ নামিয়ে নিন।',
'bootCheck.preferDesktop': 'সব নিজের ডিভাইসে রাখতে চান?',
'bootCheck.downloadDesktop': 'ডেস্কটপ অ্যাপ নিন',
- 'bootCheck.localRecommended': 'লোকালি চালান (প্রস্তাবিত)',
- 'bootCheck.localDescription':
- 'সরাসরি আপনার কম্পিউটারে চলে। সবচেয়ে দ্রুত, সম্পূর্ণ ব্যক্তিগত, কিছু সেটআপ করতে হবে না।',
- 'bootCheck.cloudMode': 'ক্লাউডে চালান (জটিল)',
- 'bootCheck.cloudDescription':
- 'অন্য কোথাও হোস্ট করা রানটাইমে সংযুক্ত হন। ২৪×৭ অনলাইন থাকে, এই ডিভাইস চালু রাখতে হয় না।',
- 'bootCheck.coreRpcUrl': 'রানটাইম URL',
+ 'bootCheck.localRecommended': 'এই কম্পিউটারে',
+ 'bootCheck.localDescription': 'সবচেয়ে দ্রুত, সম্পূর্ণ ব্যক্তিগত, কিছুই সেট আপ করতে হবে না।',
+ 'bootCheck.cloudMode': 'আমার নিজের সার্ভারে',
+ 'bootCheck.cloudDescription': '২৪ ঘণ্টা অনলাইনে থাকে, তাই এই কম্পিউটার চালু রাখতে হবে না।',
+ 'bootCheck.coreRpcUrl': 'ঠিকানা',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'অথ টোকেন',
- 'bootCheck.bearerTokenPlaceholder': 'আপনার রিমোট রানটাইম থেকে বেয়ারার টোকেন',
+ 'bootCheck.authToken': 'টোকেন',
+ 'bootCheck.bearerTokenPlaceholder': 'আপনার সার্ভারের টোকেন',
'bootCheck.storedLocally': 'শুধু এই ডিভাইসে রাখা। পাঠানো হয় ',
'bootCheck.testing': 'পরীক্ষা হচ্ছে…',
'bootCheck.testConnection': 'সংযোগ পরীক্ষা করুন',
'bootCheck.connectedOk': 'সংযুক্ত। সব ঠিকঠাক।',
'bootCheck.authFailed': 'টোকেনটি কাজ করেনি। আবার পরীক্ষা করুন।',
'bootCheck.unreachablePrefix': 'পৌঁছানো যায়নি:',
- 'bootCheck.checkingCore': 'আপনার রানটাইম জাগানো হচ্ছে…',
- 'bootCheck.cannotReach': 'রানটাইমে পৌঁছানো যাচ্ছে না',
- 'bootCheck.cannotReachDesc': 'আপনার রানটাইমে সংযোগ করা যায়নি। অন্য একটি চেষ্টা করবেন?',
- 'bootCheck.switchMode': 'ভিন্ন রানটাইম বেছে নিন',
+ 'bootCheck.checkingCore': 'OpenHuman চালু হচ্ছে…',
+ 'bootCheck.cannotReach': 'পৌঁছানো যাচ্ছে না',
+ 'bootCheck.cannotReachDesc': 'আমরা সংযোগ করতে পারিনি। অন্য কোথাও চেষ্টা করতে চান?',
+ 'bootCheck.switchMode': 'কোথায় চলবে তা বদলান',
'bootCheck.quit': 'প্রস্থান',
- 'bootCheck.legacyDetected': 'লেগ্যাসি ব্যাকগ্রাউন্ড রানটাইম শনাক্ত হয়েছে',
+ 'bootCheck.legacyDetected': 'পুরনো ব্যাকগ্রাউন্ড সার্ভিস পাওয়া গেছে',
'bootCheck.legacyDescription':
- 'এই ডিভাইসে আলাদাভাবে ইনস্টল করা একটি OpenHuman ডেমন ইতিমধ্যে চলছে। বিল্ট-ইন রানটাইম নিয়ন্ত্রণ নেওয়ার আগে এটি সরাতে হবে।',
+ 'এই ডিভাইসে আলাদাভাবে ইনস্টল করা একটি OpenHuman ডেমন আগে থেকেই চলছে। বিল্ট-ইনটি দায়িত্ব নেওয়ার আগে আমাদের এটি সরাতে হবে।',
'bootCheck.removing': 'সরানো হচ্ছে…',
'bootCheck.removeContinue': 'সরান ও চালিয়ে যান',
- 'bootCheck.localNeedsRestart': 'লোকাল রানটাইম রিস্টার্ট প্রয়োজন',
+ 'bootCheck.localNeedsRestart': 'OpenHuman রিস্টার্ট করতে হবে',
'bootCheck.localNeedsRestartDesc':
- 'আপনার লোকাল রানটাইম এই অ্যাপের চেয়ে ভিন্ন ভার্সনে আছে। দ্রুত রিস্টার্ট তাদের আবার সমন্বয় করবে।',
+ 'এই কম্পিউটারের OpenHuman-এর সংস্করণ এই অ্যাপের থেকে আলাদা। একটি দ্রুত রিস্টার্টেই আবার মিলে যাবে।',
'bootCheck.restarting': 'রিস্টার্ট হচ্ছে…',
- 'bootCheck.restartCore': 'রানটাইম রিস্টার্ট করুন',
- 'bootCheck.cloudNeedsUpdate': 'ক্লাউড রানটাইম আপডেট প্রয়োজন',
+ 'bootCheck.restartCore': 'রিস্টার্ট',
+ 'bootCheck.cloudNeedsUpdate': 'আপনার সার্ভার আপডেট করতে হবে',
'bootCheck.cloudNeedsUpdateDesc':
- 'আপনার ক্লাউড রানটাইম এই অ্যাপের চেয়ে ভিন্ন ভার্সনে আছে। আপডেটার চালান।',
+ 'আপনার সার্ভারের সংস্করণ এই অ্যাপের থেকে আলাদা। আবার মিলিয়ে নিতে আপডেটার চালান।',
'bootCheck.updating': 'আপডেট হচ্ছে…',
- 'bootCheck.updateCloudCore': 'ক্লাউড রানটাইম আপডেট করুন',
- 'bootCheck.versionCheckFailed': 'রানটাইম ভার্সন পরীক্ষা ব্যর্থ',
+ 'bootCheck.updateCloudCore': 'সার্ভার আপডেট করুন',
+ 'bootCheck.versionCheckFailed': 'সংস্করণ যাচাই ব্যর্থ হয়েছে',
'bootCheck.versionCheckFailedDesc':
- 'আপনার রানটাইম চলছে কিন্তু ভার্সন জানাচ্ছে না। পুরনো হতে পারে। চালিয়ে যেতে রিস্টার্ট বা আপডেট করুন।',
+ 'আপনার সার্ভার চালু আছে, কিন্তু তার সংস্করণ জানাচ্ছে না। এটি পুরনো হতে পারে। চালিয়ে যেতে রিস্টার্ট বা আপডেট করুন।',
'bootCheck.working': 'কাজ হচ্ছে…',
- 'bootCheck.restartUpdateCore': 'রানটাইম রিস্টার্ট / আপডেট করুন',
+ 'bootCheck.restartUpdateCore': 'রিস্টার্ট / আপডেট',
'bootCheck.unexpectedError': 'অপ্রত্যাশিত বুট-চেক ত্রুটি',
'bootCheck.actionFailed': 'কিছু একটা ভুল হয়েছে। আবার চেষ্টা করুন।',
'bootCheck.portConflictTitle': 'অ্যাপ ইঞ্জিন চালু করা যায়নি',
@@ -4307,9 +4335,9 @@ const messages: TranslationMap = {
// Monthly cost badge
- 'onboarding.custom.vault.title': 'মেমোরি ও ভল্ট সেটআপ',
+ 'onboarding.custom.vault.title': 'OpenHuman-কে একটি স্মৃতি দিন',
'onboarding.custom.vault.subtitle':
- 'নিশ্চিত করুন মেমোরি নোট কোথায় লেখা হয়, উৎস ডেটা কীভাবে পড়া হয় এবং আপনার ভল্ট পাইপলাইন সুস্থ কিনা।',
+ 'আপনি তাকে যা বলেন তা যেখানে জমা থাকে, যাতে এক চ্যাট থেকে আরেক চ্যাটে তা বজায় থাকে।',
'onboarding.custom.vault.defaultDesc':
'OpenHuman-পরিচালিত মেমোরির ডিফল্ট ব্যবহার করুন। ভল্ট পাথ এবং সিঙ্ক স্বাস্থ্য পরে পর্যালোচনা করা যাবে।',
'onboarding.custom.vault.configureDesc':
@@ -4933,6 +4961,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'মেমোরি ইঞ্জিনে পৌঁছানো যাচ্ছে না',
'memoryPage.engine.statusOff': 'বন্ধ',
'memoryPage.engine.active': 'সক্রিয়',
+ 'memoryPage.engine.recommended': 'প্রস্তাবিত',
'memoryPage.engine.use': 'ব্যবহার করুন',
'memoryPage.engine.edit': 'সম্পাদনা',
'memoryPage.engine.signInRequired': 'সাইন ইন প্রয়োজন',
diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.ts
index 95dc512e33..dabed5e8a8 100644
--- a/app/src/lib/i18n/de.ts
+++ b/app/src/lib/i18n/de.ts
@@ -454,6 +454,36 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'Datenschutzrichtlinie zu',
'welcome.termsOutro': '.',
'welcome.connect': 'Testen',
+ 'welcome.hero.subtitle': 'Deine KI, mit Gedächtnis, Stimme und dem ganzen Web.',
+ 'welcome.th.title': 'Weiter mit TinyHumans',
+ 'welcome.th.promise': 'Ein Konto. Alles inklusive. Nichts zu konfigurieren.',
+ 'welcome.th.featureInference': 'Inferenz',
+ 'welcome.th.featureSearch': 'Websuche',
+ 'welcome.th.featureVoice': 'Sprache',
+ 'welcome.th.featureMemory': 'Gedächtnis',
+ 'welcome.th.featureEmbeddings': 'Embeddings',
+ 'welcome.th.featureBilling': 'Abrechnung',
+ 'welcome.th.credit': '5 $ Guthaben zum Start',
+ 'welcome.th.cta': 'Weiter mit TinyHumans',
+ 'welcome.th.providers': 'Mit Google, GitHub oder X anmelden',
+ 'welcome.self.title': 'Selbst einrichten',
+ 'welcome.self.promise': 'Bring deine eigenen API-Schlüssel und Endpunkte mit.',
+ 'welcome.self.listLabel': 'Du richtest ein:',
+ 'welcome.self.step1': 'Inferenz',
+ 'welcome.self.step2': 'Websuche',
+ 'welcome.self.step3': 'Gedächtnis',
+ 'welcome.self.time': 'Etwa 3 Minuten. Alles lässt sich später in den Einstellungen ändern.',
+ 'welcome.self.cta': 'Selbst einrichten',
+ 'welcome.serverPrompt': 'Du betreibst OpenHuman schon auf einem Server?',
+ 'welcome.serverCta': 'Verbinde dich damit.',
+ 'welcome.handoff.title': 'Anmeldung im Browser wird abgeschlossen',
+ 'welcome.handoff.body': 'Wir haben tinyhumans.ai geöffnet — komm zurück, wenn du fertig bist.',
+ 'welcome.handoff.reopen': 'Seite erneut öffnen',
+ 'welcome.handoff.failedTitle': 'Anmeldung nicht zurückgekehrt',
+ 'welcome.handoff.failedBody':
+ 'Der Browser hat die Rückkehr zu OpenHuman möglicherweise blockiert.',
+ 'welcome.handoff.retry': 'Erneut versuchen',
+ 'welcome.handoff.fallbackSelf': 'Stattdessen selbst einrichten',
'home.askAssistant': 'Frag deinen Assistenten etwas ...',
'home.statusOk':
'Dein Assistent ist bereit, wenn du es bist. Schreib unten etwas, um loszulegen.',
@@ -762,9 +792,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'Du kannst die Verknüpfung nach dem Onboarding abschließen. Sobald du fertig bist, wirst du auf die passende Einstellungsseite weitergeleitet.',
'onboarding.custom.openSettings': 'In den Einstellungen öffnen',
- 'onboarding.custom.inference.title': 'Schlussfolgerung (Text)',
+ 'onboarding.custom.inference.title': 'Wähle einen Modellanbieter',
'onboarding.custom.inference.subtitle':
- 'Welches Sprachmodell soll deine Fragen beantworten und deine Agenten betreiben?',
+ 'OpenHuman braucht ein Modell zum Denken. Füge einen Schlüssel für einen Anbieter hinzu, den du bereits nutzt, oder verweise auf ein lokal laufendes Modell.',
'onboarding.custom.inference.defaultDesc':
'OpenHuman leitet jede Arbeitslast an ein sinnvolles Standardmodell weiter. Keine Schlüssel, keine Einrichtung.',
'onboarding.custom.inference.configureDesc':
@@ -782,8 +812,8 @@ const messages: TranslationMap = {
'OpenHuman führt einen verwalteten Composio-Arbeitsbereich aus. Ein Klick, um jeden Dienst später zu verbinden.',
'onboarding.custom.oauth.configureDesc':
'Bring dein eigenes Composio-Konto / API-Schlüssel mit. Konfiguriere unter Einstellungen › Verbindungen.',
- 'onboarding.custom.search.title': 'Websuche',
- 'onboarding.custom.search.subtitle': 'Wie OpenHuman das Web in deinem Namen durchsucht.',
+ 'onboarding.custom.search.title': 'OpenHuman im Web suchen lassen',
+ 'onboarding.custom.search.subtitle': 'Ohne das weiß OpenHuman nur, worauf es trainiert wurde.',
'onboarding.custom.search.defaultDesc':
'Die Websuche funktioniert sofort: Exa und Gemini sind bei TinyHumans inbegriffen, kein API-Schlüssel nötig.',
'onboarding.custom.search.configureDesc':
@@ -1648,31 +1678,30 @@ const messages: TranslationMap = {
'stats.latest': 'Neueste',
'stats.sessions': 'Sitzungen',
'stats.tokens': 'Token',
- 'bootCheck.invalidUrl': 'Bitte gib eine Laufzeit URL ein.',
+ 'bootCheck.invalidUrl': 'Bitte gib eine Adresse ein.',
'bootCheck.urlMustStartWith': 'Der URL muss mit http:// oder https:// beginnen.',
'bootCheck.validUrlRequired':
'Das sieht nicht nach einem gültigen URL aus (versuche es mit https://core.example.com/rpc)',
'bootCheck.tokenRequired': 'Für die Verbindung benötigen wir ein Authentifizierungstoken.',
'bootCheck.httpPublicWarning':
'Dies ist eine reine HTTP-URL auf einem öffentlichen Host: der Datenverkehr wird nicht verschlüsselt. Verwende HTTPS, sofern du diesem Netzwerk nicht vertraust.',
- 'bootCheck.chooseCoreMode': 'Wähle eine Laufzeit aus',
- 'bootCheck.connectToCore': 'Stelle eine Verbindung zu deiner Laufzeit her',
+ 'bootCheck.chooseCoreMode': 'Wo soll OpenHuman laufen?',
+ 'bootCheck.connectToCore': 'Mit OpenHuman verbinden',
'bootCheck.desktopDescription':
- 'OpenHuman benötigt eine Laufzeit zum Nachdenken. Wähle, wo es leben soll.',
+ 'OpenHuman konnte auf diesem Mac nicht gestartet werden. Wähle, wo es laufen soll.',
'bootCheck.webDescription':
- 'Im Web stellt OpenHuman eine Verbindung zu einer von dir gesteuerten Laufzeit her. Gib unten den URL und das Authentifizierungstoken ein oder greife auf die Desktop-App zu, um eine direkt auf deinem Computer auszuführen.',
+ 'Im Web verbindet sich OpenHuman mit einem Server, den du selbst betreibst. Gib unten dessen Adresse und Token ein oder lade die Desktop-App, um es direkt auf deinem Rechner auszuführen.',
'bootCheck.preferDesktop': 'Möchtest du lieber alles auf deinem eigenen Gerät behalten?',
'bootCheck.downloadDesktop': 'Hol dir die Desktop-App',
- 'bootCheck.localRecommended': 'Lokal ausführen (empfohlen)',
- 'bootCheck.localDescription':
- 'Läuft direkt hier auf deinem Computer. Am schnellsten, völlig privat, nichts einzurichten.',
- 'bootCheck.cloudMode': 'In der Cloud ausführen (komplex)',
+ 'bootCheck.localRecommended': 'Auf diesem Mac',
+ 'bootCheck.localDescription': 'Am schnellsten, völlig privat, nichts einzurichten.',
+ 'bootCheck.cloudMode': 'Auf einem eigenen Server',
'bootCheck.cloudDescription':
- 'Stelle eine Verbindung zu einer Laufzeit her, die du woanders hostest. Die Laufzeit bleibt rund um die Uhr online, sodass du dieses Gerät nicht laufen lassen musst.',
- 'bootCheck.coreRpcUrl': 'Laufzeit URL',
+ 'Bleibt rund um die Uhr online, sodass dein Mac nicht eingeschaltet bleiben muss.',
+ 'bootCheck.coreRpcUrl': 'Adresse',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'Authentifizierungstoken',
- 'bootCheck.bearerTokenPlaceholder': 'Das Bearer-Token von deiner Remote-Laufzeit',
+ 'bootCheck.authToken': 'Token',
+ 'bootCheck.bearerTokenPlaceholder': 'Der Token von deinem Server',
'bootCheck.storedLocally': 'Wird nur auf diesem Gerät gespeichert. Gesendet als ',
'bootCheck.testing': 'Testen…',
'bootCheck.testConnection': 'Testverbindung',
@@ -1680,32 +1709,32 @@ const messages: TranslationMap = {
'bootCheck.authFailed':
'Dieser Token hat nicht funktioniert. Prüfe ihn noch einmal und versuche es erneut.',
'bootCheck.unreachablePrefix': 'Konnte es nicht erreichen:',
- 'bootCheck.checkingCore': 'Deine Laufzeit wird aufgeweckt ...',
- 'bootCheck.cannotReach': 'Die Laufzeit kann nicht erreicht werden',
+ 'bootCheck.checkingCore': 'OpenHuman wird gestartet…',
+ 'bootCheck.cannotReach': 'Keine Verbindung möglich',
'bootCheck.cannotReachDesc':
- 'Wir konnten keine Verbindung zu deiner Laufzeit herstellen. Möchtest du etwas anderes ausprobieren?',
- 'bootCheck.switchMode': 'Wähle eine andere Laufzeit',
+ 'Die Verbindung hat nicht geklappt. Möchtest du es woanders versuchen?',
+ 'bootCheck.switchMode': 'Ändern, wo es läuft',
'bootCheck.quit': 'Beenden',
- 'bootCheck.legacyDetected': 'Legacy-Hintergrundlaufzeit erkannt',
+ 'bootCheck.legacyDetected': 'Alter Hintergrunddienst gefunden',
'bootCheck.legacyDescription':
- 'Auf diesem Gerät läuft bereits ein separat installierter OpenHuman-Daemon. Wir müssen es bereinigen, bevor die integrierte Laufzeit übernehmen kann.',
+ 'Auf diesem Gerät läuft bereits ein separat installierter OpenHuman-Daemon. Wir müssen ihn entfernen, bevor die integrierte Version übernehmen kann.',
'bootCheck.removing': 'Entfernen…',
'bootCheck.removeContinue': 'Entfernen und fortfahren',
- 'bootCheck.localNeedsRestart': 'Die lokale Laufzeit erfordert einen Neustart',
+ 'bootCheck.localNeedsRestart': 'OpenHuman muss neu gestartet werden',
'bootCheck.localNeedsRestartDesc':
- 'Deine lokale Laufzeit hat eine andere Version als diese App. Durch einen schnellen Neustart werden sie wieder synchronisiert.',
+ 'OpenHuman auf diesem Mac hat eine andere Version als diese App. Ein kurzer Neustart bringt beide wieder in Einklang.',
'bootCheck.restarting': 'Neustart...',
- 'bootCheck.restartCore': 'Starte die Runtime neu',
- 'bootCheck.cloudNeedsUpdate': 'Cloud Runtime benötigt ein Update',
+ 'bootCheck.restartCore': 'Neu starten',
+ 'bootCheck.cloudNeedsUpdate': 'Dein Server braucht ein Update',
'bootCheck.cloudNeedsUpdateDesc':
- 'Deine Cloud-Laufzeitumgebung hat eine andere Version als diese App. Führe den Updater aus, um sie wieder zu synchronisieren.',
+ 'Dein Server hat eine andere Version als diese App. Führe das Update aus, um beide wieder in Einklang zu bringen.',
'bootCheck.updating': 'Aktualisierung…',
- 'bootCheck.updateCloudCore': 'Aktualisiere Cloud Runtime',
- 'bootCheck.versionCheckFailed': 'Laufzeitversionsprüfung fehlgeschlagen',
+ 'bootCheck.updateCloudCore': 'Server aktualisieren',
+ 'bootCheck.versionCheckFailed': 'Versionsprüfung fehlgeschlagen',
'bootCheck.versionCheckFailedDesc':
- 'Deine Laufzeit ist aktiv, meldet jedoch nicht ihre Version. Möglicherweise ist es veraltet. Starte es neu oder aktualisiere es, um fortzufahren.',
+ 'Dein Server läuft, meldet aber seine Version nicht. Möglicherweise ist er veraltet. Starte ihn neu oder aktualisiere ihn, um fortzufahren.',
'bootCheck.working': 'Arbeiten…',
- 'bootCheck.restartUpdateCore': 'Runtime neu starten/aktualisieren',
+ 'bootCheck.restartUpdateCore': 'Neu starten / Aktualisieren',
'bootCheck.unexpectedError': 'Unerwarteter Boot-Check-Fehler',
'bootCheck.actionFailed': 'Etwas ist schief gelaufen. Bitte versuche es erneut.',
'bootCheck.portConflictTitle': 'App-Engine konnte nicht gestartet werden',
@@ -4416,9 +4445,9 @@ const messages: TranslationMap = {
// Onboarding: Custom > Vault
'onboarding.custom.stepperVault': 'Vault',
- 'onboarding.custom.vault.title': 'Speicher & Vault-Einrichtung',
+ 'onboarding.custom.vault.title': 'Gib OpenHuman ein Gedächtnis',
'onboarding.custom.vault.subtitle':
- 'Bestätigen Sie, wohin Speichernotizen geschrieben werden, wie Quelldaten gelesen werden und ob Ihre Vault-Pipeline fehlerfrei ist.',
+ 'Hier wird gespeichert, was du ihm erzählst, damit es über Chats hinweg erhalten bleibt.',
'onboarding.custom.vault.defaultDesc':
'Von OpenHuman verwaltete Standardspeichereinstellungen verwenden. Vault-Pfad und Synchronisierungsstatus können später eingesehen werden.',
'onboarding.custom.vault.configureDesc':
@@ -5069,6 +5098,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'Gedächtnis-Engine ist nicht erreichbar',
'memoryPage.engine.statusOff': 'Aus',
'memoryPage.engine.active': 'Aktiv',
+ 'memoryPage.engine.recommended': 'Empfohlen',
'memoryPage.engine.use': 'Verwenden',
'memoryPage.engine.edit': 'Bearbeiten',
'memoryPage.engine.signInRequired': 'Anmeldung erforderlich',
diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.ts
index fd0db0a675..8ba9052fe9 100644
--- a/app/src/lib/i18n/en.ts
+++ b/app/src/lib/i18n/en.ts
@@ -313,6 +313,35 @@ const en: TranslationMap = {
'welcome.privacyPolicy': 'Privacy Policy',
'welcome.termsOutro': '.',
'welcome.connect': 'Test',
+ 'welcome.hero.subtitle': 'Your AI, with memory, voice, and the whole web.',
+ 'welcome.th.title': 'Continue with TinyHumans',
+ 'welcome.th.promise': 'One account. Everything included. Nothing to configure.',
+ 'welcome.th.featureInference': 'Inference',
+ 'welcome.th.featureSearch': 'Web search',
+ 'welcome.th.featureVoice': 'Voice',
+ 'welcome.th.featureMemory': 'Memory',
+ 'welcome.th.featureEmbeddings': 'Embeddings',
+ 'welcome.th.featureBilling': 'Billing',
+ 'welcome.th.credit': '$5 of credit to start',
+ 'welcome.th.cta': 'Continue with TinyHumans',
+ 'welcome.th.providers': 'Sign in with Google, GitHub or X',
+ 'welcome.self.title': 'Set it up myself',
+ 'welcome.self.promise': 'Bring your own API keys and endpoints.',
+ 'welcome.self.listLabel': "You'll set up:",
+ 'welcome.self.step1': 'Inference',
+ 'welcome.self.step2': 'Web search',
+ 'welcome.self.step3': 'Memory',
+ 'welcome.self.time': 'About 3 minutes. Change anything later in Settings.',
+ 'welcome.self.cta': 'Set it up myself',
+ 'welcome.serverPrompt': 'Already running OpenHuman on a server?',
+ 'welcome.serverCta': 'Connect to it.',
+ 'welcome.handoff.title': 'Finishing sign-in in your browser',
+ 'welcome.handoff.body': "We opened tinyhumans.ai — come back when you're done.",
+ 'welcome.handoff.reopen': 'Open the page again',
+ 'welcome.handoff.failedTitle': "Sign-in didn't come back",
+ 'welcome.handoff.failedBody': 'The browser may have blocked the return to OpenHuman.',
+ 'welcome.handoff.retry': 'Try again',
+ 'welcome.handoff.fallbackSelf': 'Set it up myself instead',
// Home page
'home.askAssistant': 'Ask your assistant anything...',
@@ -756,9 +785,9 @@ const en: TranslationMap = {
'onboarding.custom.openSettings': 'Open in Settings',
// Onboarding: Custom > Inference (text)
- 'onboarding.custom.inference.title': 'Inference (Text)',
+ 'onboarding.custom.inference.title': 'Choose a model provider',
'onboarding.custom.inference.subtitle':
- 'Which language model should answer your questions and run your agents?',
+ 'OpenHuman needs a model to think with. Add a key for a provider you already use, or point at one running locally.',
'onboarding.custom.inference.defaultDesc':
'OpenHuman routes workloads through its managed backend by default. No keys, no setup.',
'onboarding.custom.inference.configureDesc':
@@ -782,8 +811,8 @@ const en: TranslationMap = {
'Bring your own Composio account / API key. Configure in Settings › Connections.',
// Onboarding: Custom > Search
- 'onboarding.custom.search.title': 'Web Search',
- 'onboarding.custom.search.subtitle': 'How OpenHuman searches the web on your behalf.',
+ 'onboarding.custom.search.title': 'Let OpenHuman search the web',
+ 'onboarding.custom.search.subtitle': 'Without this, OpenHuman only knows what it was trained on.',
'onboarding.custom.search.defaultDesc':
'Web search works out of the box: Exa and Gemini are included with TinyHumans, no API key needed.',
'onboarding.custom.search.configureDesc':
@@ -802,9 +831,9 @@ const en: TranslationMap = {
'Bring your own embedding provider (OpenAI, Voyage, Ollama, etc.).',
// Onboarding: Custom > Vault
- 'onboarding.custom.vault.title': 'Memory & Vault Setup',
+ 'onboarding.custom.vault.title': 'Give OpenHuman a memory',
'onboarding.custom.vault.subtitle':
- 'Confirm where memory notes are written, how source data is read, and whether your vault pipeline is healthy.',
+ 'Where what you tell it gets stored, so it carries across chats.',
'onboarding.custom.vault.defaultDesc':
'Use OpenHuman-managed memory defaults. Vault path and sync health can still be reviewed later.',
'onboarding.custom.vault.configureDesc':
@@ -1856,61 +1885,59 @@ const en: TranslationMap = {
'stats.tokens': 'tokens',
// Boot Check Gate
- 'bootCheck.invalidUrl': 'Please enter a runtime URL.',
+ 'bootCheck.invalidUrl': 'Please enter an address.',
'bootCheck.urlMustStartWith': 'The URL needs to start with http:// or https://',
'bootCheck.validUrlRequired':
"That doesn't look like a valid URL (try https://core.example.com/rpc)",
'bootCheck.tokenRequired': "We'll need an auth token to connect.",
'bootCheck.httpPublicWarning':
'This is a plain HTTP URL on a public host: traffic will not be encrypted. Use HTTPS unless you trust this network.',
- 'bootCheck.chooseCoreMode': 'Select a Runtime',
- 'bootCheck.connectToCore': 'Connect to Your Runtime',
- 'bootCheck.desktopDescription': 'OpenHuman needs a runtime to think. Pick where it should live.',
+ 'bootCheck.chooseCoreMode': 'Where should OpenHuman run?',
+ 'bootCheck.connectToCore': 'Connect to OpenHuman',
+ 'bootCheck.desktopDescription': "OpenHuman couldn't start on this Mac. Pick where it should run.",
'bootCheck.webDescription':
- 'On the web, OpenHuman connects to a runtime you control. Drop in its URL and auth token below, or grab the desktop app to run one right on your machine.',
+ 'On the web, OpenHuman connects to a server you control. Drop in its address and token below, or grab the desktop app to run it right on your machine.',
'bootCheck.preferDesktop': 'Rather keep everything on your own device?',
'bootCheck.downloadDesktop': 'Get the Desktop App',
- 'bootCheck.localRecommended': 'Run Locally (Recommended)',
- 'bootCheck.localDescription':
- 'Runs right here on your computer. Fastest, fully private, nothing to set up.',
- 'bootCheck.cloudMode': 'Run on the Cloud (Complex)',
- 'bootCheck.cloudDescription':
- "Connect to a runtime you're hosting elsewhere. Stays online 24×7 so you don't need to keep this device running.",
- 'bootCheck.coreRpcUrl': 'Runtime URL',
+ 'bootCheck.localRecommended': 'On this Mac',
+ 'bootCheck.localDescription': 'Fastest, fully private, nothing to set up.',
+ 'bootCheck.cloudMode': 'On a server I host',
+ 'bootCheck.cloudDescription': "Stays online 24×7 so you don't need to keep this Mac running.",
+ 'bootCheck.coreRpcUrl': 'Address',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'Auth Token',
- 'bootCheck.bearerTokenPlaceholder': 'The bearer token from your remote runtime',
+ 'bootCheck.authToken': 'Token',
+ 'bootCheck.bearerTokenPlaceholder': 'The token from your server',
'bootCheck.storedLocally': 'Kept on this device only. Sent as ',
'bootCheck.testing': 'Testing…',
'bootCheck.testConnection': 'Test Connection',
'bootCheck.connectedOk': "Connected. You're good to go.",
'bootCheck.authFailed': "That token didn't work. Double-check it and try again.",
'bootCheck.unreachablePrefix': "Couldn't reach it:",
- 'bootCheck.checkingCore': 'Waking up your runtime…',
- 'bootCheck.cannotReach': "Can't Reach the Runtime",
- 'bootCheck.cannotReachDesc': "We couldn't connect to your runtime. Want to try a different one?",
- 'bootCheck.switchMode': 'Pick a Different Runtime',
+ 'bootCheck.checkingCore': 'Starting OpenHuman…',
+ 'bootCheck.cannotReach': "Can't reach it",
+ 'bootCheck.cannotReachDesc': "We couldn't connect. Want to try somewhere else?",
+ 'bootCheck.switchMode': 'Change where it runs',
'bootCheck.quit': 'Quit',
- 'bootCheck.legacyDetected': 'Legacy Background Runtime Detected',
+ 'bootCheck.legacyDetected': 'Old background service found',
'bootCheck.legacyDescription':
- 'A separately-installed OpenHuman daemon is already running on this device. We need to clear it out before the built-in runtime can take over.',
+ 'A separately-installed OpenHuman daemon is already running on this device. We need to clear it out before the built-in one can take over.',
'bootCheck.removing': 'Removing…',
'bootCheck.removeContinue': 'Remove and Continue',
- 'bootCheck.localNeedsRestart': 'Local Runtime Needs a Restart',
+ 'bootCheck.localNeedsRestart': 'OpenHuman needs a restart',
'bootCheck.localNeedsRestartDesc':
- 'Your local runtime is on a different version than this app. A quick restart will get them back in sync.',
+ 'OpenHuman on this Mac is a different version than this app. A quick restart will get them back in sync.',
'bootCheck.restarting': 'Restarting…',
- 'bootCheck.restartCore': 'Restart Runtime',
- 'bootCheck.cloudNeedsUpdate': 'Cloud Runtime Needs an Update',
+ 'bootCheck.restartCore': 'Restart',
+ 'bootCheck.cloudNeedsUpdate': 'Your server needs an update',
'bootCheck.cloudNeedsUpdateDesc':
- 'Your cloud runtime is on a different version than this app. Run the updater to bring them back in sync.',
+ 'Your server is on a different version than this app. Run the updater to bring them back in sync.',
'bootCheck.updating': 'Updating…',
- 'bootCheck.updateCloudCore': 'Update Cloud Runtime',
- 'bootCheck.versionCheckFailed': 'Runtime Version Check Failed',
+ 'bootCheck.updateCloudCore': 'Update server',
+ 'bootCheck.versionCheckFailed': 'Version check failed',
'bootCheck.versionCheckFailedDesc':
- "Your runtime is up but isn't reporting its version. It may be outdated. Restart or update it to continue.",
+ "Your server is up but isn't reporting its version. It may be outdated. Restart or update it to continue.",
'bootCheck.working': 'Working…',
- 'bootCheck.restartUpdateCore': 'Restart / Update Runtime',
+ 'bootCheck.restartUpdateCore': 'Restart / Update',
'bootCheck.unexpectedError': 'Unexpected Boot-Check Error',
'bootCheck.actionFailed': 'Something went wrong. Please try again.',
'bootCheck.portConflictTitle': "Couldn't Start the App Engine",
@@ -5210,6 +5237,7 @@ const en: TranslationMap = {
'memoryPage.engine.statusDown': 'Memory engine is unreachable',
'memoryPage.engine.statusOff': 'Off',
'memoryPage.engine.active': 'Active',
+ 'memoryPage.engine.recommended': 'Recommended',
'memoryPage.engine.use': 'Use',
'memoryPage.engine.edit': 'Edit',
'memoryPage.engine.signInRequired': 'Sign in required',
diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.ts
index 5fd1222fb5..173130e2de 100644
--- a/app/src/lib/i18n/es.ts
+++ b/app/src/lib/i18n/es.ts
@@ -448,6 +448,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'Política de privacidad',
'welcome.termsOutro': '.',
'welcome.connect': 'Probar',
+ 'welcome.hero.subtitle': 'Tu IA, con memoria, voz y toda la web.',
+ 'welcome.th.title': 'Continuar con TinyHumans',
+ 'welcome.th.promise': 'Una cuenta. Todo incluido. Nada que configurar.',
+ 'welcome.th.featureInference': 'Inferencia',
+ 'welcome.th.featureSearch': 'Búsqueda web',
+ 'welcome.th.featureVoice': 'Voz',
+ 'welcome.th.featureMemory': 'Memoria',
+ 'welcome.th.featureEmbeddings': 'Embeddings',
+ 'welcome.th.featureBilling': 'Facturación',
+ 'welcome.th.credit': '5 $ de crédito para empezar',
+ 'welcome.th.cta': 'Continuar con TinyHumans',
+ 'welcome.th.providers': 'Inicia sesión con Google, GitHub o X',
+ 'welcome.self.title': 'Configurarlo yo mismo',
+ 'welcome.self.promise': 'Trae tus propias claves de API y endpoints.',
+ 'welcome.self.listLabel': 'Configurarás:',
+ 'welcome.self.step1': 'Inferencia',
+ 'welcome.self.step2': 'Búsqueda web',
+ 'welcome.self.step3': 'Memoria',
+ 'welcome.self.time': 'Unos 3 minutos. Cambia lo que quieras más tarde en Ajustes.',
+ 'welcome.self.cta': 'Configurarlo yo mismo',
+ 'welcome.serverPrompt': '¿Ya ejecutas OpenHuman en un servidor?',
+ 'welcome.serverCta': 'Conéctate a él.',
+ 'welcome.handoff.title': 'Terminando el inicio de sesión en tu navegador',
+ 'welcome.handoff.body': 'Abrimos tinyhumans.ai: vuelve cuando termines.',
+ 'welcome.handoff.reopen': 'Abrir la página de nuevo',
+ 'welcome.handoff.failedTitle': 'El inicio de sesión no regresó',
+ 'welcome.handoff.failedBody': 'Puede que el navegador haya bloqueado el regreso a OpenHuman.',
+ 'welcome.handoff.retry': 'Intentar de nuevo',
+ 'welcome.handoff.fallbackSelf': 'Configurarlo yo mismo en su lugar',
'home.askAssistant': 'Pregúntale lo que quieras a tu asistente...',
'home.statusOk': 'Tu asistente está listo cuando tú lo estés. Escribe algo abajo para empezar.',
'home.statusBackendOnly':
@@ -754,9 +783,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'Puedes terminar de configurar esto después del onboarding. Te llevaremos a la página de configuración correspondiente cuando termines.',
'onboarding.custom.openSettings': 'Abrir en Configuración',
- 'onboarding.custom.inference.title': 'Inferencia (Texto)',
+ 'onboarding.custom.inference.title': 'Elige un proveedor de modelos',
'onboarding.custom.inference.subtitle':
- '¿Qué modelo de lenguaje debe responder tus preguntas y ejecutar tus agentes?',
+ 'OpenHuman necesita un modelo con el que pensar. Añade una clave de un proveedor que ya uses, o apunta a uno que se ejecute en local.',
'onboarding.custom.inference.defaultDesc':
'OpenHuman dirige cada carga de trabajo a un modelo predeterminado adecuado. Sin claves, sin configuración.',
'onboarding.custom.inference.configureDesc':
@@ -774,8 +803,9 @@ const messages: TranslationMap = {
'OpenHuman ejecuta un espacio de trabajo de Composio gestionado. Un clic para conectar cada servicio más tarde.',
'onboarding.custom.oauth.configureDesc':
'Usa tu propia cuenta / clave API de Composio. Configura en Configuración › Conexiones.',
- 'onboarding.custom.search.title': 'Búsqueda web',
- 'onboarding.custom.search.subtitle': 'Cómo OpenHuman busca en la web en tu nombre.',
+ 'onboarding.custom.search.title': 'Deja que OpenHuman busque en la web',
+ 'onboarding.custom.search.subtitle':
+ 'Sin esto, OpenHuman solo sabe aquello con lo que fue entrenado.',
'onboarding.custom.search.defaultDesc':
'La búsqueda web funciona desde el principio: Exa y Gemini están incluidos con TinyHumans, sin clave de API.',
'onboarding.custom.search.configureDesc':
@@ -1633,63 +1663,61 @@ const messages: TranslationMap = {
'stats.latest': 'Más reciente',
'stats.sessions': 'Sesiones',
'stats.tokens': 'fichas',
- 'bootCheck.invalidUrl': 'Ingresa una URL de runtime.',
+ 'bootCheck.invalidUrl': 'Introduce una dirección.',
'bootCheck.urlMustStartWith': 'La URL debe comenzar con http:// o https://',
'bootCheck.validUrlRequired':
'Eso no parece una URL válida (prueba con https://core.example.com/rpc)',
'bootCheck.tokenRequired': 'Necesitaremos un token de autenticación para conectarnos.',
'bootCheck.httpPublicWarning':
'Esta es una URL HTTP sin cifrar en un host público: el tráfico no estará cifrado. Usa HTTPS a menos que confíes en esta red.',
- 'bootCheck.chooseCoreMode': 'Seleccionar un runtime',
- 'bootCheck.connectToCore': 'Conectar a tu runtime',
+ 'bootCheck.chooseCoreMode': '¿Dónde quieres que se ejecute OpenHuman?',
+ 'bootCheck.connectToCore': 'Conectar con OpenHuman',
'bootCheck.desktopDescription':
- 'OpenHuman necesita un runtime para funcionar. Elige dónde debe vivir.',
+ 'OpenHuman no pudo iniciarse en este Mac. Elige dónde debe ejecutarse.',
'bootCheck.webDescription':
- 'En la web, OpenHuman se conecta a un runtime que tú controlas. Ingresa su URL y token de autenticación abajo, o descarga la app de escritorio para ejecutar uno en tu máquina.',
+ 'En la web, OpenHuman se conecta a un servidor que tú controlas. Introduce abajo su dirección y su token, o descarga la app de escritorio para ejecutarlo directamente en tu equipo.',
'bootCheck.preferDesktop': '¿Prefieres tener todo en tu propio dispositivo?',
'bootCheck.downloadDesktop': 'Obtener la app de escritorio',
- 'bootCheck.localRecommended': 'Ejecutar localmente (Recomendado)',
- 'bootCheck.localDescription':
- 'Corre directamente en tu computadora. El más rápido, completamente privado, sin nada que configurar.',
- 'bootCheck.cloudMode': 'Ejecutar en la nube (Complejo)',
+ 'bootCheck.localRecommended': 'En este Mac',
+ 'bootCheck.localDescription': 'Lo más rápido, totalmente privado y sin nada que configurar.',
+ 'bootCheck.cloudMode': 'En un servidor propio',
'bootCheck.cloudDescription':
- 'Conéctate a un runtime que estás alojando en otro lugar. Permanece en línea 24×7 para que no necesites mantener este dispositivo encendido.',
- 'bootCheck.coreRpcUrl': 'URL del runtime',
+ 'Se mantiene en línea las 24 horas, así no necesitas dejar este Mac encendido.',
+ 'bootCheck.coreRpcUrl': 'Dirección',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'Token de autenticación',
- 'bootCheck.bearerTokenPlaceholder': 'El bearer token de tu runtime remoto',
+ 'bootCheck.authToken': 'Token',
+ 'bootCheck.bearerTokenPlaceholder': 'El token de tu servidor',
'bootCheck.storedLocally': 'Solo guardado en este dispositivo. Enviado como ',
'bootCheck.testing': 'Probando…',
'bootCheck.testConnection': 'Probar conexión',
'bootCheck.connectedOk': 'Conectado. Todo listo.',
'bootCheck.authFailed': 'Ese token no funcionó. Verifícalo e inténtalo de nuevo.',
'bootCheck.unreachablePrefix': 'No se pudo alcanzar:',
- 'bootCheck.checkingCore': 'Activando tu runtime…',
- 'bootCheck.cannotReach': 'No se puede alcanzar el runtime',
- 'bootCheck.cannotReachDesc':
- 'No pudimos conectarnos a tu runtime. ¿Quieres probar con uno diferente?',
- 'bootCheck.switchMode': 'Elegir un runtime diferente',
+ 'bootCheck.checkingCore': 'Iniciando OpenHuman…',
+ 'bootCheck.cannotReach': 'No se puede conectar',
+ 'bootCheck.cannotReachDesc': 'No pudimos conectarnos. ¿Quieres probar en otro lugar?',
+ 'bootCheck.switchMode': 'Cambiar dónde se ejecuta',
'bootCheck.quit': 'Salir',
- 'bootCheck.legacyDetected': 'Runtime en segundo plano legacy detectado',
+ 'bootCheck.legacyDetected': 'Se encontró un servicio antiguo en segundo plano',
'bootCheck.legacyDescription':
- 'Un daemon de OpenHuman instalado por separado ya está corriendo en este dispositivo. Necesitamos eliminarlo antes de que el runtime integrado pueda tomar el control.',
+ 'Ya hay un daemon de OpenHuman instalado por separado en este dispositivo. Tenemos que eliminarlo antes de que el integrado pueda encargarse.',
'bootCheck.removing': 'Eliminando…',
'bootCheck.removeContinue': 'Eliminar y continuar',
- 'bootCheck.localNeedsRestart': 'El runtime local necesita reiniciarse',
+ 'bootCheck.localNeedsRestart': 'OpenHuman necesita reiniciarse',
'bootCheck.localNeedsRestartDesc':
- 'Tu runtime local tiene una versión diferente a la de esta app. Un reinicio rápido los sincronizará.',
+ 'OpenHuman en este Mac tiene una versión distinta a la de esta app. Un reinicio rápido los volverá a sincronizar.',
'bootCheck.restarting': 'Reiniciando…',
- 'bootCheck.restartCore': 'Reiniciar runtime',
- 'bootCheck.cloudNeedsUpdate': 'El runtime en la nube necesita actualizarse',
+ 'bootCheck.restartCore': 'Reiniciar',
+ 'bootCheck.cloudNeedsUpdate': 'Tu servidor necesita una actualización',
'bootCheck.cloudNeedsUpdateDesc':
- 'Tu runtime en la nube tiene una versión diferente a la de esta app. Ejecuta el actualizador para sincronizarlos.',
+ 'Tu servidor tiene una versión distinta a la de esta app. Ejecuta el actualizador para volver a sincronizarlos.',
'bootCheck.updating': 'Actualizando…',
- 'bootCheck.updateCloudCore': 'Actualizar runtime en la nube',
- 'bootCheck.versionCheckFailed': 'Verificación de versión del runtime fallida',
+ 'bootCheck.updateCloudCore': 'Actualizar servidor',
+ 'bootCheck.versionCheckFailed': 'Falló la comprobación de versión',
'bootCheck.versionCheckFailedDesc':
- 'Tu runtime está activo pero no reporta su versión. Puede estar desactualizado. Reinícialo o actualízalo para continuar.',
+ 'Tu servidor está activo pero no informa de su versión. Puede estar desactualizado. Reinícialo o actualízalo para continuar.',
'bootCheck.working': 'Trabajando…',
- 'bootCheck.restartUpdateCore': 'Reiniciar / Actualizar runtime',
+ 'bootCheck.restartUpdateCore': 'Reiniciar / Actualizar',
'bootCheck.unexpectedError': 'Error inesperado en verificación de arranque',
'bootCheck.actionFailed': 'Algo salió mal. Inténtalo de nuevo.',
'bootCheck.portConflictTitle': 'No se pudo iniciar el motor de la aplicación',
@@ -4380,9 +4408,9 @@ const messages: TranslationMap = {
// Monthly cost badge
// Onboarding: Custom > Vault
- 'onboarding.custom.vault.title': 'Configuración de memoria y bóveda',
+ 'onboarding.custom.vault.title': 'Dale una memoria a OpenHuman',
'onboarding.custom.vault.subtitle':
- 'Confirma dónde se escriben las notas de memoria, cómo se leen los datos de origen y si el flujo de bóveda está en buen estado.',
+ 'Donde se guarda lo que le cuentas, para que se mantenga entre chats.',
'onboarding.custom.vault.defaultDesc':
'Usa los valores predeterminados de memoria administrada por OpenHuman. La ruta de la bóveda y el estado de sincronización se pueden revisar más adelante.',
'onboarding.custom.vault.configureDesc':
@@ -5026,6 +5054,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'No se puede acceder al motor de memoria',
'memoryPage.engine.statusOff': 'Desactivado',
'memoryPage.engine.active': 'Activo',
+ 'memoryPage.engine.recommended': 'Recomendado',
'memoryPage.engine.use': 'Usar',
'memoryPage.engine.edit': 'Editar',
'memoryPage.engine.signInRequired': 'Requiere iniciar sesión',
diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.ts
index 99e7901eee..bc1a527818 100644
--- a/app/src/lib/i18n/fr.ts
+++ b/app/src/lib/i18n/fr.ts
@@ -451,6 +451,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'Politique de confidentialité',
'welcome.termsOutro': '.',
'welcome.connect': 'Tester',
+ 'welcome.hero.subtitle': 'Votre IA, avec mémoire, voix et tout le web.',
+ 'welcome.th.title': 'Continuer avec TinyHumans',
+ 'welcome.th.promise': 'Un seul compte. Tout est inclus. Rien à configurer.',
+ 'welcome.th.featureInference': 'Inférence',
+ 'welcome.th.featureSearch': 'Recherche web',
+ 'welcome.th.featureVoice': 'Voix',
+ 'welcome.th.featureMemory': 'Mémoire',
+ 'welcome.th.featureEmbeddings': 'Embeddings',
+ 'welcome.th.featureBilling': 'Facturation',
+ 'welcome.th.credit': '5 $ de crédit pour commencer',
+ 'welcome.th.cta': 'Continuer avec TinyHumans',
+ 'welcome.th.providers': 'Connectez-vous avec Google, GitHub ou X',
+ 'welcome.self.title': 'Je le configure moi-même',
+ 'welcome.self.promise': 'Apportez vos propres clés API et points de terminaison.',
+ 'welcome.self.listLabel': 'Vous allez configurer :',
+ 'welcome.self.step1': 'Inférence',
+ 'welcome.self.step2': 'Recherche web',
+ 'welcome.self.step3': 'Mémoire',
+ 'welcome.self.time': 'Environ 3 minutes. Modifiez tout plus tard dans les Paramètres.',
+ 'welcome.self.cta': 'Je le configure moi-même',
+ 'welcome.serverPrompt': 'Vous exécutez déjà OpenHuman sur un serveur ?',
+ 'welcome.serverCta': 'Connectez-vous-y.',
+ 'welcome.handoff.title': 'Finalisation de la connexion dans votre navigateur',
+ 'welcome.handoff.body': 'Nous avons ouvert tinyhumans.ai — revenez une fois terminé.',
+ 'welcome.handoff.reopen': 'Rouvrir la page',
+ 'welcome.handoff.failedTitle': "La connexion n'est pas revenue",
+ 'welcome.handoff.failedBody': 'Le navigateur a peut-être bloqué le retour vers OpenHuman.',
+ 'welcome.handoff.retry': 'Réessayer',
+ 'welcome.handoff.fallbackSelf': 'Plutôt le configurer moi-même',
'home.askAssistant': "Pose n'importe quelle question à ton assistant…",
'home.statusOk':
'Ton assistant est prêt quand tu veux. Écris quelque chose ci-dessous pour commencer.',
@@ -760,9 +789,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
"Tu peux finaliser cette configuration après l'initialisation. On t'amènera sur la page Paramètres correspondante une fois que tu auras terminé.",
'onboarding.custom.openSettings': 'Ouvrir dans les Paramètres',
- 'onboarding.custom.inference.title': 'Inférence (texte)',
+ 'onboarding.custom.inference.title': 'Choisissez un fournisseur de modèles',
'onboarding.custom.inference.subtitle':
- 'Quel modèle de langage doit répondre à tes questions et faire tourner tes agents ?',
+ "OpenHuman a besoin d'un modèle pour réfléchir. Ajoutez une clé pour un fournisseur que vous utilisez déjà, ou pointez vers un modèle exécuté en local.",
'onboarding.custom.inference.defaultDesc':
'OpenHuman dirige chaque charge de travail vers un modèle par défaut adapté. Aucune clé, aucune configuration.',
'onboarding.custom.inference.configureDesc':
@@ -780,9 +809,9 @@ const messages: TranslationMap = {
'OpenHuman gère un espace de travail Composio. Un clic pour connecter chaque service plus tard.',
'onboarding.custom.oauth.configureDesc':
'Utilise ton propre compte Composio / clé API. À configurer dans Paramètres › Connexions.',
- 'onboarding.custom.search.title': 'Recherche web',
+ 'onboarding.custom.search.title': 'Laissez OpenHuman chercher sur le web',
'onboarding.custom.search.subtitle':
- 'Comment OpenHuman effectue des recherches sur le web en ton nom.',
+ 'Sans cela, OpenHuman ne connaît que ce sur quoi il a été entraîné.',
'onboarding.custom.search.defaultDesc':
'La recherche web fonctionne immédiatement : Exa et Gemini sont inclus avec TinyHumans, sans clé API.',
'onboarding.custom.search.configureDesc':
@@ -1645,63 +1674,61 @@ const messages: TranslationMap = {
'stats.latest': 'Dernier',
'stats.sessions': 'Sessions',
'stats.tokens': 'jetons',
- 'bootCheck.invalidUrl': 'Saisis une URL de runtime.',
+ 'bootCheck.invalidUrl': 'Veuillez saisir une adresse.',
'bootCheck.urlMustStartWith': "L'URL doit commencer par http:// ou https://",
'bootCheck.validUrlRequired':
'Ça ne ressemble pas à une URL valide (essaie https://core.example.com/rpc)',
'bootCheck.tokenRequired': "On aura besoin d'un token d'authentification pour se connecter.",
'bootCheck.httpPublicWarning':
'Ceci est une URL HTTP en clair sur un hôte public: le trafic ne sera pas chiffré. Utilisez HTTPS sauf si vous faites confiance à ce réseau.',
- 'bootCheck.chooseCoreMode': 'Sélectionner un runtime',
- 'bootCheck.connectToCore': 'Connecte-toi à ton runtime',
+ 'bootCheck.chooseCoreMode': "Où OpenHuman doit-il s'exécuter ?",
+ 'bootCheck.connectToCore': 'Se connecter à OpenHuman',
'bootCheck.desktopDescription':
- "OpenHuman a besoin d'un runtime pour fonctionner. Choisis où il doit être hébergé.",
+ "OpenHuman n'a pas pu démarrer sur ce Mac. Choisissez où il doit s'exécuter.",
'bootCheck.webDescription':
- "Sur le web, OpenHuman se connecte à un runtime que tu contrôles. Renseigne son URL et son token d'authentification ci-dessous, ou télécharge l'app desktop pour en faire tourner un directement sur ta machine.",
+ "Sur le web, OpenHuman se connecte à un serveur que vous contrôlez. Saisissez ci-dessous son adresse et son jeton, ou téléchargez l'application de bureau pour l'exécuter directement sur votre machine.",
'bootCheck.preferDesktop': 'Tu préfères tout garder sur ton propre appareil ?',
'bootCheck.downloadDesktop': "Télécharger l'app desktop",
- 'bootCheck.localRecommended': 'Exécuter localement (Recommandé)',
- 'bootCheck.localDescription':
- 'Tourne directement sur ton ordinateur. Le plus rapide, entièrement privé, rien à configurer.',
- 'bootCheck.cloudMode': 'Exécuter dans le cloud (Complexe)',
+ 'bootCheck.localRecommended': 'Sur ce Mac',
+ 'bootCheck.localDescription': 'Le plus rapide, entièrement privé, rien à configurer.',
+ 'bootCheck.cloudMode': "Sur un serveur que j'héberge",
'bootCheck.cloudDescription':
- "Connecte-toi à un runtime que tu héberges ailleurs. Reste en ligne 24h/24 et 7j/7: tu n'as pas besoin de garder cet appareil allumé.",
- 'bootCheck.coreRpcUrl': 'URL du runtime',
+ 'Reste en ligne 24 h/24 et 7 j/7 : inutile de laisser ce Mac allumé.',
+ 'bootCheck.coreRpcUrl': 'Adresse',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': "Token d'authentification",
- 'bootCheck.bearerTokenPlaceholder': 'Le token bearer de ton runtime distant',
+ 'bootCheck.authToken': 'Jeton',
+ 'bootCheck.bearerTokenPlaceholder': 'Le jeton de votre serveur',
'bootCheck.storedLocally': 'Conservé sur cet appareil uniquement. Envoyé en tant que ',
'bootCheck.testing': 'Test en cours…',
'bootCheck.testConnection': 'Tester la connexion',
'bootCheck.connectedOk': 'Connecté. Tu es prêt.',
'bootCheck.authFailed': "Ce token n'a pas fonctionné. Vérifie-le et réessaie.",
'bootCheck.unreachablePrefix': "Impossible de l'atteindre :",
- 'bootCheck.checkingCore': 'Réveil de ton runtime…',
- 'bootCheck.cannotReach': "Impossible d'atteindre le runtime",
- 'bootCheck.cannotReachDesc':
- "On n'a pas pu se connecter à ton runtime. Tu veux en essayer un autre ?",
- 'bootCheck.switchMode': 'Choisir un autre runtime',
+ 'bootCheck.checkingCore': "Démarrage d'OpenHuman…",
+ 'bootCheck.cannotReach': 'Connexion impossible',
+ 'bootCheck.cannotReachDesc': "Nous n'avons pas pu nous connecter. Voulez-vous essayer ailleurs ?",
+ 'bootCheck.switchMode': "Changer l'endroit d'exécution",
'bootCheck.quit': 'Quitter',
- 'bootCheck.legacyDetected': 'Runtime de fond hérité détecté',
+ 'bootCheck.legacyDetected': 'Ancien service en arrière-plan détecté',
'bootCheck.legacyDescription':
- "Un daemon OpenHuman installé séparément est déjà en cours d'exécution sur cet appareil. On doit le supprimer avant que le runtime intégré puisse prendre le relais.",
+ "Un démon OpenHuman installé séparément est déjà en cours d'exécution sur cet appareil. Nous devons le supprimer avant que la version intégrée puisse prendre le relais.",
'bootCheck.removing': 'Suppression…',
'bootCheck.removeContinue': 'Supprimer et continuer',
- 'bootCheck.localNeedsRestart': 'Le runtime local doit être redémarré',
+ 'bootCheck.localNeedsRestart': 'OpenHuman doit redémarrer',
'bootCheck.localNeedsRestartDesc':
- 'Ton runtime local est sur une version différente de cette app. Un redémarrage rapide les remettra en synchronisation.',
+ "OpenHuman sur ce Mac n'a pas la même version que cette application. Un redémarrage rapide les remettra en phase.",
'bootCheck.restarting': 'Redémarrage…',
- 'bootCheck.restartCore': 'Redémarrer le runtime',
- 'bootCheck.cloudNeedsUpdate': 'Le runtime cloud doit être mis à jour',
+ 'bootCheck.restartCore': 'Redémarrer',
+ 'bootCheck.cloudNeedsUpdate': 'Votre serveur doit être mis à jour',
'bootCheck.cloudNeedsUpdateDesc':
- 'Ton runtime cloud est sur une version différente de cette app. Lance la mise à jour pour les remettre en synchronisation.',
+ "Votre serveur n'a pas la même version que cette application. Lancez la mise à jour pour les remettre en phase.",
'bootCheck.updating': 'Mise à jour…',
- 'bootCheck.updateCloudCore': 'Mettre à jour le runtime cloud',
- 'bootCheck.versionCheckFailed': 'Échec de la vérification de la version du runtime',
+ 'bootCheck.updateCloudCore': 'Mettre à jour le serveur',
+ 'bootCheck.versionCheckFailed': 'Échec de la vérification de version',
'bootCheck.versionCheckFailedDesc':
- 'Ton runtime est actif mais ne rapporte pas sa version. Il est peut-être obsolète. Redémarre-le ou mets-le à jour pour continuer.',
+ 'Votre serveur est actif mais ne signale pas sa version. Il est peut-être obsolète. Redémarrez-le ou mettez-le à jour pour continuer.',
'bootCheck.working': 'En cours…',
- 'bootCheck.restartUpdateCore': 'Redémarrer / Mettre à jour le runtime',
+ 'bootCheck.restartUpdateCore': 'Redémarrer / Mettre à jour',
'bootCheck.unexpectedError': 'Erreur inattendue lors de la vérification au démarrage',
'bootCheck.actionFailed': "Une erreur s'est produite. Réessaie.",
'bootCheck.portConflictTitle': "Impossible de démarrer le moteur de l'application",
@@ -4398,9 +4425,9 @@ const messages: TranslationMap = {
// Monthly cost badge
// Onboarding: Custom > Vault
- 'onboarding.custom.vault.title': 'Configuration de la mémoire et du coffre',
+ 'onboarding.custom.vault.title': 'Donnez une mémoire à OpenHuman',
'onboarding.custom.vault.subtitle':
- 'Confirmez où les notes de mémoire sont écrites, comment les données sources sont lues et si votre pipeline de coffre est en bon état.',
+ "L'endroit où ce que vous lui dites est stocké, pour que cela se retrouve d'une conversation à l'autre.",
'onboarding.custom.vault.defaultDesc':
"Utiliser les paramètres de mémoire gérés par OpenHuman. Le chemin du coffre et l'état de synchronisation peuvent encore être consultés ultérieurement.",
'onboarding.custom.vault.configureDesc':
@@ -5049,6 +5076,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'Le moteur de mémoire est injoignable',
'memoryPage.engine.statusOff': 'Désactivé',
'memoryPage.engine.active': 'Actif',
+ 'memoryPage.engine.recommended': 'Recommandé',
'memoryPage.engine.use': 'Utiliser',
'memoryPage.engine.edit': 'Modifier',
'memoryPage.engine.signInRequired': 'Connexion requise',
diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.ts
index e12adf0083..f153b17e3d 100644
--- a/app/src/lib/i18n/hi.ts
+++ b/app/src/lib/i18n/hi.ts
@@ -437,6 +437,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'गोपनीयता नीति',
'welcome.termsOutro': '.',
'welcome.connect': 'टेस्ट करें',
+ 'welcome.hero.subtitle': 'आपका AI, याददाश्त, आवाज़ और पूरे वेब के साथ।',
+ 'welcome.th.title': 'TinyHumans के साथ जारी रखें',
+ 'welcome.th.promise': 'एक अकाउंट। सब कुछ शामिल। कुछ भी कॉन्फ़िगर करने की ज़रूरत नहीं।',
+ 'welcome.th.featureInference': 'इन्फ़रेंस',
+ 'welcome.th.featureSearch': 'वेब सर्च',
+ 'welcome.th.featureVoice': 'आवाज़',
+ 'welcome.th.featureMemory': 'मेमोरी',
+ 'welcome.th.featureEmbeddings': 'एम्बेडिंग',
+ 'welcome.th.featureBilling': 'बिलिंग',
+ 'welcome.th.credit': 'शुरुआत के लिए $5 का क्रेडिट',
+ 'welcome.th.cta': 'TinyHumans के साथ जारी रखें',
+ 'welcome.th.providers': 'Google, GitHub या X से साइन इन करें',
+ 'welcome.self.title': 'मैं खुद सेट अप करूँगा',
+ 'welcome.self.promise': 'अपनी API कुंजियाँ और एंडपॉइंट लाएँ।',
+ 'welcome.self.listLabel': 'आप ये सेट अप करेंगे:',
+ 'welcome.self.step1': 'इन्फ़रेंस',
+ 'welcome.self.step2': 'वेब सर्च',
+ 'welcome.self.step3': 'मेमोरी',
+ 'welcome.self.time': 'लगभग 3 मिनट। कुछ भी बाद में सेटिंग्स में बदल सकते हैं।',
+ 'welcome.self.cta': 'मैं खुद सेट अप करूँगा',
+ 'welcome.serverPrompt': 'क्या आप पहले से किसी सर्वर पर OpenHuman चला रहे हैं?',
+ 'welcome.serverCta': 'उससे कनेक्ट करें।',
+ 'welcome.handoff.title': 'आपके ब्राउज़र में साइन-इन पूरा हो रहा है',
+ 'welcome.handoff.body': 'हमने tinyhumans.ai खोला है — पूरा होने पर वापस आएँ।',
+ 'welcome.handoff.reopen': 'पेज दोबारा खोलें',
+ 'welcome.handoff.failedTitle': 'साइन-इन वापस नहीं आया',
+ 'welcome.handoff.failedBody': 'हो सकता है ब्राउज़र ने OpenHuman पर वापसी को रोक दिया हो।',
+ 'welcome.handoff.retry': 'फिर से कोशिश करें',
+ 'welcome.handoff.fallbackSelf': 'इसके बजाय मैं खुद सेट अप करूँगा',
'home.askAssistant': 'असिस्टेंट से कुछ भी पूछें...',
'home.statusOk': 'आपका सहायक तैयार है। शुरू करने के लिए नीचे कुछ लिखें।',
'home.statusBackendOnly': 'बैकएंड से फिर से जुड़ रहे हैं… आपका एजेंट जल्द ही उपलब्ध होगा।',
@@ -734,9 +763,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'ऑनबोर्डिंग के बाद यह सेट कर सकते हैं। हो जाने पर आपको सही Settings पेज पर ले जाएंगे।',
'onboarding.custom.openSettings': 'Settings में खोलें',
- 'onboarding.custom.inference.title': 'इनफरेंस (टेक्स्ट)',
+ 'onboarding.custom.inference.title': 'मॉडल प्रोवाइडर चुनें',
'onboarding.custom.inference.subtitle':
- 'कौन सा लैंग्वेज मॉडल आपके सवाल जवाब देगा और एजेंट चलाएगा?',
+ 'OpenHuman को सोचने के लिए एक मॉडल चाहिए। जो प्रोवाइडर आप पहले से इस्तेमाल करते हैं उसकी कुंजी जोड़ें, या लोकल पर चल रहे किसी मॉडल की ओर इशारा करें।',
'onboarding.custom.inference.defaultDesc':
'OpenHuman हर वर्कलोड के लिए खुद सही मॉडल चुनता है। कोई key नहीं, कोई सेटअप नहीं।',
'onboarding.custom.inference.configureDesc':
@@ -753,8 +782,9 @@ const messages: TranslationMap = {
'OpenHuman मैनेज्ड Composio वर्कस्पेस चलाता है। हर सर्विस एक क्लिक में कनेक्ट होती है।',
'onboarding.custom.oauth.configureDesc':
'अपना Composio अकाउंट / API key लाएं। Settings › Connections में कॉन्फिगर करें।',
- 'onboarding.custom.search.title': 'वेब सर्च',
- 'onboarding.custom.search.subtitle': 'OpenHuman आपकी तरफ से वेब कैसे सर्च करता है।',
+ 'onboarding.custom.search.title': 'OpenHuman को वेब पर खोजने दें',
+ 'onboarding.custom.search.subtitle':
+ 'इसके बिना, OpenHuman सिर्फ़ वही जानता है जिस पर उसे प्रशिक्षित किया गया था।',
'onboarding.custom.search.defaultDesc':
'वेब सर्च तुरंत काम करता है: Exa और Gemini, TinyHumans में शामिल हैं, कोई API कुंजी नहीं चाहिए।',
'onboarding.custom.search.configureDesc':
@@ -1599,62 +1629,60 @@ const messages: TranslationMap = {
'stats.latest': 'सबसे नया',
'stats.sessions': 'सेशन',
'stats.tokens': 'टोकन',
- 'bootCheck.invalidUrl': 'कृपया एक रनटाइम URL डालें।',
+ 'bootCheck.invalidUrl': 'कृपया एक पता दर्ज करें।',
'bootCheck.urlMustStartWith': 'URL को http:// या https:// से शुरू होना चाहिए',
'bootCheck.validUrlRequired': 'यह सही URL नहीं लगता (कोशिश करें https://core.example.com/rpc)',
'bootCheck.tokenRequired': 'कनेक्ट करने के लिए एक auth टोकन चाहिए।',
'bootCheck.httpPublicWarning':
'यह किसी सार्वजनिक होस्ट पर सादा HTTP URL है: ट्रैफ़िक एन्क्रिप्ट नहीं होगा। जब तक आपको इस नेटवर्क पर भरोसा न हो, HTTPS का उपयोग करें।',
- 'bootCheck.chooseCoreMode': 'रनटाइम चुनें',
- 'bootCheck.connectToCore': 'अपने रनटाइम से कनेक्ट करें',
+ 'bootCheck.chooseCoreMode': 'OpenHuman कहाँ चलना चाहिए?',
+ 'bootCheck.connectToCore': 'OpenHuman से कनेक्ट करें',
'bootCheck.desktopDescription':
- 'OpenHuman को सोचने के लिए एक रनटाइम चाहिए। चुनें कि यह कहाँ रहे।',
+ 'OpenHuman इस कंप्यूटर पर शुरू नहीं हो सका। चुनें कि यह कहाँ चलना चाहिए।',
'bootCheck.webDescription':
- 'वेब पर, OpenHuman आपके कंट्रोल के रनटाइम से कनेक्ट होता है। नीचे URL और auth टोकन डालें, या अपनी मशीन पर चलाने के लिए डेस्कटॉप ऐप लें।',
+ 'वेब पर OpenHuman आपके नियंत्रण वाले सर्वर से जुड़ता है। नीचे उसका पता और टोकन डालें, या उसे सीधे अपने कंप्यूटर पर चलाने के लिए डेस्कटॉप ऐप डाउनलोड करें।',
'bootCheck.preferDesktop': 'सब अपने डिवाइस पर रखना चाहते हैं?',
'bootCheck.downloadDesktop': 'डेस्कटॉप ऐप पाएं',
- 'bootCheck.localRecommended': 'लोकल रन करें (सुझावित)',
- 'bootCheck.localDescription':
- 'आपके कंप्यूटर पर ही चलता है। सबसे तेज़, पूरी तरह प्राइवेट, कुछ सेट नहीं करना।',
- 'bootCheck.cloudMode': 'क्लाउड पर चलाएं (जटिल)',
+ 'bootCheck.localRecommended': 'इस कंप्यूटर पर',
+ 'bootCheck.localDescription': 'सबसे तेज़, पूरी तरह निजी, कुछ भी सेट अप करने की ज़रूरत नहीं।',
+ 'bootCheck.cloudMode': 'मेरे अपने सर्वर पर',
'bootCheck.cloudDescription':
- 'कहीं और होस्ट किए रनटाइम से कनेक्ट करें। 24×7 ऑनलाइन रहता है, डिवाइस चलाते रहने की ज़रूरत नहीं।',
- 'bootCheck.coreRpcUrl': 'रनटाइम URL',
+ '24×7 ऑनलाइन रहता है, इसलिए इस कंप्यूटर को चालू रखने की ज़रूरत नहीं।',
+ 'bootCheck.coreRpcUrl': 'पता',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'Auth टोकन',
- 'bootCheck.bearerTokenPlaceholder': 'आपके रिमोट रनटाइम का bearer टोकन',
+ 'bootCheck.authToken': 'टोकन',
+ 'bootCheck.bearerTokenPlaceholder': 'आपके सर्वर का टोकन',
'bootCheck.storedLocally': 'केवल इस डिवाइस पर रखा जाता है। भेजा जाता है ',
'bootCheck.testing': 'टेस्ट हो रहा है…',
'bootCheck.testConnection': 'कनेक्शन टेस्ट करें',
'bootCheck.connectedOk': 'कनेक्ट हो गया। आप तैयार हैं।',
'bootCheck.authFailed': 'वह टोकन काम नहीं किया। दोबारा चेक करके कोशिश करें।',
'bootCheck.unreachablePrefix': 'नहीं पहुँच पाए:',
- 'bootCheck.checkingCore': 'आपका रनटाइम जगा रहे हैं…',
- 'bootCheck.cannotReach': 'रनटाइम तक नहीं पहुँच पाए',
- 'bootCheck.cannotReachDesc':
- 'आपके रनटाइम से कनेक्ट नहीं हो पाया। कोई और रनटाइम ट्राई करना चाहते हैं?',
- 'bootCheck.switchMode': 'कोई और रनटाइम चुनें',
+ 'bootCheck.checkingCore': 'OpenHuman शुरू हो रहा है…',
+ 'bootCheck.cannotReach': 'पहुँच नहीं पा रहे',
+ 'bootCheck.cannotReachDesc': 'हम कनेक्ट नहीं कर सके। क्या कहीं और कोशिश करना चाहेंगे?',
+ 'bootCheck.switchMode': 'बदलें कि यह कहाँ चले',
'bootCheck.quit': 'बंद करें',
- 'bootCheck.legacyDetected': 'पुराना बैकग्राउंड रनटाइम मिला',
+ 'bootCheck.legacyDetected': 'पुरानी बैकग्राउंड सेवा मिली',
'bootCheck.legacyDescription':
- 'इस डिवाइस पर अलग से इन्स्टॉल किया OpenHuman daemon पहले से चल रहा है। बिल्ट-इन रनटाइम शुरू होने से पहले इसे हटाना होगा।',
+ 'इस डिवाइस पर अलग से इंस्टॉल किया गया OpenHuman डेमन पहले से चल रहा है। बिल्ट-इन वाले के काम संभालने से पहले हमें इसे हटाना होगा।',
'bootCheck.removing': 'हटाया जा रहा है…',
'bootCheck.removeContinue': 'हटाएं और जारी रखें',
- 'bootCheck.localNeedsRestart': 'लोकल रनटाइम को रीस्टार्ट चाहिए',
+ 'bootCheck.localNeedsRestart': 'OpenHuman को रीस्टार्ट करना होगा',
'bootCheck.localNeedsRestartDesc':
- 'आपका लोकल रनटाइम इस ऐप से अलग वर्जन पर है। एक जल्दी रीस्टार्ट से दोनों सिंक हो जाएंगे।',
+ 'इस कंप्यूटर पर OpenHuman का वर्शन इस ऐप से अलग है। एक छोटा रीस्टार्ट दोनों को फिर से मिला देगा।',
'bootCheck.restarting': 'रीस्टार्ट हो रहा है…',
- 'bootCheck.restartCore': 'रनटाइम रीस्टार्ट करें',
- 'bootCheck.cloudNeedsUpdate': 'क्लाउड रनटाइम को अपडेट चाहिए',
+ 'bootCheck.restartCore': 'रीस्टार्ट करें',
+ 'bootCheck.cloudNeedsUpdate': 'आपके सर्वर को अपडेट की ज़रूरत है',
'bootCheck.cloudNeedsUpdateDesc':
- 'आपका क्लाउड रनटाइम इस ऐप से अलग वर्जन पर है। अपडेटर चलाएं ताकि दोनों सिंक हो जाएं।',
+ 'आपके सर्वर का वर्शन इस ऐप से अलग है। दोनों को फिर से मिलाने के लिए अपडेटर चलाएँ।',
'bootCheck.updating': 'अपडेट हो रहा है…',
- 'bootCheck.updateCloudCore': 'क्लाउड रनटाइम अपडेट करें',
- 'bootCheck.versionCheckFailed': 'रनटाइम वर्जन चेक विफल',
+ 'bootCheck.updateCloudCore': 'सर्वर अपडेट करें',
+ 'bootCheck.versionCheckFailed': 'वर्शन जाँच विफल रही',
'bootCheck.versionCheckFailedDesc':
- 'आपका रनटाइम चल रहा है लेकिन वर्जन रिपोर्ट नहीं कर रहा। शायद पुराना हो। जारी रखने के लिए रीस्टार्ट या अपडेट करें।',
+ 'आपका सर्वर चल रहा है, लेकिन अपना वर्शन नहीं बता रहा। हो सकता है वह पुराना हो। जारी रखने के लिए उसे रीस्टार्ट या अपडेट करें।',
'bootCheck.working': 'काम हो रहा है…',
- 'bootCheck.restartUpdateCore': 'रनटाइम रीस्टार्ट / अपडेट करें',
+ 'bootCheck.restartUpdateCore': 'रीस्टार्ट / अपडेट करें',
'bootCheck.unexpectedError': 'अनपेक्षित बूट-चेक एरर',
'bootCheck.actionFailed': 'कुछ गड़बड़ हो गई। दोबारा कोशिश करें।',
'bootCheck.portConflictTitle': 'ऐप इंजन शुरू नहीं हो सका',
@@ -4305,9 +4333,9 @@ const messages: TranslationMap = {
// Monthly cost badge
- 'onboarding.custom.vault.title': 'मेमोरी और वॉल्ट सेटअप',
+ 'onboarding.custom.vault.title': 'OpenHuman को एक याददाश्त दें',
'onboarding.custom.vault.subtitle':
- 'पुष्टि करें कि मेमोरी नोट्स कहाँ लिखे जाते हैं, स्रोत डेटा कैसे पढ़ा जाता है, और आपका वॉल्ट पाइपलाइन स्वस्थ है या नहीं।',
+ 'जहाँ आप उसे जो बताते हैं वह सहेजा जाता है, ताकि वह अलग-अलग चैट में साथ रहे।',
'onboarding.custom.vault.defaultDesc':
'OpenHuman-प्रबंधित मेमोरी डिफ़ॉल्ट का उपयोग करें। वॉल्ट पाथ और सिंक स्वास्थ्य बाद में भी देखे जा सकते हैं।',
'onboarding.custom.vault.configureDesc':
@@ -4931,6 +4959,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'मेमोरी इंजन तक पहुँचा नहीं जा सकता',
'memoryPage.engine.statusOff': 'बंद',
'memoryPage.engine.active': 'सक्रिय',
+ 'memoryPage.engine.recommended': 'अनुशंसित',
'memoryPage.engine.use': 'उपयोग करें',
'memoryPage.engine.edit': 'संपादित करें',
'memoryPage.engine.signInRequired': 'साइन इन ज़रूरी है',
diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.ts
index 51e6c581b2..3491119630 100644
--- a/app/src/lib/i18n/id.ts
+++ b/app/src/lib/i18n/id.ts
@@ -441,6 +441,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'Kebijakan Privasi',
'welcome.termsOutro': '.',
'welcome.connect': 'Uji',
+ 'welcome.hero.subtitle': 'AI Anda, dengan memori, suara, dan seluruh web.',
+ 'welcome.th.title': 'Lanjutkan dengan TinyHumans',
+ 'welcome.th.promise': 'Satu akun. Semua sudah termasuk. Tidak perlu konfigurasi.',
+ 'welcome.th.featureInference': 'Inferensi',
+ 'welcome.th.featureSearch': 'Pencarian web',
+ 'welcome.th.featureVoice': 'Suara',
+ 'welcome.th.featureMemory': 'Memori',
+ 'welcome.th.featureEmbeddings': 'Embedding',
+ 'welcome.th.featureBilling': 'Penagihan',
+ 'welcome.th.credit': 'Kredit $5 untuk memulai',
+ 'welcome.th.cta': 'Lanjutkan dengan TinyHumans',
+ 'welcome.th.providers': 'Masuk dengan Google, GitHub, atau X',
+ 'welcome.self.title': 'Siapkan sendiri',
+ 'welcome.self.promise': 'Gunakan kunci API dan endpoint Anda sendiri.',
+ 'welcome.self.listLabel': 'Anda akan menyiapkan:',
+ 'welcome.self.step1': 'Inferensi',
+ 'welcome.self.step2': 'Pencarian web',
+ 'welcome.self.step3': 'Memori',
+ 'welcome.self.time': 'Sekitar 3 menit. Ubah apa pun nanti di Pengaturan.',
+ 'welcome.self.cta': 'Siapkan sendiri',
+ 'welcome.serverPrompt': 'Sudah menjalankan OpenHuman di server?',
+ 'welcome.serverCta': 'Hubungkan ke sana.',
+ 'welcome.handoff.title': 'Menyelesaikan proses masuk di browser Anda',
+ 'welcome.handoff.body': 'Kami membuka tinyhumans.ai — kembali setelah selesai.',
+ 'welcome.handoff.reopen': 'Buka halaman lagi',
+ 'welcome.handoff.failedTitle': 'Proses masuk tidak kembali',
+ 'welcome.handoff.failedBody': 'Browser mungkin memblokir kembalinya ke OpenHuman.',
+ 'welcome.handoff.retry': 'Coba lagi',
+ 'welcome.handoff.fallbackSelf': 'Siapkan sendiri saja',
'home.askAssistant': 'Tanyakan apa saja ke asisten Anda...',
'home.statusOk': 'Asistenmu siap kapan pun kamu siap. Ketik sesuatu di bawah untuk memulai.',
'home.statusBackendOnly':
@@ -745,9 +774,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'Anda dapat menyelesaikan pengaturan ini setelah orientasi. Kami akan mengarahkan Anda ke halaman Pengaturan yang sesuai setelah selesai.',
'onboarding.custom.openSettings': 'Buka di Pengaturan',
- 'onboarding.custom.inference.title': 'Inferensi (Teks)',
+ 'onboarding.custom.inference.title': 'Pilih penyedia model',
'onboarding.custom.inference.subtitle':
- 'Model bahasa mana yang harus menjawab pertanyaan dan menjalankan agen Anda?',
+ 'OpenHuman membutuhkan model untuk berpikir. Tambahkan kunci untuk penyedia yang sudah Anda gunakan, atau arahkan ke model yang berjalan secara lokal.',
'onboarding.custom.inference.defaultDesc':
'OpenHuman mengarahkan setiap beban kerja ke model default yang masuk akal. Tidak perlu key, tidak perlu pengaturan.',
'onboarding.custom.inference.configureDesc':
@@ -765,8 +794,9 @@ const messages: TranslationMap = {
'OpenHuman menjalankan workspace Composio terkelola. Satu klik untuk menghubungkan setiap layanan nanti.',
'onboarding.custom.oauth.configureDesc':
'Bawa akun Composio / API key Anda sendiri. Konfigurasi di Pengaturan › Koneksi.',
- 'onboarding.custom.search.title': 'Pencarian Web',
- 'onboarding.custom.search.subtitle': 'Cara OpenHuman mencari web atas nama Anda.',
+ 'onboarding.custom.search.title': 'Biarkan OpenHuman mencari di web',
+ 'onboarding.custom.search.subtitle':
+ 'Tanpa ini, OpenHuman hanya tahu apa yang dipelajarinya saat dilatih.',
'onboarding.custom.search.defaultDesc':
'Pencarian web langsung berfungsi: Exa dan Gemini sudah termasuk dalam TinyHumans, tanpa kunci API.',
'onboarding.custom.search.configureDesc':
@@ -1613,62 +1643,60 @@ const messages: TranslationMap = {
'stats.latest': 'Terbaru',
'stats.sessions': 'Sesi',
'stats.tokens': 'token',
- 'bootCheck.invalidUrl': 'Masukkan URL runtime.',
+ 'bootCheck.invalidUrl': 'Masukkan alamat.',
'bootCheck.urlMustStartWith': 'URL harus diawali dengan http:// atau https://',
'bootCheck.validUrlRequired': 'Itu bukan URL yang valid (coba https://core.example.com/rpc)',
'bootCheck.tokenRequired': 'Kami memerlukan token autentikasi untuk terhubung.',
'bootCheck.httpPublicWarning':
'Ini adalah URL HTTP biasa pada host publik: lalu lintas tidak akan dienkripsi. Gunakan HTTPS kecuali Anda memercayai jaringan ini.',
- 'bootCheck.chooseCoreMode': 'Pilih Runtime',
- 'bootCheck.connectToCore': 'Hubungkan ke Runtime Anda',
+ 'bootCheck.chooseCoreMode': 'Di mana OpenHuman harus berjalan?',
+ 'bootCheck.connectToCore': 'Hubungkan ke OpenHuman',
'bootCheck.desktopDescription':
- 'OpenHuman memerlukan runtime untuk berpikir. Pilih di mana runtime harus berada.',
+ 'OpenHuman tidak dapat dimulai di Mac ini. Pilih di mana ia harus berjalan.',
'bootCheck.webDescription':
- 'Di web, OpenHuman terhubung ke runtime yang Anda kendalikan. Masukkan URL dan token autentikasi di bawah, atau ambil aplikasi desktop untuk menjalankannya langsung di mesin Anda.',
+ 'Di web, OpenHuman terhubung ke server yang Anda kendalikan. Masukkan alamat dan token-nya di bawah, atau unduh aplikasi desktop untuk menjalankannya langsung di perangkat Anda.',
'bootCheck.preferDesktop': 'Lebih suka menyimpan semuanya di perangkat Anda sendiri?',
'bootCheck.downloadDesktop': 'Dapatkan Aplikasi Desktop',
- 'bootCheck.localRecommended': 'Jalankan Secara Lokal (Direkomendasikan)',
- 'bootCheck.localDescription':
- 'Berjalan langsung di komputer Anda. Tercepat, sepenuhnya privat, tidak perlu pengaturan.',
- 'bootCheck.cloudMode': 'Jalankan di Cloud (Kompleks)',
+ 'bootCheck.localRecommended': 'Di Mac ini',
+ 'bootCheck.localDescription': 'Paling cepat, sepenuhnya privat, tanpa perlu pengaturan.',
+ 'bootCheck.cloudMode': 'Di server yang saya kelola',
'bootCheck.cloudDescription':
- 'Hubungkan ke runtime yang Anda hosting di tempat lain. Tetap online 24×7 sehingga Anda tidak perlu terus menjalankan perangkat ini.',
- 'bootCheck.coreRpcUrl': 'URL Runtime',
+ 'Tetap online 24 jam sehari, jadi Mac ini tidak perlu terus menyala.',
+ 'bootCheck.coreRpcUrl': 'Alamat',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'Token Autentikasi',
- 'bootCheck.bearerTokenPlaceholder': 'Token bearer dari runtime jarak jauh Anda',
+ 'bootCheck.authToken': 'Token',
+ 'bootCheck.bearerTokenPlaceholder': 'Token dari server Anda',
'bootCheck.storedLocally': 'Hanya disimpan di perangkat ini. Dikirim sebagai ',
'bootCheck.testing': 'Menguji...',
'bootCheck.testConnection': 'Uji Koneksi',
'bootCheck.connectedOk': 'Terhubung. Anda siap melanjutkan.',
'bootCheck.authFailed': 'Token tersebut tidak berfungsi. Periksa kembali dan coba lagi.',
'bootCheck.unreachablePrefix': 'Tidak dapat mencapainya:',
- 'bootCheck.checkingCore': 'Membangunkan runtime Anda...',
- 'bootCheck.cannotReach': 'Tidak Dapat Menjangkau Runtime',
- 'bootCheck.cannotReachDesc':
- 'Kami tidak dapat terhubung ke runtime Anda. Ingin mencoba yang berbeda?',
- 'bootCheck.switchMode': 'Pilih Runtime Berbeda',
+ 'bootCheck.checkingCore': 'Memulai OpenHuman…',
+ 'bootCheck.cannotReach': 'Tidak dapat terhubung',
+ 'bootCheck.cannotReachDesc': 'Kami tidak dapat terhubung. Ingin mencoba di tempat lain?',
+ 'bootCheck.switchMode': 'Ubah tempat menjalankannya',
'bootCheck.quit': 'Keluar',
- 'bootCheck.legacyDetected': 'Runtime Latar Belakang Lama Terdeteksi',
+ 'bootCheck.legacyDetected': 'Layanan latar belakang lama ditemukan',
'bootCheck.legacyDescription':
- 'Daemon OpenHuman yang diinstal terpisah sudah berjalan di perangkat ini. Kami perlu membersihkannya sebelum runtime bawaan dapat mengambil alih.',
+ 'Daemon OpenHuman yang dipasang terpisah sudah berjalan di perangkat ini. Kami perlu menghapusnya sebelum yang bawaan dapat mengambil alih.',
'bootCheck.removing': 'Menghapus...',
'bootCheck.removeContinue': 'Hapus dan Lanjutkan',
- 'bootCheck.localNeedsRestart': 'Runtime Lokal Perlu Dimulai Ulang',
+ 'bootCheck.localNeedsRestart': 'OpenHuman perlu dimulai ulang',
'bootCheck.localNeedsRestartDesc':
- 'Runtime lokal Anda menggunakan versi berbeda dari aplikasi ini. Mulai ulang cepat akan menyinkronkannya kembali.',
+ 'OpenHuman di Mac ini memiliki versi yang berbeda dari aplikasi ini. Mulai ulang singkat akan menyinkronkannya kembali.',
'bootCheck.restarting': 'Memulai ulang...',
- 'bootCheck.restartCore': 'Mulai Ulang Runtime',
- 'bootCheck.cloudNeedsUpdate': 'Runtime Cloud Perlu Diperbarui',
+ 'bootCheck.restartCore': 'Mulai ulang',
+ 'bootCheck.cloudNeedsUpdate': 'Server Anda perlu diperbarui',
'bootCheck.cloudNeedsUpdateDesc':
- 'Runtime cloud Anda menggunakan versi berbeda dari aplikasi ini. Jalankan pembaruan untuk menyinkronkannya kembali.',
+ 'Server Anda memiliki versi yang berbeda dari aplikasi ini. Jalankan pembaruan untuk menyinkronkannya kembali.',
'bootCheck.updating': 'Memperbarui...',
- 'bootCheck.updateCloudCore': 'Perbarui Runtime Cloud',
- 'bootCheck.versionCheckFailed': 'Pemeriksaan Versi Runtime Gagal',
+ 'bootCheck.updateCloudCore': 'Perbarui server',
+ 'bootCheck.versionCheckFailed': 'Pemeriksaan versi gagal',
'bootCheck.versionCheckFailedDesc':
- 'Runtime Anda aktif tetapi tidak melaporkan versinya. Mungkin sudah usang. Mulai ulang atau perbarui untuk melanjutkan.',
+ 'Server Anda aktif tetapi tidak melaporkan versinya. Mungkin sudah usang. Mulai ulang atau perbarui untuk melanjutkan.',
'bootCheck.working': 'Memproses...',
- 'bootCheck.restartUpdateCore': 'Mulai Ulang / Perbarui Runtime',
+ 'bootCheck.restartUpdateCore': 'Mulai ulang / Perbarui',
'bootCheck.unexpectedError': 'Kesalahan Boot-Check Tak Terduga',
'bootCheck.actionFailed': 'Terjadi kesalahan. Silakan coba lagi.',
'bootCheck.portConflictTitle': 'Tidak dapat memulai mesin aplikasi',
@@ -4334,9 +4362,9 @@ const messages: TranslationMap = {
// Monthly cost badge
- 'onboarding.custom.vault.title': 'Pengaturan Memori & Vault',
+ 'onboarding.custom.vault.title': 'Beri OpenHuman ingatan',
'onboarding.custom.vault.subtitle':
- 'Konfirmasi di mana catatan memori ditulis, bagaimana data sumber dibaca, dan apakah pipeline vault Anda sehat.',
+ 'Tempat apa yang Anda sampaikan disimpan, agar terbawa di berbagai obrolan.',
'onboarding.custom.vault.defaultDesc':
'Gunakan default memori yang dikelola OpenHuman. Jalur vault dan kondisi sinkronisasi tetap dapat ditinjau nanti.',
'onboarding.custom.vault.configureDesc':
@@ -4973,6 +5001,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'Mesin memori tidak dapat dijangkau',
'memoryPage.engine.statusOff': 'Nonaktif',
'memoryPage.engine.active': 'Aktif',
+ 'memoryPage.engine.recommended': 'Direkomendasikan',
'memoryPage.engine.use': 'Gunakan',
'memoryPage.engine.edit': 'Ubah',
'memoryPage.engine.signInRequired': 'Perlu masuk',
diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.ts
index 6e47c380d0..a0fb5d91a1 100644
--- a/app/src/lib/i18n/it.ts
+++ b/app/src/lib/i18n/it.ts
@@ -447,6 +447,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'Informativa sulla privacy',
'welcome.termsOutro': '.',
'welcome.connect': 'Test',
+ 'welcome.hero.subtitle': 'La tua IA, con memoria, voce e tutto il web.',
+ 'welcome.th.title': 'Continua con TinyHumans',
+ 'welcome.th.promise': 'Un solo account. Tutto incluso. Niente da configurare.',
+ 'welcome.th.featureInference': 'Inferenza',
+ 'welcome.th.featureSearch': 'Ricerca web',
+ 'welcome.th.featureVoice': 'Voce',
+ 'welcome.th.featureMemory': 'Memoria',
+ 'welcome.th.featureEmbeddings': 'Embedding',
+ 'welcome.th.featureBilling': 'Fatturazione',
+ 'welcome.th.credit': '5 $ di credito per iniziare',
+ 'welcome.th.cta': 'Continua con TinyHumans',
+ 'welcome.th.providers': 'Accedi con Google, GitHub o X',
+ 'welcome.self.title': 'Lo configuro io',
+ 'welcome.self.promise': 'Porta le tue chiavi API e i tuoi endpoint.',
+ 'welcome.self.listLabel': 'Configurerai:',
+ 'welcome.self.step1': 'Inferenza',
+ 'welcome.self.step2': 'Ricerca web',
+ 'welcome.self.step3': 'Memoria',
+ 'welcome.self.time': 'Circa 3 minuti. Cambia tutto più tardi in Impostazioni.',
+ 'welcome.self.cta': 'Lo configuro io',
+ 'welcome.serverPrompt': 'Esegui già OpenHuman su un server?',
+ 'welcome.serverCta': 'Connettiti.',
+ 'welcome.handoff.title': "Completamento dell'accesso nel browser",
+ 'welcome.handoff.body': 'Abbiamo aperto tinyhumans.ai: torna quando hai finito.',
+ 'welcome.handoff.reopen': 'Riapri la pagina',
+ 'welcome.handoff.failedTitle': "L'accesso non è tornato indietro",
+ 'welcome.handoff.failedBody': 'Il browser potrebbe aver bloccato il ritorno a OpenHuman.',
+ 'welcome.handoff.retry': 'Riprova',
+ 'welcome.handoff.fallbackSelf': 'Preferisco configurarlo io',
'home.askAssistant': 'Chiedi qualsiasi cosa al tuo assistente...',
'home.statusOk':
'Il tuo assistente è pronto quando lo sei tu. Scrivi qualcosa qui sotto per iniziare.',
@@ -753,9 +782,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
"Puoi finire di configurare dopo l'onboarding. Ti porteremo alla pagina Impostazioni corrispondente al termine.",
'onboarding.custom.openSettings': 'Apri in Impostazioni',
- 'onboarding.custom.inference.title': 'Inferenza (testo)',
+ 'onboarding.custom.inference.title': 'Scegli un fornitore di modelli',
'onboarding.custom.inference.subtitle':
- 'Quale modello linguistico dovrebbe rispondere alle tue domande ed eseguire i tuoi agenti?',
+ 'OpenHuman ha bisogno di un modello con cui ragionare. Aggiungi una chiave per un fornitore che già usi, oppure punta a uno in esecuzione in locale.',
'onboarding.custom.inference.defaultDesc':
'OpenHuman instrada ogni carico di lavoro a un modello predefinito sensato. Niente chiavi, niente configurazione.',
'onboarding.custom.inference.configureDesc':
@@ -773,8 +802,9 @@ const messages: TranslationMap = {
'OpenHuman gestisce un workspace Composio gestito. Un clic per connettere ogni servizio in seguito.',
'onboarding.custom.oauth.configureDesc':
'Porta il tuo account Composio / chiave API. Configura in Impostazioni › Connessioni.',
- 'onboarding.custom.search.title': 'Ricerca web',
- 'onboarding.custom.search.subtitle': 'Come OpenHuman cerca sul web per tuo conto.',
+ 'onboarding.custom.search.title': 'Lascia che OpenHuman cerchi sul web',
+ 'onboarding.custom.search.subtitle':
+ 'Senza questo, OpenHuman conosce solo ciò su cui è stato addestrato.',
'onboarding.custom.search.defaultDesc':
'La ricerca web funziona subito: Exa e Gemini sono inclusi con TinyHumans, senza chiave API.',
'onboarding.custom.search.configureDesc':
@@ -1632,62 +1662,60 @@ const messages: TranslationMap = {
'stats.latest': 'Ultime',
'stats.sessions': 'Sessioni',
'stats.tokens': 'token',
- 'bootCheck.invalidUrl': 'Inserisci un URL di runtime.',
+ 'bootCheck.invalidUrl': 'Inserisci un indirizzo.',
'bootCheck.urlMustStartWith': "L'URL deve iniziare con http:// o https://",
'bootCheck.validUrlRequired': 'Non sembra un URL valido (prova https://core.example.com/rpc)',
'bootCheck.tokenRequired': 'Servirà un token di autenticazione per connettersi.',
'bootCheck.httpPublicWarning':
'Questo è un URL HTTP in chiaro su un host pubblico: il traffico non sarà cifrato. Usa HTTPS a meno che tu non ti fidi di questa rete.',
- 'bootCheck.chooseCoreMode': 'Seleziona un runtime',
- 'bootCheck.connectToCore': 'Connetti al tuo runtime',
+ 'bootCheck.chooseCoreMode': 'Dove deve funzionare OpenHuman?',
+ 'bootCheck.connectToCore': 'Connettiti a OpenHuman',
'bootCheck.desktopDescription':
- 'OpenHuman ha bisogno di un runtime per pensare. Scegli dove farlo girare.',
+ 'OpenHuman non è riuscito ad avviarsi su questo Mac. Scegli dove deve funzionare.',
'bootCheck.webDescription':
- "Sul web, OpenHuman si connette a un runtime che controlli tu. Inserisci sotto URL e token di autenticazione, oppure scarica l'app desktop per farne girare uno direttamente sulla tua macchina.",
+ "Sul web, OpenHuman si connette a un server che controlli tu. Inserisci qui sotto il suo indirizzo e il token, oppure scarica l'app desktop per eseguirlo direttamente sul tuo computer.",
'bootCheck.preferDesktop': 'Preferisci tenere tutto sul tuo dispositivo?',
'bootCheck.downloadDesktop': "Scarica l'app desktop",
- 'bootCheck.localRecommended': 'Esegui localmente (consigliato)',
- 'bootCheck.localDescription':
- 'Gira direttamente sul tuo computer. Più veloce, completamente privato, niente da configurare.',
- 'bootCheck.cloudMode': 'Esegui sul cloud (complesso)',
+ 'bootCheck.localRecommended': 'Su questo Mac',
+ 'bootCheck.localDescription': 'Il più veloce, completamente privato, niente da configurare.',
+ 'bootCheck.cloudMode': 'Su un server che gestisco io',
'bootCheck.cloudDescription':
- 'Connettiti a un runtime che stai ospitando altrove. Resta online 24×7 così non devi tenere acceso questo dispositivo.',
- 'bootCheck.coreRpcUrl': 'URL runtime',
+ 'Resta online 24 ore su 24, così non devi tenere acceso questo Mac.',
+ 'bootCheck.coreRpcUrl': 'Indirizzo',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'Token di autenticazione',
- 'bootCheck.bearerTokenPlaceholder': 'Il bearer token del tuo runtime remoto',
+ 'bootCheck.authToken': 'Token',
+ 'bootCheck.bearerTokenPlaceholder': 'Il token del tuo server',
'bootCheck.storedLocally': 'Conservato solo su questo dispositivo. Inviato come ',
'bootCheck.testing': 'Test in corso…',
'bootCheck.testConnection': 'Prova connessione',
'bootCheck.connectedOk': 'Connesso. Tutto a posto.',
'bootCheck.authFailed': 'Token non valido. Controllalo e riprova.',
'bootCheck.unreachablePrefix': 'Impossibile raggiungerlo:',
- 'bootCheck.checkingCore': 'Attivazione del runtime…',
- 'bootCheck.cannotReach': 'Impossibile raggiungere il runtime',
- 'bootCheck.cannotReachDesc':
- 'Non siamo riusciti a connetterci al tuo runtime. Vuoi provarne uno diverso?',
- 'bootCheck.switchMode': 'Scegli un runtime diverso',
+ 'bootCheck.checkingCore': 'Avvio di OpenHuman…',
+ 'bootCheck.cannotReach': 'Impossibile raggiungerlo',
+ 'bootCheck.cannotReachDesc': 'Non siamo riusciti a connetterci. Vuoi provare altrove?',
+ 'bootCheck.switchMode': 'Cambia dove funziona',
'bootCheck.quit': 'Esci',
- 'bootCheck.legacyDetected': 'Runtime in background legacy rilevato',
+ 'bootCheck.legacyDetected': 'Trovato un vecchio servizio in background',
'bootCheck.legacyDescription':
- 'Un daemon OpenHuman installato separatamente è già in esecuzione su questo dispositivo. Dobbiamo rimuoverlo prima che il runtime integrato possa subentrare.',
+ 'Su questo dispositivo è già in esecuzione un daemon OpenHuman installato separatamente. Dobbiamo rimuoverlo prima che quello integrato possa subentrare.',
'bootCheck.removing': 'Rimozione…',
'bootCheck.removeContinue': 'Rimuovi e continua',
- 'bootCheck.localNeedsRestart': 'Il runtime locale necessita di un riavvio',
+ 'bootCheck.localNeedsRestart': 'OpenHuman deve essere riavviato',
'bootCheck.localNeedsRestartDesc':
- "Il tuo runtime locale ha una versione diversa da quella dell'app. Un riavvio rapido li riallineerà.",
+ 'OpenHuman su questo Mac ha una versione diversa da questa app. Un rapido riavvio li riallineerà.',
'bootCheck.restarting': 'Riavvio…',
- 'bootCheck.restartCore': 'Riavvia runtime',
- 'bootCheck.cloudNeedsUpdate': 'Il runtime cloud necessita di un aggiornamento',
+ 'bootCheck.restartCore': 'Riavvia',
+ 'bootCheck.cloudNeedsUpdate': 'Il tuo server richiede un aggiornamento',
'bootCheck.cloudNeedsUpdateDesc':
- "Il tuo runtime cloud ha una versione diversa da quella dell'app. Esegui l'updater per riallinearli.",
+ "Il tuo server ha una versione diversa da questa app. Esegui l'aggiornamento per riallinearli.",
'bootCheck.updating': 'Aggiornamento…',
- 'bootCheck.updateCloudCore': 'Aggiorna runtime cloud',
- 'bootCheck.versionCheckFailed': 'Verifica versione runtime fallita',
+ 'bootCheck.updateCloudCore': 'Aggiorna server',
+ 'bootCheck.versionCheckFailed': 'Controllo della versione non riuscito',
'bootCheck.versionCheckFailedDesc':
- 'Il runtime è attivo ma non comunica la sua versione. Potrebbe essere obsoleto. Riavvialo o aggiornalo per continuare.',
+ 'Il tuo server è attivo ma non comunica la propria versione. Potrebbe essere obsoleto. Riavvialo o aggiornalo per continuare.',
'bootCheck.working': 'Elaborazione…',
- 'bootCheck.restartUpdateCore': 'Riavvia / aggiorna runtime',
+ 'bootCheck.restartUpdateCore': 'Riavvia / Aggiorna',
'bootCheck.unexpectedError': 'Errore inatteso del controllo di avvio',
'bootCheck.actionFailed': 'Qualcosa è andato storto. Riprova.',
'bootCheck.portConflictTitle': "Impossibile avviare il motore dell'app",
@@ -4373,9 +4401,9 @@ const messages: TranslationMap = {
// Monthly cost badge
// Onboarding: Custom > Vault
- 'onboarding.custom.vault.title': 'Configurazione memoria e Vault',
+ 'onboarding.custom.vault.title': 'Dai una memoria a OpenHuman',
'onboarding.custom.vault.subtitle':
- 'Conferma dove vengono scritte le note di memoria, come vengono letti i dati sorgente e se la pipeline del vault è integra.',
+ "Dove viene salvato ciò che gli dici, così resta da una chat all'altra.",
'onboarding.custom.vault.defaultDesc':
'Usa le impostazioni di memoria predefinite gestite da OpenHuman. Il percorso del vault e la salute della sincronizzazione possono essere verificati in seguito.',
'onboarding.custom.vault.configureDesc':
@@ -5011,6 +5039,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'Il motore di memoria non è raggiungibile',
'memoryPage.engine.statusOff': 'Disattivata',
'memoryPage.engine.active': 'Attivo',
+ 'memoryPage.engine.recommended': 'Consigliato',
'memoryPage.engine.use': 'Usa',
'memoryPage.engine.edit': 'Modifica',
'memoryPage.engine.signInRequired': 'Accesso richiesto',
diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.ts
index 9257a356c3..45043c80bd 100644
--- a/app/src/lib/i18n/ko.ts
+++ b/app/src/lib/i18n/ko.ts
@@ -429,6 +429,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': '개인정보 보호정책에 동의하게 됩니다.',
'welcome.termsOutro': '.',
'welcome.connect': '테스트',
+ 'welcome.hero.subtitle': '기억과 음성, 그리고 웹 전체를 갖춘 나만의 AI.',
+ 'welcome.th.title': 'TinyHumans로 계속하기',
+ 'welcome.th.promise': '계정 하나. 모든 것이 포함. 설정할 것은 없습니다.',
+ 'welcome.th.featureInference': '추론',
+ 'welcome.th.featureSearch': '웹 검색',
+ 'welcome.th.featureVoice': '음성',
+ 'welcome.th.featureMemory': '메모리',
+ 'welcome.th.featureEmbeddings': '임베딩',
+ 'welcome.th.featureBilling': '결제',
+ 'welcome.th.credit': '시작 크레딧 $5',
+ 'welcome.th.cta': 'TinyHumans로 계속하기',
+ 'welcome.th.providers': 'Google, GitHub 또는 X로 로그인',
+ 'welcome.self.title': '직접 설정하기',
+ 'welcome.self.promise': '직접 가진 API 키와 엔드포인트를 사용하세요.',
+ 'welcome.self.listLabel': '설정할 항목:',
+ 'welcome.self.step1': '추론',
+ 'welcome.self.step2': '웹 검색',
+ 'welcome.self.step3': '메모리',
+ 'welcome.self.time': '약 3분 걸립니다. 나중에 설정에서 언제든 바꿀 수 있습니다.',
+ 'welcome.self.cta': '직접 설정하기',
+ 'welcome.serverPrompt': '이미 서버에서 OpenHuman을 실행 중이신가요?',
+ 'welcome.serverCta': '서버에 연결하기.',
+ 'welcome.handoff.title': '브라우저에서 로그인을 마무리하는 중',
+ 'welcome.handoff.body': 'tinyhumans.ai를 열었습니다. 완료되면 돌아오세요.',
+ 'welcome.handoff.reopen': '페이지 다시 열기',
+ 'welcome.handoff.failedTitle': '로그인이 돌아오지 않았습니다',
+ 'welcome.handoff.failedBody': '브라우저가 OpenHuman으로의 복귀를 차단했을 수 있습니다.',
+ 'welcome.handoff.retry': '다시 시도',
+ 'welcome.handoff.fallbackSelf': '대신 직접 설정하기',
'home.askAssistant': '어시스턴트에게 무엇이든 물어보세요...',
'home.statusOk': '어시스턴트가 준비되어 있어요. 아래에 무언가 입력해 시작하세요.',
'home.statusBackendOnly':
@@ -726,9 +755,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'온보딩 후에 이 설정을 마칠 수 있습니다. 완료되면 해당 설정 페이지로 이동합니다.',
'onboarding.custom.openSettings': '설정에서 열기',
- 'onboarding.custom.inference.title': '추론(텍스트)',
+ 'onboarding.custom.inference.title': '모델 제공자를 선택하세요',
'onboarding.custom.inference.subtitle':
- '어떤 언어 모델이 질문에 답하고 에이전트를 실행해야 하나요?',
+ 'OpenHuman이 생각하려면 모델이 필요합니다. 이미 사용 중인 제공자의 키를 추가하거나, 로컬에서 실행 중인 모델을 지정하세요.',
'onboarding.custom.inference.defaultDesc':
'OpenHuman은 모든 작업을 적절한 기본 모델로 라우팅합니다. 키도 필요 없고 설정도 필요 없습니다.',
'onboarding.custom.inference.configureDesc':
@@ -747,8 +776,8 @@ const messages: TranslationMap = {
'OpenHuman은 관리형 Composio 워크스페이스를 실행합니다. 나중에 각 서비스를 한 번의 클릭으로 연결할 수 있습니다.',
'onboarding.custom.oauth.configureDesc':
'직접 Composio 계정 또는 API 키를 가져오세요. 설정 › 연결에서 구성할 수 있습니다.',
- 'onboarding.custom.search.title': '웹 검색',
- 'onboarding.custom.search.subtitle': 'OpenHuman이 사용자를 대신해 웹을 검색하는 방식입니다.',
+ 'onboarding.custom.search.title': 'OpenHuman이 웹을 검색하게 하세요',
+ 'onboarding.custom.search.subtitle': '이 기능이 없으면 OpenHuman은 학습된 내용만 알고 있습니다.',
'onboarding.custom.search.defaultDesc':
'웹 검색은 바로 작동합니다. Exa와 Gemini가 TinyHumans에 포함되어 있어 API 키가 필요 없습니다.',
'onboarding.custom.search.configureDesc':
@@ -1588,61 +1617,60 @@ const messages: TranslationMap = {
'stats.latest': '최신',
'stats.sessions': '세션',
'stats.tokens': '토큰',
- 'bootCheck.invalidUrl': '런타임 URL을 입력해 주세요.',
+ 'bootCheck.invalidUrl': '주소를 입력하세요.',
'bootCheck.urlMustStartWith': 'URL은 http:// 또는 https://로 시작해야 합니다',
'bootCheck.validUrlRequired': '유효한 URL처럼 보이지 않습니다(예: https://core.example.com/rpc)',
'bootCheck.tokenRequired': '연결하려면 인증 토큰이 필요합니다.',
'bootCheck.httpPublicWarning':
'공개 호스트의 일반 HTTP URL입니다: 트래픽이 암호화되지 않습니다. 이 네트워크를 신뢰하지 않는다면 HTTPS를 사용하세요.',
- 'bootCheck.chooseCoreMode': '런타임 선택',
- 'bootCheck.connectToCore': '런타임에 연결',
+ 'bootCheck.chooseCoreMode': 'OpenHuman을 어디에서 실행할까요?',
+ 'bootCheck.connectToCore': 'OpenHuman에 연결',
'bootCheck.desktopDescription':
- 'OpenHuman은 생각하기 위한 런타임이 필요합니다. 어디에서 실행할지 선택하세요.',
+ '이 Mac에서 OpenHuman을 시작하지 못했습니다. 실행할 위치를 선택하세요.',
'bootCheck.webDescription':
- '웹에서 OpenHuman은 사용자가 제어하는 런타임에 연결됩니다. 아래에 URL과 인증 토큰을 입력하거나, 데스크톱 앱을 받아 이 컴퓨터에서 바로 실행하세요.',
+ '웹에서 OpenHuman은 직접 관리하는 서버에 연결합니다. 아래에 서버 주소와 토큰을 입력하거나, 데스크톱 앱을 받아 내 컴퓨터에서 바로 실행하세요.',
'bootCheck.preferDesktop': '모든 것을 자신의 기기에 보관하고 싶으신가요?',
'bootCheck.downloadDesktop': '데스크톱 앱 받기',
- 'bootCheck.localRecommended': '로컬에서 실행(추천)',
- 'bootCheck.localDescription':
- '이 컴퓨터에서 바로 실행됩니다. 가장 빠르고, 완전히 비공개이며, 설정할 것이 없습니다.',
- 'bootCheck.cloudMode': '클라우드에서 실행(복잡)',
+ 'bootCheck.localRecommended': '이 Mac에서',
+ 'bootCheck.localDescription': '가장 빠르고 완전히 비공개이며, 설정할 것이 없습니다.',
+ 'bootCheck.cloudMode': '내가 운영하는 서버에서',
'bootCheck.cloudDescription':
- '다른 곳에서 호스팅 중인 런타임에 연결합니다. 24×7 온라인 상태를 유지하므로 이 기기를 계속 켜둘 필요가 없습니다.',
- 'bootCheck.coreRpcUrl': '런타임 URL',
+ '24시간 온라인 상태를 유지하므로 이 Mac을 계속 켜 둘 필요가 없습니다.',
+ 'bootCheck.coreRpcUrl': '주소',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': '인증 토큰',
- 'bootCheck.bearerTokenPlaceholder': '원격 런타임의 bearer 토큰',
+ 'bootCheck.authToken': '토큰',
+ 'bootCheck.bearerTokenPlaceholder': '서버에서 받은 토큰',
'bootCheck.storedLocally': '이 기기에만 보관됩니다. 다음으로 전송됨: ',
'bootCheck.testing': '테스트 중…',
'bootCheck.testConnection': '연결 테스트',
'bootCheck.connectedOk': '연결되었습니다. 사용할 준비가 되었습니다.',
'bootCheck.authFailed': '해당 토큰이 작동하지 않았습니다. 다시 확인하고 시도하세요.',
'bootCheck.unreachablePrefix': '연결할 수 없습니다:',
- 'bootCheck.checkingCore': '런타임을 깨우는 중…',
- 'bootCheck.cannotReach': '런타임에 연결할 수 없습니다',
- 'bootCheck.cannotReachDesc': '런타임에 연결할 수 없습니다. 다른 런타임을 시도하시겠습니까?',
- 'bootCheck.switchMode': '다른 런타임 선택',
+ 'bootCheck.checkingCore': 'OpenHuman을 시작하는 중…',
+ 'bootCheck.cannotReach': '연결할 수 없습니다',
+ 'bootCheck.cannotReachDesc': '연결하지 못했습니다. 다른 곳에서 시도해 볼까요?',
+ 'bootCheck.switchMode': '실행 위치 변경',
'bootCheck.quit': '종료',
- 'bootCheck.legacyDetected': '레거시 백그라운드 런타임 감지됨',
+ 'bootCheck.legacyDetected': '오래된 백그라운드 서비스를 발견했습니다',
'bootCheck.legacyDescription':
- '별도로 설치된 OpenHuman 데몬이 이 기기에서 이미 실행 중입니다. 내장 런타임이 대신 실행되기 전에 이를 정리해야 합니다.',
+ '별도로 설치된 OpenHuman 데몬이 이 기기에서 이미 실행 중입니다. 내장 버전이 대신하려면 먼저 이를 제거해야 합니다.',
'bootCheck.removing': '제거 중…',
'bootCheck.removeContinue': '제거하고 계속',
- 'bootCheck.localNeedsRestart': '로컬 런타임을 다시 시작해야 함',
+ 'bootCheck.localNeedsRestart': 'OpenHuman을 다시 시작해야 합니다',
'bootCheck.localNeedsRestartDesc':
- '로컬 런타임의 버전이 이 앱과 다릅니다. 빠르게 다시 시작하면 다시 동기화됩니다.',
+ '이 Mac의 OpenHuman 버전이 이 앱과 다릅니다. 잠깐 다시 시작하면 다시 맞춰집니다.',
'bootCheck.restarting': '다시 시작 중…',
- 'bootCheck.restartCore': '런타임 다시 시작',
- 'bootCheck.cloudNeedsUpdate': '클라우드 런타임 업데이트 필요',
+ 'bootCheck.restartCore': '다시 시작',
+ 'bootCheck.cloudNeedsUpdate': '서버를 업데이트해야 합니다',
'bootCheck.cloudNeedsUpdateDesc':
- '클라우드 런타임의 버전이 이 앱과 다릅니다. 업데이트 프로그램을 실행하여 다시 동기화하세요.',
+ '서버 버전이 이 앱과 다릅니다. 업데이트를 실행해 다시 맞추세요.',
'bootCheck.updating': '업데이트 중…',
- 'bootCheck.updateCloudCore': '클라우드 런타임 업데이트',
- 'bootCheck.versionCheckFailed': '런타임 버전 확인 실패',
+ 'bootCheck.updateCloudCore': '서버 업데이트',
+ 'bootCheck.versionCheckFailed': '버전 확인 실패',
'bootCheck.versionCheckFailedDesc':
- '런타임이 실행 중이지만 버전을 보고하지 않습니다. 오래된 버전일 수 있습니다. 계속하려면 다시 시작하거나 업데이트하세요.',
+ '서버는 실행 중이지만 버전을 알려 주지 않습니다. 오래된 버전일 수 있습니다. 계속하려면 다시 시작하거나 업데이트하세요.',
'bootCheck.working': '작업 중…',
- 'bootCheck.restartUpdateCore': '런타임 다시 시작 / 업데이트',
+ 'bootCheck.restartUpdateCore': '다시 시작 / 업데이트',
'bootCheck.unexpectedError': '예상치 못한 부트 체크 오류',
'bootCheck.actionFailed': '문제가 발생했습니다. 다시 시도해 주세요.',
'bootCheck.portConflictTitle': '앱 엔진을 시작할 수 없습니다',
@@ -4270,9 +4298,9 @@ const messages: TranslationMap = {
// Monthly cost badge
- 'onboarding.custom.vault.title': '메모리 및 볼트 설정',
+ 'onboarding.custom.vault.title': 'OpenHuman에게 기억을 주세요',
'onboarding.custom.vault.subtitle':
- '메모리 노트가 기록되는 위치, 소스 데이터를 읽는 방법, 볼트 파이프라인이 정상인지 확인하세요.',
+ '말씀하신 내용이 저장되는 곳으로, 대화가 바뀌어도 이어집니다.',
'onboarding.custom.vault.defaultDesc':
'OpenHuman 관리형 메모리 기본값을 사용합니다. 볼트 경로와 동기화 상태는 나중에 검토할 수 있습니다.',
'onboarding.custom.vault.configureDesc':
@@ -4887,6 +4915,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': '메모리 엔진에 연결할 수 없습니다',
'memoryPage.engine.statusOff': '꺼짐',
'memoryPage.engine.active': '사용 중',
+ 'memoryPage.engine.recommended': '권장',
'memoryPage.engine.use': '사용',
'memoryPage.engine.edit': '편집',
'memoryPage.engine.signInRequired': '로그인 필요',
diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.ts
index 45cc36cd72..1719a93a3f 100644
--- a/app/src/lib/i18n/pl.ts
+++ b/app/src/lib/i18n/pl.ts
@@ -444,6 +444,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'Politykę prywatności',
'welcome.termsOutro': '.',
'welcome.connect': 'Testuj',
+ 'welcome.hero.subtitle': 'Twoja AI z pamięcią, głosem i całym internetem.',
+ 'welcome.th.title': 'Kontynuuj z TinyHumans',
+ 'welcome.th.promise': 'Jedno konto. Wszystko w cenie. Nic do konfigurowania.',
+ 'welcome.th.featureInference': 'Wnioskowanie',
+ 'welcome.th.featureSearch': 'Wyszukiwanie w sieci',
+ 'welcome.th.featureVoice': 'Głos',
+ 'welcome.th.featureMemory': 'Pamięć',
+ 'welcome.th.featureEmbeddings': 'Embeddingi',
+ 'welcome.th.featureBilling': 'Rozliczenia',
+ 'welcome.th.credit': '5 $ kredytu na start',
+ 'welcome.th.cta': 'Kontynuuj z TinyHumans',
+ 'welcome.th.providers': 'Zaloguj się przez Google, GitHub lub X',
+ 'welcome.self.title': 'Skonfiguruję to sam',
+ 'welcome.self.promise': 'Użyj własnych kluczy API i punktów końcowych.',
+ 'welcome.self.listLabel': 'Skonfigurujesz:',
+ 'welcome.self.step1': 'Wnioskowanie',
+ 'welcome.self.step2': 'Wyszukiwanie w sieci',
+ 'welcome.self.step3': 'Pamięć',
+ 'welcome.self.time': 'Około 3 minut. Wszystko możesz zmienić później w Ustawieniach.',
+ 'welcome.self.cta': 'Skonfiguruję to sam',
+ 'welcome.serverPrompt': 'Masz już OpenHuman uruchomiony na serwerze?',
+ 'welcome.serverCta': 'Połącz się z nim.',
+ 'welcome.handoff.title': 'Kończenie logowania w przeglądarce',
+ 'welcome.handoff.body': 'Otworzyliśmy tinyhumans.ai — wróć, gdy skończysz.',
+ 'welcome.handoff.reopen': 'Otwórz stronę ponownie',
+ 'welcome.handoff.failedTitle': 'Logowanie nie wróciło',
+ 'welcome.handoff.failedBody': 'Przeglądarka mogła zablokować powrót do OpenHuman.',
+ 'welcome.handoff.retry': 'Spróbuj ponownie',
+ 'welcome.handoff.fallbackSelf': 'Wolę skonfigurować to sam',
'home.askAssistant': 'Zapytaj asystenta o cokolwiek...',
'home.statusOk': 'Twój asystent jest gotowy, gdy tylko zechcesz. Napisz coś poniżej, aby zacząć.',
'home.statusBackendOnly':
@@ -752,9 +781,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'Możesz dokończyć konfigurację po wprowadzeniu. Przeniesiemy Cię na odpowiednią stronę Ustawień, kiedy skończysz.',
'onboarding.custom.openSettings': 'Otwórz w Ustawieniach',
- 'onboarding.custom.inference.title': 'Inferencja (tekst)',
+ 'onboarding.custom.inference.title': 'Wybierz dostawcę modelu',
'onboarding.custom.inference.subtitle':
- 'Który model językowy ma odpowiadać na pytania i uruchamiać agentów?',
+ 'OpenHuman potrzebuje modelu, żeby myśleć. Dodaj klucz do dostawcy, z którego już korzystasz, albo wskaż model działający lokalnie.',
'onboarding.custom.inference.defaultDesc':
'OpenHuman domyślnie kieruje obciążenia przez zarządzany backend. Bez kluczy, bez konfiguracji.',
'onboarding.custom.inference.configureDesc':
@@ -772,8 +801,8 @@ const messages: TranslationMap = {
'OpenHuman pośredniczy w OAuth i wywołaniach narzędzi przez zarządzaną przestrzeń Composio.',
'onboarding.custom.oauth.configureDesc':
'Przynieś własne konto / klucz API Composio. Skonfiguruj w Ustawieniach › Połączenia.',
- 'onboarding.custom.search.title': 'Wyszukiwanie w sieci',
- 'onboarding.custom.search.subtitle': 'Jak OpenHuman wyszukuje w sieci w Twoim imieniu.',
+ 'onboarding.custom.search.title': 'Pozwól OpenHuman przeszukiwać internet',
+ 'onboarding.custom.search.subtitle': 'Bez tego OpenHuman wie tylko to, na czym go wytrenowano.',
'onboarding.custom.search.defaultDesc':
'Wyszukiwanie w sieci działa od razu: Exa i Gemini są wliczone w TinyHumans, bez klucza API.',
'onboarding.custom.search.configureDesc':
@@ -1620,62 +1649,61 @@ const messages: TranslationMap = {
'stats.latest': 'Ostatnie',
'stats.sessions': 'Sesje',
'stats.tokens': 'tokenów',
- 'bootCheck.invalidUrl': 'Wprowadź adres URL środowiska.',
+ 'bootCheck.invalidUrl': 'Wpisz adres.',
'bootCheck.urlMustStartWith': 'Adres musi zaczynać się od http:// lub https://',
'bootCheck.validUrlRequired':
'To nie wygląda na prawidłowy adres URL (spróbuj https://core.example.com/rpc)',
'bootCheck.tokenRequired': 'Aby się połączyć, potrzebujemy tokenu uwierzytelniania.',
'bootCheck.httpPublicWarning':
'To zwykły adres HTTP na publicznym hoście: ruch nie będzie szyfrowany. Użyj HTTPS, chyba że ufasz tej sieci.',
- 'bootCheck.chooseCoreMode': 'Wybierz środowisko',
- 'bootCheck.connectToCore': 'Połącz się ze swoim środowiskiem',
+ 'bootCheck.chooseCoreMode': 'Gdzie ma działać OpenHuman?',
+ 'bootCheck.connectToCore': 'Połącz z OpenHuman',
'bootCheck.desktopDescription':
- 'OpenHuman potrzebuje środowiska do działania. Wybierz, gdzie ma się znajdować.',
+ 'Nie udało się uruchomić OpenHuman na tym Macu. Wybierz, gdzie ma działać.',
'bootCheck.webDescription':
- 'W przeglądarce OpenHuman łączy się ze środowiskiem, którym zarządzasz. Wpisz jego URL i token poniżej lub pobierz aplikację desktopową, aby uruchomić środowisko bezpośrednio na komputerze.',
+ 'W przeglądarce OpenHuman łączy się z serwerem, który kontrolujesz. Wpisz poniżej jego adres i token albo pobierz aplikację na komputer, aby uruchomić go bezpośrednio u siebie.',
'bootCheck.preferDesktop': 'Wolisz wszystko trzymać na własnym urządzeniu?',
'bootCheck.downloadDesktop': 'Pobierz aplikację desktopową',
- 'bootCheck.localRecommended': 'Uruchom lokalnie (zalecane)',
- 'bootCheck.localDescription':
- 'Działa bezpośrednio na Twoim komputerze. Najszybsze, w pełni prywatne, bez konfiguracji.',
- 'bootCheck.cloudMode': 'Uruchom w chmurze (zaawansowane)',
+ 'bootCheck.localRecommended': 'Na tym Macu',
+ 'bootCheck.localDescription': 'Najszybciej, w pełni prywatnie, bez konfiguracji.',
+ 'bootCheck.cloudMode': 'Na serwerze, który sam prowadzę',
'bootCheck.cloudDescription':
- 'Połącz się ze środowiskiem hostowanym w innym miejscu. Działa 24×7, więc nie musisz trzymać tego urządzenia włączonego.',
- 'bootCheck.coreRpcUrl': 'URL środowiska',
+ 'Jest online przez całą dobę, więc nie musisz zostawiać włączonego tego Maca.',
+ 'bootCheck.coreRpcUrl': 'Adres',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'Token uwierzytelniania',
- 'bootCheck.bearerTokenPlaceholder': 'Token bearer ze zdalnego środowiska',
+ 'bootCheck.authToken': 'Token',
+ 'bootCheck.bearerTokenPlaceholder': 'Token z Twojego serwera',
'bootCheck.storedLocally': 'Przechowywany wyłącznie na tym urządzeniu. Wysyłany jako ',
'bootCheck.testing': 'Testowanie…',
'bootCheck.testConnection': 'Testuj połączenie',
'bootCheck.connectedOk': 'Połączono. Możesz działać.',
'bootCheck.authFailed': 'Ten token nie zadziałał. Sprawdź go i spróbuj ponownie.',
'bootCheck.unreachablePrefix': 'Nie udało się połączyć:',
- 'bootCheck.checkingCore': 'Budzenie środowiska…',
- 'bootCheck.cannotReach': 'Nie można połączyć się ze środowiskiem',
- 'bootCheck.cannotReachDesc': 'Nie udało się połączyć z Twoim środowiskiem. Spróbować innego?',
- 'bootCheck.switchMode': 'Wybierz inne środowisko',
+ 'bootCheck.checkingCore': 'Uruchamianie OpenHuman…',
+ 'bootCheck.cannotReach': 'Nie można się połączyć',
+ 'bootCheck.cannotReachDesc': 'Nie udało się połączyć. Chcesz spróbować gdzie indziej?',
+ 'bootCheck.switchMode': 'Zmień, gdzie działa',
'bootCheck.quit': 'Zakończ',
- 'bootCheck.legacyDetected': 'Wykryto starsze środowisko w tle',
+ 'bootCheck.legacyDetected': 'Znaleziono starą usługę w tle',
'bootCheck.legacyDescription':
- 'Osobno zainstalowany daemon OpenHuman już działa na tym urządzeniu. Musimy go usunąć, zanim wbudowane środowisko przejmie kontrolę.',
+ 'Na tym urządzeniu działa już osobno zainstalowany demon OpenHuman. Musimy go usunąć, zanim wbudowany będzie mógł go zastąpić.',
'bootCheck.removing': 'Usuwanie…',
'bootCheck.removeContinue': 'Usuń i kontynuuj',
- 'bootCheck.localNeedsRestart': 'Lokalne środowisko wymaga restartu',
+ 'bootCheck.localNeedsRestart': 'OpenHuman wymaga ponownego uruchomienia',
'bootCheck.localNeedsRestartDesc':
- 'Twoje lokalne środowisko jest w innej wersji niż ta aplikacja. Szybki restart przywróci zgodność.',
+ 'OpenHuman na tym Macu ma inną wersję niż ta aplikacja. Szybki restart ponownie je zsynchronizuje.',
'bootCheck.restarting': 'Restartowanie…',
- 'bootCheck.restartCore': 'Zrestartuj środowisko',
- 'bootCheck.cloudNeedsUpdate': 'Środowisko chmurowe wymaga aktualizacji',
+ 'bootCheck.restartCore': 'Uruchom ponownie',
+ 'bootCheck.cloudNeedsUpdate': 'Twój serwer wymaga aktualizacji',
'bootCheck.cloudNeedsUpdateDesc':
- 'Twoje środowisko chmurowe jest w innej wersji niż ta aplikacja. Uruchom aktualizację, aby przywrócić zgodność.',
+ 'Twój serwer ma inną wersję niż ta aplikacja. Uruchom aktualizację, aby je ponownie zsynchronizować.',
'bootCheck.updating': 'Aktualizowanie…',
- 'bootCheck.updateCloudCore': 'Zaktualizuj środowisko chmurowe',
- 'bootCheck.versionCheckFailed': 'Sprawdzenie wersji środowiska nie powiodło się',
+ 'bootCheck.updateCloudCore': 'Zaktualizuj serwer',
+ 'bootCheck.versionCheckFailed': 'Sprawdzenie wersji nie powiodło się',
'bootCheck.versionCheckFailedDesc':
- 'Środowisko działa, ale nie raportuje wersji. Może być nieaktualne. Zrestartuj lub zaktualizuj, aby kontynuować.',
+ 'Twój serwer działa, ale nie zgłasza swojej wersji. Może być nieaktualny. Uruchom go ponownie lub zaktualizuj, aby kontynuować.',
'bootCheck.working': 'Pracuję…',
- 'bootCheck.restartUpdateCore': 'Zrestartuj / zaktualizuj środowisko',
+ 'bootCheck.restartUpdateCore': 'Uruchom ponownie / Zaktualizuj',
'bootCheck.unexpectedError': 'Nieoczekiwany błąd sprawdzania uruchamiania',
'bootCheck.actionFailed': 'Coś poszło nie tak. Spróbuj ponownie.',
'bootCheck.portConflictTitle': 'Nie udało się uruchomić silnika aplikacji',
@@ -4362,9 +4390,9 @@ const messages: TranslationMap = {
// Monthly cost badge
- 'onboarding.custom.vault.title': 'Konfiguracja pamięci i skarbca',
+ 'onboarding.custom.vault.title': 'Daj OpenHuman pamięć',
'onboarding.custom.vault.subtitle':
- 'Potwierdź, gdzie zapisywane są notatki pamięci, jak odczytywane są dane źródłowe i czy potok skarbca działa poprawnie.',
+ 'Miejsce, w którym zapisuje się to, co mu mówisz, żeby przechodziło między czatami.',
'onboarding.custom.vault.defaultDesc':
'Użyj domyślnych ustawień pamięci zarządzanej przez OpenHuman. Ścieżkę skarbca i stan synchronizacji można sprawdzić później.',
'onboarding.custom.vault.configureDesc':
@@ -5000,6 +5028,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'Silnik pamięci jest nieosiągalny',
'memoryPage.engine.statusOff': 'Wyłączona',
'memoryPage.engine.active': 'Aktywny',
+ 'memoryPage.engine.recommended': 'Zalecane',
'memoryPage.engine.use': 'Użyj',
'memoryPage.engine.edit': 'Edytuj',
'memoryPage.engine.signInRequired': 'Wymagane logowanie',
diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.ts
index 7178d99a9d..7270ace609 100644
--- a/app/src/lib/i18n/pt.ts
+++ b/app/src/lib/i18n/pt.ts
@@ -444,6 +444,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'Política de Privacidade',
'welcome.termsOutro': '.',
'welcome.connect': 'Testar',
+ 'welcome.hero.subtitle': 'Sua IA, com memória, voz e a web inteira.',
+ 'welcome.th.title': 'Continuar com TinyHumans',
+ 'welcome.th.promise': 'Uma conta. Tudo incluído. Nada para configurar.',
+ 'welcome.th.featureInference': 'Inferência',
+ 'welcome.th.featureSearch': 'Pesquisa na web',
+ 'welcome.th.featureVoice': 'Voz',
+ 'welcome.th.featureMemory': 'Memória',
+ 'welcome.th.featureEmbeddings': 'Embeddings',
+ 'welcome.th.featureBilling': 'Cobrança',
+ 'welcome.th.credit': 'US$ 5 de crédito para começar',
+ 'welcome.th.cta': 'Continuar com TinyHumans',
+ 'welcome.th.providers': 'Entre com Google, GitHub ou X',
+ 'welcome.self.title': 'Configurar por conta própria',
+ 'welcome.self.promise': 'Traga suas próprias chaves de API e endpoints.',
+ 'welcome.self.listLabel': 'Você vai configurar:',
+ 'welcome.self.step1': 'Inferência',
+ 'welcome.self.step2': 'Pesquisa na web',
+ 'welcome.self.step3': 'Memória',
+ 'welcome.self.time': 'Cerca de 3 minutos. Altere qualquer coisa depois em Configurações.',
+ 'welcome.self.cta': 'Configurar por conta própria',
+ 'welcome.serverPrompt': 'Já executa o OpenHuman em um servidor?',
+ 'welcome.serverCta': 'Conecte-se a ele.',
+ 'welcome.handoff.title': 'Concluindo o login no seu navegador',
+ 'welcome.handoff.body': 'Abrimos o tinyhumans.ai — volte quando terminar.',
+ 'welcome.handoff.reopen': 'Abrir a página novamente',
+ 'welcome.handoff.failedTitle': 'O login não voltou',
+ 'welcome.handoff.failedBody': 'O navegador pode ter bloqueado o retorno ao OpenHuman.',
+ 'welcome.handoff.retry': 'Tentar novamente',
+ 'welcome.handoff.fallbackSelf': 'Configurar por conta própria mesmo assim',
'home.askAssistant': 'Pergunte qualquer coisa ao seu assistente...',
'home.statusOk':
'Seu assistente está pronto quando você estiver. Escreva algo abaixo para começar.',
@@ -752,9 +781,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'Você pode terminar de configurar isso após o onboarding. Vamos te levar à página de Configurações correspondente quando terminar.',
'onboarding.custom.openSettings': 'Abrir nas Configurações',
- 'onboarding.custom.inference.title': 'Inferência (Texto)',
+ 'onboarding.custom.inference.title': 'Escolha um provedor de modelo',
'onboarding.custom.inference.subtitle':
- 'Qual modelo de linguagem deve responder suas perguntas e executar seus agentes?',
+ 'O OpenHuman precisa de um modelo para pensar. Adicione uma chave de um provedor que você já usa, ou aponte para um que esteja rodando localmente.',
'onboarding.custom.inference.defaultDesc':
'O OpenHuman direciona cada carga de trabalho para um modelo padrão adequado. Sem chaves, sem configuração.',
'onboarding.custom.inference.configureDesc':
@@ -772,8 +801,9 @@ const messages: TranslationMap = {
'O OpenHuman usa um espaço de trabalho Composio gerenciado. Um clique para conectar cada serviço depois.',
'onboarding.custom.oauth.configureDesc':
'Traga sua própria conta Composio / chave de API. Configure em Configurações › Conexões.',
- 'onboarding.custom.search.title': 'Pesquisa na Web',
- 'onboarding.custom.search.subtitle': 'Como o OpenHuman pesquisa na web em seu nome.',
+ 'onboarding.custom.search.title': 'Deixe o OpenHuman pesquisar na web',
+ 'onboarding.custom.search.subtitle':
+ 'Sem isso, o OpenHuman só sabe o que aprendeu no treinamento.',
'onboarding.custom.search.defaultDesc':
'A pesquisa na web funciona de imediato: Exa e Gemini estão incluídos no TinyHumans, sem chave de API.',
'onboarding.custom.search.configureDesc':
@@ -1630,63 +1660,61 @@ const messages: TranslationMap = {
'stats.latest': 'Mais Recente',
'stats.sessions': 'Sessões',
'stats.tokens': 'tokens',
- 'bootCheck.invalidUrl': 'Por favor, insira uma URL de runtime.',
+ 'bootCheck.invalidUrl': 'Digite um endereço.',
'bootCheck.urlMustStartWith': 'A URL precisa começar com http:// ou https://',
'bootCheck.validUrlRequired':
'Isso não parece uma URL válida (tente https://core.example.com/rpc)',
'bootCheck.tokenRequired': 'Vamos precisar de um token de autenticação para conectar.',
'bootCheck.httpPublicWarning':
'Este é um URL HTTP comum em um host público: o tráfego não será criptografado. Use HTTPS a menos que você confie nesta rede.',
- 'bootCheck.chooseCoreMode': 'Selecionar um Runtime',
- 'bootCheck.connectToCore': 'Conectar ao Seu Runtime',
+ 'bootCheck.chooseCoreMode': 'Onde o OpenHuman deve ser executado?',
+ 'bootCheck.connectToCore': 'Conectar ao OpenHuman',
'bootCheck.desktopDescription':
- 'O OpenHuman precisa de um runtime para pensar. Escolha onde ele deve ficar.',
+ 'O OpenHuman não conseguiu iniciar neste Mac. Escolha onde ele deve ser executado.',
'bootCheck.webDescription':
- 'Na web, o OpenHuman conecta-se a um runtime que você controla. Insira o URL e o token de autenticação abaixo, ou baixe o app desktop para rodar um na sua máquina.',
+ 'Na web, o OpenHuman se conecta a um servidor que você controla. Informe abaixo o endereço e o token dele, ou baixe o app para desktop para executá-lo diretamente no seu computador.',
'bootCheck.preferDesktop': 'Prefere manter tudo no seu próprio dispositivo?',
'bootCheck.downloadDesktop': 'Baixar o App Desktop',
- 'bootCheck.localRecommended': 'Rodar Localmente (Recomendado)',
- 'bootCheck.localDescription':
- 'Roda aqui no seu computador. Mais rápido, totalmente privado, sem nada para configurar.',
- 'bootCheck.cloudMode': 'Rodar na Nuvem (Complexo)',
+ 'bootCheck.localRecommended': 'Neste Mac',
+ 'bootCheck.localDescription': 'O mais rápido, totalmente privado, sem nada para configurar.',
+ 'bootCheck.cloudMode': 'Em um servidor que eu hospedo',
'bootCheck.cloudDescription':
- 'Conecte a um runtime que você hospeda em outro lugar. Fica online 24×7 para que você não precise manter este dispositivo ligado.',
- 'bootCheck.coreRpcUrl': 'URL do Runtime',
+ 'Fica online 24 horas por dia, então você não precisa manter este Mac ligado.',
+ 'bootCheck.coreRpcUrl': 'Endereço',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'Token de Autenticação',
- 'bootCheck.bearerTokenPlaceholder': 'O token bearer do seu runtime remoto',
+ 'bootCheck.authToken': 'Token',
+ 'bootCheck.bearerTokenPlaceholder': 'O token do seu servidor',
'bootCheck.storedLocally': 'Mantido apenas neste dispositivo. Enviado como ',
'bootCheck.testing': 'Testando…',
'bootCheck.testConnection': 'Testar Conexão',
'bootCheck.connectedOk': 'Conectado. Tudo pronto.',
'bootCheck.authFailed': 'Esse token não funcionou. Verifique-o e tente novamente.',
'bootCheck.unreachablePrefix': 'Não foi possível alcançar:',
- 'bootCheck.checkingCore': 'Ativando seu runtime…',
- 'bootCheck.cannotReach': 'Não Consigo Alcançar o Runtime',
- 'bootCheck.cannotReachDesc':
- 'Não foi possível conectar ao seu runtime. Deseja tentar um diferente?',
- 'bootCheck.switchMode': 'Escolher um Runtime Diferente',
+ 'bootCheck.checkingCore': 'Iniciando o OpenHuman…',
+ 'bootCheck.cannotReach': 'Não foi possível conectar',
+ 'bootCheck.cannotReachDesc': 'Não conseguimos nos conectar. Quer tentar em outro lugar?',
+ 'bootCheck.switchMode': 'Mudar onde ele é executado',
'bootCheck.quit': 'Sair',
- 'bootCheck.legacyDetected': 'Runtime de Segundo Plano Legado Detectado',
+ 'bootCheck.legacyDetected': 'Serviço antigo em segundo plano encontrado',
'bootCheck.legacyDescription':
- 'Um daemon OpenHuman instalado separadamente já está rodando neste dispositivo. Precisamos removê-lo antes que o runtime integrado possa assumir.',
+ 'Um daemon do OpenHuman instalado separadamente já está em execução neste dispositivo. Precisamos removê-lo antes que o integrado possa assumir.',
'bootCheck.removing': 'Removendo…',
'bootCheck.removeContinue': 'Remover e Continuar',
- 'bootCheck.localNeedsRestart': 'O Runtime Local Precisa de uma Reinicialização',
+ 'bootCheck.localNeedsRestart': 'O OpenHuman precisa ser reiniciado',
'bootCheck.localNeedsRestartDesc':
- 'Seu runtime local está em uma versão diferente deste app. Uma reinicialização rápida vai sincronizá-los.',
+ 'O OpenHuman neste Mac está em uma versão diferente da deste app. Uma reinicialização rápida os deixará sincronizados novamente.',
'bootCheck.restarting': 'Reiniciando…',
- 'bootCheck.restartCore': 'Reiniciar Runtime',
- 'bootCheck.cloudNeedsUpdate': 'O Runtime na Nuvem Precisa de uma Atualização',
+ 'bootCheck.restartCore': 'Reiniciar',
+ 'bootCheck.cloudNeedsUpdate': 'Seu servidor precisa de uma atualização',
'bootCheck.cloudNeedsUpdateDesc':
- 'Seu runtime na nuvem está em uma versão diferente deste app. Execute o atualizador para sincronizá-los.',
+ 'Seu servidor está em uma versão diferente da deste app. Execute o atualizador para sincronizá-los novamente.',
'bootCheck.updating': 'Atualizando…',
- 'bootCheck.updateCloudCore': 'Atualizar Runtime na Nuvem',
- 'bootCheck.versionCheckFailed': 'Verificação de Versão do Runtime Falhou',
+ 'bootCheck.updateCloudCore': 'Atualizar servidor',
+ 'bootCheck.versionCheckFailed': 'Falha na verificação de versão',
'bootCheck.versionCheckFailedDesc':
- 'Seu runtime está ativo, mas não está reportando sua versão. Pode estar desatualizado. Reinicie ou atualize-o para continuar.',
+ 'Seu servidor está ativo, mas não informa a versão. Ele pode estar desatualizado. Reinicie ou atualize para continuar.',
'bootCheck.working': 'Trabalhando…',
- 'bootCheck.restartUpdateCore': 'Reiniciar / Atualizar Runtime',
+ 'bootCheck.restartUpdateCore': 'Reiniciar / Atualizar',
'bootCheck.unexpectedError': 'Erro Inesperado na Verificação de Inicialização',
'bootCheck.actionFailed': 'Algo deu errado. Por favor, tente novamente.',
'bootCheck.portConflictTitle': 'Não foi possível iniciar o motor do aplicativo',
@@ -4362,9 +4390,9 @@ const messages: TranslationMap = {
// Onboarding: Custom > Vault
'onboarding.custom.stepperVault': 'Vault',
- 'onboarding.custom.vault.title': 'Configuração de Memória e Vault',
+ 'onboarding.custom.vault.title': 'Dê uma memória ao OpenHuman',
'onboarding.custom.vault.subtitle':
- 'Confirme onde as notas de memória são gravadas, como os dados de origem são lidos e se o pipeline do vault está saudável.',
+ 'Onde o que você conta a ele fica guardado, para acompanhar você entre conversas.',
'onboarding.custom.vault.defaultDesc':
'Use os padrões de memória gerenciados pelo OpenHuman. O caminho do vault e a integridade da sincronização ainda podem ser revisados depois.',
'onboarding.custom.vault.configureDesc':
@@ -5001,6 +5029,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'O mecanismo de memória está inacessível',
'memoryPage.engine.statusOff': 'Desativado',
'memoryPage.engine.active': 'Ativo',
+ 'memoryPage.engine.recommended': 'Recomendado',
'memoryPage.engine.use': 'Usar',
'memoryPage.engine.edit': 'Editar',
'memoryPage.engine.signInRequired': 'Login necessário',
diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.ts
index 726cabd3ac..932584f4b5 100644
--- a/app/src/lib/i18n/ru.ts
+++ b/app/src/lib/i18n/ru.ts
@@ -441,6 +441,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': 'Политикой конфиденциальности.',
'welcome.termsOutro': '.',
'welcome.connect': 'Проверить',
+ 'welcome.hero.subtitle': 'Ваш ИИ с памятью, голосом и всем интернетом.',
+ 'welcome.th.title': 'Продолжить с TinyHumans',
+ 'welcome.th.promise': 'Один аккаунт. Всё включено. Ничего настраивать не нужно.',
+ 'welcome.th.featureInference': 'Инференс',
+ 'welcome.th.featureSearch': 'Поиск в интернете',
+ 'welcome.th.featureVoice': 'Голос',
+ 'welcome.th.featureMemory': 'Память',
+ 'welcome.th.featureEmbeddings': 'Эмбеддинги',
+ 'welcome.th.featureBilling': 'Оплата',
+ 'welcome.th.credit': '5 $ кредита для начала',
+ 'welcome.th.cta': 'Продолжить с TinyHumans',
+ 'welcome.th.providers': 'Войдите через Google, GitHub или X',
+ 'welcome.self.title': 'Настрою сам',
+ 'welcome.self.promise': 'Используйте собственные API-ключи и конечные точки.',
+ 'welcome.self.listLabel': 'Вы настроите:',
+ 'welcome.self.step1': 'Инференс',
+ 'welcome.self.step2': 'Поиск в интернете',
+ 'welcome.self.step3': 'Память',
+ 'welcome.self.time': 'Около 3 минут. Всё можно изменить позже в Настройках.',
+ 'welcome.self.cta': 'Настрою сам',
+ 'welcome.serverPrompt': 'Уже запустили OpenHuman на сервере?',
+ 'welcome.serverCta': 'Подключитесь к нему.',
+ 'welcome.handoff.title': 'Завершаем вход в вашем браузере',
+ 'welcome.handoff.body': 'Мы открыли tinyhumans.ai — вернитесь, когда закончите.',
+ 'welcome.handoff.reopen': 'Открыть страницу снова',
+ 'welcome.handoff.failedTitle': 'Вход не вернулся',
+ 'welcome.handoff.failedBody': 'Возможно, браузер заблокировал возврат в OpenHuman.',
+ 'welcome.handoff.retry': 'Повторить',
+ 'welcome.handoff.fallbackSelf': 'Лучше настрою сам',
'home.askAssistant': 'Спроси ассистента о чём угодно...',
'home.statusOk':
'Ваш ассистент готов, когда вы будете готовы. Напишите что-нибудь ниже, чтобы начать.',
@@ -745,9 +774,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'Можно завершить настройку после онбординга. Мы откроем нужную страницу настроек.',
'onboarding.custom.openSettings': 'Открыть в настройках',
- 'onboarding.custom.inference.title': 'Инференс (текст)',
+ 'onboarding.custom.inference.title': 'Выберите поставщика моделей',
'onboarding.custom.inference.subtitle':
- 'Какая языковая модель будет отвечать на вопросы и запускать агентов?',
+ 'OpenHuman нужна модель, чтобы думать. Добавьте ключ поставщика, которым вы уже пользуетесь, или укажите модель, работающую локально.',
'onboarding.custom.inference.defaultDesc':
'OpenHuman автоматически выбирает подходящую модель. Без ключей и настроек.',
'onboarding.custom.inference.configureDesc':
@@ -764,8 +793,8 @@ const messages: TranslationMap = {
'OpenHuman использует управляемое рабочее пространство Composio. Один клик для подключения каждого сервиса.',
'onboarding.custom.oauth.configureDesc':
'Используй свой аккаунт Composio / API-ключ. Настрой в Настройки › Подключения.',
- 'onboarding.custom.search.title': 'Поиск в интернете',
- 'onboarding.custom.search.subtitle': 'Как OpenHuman ищет информацию в интернете.',
+ 'onboarding.custom.search.title': 'Позвольте OpenHuman искать в интернете',
+ 'onboarding.custom.search.subtitle': 'Без этого OpenHuman знает только то, чему его обучили.',
'onboarding.custom.search.defaultDesc':
'Веб-поиск работает сразу: Exa и Gemini включены в TinyHumans, API-ключ не нужен.',
'onboarding.custom.search.configureDesc':
@@ -1613,62 +1642,61 @@ const messages: TranslationMap = {
'stats.latest': 'Последнее',
'stats.sessions': 'Сессии',
'stats.tokens': 'токенов',
- 'bootCheck.invalidUrl': 'Введи URL среды выполнения.',
+ 'bootCheck.invalidUrl': 'Введите адрес.',
'bootCheck.urlMustStartWith': 'URL должен начинаться с http:// или https://',
'bootCheck.validUrlRequired':
'Похоже, это не корректный URL (попробуй https://core.example.com/rpc)',
'bootCheck.tokenRequired': 'Для подключения нужен токен авторизации.',
'bootCheck.httpPublicWarning':
'Это обычный HTTP-адрес на публичном хосте: трафик не будет зашифрован. Используйте HTTPS, если вы не доверяете этой сети.',
- 'bootCheck.chooseCoreMode': 'Выбрать среду выполнения',
- 'bootCheck.connectToCore': 'Подключиться к среде выполнения',
+ 'bootCheck.chooseCoreMode': 'Где запускать OpenHuman?',
+ 'bootCheck.connectToCore': 'Подключение к OpenHuman',
'bootCheck.desktopDescription':
- 'OpenHuman нужна среда выполнения для работы. Выбери, где она должна находиться.',
+ 'OpenHuman не удалось запустить на этом Mac. Выберите, где он должен работать.',
'bootCheck.webDescription':
- 'В браузере OpenHuman подключается к среде выполнения под твоим управлением. Введи URL и токен авторизации, или скачай настольное приложение для локального запуска.',
+ 'В вебе OpenHuman подключается к серверу, которым управляете вы. Введите ниже его адрес и токен или скачайте приложение для компьютера, чтобы запустить его прямо у себя.',
'bootCheck.preferDesktop': 'Хочешь держать всё на своём устройстве?',
'bootCheck.downloadDesktop': 'Скачать настольное приложение',
- 'bootCheck.localRecommended': 'Запустить локально (рекомендуется)',
- 'bootCheck.localDescription':
- 'Работает прямо на твоём компьютере. Быстро, полностью приватно, ничего настраивать не нужно.',
- 'bootCheck.cloudMode': 'Запустить в облаке (сложно)',
+ 'bootCheck.localRecommended': 'На этом Mac',
+ 'bootCheck.localDescription': 'Быстрее всего, полностью приватно, ничего настраивать не нужно.',
+ 'bootCheck.cloudMode': 'На моём сервере',
'bootCheck.cloudDescription':
- 'Подключись к среде выполнения, которую ты размещаешь в другом месте. Работает 24×7, не нужно держать это устройство включённым.',
- 'bootCheck.coreRpcUrl': 'URL среды выполнения',
+ 'Работает круглосуточно, так что этот Mac не нужно держать включённым.',
+ 'bootCheck.coreRpcUrl': 'Адрес',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': 'Токен авторизации',
- 'bootCheck.bearerTokenPlaceholder': 'Bearer-токен от твоей удалённой среды выполнения',
+ 'bootCheck.authToken': 'Токен',
+ 'bootCheck.bearerTokenPlaceholder': 'Токен с вашего сервера',
'bootCheck.storedLocally': 'Хранится только на этом устройстве. Отправляется как ',
'bootCheck.testing': 'Проверка…',
'bootCheck.testConnection': 'Проверить соединение',
'bootCheck.connectedOk': 'Подключено. Всё готово.',
'bootCheck.authFailed': 'Токен не подошёл. Проверь его и попробуй снова.',
'bootCheck.unreachablePrefix': 'Не удалось достучаться:',
- 'bootCheck.checkingCore': 'Пробуждение среды выполнения…',
- 'bootCheck.cannotReach': 'Нет доступа к среде выполнения',
- 'bootCheck.cannotReachDesc': 'Не удалось подключиться к среде выполнения. Попробовать другую?',
- 'bootCheck.switchMode': 'Выбрать другую среду',
+ 'bootCheck.checkingCore': 'Запускаем OpenHuman…',
+ 'bootCheck.cannotReach': 'Не удаётся подключиться',
+ 'bootCheck.cannotReachDesc': 'Нам не удалось подключиться. Попробовать другой вариант?',
+ 'bootCheck.switchMode': 'Изменить, где он работает',
'bootCheck.quit': 'Выйти',
- 'bootCheck.legacyDetected': 'Обнаружена устаревшая фоновая среда',
+ 'bootCheck.legacyDetected': 'Найдена старая фоновая служба',
'bootCheck.legacyDescription':
- 'На этом устройстве уже запущен отдельно установленный демон OpenHuman. Нужно его убрать, прежде чем встроенная среда сможет взять управление.',
+ 'На этом устройстве уже работает отдельно установленный демон OpenHuman. Его нужно удалить, прежде чем встроенный сможет начать работу.',
'bootCheck.removing': 'Удаление…',
'bootCheck.removeContinue': 'Удалить и продолжить',
- 'bootCheck.localNeedsRestart': 'Требуется перезапуск локальной среды',
+ 'bootCheck.localNeedsRestart': 'OpenHuman нужно перезапустить',
'bootCheck.localNeedsRestartDesc':
- 'Локальная среда выполнения и приложение используют разные версии. Быстрый перезапуск синхронизирует их.',
+ 'Версия OpenHuman на этом Mac отличается от версии этого приложения. Быстрый перезапуск снова их синхронизирует.',
'bootCheck.restarting': 'Перезапуск…',
- 'bootCheck.restartCore': 'Перезапустить среду',
- 'bootCheck.cloudNeedsUpdate': 'Требуется обновление облачной среды',
+ 'bootCheck.restartCore': 'Перезапустить',
+ 'bootCheck.cloudNeedsUpdate': 'Вашему серверу нужно обновление',
'bootCheck.cloudNeedsUpdateDesc':
- 'Облачная среда и приложение используют разные версии. Запусти обновление для синхронизации.',
+ 'Версия вашего сервера отличается от версии этого приложения. Запустите обновление, чтобы снова их синхронизировать.',
'bootCheck.updating': 'Обновление…',
- 'bootCheck.updateCloudCore': 'Обновить облачную среду',
- 'bootCheck.versionCheckFailed': 'Проверка версии среды не удалась',
+ 'bootCheck.updateCloudCore': 'Обновить сервер',
+ 'bootCheck.versionCheckFailed': 'Не удалось проверить версию',
'bootCheck.versionCheckFailedDesc':
- 'Среда работает, но не сообщает свою версию. Возможно, она устарела. Перезапусти или обнови её для продолжения.',
+ 'Ваш сервер работает, но не сообщает свою версию. Возможно, она устарела. Перезапустите или обновите его, чтобы продолжить.',
'bootCheck.working': 'Работаю…',
- 'bootCheck.restartUpdateCore': 'Перезапустить / обновить среду',
+ 'bootCheck.restartUpdateCore': 'Перезапустить / Обновить',
'bootCheck.unexpectedError': 'Неожиданная ошибка при загрузке',
'bootCheck.actionFailed': 'Что-то пошло не так. Попробуй ещё раз.',
'bootCheck.portConflictTitle': 'Не удалось запустить движок приложения',
@@ -4348,9 +4376,9 @@ const messages: TranslationMap = {
// Monthly cost badge
- 'onboarding.custom.vault.title': 'Настройка памяти и хранилища',
+ 'onboarding.custom.vault.title': 'Дайте OpenHuman память',
'onboarding.custom.vault.subtitle':
- 'Подтвердите, куда записываются заметки памяти, как считываются исходные данные и исправно ли работает конвейер хранилища.',
+ 'Место, где хранится то, что вы ему рассказываете, чтобы это сохранялось между чатами.',
'onboarding.custom.vault.defaultDesc':
'Использовать настройки памяти по умолчанию, управляемые OpenHuman. Путь к хранилищу и состояние синхронизации можно проверить позже.',
'onboarding.custom.vault.configureDesc':
@@ -4983,6 +5011,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': 'Движок памяти недоступен',
'memoryPage.engine.statusOff': 'Выкл.',
'memoryPage.engine.active': 'Активен',
+ 'memoryPage.engine.recommended': 'Рекомендуется',
'memoryPage.engine.use': 'Использовать',
'memoryPage.engine.edit': 'Изменить',
'memoryPage.engine.signInRequired': 'Требуется вход',
diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.ts
index 54f2b8d061..bc8ab5d9ad 100644
--- a/app/src/lib/i18n/zh-CN.ts
+++ b/app/src/lib/i18n/zh-CN.ts
@@ -395,6 +395,35 @@ const messages: TranslationMap = {
'welcome.privacyPolicy': '隐私政策',
'welcome.termsOutro': '.',
'welcome.connect': '连接',
+ 'welcome.hero.subtitle': '你的 AI,拥有记忆、语音和整个网络。',
+ 'welcome.th.title': '使用 TinyHumans 继续',
+ 'welcome.th.promise': '一个账户。一切俱全。无需任何配置。',
+ 'welcome.th.featureInference': '推理',
+ 'welcome.th.featureSearch': '网页搜索',
+ 'welcome.th.featureVoice': '语音',
+ 'welcome.th.featureMemory': '记忆',
+ 'welcome.th.featureEmbeddings': '嵌入',
+ 'welcome.th.featureBilling': '计费',
+ 'welcome.th.credit': '起步赠送 $5 额度',
+ 'welcome.th.cta': '使用 TinyHumans 继续',
+ 'welcome.th.providers': '使用 Google、GitHub 或 X 登录',
+ 'welcome.self.title': '自己设置',
+ 'welcome.self.promise': '使用你自己的 API 密钥和端点。',
+ 'welcome.self.listLabel': '你将设置:',
+ 'welcome.self.step1': '推理',
+ 'welcome.self.step2': '网页搜索',
+ 'welcome.self.step3': '记忆',
+ 'welcome.self.time': '大约 3 分钟。之后可随时在设置中更改。',
+ 'welcome.self.cta': '自己设置',
+ 'welcome.serverPrompt': '已经在服务器上运行 OpenHuman?',
+ 'welcome.serverCta': '连接到它。',
+ 'welcome.handoff.title': '正在浏览器中完成登录',
+ 'welcome.handoff.body': '我们已打开 tinyhumans.ai,完成后请回来。',
+ 'welcome.handoff.reopen': '重新打开页面',
+ 'welcome.handoff.failedTitle': '登录未能返回',
+ 'welcome.handoff.failedBody': '浏览器可能阻止了返回 OpenHuman。',
+ 'welcome.handoff.retry': '重试',
+ 'welcome.handoff.fallbackSelf': '改为自己设置',
'home.askAssistant': '向你的助手提问...',
'home.statusOk': '你的助手已准备就绪。在下方输入内容即可开始。',
'home.statusBackendOnly': '正在重新连接后端…你的智能体很快将再次可用。',
@@ -674,8 +703,9 @@ const messages: TranslationMap = {
'onboarding.custom.configureLater':
'你可以在入门流程结束后继续配置。完成后,我们会带你前往对应的设置页面。',
'onboarding.custom.openSettings': '在设置中打开',
- 'onboarding.custom.inference.title': '推理(文本)',
- 'onboarding.custom.inference.subtitle': '哪个语言模型应该回答你的问题并运行你的智能体?',
+ 'onboarding.custom.inference.title': '选择模型提供商',
+ 'onboarding.custom.inference.subtitle':
+ 'OpenHuman 需要一个模型来思考。添加你已在使用的提供商的密钥,或指向本地运行的模型。',
'onboarding.custom.inference.defaultDesc':
'OpenHuman 会为每种工作负载路由到合适的默认模型。无需密钥,无需设置。',
'onboarding.custom.inference.configureDesc':
@@ -691,8 +721,8 @@ const messages: TranslationMap = {
'OpenHuman 使用托管的 Composio 工作区。之后每个服务都可一键连接。',
'onboarding.custom.oauth.configureDesc':
'使用你自己的 Composio 账户或 API 密钥。在设置 › 连接中配置。',
- 'onboarding.custom.search.title': '网页搜索',
- 'onboarding.custom.search.subtitle': 'OpenHuman 如何代表你搜索网页。',
+ 'onboarding.custom.search.title': '让 OpenHuman 搜索网络',
+ 'onboarding.custom.search.subtitle': '没有它,OpenHuman 只知道训练时学到的内容。',
'onboarding.custom.search.defaultDesc':
'网页搜索开箱即用:Exa 和 Gemini 已包含在 TinyHumans 中,无需 API 密钥。',
'onboarding.custom.search.configureDesc':
@@ -1484,57 +1514,58 @@ const messages: TranslationMap = {
'stats.latest': '最新',
'stats.sessions': '会话数',
'stats.tokens': '个令牌',
- 'bootCheck.invalidUrl': '请输入核心 URL。',
+ 'bootCheck.invalidUrl': '请输入地址。',
'bootCheck.urlMustStartWith': 'URL 必须以 http:// 或 https:// 开头',
'bootCheck.validUrlRequired': '请输入有效的 URL(例如 https://core.example.com/rpc)',
'bootCheck.tokenRequired': '请输入核心认证令牌。',
'bootCheck.httpPublicWarning':
'这是公网主机上的纯 HTTP 地址:流量不会被加密。除非你信任该网络,否则请使用 HTTPS。',
- 'bootCheck.chooseCoreMode': '选择核心模式',
- 'bootCheck.connectToCore': '连接到你的核心',
- 'bootCheck.desktopDescription': 'OpenHuman 需要一个运行中的核心才能工作。请选择连接方式。',
+ 'bootCheck.chooseCoreMode': '要在哪里运行 OpenHuman?',
+ 'bootCheck.connectToCore': '连接到 OpenHuman',
+ 'bootCheck.desktopDescription': 'OpenHuman 无法在这台 Mac 上启动。请选择运行的位置。',
'bootCheck.webDescription':
- '网页版 OpenHuman 连接到由你控制的远程核心。请输入其 URL 和认证令牌,或安装桌面版在本地运行核心。',
+ '在网页端,OpenHuman 会连接到由你掌控的服务器。请在下方填入其地址和令牌,或下载桌面应用,直接在你的电脑上运行。',
'bootCheck.preferDesktop': '更希望在自己的设备上运行一切?',
'bootCheck.downloadDesktop': '下载桌面应用',
- 'bootCheck.localRecommended': '本地(推荐)',
- 'bootCheck.localDescription': '嵌入式核心在本设备上运行:最快,无需配置。',
- 'bootCheck.cloudMode': '云端',
- 'bootCheck.cloudDescription': '连接到自定义 URL 处的远程核心。',
- 'bootCheck.coreRpcUrl': '核心 RPC URL',
+ 'bootCheck.localRecommended': '在这台 Mac 上',
+ 'bootCheck.localDescription': '速度最快、完全私密,无需任何设置。',
+ 'bootCheck.cloudMode': '在我自己的服务器上',
+ 'bootCheck.cloudDescription': '全天候保持在线,无需让这台 Mac 一直开着。',
+ 'bootCheck.coreRpcUrl': '地址',
'bootCheck.rpcUrlPlaceholder': 'https://core.example.com/rpc',
- 'bootCheck.authToken': '认证令牌',
- 'bootCheck.bearerTokenPlaceholder': '远程核心上配置的 Bearer 令牌',
+ 'bootCheck.authToken': '令牌',
+ 'bootCheck.bearerTokenPlaceholder': '来自你的服务器的令牌',
'bootCheck.storedLocally': '仅存储在本设备上。远程核心必需:桌面版每次 RPC 都会以 ',
'bootCheck.testing': '测试中…',
'bootCheck.testConnection': '测试连接',
'bootCheck.connectedOk': '已连接 ✓',
'bootCheck.authFailed': '认证失败:请检查令牌(收到 401/403)。',
'bootCheck.unreachablePrefix': '无法连接:',
- 'bootCheck.checkingCore': '正在检查核心…',
- 'bootCheck.cannotReach': '无法连接到核心',
- 'bootCheck.cannotReachDesc': '核心进程无法访问。请尝试切换到其他模式。',
- 'bootCheck.switchMode': '切换模式',
+ 'bootCheck.checkingCore': '正在启动 OpenHuman…',
+ 'bootCheck.cannotReach': '无法连接',
+ 'bootCheck.cannotReachDesc': '我们无法连接。要换个地方试试吗?',
+ 'bootCheck.switchMode': '更改运行位置',
'bootCheck.quit': '退出',
- 'bootCheck.legacyDetected': '检测到旧版后台核心',
+ 'bootCheck.legacyDetected': '发现旧的后台服务',
'bootCheck.legacyDescription':
- '此设备上正在运行一个单独安装的 OpenHuman 守护进程。必须先将其移除,嵌入式核心才能接管。',
+ '此设备上已有单独安装的 OpenHuman 守护进程正在运行。我们需要先将其清除,内置版本才能接管。',
'bootCheck.removing': '正在移除…',
'bootCheck.removeContinue': '移除并继续',
- 'bootCheck.localNeedsRestart': '本地核心需要重启',
- 'bootCheck.localNeedsRestartDesc': '本地核心版本与此应用构建版本不匹配。重启后将加载正确的版本。',
+ 'bootCheck.localNeedsRestart': 'OpenHuman 需要重启',
+ 'bootCheck.localNeedsRestartDesc':
+ '这台 Mac 上的 OpenHuman 与此应用版本不同。快速重启即可让它们重新保持同步。',
'bootCheck.restarting': '正在重启…',
- 'bootCheck.restartCore': '重启核心',
- 'bootCheck.cloudNeedsUpdate': '云端核心需要更新',
+ 'bootCheck.restartCore': '重启',
+ 'bootCheck.cloudNeedsUpdate': '你的服务器需要更新',
'bootCheck.cloudNeedsUpdateDesc':
- '云端核心版本与此应用构建版本不匹配。请运行核心更新程序来解决此差异。',
+ '你的服务器与此应用版本不同。运行更新程序即可让它们重新保持同步。',
'bootCheck.updating': '正在更新…',
- 'bootCheck.updateCloudCore': '更新云端核心',
- 'bootCheck.versionCheckFailed': '核心版本检查失败',
+ 'bootCheck.updateCloudCore': '更新服务器',
+ 'bootCheck.versionCheckFailed': '版本检查失败',
'bootCheck.versionCheckFailedDesc':
- '核心正在运行但未暴露版本接口。它可能已过时。请重启或更新核心以继续。',
+ '你的服务器已在运行,但没有报告其版本,可能已过期。请重启或更新后继续。',
'bootCheck.working': '正在执行…',
- 'bootCheck.restartUpdateCore': '重启 / 更新核心',
+ 'bootCheck.restartUpdateCore': '重启 / 更新',
'bootCheck.unexpectedError': '意外的启动检查错误',
'bootCheck.actionFailed': '操作失败:请重试。',
'bootCheck.portConflictTitle': '无法启动应用引擎',
@@ -4066,9 +4097,8 @@ const messages: TranslationMap = {
// Monthly cost badge
// Onboarding: Custom > Vault
- 'onboarding.custom.vault.title': '记忆与保险库设置',
- 'onboarding.custom.vault.subtitle':
- '确认记忆笔记的写入位置、源数据的读取方式,以及保险库管道是否正常运行。',
+ 'onboarding.custom.vault.title': '给 OpenHuman 一份记忆',
+ 'onboarding.custom.vault.subtitle': '你告诉它的内容存放在这里,以便在不同对话之间延续。',
'onboarding.custom.vault.defaultDesc':
'使用 OpenHuman 托管的记忆默认设置。保险库路径和同步健康状态仍可稍后查看。',
'onboarding.custom.vault.configureDesc': '立即查看保险库所有权、运行健康检查并调整记忆控制。',
@@ -4658,6 +4688,7 @@ const messages: TranslationMap = {
'memoryPage.engine.statusDown': '无法连接记忆引擎',
'memoryPage.engine.statusOff': '已关闭',
'memoryPage.engine.active': '使用中',
+ 'memoryPage.engine.recommended': '推荐',
'memoryPage.engine.use': '使用',
'memoryPage.engine.edit': '编辑',
'memoryPage.engine.signInRequired': '需要登录',
diff --git a/app/src/pages/Welcome.tsx b/app/src/pages/Welcome.tsx
index 085313eaea..cf29dc8c7f 100644
--- a/app/src/pages/Welcome.tsx
+++ b/app/src/pages/Welcome.tsx
@@ -4,7 +4,7 @@ import { useNavigate } from 'react-router-dom';
import OAuthProviderButton from '../components/oauth/OAuthProviderButton';
import { oauthProviderConfigs } from '../components/oauth/providerConfigs';
-import Button from '../components/ui/Button';
+import { Alert, AlertDescription, Button, Card } from '../components/ui';
import { useT } from '../lib/i18n/I18nContext';
import { useCoreState } from '../providers/CoreStateProvider';
import { clearBackendUrlCache } from '../services/backendUrl';
@@ -42,6 +42,7 @@ const Welcome = () => {
const [isClearingAppData, setIsClearingAppData] = useState(false);
const [isLocalSigningIn, setIsLocalSigningIn] = useState(false);
+ const [showProviders, setShowProviders] = useState(false);
const [resetError, setResetError] = useState<string | null>(null);
const [localLoginError, setLocalLoginError] = useState<string | null>(null);
@@ -97,70 +98,115 @@ const Welcome = () => {
dispatch(setThemeMode(isDark ? 'light' : 'dark'));
};
+ const features = [
+ 'welcome.th.featureInference',
+ 'welcome.th.featureSearch',
+ 'welcome.th.featureVoice',
+ 'welcome.th.featureMemory',
+ 'welcome.th.featureEmbeddings',
+ 'welcome.th.featureBilling',
+ ] as const;
+ const steps = ['welcome.self.step1', 'welcome.self.step2', 'welcome.self.step3'] as const;
+
+ const legalLink = (href: string, label: string) => (
+ <a
+ href={href}
+ target="_blank"
+ rel="noreferrer"
+ onClick={event => {
+ event.preventDefault();
+ void openUrl(href);
+ }}
+ className="font-medium text-content-secondary underline underline-offset-2 hover:text-content">
+ {label}
+ </a>
+ );
+
return (
<div className="min-h-full flex flex-col items-center justify-center p-4">
- <div className="max-w-md w-full">
- <div className="bg-surface rounded-2xl shadow-soft border border-line p-8 animate-fade-up">
- <div className="flex items-center justify-between mb-4">
- <div className="w-9" aria-hidden="true" />
- <div className="w-9" aria-hidden="true" />
- <Button
- iconOnly
- variant="tertiary"
- onClick={toggleTheme}
- aria-label={isDark ? t('home.themeToggle.toLight') : t('home.themeToggle.toDark')}
- title={isDark ? t('home.themeToggle.toLight') : t('home.themeToggle.toDark')}
- className="rounded-full">
- {isDark ? (
- <svg
- className="w-5 h-5"
- fill="none"
- stroke="currentColor"
- strokeWidth={2}
- viewBox="0 0 24 24"
- aria-hidden="true">
- <circle cx="12" cy="12" r="4" />
- <path
- strokeLinecap="round"
- d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41"
- />
- </svg>
- ) : (
- <svg
- className="w-5 h-5"
- fill="none"
- stroke="currentColor"
- strokeWidth={2}
- viewBox="0 0 24 24"
- aria-hidden="true">
- <path
- strokeLinecap="round"
- strokeLinejoin="round"
- d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79Z"
- />
- </svg>
- )}
- </Button>
- </div>
- <div className="flex justify-center mb-6">
+ <div className="w-full max-w-3xl animate-fade-up">
+ <div className="flex justify-end">
+ <Button
+ iconOnly
+ variant="tertiary"
+ onClick={toggleTheme}
+ aria-label={isDark ? t('home.themeToggle.toLight') : t('home.themeToggle.toDark')}
+ title={isDark ? t('home.themeToggle.toLight') : t('home.themeToggle.toDark')}
+ className="rounded-full">
+ {isDark ? (
+ <svg
+ className="w-5 h-5"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth={2}
+ viewBox="0 0 24 24"
+ aria-hidden="true">
+ <circle cx="12" cy="12" r="4" />
+ <path
+ strokeLinecap="round"
+ d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41"
+ />
+ </svg>
+ ) : (
+ <svg
+ className="w-5 h-5"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth={2}
+ viewBox="0 0 24 24"
+ aria-hidden="true">
+ <path
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79Z"
+ />
+ </svg>
+ )}
+ </Button>
+ </div>
+
+ <div className="flex flex-col items-center text-center">
+ <div className="flex items-center gap-3">
<img
src={isDark ? '/brand/OpenhumanLogo-white.svg' : '/brand/OpenhumanLogo-Black.svg'}
alt={t('welcome.logoAlt')}
- className="h-20 w-20"
+ className="h-12 w-12"
/>
+ <span className="text-xl font-bold text-content">OpenHuman</span>
</div>
-
- <h1 className="text-2xl font-bold text-content text-center mb-2">{t('welcome.title')}</h1>
-
- <p className="text-sm text-content-muted text-center mb-6 leading-relaxed">
- {t('welcome.subtitle')}
+ <h1 className="mt-4 text-2xl font-bold text-content">{t('welcome.title')}</h1>
+ <p className="mt-2 text-sm leading-relaxed text-content-muted">
+ {t('welcome.hero.subtitle')}
</p>
+ </div>
- {deepLinkError ? (
- <div
- role="alert"
- className="mb-5 rounded-lg border border-red-200 bg-red-50 px-3 py-2 text-sm text-red-700">
- <p>{deepLinkError}</p>
+ {deepLinkError ? (
+ <Alert variant="destructive" className="mt-6">
+ <AlertDescription>
+ <p className="font-medium">{t('welcome.handoff.failedTitle')}</p>
+ <p className="mt-1">{deepLinkError}</p>
+ {/* Sign-in that never comes back is a dead end unless the screen
+ offers somewhere to go. Both doors: try the browser again, or
+ take the self-hosted path instead. */}
+ {!requiresAppDataReset ? (
+ <div className="mt-3 flex flex-wrap gap-2">
+ <Button
+ variant="secondary"
+ size="sm"
+ onClick={() => setShowProviders(true)}
+ data-testid="welcome-handoff-retry">
+ {t('welcome.handoff.retry')}
+ </Button>
+ <Button
+ variant="secondary"
+ size="sm"
+ onClick={() => void handleLocalLogin()}
+ disabled={isLocalSigningIn}
+ data-testid="welcome-handoff-fallback-self">
+ {t('welcome.handoff.fallbackSelf')}
+ </Button>
+ </div>
+ ) : null}
{requiresAppDataReset ? (
<div className="mt-3 space-y-2">
<Button
@@ -179,95 +225,175 @@ const Welcome = () => {
t('welcome.clearAppDataAndRestart')
)}
</Button>
- <p className="text-[11px] leading-4 text-red-600/80">
- {t('welcome.clearAppDataWarning')}
- </p>
+ <p className="text-[11px] leading-4">{t('welcome.clearAppDataWarning')}</p>
{resetError ? (
- <p className="text-[11px] leading-4 font-medium text-red-700">{resetError}</p>
+ <p className="text-[11px] leading-4 font-medium">{resetError}</p>
) : null}
</div>
) : null}
- </div>
- ) : null}
+ </AlertDescription>
+ </Alert>
+ ) : null}
- {isProcessing ? (
+ {isProcessing ? (
+ /* Screen B — the browser hand-off. Sign-in leaves the app entirely,
+ so the window the user comes back to has to say where they are and
+ give them a way out. A bare spinner said neither. */
+ <Card padded divided={false} className="mt-8 shadow-soft" data-testid="welcome-handoff">
<div
role="status"
aria-live="polite"
aria-atomic="true"
- className="mb-5 flex flex-col items-center justify-center gap-3 py-2">
- <div className="h-6 w-6 animate-spin rounded-full border-2 border-line-strong border-t-primary-500" />
- <p className="text-sm font-medium text-content-secondary">{t('welcome.signingIn')}</p>
- </div>
- ) : (
- <>
- {/* Real OAuth: click → system browser → backend → deep link back to app. */}
- <div className="flex items-center justify-center gap-3">
- {oauthProviderConfigs
- .filter(provider => provider.showOnWelcome)
- .map(provider => (
- <OAuthProviderButton
- key={provider.id}
- provider={provider}
- className="rounded-full! px-4! py-2!"
- />
- ))}
+ className="flex flex-col items-center gap-4 py-4 text-center">
+ <div className="h-7 w-7 animate-spin rounded-full border-2 border-line-strong border-t-primary-500" />
+ <div>
+ <p className="text-base font-semibold text-content">{t('welcome.handoff.title')}</p>
+ <p className="mt-1 text-sm text-content-muted">{t('welcome.handoff.body')}</p>
</div>
- <p className="mt-5 text-center text-[11px] leading-5 text-content-muted dark:text-content-faint">
- {t('welcome.termsIntro')}{' '}
- <a
- href={TERMS_OF_USE_URL}
- target="_blank"
- rel="noreferrer"
- onClick={event => {
- event.preventDefault();
- void openUrl(TERMS_OF_USE_URL);
- }}
- className="font-medium text-content-secondary underline underline-offset-2 hover:text-content">
- {t('welcome.termsOfUse')}
- </a>{' '}
- {t('welcome.termsJoiner')}{' '}
- <a
- href={PRIVACY_POLICY_URL}
- target="_blank"
- rel="noreferrer"
- onClick={event => {
- event.preventDefault();
- void openUrl(PRIVACY_POLICY_URL);
- }}
- className="font-medium text-content-secondary underline underline-offset-2 hover:text-content">
- {t('welcome.privacyPolicy')}
- </a>
- {t('welcome.termsOutro')}
- </p>
- </>
- )}
- </div>
+ <Button
+ variant="secondary"
+ size="sm"
+ onClick={() => setShowProviders(true)}
+ data-testid="welcome-handoff-reopen">
+ {t('welcome.handoff.reopen')}
+ </Button>
+ </div>
+ </Card>
+ ) : (
+ <>
+ {/* Deliberately asymmetric: the TinyHumans card is wider and denser, and
+ neither card carries a "Recommended" badge. */}
+ <div className="mt-8 grid grid-cols-1 gap-4 sm:grid-cols-[3fr_2fr]">
+ <Card
+ data-testid="welcome-card-tinyhumans"
+ padded
+ divided={false}
+ className="flex flex-col shadow-soft">
+ <div className="flex h-full flex-col gap-4">
+ <div>
+ <h2 className="text-lg font-semibold text-content">{t('welcome.th.title')}</h2>
+ <p className="mt-1 text-sm text-content-muted">{t('welcome.th.promise')}</p>
+ </div>
+ <ul className="grid grid-cols-2 gap-x-4 gap-y-2 text-sm text-content-secondary">
+ {features.map(key => (
+ <li key={key} className="flex items-center gap-2">
+ <span
+ aria-hidden="true"
+ className="h-2 w-2 shrink-0 rotate-45 rounded-[2px] bg-primary-500"
+ />
+ {t(key)}
+ </li>
+ ))}
+ </ul>
+ <div className="rounded-lg bg-primary-50 px-3 py-2 text-center text-sm font-medium text-primary-700">
+ {t('welcome.th.credit')}
+ </div>
+ <div className="mt-auto space-y-3">
+ {/* TODO: replace this inline provider reveal with a single `openUrl` to a
+ tinyhumans.ai login page that returns
+ `openhuman://auth?token=...&state=...`. That hosted single-login page
+ does not exist yet, so for now the CTA reveals the three existing
+ OAuth provider buttons (google, github, twitter). */}
+ <Button
+ data-testid="welcome-cta-tinyhumans"
+ variant="primary"
+ size="md"
+ onClick={() => setShowProviders(true)}
+ aria-expanded={showProviders}
+ className="w-full py-3">
+ {t('welcome.th.cta')}
+ </Button>
+ {showProviders ? (
+ <div className="flex flex-wrap items-center justify-center gap-3">
+ {oauthProviderConfigs
+ .filter(provider => provider.showOnWelcome)
+ .map(provider => (
+ <OAuthProviderButton
+ key={provider.id}
+ provider={provider}
+ className="rounded-full! px-4! py-2!"
+ />
+ ))}
+ </div>
+ ) : null}
+ <p className="text-center text-xs text-content-muted">
+ {t('welcome.th.providers')}
+ </p>
+ </div>
+ </div>
+ </Card>
- <div className="mt-4 px-2 space-y-2">
- <Button
- variant="secondary"
- size="md"
- onClick={handleSelectRuntime}
- className="w-full py-3">
- {t('welcome.selectRuntime')}
- </Button>
- <Button
- variant="secondary"
- size="md"
- onClick={handleLocalLogin}
- disabled={isLocalSigningIn}
- className="w-full py-3">
- {isLocalSigningIn
- ? t('welcome.localSessionStarting')
- : t('welcome.continueLocallyExperimental')}
- </Button>
- {localLoginError ? (
- <p className="text-[11px] leading-4 text-center font-medium text-red-700">
- {localLoginError}
+ <Card
+ data-testid="welcome-card-self"
+ padded
+ divided={false}
+ className="flex flex-col shadow-soft">
+ <div className="flex h-full flex-col gap-4">
+ <div>
+ <h2 className="text-lg font-semibold text-content">
+ {t('welcome.self.title')}
+ </h2>
+ <p className="mt-1 text-sm text-content-muted">{t('welcome.self.promise')}</p>
+ </div>
+ <div>
+ <p className="text-sm font-medium text-content-secondary">
+ {t('welcome.self.listLabel')}
+ </p>
+ <ol className="mt-2 space-y-2 text-sm text-content-secondary">
+ {steps.map((key, index) => (
+ <li key={key} className="flex items-center gap-3">
+ <span
+ aria-hidden="true"
+ className="flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-surface-muted text-xs font-semibold text-content-secondary">
+ {index + 1}
+ </span>
+ {t(key)}
+ </li>
+ ))}
+ </ol>
+ </div>
+ <p className="text-xs text-content-muted">{t('welcome.self.time')}</p>
+ <div className="mt-auto space-y-2">
+ <Button
+ data-testid="welcome-cta-self"
+ variant="secondary"
+ size="md"
+ onClick={handleLocalLogin}
+ disabled={isLocalSigningIn}
+ className="w-full py-3">
+ {isLocalSigningIn ? t('welcome.localSessionStarting') : t('welcome.self.cta')}
+ </Button>
+ {localLoginError ? (
+ <p
+ role="alert"
+ className="text-center text-[11px] leading-4 font-medium text-coral-600">
+ {localLoginError}
+ </p>
+ ) : null}
+ </div>
+ </div>
+ </Card>
+ </div>
+
+ {/* A door for the few, not a third option: sits below both cards. */}
+ <p className="mt-6 text-center text-sm text-content-muted">
+ {t('welcome.serverPrompt')}{' '}
+ <button
+ type="button"
+ data-testid="welcome-server-link"
+ onClick={handleSelectRuntime}
+ className="font-medium text-primary-600 underline underline-offset-2 hover:text-primary-700">
+ {t('welcome.serverCta')}
+ </button>
</p>
- ) : null}
- </div>
+
+ <p className="mt-4 text-center text-[11px] leading-5 text-content-muted dark:text-content-faint">
+ {t('welcome.termsIntro')} {legalLink(TERMS_OF_USE_URL, t('welcome.termsOfUse'))}{' '}
+ {t('welcome.termsJoiner')} {legalLink(PRIVACY_POLICY_URL, t('welcome.privacyPolicy'))}
+ {t('welcome.termsOutro')}
+ </p>
+ </>
+ )}
</div>
</div>
);
diff --git a/app/src/pages/__tests__/Welcome.test.tsx b/app/src/pages/__tests__/Welcome.test.tsx
index d712c45c14..1505e373d8 100644
--- a/app/src/pages/__tests__/Welcome.test.tsx
+++ b/app/src/pages/__tests__/Welcome.test.tsx
@@ -106,6 +106,49 @@ vi.mock('../../utils/configPersistence', () => ({
normalizeRpcUrl: vi.fn((url: string) => url.trim().replace(/\/+$/, '')),
}));
+/** The TinyHumans CTA reveals the provider buttons inline; they are not there before. */
+function revealProviders() {
+ fireEvent.click(screen.getByTestId('welcome-cta-tinyhumans'));
+}
+
+describe('Welcome — two-card layout', () => {
+ beforeEach(() => {
+ vi.mocked(useDeepLinkAuthState).mockReturnValue({
+ isProcessing: false,
+ errorMessage: null,
+ errorMessageKey: null,
+ requiresAppDataReset: false,
+ });
+ });
+
+ it('renders both cards with their CTAs and the server link', () => {
+ renderWithProviders(<Welcome />);
+
+ expect(screen.getByTestId('welcome-card-tinyhumans')).toBeInTheDocument();
+ expect(screen.getByTestId('welcome-card-self')).toBeInTheDocument();
+ expect(screen.getByTestId('welcome-cta-tinyhumans')).toHaveTextContent(
+ 'Continue with TinyHumans'
+ );
+ expect(screen.getByTestId('welcome-cta-self')).toHaveTextContent('Set it up myself');
+ expect(screen.getByTestId('welcome-server-link')).toHaveTextContent('Connect to it.');
+ });
+
+ it('keeps provider buttons hidden until the TinyHumans CTA is clicked', () => {
+ renderWithProviders(<Welcome />);
+
+ expect(screen.queryByRole('button', { name: 'google' })).not.toBeInTheDocument();
+ expect(screen.getByTestId('welcome-cta-tinyhumans')).toHaveAttribute('aria-expanded', 'false');
+
+ revealProviders();
+
+ expect(screen.getByTestId('welcome-cta-tinyhumans')).toHaveAttribute('aria-expanded', 'true');
+ expect(screen.getByRole('button', { name: 'google' })).toBeInTheDocument();
+ expect(screen.getByRole('button', { name: 'github' })).toBeInTheDocument();
+ expect(screen.getByRole('button', { name: 'twitter' })).toBeInTheDocument();
+ expect(screen.queryByRole('button', { name: 'discord' })).not.toBeInTheDocument();
+ });
+});
+
describe('Welcome auth entrypoint', () => {
beforeEach(() => {
oauthButtonSpy.mockReset();
@@ -121,6 +164,7 @@ describe('Welcome auth entrypoint', () => {
it('renders only the OAuth buttons when auth is idle', () => {
renderWithProviders(<Welcome />);
+ revealProviders();
expect(screen.queryByLabelText('Email address')).not.toBeInTheDocument();
expect(screen.queryByRole('button', { name: 'Continue with email' })).not.toBeInTheDocument();
@@ -148,6 +192,7 @@ describe('Welcome auth entrypoint', () => {
it('delegates OAuth clicks to OAuthProviderButton without an override', () => {
renderWithProviders(<Welcome />);
+ revealProviders();
fireEvent.click(screen.getByRole('button', { name: 'google' }));
fireEvent.click(screen.getByRole('button', { name: 'github' }));
@@ -169,7 +214,30 @@ describe('Welcome auth entrypoint', () => {
renderWithProviders(<Welcome />);
- expect(screen.getByRole('status')).toHaveTextContent('Signing you in...');
+ expect(screen.getByTestId('welcome-handoff')).toBeInTheDocument();
+ expect(screen.getByRole('status')).toHaveTextContent('Finishing sign-in in your browser');
+ expect(screen.getByTestId('welcome-handoff-reopen')).toBeInTheDocument();
+ // The two cards are replaced by the hand-off screen while auth is in flight.
+ expect(screen.queryByTestId('welcome-card-tinyhumans')).not.toBeInTheDocument();
+ });
+
+ it('offers retry and a self-hosted fallback when the browser hand-off fails', async () => {
+ vi.mocked(useDeepLinkAuthState).mockReturnValue({
+ isProcessing: false,
+ errorMessage: 'OAuth failed',
+ errorMessageKey: null,
+ requiresAppDataReset: false,
+ });
+
+ renderWithProviders(<Welcome />);
+
+ expect(screen.getByRole('alert')).toHaveTextContent("Sign-in didn't come back");
+ fireEvent.click(screen.getByTestId('welcome-handoff-retry'));
+ expect(screen.getByRole('button', { name: 'google' })).toBeInTheDocument();
+
+ fireEvent.click(screen.getByTestId('welcome-handoff-fallback-self'));
+ await waitFor(() => expect(mockStoreSessionToken).toHaveBeenCalledTimes(1));
+ expect(mockNavigate).toHaveBeenCalledWith('/onboarding/custom/inference', { replace: true });
});
it('renders deep-link auth errors', () => {
@@ -242,7 +310,7 @@ describe('Welcome — decryption-failure recovery action', () => {
});
});
-describe('Welcome — Select runtime button', () => {
+describe('Welcome — server link (Connect to it.)', () => {
beforeEach(() => {
vi.mocked(useDeepLinkAuthState).mockReturnValue({
isProcessing: false,
@@ -258,10 +326,10 @@ describe('Welcome — Select runtime button', () => {
vi.mocked(clearStoredCoreMode).mockReset();
});
- it('renders the "Select a Runtime" button below the card', () => {
+ it('renders the "Connect to it." link below the cards', () => {
renderWithProviders(<Welcome />);
- expect(screen.getByRole('button', { name: 'Select a Runtime' })).toBeInTheDocument();
+ expect(screen.getByTestId('welcome-server-link')).toBeInTheDocument();
});
it('does not render the legacy "Configure RPC URL (Advanced)" toggle', () => {
@@ -272,12 +340,12 @@ describe('Welcome — Select runtime button', () => {
).not.toBeInTheDocument();
});
- it('clicking "Select a Runtime" clears persisted core-mode state and resets caches', () => {
+ it('clicking "Connect to it." clears persisted core-mode state and resets caches', () => {
const { store } = renderWithProviders(<Welcome />, {
preloadedState: { coreMode: { mode: { kind: 'cloud', url: 'http://x', token: 't' } } },
});
- fireEvent.click(screen.getByRole('button', { name: 'Select a Runtime' }));
+ fireEvent.click(screen.getByTestId('welcome-server-link'));
expect(storeRpcUrl).toHaveBeenCalledWith('');
expect(clearStoredCoreToken).toHaveBeenCalledTimes(1);
@@ -304,6 +372,7 @@ describe('Welcome — OAuth buttons presence', () => {
it('renders all providers with showOnWelcome=true', () => {
renderWithProviders(<Welcome />);
+ revealProviders();
expect(screen.getByRole('button', { name: 'google' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'github' })).toBeInTheDocument();
@@ -312,6 +381,7 @@ describe('Welcome — OAuth buttons presence', () => {
it('does not render providers with showOnWelcome=false', () => {
renderWithProviders(<Welcome />);
+ revealProviders();
expect(screen.queryByRole('button', { name: 'discord' })).not.toBeInTheDocument();
});
@@ -341,31 +411,33 @@ describe('Welcome — local login', () => {
});
});
- it('renders the "Continue locally" button regardless of runtime mode', () => {
+ it('renders the "Set it up myself" button regardless of runtime mode', () => {
renderWithProviders(<Welcome />);
- expect(screen.getByRole('button', { name: /Continue locally/i })).toBeInTheDocument();
+ expect(screen.getByTestId('welcome-cta-self')).toBeInTheDocument();
});
- it('renders the "Continue locally" button in cloud mode too', () => {
+ it('renders the "Set it up myself" button in cloud mode too', () => {
renderWithProviders(<Welcome />, {
preloadedState: { coreMode: { mode: { kind: 'cloud', url: 'http://x', token: 't' } } },
});
- expect(screen.getByRole('button', { name: /Continue locally/i })).toBeInTheDocument();
+ expect(screen.getByTestId('welcome-cta-self')).toBeInTheDocument();
});
- it('calls storeSessionToken with a local session token and navigates to /home', async () => {
+ it('"Set it up myself" starts a local session and goes to the custom wizard', async () => {
renderWithProviders(<Welcome />);
- const localBtn = screen.getByRole('button', { name: /Continue locally/i });
+ const localBtn = screen.getByTestId('welcome-cta-self');
fireEvent.click(localBtn);
await waitFor(() => {
expect(mockStoreSessionToken).toHaveBeenCalledTimes(1);
});
const [tokenArg, userArg] = mockStoreSessionToken.mock.calls[0];
- expect(tokenArg).toContain('local');
+ // A local session token is a 3-part JWT whose signature segment is "local".
+ expect(tokenArg.split('.')).toHaveLength(3);
+ expect(tokenArg.split('.')[2]).toBe('local');
expect(userArg).toEqual(expect.objectContaining({ id: 'local' }));
expect(mockNavigate).toHaveBeenCalledWith('/onboarding/custom/inference', { replace: true });
});
@@ -375,7 +447,7 @@ describe('Welcome — local login', () => {
renderWithProviders(<Welcome />);
- const localBtn = screen.getByRole('button', { name: /Continue locally/i });
+ const localBtn = screen.getByTestId('welcome-cta-self');
fireEvent.click(localBtn);
await waitFor(() => {
@@ -397,7 +469,7 @@ describe('Welcome — local login', () => {
);
renderWithProviders(<Welcome />);
- fireEvent.click(screen.getByRole('button', { name: /Continue locally/i }));
+ fireEvent.click(screen.getByTestId('welcome-cta-self'));
await waitFor(() => {
expect(screen.getByText(/could not read its configuration file/i)).toBeInTheDocument();
diff --git a/app/src/pages/onboarding/Onboarding.tsx b/app/src/pages/onboarding/Onboarding.tsx
index 2482be7d67..eea562742e 100644
--- a/app/src/pages/onboarding/Onboarding.tsx
+++ b/app/src/pages/onboarding/Onboarding.tsx
@@ -3,16 +3,19 @@ import { Navigate, Route, Routes } from 'react-router-dom';
import OnboardingLayout from './OnboardingLayout';
import CustomInferencePage from './pages/CustomInferencePage';
import CustomSearchPage from './pages/CustomSearchPage';
-import RuntimeChoicePage from './pages/RuntimeChoicePage';
import VaultSetupStep from './pages/VaultSetupStep';
import WelcomePage from './pages/WelcomePage';
/**
* Routed onboarding flow.
*
- * welcome → runtime-choice
- * ├── cloud → /chat
- * └── custom → /custom/inference → search → vault → /chat
+ * welcome ─┬─ TinyHumans session → completeAndExit → /chat
+ * └─ local session → /custom/inference → search → vault → /chat
+ *
+ * `runtime-choice` is gone: the identity question is asked once on the
+ * Welcome screen (`pages/Welcome.tsx`) as two cards, so asking it again three
+ * screens later was the same question twice. Its page and step files stay on
+ * disk, unrouted.
*
* Each custom step asks Default (let OpenHuman manage it) vs Configure
* (let me pick). Default is a one-click pick; Configure renders inline
@@ -32,7 +35,6 @@ const Onboarding = () => {
<Route element={<OnboardingLayout />}>
<Route index element={<Navigate to="welcome" replace />} />
<Route path="welcome" element={<WelcomePage />} />
- <Route path="runtime-choice" element={<RuntimeChoicePage />} />
<Route path="custom/inference" element={<CustomInferencePage />} />
<Route path="custom/search" element={<CustomSearchPage />} />
<Route path="custom/vault" element={<VaultSetupStep />} />
diff --git a/app/src/pages/onboarding/components/WizardStepper.tsx b/app/src/pages/onboarding/components/WizardStepper.tsx
index 754d1d6bdd..9af11aff9b 100644
--- a/app/src/pages/onboarding/components/WizardStepper.tsx
+++ b/app/src/pages/onboarding/components/WizardStepper.tsx
@@ -1,4 +1,4 @@
-import { CheckIcon } from '../../../components/ui';
+import { Stepper } from '../../../components/ui';
import { useT } from '../../../lib/i18n/I18nContext';
interface WizardStepperProps {
@@ -9,66 +9,18 @@ interface WizardStepperProps {
}
/**
- * Horizontal step indicator rendered above the body of each custom-wizard
- * step. Renders a dot per step, connected by lines, with three visual
- * states: completed (filled sage with a check), active (filled primary),
- * and upcoming (outlined stone).
+ * Thin wrapper over the shared `Stepper` primitive that supplies the
+ * onboarding copy and the E2E test id.
*/
const WizardStepper = ({ labels, activeIndex }: WizardStepperProps) => {
const { t } = useT();
return (
- <ol
- role="list"
- aria-label={t('onboarding.custom.progressAriaLabel')}
- className="flex w-full items-start justify-between"
- data-testid="onboarding-wizard-stepper">
- {labels.map((label, idx) => {
- const completed = idx < activeIndex;
- const active = idx === activeIndex;
- const isLast = idx === labels.length - 1;
-
- const dotClasses = completed
- ? 'bg-sage-500 border-sage-500 text-content-inverted'
- : active
- ? 'bg-primary-500 border-primary-500 text-content-inverted'
- : 'bg-surface border-line-strong text-content-faint';
-
- const labelClasses = completed
- ? 'text-sage-700 dark:text-sage-300'
- : active
- ? 'text-content font-semibold'
- : 'text-content-faint';
-
- const connectorClasses = completed ? 'bg-sage-500' : 'bg-surface-strong';
-
- return (
- <li
- key={label}
- aria-current={active ? 'step' : undefined}
- className="relative flex flex-1 flex-col items-center">
- <div className="flex w-full items-center">
- {/* Left spacer / connector */}
- <div
- aria-hidden
- className={`h-0.5 flex-1 ${idx === 0 ? 'opacity-0' : connectorClasses}`}
- />
- <div
- className={`flex h-6 w-6 flex-none items-center justify-center rounded-full border-2 text-[10px] font-semibold ${dotClasses}`}>
- {completed ? <CheckIcon className="h-3 w-3" aria-hidden /> : idx + 1}
- </div>
- {/* Right connector */}
- <div
- aria-hidden
- className={`h-0.5 flex-1 ${isLast ? 'opacity-0' : connectorClasses}`}
- />
- </div>
- <span className={`mt-2 text-[11px] leading-tight text-center ${labelClasses}`}>
- {label}
- </span>
- </li>
- );
- })}
- </ol>
+ <Stepper
+ labels={labels}
+ activeIndex={activeIndex}
+ ariaLabel={t('onboarding.custom.progressAriaLabel')}
+ data-testid="onboarding-wizard-stepper"
+ />
);
};
diff --git a/app/src/pages/onboarding/pages/CustomInferencePage.test.tsx b/app/src/pages/onboarding/pages/CustomInferencePage.test.tsx
index 6f32536e3d..8b5b762937 100644
--- a/app/src/pages/onboarding/pages/CustomInferencePage.test.tsx
+++ b/app/src/pages/onboarding/pages/CustomInferencePage.test.tsx
@@ -70,7 +70,7 @@ describe('CustomInferencePage', () => {
clearSessionMock.mockClear();
});
- it('forces configure mode and hides the default/configure chooser for local sessions', () => {
+ it('renders the configuration panel directly with no default/configure chooser', () => {
renderPage();
expect(screen.getByTestId('ai-panel')).toBeInTheDocument();
diff --git a/app/src/pages/onboarding/pages/CustomSearchPage.test.tsx b/app/src/pages/onboarding/pages/CustomSearchPage.test.tsx
index b4b7cdec8e..dfef03ec0f 100644
--- a/app/src/pages/onboarding/pages/CustomSearchPage.test.tsx
+++ b/app/src/pages/onboarding/pages/CustomSearchPage.test.tsx
@@ -60,7 +60,7 @@ describe('CustomSearchPage', () => {
setDraftMock.mockReset();
});
- it('forces configure mode and hides the default/configure chooser for local sessions', () => {
+ it('renders the configuration panel directly with no default/configure chooser', () => {
renderPage();
expect(screen.getByTestId('search-panel')).toBeInTheDocument();
diff --git a/app/src/pages/onboarding/pages/CustomWizardConfigPage.tsx b/app/src/pages/onboarding/pages/CustomWizardConfigPage.tsx
index 4a14d6decc..0872383e75 100644
--- a/app/src/pages/onboarding/pages/CustomWizardConfigPage.tsx
+++ b/app/src/pages/onboarding/pages/CustomWizardConfigPage.tsx
@@ -1,17 +1,12 @@
import createDebug from 'debug';
-import { type ReactNode, useEffect, useState } from 'react';
+import { type ReactNode } from 'react';
import { useNavigate } from 'react-router-dom';
-import { useIsLocalSession } from '../../../hooks/useLocalSession';
import { useT } from '../../../lib/i18n/I18nContext';
import { useCoreState } from '../../../providers/CoreStateProvider';
import { trackEvent } from '../../../services/analytics';
import { CUSTOM_WIZARD_ROUTES, CUSTOM_WIZARD_STEPS } from '../customWizardSteps';
-import {
- type CustomStepChoice,
- type CustomStepKey,
- useOnboardingContext,
-} from '../OnboardingContext';
+import { type CustomStepKey, useOnboardingContext } from '../OnboardingContext';
import CustomWizardStep from '../steps/CustomWizardStep';
const log = createDebug('app:onboarding:custom');
@@ -41,26 +36,8 @@ export default function CustomWizardConfigPage({
const { t } = useT();
const navigate = useNavigate();
const { clearSession } = useCoreState();
- const { draft, setDraft, completeAndExit } = useOnboardingContext();
- const isLocalSession = useIsLocalSession();
+ const { completeAndExit } = useOnboardingContext();
const stepIndex = CUSTOM_WIZARD_STEPS.indexOf(stepKey);
- const [choice, setChoice] = useState<CustomStepChoice | null>(
- draft.customChoices?.[stepKey] ?? (isLocalSession ? 'configure' : null)
- );
-
- useEffect(() => {
- if (!isLocalSession) return;
- setChoice('configure');
- setDraft(prev => ({
- ...prev,
- customChoices: { ...prev.customChoices, [stepKey]: 'configure' },
- }));
- }, [isLocalSession, setDraft, stepKey]);
-
- const persistChoice = (next: CustomStepChoice) => {
- setChoice(next);
- setDraft(prev => ({ ...prev, customChoices: { ...prev.customChoices, [stepKey]: next } }));
- };
const isLast = stepIndex === CUSTOM_WIZARD_STEPS.length - 1;
const isFirst = stepIndex === 0;
@@ -90,25 +67,13 @@ export default function CustomWizardConfigPage({
stepCount={CUSTOM_WIZARD_STEPS.length}
title={t(`${namespace}.title`)}
subtitle={t(`${namespace}.subtitle`)}
- defaultDescription={t(`${namespace}.defaultDesc`)}
- configureDescription={t(`${namespace}.configureDesc`)}
configureContent={configureContent}
- defaultDisabled={isLocalSession}
- defaultDisabledReason={
- isLocalSession ? t('onboarding.custom.localDefaultDisabledReason') : undefined
- }
- hideChoiceCards={isLocalSession}
- choice={choice}
- onChoiceChange={persistChoice}
continueDisabled={continueDisabled}
continueHint={continueHint}
secondaryAction={secondaryAction}
onBack={() => void handleBack()}
onContinue={async () => {
- trackEvent('onboarding_step_complete', {
- step_name: `custom_${stepKey}`,
- choice: choice ?? 'default',
- });
+ trackEvent('onboarding_step_complete', { step_name: `custom_${stepKey}` });
if (isLast) {
try {
await completeAndExit();
diff --git a/app/src/pages/onboarding/pages/VaultSetupStep.test.tsx b/app/src/pages/onboarding/pages/VaultSetupStep.test.tsx
index 2085009708..bd996566fe 100644
--- a/app/src/pages/onboarding/pages/VaultSetupStep.test.tsx
+++ b/app/src/pages/onboarding/pages/VaultSetupStep.test.tsx
@@ -1,5 +1,5 @@
import { configureStore } from '@reduxjs/toolkit';
-import { render, screen } from '@testing-library/react';
+import { fireEvent, render, screen, waitFor } from '@testing-library/react';
import { Provider } from 'react-redux';
import { MemoryRouter } from 'react-router-dom';
import { beforeEach, describe, expect, it, vi } from 'vitest';
@@ -64,7 +64,7 @@ describe('VaultSetupStep', () => {
sessionToken = 'header.payload.local';
});
- it('forces configure mode and hides chooser cards for local sessions', () => {
+ it('renders the memory engine setup directly with no default/configure chooser', () => {
renderPage();
expect(screen.getByTestId('memory-engine-setup')).toBeInTheDocument();
@@ -72,11 +72,20 @@ describe('VaultSetupStep', () => {
expect(screen.queryByTestId('onboarding-custom-vault-step-configure')).not.toBeInTheDocument();
});
- it('shows default/configure chooser cards for managed sessions', () => {
+ it('does the same for managed sessions (the choice fork no longer depends on session)', () => {
sessionToken = 'header.payload.remote';
renderPage();
- expect(screen.getByTestId('onboarding-custom-vault-step-default')).toBeInTheDocument();
- expect(screen.getByTestId('onboarding-custom-vault-step-configure')).toBeInTheDocument();
+ expect(screen.getByTestId('memory-engine-setup')).toBeInTheDocument();
+ expect(screen.queryByTestId('onboarding-custom-vault-step-default')).not.toBeInTheDocument();
+ });
+
+ it('finishes setup via completeAndExit on Continue', async () => {
+ completeAndExitMock.mockResolvedValue(undefined);
+ renderPage();
+
+ fireEvent.click(screen.getByTestId('onboarding-next-button'));
+
+ await waitFor(() => expect(completeAndExitMock).toHaveBeenCalledTimes(1));
});
});
diff --git a/app/src/pages/onboarding/pages/VaultSetupStep.tsx b/app/src/pages/onboarding/pages/VaultSetupStep.tsx
index 2e5f35b203..7589e2204e 100644
--- a/app/src/pages/onboarding/pages/VaultSetupStep.tsx
+++ b/app/src/pages/onboarding/pages/VaultSetupStep.tsx
@@ -1,49 +1,30 @@
-import { useCallback, useEffect, useMemo, useState } from 'react';
+import { useMemo, useState } from 'react';
import { useNavigate } from 'react-router-dom';
import MemoryEngineSetup from '../../../components/memory/MemoryEngineSetup';
import { Alert, AlertDescription } from '../../../components/ui';
-import { useIsLocalSession } from '../../../hooks/useLocalSession';
import { useT } from '../../../lib/i18n/I18nContext';
import { trackEvent } from '../../../services/analytics';
import { CUSTOM_WIZARD_ROUTES, CUSTOM_WIZARD_STEPS } from '../customWizardSteps';
-import { type CustomStepChoice, useOnboardingContext } from '../OnboardingContext';
+import { useOnboardingContext } from '../OnboardingContext';
import CustomWizardStep from '../steps/CustomWizardStep';
const STEP_KEY = 'vault' as const;
+/**
+ * Step 3 — where OpenHuman keeps what it learns.
+ *
+ * The Default/Configure fork that used to sit above this is gone: it asked
+ * again what the runtime choice already answered, and "Default" branched to
+ * nothing. The engine picker is the step.
+ */
export default function VaultSetupStep() {
const { t } = useT();
const navigate = useNavigate();
- const { draft, setDraft, completeAndExit } = useOnboardingContext();
+ const { completeAndExit } = useOnboardingContext();
const stepIndex = CUSTOM_WIZARD_STEPS.indexOf(STEP_KEY);
- const isLocalSession = useIsLocalSession();
-
- const initialChoice = isLocalSession ? 'configure' : (draft.customChoices?.[STEP_KEY] ?? null);
- const [choice, setChoice] = useState<CustomStepChoice | null>(initialChoice);
const [exitError, setExitError] = useState<string | null>(null);
- // A local session has no managed option to choose between, so the step is
- // pinned to `configure`. This runs as an effect, matching every other step
- // (`CustomWizardConfigPage`); it used to be a ref-guarded setState during
- // render, which is the same intent written a second, riskier way.
- useEffect(() => {
- if (!isLocalSession) return;
- setChoice('configure');
- setDraft(prev => ({
- ...prev,
- customChoices: { ...prev.customChoices, [STEP_KEY]: 'configure' },
- }));
- }, [isLocalSession, setDraft]);
-
- const persistChoice = useCallback(
- (next: CustomStepChoice) => {
- setChoice(next);
- setDraft(prev => ({ ...prev, customChoices: { ...prev.customChoices, [STEP_KEY]: next } }));
- },
- [setDraft]
- );
-
const configureContent = useMemo(() => <MemoryEngineSetup />, []);
return (
@@ -54,23 +35,11 @@ export default function VaultSetupStep() {
stepCount={CUSTOM_WIZARD_STEPS.length}
title={t('onboarding.custom.vault.title')}
subtitle={t('onboarding.custom.vault.subtitle')}
- defaultDescription={t('onboarding.custom.vault.defaultDesc')}
- configureDescription={t('onboarding.custom.vault.configureDesc')}
configureContent={configureContent}
- defaultDisabled={isLocalSession}
- defaultDisabledReason={
- isLocalSession ? t('onboarding.custom.vault.localDisabledReason') : undefined
- }
- hideChoiceCards={isLocalSession}
- choice={choice}
- onChoiceChange={persistChoice}
onBack={() => navigate(CUSTOM_WIZARD_ROUTES[CUSTOM_WIZARD_STEPS[stepIndex - 1]])}
onContinue={async () => {
setExitError(null);
- trackEvent('onboarding_step_complete', {
- step_name: 'custom_vault',
- choice: choice ?? 'default',
- });
+ trackEvent('onboarding_step_complete', { step_name: 'custom_vault' });
try {
await completeAndExit();
} catch (err) {
diff --git a/app/src/pages/onboarding/pages/WelcomePage.tsx b/app/src/pages/onboarding/pages/WelcomePage.tsx
index b0ba5fe3e0..e4ebff82f7 100644
--- a/app/src/pages/onboarding/pages/WelcomePage.tsx
+++ b/app/src/pages/onboarding/pages/WelcomePage.tsx
@@ -1,34 +1,61 @@
-import { useEffect } from 'react';
+import { useEffect, useRef, useState } from 'react';
import { useNavigate } from 'react-router-dom';
-import { useCoreState } from '../../../providers/CoreStateProvider';
+import { Alert, AlertDescription } from '../../../components/ui';
+import { useIsLocalSession } from '../../../hooks/useLocalSession';
+import { useT } from '../../../lib/i18n/I18nContext';
import { trackEvent } from '../../../services/analytics';
-import { isLocalSessionToken } from '../../../utils/localSession';
-import WelcomeStep from '../steps/WelcomeStep';
+import { useOnboardingContext } from '../OnboardingContext';
+/**
+ * The onboarding entry point, which now routes rather than asks.
+ *
+ * The identity question moved to the Welcome screen (`pages/Welcome.tsx`),
+ * where it is asked once as two cards. By the time anyone reaches here it is
+ * already answered, so this page only honours the answer:
+ *
+ * TinyHumans session -> nothing is left to configure. TinyHumans supplies
+ * inference, voice, search, memory and embeddings, so onboarding is marked
+ * complete and the user lands in chat.
+ * local session -> the three self-hosted steps.
+ *
+ * The old welcome -> runtime-choice pair asked the same question a second
+ * time, three screens after the first.
+ */
const WelcomePage = () => {
+ const { t } = useT();
const navigate = useNavigate();
- const { snapshot } = useCoreState();
- const isLocalSession = isLocalSessionToken(snapshot.sessionToken);
+ const isLocalSession = useIsLocalSession();
+ const { completeAndExit } = useOnboardingContext();
+ const [exitError, setExitError] = useState<string | null>(null);
+ const handled = useRef(false);
useEffect(() => {
+ if (handled.current) return;
+ handled.current = true;
trackEvent('onboarding_start');
+
if (isLocalSession) {
navigate('/onboarding/custom/inference', { replace: true });
+ return;
}
- }, [isLocalSession, navigate]);
- if (isLocalSession) {
- return null;
- }
+ trackEvent('onboarding_step_complete', { step_name: 'managed' });
+ void completeAndExit().catch(err => {
+ // Leave the user here with a retry rather than on a blank page: the
+ // flag write is the only thing between them and chat.
+ handled.current = false;
+ console.error('[onboarding:welcome] completeAndExit failed', err);
+ setExitError(err instanceof Error ? err.message : String(err));
+ });
+ }, [isLocalSession, navigate, completeAndExit]);
+
+ if (!exitError) return null;
return (
- <WelcomeStep
- onNext={() => {
- trackEvent('onboarding_step_complete', { step_name: 'welcome' });
- navigate('/onboarding/runtime-choice');
- }}
- />
+ <Alert variant="destructive" data-testid="onboarding-welcome-exit-error">
+ <AlertDescription>{t('onboarding.custom.vault.exitError')}</AlertDescription>
+ </Alert>
);
};
diff --git a/app/src/pages/onboarding/steps/CustomWizardStep.tsx b/app/src/pages/onboarding/steps/CustomWizardStep.tsx
index deed396aef..4b967e5dca 100644
--- a/app/src/pages/onboarding/steps/CustomWizardStep.tsx
+++ b/app/src/pages/onboarding/steps/CustomWizardStep.tsx
@@ -1,23 +1,26 @@
import { type ReactNode, useState } from 'react';
-import { Button, Card, Tile, TileGrid } from '../../../components/ui';
+import { Button, Card } from '../../../components/ui';
import { useT } from '../../../lib/i18n/I18nContext';
import OnboardingNextButton from '../components/OnboardingNextButton';
import WizardStepper from '../components/WizardStepper';
import { CUSTOM_WIZARD_STEPS, STEP_LABEL_KEYS } from '../customWizardSteps';
-import type { CustomStepChoice } from '../OnboardingContext';
interface CustomWizardStepProps {
stepIndex: number;
stepCount: number;
title: string;
subtitle: string;
- defaultDescription: string;
- configureDescription: string;
- /** Inline content rendered below the choice cards when 'configure' is picked. */
+ /**
+ * The step's configuration surface, rendered directly.
+ *
+ * There used to be a Default/Configure fork above this. It asked the same
+ * question the runtime choice already answered — a user reaches these steps
+ * precisely by saying they want to configure things themselves — and
+ * "Default" branched to nothing: no code ever read the recorded choice
+ * except the analytics tag. The step is the configuration now.
+ */
configureContent?: ReactNode;
- choice: CustomStepChoice | null;
- onChoiceChange: (choice: CustomStepChoice) => void;
onBack: () => void;
onContinue: () => void | Promise<void>;
/** Continue label override (used for the final "Finish setup" step). */
@@ -28,9 +31,6 @@ interface CustomWizardStepProps {
continueLoading?: boolean;
continueLoadingLabel?: string;
testId?: string;
- defaultDisabled?: boolean;
- defaultDisabledReason?: string;
- hideChoiceCards?: boolean;
/** Explains a blocked Continue (e.g. the panel has unsaved edits). */
continueHint?: string;
/** Rendered beneath the footer — the search step's "Skip for now". */
@@ -42,11 +42,7 @@ const CustomWizardStep = ({
stepCount,
title,
subtitle,
- defaultDescription,
- configureDescription,
configureContent,
- choice,
- onChoiceChange,
onBack,
onContinue,
continueLabel,
@@ -54,9 +50,6 @@ const CustomWizardStep = ({
continueLoading,
continueLoadingLabel,
testId,
- defaultDisabled = false,
- defaultDisabledReason,
- hideChoiceCards = false,
continueHint,
secondaryAction,
}: CustomWizardStepProps) => {
@@ -64,7 +57,7 @@ const CustomWizardStep = ({
const [isContinuing, setIsContinuing] = useState(false);
const handleContinue = async () => {
- if (isContinuing || choice === null || continueDisabled) return;
+ if (isContinuing || continueDisabled) return;
try {
setIsContinuing(true);
await onContinue();
@@ -79,9 +72,6 @@ const CustomWizardStep = ({
const stepperLabels = CUSTOM_WIZARD_STEPS.map(key => t(STEP_LABEL_KEYS[key]));
const rootTestId = testId ?? 'onboarding-custom-wizard-step';
- const choiceGroupName = `${rootTestId}-choice`;
- const defaultRadioId = `${rootTestId}-choice-default`;
- const configureRadioId = `${rootTestId}-choice-configure`;
return (
<Card
@@ -101,77 +91,26 @@ const CustomWizardStep = ({
<h1 className="mt-1 text-2xl font-title text-content leading-tight">{title}</h1>
<p className="mt-2 text-sm text-content-muted leading-relaxed">{subtitle}</p>
- {!hideChoiceCards ? (
- <>
- {/* `Tile` carries the selected/muted states the two hand-rolled
- choice buttons used to reimplement with `border-2` and `!`
- important overrides. */}
- <TileGrid columns={2} className="mt-6">
- <Tile
- data-testid={`${rootTestId}-default`}
- htmlFor={defaultRadioId}
- title={t('onboarding.custom.defaultTitle')}
- description={defaultDescription || t('onboarding.custom.defaultSubtitle')}
- selected={choice === 'default'}
- muted={defaultDisabled}
- control={
- <input
- id={defaultRadioId}
- type="radio"
- name={choiceGroupName}
- className="mt-0.5 size-4 accent-primary-500"
- checked={choice === 'default'}
- disabled={defaultDisabled}
- onChange={() => onChoiceChange('default')}
- />
- }
- />
- <Tile
- data-testid={`${rootTestId}-configure`}
- htmlFor={configureRadioId}
- title={t('onboarding.custom.configureTitle')}
- description={configureDescription || t('onboarding.custom.configureSubtitle')}
- selected={choice === 'configure'}
- control={
- <input
- id={configureRadioId}
- type="radio"
- name={choiceGroupName}
- className="mt-0.5 size-4 accent-primary-500"
- checked={choice === 'configure'}
- onChange={() => onChoiceChange('configure')}
- />
- }
- />
- </TileGrid>
-
- {defaultDisabled && defaultDisabledReason ? (
- <p className="mt-3 text-xs text-content-muted leading-relaxed">
- {defaultDisabledReason}
- </p>
- ) : null}
- </>
- ) : null}
-
{/* No wrapper card here: the embedded panels are themselves `Card`s, and
nesting one in another produced a card-in-a-card. */}
- {(choice === 'configure' || hideChoiceCards) && configureContent ? (
- <div className="mt-6">{configureContent}</div>
- ) : null}
+ {configureContent ? <div className="mt-6">{configureContent}</div> : null}
{/* Back and Continue carry equal width. Continue used to sit in a
`flex-1` wrapper beside an intrinsically-sized Back, so the primary
action ran the width of the card while Back shrank to its label —
a hierarchy nobody chose. */}
<div className="mt-8 flex items-stretch gap-3">
- <Button variant="secondary" onClick={onBack} className="flex-1 basis-0">
+ {/* `size="lg"` matches OnboardingNextButton, which is also lg. Left at
+ the default md, Back rendered h-9 next to a h-11 Continue — equal
+ width but visibly unequal height. */}
+ <Button variant="secondary" size="lg" onClick={onBack} className="flex-1 basis-0">
{t('onboarding.custom.back')}
</Button>
<div className="flex-1 basis-0">
<OnboardingNextButton
label={continueLabel ?? t('onboarding.custom.continue')}
onClick={() => void handleContinue()}
- disabled={choice === null || continueDisabled || isContinuing}
+ disabled={continueDisabled || isContinuing}
loading={continueLoading || isContinuing}
loadingLabel={continueLoadingLabel}
/>
diff --git a/app/src/pages/onboarding/steps/__tests__/CustomWizardStep.test.tsx b/app/src/pages/onboarding/steps/__tests__/CustomWizardStep.test.tsx
index bde93cae30..5e9af44d70 100644
--- a/app/src/pages/onboarding/steps/__tests__/CustomWizardStep.test.tsx
+++ b/app/src/pages/onboarding/steps/__tests__/CustomWizardStep.test.tsx
@@ -1,5 +1,6 @@
import { configureStore } from '@reduxjs/toolkit';
-import { render, screen, within } from '@testing-library/react';
+import { fireEvent, render, screen, within } from '@testing-library/react';
+import type { ComponentProps } from 'react';
import { Provider } from 'react-redux';
import { describe, expect, it, vi } from 'vitest';
@@ -9,7 +10,10 @@ import localeReducer from '../../../../store/localeSlice';
import { CUSTOM_WIZARD_STEPS } from '../../customWizardSteps';
import CustomWizardStep from '../CustomWizardStep';
-function renderStep(stepIndex: number) {
+function renderStep(
+ stepIndex: number,
+ extra: Partial<ComponentProps<typeof CustomWizardStep>> = {}
+) {
const store = configureStore({
reducer: { locale: localeReducer },
preloadedState: { locale: { current: 'en' as Locale } },
@@ -22,12 +26,9 @@ function renderStep(stepIndex: number) {
stepCount={CUSTOM_WIZARD_STEPS.length}
title="Title"
subtitle="Subtitle"
- defaultDescription="d"
- configureDescription="c"
- choice="configure"
- onChoiceChange={vi.fn()}
onBack={vi.fn()}
onContinue={vi.fn()}
+ {...extra}
/>
</I18nProvider>
</Provider>
@@ -60,3 +61,46 @@ describe('CustomWizardStep stepper', () => {
expect(screen.getByTestId('onboarding-step-counter')).toHaveTextContent('3');
});
});
+
+describe('CustomWizardStep content', () => {
+ // The Default/Configure fork was removed: it re-asked what the runtime choice
+ // already answered, and nothing ever read the recorded choice except an
+ // analytics tag. The step now always renders its configuration surface.
+ it('renders configureContent without any choice being made', () => {
+ renderStep(0, { configureContent: <div data-testid="panel">Panel</div> });
+
+ expect(screen.getByTestId('panel')).toBeInTheDocument();
+ expect(screen.queryByTestId('onboarding-custom-wizard-step-default')).not.toBeInTheDocument();
+ expect(screen.queryByTestId('onboarding-custom-wizard-step-configure')).not.toBeInTheDocument();
+ });
+
+ it('enables Continue without a choice and gates it only on continueDisabled', () => {
+ const onContinue = vi.fn();
+ const { rerender } = renderStep(0, { onContinue });
+ const next = screen.getByTestId('onboarding-next-button');
+ expect(next).toBeEnabled();
+ fireEvent.click(next);
+ expect(onContinue).toHaveBeenCalledTimes(1);
+
+ rerender(
+ <Provider
+ store={configureStore({
+ reducer: { locale: localeReducer },
+ preloadedState: { locale: { current: 'en' as Locale } },
+ })}>
+ <I18nProvider>
+ <CustomWizardStep
+ stepIndex={0}
+ stepCount={CUSTOM_WIZARD_STEPS.length}
+ title="Title"
+ subtitle="Subtitle"
+ onBack={vi.fn()}
+ onContinue={onContinue}
+ continueDisabled
+ />
+ </I18nProvider>
+ </Provider>
+ );
+ expect(screen.getByTestId('onboarding-next-button')).toBeDisabled();
+ });
+});