@meridiona/meridian-darwin-arm64 1.66.2 → 1.67.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 CHANGED
@@ -1 +1 @@
1
- 1.66.2
1
+ 1.67.0
package/bin/meridian CHANGED
Binary file
package/bin/meridian-tray CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meridiona/meridian-darwin-arm64",
3
- "version": "1.66.2",
3
+ "version": "1.67.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": {
@@ -87,13 +87,21 @@ def _env_positive_int(name: str, default: int) -> int:
87
87
  """Read a positive-int env override, falling back to `default` on bad input.
88
88
 
89
89
  Parsed at import, so a non-integer value (operator typo) must degrade to the
90
- default rather than raise ValueError and brick MLX-server startup.
90
+ default rather than raise ValueError and brick MLX-server startup. Non-positive
91
+ integers are also rejected for consistency.
91
92
  """
92
93
  raw = os.environ.get(name)
93
94
  if raw is None:
94
95
  return default
95
96
  try:
96
- return max(1, int(raw))
97
+ val = int(raw)
98
+ if val <= 0:
99
+ log.warning(
100
+ "server: ignoring non-positive env override; using default",
101
+ extra={"env_var": name, "raw": raw, "default": default},
102
+ )
103
+ return default
104
+ return val
97
105
  except ValueError:
98
106
  log.warning(
99
107
  "server: ignoring non-integer env override; using default",
@@ -147,7 +155,6 @@ def _download_spec(spec: model_registry.ModelSpec) -> None:
147
155
  for attempt in range(1, _PREFETCH_MAX_ATTEMPTS + 1):
148
156
  try:
149
157
  snapshot_download(spec.model_id, allow_patterns=spec.allow_patterns)
150
- return
151
158
  except Exception as exc: # noqa: BLE001 — retry-with-resume, re-raise if exhausted
152
159
  log.warning(
153
160
  "server: prefetch download attempt failed; will resume from partial",
@@ -161,6 +168,8 @@ def _download_spec(spec: model_registry.ModelSpec) -> None:
161
168
  if attempt >= _PREFETCH_MAX_ATTEMPTS:
162
169
  raise # all attempts exhausted — surface the active error to _run_prefetch
163
170
  time.sleep(min(2**attempt, 30)) # 2s, 4s, 8s, 16s … capped at 30s
171
+ else:
172
+ return # download succeeded
164
173
 
165
174
 
166
175
  def _run_prefetch(specs: list[model_registry.ModelSpec]) -> None:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "meridian-agents"
7
- version = "1.66.2"
7
+ version = "1.67.0"
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" }]