dsh-github-copilot 0.4.2-alpha.15 → 0.4.2-alpha.16
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/AGENTS.md +7 -6
- package/CHANGELOG.md +8 -0
- package/README.md +20 -6
- package/README.zh.md +19 -6
- package/deployment-baseline.json +45 -23
- package/docs/auto-review-sampling.md +1 -1
- package/docs/official-first-021-alpha4.md +157 -0
- package/lib/client.js +1181 -2699
- package/lib/client.js.map +1 -1
- package/lib/index.js +75 -70
- package/lib/types/compatibility.d.ts +4 -4
- package/package.json +69 -64
- package/lib/types/reasoning-presentation.d.ts +0 -55
package/AGENTS.md
CHANGED
|
@@ -29,9 +29,9 @@ Use native DSH tools for goals, background jobs and scoped subagents. Use local
|
|
|
29
29
|
|
|
30
30
|
## Product and architecture
|
|
31
31
|
|
|
32
|
-
`dsh-github-copilot` currently admits and targets only official DSH
|
|
32
|
+
`dsh-github-copilot` currently admits and targets only official DSH `0.2.1-alpha.4`. Eleven earlier DSH pins remain in `deployment-baseline.json` as historical evidence, not current support or CI release gates. Alpha.4 Desktop artifacts/signatures are unverified; the signed rc.2 Desktop evidence is historical peer ownership only. Rc.2 installations must retain alpha.15 or their existing compatible plugin. It does not own a general Copilot chat adapter. DSH's built-in `llm-pi-ai` mount owns the GitHub Copilot provider, catalog, OAuth method and grant format, token exchange, refresh, and normal model transport.
|
|
33
33
|
|
|
34
|
-
This repository
|
|
34
|
+
This repository maintains twelve narrow surfaces and ownership boundaries:
|
|
35
35
|
|
|
36
36
|
1. A conditional authorization-service bootstrap plus Host controller that joins DSH authorization, credentials, and settings.
|
|
37
37
|
2. A Client Models provider-card contribution with one shared account-state owner, Client-safe Remote descriptors and a nested plugin-owned model-preferences disclosure; embed in an existing configured canonical row, suppress its separate footer controller, and retain footer/old-Core section fallback when no such row is mounted.
|
|
@@ -40,7 +40,7 @@ This repository owns twelve narrow surfaces:
|
|
|
40
40
|
5. Direct provider-hosted search using the same Host-side credential lifecycle.
|
|
41
41
|
6. Provider-scoped tool-schema compatibility for Copilot payload behaviors; Core remains the tool and execution owner.
|
|
42
42
|
7. A bounded account-discovery route that supplies validated endpoint/capability metadata to the published native adapter, including explicit managed Responses sampling compatibility, plus exact plugin-owned model exclusions enforced across its directory, Auto pools and direct admission, without maintaining model-ID routing rules or changing Core's catalog.
|
|
43
|
-
8.
|
|
43
|
+
8. Native alpha.4 Chat owns blank reasoning presentation. The redundant plugin renderer wrapper and historical provenance projection are retired; durable content and encrypted replay metadata remain Core-owned.
|
|
44
44
|
9. Compatibility-only policy restoration and request recovery for existing dedicated planner/executor Sessions. Model roles UI, settings writes and new dedicated roots are retired (#158); never reintroduce them or migrate histories implicitly.
|
|
45
45
|
10. Managed-route estimated input/output admission, optional exact-request pressure signalling through official compaction recovery, supported low summary effort only when no effort is already resolved, and default-off lossless gzip for explicitly opted-in account-proven HTTP Responses requests. See [compaction budgets](./docs/copilot-compaction.md). Preserve truthful capacities, requested output caps, native errors/replay and transaction ownership; no hidden history trimming, wire chunking, competing compaction service or automatic model switch. The separately selected, single-service [recovery engine](./docs/manual-compaction-recovery.md) defaults to automatic segmented recovery for known oversized summaries or one typed native capacity failure through the public subclass hook. Preserve `automaticRecovery: false`, native `auto: false`, scopes and custom engines; at most 16 physical calls including a failed first attempt, no recursive retry or 408/network/auth/quota fallback. Installation alone never selects or migrates an engine.
|
|
46
46
|
11. Optional account quota reads and a session-scoped composer usage control
|
|
@@ -117,7 +117,7 @@ Alpha.25 admits native `subagent/descriptor` v3, already v3 in the retained rc.1
|
|
|
117
117
|
- `src/copilot-grant.ts`, `src/copilot-auth.ts`: strict grant normalization and narrow pi-ai `CredentialStore` adapter; canonical compatibility and explicitly selected account records follow the account-binding contract.
|
|
118
118
|
- `src/client.ts`: `settings.models.provider-card` account UI, a `plugins.bundle.config` provider-routing page with Models/footer/section fallback, and independently managed optional Chat integration.
|
|
119
119
|
- `src/web-search-routing-config.ts`, `src/web-search-routing-card.ts`: plugin-owned cross-provider live routing settings and the plugin-detail control surface. The user-facing page exposes only primary and fallback providers. Routing is stored directly under the existing `github-copilot` settings namespace at `searchRouting`, mutating both leaves via nested paths `['searchRouting', 'searchProvider']` and `['searchRouting', 'defaultSearchProvider']` in one CAS call; legacy separate routing namespaces are read as fallback only. Revisions coordinate between routing and legacy `searchModel` resets so subsequent edits do not false-conflict. Hosted-search safety settings remain schema-owned rather than a routine tuning form. The Models fallback retains routing only.
|
|
120
|
-
- `
|
|
120
|
+
- `tests/fixtures/reasoning-presentation-core.fixture.ts`: native blank-reasoning rendering acceptance and independent Auto/Usage mount evidence. Do not restore the retired plugin renderer/provenance projection or change messages, replay indexes or Usage.
|
|
121
121
|
- `src/remote.ts`: Typert Remote contribution. Never add credential payloads here.
|
|
122
122
|
- `src/copilot-usage-host.ts`, `src/copilot-usage-remote.ts`, `src/copilot-usage-card.ts`, `src/copilot-usage-ui.ts`: bounded Host quota snapshots, an independent strict namespace and reversible composer presentation. No real account fetches in tests, private Client store/DOM injection, quota-specific credential owner or general model wire.
|
|
123
123
|
- `src/context-usage.ts`, `src/context-evidence.ts`,
|
|
@@ -230,8 +230,9 @@ The retained upstream baselines and current qualification target are:
|
|
|
230
230
|
- Official tag `dsh-v0.1.6-alpha.2`, commit `ddefc45fbc7f8e46dd73185e68295696d1297887`.
|
|
231
231
|
- Official tag `dsh-v0.2.0-rc.1`, commit `4878cdabd87d4041bdaff61d04c966883b9fd07a`; the independently verified Windows Desktop feed also identifies `0.2.0-rc.1`.
|
|
232
232
|
- Official tag `dsh-v0.2.0-rc.2`, commit `639ed015397290b3745d163aafe02ffee4aa3f84`; the signed installed Windows Desktop descriptor identifies the rc.2 shared peer graph.
|
|
233
|
+
- Official tag `dsh-v0.2.1-alpha.4`, commit `86a402200d95fecef4529d969836f1fe13c6cb0d`; exact source/npm qualification is separate from unverified candidate Desktop artifacts/signatures.
|
|
233
234
|
|
|
234
|
-
The release admission, development dependency and CI targets are exact official `0.2.
|
|
235
|
+
The release admission, development dependency and CI targets are exact official `0.2.1-alpha.4`; the other eleven pins remain historical evidence only. CI runs unchanged tagged-source and isolated exact published-npm-artifact fixtures on Windows and Linux. Public APIs require pi-ai `1.1.0`, Cordis `4.0.5-alpha.2`, schemastery `3.18.5-alpha.2` and storage-domain-compatible Zod `4.4.3`. The current fixture must await serialized `agent/created`, avoid new synchronous Session-history reads, and preserve MCP/PTC/workflow/Sandbox/Shell/image-offload/Team ownership. Native gateway fixtures bind an explicit public owner Peer and interactive Client carrier; Session-controller fixtures register native resources. Synthetic identities never authorize live access. Historical signed Desktop evidence is not alpha.4 package/signature acceptance. Neither source nor synthetic tests prove live endpoints, plugin activation, publication or loaded runtime state. See [the official-first review](./docs/official-first-021-alpha4.md); this update does not authorize Core implementation rewrites or experimental durable records.
|
|
235
236
|
|
|
236
237
|
These pins document compatibility evidence. They do not authorize creating another controlled Core patch or making one a prerequisite for new plugin fixes.
|
|
237
238
|
|
|
@@ -310,7 +311,7 @@ Then run `pnpm verify:tarball -- artifacts/dsh-github-copilot-<package-version>.
|
|
|
310
311
|
|
|
311
312
|
If the exact frozen install is blocked solely by an enterprise registry or network policy while the repository's GitHub Actions can obtain the unchanged pinned packages from an authorized official registry, record the attempted command and exact environmental failure as **local validation blocked**, not passed. A PR may proceed with that limitation disclosed; the complete required GitHub CI matrix, including its install, tests, build and package checks, is then the authoritative gate before merge. Never weaken or skip CI, substitute dependencies, bypass organizational restrictions, claim unrun local gates succeeded, or tag/release a revision whose required CI is not green. If CI has the same failure, resolve it through approved infrastructure rather than bypassing it.
|
|
312
313
|
|
|
313
|
-
The release CI matrix targets only exact official `0.2.
|
|
314
|
+
The release CI matrix targets only exact official `0.2.1-alpha.4` on Windows and Linux; earlier pins are not support gates. It runs the unchanged tagged-source runtime fixture, optional native Chat fixture, exact published-artifact adapter fixture and all 28 native reviewer regressions without skips. This is a required gate, not evidence that an unexecuted qualification passed. `verify:upstream` is static seam-marker evidence. `verify:controlled-core` exclusively installs a temporary config fixture, refuses an existing target, and removes only its own file; it is not full plugin activation. Published-artifact synthetic adapter fixtures do not prove live provider transport. The release job must wait for the complete reusable CI matrix on the tagged revision, then verify its own packed bytes before publishing.
|
|
314
315
|
|
|
315
316
|
### Evidence and side effects
|
|
316
317
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.2-alpha.16 (prepared)
|
|
4
|
+
|
|
5
|
+
- Target exact official DSH 0.2.1-alpha.4 through unchanged public APIs, pi-ai 1.1.0, Cordis 4.0.5-alpha.2, schemastery 3.18.5-alpha.2 and storage-compatible Zod 4.4.3 (#420). Earlier rc.2 hosts must retain alpha.15; no version exemption or Core patch.
|
|
6
|
+
- Qualify the exact official reviewer package and exported callback, preserving fail-closed ownership, frozen requests and ordinary concurrent Chat. Exercise native dynamic system/tool conversion, noncooperative timeout settlement, account/Remote/compaction/replay and real selector mounting on Windows/Linux.
|
|
7
|
+
- Retire the redundant blank-Thinking renderer wrapper and its plugin-only provenance projection after native alpha.4 rendering demonstrates parity. Retain native settled/running/interrupted presentation acceptance and independent Auto/Usage explanations; never change messages or replay.
|
|
8
|
+
- Retain token-based recovery planning, certified-refresh identity, byte/semantic liveness, Usage ownership and independent diagnostics/gzip consent. Defer experimental durable plugin records; no routing-policy, history, settings or consent migration.
|
|
9
|
+
- Desktop alpha.4 artifacts/signatures, installed/loaded state and live OAuth/model/search remain unverified. This release does not authorize Desktop upgrade, profile installation or restart.
|
|
10
|
+
|
|
3
11
|
## 0.4.2-alpha.15 (prepared)
|
|
4
12
|
|
|
5
13
|
- Plan selected compaction recovery in public native token-meter units rather than comparing UTF-8 bytes directly with token budgets (#418). This prevents false indivisible rejection of long balanced tool spans that fit the planning budget.
|
package/README.md
CHANGED
|
@@ -8,12 +8,22 @@
|
|
|
8
8
|
|
|
9
9
|
GitHub Copilot account discovery, contextual Auto routing and hosted search for DSH. The plugin reuses DSH's published native adapter, retaining a profile-wide account default with independent Session next-turn choices; it does not patch Core or maintain a second model catalog.
|
|
10
10
|
|
|
11
|
-
**Stable release: [`0.4.1`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.1); prepared prerelease: `0.4.2-alpha.
|
|
11
|
+
**Stable release: [`0.4.1`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.1); prepared prerelease: `0.4.2-alpha.16`.** This prerelease targets exact official DSH `0.2.1-alpha.4`; older rc.2 hosts must retain alpha.15 or their existing compatible release. Candidate Desktop artifacts/signatures are not verified, so this is not a Desktop-upgrade recommendation. The stable version remains on npm's `latest` tag; prereleases use `alpha`. Published, installed and loaded states remain separate. `0.4.2-alpha.1` was not published and its immutable tag will not be reused.
|
|
12
12
|
|
|
13
13
|
**Native refresh protection:** 0.4.1 introduced preservation of already-dispatched HTTP streams across proven plugin-owned refresh with unchanged account, endpoint and entitlements. Versions through 0.4.2-alpha.13 still missed this proof across real Cordis traced service faces; 0.4.2-alpha.14 fixes that identity mismatch. Subsequent requests use freshly validated auth and metadata. Unknown/external credential notifications, revocation, cancellation and provider rejections remain explicit—not a promise of invisible recovery or automatic retry. See [the refresh boundary](./docs/copilot-accounts.md#native-oauth-refresh-and-dispatched-requests-385).
|
|
14
14
|
|
|
15
15
|
**Compaction planning:** alpha.15 fixes byte counts being compared with token budgets in the separately selected recovery engine. Planning now uses the public native token meter, preserving complete tool relations and final native admission. Truly oversized balanced units still fail explicitly; this is not history repair or guaranteed recovery. See [compaction recovery](./docs/manual-compaction-recovery.md).
|
|
16
16
|
|
|
17
|
+
**DSH alpha.4 adaptation:** exact public APIs use pi-ai `1.1.0`, the official
|
|
18
|
+
Cordis/schemastery peers and storage-domain's Zod `4.4.3`. The
|
|
19
|
+
[fixed-target official-first review](https://github.com/cloga/dsh-github-copilot/blob/main/docs/official-first-021-alpha4.md)
|
|
20
|
+
records every retain/migrate/retire/defer decision. Alpha.4 natively hides blank
|
|
21
|
+
Thinking disclosures; the redundant plugin renderer and provenance projection
|
|
22
|
+
are retired without changing messages or replay. Exact native reviewer identity,
|
|
23
|
+
dynamic system/tool conversion, replay, account/Remote/compaction and mounted
|
|
24
|
+
selector regressions gate admission. No Core patch, version exemption, new
|
|
25
|
+
wire/catalog, policy migration or durable decision recording is introduced.
|
|
26
|
+
|
|
17
27
|
## What you can do
|
|
18
28
|
|
|
19
29
|
**High-cost Auto:** in **Manage → Model preferences**, mark costly models with
|
|
@@ -131,10 +141,14 @@ Supply any launcher patches with repeated `--patch /absolute/file`. Require `sup
|
|
|
131
141
|
For a **standalone named profile**:
|
|
132
142
|
|
|
133
143
|
```sh
|
|
134
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.
|
|
144
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.16/dsh-github-copilot-0.4.2-alpha.16.tgz
|
|
135
145
|
```
|
|
136
146
|
|
|
137
|
-
|
|
147
|
+
The command above requires official DSH `0.2.1-alpha.4`. **Desktop rc.2 must not install alpha.16**; retain `dsh-github-copilot@0.4.2-alpha.15` there. Candidate Desktop package/signature and profile peer composition remain unverified. The [historical rc.2 bundled-CLI qualification](./docs/npm-distribution.md#desktop-bundled-cli-on-official-rc2) is not alpha.4 acceptance; a generic/global `dsh` shim is not equivalent. No install, restart, registry-policy bypass, peer patch or configuration deletion is authorized by this release.
|
|
148
|
+
|
|
149
|
+
Desktop's native package manager and qualified bundled CLI are profile-specific.
|
|
150
|
+
[Standalone offline maintenance](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles)
|
|
151
|
+
is not a workaround for a Desktop-managed/reserved profile.
|
|
138
152
|
|
|
139
153
|
After an approved reload/restart:
|
|
140
154
|
|
|
@@ -324,14 +338,14 @@ Commit attribution uses `Assisted-by` with the actual tool, never the model prov
|
|
|
324
338
|
GitHub Releases and npm distribute the same original verified tarball. Pin a version; verify Release SHA-256 or npm `dist.integrity`. Never repack an immutable release or move/reuse its tag.
|
|
325
339
|
|
|
326
340
|
```sh
|
|
327
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.
|
|
328
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.
|
|
341
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.16/dsh-github-copilot-0.4.2-alpha.16.tgz
|
|
342
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.16/SHA256SUMS
|
|
329
343
|
sha256sum --check SHA256SUMS
|
|
330
344
|
```
|
|
331
345
|
|
|
332
346
|
```powershell
|
|
333
347
|
$expected = (Get-Content .\SHA256SUMS).Split()[0]
|
|
334
|
-
$actual = (Get-FileHash .\dsh-github-copilot-0.4.2-alpha.
|
|
348
|
+
$actual = (Get-FileHash .\dsh-github-copilot-0.4.2-alpha.16.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
335
349
|
if ($actual -cne $expected) { throw 'Release checksum mismatch' }
|
|
336
350
|
```
|
|
337
351
|
|
package/README.zh.md
CHANGED
|
@@ -8,12 +8,21 @@
|
|
|
8
8
|
|
|
9
9
|
为 DSH 提供 GitHub Copilot 账号模型发现、上下文 Auto 选模和 hosted search。插件复用 DSH 公开的原生适配器,保留 profile 全局默认账号,并支持 Session 后续 turn 指定独立账号;不修改 Core,也不维护第二套模型目录。
|
|
10
10
|
|
|
11
|
-
**稳定版:[`0.4.1`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.1);待发布预览版:`0.4.2-alpha.
|
|
11
|
+
**稳定版:[`0.4.1`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.1);待发布预览版:`0.4.2-alpha.16`。** 此预览版仅针对官方 DSH `0.2.1-alpha.4`;旧 rc.2 宿主须保留 alpha.15 或现有兼容版本。候选 Desktop 制品与签名未核验,因此这不是 Desktop 升级建议。稳定版仍在 npm `latest`,预览版使用 `alpha` 渠道。已发布、已安装、已加载是不同状态。`0.4.2-alpha.1` 未发布,其不可变 tag 不会复用。
|
|
12
12
|
|
|
13
13
|
**原生刷新保护:**0.4.1 引入了窄范围保护:仅在插件拥有的原生刷新被精确验证,且账号、端点与权限连续时,保留已发出的 HTTP 流。但截至 0.4.2-alpha.13,真实 Cordis 服务代理身份不一致仍会导致保护证据匹配失败;0.4.2-alpha.14 修复此问题。后续请求重新验证认证与模型元数据。未知/外部凭据通知、撤销、取消与供应商拒绝仍明确报错,不承诺所有刷新无感,也不自动重试。参见[刷新边界](./docs/copilot-accounts.md#native-oauth-refresh-and-dispatched-requests-385)。
|
|
14
14
|
|
|
15
15
|
**压缩规划:**alpha.15 修复独立选择的恢复引擎将字节数与 token 预算直接比较的问题,改用公开的原生 token meter,保留完整工具关系和最终原生准入。真正超大的配对历史单元仍明确失败;这不是历史修复,也不保证恢复成功。参见[压缩恢复](./docs/manual-compaction-recovery.md)。
|
|
16
16
|
|
|
17
|
+
**DSH alpha.4 适配:**公开 API 对齐 pi-ai `1.1.0`、官方 Cordis/schemastery peer,
|
|
18
|
+
以及 storage-domain 的 Zod `4.4.3`。
|
|
19
|
+
[固定目标的 official-first 调研](https://github.com/cloga/dsh-github-copilot/blob/main/docs/official-first-021-alpha4.md)
|
|
20
|
+
逐项记录保留/迁移/退役/延期决定。alpha.4 原生隐藏空白 Thinking 折叠行,
|
|
21
|
+
因此移除重复的插件 renderer 与来源投影,不改变消息或 replay。
|
|
22
|
+
精确原生 reviewer 身份、动态 system/tool 转换、
|
|
23
|
+
replay、账号/Remote/压缩与真实 selector 挂载回归共同约束准入。
|
|
24
|
+
不修改 Core,不豁免版本,不新增 wire/目录、迁移策略或持久决策记录。
|
|
25
|
+
|
|
17
26
|
## 你可以做什么
|
|
18
27
|
|
|
19
28
|
**高成本 Auto:**在 **Manage → Model preferences** 中用 **High cost** 标记
|
|
@@ -113,10 +122,14 @@ node package/scripts/check-search-composition.mjs --profile-dir /absolute/profil
|
|
|
113
122
|
**独立具名 profile**:
|
|
114
123
|
|
|
115
124
|
```sh
|
|
116
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.
|
|
125
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.16/dsh-github-copilot-0.4.2-alpha.16.tgz
|
|
117
126
|
```
|
|
118
127
|
|
|
119
|
-
|
|
128
|
+
上面的命令要求官方 DSH `0.2.1-alpha.4`。**Desktop rc.2 不得安装 alpha.16**,应保留 `dsh-github-copilot@0.4.2-alpha.15`。候选 Desktop 包/签名及 profile peer 组合仍未核验。[历史 rc.2 随附 CLI 核验](./docs/npm-distribution.md#desktop-bundled-cli-on-official-rc2)不代表 alpha.4 验收;全局/普通 `dsh` shim 不等价。此版本不授权安装、重启、绕过包源政策、修改 peer 或删除配置。
|
|
129
|
+
|
|
130
|
+
Desktop 原生包管理器和已核验的随附 CLI 都有 profile 边界。
|
|
131
|
+
[独立 profile 离线维护](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles)
|
|
132
|
+
不能用来绕过 Desktop 托管/保留 profile 的限制。
|
|
120
133
|
|
|
121
134
|
经批准 reload/restart 后:
|
|
122
135
|
|
|
@@ -303,14 +316,14 @@ Agent 从 `node scripts/agent.mjs describe --json`、`doctor --json`及`plan <ta
|
|
|
303
316
|
GitHub Releases 和 npm 分发同一原始已校验 tarball。固定版本并核验 Release SHA-256 或 npm `dist.integrity`;不重打包不可变 Release、不移动/复用 tag。
|
|
304
317
|
|
|
305
318
|
```sh
|
|
306
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.
|
|
307
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.
|
|
319
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.16/dsh-github-copilot-0.4.2-alpha.16.tgz
|
|
320
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.16/SHA256SUMS
|
|
308
321
|
sha256sum --check SHA256SUMS
|
|
309
322
|
```
|
|
310
323
|
|
|
311
324
|
```powershell
|
|
312
325
|
$expected = (Get-Content .\SHA256SUMS).Split()[0]
|
|
313
|
-
$actual = (Get-FileHash .\dsh-github-copilot-0.4.2-alpha.
|
|
326
|
+
$actual = (Get-FileHash .\dsh-github-copilot-0.4.2-alpha.16.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
314
327
|
if ($actual -cne $expected) { throw 'Release checksum mismatch' }
|
|
315
328
|
```
|
|
316
329
|
|
package/deployment-baseline.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"package": {
|
|
10
10
|
"name": "dsh-github-copilot",
|
|
11
|
-
"version": "0.4.2-alpha.
|
|
11
|
+
"version": "0.4.2-alpha.16"
|
|
12
12
|
},
|
|
13
13
|
"evidence": {
|
|
14
14
|
"kind": "source-and-synthetic-test-inventory",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"platforms": ["windows", "linux"],
|
|
20
20
|
"node": ">=22.19.0",
|
|
21
21
|
"dsh": {
|
|
22
|
-
"release": "0.2.
|
|
23
|
-
"tag": "dsh-v0.2.
|
|
24
|
-
"commit": "
|
|
25
|
-
"developmentRelease": "0.2.
|
|
26
|
-
"admittedReleases": ["0.2.
|
|
27
|
-
"peerRange": "0.2.
|
|
22
|
+
"release": "0.2.1-alpha.4",
|
|
23
|
+
"tag": "dsh-v0.2.1-alpha.4",
|
|
24
|
+
"commit": "86a402200d95fecef4529d969836f1fe13c6cb0d",
|
|
25
|
+
"developmentRelease": "0.2.1-alpha.4",
|
|
26
|
+
"admittedReleases": ["0.2.1-alpha.4"],
|
|
27
|
+
"peerRange": "0.2.1-alpha.4",
|
|
28
28
|
"baselines": [
|
|
29
29
|
{
|
|
30
30
|
"release": "0.1.1-rc.2",
|
|
@@ -224,6 +224,32 @@
|
|
|
224
224
|
"managedProviderValidation": "synthetic-tagged-source-runtime",
|
|
225
225
|
"resolvedProfileDiagnostics": "plugin-owned-empty-modelErrors",
|
|
226
226
|
"runtimeTests": ["tests/preview-route.spec.ts", "tests/published-core.spec.ts", "tests/single-route.spec.ts", "tests/search-routing.spec.ts", "tests/routed-web.spec.ts", "tests/deepseek-search-fallback.spec.ts", "tests/tool-schema-compat.spec.ts", "tests/fixtures/alpha2-contracts-core.fixture.ts", "tests/fixtures/compaction-pressure-core.fixture.ts", "tests/remote-codec.spec.ts", "tests/dual-model-projection.spec.ts", "tests/fixtures/scoped-compaction-core.fixture.ts", "tests/fixtures/model-exclusions-core.fixture.ts", "tests/fixtures/session-context-core.fixture.ts", "tests/fixtures/remote-core.fixture.ts"]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"release": "0.2.1-alpha.4",
|
|
230
|
+
"tag": "dsh-v0.2.1-alpha.4",
|
|
231
|
+
"commit": "86a402200d95fecef4529d969836f1fe13c6cb0d",
|
|
232
|
+
"source": "https://github.com/deepseek-ai/deepseek-harness",
|
|
233
|
+
"desktopRelease": "not-verified",
|
|
234
|
+
"modelsUi": "provider-card",
|
|
235
|
+
"providerHeaders": "fetch-validated-discovery",
|
|
236
|
+
"strictModeCompat": "route-switch",
|
|
237
|
+
"fileContentHelper": "contentHasFile",
|
|
238
|
+
"agentCreation": "awaited-serial-agent-created",
|
|
239
|
+
"sessionHistory": "request-header-and-projections-no-new-sync-history",
|
|
240
|
+
"sessionFormatVersion": 4,
|
|
241
|
+
"strictRemoteCodecs": "create-factories-with-legacy-schema-bridge",
|
|
242
|
+
"roleChildDescriptorVersion": 3,
|
|
243
|
+
"roleChildCacheVersion": 2,
|
|
244
|
+
"roleChildHistory": "unknown-legacy-history-fail-closed",
|
|
245
|
+
"runtimeDependencies": "public-resolution-and-unload",
|
|
246
|
+
"clientSessionContext": "multiple-session-owner-isolation",
|
|
247
|
+
"evidenceScope": "unchanged-tagged-source-target",
|
|
248
|
+
"standaloneNpmArtifacts": "tested",
|
|
249
|
+
"desktopPackageSet": "not-materialized",
|
|
250
|
+
"managedProviderValidation": "synthetic-tagged-source-runtime",
|
|
251
|
+
"resolvedProfileDiagnostics": "plugin-owned-empty-modelErrors",
|
|
252
|
+
"runtimeTests": ["tests/preview-route.spec.ts", "tests/published-core.spec.ts", "tests/single-route.spec.ts", "tests/search-routing.spec.ts", "tests/routed-web.spec.ts", "tests/deepseek-search-fallback.spec.ts", "tests/tool-schema-compat.spec.ts", "tests/fixtures/alpha2-contracts-core.fixture.ts", "tests/fixtures/compaction-pressure-core.fixture.ts", "tests/remote-codec.spec.ts", "tests/dual-model-projection.spec.ts", "tests/fixtures/scoped-compaction-core.fixture.ts", "tests/fixtures/model-exclusions-core.fixture.ts", "tests/fixtures/turn-usage-core.fixture.ts", "tests/fixtures/copilot-accounts-persistence-core.fixture.ts", "tests/fixtures/copilot-accounts-host-core.fixture.ts", "tests/fixtures/copilot-accounts-gateway-core.fixture.ts", "tests/fixtures/copilot-accounts-request-core.fixture.ts", "tests/copilot-stream-liveness.spec.ts", "tests/copilot-stream-adapter.spec.ts", "tests/fixtures/auto-review-copilot-core.fixture.ts", "tests/fixtures/diagnostics-storage-core.fixture.ts", "tests/fixtures/diagnostics-gateway-core.fixture.ts", "tests/fixtures/session-context-core.fixture.ts", "tests/fixtures/remote-core.fixture.ts", "tests/fixtures/alpha4-contracts-core.fixture.ts", "tests/fixtures/copilot-usage-selector-core.fixture.ts"]
|
|
227
253
|
}
|
|
228
254
|
],
|
|
229
255
|
"packages": [
|
|
@@ -249,14 +275,14 @@
|
|
|
249
275
|
"@deepseek-ai/dsh-web-search-deepseek"
|
|
250
276
|
]
|
|
251
277
|
},
|
|
252
|
-
"piAi": "
|
|
278
|
+
"piAi": "1.1.0",
|
|
253
279
|
"runtimeDependencies": {
|
|
254
|
-
"@earendil-works/pi-ai": "
|
|
255
|
-
"zod": "4.
|
|
280
|
+
"@earendil-works/pi-ai": "1.1.0",
|
|
281
|
+
"zod": "4.4.3"
|
|
256
282
|
},
|
|
257
283
|
"sharedPeerDependencies": {
|
|
258
|
-
"@deepseek-ai/dsh-authorization": "0.2.
|
|
259
|
-
"@deepseek-ai/schemastery": "
|
|
284
|
+
"@deepseek-ai/dsh-authorization": "0.2.1-alpha.4",
|
|
285
|
+
"@deepseek-ai/schemastery": "3.18.5-alpha.2"
|
|
260
286
|
},
|
|
261
287
|
"clientExternals": {
|
|
262
288
|
"react": {
|
|
@@ -482,7 +508,7 @@
|
|
|
482
508
|
{"file": "package.json", "marker": "\"external\": ["}
|
|
483
509
|
],
|
|
484
510
|
"tests": [
|
|
485
|
-
{"file": "tests/scripts/desktop-package-graph.test.mjs", "name": "retains historical graphs
|
|
511
|
+
{"file": "tests/scripts/desktop-package-graph.test.mjs", "name": "retains historical graphs without claiming an unverified alpha.4 Desktop graph"},
|
|
486
512
|
{"file": "tests/scripts/desktop-package-graph.test.mjs", "name": "shared graph gate rejects bundled, optional, incompatible, or unaudited host ownership"},
|
|
487
513
|
{"file": "tests/scripts/desktop-package-graph.test.mjs", "name": "client externals stay outside the strict Node peer graph"}
|
|
488
514
|
]
|
|
@@ -986,18 +1012,14 @@
|
|
|
986
1012
|
{
|
|
987
1013
|
"id": "replay-safe-copilot-reasoning-presentation",
|
|
988
1014
|
"required": true,
|
|
989
|
-
"activation": "
|
|
1015
|
+
"activation": "native-alpha4-client-renderer",
|
|
1016
|
+
"owner": "@deepseek-ai/dsh-client-ui-chat",
|
|
990
1017
|
"sourceMarkers": [
|
|
991
|
-
{"file": "
|
|
992
|
-
{"file": "src/reasoning-presentation.ts", "marker": "projectReasoningPresentation"},
|
|
993
|
-
{"file": "src/reasoning-presentation.ts", "marker": "github-copilot-assistant-origin"}
|
|
1018
|
+
{"file": "scripts/verify-upstream-baseline.mjs", "marker": "if (block.text.trim() === '') break"}
|
|
994
1019
|
],
|
|
995
1020
|
"tests": [
|
|
996
|
-
{"file": "tests/
|
|
997
|
-
{"file": "tests/reasoning-presentation.
|
|
998
|
-
{"file": "tests/reasoning-presentation.spec.ts", "name": "retires on any third-party override conflict and resumes only when safe"},
|
|
999
|
-
{"file": "tests/client.spec.ts", "name": "does not delay authorization while the optional reasoning presentation waits for Core services"},
|
|
1000
|
-
{"file": "tests/fixtures/reasoning-presentation-core.fixture.ts", "name": "renders answers and public summaries without the fifteen empty native Think rows"}
|
|
1021
|
+
{"file": "tests/client.spec.ts", "name": "does not delay authorization while optional Auto projections wait for Core services"},
|
|
1022
|
+
{"file": "tests/fixtures/reasoning-presentation-core.fixture.ts", "name": "renders native answers and summaries without blank Thinking disclosures (%s)"}
|
|
1001
1023
|
]
|
|
1002
1024
|
},
|
|
1003
1025
|
{
|
|
@@ -1303,7 +1325,7 @@
|
|
|
1303
1325
|
"id": "dsh-supported-baselines-fail-loud-guard",
|
|
1304
1326
|
"required": true,
|
|
1305
1327
|
"sourceMarkers": [
|
|
1306
|
-
{"file": "src/compatibility.ts", "marker": "peerRange: '0.2.
|
|
1328
|
+
{"file": "src/compatibility.ts", "marker": "peerRange: '0.2.1-alpha.4'"}
|
|
1307
1329
|
],
|
|
1308
1330
|
"tests": [
|
|
1309
1331
|
{"file": "tests/compatibility.spec.ts", "name": "admits only the exact current official release"},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Native Auto reviewer sampling compatibility
|
|
2
2
|
|
|
3
3
|
The plugin automatically omits `temperature` only from the official DSH
|
|
4
|
-
`0.2.0-rc.2` Auto reviewer root's account-proven managed `openai-responses`
|
|
4
|
+
exact `0.2.0-rc.2` or `0.2.1-alpha.4` Auto reviewer root's account-proven managed `openai-responses`
|
|
5
5
|
requests. No user opt-in is required. Concurrent ordinary Chat, even on the same
|
|
6
6
|
Session/model, retains its requested sampling. No supplier capability is inferred
|
|
7
7
|
from `supports.thinking`; the policy addresses the reported unsupported-temperature
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Official-first qualification: DSH 0.2.1-alpha.4
|
|
2
|
+
|
|
3
|
+
## Fixed target and admission
|
|
4
|
+
|
|
5
|
+
Tracking: [#420](https://github.com/cloga/dsh-github-copilot/issues/420),
|
|
6
|
+
consolidating the still-open [alpha.2 review #397](https://github.com/cloga/dsh-github-copilot/issues/397).
|
|
7
|
+
The fixed candidate is official
|
|
8
|
+
[`dsh-v0.2.1-alpha.4`, `86a402200d95fecef4529d969836f1fe13c6cb0d`](https://github.com/deepseek-ai/deepseek-harness/tree/86a402200d95fecef4529d969836f1fe13c6cb0d).
|
|
9
|
+
Facts refreshed on 2026-10-16: the release is a prerelease with no GitHub
|
|
10
|
+
assets; upstream default branch is `master`, then at
|
|
11
|
+
`1517a4dbca0a2789ff1d41ba439600f8547d23fa`. Later upstream changes are not part
|
|
12
|
+
of this qualification. Plugin source started at
|
|
13
|
+
`2d8240c22f59a91881c32027501031fe8d534bb7` (0.4.2-alpha.15).
|
|
14
|
+
|
|
15
|
+
**Exact source/npm target for alpha.16.** Production engines, peers, SDK pin,
|
|
16
|
+
current baseline and release gates move together to alpha.4 following the
|
|
17
|
+
[four-way qualification](https://github.com/cloga/dsh-github-copilot/actions/runs/38907213734).
|
|
18
|
+
The isolated fixture first changed only its own requirements to exact alpha.4
|
|
19
|
+
packages and pi-ai 1.1.0; it neither patched dependencies nor substituted alpha.2.
|
|
20
|
+
Eleven earlier pins remain historical; rc.2 hosts must retain alpha.15.
|
|
21
|
+
The adapter's own `^1.1.0` dependency remains upstream-owned: inspection reports
|
|
22
|
+
its actual resolved SDK separately from the plugin's exact SDK. The bidirectional
|
|
23
|
+
public event-stream type proof must pass against those actual resolutions.
|
|
24
|
+
|
|
25
|
+
Local authorized-registry reads returned `ERR_PNPM_PACKAGE_NOT_FOUND` for both
|
|
26
|
+
`@deepseek-ai/dsh-agent@0.2.1-alpha.4` and
|
|
27
|
+
`@deepseek-ai/dsh-llm-pi-ai@0.2.1-alpha.4`; the adapter version list ended at
|
|
28
|
+
alpha.2. Direct official npm access failed TLS negotiation. These facts do not
|
|
29
|
+
establish worldwide absence. [The first candidate CI](https://github.com/cloga/dsh-github-copilot/actions/runs/38901591104)
|
|
30
|
+
successfully read and downloaded official alpha.4 artifacts on both platforms.
|
|
31
|
+
It exposed real strict peer failures: Cordis `~4.0.5-alpha.2`, Loader
|
|
32
|
+
`~1.0.6-alpha.2` and schemastery `~3.18.5-alpha.2` cannot use the old exact
|
|
33
|
+
development versions. The isolated candidate manifest now aligns those exact
|
|
34
|
+
tagged versions without changing transitive dependencies or disabling strict
|
|
35
|
+
peer checks. No missing-mirror result authorizes rebuilding Core, weakening
|
|
36
|
+
required gates, broadening engines, or using `allow-version`.
|
|
37
|
+
|
|
38
|
+
The next candidate typecheck exposed the public storage-domain schema's exact
|
|
39
|
+
Zod 4.4.3 type versus the plugin's newly resolved Zod 4.6.5 (incompatible
|
|
40
|
+
`_zod.version.minor`). The candidate now pins its own Zod to the official
|
|
41
|
+
storage-domain's exact 4.4.3 contract; no Core dependency is overridden, and
|
|
42
|
+
schema/runtime regressions must still pass. This is API alignment, not a
|
|
43
|
+
registry-failure substitution or a cast around the mismatch.
|
|
44
|
+
|
|
45
|
+
## Executed qualification
|
|
46
|
+
|
|
47
|
+
The fixed candidate workflow on commit `e88acc4` passed all four jobs:
|
|
48
|
+
Windows/Linux, each with unchanged official npm artifacts and (for tagged jobs)
|
|
49
|
+
the complete unchanged official source closure. Each artifact population ran
|
|
50
|
+
2,791 ordinary tests (two expected ordinary skips), three new native adapter
|
|
51
|
+
contracts, four native storage/gateway tests and all 28 reviewer tests, with an
|
|
52
|
+
explicit zero-skipped reviewer assertion. Tagged populations additionally ran
|
|
53
|
+
27 native/adapter suites including account persistence, account/Session
|
|
54
|
+
isolation, CAS, exclusions, parent/Auto, replay/compaction, Usage and the real
|
|
55
|
+
Credits selector mount; no Core tracked file was changed.
|
|
56
|
+
|
|
57
|
+
The new native adapter regressions prove normalized initial/system/deferred-tool
|
|
58
|
+
delivery, unchanged exact effort, undeclared-tool refusal before dispatch and
|
|
59
|
+
bounded TIMEOUT settlement with noncooperative iterator return. Existing native
|
|
60
|
+
and managed replay/Thinking/three-protocol tests remain in the ordinary suites.
|
|
61
|
+
SDK timestamp/duration fields alone are normalized in equivalence assertions.
|
|
62
|
+
This is synthetic runtime evidence, not live supplier acceptance.
|
|
63
|
+
|
|
64
|
+
Failures were resolved rather than skipped: the dual ESM Client carrier maps to
|
|
65
|
+
its public source; native gateway calls bind a public owner Peer with scoped
|
|
66
|
+
teardown, interactive Client events declare `interactions: answer`, and
|
|
67
|
+
Session-controller fixtures register resources. The reviewer now requires a
|
|
68
|
+
synthetic public working-directory service. The mounted Client fixture was
|
|
69
|
+
updated for current account/Session/continuation namespaces; the real selector
|
|
70
|
+
and renderer remain unchanged. The additional production Chat gate exposed a
|
|
71
|
+
new required `useGroupAction` renderer prop and demonstrated that the unchanged
|
|
72
|
+
native renderer already suppresses blank Thinking rows. The redundant plugin
|
|
73
|
+
renderer/provenance projection and obsolete interception tests are retired;
|
|
74
|
+
native settled/running/interrupted rendering remains an explicit gate.
|
|
75
|
+
No test principal, synthetic credential or quota
|
|
76
|
+
read contacts a live service.
|
|
77
|
+
|
|
78
|
+
Local pre-admission rc.2 source/types/build/baseline and focused regression
|
|
79
|
+
checks passed. A full local suite had one compression-fixture timeout; its exact
|
|
80
|
+
16-test suite passed on rerun, and tooling/package checks passed. After production
|
|
81
|
+
manifest alignment, `pnpm install --frozen-lockfile --ignore-scripts` verified the
|
|
82
|
+
unchanged lock but the authorized mirror returned HTTP 404 for
|
|
83
|
+
`@smithy/core@3.36.0`. Local alpha.4 validation is blocked, not passed.
|
|
84
|
+
The lock is metadata generated by the authorized official-registry candidate
|
|
85
|
+
CI, with every production requirement compared exactly before adoption; no
|
|
86
|
+
package blob was proxied and no registry restriction bypassed. Final protected
|
|
87
|
+
production CI remains authoritative before merge/publication.
|
|
88
|
+
|
|
89
|
+
## Evidence method
|
|
90
|
+
|
|
91
|
+
The rc.2 and alpha.4 complete Git trees both report `truncated: false`. File
|
|
92
|
+
hashes, rather than the truncated 300-file compare response, locate changes.
|
|
93
|
+
Exact candidate source was read from the fixed GitHub archive; no Core
|
|
94
|
+
implementation checkout, commit, build or installation was created. Archive
|
|
95
|
+
symlinks unsupported by Windows extraction are not used as evidence.
|
|
96
|
+
|
|
97
|
+
Links below resolve to the fixed candidate. “Complete” means the described
|
|
98
|
+
official source contract exists, not that plugin/runtime qualification passed.
|
|
99
|
+
“Partial” identifies a concrete remaining plugin responsibility. “Unverified”
|
|
100
|
+
is not a finding that upstream lacks the behavior.
|
|
101
|
+
|
|
102
|
+
## Owned-surface decisions
|
|
103
|
+
|
|
104
|
+
| Surface | Official source support and remaining gap | Decision / concrete retirement trigger |
|
|
105
|
+
|---|---|---|
|
|
106
|
+
| Startup and profile composition | **Complete admission contract:** [`plugin-compatibility.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/boot/app-boot/src/plugin-compatibility.ts) prioritizes an own `engines.dsh`; legacy peer fallback does not rescue the rc.2 manifest. Preflight disables incompatible entries. Package reload/resume improvements do not waive admission or prove profile peer resolution. | **Migrate after qualification**, not an exemption or range-only fix. Retain the public conditional authorization bootstrap and ordered bundle preflight until equivalent profile/optional-service tests pass. Signed Desktop shared-peer evidence is a separate gate. |
|
|
107
|
+
| Account isolation, OAuth and certified refresh | **Partial:** [`auth.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/auth.ts) still injects a public `CredentialStore` and serializes refresh through `modifyRecord`; [`login.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/login.ts) addresses provider-derived records. Credential watcher disposal changed, not account/turn freezing or plugin refresh certification. | **Retain** independently authorized plugin records, public Cordis `symbols.original` service identity, one exact notification plus committed-object/readback proof and invalidation fences. Retire only for an official account-bound API with equivalent isolation, refresh and mutation-fence acceptance; never copy canonical grants. |
|
|
108
|
+
| Account metadata, Thinking and exclusions | **Partial:** [`adapter.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/adapter.ts) keeps public profile/provider injection, validates effort and describes supported levels. New UI custom-model effort editing does not prove live Copilot endpoint/capability discovery or exclusion admission. | **Migrate** the isolated SDK bridge to exact 1.1.0 only after source/test types, all three protocols, public summaries, arbitrary metadata IDs, images and two-turn replay pass. **Retain** account-driven descriptors and exact-ID turn-scoped exclusions until official equivalent metadata/admission is proven. No new ID tables or guessed dynamic capabilities. |
|
|
109
|
+
| Auto demand, parent following and review | **Partial:** agent/model-selection ownership remains public; the plugin's demand/category/cost/intent policy is not replaced by native tool authorization review. [`auto-review`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/experimental/auto-review/src/index.ts) still freezes `temperature: 0`. The original rc.2-only identity qualification failed on alpha.4. | **Retain policy** unchanged. **Migrated qualification:** alpha.4 exact package, same-profile import and exported `apply` callback equality pass all 28 native reviewer tests on both source/artifact platforms; identity is never a name/range match alone. Retirement requires official per-request sampling compatibility plus allow/deny/malformed/error/cancel, disposal and concurrent Chat evidence. No routing-policy iteration or durable decisions are authorized here. |
|
|
110
|
+
| Hosted search | **Partial:** public `ctx.web`, current initiating Agent, `GenerateOptions` and native adapter composition remain the boundaries. Changed generic model catalogs do not establish account entitlements, hosted-search proof, or safe final-query retry. | **Retain** bounded proof, explicit search model and account-bound routing, file delegation and one final query. Retire only for an official provider-owned account-scoped equivalent with real initiating-Session/probe/override coverage; source-only equivalence remains unverified. |
|
|
111
|
+
| Dynamic system and tool updates | **Complete native representation / partial managed enablement:** [`context.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/context.ts) converts developer text/tool additions/removals into system updates; [`models.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/models.ts) advertises update modes only from exact compat capabilities. The SDK collection still normalizes the raw context before provider `streamSimple`. No demonstrated prompt/tool loss. | **Delegate native conversion** and test initial prompt, deferred tool addition, exact effort, undeclared-tool refusal and final normalized transcript at the bridge. Do not enable managed mid-conversation capabilities from generic SDK support alone. Retire local schema compatibility only after native Copilot payloads preserve its escalation/action guarantees. |
|
|
112
|
+
| Admission, files, images and replay | **Partial:** native conversion/image-offload remains the owner; [`replay.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/replay.ts) retains version-2 opaque response/block state, adding response model, provider effort and tool namespace fields. Old incompatible envelopes degrade through native diagnostics, not plugin history conversion. | **Retain** final normalized-message token admission, complete tool spans, image media checks and consent-bound outgoing reasoning filtering. Verify new metadata survives native round trips without inspecting/decrypting opaque state. Retire only when native admission expresses the account's distinct prompt/output limits and approved replay policy. No history truncation, fabricated usage or new retry. |
|
|
113
|
+
| Compaction and continuation | **Partial:** all five BasicCompactionEngine files (`config/index/region/summarizer/types`) are byte-identical to rc.2; token-meter `estimate/index/types/turn-usage` are also unchanged. Public compaction service types evolved, but this does not subsume bounded segmented recovery or visible-history consent. | **Retain** alpha.15 native-token planning, balanced tool ranges, bound-preset service lookup, native final admission/transaction commit and at most 16 physical calls. Retirement needs equivalent oversized-summary, typed capacity recovery, cancellation, preset, off-switch and commit evidence. Native `/compact` is not blanket recovery consent. |
|
|
114
|
+
| Liveness and cleanup | **Complete native abandonment fix / partial byte observation:** candidate [`adapter.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/adapter.ts) races `watchdog.next` and detaches `iterator.return` after abort. It no longer awaits a generator queued behind a hung demand. It still observes semantic chunks rather than raw SSE heartbeat bytes. | **Use native cleanup**, with a noncooperative-stream timeout regression. **Retain** separate managed HTTP byte-idle guard, consumer pause/resume and bounded semantic deadline until official raw-byte/consumer timing is equivalent. No extra cancellation owner, fake output or retry is added. |
|
|
115
|
+
| Credits, context evidence and historical Usage | **Partial:** [`TurnUsagePanel.tsx`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/client/ui-chat/src/client/chat/TurnUsagePanel.tsx) and token-meter turn usage are unchanged. Native route attribution remains all-or-nothing; split input stats does not prove the additive plugin docks broke. | **Retain** quota versus context separation, quiet ordinary progress, incident-only notices, complete native accounting and bounded requested/recorded model explanation. Retire only with equivalent native account credits and complete historical evidence, not reconstructed picker state. Missing Usage remains unknown. |
|
|
116
|
+
| Blank Thinking presentation | **Complete native behavior:** [`AssistantMarkdown.tsx`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/client/ui-chat/src/client/chat/AssistantMarkdown.tsx) ignores reasoning whose trimmed text is empty. Actual native rendering produces one public-summary disclosure instead of the old sixteen rows, without the plugin projection. | **Retire** the plugin renderer wrapper, origin projection and obsolete interception tests. Retain native rendering acceptance for empty/whitespace rows, visible answer/public summary and settled/running/interrupted states. No durable data, replay, Usage or independent Auto explanation changes. The concrete retirement trigger is now met, unlike other merely similar native features. |
|
|
117
|
+
| Diagnostics, HTTP 408 and gzip | **Partial:** public [`storage-domain`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/storage/storage-domain/src/index.ts) retains caller-owned domain handles and strict open/error lifecycle. SDK public Fetch/payload observation remains needed; no reviewed source establishes a supplier 408 remedy. | **Retain** independent consent, bounded retention/storage, epoch clear, fixed diagnostics, clone-only 408 evidence, cancellation attribution and opt-in gzip. Retirement needs equivalent content-free public observation and consent semantics; do not change native transport/retries/Usage to collect evidence. Local body-write completion is not supplier receipt. |
|
|
118
|
+
| Client slots and strict Remotes | **Complete declarations / synthetic runtime acceptance:** Models `settings.models.provider-card`, Credits `conversation.composer.dock`, notices `conversation.input.dock` and historical `conversation.chat.assistant-actions` remain in exact source. Actual strict gateways, native account CAS/restart and the built Credits Client under the real selector/renderer now pass; declaration presence alone was insufficient. | **Retain** scoped additive slots, captured namespace identities, strict `create`/schema codecs, explicit viewed Session/turn IDs and native Host lookup. Retire only for an equivalent official account/credits/history surface with matching mount/teardown and isolation coverage. No DOM takeover or retired role UI; synthetic mounting is not live Desktop activation. |
|
|
119
|
+
| Experimental plugin records | **Complete experimental seam / unverified migration:** [`appendPluginRecord` / `pluginRecordOf`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/core/session/src/index.ts#L469-L512) are newly public and ignorable, outside model-visible history. This changes the old “no seam” assessment, not authorization to start recording. | **Defer adoption** as separate reviewed behavior work. Continue bounded Host-lifetime evidence with unknown after restart. Adoption/retirement requires explicit payload, Session/turn, fork/resume, old-reader, rollback and consent review; no new records in this qualification. |
|
|
120
|
+
|
|
121
|
+
Only demonstrated native blank-reasoning presentation retires its redundant
|
|
122
|
+
plugin counterpart; source similarity alone retires nothing else. The native
|
|
123
|
+
cleanup fix is an upstream-owned improvement to verify, not a plugin patch to
|
|
124
|
+
copy. The SDK-free rewrite proposed as a possibility in #397 is not a
|
|
125
|
+
prerequisite: the exact root adapter export still lacks a complete replacement
|
|
126
|
+
for account-bound SDK factories, OAuth and public request hooks.
|
|
127
|
+
|
|
128
|
+
## Acceptance and delivery fence
|
|
129
|
+
|
|
130
|
+
The dedicated qualification workflow was separate from rc.2 release CI. It first
|
|
131
|
+
verified official npm artifact availability on Windows and
|
|
132
|
+
Linux, then prepares an exclusive plugin-only fixture, inspects real public
|
|
133
|
+
class paths and both SDK resolutions, typechecks, and runs the synthetic suites
|
|
134
|
+
and candidate-specific native adapter regressions. Failed or unexecuted stages
|
|
135
|
+
must remain failures/unknown; passing preparation is not runtime qualification.
|
|
136
|
+
|
|
137
|
+
Required delivery evidence after the isolated qualification:
|
|
138
|
+
|
|
139
|
+
- Retain the executed candidate-specific regressions and all existing real account,
|
|
140
|
+
refresh, exclusion, Remote, UI-mount, compaction, diagnostics and reviewer
|
|
141
|
+
fixtures against both unchanged exact tagged source and published artifacts.
|
|
142
|
+
- Preserve the exact reviewer identity proof; no reviewer fixture skips or version-only
|
|
143
|
+
broadening. Align package peers/engines, baseline, Agent contract/verifiers,
|
|
144
|
+
supported CI, SDK pin and both READMEs together. The prepared alpha.16 changes
|
|
145
|
+
do so; the final production matrix must independently pass.
|
|
146
|
+
- Run the full gate, review the diff and merge only through protected green CI.
|
|
147
|
+
Then publish one original archive to GitHub/npm and verify tag/commit,
|
|
148
|
+
prerelease channel, SHA-256 and npm SRI. Do not release an unqualified target.
|
|
149
|
+
|
|
150
|
+
The Windows nightly feed
|
|
151
|
+
`https://download.deepseek.com/dsh-desk/feeds/win-x64/nightly.yml` failed TLS
|
|
152
|
+
negotiation during the earlier exact-target investigation. No candidate
|
|
153
|
+
Desktop artifact/signature, installation, loaded plugin, OAuth, live model,
|
|
154
|
+
hosted search, profile/settings/history migration or runtime health is claimed.
|
|
155
|
+
Source/npm qualification cannot substitute for those layers. #397 must remain
|
|
156
|
+
open until its checklist is either evidenced by #420 or explicitly deferred,
|
|
157
|
+
not blindly closed on consolidation.
|