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

@miragon-ai/camunda7-client

v0.16.0

Published

Generated CIB Seven / Camunda 7 REST SDK plus Zod input schemas.

Readme

@miragon-ai/camunda7-client

TypeScript client for the CIB Seven REST API: an SDK generated with @hey-api/openapi-ts plus hand-written, MCP-oriented Zod input schemas. There is no official TypeScript client for CIB Seven — this package fills that gap for the Miragon AI platform and is usable by any CIB Seven / Camunda 7 project.

Exports

| Subpath | Contents | | ----------- | ----------------------------------------------------------------------------- | | . | createCamunda7Client factory (basic / bearer / no auth) + schema re-exports | | ./sdk | Generated SDK — one typed function per REST operation | | ./types | Generated request/response types | | ./schemas | Zod input schemas (see below) |

These four subpaths are the public API. The internal layout of the generated output (dist/generated/**) is not — it may change with any @hey-api/openapi-ts upgrade, so deep imports are deliberately not exported.

Client behavior

SDK functions return the response payload directly (responseStyle: "data") and reject on HTTP error responses (throwOnError: true). Both options are declared once in the generator config (openapi-ts.config.ts) and applied at runtime through createClientConfig (src/hey-api.ts), which the generated default client and createCamunda7Client share — generated types and runtime behavior always agree.

import { createCamunda7Client } from "@miragon-ai/camunda7-client"
import { getProcessDefinitions } from "@miragon-ai/camunda7-client/sdk"

const client = createCamunda7Client({
  baseUrl: "http://localhost:8410/engine-rest",
  authType: "basic",
  username: "demo",
  password: "demo",
})
const definitions = await getProcessDefinitions({ client, query: { latestVersion: true } })

OpenAPI spec — origin & refresh

The spec is checked in as cibseven-open-api-doc.json (currently reporting info.version 2.1.2). It originates from the engine's published OpenAPI artifact org.cibseven.bpm:cibseven-engine-rest-openapi (a jar containing openapi.json); Maven Central publishes the minor releases (2.1.0, 2.2.0, …). The running engine does not serve its spec over HTTP, so the artifact is the canonical source.

To refresh:

pnpm spec:refresh <version>   # e.g. pnpm spec:refresh 2.2.0 — downloads + extracts the spec
pnpm generate                 # regenerate src/generated from the new spec
git diff                      # review spec + SDK changes, run the repo verification suite

Commit the spec and the regenerated output together — src/generated/ is checked in and CI assumes it matches the spec.

MCP-oriented input schemas

src/schemas/ (exported as ./schemas) are hand-written Zod schemas for the MCP tools in @miragon-ai/camunda7-connector: flat parameter objects with LLM-friendly descriptions, sensible defaults, and conservative bounds. They are intentionally narrower than the full REST API surface and are not generated from the spec — they are the package's value-add for building MCP tools on top of the raw SDK, and can be ignored by non-MCP consumers.