Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
feat(sidebar): turn the Sessions section into Recent sessions
vastsa50d202da5931
diff --git a/apps/desktop/src/components/Sidebar.tsx b/apps/desktop/src/components/Sidebar.tsxindex 969644e19..b0c9ae018 100644--- a/apps/desktop/src/components/Sidebar.tsx+++ b/apps/desktop/src/components/Sidebar.tsx@@ -38,6 +38,12 @@ import {getVisibleProjectSessions,updateProjectSessionExpansion,} from "../lib/sidebar-project-sessions";+import {+ getVisibleRecentSessions,+ nextRecentSessionsLimit,+ RECENT_SESSIONS_INITIAL_COUNT,+ selectRecentSessions,+} from "../lib/sidebar-recent-sessions";import { listableSessions } from "../lib/session-origin";import {composerDropItems,@@ -342,6 +348,7 @@ export function Sidebar({registerDismissGuard: registerSessionHoverCardDismissGuard,} = useSessionHoverCard();const [expandedProjectSessions, setExpandedProjectSessions] = useState<Record<string, boolean>>({});+ const [recentSessionsLimit, setRecentSessionsLimit] = useState(RECENT_SESSIONS_INITIAL_COUNT);const [draggingSessionId, setDraggingSessionId] = useState<string | null>(null);const [dropProjectKey, setDropProjectKey] = useState<string | null>(null);const [projectsDropActive, setProjectsDropActive] = useState(false);@@ -1032,29 +1039,40 @@ export function Sidebar({.sort(compareSessions),[filtered, compareSessions],);- const temporarySessionHistory = useMemo(- () => temporarySessions.filter((session) => !pinnedSessionIds.has(session.id)),- [temporarySessions, pinnedSessionIds],+ // Recent sessions: temporary chats plus every session shown under a retained+ // project, so a project's newest work stays visible while it is folded.+ const recentSessions = useMemo(+ () => selectRecentSessions(+ [...temporarySessions, ...projectEntries.flatMap((entry) => entry.sessions)],+ pinnedSessionIds,+ ),+ [temporarySessions, projectEntries, pinnedSessionIds],+ );+ const {+ visibleSessions: visibleRecentSessions,+ nextPageCount: recentNextPageCount,+ } = useMemo(+ () => getVisibleRecentSessions(recentSessions, recentSessionsLimit),+ [recentSessions, recentSessionsLimit],);const remoteProjectGroups = useMemo(() => groupRemoteProjectSessions(filtered.filter((session) => isRemoteSession(session) && !pinnedSessionIds.has(session.id)), compareSessions,), [filtered, pinnedSessionIds, compareSessions]);- // Flat ordered list of every visible session id — used for Shift+click range selection.+ // Flat ordered list of every visible session id — used for Shift+click range+ // selection. Follows render order; a project session also listed under+ // Recent keeps its first (Recent) position.const flatSessionOrder = useMemo(() => {- const ids: string[] = [];- // Pinned first (same order as rendered)- for (const s of pinnedSessions) ids.push(s.id);- // Then project sessions+ const ids = new Set<string>();+ for (const s of pinnedSessions) ids.add(s.id);+ for (const s of visibleRecentSessions) ids.add(s.id);for (const entry of projectEntries) {for (const s of entry.sessions) {- if (!pinnedSessionIds.has(s.id)) ids.push(s.id);+ if (!pinnedSessionIds.has(s.id)) ids.add(s.id);}}- for (const group of remoteProjectGroups) for (const session of group.sessions) ids.push(session.id);- // Then temporary (standalone) sessions- for (const s of temporarySessionHistory) ids.push(s.id);- return ids;- }, [pinnedSessions, projectEntries, pinnedSessionIds, temporarySessionHistory, remoteProjectGroups]);+ for (const group of remoteProjectGroups) for (const session of group.sessions) ids.add(session.id);+ return [...ids];+ }, [pinnedSessions, visibleRecentSessions, projectEntries, pinnedSessionIds, remoteProjectGroups]);/** Handle multi-select click on a session row. Returns true if the click was consumed by multi-select. */const handleMultiSelectClick = (event: React.MouseEvent, sessionId: string): boolean => {@@ -2632,7 +2650,7 @@ export function Sidebar({}}><span id="sidebar-standalone-sessions-label" className="sidebar-list-label">- {t("nav.sessions", { defaultValue: "Sessions" })}+ {t("nav.recentSessions")}</span><div className="sidebar-toolbar-actions">{showSessionSort ? (@@ -2688,11 +2706,23 @@ export function Sidebar({openSectionMenu("sessions", event.clientX, event.clientY);}}>- {temporarySessionHistory.length > 0 ? (- renderSessionRows(temporarySessionHistory, { temporary: true })- ) : temporarySessions.length === 0 ? (- <div className="sidebar-session-empty">{t("nav.noTemporarySessions")}</div>- ) : null}+ {visibleRecentSessions.length > 0 ? (+ <>+ {renderSessionRows(visibleRecentSessions, { global: true })}+ {recentNextPageCount > 0 ? (+ <button+ type="button"+ className="sidebar-load-more"+ data-action="recent-sessions-load-more"+ onClick={() => setRecentSessionsLimit(nextRecentSessionsLimit)}+ >+ {t("nav.loadMoreCount", { count: recentNextPageCount })}+ </button>+ ) : null}+ </>+ ) : (+ <div className="sidebar-session-empty">{t("nav.noRecentSessions")}</div>+ )}</div></section>) : null}diff --git a/apps/desktop/src/lib/sidebar-recent-sessions.ts b/apps/desktop/src/lib/sidebar-recent-sessions.tsnew file mode 100644index 000000000..c6317e74f--- /dev/null+++ b/apps/desktop/src/lib/sidebar-recent-sessions.ts@@ -0,0 +1,49 @@+/** Rows the Recent sessions list shows before the first Load more. */+export const RECENT_SESSIONS_INITIAL_COUNT = 7;+/** Rows each Load more click appends to the Recent sessions list. */+export const RECENT_SESSIONS_PAGE_SIZE = 10;++interface RecentSessionLike {+ id: string;+ updatedAt?: string | null;+}++function recentTimestamp(value?: string | null): number {+ const time = value ? Date.parse(value) : Number.NaN;+ return Number.isFinite(time) ? time : Number.NEGATIVE_INFINITY;+}++/**+ * Every listable session across projects and temporary chats, newest first.+ * Project sessions intentionally appear here as well as in their project+ * group so they stay reachable while the project is folded. Rows already+ * shown in the Pinned section are left out.+ */+export function selectRecentSessions<T extends RecentSessionLike>(+ sessions: readonly T[],+ excludedIds: ReadonlySet<string>,+): T[] {+ return sessions+ .filter((session) => !excludedIds.has(session.id))+ .sort((a, b) => {+ const byRecent = recentTimestamp(b.updatedAt) - recentTimestamp(a.updatedAt);+ if (byRecent !== 0 && !Number.isNaN(byRecent)) return byRecent;+ return a.id.localeCompare(b.id);+ });+}++export function getVisibleRecentSessions<T>(+ sessions: readonly T[],+ limit: number,+): { visibleSessions: T[]; nextPageCount: number } {+ const visibleSessions = sessions.slice(0, Math.max(0, limit));+ const hidden = sessions.length - visibleSessions.length;+ return {+ visibleSessions,+ nextPageCount: Math.min(hidden, RECENT_SESSIONS_PAGE_SIZE),+ };+}++export function nextRecentSessionsLimit(limit: number): number {+ return limit + RECENT_SESSIONS_PAGE_SIZE;+}diff --git a/apps/desktop/src/styles/sidebar-threads.css b/apps/desktop/src/styles/sidebar-threads.cssindex f6c6bd204..c60d2ad93 100644--- a/apps/desktop/src/styles/sidebar-threads.css+++ b/apps/desktop/src/styles/sidebar-threads.css@@ -300,9 +300,9 @@}.sidebar-session-group-body.standalone {- /* Five compact 28px rows plus the four 1px gaps between them, and the 2px- label inset, before the list starts scrolling internally. */- max-height: 146px;+ /* Ten compact 28px rows plus the nine 1px gaps between them, and the 2px+ label inset, before the Recent list starts scrolling internally. */+ max-height: 291px;min-height: 0;overflow-x: hidden;overflow-y: auto;diff --git a/apps/desktop/test/sidebar-modules-visibility.test.mjs b/apps/desktop/test/sidebar-modules-visibility.test.mjsindex a57c1966b..c0a773904 100644--- a/apps/desktop/test/sidebar-modules-visibility.test.mjs+++ b/apps/desktop/test/sidebar-modules-visibility.test.mjs@@ -147,7 +147,9 @@ test("settings sidebar modules hide and restore each sidebar module", async () =// Without projects the session list takes the freed height.const noProjects = renderSidebar({ sidebarModules: { projects: false } });assert.match(noProjects, /class="sidebar-standalone-sessions is-fill"/);- assert.ok(!rows(noProjects).includes("project-row"));+ assert.ok(!noProjects.includes('data-sidebar-project-group="/open"'));+ // Recent still lists project sessions, so they stay reachable.+ assert.deepEqual(rows(noProjects).filter((id) => id === "project-row"), ["project-row"]);// Scheduled stays off while scheduled tasks are disabled, and its switch says so.const scheduledOff = { scheduledTasksEnabled: false };diff --git a/apps/desktop/test/sidebar-navigation.test.mjs b/apps/desktop/test/sidebar-navigation.test.mjsindex aa796ed04..7d4ff2e4c 100644--- a/apps/desktop/test/sidebar-navigation.test.mjs+++ b/apps/desktop/test/sidebar-navigation.test.mjs@@ -128,7 +128,7 @@ test("destination history is available through shortcuts without titlebar buttonassert.doesNotMatch(appSource, /title=\{t\("nav\.(?:back|forward)"\)\}/);});-test("sidebar shows a bounded standalone session list before retained projects", () => {+test("sidebar shows a bounded Recent session list before retained projects", () => {const newProjectAction = sidebarSource.match(/<div[\s\S]*?className="sidebar-list-toolbar"[\s\S]*?data-action="new-project"[\s\S]*?<\/div>/,)?.[0] ?? "";@@ -139,10 +139,11 @@ test("sidebar shows a bounded standalone session list before retained projects",assert.match(newProjectAction, /t\("nav\.projects"\)/);assert.match(newProjectAction, /<IconNewProject/);assert.match(newProjectAction, /openProjectPicker\(\)/);- assert.match(standaloneSessions, /t\("nav\.sessions"/);+ assert.match(standaloneSessions, /t\("nav\.recentSessions"\)/);assert.match(standaloneSessions, /data-action="new-standalone-session"/);assert.match(standaloneSessions, /createSession\(\{ projectPath: null \}\)/);- assert.match(standaloneSessions, /renderSessionRows\(temporarySessionHistory/);+ assert.match(standaloneSessions, /renderSessionRows\(visibleRecentSessions, \{ global: true \}\)/);+ assert.match(standaloneSessions, /data-action="recent-sessions-load-more"/);assert.ok(sidebarSource.indexOf('data-sidebar-session-section="temporary"') <sidebarSource.indexOf('data-action="new-project"'),@@ -151,7 +152,7 @@ test("sidebar shows a bounded standalone session list before retained projects",globalStyles,// `[^}]*`, not `[\s\S]*?`: the assertion must read this block, not a// `max-height` in some later partial of the concatenated stylesheet.- /\.sidebar-session-group-body\.standalone\s*\{[^}]*max-height:\s*146px;[^}]*overflow-x:\s*hidden;[^}]*overflow-y:\s*auto;/,+ /\.sidebar-session-group-body\.standalone\s*\{[^}]*max-height:\s*291px;[^}]*overflow-x:\s*hidden;[^}]*overflow-y:\s*auto;/,);assert.doesNotMatch(sidebarSource, /data-sidebar-project-group="temporary"/);});diff --git a/apps/desktop/test/sidebar-pinned-rendering.test.mjs b/apps/desktop/test/sidebar-pinned-rendering.test.mjsindex 60f93ae03..a452d47c4 100644--- a/apps/desktop/test/sidebar-pinned-rendering.test.mjs+++ b/apps/desktop/test/sidebar-pinned-rendering.test.mjs@@ -86,6 +86,9 @@ test("sidebar renders global pins once, outside project folding and history limiconst pinnedSection = (html) =>html.match(/<section[^>]*data-sidebar-session-section="pinned"[\s\S]*?<\/section>/)?.[0] ??"";+ const recentSection = (html) =>+ html.match(/<section[^>]*data-sidebar-session-section="temporary"[\s\S]*?<\/section>/)?.[0] ??+ "";const html = render();const expectedPins = ["blank-path-pin",@@ -107,16 +110,34 @@ test("sidebar renders global pins once, outside project folding and history limihtml.indexOf('data-sidebar-session-section="pinned"') <html.indexOf('data-sidebar-session-section="temporary"'),);- assert.equal(rows(html).length, new Set(rows(html)).size, "pins have no duplicate rows");- assert.equal(rows(html).filter((id) => id.startsWith("normal-")).length, 10);- assert.ok(rows(html).includes("temporary-normal"));+ for (const id of expectedPins) {+ assert.equal(rows(html).filter((row) => row === id).length, 1, `${id} renders once`);+ }+ const recentRows = rows(recentSection(html));+ assert.equal(recentRows.length, 7, "Recent opens with seven rows");+ assert.ok(recentRows.every((id) => !expectedPins.includes(id)), "Recent skips pins");+ assert.deepEqual(recentRows.slice(0, 3), ["normal-00", "normal-01", "normal-02"]);+ assert.match(recentSection(html), /data-action="recent-sessions-load-more"/);+ const openProject =+ html.match(/data-sidebar-project-group="\/open"[\s\S]*?<\/section>/)?.[0] ?? "";+ assert.equal(rows(openProject).filter((id) => id.startsWith("normal-")).length, 10);+ // 11 normal + date-row + temporary-normal: six wait behind Load more.+ assert.ok(!recentRows.includes("temporary-normal"));+ assert.ok(recentSection(html).includes(+ catalogs.en.nav.loadMoreCount.replace("{{count}}", "6"),+ ));assert.ok(!rows(html).includes("archived-pin"));assert.ok(!rows(html).includes("archived-project-pin"));const unpinned = render({ sessionMeta: {} });assert.equal(pinnedSection(unpinned), "");- assert.ok(rows(unpinned).includes("temporary-pin"));assert.ok(!rows(unpinned).includes("closed-pin"), "unpin respects closed project tabs");+ // Unpinned rows return to Recent; a closed or archived project stays out.+ const unpinnedRecent = rows(recentSection(render({ sessionMeta: {}, sessions: pins })));+ assert.deepEqual(+ [...unpinnedRecent].sort(),+ ["archived-pin", "blank-path-pin", "collapsed-pin", "open-pin", "temporary-pin"],+ );const collapsedGroup =unpinned.match(/data-sidebar-project-group="\/collapsed"[\s\S]*?<\/section>/)?.[0] ?? "";assert.match(@@ -169,13 +190,23 @@ test("sidebar renders global pins once, outside project folding and history limiassert.deepEqual(rows(emptyGroup), [], "an empty project renders no session rows");const restored = render({ sessionView: { sort: "recent", archived: true } });assert.equal(rows(pinnedSection(restored)).length, pins.length);- assert.equal(rows(restored).length, new Set(rows(restored)).size);+ for (const { id } of pins) {+ assert.equal(rows(restored).filter((row) => row === id).length, 1, `${id} renders once`);+ }- const selectedRows = (markup) => [...markup.matchAll(+ // A project session can show in Recent and in its project at once; both+ // copies mark the same selection, so compare the distinct ids.+ const selectedRows = (markup) => [...new Set([...markup.matchAll(/class="thread-item active[^"]*" data-sidebar-session-row="([^"]+)"/g,- )].map((match) => match[1]);+ )].map((match) => match[1]))];+ // `temporary-normal` is older than the first Recent page, so render it+ // with only the pins around it to keep its row on screen.for (const id of ["normal-00", "open-pin", "temporary-normal", "temporary-pin"]) {- const selected = render({ activeProjectPath: "/open", activeSessionId: id });+ const selected = render({+ activeProjectPath: "/open",+ activeSessionId: id,+ ...(id === "temporary-normal" ? { sessions: [...pins, session(id, null)] } : {}),+ });assert.deepEqual(selectedRows(selected), [id]);assert.match(selected, /data-sidebar-project-group="\/open" data-current-workspace="true"/);assert.match(selected, /sidebar-project-active-dot/);diff --git a/apps/desktop/test/sidebar-recent-sessions.test.mjs b/apps/desktop/test/sidebar-recent-sessions.test.mjsnew file mode 100644index 000000000..46fd03cb2--- /dev/null+++ b/apps/desktop/test/sidebar-recent-sessions.test.mjs@@ -0,0 +1,49 @@+import assert from "node:assert/strict";+import test from "node:test";+import {+ getVisibleRecentSessions,+ nextRecentSessionsLimit,+ RECENT_SESSIONS_INITIAL_COUNT,+ RECENT_SESSIONS_PAGE_SIZE,+ selectRecentSessions,+} from "../src/lib/sidebar-recent-sessions.ts";++const at = (minutes) => new Date(Date.UTC(2026, 0, 1, 0, minutes)).toISOString();++test("recent sessions merge project and temporary chats newest first, without pins", () => {+ const sessions = [+ { id: "project-old", projectPath: "/a", updatedAt: at(1) },+ { id: "temporary-new", projectPath: null, updatedAt: at(9) },+ { id: "project-new", projectPath: "/b", updatedAt: at(5) },+ { id: "pinned", projectPath: "/a", updatedAt: at(10) },+ { id: "undated", projectPath: null },+ ];+ assert.deepEqual(+ selectRecentSessions(sessions, new Set(["pinned"])).map((s) => s.id),+ ["temporary-new", "project-new", "project-old", "undated"],+ );+ assert.deepEqual(sessions[0].id, "project-old", "input order is untouched");+});++test("recent sessions show seven rows, then grow by ten per Load more", () => {+ assert.equal(RECENT_SESSIONS_INITIAL_COUNT, 7);+ assert.equal(RECENT_SESSIONS_PAGE_SIZE, 10);+ const ids = Array.from({ length: 30 }, (_, index) => `s-${index}`);++ let limit = RECENT_SESSIONS_INITIAL_COUNT;+ let page = getVisibleRecentSessions(ids, limit);+ assert.deepEqual(page.visibleSessions, ids.slice(0, 7));+ assert.equal(page.nextPageCount, 10);++ limit = nextRecentSessionsLimit(limit);+ page = getVisibleRecentSessions(ids, limit);+ assert.equal(page.visibleSessions.length, 17);+ assert.equal(page.nextPageCount, 10);++ limit = nextRecentSessionsLimit(nextRecentSessionsLimit(limit));+ page = getVisibleRecentSessions(ids, limit);+ assert.equal(page.visibleSessions.length, 30);+ assert.equal(page.nextPageCount, 0);++ assert.deepEqual(getVisibleRecentSessions(ids.slice(0, 12), 7).nextPageCount, 5);+});diff --git a/docs/spec/04-ux/08-component-spec.md b/docs/spec/04-ux/08-component-spec.mdindex bdb1e2f18..d91c309cc 100644--- a/docs/spec/04-ux/08-component-spec.md+++ b/docs/spec/04-ux/08-component-spec.md@@ -545,11 +545,11 @@ visually distinct from list content.| Hover row | Project headers and all conversation rows share one full-row `--ds-bg-hover` surface, radius and transition; selected conversation fill takes precedence || Project session metadata | When Session time is enabled, the trailing slot shows the last-reply date at rest and replaces it with session actions on hover or keyboard focus, without a divider. Dates within seven calendar days are relative; older dates show localized month and day without a year || Current workspace | Project header shows the workspace dot, never a persistent selection fill; topbar follows that workspace; composer exposes no workspace identity |-| Navigation selection | Only the selected conversation on the chat page uses `--ds-bg-active`, including pinned and standalone rows; folding its group never transfers selection to the header. No conversation or a non-chat page means no selected conversation row |+| Navigation selection | Only the selected conversation on the chat page uses `--ds-bg-active`, including pinned and Recent rows (a project conversation shown in both Recent and its project marks both copies); folding its group never transfers selection to the header. No conversation or a non-chat page means no selected conversation row || Keyboard focus | The focused control keeps its visible outline; the project title stays transparent and independent action buttons retain their own hover feedback || Collapsed project | Header remains visible; unpinned child conversations are hidden; global pins remain visible || Archived row | Hidden by default; visible in the explicit archived view |-| No retained project | Compact Open project entry; standalone Sessions rows remain available |+| No retained project | Compact Open project entry; Recent rows remain available || Empty group | Muted one-line empty state; group create action remains available || Default session title | New task/New chat (localized where applicable) until the first prompt, the user, or an installed title plugin sets one || First prompt title | A normalized 48-character prompt fallback appears immediately and is stored as a still-replaceable automatic title |@@ -1698,9 +1698,14 @@ near-zero duration. A folded group keeps its rows mounted, `aria-hidden`, andlocal view controls rather than host queries.- Temporary means **not bound to a project**, not ephemeral storage; thesesessions survive restart.-- The standalone Sessions body is a 146px window over five compact 28px rows,- their 1px row gaps, and the 2px label inset; it- scrolls internally when more rows exist. The Projects list uses the remaining+- The Recent sessions section lists every unpinned conversation from the+ temporary scope and from retained, non-archived projects, newest+ `updatedAt` first. A project conversation therefore appears both in Recent+ and in its project group, so it stays visible while that project is folded;+ a temporary conversation appears only in Recent. Recent opens with seven+ rows; a trailing Load more button appends ten more per click. Its body is a+ 291px window over ten compact 28px rows, their 1px row gaps, and the 2px+ label inset; it scrolls internally when more rows are loaded. The Projects list uses the remainingsidebar height and scrolls independently; neither region scrolls the footeror primary navigation. Both list scrollbars use the same global 6px,trackless, transparent-at-rest rule as the conversation and work-paneldiff --git a/docs/spec/04-ux/09-interaction-patterns.md b/docs/spec/04-ux/09-interaction-patterns.mdindex b71614b53..43781b3a2 100644--- a/docs/spec/04-ux/09-interaction-patterns.md+++ b/docs/spec/04-ux/09-interaction-patterns.md@@ -216,9 +216,12 @@ recency only breaks ties between equally relevant matches.### 1.6 Sidebar project and conversation organizationThe sidebar is a path-keyed presentation of host-owned projects and sessions.-The `Sessions` heading appears first and contains path-less conversations plus-their create and sort controls. Its bounded list keeps standalone work visible-without consuming the full sidebar. The following `Projects` section heading+The `Recent` heading appears first and lists the newest conversations across+the temporary scope and retained projects, plus the temporary-chat create and+sort controls. Project conversations show both in Recent and in their project+group, so parallel project work stays visible while groups are folded;+path-less conversations show only in Recent. Its bounded list opens with seven+rows and loads ten more per Load more click. The following `Projects` section headingexposes the project picker above retained project groups. Several project groupsmay be retained while exactly one workspace supplies the visible shell context.@@ -1859,8 +1862,8 @@ Project drag/drop follows these patterns:### 9.2 Sidebar scrolling-- The standalone Sessions body is capped at five compact rows and scrolls- internally when additional sessions exist.+- The Recent sessions body is capped at ten compact rows and scrolls+ internally once Load more has added rows beyond that height.- Retained project groups occupy the remaining sidebar height and scroll in aseparate region. Both regions stay independent from the footer and primarynavigation.diff --git a/packages/i18n/src/locales/de/index.ts b/packages/i18n/src/locales/de/index.tsindex d061d44bf..a183b8b5e 100644--- a/packages/i18n/src/locales/de/index.ts+++ b/packages/i18n/src/locales/de/index.ts@@ -244,6 +244,8 @@ export const de = {"newTemporarySession": "Neuer temporärer Chat","noProjectSessions": "Keine Chats in diesem Projekt bisher","noTemporarySessions": "Noch keine temporären Chats",+ "recentSessions": "Zuletzt",+ "noRecentSessions": "Noch keine letzten Sitzungen","newChat": "Neuer Chat","conversation": "Konversation","toggleSidebar": "Seitenleiste umschalten",@@ -1067,7 +1069,7 @@ export const de = {scheduled: "Geplant",pluginMarket: "Plugin-Marktplatz",pinnedSessions: "Angeheftete Sitzungen",- sessions: "Sitzungen",+ sessions: "Zuletzt",sessionSort: "Sortierschaltfläche",newSession: "Schaltfläche „Neue Sitzung“",projects: "Projekte",diff --git a/packages/i18n/src/locales/en/index.ts b/packages/i18n/src/locales/en/index.tsindex 6068654c3..6c45d7d8f 100644--- a/packages/i18n/src/locales/en/index.ts+++ b/packages/i18n/src/locales/en/index.ts@@ -251,6 +251,8 @@ export const en = {newTemporarySession: "New temporary chat",noProjectSessions: "No chats in this project yet",noTemporarySessions: "No temporary chats yet",+ recentSessions: "Recent",+ noRecentSessions: "No recent sessions yet",newChat: "New chat",conversation: "Conversation",toggleSidebar: "Toggle sidebar",@@ -1077,7 +1079,7 @@ deleteRunningSessionBlocked: "Stop the running session before deleting it.",scheduled: "Scheduled",pluginMarket: "Plugin marketplace",pinnedSessions: "Pinned sessions",- sessions: "Sessions",+ sessions: "Recent",sessionSort: "Sort button",newSession: "New session button",projects: "Projects",diff --git a/packages/i18n/src/locales/es/index.ts b/packages/i18n/src/locales/es/index.tsindex f916fb22c..5c2aef4be 100644--- a/packages/i18n/src/locales/es/index.ts+++ b/packages/i18n/src/locales/es/index.ts@@ -244,6 +244,8 @@ export const es = {"newTemporarySession": "Nuevo chat temporal","noProjectSessions": "No chats en este proyecto todavía","noTemporarySessions": "Aún no hay chats temporales",+ "recentSessions": "Recientes",+ "noRecentSessions": "Aún no hay sesiones recientes","newChat": "Nuevo chat","conversation": "Conversación","toggleSidebar": "Alternar barra lateral",@@ -1067,7 +1069,7 @@ export const es = {scheduled: "Programadas",pluginMarket: "Mercado de plugins",pinnedSessions: "Sesiones fijadas",- sessions: "Sesiones",+ sessions: "Recientes",sessionSort: "Botón de ordenar",newSession: "Botón de nueva sesión",projects: "Proyectos",diff --git a/packages/i18n/src/locales/fr/index.ts b/packages/i18n/src/locales/fr/index.tsindex 3fcc454a7..f7fc1eb6d 100644--- a/packages/i18n/src/locales/fr/index.ts+++ b/packages/i18n/src/locales/fr/index.ts@@ -244,6 +244,8 @@ export const fr = {"newTemporarySession": "Nouveau chat temporaire","noProjectSessions": "Aucun chat dans ce domaine projet pour l'instant","noTemporarySessions": "Aucune discussion temporaire pour l'instant",+ "recentSessions": "Récents",+ "noRecentSessions": "Aucune session récente","newChat": "Nouvelle discussion","conversation": "Conversation","toggleSidebar": "Basculer la barre latérale",@@ -1067,7 +1069,7 @@ export const fr = {scheduled: "Planifiées",pluginMarket: "Marketplace de plugins",pinnedSessions: "Sessions épinglées",- sessions: "Sessions",+ sessions: "Récents",sessionSort: "Bouton de tri",newSession: "Bouton nouvelle session",projects: "Projets",diff --git a/packages/i18n/src/locales/ko/index.ts b/packages/i18n/src/locales/ko/index.tsindex afc41176a..dd5452b3f 100644--- a/packages/i18n/src/locales/ko/index.ts+++ b/packages/i18n/src/locales/ko/index.ts@@ -253,6 +253,8 @@ export const ko = {newTemporarySession: "새 임시 채팅",noProjectSessions: "이 프로젝트에 채팅이 아직 없습니다",noTemporarySessions: "임시 채팅이 아직 없습니다",+ recentSessions: "최근 세션",+ noRecentSessions: "최근 세션이 없습니다",newChat: "새 채팅",conversation: "대화",toggleSidebar: "사이드바 전환",@@ -1074,7 +1076,7 @@ export const ko = {scheduled: "예약됨",pluginMarket: "플러그인 마켓",pinnedSessions: "고정된 세션",- sessions: "세션",+ sessions: "최근 세션",sessionSort: "정렬 버튼",newSession: "새 세션 버튼",projects: "프로젝트",diff --git a/packages/i18n/src/locales/pt-BR/index.ts b/packages/i18n/src/locales/pt-BR/index.tsindex 5c1b743fb..2fffec698 100644--- a/packages/i18n/src/locales/pt-BR/index.ts+++ b/packages/i18n/src/locales/pt-BR/index.ts@@ -243,6 +243,8 @@ export const ptBR = {newTemporarySession: "Nova conversa temporária",noProjectSessions: "Nenhuma conversa neste projeto ainda",noTemporarySessions: "Nenhuma conversa temporária ainda",+ recentSessions: "Recentes",+ noRecentSessions: "Nenhuma sessão recente ainda",newChat: "Nova conversa",conversation: "Conversa",toggleSidebar: "Alternar barra lateral",@@ -1064,7 +1066,7 @@ export const ptBR = {scheduled: "Agendadas",pluginMarket: "Marketplace de plugins",pinnedSessions: "Sessões fixadas",- sessions: "Sessões",+ sessions: "Recentes",sessionSort: "Botão de ordenar",newSession: "Botão de nova sessão",projects: "Projetos",diff --git a/packages/i18n/src/locales/tr/index.ts b/packages/i18n/src/locales/tr/index.tsindex 3ba5d2ace..690b40601 100644--- a/packages/i18n/src/locales/tr/index.ts+++ b/packages/i18n/src/locales/tr/index.ts@@ -253,6 +253,8 @@ export const tr = {newTemporarySession: "Yeni geçici sohbet",noProjectSessions: "Bu projede henüz sohbet yok",noTemporarySessions: "Henüz geçici sohbet yok",+ recentSessions: "Son oturumlar",+ noRecentSessions: "Henüz son oturum yok",newChat: "Yeni sohbet",conversation: "Sohbet",toggleSidebar: "Kenar çubuğunu aç/kapat",@@ -1074,7 +1076,7 @@ export const tr = {scheduled: "Zamanlanmış",pluginMarket: "Eklenti pazarı",pinnedSessions: "Sabitlenmiş oturumlar",- sessions: "Oturumlar",+ sessions: "Son oturumlar",sessionSort: "Sıralama düğmesi",newSession: "Yeni oturum düğmesi",projects: "Projeler",diff --git a/packages/i18n/src/locales/zh-CN/index.ts b/packages/i18n/src/locales/zh-CN/index.tsindex ff9cc1295..da5951bb6 100644--- a/packages/i18n/src/locales/zh-CN/index.ts+++ b/packages/i18n/src/locales/zh-CN/index.ts@@ -246,6 +246,8 @@ export const zhCN = {newTemporarySession: "新建临时对话",noProjectSessions: "当前项目还没有对话",noTemporarySessions: "暂无临时对话",+ recentSessions: "最近会话",+ noRecentSessions: "暂无最近会话",newChat: "新对话",conversation: "对话",toggleSidebar: "切换侧边栏",@@ -1070,7 +1072,7 @@ deleteRunningSessionBlocked: "请先停止运行中的会话,再删除它。",scheduled: "定时任务",pluginMarket: "插件市场",pinnedSessions: "置顶会话",- sessions: "会话",+ sessions: "最近会话",sessionSort: "排序按钮",newSession: "新建会话按钮",projects: "项目",diff --git a/packages/i18n/src/locales/zh-TW/index.ts b/packages/i18n/src/locales/zh-TW/index.tsindex 17afafd90..4d1daa202 100644--- a/packages/i18n/src/locales/zh-TW/index.ts+++ b/packages/i18n/src/locales/zh-TW/index.ts@@ -246,6 +246,8 @@ export const zhTW = {newTemporarySession: "新建臨時對話",noProjectSessions: "當前專案還沒有對話",noTemporarySessions: "暫無臨時對話",+ recentSessions: "最近會話",+ noRecentSessions: "暫無最近會話",newChat: "新對話",conversation: "對話",toggleSidebar: "切換側邊欄",@@ -1070,7 +1072,7 @@ deleteRunningSessionBlocked: "請先停止執行中的會話,再刪除它。",scheduled: "排程任務",pluginMarket: "外掛市集",pinnedSessions: "置頂會話",- sessions: "會話",+ sessions: "最近會話",sessionSort: "排序按鈕",newSession: "新建會話按鈕",projects: "專案",