dsh-github-copilot 0.4.0-alpha.130 → 0.4.0-alpha.133

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 CHANGED
@@ -39,7 +39,7 @@ This repository owns twelve narrow surfaces:
39
39
  4. Preserve intentional absence of `llm-pi-ai.providers.github-copilot`; reconcile only existing legacy profiles and verified ownership journals. Fresh installations use the single account-discovered route; existing profiles require explicit migration, never silent removal.
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
- 7. A bounded account-discovery route that supplies validated endpoint/capability metadata to the published native adapter, 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.
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
43
  8. Optional, provider-scoped Chat presentation for completed empty reasoning disclosures; 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.
@@ -115,6 +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. `responsesOmitTemperature` is an explicit default-off compatibility override for every managed Responses request; no supplier capability metadata is treated as temperature evidence.
118
119
  - `src/temporary-models.ts`: exact, account-gated corrections with semantic protocol/capability retirement.
119
120
  - `src/model-protocol.ts`: explicit Core capability detection and conservative legacy fallback.
120
121
  - `src/responses-reasoning.ts`, `src/responses-reasoning-text.ts`: selected-model effort mapping and public summary assembly.
@@ -140,6 +141,7 @@ Alpha.25 admits native `subagent/descriptor` v3, already v3 in the retained rc.1
140
141
 
141
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.
142
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. `github-copilot.responsesOmitTemperature` defaults off; when explicitly enabled, omit temperature from every plugin-owned managed Responses options object, independently of model metadata. This is a compatibility override, not a capability claim. Never match reviewer prompts, model names or errors, intercept the canonical Core route, retry/resend, auto-enable/migrate the setting, rewrite a verdict or change permission policy.
143
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.
144
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.
145
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,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0-alpha.133 (prepared)
4
+
5
+ - 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.
6
+ - 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.
7
+ - 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.
8
+ - Preserve the immutable published `0.4.0-alpha.132`; this correction uses a new release version.
9
+
10
+ ## 0.4.0-alpha.132 (published; inference superseded)
11
+
12
+ - 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.
13
+
14
+ ## 0.4.0-alpha.131 (not published; superseded)
15
+
16
+ - Earlier draft proposed temperature omission based on `capabilities.supports.thinking`; the inference is not supported and was withdrawn in alpha.133.
17
+ - 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.
18
+
3
19
  ## 0.4.0-alpha.130 (prepared)
4
20
 
