From 7a6a4a43c595227d046aa1ce7130a27869e1c4fc Mon Sep 17 00:00:00 2001 From: dtoro Date: Thu, 12 Mar 2026 11:22:01 +0100 Subject: [PATCH] fix: folder org --- frontend/src/components/nodes/agent/AgentNode.tsx | 2 +- frontend/src/components/nodes/agent/renderingLogic.ts | 2 +- frontend/src/components/nodes/config/ConfigNode.tsx | 2 +- frontend/src/components/nodes/config/renderingLogic.ts | 4 ++-- frontend/src/components/nodes/render/RenderingNode.tsx | 4 ++-- frontend/src/lib/{ => graph}/configTypes.ts | 0 frontend/src/lib/{ => graph}/connectionStatus.ts | 0 frontend/src/lib/graph/nodeRegistry.ts | 4 ++-- frontend/src/lib/graph/nodeTypeBuilder.ts | 2 +- frontend/src/lib/{ => graph}/sourceRenderingLogic.ts | 0 10 files changed, 10 insertions(+), 10 deletions(-) rename frontend/src/lib/{ => graph}/configTypes.ts (100%) rename frontend/src/lib/{ => graph}/connectionStatus.ts (100%) rename frontend/src/lib/{ => graph}/sourceRenderingLogic.ts (100%) diff --git a/frontend/src/components/nodes/agent/AgentNode.tsx b/frontend/src/components/nodes/agent/AgentNode.tsx index 3488a78..f93b997 100644 --- a/frontend/src/components/nodes/agent/AgentNode.tsx +++ b/frontend/src/components/nodes/agent/AgentNode.tsx @@ -4,7 +4,7 @@ import { createAbstractNodeComponent, useAbstractNode, } from '@/lib/graph/abstractNode' -import { getConfigContent } from '@/lib/configTypes' +import { getConfigContent } from '@/lib/graph/configTypes' import { BaseNode, BaseNodeContent, diff --git a/frontend/src/components/nodes/agent/renderingLogic.ts b/frontend/src/components/nodes/agent/renderingLogic.ts index 25e9486..ffb2ed1 100644 --- a/frontend/src/components/nodes/agent/renderingLogic.ts +++ b/frontend/src/components/nodes/agent/renderingLogic.ts @@ -3,7 +3,7 @@ * Update mode is manual (user clicks Run on the renderer). */ -import type { SourceRenderingLogic } from '@/lib/sourceRenderingLogic' +import type { SourceRenderingLogic } from '@/lib/graph/sourceRenderingLogic' export const agentRenderingLogic: SourceRenderingLogic = { defaultUpdateMode: 'manual', diff --git a/frontend/src/components/nodes/config/ConfigNode.tsx b/frontend/src/components/nodes/config/ConfigNode.tsx index 3bc8881..202a73d 100644 --- a/frontend/src/components/nodes/config/ConfigNode.tsx +++ b/frontend/src/components/nodes/config/ConfigNode.tsx @@ -20,7 +20,7 @@ import { getConfigTypeId, isGroup, type ConfigTypeId, -} from '@/lib/configTypes' +} from '@/lib/graph/configTypes' import { BaseNode, BaseNodeContent, diff --git a/frontend/src/components/nodes/config/renderingLogic.ts b/frontend/src/components/nodes/config/renderingLogic.ts index 6342676..3a06174 100644 --- a/frontend/src/components/nodes/config/renderingLogic.ts +++ b/frontend/src/components/nodes/config/renderingLogic.ts @@ -4,8 +4,8 @@ */ import nunjucks from 'nunjucks' -import type { ResolvedContentResult, SourceRenderingLogicContext } from '@/lib/sourceRenderingLogic' -import { getConfigContent, getConfigTypeId, type ConfigTypeId } from '@/lib/configTypes' +import type { ResolvedContentResult, SourceRenderingLogicContext } from '@/lib/graph/sourceRenderingLogic' +import { getConfigContent, getConfigTypeId, type ConfigTypeId } from '@/lib/graph/configTypes' type Node = { id: string; type?: string; data?: unknown } type Edge = { id: string; source: string; target: string } diff --git a/frontend/src/components/nodes/render/RenderingNode.tsx b/frontend/src/components/nodes/render/RenderingNode.tsx index de7143c..62cba35 100644 --- a/frontend/src/components/nodes/render/RenderingNode.tsx +++ b/frontend/src/components/nodes/render/RenderingNode.tsx @@ -8,8 +8,8 @@ import { createAbstractNodeComponent, useAbstractNode, } from '@/lib/graph/abstractNode' -import { getConfigContent, getConfigType, getConfigTypeId } from '@/lib/configTypes' -import { getSourceRenderingLogic } from '@/lib/sourceRenderingLogic' +import { getConfigContent, getConfigType, getConfigTypeId } from '@/lib/graph/configTypes' +import { getSourceRenderingLogic } from '@/lib/graph/sourceRenderingLogic' import { useSyncConnectionStatus } from '@/lib/graph/nodeLifecycle' import { useResizeHeight } from '@/hooks/useResizeHeight' import { plantumlLanguage } from '@/lib/plantumlLanguage' diff --git a/frontend/src/lib/configTypes.ts b/frontend/src/lib/graph/configTypes.ts similarity index 100% rename from frontend/src/lib/configTypes.ts rename to frontend/src/lib/graph/configTypes.ts diff --git a/frontend/src/lib/connectionStatus.ts b/frontend/src/lib/graph/connectionStatus.ts similarity index 100% rename from frontend/src/lib/connectionStatus.ts rename to frontend/src/lib/graph/connectionStatus.ts diff --git a/frontend/src/lib/graph/nodeRegistry.ts b/frontend/src/lib/graph/nodeRegistry.ts index 9a3fb3e..432ab76 100644 --- a/frontend/src/lib/graph/nodeRegistry.ts +++ b/frontend/src/lib/graph/nodeRegistry.ts @@ -5,8 +5,8 @@ */ import type React from 'react' -import { registerSourceRenderingLogic } from '../sourceRenderingLogic' -import type { SourceRenderingLogic } from '../sourceRenderingLogic' +import { registerSourceRenderingLogic } from './sourceRenderingLogic' +import type { SourceRenderingLogic } from './sourceRenderingLogic' /** Node classification for UI: Psyche, Pneuma, Physis, Archon (AI Agent). */ export type NodeClassification = 'psyche' | 'pneuma' | 'physis' | 'archon' diff --git a/frontend/src/lib/graph/nodeTypeBuilder.ts b/frontend/src/lib/graph/nodeTypeBuilder.ts index 8f210a7..a259eef 100644 --- a/frontend/src/lib/graph/nodeTypeBuilder.ts +++ b/frontend/src/lib/graph/nodeTypeBuilder.ts @@ -19,7 +19,7 @@ import type React from 'react' import type { NodeTypeDescriptor, NodeClassification, NodeHelpEntry } from './nodeRegistry' -import type { SourceRenderingLogic } from '../sourceRenderingLogic' +import type { SourceRenderingLogic } from './sourceRenderingLogic' type OptionalDescriptor = Partial< Omit< diff --git a/frontend/src/lib/sourceRenderingLogic.ts b/frontend/src/lib/graph/sourceRenderingLogic.ts similarity index 100% rename from frontend/src/lib/sourceRenderingLogic.ts rename to frontend/src/lib/graph/sourceRenderingLogic.ts