npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@consciousclouds/conductor-sdk

v0.1.1

Published

Conscious Clouds Conductor SDK — TurnRequest/SSE event/approval types, tool + personality + capability declaration types, and a thin Conductor client (streaming turn + approval resolve). Framework-agnostic, provider-agnostic. baseUrl is a configurable Con

Readme

@consciousclouds/conductor-sdk

Types + a thin client for the Conductor runtime — the single AI engine the platform's products consume as registered personalities. Two endpoints: a streaming turn (Server-Sent Events) and an approval resolve.

Framework-agnostic and provider-agnostic — no product nouns, no React, no model provider. The authoritative contract is the JSON Schema under platform/contracts/conductor/v1/; the generated types derive from it.

baseUrl is a configurable Conductor-compatible endpoint — the SDK never hard-codes a gateway URL, never adds a gateway route, and never mints identity. It forwards the Authorization / X-Tenant-ID headers the caller supplies.

Exports

| Subpath | What | |---|---| | . | everything below | | ./client | createConductorClient(), ConductorClientError, parseSseFrames() | | ./types | TurnRequest, ResolveResult, the SSE event payloads, CompletedResult | | ./tools | ToolDeclaration, TOOL_CATEGORIES | | ./personalities | PersonalityDeclaration, PERSONALITY_TIERS | | ./capabilities | Capability, CAPABILITY_PATTERN, isCapability() | | ./validate | validateTurnRequest(), validateResolveRequest(), validateSseEvent() |

Usage

import { createConductorClient } from '@consciousclouds/conductor-sdk';

const conductor = createConductorClient({
  baseUrl: process.env.CONDUCTOR_BASE_URL!, // a Conductor-compatible endpoint
  headers: () => ({
    Authorization: `Bearer ${getToken()}`,
    'X-Tenant-ID': getTenantId(),
  }),
});

// Stream a turn, frame by frame.
await conductor.stream({ prompt: 'Summarize my environments' }, (name, data) => {
  if (name === 'delta') process.stdout.write(data.text);
  if (name === 'approval_required') {
    void conductor.resolveApproval(data.approval_id, 'approve');
  }
});

// Or the convenience form: accumulate text + get the completed payload.
const result = await conductor.turn({ prompt: 'Hello' });
console.log(result.text, result.cost_usd);

The frozen event set

started, delta, tool_start, tool_done, approval_required, completed, error. Adding an event is additive in platform/contracts/conductor/v1/; regenerate with python platform/codegen/conductor/generate.py (or bun run generate:conductor).

SDK rule

Types + thin HTTP wrapper only — no business logic, no caching, no retries-with-elevation. The runtime authorizes every request against the caller's identity; this SDK never decides authorization.