New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@defogdotai/agents-ui-components

Package Overview
Dependencies
Maintainers
0
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@defogdotai/agents-ui-components

## Quickstart

  • 1.1.47
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1.4K
increased by490.38%
Maintainers
0
Weekly downloads
 
Created
Source

agents-ui-components

Quickstart

Usage

Run npm run storybook and go to the Quickstart page for instructions.

Test things locally

First, do:

npm i
npm run dev

Now, create a .env file in your root directory with the following content, where HASHED_PASSWORD and API_ENDPOINT are replaced by actual values.

VITE_TOKEN="HASHED_PASSWORD?"
VITE_API_ENDPOINT="API_ENDPOINT"

Open http://localhost:5173 in your browser, and select one of the components to see it in action.

Corresponding code for all those pages is inside test/ folder.

Publishing to npm

First, create a build with npm run build. This will automatically create a dist folder. Then, run npm run publish

Viewing docs

Run npm run storybook to see detailed documentation.

Running tests

Quick:

To run all tests in a bagkround browser: npx playwright test

Semi quick:

To run all tests and also watch them happen in the browser: npx playwright test --headed

Manual:

To manually run tests: npx playwright test --ui

Debugging:

To debug tests, I recommend following this guide: https://playwright.dev/docs/debug

(Using the VS Code extension might be the best option).

Here's a loom video showing how you can debug your tests: https://www.loom.com/share/a4c05d41dced4855a525634f310b1449

FAQs

Package last updated on 13 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc