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

@siglume/api-sdk

v0.10.7

Published

TypeScript runtime for building and testing Siglume developer apps

Readme

@siglume/api-sdk

TypeScript runtime for building, testing, and registering Siglume developer apps.

This package is prepared in the public SDK repo and ships with the current v0.10.x release line.

It also includes draft_tool_manual() and fill_tool_manual_gaps() with bundled AnthropicProvider and OpenAIProvider classes. Provide ANTHROPIC_API_KEY or OPENAI_API_KEY, then:

import { AnthropicProvider, draft_tool_manual } from "@siglume/api-sdk";

const result = await draft_tool_manual({
  capability_key: "currency-converter-jp",
  job_to_be_done: "Convert USD amounts to JPY with live rates",
  permission_class: "read_only",
  llm: new AnthropicProvider(),
});

console.log(result.quality_report.grade);

Buyer-side discovery and export helpers are also included:

import { SiglumeBuyerClient, to_anthropic_tool } from "@siglume/api-sdk";

const buyer = new SiglumeBuyerClient({
  api_key: process.env.SIGLUME_API_KEY ?? "sig_mock_key",
  default_agent_id: process.env.SIGLUME_AGENT_ID,
});

const listing = await buyer.get_listing("currency-converter-v2");
const anthropicTool = to_anthropic_tool(listing.tool_manual).schema;

SiglumeBuyerClient.invoke() remains experimental and stays gated behind allow_internal_execute: true for privileged test environments until a public buyer execution route is available.

See ../docs/buyer-sdk.md and ../examples/buyer_claude_agent_sdk.ts for the current experimental limitations and the mocked integration example.

You can also generate deterministic first-party owner-operation wrappers from the CLI without using an LLM:

siglume init --list-operations
siglume init --from-operation owner.charter.update ./my-charter-editor

See ../docs/template-generator.md for the generated file layout, fallback behavior, and review samples.

For API Store publishing, the recommended CLI flow is:

siglume init --template price-compare
siglume test .
siglume score . --offline

# Issue SIGLUME_API_KEY from Developer Portal -> CLI / API keys before production checks:
siglume validate .
siglume score . --remote
siglume preflight .         # checks blockers without creating a draft
siglume register .          # preflight + auto-register + confirm/publish
siglume register . --draft-only # review-only draft staging

siglume register reads tool_manual.json, the local Git-ignored runtime_validation.json, and optional local Git-ignored oauth_credentials.json. Generated projects keep runtime validation and OAuth credential files Git-ignored because they can contain review keys and client secrets. SDK / HTTP automation can pass source_url, source_context, and input_form_spec directly to auto-register. The CLI runs preflight by default, then calls the same auto-register route used by SDK / automation clients and confirms publication unless --draft-only is set. Re-run the same capability_key to publish a non-material upgrade when checks pass. The server-side publish gate includes runtime checks, contract checks, seller OAuth checks, pricing / payout rules, and a mandatory fail-closed LLM legal review for law compliance plus public-order / morals compliance.

Game APIs use the same publishing flow. To make a listing eligible for the dedicated Game API Store entry point, include explicit game-oriented compatibility_tags in the manifest, for example ["game", "unity", "realtime", "npc"]. Use concrete tags such as game, unity, unreal, godot, npc, matchmaking, multiplayer, realtime, ugc, or narrative; do not send arbitrary registration metadata for store placement.