Skip to content

Add single-file bundles and per-user installation with optional PATH - #22

Merged
Anheledir merged 3 commits into
mainfrom
feature/single-file-install
Oct 24, 2026
Merged

Anheledir merged 3 commits into
mainfrom
feature/single-file-install

Conversation

@Anheledir

@Anheledir Anheledir commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

The beta currently ships hundreds of runtime/support files and requires manual placement/PATH setup. Publish one self-contained spn bundle per runtime, with embedded offline documentation and dependency/runtime licenses plus a small format-2 updater manifest. Legacy format-1 packages remain readable; beta-1 users need the documented manual transition because their old updater cannot read format 2.

Add install/preview/status and owned uninstall commands plus Settings → Installation. Installation uses a permanent user-owned directory, hashes and startup probes, shared update locks, backups and rollback. Optional PATH setup preserves Windows user registry entries/type, or owns a Unix user-bin symlink and backed-up Bash/Zsh/sh profile block. Conflicting commands and changed owned files/blocks are refused. New hooks/host setup use the registered absolute installed executable; existing integrations require explicit uninstall/reinstall. Settings, credentials, user-added files and profile backups survive removal. Installed-process uninstall waits in a copied helper and records completion/failure.

Validation: 132 local .NET tests and ten tooling/release tests; native Linux single-file smoke covers standalone offline resources, no-write preview, PATH conflicts, repeat install, deleted Downloads, permanent hook paths, guarded uninstall and retained user files/settings. Bundle update replacement/rollback and generated Copilot/Codex/Claude/Kiro/OpenCode host smoke pass. Native Windows/Linux/macOS CI passes, including real fresh-shell spn resolution after deleting Downloads, exact Windows user-PATH restoration, Unix profile ownership and detached uninstall. Security/CodeQL, dependency review and Quality are green.

Beta 2 draft is prepared: all six runtime archives have exactly one executable plus their update manifest. Archive contents and all uploaded GitHub digest/SHA256SUMS pairs were verified. The release remains unpublished.

Version: 0.1.0-beta.2. Release preparation remains draft-only. Full saved UI preferences and automatic repair of edited provider configurations remain outside this slice.

Refs #18, #10, #17.

@Anheledir
Anheledir merged commit b5982f2 into main Oct 24, 2026
11 checks passed
@Anheledir
Anheledir deleted the feature/single-file-install branch October 24, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant