dsh-github-copilot 0.4.0-alpha.105 → 0.4.0-alpha.106

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
@@ -293,7 +293,7 @@ Model preferences must survive the Client's owned-field projection before strict
293
293
 
294
294
  Capture the traced `remote.githubCopilot` namespace once per account UI registration, shared by provider/footer/section renders. Native namespace property reads create fresh proxy identities; rereading during parent renders resets the mounted account controller and can block exclusion changes on redundant status/discovery work. Actual registration teardown and credential/connection invalidation retain their existing safety semantics.
295
295
 
296
- Auto history compatibility (alpha.54, #204): official rc.2 `Session.append()` has no public ignorable-envelope option. Do not emit optional `github-copilot/auto-model-decision` events or borrow another event type; retain native real-model provenance and durable Auto selection without new durable decision recording. The assistant-actions selection footer reads bounded Host-lifetime decisions through native agent-scoped lookup and compatible historical events. Explicit captured fixed selection alone proves Manual; missing evidence is unknown, never reconstructed from today's picker. Do not repeat model names, add Model details, change native Usage/context metering or modify parent DOM. `scripts/repair-auto-model-history.mjs` is explicit source-checkout maintenance, not a runtime hook: strict pinned official v4 validation, check-only by default, optional detached repaired copy plus byte-exact backup. It never replaces live history. Applying a copy requires separately approved stopped writers and a fresh source-hash check. See `docs/automatic-model-routing.md`.
296
+ Auto history compatibility (alpha.54, #204): official rc.2 `Session.append()` has no public ignorable-envelope option. Do not emit optional `github-copilot/auto-model-decision` events or borrow another event type; retain native real-model provenance and durable Auto selection without new durable decision recording. The assistant-actions selection footer reads bounded Host-lifetime decisions through native agent-scoped lookup and compatible historical events. Explicit captured fixed selection alone proves Manual; missing evidence is unknown, never reconstructed from today's picker. User-approved #310 permits model evidence only inside the existing selection dialog when native Usage lacks complete routes: successful same-turn assistant/message sources are Recorded models; public request/header snapshots inside a recorded same-turn open step are Requested model, never dispatch/execution/billing proof. Preserve multiple routes and incomplete failed-attempt attribution. Missing/invalid/paged evidence is unknown, read failures remain separate and Retry rereads the same Session/turn. Do not add a Model details/footer button, change native Usage/context metering or modify parent DOM; complete native routes avoid redundant model presentation. No closing message means no assistant-actions anchor. The independent bounded public Session projection refolds existing native events only, never emits events or inherits adjacent headers. `scripts/repair-auto-model-history.mjs` is explicit source-checkout maintenance, not a runtime hook: strict pinned official v4 validation, check-only by default, optional detached repaired copy plus byte-exact backup. It never replaces live history. Applying a copy requires separately approved stopped writers and a fresh source-hash check. See `docs/automatic-model-routing.md`.
297
297
 
298
298
  Auto intent continuity (#293) uses the strict `githubCopilotAutoModelIntent` public Session projection of existing owner-explicit `model/selection` events. Execution headers cannot erase intent; fixed/other-provider choices replace it for future turns. Ignore copied fork/child prefixes, retain native pending and parent-follow precedence, and diagnose missing/invalid evidence. Freeze admitted Auto route configuration across late choices without writing history, settings or historical reasons. Projection disposal must remove only its own registration.
299
299
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0-alpha.106 (prepared)
4
+
5
+ - Show truthful failed-turn model evidence inside the existing Auto/Manual info dialog, with selection reasons disclosed below (#310). Preserve successful same-turn models/providers and explicit incomplete failed-attempt attribution without changing native Usage.
6
+ - Add bounded public same-turn request-header evidence as Requested model, never dispatch, execution or billing proof. Missing/invalid evidence remains unknown; read-only Retry stays on the viewed Session/turn. No new footer button, durable events, history writes or entry for turns lacking a closing assistant-actions anchor.
7
+
3
8
  ## 0.4.0-alpha.105 (prepared)
4
9
 
5
10
  - Renew expired account identity from visible Models and Credits through nonforcing, account-scoped ensure reads. Fresh ten-minute cache avoids requests; concurrent consumers share one bounded request and failed renewals retain a thirty-second cooldown (#309).
package/README.md CHANGED
@@ -17,7 +17,7 @@ Identity display accepts GitHub Enterprise Managed User names, including their u
17
17
 
18
18
  Visible Models and Credits renew expired identity without forcing fresh reads on every mount: ten-minute identity cache, shared per-account requests and a thirty-second failure cooldown. Explicit refresh retries immediately; quota can settle while identity renews. Unknown or revoked identity is never shown as current, and Session account isolation is unchanged. See [account lifecycle](./docs/copilot-accounts.md).
19
19
 
20
- **Source candidate: `0.4.0-alpha.105` (unreleased). 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. The versioned commands below are for this candidate after publication, not evidence that its assets exist.
20
+ **Source candidate: `0.4.0-alpha.106` (unreleased). 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. The versioned commands below are for this candidate after publication, not evidence that its assets exist.
21
21
 
22
22
  ## What you can do
23
23
 
@@ -57,10 +57,10 @@ Supply any launcher patches with repeated `--patch /absolute/file`. Require `sup
57
57
  For a **standalone named profile**:
58
58
 
59
59
  ```sh
60
- dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.105/dsh-github-copilot-0.4.0-alpha.105.tgz
60
+ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.106/dsh-github-copilot-0.4.0-alpha.106.tgz
61
61
  ```
62
62
 
63
- For **Desktop**, its native package manager accepts `dsh-github-copilot@0.4.0-alpha.105` 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.
63
+ For **Desktop**, its native package manager accepts `dsh-github-copilot@0.4.0-alpha.106` 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.
64
64
 
65
65
  After an approved reload/restart:
66
66
 
@@ -99,6 +99,8 @@ The deadline is checked against a monotonic clock at preparation, native request
99
99
 
100
100
  The reply's selection disclosure shows captured reasons and optional content-free auxiliary milestones. `uncertain` and `insufficient-evidence` do not mean the conversation is empty. **Selection unknown** means no retained record; **Selection unavailable → Retry** means the read failed. Retry rereads that turn, not inference. Evidence is bounded and Host-local, so restart/eviction can lose it.
101
101
 
102
+ When a failed/incomplete turn has no native Usage model row, the existing ⓘ opens **Turn model and selection evidence**: successful same-turn sources show **Recorded models** with incomplete failed-attempt attribution; reliable same-turn recorded request configuration shows **Requested model**, not dispatch, execution or billing proof. Missing evidence stays **Unknown**, never inferred from today's picker/default or adjacent turns. Selection reasons remain in a disclosure underneath. Complete native routes avoid repeated model UI; turns without a closing message have no existing assistant-actions entry. Native Usage and retries are unchanged. [Evidence boundaries](./docs/automatic-model-routing.md#attribution-and-explanation).
103
+
102
104
  **Model exclusions** remove exact IDs from the managed picker and new Auto pools. Selected models are excludable: an admitted turn keeps its model, but a new turn/direct request cannot use an excluded ID. A fixed selection is never silently replaced. Unknown preference settings leave controls read-only, not falsely enabled. Saves use narrow native CAS without credentials, discovery or Session scans.
103
105
 
104
106
  See [task assessment](./docs/auto-task-routing.md) and [routing contracts, exclusions and history recovery](./docs/automatic-model-routing.md).
@@ -206,14 +208,14 @@ Commit attribution uses `Assisted-by` with the actual tool, never the model prov
206
208
  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.
207
209
 
208
210
  ```sh
209
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.105/dsh-github-copilot-0.4.0-alpha.105.tgz
210
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.105/SHA256SUMS
211
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.106/dsh-github-copilot-0.4.0-alpha.106.tgz
212
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.106/SHA256SUMS
211
213
  sha256sum --check SHA256SUMS
212
214
  ```
213
215
 
214
216
  ```powershell
215
217
  $expected = (Get-Content .\SHA256SUMS).Split()[0]
216
- $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.105.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
218
+ $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.106.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
217
219
  if ($actual -cne $expected) { throw 'Release checksum mismatch' }
218
220
  ```
219
221
 
package/README.zh.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  可见的 Models 和 Credits 会续期已过期身份,不会在每次挂载时强制请求:身份缓存十分钟,同账号共享请求,失败冷却三十秒。显式刷新可立即重试;额度可先于身份续期完成展示。未知或已撤销身份不会作为当前用户名展示,Session 账号隔离保持不变。参见[账号生命周期](./docs/copilot-accounts.md)。
17
17
 
18
- **源码候选版本:`0.4.0-alpha.105`(尚未发布)。支持宿主:官方 DSH / Windows Desktop `0.2.0-rc.2`。** 较早 DSH pin 仅是历史证据,不是当前安装目标。已发布、已安装到 profile、已被运行中的 Host 加载,是三个不同状态。下方带版本的命令适用于候选版本发布后,不代表对应资产已经存在。
18
+ **源码候选版本:`0.4.0-alpha.106`(尚未发布)。支持宿主:官方 DSH / Windows Desktop `0.2.0-rc.2`。** 较早 DSH pin 仅是历史证据,不是当前安装目标。已发布、已安装到 profile、已被运行中的 Host 加载,是三个不同状态。下方带版本的命令适用于候选版本发布后,不代表对应资产已经存在。
19
19
 
20
20
  ## 你可以做什么
21
21
 
@@ -55,10 +55,10 @@ node package/scripts/check-search-composition.mjs --profile-dir /absolute/profil
55
55
  **独立具名 profile**:
56
56
 
57
57
  ```sh
58
- dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.105/dsh-github-copilot-0.4.0-alpha.105.tgz
58
+ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.106/dsh-github-copilot-0.4.0-alpha.106.tgz
59
59
  ```
60
60
 
61
- **Desktop** 原生包管理器在发布后接受 `dsh-github-copilot@0.4.0-alpha.105`。官方 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 或删除配置。
61
+ **Desktop** 原生包管理器在发布后接受 `dsh-github-copilot@0.4.0-alpha.106`。官方 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 或删除配置。
62
62
 
63
63
  经批准 reload/restart 后:
64
64
 
@@ -97,6 +97,8 @@ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/release
97
97
 
98
98
  回复的选模说明展示捕获的理由和可选的不含内容的辅助里程碑。`uncertain`、`insufficient-evidence` 不等于会话没有上下文。**Selection unknown**表示记录未保留,**Selection unavailable → Retry**表示读取失败;Retry 只重读该 turn,不重新推理。证据有界且仅限 Host 生命周期,重启/淘汰可能丢失。
99
99
 
100
+ 失败/不完整轮次的原生 Usage 没有模型行时,沿用现有 ⓘ 打开**本轮模型与选择记录**:本轮成功消息来源显示**已记录模型**并提示失败尝试归属不完整;可靠的本轮已记录请求配置仅显示**请求模型**,不证明发送、执行或计费。缺失证据显示**未知**,不从当前选择、全局默认或相邻轮次倒推。原选模说明折叠在下方;原生完整模型记录不重复展示,没有关闭消息的轮次没有现有入口。原生 Usage 与重试保持不变。[证据边界](./docs/automatic-model-routing.md#attribution-and-explanation)。
101
+
100
102
  **模型排除**将精确 ID 移出托管 picker 与新 turn 的 Auto 候选。已选模型也能排除:已准入 turn 保持原模型,但新 turn/直接调用不得使用;固定选择不会静默替换。偏好状态未知时只读,不伪装为已启用。保存采用窄范围原生 CAS,不读凭据、不发现模型、不扫描会话。
101
103
 
102
104
  详见[任务判断](./docs/auto-task-routing.md)与[路由合同、排除和历史恢复](./docs/automatic-model-routing.md)。
@@ -204,14 +206,14 @@ Agent 从 `node scripts/agent.mjs describe --json`、`doctor --json`及`plan <ta
204
206
  GitHub Releases 和 npm 分发同一原始已校验 tarball。固定版本并核验 Release SHA-256 或 npm `dist.integrity`;不重打包不可变 Release、不移动/复用 tag。
205
207
 
206
208
  ```sh
207
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.105/dsh-github-copilot-0.4.0-alpha.105.tgz
208
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.105/SHA256SUMS
209
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.106/dsh-github-copilot-0.4.0-alpha.106.tgz
210
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.106/SHA256SUMS
209
211
  sha256sum --check SHA256SUMS
210
212
  ```
211
213
 
212
214
  ```powershell
213
215
  $expected = (Get-Content .\SHA256SUMS).Split()[0]
214
- $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.105.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
216
+ $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.106.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
215
217
  if ($actual -cne $expected) { throw 'Release checksum mismatch' }
216
218
  ```
217
219
 
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "package": {
10
10
  "name": "dsh-github-copilot",
11
- "version": "0.4.0-alpha.105"
11
+ "version": "0.4.0-alpha.106"
12
12
  },
13
13
  "evidence": {
14
14
  "kind": "source-and-synthetic-test-inventory",
@@ -1217,6 +1217,11 @@
1217
1217
  {"file": "src/auto-model-presentation.ts", "marker": "installAutoModelProjections"},
1218
1218
  {"file": "src/auto-model-presentation.ts", "marker": "turnModelProvenanceDefinition"},
1219
1219
  {"file": "src/turn-model-provenance.ts", "marker": "assistant/message"},
1220
+ {"file": "src/turn-request-models.ts", "marker": "stateVersion: 1"},
1221
+ {"file": "src/turn-request-models.ts", "marker": "active.step === null"},
1222
+ {"file": "src/turn-selection-card.ts", "marker": "Turn model and selection evidence"},
1223
+ {"file": "src/turn-selection-card.ts", "marker": "Recorded models"},
1224
+ {"file": "src/turn-selection-remote.ts", "marker": "RequestedModelsSchema"},
1220
1225
  {"file": "src/turn-selection-card.ts", "marker": "Selection unknown"},
1221
1226
  {"file": "src/turn-selection-remote.ts", "marker": "lookup: 'agent'"},
1222
1227
  {"file": "src/turn-selection-host.ts", "marker": "extends TypertRemoteService"},
@@ -1253,6 +1258,9 @@
1253
1258
  {"file": "tests/client.spec.ts", "name": "registers and disposes Auto actions while the optional conversation fiber remains pending"},
1254
1259
  {"file": "tests/fixtures/reasoning-presentation-core.fixture.ts", "name": "renders retained Auto evidence without optional projections through native %s and slots"},
1255
1260
  {"file": "tests/turn-model-provenance.spec.ts", "name": "retains known models around zero-usage failed attempts without reading payloads"},
1261
+ {"file": "tests/turn-request-models.spec.ts", "name": "captures only headers inside a recorded step, never inherits adjacent or current selections"},
1262
+ {"file": "tests/turn-request-models-runtime.spec.ts", "name": "cold-folds same-turn requested models through the native public registry without changing events"},
1263
+ {"file": "tests/turn-selection-card.spec.ts", "name": "keeps model evidence first inside the existing dialog with multiple routes and overflow (%s)"},
1256
1264
  {"file": "tests/preview-route.spec.ts", "name": "publishes Auto as a virtual picker entry but refuses unresolved adapter dispatch"},
1257
1265
  {"file": "tests/fixtures/compaction-pressure-core.fixture.ts", "name": "shrinks durable history and rebuilds the switched model request without sending the oversized original"}
1258
1266
  ]
@@ -90,9 +90,33 @@ successful read has no record. Failed reads show **Selection unavailable → Ret
90
90
  Retry rereads the same Session/turn; it never runs inference.
91
91
 
92
92
  The public assistant-actions slot adds the plugin item after native Usage/time.
93
- It cannot change the native fixed-height parent row, repeats no model name and
94
- adds no Model details button. A turn without a closing message has no such
95
- anchor. Optional conversation projections do not control selection mounting.
93
+ It cannot change the native fixed-height parent row and adds no Model details
94
+ or footer button. The existing info dialog is **Turn model and selection evidence**.
95
+ When native Usage lacks complete model routes, model evidence comes first and the
96
+ original selection explanation remains in a collapsed disclosure below:
97
+
98
+ - **Recorded models** lists independent successful same-turn `assistant/message`
99
+ sources, preserving multiple models/providers. Failed attempts, retries and
100
+ paged/missing history retain an explicit incomplete-attribution warning; known
101
+ sources do not prove which models every failed attempt used.
102
+ - **Requested model** is the fallback when no successful source exists. An
103
+ independent public Session projection folds native `turn/start`, `step/start`,
104
+ `request/header`, `step/end` and `turn/end`; only headers inside a recorded open
105
+ step bind to that turn. Native headers have no turn field and are not emitted
106
+ for every unchanged request. Therefore absent headers stay unknown, never
107
+ inherited from an earlier turn or today's `Session.requestHeader()`. Configuration
108
+ proves neither dispatch nor execution, usage or billing.
109
+ - Missing/invalid evidence stays **Unknown**. Requested-model read failures are
110
+ distinct from missing evidence and have same-Session/turn read-only Retry.
111
+ Selection mode and model evidence remain independent.
112
+
113
+ Complete native Usage routes avoid redundant model presentation. A turn without
114
+ a closing message has no assistant-actions anchor; pure failed turns without one
115
+ are not promised an injected entry. Optional conversation projections do not
116
+ control selection mounting. The request projection has its own `stateVersion: 1`,
117
+ retains at most 128 turns and 32 distinct routes per turn (overflow invalidates
118
+ that turn), and stores no message/tool/replay/credential content. Cold folding
119
+ uses existing recorded events only, not custom events or history conversion.
96
120
 
97
121
  The bounded Host store retains 64 Agents and 128 turns per Agent. Disposal,
98
122
  eviction and restart lose new records. Compatible historical Auto events remain
@@ -103,7 +127,8 @@ official rc.2 `Session.append()` has no public ignorable-envelope option.
103
127
  `TurnSelectionController` extends public `TypertRemoteService` with `@Remote get`.
104
128
  Client calls carry explicit viewed Session ID and turn, with no automatic
105
129
  Client scope projection that would remove the ID. Native Host Agent lookup,
106
- access checks and strict codecs remain. Actual Client/Host gateway regressions
130
+ access checks and strict codecs remain. Additive `requestedModels` preserves the
131
+ existing `get` descriptor and strict selection codec unchanged. Actual Client/Host gateway regressions
107
132
  cover reachability, bound contexts and missing/denied identities; mock RPC
108
133
  success is not sufficient evidence.
109
134
 
package/lib/client.js CHANGED
@@ -5790,6 +5790,24 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5790
5790
  }).strict()
5791
5791
  ]);
5792
5792
  //#endregion
5793
+ //#region lib/types/turn-request-models.js
5794
+ const count$2 = number().int().min(0).max(Number.MAX_SAFE_INTEGER);
5795
+ const RequestedModelsSchema = object({
5796
+ routes: array(object({
5797
+ provider: string().trim().min(1).max(1024),
5798
+ model: string().trim().min(1).max(1024)
5799
+ }).strict()).max(32),
5800
+ incomplete: boolean()
5801
+ }).strict();
5802
+ const row$1 = RequestedModelsSchema.extend({ turn: count$2 }).strict();
5803
+ object({
5804
+ active: object({
5805
+ turn: count$2,
5806
+ step: count$2.nullable()
5807
+ }).strict().nullable(),
5808
+ turns: array(row$1).max(128)
5809
+ }).strict();
5810
+ //#endregion
5793
5811
  //#region lib/types/turn-selection-remote.js
5794
5812
  const contribution$4 = {
5795
5813
  package: "dsh-github-copilot",
@@ -5812,6 +5830,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5812
5830
  codec: strictRemoteCodec("dsh-github-copilot#TurnSelectionTurn", number().int().nonnegative().max(Number.MAX_SAFE_INTEGER))
5813
5831
  }],
5814
5832
  result: strictRemoteCodec("dsh-github-copilot#TurnSelection", TurnSelectionSchema)
5833
+ }, {
5834
+ id: "dsh-github-copilot:githubCopilotTurnSelection.requestedModels",
5835
+ namespace: "githubCopilotTurnSelection",
5836
+ service: "githubCopilotTurnSelection",
5837
+ method: "requestedModels",
5838
+ invocation: { kind: "direct" },
5839
+ parameters: [{
5840
+ name: "agent",
5841
+ wire: "agentId",
5842
+ source: "lookup",
5843
+ lookup: "agent",
5844
+ codec: strictRemoteCodec("@deepseek-ai/dsh-session/types#SessionId", string().min(1).max(256))
5845
+ }, {
5846
+ name: "turn",
5847
+ wire: "turn",
5848
+ source: "json",
5849
+ codec: strictRemoteCodec("dsh-github-copilot#TurnSelectionTurn", number().int().nonnegative().max(Number.MAX_SAFE_INTEGER))
5850
+ }],
5851
+ result: strictRemoteCodec("dsh-github-copilot#RequestedModels", RequestedModelsSchema)
5815
5852
  }]
5816
5853
  };
5817
5854
  //#endregion
@@ -6657,7 +6694,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6657
6694
  }
