@jingyi0605/codingns4dsh 0.2.1-beta.8 → 0.2.1-beta.9
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/README.en.md +3 -3
- package/README.md +7 -3
- package/data/build/dist/bootstrap/dsh-peer-host-preboot-shim.d.ts.map +1 -1
- package/data/build/dist/bootstrap/dsh-peer-host-preboot-shim.js +26 -1
- package/data/build/dist/bootstrap/dsh-peer-host-preboot-shim.js.map +1 -1
- package/data/build/dist/client/account-bar.d.ts.map +1 -1
- package/data/build/dist/client/account-bar.js +33 -21
- package/data/build/dist/client/account-bar.js.map +1 -1
- package/data/build/dist/client/avatar/desktop-bridge.js +1 -1
- package/data/build/dist/client/avatar/desktop-bridge.js.map +1 -1
- package/data/build/dist/client/avatar/desktop-view.d.ts +3 -1
- package/data/build/dist/client/avatar/desktop-view.d.ts.map +1 -1
- package/data/build/dist/client/avatar/desktop-view.js +31 -12
- package/data/build/dist/client/avatar/desktop-view.js.map +1 -1
- package/data/build/dist/client/avatar/notification-bubble.d.ts +7 -1
- package/data/build/dist/client/avatar/notification-bubble.d.ts.map +1 -1
- package/data/build/dist/client/avatar/notification-bubble.js +68 -33
- package/data/build/dist/client/avatar/notification-bubble.js.map +1 -1
- package/data/build/dist/client/bundle.js +1626 -303
- package/data/build/dist/client/bundle.js.map +1 -1
- package/data/build/dist/client/cli-slots.d.ts.map +1 -1
- package/data/build/dist/client/cli-slots.js +26 -2
- package/data/build/dist/client/cli-slots.js.map +1 -1
- package/data/build/dist/client/client.assistant-notifications.js.map +1 -1
- package/data/build/dist/client/client.delegate-command.js +6 -6
- package/data/build/dist/client/client.delegate-command.js.map +1 -1
- package/data/build/dist/client/client.native-workspace-store.js +39 -3
- package/data/build/dist/client/client.native-workspace-store.js.map +1 -1
- package/data/build/dist/client/client.session-translation.js +54 -0
- package/data/build/dist/client/client.session-translation.js.map +1 -0
- package/data/build/dist/client/client.transport.js +86 -2
- package/data/build/dist/client/client.transport.js.map +1 -1
- package/data/build/dist/client/desktop-assistant.js +217 -61
- package/data/build/dist/client/features/assistant-notification-store.d.ts +1 -1
- package/data/build/dist/client/features/assistant-notification-store.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-notification-store.js +1 -1
- package/data/build/dist/client/features/assistant-notification-store.js.map +1 -1
- package/data/build/dist/client/features/global-voice-assistant.d.ts.map +1 -1
- package/data/build/dist/client/features/global-voice-assistant.js +12 -6
- package/data/build/dist/client/features/global-voice-assistant.js.map +1 -1
- package/data/build/dist/client/features/index.d.ts +1 -0
- package/data/build/dist/client/features/index.d.ts.map +1 -1
- package/data/build/dist/client/features/index.js +3 -0
- package/data/build/dist/client/features/index.js.map +1 -1
- package/data/build/dist/client/features/peer-host.d.ts.map +1 -1
- package/data/build/dist/client/features/peer-host.js +99 -17
- package/data/build/dist/client/features/peer-host.js.map +1 -1
- package/data/build/dist/client/features/session-translation.d.ts +3 -0
- package/data/build/dist/client/features/session-translation.d.ts.map +1 -0
- package/data/build/dist/client/features/session-translation.js +116 -0
- package/data/build/dist/client/features/session-translation.js.map +1 -0
- package/data/build/dist/client/index.d.ts.map +1 -1
- package/data/build/dist/client/index.js +6 -1
- package/data/build/dist/client/index.js.map +1 -1
- package/data/build/dist/client/locales/panels.d.ts.map +1 -1
- package/data/build/dist/client/locales/panels.js +62 -0
- package/data/build/dist/client/locales/panels.js.map +1 -1
- package/data/build/dist/client/session-file-links.d.ts +11 -0
- package/data/build/dist/client/session-file-links.d.ts.map +1 -0
- package/data/build/dist/client/{peer-host-file-links.js → session-file-links.js} +13 -3
- package/data/build/dist/client/session-file-links.js.map +1 -0
- package/data/build/dist/client/session-translation-chat.d.ts +6 -0
- package/data/build/dist/client/session-translation-chat.d.ts.map +1 -0
- package/data/build/dist/client/session-translation-chat.js +686 -0
- package/data/build/dist/client/session-translation-chat.js.map +1 -0
- package/data/build/dist/client/workspace-session-visibility-dom.d.ts.map +1 -1
- package/data/build/dist/client/workspace-session-visibility-dom.js +23 -7
- package/data/build/dist/client/workspace-session-visibility-dom.js.map +1 -1
- package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.d.ts +1 -1
- package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.js +28 -2
- package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.js.map +1 -1
- package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts +21 -0
- package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/acp-cli-driver.js +100 -3
- package/data/build/dist/host/cli-adapters/acp-cli-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/codex-driver.d.ts +10 -1
- package/data/build/dist/host/cli-adapters/codex-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/codex-driver.js +73 -14
- package/data/build/dist/host/cli-adapters/codex-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-acp-loader.d.ts +8 -1
- package/data/build/dist/host/cli-adapters/command-code-acp-loader.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-acp-loader.js +45 -2
- package/data/build/dist/host/cli-adapters/command-code-acp-loader.js.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-driver.d.ts +8 -2
- package/data/build/dist/host/cli-adapters/command-code-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-driver.js +32 -3
- package/data/build/dist/host/cli-adapters/command-code-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-history.d.ts +27 -0
- package/data/build/dist/host/cli-adapters/command-code-history.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-history.js +131 -1
- package/data/build/dist/host/cli-adapters/command-code-history.js.map +1 -1
- package/data/build/dist/host/cli-adapters/delegation-mention-rewrite.js +9 -9
- package/data/build/dist/host/cli-adapters/delegation-mention-rewrite.js.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts +11 -0
- package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-message-projector.js +79 -7
- package/data/build/dist/host/cli-adapters/dsh-message-projector.js.map +1 -1
- package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/feature.js +286 -19
- package/data/build/dist/host/cli-adapters/feature.js.map +1 -1
- package/data/build/dist/host/cli-adapters/grok-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/grok-driver.js +108 -47
- package/data/build/dist/host/cli-adapters/grok-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/legacy-session-settings.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/legacy-session-settings.js +7 -2
- package/data/build/dist/host/cli-adapters/legacy-session-settings.js.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-driver.d.ts +4 -2
- package/data/build/dist/host/cli-adapters/opencode-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-driver.js +78 -31
- package/data/build/dist/host/cli-adapters/opencode-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-v2-protocol.d.ts +1 -1
- package/data/build/dist/host/cli-adapters/opencode-v2-protocol.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js +63 -6
- package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js.map +1 -1
- package/data/build/dist/host/cli-adapters/provider-subscription.d.ts +5 -1
- package/data/build/dist/host/cli-adapters/provider-subscription.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/provider-subscription.js +90 -25
- package/data/build/dist/host/cli-adapters/provider-subscription.js.map +1 -1
- package/data/build/dist/host/cli-adapters/registry.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/registry.js +22 -5
- package/data/build/dist/host/cli-adapters/registry.js.map +1 -1
- package/data/build/dist/host/cli-adapters/session-store.d.ts +1 -0
- package/data/build/dist/host/cli-adapters/session-store.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/session-store.js +3 -0
- package/data/build/dist/host/cli-adapters/session-store.js.map +1 -1
- package/data/build/dist/host/cli-bridge/bridge-server.js +2 -2
- package/data/build/dist/host/cli-bridge/bridge-server.js.map +1 -1
- package/data/build/dist/host/cli-bridge/command-code-mod.js +21 -21
- package/data/build/dist/host/cli-bridge/command-code-mod.js.map +1 -1
- package/data/build/dist/host/cli-bridge/dispatch.js +19 -19
- package/data/build/dist/host/cli-bridge/dispatch.js.map +1 -1
- package/data/build/dist/host/cli-bridge/injections.d.ts +32 -0
- package/data/build/dist/host/cli-bridge/injections.d.ts.map +1 -1
- package/data/build/dist/host/cli-bridge/injections.js +137 -1
- package/data/build/dist/host/cli-bridge/injections.js.map +1 -1
- package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js +20 -20
- package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js.map +1 -1
- package/data/build/dist/host/desktop-assistant/controller.d.ts +1 -0
- package/data/build/dist/host/desktop-assistant/controller.d.ts.map +1 -1
- package/data/build/dist/host/desktop-assistant/controller.js +21 -3
- package/data/build/dist/host/desktop-assistant/controller.js.map +1 -1
- package/data/build/dist/host/desktop-assistant/mac-agent.d.ts.map +1 -1
- package/data/build/dist/host/desktop-assistant/mac-agent.js +15 -3
- package/data/build/dist/host/desktop-assistant/mac-agent.js.map +1 -1
- package/data/build/dist/host/desktop-assistant/win-agent.d.ts.map +1 -1
- package/data/build/dist/host/desktop-assistant/win-agent.js +21 -3
- package/data/build/dist/host/desktop-assistant/win-agent.js.map +1 -1
- package/data/build/dist/host/features/assistant-notifications.d.ts.map +1 -1
- package/data/build/dist/host/features/assistant-notifications.js +12 -4
- package/data/build/dist/host/features/assistant-notifications.js.map +1 -1
- package/data/build/dist/host/features/index.d.ts +1 -0
- package/data/build/dist/host/features/index.d.ts.map +1 -1
- package/data/build/dist/host/features/index.js +3 -0
- package/data/build/dist/host/features/index.js.map +1 -1
- package/data/build/dist/host/features/peer-host.d.ts.map +1 -1
- package/data/build/dist/host/features/peer-host.js +11 -4
- package/data/build/dist/host/features/peer-host.js.map +1 -1
- package/data/build/dist/host/features/session-translation-service.d.ts +31 -0
- package/data/build/dist/host/features/session-translation-service.d.ts.map +1 -0
- package/data/build/dist/host/features/session-translation-service.js +451 -0
- package/data/build/dist/host/features/session-translation-service.js.map +1 -0
- package/data/build/dist/host/features/session-translation.d.ts +5 -0
- package/data/build/dist/host/features/session-translation.d.ts.map +1 -0
- package/data/build/dist/host/features/session-translation.js +37 -0
- package/data/build/dist/host/features/session-translation.js.map +1 -0
- package/data/build/dist/host/features/types.d.ts +3 -0
- package/data/build/dist/host/features/types.d.ts.map +1 -1
- package/data/build/dist/host/image-artifact-store.d.ts +21 -0
- package/data/build/dist/host/image-artifact-store.d.ts.map +1 -0
- package/data/build/dist/host/image-artifact-store.js +136 -0
- package/data/build/dist/host/image-artifact-store.js.map +1 -0
- package/data/build/dist/host/index.d.ts.map +1 -1
- package/data/build/dist/host/index.js +3 -0
- package/data/build/dist/host/index.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.d.ts +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.js +2 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.js.map +1 -1
- package/data/build/dist/host/native-session-bridge.d.ts +16 -1
- package/data/build/dist/host/native-session-bridge.d.ts.map +1 -1
- package/data/build/dist/host/native-session-bridge.js +47 -0
- package/data/build/dist/host/native-session-bridge.js.map +1 -1
- package/data/build/dist/host/rpc.js +3 -3
- package/data/build/dist/host/rpc.js.map +1 -1
- package/data/build/dist/host/session-changes.d.ts.map +1 -1
- package/data/build/dist/host/session-changes.js +196 -13
- package/data/build/dist/host/session-changes.js.map +1 -1
- package/data/build/dist/host/settings.d.ts.map +1 -1
- package/data/build/dist/host/settings.js +8 -0
- package/data/build/dist/host/settings.js.map +1 -1
- package/data/build/dist/shared/assistant-notifications.d.ts +2 -2
- package/data/build/dist/shared/assistant-notifications.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/cli-adapter.d.ts +25 -2
- package/data/build/dist/shared/contracts/cli-adapter.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/config.d.ts +6 -0
- package/data/build/dist/shared/contracts/config.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/config.js +3 -0
- package/data/build/dist/shared/contracts/config.js.map +1 -1
- package/data/build/dist/shared/contracts/session-translation.d.ts +58 -0
- package/data/build/dist/shared/contracts/session-translation.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/session-translation.js +23 -0
- package/data/build/dist/shared/contracts/session-translation.js.map +1 -0
- package/data/build/dist/shared/contracts/version.d.ts +1 -1
- package/data/build/dist/shared/contracts/version.js +1 -1
- package/data/build/dist/shared/delegation-carrier.js +6 -6
- package/data/build/dist/shared/delegation-carrier.js.map +1 -1
- package/data/build/dist/shared/desktop-assistant.d.ts +10 -4
- package/data/build/dist/shared/desktop-assistant.d.ts.map +1 -1
- package/data/build/dist/shared/desktop-assistant.js +28 -8
- package/data/build/dist/shared/desktop-assistant.js.map +1 -1
- package/data/build/dist/shared/index.d.ts +2 -1
- package/data/build/dist/shared/index.d.ts.map +1 -1
- package/data/build/dist/shared/index.js +2 -1
- package/data/build/dist/shared/index.js.map +1 -1
- package/package.json +2 -2
- package/profile/README.md +2 -2
- package/profile/package.json +2 -2
- package/profile/version.json +1 -1
- package/version.json +1 -1
- package/data/build/dist/client/peer-host-file-links.d.ts +0 -8
- package/data/build/dist/client/peer-host-file-links.d.ts.map +0 -1
- package/data/build/dist/client/peer-host-file-links.js.map +0 -1
|
@@ -11,11 +11,42 @@ export const en = {
|
|
|
11
11
|
'cli.thinkingLevelTitle': 'Thinking level ({model})',
|
|
12
12
|
'cli.adapterEnabled': '{name} enabled',
|
|
13
13
|
'cli.adapterDisabled': '{name} disabled',
|
|
14
|
+
'cli.translationConversation': 'Translate conversation',
|
|
15
|
+
'cli.translationConversationToggle': 'Toggle conversation translation',
|
|
14
16
|
'lan.fieldListenPort': 'listen port',
|
|
15
17
|
'lan.fieldDshPort': 'DSH local port',
|
|
16
18
|
'lan.fieldMustBeNumber': '{field} must be a number',
|
|
17
19
|
'lan.fieldMustBeInteger': '{field} must be an integer from {minimum} to 65535',
|
|
18
20
|
'workspace.sessionSettingsSaved': 'Workspace session settings saved',
|
|
21
|
+
'feature.sessionTranslation.label': 'Session translation',
|
|
22
|
+
'feature.sessionTranslation.description': 'Translate selected external Agent requests and replies while keeping tools, commands, paths, and original history unchanged.',
|
|
23
|
+
'translation.inputTitle': 'Translate requests before sending',
|
|
24
|
+
'translation.inputLanguage': 'Request language',
|
|
25
|
+
'translation.outputTitle': 'Translate visible replies',
|
|
26
|
+
'translation.outputLanguage': 'Reply language',
|
|
27
|
+
'translation.modelTitle': 'Translation model',
|
|
28
|
+
'translation.modelFollowDefault': 'Use the default DSH model',
|
|
29
|
+
'translation.modelUnavailable': 'Saved model is unavailable',
|
|
30
|
+
'translation.modelLoading': 'Loading available DSH models…',
|
|
31
|
+
'translation.modelEmpty': 'No DSH text models are available.',
|
|
32
|
+
'translation.modelHelp': 'DeepSeek official and configured third-party models are available here. Translation requests always disable thinking.',
|
|
33
|
+
'translation.detailsTitle': 'Translation details',
|
|
34
|
+
'translation.viewDetails': 'View translation details',
|
|
35
|
+
'translation.statusTranslated': 'Translated',
|
|
36
|
+
'translation.statusFailed': 'Translation failed; original kept',
|
|
37
|
+
'translation.statusNotNeeded': 'Already in the target language; translation skipped',
|
|
38
|
+
'translation.detectedLanguage': 'Detected language',
|
|
39
|
+
'translation.modelNotUsed': 'Not used; translation was unnecessary',
|
|
40
|
+
'translation.originalText': 'Original text',
|
|
41
|
+
'translation.translatedText': 'Translated / sent text',
|
|
42
|
+
'translation.modelUsed': 'Model used',
|
|
43
|
+
'translation.modelUnknown': 'Model information unavailable',
|
|
44
|
+
'translation.modelOfficial': 'DeepSeek official',
|
|
45
|
+
'translation.modelThirdParty': 'Third-party',
|
|
46
|
+
'translation.saveRejected': 'The translation settings could not be saved.',
|
|
47
|
+
'translation.saved': 'Translation settings saved',
|
|
48
|
+
'translation.language.zh': '简体中文', 'translation.language.en': 'English', 'translation.language.fr': 'Français', 'translation.language.de': 'Deutsch', 'translation.language.ja': '日本語',
|
|
49
|
+
'translation.adapter.claude': 'Claude Code', 'translation.adapter.codex': 'Codex', 'translation.adapter.pi': 'Pi', 'translation.adapter.opencode': 'OpenCode', 'translation.adapter.antigravity': 'Antigravity', 'translation.adapter.grok': 'Grok', 'translation.adapter.cursor': 'Cursor', 'translation.adapter.kiro': 'Kiro',
|
|
19
50
|
};
|
|
20
51
|
export const zh = {
|
|
21
52
|
'common.listSeparator': '、',
|
|
@@ -24,10 +55,41 @@ export const zh = {
|
|
|
24
55
|
'cli.thinkingLevelTitle': '思考等级({model})',
|
|
25
56
|
'cli.adapterEnabled': '已启用 {name}',
|
|
26
57
|
'cli.adapterDisabled': '已停用 {name}',
|
|
58
|
+
'cli.translationConversation': '翻译对话',
|
|
59
|
+
'cli.translationConversationToggle': '切换对话翻译',
|
|
27
60
|
'lan.fieldListenPort': '监听端口',
|
|
28
61
|
'lan.fieldDshPort': 'DSH 本地端口',
|
|
29
62
|
'lan.fieldMustBeNumber': '{field} 必须是数字',
|
|
30
63
|
'lan.fieldMustBeInteger': '{field} 必须是 {minimum} 到 65535 的整数',
|
|
31
64
|
'workspace.sessionSettingsSaved': '工作区会话设置已保存',
|
|
65
|
+
'feature.sessionTranslation.label': '会话翻译',
|
|
66
|
+
'feature.sessionTranslation.description': '为选定的外部 Agent 翻译请求和回复,同时保留工具、命令、路径与原始历史。',
|
|
67
|
+
'translation.inputTitle': '发送前翻译请求',
|
|
68
|
+
'translation.inputLanguage': '请求目标语言',
|
|
69
|
+
'translation.outputTitle': '翻译界面回复',
|
|
70
|
+
'translation.outputLanguage': '回复语言',
|
|
71
|
+
'translation.modelTitle': '翻译模型',
|
|
72
|
+
'translation.modelFollowDefault': '跟随 DSH 默认模型',
|
|
73
|
+
'translation.modelUnavailable': '已保存的模型当前不可用',
|
|
74
|
+
'translation.modelLoading': '正在加载可用的 DSH 模型…',
|
|
75
|
+
'translation.modelEmpty': '当前没有可用的 DSH 文本模型。',
|
|
76
|
+
'translation.modelHelp': '这里可以选择 DeepSeek 官方模型或已配置的第三方模型;翻译请求始终关闭思考。',
|
|
77
|
+
'translation.detailsTitle': '翻译详情',
|
|
78
|
+
'translation.viewDetails': '查看翻译详情',
|
|
79
|
+
'translation.statusTranslated': '已翻译',
|
|
80
|
+
'translation.statusFailed': '翻译失败,已保留原文',
|
|
81
|
+
'translation.statusNotNeeded': '原文已是目标语言,无需翻译',
|
|
82
|
+
'translation.detectedLanguage': '检测到的语言',
|
|
83
|
+
'translation.modelNotUsed': '未调用,原文无需翻译',
|
|
84
|
+
'translation.originalText': '原文',
|
|
85
|
+
'translation.translatedText': '译文 / 实际发送文本',
|
|
86
|
+
'translation.modelUsed': '实际翻译模型',
|
|
87
|
+
'translation.modelUnknown': '暂无模型信息',
|
|
88
|
+
'translation.modelOfficial': 'DeepSeek 官方',
|
|
89
|
+
'translation.modelThirdParty': '第三方',
|
|
90
|
+
'translation.saveRejected': '会话翻译设置未能保存。',
|
|
91
|
+
'translation.saved': '会话翻译设置已保存',
|
|
92
|
+
'translation.language.zh': '简体中文', 'translation.language.en': '英语', 'translation.language.fr': '法语', 'translation.language.de': '德语', 'translation.language.ja': '日语',
|
|
93
|
+
'translation.adapter.claude': 'Claude Code', 'translation.adapter.codex': 'Codex', 'translation.adapter.pi': 'Pi', 'translation.adapter.opencode': 'OpenCode', 'translation.adapter.antigravity': 'Antigravity', 'translation.adapter.grok': 'Grok', 'translation.adapter.cursor': 'Cursor', 'translation.adapter.kiro': 'Kiro',
|
|
32
94
|
};
|
|
33
95
|
//# sourceMappingURL=panels.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panels.js","sourceRoot":"","sources":["../../../../../src/client/locales/panels.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,EAAE,GAA2B;IACxC,sBAAsB,EAAE,IAAI;IAC5B,yBAAyB,EAAE,iBAAiB;IAC5C,8BAA8B,EAAE,+EAA+E;IAC/G,wBAAwB,EAAE,0BAA0B;IACpD,oBAAoB,EAAE,gBAAgB;IACtC,qBAAqB,EAAE,iBAAiB;IACxC,qBAAqB,EAAE,aAAa;IACpC,kBAAkB,EAAE,gBAAgB;IACpC,uBAAuB,EAAE,0BAA0B;IACnD,wBAAwB,EAAE,oDAAoD;IAC9E,gCAAgC,EAAE,kCAAkC;
|
|
1
|
+
{"version":3,"file":"panels.js","sourceRoot":"","sources":["../../../../../src/client/locales/panels.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,EAAE,GAA2B;IACxC,sBAAsB,EAAE,IAAI;IAC5B,yBAAyB,EAAE,iBAAiB;IAC5C,8BAA8B,EAAE,+EAA+E;IAC/G,wBAAwB,EAAE,0BAA0B;IACpD,oBAAoB,EAAE,gBAAgB;IACtC,qBAAqB,EAAE,iBAAiB;IACxC,6BAA6B,EAAE,wBAAwB;IACvD,mCAAmC,EAAE,iCAAiC;IACtE,qBAAqB,EAAE,aAAa;IACpC,kBAAkB,EAAE,gBAAgB;IACpC,uBAAuB,EAAE,0BAA0B;IACnD,wBAAwB,EAAE,oDAAoD;IAC9E,gCAAgC,EAAE,kCAAkC;IACpE,kCAAkC,EAAE,qBAAqB;IACzD,wCAAwC,EAAE,8HAA8H;IACxK,wBAAwB,EAAE,mCAAmC;IAC7D,2BAA2B,EAAE,kBAAkB;IAC/C,yBAAyB,EAAE,2BAA2B;IACtD,4BAA4B,EAAE,gBAAgB;IAC9C,wBAAwB,EAAE,mBAAmB;IAC7C,gCAAgC,EAAE,2BAA2B;IAC7D,8BAA8B,EAAE,4BAA4B;IAC5D,0B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源入口规范本地及远端链接,保留资源里的会话身份和导航参数。
|
|
4
|
+
* 右栏文件树、消息与预览内链接共用这个入口;不扫描消息正文或当前选择。
|
|
5
|
+
*/
|
|
6
|
+
export declare function installSessionFileLinkRouting(uiContext: {
|
|
7
|
+
get(name: string): unknown;
|
|
8
|
+
}, workspacePathForSession: (sessionId: string) => string | undefined): (() => void) | undefined;
|
|
9
|
+
/** 独立于 PeerHost 开关,按资源所属会话的最新目录识别路径平台。 */
|
|
10
|
+
export declare function installNativeSessionFileLinkRouting(uiContext: Context): (() => void) | undefined;
|
|
11
|
+
//# sourceMappingURL=session-file-links.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-file-links.d.ts","sourceRoot":"","sources":["../../../../src/client/session-file-links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAelD;;;GAGG;AACH,wBAAgB,6BAA6B,CAC3C,SAAS,EAAE;IAAE,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EACzC,uBAAuB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,GACjE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CA6B1B;AAED,0CAA0C;AAC1C,wBAAgB,mCAAmC,CAAC,SAAS,EAAE,OAAO,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAShG"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { parseFileAddress, sessionFileAddress } from '@deepseek-ai/dsh-util-workspace-path';
|
|
2
2
|
import { normalizePeerHostFileLocation } from '../shared/peer-host-file-location.js';
|
|
3
|
+
import { readNativeService, readNativeWorkspaceSnapshot } from './native-workspace-store.js';
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
+
* 在原生资源入口规范本地及远端链接,保留资源里的会话身份和导航参数。
|
|
5
6
|
* 右栏文件树、消息与预览内链接共用这个入口;不扫描消息正文或当前选择。
|
|
6
7
|
*/
|
|
7
|
-
export function
|
|
8
|
+
export function installSessionFileLinkRouting(uiContext, workspacePathForSession) {
|
|
8
9
|
const sidebar = uiContext.get('sidebarRight');
|
|
9
10
|
if (typeof sidebar?.openResource !== 'function')
|
|
10
11
|
return undefined;
|
|
@@ -40,4 +41,13 @@ export function installPeerHostFileLinkRouting(uiContext, workspacePathForSessio
|
|
|
40
41
|
sidebar.openResourceIn = originalOpenIn;
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
|
-
|
|
44
|
+
/** 独立于 PeerHost 开关,按资源所属会话的最新目录识别路径平台。 */
|
|
45
|
+
export function installNativeSessionFileLinkRouting(uiContext) {
|
|
46
|
+
const sessions = readNativeService(uiContext, 'sessions', 'list');
|
|
47
|
+
return installSessionFileLinkRouting(uiContext, (sessionId) => {
|
|
48
|
+
const workspace = readNativeWorkspaceSnapshot(uiContext)?.items.find((item) => item.sessionIds.includes(sessionId));
|
|
49
|
+
// 远端空白会话的 cwd 可能是侧栏虚拟 URI,优先使用工作区保存的真实路径。
|
|
50
|
+
return workspace?.workspacePath ?? sessions?.getSnapshot().byId?.[sessionId]?.cwd ?? workspace?.path;
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=session-file-links.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-file-links.js","sourceRoot":"","sources":["../../../../src/client/session-file-links.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAA;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAA;AACpF,OAAO,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAY5F;;;GAGG;AACH,MAAM,UAAU,6BAA6B,CAC3C,SAAyC,EACzC,uBAAkE;IAElE,MAAM,OAAO,GAAG,SAAS,CAAC,GAAG,CAAC,cAAc,CAAo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EAAE,IAAI,CAAA;IACtG,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CodingNsClientServices } from './features/types.js';
|
|
2
|
+
/**
|
|
3
|
+
* 注册两个有实际翻译记录的消息渲染器;DSH 的用户气泡内容仍由统一主题令牌控制。
|
|
4
|
+
*/
|
|
5
|
+
export declare function registerSessionTranslationChatUi(services: CodingNsClientServices): () => void;
|
|
6
|
+
//# sourceMappingURL=session-translation-chat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-translation-chat.d.ts","sourceRoot":"","sources":["../../../../src/client/session-translation-chat.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AA4mBjE;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,IAAI,CA2B7F"}
|