diff --git a/src/workspaces/officerdev/src/apps/CodeEditor/index.ts b/src/workspaces/officerdev/src/apps/CodeEditor/index.ts index 508b1966..b096c2a2 100644 --- a/src/workspaces/officerdev/src/apps/CodeEditor/index.ts +++ b/src/workspaces/officerdev/src/apps/CodeEditor/index.ts @@ -5,6 +5,9 @@ import { CodeEditorHeader } from './CodeEditorHeader'; import { panelName } from '../../locales'; export { CodeEditorView } from './CodeEditor'; +// The tree on its own, for a panel that wants the editor's file list against its own directory rather +// than the whole editor. It only LISTS — opening is the caller's callback. +export { FileTree } from './FileTree'; export const appRegistryMetas: AppRegistryMeta[] = [ { diff --git a/src/workspaces/officerdev/src/index.ts b/src/workspaces/officerdev/src/index.ts index 614293be..c2bf4716 100644 --- a/src/workspaces/officerdev/src/index.ts +++ b/src/workspaces/officerdev/src/index.ts @@ -36,7 +36,7 @@ export { SessionList, ChatDetailPanel } from './apps/ChatHistory'; export type { SelectedSession } from './apps/ChatHistory'; // The chat URL vocabulary, so the /chat screen, the panels and the server all spell a group the same way. export { chatListPath, chatNewPath, chatSessionPath, cwdFromSplat, GROUP_SEGMENT } from './apps/ChatHistory'; -export { CodeEditorView } from './apps/CodeEditor'; +export { CodeEditorView, FileTree } from './apps/CodeEditor'; // Same for /system-monitor, where the param is the scope rather than a section. export { DEFAULT_MONITOR_SCOPE, monitorScopePath, isMonitorScope } from './apps/SystemMonitor/shared';