6658
6695
  //#endregion
6659
6696
  //#region lib/types/turn-selection-card.js
6660
- function TurnSelectionCard({ selection, locale = "en", incomplete = false, readState = "ready", retry, account, accountFailed = false, retryAccount }) {
6697
+ function TurnSelectionCard({ selection, locale = "en", incomplete = false, readState = "ready", retry, account, accountFailed = false, retryAccount, models, modelsFailed = false, retryModels }) {
6661
6698
  const zh = locale.startsWith("zh");
6662
6699
  const id = (0, react.useId)();
6663
6700
  const [open, setOpen] = (0, react.useState)(false);
@@ -6687,7 +6724,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6687
6724
  window.removeEventListener("resize", place);
6688
6725
  window.removeEventListener("scroll", place, true);
6689
6726
  };
6690
- }, [open, accountOpen]);
6727
+ }, [
6728
+ open,
6729
+ accountOpen,
6730
+ models?.kind,
6731
+ models?.routes.length,
6732
+ modelsFailed,
6733
+ selection.mode
6734
+ ]);
6691
6735
  (0, react.useEffect)(() => {
6692
6736
  if (!open) return;
6693
6737
  const outside = (event) => {
@@ -6750,7 +6794,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6750
6794
  type: "button",
6751
6795
  style: button,
6752
6796
  onClick: retry
6753
- }, zh ? "重试" : "Retry") : null, readState === "ready" && (selection.mode === "auto" || incomplete) ? (0, react.createElement)("button", {
6797
+ }, zh ? "重试" : "Retry") : null, readState === "ready" && (selection.mode === "auto" || incomplete) || models !== void 0 || modelsFailed ? (0, react.createElement)("button", {
6754
6798
  ref: accountOpen ? void 0 : trigger,
6755
6799
  type: "button",
6756
6800
  style: {
@@ -6759,9 +6803,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6759
6803
  height: 24,
6760
6804
  flexShrink: 0
6761
6805
  },
6762
- "aria-label": zh ? "为什么本轮选择这个模型" : "Why this model was selected",
6763
- "aria-expanded": open,
6764
- "aria-controls": open ? id : void 0,
6806
+ "aria-label": zh ? "查看本轮模型与选择记录" : "View turn model and selection evidence",
6807
+ "aria-expanded": open && !accountOpen,
6808
+ "aria-controls": open && !accountOpen ? id : void 0,
6765
6809
  "aria-haspopup": "dialog",
6766
6810
  onClick: () => {
6767
6811
  setAccountOpen(false);
@@ -6772,14 +6816,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6772
6816
  id,
6773
6817
  popover: "manual",
6774
6818
  role: "dialog",
6775
- "aria-label": accountOpen ? zh ? "本轮账号" : "Turn account" : zh ? "本轮选择记录" : "Turn selection evidence",
6819
+ "aria-label": accountOpen ? zh ? "本轮账号" : "Turn account" : zh ? "本轮模型与选择记录" : "Turn model and selection evidence",
6776
6820
  style: {
6777
6821
  position: "fixed",
6778
6822
  inset: "auto",
6779
6823
  ...position,
6780
6824
  margin: 0,
6781
6825
  zIndex: 1e3,
6782
- width: 300,
6826
+ width: 390,
6783
6827
  maxWidth: "calc(100vw - 24px)",
6784
6828
  maxHeight: `calc(100dvh - ${position.top + 12}px)`,
6785
6829
  overflowY: "auto",
@@ -6792,11 +6836,29 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6792
6836
  color: "var(--dsw-alias-label-primary, CanvasText)",
6793
6837
  lineHeight: 1.6
6794
6838
  }
6795
- }, (0, react.createElement)("strong", null, accountOpen ? zh ? "本轮账号" : "Turn account" : zh ? "为什么本轮选择这个模型" : "Why this model was selected"), accountOpen ? (0, react.createElement)("div", null, (0, react.createElement)("p", null, accountFailed ? zh ? "无法读取本轮账号记录,不等同于没有记录。" : "Could not read account evidence; this is not proof of missing evidence." : account?.state === "recorded" ? `${zh ? "账号" : "Account"}: ${account.identity ? "@" + account.identity.login : account.accountId}` : zh ? "本轮没有保留账号证据,不从当前账号选择推断历史。" : "No retained account evidence; the current account selection cannot reconstruct history."), account?.state === "recorded" ? (0, react.createElement)("p", null, account.source === "global" ? zh ? "本轮发送时跟随全局默认,账号已锁定。" : "Inherited the global default at turn admission; account was frozen." : zh ? "本轮使用 Session 指定账号,账号已锁定。" : "Used the Session override; account was frozen.") : null, (0, react.createElement)("p", null, zh ? "这是有原生流返回的请求账号记录,不是单轮费用或子 Agent 的账号汇总。仅保留在 Host 生命周期内;重启后缺失显示未知。" : "Account evidence from a native stream delivery, not turn billing or subagent attribution. Retained for the Host lifetime only; missing evidence after restart is unknown."), accountFailed && retryAccount ? (0, react.createElement)("button", {
6839
+ }, (0, react.createElement)("strong", null, accountOpen ? zh ? "本轮账号" : "Turn account" : zh ? "本轮模型与选择记录" : "Turn model and selection evidence"), !accountOpen && models !== void 0 ? (0, react.createElement)("section", { "aria-label": zh ? "模型证据" : "Model evidence" }, (0, react.createElement)("p", { style: {
6840
+ fontWeight: 600,
6841
+ marginBottom: 6
6842
+ } }, models.kind === "recorded" ? zh ? "已记录模型" : "Recorded models" : models.kind === "requested" ? zh ? "请求模型" : "Requested model" : zh ? "模型记录不可用" : "Model evidence unavailable"), models.routes.length ? (0, react.createElement)("ul", { style: {
6843
+ listStyle: "none",
6844
+ padding: 0,
6845
+ margin: 0
6846
+ } }, ...models.routes.map((value) => (0, react.createElement)("li", {
6847
+ key: JSON.stringify([value.provider, value.model]),
6848
+ style: { marginBottom: 12 }
6849
+ }, (0, react.createElement)("div", { style: { fontSize: 16 } }, value.model), (0, react.createElement)("div", { style: { fontSize: 12 } }, value.provider)))) : (0, react.createElement)("p", null, zh ? "未知" : "Unknown"), models.kind === "recorded" && models.incomplete ? (0, react.createElement)("p", null, zh ? "失败尝试或缺失历史的模型归属不完整。" : "Model attribution is incomplete for failed attempts or missing history.") : null, (0, react.createElement)("p", null, models.kind === "recorded" ? zh ? "来自本轮成功消息的模型记录;不能证明所有失败尝试都使用了这些模型。" : "From this turn’s successful message sources; this does not prove which models all failed attempts used." : models.kind === "requested" ? zh ? "来自本轮已记录步骤内的请求配置,仅证明请求模型,不证明发送、成功执行或计费用量归属。" : "From request configuration inside a recorded step of this turn; not proof of dispatch, successful execution or billing attribution." : zh ? "没有可靠的本轮模型证据;不从当前选择、全局默认或相邻轮次倒推。" : "No reliable model evidence for this turn; the current picker, global default and adjacent turns cannot reconstruct it."), modelsFailed ? (0, react.createElement)("p", { role: "status" }, zh ? "部分模型证据读取失败,不等同于没有记录。" : "Some model evidence could not be read; this is not proof of missing evidence.") : null, modelsFailed && retryModels ? (0, react.createElement)("button", {
6850
+ type: "button",
6851
+ style: button,
6852
+ onClick: retryModels
6853
+ }, zh ? "重试" : "Retry") : null) : null, accountOpen ? (0, react.createElement)("div", null, (0, react.createElement)("p", null, accountFailed ? zh ? "无法读取本轮账号记录,不等同于没有记录。" : "Could not read account evidence; this is not proof of missing evidence." : account?.state === "recorded" ? `${zh ? "账号" : "Account"}: ${account.identity ? "@" + account.identity.login : account.accountId}` : zh ? "本轮没有保留账号证据,不从当前账号选择推断历史。" : "No retained account evidence; the current account selection cannot reconstruct history."), account?.state === "recorded" ? (0, react.createElement)("p", null, account.source === "global" ? zh ? "本轮发送时跟随全局默认,账号已锁定。" : "Inherited the global default at turn admission; account was frozen." : zh ? "本轮使用 Session 指定账号,账号已锁定。" : "Used the Session override; account was frozen.") : null, (0, react.createElement)("p", null, zh ? "这是有原生流返回的请求账号记录,不是单轮费用或子 Agent 的账号汇总。仅保留在 Host 生命周期内;重启后缺失显示未知。" : "Account evidence from a native stream delivery, not turn billing or subagent attribution. Retained for the Host lifetime only; missing evidence after restart is unknown."), accountFailed && retryAccount ? (0, react.createElement)("button", {
6796
6854
  type: "button",
6797
6855
  style: button,
6798
6856
  onClick: retryAccount
6799
- }, zh ? "重试" : "Retry") : null) : selection.mode === "auto" ? explanation === void 0 ? (0, react.createElement)("p", null, zh ? "本轮未保留详细选模原因;不使用当前设置反推历史。" : "Detailed selection reasons were not retained for this turn; today’s settings cannot reconstruct them.") : (0, react.createElement)("div", null, (0, react.createElement)("p", null, explanation.conclusion), (0, react.createElement)("p", null, explanation.choice), (0, react.createElement)("details", null, (0, react.createElement)("summary", null, zh ? "查看判断依据" : "Assessment details"), (0, react.createElement)("p", null, explanation.assessment), (0, react.createElement)("p", null, zh ? `${selection.candidateCount} 个合格候选;${selection.fittingCandidateCount ?? "未知"} 个可容纳估算输入。` : `${selection.candidateCount} eligible candidates; ${selection.fittingCandidateCount ?? "unknown"} fit the estimated input.`), explanation.diagnostic ? (0, react.createElement)("p", null, explanation.diagnostic) : null, explanation.semantic ? (0, react.createElement)("p", null, explanation.semantic) : null, (0, react.createElement)("p", null, zh ? "分类来自供应方;不保证实际速度、费用或任务质量。" : "Supplier categories do not guarantee actual speed, cost or task quality."))) : null, !accountOpen && incomplete ? (0, react.createElement)("p", null, zh ? "模型归属不完整:部分尝试或历史未记录模型。原生 Usage 保持不变。" : "Model attribution is incomplete: some attempts or history have no recorded model. Native Usage is unchanged.") : null, accountOpen ? null : (0, react.createElement)("p", null, zh ? "此记录说明选择方式,不证明执行;实际模型以原生 Usage 为准。" : "Selection evidence is not execution proof; see native Usage for recorded models."), (0, react.createElement)("button", {
6857
+ }, zh ? "重试" : "Retry") : null) : (0, react.createElement)("details", { style: {
6858
+ borderTop: button.border,
6859
+ marginTop: 18,
6860
+ paddingTop: 12
6861
+ } }, (0, react.createElement)("summary", { style: { cursor: "pointer" } }, zh ? "为什么选择此模型" : "Why this model was selected"), selection.mode === "auto" ? explanation === void 0 ? (0, react.createElement)("p", null, zh ? "本轮未保留详细选模原因;不使用当前设置反推历史。" : "Detailed selection reasons were not retained for this turn; today’s settings cannot reconstruct them.") : (0, react.createElement)("div", null, (0, react.createElement)("p", null, explanation.conclusion), (0, react.createElement)("p", null, explanation.choice), (0, react.createElement)("details", null, (0, react.createElement)("summary", null, zh ? "查看判断依据" : "Assessment details"), (0, react.createElement)("p", null, explanation.assessment), (0, react.createElement)("p", null, zh ? `${selection.candidateCount} 个合格候选;${selection.fittingCandidateCount ?? "未知"} 个可容纳估算输入。` : `${selection.candidateCount} eligible candidates; ${selection.fittingCandidateCount ?? "unknown"} fit the estimated input.`), explanation.diagnostic ? (0, react.createElement)("p", null, explanation.diagnostic) : null, explanation.semantic ? (0, react.createElement)("p", null, explanation.semantic) : null, (0, react.createElement)("p", null, zh ? "分类来自供应方;不保证实际速度、费用或任务质量。" : "Supplier categories do not guarantee actual speed, cost or task quality."))) : (0, react.createElement)("p", null, selection.mode === "manual" ? zh ? "本轮捕获了明确的手动选择;选择记录不是执行证明。" : "An explicit manual selection was captured for this turn; selection is not execution proof." : zh ? "本轮选择记录未保留;不使用当前设置反推历史。" : "Selection evidence was not retained; today’s settings cannot reconstruct it.")), !accountOpen && incomplete && models === void 0 ? (0, react.createElement)("p", null, zh ? "模型归属不完整:部分尝试或历史未记录模型。原生 Usage 保持不变。" : "Model attribution is incomplete: some attempts or history have no recorded model. Native Usage is unchanged.") : null, accountOpen ? null : (0, react.createElement)("p", null, zh ? "模型记录与计费归属不同。选择记录不是执行证明;原生 Usage、失败状态和重试保持不变。" : "Model evidence is not billing attribution. Selection is not execution proof; native Usage is unchanged, as are failures and retries."), (0, react.createElement)("button", {
6800
6862
  ref: close,
6801
6863
  type: "button",
6802
6864
  style: button,
@@ -7178,6 +7240,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7178
7240
  getSnapshot: () => void 0,
7179
7241
  subscribe: () => noop$3
7180
7242
  };
7243
+ const failedSource = {
7244
+ ...missingSource,
7245
+ failed: true
7246
+ };
7181
7247
  function sourceOf(props, key, diagnostic, failure = "COPILOT_TURN_SELECTION_PROJECTION_FAILED") {
7182
7248
  const turn = props.turn;
7183
7249
  if (!record$4(turn) || !record$4(turn.data) || typeof turn.data.source !== "function") return missingSource;
@@ -7186,7 +7252,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7186
7252
  return record$4(source) && typeof source.getSnapshot === "function" && typeof source.subscribe === "function" ? source : missingSource;
7187
7253
  } catch {
7188
7254
  diagnostic(failure);
7189
- return missingSource;
7255
+ return failedSource;
7190
7256
  }
7191
7257
  }
7192
7258
  function iterable(value) {
@@ -7213,6 +7279,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7213
7279
  const [live, setLive] = react.useState({ mode: "unknown" });
7214
7280
  const [readState, setReadState] = react.useState("loading");
7215
7281
  const [readAttempt, setReadAttempt] = react.useState(0);
7282
+ const [requested, setRequested] = react.useState();
7283
+ const [modelsFailed, setModelsFailed] = react.useState(false);
7284
+ const [modelsAttempt, setModelsAttempt] = react.useState(0);
7216
7285
  const turn = record$4(props.turn) && sequence(props.turn.turn) ? props.turn.turn : void 0;
7217
7286
  const sessionId = typeof props.sessionId === "string" ? props.sessionId : void 0;
7218
7287
  const [account, setAccount] = react.useState();
@@ -7284,7 +7353,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7284
7353
  const language = react.useSyncExternalStore(props.locale ? (listener) => props.locale.subscribe(listener) : () => noop$3, () => props.locale?.getLocale().active ?? "en", () => "en");
7285
7354
  const source = sourceOf(props, AUTO_MODEL_ATTRIBUTION_KEY, props.diagnostic);
7286
7355
  const value = react.useSyncExternalStore(source.subscribe, source.getSnapshot, source.getSnapshot);
7287
- const provenanceSource = sourceOf(props, TURN_MODEL_PROVENANCE_KEY, props.diagnostic);
7356
+ const provenanceSource = sourceOf(props, TURN_MODEL_PROVENANCE_KEY, props.diagnostic, "COPILOT_TURN_MODEL_PROVENANCE_READ_FAILED");
7288
7357
  const provenance = react.useSyncExternalStore(provenanceSource.subscribe, provenanceSource.getSnapshot, provenanceSource.getSnapshot);
7289
7358
  const usageSource = sourceOf(props, TURN_USAGE_EVIDENCE_KEY, props.diagnostic, "COPILOT_TURN_USAGE_PROJECTION_FAILED");
7290
7359
  const usageEvidence = react.useSyncExternalStore(usageSource.subscribe, usageSource.getSnapshot, usageSource.getSnapshot);
@@ -7298,10 +7367,49 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7298
7367
  const evidence = isTurnModelProvenance(provenance) ? provenance : void 0;
7299
7368
  const native = record$4(props.tail) && record$4(props.tail.data) ? props.tail.data : void 0;
7300
7369
  const nativeCompleted = native?.turn === turn && sequence(native?.seq);
7301
- if (evidence?.ended !== true && !nativeCompleted) return null;
7302
- if (evidence === void 0) props.diagnostic("COPILOT_TURN_SELECTION_PROVENANCE_UNAVAILABLE");
7370
+ const completed = evidence?.ended === true || nativeCompleted;
7303
7371
  const nativeRoutes = nativeCompleted && record$4(native?.tokenUsage) && Array.isArray(native.tokenUsage.routes) ? native.tokenUsage.routes : [];
7304
- const copilot = (evidence?.routes ?? nativeRoutes).some((route) => record$4(route) && (route.provider === "github-copilot-preview" || route.provider === "github-copilot") && typeof route.model === "string" && route.model.trim() !== "");
7372
+ const recorded = evidence?.routes.length ? evidence.routes : nativeRoutes.filter((route) => record$4(route) && typeof route.provider === "string" && route.provider.trim() !== "" && typeof route.model === "string" && route.model.trim() !== "");
7373
+ const needsRequested = completed && recorded.length === 0;
7374
+ react.useEffect(() => {
7375
+ setRequested(void 0);
7376
+ setModelsFailed(false);
7377
+ if (!needsRequested || turn === void 0 || sessionId === void 0) return;
7378
+ const read = props.remote?.requestedModels;
7379
+ if (!read) {
7380
+ setModelsFailed(true);
7381
+ props.diagnostic("COPILOT_TURN_REQUEST_REMOTE_UNAVAILABLE");
7382
+ return;
7383
+ }
7384
+ let active = true;
7385
+ read(sessionId, turn).then((result) => {
7386
+ if (!active) return;
7387
+ const parsed = result.ok ? RequestedModelsSchema.safeParse(result.value) : void 0;
7388
+ if (parsed?.success) setRequested(parsed.data);
7389
+ else {
7390
+ setModelsFailed(true);
7391
+ props.diagnostic("COPILOT_TURN_REQUEST_READ_FAILED");
7392
+ }
7393
+ }, () => {
7394
+ if (active) {
7395
+ setModelsFailed(true);
7396
+ props.diagnostic("COPILOT_TURN_REQUEST_READ_FAILED");
7397
+ }
7398
+ });
7399
+ return () => {
7400
+ active = false;
7401
+ };
7402
+ }, [
7403
+ needsRequested,
7404
+ turn,
7405
+ sessionId,
7406
+ props.remote,
7407
+ props.diagnostic,
7408
+ modelsAttempt
7409
+ ]);
7410
+ if (!completed) return null;
7411
+ if (evidence === void 0) props.diagnostic("COPILOT_TURN_SELECTION_PROVENANCE_UNAVAILABLE");
7412
+ const copilot = (recorded.length ? recorded : requested?.incomplete === false ? requested.routes : []).some((route) => record$4(route) && (route.provider === "github-copilot-preview" || route.provider === "github-copilot") && typeof route.model === "string" && route.model.trim() !== "");
7305
7413
  const usageDiagnostic = turn === void 0 ? void 0 : turnUsageDiagnostic(turn, native, usageEvidence, copilot);
7306
7414
  if (!copilot && parsed === void 0 && live.mode === "unknown" && usageDiagnostic === void 0) return null;
7307
7415
  if (usageDiagnostic !== void 0 && !isTurnUsageEvidence(usageEvidence)) props.diagnostic("COPILOT_TURN_USAGE_EVIDENCE_UNAVAILABLE");
@@ -7312,11 +7420,28 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7312
7420
  candidateCount: parsed.candidateCount,
7313
7421
  fittingCandidateCount: parsed.fittingCandidateCount
7314
7422
  } : { mode: "unknown" };
7423
+ const nativeCompleteModels = nativeCompleted && nativeRoutes.length > 0 && nativeRoutes.every((route) => record$4(route) && typeof route.provider === "string" && route.provider.trim() !== "" && typeof route.model === "string" && route.model.trim() !== "");
7424
+ const models = nativeCompleteModels ? void 0 : recorded.length ? {
7425
+ kind: "recorded",
7426
+ routes: recorded,
7427
+ incomplete: evidence?.incomplete ?? true
7428
+ } : requested?.incomplete === false && requested.routes.length ? {
7429
+ kind: "requested",
7430
+ routes: requested.routes,
7431
+ incomplete: true
7432
+ } : {
7433
+ kind: "unknown",
7434
+ routes: [],
7435
+ incomplete: true
7436
+ };
7315
7437
  return react.createElement(react.Fragment, null, react.createElement(TurnSelectionCard, {
7316
7438
  selection,
7317
7439
  locale: language,
7318
- incomplete: evidence?.incomplete ?? true,
7440
+ incomplete: nativeCompleteModels ? false : evidence?.incomplete ?? true,
7319
7441
  readState: selection.mode === "unknown" ? readState : "ready",
7442
+ models,
7443
+ modelsFailed: modelsFailed || provenanceSource.failed === true,
7444
+ retryModels: props.remote?.requestedModels === void 0 && provenanceSource.failed !== true ? void 0 : () => setModelsAttempt((value) => value + 1),
7320
7445
  account,
7321
7446
  accountFailed,
7322
7447
  retryAccount: () => setAccountAttempt((value) => value + 1),
@@ -7374,7 +7499,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7374
7499
  }
7375
7500
  const slots = slotsCandidate;
7376
7501
  const face = record$4(capabilities.remote) ? capabilities.remote.githubCopilotTurnSelection : void 0;
7377
- const remote = record$4(face) && typeof face.get === "function" ? face : void 0;
7502
+ const getSelection = record$4(face) ? face.get : void 0;
7503
+ const getRequested = record$4(face) ? face.requestedModels : void 0;
7504
+ const remote = typeof getSelection === "function" ? {
7505
+ get: (agentId, turn) => getSelection(agentId, turn),
7506
+ ...typeof getRequested === "function" ? { requestedModels: (agentId, turn) => getRequested(agentId, turn) } : {}
7507
+ } : void 0;
7378
7508
  const accountFace = record$4(capabilities.remote) ? capabilities.remote.githubCopilotSessionAccount : void 0;
7379
7509
  const readAccount = record$4(accountFace) ? accountFace.turn : void 0;
7380
7510
  const accountRemote = typeof readAccount === "function" ? { turn: (agentId, turn) => readAccount(agentId, turn) } : void 0;