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

@agent-ix/ix-ui-semantic

v0.4.10

Published

Platform-agnostic state types and glyph vocabulary for the Agent IX design system.

Readme

@agent-ix/ix-ui-semantic

Platform-agnostic state types and glyph vocabulary for the Agent IX design system.

What this is

@agent-ix/ix-ui-semantic is the shared, render-agnostic vocabulary for the Agent IX design system. It defines the semantic state types (phase states), the glyph map those states resolve to, and the spinner/animation definitions — but it does not render anything itself.

Both the terminal renderer (@agent-ix/ix-ui-cli) and web renderers consume this package so they share one semantic model: a running phase means the same thing everywhere, and each renderer maps the abstract glyph to a concrete symbol/color for its target. This is a dependency-free leaf package with zero runtime dependencies.

Install

Published on the public npm registry under the @agent-ix scope:

npm install @agent-ix/ix-ui-semantic

Usage

Import a state type and look up its glyph:

import {
  PHASE_GLYPHS,
  type PhaseState,
  type PhaseGlyph,
} from "@agent-ix/ix-ui-semantic";

const state: PhaseState = "running";
const glyph: PhaseGlyph = PHASE_GLYPHS[state];

// Pick the right symbol for your renderer:
const symbol = supportsTty ? glyph.tty : glyph.nonTty; // "⟳" or "running"
if (glyph.animated) {
  // drive a spinner while this phase is active
}

Compact status dots:

import { STATUS_DOTS } from "@agent-ix/ix-ui-semantic";

STATUS_DOTS.done; // "•"
STATUS_DOTS.failed; // "○"
STATUS_DOTS.pending; // "·"

Spinners — cycle frames at your own interval:

import { BRAILLE_SPINNER, HEADER_SPINNER } from "@agent-ix/ix-ui-semantic";

const frame = BRAILLE_SPINNER[tick % BRAILLE_SPINNER.length];

The orbit spinner carries per-cell tone information so renderers can color each glyph by depth. Use orbitFrameGlyphs to flatten a frame to a plain string for logs and tests:

import {
  ORBIT_SPINNER,
  orbitFrameGlyphs,
  type OrbitFrame,
  type OrbitCell,
  type OrbitTone,
} from "@agent-ix/ix-ui-semantic";

const frame: OrbitFrame = ORBIT_SPINNER[tick % ORBIT_SPINNER.length];
orbitFrameGlyphs(frame); // e.g. "⋅⊙∘"

Exports

Types

| Export | Description | | ------------ | -------------------------------------------------------------------------------------------- | | PhaseState | Union of phase states: "pending" \| "queued" \| "running" \| "done" \| "failed". | | PhaseGlyph | Glyph descriptor: { tty: string; nonTty: string; animated: boolean }. | | OrbitTone | Depth/brightness tone for an orbit cell: "gray" \| "dim" \| "medDim" \| "med" \| "bright". | | OrbitCell | A single orbit-spinner cell: " " (blank) or { glyph: string; tone: OrbitTone }. | | OrbitFrame | One frame of the orbit spinner: an array of OrbitCell. |

Glyphs

| Export | Description | | -------------- | ----------------------------------------------------------------------------------------------------- | | PHASE_GLYPHS | Record<PhaseState, PhaseGlyph> mapping each phase state to its tty/non-tty glyph and animated flag. | | STATUS_DOTS | Compact status dot symbols for done (), failed (), and pending (·). |

Spinners

| Export | Description | | ------------------ | ----------------------------------------------------------------------------- | | BRAILLE_SPINNER | 10-frame braille spinner (string[]). | | HEADER_SPINNER | 4-frame header spinner (string[]). | | ORBIT_SPINNER | 10-frame orbit spinner (OrbitFrame[]), each cell carrying glyph + tone. | | orbitFrameGlyphs | Flattens an OrbitFrame to a plain glyph string — useful for tests and logs. |

Development

Part of the ix-ui pnpm monorepo. From the repository root:

make build   # build all packages
make test    # test all packages
make lint    # eslint + prettier check

License

MIT — see LICENSE.