dsh-github-copilot 0.4.0-alpha.42 → 0.4.0-alpha.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +6 -0
- package/README.md +12 -10
- package/README.zh.md +12 -10
- package/deployment-baseline.json +8 -3
- package/lib/client.js +307 -23
- package/lib/client.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/types/client.d.ts +1 -1
- package/lib/types/web-search-routing-card.d.ts +2 -0
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -56,8 +56,8 @@ Alpha.25 admits native `subagent/descriptor` v3, already v3 in the retained rc.1
|
|
|
56
56
|
- `src/index.ts`: authorization bootstrap, dependency-gated Host entry, settings registration, listener, and `ctx.web` provider composition.
|
|
57
57
|
- `src/authorization-controller.ts`: sign-in/status/sign-out and route mutation.
|
|
58
58
|
- `src/copilot-grant.ts`, `src/copilot-auth.ts`: strict grant normalization and narrow pi-ai `CredentialStore` adapter over `llm-pi-ai/github-copilot`.
|
|
59
|
-
- `src/client.ts`: `settings.models.provider-card` account UI, a
|
|
60
|
-
- `src/web-search-routing-config.ts`, `src/web-search-routing-card.ts`: plugin-owned cross-provider live routing settings and the
|
|
59
|
+
- `src/client.ts`: `settings.models.provider-card` account UI, a `plugins.bundle.config` search page (routing and independently saved hosted-search options) with Models/footer/section routing fallback, and independently managed optional Chat integration.
|
|
60
|
+
- `src/web-search-routing-config.ts`, `src/web-search-routing-card.ts`: plugin-owned cross-provider live routing settings and the plugin-detail control surface. Hosted-search options edit only changed Copilot settings leaves with a separate namespace revision; the Models fallback retains routing only.
|
|
61
61
|
- `src/reasoning-presentation.ts`: guarded native Chat delegation and historical Copilot provenance; filters temporary view props only, never messages, signatures, replay indexes or usage.
|
|
62
62
|
- `src/remote.ts`: Typert Remote contribution. Never add credential payloads here.
|
|
63
63
|
- `src/copilot-usage-host.ts`, `src/copilot-usage-remote.ts`, `src/copilot-usage-card.ts`, `src/copilot-usage-ui.ts`: bounded Host quota snapshots, an independent strict namespace and reversible composer presentation. No real account fetches in tests, private Client store/DOM injection, new credential owner or general model wire.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0-alpha.43 (prepared)
|
|
4
|
+
|
|
5
|
+
- Put Web search routing and Copilot hosted-search options on the plugin bundle's detail page through the public `plugins.bundle.config` slot (#177).
|
|
6
|
+
- Keep sign-in, account status and model refresh in Models; retain the routing card's Models/section fallback if the bundle slot is unavailable.
|
|
7
|
+
- Save routing and hosted-search options independently to their existing namespaces with revision checks, preserving unchanged allowlists and explicit legacy model overrides. No settings, profile or Session is migrated on page open.
|
|
8
|
+
|
|
3
9
|
## 0.4.0-alpha.42 (prepared)
|
|
4
10
|
|
|
5
11
|
- Add a plugin-owned virtual **Auto** model to the managed GitHub Copilot route, resolving once per Core turn to a real account model while preserving explicit selections and truthful request provenance (#174).
|
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ The first alpha.11 publication attempt stopped before packing: the tagged Sessio
|
|
|
39
39
|
|
|
40
40
|
### Alpha.17 provider-aware web search (#118)
|
|
41
41
|
|
|
42
|
-
The bundle routes search through a plugin-owned Models-page
|
|
42
|
+
The bundle routes search through a plugin-owned policy configured in plugin details (with a Models-page fallback): `auto` prefers eligible native Copilot search and otherwise uses the configured default provider; `fixed` always uses that provider. A separately selected account model lets Volcengine and other non-Copilot chat Sessions use Copilot hosted search. The implementation uses public web-service composition without Core or preset edits. Source and synthetic tests are not proof of live Copilot search, release publication or local activation; see [routing evidence](docs/session-search-routing.md).
|
|
43
43
|
|
|
44
44
|
### Alpha.19 DSH 0.1.6 compatibility adaptation (#125)
|
|
45
45
|
|
|
@@ -53,7 +53,7 @@ The candidate manifest treats `@deepseek-ai/dsh-authorization` and `@deepseek-ai
|
|
|
53
53
|
|
|
54
54
|
The built Client intentionally requests React from DSH's browser `ModuleLoader` singleton. React is not a Desktop Host shared package and must not be installed as a required Node profile peer. Alpha.22 declares `dsh.client.external: [\"react\"]`, removes the root React peer, and retains React only as a development dependency. Packed verification now audits every required peer and Client external, confirms the real built Client requests exactly React from the loader, and preserves authorization/schemastery as required Host peers. This fixes the packaged Desktop startup error `requires missing react@^18.2.0` without enabling peer auto-install, bundling another React copy, or weakening Desktop graph validation. Actual packaged Electron loading remains a downstream acceptance gate.
|
|
55
55
|
|
|
56
|
-
Alpha.24
|
|
56
|
+
Alpha.24 fixed the Web search card's missing traced Remote dependency. At that time it lived in **Settings → Models** (`settings.models.footer`, list/root), with an old-Core Web search section fallback. It now prefers the plugin's detail page; the search child still waits independently for its routing namespace, without affecting account controls or search safety guards. Actual packaged Desktop acceptance is still a separate gate.
|
|
57
57
|
|
|
58
58
|
### Alpha.25 official-first DSH 0.1.6-alpha.2 adaptation
|
|
59
59
|
|
|
@@ -85,7 +85,7 @@ The Host reads GitHub's internal quota endpoint using the existing canonical OAu
|
|
|
85
85
|
|
|
86
86
|
## Install and sign in
|
|
87
87
|
|
|
88
|
-
The commands below target the package version `0.4.0-alpha.
|
|
88
|
+
The commands below target the package version `0.4.0-alpha.43`. Versioned URLs describe the intended release artifacts, not proof that publication or local activation has completed; use them only once that Release and its checksums are available. Install into the profile you use (replace `web` when targeting another profile):
|
|
89
89
|
|
|
90
90
|
Before installing/updating, unpack the **checksum-verified** archive into a temporary directory and run its read-only composition preflight (replace all paths with absolute paths for the intended profile):
|
|
91
91
|
|
|
@@ -98,10 +98,10 @@ Include any launcher patch files with repeated `--patch /absolute/file` argument
|
|
|
98
98
|
For a standalone named profile only, the supported CLI command is:
|
|
99
99
|
|
|
100
100
|
```sh
|
|
101
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
101
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.43/dsh-github-copilot-0.4.0-alpha.43.tgz
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
For Desktop profiles, use Desktop's native package manager with `dsh-github-copilot@0.4.0-alpha.
|
|
104
|
+
For Desktop profiles, use Desktop's native package manager with `dsh-github-copilot@0.4.0-alpha.43` after the same preflight and only when registry access is permitted. Desktop reserves its `desktop` profile from CLI management. If registry access is blocked or unavailable, stop; the documented [controlled offline CLI procedure](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles) is not a Desktop workaround.
|
|
105
105
|
|
|
106
106
|
Then open the Models UI listed above, find **GitHub Copilot**, select **Sign in**, and complete the GitHub device-code flow. Plugin installation changes the selected profile; activation follows that profile's normal reload/restart policy.
|
|
107
107
|
|
|
@@ -167,7 +167,7 @@ Agents should treat the browser authorization as a human handoff, not as a token
|
|
|
167
167
|
5. Confirm **Signed in** and inspect the automatic discovery result before asking the user to choose a model. Already-signed-in Models opening ensures missing/stale metadata automatically; fresh ready cache makes no request. Use visible **Retry** for errors or **Manage → Refresh models** for an intentional forced update, not routine setup. Status alone does not discover, and login, metadata and successful model calls remain separate evidence.
|
|
168
168
|
6. Use **Sign out** only when the user explicitly asks to disconnect the account. It deletes the Copilot credential record but preserves route settings.
|
|
169
169
|
|
|
170
|
-
GitHub Releases and npm are the default distribution channels for each new version, using the same verified tarball. Pin the version and verify the evidence for the channel used: Release `SHA256SUMS`, and npm `dist.integrity` when installing from npm. Install into Desktop profiles only through Desktop's native package manager; the reserved `desktop` profile is not managed by the DSH CLI. After npm publication is verified, the native manager accepts `dsh-github-copilot@0.4.0-alpha.
|
|
170
|
+
GitHub Releases and npm are the default distribution channels for each new version, using the same verified tarball. Pin the version and verify the evidence for the channel used: Release `SHA256SUMS`, and npm `dist.integrity` when installing from npm. Install into Desktop profiles only through Desktop's native package manager; the reserved `desktop` profile is not managed by the DSH CLI. After npm publication is verified, the native manager accepts `dsh-github-copilot@0.4.0-alpha.43`, not a URL or file. Controlled offline CLI maintenance is documented for standalone named profiles only, never Desktop-managed profiles. Follow the mandatory search-composition preflight, backup, single-writer and post-install checks; do not bypass a corporate registry ban, disable TLS verification or restart without separate approval. See [distribution and publication requirements](./docs/npm-distribution.md).
|
|
171
171
|
|
|
172
172
|
No `copilot2api` process, external gateway, placeholder API key, pasted GitHub token, or separate `dsh-web-search-provider` installation is required.
|
|
173
173
|
|
|
@@ -267,7 +267,7 @@ Auto-mode native search identity comes from the captured initiating Session's ef
|
|
|
267
267
|
|
|
268
268
|
The bundle composes a plugin-owned web-service facade while preserving the original official service and its exact configuration in a named realm. It does not edit Core or agent presets. Native `web_search` consumers keep their argument validation, query/source limits, middleware, timeout and presentation; the same routing also covers direct `ctx.web.search` consumers with proven initiating context.
|
|
269
269
|
|
|
270
|
-
|
|
270
|
+
The **Web search** card under **Plugins → dsh-github-copilot → Details** controls routing across search backends through the public `plugins.bundle.config` slot (keyed by package name). The same page offers expandable Copilot hosted-search options (enablement, route allowlist, citations, tool filtering, proof, deadlines, and legacy fallback). Routing and hosted-search options have independent Save actions and revision-checked writes to their existing namespaces. When the bundle slot is unavailable, routing falls back to **Settings → Models**, or **Settings → Web search** if the Models footer is also unavailable; advanced options remain available through the existing settings section. Only one routing card is registered at a time; leaving the detail page discards unsaved edits. Account sign-in, status, and model refresh remain under **Settings → Models**. No settings values are migrated or rewritten merely by opening the new page. Removing the companion restores the original web service.
|
|
271
271
|
|
|
272
272
|
The **Search provider** selector offers **Auto — follow Chat** and the actual search providers registered through the routed facade. **Fallback provider** uses the same catalog, with an additional **None — no fallback** choice. These are search backends, not individual models: Copilot is one backend even when different account models can execute its search requests. Ordinary setup needs only these provider choices, not a separate search model.
|
|
273
273
|
|
|
@@ -337,6 +337,8 @@ The plugin does not rewrite `$DSH_HOME/AGENTS.md`. Installers may merge these ru
|
|
|
337
337
|
|
|
338
338
|
The plugin's `github-copilot` settings section controls account-metadata freshness, managed request budgets and hosted search. `enabled` still controls hosted search only:
|
|
339
339
|
|
|
340
|
+
Search **provider routing** and the `github-copilot` hosted-search options below are edited on the plugin detail page. The advanced form writes only explicitly changed leaves; it never rewrites a saved route allowlist just because another option was saved. Account-metadata and managed-budget options remain in their existing settings section.
|
|
341
|
+
|
|
340
342
|
| Key | Default | Scope and meaning |
|
|
341
343
|
|---|---:|---|
|
|
342
344
|
| `accountModelTtlMs` | `86400000` | Maximum account-metadata reuse window in milliseconds (24h); does not extend credentials or proof validity. |
|
|
@@ -431,8 +433,8 @@ Report the published Release URL, version, tag/commit and verified asset SHA-256
|
|
|
431
433
|
`package.json` declares public npm distribution. A release tag must equal `v${package.json.version}`. Versions use standard SemVer prerelease labels (`alpha`, `beta`, or `rc`), each with its matching npm dist-tag; only stable versions use `latest`. The Release workflow performs the frozen install and complete verification gate, packs once (or recovers the original archive on retry), verifies `SHA256SUMS`, publishes the immutable GitHub Release and then publishes those same bytes to npm through OIDC. Either channel failing means delivery is incomplete. First package creation needs an authorized maintainer; staging requires an existing package and is not a first-package bootstrap. Historical releases are not republished.
|
|
432
434
|
|
|
433
435
|
```sh
|
|
434
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
435
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
436
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.43/dsh-github-copilot-0.4.0-alpha.43.tgz
|
|
437
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.43/SHA256SUMS
|
|
436
438
|
sha256sum --check SHA256SUMS
|
|
437
439
|
```
|
|
438
440
|
|
|
@@ -440,7 +442,7 @@ PowerShell can verify the same two downloaded files with:
|
|
|
440
442
|
|
|
441
443
|
```powershell
|
|
442
444
|
$expected = (Get-Content .\SHA256SUMS).Split()[0]
|
|
443
|
-
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.
|
|
445
|
+
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.43.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
444
446
|
if ($actual -cne $expected) { throw 'Release checksum mismatch' }
|
|
445
447
|
```
|
|
446
448
|
|
package/README.zh.md
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
|
|
10
10
|
一个聚焦 GitHub Copilot 登录、通用账号模型发现、Copilot 专用 Tool 兼容与供应方托管搜索的 DSH companion。插件根据供应方返回的端点和能力元数据组装模型,复用公开的 `@deepseek-ai/dsh-llm-pi-ai` adapter 与 pi-ai SDK,不另写一套通用传输/序列化器,也不维护需要逐个添加新模型 ID 的静态目录。
|
|
11
11
|
|
|
12
|
-
> 下文自动维护账号模型元数据与 provider 集成控件描述目标版本 `0.4.0-alpha.
|
|
12
|
+
> 下文自动维护账号模型元数据与 provider 集成控件描述目标版本 `0.4.0-alpha.43`;这不代表已有的两条真实路由被合并或移除。版本化 URL 不表示 Release 已发布或本机已加载;仅在该 Release 与校验和可用后使用安装命令。源码、发布制品、已安装版本和实际加载运行时需分别确认,本地升级和中断会话的重启仍需用户批准。
|
|
13
13
|
|
|
14
|
-
Alpha.24
|
|
14
|
+
Alpha.24 修复了 Web search 卡片缺少精确 Remote 依赖声明的问题。当时卡片位于 **设置 → 模型**(`settings.models.footer`,list/root),旧 Core 回退到独立 Web search section。现在优先显示在插件详情页;搜索子 Fiber 仍独立等待 routing namespace,不影响账号控件和既有搜索安全检查;实际打包 Desktop 验收仍是独立关卡。
|
|
15
15
|
|
|
16
16
|
## 兼容基线与待验收目标
|
|
17
17
|
|
|
@@ -43,7 +43,7 @@ Core `0.1.5-alpha.2` 新增必需的 `ResolvedPiAiProviderProfile.modelErrors`
|
|
|
43
43
|
|
|
44
44
|
### Alpha.17 Provider-aware 搜索路由(#118)
|
|
45
45
|
|
|
46
|
-
bundle
|
|
46
|
+
bundle 通过在插件详情页配置的自有策略分流搜索(Models 页作为回退):`auto` 优先合格的 Copilot 原生搜索,否则使用配置的默认 Provider;`fixed` 始终使用该 Provider。单独选择账号模型后,火山方舟等非 Copilot 聊天会话也能使用 Copilot 托管搜索。全部通过公开 web 服务组合实现,不改 Core 或预设。源码和合成测试不代表真实 Copilot 搜索、已发布或本机已生效;详见[分流验收范围](docs/session-search-routing.md)。
|
|
47
47
|
|
|
48
48
|
### Alpha.19 DSH 0.1.6 兼容适配(#125)
|
|
49
49
|
|
|
@@ -100,10 +100,10 @@ node package/scripts/check-search-composition.mjs --profile-dir /absolute/profil
|
|
|
100
100
|
仅对独立的具名 profile,获准且网络可用时,可通过受支持的 CLI 命令安装:
|
|
101
101
|
|
|
102
102
|
```sh
|
|
103
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
103
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.43/dsh-github-copilot-0.4.0-alpha.43.tgz
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
Desktop profile 请在完成同样的预检后,使用 Desktop 原生包管理器安装 `dsh-github-copilot@0.4.0-alpha.
|
|
106
|
+
Desktop profile 请在完成同样的预检后,使用 Desktop 原生包管理器安装 `dsh-github-copilot@0.4.0-alpha.43`。Desktop 保留 `desktop` profile,CLI 不负责管理。若 registry 被公司封禁或不可用,不要更换网络绕行或使用离线 CLI;请停止。[受控离线 CLI 流程](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles)仅适用于独立具名 profile,不适用于 Desktop。
|
|
107
107
|
|
|
108
108
|
随后打开上表对应的 Models UI,找到 **GitHub Copilot**,点击 **Sign in** 并完成 GitHub device-code 流程。安装会修改指定 profile;是否立即激活取决于该 profile 的常规 reload/restart 策略。
|
|
109
109
|
|
|
@@ -169,7 +169,7 @@ Agent 应把浏览器授权视为需要用户完成的 handoff,而不是自行
|
|
|
169
169
|
5. 确认 **Signed in** 并检查自动发现结果,再请用户选择模型。已登录时打开 Models 会自动确保缺失/过期元数据,新鲜 ready 缓存不发请求。错误可使用 **Retry**,有意强制更新时使用 **Manage → Refresh models**,不作为常规设置步骤。状态读取本身不发现;登录、元数据与真实调用成功是独立证据。
|
|
170
170
|
6. 只有用户明确要求断开账号时才使用 **Sign out**;它会删除 Copilot credential record,但保留 route settings。
|
|
171
171
|
|
|
172
|
-
每个新版本默认同时分发到 GitHub Releases 和 npm,两个渠道使用同一份已验证 tarball。应固定版本并核对所用渠道的证据:Release 的 `SHA256SUMS`;从 npm 安装时另核对 `dist.integrity`。Desktop profile 只能通过原生 Desktop 包管理器安装;获准且 registry 可用时输入 `dsh-github-copilot@0.4.0-alpha.
|
|
172
|
+
每个新版本默认同时分发到 GitHub Releases 和 npm,两个渠道使用同一份已验证 tarball。应固定版本并核对所用渠道的证据:Release 的 `SHA256SUMS`;从 npm 安装时另核对 `dist.integrity`。Desktop profile 只能通过原生 Desktop 包管理器安装;获准且 registry 可用时输入 `dsh-github-copilot@0.4.0-alpha.43`,不是 URL 或本地文件。Desktop 保留 `desktop` profile,不能通过 DSH CLI 管理。受控离线 CLI 维护仅适用于独立具名 profile,不得作为 Desktop 安装绕行方案。[双渠道发布与 OIDC 要求](./docs/npm-distribution.md)保持不变。
|
|
173
173
|
|
|
174
174
|
不需要运行 `copilot2api`,不需要外部 gateway、placeholder API key、原始 GitHub token 或单独安装 `dsh-web-search-provider`。
|
|
175
175
|
|
|
@@ -275,7 +275,7 @@ Grant 写入或复用前,Host normalizer 只会把 pi-ai 文档化的 `type`
|
|
|
275
275
|
|
|
276
276
|
新版 bundle 通过插件自有的 web 服务外观层分流,将原官方服务及完整配置保留在命名作用域中,不修改 Core 或会话预设。原生 `web_search` 保留参数校验、查询/来源数量限制、执行中间件、超时和结果展示;有可靠发起会话上下文的直接 `ctx.web.search` 调用也使用相同分流规则。
|
|
277
277
|
|
|
278
|
-
|
|
278
|
+
在 **插件 → dsh-github-copilot → 详情**中,**Web search** 卡片通过公开的 `plugins.bundle.config`(按包名索引)设置跨后端搜索路由;同一页面还可展开 Copilot 托管搜索选项(开关、路由白名单、引用、工具过滤、能力证明、超时及旧兜底)。两组设置分别保存,仍通过各自原有命名空间与修订号校验写入。若 bundle slot 不可用,路由卡片回退到 **设置 → 模型**;若 Models footer 也不可用,则回退到 **设置 → Web search**;高级选项仍可通过原设置分区修改。同一时间只注册一处路由卡片,离开详情页会丢弃未保存的草稿。账号登录、状态及模型刷新仍在 **设置 → 模型**。仅打开新页面不会迁移或改写已有设置,卸载本插件后恢复原 web 服务。
|
|
279
279
|
|
|
280
280
|
**Search provider** 主选择器提供 **Auto — follow Chat** 和通过路由外观层实际注册的搜索 Provider;**Fallback provider**(兜底后端)使用同一目录,额外提供 **None — no fallback**。选择项代表搜索后端,不代表单个模型:即使多个账号模型可以执行搜索,Copilot 仍然只有一个搜索后端。普通配置只需选择这两个 Provider,不再要求另选搜索模型。
|
|
281
281
|
|
|
@@ -340,6 +340,8 @@ Copilot Session 如需更宽的文件或命令权限,必须在调用前选择
|
|
|
340
340
|
|
|
341
341
|
插件 `github-copilot` settings section 控制账号元数据新鲜度、托管请求预算与 hosted search;`enabled` 仍只控制 hosted search:
|
|
342
342
|
|
|
343
|
+
搜索**后端分流**与下表中的 `github-copilot` 托管搜索选项均可在插件详情页修改。高级表单只写明确更改的设置项;修改其他选项不会重写已保存的路由白名单。账号元数据及托管请求预算参数仍留在原设置分区。
|
|
344
|
+
|
|
343
345
|
| 键 | 默认值 | 作用范围与含义 |
|
|
344
346
|
|---|---:|---|
|
|
345
347
|
| `accountModelTtlMs` | `86400000` | 最大账号元数据复用窗口,毫秒(24 小时);不延长凭据或 proof 有效期。 |
|
|
@@ -442,8 +444,8 @@ node scripts/agent.mjs attribution "DeepSeek Harness (DSH)"
|
|
|
442
444
|
`package.json` 声明公开 npm 分发。Release tag 必须严格等于 `v${package.json.version}`。预发布使用 `alpha`、`beta` 或 `rc` 及对应 npm dist-tag,只有稳定版使用 `latest`。Release workflow 执行 frozen install 和完整门禁,只打包一次(重试恢复原始归档),验证 `SHA256SUMS`,发布不可变 GitHub Release,再通过 OIDC 将同一份字节发布到 npm。任一渠道失败都表示交付未完成。首次建包须由获准环境中的维护者完成;staging 要求包已存在,不能代替首次建包。不会批量补发历史版本。
|
|
443
445
|
|
|
444
446
|
```sh
|
|
445
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
446
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
447
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.43/dsh-github-copilot-0.4.0-alpha.43.tgz
|
|
448
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.43/SHA256SUMS
|
|
447
449
|
sha256sum --check SHA256SUMS
|
|
448
450
|
```
|
|
449
451
|
|
|
@@ -451,7 +453,7 @@ PowerShell 可以对已下载的同一组文件执行:
|
|
|
451
453
|
|
|
452
454
|
```powershell
|
|
453
455
|
$expected = (Get-Content .\SHA256SUMS).Split()[0]
|
|
454
|
-
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.
|
|
456
|
+
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.43.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
455
457
|
if ($actual -cne $expected) { throw 'Release checksum mismatch' }
|
|
456
458
|
```
|
|
457
459
|
|
package/deployment-baseline.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"package": {
|
|
10
10
|
"name": "dsh-github-copilot",
|
|
11
|
-
"version": "0.4.0-alpha.
|
|
11
|
+
"version": "0.4.0-alpha.43"
|
|
12
12
|
},
|
|
13
13
|
"evidence": {
|
|
14
14
|
"kind": "source-and-synthetic-test-inventory",
|
|
@@ -356,12 +356,14 @@
|
|
|
356
356
|
{"file": "src/index.ts", "marker": "ctx.provide('githubCopilotSearchRouter'"},
|
|
357
357
|
{"file": "src/web-search-routing-config.ts", "marker": "WEB_SEARCH_ROUTING_SETTINGS_NAMESPACE"},
|
|
358
358
|
{"file": "src/web-search-routing-card.ts", "marker": "data-dsh-web-search-routing"},
|
|
359
|
+
{"file": "src/web-search-routing-card.ts", "marker": "data-dsh-copilot-search-options"},
|
|
359
360
|
{"file": "cordis.patch.yml", "marker": "web: github-copilot-original-web"}
|
|
360
361
|
],
|
|
361
362
|
"tests": [
|
|
362
363
|
{"file": "tests/search-provider-catalog.spec.ts", "name": "lists only actual facade registrations without availability checks, auth or search"},
|
|
363
364
|
{"file": "tests/scripts/search-provider-gateway.test.mjs", "name": "search catalog Remote reaches actual facade registrations and unloads cleanly"},
|
|
364
365
|
{"file": "tests/web-search-routing-card.spec.ts", "name": "loads one actual provider catalog into both selectors without Copilot-specific Auto labels"},
|
|
366
|
+
{"file": "tests/client-search-inject.spec.ts", "name": "saves only edited hosted-search leaves in the existing namespace without broadening the route allowlist"},
|
|
365
367
|
{"file": "tests/routed-web.spec.ts", "name": "keeps the configured provider for DeepSeek and all other model routes"},
|
|
366
368
|
{"file": "tests/routed-web.spec.ts", "name": "dispatches a router-selected provider by exact registered id"},
|
|
367
369
|
{"file": "tests/routed-web.spec.ts", "name": "retains pre-execute denial and the surrounding execution middleware"},
|
|
@@ -369,7 +371,7 @@
|
|
|
369
371
|
{"file": "tests/inline/apply.spec.ts", "name": "discovers an independent search model absent from the static catalog and keeps proof enabled"},
|
|
370
372
|
{"file": "tests/inline/apply.spec.ts", "name": "rejects independent search when managed proof expires during %s"},
|
|
371
373
|
{"file": "tests/inline/apply.spec.ts", "name": "uses the configured account model in fixed mode even for a different Copilot chat model"},
|
|
372
|
-
{"file": "tests/client-bundle.spec.ts", "name": "registers web-search routing
|
|
374
|
+
{"file": "tests/client-bundle.spec.ts", "name": "registers web-search routing in the built bundle detail page, leaving Models for account controls"},
|
|
373
375
|
{"file": "tests/routed-web-loader.spec.ts", "name": "loads the built facade and delegate entries without changing official tools"}
|
|
374
376
|
]
|
|
375
377
|
},
|
|
@@ -390,7 +392,7 @@
|
|
|
390
392
|
{"file": "tests/web-search-routing-card.spec.ts", "name": "never loads account model suggestions to display or save providers"},
|
|
391
393
|
{"file": "tests/web-search-routing-card.spec.ts", "name": "resets a legacy override only through an explicit separate action"},
|
|
392
394
|
{"file": "tests/web-search-routing-card.spec.ts", "name": "explains a real Remote settings-conflict without exposing its raw details"},
|
|
393
|
-
{"file": "tests/client-search-inject.spec.ts", "name": "keeps real mounted drafts and pending saves through parent rerenders (
|
|
395
|
+
{"file": "tests/client-search-inject.spec.ts", "name": "keeps real mounted drafts and pending saves through parent rerenders (bundle=%s)"},
|
|
394
396
|
{"file": "tests/scripts/search-settings-contract.test.mjs", "name": "real pinned Client namespace lookups require stable capture across render calls"},
|
|
395
397
|
{"file": "tests/scripts/search-settings-contract.test.mjs", "name": "provider-only search routing saves both leaves once without a Copilot namespace or model"},
|
|
396
398
|
{"file": "tests/scripts/search-settings-contract.test.mjs", "name": "stale routing revisions fail CAS and preserve the last successful settings"},
|
|
@@ -956,10 +958,13 @@
|
|
|
956
958
|
"sourceMarkers": [
|
|
957
959
|
{"file": "src/client.ts", "marker": "GitHubCopilotSettingsSection"},
|
|
958
960
|
{"file": "src/client.ts", "marker": "settings.models.footer"},
|
|
961
|
+
{"file": "src/client.ts", "marker": "plugins.bundle.config"},
|
|
959
962
|
{"file": "src/client.ts", "marker": "settingsSectionActive && !footerActive"}
|
|
960
963
|
],
|
|
961
964
|
"tests": [
|
|
962
965
|
{"file": "tests/client.spec.ts", "name": "registers a GitHub Copilot settings section on the rc.2 Models surface"},
|
|
966
|
+
{"file": "tests/client-search-inject.spec.ts", "name": "renders the actual search callback in $seat"},
|
|
967
|
+
{"file": "tests/client-bundle.spec.ts", "name": "registers web-search routing in the built bundle detail page, leaving Models for account controls"},
|
|
963
968
|
{"file": "tests/client.spec.ts", "name": "registers coordinated provider and fallback seats without starting either controller during registration"},
|
|
964
969
|
{"file": "tests/client.spec.ts", "name": "leaves authorization active when the optional footer contract is incompatible or registration fails"},
|
|
965
970
|
{"file": "tests/client.spec.ts", "name": "mounts one compact account lifecycle instead of separate authorization and discovery owners"},
|