New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@pulsemcp/air-core

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pulsemcp/air-core

AIR core — config resolution, validation, schemas, and extension interfaces

latest
Source
npmnpm
Version
0.13.1
Version published
Maintainers
2
Created
Source

@pulsemcp/air-core

Core package for the AIR framework. Provides config resolution, validation, JSON schemas, and extension interfaces.

Installation

npm install @pulsemcp/air-core

Usage

import {
  resolveArtifacts,
  validateJson,
  mergeArtifacts,
  emptyArtifacts,
} from "@pulsemcp/air-core";

// Resolve all artifacts from an air.json file
const artifacts = await resolveArtifacts("~/.air/air.json");

// Validate a JSON file against its AIR schema
const result = validateJson(data, "skills");

// Merge two artifact sets (additive union — duplicate qualified IDs throw)
const merged = mergeArtifacts(base, overlay);

With a Catalog Provider (remote URIs)

import { resolveArtifacts } from "@pulsemcp/air-core";
import { GitHubCatalogProvider } from "@pulsemcp/air-provider-github";

const artifacts = await resolveArtifacts("./air.json", {
  providers: [new GitHubCatalogProvider()],
});

What's in this package

  • Config resolution — resolveArtifacts(), loadAirConfig(), mergeArtifacts(), emptyArtifacts()
  • Validation — validateJson() using AJV against AIR JSON Schemas
  • Schema utilities — loadSchema(), detectSchemaType(), detectSchemaFromValue()
  • All artifact types — SkillEntry, McpServerEntry, RootEntry, ReferenceEntry, PluginEntry, HookEntry
  • Extension interfaces — AgentAdapter, CatalogProvider, PrepareTransform, AirExtension
  • Session types — AgentSessionConfig, StartCommand, PrepareSessionOptions, PreparedSession

Extension Interfaces

Core defines four extension points that other packages implement:

InterfacePurposeExample
AgentAdapterTranslate AIR config for a specific agent@pulsemcp/air-adapter-claude
CatalogProviderResolve remote URIs in air.json@pulsemcp/air-provider-github
PrepareTransformPost-prepare transforms on .mcp.json@pulsemcp/air-secrets-env, @pulsemcp/air-secrets-file
AirExtensionExtension metadata for CLI discoveryAll extension packages

FAQs

Package last updated on 22 Jun 2026

Related posts