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.

45 lines (44 loc) • 2.29 kB
/** * Column names (normalized) that describe goals against the resource groups * they draw on: one row per goal and group, with the calls a minute the goal * makes there or the agents it has held there. Goal columns (code, agents by * state, progress, burn, status) repeat on each of the goal's rows; group * columns (kind, state, held, calls, detail, and the hold's cause, rule, * owner and since) belong to the pair. * * Shared by the family gate in discuss-chart (names only) and the payload * readers (names and values), so the two cannot drift apart. A bare `group` * or `resource` is not a resource group: too many tables group by something. */ import { GOAL_KEYS } from './perimeter-columns.js'; export { GOAL_KEYS }; export declare const GROUP_KEYS: Set<string>; export declare const CALLS_KEYS: Set<string>; export declare const HELD_KEYS: Set<string>; export declare const LINK_STATE_KEYS: Set<string>; export declare const KIND_KEYS: Set<string>; export declare const DETAIL_KEYS: Set<string>; /** What holds agents on a group: the dependency graph traces these, the bipartite graph does not read them. */ export declare const CAUSE_KEYS: Set<string>; export declare const RULE_KEYS: Set<string>; export declare const OWNER_KEYS: Set<string>; export declare const SINCE_KEYS: Set<string>; export declare const GOAL_CODE_KEYS: Set<string>; export declare const GOAL_STATUS_KEYS: Set<string>; export declare const PROGRESS_KEYS: Set<string>; export declare const BURN_KEYS: Set<string>; export declare const AGENT_TOTAL_KEYS: Set<string>; /** The goal's agents by state, as the widgets count them. */ export declare const AGENT_STATE_KEYS: { readonly healthy: Set<string>; readonly idle: Set<string>; readonly awaiting: Set<string>; readonly blocked: Set<string>; readonly failed: Set<string>; readonly degraded: Set<string>; }; export declare const TITLE_KEYS: Set<string>; /** A goal and a resource group are named, with the calls or the agents held between them. */ export declare function namesGoalGroups(keys: readonly string[]): boolean; /** Goals against their groups with the goals' agents by state, healthy ones included: the goals perimeter's population health. */ export declare function namesGoalHealth(keys: readonly string[]): boolean;