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

@intentic/extension-api

v1.176.3

Published

The versioned public API intentic extensions compile against — manifest schema, detection facts and the host API

Readme

@intentic/extension-api

The extension-author contract for the intentic app — the one SDK an extension programs against, and the only package (with @intentic/extension-ui) an extension is allowed to depend on besides @intentic/sandbox-contract. Published to npm; it must stay free of app internals and must not pull in @intentic/sandbox-contract (that would invert the boundary). See the extension system in ARCHITECTURE.md for how the host loads and gates extensions.

What's here

  • manifest.ts — the intentic-extension.json schema. The manifest is the **approval
    • gating surface**: the install dialog shows exactly the declared contribution points, and the host refuses any runtime registration (view, command, viewer, setting, process…) the approved manifest never declared. Contribution points: views, viewers, documents, commands, settings, processes, agent, environment, connectors, listener, bin, plus the permissions.sandbox route allowlist. Identity is derived, never declared — extensionIdOf(manifest) = ${publisher}.${name}.
  • api.tsIntenticApi, the host surface delivered to activate(api, context). There is no ambient global; everything an extension registers is a Disposable pushed onto context.subscriptions, so deactivation unwinds it.
  • facts.ts — the stable detection vocabulary (RepoFacts, CapabilityFacts) a view's detect() reads to decide when to activate. This is not the data plane.

Three surfaces, at three different grains, and the grain is what picks one. A view activates per repo off the facts (rail, directory, sandbox). A viewer takes over a file extension. A document answers per directorydetect(path) marks the rows it can explain in the Workspace tree, and the host opens the provider's component as a tab beside the code. A monorepo is one repo with fifty-five documented packages, which is exactly the case a per-repo detect() cannot express.

  • stream.ts, version.ts — SSE/ndjson helpers and the host API version (engines.intentic is checked against it before activation).

The data plane

An extension talks to the daemon over api.sandbox.request/json(path) — an authenticated transport (auth is injected host-side; the bundle never sees a token). Its reach is not unrestricted: every path is matched against the extension's manifest permissions.sandbox allowlist and an undeclared route throws. Responses are sandbox-contract schemas, parsed at the call site (Schema.parse(await api.sandbox.json(path))) — the in-repo, compiled-together design means a wire change is a compiler error fixed atomically, so there is no separate "stable data API" to promote. facts.ts stays the stable surface only for detection.

Authoring an extension

activate(api, context) registers contributions and returns; deactivate is optional. A UI extension also ships a prebuilt single-file ESM entry bundle (built with vue and @intentic/extension-api external). The five UI extensions under _extensions/ are the working templates; start from one.