
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
@nyosegawa/agent-ui-web-components
Advanced tools
Web Components wrapper for Agent UI React components.
Web Components wrapper for Agent UI React components.
Use this package when a host cannot mount React directly but can consume custom elements backed by Agent UI's React preset.
bun add @nyosegawa/agent-ui-web-components @nyosegawa/agent-ui-react
| Use case | Import |
|---|---|
| Define the default custom element | import { defineAgentChatElement } from "@nyosegawa/agent-ui-web-components"; |
| Type element options | import type { AgentChatElementOptions } from "@nyosegawa/agent-ui-web-components"; |
| Type the element class | import type { AgentChatElement } from "@nyosegawa/agent-ui-web-components"; |
| Style the underlying React preset | import "@nyosegawa/agent-ui-react/styles.css"; |
This package wraps Agent UI presentation as custom elements. Host applications still own Codex connection setup, runtime lifecycle, persistence, credentials, and app-specific workflows.
Pass transports, opaque initialState snapshots, agentOptions, and the React
components replacement map as element properties. agentOptions is a complete
replacement for the element configuration. Replacing transport or
initialState remounts the underlying React provider.
Transcript display policy is also configured as JavaScript properties:
element.transcriptDisplay, element.transcriptMode, or the matching
agentOptions fields. Use transcriptMode = "answer-focused" for the built-in
answer-focused preset, or pass the same transcriptDisplay policy object used
by the React package.
The custom element does not import CSS automatically, spawn Codex, create auth,
persist sessions, or provide hosted service policy. Hosts should import
@nyosegawa/agent-ui-react/styles.css once and pass transports, callbacks, and
component replacements as JavaScript properties.
See the repository docs for current package exports and integration guidance: https://github.com/nyosegawa/agent-ui
FAQs
Web Components wrapper for Agent UI React components.
We found that @nyosegawa/agent-ui-web-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.