Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
12345678910111213141516package tui
import ( "errors" "net/http"
"albedo/cli/internal/daemon")
// refusedConfiguration reports a change the daemon refused because the copy of// the configuration it was conditional on is no longer the daemon's.func refusedConfiguration(err error) bool { apiErr, ok := errors.AsType[*daemon.APIError](err) return ok && apiErr.StatusCode == http.StatusPreconditionFailed}