feat(update): integrate managed installs and recoverable in-app updates (#6168)

Add owner-aware Stable and Preview updates with explicit consent, verified release plans, protected process handoff and bounded service recovery. Keep configuration and conversations separate from program rollback.

Include the compact About controls, Windows long-path support, native package recovery checks and optional macOS Dock lifecycle integration. Preserve documented guidance for installations owned by other managers.

This code integration does not publish packages, enable signing or advance the public update channel.

Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
This commit is contained in:
Xubin Renandchengyongru authored and GitHub committed 2026-10-21 19:16:56 +08:00
1 parent 76da55994b
commit fbb61a373f
216 files changed
+27948 -1084

No files matched your search

+5 -2
View File
@@ -840,12 +840,15 @@ describe("NanobotTui layout and themes", () => {
setup.renderer.emit(CliRenderEvents.THEME_MODE, mode)
await setup.flush()
const shimmerColors = new Set(
const shimmerColors = () => new Set(
(ui.status.content as StyledText).chunks
.slice(0, "Thinking".length)
.map((chunk) => chunk.fg?.toInts().slice(0, 3).join(",")),
)
expect(shimmerColors.size).toBeGreaterThan(1)
// Theme detection updates the palette now; the next animation tick paints
// its StyledText chunks. A renderer flush does not advance that timer.
await waitUntil(() => shimmerColors().size > 1, 2_000)
expect(shimmerColors().size).toBeGreaterThan(1)
expect(ui.composer.textColor.intent).toBe("rgb")
expect(ui.composer.textColor.toInts().slice(0, 3)).toEqual(
mode === "light" ? [24, 24, 27] : [236, 237, 238],