@meridiona/meridian-darwin-arm64 1.37.4 → 1.38.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/lib-github-setup.sh +30 -3
- package/services/pyproject.toml +1 -1
- package/ui.tar.gz +0 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.38.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.38.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": {
|
|
@@ -10,15 +10,42 @@
|
|
|
10
10
|
# scopes: `repo` (post worklog / task-update issue comments) and `read:project`
|
|
11
11
|
# (read Projects v2 via GraphQL). gh's default web-login grants repo + read:org
|
|
12
12
|
# but not read:project, so add whatever is missing through the same browser flow,
|
|
13
|
-
# then write the OAuth token to GITHUB_TOKEN.
|
|
14
|
-
#
|
|
15
|
-
#
|
|
13
|
+
# then write the OAuth token to GITHUB_TOKEN.
|
|
14
|
+
#
|
|
15
|
+
# Since the user has opted into GitHub, drive the whole no-PAT path for them:
|
|
16
|
+
# install gh via Homebrew if it's missing (the installer already brew-installs
|
|
17
|
+
# node/ffmpeg/uv the same way) and run gh's browser sign-in if they're not
|
|
18
|
+
# authenticated. Returns non-zero only if gh can't be installed, the sign-in
|
|
19
|
+
# fails, or the scope refresh fails, so the caller can fall back to a manual PAT
|
|
20
|
+
# prompt. An existing GITHUB_TOKEN is kept untouched.
|
|
16
21
|
_try_gh_token() {
|
|
17
22
|
local env_file="$1"
|
|
18
23
|
[[ -n "$(get_env_value GITHUB_TOKEN "$env_file")" ]] && {
|
|
19
24
|
ok "GITHUB_TOKEN already set — keeping"; return 0
|
|
20
25
|
}
|
|
26
|
+
|
|
27
|
+
# gh missing → install it (best-effort). Without Homebrew we can't, so fall
|
|
28
|
+
# back to the PAT prompt.
|
|
29
|
+
if ! command -v gh >/dev/null 2>&1; then
|
|
30
|
+
if command -v brew >/dev/null 2>&1; then
|
|
31
|
+
info " Installing GitHub CLI (gh) for no-PAT sign-in…"
|
|
32
|
+
brew install gh >&2 || { warn " gh install failed — use a personal access token instead"; return 1; }
|
|
33
|
+
else
|
|
34
|
+
warn " GitHub CLI (gh) not installed and Homebrew unavailable — use a personal access token"
|
|
35
|
+
return 1
|
|
36
|
+
fi
|
|
37
|
+
fi
|
|
21
38
|
command -v gh >/dev/null 2>&1 || return 1
|
|
39
|
+
|
|
40
|
+
# Not signed in → run gh's interactive browser login, requesting meridian's
|
|
41
|
+
# scopes up front so the refresh step below is usually a no-op.
|
|
42
|
+
if ! gh auth status >/dev/null 2>&1; then
|
|
43
|
+
info " Signing in to GitHub (opens a browser)…"
|
|
44
|
+
gh auth login -h github.com -p https -w -s "repo,read:project" >&2 || {
|
|
45
|
+
warn " GitHub sign-in failed — use a personal access token instead"
|
|
46
|
+
return 1
|
|
47
|
+
}
|
|
48
|
+
fi
|
|
22
49
|
gh auth status >/dev/null 2>&1 || return 1
|
|
23
50
|
|
|
24
51
|
# Add any missing scope through gh's browser flow. `project` (write) satisfies
|
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.38.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" }]
|
package/ui.tar.gz
CHANGED
|
Binary file
|