Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions apps/agent-forge/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import './ui/base.css';
import './components/layout.css';
import './components/topbarNarrow.css';
import './screens/agents/agents.css';
import './components/drawer.css';
import { ReactFlowProvider } from '@xyflow/react';
import { AppStateProvider } from './state/AppState';
import { ErrorBoundary } from './components/ErrorBoundary';
Expand Down
2 changes: 1 addition & 1 deletion apps/agent-forge/src/canvas/AgentNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const NODE_TYPES: Record<string, typeof AgentNode> = Object.fromEntries(
GRAPH_NODE_TYPES.map((type) => [flowNodeType(type), AgentNode])
);

/** The MiniMap draws each node in its type's swatch colour (see `.minimap-node-*` in layout.css). */
/** The MiniMap draws each node in its type's swatch colour (see `.minimap-node-*` in screens/agents/agents.css). */
export function miniMapNodeClassName(node: { data: Record<string, unknown> }): string {
const graphNode = (node.data as Partial<AgentNodeData>).graphNode;
return graphNode ? `minimap-node-${graphNode.type}` : '';
Expand Down
2 changes: 1 addition & 1 deletion apps/agent-forge/src/canvas/paletteActions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HOOK_TEMPLATES, type HookTemplate } from '../hooks/hookTemplates';
import type { AgentNodeHookPhase, GraphPosition } from '../graph/types';

/** Approximate rendered size of an `.rf-node` (layout.css), used to centre a newly added node. */
/** Approximate rendered size of an `.rf-node` (screens/agents/agents.css), used to centre a newly added node. */
const NODE_SIZE = { width: 190, height: 80 };

/**
Expand Down
Loading
Loading