@meridiona/meridian-darwin-arm64 1.12.0 → 1.13.0
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 +1 -1
- package/bin/meridian +0 -0
- package/package.json +1 -1
- package/scripts/install-from-bundle.sh +25 -48
- package/services/pyproject.toml +6 -1
- package/services/uv.lock +3253 -0
- package/ui.tar.gz +0 -0
- package/services/requirements-mlx.lock +0 -112
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.13.0
|
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.
|
|
3
|
+
"version": "1.13.0",
|
|
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": {
|
|
@@ -197,7 +197,17 @@ command -v node >/dev/null 2>&1 || { info "Installing Node.js…"; brew install
|
|
|
197
197
|
PYTHON_BIN=""
|
|
198
198
|
for p in python3.11 python3; do command -v "$p" >/dev/null 2>&1 && { PYTHON_BIN="$(command -v "$p")"; break; }; done
|
|
199
199
|
[[ -n "${PYTHON_BIN}" ]] || { info "Installing Python 3.11…"; brew install python@3.11; PYTHON_BIN="$(command -v python3.11)"; }
|
|
200
|
-
|
|
200
|
+
# uv is the package/venv manager for Python services. Install via Homebrew (already
|
|
201
|
+
# required by this installer) rather than the astral curl|sh installer.
|
|
202
|
+
UV_BIN=""
|
|
203
|
+
if command -v uv >/dev/null 2>&1; then
|
|
204
|
+
UV_BIN="$(command -v uv)"
|
|
205
|
+
else
|
|
206
|
+
info "Installing uv (Python package manager)…"
|
|
207
|
+
brew install uv
|
|
208
|
+
UV_BIN="$(command -v uv)"
|
|
209
|
+
fi
|
|
210
|
+
ok "node + python ($(${PYTHON_BIN} --version 2>&1)) + uv ($(${UV_BIN} --version 2>&1))"
|
|
201
211
|
|
|
202
212
|
if ! command -v screenpipe >/dev/null 2>&1; then
|
|
203
213
|
info "Installing screenpipe ${SCREENPIPE_VERSION} via npm…"
|
|
@@ -258,56 +268,23 @@ else
|
|
|
258
268
|
fi
|
|
259
269
|
|
|
260
270
|
# ── 4. Python venv + MLX deps ────────────────────────────────────────────────
|
|
261
|
-
#
|
|
262
|
-
#
|
|
263
|
-
#
|
|
264
|
-
#
|
|
265
|
-
#
|
|
271
|
+
# uv reads services/uv.lock (hashed, cross-platform, committed) and installs the
|
|
272
|
+
# exact pinned set with no PyPI resolution at install time. On subsequent runs
|
|
273
|
+
# `uv sync --frozen` is a no-op when the venv is already up-to-date — faster than
|
|
274
|
+
# the old DEPS_STAMP approach and handles cross-version upgrades correctly.
|
|
275
|
+
# PYTHON_BIN is the brew-installed Python we know runs MLX/Metal; --python pins
|
|
276
|
+
# the interpreter used when uv creates a fresh venv (existing venvs are unchanged).
|
|
266
277
|
VENV="${APP_ROOT}/services/.venv"
|
|
267
|
-
DEPS_STAMP="${VENV}/.meridian-deps-hash"
|
|
268
|
-
# Reproducible runtime: install the exact pinned set from requirements-mlx.lock,
|
|
269
|
-
# not the [mlx] extra resolved fresh from PyPI within version ranges (where a new
|
|
270
|
-
# upstream release could break a fresh install). Hash the lock (its source of
|
|
271
|
-
# truth) so a changed lock re-pips; fall back to pyproject when no lock shipped.
|
|
272
|
-
MLX_LOCK="${APP_ROOT}/services/requirements-mlx.lock"
|
|
273
|
-
deps_hash() {
|
|
274
|
-
local f="${MLX_LOCK}"; [[ -f "$f" ]] || f="${APP_ROOT}/services/pyproject.toml"
|
|
275
|
-
shasum -a 256 "$f" 2>/dev/null | cut -d' ' -f1
|
|
276
|
-
}
|
|
277
|
-
want_hash="$(deps_hash)"
|
|
278
|
-
|
|
279
|
-
fresh_venv=0
|
|
280
|
-
if [[ ! -x "${VENV}/bin/python" ]]; then
|
|
281
|
-
info "Creating Python venv…"
|
|
282
|
-
rm -rf "${VENV}"
|
|
283
|
-
"${PYTHON_BIN}" -m venv "${VENV}"
|
|
284
|
-
fresh_venv=1
|
|
285
|
-
fi
|
|
286
278
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
if [[ -f "${MLX_LOCK}" ]]; then
|
|
295
|
-
# Pinned lock + the local package WITHOUT re-resolving its deps.
|
|
296
|
-
"${VENV}/bin/pip" install --quiet -r "${MLX_LOCK}" \
|
|
297
|
-
&& "${VENV}/bin/pip" install --quiet --no-deps -e "${APP_ROOT}/services" \
|
|
298
|
-
&& _deps_ok=1
|
|
299
|
-
else
|
|
300
|
-
warn "no requirements-mlx.lock in bundle — resolving [mlx] from version ranges (not pinned)"
|
|
301
|
-
"${VENV}/bin/pip" install --quiet -e "${APP_ROOT}/services[mlx]" && _deps_ok=1
|
|
302
|
-
fi
|
|
303
|
-
if [[ "${_deps_ok}" -eq 1 ]]; then
|
|
304
|
-
[[ -n "${want_hash}" ]] && printf '%s\n' "${want_hash}" > "${DEPS_STAMP}"
|
|
305
|
-
ok "Python services ready"
|
|
306
|
-
else
|
|
307
|
-
warn "pip install failed — leaving venv as-is; re-run 'meridian setup' to retry"
|
|
308
|
-
fi
|
|
279
|
+
info "Installing Python + MLX deps (mlx-lm/outlines/fastapi; first run may download a few hundred MB)…"
|
|
280
|
+
if "${UV_BIN}" sync \
|
|
281
|
+
--project "${APP_ROOT}/services" \
|
|
282
|
+
--extra mlx \
|
|
283
|
+
--frozen \
|
|
284
|
+
--python "${PYTHON_BIN}"; then
|
|
285
|
+
ok "Python services ready ($(${VENV}/bin/python --version 2>&1))"
|
|
309
286
|
else
|
|
310
|
-
|
|
287
|
+
warn "uv sync failed — leaving venv as-is; re-run 'meridian setup' to retry"
|
|
311
288
|
fi
|
|
312
289
|
|
|
313
290
|
# ── 5. macOS permissions for screenpipe (manual — can't be automated) ────────
|
package/services/pyproject.toml
CHANGED
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "meridian-agents"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.13.0"
|
|
8
8
|
description = "Meridian agents — hermes task linking and Jira progress updates for meridian.db"
|
|
9
9
|
requires-python = ">=3.11"
|
|
10
10
|
authors = [{ name = "Meridiona" }]
|
|
@@ -51,6 +51,11 @@ pm_worklog_update = [
|
|
|
51
51
|
[project.scripts]
|
|
52
52
|
meridian-server = "agents.server:main"
|
|
53
53
|
|
|
54
|
+
[tool.uv]
|
|
55
|
+
# Lock all extras so `uv lock` produces a complete, reproducible uv.lock.
|
|
56
|
+
# install-from-bundle.sh installs the mlx extra via `uv sync --extra mlx --frozen`.
|
|
57
|
+
constraint-dependencies = []
|
|
58
|
+
|
|
54
59
|
[tool.setuptools.packages.find]
|
|
55
60
|
where = ["."]
|
|
56
61
|
include = ["agents", "agents.*"]
|