Scan your whole stack
From OX Research Newsroom
Are you using @pstdio/ui?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.49.0-preview.sha-e00cf5aa8e2a68aa7275fe3013a059c799d733f1
@pstdio/ui was last scanned on 25 Nov 2026 at version 0.49.0-preview.sha-e00cf5aa8e2a68aa7275fe3013a059c799d733f1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.49.0-preview.sha-e00cf5aa8e2a68aa7275fe3013a059c799d733f1 LATEST | 25 Nov 2026 | No rules fired |
| 0.49.0-nightly.20261124230548 | 24 Nov 2026 | No rules fired |
| 0.49.0-nightly.20261124183723 | 24 Nov 2026 | No rules fired |
| 0.49.0-nightly.20261124030226 | 24 Nov 2026 | Not shown |
| 0.49.0-nightly.20261123222551 | 23 Nov 2026 | Not shown |
Findings for v0.49.0-preview.sha-e00cf5aa8e2a68aa7275fe3013a059c799d733f1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.49.0-preview.sha-e00cf5aa8e2a68aa7275fe3013a059c799d733f1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Shared React UI package for Prompt Studio apps. This package owns:
Browse Design System in the Canvas extension. Use Theme on a frame, and open the Frame editor's Props JSON on frames that declare controls to inspect their states and public API.
bun run --cwd packages/ui build
bun run --cwd extensions/canvas test
Keep bun run canvas running in its own terminal while you work; UI Canvas shows what it builds.
See Canvas coverage for authoring and isolated browser checks.
src/components/*: components and colocated examples (*.canvas.tsx)src/theme/*: theme, recipes, tokens, and theme helperssrc/index.ts: public exports for @pstdio/ui.canvas/*: suite providers and test-only preview configurationThe root entry holds the light, widely reused components. A feature that pulls a
heavy dependency, such as the Lexical editor, Monaco, Mermaid, or the terminal,
gets its own entry: ./rich-text, ./param-editor, ./kanban-renderer,
./data-table, ./charts, ./dashboard-renderer, ./chat-ui, ./diff, ./mermaid, ./terminal. Nothing reachable
from the root entry may import one of those, or every consumer's bundler emits the
heavy chunks even when the consumer never renders the feature.
Import LazyMarkdownEditor from @pstdio/ui/lazy-markdown-editor when a host registers
an editor before opening a document. This entry loads the editor when mounted; the
./rich-text entry also exports the eager editor and its supporting tools. Import
ChatSkeleton from @pstdio/ui/chat-skeleton to show a session loading state
without loading the conversation and editor implementation.
Code and diff editors follow the active theme preference, including live theme previews.
Themes can supply a monacoTheme palette. Otherwise, the editors use the built-in
light or dark palette for the preference's color mode.
ChatPanel fills its parent pane. The transcript and composer share a centered
column with a maximum width of 52rem, defined by the chat-content size token
and chatContent layer style. Narrow panes use their available width. Keep the
scroll area at the full pane width so its scrollbar stays at the pane edge.
The chat width stories cover wide, narrow, and empty panes. Use these live previews as the design reference.
src/components.src/index.ts, or from the entry that owns its heavy dependency.package.json#exports.From repo root:
bun run format
bun run lint
bun run build
bun run test
UI-specific check:
bun run --cwd packages/canvas-tests test
Import KeyframeTimeline and KeyframeTrack from @pstdio/ui/keyframe-timeline.
Pass numeric property tracks, a positive duration in seconds, currentTime, and
onTimeChange. Each key has a stable ID, time, numeric value and optional easing
(linear, hold, ease-in, ease-out, or ease-in-out). Group related tracks
with group. Frame snapping defaults to 60 fps and accepts a custom frame rate.
Supply onTracksChange to enable add, move, and delete.
Omit it for read-only review. A move onto an occupied frame preserves both keys.
The caller owns animation data, playback, persistence and undo. Optional controlled
selection and onSelectionChange connect an external inspector; otherwise the
component owns transient selection. Use playing and onPlayingChange to connect
transport controls to the caller’s clock. Pass loop and onLoopChange for the repeat
toggle in the transport toolbar.
Pinch or Ctrl-scroll over the time ruler to zoom around the pointer; ordinary horizontal
scrolling stays native. Timeline zoom is temporary and independent of the surrounding canvas.
Supply onRestart to restart a caller-owned
loop range; the default restart seeks to zero. Markers navigate named moments without
pretending to be editable property keys. Keys and markers use diamonds; transport uses
toolbar icon buttons. Keyframe actions use the app’s context menus. Right-click a track to add at that position;
right-click a key to delete it. Menus name their track and time. Shift+F10 opens these
menus from a focused track label or key; adding from a label uses the current playhead.
The active row is highlighted, and adding focuses the new key for immediate keyboard editing.
Selecting a key adds no detail row;
the caller owns value and interpolation editing. The timeline hugs its content and
scrolls inside a bounded parent.
Pass loopRange and onLoopRangeChange for draggable and keyboard-editable loop
boundaries. Handles snap to frames and preserve a positive range. Supply settings
for caller-owned playback options in the timeline settings menu. Panel sizing and
dismissal belong to the containing layout; the timeline has no header or close action.
After a panel resize, pass its available maxHeight so the timeline scrolls within
that height. Omit it for natural content height.
Group expansion is temporary. Groups use the app's shared rotating chevron and tree
reveal motion, including reduced motion. Collapsed tracks stay mounted and inert.
Arrow keys on the ruler seek by one frame; Shift seeks ten; Home/End seek the bounds. Drag the playhead at any point along its height, or drag empty track space to scrub. Selecting an authored key or marker preserves its exact time, including between-frame positions, so its diamond aligns with the playhead. Dragging and keyboard timing edits still snap to the frame grid. Arrow keys on a focused key move it, and Delete removes it then focuses its track. Pointer dragging uses the same snapping/collision rules. The timecode uses the rounded nominal frame rate (non-drop-frame); timeline positions use seconds. See Components/Media/Keyframe Timeline for Animation, ReadOnly, Empty, and Long.
Use the themed TanStack components from @pstdio/ui/charts. See the chart guide for sizing, palettes, tooltips, and Gantt dependencies.
Import DashboardRenderer, DashboardDefinition, and DashboardDataSource from
@pstdio/ui/dashboard-renderer. Render inside the usual ChakraProvider with
psTheme, in a parent with a bounded height. The renderer fills that parent and
keeps its toolbar above the scrolling widgets.
const [value, setValue] = useState<DashboardDefinition>({
mode: "vertical",
widgets: [{ id: "orders", title: "Orders", kind: "metric", source: "sales",
layout: { x: 0, y: 0, w: 4, h: 3 } }],
});
const sources: DashboardDataSource[] = [{
id: "sales", name: "Sales", metric: { value: 1240, description: "+12% this week" },
series: [{ label: "Monday", value: 120 }, { label: "Tuesday", value: 140 }],
table: { data: [{ Day: "Monday", Orders: 120 }], columnTypes: { Orders: "number" } },
}];
return <DashboardRenderer title="Sales" value={value} sources={sources} onChange={setValue} />;
Sources provide metric values, labeled numeric series, and/or read-only table data.
Grouped bars stack points by label and group. Source IDs are application-owned
strings. Updating sources refreshes content without discarding layout edits. Pass
filters or refresh controls in actions; fetching and errors belong to the caller.
Omit onChange for read-only use. With it, Edit dashboard opens a draft; Apply emits
the complete definition and Cancel emits nothing. The caller owns the saved value,
persistence, permissions, and undo. An async onChange can reject to retain the
draft and display its error with Retry. Use stable unique widget IDs. Titles may
be empty. Layout coordinates use a 12-column grid with widths from 3 to 12 and
heights of at least 3 rows. Narrow presentation preserves those saved widths.
Modes are vertical (Compact up), horizontal (Compact left), and free.
See Design system/Components/Data display/Dashboard, frame Editable dashboard. It replaces
the PS-1177 proposal frame and retains its Dashboard export and frame ID.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.