New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@pdpp/read-core

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pdpp/read-core

Pure, adapter-agnostic primitives for shaping PDPP read results into bounded previews, continuation descriptors, handle metadata, and escalation paths.

Source
npmnpm
Version
1.5.1
Version published
Weekly downloads
72
-56.89%
Maintainers
3
Weekly downloads
 
Created
Source

@pdpp/read-core

@pdpp/read-core contains pure, adapter-agnostic primitives for shaping PDPP read results into bounded previews, continuation descriptors, handle metadata, and deliberate escalation paths.

It is the shared core consumed by independently-installed read adapters (@pdpp/mcp-server, @pdpp/cli, and future REST/SDK adapters). Given records, record-sets, or field reads, it returns structured, bounded descriptors that any adapter can render — the adapter decides how to present them.

Boundary (what belongs here, and what does not)

In scope — pure read shaping only:

  • Bounded previews of records and record-sets.
  • Content ladders and field-window evidence (progressive disclosure).
  • Continuation descriptors and opaque content handles (encode/decode).
  • Binary/blob field metadata.
  • Deterministic truncation and stable inline JSON.
  • Stable record identity for evidence.

Out of scope — keep these in the adapter or server layers:

  • No authorization, grants, or token semantics.
  • No HTTP, transport, or networking.
  • No filesystem or export I/O.
  • No CLI parsing or flag handling.
  • No UI rendering beyond minimal stable descriptors.
  • No connector-specific or source-specific business semantics.
  • No single-client quirks baked in as core semantics (client workarounds belong in the adapter that needs them).

The package keeps a deliberately small, stable public API so adapters can build against it safely.

TypeScript declarations

This package does not currently publish declaration files. Its public contract is the emitted JavaScript root export; declarations will be added only with an explicit typed API contract.

Keywords

pdpp

FAQs

Package last updated on 15 Aug 2026

Related posts