@uluops/registry-sdk

Client SDK for the UluOps Registry API — manage definitions, models, versions, forks, and execution tracking.

v0.36.0

Installation

npm install @uluops/registry-sdk

Quick Start

TypeScript
import { RegistryClient } from '@uluops/registry-sdk';

const client = new RegistryClient({
  apiKey: 'ulr_your-api-key',
});

Constructor Parameters

apiKeyoptionalstring

API key for authentication (preferred over email/password).

emailoptionalstring

Email for session-based authentication (requires password).

passwordoptionalstring

Password for session-based authentication (requires email).

sessionTokenoptionalstring

Pre-existing session token from the ops API.

baseUrloptionalstring

Base URL for the registry API. Defaults based on NODE_ENV.

authBaseUrloptionalstring

Base URL for the ops API (login/refresh). Defaults to localhost:3100 in dev.

timeoutoptionalnumber

Request timeout in milliseconds.

Default: 30000
retriesoptionalnumber

Number of retries for transient errors.

Default: 3
debugoptionalboolean

Enable debug logging.

onTokenRefreshoptional(token: string) => void

Callback invoked when session token is refreshed.

orgSlugoptionalstring

Organization slug for multi-tenancy. Sets the X-Org-Slug header on all requests.

Subpath Exports

  • @uluops/registry-sdk/typesAll type definitions
  • @uluops/registry-sdk/errorsError classes
  • @uluops/registry-sdk/configConfiguration utilities

Namespaces

Authenticationclient

Session management and authentication state. Login, logout, and credential inspection.

4 methods

Definitionsclient.definitions

CRUD operations for agent, command, workflow, and pipeline definitions. Create drafts, publish, deprecate, and search.

8 methods

Versionsclient.versions

Version listing and comparison. View version history and diff changes between versions.

2 methods

Validationclient.validation

YAML validation without storage. Validate definition content against schemas before creating.

1 method

Dependenciesclient.dependencies

Dependency graph operations. Inspect what a definition depends on and what depends on it.

2 methods

Forksclient.forks

Definition forking with lineage tracking. Fork published definitions and trace ancestry chains.

4 methods

Executionsclient.executions

Execution statistics recording and retrieval. Track how often definitions are used.

2 methods

Translationclient.translation

Definition translation and upgrade operations. Retranslate with latest engine or upgrade legacy definitions.

3 methods

Modelsclient.models

AI model catalog. List available models, resolve aliases, and sync from upstream providers.

5 methods

Starsclient.stars

Star and unstar definitions. Track favorites across the registry.

3 methods

Usersclient.users

Public user information. Look up user profiles by ID (read-only, no sensitive data).

2 methods

Renderclient.render

Markdown rendering operations. Get rendered agent prompts or preview YAML without storing.

2 methods

Analyticsclient.analytics

Definition effectiveness metrics, health grades, ecosystem overview, lineage graphs, evolution trends, and cross-version comparisons.

8 methods

Languagesclient.languages

Definition language schemas. Access the four core languages (ADL, CDL, WDL, PDL) and their current JSON Schema documents.

2 methods