Commit Graph

6 Commits

Author SHA1 Message Date
50c2d85a14 fix(installer): keep macOS OpenClaw plugin on stable path 2026-06-27 08:56:52 +08:00
54df83dc9e chore(macos-patch): resilient litellm install + idempotent OpenClaw guards
Inject pip --retries/--resume-retries into the cloned litellm install task,
tolerate empty version-probe stdout via default('{}', true), and guard the
OpenClaw download/extract patches so a second pass cannot append a duplicate
`when:` (invalid YAML). Ignore scripts/__pycache__.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 13:25:12 +08:00
d0d5a79be8 feat(uninstall): print teardown plan and purge path status
`uninstall` / `uninstall --purge` previously removed services and (on
purge) `rm -rf`'d a hand-maintained list of paths with no output, so users
could not see what would be — or had been — deleted (TC-MAC-026).

Add a pre-flight `print_uninstall_summary` that lists the apps/services to
be removed (launchd agents on macOS; systemd units + docker containers on
Linux) and, when --purge is set, every target path with its current
[present]/[absent] status. Centralize the purge paths into a single
source-of-truth inventory and route deletions through a `purge_path`
helper that prints `removed:` / `absent (skipped):` per path. Document the
subcommands in the usage header. Behavior is otherwise unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 12:37:59 +08:00
51f2776840 fix(macos-patch): tolerate empty litellm version-probe stdout
Mirror the playbooks fix for the curl|bash clone path: rewrite
default('{}') | from_json to default('{}', true) | from_json so an empty
probe stdout no longer crashes the install-decision set_fact.
2026-06-22 03:18:59 +00:00
42c769202b fix(macos-patch): idempotent OpenClaw guards + resilient litellm install
- OpenClaw download sub-patch re-applied on a 2nd pass produced a duplicate when: key (invalid YAML); guard against the already-patched form.
- OpenClaw extract_old drifted from upstream (missing creates:, notify now a list) so the Darwin guard silently never applied and the task tried to unarchive a tarball never downloaded on macOS; realign + idempotent guard.
- Inject pip --retries/--resume-retries + longer timeout into the LiteLLM dependency install for the curl|bash clone path.
2026-06-22 02:42:51 +00:00
Haitao Pan
d24a4dc0fe refactor(deploy): extract python playbook patches into an external script 2026-06-21 19:19:40 +08:00