pkg.sopackage field notes

brew / 順位 1159

capnp を Homebrew でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install capnp

provider-native install command

概要

パッケージ概要

Data interchange format and capability-based RPC system

コマンドとエイリアス

  • capnp
  • capnpc
  • capnpc-c++
  • capnpc-capnp

履歴

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

Cap'n Proto is a binary data interchange format, schema language, code generator, and capability-based RPC system designed around zero-copy access, fast generated code, and object-capability RPC.

プロジェクトの歴史

Cap'n Proto was announced in 2013 by Kenton Varda, who had been the primary author of Protocol Buffers version 2 at Google. The official introduction presents Cap'n Proto as an answer to years of experience with Protocol Buffers: a binary format that avoids a separate encode/decode step by making the serialized format suitable as an in-memory representation.

The first official release, v0.1, was published on June 27, 2013. At that point the C++ implementation already covered schema files, code generation, file descriptor and stream I/O, text-format output, reflection, dynamic schemas, code-generator plugins, and Linux/macOS testing, while RPC and non-C++ implementations were still developing.

Over the following decade, Cap'n Proto grew from serialization into a full RPC stack and companion C++ toolkit, KJ. The official 1.0 announcement in July 2023 described Cap'n Proto as production-proven and released 1.0 as a long-term-support point before future C++ API work.

採用の歴史

The official introduction says Cap'n Proto was built for Sandstorm.io and is heavily used in Cloudflare Workers. The 1.0 announcement adds that Cloudflare had used it before employing Varda and that Cap'n Proto encoded enormous volumes of messages and data in production.

Cap'n Proto spread through package managers because it is both a compiler tool and a runtime library. The package metadata in this batch shows Homebrew and Scoop coverage, while the official site documents C++ plus implementations or bindings for other languages.

使われ方

Users write .capnp schema files, compile them with capnp and language-specific plugins such as capnpc-c++, then use generated accessors to build, read, and traverse messages without a normal parse step.

Beyond local serialization, Cap'n Proto RPC is used for capability-style distributed object calls, promise pipelining, and patterns such as streaming through temporary RPC objects. It is commonly considered alongside Protocol Buffers, FlatBuffers, SBE, Thrift, Ice, and gRPC depending on whether the problem is schema encoding, RPC, or both.

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

Cap'n Proto is a package-nerd landmark because a tiny command-line compiler sits at the intersection of ABI concerns, wire formats, generated code, language bindings, and RPC semantics. Packaging it correctly means shipping both the capnp compiler and the libraries plugins expect.

It is also one of the clearest examples of a serialization package becoming infrastructure: originally interesting for zero-copy encoding, then important as part of Cloudflare Workers and KJ's async C++ ecosystem.

タイムライン

  • 2013-03: capnproto/capnproto repository is created on GitHub.
  • 2013-04-01: Cap'n Proto is announced.
  • 2013-06-27: First official release, v0.1, is published.
  • 2013-12: Cap'n Proto v0.4 introduces time-traveling RPC.
  • 2014: v0.5 adds features including generics, Visual C++, Java, C#, and Sandstorm.io-related work.
  • 2021: v0.9 announcement says Cloudflare Workers Durable Objects make heavy use of Cap'n Proto RPC.
  • 2023-07-28: Cap'n Proto 1.0 is released.

Related projects

  • Protocol Buffers is the explicit comparison point and personal predecessor for Kenton Varda.
  • Sandstorm.io is named by the official introduction as an original target environment.
  • Cloudflare Workers and workerd are named in official Cap'n Proto news as major production users and drivers of KJ work.
  • KJ is the C++ toolkit developed with Cap'n Proto.
  • FlatBuffers and SBE are serialization formats compared in Cap'n Proto's official news.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
capnp実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
capnpc実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
capnpc-c++実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
capnpc-capnp実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

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

ページ生成日2026-08-03
マネージャ版1.5.0
マネージャ更新日2026-07-10
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:capnp
バージョン1.5.0
パッケージマネージャHomebrew
ホームページhttps://capnproto.org/
リポジトリhttps://github.com/capnproto/capnproto
最終更新2026-07-10T03:17:47Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソース経路

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

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

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation