Skip to content

Add Ghost: runtime with optional Omarchy HUD - #390

Merged
ryanrhughes merged 17 commits into
omacom:masterfrom
ferdousbhai:ghost
Oct 9, 2026
Merged

ryanrhughes merged 17 commits into
omacom:masterfrom
ferdousbhai:ghost

Conversation

@ferdousbhai

@ferdousbhai ferdousbhai commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Adds Ghost as two packages: ghost-runtime contains the daemon, CLI, and desktop automation; ghost adds the Omarchy HUD and depends on the exact matching runtime version. Apps can install only ghost-runtime and provide their own UI in a Hyprland graphical session, without a Quickshell dependency. Ghost's Chromium relay is its own product in its own repository, installed from the browser, not from this package.

Both packages build from the sanitized source and portable Bun runtime archives in the latest Ghost release. The runtime archive is architecture-independent Bun-target JavaScript with no native modules. Ghost bundles no model client: each turn runs on an agent CLI the owner already has installed and signed in.

No network build step. .omarchy/package.json follows the GitHub release with digests and versioned source URLs, so once this merges sync-upstream tracks each tag on its own. Until then the branch is refreshed at every release: makepkg --cleanbuild --noconfirm runs against the published inputs and the full Ghost gate and package ownership/dependency checks pass before each push, so the recipe here is always the one the current release renders. This description names no version for that reason — the branch head does.

The matching Install → AI → Ghost and Remove → AI → Ghost UI actions are in omacom/omarchy#11250. UI removal preserves the installed runtime and owner data.

🤖 Generated with Claude Code

@ferdousbhai

Copy link
Copy Markdown
Contributor Author

