Automic VaultAutomic Vault

brew

Installer capnp avec Homebrew, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de capnp pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install capnp

local Homebrew formula metadata

Windows

Scoopvérifié · 92%
scoop install main/capnp

Scoop official bucket manifest trees · bucket/capnp.json · Source: api.github.com

aperçu

Résumé du paquet

Data interchange format and capability-based RPC system

Commandes et alias

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

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 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.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
capnpcliexécutable global
capnpccliexécutable global
capnpc-c++cliexécutable global
capnpc-capnpcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire1.5.0
gestionnaire mis à jour2026-07-10
données localesOK
amontà jour
dernière version détectéev1.5.0

https://github.com/capnproto/capnproto

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:capnp
Version1.5.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/capnp
Page d'accueilhttps://capnproto.org/
Dépôthttps://github.com/capnproto/capnproto
Docs amonthttps://capnproto.org/
LicenceMIT
Archive sourcehttps://github.com/capnproto/capnproto/archive/refs/tags/v1.5.0.tar.gz
Dernière mise à jour2026-07-10T03:17:47Z
Pulseupdated
Dépendances de compilationcmake
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Scoop95%

main/capnp

scoop install main/capnp
  • normalized package name match
  • Correspondance par : Capnp
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/capnp.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment