npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@agentique.io/readback

v0.2.2

Published

Read-only public readback helpers for Agentique resources.

Readme

Agentique Readback

Read-only public readback helpers for Agentique resources.

This package helps integrators consume public Agentique resource status from agentique.io when the platform exposes versioned public endpoints. It exposes status, list, detail, download metadata, readback projection, context bundle, selection readback, catalog normalization, and safe byte-download helpers only.

agentique.io remains the source of truth for upload, scan, review, moderation, publication, distribution state, and readback. This package does not publish, edit, delete, moderate, approve, certify, install, extract, open, or execute resources.

Catalog and direct-download helpers are included in the published 0.2.1 package for canonical public catalog envelopes, ticket-backed byte transfer, and agent-native readback projection helpers. This source package is prepared as the coordinated 0.2.2 package candidate. The helpers remain read-only or explicit-output only. Owner-approved disposable byte-transfer evidence is recorded for a public catalog resource, but this evidence does not certify content safety, approve arbitrary resources, or guarantee every public resource is downloadable.

Install

npm install @agentique.io/readback

Usage

import {
  createBadgeState,
  createReadbackClient,
  downloadResourceArtifact,
  normalizeAgentNativeReadback,
  normalizeDownloadMetadata,
  normalizeParserVariantReadback,
  normalizeResourceList,
  normalizeTrustReadback
} from "@agentique.io/readback";

const client = createReadbackClient();
const catalog = normalizeResourceList(await client.listResources({ limit: 10 }));
const metadata = normalizeDownloadMetadata(await client.getDownloadMetadata("resource-id"));
const readback = await client.getReadback("resource-id");
const trust = normalizeTrustReadback(readback);
const parserVariant = normalizeParserVariantReadback(readback);
const agentNative = normalizeAgentNativeReadback(readback);
const badge = createBadgeState(readback);

console.log(badge.label);
console.log(trust.trustPanel?.state ?? trust.platformState);
console.log(parserVariant.parserEvidence?.parseStatus ?? "unavailable");
console.log(agentNative.resolverResult?.state ?? "unavailable");
console.log(`${catalog.items.length} catalog entries`);
console.log(metadata.availability);

Read-Only Client

The client exposes:

  • getStatus(resourceId)
  • listResources(params)
  • getResource(resourceId)
  • getDownloadMetadata(resourceId)
  • getReadback(resourceId)
  • getContextBundle(resourceId, params)
  • getSelectionReadback(resourceId, params)

No mutation methods are included. Platform pages remain canonical for user decisions.

The client targets versioned public resource paths under /api/public/v1/resources. Callers must handle unavailable, stale, rate-limited, and blocked states because endpoint availability and publication state are controlled by agentique.io.

Context bundle and selection readback helpers use narrow query allowlists for public selection hints such as intent, audience, limit, and cursor. They do not expose production platform scoring, risk thresholds, quarantine criteria, human-review procedures, moderation disposition logic, or operator response workflows.

Returned payloads are normalized with a defense-in-depth projection pass that removes explicitly private fields while preserving public schema fields such as internalId, storageUsage, deploymentDate, tokenCount, objectType, and storageMode. The platform API remains responsible for the authoritative public projection; client-side normalization is not a privacy boundary.

normalizeTrustReadback() projects public desired-state, scanner-policy, trust-panel, review-eligibility, report-action, and version-history fields into a stable readback summary when those fields are present.

normalizeResourceList() projects public catalog list payloads into stable item and page-info fields. normalizeDownloadMetadata() projects public download metadata into availability, filename, media type, size, digest, and expiry fields while filtering private projection fields.

normalizeParserVariantReadback() projects public parser evidence and platform variant fields into a bounded summary when those fields are present. It reports digest presence instead of raw digests and keeps parser/variant state descriptive. Source-only variant metadata remains preparation evidence and is not treated as platform download readiness.

normalizeAgentNativeReadback() projects public namespace, provenance, install guidance, public-boundary, resolver result, and checkpoint fields into a bounded summary when those fields are present. It reports digest presence instead of raw digests and keeps resolver output non-certifying.

downloadResourceArtifact() can write available artifact bytes to an explicit output path. It enforces HTTPS outside loopback development, manual redirect handling, no-overwrite by default, safe filename/path checks, temp-file cleanup, size limits, and digest verification. It does not install, extract, open, execute, approve, certify, publish, host, or moderate downloaded content. Treat downloaded bytes as untrusted until separately reviewed.

Badge States

Badge helpers return explicit states:

  • published
  • parsed
  • partial
  • unsupported
  • variant-available
  • agent-native-ready
  • agent-native-review-required
  • agent-native-private-denied
  • agent-native-ambiguous
  • review-required
  • rescan-required
  • blocked
  • stale
  • unavailable
  • rate-limited

Parser, variant, and agent-native badge states are public readback summaries. They do not prove runtime compatibility, create platform downloads, provide resolver availability, or replace platform review.

Badge output is a public readback summary, not a safety guarantee.

Status

Published on npm as @agentique.io/readback; registry readback currently records the published package set at 0.2.1. This source package is prepared as the coordinated 0.2.2 package candidate. Agent-native readback helpers remain public projection helpers, not resolver availability, platform approval, or safety certification. Badge output is a public readback summary, not a platform approval or safety guarantee.