Skip to content

Core API

PromptScript API


Core types, errors, and utilities for the PromptScript toolchain.

This package provides the foundational types and comprehensive error handling classes used across the entire PromptScript ecosystem. It includes:

  • Common Types: AST interfaces, configuration schemas, and shared type definitions.
  • Error Handling: A hierarchy of typed errors (PSError) for precise exception management.
  • Utilities: Shared helper functions for path manipulation and validation.

Enumerations

Classes

Interfaces

Type Aliases

Variables

Functions