5
21
  - Add explicit offline analysis for a caller-selected persisted diagnostics unit or reviewed aggregate view (#368). Bound reads, reject unsafe/changed inputs, and write strict reports only to a new explicitly selected local file.
package/README.md CHANGED
@@ -8,26 +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
- The [account requirements and design](./docs/copilot-accounts.md) cover
12
- independent official authorizations in the existing credentials service.
13
- **Models → Manage → GitHub accounts** manages authorizations and the global default.
14
- Inside **Credits**, choose a saved account for this Session's subsequent turns or
15
- restore **Follow global default**. Running turns retain their original account.
16
- Selector-only switching permits their account-bound model preparation and
17
- dispatch to continue; unbound requests and credential mutations remain fenced.
18
- Identity display accepts GitHub Enterprise Managed User names, including their underscore-separated enterprise suffixes.
19
-
20
- Models and Chat share an opaque, theme-aware account dropdown; translucent native menu tokens cannot reveal underlying controls or quota text. Both use restrained dark elevation in light and dark mode.
21
-
22
- Plugin-owned Models, account, preferences and settings controls use DSH's native font family, setting/caption hierarchy, neutral control radii and keyboard focus treatment. Compact provider actions stay aligned with native Edit; Manage actions no longer stretch across the row. These presentation changes do not change authorization, model preferences or continuation policy.
23
-
24
- Visible-history continuation no longer rejects entire requests at 16 MiB. It processes only bounded encrypted reasoning, yields to cancellation, and preserves ordinary tool/image content. Real token pressure still uses the enabled native automatic-compaction engine and request rebuild; processing limits are not context overflow. See [continuation boundaries](./docs/session-continuation.md).
25
-
26
- Visible Models and Credits resolve missing names for saved accounts without activating them. Verified names remain cached for the Host lifetime, including inactive accounts; the ten-minute freshness interval governs revalidation, not name display. Credential changes, removal and failed identity verification invalidate names. Shared per-account requests and a thirty-second failure cooldown remain; explicit refresh retries immediately. Names do not prove authorization or model access. See [account lifecycle](./docs/copilot-accounts.md).
27
-
28
- Adding an account now keeps the device-authorization link, selectable URL, one-time code, Copy code action and Cancel together while authorization is pending. After GitHub authorizes, identity and model verification are shown as a separate phase. Adding never changes the global default; use the existing explicit **Switch** action when ready. Technical diagnostics are secondary, and account/turn identity fallbacks never expose opaque account IDs or infer historical identity from today's settings.
29
-
30
- **Package version: `0.4.0-alpha.130` (prepared). Supported host: official DSH / Windows Desktop `0.2.0-rc.2`.** Earlier DSH pins are historical evidence, not supported installation targets. Publication, profile installation and the version loaded by a running Host are separate states. Verify the published Release and assets before using the versioned commands below; these instructions do not prove publication or installation.
11
+ **Current release: [`0.4.0-alpha.133`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.0-alpha.133). 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.
31
12
 
32
13
  ## What you can do
33
14
 
@@ -60,10 +41,18 @@ separate confirmation. Client/Host populations, uncovered paths and
60
41
  reporting/storage gaps remain explicit. Descriptive counts are not reconstructed
61
42
  history, failure rates or proof of an improvement.
62
43
 
44
+ To analyze an explicitly qualified file from a built package or source checkout:
45
+
46
+ ```sh
47
+ node scripts/analyze-diagnostics.mjs --input "ABSOLUTE_UNIT_FILE.json" --mode persisted-unit --profile-name "PROFILE_NAME" --output "NEW_LOCAL_REPORT.json"
48
+ ```
49
+
50
+ Replace the placeholders with the reviewed file/profile and a new absolute output path. For a reviewed aggregate view export, use `--mode reviewed-view` without `--profile-name`. [Read qualification and interpretation limits](./docs/plugin-diagnostics.md#explicit-offline-analysis-368) explain the accepted envelope, bounds and persisted-only evidence; no daily schedule is included.
51
+
63
52
  | Task | Where to start |
64
53
  |---|---|
65
54
  | Sign in and manage account models | **Settings → Models → GitHub Copilot → Sign in** |
66
- | Add or switch GitHub accounts | **Manage → GitHub accounts**; managed-only profiles |
55
+ | Add or switch GitHub accounts | **Manage → Account management → Switch**; managed-only profiles |
67
56
  | Select this Session's next-turn account | **Credits → Switch account**; saved authorizations only |
68
57
  | Exclude or restore individual models | **Manage → Model preferences** |
69
58
  | Choose models automatically | Pick **Auto · Balance**, **Auto · Efficiency** or **Auto · Intelligence** |
@@ -71,15 +60,15 @@ history, failure rates or proof of an improvement.
71
60
  | Choose primary/fallback search providers | **Plugin details → Web search** |
72
61
  | Read account Credits and context evidence | Copilot Session composer; native Turn Usage stays separate |
73
62
 
74
- ![Account controls and model preferences from the published Client](./docs/images/copilot-model-preferences.png)
63
+ ![Current built Client account controls and model preferences](./docs/images/copilot-model-preferences.png)
75
64
 
76
- Actual published Client components with synthetic models in an isolated browser. This screenshot demonstrates presentation, not live sign-in, model availability, search or loaded Desktop state.
65
+ Current alpha.130 built Client components in an isolated browser, with synthetic accounts and models. Manage contains account controls, continuation defaults and model preferences, including High cost. This is presentation evidence, not live sign-in, model availability or loaded Desktop proof.
77
66
 
78
67
  ![Switching between saved GitHub accounts in Models](./docs/images/copilot-accounts.png)
79
68
 
80
- ![Read-only current GitHub identity in Credits](./docs/images/copilot-accounts-credits.png)
69
+ ![Session account selection and account-wide quota in Credits](./docs/images/copilot-accounts-credits.png)
81
70
 
82
- The account images show the earlier account-management components with synthetic accounts and quota in an isolated browser. The current Session switcher is inside Credits; these images show account management and identity presentation, not real authorization, supplier availability, live account data or loaded Desktop state.
71
+ These captures use the same current built components and synthetic identities/quota. Models changes the global default; Credits changes only this Session's subsequent turns. They do not show real accounts or billing data. [Capture provenance](./docs/images/copilot-current-provenance.json) accompanies the images.
83
72
 
84
73
  ## Install and sign in
85
74
 
@@ -96,10 +85,10 @@ Supply any launcher patches with repeated `--patch /absolute/file`. Require `sup
96
85
  For a **standalone named profile**:
97
86
 
98
87
  ```sh
99
- dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.130/dsh-github-copilot-0.4.0-alpha.130.tgz
88
+ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.133/dsh-github-copilot-0.4.0-alpha.133.tgz
100
89
  ```
101
90
 
102
- For **Desktop**, its native package manager accepts `dsh-github-copilot@0.4.0-alpha.130` 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.
91
+ For **Desktop**, its native package manager accepts `dsh-github-copilot@0.4.0-alpha.133` 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.
103
92
 
104
93
  After an approved reload/restart:
105
94
 
@@ -109,23 +98,19 @@ After an approved reload/restart:
109
98
 
110
99
  Sign-out requires an explicit action and removes only the active account's authorization, not other saved grants or route settings. Upgrades preserve existing native Copilot profiles; two groups can remain until [explicit single-route migration](./docs/single-route-migration.md). Installation never migrates conversations or defaults.
111
100
 
112
- In **Manage → GitHub accounts**, adding an account never replaces the global default. During device authorization, the card keeps the verification link and selectable URL, one-time code, **Copy authorization code**, and **Cancel adding account** together. Once authorization succeeds, the card separately verifies identity and available models; a completed addition is still not a default switch. Diagnostic codes remain in a collapsed technical-details disclosure. **Refresh account information** renews identity only; it does not complete or cancel authorization. A confirmed switch changes future inherited turns, not running turns or explicit Session overrides. **Credits → Switch account** persists a choice only for this Session's subsequent turns; **Follow global default** clears it. Explicitly choosing today's default still remains a Session override. Native-route or incomplete evidence blocks account switching. The new account may not offer your selected model, and old encrypted replay may be account-bound: no automatic model substitution or history removal occurs. **Reauthorize** renews the same saved identity; **Remove** deletes only an inactive saved authorization and cannot mutate a running turn's pinned account. Missing/revoked accounts never fall back.
101
+ In **Manage → Account management**, the **Switch** dropdown lists saved accounts and **Add GitHub account** at the bottom. Adding never replaces the global default. During device authorization, the card keeps the verification URL, one-time code, **Copy authorization code** and **Cancel adding account** together; identity/model verification follows separately. A confirmed switch changes future inherited turns, not running turns or explicit Session overrides. **Manage saved authorizations** contains **Reauthorize** and **Remove**; removal affects only a nondefault saved authorization, never a running turn's pinned account or GitHub-side access. **Refresh account information** updates identity, not authorization. Native-route or incomplete evidence blocks switching; missing/revoked accounts never fall back. A new account may lack your selected model, and encrypted replay may be account-bound: no automatic model substitution or history removal occurs. See [account requirements](./docs/copilot-accounts.md).
113
102
 
114
103
  Completed managed turns show **Account** beside native Usage. It records the request account, not billing or subagent totals. A verified name is frozen at admission; if missing, an existing bounded non-forcing lookup for that exact account runs without delaying model delivery and can fill identity only while the same turn remains active. No account evidence exists before native delivery. Missing identity remains unavailable; completed history is never backfilled from current settings. Evidence is bounded to the Host lifetime; restart, cold history or missing delivery displays unknown. Credits labels an unidentified original or saved authorization without displaying opaque account IDs.
115
104
 
116
- Account eligibility reads official rc.2 SettingsForms values, without requiring the retired settings `get()` API. Missing or malformed configuration remains incomplete evidence; upgrading does not bypass native-route or activity restrictions.
117
-
118
- **Global switch waiting:** Models shows metadata first and hydrates identity names independently; background name checks do not lock Switch when route/activity evidence permits it. Fresh identity and model validation overlap, but both must succeed before CAS and strict readback. Failures cancel/drain outstanding preflight without retry; identity-cache display never authorizes switching. The confirmed account result is not discarded when parent callbacks change, and late name reads cannot roll it back. This is separate from Session **Follow global default**, and does not remove necessary network checks or establish live millisecond savings.
119
-
120
- `COPILOT_ACCOUNTS_BUSY` is reevaluated from current activity, not retained after work ends. The authorization-in-progress state is presented as progress rather than a terminal busy error; unrelated unknown blockers remain unknown. Use **Refresh account information** to update the open card after relevant work settles. If only the active account is listed, first **Add GitHub account**; **Switch** appears beside another saved account.
105
+ Saved account names can load without activating the account. Names are cached for the Host lifetime, invalidated by credential changes or failed verification, and never prove authorization or model access. A global switch requires fresh identity/model validation and confirmed settings persistence. If switching is blocked, let authorization or pinned work settle and use **Refresh account information**; unknown route/activity evidence remains a blocker. The dropdown, not a button beside each saved account, is the selection control.
121
106
 
122
107
  **Desktop lifecycle:** disable/remove/upgrade can require a full cold restart for Web service recomposition. If the plugin is Off and the native manager reports only `pending (waiting for service: web)`, do not repeatedly toggle or reinstall. Obtain restart approval and follow [rc.2 lifecycle guidance](./docs/web-lifecycle-rc2.md).
123
108
 
124
109
  ## Auto and model preferences
125
110
 
126
- **Saving preferences:** Exclude/Restore and High cost reuse their confirmed narrow save result without a status/model refresh or redundant final settings traversal. Equivalent parent snapshots preserve pending and locally confirmed edits. Other rows remain usable: up to 32 distinct-row edits can wait, marked **Waiting…**, while exactly one is **Saving…**. No change is shown as saved before native CAS readback. An unconfirmed outcome or changed preference scope cancels unsent edits; **Retry** reads saved settings without replaying writes or discovering models. The queue is not persistent and does not survive unmount.
111
+ **Saving preferences:** Exclude/Restore and High cost save immediately with confirmed settings readback. Other rows remain usable: up to 32 distinct-row edits can wait, marked **Waiting…**, while one is **Saving…**. An unconfirmed result or changed scope cancels unsent edits; **Retry** reads saved settings without replaying writes. The queue does not survive unmount.
127
112
 
128
- **Provider-directory load failures:** native Models `llm/listProviders failed: Failed to fetch` is a Client-to-Host/gateway transport failure, not proof of forced Copilot model discovery. Use the native page's **Retry** after the connection recovers. The plugin does not intercept that Core-owned request, replace it with stale/empty success, or claim this save optimization repairs transport availability. Synthetic checks prove reduced work and responsive sequencing, not measured live latency.
113
+ **Provider-directory load failures:** native Models `llm/listProviders failed: Failed to fetch` is a Client-to-Host/gateway transport failure, not proof of forced Copilot discovery. Use the native page's **Retry** after the connection recovers; the plugin does not substitute a stale or empty catalog.
129
114
 
130
115
  All three Auto preferences use the same account-verified, non-excluded eligible pool. Hard input/image capability checks run before soft task preferences.
131
116
 
@@ -136,7 +121,7 @@ All three Auto preferences use the same account-verified, non-excluded eligible
136
121
  | Complex | Powerful | Powerful | Powerful |
137
122
  | Unknown | Versatile | Versatile | Powerful |
138
123
 
139
- Categories come from authenticated supplier metadata, not model names, context capacity or measured quality rankings. A suitable previous model is retained; otherwise the plugin uses stable equal-weight allocation within the eligible category. Category fallback is explained explicitly. One real model stays fixed throughout each admitted turn's steps, retries and compaction.
124
+ Categories come from authenticated supplier metadata, not model names, context capacity or measured quality rankings. Within the first fitting category, positive cost weights and the finite continuity bonus described above choose the model; a suitable previous model is not unconditionally retained. Category fallback is explained explicitly. One real answer model stays fixed throughout each admitted turn's steps and retries; compaction preserves its independently resolved native summary route.
140
125
 
141
126
  Semantic assessment is **enabled by default only for locally unknown tasks**. It makes at most one bounded auxiliary call with an **8-second end-to-end deadline** and **128-token output budget**. Set `github-copilot.autoSemanticAssessment: false` to opt out. Timeout/invalid output leaves demand unknown and uses the preference fallback; it never means simple or triggers another classifier. Caller cancellation and account invalidation remain terminal. Auxiliary calls add latency and supplier charges outside native answer Usage.
142
127
 
@@ -156,6 +141,8 @@ Explicit Auto intent survives native pending-selection consumption and cold rest
156
141
 
157
142
  ![Current parent-following and Web search controls](./docs/images/copilot-search-routing.png)
158
143
 
144
+ Current alpha.130 built plugin-detail page with synthetic settings/providers and paused, empty diagnostics. No search, collection or live service was invoked for this capture.
145
+
159
146
  **Follow parent model** defaults Off and applies profile-wide to supported native children/Team mates of managed Copilot parents. Fixed parents apply on each child's next turn; Auto parents pass the exact preference while each child evaluates its own context. Child-owned explicit selections win. Running turns, roots, forks, other providers and dedicated legacy policies are not rewritten. Existing legacy bindings remain independent when the broad switch is Off. [Parent-following contract](./docs/parent-model-follow.md).
160
147
 
161
148
  **Web search** has two ordinary controls: primary provider and final fallback. Auto follows the initiating Chat provider when a corresponding search registration exists; fixed choices stay fixed when Chat changes. At most one distinct final fallback is tried, with possible charges disclosed. Cancellation/account-proof loss never authorizes a fallback.
@@ -192,6 +179,8 @@ The same failure can include request-scoped native local body-write/header miles
192
179
 
193
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).
194
181
 
182
+ Native rc.2 Auto authorization review asks its selected route with `temperature: 0`. No verified supplier contract establishes that `capabilities.supports.thinking` determines temperature support; that metadata is not used for this decision. The explicit compatibility override `github-copilot.responsesOmitTemperature` defaults to `false`. Set it to `true` only when you choose to omit temperature from **all** account-discovered managed OpenAI Responses requests, regardless of native transport; it may address the reported reviewer 400 but also changes temperature semantics for ordinary chat and other requests on that managed protocol. It has no effect on Chat Completions, Anthropic Messages or the canonical Core-owned Copilot route. The plugin does not enable or migrate this setting automatically. The frozen reviewer request, strict verdict parser, cancellation and fail-closed tool denial remain unchanged; errors are not retried. See [model compatibility acceptance](./docs/model-compatibility-acceptance.md).
183
+
195
184
  ## Settings and troubleshooting
196
185
 
197
186
  Configuration is under `github-copilot`. Credentials, endpoint definitions and a static model catalog are not plugin settings.
@@ -206,6 +195,7 @@ Configuration is under `github-copilot`. Credentials, endpoint definitions and a
206
195
  | `chatStreamLiveness` | `true` | Managed HTTP/SSE byte observation |
207
196
  | `chatStreamIdleTimeoutMs` | `300000` | Byte-idle deadline; separate from search |
208
197
  | `responsesRequestCompression` | `false` | Experimental lossless gzip for eligible managed HTTP Responses requests |
198
+ | `responsesOmitTemperature` | `false` | Explicitly omit temperature from every managed Responses request |
209
199
  | `chatMaxRequestImageBytes` | `20971520` | Native 20 MiB outgoing-image budget, not a total JSON limit |
210
200
  | `requestBudgetSafetyTokens` | `4096` | Estimated input safety allowance |
211
201
  | `requestBudgetPressureRatio` | `0.9` | Early pressure with supported enabled recovery |
@@ -228,7 +218,7 @@ Configuration is under `github-copilot`. Credentials, endpoint definitions and a
228
218
 
229
219
  Confirmed account saves restore controls immediately, independently of quota loading. Changing only follow mode for the same account retains its attributed quota without another read. Switching accounts clears the old quota and loads the new snapshot without blocking further account edits; quota errors do not undo a confirmed selection.
230
220
 
231
- The Credits account panel shows the current account and **Switch**. Its dropdown lists only configured accounts, marks the effective account and scrolls long lists internally. **Follow global default** is a separate checkbox: enabling it clears the Session override; disabling it fixes the current account. Choosing any account also fixes it, even if it is today's default. Both actions retain continuation confirmation and revision-checked saving. Account addition belongs only in Models, where one **Manage** disclosure contains account management and shared model preferences. Models retains Add in its dropdown footer without selecting the new account, plus guarded local removal and reauthorization. Neither surface has account search. Exact-ID exclusions are shared across accounts; availability is account-specific. See the [approved experience and interactive mock](./docs/account-management-experience.md).
221
+ The Credits account panel shows the current account and **Switch account**. Its dropdown lists only configured accounts, marks the effective account and scrolls long lists internally. **Follow global default** is a separate checkbox: enabling it clears the Session override; disabling it fixes the current account. Choosing any account also fixes it, even if it is today's default. Both actions retain continuation confirmation and revision-checked saving. Account addition belongs only in Models, where one **Manage** disclosure contains account management and shared model preferences. Models retains Add in its dropdown footer without selecting the new account, plus guarded local removal and reauthorization. Neither surface has account search. Exact-ID exclusions are shared across accounts; availability is account-specific. See the [approved experience and interactive mock](./docs/account-management-experience.md).
232
222
 
233
223
  [Visible-history continuation](./docs/session-continuation.md) is configured beside account switching, not permanently above the composer. New unseeded Sessions default on after the feature's first successful activation; existing Sessions and inherited histories remain off unless explicitly authorized. Global defaults affect new Sessions only; Session on/off overrides persist across accounts/restarts until disabled. With continuation off, a different-account switch offers persistent enable, keep off or cancel, without a one-turn mode. Each new enabled turn omits prior encrypted reasoning and embedded summaries, even on the same account; current-turn reasoning, visible messages, tools and disk history remain unchanged. Authorization never auto-sends/retries and is not a quota/context cure. Exact replay failures expose the same policy and require a separate native retry. The pinned Core lacks a public Models deep link; Chat omits the nonfunctional management entry. Full management remains in Settings → Models → GitHub Copilot → Manage.
234
224
 
@@ -236,7 +226,7 @@ Context evidence and Replay recovery use compact, centered notices bounded by th
236
226
 
237
227
  ## Ownership and further reading
238
228
 
239
- DSH Core owns Sessions, tools, sandboxing, attachments, native accounting and other providers. `llm-pi-ai` owns OAuth, token exchange/refresh and normal model transport. This plugin composes the published adapter with authenticated account metadata; new supported account model IDs need no name-based routing patch. Credentials stay Host-only under `llm-pi-ai/github-copilot`.
229
+ DSH Core owns Sessions, tools, sandboxing, attachments, native accounting and other providers. `llm-pi-ai` owns OAuth, token exchange/refresh and normal model transport. This plugin composes the published adapter with authenticated account metadata; new supported account model IDs need no name-based routing patch. Credentials stay Host-only: `llm-pi-ai/github-copilot` is the canonical compatibility record; additional accounts are independently authorized plugin-owned records in the same DSH credentials service, never copied grants.
240
230
 
241
231
  Public APIs cannot replace Core Edit/Delete, restructure its flat picker or make native Add a single-route enforcement mechanism. Retired [Model roles](./docs/dual-model.md) remain compatibility-only. Fixes must stay [plugin-only](./AGENTS.md#plugin-only-implementation-boundary).
242
232
 
@@ -272,14 +262,14 @@ Commit attribution uses `Assisted-by` with the actual tool, never the model prov
272
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.
273
263
 
274
264
  ```sh
275
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.130/dsh-github-copilot-0.4.0-alpha.130.tgz
276
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.130/SHA256SUMS
265
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.133/dsh-github-copilot-0.4.0-alpha.133.tgz
266
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.133/SHA256SUMS
277
267
  sha256sum --check SHA256SUMS
278
268
  ```
279
269
 
280
270
  ```powershell
281
271
  $expected = (Get-Content .\SHA256SUMS).Split()[0]
282
- $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.130.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
272
+ $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.133.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
283
273
  if ($actual -cne $expected) { throw 'Release checksum mismatch' }
284
274
  ```
285
275
 
package/README.zh.md CHANGED
@@ -8,23 +8,7 @@
8
8
 
9
9
  为 DSH 提供 GitHub Copilot 账号模型发现、上下文 Auto 选模和 hosted search。插件复用 DSH 公开的原生适配器,保留 profile 全局默认账号,并支持 Session 后续 turn 指定独立账号;不修改 Core,也不维护第二套模型目录。
10
10
 
11
- [账号需求与技术方案](./docs/copilot-accounts.md)说明如何在现有凭据服务中
12
- 分别保存独立官方授权。**模型 → Manage → GitHub accounts**管理授权和全局默认;
13
- 在 Credits 内选择本 Session 后续 turn 的账号,或恢复跟随全局默认;正在运行的 turn 保持原账号。
14
- 仅切换全局选择期间,已绑定账号的模型准备和发送可以继续;未绑定请求及授权记录变更仍受锁保护。
15
- 身份展示支持 GitHub 企业托管账号,包括带下划线企业后缀的用户名。
16
-
17
- Models 和 Chat 共用不透明、随主题适配的账号下拉层;原生菜单 token 即使半透明,也不会透出底下的按钮或额度文字。明暗主题均使用克制的深色投影,不产生白色光晕。
18
-
19
- 插件的 Models、账号、模型偏好和设置控件统一使用 DSH 原生字体、设置/辅助文字层级、中性圆角及键盘焦点样式。紧凑操作与原生 Edit 对齐;Manage 内的操作按钮不再铺满整行。这些外观调整不会改变授权、模型偏好或降级续聊策略。
20
-
21
- 可见历史续聊不再按整包 16 MiB 拒绝请求。过滤只对加密推理做有界、可取消的处理,普通工具输出和图片内容保持不变。真实 token 压力仍交给已启用的原生自动 compact 引擎,完成摘要后重建请求;处理工作量上限不会被误报为上下文溢出。参见[续聊边界](./docs/session-continuation.md)。
22
-
23
- 可见的 Models 和 Credits 会补齐已保存账号缺失的名称,不需要先激活账号。已验证名称在 Host 生命周期内缓存,未激活账号也会保留;十分钟是重新验证的间隔,不是名字的显示期限。凭据变更、账号移除及身份验证失败会使名称失效。同账号共享请求、失败冷却三十秒,显式刷新可立即重试。名称不能证明授权有效或模型可用。参见[账号生命周期](./docs/copilot-accounts.md)。
24
-
25
- 添加账号时,设备授权链接、可选择的网址、一次性授权码、复制授权码和取消操作会同时显示。GitHub 授权完成后,会单独显示身份与可用模型验证阶段。添加账号不会更改全局默认;准备好后仍需显式执行现有的**切换**操作。技术诊断收在次级折叠区;账号/历史 turn 缺少身份时不会暴露不透明账号 ID,也不会根据当前设置推断历史身份。
26
-
27
- **包版本:`0.4.0-alpha.130`(准备中)。支持宿主:官方 DSH / Windows Desktop `0.2.0-rc.2`。** 较早 DSH pin 仅是历史证据,不是当前安装目标。已发布、已安装到 profile、已被运行中的 Host 加载,是三个不同状态。执行下方带版本的命令前须核验正式发布与资产;这些说明不证明已发布或已安装。
11
+ **当前发布:[`0.4.0-alpha.133`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.0-alpha.133)。支持宿主:官方 DSH / Windows Desktop `0.2.0-rc.2`。** 仍为 alpha 版本,未升级为稳定发布通道。较早 DSH pin 仅是历史证据,不是当前安装目标。已发布、已安装到 profile、已被运行中的 Host 加载,是三个不同状态。
28
12
 
29
13
  ## 你可以做什么
30
14
 
@@ -48,10 +32,18 @@ Models 和 Chat 共用不透明、随主题适配的账号下拉层;原生菜
48
32
  暂停保留证据,清除需单独确认。Client/Host 分开统计,未覆盖路径、报告丢失与存储
49
33
  故障明确显示。描述性计数不是历史重建、错误率,也不表示优化效果已被验证。
50
34
 
35
+ 在已构建的包或源码 checkout 内,显式分析已核验的文件:
36
+
37
+ ```sh
38
+ node scripts/analyze-diagnostics.mjs --input "ABSOLUTE_UNIT_FILE.json" --mode persisted-unit --profile-name "PROFILE_NAME" --output "NEW_LOCAL_REPORT.json"
39
+ ```
40
+
41
+ 请把占位符替换为经审阅的文件/profile 和新的绝对输出路径。分析经审阅的聚合视图导出时,使用 `--mode reviewed-view`,不传 `--profile-name`。[读取核验与解释限制](./docs/plugin-diagnostics.md#explicit-offline-analysis-368)说明格式、边界及仅持久化证据的含义;不包含每日定时任务。
42
+
51
43
  | 任务 | 入口 |
52
44
  |---|---|
53
45
  | 登录并管理账号模型 | **设置 → 模型 → GitHub Copilot → Sign in** |
54
- | 添加/切换 GitHub 账号 | **Manage → GitHub accounts**;仅限托管路由 profile |
46
+ | 添加/切换 GitHub 账号 | **Manage → 账号管理 → 切换**;仅限托管路由 profile |
55
47
  | 指定本 Session 后续 turn 的账号 | **Credits → Switch account**;仅选择已保存授权 |
56
48
  | 排除/恢复单个模型 | **Manage → Model preferences** |
57
49
  | 自动选择模型 | 选择 **Auto · Balance / Efficiency / Intelligence** |
@@ -59,15 +51,15 @@ Models 和 Chat 共用不透明、随主题适配的账号下拉层;原生菜
59
51
  | 设置搜索主 provider 与最终 fallback | **插件详情 → Web search** |
60
52
  | 查看账号 Credits 与上下文证据 | Copilot 会话输入框;原生 Turn Usage 独立保留 |
61
53
 
62
- ![已发布 Client 的账号控件与模型偏好](./docs/images/copilot-model-preferences.png)
54
+ ![当前构建 Client 的账号控件与模型偏好](./docs/images/copilot-model-preferences.png)
63
55
 
64
- 图片来自实际已发布 Client 组件和隔离浏览器中的模拟模型,仅说明界面,不证明真实登录、模型可用性、搜索或 Desktop 已加载。
56
+ 当前 alpha.130 构建的真实 Client 组件,运行于隔离浏览器,账号与模型均为模拟。Manage 包含账号控件、续聊默认值和模型偏好(包括 High cost)。图片仅说明界面,不证明真实登录、模型可用性或 Desktop 已加载。
65
57
 
66
58
  ![在 Models 中切换已保存的 GitHub 账号](./docs/images/copilot-accounts.png)
67
59
 
68
- ![Credits 中只读展示当前 GitHub 身份](./docs/images/copilot-accounts-credits.png)
60
+ ![Credits 中的会话账号选择与账号周期额度](./docs/images/copilot-accounts-credits.png)
69
61
 
70
- 账号图片来自较早的账号管理组件和隔离浏览器中的模拟账号及额度。当前 Session 切换入口位于 Credits 内;这些图片仅说明账号管理与身份展示,不证明真实授权、供应方可用性、真实账号数据或 Desktop 已加载。
62
+ 这两张截图使用相同的当前构建组件及模拟身份/额度。Models 更改全局默认,Credits 仅更改本 Session 后续 turn 的账号;不包含真实账号或账单数据。[截图来源](./docs/images/copilot-current-provenance.json)随图片一同分发。
71
63
 
72
64
  ## 安装与登录
73
65
 
@@ -84,10 +76,10 @@ node package/scripts/check-search-composition.mjs --profile-dir /absolute/profil
84
76
  **独立具名 profile**:
85
77
 
86
78
  ```sh
87
- dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.130/dsh-github-copilot-0.4.0-alpha.130.tgz
79
+ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.133/dsh-github-copilot-0.4.0-alpha.133.tgz
88
80
  ```
89
81
 
90
- **Desktop** 原生包管理器在发布后接受 `dsh-github-copilot@0.4.0-alpha.130`。官方 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 或删除配置。
82
+ **Desktop** 原生包管理器在发布后接受 `dsh-github-copilot@0.4.0-alpha.133`。官方 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 或删除配置。
91
83
 
92
84
  经批准 reload/restart 后:
93
85
 
@@ -97,23 +89,19 @@ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/release
97
89
 
98
90
  退出须显式操作,只删除活动账号的授权,保留其它授权与路由设置。升级保留已有原生 Copilot profile;在[显式单路由迁移](./docs/single-route-migration.md)前,仍可能存在两个分组。安装不迁移会话或默认模型。
99
91
 
100
- 在 **Manage → GitHub accounts**添加账号不会替换全局默认。设备授权期间,卡片会同时保留验证链接、可选择的网址、一次性授权码、**复制授权码**和**取消添加账号**。GitHub 授权成功后,卡片会单独验证身份和可用模型;完成添加仍不会切换默认账号。诊断码位于折叠的技术详情中。**刷新账号信息**只更新身份,不会完成或取消授权。确认切换只影响后续跟随默认的 turn,不影响正在运行的 turn 或 Session 已指定账号。**Credits → 切换账号**只为本 Session 后续 turn 保存选择;**跟随全局默认**清除该选择。即使显式选中的账号恰好等于全局默认,也仍是 Session 覆盖。原生路由尚存或证据不完整时会阻止账号切换。新账号可能没有已选模型,旧加密 replay 也可能绑定原账号;不会自动替换模型或删除历史。**Reauthorize**仅更新同一已存身份的授权;**Remove**仅删除非全局活动授权,正在运行 turn 锁定的授权不能修改。账号缺失/失效不会自动回退到其它账号。
92
+ 在 **Manage → 账号管理**内,**切换**下拉菜单列出已保存账号,底部为**添加 GitHub 账号**。添加不会替换全局默认。设备授权期间显示验证网址、一次性授权码、**复制授权码**和**取消添加账号**;随后单独验证身份和模型。确认切换只影响后续继承默认的新 turn,不改变运行中 turn 或 Session 已指定账号。**管理已保存授权**包含**重新授权**和**移除**;移除仅影响非默认的本地已保存授权,不改变运行中 turn 锁定的账号或 GitHub 端访问。**刷新账号信息**只更新身份,不操作授权。原生路由或不完整证据阻止切换;账号缺失/失效不会自动回退。新账号可能缺少已选模型,旧加密 replay 也可能绑定原账号;不自动替换模型或删除历史。参见[账号需求](./docs/copilot-accounts.md)。
101
93
 
102
94
  已完成的托管 turn 在原生 Usage 旁显示 **Account**,记录实际请求账号,不是计费归因或子 Agent 汇总。准入时冻结已验证名称;缺失时针对本轮固定账号执行现有的有界、非强制查询,不阻塞模型输出,只能在同一 turn 仍运行时补齐身份。没有原生流返回就没有账号执行证据。未查到的身份仍显示不可用;不会根据当前设置补写已完成历史。证据仅在 Host 生命周期内有界保留,重启及冷历史显示未知。Credits 对身份未知的原始/已保存授权显示可读标签,不显示不透明账号 ID。
103
95
 
104
- 切换资格通过官方 rc.2 SettingsForms 的配置值读取,不再依赖已退役的 Settings `get()` API。缺失或无效配置仍视为证据不完整;升级不会绕过原生路由或运行中工作的限制。
105
-
106
- **全局切换等待:**Models 先显示账号元数据,再独立补齐身份名称;后台名称查询不再锁住满足路由/活动证据条件的 Switch。真正切换仍需新鲜身份和模型校验,两项并行但必须都成功,之后才能 CAS 保存并严格读回。失败会取消并收尾另一项,不自动重试;身份展示缓存不授权切换。父组件更换回调不再丢弃已确认结果,旧名称响应也不能覆盖新账号。这与 Session **Follow global default** 是不同路径,不意味着省略必要网络校验或已测得真实毫秒级提速。
107
-
108
- `COPILOT_ACCOUNTS_BUSY` 根据当前活动重新判断,不会在工作结束后保留旧拒绝。授权进行中会显示为进度状态,而不是终止性 busy 错误;其它未知阻塞因素仍明确保持未知。相关工作结束后,点击 **Refresh account information** 更新已打开的卡片。如果只列出活动账号,需先 **Add GitHub account**;另一个已保存账号旁才会出现 **Switch**。
96
+ 读取已保存账号名称不必激活账号。名称在 Host 生命周期内缓存,凭据变更或验证失败会失效,也不证明授权或模型可用。全局切换需要新鲜身份/模型验证及设置持久化确认。切换被阻止时,等待授权或锁定工作结束,再**刷新账号信息**;未知路由/活动证据仍是阻塞。选择入口是下拉菜单,不是每个已保存账号旁的按钮。
109
97
 
110
98
  **Desktop 生命周期:**停用、移除、升级后的 Web 服务重组可能需要完整冷重启。若插件已 Off,而原生 manager 仅提示 `pending (waiting for service: web)`,不要反复切换或重装。先取得重启许可,遵循[rc.2 生命周期说明](./docs/web-lifecycle-rc2.md)。
111
99
 
112
100
  ## Auto 与模型偏好
113
101
 
114
- **保存偏好:**Exclude/Restore 和 High cost 复用严格确认的单模型保存结果,不重读账号状态/模型,也不重复执行最后一次完整设置遍历。内容相同的父组件快照不会清掉待保存操作或已确认结果。其它模型行仍可操作:最多 32 个不同行的意图显示 **Waiting…**,同时只发出一个 **Saving…** 请求。原生 CAS 读回确认前不会显示保存成功。结果无法确认或偏好作用域变化时取消尚未发送的操作;**Retry** 只重读已保存设置,不重放写入或发现模型。队列仅在当前组件内,卸载后不保留。
102
+ **保存偏好:**Exclude/Restore 和 High cost 即时保存,并等待设置读回确认。其它行仍可操作:最多 32 个不同行的修改显示 **Waiting…**,同时只有一个 **Saving…**。结果不明确或作用域变更时取消尚未发送的修改;**Retry** 只读取已保存设置,不重放写入。卸载后不保留队列。
115
103
 
116
- **模型目录加载失败:**原生 Models 的 `llm/listProviders failed: Failed to fetch` 属于 Client 到 Host/网关的请求传输失败,不能证明 Copilot 强制刷新。连接恢复后使用原生页面的 **Retry**。插件不拦截 Core 拥有的请求、不用过期/空目录伪装成功,也不声称本次保存优化已修复连接可用性。合成验证证明减少工作与响应式串行操作,不证明真实环境毫秒级提速。
104
+ **模型目录加载失败:**原生 Models 的 `llm/listProviders failed: Failed to fetch` 属于 Client 到 Host/网关的传输失败,不能证明强制 Copilot 发现。连接恢复后使用原生页面的 **Retry**;插件不以过期或空目录替代。
117
105
 
118
106
  三档 Auto 共用账号验证、未排除的合格模型池。输入/图片能力等硬门槛先于任务偏好。
119
107
 
@@ -124,7 +112,7 @@ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/release
124
112
  | 复杂 | Powerful | Powerful | Powerful |
125
113
  | 未知 | Versatile | Versatile | Powerful |
126
114
 
127
- 分类来自认证后的供应方元数据,不按模型名、上下文容量或臆测质量排名。上一模型仍合适时保持,否则在合格分类内稳定等权分配;分类回退明确说明。同一已准入 turn 的工具步骤、重试和压缩保持同一真实模型。
115
+ 分类来自认证后的供应方元数据,不按模型名、上下文容量或臆测质量排名。在第一个可容纳输入的分类内,按前述正成本权重和有限连续性加权选择;上一模型合适也不会无条件保留。分类回退明确说明。同一已准入 turn 的工具步骤和重试保持同一真实回答模型;压缩保留独立解析的原生摘要路由。
128
116
 
129
117
  语义判断**默认开启,仅用于本地需求未知的任务**。最多一次辅助请求,**8 秒端到端期限、128 tokens 输出预算**。可用 `github-copilot.autoSemanticAssessment: false` 关闭。超时/无效结果保留未知,再按偏好兜底,不解释为简单,也不换分类模型重试。用户取消和账号失效仍终止请求。辅助调用增加延迟与供应方费用,不计入原生回答 Usage。
130
118
 
@@ -144,6 +132,8 @@ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/release
144
132
 
145
133
  ![当前父模型跟随及 Web search 控件](./docs/images/copilot-search-routing.png)
146
134
 
135
+ 当前 alpha.130 构建的插件详情页,设置/provider 为模拟,诊断为暂停且无数据。截图没有发起搜索、采集或调用真实服务。
136
+
147
137
  **Follow parent model**默认关闭,在当前 profile 内作用于托管 Copilot 父会话的受支持原生子代理/Team mate。固定父模型从子会话下一 turn 生效;Auto 父会话传递准确偏好,子会话按自己的上下文选模。子会话的显式选择优先。运行中 turn、root、fork、其它 provider、旧专用策略不被改写;关闭宽泛开关也不移除旧绑定。[父模型跟随合同](./docs/parent-model-follow.md)。
148
138
 
149
139
  **Web search**仅有两个常规选项:主 provider 与最终 fallback。Auto 在存在对应搜索注册时跟随发起 Chat provider;固定 provider 不随 Chat 模型改变。最多尝试一个不同的最终 fallback,明确提示可能费用;取消或账号 proof 失效不授权 fallback。
@@ -180,6 +170,8 @@ Copilot 搜索要求当前账号/协议证据及能力 proof。固定/fallba
180
170
 
181
171
  HTTP/SSE liveness 默认区分 5 分钟字节 idle 和有界的 10 分钟助手输出静默,排除消费者工作;WebSocket/显式 `auto`仍仅使用原生路径。这不修复供应方 HTTP 408。图片按原生实际投影 MIME 证据准入;插件不负责转换,也不按文件名猜格式支持。[图片兼容](./docs/image-input-compatibility.md)。
182
172
 
173
+ 原生 rc.2 Auto 授权审查以 `temperature: 0` 请求所选路由。没有经验证的供应方契约能证明 `capabilities.supports.thinking` 决定 temperature 是否受支持;此元数据不会用于该判断。显式兼容覆盖项 `github-copilot.responsesOmitTemperature` 默认 `false`。只有在用户接受影响范围时才设为 `true`:无论原生传输方式如何,它都会从**所有**账号发现的托管 OpenAI Responses 请求中省略 temperature,可能解决已报告的 reviewer 400,但也会改变该托管协议上普通聊天及其它请求的 temperature 语义。它不影响 Chat Completions、Anthropic Messages 或 Core 所有的 canonical Copilot 路由。插件不会自动启用或迁移该设置。冻结的 reviewer 请求、严格 verdict 解析、取消和失败关闭的工具拒绝保持不变;错误不会重试。参见[模型兼容性验收](./docs/model-compatibility-acceptance.md)。
174
+
183
175
  ## 设置与排障
184
176
 
185
177
  配置位于 `github-copilot`。凭据、endpoint 和静态模型目录不是插件设置。
@@ -194,6 +186,7 @@ HTTP/SSE liveness 默认区分 5 分钟字节 idle 和有界的 10 分钟助手
194
186
  | `chatStreamLiveness` | `true` | 托管 HTTP/SSE 字节观察 |
195
187
  | `chatStreamIdleTimeoutMs` | `300000` | 字节 idle 期限,与搜索独立 |
196
188
  | `responsesRequestCompression` | `false` | 实验性托管 HTTP Responses 无损 gzip |
189
+ | `responsesOmitTemperature` | `false` | 从每个托管 Responses 请求显式省略 temperature |
197
190
  | `chatMaxRequestImageBytes` | `20971520` | 原生 20 MiB 出站图片预算,非总 JSON 上限 |
198
191
  | `requestBudgetSafetyTokens` | `4096` | 估算输入安全余量 |
199
192
  | `requestBudgetPressureRatio` | `0.9` | 启用受支持恢复时的提前压力 |
@@ -224,7 +217,7 @@ Credits 账号面板显示当前账号和 **切换**,下拉菜单只列已有
224
217
 
225
218
  ## 所有权与深入阅读
226
219
 
227
- DSH Core 所有会话、工具、sandbox、附件、原生计量和其它 provider;`llm-pi-ai`所有 OAuth、token 交换/刷新和普通模型传输。插件以认证后的账号元数据组合公开适配器,受支持的新模型 ID 无需名称路由补丁。凭据仅在 Host,key 为 `llm-pi-ai/github-copilot`。
220
+ DSH Core 所有会话、工具、sandbox、附件、原生计量和其它 provider;`llm-pi-ai`所有 OAuth、token 交换/刷新和普通模型传输。插件以认证后的账号元数据组合公开适配器,受支持的新模型 ID 无需名称路由补丁。凭据仅在 Host:`llm-pi-ai/github-copilot` 是 canonical 兼容记录;额外账号在同一 DSH 凭据服务的插件所有记录中独立授权,不复制 grant。
228
221
 
229
222
  公开接口不能替换 Core Edit/Delete、重构平铺 picker 或把原生 Add 变成单路由强制机制。已退役的[Model roles](./docs/dual-model.md)仅保留兼容。修复须遵循[plugin-only](./AGENTS.md#plugin-only-implementation-boundary)。
230
223
 
@@ -260,14 +253,14 @@ Agent 从 `node scripts/agent.mjs describe --json`、`doctor --json`及`plan <ta
260
253
  GitHub Releases 和 npm 分发同一原始已校验 tarball。固定版本并核验 Release SHA-256 或 npm `dist.integrity`;不重打包不可变 Release、不移动/复用 tag。
261
254
 
262
255
  ```sh
263
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.130/dsh-github-copilot-0.4.0-alpha.130.tgz
264
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.130/SHA256SUMS
256
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.133/dsh-github-copilot-0.4.0-alpha.133.tgz
257
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.133/SHA256SUMS
265
258
  sha256sum --check SHA256SUMS
266
259
  ```
267
260
 
268
261
  ```powershell
269
262
  $expected = (Get-Content .\SHA256SUMS).Split()[0]
270
- $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.130.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
263
+ $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.133.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
271
264
  if ($actual -cne $expected) { throw 'Release checksum mismatch' }
272
265
  ```
273
266
 
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "package": {
10
10
  "name": "dsh-github-copilot",
11
- "version": "0.4.0-alpha.130"
11
+ "version": "0.4.0-alpha.133"
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 after compression and never dispatches revoked work"},
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"},
@@ -919,6 +919,22 @@
919
919
  {"file": "tests/account-model-auth.spec.ts", "name": "sanitizes credential backend failures and keeps account identity independent of token rotation"}
920
920
  ]
921
921
  },
922
+ {
923
+ "id": "managed-auto-review-temperature-override",
924
+ "required": true,
925
+ "sourceMarkers": [
926
+ {"file": "src/config.ts", "marker": "responsesOmitTemperature: z.boolean().default(false)"},
927
+ {"file": "src/preview-provider.ts", "marker": "guard.responsesOmitTemperature === true"},
928
+ {"file": "scripts/verify-tagged-core.mjs", "marker": "tests/fixtures/auto-review-copilot-core.fixture.ts"}
929
+ ],
930
+ "tests": [
931
+ {"file": "tests/config.spec.ts", "name": "keeps managed Responses temperature omission default-off and boolean-only"},
932
+ {"file": "tests/preview-provider.spec.ts", "name": "applies explicit Responses omission=%s independently of thinking metadata %j"},
933
+ {"file": "tests/preview-provider.spec.ts", "name": "preserves default Responses temperature regardless of thinking metadata %j"},
934
+ {"file": "tests/preview-route.spec.ts", "name": "reads temperature omission from dynamic config at lazy native stream dispatch"},
935
+ {"file": "tests/fixtures/auto-review-copilot-core.fixture.ts", "name": "omits temperature with explicit opt-in without weakening the %s verdict boundary"}
936
+ ]
937
+ },
922
938
  {
923
939
  "id": "responses-public-reasoning-and-safe-replay-delegation",
924
940
  "required": true,
Binary file
@@ -0,0 +1,36 @@
1
+ {
2
+ "clientVersion": "0.4.0-alpha.130",
3
+ "sourceCommit": "eb49c0c49933406d29d560e88c66469bae25e1b3",
4
+ "source": "Local pnpm build from the unchanged current release source; not extracted published archive bytes. Provenance accompanies packaged image assets.",
5
+ "builtClientSha256": "fc2c3b9a237bbb8e7f58f83152f76bd958d645e8258d6370c1320dcf8441cdf0",
6
+ "synthetic": true,
7
+ "fixture": "tests/browser/readme.html",
8
+ "reproduce": "pnpm build; node tests/browser/serve-search-routing.mjs; set PLAYWRIGHT_MODULE to an existing Playwright index.mjs; node tests/browser/capture-readme.mjs <printed-loopback-URL>",
9
+ "components": {
10
+ "copilot-model-preferences.png": "GitHubCopilotCompactAccount",
11
+ "copilot-accounts.png": "GitHubCopilotCompactAccount",
12
+ "copilot-accounts-credits.png": "CopilotUsageCard",
13
+ "copilot-search-routing.png": "CopilotPluginSettingsPage"
14
+ },
15
+ "imageSha256": {
16
+ "copilot-model-preferences.png": "4939f865e1c52d7a599af83cd5fe6547c3a012e1a4213134f024b00afb19f752",
17
+ "copilot-accounts.png": "f5b0fc126cdf8f48dadb79a9e7db74ce862310396f6549883f452e1ed9391b77",
18
+ "copilot-accounts-credits.png": "ab725db863334297e8a3e77c3aa38a4a0c8966519ec04b7055aed0b15e5157e6",
19
+ "copilot-search-routing.png": "ae9e20ecb480a517c218d70e179c8cf0680ef59b71874ef4467561c5fa81076a"
20
+ },
21
+ "capture": {
22
+ "browser": "Microsoft Edge 154.0.4258.62",
23
+ "viewports": [
24
+ 920,
25
+ 375
26
+ ],
27
+ "themes": [
28
+ "dark",
29
+ "light"
30
+ ],
31
+ "horizontalOverflow": false,
32
+ "pageErrors": [],
33
+ "externalRequests": false
34
+ },
35
+ "limits": "Actual current built Client components with synthetic settings, identities, models and quota. No live OAuth, model availability, search, billing, collection, persistence or loaded Desktop proof. Credits captures only the usage/account component, not its parent-owned continuation disclosure. Desktop images are committed; narrow/light states were checked for overflow and menu dismissal, not native Desktop integration."
36
+ }
@@ -14,12 +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. **Do not infer temperature support from reasoning metadata.** No verified supplier contract in this repository establishes that `capabilities.supports.thinking` means temperature is unsupported or supported. Ignore that field for sampling compatibility. `github-copilot.responsesOmitTemperature` is an explicit, default-off plugin compatibility override: when enabled, omit temperature from all account-discovered managed Responses requests, regardless of thinking metadata or native transport. This can address the reported native Auto-review 400, but changes temperature semantics for every request on that managed protocol while enabled. Preserve Core's frozen request, caller options, other protocols/providers and the Core-owned canonical route. Never identify the reviewer by prompt, model name or error; never retry a rejection, rewrite a verdict or change permission policy.
17
18
 
18
19
  ## Regression evidence
19
20
 
20
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.
21
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.
22
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: 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.
23
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.
24
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.
25
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,6 +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. 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. |
12
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. |
13
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. |
14
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. |
@@ -21,7 +21,7 @@ Reload sees newly registered IDs.
21
21
 
22
22
  ![Actual parent-following and search controls with synthetic settings](images/copilot-search-routing.png)
23
23
 
24
- The picture uses actual published Client components in an isolated browser.
24
+ The picture uses current built Client components in an isolated synthetic browser fixture.
25
25
  It does not demonstrate a live search or loaded Desktop runtime.
26
26
 
27
27
  ## Routing and fallback
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## Result and boundaries
6
6
 
7
- One Host-owned OAuth account supplies many account models. The stable managed
7
+ The selected Host-owned OAuth account supplies many account models. The stable managed
8
8
  route ID is `github-copilot-preview`, displayed as **GitHub Copilot**.
9
9
  Fresh installations need no native provider definition. Upgrades preserve
10
10
  existing `llm-pi-ai.providers.github-copilot`; two real groups can remain until
@@ -15,8 +15,9 @@ single-route enforcement; Core Edit/Delete remains. Model discovery/UI lifecycle
15
15
  is described in the [current README](../README.md#install-and-sign-in), not a
16
16
  prerequisite to removing a route.
17
17
 
18
- Keep `llm-pi-ai` and authorization mounted and preserve the sole credential
19
- record `llm-pi-ai/github-copilot`. Do not sign out, delete credentials or remove
18
+ Keep `llm-pi-ai` and authorization mounted and preserve the canonical credential
19
+ record `llm-pi-ai/github-copilot` and any independently authorized saved accounts.
20
+ Do not sign out, delete credentials or remove
20
21
  authorization to hide a group. `models: []` can mean the default catalog, not
21
22
  disabled models.
22
23
 
@@ -111,7 +112,7 @@ may recreate canonical, not a second account.
111
112
 
112
113
  新安装无需原生 provider;升级保留已有 canonical 配置,两组都是真实路由,
113
114
  不是两个账号。迁移只在明确批准后移除审核过的
114
- `llm-pi-ai.providers.github-copilot`;唯一凭据、`llm-pi-ai`、授权服务及其它配置保留。
115
+ `llm-pi-ai.providers.github-copilot`;canonical 凭据、独立授权的已保存账号、`llm-pi-ai`、授权服务及其它配置保留。
115
116
  不要退出登录、删除凭据或使用 `models: []` 来隐藏分组。
116
117
 
117
118
  先验证发布版本已实际加载,再调用无参数 `githubCopilot.migrationStatus()`。
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.130";
6991
+ var version = "0.4.0-alpha.133";
6992
6992
  //#endregion
6993
6993
  //#region lib/types/diagnostics-client.js
6994
6994
  let owner;
package/lib/index.js CHANGED
@@ -311,7 +311,7 @@ const result$1 = strictRemoteCodec("dsh-github-copilot#DiagnosticsView", Diagnos
311
311
  var package_default = {
312
312
  name: "dsh-github-copilot",
313
313
  description: "DSH companion for GitHub Copilot sign-in, account-aware model profiles, tool compatibility, and provider-hosted search.",
314
- version: "0.4.0-alpha.130",
314
+ version: "0.4.0-alpha.133",
315
315
  publishConfig: {
316
316
  "access": "public",
317
317
  "registry": "https://registry.npmjs.org/",
@@ -3926,6 +3926,7 @@ function createAccountProvider(descriptors, guard, baseURL) {
3926
3926
  fetch: observeResponse
3927
3927
  } : {
3928
3928
  ...options,
3929
+ ...responses && guard.responsesOmitTemperature === true ? { temperature: void 0 } : {},
3929
3930
  signal: liveness?.signal ?? lease.signal,
3930
3931
  headers,
3931
3932
  fetch: observeResponse,
@@ -6867,6 +6868,7 @@ const Config = z$1.object({
6867
6868
  chatStreamLiveness: z$1.boolean().default(true),
6868
6869
  chatMaxRequestImageBytes: z$1.number().step(1).min(1).max(Number.MAX_SAFE_INTEGER).default(20971520),
6869
6870
  responsesRequestCompression: z$1.boolean().default(false),
6871
+ responsesOmitTemperature: z$1.boolean().default(false),
6870
6872
  probe: z$1.boolean().default(true),
6871
6873
  probeTimeoutMs: z$1.number().step(1).min(1).max(MAX_TIMEOUT_MS).default(3e4),
6872
6874
  accountModelTtlMs: z$1.number().step(1).min(0).max(MAX_TIMEOUT_MS).default(864e5),
@@ -13516,6 +13518,7 @@ function createAccountRuntime(ctx, config, binding, exclusionTurns, replayRecove
13516
13518
  ...lifetime.guard(lease),
13517
13519
  ...hooks,
13518
13520
  responsesRequestCompression: settings?.responsesRequestCompression === true && (template.transport === void 0 || template.transport === "sse"),
13521
+ responsesOmitTemperature: settings?.responsesOmitTemperature === true,
13519
13522
  onReplayFailure(error) {
13520
13523
  if (error.dispatchEvidence !== void 0) ctx.logger.warn(`[github-copilot] ${error.dispatchEvidence}`);
13521
13524
  hooks.onReplayFailure?.(error);
@@ -35,6 +35,8 @@ export interface InlineConfig {
35
35
  chatMaxRequestImageBytes?: number;
36
36
  /** Default-off lossless gzip for eligible managed Responses HTTP requests. */
37
37
  responsesRequestCompression?: boolean;
38
+ /** Default-off override omitting temperature from all managed Responses requests. */
39
+ responsesOmitTemperature?: boolean;
38
40
  /** Verify the endpoint executes native search before serving. */
39
41
  probe: boolean;
40
42
  /** Bound on one probe request, in milliseconds. */
@@ -37,6 +37,8 @@ export interface PreviewProviderGuard {
37
37
  export interface AccountProviderGuard extends PreviewProviderGuard {
38
38
  /** Explicit lossless HTTP encoding; default-off and independent of context admission. */
39
39
  readonly responsesRequestCompression?: boolean;
40
+ /** Explicit compatibility override for all managed Responses requests. */
41
+ readonly responsesOmitTemperature?: boolean;
40
42
  /** Explicit, request-admitted recovery; absent by default. */
41
43
  recoverReplay?(payload: unknown): unknown;
42
44
  /** Only exact verified scope HTTP failures may offer recovery evidence. */
@@ -9,7 +9,7 @@ import type { RequestBudgetPolicy } from './request-budget.ts';
9
9
  /** Safe request knobs; identities, model tables, endpoints and credentials are not configurable. */
10
10
  export type PreviewRouteConfig = Pick<PiAiProviderProfile, 'reasoning' | 'cacheRetention' | 'transport' | 'timeoutMs' | 'websocketConnectTimeoutMs' | 'streamIdleTimeoutMs' | 'maxRequestImageBytes' | 'requestImagePixelBudget' | 'requestImageMaxBytes' | 'retryPolicy'> & Pick<InlineConfig, 'accountModelTtlMs' | 'accountModelFailureCooldownMs'> & {
11
11
  readonly streamLiveness?: boolean;
12
- readonly chatRequestSettings?: () => Pick<InlineConfig, 'chatStreamIdleTimeoutMs' | 'chatStreamLiveness' | 'chatMaxRequestImageBytes' | 'responsesRequestCompression'>;
12
+ readonly chatRequestSettings?: () => Pick<InlineConfig, 'chatStreamIdleTimeoutMs' | 'chatStreamLiveness' | 'chatMaxRequestImageBytes' | 'responsesRequestCompression' | 'responsesOmitTemperature'>;
13
13
  readonly accountModelSettings?: () => Pick<InlineConfig, 'accountModelTtlMs' | 'accountModelFailureCooldownMs' | 'excludedModelIds' | 'highCostModelIds' | 'parentModelFollow' | 'followParentModel' | 'autoSemanticAssessment' | 'autoAllocationEvidence'>;
14
14
  readonly requestBudget?: Partial<RequestBudgetPolicy>;
15
15
  readonly requestBudgetSettings?: () => Partial<RequestBudgetPolicy>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-github-copilot",
3
3
  "description": "DSH companion for GitHub Copilot sign-in, account-aware model profiles, tool compatibility, and provider-hosted search.",
4
- "version": "0.4.0-alpha.130",
4
+ "version": "0.4.0-alpha.133",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "registry": "https://registry.npmjs.org/",