Updated to ghost 0.1.1: the package is now arch=('any'). The runtime payload is Bun-target JavaScript with no native modules, verified on aarch64 under emulation (ferdousbhai/ghost#52), so one runtime archive (ghost-runtime-0.1.1-linux-any.tar.zst) serves every architecture and is listed with the source tarball under sources.any.

@ferdousbhai

Copy link
Copy Markdown
Contributor Author

Updated to ghost 0.1.2 (https://github.com/ferdousbhai/ghost/releases/tag/v0.1.2): the package now ships its own app icon under hicolor; sources and digests refreshed.

@ferdousbhai

Copy link
Copy Markdown
Contributor Author

Updated to ghost 0.2.2 (https://github.com/ferdousbhai/ghost/releases/tag/v0.2.2); 0.2.0 and 0.2.1 in between. Sources and digests refreshed with each tag, as the package's .omarchy/package.json upstream block will do automatically once merged. Happy to adjust anything the review needs.

@ferdousbhai

Copy link
Copy Markdown
Contributor Author

Updated to ghost 0.3.0 (https://github.com/ferdousbhai/ghost/releases/tag/v0.3.0); 0.2.3 in between. Minor rather than patch because this release removes the Claude Code chat runtime — the daemon now runs on one runtime (pi), and an installed home that still names the old one heals itself on read, so upgrading needs no owner action.

Two optdepends are gone with it (claude-code and pnpm, the latter only there for the optional Claude Agent SDK boundary); sources and digests refreshed as usual. Still happy to adjust anything the review needs.

@ferdousbhai ferdousbhai changed the title Add ghost: owner-local AI persona with an Omarchy-native HUD Add Ghost: runtime with optional Omarchy HUD Sep 18, 2026
@ryanrhughes ryanrhughes added the build-approved Maintainer approved this PR to build on the self-hosted pool label Sep 19, 2026
ferdousbhai and others added 9 commits September 21, 2026 02:37
Ghost (https://github.com/ferdousbhai/ghost, Apache-2.0) is a local AI
persona for Omarchy: a daemon on 127.0.0.1, a Quickshell HUD summoned
with Super+Ctrl+G, a `ghost` CLI, an opt-in Chromium relay, and a
computer-use helper. The package builds from the v0.1.0 GitHub release's
sanitized source archive plus its prebuilt Bun runtime archive; the
`.omarchy/package.json` upstream block follows later releases the same
way. check() runs the project's own test suite against the payload.

Built locally with `makepkg --cleanbuild` from these exact inputs on
Omarchy 4.0.0.alpha: ghost-0.1.0-1-x86_64.pkg.tar.zst.
The payload is Bun-target JavaScript with no native modules; verified
on aarch64 under emulation (ferdousbhai/ghost#52). The runtime archive
is now named linux-any and listed with the source tarball under
sources.any.
@ferdousbhai

Copy link
Copy Markdown
Contributor Author

Updated to ghost 0.4.1 (https://github.com/ferdousbhai/ghost/releases/tag/v0.4.1); 0.4.0 in between, which is where the split into ghost-runtime and ghost landed. Sources and digests refreshed as usual.

One thing worth calling out in 0.4.1: the Chromium relay left for its own repository and is installed from the browser, so it is no longer part of this package. chromium stays an optdepend because the daemon still drives a browser the owner already runs, and the relay endpoint is still what the packaged daemon serves.

I have also rewritten the description above to name no version. The branch is refreshed at every Ghost release while this is open, so a version in the description is stale the moment it is written; the branch head is the honest answer. Still happy to adjust anything the review needs.

@ferdousbhai

ferdousbhai commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Updated to ghost 0.4.2 (https://github.com/ferdousbhai/ghost/releases/tag/v0.4.2); sources and digests refreshed, and they match the release's SHA256SUMS. A patch release: pi moves to 0.86.1, and the rest is release and test tooling. Nothing changes in the package's shape, depends, or install hooks.

ferdousbhai and others added 5 commits October 5, 2026 12:03
check() in the 0.6.0 source runs packaging tests that need rg, and the
clean build container does not have it, so every build since 0.5.0 stopped
with "ripgrep is required by package checks but is not installed".
Same version, so pkgrel goes to 2 (ghost e97eb09 carries the same
checkdepend for the next release's render).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ryanrhughes
ryanrhughes enabled auto-merge (squash) October 9, 2026 14:32
@ryanrhughes
ryanrhughes merged commit 8b8ede4 into omacom:master Oct 9, 2026
7 checks passed
@ferdousbhai

Copy link
Copy Markdown
Contributor Author

Thanks for merging. Since 0.4.2 the branch was refreshed to ghost 0.4.3, 0.5.0, 0.5.1, 0.5.2 and 0.6.0 (https://github.com/ferdousbhai/ghost/releases/tag/v0.6.0), with sources and digests matching each release's SHA256SUMS. From 0.5.0 on, check() failed with "ripgrep is required by package checks but is not installed", because the source's packaging tests call rg and the clean build container has no ripgrep. 0.6.0-2 adds ripgrep to checkdepends and bumps only pkgrel. That build passed here on x86_64 and aarch64. Ghost's own release rendering now declares the same checkdepend, so future upstream syncs keep it.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Packages: ghost (x86_64, PR artifact)

  • edge/x86_64: ghost-0.6.0-2-any, ghost-runtime-0.6.0-2-any
  • edge/aarch64: ghost-0.6.0-2-any, ghost-runtime-0.6.0-2-any
  • rc/x86_64: ghost-0.6.0-2-any, ghost-runtime-0.6.0-2-any
  • rc/aarch64: ghost-0.6.0-2-any, ghost-runtime-0.6.0-2-any
  • stable/x86_64: ghost-0.6.0-2-any, ghost-runtime-0.6.0-2-any
  • stable/aarch64: ghost-0.6.0-2-any, ghost-runtime-0.6.0-2-any

Commit 8b8ede4 · run

joshuaswarren added a commit to joshuaswarren/omarchy-pkgs that referenced this pull request Nov 10, 2026
Wheel and vendored set rebuilt at v0.7.40 (7ec53476). The release carries the KV cache pre-size and the prefill chunk re-choice (omacom#390, omacom#392) and the assistant server stop fix (omacom#388). Honeykrisp stays at 439dc032d7. The driver file is byte-identical to the one in 0.7.39-2. The vendored set resolved annotated-doc 0.0.6 and markdown-it-py 4.3.0 at build time.
ryanrhughes pushed a commit that referenced this pull request Nov 12, 2026
…tant stop fix (#839)

* omarchy-mlx 0.7.35: !strip (sealed ANE files), patch dependency, package install hook

* omarchy-mlx 0.7.38: 6.8% faster decode on the M1 Max

Pins the v0.7.38 tag tarball, the cp314 aarch64 wheel and the vendor wheel tar. Packaging files are unchanged since 0.7.35, and the Mesa pin is unchanged.

* omarchy-mlx 0.7.38-2: Honeykrisp with the G14X tracked CDM barrier

Pin Mesa to joshuaswarren/mesa-1 ef4219af57 (honeykrisp-omarchy-v3 plus one
commit: tracked CDM barrier by default on G14X gen 14). On a 14-inch M2 Max
the packaged driver issued a full CDM flush per dispatch. Measured, Qwen3-4B 4bit
decode, ABBA, same token ids: ctx512 16.249 to 14.749 ms/tok, ctx2048 19.351 to
17.258 ms/tok. G13G and G13X code paths are unchanged.

* omarchy-mlx 0.7.39: KV cache grows in place, up to 37% faster decode at long context

The KV cache was copied in full on every decode step (72 copies per
token). It now grows in place (0 copies). Measured on a 14-inch M2 Max,
same prompt, same tokens, A/B on separate builds: 36.6% faster at 16384
context, 27.4% at 8192, 8.2% at 512. A 13-inch M1 and a 16-inch M1 Max
pass the same token check at 8192 context (34.9% and 29.3% faster).

The Vulkan driver pin stays at ef4219af57 (Honeykrisp with the tracked
CDM barrier). The wheel and vendor set are built from the v0.7.39 tag in
a clean Arch Linux ARM container.

* omarchy-mlx 0.7.39-2: Honeykrisp lineage 439dc032d7, no non-ASCII venv alias

Mesa moves from ef4219af57 to 439dc032d7 (joshuaswarren/mesa-1 w7b/hk-lineage-hoist-bf16). That lineage adds the SPIR-V image availability fix on top of the G14X tracked CDM barrier, the bf16 cooperative matrices and the G13 compute load hoist. The archive hash is fc26edaef4b6025435416b9ac9d145869b967b5ce564d7a216ab3a79bd6a6ecf.

A Python 3.14 venv holds a symlink named U+1D70B plus "thon". pacman -U in a POSIX locale prints success and stops extracting at that name. On 0.7.39-1 it left 13216 of 13282 files missing and a 180 KB venv. build() now deletes any non-ASCII path from the stage and check() fails the build if one remains. With this change, pacman -U in the same locale installs all 13281 files and the venv is 783 MB.

* omarchy-mlx 0.7.40: no prefill out-of-memory on the 13-inch M1

Wheel and vendored set rebuilt at v0.7.40 (7ec53476). The release carries the KV cache pre-size and the prefill chunk re-choice (#390, #392) and the assistant server stop fix (#388). Honeykrisp stays at 439dc032d7. The driver file is byte-identical to the one in 0.7.39-2. The vendored set resolved annotated-doc 0.0.6 and markdown-it-py 4.3.0 at build time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-approved Maintainer approved this PR to build on the self-hosted pool new-omarchy-feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants