dsh-github-copilot 0.4.0-alpha.125 → 0.4.0-alpha.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +8 -6
- package/README.zh.md +8 -6
- package/deployment-baseline.json +1 -1
- package/lib/client.js +207 -229
- package/lib/client.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/types/diagnostics-card.d.ts +1 -0
- package/lib/types/native-settings-style.d.ts +10 -0
- package/lib/types/parent-model-follow-card.d.ts +2 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0-alpha.126 (prepared)
|
|
4
|
+
|
|
5
|
+
- Align plugin-owned Models, account management, model preferences, continuation disclosures, Credits details and plugin settings with the unchanged official rc.2 font family, type scale, themed neutral controls and focus states (#361).
|
|
6
|
+
- Match compact provider actions to native Edit; keep Sign out and Refresh content-sized, and wrap model actions below long names/IDs on narrow layouts. Preserve authorization, CAS, preferences, continuation, quota and native UI ownership.
|
|
7
|
+
- Isolated real-component browser comparisons cover desktop/narrow widths and light/dark themes; they do not prove live Desktop activation or authorize installation/restart.
|
|
8
|
+
|
|
3
9
|
## 0.4.0-alpha.125 (prepared)
|
|
4
10
|
|
|
5
11
|
- Add the experimental, default-off `github-copilot.responsesRequestCompression` option: account-proven managed HTTP Responses JSON may use bounded, lossless gzip at the existing public Fetch boundary (#358).
|
package/README.md
CHANGED
|
@@ -19,13 +19,15 @@ Identity display accepts GitHub Enterprise Managed User names, including their u
|
|
|
19
19
|
|
|
20
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
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
|
+
|
|
22
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).
|
|
23
25
|
|
|
24
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).
|
|
25
27
|
|
|
26
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.
|
|
27
29
|
|
|
28
|
-
**Package version: `0.4.0-alpha.
|
|
30
|
+
**Package version: `0.4.0-alpha.126` (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.
|
|
29
31
|
|
|
30
32
|
## What you can do
|
|
31
33
|
|
|
@@ -91,10 +93,10 @@ Supply any launcher patches with repeated `--patch /absolute/file`. Require `sup
|
|
|
91
93
|
For a **standalone named profile**:
|
|
92
94
|
|
|
93
95
|
```sh
|
|
94
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
96
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.126/dsh-github-copilot-0.4.0-alpha.126.tgz
|
|
95
97
|
```
|
|
96
98
|
|
|
97
|
-
For **Desktop**, its native package manager accepts `dsh-github-copilot@0.4.0-alpha.
|
|
99
|
+
For **Desktop**, its native package manager accepts `dsh-github-copilot@0.4.0-alpha.126` 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.
|
|
98
100
|
|
|
99
101
|
After an approved reload/restart:
|
|
100
102
|
|
|
@@ -263,14 +265,14 @@ Commit attribution uses `Assisted-by` with the actual tool, never the model prov
|
|
|
263
265
|
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.
|
|
264
266
|
|
|
265
267
|
```sh
|
|
266
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
267
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
268
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.126/dsh-github-copilot-0.4.0-alpha.126.tgz
|
|
269
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.126/SHA256SUMS
|
|
268
270
|
sha256sum --check SHA256SUMS
|
|
269
271
|
```
|
|
270
272
|
|
|
271
273
|
```powershell
|
|
272
274
|
$expected = (Get-Content .\SHA256SUMS).Split()[0]
|
|
273
|
-
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.
|
|
275
|
+
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.126.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
274
276
|
if ($actual -cne $expected) { throw 'Release checksum mismatch' }
|
|
275
277
|
```
|
|
276
278
|
|
package/README.zh.md
CHANGED
|
@@ -16,13 +16,15 @@
|
|
|
16
16
|
|
|
17
17
|
Models 和 Chat 共用不透明、随主题适配的账号下拉层;原生菜单 token 即使半透明,也不会透出底下的按钮或额度文字。明暗主题均使用克制的深色投影,不产生白色光晕。
|
|
18
18
|
|
|
19
|
+
插件的 Models、账号、模型偏好和设置控件统一使用 DSH 原生字体、设置/辅助文字层级、中性圆角及键盘焦点样式。紧凑操作与原生 Edit 对齐;Manage 内的操作按钮不再铺满整行。这些外观调整不会改变授权、模型偏好或降级续聊策略。
|
|
20
|
+
|
|
19
21
|
可见历史续聊不再按整包 16 MiB 拒绝请求。过滤只对加密推理做有界、可取消的处理,普通工具输出和图片内容保持不变。真实 token 压力仍交给已启用的原生自动 compact 引擎,完成摘要后重建请求;处理工作量上限不会被误报为上下文溢出。参见[续聊边界](./docs/session-continuation.md)。
|
|
20
22
|
|
|
21
23
|
可见的 Models 和 Credits 会补齐已保存账号缺失的名称,不需要先激活账号。已验证名称在 Host 生命周期内缓存,未激活账号也会保留;十分钟是重新验证的间隔,不是名字的显示期限。凭据变更、账号移除及身份验证失败会使名称失效。同账号共享请求、失败冷却三十秒,显式刷新可立即重试。名称不能证明授权有效或模型可用。参见[账号生命周期](./docs/copilot-accounts.md)。
|
|
22
24
|
|
|
23
25
|
添加账号时,设备授权链接、可选择的网址、一次性授权码、复制授权码和取消操作会同时显示。GitHub 授权完成后,会单独显示身份与可用模型验证阶段。添加账号不会更改全局默认;准备好后仍需显式执行现有的**切换**操作。技术诊断收在次级折叠区;账号/历史 turn 缺少身份时不会暴露不透明账号 ID,也不会根据当前设置推断历史身份。
|
|
24
26
|
|
|
25
|
-
**包版本:`0.4.0-alpha.
|
|
27
|
+
**包版本:`0.4.0-alpha.126`(准备中)。支持宿主:官方 DSH / Windows Desktop `0.2.0-rc.2`。** 较早 DSH pin 仅是历史证据,不是当前安装目标。已发布、已安装到 profile、已被运行中的 Host 加载,是三个不同状态。执行下方带版本的命令前须核验正式发布与资产;这些说明不证明已发布或已安装。
|
|
26
28
|
|
|
27
29
|
## 你可以做什么
|
|
28
30
|
|
|
@@ -81,10 +83,10 @@ node package/scripts/check-search-composition.mjs --profile-dir /absolute/profil
|
|
|
81
83
|
**独立具名 profile**:
|
|
82
84
|
|
|
83
85
|
```sh
|
|
84
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
86
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.126/dsh-github-copilot-0.4.0-alpha.126.tgz
|
|
85
87
|
```
|
|
86
88
|
|
|
87
|
-
**Desktop** 原生包管理器在发布后接受 `dsh-github-copilot@0.4.0-alpha.
|
|
89
|
+
**Desktop** 原生包管理器在发布后接受 `dsh-github-copilot@0.4.0-alpha.126`。官方 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 或删除配置。
|
|
88
90
|
|
|
89
91
|
经批准 reload/restart 后:
|
|
90
92
|
|
|
@@ -253,14 +255,14 @@ Agent 从 `node scripts/agent.mjs describe --json`、`doctor --json`及`plan <ta
|
|
|
253
255
|
GitHub Releases 和 npm 分发同一原始已校验 tarball。固定版本并核验 Release SHA-256 或 npm `dist.integrity`;不重打包不可变 Release、不移动/复用 tag。
|
|
254
256
|
|
|
255
257
|
```sh
|
|
256
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
257
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
258
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.126/dsh-github-copilot-0.4.0-alpha.126.tgz
|
|
259
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.126/SHA256SUMS
|
|
258
260
|
sha256sum --check SHA256SUMS
|
|
259
261
|
```
|
|
260
262
|
|
|
261
263
|
```powershell
|
|
262
264
|
$expected = (Get-Content .\SHA256SUMS).Split()[0]
|
|
263
|
-
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.
|
|
265
|
+
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.126.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
264
266
|
if ($actual -cne $expected) { throw 'Release checksum mismatch' }
|
|
265
267
|
```
|
|
266
268
|
|