Skip to main content
[AVAILABLE], published, @parmana/connector-sdk on npm. Real, public, installable with a plain npm install @parmana/connector-sdk. This is the authoring surface for a Connector — the last hop in Parmana’s pipeline, the thing that actually carries out an already-authorized, already-verified request against a real system. It does not include the registry, executor, or policy-binding seams that wire a Connector into the running server — those are internal to @parmana/execution-gateway, not part of this package. See Connector Development Guide for what registering a connector into the default server actually requires.
Building connectors from Python instead? The identical contract is published as parmana-connector-sdk on PyPI — see Connector SDK (Python).

Purpose

The contract every connector implements (Connector), one hermetic reference implementation for testing (MockConnector), the credential-handle seam (CredentialProvider and its two implementations), and four enterprise-shaped reference mocks. This package intentionally ships no HTTP-calling implementation — see Connector Development Guide for a full worked example, including how little code a real HTTP-based Connector takes to write directly against the contract.

Install

Key exports

The contract

Reference implementations

No HTTP-calling implementation ships from this package, deliberately. This repository enforces, as a tested architectural invariant, that no code inside packages/* other than @parmana/execution-gateway performs real I/O for a Connector — every package under packages/connector-* is checked to contain zero fetch() calls. That invariant only applies to this repository’s own tree; it does not constrain a connector you write in your own codebase. See Connector Development Guide for how short a real HTTP-based Connector is to write directly against the Connector interface.

Credential handles

A Connector never resolves its own credentials — resolution happens upstream, inside the Execution Gateway, before a Connector is ever invoked.

Minimal example

Full worked example, including a real HTTP-based Connector written directly against the contract: Connector Development Guide.

Next

Connector Development Guide

Implement, test, and see what reaching the default server actually requires.

Connector SDK (Python)

The identical contract, published to PyPI, for Python connector authors.

TypeScript SDK

The client SDK for calling Parmana’s own API — a different package, for a different audience (callers, not connector authors).