dsh-github-copilot 0.4.0-alpha.132 → 0.4.0-alpha.134
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 +2 -2
- package/CHANGELOG.md +19 -7
- package/README.md +8 -7
- package/README.zh.md +8 -7
- package/deployment-baseline.json +16 -9
- package/docs/auto-review-sampling.md +60 -0
- package/docs/model-compatibility-acceptance.md +2 -2
- package/docs/official-first-020-rc2.md +1 -1
- package/lib/client.js +1 -1
- package/lib/index.js +200 -102
- package/lib/types/account-model-catalog.d.ts +0 -7
- package/lib/types/auto-review-sampling.d.ts +6 -0
- package/lib/types/config.d.ts +2 -0
- package/lib/types/preview-provider.d.ts +2 -1
- package/lib/types/preview-route.d.ts +1 -1
- package/package.json +2 -1
package/AGENTS.md
CHANGED
|
@@ -115,7 +115,7 @@ Alpha.25 admits native `subagent/descriptor` v3, already v3 in the retained rc.1
|
|
|
115
115
|
accounting. Historical counts never become current occupancy; Core pressure,
|
|
116
116
|
billing and durable events stay under Core ownership.
|
|
117
117
|
- `src/current-provider.ts`: selected DSH route plus installed pi-ai catalog facts.
|
|
118
|
-
- `src/account-model-catalog.ts`, `src/preview-provider.ts`: validated account endpoint/capability descriptors and published adapter composition.
|
|
118
|
+
- `src/account-model-catalog.ts`, `src/preview-provider.ts`: validated account endpoint/capability descriptors and published adapter composition. `responsesOmitTemperature` is an explicit default-off compatibility override for every managed Responses request; no supplier capability metadata is treated as temperature evidence.
|
|
119
119
|
- `src/temporary-models.ts`: exact, account-gated corrections with semantic protocol/capability retirement.
|
|
120
120
|
- `src/model-protocol.ts`: explicit Core capability detection and conservative legacy fallback.
|
|
121
121
|
- `src/responses-reasoning.ts`, `src/responses-reasoning-text.ts`: selected-model effort mapping and public summary assembly.
|
|
@@ -141,7 +141,7 @@ Alpha.25 admits native `subagent/descriptor` v3, already v3 in the retained rc.1
|
|
|
141
141
|
|
|
142
142
|
- Do not implement a second general wire adapter or independently maintained static Copilot model catalog. The account-scoped route composes the published adapter and SDK with validated supplier metadata.
|
|
143
143
|
- Protocol and capability corrections must follow authenticated, current account metadata; new model IDs must not need new implementation tables. Native pi metadata may be reused only where it agrees with advertised endpoints and capabilities. Matching IDs alone do not prove correctness or authorize migration back into another Core catalog. Preserve old bounded ownership journals solely for verified restoration of legacy writes, never for new global protocol overrides.
|
|
144
|
-
- Native Auto review compatibility must preserve Core's frozen request and strict fail-closed verdict ownership.
|
|
144
|
+
- Native Auto review compatibility must preserve Core's frozen request and strict fail-closed verdict ownership. Automatic reviewer-only omission uses the documented public `internal/get` service-read waterfall, exact Loader root ownership and independently imported official rc.2 `apply` callback equality through same-profile `PluginPackages.packageOf` facts. Clone before native `stream` delegation only for account-proven managed Responses. Recheck identity after await and revoke on disposal; aliases, descendants, impostors and unknown package identity remain native with bounded diagnostics. Never activate a second reviewer or use private caches/registries. Missing optional reviewer packages do not block plugin startup. Ordinary concurrent Chat stays unchanged. The separate legacy `github-copilot.responsesOmitTemperature` override defaults off and affects all managed Responses only when explicitly enabled; it is not the automatic reviewer policy or a capability claim. Never infer support from thinking metadata, match reviewer prompts/models/errors, intercept canonical routes, retry/resend, migrate settings, rewrite verdicts or change permissions. See `docs/auto-review-sampling.md`.
|
|
145
145
|
- Solve protocol gaps inside the plugin using existing published extension points. Do not require a new Core capability/service or patch Core to keep a single route. The managed account-model route reuses the published adapter with one shared OAuth grant; label multiple routes honestly. Keep canonical Core models/configuration under their existing owner instead of rewriting them from the companion's pi catalog.
|
|
146
146
|
- Preserve public Responses summaries and the effective selected-model reasoning effort. Never synthesize raw reasoning replay from summaries or read/decrypt opaque replay data; assistant reasoning/replay histories delegate to Core before probing.
|
|
147
147
|
- Do not require or silently support `copilot2api`, an external gateway, a pasted GitHub token, a placeholder key, or `dsh-web-search-provider`.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.4.0-alpha.
|
|
3
|
+
## 0.4.0-alpha.134 (prepared)
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
5
|
+
- Automatically omit temperature only for the authenticated official rc.2 Auto reviewer root calling an account-proven managed Responses route. Ordinary concurrent Chat and other tool listeners retain their sampling; no opt-in or settings migration is required.
|
|
6
|
+
- Qualify the public service-read facade with profile package ownership and independent exported callback equality, before cloning and delegating through the native LLM pipeline. Missing/unknown reviewer identity, aliases, descendants, other protocols and canonical routes remain native. Dispose the plugin-owned listener and revoke delayed reviewer dispatch.
|
|
7
|
+
- Execute native reviewer fixtures explicitly on unchanged source and published artifacts with exact-count/no-skip receipts. Preserve strict verdicts and fail-closed tool denial. Earlier excluded published-fixture selector claims remain retracted; synthetic qualification is not live endpoint evidence.
|
|
8
|
+
- Keep the separate all-managed-Responses override default false and preserve immutable alpha.132/alpha.133 releases. No live settings, installation or restart is included.
|
|
9
|
+
|
|
10
|
+
## 0.4.0-alpha.133 (prepared)
|
|
11
|
+
|
|
12
|
+
- Correct the #374 temperature-compatibility claim: `supports.thinking` does not establish temperature support. Replace inferred omission with the explicit, default-off `github-copilot.responsesOmitTemperature` override.
|
|
13
|
+
- When explicitly enabled, omit temperature from every account-discovered managed Responses request, independent of model metadata or native transport selection. Document the all-request scope and tradeoff; preserve native reviewer fail-closed behavior, frozen options, cancellation and one-attempt semantics. The Core-owned canonical route remains outside scope.
|
|
14
|
+
- Add default-preservation coverage for thinking true/false/absent, opt-in omission coverage for each, dynamic-config/lazy-dispatch and account/cancellation fences, plus unchanged-source native reviewer verdict cases. Synthetic fixtures do not establish supplier semantics or live endpoint success.
|
|
15
|
+
- Preserve the immutable published `0.4.0-alpha.132`; this correction uses a new release version.
|
|
7
16
|
|
|
8
|
-
## 0.4.0-alpha.
|
|
17
|
+
## 0.4.0-alpha.132 (published; inference superseded)
|
|
9
18
|
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
|
|
19
|
+
- This release inferred temperature incompatibility from `capabilities.supports.thinking`. That mapping is unsupported by a verified supplier contract and must not be treated as validated or automatically capability-derived mitigation. The default-off explicit override in alpha.133 replaces it.
|
|
20
|
+
|
|
21
|
+
## 0.4.0-alpha.131 (not published; superseded)
|
|
22
|
+
|
|
23
|
+
- Earlier draft proposed temperature omission based on `capabilities.supports.thinking`; the inference is not supported and was withdrawn in alpha.133.
|
|
24
|
+
- Preserve the unused `v0.4.0-alpha.131` tag after its noncanonical manual annotation was rejected by the protected publication workflow; that version was not published to GitHub Releases or npm and is never moved, reused or repacked.
|
|
13
25
|
|
|
14
26
|
## 0.4.0-alpha.130 (prepared)
|
|
15
27
|
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
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
|
-
**Current release: [`0.4.0-alpha.
|
|
11
|
+
**Current release: [`0.4.0-alpha.134`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.0-alpha.134). Supported host: official DSH / Windows Desktop `0.2.0-rc.2`.** This is still an alpha release, not a stable-channel promotion. Earlier DSH pins are historical evidence, not supported installation targets. Published, installed in a profile and loaded by a running Host are separate states.
|
|
12
12
|
|
|
13
13
|
## What you can do
|
|
14
14
|
|
|
@@ -85,10 +85,10 @@ Supply any launcher patches with repeated `--patch /absolute/file`. Require `sup
|
|
|
85
85
|
For a **standalone named profile**:
|
|
86
86
|
|
|
87
87
|
```sh
|
|
88
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
88
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.134/dsh-github-copilot-0.4.0-alpha.134.tgz
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
For **Desktop**, its native package manager accepts `dsh-github-copilot@0.4.0-alpha.
|
|
91
|
+
For **Desktop**, its native package manager accepts `dsh-github-copilot@0.4.0-alpha.134` after publication. Official rc.2's **Desktop-bundled CLI** also supports reserved-profile plugin management; a global/generic `dsh` shim is not equivalent. Qualify the installed entry before use. See [Desktop CLI qualification](./docs/npm-distribution.md#desktop-bundled-cli-on-official-rc2) and the distinct [standalone offline procedure](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles). Neither path authorizes registry-policy bypass, peer patches or configuration deletion.
|
|
92
92
|
|
|
93
93
|
After an approved reload/restart:
|
|
94
94
|
|
|
@@ -179,7 +179,7 @@ The same failure can include request-scoped native local body-write/header miles
|
|
|
179
179
|
|
|
180
180
|
HTTP/SSE liveness separates five-minute byte idle from bounded ten-minute assistant-output silence by default. Consumer work is excluded; WebSocket/explicit `auto` stays native-only. This does not cure supplier HTTP 408s. Images are admitted against actual native-projected MIME evidence; the plugin does not own conversion or infer format support from filenames. [Image compatibility](./docs/image-input-compatibility.md).
|
|
181
181
|
|
|
182
|
-
Native rc.2 Auto authorization review
|
|
182
|
+
Native rc.2 Auto authorization review requests `temperature: 0`. The plugin now automatically omits it **only for the authenticated official Auto reviewer root on account-discovered managed OpenAI Responses**; no switch is needed. Concurrent ordinary Chat, even on the same Session/model, retains its temperature. Public Loader callback identity and same-profile package ownership authenticate the caller; unknown identity, aliases, descendants, other protocols/providers and canonical Core-owned Copilot remain native, with bounded diagnostics for unqualified reviewer scope. No capability is inferred from `supports.thinking`. Frozen inputs, native account/cancellation guards, strict verdicts and fail-closed tool denial remain intact; no retries, permission changes or settings migration occur. The independent legacy `github-copilot.responsesOmitTemperature` override remains default `false`; explicit `true` still omits temperature from **all** managed Responses requests, not just review. See [public scope and qualification limits](./docs/auto-review-sampling.md).
|
|
183
183
|
|
|
184
184
|
## Settings and troubleshooting
|
|
185
185
|
|
|
@@ -195,6 +195,7 @@ Configuration is under `github-copilot`. Credentials, endpoint definitions and a
|
|
|
195
195
|
| `chatStreamLiveness` | `true` | Managed HTTP/SSE byte observation |
|
|
196
196
|
| `chatStreamIdleTimeoutMs` | `300000` | Byte-idle deadline; separate from search |
|
|
197
197
|
| `responsesRequestCompression` | `false` | Experimental lossless gzip for eligible managed HTTP Responses requests |
|
|
198
|
+
| `responsesOmitTemperature` | `false` | Explicitly omit temperature from every managed Responses request |
|
|
198
199
|
| `chatMaxRequestImageBytes` | `20971520` | Native 20 MiB outgoing-image budget, not a total JSON limit |
|
|
199
200
|
| `requestBudgetSafetyTokens` | `4096` | Estimated input safety allowance |
|
|
200
201
|
| `requestBudgetPressureRatio` | `0.9` | Early pressure with supported enabled recovery |
|
|
@@ -261,14 +262,14 @@ Commit attribution uses `Assisted-by` with the actual tool, never the model prov
|
|
|
261
262
|
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.
|
|
262
263
|
|
|
263
264
|
```sh
|
|
264
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
265
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
265
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.134/dsh-github-copilot-0.4.0-alpha.134.tgz
|
|
266
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.134/SHA256SUMS
|
|
266
267
|
sha256sum --check SHA256SUMS
|
|
267
268
|
```
|
|
268
269
|
|
|
269
270
|
```powershell
|
|
270
271
|
$expected = (Get-Content .\SHA256SUMS).Split()[0]
|
|
271
|
-
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.
|
|
272
|
+
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.134.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
272
273
|
if ($actual -cne $expected) { throw 'Release checksum mismatch' }
|
|
273
274
|
```
|
|
274
275
|
|
package/README.zh.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
为 DSH 提供 GitHub Copilot 账号模型发现、上下文 Auto 选模和 hosted search。插件复用 DSH 公开的原生适配器,保留 profile 全局默认账号,并支持 Session 后续 turn 指定独立账号;不修改 Core,也不维护第二套模型目录。
|
|
10
10
|
|
|
11
|
-
**当前发布:[`0.4.0-alpha.
|
|
11
|
+
**当前发布:[`0.4.0-alpha.134`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.0-alpha.134)。支持宿主:官方 DSH / Windows Desktop `0.2.0-rc.2`。** 仍为 alpha 版本,未升级为稳定发布通道。较早 DSH pin 仅是历史证据,不是当前安装目标。已发布、已安装到 profile、已被运行中的 Host 加载,是三个不同状态。
|
|
12
12
|
|
|
13
13
|
## 你可以做什么
|
|
14
14
|
|
|
@@ -76,10 +76,10 @@ node package/scripts/check-search-composition.mjs --profile-dir /absolute/profil
|
|
|
76
76
|
**独立具名 profile**:
|
|
77
77
|
|
|
78
78
|
```sh
|
|
79
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
79
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.134/dsh-github-copilot-0.4.0-alpha.134.tgz
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
**Desktop** 原生包管理器在发布后接受 `dsh-github-copilot@0.4.0-alpha.
|
|
82
|
+
**Desktop** 原生包管理器在发布后接受 `dsh-github-copilot@0.4.0-alpha.134`。官方 rc.2 **Desktop 随附的专属 CLI**也支持管理保留 profile;全局/普通 `dsh` shim 不等价。使用前核验实际安装入口,参见[Desktop CLI 核验](./docs/npm-distribution.md#desktop-bundled-cli-on-official-rc2)及独立的[具名 profile 离线流程](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles)。两种路径都不授权绕过包源政策、修改 peer 或删除配置。
|
|
83
83
|
|
|
84
84
|
经批准 reload/restart 后:
|
|
85
85
|
|
|
@@ -170,7 +170,7 @@ Copilot 搜索要求当前账号/协议证据及能力 proof。固定/fallba
|
|
|
170
170
|
|
|
171
171
|
HTTP/SSE liveness 默认区分 5 分钟字节 idle 和有界的 10 分钟助手输出静默,排除消费者工作;WebSocket/显式 `auto`仍仅使用原生路径。这不修复供应方 HTTP 408。图片按原生实际投影 MIME 证据准入;插件不负责转换,也不按文件名猜格式支持。[图片兼容](./docs/image-input-compatibility.md)。
|
|
172
172
|
|
|
173
|
-
原生 rc.2 Auto
|
|
173
|
+
原生 rc.2 Auto 授权审查以 `temperature: 0` 请求模型。插件现在**仅对身份已验证的官方 Auto reviewer 根上下文、账号发现的托管 OpenAI Responses 请求自动省略此参数**,无需开启开关。同一 Session/模型的并发普通 Chat 仍保留 temperature。身份由公开 Loader 回调与同 profile 包归属共同验证;未知身份、别名、子上下文、其它协议/供应方以及 Core 所有的 canonical Copilot 保持原生行为,未验证的 reviewer 范围只报告有界诊断。不会从 `supports.thinking` 推断兼容性。冻结输入、账号/取消约束、严格 verdict 和失败关闭的工具拒绝保持不变;没有重试、权限变更或设置迁移。独立的旧兼容覆盖项 `github-copilot.responsesOmitTemperature` 仍默认 `false`;显式 `true` 才影响**所有**托管 Responses 请求,不限于 review。参见[公开范围与验证限制](./docs/auto-review-sampling.md)。
|
|
174
174
|
|
|
175
175
|
## 设置与排障
|
|
176
176
|
|
|
@@ -186,6 +186,7 @@ HTTP/SSE liveness 默认区分 5 分钟字节 idle 和有界的 10 分钟助手
|
|
|
186
186
|
| `chatStreamLiveness` | `true` | 托管 HTTP/SSE 字节观察 |
|
|
187
187
|
| `chatStreamIdleTimeoutMs` | `300000` | 字节 idle 期限,与搜索独立 |
|
|
188
188
|
| `responsesRequestCompression` | `false` | 实验性托管 HTTP Responses 无损 gzip |
|
|
189
|
+
| `responsesOmitTemperature` | `false` | 从每个托管 Responses 请求显式省略 temperature |
|
|
189
190
|
| `chatMaxRequestImageBytes` | `20971520` | 原生 20 MiB 出站图片预算,非总 JSON 上限 |
|
|
190
191
|
| `requestBudgetSafetyTokens` | `4096` | 估算输入安全余量 |
|
|
191
192
|
| `requestBudgetPressureRatio` | `0.9` | 启用受支持恢复时的提前压力 |
|
|
@@ -252,14 +253,14 @@ Agent 从 `node scripts/agent.mjs describe --json`、`doctor --json`及`plan <ta
|
|
|
252
253
|
GitHub Releases 和 npm 分发同一原始已校验 tarball。固定版本并核验 Release SHA-256 或 npm `dist.integrity`;不重打包不可变 Release、不移动/复用 tag。
|
|
253
254
|
|
|
254
255
|
```sh
|
|
255
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
256
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
256
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.134/dsh-github-copilot-0.4.0-alpha.134.tgz
|
|
257
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.134/SHA256SUMS
|
|
257
258
|
sha256sum --check SHA256SUMS
|
|
258
259
|
```
|
|
259
260
|
|
|
260
261
|
```powershell
|
|
261
262
|
$expected = (Get-Content .\SHA256SUMS).Split()[0]
|
|
262
|
-
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.
|
|
263
|
+
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.134.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
263
264
|
if ($actual -cne $expected) { throw 'Release checksum mismatch' }
|
|
264
265
|
```
|
|
265
266
|
|
package/deployment-baseline.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"package": {
|
|
10
10
|
"name": "dsh-github-copilot",
|
|
11
|
-
"version": "0.4.0-alpha.
|
|
11
|
+
"version": "0.4.0-alpha.134"
|
|
12
12
|
},
|
|
13
13
|
"evidence": {
|
|
14
14
|
"kind": "source-and-synthetic-test-inventory",
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
{"file": "tests/config.spec.ts", "name": "keeps managed Responses request compression default-off and boolean-only"},
|
|
718
718
|
{"file": "tests/preview-provider.spec.ts", "name": "preserves published-adapter JSON and usage across identity and gzip encoding"},
|
|
719
719
|
{"file": "tests/preview-provider.spec.ts", "name": "keeps caller-owned Fetch unchanged and does not resend a gzip 415 response"},
|
|
720
|
-
{"file": "tests/preview-provider.spec.ts", "name": "rechecks the request/account fence
|
|
720
|
+
{"file": "tests/preview-provider.spec.ts", "name": "rechecks the request/account fence with both opt-ins and never dispatches revoked work"},
|
|
721
721
|
{"file": "tests/preview-provider.spec.ts", "name": "keeps native %s transport when the option is enabled"},
|
|
722
722
|
{"file": "tests/preview-provider.spec.ts", "name": "sends gzip with correct framing through Node Fetch"},
|
|
723
723
|
{"file": "tests/preview-provider.spec.ts", "name": "keeps original JSON for replay-scope checks after gzip without retiring the account"},
|
|
@@ -920,18 +920,25 @@
|
|
|
920
920
|
]
|
|
921
921
|
},
|
|
922
922
|
{
|
|
923
|
-
"id": "managed-auto-review-
|
|
923
|
+
"id": "managed-auto-review-temperature-override",
|
|
924
924
|
"required": true,
|
|
925
925
|
"sourceMarkers": [
|
|
926
|
-
{"file": "src/
|
|
927
|
-
{"file": "src/preview-provider.ts", "marker": "
|
|
926
|
+
{"file": "src/config.ts", "marker": "responsesOmitTemperature: z.boolean().default(false)"},
|
|
927
|
+
{"file": "src/preview-provider.ts", "marker": "guard.responsesOmitTemperature === true"},
|
|
928
|
+
{"file": "src/index.ts", "marker": "ctx.effect(() => installAutoReviewSampling(ctx))"},
|
|
929
|
+
{"file": "src/auto-review-sampling.ts", "marker": "module.apply === fiber.runtime.callback"},
|
|
930
|
+
{"file": "vitest.auto-review-published.config.ts", "marker": "passWithNoTests: false"},
|
|
928
931
|
{"file": "scripts/verify-tagged-core.mjs", "marker": "tests/fixtures/auto-review-copilot-core.fixture.ts"}
|
|
929
932
|
],
|
|
930
933
|
"tests": [
|
|
931
|
-
{"file": "tests/
|
|
932
|
-
{"file": "tests/preview-provider.spec.ts", "name": "
|
|
933
|
-
{"file": "tests/preview-provider.spec.ts", "name": "
|
|
934
|
-
{"file": "tests/
|
|
934
|
+
{"file": "tests/config.spec.ts", "name": "keeps managed Responses temperature omission default-off and boolean-only"},
|
|
935
|
+
{"file": "tests/preview-provider.spec.ts", "name": "applies explicit Responses omission=%s independently of thinking metadata %j"},
|
|
936
|
+
{"file": "tests/preview-provider.spec.ts", "name": "preserves default Responses temperature regardless of thinking metadata %j"},
|
|
937
|
+
{"file": "tests/preview-route.spec.ts", "name": "reads temperature omission from dynamic config at lazy native stream dispatch"},
|
|
938
|
+
{"file": "tests/fixtures/auto-review-copilot-core.fixture.ts", "name": "omits temperature with explicit opt-in without weakening the %s verdict boundary"},
|
|
939
|
+
{"file": "tests/fixtures/auto-review-copilot-core.fixture.ts", "name": "activates reviewer-only sampling through the actual plugin Host entry"},
|
|
940
|
+
{"file": "tests/fixtures/auto-review-copilot-core.fixture.ts", "name": "uses the native initiator and frozen Session account without a reviewer sessionId"},
|
|
941
|
+
{"file": "tests/loader-composition.spec.ts", "name": "starts and disposes without an optional native reviewer package or package resolver"}
|
|
935
942
|
]
|
|
936
943
|
},
|
|
937
944
|
{
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Native Auto reviewer sampling compatibility
|
|
2
|
+
|
|
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`
|
|
5
|
+
requests. No user opt-in is required. Concurrent ordinary Chat, even on the same
|
|
6
|
+
Session/model, retains its requested sampling. No supplier capability is inferred
|
|
7
|
+
from `supports.thinking`; the policy addresses the reported unsupported-temperature
|
|
8
|
+
reviewer rejection, not a claim about all supplier models.
|
|
9
|
+
|
|
10
|
+
## Public ownership proof
|
|
11
|
+
|
|
12
|
+
At official commit `639ed015397290b3745d163aafe02ffee4aa3f84`:
|
|
13
|
+
|
|
14
|
+
- `vendor/cordis/src/events.ts:344-345` documents the exported `internal/get`
|
|
15
|
+
service-read waterfall, including the calling Context.
|
|
16
|
+
- `vendor/cordis/src/fiber.ts:9-13` exports `Context.fiber`;
|
|
17
|
+
`vendor/cordis/src/registry.ts:135-142` documents the public runtime callback as
|
|
18
|
+
executable identity.
|
|
19
|
+
- `vendor/loader/src/index.ts:52-54` exports `Fiber.entry`;
|
|
20
|
+
`vendor/loader/src/config/entry.ts:46-50,221-234` exposes the entry's root fiber
|
|
21
|
+
and imports the configured plugin; `config/tree.ts:10,112-124` exposes its
|
|
22
|
+
resolution context and importer.
|
|
23
|
+
- `packages/boot/app-boot/src/profile-resolution/service.ts:17-35,90-105`
|
|
24
|
+
publishes profile-aware `PluginPackages.packageOf` package ownership.
|
|
25
|
+
|
|
26
|
+
The plugin requires exact entry-root equality, the official package/version,
|
|
27
|
+
matching manifest ownership in the Loader tree and plugin import contexts, and
|
|
28
|
+
independently imported public `apply` equality with the caller's runtime callback.
|
|
29
|
+
It rechecks root/liveness after asynchronous resolution. Names alone are not
|
|
30
|
+
identity. Importing the public module does not apply/register another reviewer.
|
|
31
|
+
|
|
32
|
+
A reversible plugin-owned facade delegates every exposed service property except
|
|
33
|
+
scoped `stream` unchanged. For a proven managed Responses route, it clones the
|
|
34
|
+
frozen caller options and omits temperature before native normalization/dispatch.
|
|
35
|
+
There is no source-option WeakSet, prompt/error/model-name matching, shared
|
|
36
|
+
prototype mutation, new wire, retry, verdict rewrite or permission change.
|
|
37
|
+
Native account/initiator routing and cancellation remain owners of request access.
|
|
38
|
+
Plugin disposal revokes its listener and in-flight scoped dispatch.
|
|
39
|
+
|
|
40
|
+
## Scope and evidence limits
|
|
41
|
+
|
|
42
|
+
Canonical Core-owned Copilot, other providers/protocols, aliases, descendants,
|
|
43
|
+
impostor callbacks and unresolved identity remain native. Unqualified reviewer
|
|
44
|
+
identity reports bounded fixed-code Host diagnostics, not a broad omission
|
|
45
|
+
fallback. Missing optional reviewer packages do not prevent ordinary startup.
|
|
46
|
+
Future official versions need qualification; the exact rc.2 check is intentional.
|
|
47
|
+
|
|
48
|
+
The independent legacy `responsesOmitTemperature` setting remains default false.
|
|
49
|
+
Explicit true still changes **all** managed Responses sampling; it is not needed
|
|
50
|
+
for this automatic reviewer-only policy and is not silently enabled or migrated.
|
|
51
|
+
|
|
52
|
+
The fixture uses the unchanged native reviewer, LLM normalization and adapter with
|
|
53
|
+
synthetic credentials/metadata/HTTP responses. Published artifacts exercise the
|
|
54
|
+
actual native Loader importer; tagged source uses the public-export TypeScript
|
|
55
|
+
fixture resolver. Both runners explicitly include the reviewer fixture and reject
|
|
56
|
+
missing, skipped or wrong-count suites. Canonical/other-provider negatives use
|
|
57
|
+
test-owned native adapter stubs, not live canonical transport. No qualification
|
|
58
|
+
claim proves live supplier acceptance, installed/loaded state or paid inference.
|
|
59
|
+
The earlier published `.fixture.ts` CLI filter was excluded by the ordinary
|
|
60
|
+
`.spec.ts` include; its execution claims remain retracted on issues #374/#378.
|
|
@@ -14,14 +14,14 @@ Follow the [plugin-only boundary](../AGENTS.md#plugin-only-implementation-bounda
|
|
|
14
14
|
4. **One credential lifecycle.** All plugin-owned routes share the canonical Host-only Copilot OAuth record. Model discovery, refresh and in-flight requests remain bound to the same account generation. Account switches, entitlement removal, disposal and stale callbacks must fail closed without copying credentials or changing other providers.
|
|
15
15
|
5. **Thinking is included.** Preserve public summary deltas and final-only summaries without duplicate text. Validate selected effort and keep native default semantics. Empty or encrypted-only responses must not become fabricated explanations. Native replay, images and file projection retain their owning adapter's behavior; opaque replay is not displayed or rewritten into raw reasoning text.
|
|
16
16
|
6. **Current pi 0.87.1 compatibility.** The original acceptance target was 0.85.1; official DSH rc.2 now depends on `^0.87.1`. Pin and test the exact published SDK version, not just a GitHub release label. Its Copilot GPT-6 catalog protocol must not override contrary provider endpoint evidence. An updated catalog entry is not sufficient grounds to retire a correction if the protocol/capabilities are still wrong.
|
|
17
|
-
7. **
|
|
17
|
+
7. **Do not infer temperature support from reasoning metadata.** No verified supplier contract establishes that `capabilities.supports.thinking` means temperature is unsupported or supported. Automatic reviewer-only omission requires authenticated exact official rc.2 root callback identity through the public service-read/Loader/profile package seams and account-proven managed Responses metadata. Clone before native delegation, preserve concurrent ordinary Chat and reject unqualified identity without broad fallback. Test actual Host startup/disposal and the unchanged native reviewer/LLM/adapter pipeline, with explicit nonzero/no-skip fixture collection. The independent `github-copilot.responsesOmitTemperature` override remains default false; explicit true affects all managed Responses. Preserve frozen options, cancellation, other protocols/providers and canonical ownership. Never use prompt/model/error matching, retry a rejection, rewrite a verdict or change permissions. See [the exact public proof and limitations](./auto-review-sampling.md); previously excluded fixture execution claims stay retracted.
|
|
18
18
|
|
|
19
19
|
## Regression evidence
|
|
20
20
|
|
|
21
21
|
- Include GPT-6 Astra, Gemini 3.8 Flash and GPT-5.6 Sol Fast metadata fixtures, plus arbitrary unseen IDs on all three supported protocols. The unseen-ID cases must pass without adding those IDs to implementation tables.
|
|
22
22
|
- Cover missing/conflicting endpoints, missing/invalid limits, duplicate conflicting IDs, explicit denial, stale account snapshots, unsupported reasoning labels, unknown fields and hostile extra getters.
|
|
23
23
|
- Exercise real published adapter/SDK code against local synthetic HTTP for all supported protocols, including tools, public summaries, two-turn opaque replay, images and interruption/retry paths. Synthetic results are not claims of live account availability.
|
|
24
|
-
- The exact pinned rc.2 source trace must retain the reviewer's frozen `temperature: 0` request with no `purpose`/`sessionId`. Run that unchanged native reviewer through the managed route and real pi-ai serializer:
|
|
24
|
+
- The exact pinned rc.2 source trace must retain the reviewer's frozen `temperature: 0` request with no `purpose`/`sessionId`. Run that unchanged native reviewer through the managed route and real pi-ai serializer: default-off preserves temperature for thinking `true`, `false`, or absent; explicit opt-in omits it for each value without mutating caller input. Cover allow, deny, malformed verdict, HTTP error and cancellation with one wire attempt; only allow may execute the synthetic tool. Qualify the fixture against tagged source and exact published artifacts. Synthetic metadata proves no supplier temperature semantics.
|
|
25
25
|
- Verify managed request-body timeout guidance only for the observed HTTP `408`, exact `user_request_timeout` code and request-body message. Bound clone reads to 8 KiB/250 ms, retain the original native response, and expose only fixed guidance plus final string-body UTF-8 bytes. Preserve failure code, retry metadata, cancellation, unchanged retry payloads and independent dispatches. Do not reclassify 408 as overflow, invent a safe byte threshold, change client timeouts, refresh OAuth, compact automatically or promise elimination of upstream failures.
|
|
26
26
|
- Verify byte-aware managed HTTP/SSE liveness through unchanged published and tagged adapters: heartbeat bytes may cross the original semantic deadline before actual output, but endless heartbeat-only output must hit the bounded native deadline. Real header/body stalls retain the original interval and a dispatch-local TIMEOUT; consumer think time, caller/credential cancellation, exact bytes, parser ownership and one native wire attempt remain unchanged. Explicit WebSocket/auto and opt-out retain native-only behavior. Preserve the 20 MiB native image budget by default; explicit smaller budgets must use native offload and retain mapped read-only paths/history, never hidden trimming or a claimed supplier threshold. These synthetic cases do not attest production heartbeat activity or cure HTTP 408.
|
|
27
27
|
- Run source/test typechecks, complete repository tests, built Host/Client/Remote smoke, archive verification, and relevant unchanged-Core compatibility fixtures. Do not suppress type or test failures to bridge incompatible SDK versions.
|
|
@@ -9,7 +9,7 @@ The sole admitted target is official [`dsh-v0.2.0-rc.2`](https://github.com/deep
|
|
|
9
9
|
| Surface | Official support / remaining gap | Decision and retirement trigger |
|
|
10
10
|
|---|---|---|
|
|
11
11
|
| Native model adapter and SDK | Published [`@deepseek-ai/dsh-llm-pi-ai@0.2.0-rc.2`](https://registry.npmjs.org/@deepseek-ai/dsh-llm-pi-ai/-/dsh-llm-pi-ai-0.2.0-rc.2.tgz) depends on pi-ai `^0.87.1`. The native SDK now passes branded `TranscriptContext` to providers, with prompt and tools folded into system messages. | **Migrate** the plugin-owned provider bridge and estimated admission to exact pi-ai `0.87.1`; count each normalized message as a lower bound even when earlier usage anchors omit changed prefixes. Retain native transport and the same stream object. Retire this bridge only when official account-scoped metadata and admission preserve these contracts. |
|
|
12
|
-
| Native Auto authorization review | rc.2 `classifyRisk` is strictly fail-closed but freezes `temperature: 0` into an unscoped public `ctx.llm.stream` request; pi-ai forwards every defined Responses temperature
|
|
12
|
+
| Native Auto authorization review | rc.2 `classifyRisk` is strictly fail-closed but freezes `temperature: 0` into an unscoped public `ctx.llm.stream` request; pi-ai forwards every defined Responses temperature. No verified supplier contract establishes that `supports.thinking` determines temperature compatibility. | **Retain a default-off explicit plugin override** on the managed account-discovered Responses route: `github-copilot.responsesOmitTemperature` omits temperature from every managed Responses request only when configured true. This can mitigate the reported reviewer error but changes request semantics for all requests on that protocol. Preserve the Core request, parser, cancellation, one attempt and nonmanaged routes. Never auto-enable from metadata; canonical Core-owned routes remain outside scope. Retire when a verified supplier contract or official adapter provides truthful per-request sampling compatibility and exact-source qualification preserves deny/malformed/error/cancel behavior. |
|
|
13
13
|
| Profile bundle patches | Public `bundlePatchPaths` accepts a bundle's string or ordered array of patches. Signed rc.2 `dsh-web-app` lists five patches, whereas the old plugin preflight accepted only one string. | **Migrate** read-only preflight to the published resolver and compose every patch in order, rejecting malformed manifests and unsupported routing. Retire only after an official installer provides equivalent fail-closed structural admission. |
|
|
14
14
|
| Models UI, authorization, Remote, Session and search | Published rc.2 package entrypoints and inspected public seams retain the rc.1 forms. The official rc.2 UI-agent-preset removes its `developerTools` injection, which this plugin does not use. | **Retain** the public Host/Client/Remote integrations and their guarded ownership. Retirement requires verified official equivalent behavior plus migration and runtime acceptance; lack of a new public seam is not evidence of complete parity. |
|
|
15
15
|
| Desktop package graph | Signed descriptor has the current shared peers; pi-ai and Zod are not shared Host packages. The bundled adapter resolves pi-ai 0.87.1 and Zod separately. | **Retain** required Host peers and Client external React; do not copy bundled dependencies or patch Core. Recheck effective profile resolution before Desktop installation because a stale profile-local Host peer may shadow the bundle. |
|
package/lib/client.js
CHANGED
|
@@ -6988,7 +6988,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6988
6988
|
};
|
|
6989
6989
|
//#endregion
|
|
6990
6990
|
//#region package.json
|
|
6991
|
-
var version = "0.4.0-alpha.
|
|
6991
|
+
var version = "0.4.0-alpha.134";
|
|
6992
6992
|
//#endregion
|
|
6993
6993
|
//#region lib/types/diagnostics-client.js
|
|
6994
6994
|
let owner;
|