@nextclaw/ui 0.14.4 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +73 -0
- package/dist/assets/api-b1R9VdeH.js +13 -0
- package/dist/assets/appearance-settings-page-D2O9pch9.js +1 -0
- package/dist/assets/book-open-B77lQ2Tg.js +1 -0
- package/dist/assets/channels-list-page-DcsIQc6A.js +8 -0
- package/dist/assets/chat-page-CZ7WxPir.js +1 -0
- package/dist/assets/{config-split-page-CRhlZ_pH.js → config-split-page-BWQ6_Raq.js} +1 -1
- package/dist/assets/confirm-dialog-C-NXSioX.js +5 -0
- package/dist/assets/desktop-update-config-usHpXugP.js +1 -0
- package/dist/assets/{dist-CikkhOlq.js → dist-YtoqU-AT.js} +1 -1
- package/dist/assets/{dist-PVA_xL1D.js → dist-jdGmbb6w.js} +1 -1
- package/dist/assets/doc-browser-B_Tf9n70.js +1 -0
- package/dist/assets/doc-browser-BdZPFOVa.js +1 -0
- package/dist/assets/{doc-browser-context-MTw4EvKd.js → doc-browser-context-DwokemUn.js} +1 -1
- package/dist/assets/es2015-bNpL2LKy.js +41 -0
- package/dist/assets/{external-link-DVJIQf_G.js → external-link-BM6fk8q-.js} +1 -1
- package/dist/assets/host-capabilities-9bB_998Z.js +1 -0
- package/dist/assets/i18n-provider-CntWolRA.js +1 -0
- package/dist/assets/index-BIcEw90u.js +104 -0
- package/dist/assets/index-BiNSTKTU.css +1 -0
- package/dist/assets/loader-circle-MBgNSVIH.js +1 -0
- package/dist/assets/mcp-marketplace-page-CLmUstLN.js +9 -0
- package/dist/assets/mcp-marketplace-page-rZkmWPMy.js +1 -0
- package/dist/assets/model-config-page-Di0ySJD2.js +1 -0
- package/dist/assets/plus-vDqW5Kxp.js +1 -0
- package/dist/assets/provider-scoped-model-input-Cm_a4GHf.js +1 -0
- package/dist/assets/providers-config-page-BAf2W0MV.js +1 -0
- package/dist/assets/{react-VNqT5Zp7.js → react-BN8uzPnp.js} +1 -1
- package/dist/assets/refresh-cw-BpVcFPmJ.js +1 -0
- package/dist/assets/remote-CLQ0IBM8.js +1 -0
- package/dist/assets/rotate-cw-CvNBv7_w.js +1 -0
- package/dist/assets/runtime-config-page-CflvvoDc.js +1 -0
- package/dist/assets/{save-BOJ477H-.js → save-BpFW5fpk.js} +1 -1
- package/dist/assets/{search-BEti5beA.js → search-D0uO7enf.js} +1 -1
- package/dist/assets/search-config-page-D0klFUXd.js +1 -0
- package/dist/assets/{secrets-config-page--IzrIOid.js → secrets-config-page-dVZ631Wp.js} +2 -2
- package/dist/assets/security-config-C5gnlkuj.js +1 -0
- package/dist/assets/select-Bh-CrA4p.js +1 -0
- package/dist/assets/setting-row-BJfCHRcb.js +1 -0
- package/dist/assets/settings-2-Blzi1vr6.js +1 -0
- package/dist/assets/side-dock-ZdaSrQVB.js +3 -0
- package/dist/assets/skeleton-BLlEzebZ.js +1 -0
- package/dist/assets/switch-CFLJFNSd.js +1 -0
- package/dist/assets/tag-chip-CzGihiQx.js +1 -0
- package/dist/assets/tooltip-CdcrBjrC.js +1 -0
- package/dist/assets/use-config-CVPgsBmU.js +1 -0
- package/dist/assets/use-confirm-dialog-CSeBk9SF.js +1 -0
- package/dist/assets/x-BF2KQ--V.js +1 -0
- package/dist/index.html +53 -17
- package/index.html +25 -2
- package/package.json +9 -9
- package/src/app/components/layout/__tests__/app-layout.test.tsx +27 -0
- package/src/app/components/layout/__tests__/settings-entry-page.test.tsx +9 -1
- package/src/app/components/layout/__tests__/sidebar.layout.test.tsx +6 -3
- package/src/app/components/layout/app-layout.tsx +10 -3
- package/src/app/components/layout/sidebar-items.tsx +8 -8
- package/src/app/components/layout/sidebar-rail.styles.ts +4 -2
- package/src/app/components/layout/sidebar.tsx +21 -28
- package/src/app/configs/app-navigation.config.ts +11 -5
- package/src/app/index.tsx +8 -0
- package/src/app/managers/__tests__/viewport-layout.manager.test.ts +59 -0
- package/src/app/managers/viewport-layout.manager.ts +39 -0
- package/src/app/presenters/app.presenter.ts +25 -2
- package/src/app/styles/design-system.css +91 -4
- package/src/features/agents/components/__tests__/agents-page.test.tsx +135 -2
- package/src/features/agents/components/agent-advanced-config-fields.tsx +70 -0
- package/src/features/agents/components/agent-details-dialog.tsx +398 -0
- package/src/features/agents/components/agent-dialogs.tsx +20 -47
- package/src/features/agents/components/agents-page.tsx +76 -10
- package/src/features/agents/types/agent-form.types.ts +21 -0
- package/src/features/agents/utils/agent-form.utils.ts +39 -0
- package/src/features/chat/components/conversation/__tests__/chat-conversation-content.test.tsx +86 -0
- package/src/features/chat/components/conversation/__tests__/chat-conversation-header-section.test.tsx +132 -1
- package/src/features/chat/components/conversation/chat-conversation-content.tsx +47 -17
- package/src/features/chat/components/conversation/chat-conversation-header-section.tsx +8 -0
- package/src/features/chat/components/conversation/chat-conversation-header.tsx +7 -3
- package/src/features/chat/components/layout/__tests__/chat-sidebar-read-state.test.tsx +7 -0
- package/src/features/chat/components/layout/chat-sidebar-desktop-layout.tsx +9 -5
- package/src/features/chat/components/layout/chat-sidebar-utility-menu.tsx +5 -5
- package/src/features/chat/features/conversation/components/__tests__/session-conversation-area.test.tsx +66 -2
- package/src/features/chat/features/conversation/components/__tests__/session-conversation-input.streaming.test.tsx +170 -1
- package/src/features/chat/features/conversation/components/session-conversation-area.tsx +23 -1
- package/src/features/chat/features/conversation/components/session-conversation-input.tsx +24 -7
- package/src/features/chat/features/conversation/components/session-queued-input-rows.tsx +96 -0
- package/src/features/chat/features/conversation/hooks/__tests__/use-session-conversation-controller.test.tsx +181 -0
- package/src/features/chat/features/conversation/hooks/use-session-conversation-controller.ts +351 -89
- package/src/features/chat/features/input/hooks/__tests__/use-chat-input-surface-state.test.tsx +29 -4
- package/src/features/chat/features/input/hooks/use-chat-input-surface-state.ts +28 -3
- package/src/features/chat/features/input/input-surface-plugins/__tests__/slash-command-plugin.test.ts +108 -8
- package/src/features/chat/features/input/input-surface-plugins/panel-app-reference-plugin.utils.ts +50 -14
- package/src/features/chat/features/input/input-surface-plugins/slash-command-plugin.utils.ts +77 -6
- package/src/features/chat/features/message/components/__tests__/chat-inline-panel-app-card.test.tsx +21 -12
- package/src/features/chat/features/message/components/__tests__/chat-message-list.container.test.tsx +167 -1
- package/src/features/chat/features/message/components/chat-inline-panel-app-card.tsx +19 -11
- package/src/features/chat/features/message/components/chat-message-list.container.tsx +38 -64
- package/src/features/chat/features/message/utils/__tests__/chat-message-process-summary.utils.test.ts +59 -0
- package/src/features/chat/features/message/utils/__tests__/chat-message-show-content-tool-card.utils.test.ts +56 -1
- package/src/features/chat/features/message/utils/chat-inline-panel-app-card.utils.ts +0 -2
- package/src/features/chat/features/message/utils/chat-message-process-summary.utils.ts +80 -0
- package/src/features/chat/features/message/utils/chat-message-show-content-tool-card.utils.ts +12 -3
- package/src/features/chat/features/message/utils/chat-message-texts.utils.ts +60 -0
- package/src/features/chat/features/message/utils/chat-message.utils.ts +3 -0
- package/src/features/chat/features/ncp/hooks/__tests__/use-ncp-agent-runtime.test.tsx +62 -1
- package/src/features/chat/features/ncp/hooks/__tests__/use-ncp-session-list-view.test.tsx +74 -0
- package/src/features/chat/features/ncp/hooks/use-ncp-session-list-view.ts +3 -2
- package/src/features/chat/features/session/components/chat-sidebar-project-groups.tsx +2 -2
- package/src/features/chat/features/session/components/chat-sidebar-session-item.tsx +1 -1
- package/src/features/chat/features/session/components/session-header/__tests__/chat-session-header-actions.test.tsx +3 -1
- package/src/features/chat/features/session/components/session-header/chat-session-metadata-dialog.tsx +1 -1
- package/src/features/chat/features/session/components/session-header/chat-session-title-switcher.tsx +294 -0
- package/src/features/chat/features/session/utils/__tests__/chat-session-display.utils.test.ts +15 -1
- package/src/features/chat/features/session/utils/__tests__/ncp-session-adapter.utils.test.ts +24 -4
- package/src/features/chat/features/session/utils/chat-session-display.utils.ts +3 -0
- package/src/features/chat/features/session/utils/ncp-session-adapter.utils.ts +1 -0
- package/src/features/chat/features/workspace/components/__tests__/chat-session-workspace-file-preview.test.tsx +304 -115
- package/src/features/chat/features/workspace/components/chat-session-workspace-file-breadcrumb-browser.tsx +121 -0
- package/src/features/chat/features/workspace/components/chat-session-workspace-file-breadcrumbs.tsx +75 -20
- package/src/features/chat/features/workspace/components/chat-session-workspace-file-preview.tsx +64 -5
- package/src/features/chat/features/workspace/utils/__tests__/chat-workspace-panel-view-model.utils.test.ts +46 -0
- package/src/features/chat/features/workspace/utils/chat-workspace-file-tab-persistence.utils.ts +83 -0
- package/src/features/chat/managers/__tests__/chat-thread.manager.test.ts +126 -1
- package/src/features/chat/managers/__tests__/chat-ui.manager.test.ts +2 -0
- package/src/features/chat/managers/chat-thread.manager.ts +15 -3
- package/src/features/chat/managers/chat-ui.manager.ts +5 -1
- package/src/features/chat/presenters/chat.presenter.ts +2 -1
- package/src/features/chat/stores/__tests__/chat-thread.store.test.ts +4 -0
- package/src/features/chat/stores/chat-thread.store.ts +6 -64
- package/src/features/chat/types/chat-message.types.ts +4 -0
- package/src/features/marketplace/components/__tests__/marketplace-page-detail.test.tsx +33 -26
- package/src/features/marketplace/components/__tests__/marketplace-page.test.tsx +1 -0
- package/src/features/marketplace/components/curated-shelves/__tests__/marketplace-curated-scene-route.test.tsx +1 -0
- package/src/features/marketplace/components/detail-doc/__tests__/marketplace-detail-doc.test.tsx +115 -0
- package/src/features/marketplace/components/marketplace-detail-doc.tsx +441 -0
- package/src/features/marketplace/components/mcp/__tests__/mcp-marketplace-page.test.tsx +3 -3
- package/src/features/marketplace/components/mcp/mcp-marketplace-doc.ts +0 -60
- package/src/features/marketplace/components/mcp/mcp-marketplace-page.tsx +64 -29
- package/src/features/marketplace/hooks/use-marketplace-item-detail.ts +42 -31
- package/src/features/marketplace/index.ts +3 -0
- package/src/features/marketplace/stores/marketplace-detail-doc.store.ts +38 -0
- package/src/features/panel-apps/components/__tests__/panel-apps-list.test.tsx +32 -2
- package/src/features/pwa/managers/__tests__/pwa-shell-theme.manager.test.ts +11 -0
- package/src/features/pwa/managers/pwa-shell-theme.manager.ts +8 -3
- package/src/features/settings/pages/__tests__/appearance-settings-page.test.tsx +25 -0
- package/src/features/settings/pages/appearance-settings-page.tsx +40 -0
- package/src/features/side-dock/components/__tests__/side-dock.test.tsx +44 -2
- package/src/features/side-dock/components/side-dock.tsx +100 -13
- package/src/features/side-dock/configs/side-dock-built-in-items.config.ts +10 -0
- package/src/features/side-dock/managers/__tests__/side-dock.manager.test.ts +32 -2
- package/src/features/side-dock/managers/side-dock.manager.ts +17 -7
- package/src/features/side-dock/stores/side-dock.store.ts +9 -0
- package/src/features/side-dock/types/side-dock.types.ts +10 -3
- package/src/features/side-dock/utils/side-dock-item.utils.ts +15 -2
- package/src/features/system-status/components/__tests__/desktop-update-config.test.tsx +97 -5
- package/src/features/system-status/components/desktop-update-config.tsx +91 -2
- package/src/features/system-status/utils/update-release-notes.utils.ts +94 -0
- package/src/index.css +501 -27
- package/src/platforms/desktop/components/desktop-window-chrome.tsx +1 -1
- package/src/shared/components/doc-browser/__tests__/doc-browser-context.test.tsx +30 -1
- package/src/shared/components/doc-browser/__tests__/doc-browser.test.tsx +206 -38
- package/src/shared/components/doc-browser/doc-browser-panel-parts.tsx +34 -11
- package/src/shared/components/doc-browser/doc-browser-renderer.types.ts +1 -1
- package/src/shared/components/doc-browser/doc-browser-tab-strip.tsx +23 -5
- package/src/shared/components/doc-browser/doc-browser.tsx +128 -75
- package/src/shared/components/doc-browser/managers/doc-browser.manager.ts +9 -1
- package/src/shared/components/doc-browser/utils/doc-browser-floating-panel.utils.ts +83 -0
- package/src/shared/components/ui/__tests__/dialog.test.tsx +27 -0
- package/src/shared/components/ui/actions/icon-action-button.tsx +14 -2
- package/src/shared/components/ui/dialog.tsx +2 -2
- package/src/shared/components/ui/popover.tsx +1 -1
- package/src/shared/components/ui/select.tsx +1 -1
- package/src/shared/components/ui/switch.tsx +4 -3
- package/src/shared/components/ui/tab-strip/__tests__/compact-tab-strip.test.tsx +54 -0
- package/src/shared/components/ui/tab-strip/compact-tab-strip.tsx +4 -5
- package/src/shared/components/ui/tooltip.tsx +1 -1
- package/src/shared/lib/api/ncp-session.types.ts +1 -1
- package/src/shared/lib/api/types.ts +12 -3
- package/src/shared/lib/api/utils/server-path.utils.ts +27 -1
- package/src/shared/lib/i18n/locales/en-US/agents.json +41 -0
- package/src/shared/lib/i18n/locales/en-US/chat.json +18 -6
- package/src/shared/lib/i18n/locales/en-US/core.json +2 -0
- package/src/shared/lib/i18n/locales/en-US/desktop-update.json +8 -0
- package/src/shared/lib/i18n/locales/en-US/doc-browser.json +11 -0
- package/src/shared/lib/i18n/locales/en-US/marketplace.json +5 -0
- package/src/shared/lib/i18n/locales/zh-CN/agents.json +41 -0
- package/src/shared/lib/i18n/locales/zh-CN/chat.json +18 -6
- package/src/shared/lib/i18n/locales/zh-CN/core.json +2 -0
- package/src/shared/lib/i18n/locales/zh-CN/desktop-update.json +8 -0
- package/src/shared/lib/i18n/locales/zh-CN/doc-browser.json +11 -0
- package/src/shared/lib/i18n/locales/zh-CN/marketplace.json +5 -0
- package/src/shared/lib/session-project/__tests__/workspace-file-breadcrumb.test.ts +14 -0
- package/src/shared/lib/session-project/index.ts +1 -1
- package/src/shared/lib/session-project/{workspace-file-breadcrumb.ts → workspace-file-breadcrumb.utils.ts} +62 -8
- package/src/shared/lib/theme/index.ts +51 -13
- package/dist/assets/api-BP_8IaxB.js +0 -13
- package/dist/assets/channels-list-page-DEh5Jjqx.js +0 -8
- package/dist/assets/chat-page-BRB0N5WW.js +0 -105
- package/dist/assets/confirm-dialog-DsivFJ4r.js +0 -5
- package/dist/assets/desktop-update-config-B0w9p2ep.js +0 -1
- package/dist/assets/doc-browser-BoNJ7-tE.js +0 -1
- package/dist/assets/doc-browser-CdJ_d4ik.js +0 -1
- package/dist/assets/ellipsis-y6vDtq4M.js +0 -1
- package/dist/assets/index-BiE-K8-q.css +0 -1
- package/dist/assets/index-D9BAE_L_.js +0 -105
- package/dist/assets/mcp-marketplace-page-B1SZNY5m.js +0 -40
- package/dist/assets/mcp-marketplace-page-Cq_Tw42T.js +0 -1
- package/dist/assets/model-config-page-DotaTUHb.js +0 -1
- package/dist/assets/plus-BbZqquJe.js +0 -1
- package/dist/assets/provider-scoped-model-input-DsFRuWJH.js +0 -1
- package/dist/assets/providers-config-page-DW4tQSLN.js +0 -1
- package/dist/assets/remote-B8TiUfwW.js +0 -1
- package/dist/assets/rotate-cw-DjHDTkCv.js +0 -1
- package/dist/assets/runtime-config-page-S6ErRHR8.js +0 -1
- package/dist/assets/search-config-page-DGj5am03.js +0 -1
- package/dist/assets/select-hoj8dK4K.js +0 -41
- package/dist/assets/tag-chip-T8-h-die.js +0 -1
- package/dist/assets/use-config-CjRV2hwL.js +0 -1
- package/dist/assets/x-D9PXs_xP.js +0 -1
- package/src/features/marketplace/components/detail-doc/__tests__/marketplace-detail-doc.test.ts +0 -40
- package/src/features/marketplace/components/detail-doc/marketplace-detail-doc-renderer.ts +0 -201
- package/src/features/marketplace/components/marketplace-detail-doc.ts +0 -142
- /package/dist/assets/{config-hints-BkYBc7z0.js → config-hints-fGnUjDe9.js} +0 -0
- /package/dist/assets/{middleware-CkFT3R4v.js → middleware-BILWbJE4.js} +0 -0
|
@@ -56,6 +56,9 @@ export type BootstrapStatusView = {
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
export type ThinkingLevel = "off" | "minimal" | "low" | "medium" | "high" | "adaptive" | "xhigh";
|
|
59
|
+
export type AgentModelsView = Record<string, {
|
|
60
|
+
params: Record<string, unknown>;
|
|
61
|
+
} & Record<string, unknown>>;
|
|
59
62
|
|
|
60
63
|
export type ProviderInstanceView = {
|
|
61
64
|
providerId: string;
|
|
@@ -253,11 +256,13 @@ export type AgentProfileView = {
|
|
|
253
256
|
workspace?: string;
|
|
254
257
|
model?: string;
|
|
255
258
|
runtime?: string;
|
|
256
|
-
runtimeConfig?: Record<string, unknown
|
|
259
|
+
runtimeConfig?: Record<string, unknown> | null;
|
|
257
260
|
engine?: string;
|
|
258
261
|
engineConfig?: Record<string, unknown>;
|
|
259
262
|
thinkingDefault?: ThinkingLevel;
|
|
263
|
+
models?: AgentModelsView;
|
|
260
264
|
contextTokens?: number;
|
|
265
|
+
reservedContextTokens?: number;
|
|
261
266
|
maxToolIterations?: number;
|
|
262
267
|
builtIn?: boolean;
|
|
263
268
|
};
|
|
@@ -270,7 +275,8 @@ export type AgentCreateRequest = {
|
|
|
270
275
|
home?: string;
|
|
271
276
|
model?: string;
|
|
272
277
|
runtime?: string;
|
|
273
|
-
runtimeConfig?: Record<string, unknown
|
|
278
|
+
runtimeConfig?: Record<string, unknown> | null;
|
|
279
|
+
contextTokens?: number | null;
|
|
274
280
|
};
|
|
275
281
|
|
|
276
282
|
export type AgentUpdateRequest = {
|
|
@@ -279,7 +285,8 @@ export type AgentUpdateRequest = {
|
|
|
279
285
|
avatar?: string;
|
|
280
286
|
model?: string;
|
|
281
287
|
runtime?: string;
|
|
282
|
-
runtimeConfig?: Record<string, unknown
|
|
288
|
+
runtimeConfig?: Record<string, unknown> | null;
|
|
289
|
+
contextTokens?: number | null;
|
|
283
290
|
};
|
|
284
291
|
|
|
285
292
|
export type AgentDeleteResult = {
|
|
@@ -523,7 +530,9 @@ export type ConfigView = {
|
|
|
523
530
|
engine?: string;
|
|
524
531
|
engineConfig?: Record<string, unknown>;
|
|
525
532
|
thinkingDefault?: ThinkingLevel;
|
|
533
|
+
models?: AgentModelsView;
|
|
526
534
|
contextTokens?: number;
|
|
535
|
+
reservedContextTokens?: number;
|
|
527
536
|
maxToolIterations?: number;
|
|
528
537
|
};
|
|
529
538
|
runtimes?: {
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { API_BASE } from '@/shared/lib/api/api-base';
|
|
2
|
+
import { nextclawClient } from '@/shared/lib/api/managers/client.manager';
|
|
2
3
|
import type { ServerPathBrowseView, ServerPathReadView } from '@/shared/lib/api/types';
|
|
3
4
|
|
|
5
|
+
const SERVER_PATH_CONTENT_BASE_PATH = '/api/server-paths/content';
|
|
6
|
+
const SERVER_PATH_CONTENT_ABSOLUTE_SCOPE = '__abs__';
|
|
7
|
+
const SERVER_PATH_CONTENT_WINDOWS_SCOPE = '__win__';
|
|
8
|
+
|
|
9
|
+
function encodeServerPathSegments(path: string): string {
|
|
10
|
+
return path
|
|
11
|
+
.replace(/\\/g, '/')
|
|
12
|
+
.split('/')
|
|
13
|
+
.filter(Boolean)
|
|
14
|
+
.map((segment) => encodeURIComponent(segment))
|
|
15
|
+
.join('/');
|
|
16
|
+
}
|
|
17
|
+
|
|
4
18
|
export async function fetchServerPathBrowse(params?: {
|
|
5
19
|
path?: string | null;
|
|
6
20
|
includeFiles?: boolean;
|
|
@@ -14,3 +28,15 @@ export async function fetchServerPathRead(params: {
|
|
|
14
28
|
}): Promise<ServerPathReadView> {
|
|
15
29
|
return await nextclawClient.serverPaths.read(params);
|
|
16
30
|
}
|
|
31
|
+
|
|
32
|
+
export function buildServerPathContentUrl(resolvedPath: string): string {
|
|
33
|
+
const normalizedPath = resolvedPath.trim();
|
|
34
|
+
if (/^[a-z]:[\\/]/i.test(normalizedPath)) {
|
|
35
|
+
const [drive, ...segments] = normalizedPath.replace(/\\/g, '/').split('/');
|
|
36
|
+
return `${API_BASE}${SERVER_PATH_CONTENT_BASE_PATH}/${SERVER_PATH_CONTENT_WINDOWS_SCOPE}/${encodeURIComponent(drive)}/${segments
|
|
37
|
+
.filter(Boolean)
|
|
38
|
+
.map((segment) => encodeURIComponent(segment))
|
|
39
|
+
.join('/')}`;
|
|
40
|
+
}
|
|
41
|
+
return `${API_BASE}${SERVER_PATH_CONTENT_BASE_PATH}/${SERVER_PATH_CONTENT_ABSOLUTE_SCOPE}/${encodeServerPathSegments(normalizedPath)}`;
|
|
42
|
+
}
|
|
@@ -19,12 +19,52 @@
|
|
|
19
19
|
"agentsRuntimeSelectPlaceholder": "Select runtime",
|
|
20
20
|
"agentsRuntimeUnavailableHelp": "This runtime is no longer available in the current list. Switch to an installed and available runtime.",
|
|
21
21
|
"agentsCreateAction": "Create Agent",
|
|
22
|
+
"agentsViewDetailsAction": "View details",
|
|
22
23
|
"agentsEditAction": "Edit",
|
|
23
24
|
"agentsEditDialogTitle": "Edit agent identity",
|
|
24
25
|
"agentsEditDialogDescription": "Update the name, role description, and avatar. The agent ID and home directory stay stable to protect existing memory, skills, and sessions.",
|
|
25
26
|
"agentsEditHomeReadonly": "Home directory stays unchanged",
|
|
26
27
|
"agentsEditHomeReadonlyHint": "Use a dedicated config migration flow to move the home directory and avoid losing agent context unexpectedly.",
|
|
27
28
|
"agentsEditSaveAction": "Save edits",
|
|
29
|
+
"agentsAdvancedConfigToggle": "Advanced configuration",
|
|
30
|
+
"agentsAdvancedConfigDescription": "Leave a field empty to inherit the default configuration; filled values become overrides for this agent.",
|
|
31
|
+
"agentsAdvancedInheritOption": "Inherit default",
|
|
32
|
+
"agentsAdvancedInheritPlaceholder": "Empty inherits default",
|
|
33
|
+
"agentsAdvancedContextTokensLabel": "Context window size",
|
|
34
|
+
"agentsAdvancedReservedContextTokensLabel": "Reserved context size",
|
|
35
|
+
"agentsAdvancedMaxToolIterationsLabel": "Max tool iterations",
|
|
36
|
+
"agentsAdvancedThinkingDefaultLabel": "Default thinking level",
|
|
37
|
+
"agentsAdvancedRuntimeConfigLabel": "Runtime config JSON",
|
|
38
|
+
"agentsAdvancedModelsLabel": "Model overrides JSON",
|
|
39
|
+
"agentsAdvancedJsonPlaceholder": "Leave empty to inherit defaults; enter a JSON object when filled",
|
|
40
|
+
"agentsAdvancedInvalidNumberError": "Advanced numeric fields must contain a valid number",
|
|
41
|
+
"agentsAdvancedInvalidJsonError": "Advanced JSON parsing failed",
|
|
42
|
+
"agentsAdvancedJsonObjectError": "Advanced JSON must be an object",
|
|
43
|
+
"agentsAdvancedParseFailed": "Failed to parse advanced configuration",
|
|
44
|
+
"agentsDetailsDialogTitle": "Agent details",
|
|
45
|
+
"agentsDetailsDialogDescription": "View this agent's visible identity, runtime, and context configuration.",
|
|
46
|
+
"agentsDetailsEditAction": "Edit",
|
|
47
|
+
"agentsDetailsIdentitySection": "Identity",
|
|
48
|
+
"agentsDetailsRuntimeSection": "Runtime",
|
|
49
|
+
"agentsDetailsContextSection": "Context",
|
|
50
|
+
"agentsDetailsBehaviorSection": "Behavior",
|
|
51
|
+
"agentsDetailsFieldId": "Agent ID",
|
|
52
|
+
"agentsDetailsFieldDisplayName": "Display name",
|
|
53
|
+
"agentsDetailsFieldDescription": "Role description",
|
|
54
|
+
"agentsDetailsFieldWorkspace": "Home directory",
|
|
55
|
+
"agentsDetailsFieldAvatar": "Avatar",
|
|
56
|
+
"agentsDetailsFieldModel": "Model",
|
|
57
|
+
"agentsDetailsFieldRuntime": "Runtime",
|
|
58
|
+
"agentsDetailsFieldRuntimeConfig": "Runtime config",
|
|
59
|
+
"agentsDetailsFieldContextTokens": "Context window size",
|
|
60
|
+
"agentsDetailsFieldReservedContextTokens": "Reserved context size",
|
|
61
|
+
"agentsDetailsFieldMaxToolIterations": "Max tool iterations",
|
|
62
|
+
"agentsDetailsFieldThinkingDefault": "Default thinking level",
|
|
63
|
+
"agentsDetailsFieldModelOverrides": "Model overrides",
|
|
64
|
+
"agentsDetailsInheritedDefault": "Inherited default",
|
|
65
|
+
"agentsDetailsAgentOverride": "Agent override",
|
|
66
|
+
"agentsDetailsEmptyValue": "No description",
|
|
67
|
+
"agentsDetailsUnsetValue": "Not set",
|
|
28
68
|
"agentsRemoveAction": "Remove",
|
|
29
69
|
"agentsNewChat": "New Chat",
|
|
30
70
|
"agentsLoading": "Loading agents...",
|
|
@@ -38,6 +78,7 @@
|
|
|
38
78
|
"agentsCardBuiltInSummary": "The built-in main agent, ideal as the default entry and coordinating collaborator.",
|
|
39
79
|
"agentsCardCustomSummary": "A dedicated identity with its own memory, skills, and role style.",
|
|
40
80
|
"agentsCardRuntimeLabel": "Runtime",
|
|
81
|
+
"agentsCardContextTokensLabel": "Context",
|
|
41
82
|
"agentsCardHomeLabel": "Home Directory",
|
|
42
83
|
"agentsCardAvatarLabel": "Avatar",
|
|
43
84
|
"agentsCardStartChat": "Start Chat",
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
"chatProviderSetupTitle": "Configure a Provider First",
|
|
30
30
|
"chatProviderSetupDescription": "No models are available yet. Configure and save at least one provider, then return to start chatting.",
|
|
31
31
|
"chatSessionLabel": "Current Session",
|
|
32
|
+
"chatSessionSwitch": "Switch session",
|
|
33
|
+
"chatSessionSwitcherTitle": "Recent sessions",
|
|
34
|
+
"chatSessionSwitcherNoResults": "No matching sessions",
|
|
32
35
|
"chatNoSession": "No session selected",
|
|
33
36
|
"chatHistoryLoading": "Loading session history...",
|
|
34
37
|
"chatBackToParent": "Back to parent",
|
|
@@ -50,30 +53,38 @@
|
|
|
50
53
|
"chatWorkspacePreviewUnsupported": "This file is not supported in the sidebar preview yet.",
|
|
51
54
|
"chatWorkspacePreviewEmpty": "No file content is available for preview.",
|
|
52
55
|
"chatWorkspaceDiffEmpty": "No diff content is available.",
|
|
56
|
+
"chatWorkspaceHtmlPreviewTitle": "Rendered HTML preview",
|
|
53
57
|
"chatWorkspacePreviewTruncated": "Preview truncated",
|
|
54
58
|
"chatWorkspaceSessionCronJobs": "Session cron jobs",
|
|
55
59
|
"chatWorkspaceCronJobEmpty": "This session has no cron jobs.",
|
|
56
60
|
"chatSessionUnread": "Session has unread updates",
|
|
57
61
|
"chatTyping": "Agent is thinking...",
|
|
62
|
+
"chatScrollToBottom": "Scroll to bottom",
|
|
63
|
+
"chatProcessSummaryProcessed": "Processed",
|
|
58
64
|
"chatRuntimeInitializing": "Chat is still initializing. You can keep typing and send once startup finishes.",
|
|
59
65
|
"chatRuntimeInitializationFailed": "Chat startup failed. Please retry in a moment or inspect the service logs.",
|
|
60
|
-
"chatInputPlaceholder": "Type a message, / for skills, @ for panel
|
|
66
|
+
"chatInputPlaceholder": "Type a message, / for commands, apps or skills, @ for panel app references, Enter to send, Shift + Enter for newline",
|
|
61
67
|
"chatInputPlaceholderCompact": "Message NextClaw...",
|
|
62
68
|
"chatInputHint": "Multi-turn context is preserved in the current session.",
|
|
63
69
|
"chatSlashSection": "Slash menu",
|
|
64
70
|
"chatSlashSectionCommands": "Commands",
|
|
65
71
|
"chatSlashSectionSkills": "Skills",
|
|
72
|
+
"chatSlashFilterAll": "All",
|
|
73
|
+
"chatSlashFilterCommands": "Commands",
|
|
74
|
+
"chatSlashFilterSkills": "Skills",
|
|
75
|
+
"chatSlashFilterPanelApps": "Panel Apps",
|
|
66
76
|
"chatSlashTypeCommand": "Command",
|
|
67
77
|
"chatSlashTypeSkill": "Skill",
|
|
68
78
|
"chatSlashSkillSpec": "Spec",
|
|
69
79
|
"chatSlashSkillScope": "Scope",
|
|
70
|
-
"chatSlashLoading": "Loading commands and skills…",
|
|
80
|
+
"chatSlashLoading": "Loading commands, panel apps and skills…",
|
|
71
81
|
"chatSlashNoResult": "No matches",
|
|
72
|
-
"chatSlashHint": "Type / to access commands
|
|
82
|
+
"chatSlashHint": "Type / to access commands, panel apps or skills",
|
|
73
83
|
"chatSlashCommandHint": "Press Enter to run this command.",
|
|
74
84
|
"chatSlashCommandSideChatTitle": "Side chat",
|
|
75
85
|
"chatSlashCommandSideChatDescription": "Open a draft side conversation that inherits this session context.",
|
|
76
86
|
"chatSlashCommandSideChatDetail": "Creates the child session only after your first message.",
|
|
87
|
+
"chatSlashPanelAppHint": "Press Enter to open this panel app on the right.",
|
|
77
88
|
"chatSlashSkillHint": "Press Enter to add this skill for the next turn.",
|
|
78
89
|
"chatPanelAppReferenceLoading": "Loading panel apps...",
|
|
79
90
|
"chatPanelAppReferenceSection": "Panel Apps",
|
|
@@ -118,9 +129,9 @@
|
|
|
118
129
|
"chatContextInheritanceMessages": "Inherited messages",
|
|
119
130
|
"chatSending": "Sending...",
|
|
120
131
|
"chatQueueSend": "Queue",
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
132
|
+
"chatQueuedBannerAttachmentFallback": "Attachment message",
|
|
133
|
+
"chatQueuedEdit": "Edit queued input",
|
|
134
|
+
"chatQueuedDelete": "Delete queued input",
|
|
124
135
|
"chatDeleteSession": "Delete Session",
|
|
125
136
|
"chatDeleteSessionConfirm": "Delete the current session?",
|
|
126
137
|
"chatSessionMoreActions": "More actions",
|
|
@@ -136,6 +147,7 @@
|
|
|
136
147
|
"chatSessionProjectUpdateHint": "The browser lists directories from the server machine. Changing the project directory only affects future messages and tool runs. History stays unchanged.",
|
|
137
148
|
"chatSessionProjectUpdated": "Project directory updated",
|
|
138
149
|
"chatSessionProjectCleared": "Project directory cleared",
|
|
150
|
+
"chatSessionErrorTitle": "Something went wrong",
|
|
139
151
|
"chatSendFailed": "Failed to send message",
|
|
140
152
|
"chatRoleUser": "You",
|
|
141
153
|
"chatRoleAssistant": "Assistant",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"marketplace": "Marketplace",
|
|
12
12
|
"advanced": "Advanced",
|
|
13
13
|
"settings": "Settings",
|
|
14
|
+
"appearance": "Appearance",
|
|
14
15
|
"settingsMenu": "Settings menu",
|
|
15
16
|
"sidebarCollapse": "Collapse sidebar",
|
|
16
17
|
"sidebarExpand": "Expand sidebar",
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
"themeCool": "Mist",
|
|
46
47
|
"themeDawn": "Dawn",
|
|
47
48
|
"themeGraphite": "Graphite",
|
|
49
|
+
"themeNight": "Night",
|
|
48
50
|
"themeProbe": "Probe",
|
|
49
51
|
"isRequired": "is required",
|
|
50
52
|
"duplicate": "duplicate",
|
|
@@ -75,6 +75,14 @@
|
|
|
75
75
|
"desktopUpdatesDownloadNow": "Download Update",
|
|
76
76
|
"desktopUpdatesApplyNow": "Restart to Update",
|
|
77
77
|
"desktopUpdatesReleaseNotes": "Release Notes",
|
|
78
|
+
"desktopUpdatesReleaseNotesPreviewTitle": "What's New",
|
|
79
|
+
"desktopUpdatesReleaseNotesPreviewDescription": "Review the main changes in this version before updating.",
|
|
80
|
+
"desktopUpdatesReleaseNotesPreviewLoading": "Loading release notes...",
|
|
81
|
+
"desktopUpdatesReleaseNotesPreviewUnavailable": "Structured release notes could not be loaded in the app. Open the full notes instead.",
|
|
82
|
+
"desktopUpdatesReleaseNotesFeature": "Features",
|
|
83
|
+
"desktopUpdatesReleaseNotesEnhancement": "Enhancements",
|
|
84
|
+
"desktopUpdatesReleaseNotesFix": "Fixes",
|
|
85
|
+
"desktopUpdatesReleaseNotesCompatibility": "Defaults and Compatibility",
|
|
78
86
|
"desktopUpdatesLoadFailed": "Failed to load update state",
|
|
79
87
|
"desktopUpdatesCheckFailed": "Failed to check for updates",
|
|
80
88
|
"desktopUpdatesDownloadFailed": "Failed to download update",
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"docBrowserTitle": "Embedded Browser",
|
|
3
3
|
"docBrowserSearchPlaceholder": "Search, or enter a doc URL to open",
|
|
4
|
+
"docBrowserAddressLabel": "Address",
|
|
5
|
+
"docBrowserAddressPlaceholder": "Enter a URL, e.g. http://localhost:5173",
|
|
4
6
|
"docBrowserUrlPlaceholder": "Enter a doc path, e.g. /guide/channels",
|
|
5
7
|
"docBrowserOpenExternal": "Open in Docs",
|
|
8
|
+
"docBrowserOpenInBrowser": "Open in Browser",
|
|
9
|
+
"docBrowserRefresh": "Refresh",
|
|
6
10
|
"docBrowserFloatMode": "Float Window",
|
|
7
11
|
"docBrowserDockMode": "Dock to Sidebar",
|
|
8
12
|
"docBrowserClose": "Close",
|
|
@@ -17,6 +21,13 @@
|
|
|
17
21
|
"sideDockUnpinCurrent": "Remove from SideDock",
|
|
18
22
|
"sideDockBuiltInDocked": "Built-in shortcut",
|
|
19
23
|
"sideDockUnpinItem": "Remove shortcut",
|
|
24
|
+
"sideDockGitHubProject": "GitHub Project",
|
|
25
|
+
"sideDockHide": "Hide SideDock",
|
|
26
|
+
"sideDockHideConfirmTitle": "Hide SideDock?",
|
|
27
|
+
"sideDockHideConfirmDescription": "You can turn it back on from Settings > Appearance.",
|
|
28
|
+
"sideDockHideConfirmAction": "Hide",
|
|
29
|
+
"sideDockVisibilityTitle": "Show SideDock",
|
|
30
|
+
"sideDockVisibilityDescription": "Keep the right shortcut dock visible beside the workspace.",
|
|
20
31
|
"appsTitle": "Apps",
|
|
21
32
|
"panelAppsTitle": "Panel Apps",
|
|
22
33
|
"panelAppsLoading": "Loading panel apps...",
|
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
"marketplaceDetailPanelEmpty": "Click an item on the left to preview details here.",
|
|
59
59
|
"marketplaceDetailSummary": "Summary",
|
|
60
60
|
"marketplaceDetailDescription": "Description",
|
|
61
|
+
"marketplaceDetailMetadata": "Metadata",
|
|
62
|
+
"marketplaceDetailContent": "Content",
|
|
63
|
+
"marketplaceDetailSource": "Source",
|
|
64
|
+
"marketplaceDetailUnavailableTitle": "Detail unavailable",
|
|
65
|
+
"marketplaceDetailUnavailableDescription": "This right-side detail tab is missing content data for the current session. Open it again from the marketplace list.",
|
|
61
66
|
"marketplaceOpenInDocBrowserTab": "Open in New Tab",
|
|
62
67
|
"marketplaceMcpInstallDialogTitle": "Install MCP Server",
|
|
63
68
|
"marketplaceMcpServerName": "Server Name",
|
|
@@ -19,12 +19,52 @@
|
|
|
19
19
|
"agentsRuntimeSelectPlaceholder": "选择 Runtime",
|
|
20
20
|
"agentsRuntimeUnavailableHelp": "当前 Runtime 已不在可用列表中;建议改选一个已安装且可用的 Runtime。",
|
|
21
21
|
"agentsCreateAction": "创建 Agent",
|
|
22
|
+
"agentsViewDetailsAction": "查看详情",
|
|
22
23
|
"agentsEditAction": "编辑",
|
|
23
24
|
"agentsEditDialogTitle": "编辑 Agent 身份",
|
|
24
25
|
"agentsEditDialogDescription": "更新名称、角色描述与头像。Agent ID 与主目录保持稳定,避免影响既有记忆、技能与会话。",
|
|
25
26
|
"agentsEditHomeReadonly": "主目录保持不变",
|
|
26
27
|
"agentsEditHomeReadonlyHint": "如需迁移主目录,请走独立配置迁移流程,避免意外丢失 Agent 上下文。",
|
|
27
28
|
"agentsEditSaveAction": "保存编辑",
|
|
29
|
+
"agentsAdvancedConfigToggle": "高级配置",
|
|
30
|
+
"agentsAdvancedConfigDescription": "留空会继承默认配置;填写后会成为这个 Agent 的专属覆盖。",
|
|
31
|
+
"agentsAdvancedInheritOption": "继承默认",
|
|
32
|
+
"agentsAdvancedInheritPlaceholder": "留空继承默认",
|
|
33
|
+
"agentsAdvancedContextTokensLabel": "上下文窗口大小",
|
|
34
|
+
"agentsAdvancedReservedContextTokensLabel": "预留上下文大小",
|
|
35
|
+
"agentsAdvancedMaxToolIterationsLabel": "最大工具迭代次数",
|
|
36
|
+
"agentsAdvancedThinkingDefaultLabel": "默认思考强度",
|
|
37
|
+
"agentsAdvancedRuntimeConfigLabel": "Runtime 配置 JSON",
|
|
38
|
+
"agentsAdvancedModelsLabel": "模型覆盖 JSON",
|
|
39
|
+
"agentsAdvancedJsonPlaceholder": "留空继承默认;填写时请输入 JSON 对象",
|
|
40
|
+
"agentsAdvancedInvalidNumberError": "高级配置里的数字必须是有效数字",
|
|
41
|
+
"agentsAdvancedInvalidJsonError": "高级配置 JSON 解析失败",
|
|
42
|
+
"agentsAdvancedJsonObjectError": "高级配置 JSON 必须是对象",
|
|
43
|
+
"agentsAdvancedParseFailed": "高级配置解析失败",
|
|
44
|
+
"agentsDetailsDialogTitle": "Agent 详情",
|
|
45
|
+
"agentsDetailsDialogDescription": "查看这个 Agent 当前可见的身份、运行时与上下文配置。",
|
|
46
|
+
"agentsDetailsEditAction": "编辑",
|
|
47
|
+
"agentsDetailsIdentitySection": "身份",
|
|
48
|
+
"agentsDetailsRuntimeSection": "运行",
|
|
49
|
+
"agentsDetailsContextSection": "上下文",
|
|
50
|
+
"agentsDetailsBehaviorSection": "行为",
|
|
51
|
+
"agentsDetailsFieldId": "Agent ID",
|
|
52
|
+
"agentsDetailsFieldDisplayName": "显示名称",
|
|
53
|
+
"agentsDetailsFieldDescription": "角色描述",
|
|
54
|
+
"agentsDetailsFieldWorkspace": "主目录",
|
|
55
|
+
"agentsDetailsFieldAvatar": "头像",
|
|
56
|
+
"agentsDetailsFieldModel": "模型",
|
|
57
|
+
"agentsDetailsFieldRuntime": "Runtime",
|
|
58
|
+
"agentsDetailsFieldRuntimeConfig": "Runtime 配置",
|
|
59
|
+
"agentsDetailsFieldContextTokens": "上下文窗口大小",
|
|
60
|
+
"agentsDetailsFieldReservedContextTokens": "预留上下文大小",
|
|
61
|
+
"agentsDetailsFieldMaxToolIterations": "最大工具迭代次数",
|
|
62
|
+
"agentsDetailsFieldThinkingDefault": "默认思考强度",
|
|
63
|
+
"agentsDetailsFieldModelOverrides": "模型覆盖",
|
|
64
|
+
"agentsDetailsInheritedDefault": "继承默认",
|
|
65
|
+
"agentsDetailsAgentOverride": "Agent 覆盖",
|
|
66
|
+
"agentsDetailsEmptyValue": "暂无描述",
|
|
67
|
+
"agentsDetailsUnsetValue": "未设置",
|
|
28
68
|
"agentsRemoveAction": "移除",
|
|
29
69
|
"agentsNewChat": "新建会话",
|
|
30
70
|
"agentsLoading": "正在加载 Agent...",
|
|
@@ -38,6 +78,7 @@
|
|
|
38
78
|
"agentsCardBuiltInSummary": "系统主 Agent,适合作为默认入口与总控协作者。",
|
|
39
79
|
"agentsCardCustomSummary": "专属 Agent 身份,可沉淀自己的记忆、技能与角色风格。",
|
|
40
80
|
"agentsCardRuntimeLabel": "Runtime",
|
|
81
|
+
"agentsCardContextTokensLabel": "上下文",
|
|
41
82
|
"agentsCardHomeLabel": "主目录",
|
|
42
83
|
"agentsCardAvatarLabel": "Avatar",
|
|
43
84
|
"agentsCardStartChat": "开始对话",
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
"chatProviderSetupTitle": "开始前先配置提供商",
|
|
30
30
|
"chatProviderSetupDescription": "你还没有可用模型。先在提供商页面配置并保存至少一个 Provider 后,再回来开始对话。",
|
|
31
31
|
"chatSessionLabel": "当前会话",
|
|
32
|
+
"chatSessionSwitch": "切换会话",
|
|
33
|
+
"chatSessionSwitcherTitle": "最近会话",
|
|
34
|
+
"chatSessionSwitcherNoResults": "没有匹配的会话",
|
|
32
35
|
"chatNoSession": "未选择会话",
|
|
33
36
|
"chatHistoryLoading": "加载会话历史中...",
|
|
34
37
|
"chatBackToParent": "返回父会话",
|
|
@@ -50,30 +53,38 @@
|
|
|
50
53
|
"chatWorkspacePreviewUnsupported": "该文件暂不支持在侧栏预览。",
|
|
51
54
|
"chatWorkspacePreviewEmpty": "当前没有可显示的文件内容。",
|
|
52
55
|
"chatWorkspaceDiffEmpty": "当前没有可显示的 diff 内容。",
|
|
56
|
+
"chatWorkspaceHtmlPreviewTitle": "HTML 渲染预览",
|
|
53
57
|
"chatWorkspacePreviewTruncated": "内容已截断",
|
|
54
58
|
"chatWorkspaceSessionCronJobs": "本会话定时任务",
|
|
55
59
|
"chatWorkspaceCronJobEmpty": "这个会话暂无定时任务。",
|
|
56
60
|
"chatSessionUnread": "会话有未读更新",
|
|
57
61
|
"chatTyping": "Agent 正在思考...",
|
|
62
|
+
"chatScrollToBottom": "滚动到底部",
|
|
63
|
+
"chatProcessSummaryProcessed": "已处理",
|
|
58
64
|
"chatRuntimeInitializing": "聊天能力正在初始化。你可以先输入内容,完成后即可发送。",
|
|
59
65
|
"chatRuntimeInitializationFailed": "聊天能力启动失败,请稍后重试或检查服务日志。",
|
|
60
|
-
"chatInputPlaceholder": "输入消息,/
|
|
66
|
+
"chatInputPlaceholder": "输入消息,/ 选命令、应用或技能,@ 引用面板应用,Enter 发送,Shift + Enter 换行",
|
|
61
67
|
"chatInputPlaceholderCompact": "发消息...",
|
|
62
68
|
"chatInputHint": "支持多轮上下文,默认走当前会话。",
|
|
63
69
|
"chatSlashSection": "斜杠菜单",
|
|
64
70
|
"chatSlashSectionCommands": "命令",
|
|
65
71
|
"chatSlashSectionSkills": "技能",
|
|
72
|
+
"chatSlashFilterAll": "全部",
|
|
73
|
+
"chatSlashFilterCommands": "命令",
|
|
74
|
+
"chatSlashFilterSkills": "技能",
|
|
75
|
+
"chatSlashFilterPanelApps": "面板应用",
|
|
66
76
|
"chatSlashTypeCommand": "命令",
|
|
67
77
|
"chatSlashTypeSkill": "技能",
|
|
68
78
|
"chatSlashSkillSpec": "标识",
|
|
69
79
|
"chatSlashSkillScope": "作用域",
|
|
70
|
-
"chatSlashLoading": "
|
|
80
|
+
"chatSlashLoading": "加载命令、面板应用与技能中…",
|
|
71
81
|
"chatSlashNoResult": "无匹配项",
|
|
72
|
-
"chatSlashHint": "输入 /
|
|
82
|
+
"chatSlashHint": "输入 / 触发命令、面板应用或技能选择",
|
|
73
83
|
"chatSlashCommandHint": "回车执行这个命令。",
|
|
74
84
|
"chatSlashCommandSideChatTitle": "Side chat",
|
|
75
85
|
"chatSlashCommandSideChatDescription": "打开一个继承当前会话上下文的右侧草稿会话。",
|
|
76
86
|
"chatSlashCommandSideChatDetail": "只有发送第一条消息后才会创建真实 child 会话。",
|
|
87
|
+
"chatSlashPanelAppHint": "回车在右侧打开这个面板应用。",
|
|
77
88
|
"chatSlashSkillHint": "回车把该技能加入本轮请求。",
|
|
78
89
|
"chatPanelAppReferenceLoading": "加载面板应用中…",
|
|
79
90
|
"chatPanelAppReferenceSection": "面板应用",
|
|
@@ -118,9 +129,9 @@
|
|
|
118
129
|
"chatContextInheritanceMessages": "继承消息数",
|
|
119
130
|
"chatSending": "发送中...",
|
|
120
131
|
"chatQueueSend": "排队发送",
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
132
|
+
"chatQueuedBannerAttachmentFallback": "附件消息",
|
|
133
|
+
"chatQueuedEdit": "编辑排队输入",
|
|
134
|
+
"chatQueuedDelete": "删除排队输入",
|
|
124
135
|
"chatDeleteSession": "删除会话",
|
|
125
136
|
"chatDeleteSessionConfirm": "确认删除当前会话?",
|
|
126
137
|
"chatSessionMoreActions": "更多操作",
|
|
@@ -136,6 +147,7 @@
|
|
|
136
147
|
"chatSessionProjectUpdateHint": "这里浏览和选择的是服务端机器上的目录。修改项目目录只影响后续消息和后续工具执行,不会改写历史会话。",
|
|
137
148
|
"chatSessionProjectUpdated": "项目目录已更新",
|
|
138
149
|
"chatSessionProjectCleared": "项目目录已清除",
|
|
150
|
+
"chatSessionErrorTitle": "出错了",
|
|
139
151
|
"chatSendFailed": "发送消息失败",
|
|
140
152
|
"chatRoleUser": "你",
|
|
141
153
|
"chatRoleAssistant": "助手",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"marketplace": "市场",
|
|
12
12
|
"advanced": "高级",
|
|
13
13
|
"settings": "设置",
|
|
14
|
+
"appearance": "外观",
|
|
14
15
|
"settingsMenu": "设置菜单",
|
|
15
16
|
"sidebarCollapse": "收起侧边栏",
|
|
16
17
|
"sidebarExpand": "展开侧边栏",
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
"themeCool": "雾蓝",
|
|
46
47
|
"themeDawn": "晨砂",
|
|
47
48
|
"themeGraphite": "石墨",
|
|
49
|
+
"themeNight": "暗夜",
|
|
48
50
|
"themeProbe": "探针",
|
|
49
51
|
"isRequired": "必填",
|
|
50
52
|
"duplicate": "重复",
|
|
@@ -75,6 +75,14 @@
|
|
|
75
75
|
"desktopUpdatesDownloadNow": "下载更新",
|
|
76
76
|
"desktopUpdatesApplyNow": "立即重启更新",
|
|
77
77
|
"desktopUpdatesReleaseNotes": "查看更新说明",
|
|
78
|
+
"desktopUpdatesReleaseNotesPreviewTitle": "本次更新",
|
|
79
|
+
"desktopUpdatesReleaseNotesPreviewDescription": "更新前可以先查看这个版本的主要变化。",
|
|
80
|
+
"desktopUpdatesReleaseNotesPreviewLoading": "正在读取更新说明...",
|
|
81
|
+
"desktopUpdatesReleaseNotesPreviewUnavailable": "暂时无法在应用内读取结构化更新说明,可以打开完整说明。",
|
|
82
|
+
"desktopUpdatesReleaseNotesFeature": "功能",
|
|
83
|
+
"desktopUpdatesReleaseNotesEnhancement": "增强",
|
|
84
|
+
"desktopUpdatesReleaseNotesFix": "修复",
|
|
85
|
+
"desktopUpdatesReleaseNotesCompatibility": "默认行为与兼容性",
|
|
78
86
|
"desktopUpdatesLoadFailed": "读取更新状态失败",
|
|
79
87
|
"desktopUpdatesCheckFailed": "检查更新失败",
|
|
80
88
|
"desktopUpdatesDownloadFailed": "下载更新失败",
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"docBrowserTitle": "内嵌浏览器",
|
|
3
3
|
"docBrowserSearchPlaceholder": "搜索,也可以输入文档地址直接打开",
|
|
4
|
+
"docBrowserAddressLabel": "地址",
|
|
5
|
+
"docBrowserAddressPlaceholder": "输入地址,例如 http://localhost:5173",
|
|
4
6
|
"docBrowserUrlPlaceholder": "输入文档路径,如 /guide/channels",
|
|
5
7
|
"docBrowserOpenExternal": "文档中心打开",
|
|
8
|
+
"docBrowserOpenInBrowser": "系统浏览器打开",
|
|
9
|
+
"docBrowserRefresh": "刷新",
|
|
6
10
|
"docBrowserFloatMode": "悬浮窗口",
|
|
7
11
|
"docBrowserDockMode": "固定到侧栏",
|
|
8
12
|
"docBrowserClose": "关闭",
|
|
@@ -17,6 +21,13 @@
|
|
|
17
21
|
"sideDockUnpinCurrent": "从快捷栏移除",
|
|
18
22
|
"sideDockBuiltInDocked": "内置快捷入口",
|
|
19
23
|
"sideDockUnpinItem": "移除快捷入口",
|
|
24
|
+
"sideDockGitHubProject": "GitHub 项目",
|
|
25
|
+
"sideDockHide": "隐藏快捷栏",
|
|
26
|
+
"sideDockHideConfirmTitle": "隐藏快捷栏?",
|
|
27
|
+
"sideDockHideConfirmDescription": "隐藏后可在「设置 > 外观」中重新打开。",
|
|
28
|
+
"sideDockHideConfirmAction": "隐藏",
|
|
29
|
+
"sideDockVisibilityTitle": "显示快捷栏",
|
|
30
|
+
"sideDockVisibilityDescription": "在工作区右侧显示快捷入口栏。",
|
|
20
31
|
"appsTitle": "应用",
|
|
21
32
|
"panelAppsTitle": "面板应用",
|
|
22
33
|
"panelAppsLoading": "加载面板应用中...",
|
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
"marketplaceDetailPanelEmpty": "点击左侧任意插件/技能,在这里查看详情。",
|
|
59
59
|
"marketplaceDetailSummary": "摘要",
|
|
60
60
|
"marketplaceDetailDescription": "描述",
|
|
61
|
+
"marketplaceDetailMetadata": "元数据",
|
|
62
|
+
"marketplaceDetailContent": "内容",
|
|
63
|
+
"marketplaceDetailSource": "来源",
|
|
64
|
+
"marketplaceDetailUnavailableTitle": "详情暂不可用",
|
|
65
|
+
"marketplaceDetailUnavailableDescription": "这个右侧详情标签页缺少当前会话中的内容数据,请从市场列表重新打开一次。",
|
|
61
66
|
"marketplaceOpenInDocBrowserTab": "新标签打开",
|
|
62
67
|
"marketplaceMcpInstallDialogTitle": "安装 MCP Server",
|
|
63
68
|
"marketplaceMcpServerName": "Server 名称",
|
|
@@ -14,24 +14,32 @@ describe("buildWorkspaceFileBreadcrumb", () => {
|
|
|
14
14
|
key: "workspace:project-alpha",
|
|
15
15
|
label: "project-alpha",
|
|
16
16
|
kind: "workspace",
|
|
17
|
+
path: "/Users/demo/project-alpha",
|
|
18
|
+
browsePath: "/Users/demo/project-alpha",
|
|
17
19
|
isCurrent: false,
|
|
18
20
|
},
|
|
19
21
|
{
|
|
20
22
|
key: "0:src",
|
|
21
23
|
label: "src",
|
|
22
24
|
kind: "directory",
|
|
25
|
+
path: "/Users/demo/project-alpha/src",
|
|
26
|
+
browsePath: "/Users/demo/project-alpha/src",
|
|
23
27
|
isCurrent: false,
|
|
24
28
|
},
|
|
25
29
|
{
|
|
26
30
|
key: "1:chat",
|
|
27
31
|
label: "chat",
|
|
28
32
|
kind: "directory",
|
|
33
|
+
path: "/Users/demo/project-alpha/src/chat",
|
|
34
|
+
browsePath: "/Users/demo/project-alpha/src/chat",
|
|
29
35
|
isCurrent: false,
|
|
30
36
|
},
|
|
31
37
|
{
|
|
32
38
|
key: "2:example.tsx",
|
|
33
39
|
label: "example.tsx",
|
|
34
40
|
kind: "file",
|
|
41
|
+
path: "/Users/demo/project-alpha/src/chat/example.tsx",
|
|
42
|
+
browsePath: "/Users/demo/project-alpha/src/chat",
|
|
35
43
|
isCurrent: true,
|
|
36
44
|
},
|
|
37
45
|
]);
|
|
@@ -49,18 +57,24 @@ describe("buildWorkspaceFileBreadcrumb", () => {
|
|
|
49
57
|
key: "root:/",
|
|
50
58
|
label: "/",
|
|
51
59
|
kind: "root",
|
|
60
|
+
path: "/",
|
|
61
|
+
browsePath: "/",
|
|
52
62
|
isCurrent: false,
|
|
53
63
|
},
|
|
54
64
|
{
|
|
55
65
|
key: "0:tmp",
|
|
56
66
|
label: "tmp",
|
|
57
67
|
kind: "directory",
|
|
68
|
+
path: "/tmp",
|
|
69
|
+
browsePath: "/tmp",
|
|
58
70
|
isCurrent: false,
|
|
59
71
|
},
|
|
60
72
|
{
|
|
61
73
|
key: "1:example.ts",
|
|
62
74
|
label: "example.ts",
|
|
63
75
|
kind: "file",
|
|
76
|
+
path: "/tmp/example.ts",
|
|
77
|
+
browsePath: "/tmp",
|
|
64
78
|
isCurrent: true,
|
|
65
79
|
},
|
|
66
80
|
]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './session-project.utils';
|
|
2
|
-
export * from './workspace-file-breadcrumb';
|
|
2
|
+
export * from './workspace-file-breadcrumb.utils';
|