dsh-github-copilot 0.4.0-alpha.45 → 0.4.0-alpha.46

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0-alpha.46 (prepared)
4
+
5
+ - Distinguish known TLS certificate-verification failures from other Copilot quota network errors without revealing provider errors or disabling certificate validation (#186).
6
+ - Keep unavailable quota details readable: omit empty large-value columns and budget placeholders, use an opaque popover background, and bound long values within the dialog.
7
+
3
8
  ## 0.4.0-alpha.45 (prepared)
4
9
 
5
10
  - Add a fixed, allowlisted latest-observed authorization milestone to failed sign-in diagnostics without inspecting or retaining rejected values, provider responses, credentials, prompts, notices, or nested causes (#178).
package/README.md CHANGED
@@ -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.45`. 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):
88
+ The commands below target the package version `0.4.0-alpha.46`. 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.45/dsh-github-copilot-0.4.0-alpha.45.tgz
101
+ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.46/dsh-github-copilot-0.4.0-alpha.46.tgz
102
102
  ```
103
103
 
104
- For Desktop profiles, use Desktop's native package manager with `dsh-github-copilot@0.4.0-alpha.45` 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.
104
+ For Desktop profiles, use Desktop's native package manager with `dsh-github-copilot@0.4.0-alpha.46` 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.45`, 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).
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.46`, 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
  **Desktop hot-upgrade boundary:** exact rc.2 deliberately reports `restart-required` when an installed dependency is upgraded in place. Do not remove and re-add this bundle to force a hot upgrade: removing its patch after activation asks the public Loader to move the official `web` service out of the companion's named isolate, and an isolated remove/re-add regression shows that rc.2 can leave the official fiber active while global Web consumers, the delegate, and routed Web remain pending until process restart. The plugin cannot repair that state after its own bundle has been removed without a Core/private hook or persistent profile mutation, neither of which is allowed. Treat the native manager's restart-required result as authoritative, finish the package transaction, and perform a separately approved Desktop restart before sign-in or search validation.
173
173
 
@@ -435,8 +435,8 @@ Report the published Release URL, version, tag/commit and verified asset SHA-256
435
435
  `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.
436
436
 
437
437
  ```sh
438
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.45/dsh-github-copilot-0.4.0-alpha.45.tgz
439
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.45/SHA256SUMS
438
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.46/dsh-github-copilot-0.4.0-alpha.46.tgz
439
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.46/SHA256SUMS
440
440
  sha256sum --check SHA256SUMS
441
441
  ```
442
442
 
@@ -444,7 +444,7 @@ PowerShell can verify the same two downloaded files with:
444
444
 
445
445
  ```powershell
446
446
  $expected = (Get-Content .\SHA256SUMS).Split()[0]
447
- $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.45.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
447
+ $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.46.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
448
448
  if ($actual -cne $expected) { throw 'Release checksum mismatch' }
449
449
  ```
450
450
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@
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.45`;这不代表已有的两条真实路由被合并或移除。版本化 URL 不表示 Release 已发布或本机已加载;仅在该 Release 与校验和可用后使用安装命令。源码、发布制品、已安装版本和实际加载运行时需分别确认,本地升级和中断会话的重启仍需用户批准。
12
+ > 下文自动维护账号模型元数据与 provider 集成控件描述目标版本 `0.4.0-alpha.46`;这不代表已有的两条真实路由被合并或移除。版本化 URL 不表示 Release 已发布或本机已加载;仅在该 Release 与校验和可用后使用安装命令。源码、发布制品、已安装版本和实际加载运行时需分别确认,本地升级和中断会话的重启仍需用户批准。
13
13
 
14
14
  Alpha.24 修复了 Web search 卡片缺少精确 Remote 依赖声明的问题。当时卡片位于 **设置 → 模型**(`settings.models.footer`,list/root),旧 Core 回退到独立 Web search section。现在优先显示在插件详情页;搜索子 Fiber 仍独立等待 routing namespace,不影响账号控件和既有搜索安全检查;实际打包 Desktop 验收仍是独立关卡。
15
15
 
@@ -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.45/dsh-github-copilot-0.4.0-alpha.45.tgz
103
+ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.46/dsh-github-copilot-0.4.0-alpha.46.tgz
104
104
  ```
105
105
 
106
- Desktop profile 请在完成同样的预检后,使用 Desktop 原生包管理器安装 `dsh-github-copilot@0.4.0-alpha.45`。Desktop 保留 `desktop` profile,CLI 不负责管理。若 registry 被公司封禁或不可用,不要更换网络绕行或使用离线 CLI;请停止。[受控离线 CLI 流程](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles)仅适用于独立具名 profile,不适用于 Desktop。
106
+ Desktop profile 请在完成同样的预检后,使用 Desktop 原生包管理器安装 `dsh-github-copilot@0.4.0-alpha.46`。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.45`,不是 URL 或本地文件。Desktop 保留 `desktop` profile,不能通过 DSH CLI 管理。受控离线 CLI 维护仅适用于独立具名 profile,不得作为 Desktop 安装绕行方案。[双渠道发布与 OIDC 要求](./docs/npm-distribution.md)保持不变。
172
+ 每个新版本默认同时分发到 GitHub Releases 和 npm,两个渠道使用同一份已验证 tarball。应固定版本并核对所用渠道的证据:Release 的 `SHA256SUMS`;从 npm 安装时另核对 `dist.integrity`。Desktop profile 只能通过原生 Desktop 包管理器安装;获准且 registry 可用时输入 `dsh-github-copilot@0.4.0-alpha.46`,不是 URL 或本地文件。Desktop 保留 `desktop` profile,不能通过 DSH CLI 管理。受控离线 CLI 维护仅适用于独立具名 profile,不得作为 Desktop 安装绕行方案。[双渠道发布与 OIDC 要求](./docs/npm-distribution.md)保持不变。
173
173
 
174
174
  **Desktop 热升级边界:**精确 rc.2 在原有 dependency 上执行原位升级时会明确返回 `restart-required`。不要通过先移除再重新添加本 bundle 来强行热升级:bundle 已激活后移除其 patch,会要求公开 Loader 把官方 `web` service 从 companion 的命名 isolate 移回全局;隔离的移除/重加回归证明,rc.2 可能让官方 fiber 保持 active,却使全局 Web consumers、delegate 与 routed Web 一直 pending,直到进程重启。bundle 被移除后,本插件若不使用 Core/private hook 或持久化 profile 修改就无法修复该状态,而这两种做法都不允许。应把原生 manager 的 restart-required 结果视为权威,完成 package transaction,并在登录或搜索验收前执行另行批准的 Desktop 重启。
175
175
 
@@ -446,8 +446,8 @@ node scripts/agent.mjs attribution "DeepSeek Harness (DSH)"
446
446
  `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 要求包已存在,不能代替首次建包。不会批量补发历史版本。
447
447
 
448
448
  ```sh
449
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.45/dsh-github-copilot-0.4.0-alpha.45.tgz
450
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.45/SHA256SUMS
449
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.46/dsh-github-copilot-0.4.0-alpha.46.tgz
450
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.0-alpha.46/SHA256SUMS
451
451
  sha256sum --check SHA256SUMS
452
452
  ```
453
453
 
@@ -455,7 +455,7 @@ PowerShell 可以对已下载的同一组文件执行:
455
455
 
456
456
  ```powershell
457
457
  $expected = (Get-Content .\SHA256SUMS).Split()[0]
458
- $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.45.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
458
+ $actual = (Get-FileHash .\dsh-github-copilot-0.4.0-alpha.46.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
459
459
  if ($actual -cne $expected) { throw 'Release checksum mismatch' }
460
460
  ```
461
461
 
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "package": {
10
10
  "name": "dsh-github-copilot",
11
- "version": "0.4.0-alpha.45"
11
+ "version": "0.4.0-alpha.46"
12
12
  },
13
13
  "evidence": {
14
14
  "kind": "source-and-synthetic-test-inventory",
@@ -24,6 +24,8 @@ The Host uses the existing `llm-pi-ai/github-copilot` OAuth grant through public
24
24
 
25
25
  Quota requests are lazy, single-flight and bounded by timeout, response size and cache/failure policy. Account continuity is checked around asynchronous work and before releasing cached data. Authentication denial, sign-out, account invalidation or disposal must not release a previous account's snapshot. A same-account transient failure may expose a timestamped last-known snapshot, never a current balance. Responses and diagnostics exclude tokens, raw provider bodies and account identifiers. Requests do not follow redirects with the credential; custom enterprise hosts are not guessed.
26
26
 
27
+ Known certificate-validation failures in the Host fetch are reported as `COPILOT_USAGE_TLS` instead of an undifferentiated network failure. This is a read-only diagnostic, not proof of the exact Desktop network path or authorization state; inspect the Host's trust store and approved proxy configuration without disabling TLS validation. Other fetch failures remain `COPILOT_USAGE_NETWORK`. When the account snapshot is unavailable, details show the diagnostic and guidance instead of empty oversized credit columns or an implied budget. The popover background is opaque even if the host's menu token contains transparency.
28
+
27
29
  The Client receives only the separate strict `githubCopilotUsage` namespace (`get` and `refresh`). Existing authorization and migration methods retain their schemas. Refresh does not change settings, budget, plan, model selection or billing policy. This meter is informational and does not authorize spending or implement a budget enforcement loop.
28
30
 
29
31
  ## Source contracts and limitations
package/lib/client.js CHANGED
@@ -5496,6 +5496,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5496
5496
  "COPILOT_USAGE_POOLED_EXHAUSTED",
5497
5497
  "COPILOT_USAGE_NO_ALLOCATION",
5498
5498
  "COPILOT_USAGE_NETWORK",
5499
+ "COPILOT_USAGE_TLS",
5499
5500
  "COPILOT_USAGE_TIMEOUT",
5500
5501
  "COPILOT_USAGE_BODY_TOO_LARGE",
5501
5502
  "COPILOT_USAGE_REDIRECT",
@@ -6824,6 +6825,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6824
6825
  refreshing: "Refreshing…",
6825
6826
  error: "Could not refresh usage. Try again.",
6826
6827
  unavailableExplanation: "Account usage is currently unavailable.",
6828
+ tlsError: "Could not verify the connection to GitHub. Check your trusted certificates or network proxy; TLS verification stays enabled.",
6827
6829
  signedOut: "Sign in to Copilot in Models to view account usage.",
6828
6830
  lastUpdated: "Last updated",
6829
6831
  reset: "Resets",
@@ -6855,6 +6857,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6855
6857
  refreshing: "正在刷新…",
6856
6858
  error: "无法刷新用量,请重试。",
6857
6859
  unavailableExplanation: "当前无法获取账号用量。",
6860
+ tlsError: "无法验证与 GitHub 的连接。请检查受信任证书或网络代理;TLS 验证仍保持开启。",
6858
6861
  signedOut: "请在模型设置中登录 Copilot,以查看账号用量。",
6859
6862
  lastUpdated: "更新于",
6860
6863
  reset: "重置时间",
@@ -7105,7 +7108,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7105
7108
  border,
7106
7109
  borderRadius: 14,
7107
7110
  color: "var(--dsw-alias-label-primary, CanvasText)",
7108
- background: "var(--dsw-specific-menu, Canvas)",
7111
+ background: "linear-gradient(var(--dsw-specific-menu, Canvas), var(--dsw-specific-menu, Canvas)), Canvas",
7109
7112
  fontFamily: "var(--dsw-font-family, inherit)",
7110
7113
  fontSize: 13,
7111
7114
  boxShadow: "0 8px 32px color-mix(in srgb, CanvasText 16%, transparent)",
@@ -7131,17 +7134,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7131
7134
  }, t.missing) : null, failed ? (0, react.createElement)("p", {
7132
7135
  role: "alert",
7133
7136
  style: muted
7134
- }, t.error) : null, view?.state === "signed-out" ? (0, react.createElement)("p", { style: muted }, t.signedOut) : !available && !busy && props.remote !== void 0 ? (0, react.createElement)("p", { style: muted }, t.unavailableExplanation) : null, (0, react.createElement)("div", { style: {
7137
+ }, t.error) : null, view?.state === "signed-out" ? (0, react.createElement)("p", { style: muted }, t.signedOut) : !available && !busy && props.remote !== void 0 ? (0, react.createElement)("p", { style: muted }, view?.diagnostic === "COPILOT_USAGE_TLS" ? t.tlsError : t.unavailableExplanation) : null, available ? (0, react.createElement)("div", { style: {
7135
7138
  display: "grid",
7136
- gridTemplateColumns: "minmax(0, 1fr) minmax(0, 1fr)",
7139
+ gridTemplateColumns: "repeat(2, minmax(0, 1fr))",
7137
7140
  gap: 12
7138
- } }, (0, react.createElement)("div", null, (0, react.createElement)("p", { style: muted }, t.usedLabel), (0, react.createElement)("strong", { style: {
7141
+ } }, (0, react.createElement)("div", { style: { minWidth: 0 } }, (0, react.createElement)("p", { style: muted }, t.usedLabel), (0, react.createElement)("strong", { style: {
7142
+ display: "block",
7139
7143
  fontSize: 22,
7140
- fontVariantNumeric: "tabular-nums"
7141
- } }, format(used)), (0, react.createElement)("p", { style: muted }, unit)), (0, react.createElement)("div", null, (0, react.createElement)("p", { style: muted }, t.remaining), (0, react.createElement)("strong", { style: {
7144
+ fontVariantNumeric: "tabular-nums",
7145
+ overflowWrap: "anywhere"
7146
+ } }, format(used)), (0, react.createElement)("p", { style: muted }, unit)), (0, react.createElement)("div", { style: { minWidth: 0 } }, (0, react.createElement)("p", { style: muted }, t.remaining), (0, react.createElement)("strong", { style: {
7147
+ display: "block",
7142
7148
  fontSize: 22,
7143
- fontVariantNumeric: "tabular-nums"
7144
- } }, format(remaining)), (0, react.createElement)("p", { style: muted }, unit))), percent === void 0 ? null : (0, react.createElement)("div", {
7149
+ fontVariantNumeric: "tabular-nums",
7150
+ overflowWrap: "anywhere"
7151
+ } }, format(remaining)), (0, react.createElement)("p", { style: muted }, unit))) : null, percent === void 0 ? null : (0, react.createElement)("div", {
7145
7152
  role: "progressbar",
7146
7153
  "aria-label": t.progress,
7147
7154
  "aria-valuemin": 0,
@@ -7160,7 +7167,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7160
7167
  } })), view?.state === "ready" && percent !== void 0 && percent >= 90 ? (0, react.createElement)("p", {
7161
7168
  role: "status",
7162
7169
  style: muted
7163
- }, t.low) : null, (0, react.createElement)("p", { style: muted }, available && view.budget === "pooled" ? t.pooled : limit === void 0 ? t.budgetUnknown : `${t.individual}: ${format(limit)} ${unit}`), numbers ? (0, react.createElement)("p", { style: muted }, t.rounding) : null, reset === void 0 ? null : (0, react.createElement)("p", { style: muted }, `${t.reset}: ${reset}`), (0, react.createElement)("div", { style: {
7170
+ }, t.low) : null, available ? (0, react.createElement)("p", { style: muted }, view.budget === "pooled" ? t.pooled : limit === void 0 ? t.budgetUnknown : `${t.individual}: ${format(limit)} ${unit}`) : null, numbers ? (0, react.createElement)("p", { style: muted }, t.rounding) : null, reset === void 0 ? null : (0, react.createElement)("p", { style: muted }, `${t.reset}: ${reset}`), (0, react.createElement)("div", { style: {
7164
7171
  ...row,
7165
7172
  ...separator
7166
7173
  } }, (0, react.createElement)("span", { style: muted }, observed === void 0 ? null : `${t.lastUpdated}: ${observed}`), (0, react.createElement)("button", {