UNPKG

@fusedashlabs/ui9000-workspace

Version:

UI9000 workspace MCP. One tool, show_workspace, draws a chart from your table. Set TYPESAFE_API_KEY to let Jev choose the chart.

16 lines (15 loc) • 646 B
import type { ClassifiedAction } from './risk.js'; import type { TraceProposal } from '../trace/trace.js'; /** * A held action becomes a preview. In Cursor or Claude this is displayed, * not enforced — Stage 5 blocks execution on a page we own. */ export type HeldProposal = TraceProposal & { id: string; }; export type ProposalSession = { proposals: HeldProposal[]; }; export declare function openProposalSession(): ProposalSession; /** High-risk actions return a preview. Low-risk actions return null and are not held. */ export declare function holdAction(session: ProposalSession, action: ClassifiedAction): HeldProposal | null;