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

@valtren-ai/extension-sdk

v0.2.1

Published

Types, helpers, validators, and scaffolds for building Valtren AI extensions.

Readme

Valtren AI Extension SDK

npm version Publish SDK

Types, helpers, validators, and scaffolds for building Valtren AI extensions.

Purpose

This SDK helps extension authors build on top of Valtren AI without guessing extension shapes by hand.

The first version focuses on:

  • extension manifest types
  • agent catalog contribution types
  • step executor types
  • lightweight validation helpers
  • helper functions for building extension manifests

What this SDK does not own

This SDK does not replace Valtren AI core runtime logic.

Valtren AI core still owns:

  • workflow execution
  • approvals
  • queueing
  • governance
  • observability
  • licensing
  • runtime loading

This SDK only helps extension authors produce well-formed extension packages.

Initial package surface

  • defineExtension(...)
  • types
  • validateExtensionManifest(...)
  • validateAgentCatalog(...)

Scaffold a new extension

Create a starter extension with the built-in CLI:

npx create-valtren-extension my-extension --runtime node-pack

If you prefer, you can also call the SDK package directly:

npx @valtren-ai/extension-sdk create-valtren-extension my-extension --runtime node-pack

Supported runtime templates:

  • node-pack
  • org-zip-node
  • org-zip-python
  • sidecar-python
  • sidecar-java
  • sidecar-dotnet

You can also choose a target directory:

npx create-valtren-extension my-extension --runtime org-zip-python --dir ./extensions/my-extension

Direct SDK-package equivalent:

npx @valtren-ai/extension-sdk create-valtren-extension my-extension --runtime org-zip-python --dir ./extensions/my-extension

The generated scaffold is intentionally small. After scaffolding:

  • replace placeholder descriptions and logic
  • read the guides in valtren-ai/extension-examples
  • add health, smoke-test, versioning, and rollback notes before production rollout

Build and publish

This package is set up as an ESM SDK with a standard TypeScript build pipeline.

Typical commands:

npm install
npm run build

Build output is emitted to:

dist/

Consumers should import from:

import { defineExtension, validateExtensionManifest } from "@valtren-ai/extension-sdk";

Install from npm:

npm install @valtren-ai/extension-sdk@^0.2.0

Shorthand scaffold package:

npm install -g create-valtren-extension

Publishing

Recommended first release flow:

  1. add NPM_TOKEN as a GitHub Actions secret
  2. create a version tag such as v0.2.0
  3. push the tag
  4. let the publish workflow release the package to npm

Intended users

  • customer extension teams
  • implementation partners
  • internal Valtren AI extension authors

Related repositories

  • valtren-ai/core

    • licensed core platform
  • valtren-ai/extension-examples

    • public extension examples from hello world to advanced packs

License

MIT