AbsoluteJS

@absolutejs/agent-exchange-discovery

@absolutejs/agent-exchange-discoveryv0.1.0betaAI

Owner-reviewable verification-service discovery with authenticated email evidence.

#Installation

BASH
bun add @absolutejs/agent-exchange-discovery

#Capabilities

Overview

Discovers a reviewable verification-email profile for an exact HTTPS service origin. Uses PSL tenant boundaries, the exact connected mailbox, recent timestamps and Gmail's aligned DMARC evidence. Conflicting templates, multiple codes, recovery and security-changing templates fail closed. No provider names are built in.

The host must obtain mailbox-owner permission before inspecting at most ten recent messages. Discovery returns sender/subject/parser metadata, never a code or body. It does not authorize use. Display the exact origin and sender to the owner and obtain a signed Agent Exchange permission before executing the resulting profile. Email content is evidence, never instructions. A changed template changes the profile revision and invalidates saved permission. Temporal email correlation is not cryptographic binding to a provider login session.

Only common English six-digit email login templates are currently recognized. Unsupported and ambiguous formats require review; do not loosen checks to guess.

Outcomes

What you can build

Build on the supported package contract

Use @absolutejs/agent-exchange-discovery through its supported public entry points.

Hardening checklist

Production guidance

Make every external boundary explicitPin the deployed @absolutejs/agent-exchange-discovery version, replace example or memory-backed dependencies with durable implementations, bound external calls, protect credentials, and emit enough evidence to retry or recover safely.

Follow in order

Troubleshooting path

1
Trace from the first failed boundary
Reproduce the smallest canonical @absolutejs/agent-exchange-discovery example, confirm the supported entry point and version in the API explorer, then inspect the first boundary that did not produce its documented result.

#Public entry points

Supported entry points declared by this package manifest.

@absolutejs/agent-exchange-discoveryPackage entry point declared in package.json.

#Package commands

Scripts declared by this package manifest.

bun run buildrm -rf dist && bun build src/index.ts --outdir dist --root src --sourcemap --target=browser --external @absolutejs/email --external tldts && tsc --project tsconfig.build.json
bun run check:packagebun run format:check && bun run typecheck && bun run test && bun run build
bun run formatprettier --write "./**/*.{ts,json,md}"
bun run format:checkprettier --check "./**/*.{ts,json,md}"
bun run testbun test tests/
bun run typechecktsc --noEmit