Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
refactor(frontend): rename shared component package
Josuéb3911e3addfd
diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.ymlindex ff99d320f..13b40de96 100644--- a/.github/workflows/build-publish.yml+++ b/.github/workflows/build-publish.yml@@ -129,7 +129,7 @@ jobs:- 'control-ui/**'- 'packages/workflow-recipe-capability-policy/**'- 'packages/display-field/**'- - 'packages/frontend-table-system/**'+ - 'packages/frontend-components/**'external-rest-api:- 'external-rest-api/**'host-context-controller:@@ -149,7 +149,7 @@ jobs:profile-ui:- 'profile-ui/**'- 'packages/desktop-app-links/**'- - 'packages/frontend-table-system/**'+ - 'packages/frontend-components/**'rpc-proxy:- 'rpc-proxy/**'workflow-recipes:diff --git a/.github/workflows/ci-public.yml b/.github/workflows/ci-public.ymlindex bf60acdbc..9f7d25065 100644--- a/.github/workflows/ci-public.yml+++ b/.github/workflows/ci-public.yml@@ -95,13 +95,13 @@ jobs:working-directory: packages/workflow-runtime-corerun: npm run build- # profile-ui consumes the source-only frontend table package through a file+ # profile-ui consumes the source-only shared frontend package through a file# link. Install the package's own React type dependencies before Next follows# that link to its real path; a consumer-only install cannot resolve them from# the sibling package directory on a clean runner.- - name: Install frontend-table-system dependencies+ - name: Install frontend components dependenciesif: matrix.service == 'profile-ui'- working-directory: packages/frontend-table-system+ working-directory: packages/frontend-componentsrun: npm ci- name: Install dependencies@@ -293,8 +293,8 @@ jobs:node-version: '24'cache: npmcache-dependency-path: control-ui/package-lock.json- - name: Install frontend-table-system dependencies- working-directory: packages/frontend-table-system+ - name: Install frontend components dependencies+ working-directory: packages/frontend-componentsrun: npm ci- name: Install dependenciesworking-directory: control-uidiff --git a/control-ui/Dockerfile b/control-ui/Dockerfileindex e86f36706..45fb8f9e4 100644--- a/control-ui/Dockerfile+++ b/control-ui/Dockerfile@@ -8,7 +8,7 @@ ENV NEXT_PUBLIC_CLERUM_ENABLE_LOCAL_TEMPLATES=${NEXT_PUBLIC_CLERUM_ENABLE_LOCAL_COPY packages/workflow-recipe-capability-policy ./packages/workflow-recipe-capability-policyCOPY packages/display-field ./packages/display-field-COPY packages/frontend-table-system ./packages/frontend-table-system+COPY packages/frontend-components ./packages/frontend-componentsCOPY packages/llm-providers ./packages/llm-providersCOPY control-ui/package*.json ./control-ui/WORKDIR /app/control-ui@@ -23,8 +23,8 @@ RUN npm ci \&& cp -R ../packages/llm-providers node_modules/@clerum/llm-providers \&& rm -rf node_modules/@clerum/display-field \&& cp -R ../packages/display-field node_modules/@clerum/display-field \- && rm -rf node_modules/@clerum/frontend-table-system \- && cp -R ../packages/frontend-table-system node_modules/@clerum/frontend-table-system+ && rm -rf node_modules/@clerum/frontend-components \+ && cp -R ../packages/frontend-components node_modules/@clerum/frontend-components# Next type-checks the Playwright config, which imports this shared loader.COPY scripts/qa-recorder /app/scripts/qa-recorderdiff --git a/control-ui/Dockerfile.dockerignore b/control-ui/Dockerfile.dockerignoreindex 1a1aac8e2..1c9d0ce35 100644--- a/control-ui/Dockerfile.dockerignore+++ b/control-ui/Dockerfile.dockerignore@@ -4,12 +4,12 @@!packages/workflow-recipe-capability-policy/**!packages/display-field/!packages/display-field/**-!packages/frontend-table-system/-!packages/frontend-table-system/package.json-!packages/frontend-table-system/src/-!packages/frontend-table-system/src/index.tsx-!packages/frontend-table-system/styles.css-packages/frontend-table-system/node_modules/+!packages/frontend-components/+!packages/frontend-components/package.json+!packages/frontend-components/src/+!packages/frontend-components/src/index.tsx+!packages/frontend-components/styles.css+packages/frontend-components/node_modules/!packages/llm-providers/!packages/llm-providers/**!scripts/diff --git a/control-ui/app/contexts/[name]/page.tsx b/control-ui/app/contexts/[name]/page.tsxindex e726574d2..c320edcf1 100644--- a/control-ui/app/contexts/[name]/page.tsx+++ b/control-ui/app/contexts/[name]/page.tsx@@ -3,7 +3,7 @@import React, { useEffect, useMemo, useRef, useState } from 'react'import Link from 'next/link'import { useParams, useRouter } from 'next/navigation'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { useConfirmDialog } from '@components/ConfirmDialog'import { CreateFlowPanel } from '@components/CreateFlowPanel'import { CreatePageHeader } from '@components/CreatePageHeader'diff --git a/control-ui/app/control-admins/new/page.tsx b/control-ui/app/control-admins/new/page.tsxindex 995075327..c1f479dc1 100644--- a/control-ui/app/control-admins/new/page.tsx+++ b/control-ui/app/control-admins/new/page.tsx@@ -2,7 +2,7 @@import { useEffect, useMemo, useState } from 'react'import { useRouter, useSearchParams } from 'next/navigation'-import { DataTable, RowActionMenu } from '@clerum/frontend-table-system'+import { DataTable, RowActionMenu } from '@clerum/frontend-components'import { AuthGate } from '@components/AuthGate'import { CreateFlowPanel } from '@components/CreateFlowPanel'import { CreatePageHeader } from '@components/CreatePageHeader'diff --git a/control-ui/app/guardrails/[name]/page.tsx b/control-ui/app/guardrails/[name]/page.tsxindex 18fe68487..67845f3b5 100644--- a/control-ui/app/guardrails/[name]/page.tsx+++ b/control-ui/app/guardrails/[name]/page.tsx@@ -2,7 +2,7 @@import React, { useEffect, useMemo, useState } from 'react'import { useParams, useRouter } from 'next/navigation'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { CONTROL_ROUTES } from '../../../app/constants/routes'import { useConfirmDialog } from '../../../components/ConfirmDialog'import { CreateFlowPanel } from '../../../components/CreateFlowPanel'diff --git a/control-ui/app/hosts/[name]/page.tsx b/control-ui/app/hosts/[name]/page.tsxindex fc320fdd5..54885d94c 100644--- a/control-ui/app/hosts/[name]/page.tsx+++ b/control-ui/app/hosts/[name]/page.tsx@@ -2,7 +2,7 @@import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'import { useParams, useRouter } from 'next/navigation'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { useConfirmDialog } from '@components/ConfirmDialog'import { DetailPageShell } from '@components/DetailPageShell'import { SelectionDropdown } from '@components/SelectionDropdown'diff --git a/control-ui/app/layout.tsx b/control-ui/app/layout.tsxindex e04beeaa6..a61414d7e 100644--- a/control-ui/app/layout.tsx+++ b/control-ui/app/layout.tsx@@ -2,7 +2,7 @@ import React from 'react'import type { Metadata } from 'next'import '@uiw/react-markdown-preview/markdown.css'import '@uiw/react-md-editor/markdown-editor.css'-import '@clerum/frontend-table-system/styles.css'+import '@clerum/frontend-components/styles.css'import { AdminBridgeAlerts } from '../components/AdminBridgeAlerts'import { AuthProvider } from '../components/AuthContext'import { ControlAppFrame } from '../components/ControlAppFrame'diff --git a/control-ui/app/outputs/page.tsx b/control-ui/app/outputs/page.tsxindex c77b58b0f..7e7bb12f3 100644--- a/control-ui/app/outputs/page.tsx+++ b/control-ui/app/outputs/page.tsx@@ -7,7 +7,7 @@ import {TableHeaderCell,TableStateRow,useTableSort,-} from '@clerum/frontend-table-system'+} from '@clerum/frontend-components'import { CONTROL_ROUTES } from '@constants/routes'import { AuthGate } from '../../components/AuthGate'import { DashboardLayout } from '../../components/DashboardLayout'diff --git a/control-ui/app/plugin-workload-sdk/Views.tsx b/control-ui/app/plugin-workload-sdk/Views.tsxindex de54c5644..e6c05a4bb 100644--- a/control-ui/app/plugin-workload-sdk/Views.tsx+++ b/control-ui/app/plugin-workload-sdk/Views.tsx@@ -1,7 +1,7 @@'use client'import React from 'react'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { RowActionsMenu } from '@components/RowActionsMenu'import { TableHeaderRow } from '@components/TableHeaderRow'import type { TableHeaderColumn } from '@components/TableHeaderRow/types'diff --git a/control-ui/app/profile-admin/teams/[teamId]/page.tsx b/control-ui/app/profile-admin/teams/[teamId]/page.tsxindex 950bf91f0..7ff601823 100644--- a/control-ui/app/profile-admin/teams/[teamId]/page.tsx+++ b/control-ui/app/profile-admin/teams/[teamId]/page.tsx@@ -2,7 +2,7 @@import React, { useEffect, useMemo, useRef, useState } from 'react'import { useParams, useRouter } from 'next/navigation'-import { DataTable, RecordList, RecordListRow, RowActionMenu } from '@clerum/frontend-table-system'+import { DataTable, RecordList, RecordListRow, RowActionMenu } from '@clerum/frontend-components'import { useConfirmDialog } from '@components/ConfirmDialog'import { DetailPageShell } from '@components/DetailPageShell'import { SelectionDropdown } from '@components/SelectionDropdown'diff --git a/control-ui/app/profile-admin/teams/new/page.tsx b/control-ui/app/profile-admin/teams/new/page.tsxindex e6b3b198c..e3f9437df 100644--- a/control-ui/app/profile-admin/teams/new/page.tsx+++ b/control-ui/app/profile-admin/teams/new/page.tsx@@ -2,7 +2,7 @@import { useEffect, useMemo, useState } from 'react'import { useRouter } from 'next/navigation'-import { DataTable, RowActionMenu } from '@clerum/frontend-table-system'+import { DataTable, RowActionMenu } from '@clerum/frontend-components'import { AuthGate } from '@components/AuthGate'import { CreateFlowPanel } from '@components/CreateFlowPanel'import { CreatePageHeader } from '@components/CreatePageHeader'diff --git a/control-ui/app/profile-admin/users/[userId]/page.tsx b/control-ui/app/profile-admin/users/[userId]/page.tsxindex c05753fe7..c70bf4eb7 100644--- a/control-ui/app/profile-admin/users/[userId]/page.tsx+++ b/control-ui/app/profile-admin/users/[userId]/page.tsx@@ -3,7 +3,7 @@import React, { useEffect, useMemo, useRef, useState } from 'react'import Link from 'next/link'import { useParams, useRouter } from 'next/navigation'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { useConfirmDialog } from '@components/ConfirmDialog'import { DetailPageShell } from '@components/DetailPageShell'import { RowActionsMenu } from '@components/RowActionsMenu'diff --git a/control-ui/app/profile-admin/users/new/page.tsx b/control-ui/app/profile-admin/users/new/page.tsxindex 1cd6e3ef6..8114128a7 100644--- a/control-ui/app/profile-admin/users/new/page.tsx+++ b/control-ui/app/profile-admin/users/new/page.tsx@@ -2,7 +2,7 @@import { useEffect, useMemo, useRef, useState } from 'react'import { useRouter, useSearchParams } from 'next/navigation'-import { DataTable, RowActionMenu } from '@clerum/frontend-table-system'+import { DataTable, RowActionMenu } from '@clerum/frontend-components'import { AuthGate } from '@components/AuthGate'import { CreateFlowPanel } from '@components/CreateFlowPanel'import { CreatePageHeader } from '@components/CreatePageHeader'diff --git a/control-ui/app/shared-filesystems/[name]/page.tsx b/control-ui/app/shared-filesystems/[name]/page.tsxindex 9f8633eb7..65f8ef383 100644--- a/control-ui/app/shared-filesystems/[name]/page.tsx+++ b/control-ui/app/shared-filesystems/[name]/page.tsx@@ -2,7 +2,7 @@import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'import { useParams, useRouter } from 'next/navigation'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { FileUploadModal } from '@components/FileUploadModal'import { RowActionsMenu } from '@components/RowActionsMenu'import { CONTROL_ROUTES } from '@constants/routes'diff --git a/control-ui/app/shared-filesystems/page.tsx b/control-ui/app/shared-filesystems/page.tsxindex 5e274b398..dc1d214dd 100644--- a/control-ui/app/shared-filesystems/page.tsx+++ b/control-ui/app/shared-filesystems/page.tsx@@ -8,7 +8,7 @@ import {TableRow,TableStateRow,useTableSort,-} from '@clerum/frontend-table-system'+} from '@clerum/frontend-components'import { DashboardLayout } from '@components/DashboardLayout'import { SectionSearchInput } from '@components/SectionSearchInput'import { IconSharedFiles } from '@components/Sidebar/icons'diff --git a/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx b/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsxindex b9e74ae90..4e5a6006a 100644--- a/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx+++ b/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx@@ -2,7 +2,7 @@import { Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react'import { useParams, useRouter, useSearchParams } from 'next/navigation'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { AuthGate } from '@components/AuthGate'import { BodyLoadingSkeleton } from '@components/BodyLoadingSkeleton'import { useConfirmDialog } from '@components/ConfirmDialog'diff --git a/control-ui/components/CodexSubscriptionHub/index.tsx b/control-ui/components/CodexSubscriptionHub/index.tsxindex 68adaa9b5..ea29802e4 100644--- a/control-ui/components/CodexSubscriptionHub/index.tsx+++ b/control-ui/components/CodexSubscriptionHub/index.tsx@@ -6,7 +6,7 @@ import {TableHeaderCell,TableStateRow,useTableSort,-} from '@clerum/frontend-table-system'+} from '@clerum/frontend-components'import { copyTextToClipboard } from '@lib/clipboard'import {CODEX_DEVICE_VERIFICATION_URI,diff --git a/control-ui/components/CommunicationChannelConversations/index.tsx b/control-ui/components/CommunicationChannelConversations/index.tsxindex 455c8cb0b..646c23d34 100644--- a/control-ui/components/CommunicationChannelConversations/index.tsx+++ b/control-ui/components/CommunicationChannelConversations/index.tsx@@ -1,7 +1,7 @@'use client'import Link from 'next/link'-import { DataTable, RowActionMenu } from '@clerum/frontend-table-system'+import { DataTable, RowActionMenu } from '@clerum/frontend-components'import { CONTROL_ROUTES } from '@constants/routes'import { formatCommunicationChannelConfirmedAt } from '@lib/communicationChannels'import type {diff --git a/control-ui/components/CommunicationChannelsTable.tsx b/control-ui/components/CommunicationChannelsTable.tsxindex e20b6cbff..19a2642d4 100644--- a/control-ui/components/CommunicationChannelsTable.tsx+++ b/control-ui/components/CommunicationChannelsTable.tsx@@ -1,7 +1,7 @@'use client'import { useMemo, useState } from 'react'-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'import {COMMUNICATION_CHANNEL_PROVIDERS,type CommunicationChannelProvider,diff --git a/control-ui/components/ContextTable.tsx b/control-ui/components/ContextTable.tsxindex 065b11926..c57e0e6f0 100644--- a/control-ui/components/ContextTable.tsx+++ b/control-ui/components/ContextTable.tsx@@ -1,7 +1,7 @@'use client'import React, { useMemo, useState } from 'react'-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'import { ContextResource } from '../lib/api'import { RowActionsMenu } from './RowActionsMenu'import { SectionSearchInput } from './SectionSearchInput'diff --git a/control-ui/components/ControlAdminsPanel/index.tsx b/control-ui/components/ControlAdminsPanel/index.tsxindex fe63447d0..90e87eee7 100644--- a/control-ui/components/ControlAdminsPanel/index.tsx+++ b/control-ui/components/ControlAdminsPanel/index.tsx@@ -7,7 +7,7 @@ import {TableHeaderCell,TableStateRow,useTableSort,-} from '@clerum/frontend-table-system'+} from '@clerum/frontend-components'import { useAuth } from '@components/AuthContext'import { useConfirmDialog } from '@components/ConfirmDialog'import { RowActionsMenu } from '@components/RowActionsMenu'diff --git a/control-ui/components/GovernedTraceSurface/GovernedEventExplorer/index.tsx b/control-ui/components/GovernedTraceSurface/GovernedEventExplorer/index.tsxindex 3411453aa..cadd41d7d 100644--- a/control-ui/components/GovernedTraceSurface/GovernedEventExplorer/index.tsx+++ b/control-ui/components/GovernedTraceSurface/GovernedEventExplorer/index.tsx@@ -1,7 +1,7 @@'use client'import { useEffect, useMemo, useState } from 'react'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { TableHeaderRow } from '@components/TableHeaderRow'import type { TableHeaderColumn } from '@components/TableHeaderRow/types'import { TablePanelHeader } from '@components/TablePanelHeader'diff --git a/control-ui/components/GovernedTraceSurface/InfrastructureCostQueryView/InfrastructureCostResults.tsx b/control-ui/components/GovernedTraceSurface/InfrastructureCostQueryView/InfrastructureCostResults.tsxindex 09cccf380..6cb60a247 100644--- a/control-ui/components/GovernedTraceSurface/InfrastructureCostQueryView/InfrastructureCostResults.tsx+++ b/control-ui/components/GovernedTraceSurface/InfrastructureCostQueryView/InfrastructureCostResults.tsx@@ -8,7 +8,7 @@ import {XAxis,YAxis,} from 'recharts'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { TableHeaderRow } from '@components/TableHeaderRow'import type { TableHeaderColumn } from '@components/TableHeaderRow/types'import type { InfrastructureCostResponse, InfrastructureCostSelection } from '@lib/governedTrace'diff --git a/control-ui/components/GovernedTraceSurface/InfrastructureOperationalSnapshot/index.tsx b/control-ui/components/GovernedTraceSurface/InfrastructureOperationalSnapshot/index.tsxindex 6ff15e0b2..9e2837fd4 100644--- a/control-ui/components/GovernedTraceSurface/InfrastructureOperationalSnapshot/index.tsx+++ b/control-ui/components/GovernedTraceSurface/InfrastructureOperationalSnapshot/index.tsx@@ -10,7 +10,7 @@ import {XAxis,YAxis,} from 'recharts'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { TableHeaderRow } from '@components/TableHeaderRow'import type { TableHeaderColumn } from '@components/TableHeaderRow/types'import type { GovernedTraceEvent } from '@lib/governedTrace'diff --git a/control-ui/components/GovernedTraceSurface/SessionReplay/index.tsx b/control-ui/components/GovernedTraceSurface/SessionReplay/index.tsxindex 7ee40d9b7..89db97134 100644--- a/control-ui/components/GovernedTraceSurface/SessionReplay/index.tsx+++ b/control-ui/components/GovernedTraceSurface/SessionReplay/index.tsx@@ -1,7 +1,7 @@'use client'import { useEffect, useMemo, useRef, useState } from 'react'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { TableHeaderRow } from '@components/TableHeaderRow'import type { TableHeaderColumn } from '@components/TableHeaderRow/types'import { TablePanelHeader } from '@components/TablePanelHeader'diff --git a/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionIdentity.tsx b/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionIdentity.tsxindex 4385c42a9..f991d06c9 100644--- a/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionIdentity.tsx+++ b/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionIdentity.tsx@@ -1,5 +1,5 @@import Link from 'next/link'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { TableHeaderRow } from '@components/TableHeaderRow'import { CONTROL_ROUTES } from '@constants/routes'import type { GovernedTraceSessionDetail } from '@lib/governedTrace'diff --git a/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionToolUsage.tsx b/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionToolUsage.tsxindex fc2ef72c3..c052ed34b 100644--- a/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionToolUsage.tsx+++ b/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionToolUsage.tsx@@ -1,4 +1,4 @@-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { TableHeaderRow } from '@components/TableHeaderRow'import type { GovernedTraceToolUsage } from '@lib/governedTrace'import { formatTraceTimestamp } from '../formatters'diff --git a/control-ui/components/GovernedTraceSurface/TracingOperations/ErrorSummary.tsx b/control-ui/components/GovernedTraceSurface/TracingOperations/ErrorSummary.tsxindex 5738705a0..ae43d6244 100644--- a/control-ui/components/GovernedTraceSurface/TracingOperations/ErrorSummary.tsx+++ b/control-ui/components/GovernedTraceSurface/TracingOperations/ErrorSummary.tsx@@ -1,4 +1,4 @@-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { TableHeaderRow } from '@components/TableHeaderRow'import type { TableHeaderColumn } from '@components/TableHeaderRow/types'import { formatTraceTimestamp } from '../formatters'diff --git a/control-ui/components/GovernedTraceSurface/index.tsx b/control-ui/components/GovernedTraceSurface/index.tsxindex 11138cf92..98e82110c 100644--- a/control-ui/components/GovernedTraceSurface/index.tsx+++ b/control-ui/components/GovernedTraceSurface/index.tsx@@ -3,7 +3,7 @@import { useEffect, useMemo, useRef, useState } from 'react'import Link from 'next/link'import { usePathname, useRouter, useSearchParams } from 'next/navigation'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { TableHeaderRow } from '@components/TableHeaderRow'import type { TableHeaderColumn } from '@components/TableHeaderRow/types'import { TablePanelHeader } from '@components/TablePanelHeader'diff --git a/control-ui/components/GuardrailHooksTable.tsx b/control-ui/components/GuardrailHooksTable.tsxindex 4b09b41c7..d529364a9 100644--- a/control-ui/components/GuardrailHooksTable.tsx+++ b/control-ui/components/GuardrailHooksTable.tsx@@ -2,7 +2,7 @@import React, { useMemo, useState } from 'react'import { useRouter } from 'next/navigation'-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'import { RowActionsMenu } from '@components/RowActionsMenu'import { CONTROL_ROUTES } from '@constants/routes'import type { LlmHookStatus } from '../lib/api'diff --git a/control-ui/components/HostAccessTab/index.tsx b/control-ui/components/HostAccessTab/index.tsxindex acfdd76a8..e50a3810a 100644--- a/control-ui/components/HostAccessTab/index.tsx+++ b/control-ui/components/HostAccessTab/index.tsx@@ -2,7 +2,7 @@import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'import { useRouter } from 'next/navigation'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { useConfirmDialog } from '@components/ConfirmDialog'import { RowActionsMenu } from '@components/RowActionsMenu'import { SelectionModal } from '@components/SelectionModal'diff --git a/control-ui/components/HostAdvancedTab/index.tsx b/control-ui/components/HostAdvancedTab/index.tsxindex c2908ac9f..cfd3bd0da 100644--- a/control-ui/components/HostAdvancedTab/index.tsx+++ b/control-ui/components/HostAdvancedTab/index.tsx@@ -1,7 +1,7 @@'use client'import React, { useState } from 'react'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { HostApprovalSection } from '@components/HostApprovalSection'import { HostEnvTable } from '@components/HostEnvTable'import { HostGuardrailsSection } from '@components/HostGuardrailsSection'diff --git a/control-ui/components/HostEnvTable.tsx b/control-ui/components/HostEnvTable.tsxindex b5e1a7f72..f3a67d5cd 100644--- a/control-ui/components/HostEnvTable.tsx+++ b/control-ui/components/HostEnvTable.tsx@@ -1,7 +1,7 @@'use client'import React, { useEffect, useMemo, useState } from 'react'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import {HostEnvEntry,HostEnvWriteResult,diff --git a/control-ui/components/HostGuardrailsSection/index.tsx b/control-ui/components/HostGuardrailsSection/index.tsxindex 1c806d605..7183f897e 100644--- a/control-ui/components/HostGuardrailsSection/index.tsx+++ b/control-ui/components/HostGuardrailsSection/index.tsx@@ -2,7 +2,7 @@import React, { useCallback, useMemo, useRef, useState } from 'react'import { useRouter } from 'next/navigation'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { useConfirmDialog } from '@components/ConfirmDialog'import { RowActionsMenu } from '@components/RowActionsMenu'import { useToast } from '@components/Toast'diff --git a/control-ui/components/HostTable.tsx b/control-ui/components/HostTable.tsxindex 5eb3e87da..9ab8c40af 100644--- a/control-ui/components/HostTable.tsx+++ b/control-ui/components/HostTable.tsx@@ -1,7 +1,7 @@'use client'import React, { useMemo, useState } from 'react'-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'import { getProviderLabel } from '../lib/llm'import type { HostItem, HostRef } from './HostTable.types'import { LlmProviderIcon } from './LlmProviderIcon'diff --git a/control-ui/components/LlmDiscoveryPanel/index.tsx b/control-ui/components/LlmDiscoveryPanel/index.tsxindex 391196e05..90de62173 100644--- a/control-ui/components/LlmDiscoveryPanel/index.tsx+++ b/control-ui/components/LlmDiscoveryPanel/index.tsx@@ -1,7 +1,7 @@'use client'import React, { useEffect, useMemo, useRef, useState } from 'react'-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'import { LlmProviderIcon } from '@components/LlmProviderIcon'import { IconModels } from '@components/Sidebar/icons'import { TableHeaderRow } from '@components/TableHeaderRow'diff --git a/control-ui/components/LlmModelTable.tsx b/control-ui/components/LlmModelTable.tsxindex 409093a81..f5a39ba1a 100644--- a/control-ui/components/LlmModelTable.tsx+++ b/control-ui/components/LlmModelTable.tsx@@ -1,7 +1,7 @@'use client'import React, { useEffect, useMemo, useState } from 'react'-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'import type { LlmAllowedModel } from '@lib/api'import { catalogGroupKey, formatContextWindow, getProviderDisplayLabel } from '@lib/llm'import { isUnpricedAllowedModel } from '@lib/llmModelUnpriced'diff --git a/control-ui/components/LlmPriceTable.tsx b/control-ui/components/LlmPriceTable.tsxindex fa7de5191..b03970132 100644--- a/control-ui/components/LlmPriceTable.tsx+++ b/control-ui/components/LlmPriceTable.tsx@@ -1,7 +1,7 @@'use client'import React, { useMemo, useState } from 'react'-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'import type { LlmModelPrice, UnpricedModel } from '@lib/api'import { getProviderDisplayLabel } from '@lib/llm'import type { LlmPriceTableProps } from './LlmPriceTable.types'diff --git a/control-ui/components/MarketplaceOrgImages/index.tsx b/control-ui/components/MarketplaceOrgImages/index.tsxindex 3a70fb2fe..17c2b81a5 100644--- a/control-ui/components/MarketplaceOrgImages/index.tsx+++ b/control-ui/components/MarketplaceOrgImages/index.tsx@@ -1,7 +1,7 @@'use client'import { useCallback, useEffect, useState } from 'react'-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'import { CONTROL_ROUTES } from '@constants/routes'import { type OrgImage, listOrgImages } from '../../lib/api'import {diff --git a/control-ui/components/McpServerTable.tsx b/control-ui/components/McpServerTable.tsxindex ab8b9508c..b7c887a93 100644--- a/control-ui/components/McpServerTable.tsx+++ b/control-ui/components/McpServerTable.tsx@@ -1,7 +1,7 @@'use client'import React, { useMemo, useState } from 'react'-import { DataTable, TableRow, TableStateRow } from '@clerum/frontend-table-system'+import { DataTable, TableRow, TableStateRow } from '@clerum/frontend-components'import { copyTextToClipboard } from '@lib/clipboard'import type {ConnectorAccessSummary,diff --git a/control-ui/components/ProfileAdminHome.tsx b/control-ui/components/ProfileAdminHome.tsxindex 38bf8d9d9..abf5acb95 100644--- a/control-ui/components/ProfileAdminHome.tsx+++ b/control-ui/components/ProfileAdminHome.tsx@@ -2,7 +2,7 @@import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'import { useRouter } from 'next/navigation'-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'import { CONTROL_ROUTES } from '@constants/routes'import {AdminPendingInvitationListItem,diff --git a/control-ui/components/PublisherView/DockerCredentials.tsx b/control-ui/components/PublisherView/DockerCredentials.tsxindex f2cc4802a..00737dfa0 100644--- a/control-ui/components/PublisherView/DockerCredentials.tsx+++ b/control-ui/components/PublisherView/DockerCredentials.tsx@@ -1,7 +1,7 @@'use client'import { useCallback, useEffect, useState } from 'react'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { CONTROL_ROUTES } from '@constants/routes'import {type CreatedRegistryApiKey,diff --git a/control-ui/components/PublisherView/GrantedToMe.tsx b/control-ui/components/PublisherView/GrantedToMe.tsxindex 442001408..12f851e95 100644--- a/control-ui/components/PublisherView/GrantedToMe.tsx+++ b/control-ui/components/PublisherView/GrantedToMe.tsx@@ -1,7 +1,7 @@'use client'import Link from 'next/link'-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'import { CONTROL_ROUTES } from '@constants/routes'import type { GrantedToMeItem } from '../../lib/api'import type { InboundGrantsStatus } from '../../lib/hooks/useInboundGrants'diff --git a/control-ui/components/PublisherView/OwnedEntries.tsx b/control-ui/components/PublisherView/OwnedEntries.tsxindex f3ab05211..cde168269 100644--- a/control-ui/components/PublisherView/OwnedEntries.tsx+++ b/control-ui/components/PublisherView/OwnedEntries.tsx@@ -2,7 +2,7 @@import React, { useCallback, useEffect, useMemo, useState } from 'react'import { useRouter, useSearchParams } from 'next/navigation'-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'import { MARKETPLACE_ENTRY_TYPE_LABELS } from '@constants/marketplaceEntryTypes'import { CONTROL_ROUTES } from '@constants/routes'import {diff --git a/control-ui/components/RecipeIntegrationsPanel/index.tsx b/control-ui/components/RecipeIntegrationsPanel/index.tsxindex 755052f49..6d98e7c43 100644--- a/control-ui/components/RecipeIntegrationsPanel/index.tsx+++ b/control-ui/components/RecipeIntegrationsPanel/index.tsx@@ -1,7 +1,7 @@'use client'import { useCallback, useEffect, useMemo, useRef, useState } from 'react'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import {type UserGrant,type WorkflowRecipeResource,diff --git a/control-ui/components/RecipeSecretsPanel/index.tsx b/control-ui/components/RecipeSecretsPanel/index.tsxindex 44f6b3861..eac6c4b0a 100644--- a/control-ui/components/RecipeSecretsPanel/index.tsx+++ b/control-ui/components/RecipeSecretsPanel/index.tsx@@ -2,7 +2,7 @@import { useCallback, useEffect, useMemo, useState } from 'react'import { useRouter } from 'next/navigation'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { CONTROL_ROUTES } from '@constants/routes'import {type RecipeSecretItem,diff --git a/control-ui/components/RecipesTab.tsx b/control-ui/components/RecipesTab.tsxindex 8f12445ac..8a18b0519 100644--- a/control-ui/components/RecipesTab.tsx+++ b/control-ui/components/RecipesTab.tsx@@ -2,7 +2,7 @@import { useMemo, useState } from 'react'import { useRouter } from 'next/navigation'-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'import { CONTROL_ROUTES } from '@constants/routes'import { DEFAULT_WORKFLOW_RECIPE_NAMESPACE } from '@constants/workflowRecipes'import type { WorkflowRecipeResource } from '../lib/api'diff --git a/control-ui/components/RegistryApiKeysPanel.tsx b/control-ui/components/RegistryApiKeysPanel.tsxindex 7183a60ea..e4c97c089 100644--- a/control-ui/components/RegistryApiKeysPanel.tsx+++ b/control-ui/components/RegistryApiKeysPanel.tsx@@ -2,7 +2,7 @@import { useCallback, useEffect, useState } from 'react'import Link from 'next/link'-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'import { CONTROL_ROUTES } from '@constants/routes'import {type CreateRegistryApiKeyInput,diff --git a/control-ui/components/RegistryCatalog.tsx b/control-ui/components/RegistryCatalog.tsxindex 6d2f5b4b7..1f0153ab2 100644--- a/control-ui/components/RegistryCatalog.tsx+++ b/control-ui/components/RegistryCatalog.tsx@@ -3,7 +3,7 @@import { Fragment, useEffect, useMemo, useState } from 'react'import Link from 'next/link'import { useRouter } from 'next/navigation'-import { DataTable, TableRow, TableStateRow } from '@clerum/frontend-table-system'+import { DataTable, TableRow, TableStateRow } from '@clerum/frontend-components'import { FilterSelect } from '@components/FilterSelect'import { MarketplaceTabs } from '@components/MarketplaceTabs'import { type RowActionMenuItem, RowActionsMenu } from '@components/RowActionsMenu'diff --git a/control-ui/components/ResourceTable.tsx b/control-ui/components/ResourceTable.tsxindex e99339c2b..875c4470a 100644--- a/control-ui/components/ResourceTable.tsx+++ b/control-ui/components/ResourceTable.tsx@@ -1,7 +1,7 @@'use client'import React, { useMemo } from 'react'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { SkeletonTableRows } from './SkeletonTableRows'import { TablePanelHeader } from './TablePanelHeader'import { IconRefresh } from './icons'diff --git a/control-ui/components/RowActionsMenu/index.tsx b/control-ui/components/RowActionsMenu/index.tsxindex e27e59bba..b51357eb8 100644--- a/control-ui/components/RowActionsMenu/index.tsx+++ b/control-ui/components/RowActionsMenu/index.tsx@@ -1,6 +1,6 @@'use client'-import { RowActionMenu } from '@clerum/frontend-table-system'+import { RowActionMenu } from '@clerum/frontend-components'import type { RowActionsMenuProps } from './types'export type { RowActionMenuItem } from './types'diff --git a/control-ui/components/SecretsTable.tsx b/control-ui/components/SecretsTable.tsxindex 2a975abb2..ad0b6d78b 100644--- a/control-ui/components/SecretsTable.tsx+++ b/control-ui/components/SecretsTable.tsx@@ -7,7 +7,7 @@ import {TableHeaderCell,TableStateRow,useTableSort,-} from '@clerum/frontend-table-system'+} from '@clerum/frontend-components'import { CONTROL_ROUTES } from '@constants/routes'import {type RecipeSecretItem,diff --git a/control-ui/components/SectionSearchInput.tsx b/control-ui/components/SectionSearchInput.tsxindex 9a65dacca..d0bf674b9 100644--- a/control-ui/components/SectionSearchInput.tsx+++ b/control-ui/components/SectionSearchInput.tsx@@ -1,6 +1,6 @@'use client'-import { TableSearch } from '@clerum/frontend-table-system'+import { TableSearch } from '@clerum/frontend-components'export function SectionSearchInput({disabled = false,diff --git a/control-ui/components/TableEmptyRow/index.tsx b/control-ui/components/TableEmptyRow/index.tsxindex 617f50fe1..f94fb3011 100644--- a/control-ui/components/TableEmptyRow/index.tsx+++ b/control-ui/components/TableEmptyRow/index.tsx@@ -1,6 +1,6 @@'use client'-import { TableStateRow } from '@clerum/frontend-table-system'+import { TableStateRow } from '@clerum/frontend-components'import { Button } from '@components/ui'import type { TableEmptyRowProps } from './types'diff --git a/control-ui/components/TableHeaderRow/index.tsx b/control-ui/components/TableHeaderRow/index.tsxindex 5cfe57d92..77ad3da5d 100644--- a/control-ui/components/TableHeaderRow/index.tsx+++ b/control-ui/components/TableHeaderRow/index.tsx@@ -1,6 +1,6 @@'use client'-import { TableHeaderCell } from '@clerum/frontend-table-system'+import { TableHeaderCell } from '@clerum/frontend-components'import type { TableHeaderColumn } from './types'export function TableHeaderRow({ columns }: { columns: TableHeaderColumn[] }) {diff --git a/control-ui/components/TableHeaderRow/types.ts b/control-ui/components/TableHeaderRow/types.tsindex 52ab4bd9f..f1c2f482a 100644--- a/control-ui/components/TableHeaderRow/types.ts+++ b/control-ui/components/TableHeaderRow/types.ts@@ -1,5 +1,5 @@import type { ReactNode } from 'react'-import type { SortDirection } from '@clerum/frontend-table-system'+import type { SortDirection } from '@clerum/frontend-components'export type TableHeaderColumn = {align?: 'left' | 'right' | 'center'diff --git a/control-ui/components/TablePanelHeader/index.tsx b/control-ui/components/TablePanelHeader/index.tsxindex cbb9caf7e..3160acdae 100644--- a/control-ui/components/TablePanelHeader/index.tsx+++ b/control-ui/components/TablePanelHeader/index.tsx@@ -1,6 +1,6 @@'use client'-import { DataViewHeader } from '@clerum/frontend-table-system'+import { DataViewHeader } from '@clerum/frontend-components'import { cn } from '@lib/cn'import type { TablePanelHeaderProps } from './types'diff --git a/control-ui/components/TokenBudgetTable.tsx b/control-ui/components/TokenBudgetTable.tsxindex e34fb45d1..5cd1e2500 100644--- a/control-ui/components/TokenBudgetTable.tsx+++ b/control-ui/components/TokenBudgetTable.tsx@@ -1,7 +1,7 @@'use client'import React, { useMemo, useState } from 'react'-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-table-system'+import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'import type { TokenBudget } from '@lib/api'import {budgetProgressPercent,diff --git a/control-ui/components/UpdateConnectorCredentials/index.tsx b/control-ui/components/UpdateConnectorCredentials/index.tsxindex 220cda006..0d548492e 100644--- a/control-ui/components/UpdateConnectorCredentials/index.tsx+++ b/control-ui/components/UpdateConnectorCredentials/index.tsx@@ -1,7 +1,7 @@'use client'import React, { useEffect, useRef, useState } from 'react'-import { DataTable } from '@clerum/frontend-table-system'+import { DataTable } from '@clerum/frontend-components'import { useConfirmDialog } from '@components/ConfirmDialog'import { useToast } from '@components/Toast'import { Button, Field, FormSection, TextInput } from '@components/ui'diff --git a/control-ui/components/UserApprovalMediumsTable.tsx b/control-ui/components/UserApprovalMediumsTable.tsxindex e92d765a6..4a178faa3 100644--- a/control-ui/components/UserApprovalMediumsTable.tsx+++ b/control-ui/components/UserApprovalMediumsTable.tsx@@ -1,7 +1,7 @@'use client'import React from 'react'-import { DataTable, RowActionMenu } from '@clerum/frontend-table-system'+import { DataTable, RowActionMenu } from '@clerum/frontend-components'import type { WorkflowApprovalMediumAccount } from '../lib/workflowApprovalMediums'function formatAccount(account: WorkflowApprovalMediumAccount): string {diff --git a/control-ui/components/__tests__/FrontendTableSystem.properties.test.ts b/control-ui/components/__tests__/FrontendComponents.properties.test.tssimilarity index 98%rename from control-ui/components/__tests__/FrontendTableSystem.properties.test.tsrename to control-ui/components/__tests__/FrontendComponents.properties.test.tsindex dc3e67cf9..4197f74a1 100644--- a/control-ui/components/__tests__/FrontendTableSystem.properties.test.ts+++ b/control-ui/components/__tests__/FrontendComponents.properties.test.ts@@ -5,7 +5,7 @@ import {type SortValue,compareSortValues,stableSortRows,-} from '@clerum/frontend-table-system'+} from '@clerum/frontend-components'const sortValue = fc.oneof(fc.string(),diff --git a/control-ui/components/__tests__/FrontendTableSystem.test.tsx b/control-ui/components/__tests__/FrontendComponents.test.tsxsimilarity index 97%rename from control-ui/components/__tests__/FrontendTableSystem.test.tsxrename to control-ui/components/__tests__/FrontendComponents.test.tsxindex 134d3244f..1d0024831 100644--- a/control-ui/components/__tests__/FrontendTableSystem.test.tsx+++ b/control-ui/components/__tests__/FrontendComponents.test.tsx@@ -6,9 +6,9 @@ import {TableHeaderCell,TableRow,stableSortRows,-} from '@clerum/frontend-table-system'+} from '@clerum/frontend-components'-describe('shared frontend table system', () => {+describe('shared frontend components', () => {it('exposes sortable header state and a keyboard sort control', () => {const onSort = vi.fn()render(diff --git a/control-ui/next.config.js b/control-ui/next.config.jsindex 9c597b094..76b28c1a1 100644--- a/control-ui/next.config.js+++ b/control-ui/next.config.js@@ -3,7 +3,7 @@ const path = require('path')/** @type {import('next').NextConfig} */const nextConfig = {reactStrictMode: true,- transpilePackages: ['@clerum/frontend-table-system'],+ transpilePackages: ['@clerum/frontend-components'],experimental: {globalNotFound: true,},diff --git a/control-ui/package-lock.json b/control-ui/package-lock.jsonindex 9e1a42c46..01a43a1a2 100644--- a/control-ui/package-lock.json+++ b/control-ui/package-lock.json@@ -1,15 +1,15 @@{"name": "clerum-control-ui",- "version": "0.1.511",+ "version": "0.1.512","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-control-ui",- "version": "0.1.511",+ "version": "0.1.512","dependencies": {"@clerum/display-field": "file:../packages/display-field",- "@clerum/frontend-table-system": "file:../packages/frontend-table-system",+ "@clerum/frontend-components": "file:../packages/frontend-components","@clerum/llm-providers": "file:../packages/llm-providers","@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy","@uiw/react-md-editor": "^4.1.0",@@ -38,8 +38,8 @@"version": "0.1.0","license": "MIT"},- "../packages/frontend-table-system": {- "name": "@clerum/frontend-table-system",+ "../packages/frontend-components": {+ "name": "@clerum/frontend-components","version": "0.1.0","peerDependencies": {"react": "^18.3.1",@@ -171,8 +171,8 @@"resolved": "../packages/display-field","link": true},- "node_modules/@clerum/frontend-table-system": {- "resolved": "../packages/frontend-table-system",+ "node_modules/@clerum/frontend-components": {+ "resolved": "../packages/frontend-components","link": true},"node_modules/@clerum/llm-providers": {diff --git a/control-ui/package.json b/control-ui/package.jsonindex 682c05cbb..c6cd16773 100644--- a/control-ui/package.json+++ b/control-ui/package.json@@ -1,6 +1,6 @@{"name": "clerum-control-ui",- "version": "0.1.511",+ "version": "0.1.512","private": true,"scripts": {"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",@@ -50,7 +50,7 @@},"dependencies": {"@clerum/display-field": "file:../packages/display-field",- "@clerum/frontend-table-system": "file:../packages/frontend-table-system",+ "@clerum/frontend-components": "file:../packages/frontend-components","@clerum/llm-providers": "file:../packages/llm-providers","@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy","@uiw/react-md-editor": "^4.1.0",diff --git a/deploy/images.json b/deploy/images.jsonindex 1dcb530e5..a7929ac6f 100644--- a/deploy/images.json+++ b/deploy/images.json@@ -37,7 +37,7 @@"control-ui/**","packages/workflow-recipe-capability-policy/**","packages/display-field/**",- "packages/frontend-table-system/**"+ "packages/frontend-components/**"],"published": true,"deployed_to_minikube": true@@ -125,7 +125,7 @@"source_paths": ["profile-ui/**","packages/desktop-app-links/**",- "packages/frontend-table-system/**"+ "packages/frontend-components/**"],"published": true,"deployed_to_minikube": truediff --git a/docs/agents/control-ui-rules.md b/docs/agents/control-ui-rules.mdindex 2cfbe0680..1fa074aa9 100644--- a/docs/agents/control-ui-rules.md+++ b/docs/agents/control-ui-rules.md@@ -66,7 +66,7 @@ leaning on either behaviour.## Tables and row actions-- Use `@clerum/frontend-table-system` directly or the thin Control UI adapters+- Use `@clerum/frontend-components` directly or the thin Control UI adapters`TablePanelHeader`, `TableHeaderRow`, `SectionSearchInput`, and`RowActionsMenu`. Those adapters preserve Control UI labels/routes/classes;they do not own a second semantic table implementation.@@ -102,7 +102,8 @@ leaning on either behaviour.## Page patterns- Use `TablePanelHeader` and `TableHeaderRow` for route tables and sections;- both delegate their semantic behavior to the shared table package.+ both delegate their semantic behavior to the shared frontend components+ package.- Keep the section icon, title, subtitle, search, refresh, and CTAs visiblewhile initial loading, empty, and error states render in the content area.Disable header CTAs during initial loading, and let only the content panediff --git a/docs/agents/frontend-style-rules.md b/docs/agents/frontend-style-rules.mdindex 952e48e89..163d67561 100644--- a/docs/agents/frontend-style-rules.md+++ b/docs/agents/frontend-style-rules.md@@ -82,7 +82,7 @@ application guidance that must be combined with this shared document.## Tables and record lists-- `packages/frontend-table-system` is the shared semantic and visual boundary+- `packages/frontend-components` is the shared semantic and visual boundaryfor Control UI and Profile UI tables and table-like record lists. Import its`DataViewHeader`, `TableSearch`, `TableViewport`, `DataTable`, `TableRow`,table cells/state rows, `RecordList`, `RecordListRow`, `RowActionMenu`, anddiff --git a/docs/agents/profile-ui-rules.md b/docs/agents/profile-ui-rules.mdindex f10c4b718..aaf514efe 100644--- a/docs/agents/profile-ui-rules.md+++ b/docs/agents/profile-ui-rules.md@@ -15,7 +15,7 @@ These provider-neutral rules apply only to `profile-ui/**`. Combine them withmigrate Profile UI to Control UI's `components/ui/` structure.- Reusable configuration constants live under `app/constants/`.- Reuse Profile UI's existing form primitives, including `Button`, `TextInput`,- `SelectControl`, and `FormField`. Use `@clerum/frontend-table-system` for+ `SelectControl`, and `FormField`. Use `@clerum/frontend-components` fortables and repeated record lists; the obsolete local `EditableList` has beenremoved.diff --git a/packages/frontend-components/README.md b/packages/frontend-components/README.mdnew file mode 100644index 000000000..908cf0c0e--- /dev/null+++ b/packages/frontend-components/README.md@@ -0,0 +1,12 @@+# `@clerum/frontend-components`++The canonical cross-application component package shared by Control UI and+Profile UI. Its current public surface provides the common table and record-list+primitives; other genuinely shared frontend components can live here without+creating another narrowly named package.++Import composable React primitives from `@clerum/frontend-components` and+import the single global stylesheet from+`@clerum/frontend-components/styles.css` in each application's root layout.+Apps retain ownership of data loading, routes, permissions, domain cells, and+mutation behavior.diff --git a/packages/frontend-table-system/package-lock.json b/packages/frontend-components/package-lock.jsonsimilarity index 97%rename from packages/frontend-table-system/package-lock.jsonrename to packages/frontend-components/package-lock.jsonindex 681fcc8fd..168bcfdc2 100644--- a/packages/frontend-table-system/package-lock.json+++ b/packages/frontend-components/package-lock.json@@ -1,11 +1,11 @@{- "name": "@clerum/frontend-table-system",+ "name": "@clerum/frontend-components","version": "0.1.0","lockfileVersion": 3,"requires": true,"packages": {"": {- "name": "@clerum/frontend-table-system",+ "name": "@clerum/frontend-components","version": "0.1.0","devDependencies": {"@types/react": "18.3.28",diff --git a/packages/frontend-table-system/package.json b/packages/frontend-components/package.jsonsimilarity index 94%rename from packages/frontend-table-system/package.jsonrename to packages/frontend-components/package.jsonindex 873c7161d..156bc7a14 100644--- a/packages/frontend-table-system/package.json+++ b/packages/frontend-components/package.json@@ -1,5 +1,5 @@{- "name": "@clerum/frontend-table-system",+ "name": "@clerum/frontend-components","version": "0.1.0","private": true,"type": "module",diff --git a/packages/frontend-table-system/src/index.tsx b/packages/frontend-components/src/index.tsxsimilarity index 100%rename from packages/frontend-table-system/src/index.tsxrename to packages/frontend-components/src/index.tsxdiff --git a/packages/frontend-table-system/styles.css b/packages/frontend-components/styles.csssimilarity index 100%rename from packages/frontend-table-system/styles.cssrename to packages/frontend-components/styles.cssdiff --git a/packages/frontend-table-system/README.md b/packages/frontend-table-system/README.mddeleted file mode 100644index 33ff9433c..000000000--- a/packages/frontend-table-system/README.md+++ /dev/null@@ -1,7 +0,0 @@-# `@clerum/frontend-table-system`--The canonical structural table system shared by Control UI and Profile UI.--Import composable React primitives from `@clerum/frontend-table-system` and import the single global-stylesheet from `@clerum/frontend-table-system/styles.css` in each application's root layout. Apps-retain ownership of data loading, routes, permissions, domain cells, and mutation behavior.diff --git a/profile-ui/Dockerfile b/profile-ui/Dockerfileindex 3ea6f72c6..2eafd399c 100644--- a/profile-ui/Dockerfile+++ b/profile-ui/Dockerfile@@ -2,7 +2,7 @@ FROM node:24-alpine AS builderWORKDIR /appCOPY packages/desktop-app-links ./packages/desktop-app-links-COPY packages/frontend-table-system ./packages/frontend-table-system+COPY packages/frontend-components ./packages/frontend-componentsCOPY profile-ui/package*.json ./profile-ui/WORKDIR /app/profile-ui# Next's bundler does not follow file: symlinks reliably, so materialize the@@ -11,8 +11,8 @@ RUN npm ci \&& rm -rf node_modules/@clerum/desktop-app-links \&& mkdir -p node_modules/@clerum \&& cp -R ../packages/desktop-app-links node_modules/@clerum/desktop-app-links \- && rm -rf node_modules/@clerum/frontend-table-system \- && cp -R ../packages/frontend-table-system node_modules/@clerum/frontend-table-system+ && rm -rf node_modules/@clerum/frontend-components \+ && cp -R ../packages/frontend-components node_modules/@clerum/frontend-componentsCOPY profile-ui ./RUN npm run builddiff --git a/profile-ui/app/connected-accounts/page.tsx b/profile-ui/app/connected-accounts/page.tsxindex 094f88844..c1589391a 100644--- a/profile-ui/app/connected-accounts/page.tsx+++ b/profile-ui/app/connected-accounts/page.tsx@@ -1,7 +1,7 @@'use client'import { useEffect, useState } from 'react'-import { RecordList, RecordListRow, RowActionMenu } from '@clerum/frontend-table-system'+import { RecordList, RecordListRow, RowActionMenu } from '@clerum/frontend-components'import { AuthGate } from '@components/AuthGate'import { Button } from '@components/Button'import { ProfileBodySkeleton } from '@components/ProfileBodySkeleton'diff --git a/profile-ui/app/layout.tsx b/profile-ui/app/layout.tsxindex a780badb5..6b45f5806 100644--- a/profile-ui/app/layout.tsx+++ b/profile-ui/app/layout.tsx@@ -1,7 +1,7 @@import type { ReactNode } from 'react'import { Suspense } from 'react'import type { Metadata } from 'next'-import '@clerum/frontend-table-system/styles.css'+import '@clerum/frontend-components/styles.css'import { AuthProvider } from '@components/AuthContext'import { ProfileAppFrame } from '@components/ProfileAppFrame'import { ToastProvider } from '@components/Toast'diff --git a/profile-ui/app/members/[userId]/page.tsx b/profile-ui/app/members/[userId]/page.tsxindex 78bc51f35..a6451f5a5 100644--- a/profile-ui/app/members/[userId]/page.tsx+++ b/profile-ui/app/members/[userId]/page.tsx@@ -2,7 +2,7 @@import { useEffect, useMemo, useState } from 'react'import { useParams, useRouter } from 'next/navigation'-import { DataTable, RowActionMenu } from '@clerum/frontend-table-system'+import { DataTable, RowActionMenu } from '@clerum/frontend-components'import { useAuth } from '@components/AuthContext'import { AuthGate } from '@components/AuthGate'import { Button } from '@components/Button'diff --git a/profile-ui/app/members/invite/page.tsx b/profile-ui/app/members/invite/page.tsxindex ff8a8a77e..b7a1019ca 100644--- a/profile-ui/app/members/invite/page.tsx+++ b/profile-ui/app/members/invite/page.tsx@@ -2,7 +2,7 @@import { useEffect, useMemo, useRef, useState } from 'react'import { useRouter } from 'next/navigation'-import { DataTable, RowActionMenu } from '@clerum/frontend-table-system'+import { DataTable, RowActionMenu } from '@clerum/frontend-components'import { AuthGate } from '@components/AuthGate'import { Button } from '@components/Button'import { CreateFlowPanel } from '@components/CreateFlowPanel'diff --git a/profile-ui/app/members/page.tsx b/profile-ui/app/members/page.tsxindex 83aeb3b5a..5cb9c02b8 100644--- a/profile-ui/app/members/page.tsx+++ b/profile-ui/app/members/page.tsx@@ -8,7 +8,7 @@ import {TableHeaderCell,TableStateRow,useTableSort,-} from '@clerum/frontend-table-system'+} from '@clerum/frontend-components'import { useAuth } from '@components/AuthContext'import { AuthGate } from '@components/AuthGate'import { Button } from '@components/Button'diff --git a/profile-ui/app/settings/SettingsChannelSection.tsx b/profile-ui/app/settings/SettingsChannelSection.tsxindex 69777622f..e360565e2 100644--- a/profile-ui/app/settings/SettingsChannelSection.tsx+++ b/profile-ui/app/settings/SettingsChannelSection.tsx@@ -1,4 +1,4 @@-import { RecordList, RecordListRow, RowActionMenu } from '@clerum/frontend-table-system'+import { RecordList, RecordListRow, RowActionMenu } from '@clerum/frontend-components'import { Button } from '@components/Button'import { TextInput } from '@components/TextInput'import type {diff --git a/profile-ui/app/settings/TelegramVerificationPanel.tsx b/profile-ui/app/settings/TelegramVerificationPanel.tsxindex 870c9ed8b..95effc1aa 100644--- a/profile-ui/app/settings/TelegramVerificationPanel.tsx+++ b/profile-ui/app/settings/TelegramVerificationPanel.tsx@@ -1,7 +1,7 @@'use client'import { useEffect, useMemo, useState } from 'react'-import { RecordList, RecordListRow, RowActionMenu } from '@clerum/frontend-table-system'+import { RecordList, RecordListRow, RowActionMenu } from '@clerum/frontend-components'import { Button } from '@components/Button'import { CheckboxField } from '@components/CheckboxField'import { FormField } from '@components/FormField'diff --git a/profile-ui/next.config.js b/profile-ui/next.config.jsindex 27ce25151..884c247da 100644--- a/profile-ui/next.config.js+++ b/profile-ui/next.config.js@@ -3,7 +3,7 @@ const path = require('path')/** @type {import('next').NextConfig} */const nextConfig = {reactStrictMode: true,- transpilePackages: ['@clerum/frontend-table-system'],+ transpilePackages: ['@clerum/frontend-components'],turbopack: {root: path.join(__dirname, '..'),},diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.jsonindex f94f49221..68a3a5047 100644--- a/profile-ui/package-lock.json+++ b/profile-ui/package-lock.json@@ -1,15 +1,15 @@{"name": "clerum-profile-ui",- "version": "0.1.131",+ "version": "0.1.132","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-profile-ui",- "version": "0.1.131",+ "version": "0.1.132","dependencies": {"@clerum/desktop-app-links": "file:../packages/desktop-app-links",- "@clerum/frontend-table-system": "file:../packages/frontend-table-system",+ "@clerum/frontend-components": "file:../packages/frontend-components","next": "16.2.11","react": "^18.3.1","react-dom": "^18.3.1"@@ -32,8 +32,8 @@"fast-check": "^4.9.0"}},- "../packages/frontend-table-system": {- "name": "@clerum/frontend-table-system",+ "../packages/frontend-components": {+ "name": "@clerum/frontend-components","version": "0.1.0","peerDependencies": {"react": "^18.3.1",@@ -156,8 +156,8 @@"resolved": "../packages/desktop-app-links","link": true},- "node_modules/@clerum/frontend-table-system": {- "resolved": "../packages/frontend-table-system",+ "node_modules/@clerum/frontend-components": {+ "resolved": "../packages/frontend-components","link": true},"node_modules/@csstools/color-helpers": {diff --git a/profile-ui/package.json b/profile-ui/package.jsonindex a21fc1ec6..42fb2cadf 100644--- a/profile-ui/package.json+++ b/profile-ui/package.json@@ -1,6 +1,6 @@{"name": "clerum-profile-ui",- "version": "0.1.131",+ "version": "0.1.132","private": true,"scripts": {"dev": "next dev",@@ -10,7 +10,7 @@},"dependencies": {"@clerum/desktop-app-links": "file:../packages/desktop-app-links",- "@clerum/frontend-table-system": "file:../packages/frontend-table-system",+ "@clerum/frontend-components": "file:../packages/frontend-components","next": "16.2.11","react": "^18.3.1","react-dom": "^18.3.1"diff --git a/scripts/style-rules/rules.mjs b/scripts/style-rules/rules.mjsindex 563bf3f22..7553b18b1 100644--- a/scripts/style-rules/rules.mjs+++ b/scripts/style-rules/rules.mjs@@ -127,7 +127,7 @@ export const rules = [id: 'web-no-app-local-table',severity: 'error',description:- 'Control UI and Profile UI production views must use @clerum/frontend-table-system instead of raw app-local table markup.',+ 'Control UI and Profile UI production views must use @clerum/frontend-components instead of raw app-local table markup.',applies(file) {return isWebProductionSource(file)},@@ -138,7 +138,7 @@ export const rules = [violations.push({line: i + 1,message:- 'raw <table> creates a parallel table shell — compose @clerum/frontend-table-system DataTable primitives',+ 'raw <table> creates a parallel table shell — compose @clerum/frontend-components DataTable primitives',})}})@@ -160,7 +160,7 @@ export const rules = [if (legacy.pattern.test(line)) {violations.push({line: i + 1,- message: `${legacy.message} — use @clerum/frontend-table-system`,+ message: `${legacy.message} — use @clerum/frontend-components`,})}}diff --git a/scripts/style-rules/rules.test.mjs b/scripts/style-rules/rules.test.mjsindex de4ee208d..cb0fabaf1 100644--- a/scripts/style-rules/rules.test.mjs+++ b/scripts/style-rules/rules.test.mjs@@ -47,13 +47,13 @@ test('rejects raw production tables in Control UI and Profile UI', () => {assert.equal(violationsFor('profile-ui/app/members/page.tsx', '<table />').length, 1)})-test('allows shared table-system composition and test fixtures', () => {+test('allows shared table composition and test fixtures', () => {const shared = '<DataTable><TableBody /></DataTable>'const fixture = '<table><tbody /></table>'assert.deepEqual(violationsFor('control-ui/app/agents/page.tsx', shared), [])assert.deepEqual(violationsFor('profile-ui/__tests__/members.test.tsx', fixture), [])- assert.deepEqual(violationsFor('packages/frontend-table-system/src/DataTable.tsx', fixture), [])+ assert.deepEqual(violationsFor('packages/frontend-components/src/DataTable.tsx', fixture), [])})test('rejects retired production table and expansion families', () => {@@ -75,14 +75,14 @@ test('does not confuse RowActionsMenu with the retired RowActions component', ()assert.deepEqual(violationsFor('control-ui/components/Hosts.tsx',- "import { RowActionsMenu } from '@evenfire/frontend-table-system'\n<RowActionsMenu />"+ "import { RowActionsMenu } from '@evenfire/frontend-components'\n<RowActionsMenu />"),[])})test('shared table colors resolve through tokens declared by both web apps', () => {- const sharedCss = readFileSync('packages/frontend-table-system/styles.css', 'utf8')+ const sharedCss = readFileSync('packages/frontend-components/styles.css', 'utf8')const controlCss = readFileSync('control-ui/app/globals.css', 'utf8')const profileCss = readFileSync('profile-ui/app/globals.css', 'utf8')const bindings = [...sharedCss.matchAll(/--eft-[^:]+:\s*var\((--cu-[^)]+)\);/g)]@@ -99,7 +99,7 @@ test('shared table colors resolve through tokens declared by both web apps', ()})test('shared table typography uses each web app contract', () => {- const sharedCss = readFileSync('packages/frontend-table-system/styles.css', 'utf8')+ const sharedCss = readFileSync('packages/frontend-components/styles.css', 'utf8')const controlCss = readFileSync('control-ui/app/globals.css', 'utf8')const profileCss = readFileSync('profile-ui/app/globals.css', 'utf8')diff --git a/scripts/tests/test-dockerfile-local-packages.sh b/scripts/tests/test-dockerfile-local-packages.shindex 26524e2e0..67cd60b44 100755--- a/scripts/tests/test-dockerfile-local-packages.sh+++ b/scripts/tests/test-dockerfile-local-packages.sh@@ -146,15 +146,15 @@ assert_dockerignore_mutations_rejected() {extra_secret="$fixture_dir/extra-secret"printf '%s\n' \- '!packages/frontend-table-system/' \- '!packages/frontend-table-system/package.json' \- '!packages/frontend-table-system/src/' \- '!packages/frontend-table-system/src/index.tsx' \- '!packages/frontend-table-system/styles.css' \- '!packages/frontend-table-system/node_modules/' > "$negated_node_modules"+ '!packages/frontend-components/' \+ '!packages/frontend-components/package.json' \+ '!packages/frontend-components/src/' \+ '!packages/frontend-components/src/index.tsx' \+ '!packages/frontend-components/styles.css' \+ '!packages/frontend-components/node_modules/' > "$negated_node_modules"local before="$failures"assert_dockerignore_excludes_generated_dependencies \- "$negated_node_modules" frontend-table-system 2>/dev/null+ "$negated_node_modules" frontend-components 2>/dev/nullif [[ "$failures" -eq "$before" ]]; thenfail 'Docker context contract must reject a negated node_modules rule'else@@ -162,15 +162,15 @@ assert_dockerignore_mutations_rejected() {fiprintf '%s\n' \- '!packages/frontend-table-system/' \- '!packages/frontend-table-system/package.json' \- '!packages/frontend-table-system/src/' \- '!packages/frontend-table-system/src/index.tsx' \- '!packages/frontend-table-system/styles.css' \- '!packages/frontend-table-system/.env' \- 'packages/frontend-table-system/node_modules/' > "$extra_secret"+ '!packages/frontend-components/' \+ '!packages/frontend-components/package.json' \+ '!packages/frontend-components/src/' \+ '!packages/frontend-components/src/index.tsx' \+ '!packages/frontend-components/styles.css' \+ '!packages/frontend-components/.env' \+ 'packages/frontend-components/node_modules/' > "$extra_secret"before="$failures"- assert_dockerignore_narrow_package "$extra_secret" frontend-table-system 2>/dev/null+ assert_dockerignore_narrow_package "$extra_secret" frontend-components 2>/dev/nullif [[ "$failures" -eq "$before" ]]; thenfail 'Docker context contract must reject an extra package-scoped allow rule'else@@ -185,8 +185,8 @@ assert_dockerignore_mutations_rejected() {assert_copy_before_every_ci control-api/Dockerfile \display-field image-policy llm-providers workflow-recipe-capability-policy workflow-runtime-coreassert_copy_before_every_ci control-ui/Dockerfile \- display-field frontend-table-system llm-providers workflow-recipe-capability-policy-assert_copy_before_every_ci profile-ui/Dockerfile desktop-app-links frontend-table-system+ display-field frontend-components llm-providers workflow-recipe-capability-policy+assert_copy_before_every_ci profile-ui/Dockerfile desktop-app-links frontend-componentsassert_copy_before_every_ci host-context-controller/Dockerfile \image-policy llm-providers network-policy-core workflow-recipe-capability-policyassert_copy_before_every_ci mcp-host/Dockerfile llm-providers@@ -205,19 +205,19 @@ assert_copy_before_last_ci workflow-recipes/Dockerfile.coordinator workflow-reciassert_copy_before_last_ci workflow-recipes/Dockerfile.coordinator image-policyassert_materialized control-ui/Dockerfile display-field-assert_materialized control-ui/Dockerfile frontend-table-system+assert_materialized control-ui/Dockerfile frontend-componentsassert_materialized control-ui/Dockerfile llm-providersassert_materialized control-ui/Dockerfile workflow-recipe-capability-policyassert_materialized profile-ui/Dockerfile desktop-app-links-assert_materialized profile-ui/Dockerfile frontend-table-system+assert_materialized profile-ui/Dockerfile frontend-componentsassert_dockerignore_allows control-api/Dockerfile.dockerignore display-fieldassert_dockerignore_allows control-api/Dockerfile.dockerignore llm-providersassert_dockerignore_allows control-ui/Dockerfile.dockerignore display-fieldassert_dockerignore_allows control-ui/Dockerfile.dockerignore llm-providers-assert_dockerignore_narrow_package control-ui/Dockerfile.dockerignore frontend-table-system+assert_dockerignore_narrow_package control-ui/Dockerfile.dockerignore frontend-componentsassert_dockerignore_excludes_generated_dependencies \- control-ui/Dockerfile.dockerignore frontend-table-system+ control-ui/Dockerfile.dockerignore frontend-componentsassert_dockerignore_mutations_rejectedif (( failures > 0 )); then