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:
1 parent
76da55994b
commit
fbb61a373f
216 files changed
+27948
-1084
No files matched your search
+7
-1
@@ -33,6 +33,7 @@ dependencies = [
|
||||
"aiohttp>=3.14.3,<4.0.0",
|
||||
"yarl>=1.17.0,<2.0.0",
|
||||
"cryptography>=46.0.0",
|
||||
"sigstore==4.5.0",
|
||||
"ddgs>=9.5.5,<10.0.0",
|
||||
"oauth-cli-kit>=0.1.6,<1.0.0",
|
||||
"loguru>=0.7.3,<1.0.0",
|
||||
@@ -123,7 +124,7 @@ nanobot-desktop-tui = "nanobot.cli.desktop_tui:main"
|
||||
# my_plugin = "my_package.plugins:MyTool"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
requires = ["hatchling", "filelock>=3.25.2"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.metadata]
|
||||
@@ -135,6 +136,8 @@ allow-direct-references = true
|
||||
[tool.hatch.build]
|
||||
include = [
|
||||
"nanobot/**/*.py",
|
||||
"nanobot/cli/assets/*.png",
|
||||
"nanobot/update_contract.json",
|
||||
"nanobot/webui/mcp_presets.json",
|
||||
"nanobot/templates/**/*.md",
|
||||
"nanobot/skills/**/*.md",
|
||||
@@ -193,6 +196,9 @@ omit = ["tests/*", "**/tests/*"]
|
||||
|
||||
[tool.coverage.report]
|
||||
fail_under = 75
|
||||
# Discovery of unexecuted source files also includes colocated channel tests.
|
||||
# Match run.omit so the application gate never counts test bodies as product code.
|
||||
omit = ["tests/*", "**/tests/*"]
|
||||
exclude_lines = [
|
||||
"pragma: no cover",
|
||||
"def __repr__",
|
||||
|
||||
Reference in new issue
Block a user