@timurproko/a1 0.2.4-dev.667 → 0.2.4-dev.673

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/README.md CHANGED
@@ -38,7 +38,7 @@ Exact preview:
38
38
  npm x -y -- @timurproko/a1-install --develop 0.1.8-dev.107
39
39
  ```
40
40
 
41
- <p align="center"><picture><img src="docs/assets/readme/terminal.svg" alt="" width="240"></picture></p>
41
+ <p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/readme/terminal-dark.svg"><img src="docs/assets/readme/terminal.svg" alt="" width="240"></picture></p>
42
42
 
43
43
  ## Use
44
44
 
@@ -106,7 +106,7 @@ npm x -y -- @timurproko/a1-install
106
106
 
107
107
  A1 shows an `Update Available` notice at most once a day and never installs anything by itself. Turn it off in Settings (`Update check`) or with `A1_SKIP_VERSION_CHECK=1`.
108
108
 
109
- <p align="center"><picture><img src="docs/assets/readme/plugins.svg" alt="" width="240"></picture></p>
109
+ <p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/readme/plugins-dark.svg"><img src="docs/assets/readme/plugins.svg" alt="" width="240"></picture></p>
110
110
 
111
111
  ## Extensions
112
112
 
@@ -140,7 +140,7 @@ Update one:
140
140
  a1 update npm:pi-mcp-adapter
141
141
  ```
142
142
 
143
- <p align="center"><picture><img src="docs/assets/readme/gears.svg" alt="" width="240"></picture></p>
143
+ <p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/readme/gears-dark.svg"><img src="docs/assets/readme/gears.svg" alt="" width="240"></picture></p>
144
144
 
145
145
  ## Develop
146
146
 
@@ -192,7 +192,7 @@ Preview the README as GitHub renders it, in your browser (needs `gh`):
192
192
  npm run preview:readme
193
193
  ```
194
194
 
195
- <p align="center"><picture><img src="docs/assets/readme/rocket.svg" alt="" width="240"></picture></p>
195
+ <p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/readme/rocket-dark.svg"><img src="docs/assets/readme/rocket.svg" alt="" width="240"></picture></p>
196
196
 
197
197
  ## Publish
198
198
 
@@ -227,5 +227,5 @@ Once validation passes, open the printed draft link, edit the `## [version] - YY
227
227
  <br>
228
228
 
229
229
  <p align="center">
230
- <picture><img src="docs/assets/readme/waves.svg" alt="" width="100%"></picture>
230
+ <picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/readme/waves-dark.svg"><img src="docs/assets/readme/waves.svg" alt="" width="100%"></picture>
231
231
  </p>
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated by scripts/pi/sync-progress-palette.ts from @earendil-works/pi-coding-agent 1.0.0
3
+ * (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32. Do not edit directly.
4
+ */
5
+ export declare const SHARED_PROGRESS_ACCENT_ANSI = "\u001B[38;2;167;152;215m";
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated by scripts/pi/sync-progress-palette.ts from @earendil-works/pi-coding-agent 1.0.0
3
+ * (MIT), commit a13d35a742c6ef8462812a28fbe1d8c8b7431c32. Do not edit directly.
4
+ */
5
+ export const SHARED_PROGRESS_ACCENT_ANSI = "\u001b[38;2;167;152;215m";
@@ -5,6 +5,7 @@ import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
5
5
  import crossSpawn from "cross-spawn";
6
6
  import { valid as validSemver } from "semver";
7
7
  import { PRODUCT_IDENTITY, PRODUCT_TEXT } from "../../product-identity.js";
8
+ import { SHARED_PROGRESS_ACCENT_ANSI } from "./progress-palette.generated.js";
8
9
  import { isNewerRelease, releaseChannelOf } from "./latest-release.js";
9
10
  import { certifyMaterializedRelease, ensureSupervisor, waitForProcessExit, } from "./bootstrap.js";
10
11
  import { probeOwnership, readEndpointMetadata, removeEndpointArtifacts } from "./endpoints.js";
@@ -235,13 +236,11 @@ const ACTIVATION_PROGRESS = {
235
236
  export function renderUpdateProgressBar(percent) {
236
237
  const bounded = Math.min(100, Math.max(0, Math.round(percent)));
237
238
  const filled = Math.round((bounded / 100) * PROGRESS_BAR_WIDTH);
238
- // Rationale: the completed run uses A1's scrollbar-aligned teal, followed by a
239
- // darker gray track and one gray space before the percentage. Explicit RGB
240
- // keeps each color stable even when the terminal remaps its ANSI palette.
241
- const completed = "\u001b[38;2;138;190;183m";
239
+ // Rationale: the completed run follows the pinned Pi controls' semantic accent,
240
+ // while the track and percentage retain the update meter's neutral treatment.
242
241
  const gray = "\u001b[38;2;128;128;128m";
243
242
  const track = "\u001b[38;2;102;102;102m";
244
- return `${completed}${"━".repeat(filled)}${track}${"─".repeat(PROGRESS_BAR_WIDTH - filled)}${gray} ${bounded}%\u001b[39m`;
243
+ return `${SHARED_PROGRESS_ACCENT_ANSI}${"━".repeat(filled)}${track}${"─".repeat(PROGRESS_BAR_WIDTH - filled)}${gray} ${bounded}%\u001b[39m`;
245
244
  }
246
245
  function createUpdateProgress(output, enabled) {
247
246
  let visible = false;
@@ -5,7 +5,7 @@
5
5
  "platform": "darwin",
6
6
  "architecture": "arm64",
7
7
  "capability": "supported",
8
- "builtAt": "2026-10-03T14:42:58.943Z",
8
+ "builtAt": "2026-10-05T10:37:02.286Z",
9
9
  "artifact": {
10
10
  "filename": "process-guardian",
11
11
  "sha256": "51b0b2dc1c9ae577f2586c4217066929278726c2c15308d9144eb6f538e118ff",
@@ -5,7 +5,7 @@
5
5
  "platform": "linux",
6
6
  "architecture": "x64",
7
7
  "capability": "supported",
8
- "builtAt": "2026-10-03T14:42:53.264Z",
8
+ "builtAt": "2026-10-05T10:36:42.065Z",
9
9
  "artifact": {
10
10
  "filename": "process-guardian",
11
11
  "sha256": "ef62679e83bc1fad3d38f9f21675d9256f08d20e67fd4791571032115ca1b0e9",
@@ -5,10 +5,10 @@
5
5
  "platform": "win32",
6
6
  "architecture": "x64",
7
7
  "capability": "supported",
8
- "builtAt": "2026-10-03T14:43:51.734Z",
8
+ "builtAt": "2026-10-05T10:37:23.113Z",
9
9
  "artifact": {
10
10
  "filename": "process-guardian.exe",
11
- "sha256": "0daa9b6679723d9e41343ec20a284358cbbdccfca5ef1746f59347c71d199b1a",
11
+ "sha256": "829726d947b8db4a41e4267543c987174987f292760922d7d87ace29a5db9e7d",
12
12
  "size": 288256
13
13
  },
14
14
  "provenance": {