@jingyi0605/codingns4dsh 0.2.1-rc.8 → 0.2.2-beta.2
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 +5 -5
- package/README.md +6 -6
- package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts +1 -1
- package/data/build/dist/bootstrap/index.d.ts +1 -1
- package/data/build/dist/client/bundle.js +2115 -2530
- 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 +24 -13
- package/data/build/dist/client/cli-slots.js.map +1 -1
- package/data/build/dist/client/client.command-token.js +1 -2
- package/data/build/dist/client/client.delegate-command.js +4 -8
- package/data/build/dist/client/client.delegate-command.js.map +1 -1
- package/data/build/dist/client/client.editor-engine.js +266 -198
- package/data/build/dist/client/client.editor-engine.js.map +1 -1
- package/data/build/dist/client/client.magpie-model-tag.js +29 -50
- package/data/build/dist/client/client.magpie-model-tag.js.map +1 -1
- package/data/build/dist/client/client.rolldown-runtime.js +2 -3
- package/data/build/dist/client/client.xterm-engine.js +3 -6
- package/data/build/dist/client/client.xterm-engine.js.map +1 -1
- package/data/build/dist/client/features/file-management.d.ts.map +1 -1
- package/data/build/dist/client/features/file-management.js +23 -2
- package/data/build/dist/client/features/file-management.js.map +1 -1
- package/data/build/dist/client/features/magpie-management-page.d.ts +17 -4
- package/data/build/dist/client/features/magpie-management-page.d.ts.map +1 -1
- package/data/build/dist/client/features/magpie-management-page.js +52 -16
- package/data/build/dist/client/features/magpie-management-page.js.map +1 -1
- package/data/build/dist/client/features/mobile-access-panel.d.ts.map +1 -1
- package/data/build/dist/client/features/mobile-access-panel.js +1 -11
- package/data/build/dist/client/features/mobile-access-panel.js.map +1 -1
- package/data/build/dist/client/features/mobile-access.d.ts +3 -6
- package/data/build/dist/client/features/mobile-access.d.ts.map +1 -1
- package/data/build/dist/client/features/mobile-access.js +18 -47
- package/data/build/dist/client/features/mobile-access.js.map +1 -1
- package/data/build/dist/client/features/plugin-update.d.ts.map +1 -1
- package/data/build/dist/client/features/plugin-update.js +6 -0
- package/data/build/dist/client/features/plugin-update.js.map +1 -1
- package/data/build/dist/client/features/session-translation.d.ts.map +1 -1
- package/data/build/dist/client/features/session-translation.js +6 -0
- package/data/build/dist/client/features/session-translation.js.map +1 -1
- package/data/build/dist/client/features/terminal-enhancement.d.ts.map +1 -1
- package/data/build/dist/client/features/terminal-enhancement.js +6 -0
- package/data/build/dist/client/features/terminal-enhancement.js.map +1 -1
- package/data/build/dist/client/features/types.d.ts +3 -0
- package/data/build/dist/client/features/types.d.ts.map +1 -1
- package/data/build/dist/client/features/workspace-session-enhancement.d.ts.map +1 -1
- package/data/build/dist/client/features/workspace-session-enhancement.js +8 -0
- package/data/build/dist/client/features/workspace-session-enhancement.js.map +1 -1
- package/data/build/dist/client/file-management-context-menu.d.ts +10 -0
- package/data/build/dist/client/file-management-context-menu.d.ts.map +1 -0
- package/data/build/dist/client/file-management-context-menu.js +182 -0
- package/data/build/dist/client/file-management-context-menu.js.map +1 -0
- package/data/build/dist/client/file-management-dom.d.ts +2 -0
- package/data/build/dist/client/file-management-dom.d.ts.map +1 -1
- package/data/build/dist/client/file-management-dom.js +10 -6
- package/data/build/dist/client/file-management-dom.js.map +1 -1
- package/data/build/dist/client/git-management.d.ts.map +1 -1
- package/data/build/dist/client/git-management.js +6 -0
- package/data/build/dist/client/git-management.js.map +1 -1
- package/data/build/dist/client/index.d.ts.map +1 -1
- package/data/build/dist/client/index.js +3 -0
- package/data/build/dist/client/index.js.map +1 -1
- package/data/build/dist/client/locale.d.ts.map +1 -1
- package/data/build/dist/client/locale.js +2 -0
- package/data/build/dist/client/locale.js.map +1 -1
- package/data/build/dist/client/locales/magpie.d.ts.map +1 -1
- package/data/build/dist/client/locales/magpie.js +2 -0
- package/data/build/dist/client/locales/magpie.js.map +1 -1
- package/data/build/dist/client/workspace-session-visibility-dom.d.ts +3 -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 +29 -11
- package/data/build/dist/client/workspace-session-visibility-dom.js.map +1 -1
- package/data/build/dist/dsh-capabilities/client/context-menu-adapter.d.ts +22 -0
- package/data/build/dist/dsh-capabilities/client/context-menu-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/context-menu-adapter.js +33 -0
- package/data/build/dist/dsh-capabilities/client/context-menu-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/primitives-adapter.d.ts +3 -1
- package/data/build/dist/dsh-capabilities/client/primitives-adapter.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js +10 -1
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js.map +1 -1
- package/data/build/dist/dsh-capabilities/host/llm-text-adapter.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/host/llm-text-adapter.js +1 -0
- package/data/build/dist/dsh-capabilities/host/llm-text-adapter.js.map +1 -1
- package/data/build/dist/dsh-capabilities/host/plugin-update-adapter.d.ts +1 -0
- package/data/build/dist/dsh-capabilities/host/plugin-update-adapter.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/host/plugin-update-adapter.js +15 -7
- package/data/build/dist/dsh-capabilities/host/plugin-update-adapter.js.map +1 -1
- package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.js +10 -1
- package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.js.map +1 -1
- package/data/build/dist/dsh-capabilities/host/session-performance-adapter.d.ts +1 -1
- package/data/build/dist/dsh-capabilities/host/session-performance-adapter.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/host/session-performance-adapter.js +10 -1
- package/data/build/dist/dsh-capabilities/host/session-performance-adapter.js.map +1 -1
- package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.d.ts +1 -1
- package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.js +36 -4
- package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.js.map +1 -1
- package/data/build/dist/dsh-capabilities/matrix.js +5 -5
- package/data/build/dist/dsh-capabilities/matrix.js.map +1 -1
- package/data/build/dist/dsh-capabilities/routes.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/routes.js +9 -13
- package/data/build/dist/dsh-capabilities/routes.js.map +1 -1
- package/data/build/dist/dsh-capabilities/types.d.ts +1 -1
- package/data/build/dist/dsh-capabilities/types.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/types.js.map +1 -1
- package/data/build/dist/features/index.d.ts +1 -1
- package/data/build/dist/features/index.d.ts.map +1 -1
- package/data/build/dist/features/registry.js +19 -0
- package/data/build/dist/features/registry.js.map +1 -1
- package/data/build/dist/host/cli-adapters/antigravity-driver.d.ts +5 -0
- package/data/build/dist/host/cli-adapters/antigravity-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/antigravity-driver.js +54 -2
- package/data/build/dist/host/cli-adapters/antigravity-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-model-catalog.d.ts +11 -0
- package/data/build/dist/host/cli-adapters/dsh-model-catalog.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/dsh-model-catalog.js +34 -0
- package/data/build/dist/host/cli-adapters/dsh-model-catalog.js.map +1 -0
- package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/feature.js +73 -4
- package/data/build/dist/host/cli-adapters/feature.js.map +1 -1
- package/data/build/dist/host/cli-adapters/magpie-usage.js +6 -2
- package/data/build/dist/host/cli-adapters/magpie-usage.js.map +1 -1
- package/data/build/dist/host/features/file-management.d.ts.map +1 -1
- package/data/build/dist/host/features/file-management.js +6 -0
- package/data/build/dist/host/features/file-management.js.map +1 -1
- package/data/build/dist/host/features/git-management.d.ts.map +1 -1
- package/data/build/dist/host/features/git-management.js +6 -0
- package/data/build/dist/host/features/git-management.js.map +1 -1
- package/data/build/dist/host/features/host-status.d.ts +8 -0
- package/data/build/dist/host/features/host-status.d.ts.map +1 -1
- package/data/build/dist/host/features/host-status.js +14 -0
- package/data/build/dist/host/features/host-status.js.map +1 -1
- package/data/build/dist/host/features/plugin-update.d.ts.map +1 -1
- package/data/build/dist/host/features/plugin-update.js +6 -0
- package/data/build/dist/host/features/plugin-update.js.map +1 -1
- package/data/build/dist/host/features/session-prompt-translation.js +1 -1
- package/data/build/dist/host/features/session-prompt-translation.js.map +1 -1
- package/data/build/dist/host/features/session-title-optimization.d.ts.map +1 -1
- package/data/build/dist/host/features/session-title-optimization.js +6 -0
- package/data/build/dist/host/features/session-title-optimization.js.map +1 -1
- package/data/build/dist/host/features/session-translation-recovery.js +2 -2
- package/data/build/dist/host/features/session-translation-recovery.js.map +1 -1
- package/data/build/dist/host/features/session-translation-service.d.ts +2 -2
- package/data/build/dist/host/features/session-translation-service.d.ts.map +1 -1
- package/data/build/dist/host/features/session-translation-service.js +11 -9
- package/data/build/dist/host/features/session-translation-service.js.map +1 -1
- package/data/build/dist/host/features/session-translation.d.ts.map +1 -1
- package/data/build/dist/host/features/session-translation.js +6 -0
- package/data/build/dist/host/features/session-translation.js.map +1 -1
- 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/index.d.ts.map +1 -1
- package/data/build/dist/host/index.js +14 -2
- package/data/build/dist/host/index.js.map +1 -1
- package/data/build/dist/host/session-handle-eviction.d.ts +2 -0
- package/data/build/dist/host/session-handle-eviction.d.ts.map +1 -1
- package/data/build/dist/host/session-handle-eviction.js +21 -6
- package/data/build/dist/host/session-handle-eviction.js.map +1 -1
- package/data/build/dist/host/settings.d.ts.map +1 -1
- package/data/build/dist/host/settings.js +5 -4
- package/data/build/dist/host/settings.js.map +1 -1
- package/data/build/dist/shared/contracts/config.d.ts +2 -2
- package/data/build/dist/shared/contracts/config.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/config.js +5 -10
- package/data/build/dist/shared/contracts/config.js.map +1 -1
- package/data/build/dist/shared/contracts/errors.d.ts +2 -2
- package/data/build/dist/shared/contracts/errors.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/feature.d.ts +14 -0
- package/data/build/dist/shared/contracts/feature.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/host-status.d.ts +18 -0
- package/data/build/dist/shared/contracts/host-status.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/version.d.ts +4 -4
- package/data/build/dist/shared/contracts/version.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/version.js +3 -3
- package/data/build/dist/shared/contracts/version.js.map +1 -1
- package/package.json +37 -35
- package/profile/README.md +2 -2
- package/profile/package.json +3 -3
- package/profile/version.json +3 -3
- package/version.json +3 -3
|
@@ -8,7 +8,7 @@ window.__ModuleLoader__.load({
|
|
|
8
8
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
9
9
|
_deepseek_ai_dsh_client_ui_primitives = require_rolldown_runtime.__toESM(_deepseek_ai_dsh_client_ui_primitives, 1);
|
|
10
10
|
let react = require("react");
|
|
11
|
-
|
|
11
|
+
// src/shared/provider-icon-resources.ts
|
|
12
12
|
/** Client 与 Host 共用固定资源目录;避开 Desktop 将 /assets 固定映射到应用安装目录的路径。 */
|
|
13
13
|
const PROVIDER_ICON_PATH = "/api/codingns/provider-icons/";
|
|
14
14
|
const PROVIDER_ICON_FILES = {
|
|
@@ -34,8 +34,7 @@ window.__ModuleLoader__.load({
|
|
|
34
34
|
antigravity: "antigravity.svg",
|
|
35
35
|
doubao: "doubao.png"
|
|
36
36
|
};
|
|
37
|
-
|
|
38
|
-
//#region src/client/locales/debug.ts
|
|
37
|
+
// src/client/locales/debug.ts
|
|
39
38
|
/**
|
|
40
39
|
* debug 域词典片段。
|
|
41
40
|
*
|
|
@@ -198,8 +197,7 @@ window.__ModuleLoader__.load({
|
|
|
198
197
|
"feature.debug.label": "工作区调试",
|
|
199
198
|
"feature.debug.description": "启动终端并检查服务"
|
|
200
199
|
};
|
|
201
|
-
|
|
202
|
-
//#region src/client/locales/fileWorkspace.ts
|
|
200
|
+
// src/client/locales/fileWorkspace.ts
|
|
203
201
|
/**
|
|
204
202
|
* fileWorkspace 域词典片段。
|
|
205
203
|
*
|
|
@@ -352,8 +350,7 @@ window.__ModuleLoader__.load({
|
|
|
352
350
|
"pwaPrompt.dismiss": "以后再说",
|
|
353
351
|
"pwaPrompt.iosHint": "点击「分享」→「添加到主屏幕」即可安装。"
|
|
354
352
|
};
|
|
355
|
-
|
|
356
|
-
//#region src/client/locales/git.ts
|
|
353
|
+
// src/client/locales/git.ts
|
|
357
354
|
/**
|
|
358
355
|
* git 域词典片段。
|
|
359
356
|
*
|
|
@@ -604,8 +601,7 @@ window.__ModuleLoader__.load({
|
|
|
604
601
|
"git.unknownTime": "未知时间",
|
|
605
602
|
"git.dateLabel": "{month}月{day}日"
|
|
606
603
|
};
|
|
607
|
-
|
|
608
|
-
//#region src/client/locales/panels.ts
|
|
604
|
+
// src/client/locales/panels.ts
|
|
609
605
|
/**
|
|
610
606
|
* panels 域词典片段。
|
|
611
607
|
*
|
|
@@ -832,8 +828,7 @@ window.__ModuleLoader__.load({
|
|
|
832
828
|
"translation.adapter.cursor": "Cursor",
|
|
833
829
|
"translation.adapter.kiro": "Kiro"
|
|
834
830
|
};
|
|
835
|
-
|
|
836
|
-
//#region src/client/locales/peerHost.ts
|
|
831
|
+
// src/client/locales/peerHost.ts
|
|
837
832
|
/**
|
|
838
833
|
* peerHost 域词典片段。
|
|
839
834
|
*
|
|
@@ -1002,8 +997,7 @@ window.__ModuleLoader__.load({
|
|
|
1002
997
|
"peerHost.stateActive": "preboot shim 已接管页面 Transport;本次页面的原生 Connection 将继续复用同一实例。",
|
|
1003
998
|
"peerHost.statePending": "preboot shim 已随 CodingNS 安装;启用 PeerHost 后立即生效,原生工作区会直接读取聚合 Transport。"
|
|
1004
999
|
};
|
|
1005
|
-
|
|
1006
|
-
//#region src/client/locales/peerHostWorkspace.ts
|
|
1000
|
+
// src/client/locales/peerHostWorkspace.ts
|
|
1007
1001
|
/**
|
|
1008
1002
|
* peerHostWorkspace 域词典片段。
|
|
1009
1003
|
*
|
|
@@ -1102,8 +1096,7 @@ window.__ModuleLoader__.load({
|
|
|
1102
1096
|
"peerHostWorkspace.hintNotReady": "“{host}”当前状态为“{status}”,请先在管理面板完成连接。",
|
|
1103
1097
|
"peerHostWorkspace.manageHosts": "管理其他 DSH Host"
|
|
1104
1098
|
};
|
|
1105
|
-
|
|
1106
|
-
//#region src/client/locales/terminalAuth.ts
|
|
1099
|
+
// src/client/locales/terminalAuth.ts
|
|
1107
1100
|
/**
|
|
1108
1101
|
* terminalAuth 域词典片段。
|
|
1109
1102
|
*
|
|
@@ -1256,8 +1249,7 @@ window.__ModuleLoader__.load({
|
|
|
1256
1249
|
"loginProtection.errorTimeoutRange": "会话超时时间必须是 60 到 604800 秒",
|
|
1257
1250
|
"loginProtection.errorScopesRequired": "至少选择一个应用范围"
|
|
1258
1251
|
};
|
|
1259
|
-
|
|
1260
|
-
//#region src/client/locales/usage.ts
|
|
1252
|
+
// src/client/locales/usage.ts
|
|
1261
1253
|
/**
|
|
1262
1254
|
* usage 域词典片段。
|
|
1263
1255
|
*
|
|
@@ -1690,8 +1682,7 @@ window.__ModuleLoader__.load({
|
|
|
1690
1682
|
"usage.magpieRequestsTitle": "Magpie 请求",
|
|
1691
1683
|
"usage.magpieRequestsClose": "关闭"
|
|
1692
1684
|
};
|
|
1693
|
-
|
|
1694
|
-
//#region src/client/locales/subagentCollapsed.ts
|
|
1685
|
+
// src/client/locales/subagentCollapsed.ts
|
|
1695
1686
|
/**
|
|
1696
1687
|
* subagentCollapsed 域词典片段。
|
|
1697
1688
|
*
|
|
@@ -1786,8 +1777,7 @@ window.__ModuleLoader__.load({
|
|
|
1786
1777
|
"subagentCollapsed.open.sidebar": "Open in sidebar",
|
|
1787
1778
|
"subagentCollapsed.open.sidebar.aria": "Open {label} in sidebar"
|
|
1788
1779
|
};
|
|
1789
|
-
|
|
1790
|
-
//#region src/shared/quick-apps-bootstrap-locale.ts
|
|
1780
|
+
// src/shared/quick-apps-bootstrap-locale.ts
|
|
1791
1781
|
/** Shared by the client dictionary and the isolated credential landing page. */
|
|
1792
1782
|
const quickAppBootstrapEn = {
|
|
1793
1783
|
"quickApps.opening": "Opening application…",
|
|
@@ -1797,8 +1787,7 @@ window.__ModuleLoader__.load({
|
|
|
1797
1787
|
"quickApps.opening": "正在打开应用…",
|
|
1798
1788
|
"quickApps.bootstrapFailed": "无法建立应用访问,请从快捷应用重新打开并检查浏览器 Cookie 设置。"
|
|
1799
1789
|
};
|
|
1800
|
-
|
|
1801
|
-
//#region src/client/locales/quickApps.ts
|
|
1790
|
+
// src/client/locales/quickApps.ts
|
|
1802
1791
|
const en$5 = {
|
|
1803
1792
|
"quickApps.storagePreview": "App data is saved in this browser. IndexedDB and URLs starting with / are not supported in this view.",
|
|
1804
1793
|
"quickApps.storageFailed": "App data could not be saved in this browser: {message}",
|
|
@@ -2065,8 +2054,7 @@ window.__ModuleLoader__.load({
|
|
|
2065
2054
|
"quickApps.status.missing-workspace": "原工作区不可用。",
|
|
2066
2055
|
"quickApps.status.missing-file": "入口文件或应用目录不存在或无法访问。"
|
|
2067
2056
|
};
|
|
2068
|
-
|
|
2069
|
-
//#region src/client/locales/cliManagement.ts
|
|
2057
|
+
// src/client/locales/cliManagement.ts
|
|
2070
2058
|
const en$4 = {
|
|
2071
2059
|
"cli.team.label": "Team eligibility",
|
|
2072
2060
|
"cli.team.leadAndMember": "Collaborator and Lead",
|
|
@@ -2221,8 +2209,7 @@ window.__ModuleLoader__.load({
|
|
|
2221
2209
|
"cli.manage.retryStatus": "重新查询状态",
|
|
2222
2210
|
"cli.manage.reviewAgain": "查看新的操作"
|
|
2223
2211
|
};
|
|
2224
|
-
|
|
2225
|
-
//#region src/client/locales/magpie.ts
|
|
2212
|
+
// src/client/locales/magpie.ts
|
|
2226
2213
|
/** Copy for the optional Magpie usage dashboard. */
|
|
2227
2214
|
const en$3 = {
|
|
2228
2215
|
"feature.magpieManagement.label": "Magpie management and usage",
|
|
@@ -2269,6 +2256,7 @@ window.__ModuleLoader__.load({
|
|
|
2269
2256
|
"magpie.statLatency": "First text",
|
|
2270
2257
|
"magpie.statLatencyNote": "Average first-text latency",
|
|
2271
2258
|
"magpie.topSessions": "Top sessions",
|
|
2259
|
+
"magpie.sortMetric": "Sort by",
|
|
2272
2260
|
"magpie.dailyTrend": "Daily trend",
|
|
2273
2261
|
"magpie.ncolTime": "Time",
|
|
2274
2262
|
"magpie.ncolRequested": "Requested model",
|
|
@@ -2626,6 +2614,7 @@ window.__ModuleLoader__.load({
|
|
|
2626
2614
|
"magpie.statLatency": "首字耗时",
|
|
2627
2615
|
"magpie.statLatencyNote": "首字平均耗时",
|
|
2628
2616
|
"magpie.topSessions": "最耗会话",
|
|
2617
|
+
"magpie.sortMetric": "排序指标",
|
|
2629
2618
|
"magpie.dailyTrend": "每日趋势",
|
|
2630
2619
|
"magpie.ncolTime": "时间",
|
|
2631
2620
|
"magpie.ncolRequested": "请求模型",
|
|
@@ -2938,8 +2927,7 @@ window.__ModuleLoader__.load({
|
|
|
2938
2927
|
"magpie.install.customReset": "恢复自动检测",
|
|
2939
2928
|
"magpie.install.disabledNote": "检测到可用的 Magpie CLI 前,Magpie 管理保持关闭。"
|
|
2940
2929
|
};
|
|
2941
|
-
|
|
2942
|
-
//#region src/client/locales/pluginUpdate.ts
|
|
2930
|
+
// src/client/locales/pluginUpdate.ts
|
|
2943
2931
|
const en$2 = {
|
|
2944
2932
|
"update.localeTag": "en-US",
|
|
2945
2933
|
"update.newVersionBadge": "New",
|
|
@@ -3070,8 +3058,7 @@ window.__ModuleLoader__.load({
|
|
|
3070
3058
|
"update.package.rolled-back": "DSH 已恢复配置文件",
|
|
3071
3059
|
"update.package.unknown": "未知;请检查 DSH 原生插件页面"
|
|
3072
3060
|
};
|
|
3073
|
-
|
|
3074
|
-
//#region src/client/locales/credentials.ts
|
|
3061
|
+
// src/client/locales/credentials.ts
|
|
3075
3062
|
const en$1 = {
|
|
3076
3063
|
"feature.credentials.label": "Credential management",
|
|
3077
3064
|
"feature.credentials.description": "Store usernames, passwords, API keys, and other confidential values on the Host. Selected fields reach external Agent processes only through environment variables.",
|
|
@@ -3164,8 +3151,7 @@ window.__ModuleLoader__.load({
|
|
|
3164
3151
|
"credentials.commandDescription": "向当前外部 Agent 会话插入 Host 管理的凭据引用。",
|
|
3165
3152
|
"credentials.commandUnavailable": "无法插入此凭据引用。"
|
|
3166
3153
|
};
|
|
3167
|
-
|
|
3168
|
-
//#region src/client/locale.ts
|
|
3154
|
+
// src/client/locale.ts
|
|
3169
3155
|
/** Codingns4DSH 自有词典命名空间。词典缺少的语言由 DSH 自动回退到英文。 */
|
|
3170
3156
|
const CODINGNS_LOCALE_NS = "codingns";
|
|
3171
3157
|
const CORE_EN = {
|
|
@@ -3515,6 +3501,7 @@ window.__ModuleLoader__.load({
|
|
|
3515
3501
|
"cli.notDetectedCommand": "Command not detected",
|
|
3516
3502
|
"cli.undeclared": "Undeclared",
|
|
3517
3503
|
"cli.defaultEffort": "Default",
|
|
3504
|
+
"cli.antigravityNativeModel": "{name} · Antigravity",
|
|
3518
3505
|
"cli.thinkingLevel": "Thinking level: {value}",
|
|
3519
3506
|
"cli.agentSelector": "Agent selector",
|
|
3520
3507
|
"cli.modelSelector": "Model and thinking level selector",
|
|
@@ -3992,6 +3979,7 @@ window.__ModuleLoader__.load({
|
|
|
3992
3979
|
"cli.notDetectedCommand": "未检测到命令",
|
|
3993
3980
|
"cli.undeclared": "未声明",
|
|
3994
3981
|
"cli.defaultEffort": "默认",
|
|
3982
|
+
"cli.antigravityNativeModel": "{name} · Antigravity",
|
|
3995
3983
|
"cli.thinkingLevel": "思考等级:{value}",
|
|
3996
3984
|
"cli.agentSelector": "Agent 选择器",
|
|
3997
3985
|
"cli.modelSelector": "模型与思考强度选择器",
|
|
@@ -4208,8 +4196,7 @@ window.__ModuleLoader__.load({
|
|
|
4208
4196
|
const adapterId = provider.slice(13);
|
|
4209
4197
|
return adapterId === "" ? void 0 : adapterId;
|
|
4210
4198
|
}
|
|
4211
|
-
|
|
4212
|
-
//#region src/client/provider-icons.ts
|
|
4199
|
+
// src/client/provider-icons.ts
|
|
4213
4200
|
/** 未绑定和未知 Agent 使用中性灰,绝不冒充任一已知品牌色。 */
|
|
4214
4201
|
const PROVIDER_NEUTRAL_COLOR = "#71717a";
|
|
4215
4202
|
/**
|
|
@@ -4511,12 +4498,10 @@ window.__ModuleLoader__.load({
|
|
|
4511
4498
|
if (/^(1|true|yes|on|info|debug)$/u.test(normalized)) return "info";
|
|
4512
4499
|
return "off";
|
|
4513
4500
|
}
|
|
4514
|
-
|
|
4515
|
-
//#region src/shared/contracts/transport.ts
|
|
4501
|
+
// src/shared/contracts/transport.ts
|
|
4516
4502
|
/** Codingns4DSH Host RPC 的固定逻辑通道。 */
|
|
4517
4503
|
const CODINGNS_RPC_CHANNEL = "/codingns";
|
|
4518
|
-
|
|
4519
|
-
//#region src/shared/contracts/peer-host.ts
|
|
4504
|
+
// src/shared/contracts/peer-host.ts
|
|
4520
4505
|
/**
|
|
4521
4506
|
* 工作区标签配色的取值范围。
|
|
4522
4507
|
*
|
|
@@ -4622,8 +4607,7 @@ window.__ModuleLoader__.load({
|
|
|
4622
4607
|
this.name = "ResourceScopeStaleError";
|
|
4623
4608
|
}
|
|
4624
4609
|
};
|
|
4625
|
-
|
|
4626
|
-
//#region src/client/cli-catalog.ts
|
|
4610
|
+
// src/client/cli-catalog.ts
|
|
4627
4611
|
/** 设置页和选择器使用同一状态文案,检测中或失败都不能显示成未安装。 */
|
|
4628
4612
|
function adapterDetectionLabel(adapter) {
|
|
4629
4613
|
if (adapter.detectionState === "pending" || adapter.detectionState === "running") return "cli.detecting";
|
|
@@ -4708,8 +4692,7 @@ window.__ModuleLoader__.load({
|
|
|
4708
4692
|
const message = errorMessage(error);
|
|
4709
4693
|
return /^未知 CLI RPC: cli\/catalog\/refresh$/u.test(message) ? t("cli.redetectHostUnsupported") : message;
|
|
4710
4694
|
}
|
|
4711
|
-
|
|
4712
|
-
//#region src/client/adapter-catalog-watch.ts
|
|
4695
|
+
// src/client/adapter-catalog-watch.ts
|
|
4713
4696
|
const loads = /* @__PURE__ */ new WeakMap();
|
|
4714
4697
|
const listeners = /* @__PURE__ */ new WeakMap();
|
|
4715
4698
|
/** 手动检测完成后,让已挂载的选择器和模型目录一起更新。 */
|
|
@@ -4802,8 +4785,7 @@ window.__ModuleLoader__.load({
|
|
|
4802
4785
|
remove();
|
|
4803
4786
|
};
|
|
4804
4787
|
}
|
|
4805
|
-
|
|
4806
|
-
//#region src/client/model-catalog-cache.ts
|
|
4788
|
+
// src/client/model-catalog-cache.ts
|
|
4807
4789
|
/**
|
|
4808
4790
|
* Client 侧模型目录缓存。
|
|
4809
4791
|
*
|
|
@@ -4976,8 +4958,7 @@ window.__ModuleLoader__.load({
|
|
|
4976
4958
|
}
|
|
4977
4959
|
return cache;
|
|
4978
4960
|
}
|
|
4979
|
-
|
|
4980
|
-
//#region src/dsh-capabilities/client/primitives-adapter.ts
|
|
4961
|
+
// src/dsh-capabilities/client/primitives-adapter.ts
|
|
4981
4962
|
/** Older primitive packages may lack Markdown delegation. Do not fail the whole footer. */
|
|
4982
4963
|
function hasNativeMarkdown(source = _deepseek_ai_dsh_client_ui_primitives) {
|
|
4983
4964
|
const value = source;
|
|
@@ -5171,8 +5152,7 @@ window.__ModuleLoader__.load({
|
|
|
5171
5152
|
ranked.sort((left, right) => Number(right.prefix) - Number(left.prefix) || right.score - left.score || left.index - right.index);
|
|
5172
5153
|
return ranked.map((match) => match.item);
|
|
5173
5154
|
}
|
|
5174
|
-
|
|
5175
|
-
//#region src/client/magpie-model-tag.ts
|
|
5155
|
+
// src/client/magpie-model-tag.ts
|
|
5176
5156
|
const MAGPIE_MODEL_TAG_ATTRIBUTE = "data-codingns-magpie-model-tag";
|
|
5177
5157
|
/**
|
|
5178
5158
|
* Magpie 模型来源标签使用的喜鹊图标。
|
|
@@ -5250,7 +5230,6 @@ window.__ModuleLoader__.load({
|
|
|
5250
5230
|
tag.append(logo);
|
|
5251
5231
|
return tag;
|
|
5252
5232
|
}
|
|
5253
|
-
//#endregion
|
|
5254
5233
|
Object.defineProperty(exports, "CODINGNS_RPC_CHANNEL", {
|
|
5255
5234
|
enumerable: true,
|
|
5256
5235
|
get: function() {
|