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

@oopsmyops/backstage-plugin-assistant

v0.2.3

Published

Backstage frontend plugin providing an AI chat assistant widget with auto-discovery support

Readme

Backstage Assistant

The frontend for the Backstage Assistant plugin — a floating AI chat widget that lets users explore the catalog, read docs, and run scaffolder templates in natural language, right inside Backstage.

This is the frontend plugin. It requires the @oopsmyops/backstage-plugin-assistant-backend backend plugin to be installed and configured.

Backstage Assistant chat widget

Features

  • Floating, draggable chat panel — resize from any edge or corner, fullscreen toggle, translucent backdrop that inherits the Backstage theme.
  • Streaming responses (SSE) rendered token-by-token.
  • Model picker — switch between the models configured in the backend; the choice is remembered per browser.
  • Structured result cards (tables, details, forms, documents, status) instead of raw JSON.
  • Entity references auto-linked to catalog pages with internal SPA navigation.
  • Tool-call status indicators (spinner while running, check on completion).
  • Conversation persistence across page navigation (localStorage).
  • Guided scaffolder template execution, including an OAuth popup for VCS-authenticated templates.

Installation

Published to npmjs.org as a public package — no token needed. Add it to your Backstage app:

yarn --cwd packages/app add @oopsmyops/backstage-plugin-assistant

New Frontend System (default)

The plugin auto-discovers via AppRootElementBlueprint, so the widget renders as a fixed overlay on every page — no route or sidebar registration needed. Add it to your app features in packages/app/src/App.tsx:

import assistantPlugin from '@oopsmyops/backstage-plugin-assistant';

export const app = createApp({
  features: [
    // ...other features
    assistantPlugin,
  ],
});

Make sure the backend plugin is installed too — the widget talks to it via discoveryApi.getBaseUrl('assistant').

Configuration

No frontend configuration is required. The available models and the default selection come from the backend (assistant.llm.models[]), surfaced through GET /api/assistant/models. When more than one model is configured, the picker appears in the widget header.

Screenshots

| | | | --- | --- | | Chat with streaming response | Model picker | | Catalog result card | Template OAuth prompt |

Development

This plugin can be served in isolation for fast iteration:

yarn start

Or run it inside a Backstage app via the app's yarn dev.

Related packages

License

Released under the MIT license.