You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pilotctl's appstore subcommands (list, install, call, uninstall, ...)
all assume the supervisor is running. Until now the daemon never
loaded the app-store plugin, so those commands silently did nothing
useful on any host. This wires appstore.NewService unconditionally
into the daemon, pointed at <home>/.pilot/apps, 2s rescan interval.
No flag, no config to enable — apps are still installed individually
via pilotctl appstore install, but the supervisor is part of every
daemon process from now on.
The integration adapter from app-store/integration/ is a separate go
module which web4 doesn't otherwise depend on. Rather than pull in
the whole module for a 4-method shim, inline the adapter at
cmd/daemon/appstore_adapter.go. A compile-time `var _ coreapi.Service
= (*appstoreAdapter)(nil)` assertion breaks the build loudly if
coreapi.Service ever drifts away from the shape the shim expects.
Verified end-to-end via scripts/smoke-test-appstore.sh (lands in
follow-up PR): daemon starts cleanly, supervisor logs
"starting: install_root=<home>/.pilot/apps", picks up a freshly-
installed wallet within the rescan window, spawns it, exposes its
IPC socket. Uninstall via pilotctl propagates: daemon logs
"removed from disk; supervise goroutine canceled".
Co-authored-by: Teodor Calin <teodor@vulturelabs.io>
0 commit comments