macOS
brew install weaverlocal Homebrew formula metadata
brew
weaver のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install weaverlocal Homebrew formula metadata
nix profile install nixpkgs#weavernixpkgs package indexes · pkgs/by-name/we/weaver/package.nix · ソース: api.github.com
winget install --id OpenTelemetry.Weaver -eWindows Package Manager source index · OpenTelemetry.Weaver · ソース: cdn.winget.microsoft.com
概要
Command-line tool for Weaver
履歴
Weaver is Scribd's declarative dependency-injection framework and command-line code generator for Swift projects. It scans Swift sources for dependency annotations, builds a dependency graph, validates it at compile time, and generates the boilerplate needed to wire dependencies into iOS, macOS, and Linux Swift code.
The package's command-line identity matters: the brew formula installs the weaver executable that runs in an Xcode build phase or from developer tooling to generate Swift source before compilation.
Scribd introduced Weaver publicly in 2018 in a technology blog post titled 'A Painless Dependency Injection Framework for Swift.' The post framed Weaver as a response to growing Swift applications where manual dependency passing and singleton fallback patterns become hard to maintain.
The original design used comment annotations such as weaver: movieManager <- MovieManaging to declare dependencies in source code. The README later describes both property-wrapper and comment-based declarations, SourceKitten-backed scanning via Apple's SourceKit, dependency-graph linking, validation, and generated source output.
The project was eventually deprecated by Scribd. The current README begins with a deprecation notice saying Scribd no longer uses the technology internally, has decided to archive the repository, and will leave the code and resources available for reference or independent forks.
Weaver's adoption was strongest in the Swift/iOS architecture community rather than across general-purpose backend development. Its README links tutorials, a demo video, and an SF SLUG talk about maintaining a dependency graph with Weaver.
Its value proposition was compile-time safety. The Scribd blog contrasts Weaver with dependency-injection containers that can crash at runtime, arguing that Weaver validates the graph before the app runs and lets dependencies remain non-optional.
A typical project adds Weaver to an Xcode build phase before Compile Sources, then invokes weaver swift with project and output paths. The generated dependency container code is compiled with the application, giving app code typed access to registered dependencies.
Weaver can be installed through Homebrew, CocoaPods, Mint, prebuilt release binaries, or from source. The README notes that CocoaPods was useful when a project needed a specific Weaver version because Homebrew did not automatically install specific historical versions.
Weaver is notable as an iOS-era code-generation answer to dependency injection: instead of relying on reflection-heavy runtime containers, it uses Swift source scanning and compile-time generated containers to keep app wiring explicit and type checked.
Its deprecation also makes it useful history. It captures a period before Swift macros and newer DI patterns, when SourceKit-based tooling and build-phase generators were a common way to add static analysis and boilerplate generation to Swift projects.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
weaver | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/scribd/Weaver
インストールメタデータ
| パッケージキー | brew:weaver |
|---|---|
| バージョン | 1.1.7 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/weaver |
| ホームページ | https://github.com/scribd/Weaver |
| リポジトリ | https://github.com/scribd/Weaver |
| 上流ドキュメント | https://github.com/scribd/Weaver#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/scribd/Weaver/archive/refs/tags/1.1.7.tar.gz |
| macOS 提供ライブラリ | swift |
| Bottle | 利用可能 (対象 arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | weaver |
| Version Scheme | 0 |
| Revision | 0 |
| Conflicts With |
|
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
weaver
nix profile install nixpkgs#weaverOpenTelemetry.Weaver
winget install --id OpenTelemetry.Weaver -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.