@cocorograph/hub-agent 0.8.84 → 0.8.85
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/package.json +1 -1
- package/scripts/install.sh +3 -5
package/package.json
CHANGED
package/scripts/install.sh
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
# 1. macOS なら Homebrew (なければ install)
|
|
13
13
|
# - 管理者権限が無い環境では自動で $HOME/homebrew にユーザーローカル
|
|
14
14
|
# インストールに切り替わる (HUB_AGENT_USER_BREW=1 で強制も可)
|
|
15
|
-
# 2.
|
|
15
|
+
# 2. node + python3 (なければ install via brew / apt 等)
|
|
16
16
|
# 3. GNU coreutils の timeout (補助コマンド。macOS では brew で入れて gtimeout への
|
|
17
17
|
# symlink を ~/.local/bin に作成。Linux は存在確認のみで、不在なら手動導入を案内)
|
|
18
18
|
# 4. npm i -g @cocorograph/hub-agent
|
|
@@ -1377,7 +1377,7 @@ macos_perm_guidance() {
|
|
|
1377
1377
|
cat <<EOF
|
|
1378
1378
|
|
|
1379
1379
|
📣 macOS の権限ダイアログについて
|
|
1380
|
-
hub-agent
|
|
1380
|
+
hub-agent はローカルの CLI (Claude / Codex) を中継するため、初回起動時に macOS から
|
|
1381
1381
|
「node がローカルネットワーク上の機器を検出することを求めています」
|
|
1382
1382
|
「node がアクセシビリティを制御することを求めています」
|
|
1383
1383
|
「node がほかのアプリからのデータへのアクセス権を求めています」
|
|
@@ -1396,13 +1396,11 @@ EOF
|
|
|
1396
1396
|
|
|
1397
1397
|
main() {
|
|
1398
1398
|
color_step "hub-agent ワンライナーセットアップを開始"
|
|
1399
|
-
STEP_TOTAL=
|
|
1399
|
+
STEP_TOTAL=15
|
|
1400
1400
|
STEP_NUM=0
|
|
1401
1401
|
|
|
1402
1402
|
step_header "Homebrew"
|
|
1403
1403
|
ensure_brew
|
|
1404
|
-
step_header "tmux"
|
|
1405
|
-
ensure_pkg tmux tmux tmux
|
|
1406
1404
|
step_header "Node.js (Active LTS)"
|
|
1407
1405
|
ensure_node_version
|
|
1408
1406
|
step_header "Build tools (native addons)"
|