pkg.soopen package index

brew / 順位 1857

sleepwatcher を Homebrew, MacPorts, Nix でインストール

sleepwatcher のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install sleepwatcher

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install sleepwatcher

MacPorts ports tree · sysutils/sleepwatcher/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#sleepwatcher

nixpkgs package indexes · pkgs/by-name/sl/sleepwatcher/package.nix · ソース: api.github.com

概要

パッケージ概要

Monitors sleep, wakeup, and idleness of a Mac

コマンドとエイリアス

  • sleepwatcher

履歴

プロジェクトの歴史と使われ方

SleepWatcher monitors Mac sleep, wake and user activity and can execute commands when those states change.

プロジェクトの歴史

Bernhard Baehr distributes SleepWatcher as a macOS command-line daemon with source code included. Older distributions remain available for Mac OS X 10.1–10.4.

採用の歴史

The author's compatibility notes span early Mac OS X releases through Apple silicon, documenting longevity across several Mac platform transitions without providing adoption statistics.

使われ方

Typical uses include running commands on suspend, resume, prolonged inactivity or power-adapter changes. The homepage also documents requesting sleep and querying elapsed idle time.

パッケージ好きにとっての重要性

SleepWatcher connects macOS power and activity events to Unix commands, making it useful for shell-based workstation automation.

タイムライン

  • Early Mac OS X era: Releases supported Mac OS X 10.1 and 10.2.
  • Apple silicon era: The author documents Rosetta 2 operation and provides a Makefile for native compilation.

Related projects

  • macOS power management
  • Unix shell scripting

セキュリティ状態

リスクレベル: orange

formula declares a Homebrew service.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • formula declares a Homebrew service

信号

  • metadata:service

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • formula メタデータがサービスまたはデーモンブロックを宣言しています。
  • Homebrew bottle メタデータは 10 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

macOS
~/.sleep~/.wakeup/etc/rc.sleep/etc/rc.wakeup~/Library/LaunchAgents/de.bernhard-baehr.sleepwatcher.plist/Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
sleepwatchercliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-09-19
マネージャ版2.2.1
マネージャ更新日2026-09-13
ローカルデータOK
上流not checked
検出された最新未検出

https://www.bernhard-baehr.de/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:sleepwatcher
バージョン2.2.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/sleepwatcher
ホームページhttps://www.bernhard-baehr.de/
上流ドキュメントhttps://www.bernhard-baehr.de/
ライセンスGPL-3.0-or-later
ソースアーカイブhttps://www.bernhard-baehr.de/sleepwatcher_2.2.1.tgz
最終更新2026-09-13T02:34:49Z
Pulseupdated
Bottle利用可能 (対象 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura)
Homebrew post-install未定義
サービスdeclared
注意点For SleepWatcher to work, you will need to write sleep and wakeup scripts, located here when using brew services: ~/.sleep ~/.wakeup

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesleepwatcher
Version Scheme0
Revision0
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

sleepwatcher

nix profile install nixpkgs#sleepwatcher
  • normalized package name match
  • 一致条件: Sleepwatcher
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sl/sleepwatcher/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

sleepwatcher

sudo port install sleepwatcher
  • normalized package name match
  • 一致条件: Sleepwatcher
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/sleepwatcher/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation