/** * DEPRECATED: MycelialIntelligence shape is no longer used as a canvas tool. * The functionality has been moved to the permanent UI bar (MycelialIntelligenceBar.tsx). * * This shape util is kept ONLY for backwards compatibility with existing boards * that may have MycelialIntelligence shapes saved. It renders a placeholder message. */ import { BaseBoxShapeUtil, TLBaseShape, HTMLContainer } from '@tldraw/tldraw' export type IMycelialIntelligenceShape = TLBaseShape< 'MycelialIntelligence', { w: number h: number // Keep old props for migration compatibility prompt?: string conversationHistory?: Array<{ role: 'user' | 'assistant'; content: string }> } > export class MycelialIntelligenceShape extends BaseBoxShapeUtil { static override type = 'MycelialIntelligence' as const getDefaultProps(): IMycelialIntelligenceShape['props'] { return { w: 400, h: 300, } } component(shape: IMycelialIntelligenceShape) { return (
🍄🧠 Mycelial Intelligence This tool has moved to the floating bar at the top of the screen. You can delete this shape - it's no longer needed.
) } indicator(shape: IMycelialIntelligenceShape) { return } }