dsh-github-copilot 0.1.0-alpha.12.dsh.0.2.2.rc.3 → 0.1.0-alpha.13.dsh.0.2.2.rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +8 -3
- package/README.zh.md +8 -4
- package/deployment-baseline.json +2 -2
- package/docs/auto-review-sampling.md +18 -2
- package/lib/client.js +1 -1
- package/lib/index.js +24 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.13.dsh.0.2.2.rc.3 (prepared)
|
|
4
|
+
|
|
5
|
+
- Qualify native Copilot profiles after actual Config/Settings normalization: schema-default empty template maps and boolean `supportsStrictMode` no longer disable reviewer-only temperature omission or canonical hosted-search readiness (#483).
|
|
6
|
+
- Apply the same narrow compatibility rule at provider, model and model-override levels while retaining unknown-value, credential, endpoint, headers, ownership and lifecycle refusal.
|
|
7
|
+
- Add normalized native configuration and reviewer/search regressions. No profile rewrite, Core patch, automatic restart, general sampling override or live supplier acceptance is implied.
|
|
8
|
+
|
|
3
9
|
## 0.1.0-alpha.12.dsh.0.2.2.rc.3 (prepared)
|
|
4
10
|
|
|
5
11
|
- Retire the managed route's projected-image MIME preflight and Goal schema rewriting (#481). Core owns image projection and Goal schemas; supplier errors are not preempted by a plugin MIME diagnostic.
|
package/README.md
CHANGED
|
@@ -67,15 +67,15 @@ After the exact compatible release is available and verified, download its
|
|
|
67
67
|
original asset and checksum in an empty directory:
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
71
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
70
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.13.dsh.0.2.2.rc.3.tgz
|
|
71
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/SHA256SUMS
|
|
72
72
|
sha256sum --check SHA256SUMS
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
For the `web` profile, install the same Release asset:
|
|
76
76
|
|
|
77
77
|
```sh
|
|
78
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
78
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.13.dsh.0.2.2.rc.3.tgz
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
Choose the intended profile explicitly. Then:
|
|
@@ -151,6 +151,11 @@ The native Auto reviewer's qualified Copilot Responses requests omit
|
|
|
151
151
|
`temperature`; ordinary Chat and native allow/deny/error/cancel behavior remain
|
|
152
152
|
unchanged. Qualification uses the native adapter's pi-ai catalog even when
|
|
153
153
|
the plugin resolves a separate copy; missing protocol facts remain unavailable.
|
|
154
|
+
Native schema-default empty `chatTemplateKwargs`/`chatTemplateArgs` maps and a
|
|
155
|
+
boolean `supportsStrictMode` do not disqualify this route, including per-model
|
|
156
|
+
configuration. Other compatibility overrides remain unqualified. No settings
|
|
157
|
+
rewrite is needed to remove schema defaults; do not disable review or search
|
|
158
|
+
proof as a workaround. CI acceptance and live Desktop activation are separate.
|
|
154
159
|
See [reviewer compatibility](./docs/auto-review-sampling.md).
|
|
155
160
|
The native route's quota and optional identity display use only the canonical OAuth account. If the
|
|
156
161
|
provider names a credential, endpoint or nonempty headers override, or its configuration
|
package/README.zh.md
CHANGED
|
@@ -55,15 +55,15 @@ node scripts/select-core-release.mjs 0.2.2-rc.3
|
|
|
55
55
|
精确兼容版本发布且通过验证后,在空目录下载原始制品并校验:
|
|
56
56
|
|
|
57
57
|
```sh
|
|
58
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
59
|
-
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
58
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.13.dsh.0.2.2.rc.3.tgz
|
|
59
|
+
curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/SHA256SUMS
|
|
60
60
|
sha256sum --check SHA256SUMS
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
例如安装到 `web` profile:
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.
|
|
66
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.13.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.13.dsh.0.2.2.rc.3.tgz
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
请明确选择目标 profile,然后:
|
|
@@ -114,7 +114,11 @@ Anthropic 模型也会被跳过;已有目录模型保留原生兼容性。只
|
|
|
114
114
|
Web 服务替换或旧插件路由 UI。
|
|
115
115
|
原生 Auto reviewer 经确认的 Copilot Responses 审核请求会省略 `temperature`;
|
|
116
116
|
普通聊天和原生 allow/deny/error/cancel 行为不变。即使插件解析到另一份 pi-ai,
|
|
117
|
-
|
|
117
|
+
资格判断也使用原生适配器的目录;无法确认协议时仍不可用。
|
|
118
|
+
原生 Schema 自动生成的空 `chatTemplateKwargs`/`chatTemplateArgs` 映射及布尔型
|
|
119
|
+
`supportsStrictMode` 不会使路线失去资格,逐模型配置也遵守同一规则;其他兼容覆盖仍不获准。
|
|
120
|
+
无须改写设置来删除 Schema 默认值,也不应通过关闭审核或搜索能力探测来绕过故障。
|
|
121
|
+
CI 验收和 Desktop 实际加载属于不同证据层级。参见
|
|
118
122
|
[审核兼容说明](./docs/auto-review-sampling.md)。
|
|
119
123
|
原生路线的额度和可选身份显示只使用 canonical OAuth 账号;如果 provider 指定了其他凭据、
|
|
120
124
|
端点或非空请求头,或无法确认其配置,则显示额度不可用,不会将其他账号的额度归到原生路线。
|
package/deployment-baseline.json
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
},
|
|
9
9
|
"package": {
|
|
10
10
|
"name": "dsh-github-copilot",
|
|
11
|
-
"version": "0.1.0-alpha.
|
|
11
|
+
"version": "0.1.0-alpha.13.dsh.0.2.2.rc.3"
|
|
12
12
|
},
|
|
13
13
|
"releaseLines": [
|
|
14
14
|
{ "core": "0.2.0-rc.2", "version": "0.4.2-alpha.15", "status": "published" },
|
|
15
15
|
{ "core": "0.2.1-alpha.4", "version": "0.4.2-alpha.16", "status": "published" },
|
|
16
16
|
{ "core": "0.2.1-alpha.5", "version": "0.1.0-alpha.2.dsh.0.2.1.alpha.5", "status": "published" },
|
|
17
17
|
{ "core": "0.2.1-rc.3", "version": "0.1.0-alpha.5.dsh.0.2.1.rc.3", "status": "published" },
|
|
18
|
-
{ "core": "0.2.2-rc.3", "version": "0.1.0-alpha.
|
|
18
|
+
{ "core": "0.2.2-rc.3", "version": "0.1.0-alpha.13.dsh.0.2.2.rc.3", "status": "pending" }
|
|
19
19
|
],
|
|
20
20
|
"evidence": {
|
|
21
21
|
"kind": "source-and-synthetic-test-inventory",
|
|
@@ -9,8 +9,24 @@ native Responses route. The adapter and plugin may resolve separate pi-ai copies
|
|
|
9
9
|
protocol facts come from the adapter's copy, not an assumed equivalent plugin
|
|
10
10
|
catalog. Missing exports or incomplete metadata leave the enhancement
|
|
11
11
|
unavailable with a diagnostic. It requires `purpose: 'auto-review'` and excludes
|
|
12
|
-
loop-owned requests. Custom credential, endpoint and compatibility
|
|
13
|
-
remain native; unknown models are diagnosed, never assigned a guessed protocol.
|
|
12
|
+
loop-owned requests. Custom credential, endpoint and unqualified compatibility
|
|
13
|
+
overrides remain native; unknown models are diagnosed, never assigned a guessed protocol.
|
|
14
|
+
|
|
15
|
+
Qualification reads the native Settings schema output, not raw YAML (#483).
|
|
16
|
+
The schema materializes empty `compat.chatTemplateKwargs` and
|
|
17
|
+
`compat.chatTemplateArgs` maps at provider and model levels. These empty maps
|
|
18
|
+
are not custom transport. The only additionally qualified compatibility leaf
|
|
19
|
+
is boolean `supportsStrictMode`, which controls native tool-schema strictness,
|
|
20
|
+
not credentials, endpoint, protocol or sampling. Apply the same narrow rule to
|
|
21
|
+
provider, configured model and model-override entries without mutating any of
|
|
22
|
+
them. Nonempty template maps, unknown compatibility keys and malformed values
|
|
23
|
+
remain unqualified; credential, endpoint, headers, ownership and lifecycle
|
|
24
|
+
checks are unchanged.
|
|
25
|
+
|
|
26
|
+
Deleting `compat` from stored configuration is not a workaround: schema
|
|
27
|
+
normalization recreates its empty defaults. The regression must pass real native
|
|
28
|
+
Config/Settings output through reviewer and hosted-search qualification; raw
|
|
29
|
+
handwritten profile fixtures alone cannot establish this compatibility.
|
|
14
30
|
|
|
15
31
|
The auxiliary request is cloned without temperature and prepared through public
|
|
16
32
|
`llm.prepareCall`. Identity and configuration are checked again after awaits,
|
package/lib/client.js
CHANGED
|
@@ -7758,7 +7758,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7758
7758
|
};
|
|
7759
7759
|
//#endregion
|
|
7760
7760
|
//#region package.json
|
|
7761
|
-
var version = "0.1.0-alpha.
|
|
7761
|
+
var version = "0.1.0-alpha.13.dsh.0.2.2.rc.3";
|
|
7762
7762
|
//#endregion
|
|
7763
7763
|
//#region lib/types/diagnostics-client.js
|
|
7764
7764
|
let owner;
|
package/lib/index.js
CHANGED
|
@@ -617,7 +617,7 @@ const result$1 = strictRemoteCodec("dsh-github-copilot#DiagnosticsView", Diagnos
|
|
|
617
617
|
var package_default = {
|
|
618
618
|
name: "dsh-github-copilot",
|
|
619
619
|
description: "Account-aware GitHub Copilot models for DeepSeek Harness through its published native adapter.",
|
|
620
|
-
version: "0.1.0-alpha.
|
|
620
|
+
version: "0.1.0-alpha.13.dsh.0.2.2.rc.3",
|
|
621
621
|
releaseNotes: "CHANGELOG.md",
|
|
622
622
|
publishConfig: {
|
|
623
623
|
"access": "public",
|
|
@@ -8297,12 +8297,32 @@ const NATIVE_COPILOT = "github-copilot";
|
|
|
8297
8297
|
function record$9(value) {
|
|
8298
8298
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
8299
8299
|
}
|
|
8300
|
+
function plainRecord(value) {
|
|
8301
|
+
if (!record$9(value)) return false;
|
|
8302
|
+
const prototype = Object.getPrototypeOf(value);
|
|
8303
|
+
return prototype === Object.prototype || prototype === null;
|
|
8304
|
+
}
|
|
8305
|
+
/**
|
|
8306
|
+
* Native Config materializes empty template maps at provider, model and override
|
|
8307
|
+
* scope. They do not add template values; supportsStrictMode only controls native
|
|
8308
|
+
* JSON-schema tool conversion, not the credential, endpoint or model protocol.
|
|
8309
|
+
* Qualify these exact shapes without deleting or overriding any native setting.
|
|
8310
|
+
*/
|
|
8311
|
+
function nativeCompat(value) {
|
|
8312
|
+
if (value === void 0) return true;
|
|
8313
|
+
if (!plainRecord(value)) return false;
|
|
8314
|
+
return Reflect.ownKeys(value).every((key) => {
|
|
8315
|
+
if (key === "supportsStrictMode") return typeof value[key] === "boolean";
|
|
8316
|
+
if (key !== "chatTemplateKwargs" && key !== "chatTemplateArgs") return false;
|
|
8317
|
+
const template = value[key];
|
|
8318
|
+
return plainRecord(template) && Reflect.ownKeys(template).length === 0;
|
|
8319
|
+
});
|
|
8320
|
+
}
|
|
8300
8321
|
function customTransport(value) {
|
|
8301
|
-
return [
|
|
8322
|
+
return !nativeCompat(value.compat) || [
|
|
8302
8323
|
"apiKeyEnv",
|
|
8303
8324
|
"baseURL",
|
|
8304
|
-
"headers"
|
|
8305
|
-
"compat"
|
|
8325
|
+
"headers"
|
|
8306
8326
|
].some((key) => {
|
|
8307
8327
|
const field = value[key];
|
|
8308
8328
|
return field !== void 0 && field !== "" && (!record$9(field) || Object.keys(field).length > 0);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-github-copilot",
|
|
3
3
|
"description": "Account-aware GitHub Copilot models for DeepSeek Harness through its published native adapter.",
|
|
4
|
-
"version": "0.1.0-alpha.
|
|
4
|
+
"version": "0.1.0-alpha.13.dsh.0.2.2.rc.3",
|
|
5
5
|
"releaseNotes": "CHANGELOG.md",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public",
|