@jingyi0605/codingns4dsh 0.2.1-rc.5 → 0.2.1-rc.6
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 +4 -4
- package/README.md +5 -5
- package/data/build/dist/bootstrap/dsh-peer-host-preboot-shim.d.ts +1 -1
- package/data/build/dist/bootstrap/dsh-peer-host-preboot-shim.js +1 -1
- package/data/build/dist/client/bundle.js +143 -50
- package/data/build/dist/client/bundle.js.map +1 -1
- package/data/build/dist/client/cli-slots.js +2 -2
- package/data/build/dist/client/cli-slots.js.map +1 -1
- package/data/build/dist/client/client.delegate-command.js +3 -2
- package/data/build/dist/client/client.delegate-command.js.map +1 -1
- package/data/build/dist/client/client.magpie-model-tag.js +24 -8
- package/data/build/dist/client/client.magpie-model-tag.js.map +1 -1
- package/data/build/dist/client/client.native-workspace-store.js +26 -15
- package/data/build/dist/client/client.native-workspace-store.js.map +1 -1
- package/data/build/dist/client/client.session-translation.js +25 -0
- package/data/build/dist/client/client.session-translation.js.map +1 -1
- package/data/build/dist/client/client.transport.js +22 -0
- package/data/build/dist/client/client.transport.js.map +1 -1
- package/data/build/dist/client/delegate-command.js +2 -1
- package/data/build/dist/client/delegate-command.js.map +1 -1
- package/data/build/dist/client/desktop-assistant.js +22 -0
- package/data/build/dist/client/locale.d.ts.map +1 -1
- package/data/build/dist/client/locale.js +4 -0
- package/data/build/dist/client/locale.js.map +1 -1
- package/data/build/dist/client/locales/panels.d.ts.map +1 -1
- package/data/build/dist/client/locales/panels.js +18 -0
- package/data/build/dist/client/locales/panels.js.map +1 -1
- package/data/build/dist/client/magpie-model-tag.d.ts +4 -2
- package/data/build/dist/client/magpie-model-tag.d.ts.map +1 -1
- package/data/build/dist/client/magpie-model-tag.js +25 -8
- package/data/build/dist/client/magpie-model-tag.js.map +1 -1
- package/data/build/dist/client/native-model-translation-menu.d.ts +1 -0
- package/data/build/dist/client/native-model-translation-menu.d.ts.map +1 -1
- package/data/build/dist/client/native-model-translation-menu.js +2 -2
- package/data/build/dist/client/native-model-translation-menu.js.map +1 -1
- package/data/build/dist/client/session-translation-chat.d.ts.map +1 -1
- package/data/build/dist/client/session-translation-chat.js +6 -2
- package/data/build/dist/client/session-translation-chat.js.map +1 -1
- package/data/build/dist/client/settings-section.d.ts.map +1 -1
- package/data/build/dist/client/settings-section.js +6 -3
- package/data/build/dist/client/settings-section.js.map +1 -1
- package/data/build/dist/dsh-capabilities/matrix.js +14 -14
- package/data/build/dist/dsh-capabilities/matrix.js.map +1 -1
- package/data/build/dist/dsh-capabilities/routes.js +10 -10
- package/data/build/dist/dsh-capabilities/routes.js.map +1 -1
- 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 +5 -2
- 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 +7 -3
- package/data/build/dist/host/cli-adapters/feature.js.map +1 -1
- package/data/build/dist/host/cli-adapters/magpie-usage.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/magpie-usage.js +6 -1
- package/data/build/dist/host/cli-adapters/magpie-usage.js.map +1 -1
- package/data/build/dist/host/dsh-runtime-version.d.ts.map +1 -1
- package/data/build/dist/host/dsh-runtime-version.js +4 -1
- package/data/build/dist/host/dsh-runtime-version.js.map +1 -1
- package/data/build/dist/shared/contracts/cli-adapter.d.ts +2 -0
- package/data/build/dist/shared/contracts/cli-adapter.d.ts.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/errors.js +1 -1
- package/data/build/dist/shared/contracts/errors.js.map +1 -1
- package/data/build/dist/shared/contracts/session-translation.d.ts +4 -0
- package/data/build/dist/shared/contracts/session-translation.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/session-translation.js +21 -0
- package/data/build/dist/shared/contracts/session-translation.js.map +1 -1
- package/data/build/dist/shared/contracts/version.d.ts +7 -7
- package/data/build/dist/shared/contracts/version.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/version.js +11 -17
- package/data/build/dist/shared/contracts/version.js.map +1 -1
- package/data/build/dist/shared/index.d.ts +1 -1
- package/data/build/dist/shared/index.d.ts.map +1 -1
- package/data/build/dist/shared/index.js +1 -1
- package/data/build/dist/shared/index.js.map +1 -1
- package/package.json +3 -3
- package/profile/README.md +6 -6
- package/profile/package.json +3 -3
- package/profile/scripts/check-dsh-install.mjs +14 -1
- package/profile/version.json +2 -2
- package/scripts/check-dsh-install.mjs +14 -1
- package/version.json +2 -2
|
@@ -4093,7 +4093,9 @@ window.__ModuleLoader__.load({
|
|
|
4093
4093
|
flex: "none",
|
|
4094
4094
|
alignItems: "center",
|
|
4095
4095
|
justifyContent: "center",
|
|
4096
|
-
|
|
4096
|
+
minWidth: "18px",
|
|
4097
|
+
maxWidth: "45%",
|
|
4098
|
+
gap: "4px",
|
|
4097
4099
|
height: "18px",
|
|
4098
4100
|
marginInlineStart: "auto",
|
|
4099
4101
|
whiteSpace: "nowrap",
|
|
@@ -4107,29 +4109,43 @@ window.__ModuleLoader__.load({
|
|
|
4107
4109
|
objectFit: "contain",
|
|
4108
4110
|
borderRadius: "4px"
|
|
4109
4111
|
};
|
|
4112
|
+
const providerStyle = {
|
|
4113
|
+
minWidth: 0,
|
|
4114
|
+
overflow: "hidden",
|
|
4115
|
+
textOverflow: "ellipsis",
|
|
4116
|
+
fontSize: "12px",
|
|
4117
|
+
color: "var(--dsw-alias-label-secondary)"
|
|
4118
|
+
};
|
|
4110
4119
|
/** Compact visual source marker shared by every model-list surface. */
|
|
4111
|
-
function MagpieModelTag() {
|
|
4120
|
+
function MagpieModelTag(props) {
|
|
4112
4121
|
return (0, react.createElement)("span", {
|
|
4113
4122
|
[MAGPIE_MODEL_TAG_ATTRIBUTE]: "",
|
|
4114
4123
|
role: "note",
|
|
4115
|
-
"aria-label": "Provided by Magpie",
|
|
4116
|
-
title: "Provided by Magpie",
|
|
4124
|
+
"aria-label": props.providerId ?? "Provided by Magpie",
|
|
4125
|
+
title: props.providerId ?? "Provided by Magpie",
|
|
4117
4126
|
style: tagStyle
|
|
4118
|
-
}, (0, react.createElement)("img", {
|
|
4127
|
+
}, props.providerId === void 0 ? null : (0, react.createElement)("span", { style: providerStyle }, props.providerId), (0, react.createElement)("img", {
|
|
4119
4128
|
src: magpieModelLogoUrl(),
|
|
4120
4129
|
alt: "Provided by Magpie",
|
|
4121
4130
|
style: tagLogoStyle
|
|
4122
4131
|
}));
|
|
4123
4132
|
}
|
|
4124
4133
|
/** Native DSH owns its menu DOM, so its option rows receive the same badge imperatively. */
|
|
4125
|
-
function createMagpieModelTagNode(document, modelId) {
|
|
4134
|
+
function createMagpieModelTagNode(document, modelId, providerId) {
|
|
4126
4135
|
const tag = document.createElement("span");
|
|
4127
4136
|
tag.setAttribute(MAGPIE_MODEL_TAG_ATTRIBUTE, "");
|
|
4128
4137
|
if (modelId !== void 0) tag.dataset.modelId = modelId;
|
|
4138
|
+
if (providerId !== void 0) tag.dataset.providerId = providerId;
|
|
4129
4139
|
tag.setAttribute("role", "note");
|
|
4130
|
-
tag.setAttribute("aria-label", "Provided by Magpie");
|
|
4131
|
-
tag.title = "Provided by Magpie";
|
|
4140
|
+
tag.setAttribute("aria-label", providerId ?? "Provided by Magpie");
|
|
4141
|
+
tag.title = providerId ?? "Provided by Magpie";
|
|
4132
4142
|
Object.assign(tag.style, tagStyle);
|
|
4143
|
+
if (providerId !== void 0) {
|
|
4144
|
+
const provider = document.createElement("span");
|
|
4145
|
+
provider.textContent = providerId;
|
|
4146
|
+
Object.assign(provider.style, providerStyle);
|
|
4147
|
+
tag.append(provider);
|
|
4148
|
+
}
|
|
4133
4149
|
const logo = document.createElement("img");
|
|
4134
4150
|
logo.setAttribute("src", magpieModelLogoUrl());
|
|
4135
4151
|
logo.setAttribute("alt", "Provided by Magpie");
|
|
@@ -8352,13 +8368,13 @@ window.__ModuleLoader__.load({
|
|
|
8352
8368
|
//#region src/shared/contracts/version.ts
|
|
8353
8369
|
/** DSH verification target, synchronized with the root version.json. */
|
|
8354
8370
|
const DSH_VERSION = "0.2.1-rc.3";
|
|
8371
|
+
/** DSH 测试版本别名,供新代码表达语义,保留 DSH_VERSION 兼容旧调用方。 */
|
|
8372
|
+
const DSH_TESTED_VERSION = DSH_VERSION;
|
|
8355
8373
|
/**
|
|
8356
|
-
*
|
|
8357
|
-
*
|
|
8358
|
-
* Keep an explicit upper bound: a later prerelease requires verification before
|
|
8359
|
-
* either installation checks or runtime capability selection may accept it.
|
|
8374
|
+
* Only the minimum version blocks installation and activation.
|
|
8375
|
+
* Hosts newer than DSH_TESTED_VERSION receive an advisory warning.
|
|
8360
8376
|
*/
|
|
8361
|
-
const DSH_COMPATIBILITY = ">=0.2.0-rc.2
|
|
8377
|
+
const DSH_COMPATIBILITY = ">=0.2.0-rc.2";
|
|
8362
8378
|
/**
|
|
8363
8379
|
* 兼容范围下界,即插件仍然接受的最低 DSH 版本。
|
|
8364
8380
|
*
|
|
@@ -8367,7 +8383,7 @@ window.__ModuleLoader__.load({
|
|
|
8367
8383
|
* “不支持的 DSH 版本”,把仅仅缺少启动页注入的页面误判为宿主不兼容。
|
|
8368
8384
|
*/
|
|
8369
8385
|
function minimumSupportedDshVersion() {
|
|
8370
|
-
return /^>=([^ ]+)/u.exec(">=0.2.0-rc.2
|
|
8386
|
+
return /^>=([^ ]+)/u.exec(">=0.2.0-rc.2")?.[1] ?? "0.2.1-rc.3";
|
|
8371
8387
|
}
|
|
8372
8388
|
/** Host 注入到浏览器页面的真实 DSH 版本全局字段。 */
|
|
8373
8389
|
const CODINGNS_DSH_VERSION_GLOBAL = "__CODINGNS_DSH_VERSION__";
|
|
@@ -8376,17 +8392,16 @@ window.__ModuleLoader__.load({
|
|
|
8376
8392
|
return /^0\.1\.5(?:-|$)/u.test(version);
|
|
8377
8393
|
}
|
|
8378
8394
|
/** Codingns4DSH 插件自身的 npm 版本。 */
|
|
8379
|
-
const CODINGNS_VERSION = "0.2.1-rc.
|
|
8380
|
-
/**
|
|
8395
|
+
const CODINGNS_VERSION = "0.2.1-rc.6";
|
|
8396
|
+
/** Accept any valid host version at or above the supported minimum. */
|
|
8381
8397
|
function isDshVersionCompatible(version) {
|
|
8382
|
-
|
|
8398
|
+
return isDshVersionAtLeast(version, minimumSupportedDshVersion());
|
|
8399
|
+
}
|
|
8400
|
+
/** Newer hosts stay enabled; this predicate controls advisory notices only. */
|
|
8401
|
+
function isDshVersionNewerThanTested(version) {
|
|
8383
8402
|
const actual = parseVersion(version);
|
|
8384
|
-
const
|
|
8385
|
-
|
|
8386
|
-
if (match[2] === void 0) return compareVersions(actual, minimum) >= 0;
|
|
8387
|
-
const maximum = parseVersion(match[2]);
|
|
8388
|
-
if (maximum === void 0) return version === DSH_VERSION;
|
|
8389
|
-
return compareVersions(actual, minimum) >= 0 && compareVersions(actual, maximum) <= 0;
|
|
8403
|
+
const tested = parseVersion(DSH_TESTED_VERSION);
|
|
8404
|
+
return actual !== void 0 && tested !== void 0 && compareVersions(actual, tested) > 0;
|
|
8390
8405
|
}
|
|
8391
8406
|
/** 判断 DSH 版本是否达到某个功能模块要求的最低版本。 */
|
|
8392
8407
|
function isDshVersionAtLeast(version, minimum) {
|
|
@@ -9024,6 +9039,12 @@ window.__ModuleLoader__.load({
|
|
|
9024
9039
|
return DSH_COMPATIBILITY;
|
|
9025
9040
|
}
|
|
9026
9041
|
});
|
|
9042
|
+
Object.defineProperty(exports, "DSH_TESTED_VERSION", {
|
|
9043
|
+
enumerable: true,
|
|
9044
|
+
get: function() {
|
|
9045
|
+
return DSH_TESTED_VERSION;
|
|
9046
|
+
}
|
|
9047
|
+
});
|
|
9027
9048
|
Object.defineProperty(exports, "DSH_VERSION", {
|
|
9028
9049
|
enumerable: true,
|
|
9029
9050
|
get: function() {
|
|
@@ -9090,6 +9111,12 @@ window.__ModuleLoader__.load({
|
|
|
9090
9111
|
return isDshVersionCompatible;
|
|
9091
9112
|
}
|
|
9092
9113
|
});
|
|
9114
|
+
Object.defineProperty(exports, "isDshVersionNewerThanTested", {
|
|
9115
|
+
enumerable: true,
|
|
9116
|
+
get: function() {
|
|
9117
|
+
return isDshVersionNewerThanTested;
|
|
9118
|
+
}
|
|
9119
|
+
});
|
|
9093
9120
|
Object.defineProperty(exports, "isFeatureDshVersionCompatible", {
|
|
9094
9121
|
enumerable: true,
|
|
9095
9122
|
get: function() {
|
|
@@ -16947,6 +16974,25 @@ window.__ModuleLoader__.load({
|
|
|
16947
16974
|
model
|
|
16948
16975
|
};
|
|
16949
16976
|
}
|
|
16977
|
+
/** Retain known diagnostics without copying raw provider errors into history or UI. */
|
|
16978
|
+
function readSessionTranslationDiagnostics(value) {
|
|
16979
|
+
const failure = asRecord(asRecord(value)?.failure);
|
|
16980
|
+
if (typeof failure?.retryable !== "boolean") return {};
|
|
16981
|
+
switch (failure.code) {
|
|
16982
|
+
case "timeout":
|
|
16983
|
+
case "cancelled":
|
|
16984
|
+
case "rate-limit":
|
|
16985
|
+
case "network":
|
|
16986
|
+
case "unavailable":
|
|
16987
|
+
case "invalid-response":
|
|
16988
|
+
case "configuration":
|
|
16989
|
+
case "provider": return { failure: {
|
|
16990
|
+
code: failure.code,
|
|
16991
|
+
retryable: failure.retryable
|
|
16992
|
+
} };
|
|
16993
|
+
default: return {};
|
|
16994
|
+
}
|
|
16995
|
+
}
|
|
16950
16996
|
/** Preserve available metrics while accepting records saved before metrics existed. */
|
|
16951
16997
|
function readSessionTranslationMetrics(value) {
|
|
16952
16998
|
const record = asRecord(value);
|
|
@@ -16979,6 +17025,12 @@ window.__ModuleLoader__.load({
|
|
|
16979
17025
|
return normalizeSessionTranslationSettings;
|
|
16980
17026
|
}
|
|
16981
17027
|
});
|
|
17028
|
+
Object.defineProperty(exports, "readSessionTranslationDiagnostics", {
|
|
17029
|
+
enumerable: true,
|
|
17030
|
+
get: function() {
|
|
17031
|
+
return readSessionTranslationDiagnostics;
|
|
17032
|
+
}
|
|
17033
|
+
});
|
|
16982
17034
|
Object.defineProperty(exports, "readSessionTranslationMetrics", {
|
|
16983
17035
|
enumerable: true,
|
|
16984
17036
|
get: function() {
|
|
@@ -18722,6 +18774,15 @@ window.__ModuleLoader__.load({
|
|
|
18722
18774
|
"translation.statusTranslating": "Translating…",
|
|
18723
18775
|
"translation.progressHelp": "Preparing and translating your message. The translation result will be available when this finishes.",
|
|
18724
18776
|
"translation.statusFailed": "Translation failed; original kept",
|
|
18777
|
+
"translation.failure.timeout": "The translation request timed out.",
|
|
18778
|
+
"translation.failure.cancelled": "The translation request was cancelled.",
|
|
18779
|
+
"translation.failure.rate-limit": "The translation provider rate limit was reached.",
|
|
18780
|
+
"translation.failure.network": "A network error interrupted the translation request.",
|
|
18781
|
+
"translation.failure.unavailable": "The translation provider was temporarily unavailable.",
|
|
18782
|
+
"translation.failure.invalid-response": "The translation response failed format, language, completion, or protected-text validation.",
|
|
18783
|
+
"translation.failure.configuration": "The translation model or provider configuration was rejected or unavailable.",
|
|
18784
|
+
"translation.failure.provider": "The translation provider or runtime reported an unclassified error.",
|
|
18785
|
+
"translation.failure.unknown": "No failure details were saved for this translation.",
|
|
18725
18786
|
"translation.retry": "Retry translation",
|
|
18726
18787
|
"translation.sendDirectly": "Send directly",
|
|
18727
18788
|
"translation.cancelSending": "Cancel sending",
|
|
@@ -18823,6 +18884,15 @@ window.__ModuleLoader__.load({
|
|
|
18823
18884
|
"translation.statusTranslating": "正在翻译…",
|
|
18824
18885
|
"translation.progressHelp": "正在准备并翻译消息,完成后可查看翻译结果。",
|
|
18825
18886
|
"translation.statusFailed": "翻译失败,已保留原文",
|
|
18887
|
+
"translation.failure.timeout": "翻译请求超时。",
|
|
18888
|
+
"translation.failure.cancelled": "翻译请求已取消。",
|
|
18889
|
+
"translation.failure.rate-limit": "翻译服务商的请求频率已达上限。",
|
|
18890
|
+
"translation.failure.network": "网络错误中断了翻译请求。",
|
|
18891
|
+
"translation.failure.unavailable": "翻译服务商暂时不可用。",
|
|
18892
|
+
"translation.failure.invalid-response": "翻译结果未通过格式、语言、完整性或受保护文本校验。",
|
|
18893
|
+
"translation.failure.configuration": "翻译模型或服务商配置被拒绝或不可用。",
|
|
18894
|
+
"translation.failure.provider": "翻译服务商或运行时返回了未分类错误。",
|
|
18895
|
+
"translation.failure.unknown": "此翻译未保存失败详情。",
|
|
18826
18896
|
"translation.retry": "重试翻译",
|
|
18827
18897
|
"translation.sendDirectly": "直接发送",
|
|
18828
18898
|
"translation.cancelSending": "取消发送",
|
|
@@ -21659,6 +21729,8 @@ window.__ModuleLoader__.load({
|
|
|
21659
21729
|
"settings.subtitle": "Configure modules without changing DSH global settings.",
|
|
21660
21730
|
"settings.version": "Codingns4DSH v{version}",
|
|
21661
21731
|
"settings.compatibility": "Compatible with DSH {range}",
|
|
21732
|
+
"settings.testedDshVersion": "Tested with DSH {version}",
|
|
21733
|
+
"settings.untestedDshWarning": "DSH {version} is newer than the latest tested version ({tested}). Compatibility has not been verified; plugin installation and operation remain enabled.",
|
|
21662
21734
|
"settings.toggle": "{label} toggle",
|
|
21663
21735
|
"settings.legacyFallback": "This DSH version uses compatibility mode; multi-tab and shell-selection extensions are unavailable.",
|
|
21664
21736
|
"settings.versionBlocked": "This module is unavailable on DSH {version}; it requires DSH {minimum} or newer.",
|
|
@@ -22117,6 +22189,8 @@ window.__ModuleLoader__.load({
|
|
|
22117
22189
|
"settings.subtitle": "按模块配置 Codingns4DSH 功能,不影响 DSH 的全局设置。",
|
|
22118
22190
|
"settings.version": "Codingns4DSH v{version}",
|
|
22119
22191
|
"settings.compatibility": "兼容 DSH {range}",
|
|
22192
|
+
"settings.testedDshVersion": "已验证 DSH {version}",
|
|
22193
|
+
"settings.untestedDshWarning": "当前 DSH {version} 高于插件最新已验证版本({tested}),兼容性尚未验证;不影响插件安装和运行。",
|
|
22120
22194
|
"settings.toggle": "{label}开关",
|
|
22121
22195
|
"settings.legacyFallback": "当前 DSH 版本使用兼容模式;多 Tab 和 Shell 选择扩展不可用。",
|
|
22122
22196
|
"settings.versionBlocked": "当前 DSH {version} 不支持此模块;需要 DSH {minimum} 或更高版本。",
|
|
@@ -25128,7 +25202,7 @@ window.__ModuleLoader__.load({
|
|
|
25128
25202
|
this.code = code;
|
|
25129
25203
|
}
|
|
25130
25204
|
};
|
|
25131
|
-
/**
|
|
25205
|
+
/** Enforce the DSH minimum version without rejecting newer hosts. */
|
|
25132
25206
|
function assertSupportedDshVersion(version) {
|
|
25133
25207
|
if (!require_native_workspace_store.isDshVersionCompatible(version)) throw new CodingNsDshError(CODINGNS_DSH_ERROR_CODES.DSH_VERSION_UNSUPPORTED, `不支持的 DSH 版本: ${version};当前插件兼容范围为 ${SUPPORTED_DSH_COMPATIBILITY}`);
|
|
25134
25208
|
}
|
|
@@ -31242,7 +31316,7 @@ window.__ModuleLoader__.load({
|
|
|
31242
31316
|
for (const [capability, id] of [["plugin.update.inspect", "plugin-manager-inspect-021"], ["plugin.update.apply", "plugin-manager-install-021"]]) add({
|
|
31243
31317
|
id,
|
|
31244
31318
|
capability,
|
|
31245
|
-
supportedDsh: ">=0.2.1-rc.2
|
|
31319
|
+
supportedDsh: ">=0.2.1-rc.2",
|
|
31246
31320
|
runtime,
|
|
31247
31321
|
priority: 10,
|
|
31248
31322
|
status: "supported",
|
|
@@ -31264,7 +31338,7 @@ window.__ModuleLoader__.load({
|
|
|
31264
31338
|
for (const role of ["member", "lead"]) add({
|
|
31265
31339
|
id: `agent-team-external-${role}-021`,
|
|
31266
31340
|
capability: `agent-team.external-${role}`,
|
|
31267
|
-
supportedDsh: ">=0.2.1-alpha.2
|
|
31341
|
+
supportedDsh: ">=0.2.1-alpha.2",
|
|
31268
31342
|
runtime,
|
|
31269
31343
|
priority: 10,
|
|
31270
31344
|
status: "supported",
|
|
@@ -31275,7 +31349,7 @@ window.__ModuleLoader__.load({
|
|
|
31275
31349
|
add({
|
|
31276
31350
|
id: "session-performance-projection-021",
|
|
31277
31351
|
capability: "session.external-performance",
|
|
31278
|
-
supportedDsh: ">=0.2.1-alpha.3
|
|
31352
|
+
supportedDsh: ">=0.2.1-alpha.3",
|
|
31279
31353
|
runtime,
|
|
31280
31354
|
priority: 10,
|
|
31281
31355
|
status: "supported",
|
|
@@ -31319,7 +31393,7 @@ window.__ModuleLoader__.load({
|
|
|
31319
31393
|
add({
|
|
31320
31394
|
id: "session-prompt-assembly-021",
|
|
31321
31395
|
capability: "session.prompt-assembly",
|
|
31322
|
-
supportedDsh: ">=0.2.1-alpha.3
|
|
31396
|
+
supportedDsh: ">=0.2.1-alpha.3",
|
|
31323
31397
|
runtime,
|
|
31324
31398
|
priority: 10,
|
|
31325
31399
|
status: "supported",
|
|
@@ -31330,7 +31404,7 @@ window.__ModuleLoader__.load({
|
|
|
31330
31404
|
add({
|
|
31331
31405
|
id: "session-external-model-selection-021",
|
|
31332
31406
|
capability: "session.external-model-selection",
|
|
31333
|
-
supportedDsh: ">=0.2.1-alpha.3
|
|
31407
|
+
supportedDsh: ">=0.2.1-alpha.3",
|
|
31334
31408
|
runtime,
|
|
31335
31409
|
priority: 10,
|
|
31336
31410
|
status: "supported",
|
|
@@ -31352,7 +31426,7 @@ window.__ModuleLoader__.load({
|
|
|
31352
31426
|
add({
|
|
31353
31427
|
id: "session-activation-021",
|
|
31354
31428
|
capability: "session.activation",
|
|
31355
|
-
supportedDsh: ">=0.2.1-alpha.3
|
|
31429
|
+
supportedDsh: ">=0.2.1-alpha.3",
|
|
31356
31430
|
runtime,
|
|
31357
31431
|
priority: 10,
|
|
31358
31432
|
status: "supported",
|
|
@@ -31363,7 +31437,7 @@ window.__ModuleLoader__.load({
|
|
|
31363
31437
|
for (const capability of ["connection.peer", "connection.uplink"]) add({
|
|
31364
31438
|
id: `${capability}-021`,
|
|
31365
31439
|
capability,
|
|
31366
|
-
supportedDsh: ">=0.2.1-alpha.3
|
|
31440
|
+
supportedDsh: ">=0.2.1-alpha.3",
|
|
31367
31441
|
runtime,
|
|
31368
31442
|
priority: 40,
|
|
31369
31443
|
status: "supported",
|
|
@@ -31481,7 +31555,7 @@ window.__ModuleLoader__.load({
|
|
|
31481
31555
|
add({
|
|
31482
31556
|
id: "session-performance-presentation-021",
|
|
31483
31557
|
capability: "session.external-performance",
|
|
31484
|
-
supportedDsh: ">=0.2.1-alpha.3
|
|
31558
|
+
supportedDsh: ">=0.2.1-alpha.3",
|
|
31485
31559
|
runtime,
|
|
31486
31560
|
priority: 10,
|
|
31487
31561
|
status: "supported",
|
|
@@ -31514,7 +31588,7 @@ window.__ModuleLoader__.load({
|
|
|
31514
31588
|
add({
|
|
31515
31589
|
id: "message-presentation-021",
|
|
31516
31590
|
capability: "conversation.message-presentation",
|
|
31517
|
-
supportedDsh: ">=0.2.1-alpha.3
|
|
31591
|
+
supportedDsh: ">=0.2.1-alpha.3",
|
|
31518
31592
|
runtime,
|
|
31519
31593
|
priority: 10,
|
|
31520
31594
|
status: "supported",
|
|
@@ -31835,7 +31909,7 @@ window.__ModuleLoader__.load({
|
|
|
31835
31909
|
add({
|
|
31836
31910
|
id: "conversation-draft-share-021",
|
|
31837
31911
|
capability: "conversation.draft-share",
|
|
31838
|
-
supportedDsh: ">=0.2.1-alpha.1
|
|
31912
|
+
supportedDsh: ">=0.2.1-alpha.1",
|
|
31839
31913
|
runtime: "client",
|
|
31840
31914
|
priority: 30,
|
|
31841
31915
|
status: "supported",
|
|
@@ -44003,7 +44077,7 @@ html[data-codingns-mobile-sidebar="on"] .codingns-magpie-page{padding-left:0;--m
|
|
|
44003
44077
|
existing?.remove();
|
|
44004
44078
|
continue;
|
|
44005
44079
|
}
|
|
44006
|
-
if (existing?.dataset.modelId === model.id) {
|
|
44080
|
+
if (existing?.dataset.modelId === model.id && existing.dataset.providerId === model.magpieProviderId) {
|
|
44007
44081
|
if (row.children[row.children.length - 1] !== existing) {
|
|
44008
44082
|
existing.remove();
|
|
44009
44083
|
row.append(existing);
|
|
@@ -44011,7 +44085,7 @@ html[data-codingns-mobile-sidebar="on"] .codingns-magpie-page{padding-left:0;--m
|
|
|
44011
44085
|
continue;
|
|
44012
44086
|
}
|
|
44013
44087
|
existing?.remove();
|
|
44014
|
-
const tag = require_magpie_model_tag.createMagpieModelTagNode(document, model.id);
|
|
44088
|
+
const tag = require_magpie_model_tag.createMagpieModelTagNode(document, model.id, model.magpieProviderId);
|
|
44015
44089
|
row.append(tag);
|
|
44016
44090
|
}
|
|
44017
44091
|
}
|
|
@@ -44661,10 +44735,11 @@ html[data-codingns-mobile-sidebar="on"] .codingns-magpie-page{padding-left:0;--m
|
|
|
44661
44735
|
const nativeAvailable = nativeDefault !== void 0;
|
|
44662
44736
|
const [nativeMenu, setNativeMenu] = (0, react.useState)(null);
|
|
44663
44737
|
const catalog = catalogState?.adapterId === selection.adapterId && catalogState.sessionId === sessionId ? catalogState.value : null;
|
|
44664
|
-
const nativeModels = selection.adapterId === "dsh" ? (catalog?.groups ?? []).flatMap((group) => group.models.map(({ id, name, source }) => ({
|
|
44738
|
+
const nativeModels = selection.adapterId === "dsh" ? (catalog?.groups ?? []).flatMap((group) => group.models.map(({ id, name, source, magpieProviderId }) => ({
|
|
44665
44739
|
id,
|
|
44666
44740
|
name,
|
|
44667
|
-
...source === "magpie" ? { source } : {}
|
|
44741
|
+
...source === "magpie" ? { source } : {},
|
|
44742
|
+
...magpieProviderId === void 0 ? {} : { magpieProviderId }
|
|
44668
44743
|
}))) : [];
|
|
44669
44744
|
nativeMagpieModelsRef.current = nativeModels;
|
|
44670
44745
|
const nativeMagpieModelRevision = JSON.stringify(nativeModels);
|
|
@@ -45038,7 +45113,7 @@ html[data-codingns-mobile-sidebar="on"] .codingns-magpie-page{padding-left:0;--m
|
|
|
45038
45113
|
overflow: "hidden",
|
|
45039
45114
|
textOverflow: "ellipsis",
|
|
45040
45115
|
whiteSpace: "nowrap"
|
|
45041
|
-
} }, item.name), item.id === model?.id && (0, react.createElement)("span", { "aria-hidden": true }, "✓"), item.source === "magpie" && (0, react.createElement)(require_magpie_model_tag.MagpieModelTag, {}));
|
|
45116
|
+
} }, item.name), item.id === model?.id && (0, react.createElement)("span", { "aria-hidden": true }, "✓"), item.source === "magpie" && (0, react.createElement)(require_magpie_model_tag.MagpieModelTag, { providerId: item.magpieProviderId }));
|
|
45042
45117
|
}))), visibleModelGroups.length === 0 && (0, react.createElement)("div", {
|
|
45043
45118
|
key: "model-empty",
|
|
45044
45119
|
role: "status",
|
|
@@ -77470,6 +77545,7 @@ button[${ACCOUNT_ATTRIBUTE}]:focus-visible{outline:2px solid ${require_theme.dsh
|
|
|
77470
77545
|
const detailsTitle = props.translationT(inputFailure ? "translation.inputFailedTitle" : "translation.detailsTitle");
|
|
77471
77546
|
const pending = record === void 0 || output.pending;
|
|
77472
77547
|
const failed = record?.failed === true;
|
|
77548
|
+
const failure = require_session_translation.readSessionTranslationDiagnostics(record).failure;
|
|
77473
77549
|
const alreadyTargetLanguage = record?.alreadyTargetLanguage === true;
|
|
77474
77550
|
const statusText = pending ? props.translationT("translation.statusTranslating") : failed ? props.translationT("translation.statusFailed") : alreadyTargetLanguage ? props.translationT("translation.statusNotNeeded") : props.translationT("translation.statusTranslated");
|
|
77475
77551
|
const statusColor = pending ? require_theme.dshThemeColor.accent : failed ? require_theme.dshThemeColor.error : alreadyTargetLanguage ? require_theme.dshThemeColor.accent : require_theme.dshThemeColor.success;
|
|
@@ -77563,7 +77639,10 @@ button[${ACCOUNT_ATTRIBUTE}]:focus-visible{outline:2px solid ${require_theme.dsh
|
|
|
77563
77639
|
`${props.translationT("translation.modelUsed")}: ${alreadyTargetLanguage ? props.translationT("translation.modelNotUsed") : formatModel(record.model, props.translationT)}`,
|
|
77564
77640
|
...record.durationMs === void 0 ? [] : [`${(record.durationMs / 1e3).toFixed(2)} s`],
|
|
77565
77641
|
...record.totalTokens === void 0 ? [] : [`${record.totalTokens} tok`]
|
|
77566
|
-
].join(" · ")), props.inputFailure === void 0 ? null : (0, react.createElement)("p", { role: "alert" }, props.translationT("translation.inputFailedHelp")),
|
|
77642
|
+
].join(" · ")), props.inputFailure === void 0 ? null : (0, react.createElement)("p", { role: "alert" }, props.translationT("translation.inputFailedHelp")), pending || !failed ? null : (0, react.createElement)("p", {
|
|
77643
|
+
role: "alert",
|
|
77644
|
+
style: { color: require_theme.dshThemeColor.error }
|
|
77645
|
+
}, props.translationT(`translation.failure.${failure?.code ?? "unknown"}`)), decisionError ? (0, react.createElement)("p", {
|
|
77567
77646
|
role: "alert",
|
|
77568
77647
|
style: { color: require_theme.dshThemeColor.error }
|
|
77569
77648
|
}, props.translationT("translation.decisionFailed")) : null, props.inputFailure !== void 0 ? (0, react.createElement)("div", { style: {
|
|
@@ -78408,6 +78487,7 @@ button[${ACCOUNT_ATTRIBUTE}]:focus-visible{outline:2px solid ${require_theme.dsh
|
|
|
78408
78487
|
...candidate.alreadyTargetLanguage === true ? { alreadyTargetLanguage: true } : {},
|
|
78409
78488
|
...model === void 0 ? {} : { model },
|
|
78410
78489
|
...candidate.failed === true ? { failed: true } : {},
|
|
78490
|
+
...require_session_translation.readSessionTranslationDiagnostics(candidate),
|
|
78411
78491
|
...require_session_translation.readSessionTranslationMetrics(candidate)
|
|
78412
78492
|
};
|
|
78413
78493
|
}
|
|
@@ -78434,6 +78514,7 @@ button[${ACCOUNT_ATTRIBUTE}]:focus-visible{outline:2px solid ${require_theme.dsh
|
|
|
78434
78514
|
...candidate.alreadyTargetLanguage === true ? { alreadyTargetLanguage: true } : {},
|
|
78435
78515
|
...model === void 0 ? {} : { model },
|
|
78436
78516
|
...candidate.failed === true ? { failed: true } : {},
|
|
78517
|
+
...require_session_translation.readSessionTranslationDiagnostics(candidate),
|
|
78437
78518
|
...require_session_translation.readSessionTranslationMetrics(candidate)
|
|
78438
78519
|
};
|
|
78439
78520
|
}
|
|
@@ -78447,6 +78528,7 @@ button[${ACCOUNT_ATTRIBUTE}]:focus-visible{outline:2px solid ${require_theme.dsh
|
|
|
78447
78528
|
...record.alreadyTargetLanguage === true ? { alreadyTargetLanguage: true } : {},
|
|
78448
78529
|
...record.model === void 0 ? {} : { model: record.model },
|
|
78449
78530
|
...record.failed === true ? { failed: true } : {},
|
|
78531
|
+
...require_session_translation.readSessionTranslationDiagnostics(record),
|
|
78450
78532
|
...require_session_translation.readSessionTranslationMetrics(record)
|
|
78451
78533
|
};
|
|
78452
78534
|
}
|
|
@@ -79388,7 +79470,7 @@ button.${settingsPromoClass.version}:focus-visible{${focusRing}}
|
|
|
79388
79470
|
return (0, react.createElement)("aside", {
|
|
79389
79471
|
className: settingsPromoClass.root,
|
|
79390
79472
|
"aria-label": t("settings.promo.sectionLabel")
|
|
79391
|
-
}, (0, react.createElement)("div", { className: settingsPromoClass.row }, (0, react.createElement)("div", { className: settingsPromoClass.brand }, (0, react.createElement)("div", { className: settingsPromoClass.headline }, (0, react.createElement)(StarBurstIcon, { className: settingsPromoClass.logo }), (0, react.createElement)("h3", { className: settingsPromoClass.title }, t("common.brand"))), versionControl ?? (0, react.createElement)("span", { className: settingsPromoClass.version }, t("settings.promo.version", { version: "0.2.1-rc.
|
|
79473
|
+
}, (0, react.createElement)("div", { className: settingsPromoClass.row }, (0, react.createElement)("div", { className: settingsPromoClass.brand }, (0, react.createElement)("div", { className: settingsPromoClass.headline }, (0, react.createElement)(StarBurstIcon, { className: settingsPromoClass.logo }), (0, react.createElement)("h3", { className: settingsPromoClass.title }, t("common.brand"))), versionControl ?? (0, react.createElement)("span", { className: settingsPromoClass.version }, t("settings.promo.version", { version: "0.2.1-rc.6" }))), (0, react.createElement)("p", { className: settingsPromoClass.text }, t("settings.promo.starHint"), (0, react.createElement)("span", {
|
|
79392
79474
|
className: settingsPromoClass.hand,
|
|
79393
79475
|
"aria-hidden": true
|
|
79394
79476
|
}, "👉")), (0, react.createElement)("a", {
|
|
@@ -79447,7 +79529,7 @@ button.${settingsPromoClass.version}:focus-visible{${focusRing}}
|
|
|
79447
79529
|
}
|
|
79448
79530
|
//#endregion
|
|
79449
79531
|
//#region src/client/update-store.ts
|
|
79450
|
-
const DEFAULT_PLUGIN_UPDATE_CHANNEL = "0.2.1-rc.
|
|
79532
|
+
const DEFAULT_PLUGIN_UPDATE_CHANNEL = "0.2.1-rc.6".includes("-") ? "next" : "latest";
|
|
79451
79533
|
var PluginUpdateStore = class {
|
|
79452
79534
|
rpc;
|
|
79453
79535
|
snapshot = {
|
|
@@ -79973,7 +80055,18 @@ button.${settingsPromoClass.version}:focus-visible{${focusRing}}
|
|
|
79973
80055
|
...require_theme.dshSettingsToastStyle,
|
|
79974
80056
|
borderColor: toast.kind === "error" ? require_theme.dshThemeColor.error : toast.kind === "success" ? require_theme.dshThemeColor.success : require_theme.dshThemeColor.border
|
|
79975
80057
|
}
|
|
79976
|
-
}, toast.message), (0, react.createElement)(CodingNsSettingsUpdate, { services }),
|
|
80058
|
+
}, toast.message), (0, react.createElement)(CodingNsSettingsUpdate, { services }), require_native_workspace_store.isDshVersionNewerThanTested(services.dshVersion) ? (0, react.createElement)("div", {
|
|
80059
|
+
role: "status",
|
|
80060
|
+
style: {
|
|
80061
|
+
padding: "10px 12px",
|
|
80062
|
+
border: `1px solid ${require_theme.dshThemeColor.warning}`,
|
|
80063
|
+
borderRadius: 6,
|
|
80064
|
+
background: require_theme.dshThemeColor.surfaceSubtle
|
|
80065
|
+
}
|
|
80066
|
+
}, t("settings.untestedDshWarning", {
|
|
80067
|
+
version: services.dshVersion,
|
|
80068
|
+
tested: require_native_workspace_store.DSH_TESTED_VERSION
|
|
80069
|
+
})) : null, (0, react.createElement)("header", { style: require_theme.dshSettingsHeaderStyle }, (0, react.createElement)("p", { style: require_theme.dshSettingsSubtitleStyle }, t("settings.subtitle"))), (0, react.createElement)("div", { style: {
|
|
79977
80070
|
display: "flex",
|
|
79978
80071
|
flexDirection: "column",
|
|
79979
80072
|
gap: 12
|
|
@@ -80009,7 +80102,7 @@ button.${settingsPromoClass.version}:focus-visible{${focusRing}}
|
|
|
80009
80102
|
border: `1px solid ${require_theme.dshThemeColor.border}`,
|
|
80010
80103
|
borderRadius: 6,
|
|
80011
80104
|
background: require_theme.dshThemeColor.surfaceSubtle
|
|
80012
|
-
} }, (0, react.createElement)("div", void 0, t("settings.compatibility", { range: require_native_workspace_store.DSH_COMPATIBILITY })), (0, react.createElement)("a", {
|
|
80105
|
+
} }, (0, react.createElement)("div", void 0, t("settings.compatibility", { range: require_native_workspace_store.DSH_COMPATIBILITY })), (0, react.createElement)("div", void 0, t("settings.testedDshVersion", { version: require_native_workspace_store.DSH_TESTED_VERSION })), (0, react.createElement)("a", {
|
|
80013
80106
|
href: CODINGNS_GITHUB_URL,
|
|
80014
80107
|
target: "_blank",
|
|
80015
80108
|
rel: "noreferrer",
|
|
@@ -85855,7 +85948,7 @@ button.${settingsPromoClass.version}:focus-visible{${focusRing}}
|
|
|
85855
85948
|
function isInjectedStage0Runtime(scope = globalThis) {
|
|
85856
85949
|
return scope[CODINGNS_STAGE0_GLOBAL] === true;
|
|
85857
85950
|
}
|
|
85858
|
-
route("plugin.update.inspect", "plugin-manager-inspect-021", "host", ">=0.2.1-rc.2
|
|
85951
|
+
route("plugin.update.inspect", "plugin-manager-inspect-021", "host", ">=0.2.1-rc.2", "supported", ["dsh-capabilities/host/plugin-update-adapter.ts", "host/features/plugin-update.ts"]), route("plugin.update.apply", "plugin-manager-install-021", "host", ">=0.2.1-rc.2", "supported", ["dsh-capabilities/host/plugin-update-adapter.ts", "host/update/service.ts"]), route("plugin.host.activation-status", "plugin-host-version-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/update/service.ts"]), route("plugin.client.reload-status", "plugin-client-reload-unavailable-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["dsh-capabilities/client/plugin-reload-adapter.ts", "client/update-panel.ts"]), route("session.external-performance", "session-performance-projection-021", "host", ">=0.2.1-alpha.3", "supported", ["dsh-capabilities/host/session-performance-adapter.ts", "host/cli-adapters/feature.ts"]), route("session.external-performance", "session-performance-presentation-021", "client", ">=0.2.1-alpha.3", "supported", ["dsh-capabilities/client/session-performance-adapter.ts", "client/features/cli-adapters.ts"]), route("quick-app.proxy", "quick-app-host-proxy-021", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", [
|
|
85859
85952
|
"dsh-capabilities/host/quick-app-proxy-adapter.ts",
|
|
85860
85953
|
"dsh-capabilities/host/quick-app-proxy-provider.ts",
|
|
85861
85954
|
"host/features/quick-apps.ts",
|
|
@@ -85871,22 +85964,22 @@ button.${settingsPromoClass.version}:focus-visible{${focusRing}}
|
|
|
85871
85964
|
"dsh-capabilities/host/quick-app-transport.ts",
|
|
85872
85965
|
"host/features/quick-apps.ts",
|
|
85873
85966
|
"host/features/lan-access-dsh.ts"
|
|
85874
|
-
]), route("sidebar.footer-action", "sidebar-footer-action-021", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["dsh-capabilities/client/quick-app-footer-adapter.ts", "client/features/quick-apps.ts"]), route("session.prompt-assembly", "session-prompt-assembly-021", "host", ">=0.2.1-alpha.3
|
|
85967
|
+
]), route("sidebar.footer-action", "sidebar-footer-action-021", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["dsh-capabilities/client/quick-app-footer-adapter.ts", "client/features/quick-apps.ts"]), route("session.prompt-assembly", "session-prompt-assembly-021", "host", ">=0.2.1-alpha.3", "supported", [
|
|
85875
85968
|
"dsh-capabilities/host/session-prompt-adapter.ts",
|
|
85876
85969
|
"host/features/session-prompt-translation.ts",
|
|
85877
85970
|
"host/cli-adapters/feature.ts"
|
|
85878
|
-
]), route("session.external-model-selection", "session-external-model-selection-021", "host", ">=0.2.1-alpha.3
|
|
85971
|
+
]), route("session.external-model-selection", "session-external-model-selection-021", "host", ">=0.2.1-alpha.3", "supported", ["dsh-capabilities/host/session-model-selection-adapter.ts", "host/cli-adapters/feature.ts"]), route("session.activation", "session-activation-020", "host", ">=0.2.0-rc.2 <=0.2.1-alpha.2", "supported", ["dsh-capabilities/host/session-activation-adapter.ts", "host/native-session-bridge.ts"]), route("session.activation", "session-activation-021", "host", ">=0.2.1-alpha.3", "supported", ["dsh-capabilities/host/session-activation-adapter.ts", "host/native-session-bridge.ts"]), route("conversation.message-presentation", "message-presentation-020", "client", ">=0.2.0-rc.2 <=0.2.1-alpha.2", "supported", ["dsh-capabilities/client/message-presentation-adapter.ts", "client/session-translation-chat.ts"]), route("conversation.message-presentation", "message-presentation-021", "client", ">=0.2.1-alpha.3", "supported", ["dsh-capabilities/client/message-presentation-adapter.ts", "client/session-translation-chat.ts"]), route("connection.peer", "connection.peer-021", "host", ">=0.2.1-alpha.3", "supported", [
|
|
85879
85972
|
"dsh-capabilities/host/connection-peer-adapter.ts",
|
|
85880
85973
|
"host/rpc.ts",
|
|
85881
85974
|
"host/features/global-voice-rpc.ts",
|
|
85882
85975
|
"host/modules/peer-host/peer-host-native-dispatch.ts"
|
|
85883
|
-
]), route("connection.uplink", "connection.uplink-021", "host", ">=0.2.1-alpha.3
|
|
85976
|
+
]), route("connection.uplink", "connection.uplink-021", "host", ">=0.2.1-alpha.3", "supported", ["dsh-capabilities/host/native-dispatch-adapter.ts", "host/modules/peer-host/peer-host-native-dispatch.ts"]), route("session.title", "session-title-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["dsh-capabilities/host/session-title-adapter.ts", "host/features/session-title-optimization.ts"]), route("session.working-directory", "session-working-directory-021", "host", ">=0.2.1-alpha.2", "supported", ["host/terminal/terminal-controller.ts", "host/index.ts"]), route("llm.text", "llm-text-021", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", [
|
|
85884
85977
|
"dsh-capabilities/host/assistant-llm-adapter.ts",
|
|
85885
85978
|
"host/features/assistant-text-chat.ts",
|
|
85886
85979
|
"dsh-capabilities/host/session-title-adapter.ts",
|
|
85887
85980
|
"host/features/session-title-optimization.ts",
|
|
85888
85981
|
"host/features/git-management.ts"
|
|
85889
|
-
]), route("assistant.agent", "assistant-agent-021", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["dsh-capabilities/host/assistant-agent-adapter.ts", "host/features/global-voice-rpc.ts"]), route("settings.store", "legacy-settings-scope", "host", ">=0.1.5-rc.3 <=0.1.6", "supported", ["host/settings.ts", "host/features/*"]), route("settings.store", "config-forms", "host", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["host/settings.ts", "client/settings-bridge.ts"]), route("connection.rpc", "legacy-rpc-handler", "host", ">=0.1.5-rc.3 <=0.1.6", "supported", ["host/rpc.ts"]), route("connection.rpc", "peer-aware-rpc-handler", "host", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["host/rpc.ts"]), route("connection.peer", "peer-scope", "host", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["host/rpc.ts"]), route("ui.icon.plus", "fixed-plus-icon", "client", ">=0.1.5-rc.3 <=0.1.6", "supported", ["client/terminal/xterm-view.ts"]), route("ui.icon.plus", "regular-plus-icon", "client", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["client/terminal/xterm-view.ts"]), route("ui.icon.chevron", "fixed-chevron-icon", "client", ">=0.1.5-rc.3 <=0.1.6", "supported", ["client/terminal/ui.ts"]), route("ui.icon.chevron", "regular-chevron-icon", "client", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["client/terminal/ui.ts"]), route("locale.runtime", "locale-runtime", "client", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["client/locale.ts"]), route("theme.runtime", "theme-runtime", "client", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["client/theme.ts"]), route("conversation.tool-call", "conversation-events", "client", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["client/external-tool-stream.ts"]), route("sidebar.right", "sidebar-right-tabs", "client", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["client/terminal/ui.ts"]), route("sidebar.global-panel", "sidebar-panellist-main-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["dsh-capabilities/client/global-panel-adapter.ts", "client/features/magpie-management.ts"]), route("typert.remote", "remote-result", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/terminal/terminal-controller.ts", "client/terminal/model.ts"]), route("peer-host.store", "peer-host-store", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.handshake", "peer-host-handshake", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.http-proxy", "peer-host-http-proxy", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.ws-proxy", "peer-host-ws-proxy", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.aggregate", "peer-host-aggregate", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.relay-route", "peer-host-relay-route", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.native-navigation", "peer-host-native-navigation-legacy", "client", ">=0.1.5-rc.3 <=0.1.6", "deprecated", ["client/features/peer-host.ts"]), route("peer-host.native-navigation", "peer-host-native-navigation-modern", "client", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["client/features/peer-host.ts"]), route("peer-host.remote-web-context-fallback", "peer-host-remote-web-context-fallback", "client", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["client/features/peer-host.ts"]), route("settings.store", "settings-forms-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/settings.ts", "host/rpc.ts"]), route("connection.rpc", "connection-rpc-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/rpc.ts", "transport/dsh-transport.ts"]), route("connection.peer", "connection-peer-admission-020", "host", ">=0.2.0-rc.2 <=0.2.1-alpha.2", "supported", ["host/rpc.ts"]), route("connection.attachment", "connection-rpc-attachment-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/rpc.ts", "transport/dsh-transport.ts"]), route("connection.uplink", "connection-rpc-uplink-020", "host", ">=0.2.0-rc.2 <=0.2.1-alpha.2", "supported", ["host/rpc.ts", "transport/dsh-transport.ts"]), route("typert.remote", "remote-context-stream-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/terminal/terminal-controller.ts", "client/terminal/model.ts"]), route("typert.context", "typert-context-registry-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["typert.host.ts", "host/terminal/terminal-controller.ts"]), route("typert.stream", "typert-remote-stream-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["typert.host.ts", "typert.remote-client.ts"]), route("session.format-v4", "session-format-v4", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/native-session-bridge.ts", "host/session-migration-repair.ts"]), route("subagent.continuable", "subagent-continuable-020", "host", ">=0.2.0-rc.1 <=0.2.1-alpha.1", "supported", ["host/cli-adapters/session-store.ts", "host/cli-adapters/feature.ts"]), route("subagent.continuable", "subagent-activation-021", "host", ">=0.2.1-alpha.2", "supported", ["host/cli-adapters/native-team-subagent.ts", "host/cli-adapters/native-subagent-dispatch.ts"]), route("agent-team.native", "agent-team-native-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/cli-adapters/feature.ts", "host/cli-adapters/native-team-proxy.ts"]), route("agent-team.external-member", "agent-team-external-member-021", "host", ">=0.2.1-alpha.2
|
|
85982
|
+
]), route("assistant.agent", "assistant-agent-021", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["dsh-capabilities/host/assistant-agent-adapter.ts", "host/features/global-voice-rpc.ts"]), route("settings.store", "legacy-settings-scope", "host", ">=0.1.5-rc.3 <=0.1.6", "supported", ["host/settings.ts", "host/features/*"]), route("settings.store", "config-forms", "host", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["host/settings.ts", "client/settings-bridge.ts"]), route("connection.rpc", "legacy-rpc-handler", "host", ">=0.1.5-rc.3 <=0.1.6", "supported", ["host/rpc.ts"]), route("connection.rpc", "peer-aware-rpc-handler", "host", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["host/rpc.ts"]), route("connection.peer", "peer-scope", "host", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["host/rpc.ts"]), route("ui.icon.plus", "fixed-plus-icon", "client", ">=0.1.5-rc.3 <=0.1.6", "supported", ["client/terminal/xterm-view.ts"]), route("ui.icon.plus", "regular-plus-icon", "client", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["client/terminal/xterm-view.ts"]), route("ui.icon.chevron", "fixed-chevron-icon", "client", ">=0.1.5-rc.3 <=0.1.6", "supported", ["client/terminal/ui.ts"]), route("ui.icon.chevron", "regular-chevron-icon", "client", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["client/terminal/ui.ts"]), route("locale.runtime", "locale-runtime", "client", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["client/locale.ts"]), route("theme.runtime", "theme-runtime", "client", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["client/theme.ts"]), route("conversation.tool-call", "conversation-events", "client", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["client/external-tool-stream.ts"]), route("sidebar.right", "sidebar-right-tabs", "client", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["client/terminal/ui.ts"]), route("sidebar.global-panel", "sidebar-panellist-main-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["dsh-capabilities/client/global-panel-adapter.ts", "client/features/magpie-management.ts"]), route("typert.remote", "remote-result", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/terminal/terminal-controller.ts", "client/terminal/model.ts"]), route("peer-host.store", "peer-host-store", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.handshake", "peer-host-handshake", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.http-proxy", "peer-host-http-proxy", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.ws-proxy", "peer-host-ws-proxy", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.aggregate", "peer-host-aggregate", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.relay-route", "peer-host-relay-route", "host", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["host/features/peer-host.ts"]), route("peer-host.native-navigation", "peer-host-native-navigation-legacy", "client", ">=0.1.5-rc.3 <=0.1.6", "deprecated", ["client/features/peer-host.ts"]), route("peer-host.native-navigation", "peer-host-native-navigation-modern", "client", ">=0.1.7-rc.2 <=0.1.7-rc.2", "supported", ["client/features/peer-host.ts"]), route("peer-host.remote-web-context-fallback", "peer-host-remote-web-context-fallback", "client", ">=0.1.5-rc.3 <=0.1.7-rc.2", "supported", ["client/features/peer-host.ts"]), route("settings.store", "settings-forms-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/settings.ts", "host/rpc.ts"]), route("connection.rpc", "connection-rpc-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/rpc.ts", "transport/dsh-transport.ts"]), route("connection.peer", "connection-peer-admission-020", "host", ">=0.2.0-rc.2 <=0.2.1-alpha.2", "supported", ["host/rpc.ts"]), route("connection.attachment", "connection-rpc-attachment-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/rpc.ts", "transport/dsh-transport.ts"]), route("connection.uplink", "connection-rpc-uplink-020", "host", ">=0.2.0-rc.2 <=0.2.1-alpha.2", "supported", ["host/rpc.ts", "transport/dsh-transport.ts"]), route("typert.remote", "remote-context-stream-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/terminal/terminal-controller.ts", "client/terminal/model.ts"]), route("typert.context", "typert-context-registry-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["typert.host.ts", "host/terminal/terminal-controller.ts"]), route("typert.stream", "typert-remote-stream-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["typert.host.ts", "typert.remote-client.ts"]), route("session.format-v4", "session-format-v4", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/native-session-bridge.ts", "host/session-migration-repair.ts"]), route("subagent.continuable", "subagent-continuable-020", "host", ">=0.2.0-rc.1 <=0.2.1-alpha.1", "supported", ["host/cli-adapters/session-store.ts", "host/cli-adapters/feature.ts"]), route("subagent.continuable", "subagent-activation-021", "host", ">=0.2.1-alpha.2", "supported", ["host/cli-adapters/native-team-subagent.ts", "host/cli-adapters/native-subagent-dispatch.ts"]), route("agent-team.native", "agent-team-native-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/cli-adapters/feature.ts", "host/cli-adapters/native-team-proxy.ts"]), route("agent-team.external-member", "agent-team-external-member-021", "host", ">=0.2.1-alpha.2", "supported", ["host/cli-adapters/feature.ts", "host/cli-bridge/team-dispatch.ts"]), route("agent-team.external-lead", "agent-team-external-lead-021", "host", ">=0.2.1-alpha.2", "supported", ["host/cli-adapters/feature.ts", "host/cli-bridge/team-dispatch.ts"]), route("ui.icon.plus", "regular-plus-icon-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/terminal/xterm-view.ts"]), route("ui.icon.chevron", "regular-chevron-icon-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/terminal/ui.ts"]), route("locale.runtime", "locale-runtime-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/locale.ts"]), route("theme.runtime", "theme-runtime-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/theme.ts"]), route("theme.font-scale", "theme-font-scale-021", "client", ">=0.2.1-alpha.2", "supported", ["client/font-scale.ts", "client/index.ts"]), route("conversation.tool-call", "conversation-events-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/external-tool-stream.ts"]), route("conversation.draft-share", "conversation-draft-share-021", "client", ">=0.2.1-alpha.1", "supported", ["client/terminal/ui.ts", "client/terminal/sharing.ts"]), route("conversation.interaction-translation", "interaction-presentation-021", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/session-translation-interactions.ts"]), route("sidebar.right", "sidebar-right-dock-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/terminal/ui.ts"]), route("typert.remote", "remote-context-stream-020-client", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/terminal/model.ts"]), route("typert.context", "typert-context-registry-020-client", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["typert.remote-client.ts", "client/terminal/model.ts"]), route("typert.stream", "typert-remote-stream-020-client", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["typert.remote-client.ts", "client/terminal/model.ts"]), route("client.boot-graph", "client-web-boot-graph-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/index.ts", "package.json"]), route("peer-host.native-navigation", "peer-host-native-navigation-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/features/peer-host.ts"]), route("peer-host.remote-web-context-fallback", "peer-host-remote-web-context-fallback-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["client/features/peer-host.ts"]), route("peer-host.store", "peer-host-store-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/features/peer-host.ts"]), route("peer-host.handshake", "peer-host-handshake-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/features/peer-host.ts"]), route("peer-host.http-proxy", "peer-host-http-proxy-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/features/peer-host.ts", "host/modules/peer-host/quick-app-gateway.ts"]), route("peer-host.ws-proxy", "peer-host-ws-proxy-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/features/peer-host.ts"]), route("peer-host.aggregate", "peer-host-aggregate-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/features/peer-host.ts"]), route("peer-host.aggregated-transport", "peer-host-aggregated-transport-020", "host", require_native_workspace_store.DSH_COMPATIBILITY, "supported", ["host/modules/peer-host/aggregated-host-transport.ts"]), route("peer-host.client-preboot-transport", "peer-host-client-preboot-transport-020", "client", require_native_workspace_store.DSH_COMPATIBILITY, "supported", [
|
|
85890
85983
|
"bootstrap/index.ts",
|
|
85891
85984
|
"host/index-injection.ts",
|
|
85892
85985
|
"client/features/peer-host.ts"
|
|
@@ -91907,5 +92000,5 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
91907
92000
|
});
|
|
91908
92001
|
|
|
91909
92002
|
})();
|
|
91910
|
-
// codingns-client-revision:
|
|
92003
|
+
// codingns-client-revision: cd7d0051b78ba2ffbee4f037966c1f1af54ec8f25faa8891c2d414d9cbe7e77a
|
|
91911
92004
|
//# sourceMappingURL=bundle.js.map
|