@meridiona/meridian-darwin-arm64 1.23.5 → 1.23.6
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 +27 -0
- package/services/pyproject.toml +1 -1
- package/ui.tar.gz +0 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.23.
|
|
1
|
+
1.23.6
|
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.23.
|
|
3
|
+
"version": "1.23.6",
|
|
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": {
|
|
@@ -395,6 +395,33 @@ if [[ -f "${APP_ROOT}/ui.tar.gz" ]]; then
|
|
|
395
395
|
ok "dashboard unpacked ($(find "${APP_ROOT}/ui/.next/node_modules" -type l 2>/dev/null | wc -l | tr -d ' ') external symlink(s) restored)"
|
|
396
396
|
fi
|
|
397
397
|
|
|
398
|
+
# Re-fetch the correct better-sqlite3 binary when the pre-built addon ABI
|
|
399
|
+
# doesn't match the local Node.js. The Next.js standalone strips source files
|
|
400
|
+
# (binding.gyp is absent), so `npm rebuild` can't compile from source — instead
|
|
401
|
+
# we install the same version into a temp dir (which runs prebuild-install and
|
|
402
|
+
# downloads the right binary from GitHub) then copy just the .node file across.
|
|
403
|
+
_sqlite3_dir="${APP_ROOT}/ui/node_modules/better-sqlite3"
|
|
404
|
+
if [[ -d "${_sqlite3_dir}" ]] && ! node -e "require('${_sqlite3_dir}')" 2>/dev/null; then
|
|
405
|
+
info "Re-fetching better-sqlite3 binary for Node $(node --version) (ABI mismatch with CI build)…"
|
|
406
|
+
_bsv="$(node -e "process.stdout.write(require('${_sqlite3_dir}/package.json').version)" 2>/dev/null || echo "")"
|
|
407
|
+
_bstmp="$(mktemp -d)"
|
|
408
|
+
_bsok=0
|
|
409
|
+
if [[ -n "${_bsv}" ]] && \
|
|
410
|
+
(cd "${_bstmp}" && npm install --no-save "better-sqlite3@${_bsv}" 2>/dev/null) && \
|
|
411
|
+
[[ -f "${_bstmp}/node_modules/better-sqlite3/build/Release/better_sqlite3.node" ]]; then
|
|
412
|
+
cp "${_bstmp}/node_modules/better-sqlite3/build/Release/better_sqlite3.node" \
|
|
413
|
+
"${_sqlite3_dir}/build/Release/better_sqlite3.node"
|
|
414
|
+
_bsok=1
|
|
415
|
+
fi
|
|
416
|
+
rm -rf "${_bstmp}"
|
|
417
|
+
if [[ "${_bsok}" -eq 1 ]]; then
|
|
418
|
+
ok "better-sqlite3 binary updated for Node $(node --version)"
|
|
419
|
+
else
|
|
420
|
+
warn "better-sqlite3 binary update failed — dashboard will show empty data"
|
|
421
|
+
warn " manual fix: V=\$(node -e \"process.stdout.write(require('${_sqlite3_dir}/package.json').version)\"); T=\$(mktemp -d); cd \$T && npm install better-sqlite3@\$V && cp \$T/node_modules/better-sqlite3/build/Release/better_sqlite3.node '${_sqlite3_dir}/build/Release/better_sqlite3.node'; rm -rf \$T"
|
|
422
|
+
fi
|
|
423
|
+
fi
|
|
424
|
+
|
|
398
425
|
# ── 6. Daemons (reuse the hardened installers; UI runs the standalone server) ─
|
|
399
426
|
info "Installing screenpipe launchd agent…"
|
|
400
427
|
bash "${APP_ROOT}/scripts/install-screenpipe-daemon.sh" || warn "screenpipe agent install failed"
|
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.23.
|
|
7
|
+
version = "1.23.6"
|
|
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" }]
|
package/ui.tar.gz
CHANGED
|
Binary file
|