dsh-github-copilot 0.1.0-alpha.3.dsh.0.2.2.rc.3 → 0.1.0-alpha.4.dsh.0.2.2.rc.3

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.4.dsh.0.2.2.rc.3 (prepared)
4
+
5
+ - Remove the hosted-search aside from the managed account-model summary and hide retired Auto descriptions when no historical diagnostic data exists. Historical Auto data remains available and is identified before JSON sharing, including its possible model IDs (#467).
6
+ - Preserve existing settings, diagnostic evidence, quota and compatibility; no live profile, history or account is changed.
7
+ - Target DSH 0.2.2-rc.3; publication and live Desktop activation remain separate from this source change.
8
+
3
9
  ## 0.1.0-alpha.3.dsh.0.2.2.rc.3 (prepared)
4
10
 
5
11
  - Extend reviewer-only temperature omission to qualified DSH native `github-copilot` Responses calls, preserving ordinary Chat and native verdict/permission ownership (#460).
package/README.md CHANGED
@@ -67,15 +67,15 @@ After the exact compatible release is available and verified, download its
67
67
  original asset and checksum in an empty directory:
68
68
 
69
69
  ```sh
70
- curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.3.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.3.dsh.0.2.2.rc.3.tgz
71
- curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.3.dsh.0.2.2.rc.3/SHA256SUMS
70
+ curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.4.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.4.dsh.0.2.2.rc.3.tgz
71
+ curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.4.dsh.0.2.2.rc.3/SHA256SUMS
72
72
  sha256sum --check SHA256SUMS
73
73
  ```
74
74
 
75
75
  For the `web` profile, install the same Release asset:
76
76
 
77
77
  ```sh
78
- dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.3.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.3.dsh.0.2.2.rc.3.tgz
78
+ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.4.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.4.dsh.0.2.2.rc.3.tgz
79
79
  ```
80
80
 
81
81
  Choose the intended profile explicitly. Then:
package/README.zh.md CHANGED
@@ -55,15 +55,15 @@ node scripts/select-core-release.mjs 0.2.2-rc.3
55
55
  精确兼容版本发布且通过验证后,在空目录下载原始制品并校验:
56
56
 
57
57
  ```sh
58
- curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.3.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.3.dsh.0.2.2.rc.3.tgz
59
- curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.3.dsh.0.2.2.rc.3/SHA256SUMS
58
+ curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.4.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.4.dsh.0.2.2.rc.3.tgz
59
+ curl -fLO https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.4.dsh.0.2.2.rc.3/SHA256SUMS
60
60
  sha256sum --check SHA256SUMS
61
61
  ```
62
62
 
63
63
  例如安装到 `web` profile:
64
64
 
65
65
  ```sh
66
- dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.3.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.3.dsh.0.2.2.rc.3.tgz
66
+ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.1.0-alpha.4.dsh.0.2.2.rc.3/dsh-github-copilot-0.1.0-alpha.4.dsh.0.2.2.rc.3.tgz
67
67
  ```
68
68
 
69
69
  请明确选择目标 profile,然后:
@@ -8,14 +8,14 @@
8
8
  },
9
9
  "package": {
10
10
  "name": "dsh-github-copilot",
11
- "version": "0.1.0-alpha.3.dsh.0.2.2.rc.3"
11
+ "version": "0.1.0-alpha.4.dsh.0.2.2.rc.3"
12
12
  },
13
13
  "releaseLines": [
14
14
  { "core": "0.2.0-rc.2", "version": "0.4.2-alpha.15", "status": "published" },
15
15
  { "core": "0.2.1-alpha.4", "version": "0.4.2-alpha.16", "status": "published" },
16
16
  { "core": "0.2.1-alpha.5", "version": "0.1.0-alpha.2.dsh.0.2.1.alpha.5", "status": "published" },
17
17
  { "core": "0.2.1-rc.3", "version": "0.1.0-alpha.5.dsh.0.2.1.rc.3", "status": "published" },
18
- { "core": "0.2.2-rc.3", "version": "0.1.0-alpha.3.dsh.0.2.2.rc.3", "status": "pending" }
18
+ { "core": "0.2.2-rc.3", "version": "0.1.0-alpha.4.dsh.0.2.2.rc.3", "status": "pending" }
19
19
  ],
20
20
  "evidence": {
21
21
  "kind": "source-and-synthetic-test-inventory",
@@ -38,7 +38,9 @@ contribute independent Client/Host populations. The retired plugin-owned Auto
38
38
  allocator no longer produces observations. Its existing setting is not rewritten,
39
39
  and retained historical aggregates remain available in the explicit JSON export
40
40
  under their existing retention and storage limits; they are not evidence of
41
- execution, quality or billing. Older strict plugin versions may reject new
41
+ execution, quality or billing. When historical Auto data is present, the JSON
42
+ review disclosure notes that its rows may include model IDs and policy/cohort
43
+ dimensions. Older strict plugin versions may reject new
42
44
  snapshot fields on rollback; do not delete or silently rewrite retained evidence.
43
45
  The separate **Enable request observations** control uses the hidden volatile
44
46
  `github-copilot.requestDiagnosticsEnabled` leaf with path-level CAS and exact
package/lib/client.js CHANGED
@@ -7639,7 +7639,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7639
7639
  };
7640
7640
  //#endregion
7641
7641
  //#region package.json
7642
- var version = "0.1.0-alpha.3.dsh.0.2.2.rc.3";
7642
+ var version = "0.1.0-alpha.4.dsh.0.2.2.rc.3";
7643
7643
  //#endregion
7644
7644
  //#region lib/types/diagnostics-client.js
7645
7645
  let owner;
@@ -7870,6 +7870,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7870
7870
  const rows = view?.snapshot.rows ?? [];
7871
7871
  const requests = view?.snapshot.requests;
7872
7872
  const credentials = requests?.credentialChanges;
7873
+ const legacyAuto = view?.snapshot.autoAllocation;
7874
+ const hasLegacyAuto = legacyAuto !== void 0 && (legacyAuto.status === "observed" || legacyAuto.rows.length > 0 || legacyAuto.noFitRows.length > 0 || legacyAuto.observationStart !== null || legacyAuto.rowsTruncated || legacyAuto.dropped > 0 || legacyAuto.expired > 0 || legacyAuto.saturated > 0 || legacyAuto.restarts > 0);
7873
7875
  const populations = [...new Set(rows.filter((row) => row.operation !== "collection").map((row) => `${row.layer}/${row.operation}`))];
7874
7876
  const count = (metrics, population) => rows.filter((row) => metrics.includes(row.metric) && `${row.layer}/${row.operation}` === population).reduce((sum, row) => sum + row.count, 0);
7875
7877
  const control = (label, action, disabled = false) => (0, react.createElement)("button", {
@@ -8045,7 +8047,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8045
8047
  }, (0, react.createElement)("p", null, "Delete collected aggregates and request observations? Collection controls keep their current enabled/paused settings. This does not clear account settings or conversation history."), control("Confirm clear", () => {
8046
8048
  setConfirmClear(false);
8047
8049
  run((value) => value.clear());
8048
- }), control("Cancel", () => setConfirmClear(false))) : null), view ? (0, react.createElement)("details", null, (0, react.createElement)("summary", null, "Data scope, limits and JSON"), (0, react.createElement)("p", { style: { margin: 0 } }, "Aggregates stay in this profile for 14 days; request observations for 24 hours. Auto rows contain policy/model/cohort dimensions and aggregate counts only; no Session or turn IDs, conversation content, upload or automatic tuning. Expired counts are strata, not removed decisions."), (0, react.createElement)("p", { style: { margin: 0 } }, `Host pending: ${view.snapshot.pending.reduce((sum, row) => sum + row.count, 0)}. Host dropped: ${view.snapshot.dropped}; Client dropped: ${view.snapshot.clientDropped}; Client unconfirmed: ${view.snapshot.clientUnconfirmed}; evicted/expired: ${view.snapshot.evicted}; saturated: ${view.snapshot.saturated}. At most 4,096 aggregate rows and 2 MiB. Client pending samples are periodic observations, not a live outstanding count. Other settled includes policy rejection, revocation, environment faults and unknown/no-checkpoint results. Stock/custom-engine physical summaries, native recovery opt-out, OAuth, quota and unwrapped RPCs are not covered.`), (0, react.createElement)("details", null, (0, react.createElement)("summary", null, requests ? "Review local diagnostics JSON" : "Review aggregate-only JSON"), (0, react.createElement)("p", { style: { margin: 0 } }, "Review before sharing. This includes build versions and diagnostic counts; when request observations were enabled it also includes request times, model IDs, byte counts and random stream IDs, never account or Session identifiers. Client timing does not prove supplier receipt or fault ownership."), control("Prepare current JSON", () => setExported(true)), exported ? (0, react.createElement)("textarea", {
8050
+ }), control("Cancel", () => setConfirmClear(false))) : null), view ? (0, react.createElement)("details", null, (0, react.createElement)("summary", null, "Data scope, limits and JSON"), (0, react.createElement)("p", { style: { margin: 0 } }, "Aggregates stay in this profile for 14 days; request observations for 24 hours. They contain no Session or turn IDs or conversation content and are not uploaded automatically or used for automatic tuning."), (0, react.createElement)("p", { style: { margin: 0 } }, `Host pending: ${view.snapshot.pending.reduce((sum, row) => sum + row.count, 0)}. Host dropped: ${view.snapshot.dropped}; Client dropped: ${view.snapshot.clientDropped}; Client unconfirmed: ${view.snapshot.clientUnconfirmed}; evicted/expired: ${view.snapshot.evicted}; saturated: ${view.snapshot.saturated}. At most 4,096 aggregate rows and 2 MiB. Client pending samples are periodic observations, not a live outstanding count. Other settled includes policy rejection, revocation, environment faults and unknown/no-checkpoint results. Stock/custom-engine physical summaries, native recovery opt-out, OAuth, quota and unwrapped RPCs are not covered.`), (0, react.createElement)("details", null, (0, react.createElement)("summary", null, requests ? "Review local diagnostics JSON" : "Review aggregate-only JSON"), (0, react.createElement)("p", { style: { margin: 0 } }, "Review before sharing. This includes build versions and diagnostic counts. Retained request observations may include request times, model IDs, byte counts and random stream IDs. It never includes account or Session identifiers. Client timing does not prove supplier receipt or fault ownership."), hasLegacyAuto ? (0, react.createElement)("p", { style: { margin: 0 } }, "Historical Auto data is retained in this export; rows may contain model IDs, policy/cohort dimensions and aggregate counts. No new plugin Auto data is collected. Expired counts are strata, not removed decisions.") : null, control("Prepare current JSON", () => setExported(true)), exported ? (0, react.createElement)("textarea", {
8049
8051
  "aria-label": requests ? "Local diagnostics JSON" : "Local diagnostics aggregate JSON",
8050
8052
  readOnly: true,
8051
8053
  value: JSON.stringify(view, null, 2),
@@ -13719,7 +13721,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13719
13721
  disposed: "Account model discovery is no longer active in this profile.",
13720
13722
  unconfigured: "Sign in with GitHub before refreshing account models.",
13721
13723
  unavailable: "Account model discovery is unavailable in this profile."
13722
- }[snapshot.state]), (0, react.createElement)("p", null, "This list applies to github-copilot-preview. The native github-copilot route uses a separate catalog. Discovery does not prove a successful model call or hosted search, or change your default model or account policy."), snapshot.error === void 0 ? null : (0, react.createElement)("p", { role: "alert" }, discoveryCode(snapshot.error, "COPILOT_MODEL_DISCOVERY_FAILED")), (0, react.createElement)("details", null, (0, react.createElement)("summary", null, `${snapshot.models.length} accepted model(s)`), (0, react.createElement)("ul", null, snapshot.models.map((model, index) => (0, react.createElement)("li", { key: `${model.id}:${index}` }, `${model.name} (${model.id}) — ${model.api}`)))), (0, react.createElement)("details", null, (0, react.createElement)("summary", null, `${snapshot.rejected.length} rejected model(s)`), (0, react.createElement)("ul", null, snapshot.rejected.map((item, index) => (0, react.createElement)("li", { key: `${item.id ?? "unknown"}:${index}` }, `${item.id ?? "Unidentified model"} — ${discoveryCode(item.code, "COPILOT_MODEL_METADATA_REJECTED")}`)))), snapshot.warnings === void 0 || snapshot.warnings.length === 0 ? null : (0, react.createElement)("details", null, (0, react.createElement)("summary", null, `${snapshot.warnings.length} capability warning(s)`), (0, react.createElement)("p", null, "Capability warnings do not reject the listed models; they describe limits of specific features."), (0, react.createElement)("ul", null, snapshot.warnings.map((item, index) => (0, react.createElement)("li", { key: `${item.id}:${index}` }, `${item.id} — ${discoveryCode(item.code, "COPILOT_MODEL_CAPABILITY_WARNING")}: ${capabilityWarningMessage(item.code)}`)))));
13724
+ }[snapshot.state]), (0, react.createElement)("p", null, "This list applies to github-copilot-preview. The native github-copilot route uses a separate catalog. Discovery does not prove a successful model call; it does not change your default model or account policy."), snapshot.error === void 0 ? null : (0, react.createElement)("p", { role: "alert" }, discoveryCode(snapshot.error, "COPILOT_MODEL_DISCOVERY_FAILED")), (0, react.createElement)("details", null, (0, react.createElement)("summary", null, `${snapshot.models.length} accepted model(s)`), (0, react.createElement)("ul", null, snapshot.models.map((model, index) => (0, react.createElement)("li", { key: `${model.id}:${index}` }, `${model.name} (${model.id}) — ${model.api}`)))), (0, react.createElement)("details", null, (0, react.createElement)("summary", null, `${snapshot.rejected.length} rejected model(s)`), (0, react.createElement)("ul", null, snapshot.rejected.map((item, index) => (0, react.createElement)("li", { key: `${item.id ?? "unknown"}:${index}` }, `${item.id ?? "Unidentified model"} — ${discoveryCode(item.code, "COPILOT_MODEL_METADATA_REJECTED")}`)))), snapshot.warnings === void 0 || snapshot.warnings.length === 0 ? null : (0, react.createElement)("details", null, (0, react.createElement)("summary", null, `${snapshot.warnings.length} capability warning(s)`), (0, react.createElement)("p", null, "Capability warnings do not reject the listed models; they describe limits of specific features."), (0, react.createElement)("ul", null, snapshot.warnings.map((item, index) => (0, react.createElement)("li", { key: `${item.id}:${index}` }, `${item.id} — ${discoveryCode(item.code, "COPILOT_MODEL_CAPABILITY_WARNING")}: ${capabilityWarningMessage(item.code)}`)))));
13723
13725
  }
13724
13726
  /** Explicit account discovery only: no mount-time request, polling, or automatic retry. */
13725
13727
  function GitHubCopilotAccountModelsPanel(props) {