dsh-github-copilot 0.4.0-alpha.91 → 0.4.0-alpha.92
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 +5 -0
- package/README.md +6 -6
- package/README.zh.md +6 -6
- package/deployment-baseline.json +1 -1
- package/lib/client.js +8 -1
- package/lib/client.js.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0-alpha.92 (prepared)
|
|
4
|
+
|
|
5
|
+
- Match the historical context disclosure title to neighboring composer statistics using the existing secondary font-size/line-height tokens, normal weight and tertiary label color (#283).
|
|
6
|
+
- Preserve native disclosure interaction, localization, historical evidence, context metering and Usage ownership; this changes presentation only.
|
|
7
|
+
|
|
3
8
|
## 0.4.0-alpha.91 (prepared)
|
|
4
9
|
|
|
5
10
|
- Prevent known continuing-step managed input pressure before native model-attempt admission through the public `agent/pre-step` seam (#280), using the initiating Agent's current compaction service and one native transaction.
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
GitHub Copilot account discovery, contextual Auto routing and hosted search for DSH. The plugin reuses DSH's published native adapter and one Host-owned OAuth account; it does not patch Core or maintain a second model catalog.
|
|
10
10
|
|
|
11
|
-
**Current release: `0.4.0-alpha.
|
|
11
|
+
**Current release: `0.4.0-alpha.92`. 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.
|
|
12
12
|
|
|
13
13
|
## What you can do
|
|
14
14
|
|
|
@@ -40,10 +40,10 @@ Supply any launcher patches with repeated `--patch /absolute/file`. Require `sup
|
|
|
40
40
|
For a **standalone named profile**:
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
43
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.92/dsh-github-copilot-0.4.0-alpha.92.tgz
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
For **Desktop**, its native package manager accepts `dsh-github-copilot@0.4.0-alpha.
|
|
46
|
+
For **Desktop**, its native package manager accepts `dsh-github-copilot@0.4.0-alpha.92`. 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.
|
|
47
47
|
|
|
48
48
|
After an approved reload/restart:
|
|
49
49
|
|
|
@@ -173,14 +173,14 @@ Commit attribution uses `Assisted-by` with the actual tool, never the model prov
|
|
|
173
173
|
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.
|
|
174
174
|
|
|
175
175
|
```sh
|
|
176
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
177
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
176
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.92/dsh-github-copilot-0.4.0-alpha.92.tgz
|
|
177
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.92/SHA256SUMS
|
|
178
178
|
sha256sum --check SHA256SUMS
|
|
179
179
|
```
|
|
180
180
|
|
|
181
181
|
```powershell
|
|
182
182
|
$expected = (Get-Content .\SHA256SUMS).Split()[0]
|
|
183
|
-
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.
|
|
183
|
+
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.92.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
184
184
|
if ($actual -cne $expected) { throw 'Release checksum mismatch' }
|
|
185
185
|
```
|
|
186
186
|
|
package/README.zh.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
为 DSH 提供 GitHub Copilot 账号模型发现、上下文 Auto 选模和 hosted search。插件复用 DSH 公开的原生适配器与一个 Host 端 OAuth 账号,不修改 Core,也不维护第二套模型目录。
|
|
10
10
|
|
|
11
|
-
**当前版本:`0.4.0-alpha.
|
|
11
|
+
**当前版本:`0.4.0-alpha.92`。支持宿主:官方 DSH / Windows Desktop `0.2.0-rc.2`。** 较早 DSH pin 仅是历史证据,不是当前安装目标。已发布、已安装到 profile、已被运行中的 Host 加载,是三个不同状态。
|
|
12
12
|
|
|
13
13
|
## 你可以做什么
|
|
14
14
|
|
|
@@ -40,10 +40,10 @@ node package/scripts/check-search-composition.mjs --profile-dir /absolute/profil
|
|
|
40
40
|
**独立具名 profile**:
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
43
|
+
dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.92/dsh-github-copilot-0.4.0-alpha.92.tgz
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
**Desktop** 原生包管理器接受 `dsh-github-copilot@0.4.0-alpha.
|
|
46
|
+
**Desktop** 原生包管理器接受 `dsh-github-copilot@0.4.0-alpha.92`。官方 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 或删除配置。
|
|
47
47
|
|
|
48
48
|
经批准 reload/restart 后:
|
|
49
49
|
|
|
@@ -173,14 +173,14 @@ Agent 从 `node scripts/agent.mjs describe --json`、`doctor --json`及`plan <ta
|
|
|
173
173
|
GitHub Releases 和 npm 分发同一原始已校验 tarball。固定版本并核验 Release SHA-256 或 npm `dist.integrity`;不重打包不可变 Release、不移动/复用 tag。
|
|
174
174
|
|
|
175
175
|
```sh
|
|
176
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
177
|
-
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.
|
|
176
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.92/dsh-github-copilot-0.4.0-alpha.92.tgz
|
|
177
|
+
curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.92/SHA256SUMS
|
|
178
178
|
sha256sum --check SHA256SUMS
|
|
179
179
|
```
|
|
180
180
|
|
|
181
181
|
```powershell
|
|
182
182
|
$expected = (Get-Content .\SHA256SUMS).Split()[0]
|
|
183
|
-
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.
|
|
183
|
+
$actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.92.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
184
184
|
if ($actual -cne $expected) { throw 'Release checksum mismatch' }
|
|
185
185
|
```
|
|
186
186
|
|
package/deployment-baseline.json
CHANGED
package/lib/client.js
CHANGED
|
@@ -8643,7 +8643,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8643
8643
|
maxWidth: "min(100%, 38rem)",
|
|
8644
8644
|
fontSize: "inherit",
|
|
8645
8645
|
overflowWrap: "anywhere"
|
|
8646
|
-
} }, (0, react.createElement)("summary", { style: {
|
|
8646
|
+
} }, (0, react.createElement)("summary", { style: {
|
|
8647
|
+
cursor: "pointer",
|
|
8648
|
+
fontFamily: "var(--dsw-font-family, inherit)",
|
|
8649
|
+
fontSize: "var(--dsh-content-font-size-secondary, 13px)",
|
|
8650
|
+
fontWeight: 400,
|
|
8651
|
+
lineHeight: "calc(20px + var(--dsh-content-font-delta-secondary, 0px))",
|
|
8652
|
+
color: "var(--dsw-alias-label-tertiary, GrayText)"
|
|
8653
|
+
} }, text.title), (0, react.createElement)("p", { style: { marginBlock: "0.5rem" } }, evidence === void 0 ? text.missing : evidence.reason === "unknown" ? text.unknown : text.explanation), sample ? (0, react.createElement)("p", { style: { marginBlock: "0.5rem" } }, `${text.sample}: ${new Intl.NumberFormat(locale.startsWith("zh") ? "zh-CN" : "en-US").format(sample.tokens)} tokens`) : null, evidence === void 0 ? null : (0, react.createElement)("p", { style: { marginBlock: "0.5rem" } }, sample ? text.historical : text.revoked));
|
|
8647
8654
|
}
|
|
8648
8655
|
function Surface({ runtime, locale, diagnostic }) {
|
|
8649
8656
|
const valid = runtime.useSession((value) => record(value) && value.sessionId === runtime.sessionId && value.removed === false && value.openState === "open");
|