@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.
26 lines (25 loc) • 1.51 kB
TypeScript
/**
* Graph family. The main drawing is the network graph.
*
* Call the goals perimeter only when the rows are many agents (or resources)
* around shared goals, each with a health state. Call goals and insights only
* when the rows are claims filed under a few goals, each with its age. Call
* the bipartite graph only when the rows are goals against the resource
* groups they draw on, with the calls on every link and no hold traced to its
* cause. Call the goals dependency graph only when a hold is traced, or
* agents are held without a full calls ribbon. Call the reasoning
* orchestration graph only when the rows are reasoning steps with a stage or
* a depth and an active path to highlight. A free-form node–link list stays
* the network graph.
*/
export declare const GRAPH_CHARTS: readonly ["network-graph", "goals-perimeter", "goals-insights", "bipartite-graph", "goals-dependency-graph", "reasoning-orchestration-graph"];
export type GraphChart = (typeof GRAPH_CHARTS)[number];
export declare function isGraphChart(id: string): id is GraphChart;
/**
* Which graph drawing the rows support. `drawable` drops a chart the host
* catalog cannot draw. The network graph is the main drawing and always
* stays. Bipartite is checked before dependency so call traffic with
* untraced holds stays bipartite. An orchestration that does not fit falls
* back to the network graph.
*/
export declare function graphChart(payload: unknown, drawable?: (id: GraphChart) => boolean): GraphChart;