@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.
27 lines (26 loc) • 1.37 kB
TypeScript
/**
* Goals perimeter object for `<ui9000-goals-perimeter>` (AM-2).
*
* Many agents (or resources) arranged around a shared goal: one row per agent
* with its id, its health state and the goal it works toward. Optional
* columns add a link target per agent (a dependency, another agent, or a
* goal), a reason, a blocker kind, and an exception count per goal.
*
* Or one row per goal and resource group, as the Agent operations board is
* drawn: each goal with its agents by state, the healthy ones included, on
* every goal, and optional code, status, progress and burn; each group with
* its kind, state, calls, held agents and detail.
*
* The reading is perimeter and population health, so the rows fit only when
* every agent has a health state the widget can draw and the goals are few
* against many agents, or when every goal counts its healthy agents. A
* free-form adjacency list (`source,target`) has no goal or state and stays
* network-graph.
*/
export declare function goalsPerimeterPayload(_fields: Record<string, string>, rows: Record<string, unknown>[]): unknown | null;
/**
* True when the rows are agents around shared goals: an agent, a health
* state and a goal on every row, few goals against many agents. A plain
* node–link list stays network-graph.
*/
export declare function goalsPerimeterFits(payload: unknown): boolean;