diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts index afe4052..6049b4d 100644 --- a/packages/ui/src/index.ts +++ b/packages/ui/src/index.ts @@ -1,3 +1,3 @@ -export { Panel, type PanelConfig } from './Panel' -export type { AgentActivity, PanelAgentAdapter } from './types' +export { Panel, type PanelConfig } from './panel/Panel' +export type { AgentActivity, PanelAgentAdapter } from './panel/types' export { I18n, type SupportedLanguage, type TranslationKey } from './i18n' diff --git a/packages/ui/src/Panel.module.css b/packages/ui/src/panel/Panel.module.css similarity index 100% rename from packages/ui/src/Panel.module.css rename to packages/ui/src/panel/Panel.module.css diff --git a/packages/ui/src/Panel.ts b/packages/ui/src/panel/Panel.ts similarity index 99% rename from packages/ui/src/Panel.ts rename to packages/ui/src/panel/Panel.ts index 1e9f1ec..420313c 100644 --- a/packages/ui/src/Panel.ts +++ b/packages/ui/src/panel/Panel.ts @@ -1,7 +1,7 @@ +import { I18n, type SupportedLanguage } from '../i18n' +import { truncate } from '../utils' import { createCard, createReflectionLines, formatTime } from './cards' -import { I18n, type SupportedLanguage } from './i18n' import type { AgentActivity, PanelAgentAdapter } from './types' -import { truncate } from './utils' import styles from './Panel.module.css' diff --git a/packages/ui/src/cards.ts b/packages/ui/src/panel/cards.ts similarity index 97% rename from packages/ui/src/cards.ts rename to packages/ui/src/panel/cards.ts index a6006c0..844f0b7 100644 --- a/packages/ui/src/cards.ts +++ b/packages/ui/src/panel/cards.ts @@ -1,7 +1,7 @@ /** * Card HTML generation utilities for Panel */ -import { escapeHtml } from './utils' +import { escapeHtml } from '../utils' import styles from './Panel.module.css' diff --git a/packages/ui/src/types.ts b/packages/ui/src/panel/types.ts similarity index 100% rename from packages/ui/src/types.ts rename to packages/ui/src/panel/types.ts