🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@nyosegawa/agent-ui-core

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nyosegawa/agent-ui-core

Protocol-neutral state and transport primitives for Agent UI.

latest
Source
npmnpm
Version
4.0.0
Version published
Maintainers
1
Created
Source

@nyosegawa/agent-ui-core

Protocol-neutral state and transport primitives for Agent UI.

Use this package when a host application needs the normalized thread state, transport contracts, reducer behavior, or shared types without rendering React components.

Install

bun add @nyosegawa/agent-ui-core

Common Imports

Use caseImport
Transport contractimport type { AgentTransport } from "@nyosegawa/agent-ui-core";
Deterministic test transportimport { FakeAgentTransport } from "@nyosegawa/agent-ui-core";
Reducer and initial stateimport { agentReducer, createInitialAgentState } from "@nyosegawa/agent-ui-core";
Raw-free thread viewsimport { selectThreadSummaryView, selectThreadTranscriptView } from "@nyosegawa/agent-ui-core";

Package Boundary

This package does not start Codex, own persistence, manage credentials, or orchestrate host workflows. Host applications connect it to their own runtime and transport policy.

@nyosegawa/agent-ui-core/internal is an implementation boundary for Agent UI packages and repository tests. It is not the host integration path.

Use documented selectors and view models for host-facing reads. Reducer reconciliation, optimistic operation maps, retention internals, and raw diagnostic payload handling are implementation details unless the package exports and docs explicitly promote them.

Thread runtime state is explicit: active flags, active turn, last turn result, and pending server-request summaries are exposed through selectors such as selectThreadExecutionState, selectThreadSummaryView, and selectThreadTranscriptView. Hosts should use those read models instead of inspecting reducer entity maps.

See the repository docs for current package exports and integration guidance: https://github.com/nyosegawa/agent-ui

FAQs

Package last updated on 01 Jul 2026

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