Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

feat(sidebar): add contextual copy submenus

vastsac1087d6a3045
diff --git a/apps/desktop/src/components/Sidebar.tsx b/apps/desktop/src/components/Sidebar.tsx
index c0d92d09d..40e6368a5 100644
--- a/apps/desktop/src/components/Sidebar.tsx
+++ b/apps/desktop/src/components/Sidebar.tsx
@@ -1487,6 +1487,27 @@ export function Sidebar({
closeMenus();
};
+ const copyTextToClipboard = async (value: string) => {
+ try {
+ await navigator.clipboard.writeText(value);
+ showToast(t("chat.copied"));
+ } catch (error) {
+ reportError(error);
+ }
+ closeMenus();
+ };
+
+ const copySessionPath = async (session: SessionSummary) => {
+ if (isRemoteSession(session)) return;
+ try {
+ const { path } = await api.getSessionScratchPath(session.id);
+ await copyTextToClipboard(path);
+ } catch (error) {
+ reportError(error);
+ closeMenus();
+ }
+ };
+
const openSessionPath = async (session: SessionSummary) => {
if (isRemoteSession(session)) return;
closeMenus(false);
@@ -1706,32 +1727,42 @@ export function Sidebar({
}),
]
: []),
- sidebarMenuAction({
- id: "copy-session-link",
- label: t("nav.copySessionLink"),
+ sidebarMenuSubmenu({
+ id: "session-copy",
+ label: t("chat.copy", { defaultValue: "Copy" }),
icon: <IconCopy size={14} />,
- onSelect: () => void copySessionLink(session),
- }),
- ...(settings?.developerMode === true && !isRemoteSession(session)
- ? [
- sidebarMenuSubmenu({
- id: "session-developer",
- label: t("nav.developerMode", { defaultValue: "Developer tools" }),
- icon: <IconSettings size={14} />,
- items: [
- sidebarMenuAction({
- id: "copy-conversation-id",
- label: t("nav.copyConversationId"),
- icon: <IconCopy size={14} />,
- onSelect: () => void copyConversationId(session),
- }),
+ items: [
+ sidebarMenuAction({
+ id: "copy-conversation-id",
+ label: t("nav.copyConversationId"),
+ icon: <IconCopy size={14} />,
+ onSelect: () => void copyConversationId(session),
+ }),
+ ...(!isRemoteSession(session)
+ ? [
sidebarMenuAction({
- id: "open-session-path",
- label: t("nav.openSessionPath"),
+ id: "copy-session-path",
+ label: t("nav.copySessionPath"),
icon: <IconFolder size={14} />,
- onSelect: () => void openSessionPath(session),
+ onSelect: () => void copySessionPath(session),
}),
- ],
+ ]
+ : []),
+ sidebarMenuAction({
+ id: "copy-session-link",
+ label: t("nav.copySessionLink"),
+ icon: <IconCopy size={14} />,
+ onSelect: () => void copySessionLink(session),
+ }),
+ ],
+ }),
+ ...(settings?.developerMode === true && !isRemoteSession(session)
+ ? [
+ sidebarMenuAction({
+ id: "open-session-path",
+ label: t("nav.openSessionPath"),
+ icon: <IconFolder size={14} />,
+ onSelect: () => void openSessionPath(session),
}),
]
: []),
@@ -1766,6 +1797,7 @@ export function Sidebar({
armedDelete,
archiveSession,
copyConversationId,
+ copySessionPath,
copySessionLink,
forkSession,
openSessionPath,
@@ -1815,9 +1847,29 @@ export function Sidebar({
icon: archived ? <IconArchiveRestore size={14} /> : <IconArchive size={14} />,
onSelect: () => void archiveProject(entry),
}),
+ sidebarMenuSubmenu({
+ id: "project-copy",
+ label: t("chat.copy", { defaultValue: "Copy" }),
+ icon: <IconCopy size={14} />,
+ items: [
+ sidebarMenuAction({
+ id: "copy-project-name",
+ label: t("project.copyName"),
+ icon: <IconCopy size={14} />,
+ onSelect: () => void copyTextToClipboard(entry.name),
+ }),
+ sidebarMenuAction({
+ id: "copy-project-path",
+ label: t("project.copyPath"),
+ icon: <IconFolder size={14} />,
+ onSelect: () => void copyTextToClipboard(entry.displayPath ?? entry.path),
+ }),
+ ],
+ }),
sidebarMenuSubmenu({
id: "project-git",
label: t("worktree.menu.group", { defaultValue: "Git" }),
+ icon: <IconBranch size={14} />,
items: projectIsolationItems,
}),
sidebarMenuSubmenu({
@@ -1841,6 +1893,7 @@ export function Sidebar({
archiveProject,
openProjectFolder,
projectIsolationItems,
+ copyTextToClipboard,
requestDeleteProject,
t,
toggleProjectPin,
diff --git a/apps/desktop/test/session-reference-ui.test.mjs b/apps/desktop/test/session-reference-ui.test.mjs
index 127f60385..107e0c366 100644
--- a/apps/desktop/test/session-reference-ui.test.mjs
+++ b/apps/desktop/test/session-reference-ui.test.mjs
@@ -303,22 +303,22 @@ test("a referenced conversation never reaches the file-attachment resolver", asy
);
});
-test("the conversation overflow menu copies the link for every reader", () => {
+test("the session Copy submenu exposes the link to every reader", () => {
const sidebar = read("../src/components/Sidebar.tsx");
- assert.match(sidebar, /id: "copy-session-link"/);
- assert.match(sidebar, /t\("nav\.copySessionLink"\)/);
+ assert.match(
+ sidebar,
+ /id: "session-copy"[\s\S]*?id: "copy-conversation-id"[\s\S]*?id: "copy-session-link"/,
+ );
assert.match(sidebar, /navigator\.clipboard\.writeText\(formatSessionLink\(session\.id\)\)/);
assert.doesNotMatch(sidebar, /pi-desktop:\/\/session\//, "the scheme stays in shared");
- const link = sidebar.indexOf('id: "copy-session-link"');
- const fork = sidebar.indexOf('id: "fork-session"');
- const developer = sidebar.indexOf('id: "copy-conversation-id"');
- assert.ok(
- link > 0 && link > fork && link < developer,
- "an ordinary reader sees it; the developer-only actions stay behind their gate",
+ const developerBlock = sidebar.slice(
+ sidebar.indexOf("settings?.developerMode === true"),
+ sidebar.indexOf('id: "session-danger"'),
);
+ assert.match(developerBlock, /id: "open-session-path"/);
+ assert.doesNotMatch(developerBlock, /copy-conversation-id|copy-session-path/);
});
-
test("the reference keys exist in every shipped locale", () => {
const locales = Object.keys(catalogs);
assert.equal(locales.length, 9, "nine locales ship");
diff --git a/apps/desktop/test/session-scratch-path.test.mjs b/apps/desktop/test/session-scratch-path.test.mjs
index 774c6db61..0575871dd 100644
--- a/apps/desktop/test/session-scratch-path.test.mjs
+++ b/apps/desktop/test/session-scratch-path.test.mjs
@@ -44,32 +44,37 @@ test("main opens only a resolved session scratch directory", () => {
assert.doesNotMatch(handler, /input\.path/);
});
-test("developer-mode conversation overflow copies the id then opens scratch", () => {
+test("session Copy menu exposes id, scratch path, and link", () => {
+ assert.match(sidebarSource, /sidebarMenuSubmenu\(\{[\s\S]*?id: "session-copy"/);
assert.match(sidebarSource, /id: "copy-conversation-id"/);
- assert.match(sidebarSource, /navigator\.clipboard\.writeText\(session\.id\)/);
- assert.match(sidebarSource, /id: "open-session-path"/);
- assert.match(sidebarSource, /api\.openSessionScratchPath\(session\.id\)/);
- assert.doesNotMatch(sidebarSource, /id: "copy-session-path"/);
- assert.doesNotMatch(sidebarSource, /id: "open-session-folder"/);
- assert.doesNotMatch(sidebarSource, /copySessionPath/);
+ assert.match(sidebarSource, /id: "copy-session-path"/);
+ assert.match(sidebarSource, /api\.getSessionScratchPath\(session\.id\)/);
+ assert.match(sidebarSource, /if \(isRemoteSession\(session\)\) return/);
+ assert.match(sidebarSource, /id: "copy-session-link"/);
+ assert.match(sidebarSource, /formatSessionLink\(session\.id\)/);
+ assert.match(sidebarSource, /navigator\.clipboard\.writeText\(value\)/);
- const copyIndex = sidebarSource.indexOf('id: "copy-conversation-id"');
- const openIndex = sidebarSource.indexOf('id: "open-session-path"');
- const deleteIndex = sidebarSource.indexOf('id: "delete-session"');
- assert.ok(copyIndex > 0 && openIndex > copyIndex && deleteIndex > openIndex);
-
- const developerBlock = sidebarSource.slice(
+ const developerActions = sidebarSource.slice(
sidebarSource.indexOf("settings?.developerMode === true"),
- deleteIndex,
+ sidebarSource.indexOf('id: "session-danger"'),
);
- assert.match(developerBlock, /copy-conversation-id/);
- assert.match(developerBlock, /open-session-path/);
+ assert.match(developerActions, /id: "open-session-path"/);
+ assert.doesNotMatch(developerActions, /copy-conversation-id|copy-session-path/);
});
-test("conversation overflow labels are localized", () => {
+test("session and project copy labels are localized", () => {
assert.match(english, /copyConversationId:\s*"Copy conversation ID"/);
- assert.match(english, /openSessionPath:\s*"Open session path"/);
- assert.doesNotMatch(english, /copySessionPath:/);
+ assert.match(english, /copySessionPath:\s*"Copy session path"/);
+ assert.match(english, /copySessionLink:\s*"Copy conversation link"/);
+ assert.match(english, /copyName:\s*"Copy project name"/);
+ assert.match(english, /copyPath:\s*"Copy project path"/);
assert.match(chinese, /copyConversationId:\s*"复制对话 ID"/);
+ assert.match(chinese, /copySessionPath:\s*"复制会话路径"/);
+ assert.match(chinese, /copyName:\s*"复制项目名称"/);
+ assert.match(chinese, /copyPath:\s*"复制项目路径"/);
+});
+
+test("developer-only open path label remains localized", () => {
+ assert.match(english, /openSessionPath:\s*"Open session path"/);
assert.match(chinese, /openSessionPath:\s*"打开会话路径"/);
});
diff --git a/apps/desktop/test/sidebar-menu-panel.test.mjs b/apps/desktop/test/sidebar-menu-panel.test.mjs
index 2fa474f66..7e1c473e0 100644
--- a/apps/desktop/test/sidebar-menu-panel.test.mjs
+++ b/apps/desktop/test/sidebar-menu-panel.test.mjs
@@ -77,7 +77,10 @@ test("every locale ships the sidebar menu keys", async () => {
const nav = catalog.nav ?? {};
assert.equal(typeof nav.dangerZone, "string", `${locale}: nav.dangerZone`);
assert.equal(typeof nav.viewOptions, "string", `${locale}: nav.viewOptions`);
+ assert.equal(typeof nav.copySessionPath, "string", `${locale}: nav.copySessionPath`);
assert.equal(typeof nav.batchSelectionHint, "string", `${locale}: nav.batchSelectionHint`);
+ assert.equal(typeof catalog.project?.copyName, "string", `${locale}: project.copyName`);
+ assert.equal(typeof catalog.project?.copyPath, "string", `${locale}: project.copyPath`);
assert.equal(
typeof catalog.worktree?.menu?.group,
"string",
diff --git a/apps/desktop/test/sidebar-navigation.test.mjs b/apps/desktop/test/sidebar-navigation.test.mjs
index 0f1eb27cb..4c439b3df 100644
--- a/apps/desktop/test/sidebar-navigation.test.mjs
+++ b/apps/desktop/test/sidebar-navigation.test.mjs
@@ -224,10 +224,14 @@ test("sidebar row menus expose hover submenus for related actions", () => {
/* Related actions open as real second-level menus. */
assert.match(sessionMenu, /sidebarMenuSubmenu\(\{[\s\S]*?id: "session-git"[\s\S]*?items: gitItems/);
- assert.match(sessionMenu, /id: "copy-session-link"/);
- assert.doesNotMatch(sessionMenu, /id: "session-copy"/);
- assert.match(sessionMenu, /id: "session-developer"[\s\S]*?id: "open-session-path"/);
+ assert.match(sessionMenu, /id: "session-copy"[\s\S]*?id: "copy-conversation-id"[\s\S]*?id: "copy-session-path"[\s\S]*?id: "copy-session-link"/);
+ assert.match(sidebarSource, /api\.getSessionScratchPath\(session\.id\)/);
+ assert.match(sessionMenu, /id: "open-session-path"/);
assert.match(projectMenu, /sidebarMenuSubmenu\(\{[\s\S]*?id: "project-git"[\s\S]*?items: projectIsolationItems/);
+ assert.match(projectMenu, /id: "project-copy"[\s\S]*?id: "copy-project-name"[\s\S]*?id: "copy-project-path"/);
+ assert.match(projectMenu, /sidebarMenuAction\(\{\s*id: "copy-project-name",\s*label: t\("project\.copyName"\),\s*icon: <IconCopy size=\{14\} \/>,/);
+ assert.match(projectMenu, /id: "project-git"[\s\S]*?icon: <IconBranch size=\{14\} \/>/);
+ assert.match(projectMenu, /copyTextToClipboard\(entry\.displayPath \?\? entry\.path\)/);
/* The sort popover is two labelled groups instead of a title plus loose rows. */
assert.match(sortMenu, /id: "sort"/);
diff --git a/docs/spec/06-delivery/04-e2e-test-plan.md b/docs/spec/06-delivery/04-e2e-test-plan.md
index 4de1f1b7e..784dd831f 100644
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@ -3133,22 +3133,21 @@ identify the platform validation still needed.
has not been created yet. The session can create a branch; worktree actions
are available when it belongs to a Git project.
- **Steps**: 1) Open the session overflow menu or right-click its row. Hover Git
- and verify its second-level actions appear; click/tap Git to open the same
- submenu without hover. Use ArrowRight to enter it, ArrowLeft to return, and
- Escape to close only the child menu. Choose Copy conversation link from the
- root menu. 2) Enable developer mode and reopen the menu. Hover or click
- Developer mode, then choose Copy conversation ID and paste the clipboard.
- Reopen the submenu and choose Open session path. 3) Disable developer mode
- and verify the Developer submenu is absent.
-- **Expected**: Git and Developer mode are menuitem/haspopup triggers; hover and
- click reveal their child menus without dismissing the root. ArrowRight enters
- a child, ArrowLeft and the first Escape return to its trigger, and a second
+ and verify its second-level actions appear; click/tap Git to open it without
+ hover. Use ArrowRight to enter, ArrowLeft to return, and Escape to close only
+ the child menu. 2) Open Copy and choose Copy conversation ID, Copy session
+ path, and Copy conversation link in turn; paste each clipboard value. 3) Enable
+ developer mode, reopen the menu, and choose Open session path. 4) Disable
+ developer mode and verify Open session path is absent while Copy remains.
+- **Expected**: Git and Copy are menuitem/haspopup triggers; hover and click
+ reveal their child menus without dismissing the root. ArrowRight enters a
+ child, ArrowLeft and the first Escape return to its trigger, and a second
Escape closes the root. Child actions remain keyboard reachable and execute
- once. Copy conversation link remains available at the root. The clipboard
- contains the exact session id. The system file manager opens
- `<data_dir>/scratch/<sessionId>/`, creating it if missing. The renderer does
- not send a filesystem path; Main opens only a resolved scratch directory for
- that session id. Developer-only actions are absent with developer mode off.
+ once. The ID equals the session id, the path equals the Host-resolved scratch
+ path for local sessions, and the link is the canonical conversation link.
+ Remote sessions omit Copy session path. The system file manager opens
+ `<data_dir>/scratch/<sessionId>/` when the developer-only Open session path
+ action is chosen. The renderer never sends a filesystem path to Main.
- **Specs linked**: `03-runtime/01-ipc-protocol.md`,
`04-ux/08-component-spec.md`, `04-ux/06-settings-ia.md`,
`04-ux/09-interaction-patterns.md`
@@ -3161,8 +3160,14 @@ identify the platform validation still needed.
#### E2E-021c: Bottom-edge project menus stay beside their anchor
- **Preconditions**: The expanded Sidebar shows a retained project in its lowest visible row, with insufficient room below it for the project menu.
-- **Steps**: 1) Right-click the project row and inspect the menu. 2) Close it, open the row's overflow button, and inspect the menu again. 3) Verify every action remains inside the viewport.
-- **Expected**: Both entry points place the menu immediately above the row when it cannot fit below, using the rendered menu height. When there is enough room, the menu opens below its anchor. No menu is displaced to a distant viewport edge or clipped.
+- **Steps**: 1) Open the project's Copy submenu; copy the project name and path
+ and verify each pasted value. 2) Right-click the bottom project row and
+ inspect the root menu. 3) Close it, open the row's overflow button, and hover
+ Copy and Git. Verify both child menus and all actions stay inside the viewport.
+- **Expected**: Both root-menu entry points place the menu immediately above
+ the row when it cannot fit below; otherwise they open below. Copy yields the
+ displayed project name and path. Child submenus remain attached to their
+ trigger, flip sides as needed, and are neither clipped nor displaced.
- **Specs linked**: `04-ux/08-component-spec.md`, `04-ux/09-interaction-patterns.md`
- **Acceptance**: Quality (sidebar interaction)
- **Milestone**: M2
diff --git a/packages/i18n/src/locales/de/index.ts b/packages/i18n/src/locales/de/index.ts
index 691a6baf9..b18eb0b88 100644
--- a/packages/i18n/src/locales/de/index.ts
+++ b/packages/i18n/src/locales/de/index.ts
@@ -270,6 +270,7 @@ export const de = {
batchDeleteConfirm: "{{count}} Sitzungen löschen?",
"copyConversationId": "Gesprächs-ID kopieren",
"copySessionLink": "Link zur Unterhaltung kopieren",
+ "copySessionPath": "Sitzungspfad kopieren",
"openSessionPath": "Sitzungspfad öffnen",
"timeGroupYesterday": "Gestern",
"timeGroupThisWeek": "Vorherige 7 Tage",
@@ -1759,6 +1760,8 @@ sklm: {
"project": {
"open": "Projekt öffnen",
"openFolder": "Ordner öffnen",
+ "copyName": "Projektnamen kopieren",
+ "copyPath": "Projektpfad kopieren",
"none": "Kein Projekt",
"clear": "Projekt löschen",
"title": "Projekte",
diff --git a/packages/i18n/src/locales/en/index.ts b/packages/i18n/src/locales/en/index.ts
index 8f7c117f5..92a49c502 100644
--- a/packages/i18n/src/locales/en/index.ts
+++ b/packages/i18n/src/locales/en/index.ts
@@ -277,6 +277,7 @@ export const en = {
batchDeleteConfirm: "Delete {{count}} sessions?",
copyConversationId: "Copy conversation ID",
copySessionLink: "Copy conversation link",
+ copySessionPath: "Copy session path",
openSessionPath: "Open session path",
timeGroupYesterday: "Yesterday",
timeGroupThisWeek: "Previous 7 days",
@@ -1779,6 +1780,8 @@ sklm: {
project: {
open: "Open project",
openFolder: "Open folder",
+ copyName: "Copy project name",
+ copyPath: "Copy project path",
none: "No project",
clear: "Clear project",
title: "Projects",
diff --git a/packages/i18n/src/locales/es/index.ts b/packages/i18n/src/locales/es/index.ts
index 84ab71f8a..7f100e710 100644
--- a/packages/i18n/src/locales/es/index.ts
+++ b/packages/i18n/src/locales/es/index.ts
@@ -270,6 +270,7 @@ export const es = {
batchDeleteConfirm: "¿Eliminar {{count}} sesiones?",
"copyConversationId": "Copiar ID de conversación",
"copySessionLink": "Copiar enlace de la conversación",
+ "copySessionPath": "Copiar ruta de la sesión",
"openSessionPath": "Abrir ruta de sesión",
"timeGroupYesterday": "Ayer",
"timeGroupThisWeek": "Anterior 7 días",
@@ -1759,6 +1760,8 @@ sklm: {
"project": {
"open": "Abrir proyecto",
"openFolder": "Abrir carpeta",
+ "copyName": "Copiar nombre del proyecto",
+ "copyPath": "Copiar ruta del proyecto",
"none": "Sin proyecto",
"clear": "Borrar proyecto",
"title": "Proyectos",
diff --git a/packages/i18n/src/locales/fr/index.ts b/packages/i18n/src/locales/fr/index.ts
index 9d779b651..9bec0148a 100644
--- a/packages/i18n/src/locales/fr/index.ts
+++ b/packages/i18n/src/locales/fr/index.ts
@@ -270,6 +270,7 @@ export const fr = {
batchDeleteConfirm: "Supprimer {{count}} sessions ?",
"copyConversationId": "Copier l'ID de conversation",
"copySessionLink": "Copier le lien de la conversation",
+ "copySessionPath": "Copier le chemin de la session",
"openSessionPath": "Ouvrir le chemin de la session",
"timeGroupYesterday": "Hier",
"timeGroupThisWeek": "7 jours précédents",
@@ -1759,6 +1760,8 @@ sklm: {
"project": {
"open": "Ouvrir le projet",
"openFolder": "Ouvrir le dossier",
+ "copyName": "Copier le nom du projet",
+ "copyPath": "Copier le chemin du projet",
"none": "Aucun projet",
"clear": "Effacer le projet",
"title": "Projets",
diff --git a/packages/i18n/src/locales/ko/index.ts b/packages/i18n/src/locales/ko/index.ts
index 8eed64191..3b7fb5a9a 100644
--- a/packages/i18n/src/locales/ko/index.ts
+++ b/packages/i18n/src/locales/ko/index.ts
@@ -279,6 +279,7 @@ export const ko = {
batchDeleteConfirm: "{{count}}개 세션을 삭제하시겠습니까?",
copyConversationId: "대화 ID 복사",
copySessionLink: "대화 링크 복사",
+ copySessionPath: "세션 경로 복사",
openSessionPath: "세션 경로 열기",
timeGroupYesterday: "어제",
timeGroupThisWeek: "최근 7일",
@@ -1775,6 +1776,8 @@ sklm: {
project: {
open: "프로젝트 열기",
openFolder: "폴더 열기",
+ copyName: "프로젝트 이름 복사",
+ copyPath: "프로젝트 경로 복사",
none: "프로젝트 없음",
clear: "프로젝트 지우기",
title: "프로젝트",
diff --git a/packages/i18n/src/locales/pt-BR/index.ts b/packages/i18n/src/locales/pt-BR/index.ts
index f13fd4f00..b88078529 100644
--- a/packages/i18n/src/locales/pt-BR/index.ts
+++ b/packages/i18n/src/locales/pt-BR/index.ts
@@ -269,6 +269,7 @@ export const ptBR = {
batchDeleteConfirm: "Excluir {{count}} sessões?",
copyConversationId: "Copiar ID da conversa",
copySessionLink: "Copiar link da conversa",
+ copySessionPath: "Copiar caminho da sessão",
openSessionPath: "Abrir caminho da sessão",
timeGroupYesterday: "Ontem",
timeGroupThisWeek: "Últimos 7 dias",
@@ -1729,6 +1730,8 @@ export const ptBR = {
project: {
open: "Abrir projeto",
openFolder: "Abrir pasta",
+ copyName: "Copiar nome do projeto",
+ copyPath: "Copiar caminho do projeto",
none: "Sem projeto",
clear: "Limpar projeto",
title: "Projetos",
diff --git a/packages/i18n/src/locales/tr/index.ts b/packages/i18n/src/locales/tr/index.ts
index e5aae0c11..ff2e6afd2 100644
--- a/packages/i18n/src/locales/tr/index.ts
+++ b/packages/i18n/src/locales/tr/index.ts
@@ -279,6 +279,7 @@ export const tr = {
batchDeleteConfirm: "{{count}} oturum silinsin mi?",
copyConversationId: "Konuşma kimliğini kopyala",
copySessionLink: "Konuşma bağlantısını kopyala",
+ copySessionPath: "Oturum yolunu kopyala",
openSessionPath: "Oturum yolunu aç",
timeGroupYesterday: "Dün",
timeGroupThisWeek: "Önceki 7 gün",
@@ -1769,6 +1770,8 @@ sklm: {
project: {
open: "Proje aç",
openFolder: "Klasörü aç",
+ copyName: "Proje adını kopyala",
+ copyPath: "Proje yolunu kopyala",
none: "Proje yok",
clear: "Projeyi temizle",
title: "Projeler",
diff --git a/packages/i18n/src/locales/zh-CN/index.ts b/packages/i18n/src/locales/zh-CN/index.ts
index e29db4e8c..345c70d35 100644
--- a/packages/i18n/src/locales/zh-CN/index.ts
+++ b/packages/i18n/src/locales/zh-CN/index.ts
@@ -272,6 +272,7 @@ export const zhCN = {
batchDeleteConfirm: "确认删除 {{count}} 个会话?",
copyConversationId: "复制对话 ID",
copySessionLink: "复制会话链接",
+ copySessionPath: "复制会话路径",
openSessionPath: "打开会话路径",
timeGroupYesterday: "昨天",
timeGroupThisWeek: "近 7 天",
@@ -1754,6 +1755,8 @@ sklm: {
project: {
open: "打开项目",
openFolder: "打开文件夹",
+ copyName: "复制项目名称",
+ copyPath: "复制项目路径",
none: "无项目",
clear: "关闭项目",
title: "项目",
diff --git a/packages/i18n/src/locales/zh-TW/index.ts b/packages/i18n/src/locales/zh-TW/index.ts
index 71aeb214b..fa68e615c 100644
--- a/packages/i18n/src/locales/zh-TW/index.ts
+++ b/packages/i18n/src/locales/zh-TW/index.ts
@@ -272,6 +272,7 @@ export const zhTW = {
batchDeleteConfirm: "確認刪除 {{count}} 個對話?",
copyConversationId: "複製對話 ID",
copySessionLink: "複製對話連結",
+ copySessionPath: "複製會話路徑",
openSessionPath: "開啟會話路徑",
timeGroupYesterday: "昨天",
timeGroupThisWeek: "近 7 天",
@@ -1754,6 +1755,8 @@ sklm: {
project: {
open: "開啟專案",
openFolder: "開啟資料夾",
+ copyName: "複製專案名稱",
+ copyPath: "複製專案路徑",
none: "無專案",
clear: "關閉專案",
title: "專案",