@meridiona/meridian-darwin-arm64 1.58.0 → 1.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.58.1
package/bin/meridian CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meridiona/meridian-darwin-arm64",
3
- "version": "1.58.0",
3
+ "version": "1.58.1",
4
4
  "description": "Prebuilt Meridian app for macOS arm64 (daemon binary + dashboard + Python services). Installed via @meridiona/meridian.",
5
5
  "homepage": "https://github.com/Meridiona/meridian",
6
6
  "repository": {
@@ -127,10 +127,32 @@ while launchctl print "${GUI_TARGET}/${LABEL}" >/dev/null 2>&1; do
127
127
  done
128
128
 
129
129
  echo "→ bootstrap ${LABEL}"
130
+ # `meridian stop` runs `launchctl disable` to clear the KeepAlive intent, which
131
+ # persists in launchd's per-user override DB. bootstrap REFUSES a disabled label
132
+ # with EIO (errno 5), so the override must be cleared FIRST — otherwise a plain
133
+ # reinstall (install-dev.sh) can't revive a service that was `meridian stop`-ped.
130
134
  launchctl enable "${GUI_TARGET}/${LABEL}" 2>/dev/null || true
131
- launchctl bootstrap "${GUI_TARGET}" "${PLIST_DEST}"
132
- launchctl enable "${GUI_TARGET}/${LABEL}"
133
- launchctl kickstart -k "${GUI_TARGET}/${LABEL}"
135
+ # bootstrap is genuinely flaky: it EIOs when the prior domain entry hasn't fully
136
+ # cleared even after the bootout-wait above. Do NOT let one transient failure
137
+ # abort the whole install under `set -e` (that's what left screenpipe down after
138
+ # a stop). Retry, re-enabling each round, and treat "already loaded" as success.
139
+ _bs_try=0
140
+ until launchctl bootstrap "${GUI_TARGET}" "${PLIST_DEST}" 2>/dev/null; do
141
+ if launchctl print "${GUI_TARGET}/${LABEL}" >/dev/null 2>&1; then
142
+ break # already in the domain — bootstrap only "failed" because it's present
143
+ fi
144
+ _bs_try=$(( _bs_try + 1 ))
145
+ if [[ "${_bs_try}" -ge 5 ]]; then
146
+ echo "⚠ bootstrap ${LABEL} failed after ${_bs_try} attempts — see launchctl print" >&2
147
+ break
148
+ fi
149
+ launchctl enable "${GUI_TARGET}/${LABEL}" 2>/dev/null || true
150
+ sleep 1
151
+ done
152
+ # Always finish with enable + kickstart, even if bootstrap was a no-op above, so a
153
+ # disabled-but-loaded service ends up enabled AND running.
154
+ launchctl enable "${GUI_TARGET}/${LABEL}" 2>/dev/null || true
155
+ launchctl kickstart -k "${GUI_TARGET}/${LABEL}" 2>/dev/null || true
134
156
 
135
157
  echo
136
158
  echo "✓ screenpipe installed and started"
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "meridian-agents"
7
- version = "1.58.0"
7
+ version = "1.58.1"
8
8
  description = "Meridian agents — MLX classifier server and Jira worklog synthesis for meridian.db"
9
9
  requires-python = ">=3.11"
10
10
  authors = [{ name = "Meridiona" }]
package/ui.tar.gz CHANGED
Binary file