
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@peac/disc
Advanced tools
PEAC issuer discovery: ABNF-compliant .well-known/peac.txt parser, generator, and remote fetcher.
pnpm add @peac/disc
@peac/disc parses and generates .well-known/peac.txt discovery documents that allow verifiers to find an issuer's public keys and policy information. It enforces the normative 20-line limit, validates document structure against the ABNF grammar, and provides a convenience discover() function for remote resolution.
import { parse, validate } from '@peac/disc';
const result = parse(`
version: peac/0.1
issuer: https://example.com
jwks: https://example.com/.well-known/jwks.json
`);
if (result.valid) {
console.log(result.discovery.issuer); // 'https://example.com'
}
import { emit } from '@peac/disc';
const txt = emit({
version: 'peac/0.1',
issuer: 'https://example.com',
jwks_uri: 'https://example.com/.well-known/jwks.json',
});
// Serve at /.well-known/peac.txt
import { discover, WELL_KNOWN_PATH } from '@peac/disc';
const result = await discover('https://example.com');
if (result.valid) {
console.log(result.discovery);
}
console.log(WELL_KNOWN_PATH); // '/.well-known/peac.txt'
@peac/policy-kit: Policy compilation generates peac.txt artifacts@peac/protocol (Layer 3): Issuer resolution during receipt verification@peac/jwks-cache: Fetches JWKS from the URI discovered via peac.txtIf you are building an AI agent or MCP server that needs evidence receipts:
@peac/mcp-server for a ready-to-use MCP tool server@peac/protocol for programmatic receipt issuance and verificationApache-2.0
PEAC Protocol is an open source project stewarded by Originary and community contributors.
FAQs
Thin loader / validator and remote fetcher for peac.txt policy documents (peac-policy/0.1; docs/specs/PEAC-TXT.md)
The npm package @peac/disc receives a total of 44 weekly downloads. As such, @peac/disc popularity was classified as not popular.
We found that @peac/disc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.