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

@gakwaya/app-agent-ui

v1.3.2

Published

UI components for App-Agent

Readme

@gakwaya/app-agent-ui

UI components for App-Agent - panel and visual feedback during automation.

Features

  • Agent Panel: Display agent activity and history
  • SimulatorMask: Visual overlay during automation
  • Animated Cursor: Professional cursor animation
  • Theme Support: Light and dark themes
  • Position Control: Flexible panel positioning
  • Event System: User interaction callbacks

Usage

import { AppAgentPanel, SimulatorMask } from '@gakwaya/app-agent-ui';

// Create panel
const panel = new AppAgentPanel({
  position: 'bottom-right',
  theme: 'auto',
  defaultOpen: true,
});

// Update panel
panel.setStatus('running');
panel.setActivity('Thinking...');
panel.addHistoryItem({
  type: 'observation',
  timestamp: Date.now(),
  data: { url: 'https://example.com' },
});

// Create mask
const mask = new SimulatorMask({
  color: 'rgba(0, 0, 0, 0.7)',
  showCursor: true,
});

// Show/hide mask
mask.show();
mask.moveCursor({ x: 100, y: 200 });
mask.hide();

// Clean up
panel.dispose();
mask.dispose();

API

AppAgentPanel

Constructor

new AppAgentPanel(config?: PanelConfig)

PanelConfig:

  • position: Panel position (default: 'bottom-right')
  • theme: Theme - 'light', 'dark', or 'auto' (default: 'auto')
  • defaultOpen: Open by default (default: true)
  • className: Custom CSS class
  • zIndex: Custom z-index (default: 999999)

Methods

setStatus(status: AgentStatus): void

  • Update agent status

setActivity(activity: string): void

  • Update current activity text

addHistoryItem(item: HistoricalEvent): void

  • Add item to history display

setTask(task: string): void

  • Set current task

clearHistory(): void

  • Clear all history

toggle(): void

  • Toggle panel open/close

open(): void

  • Open panel

close(): void

  • Close panel

onSubmit(callback: (task: string) => void): void

  • Set callback for task submission

dispose(): void

  • Clean up panel resources

SimulatorMask

Constructor

new SimulatorMask(config?: SimulatorMaskConfig)

SimulatorMaskConfig:

  • color: Overlay color (default: 'rgba(0, 0, 0, 0.7)')
  • opacity: Overlay opacity (default: 0.7)
  • zIndex: Custom z-index (default: 999998)
  • showCursor: Show animated cursor (default: true)

Methods

show(): void

  • Show the overlay

hide(): void

  • Hide the overlay

moveCursor(position: CursorPosition): void

  • Move cursor to position

dispose(): void

  • Clean up mask resources

License

MIT