MCPcopy Create free account

hub / github.com/benjitaylor/agentation / functions

Functions617 in github.com/benjitaylor/agentation

↓ 119 callersFunctiondelay
(ms: number)
package/example/src/app/components/FeaturesDemo.tsx:2058
↓ 45 callersFunctiondelay
(ms: number)
package/example/src/app/components/HeroDemo.tsx:1679
↓ 43 callersFunctiongetSourceLocation
(element: HTMLElement)
package/src/utils/source-location.test.ts:246
↓ 34 callersFunctionattachReact18Fiber
( element: HTMLElement, fiber: MockFiberNode, randomSuffix = "abc123" )
package/src/utils/source-location.test.ts:42
↓ 33 callersFunctioncreateMockFiber
( name: string, parent?: MockFiber, options: { tag?: number } = {}, )
package/src/utils/react-detection.test.ts:22
↓ 32 callersFunctioncreateDebugSource
( fileName: string, lineNumber: number, columnNumber?: number )
package/src/utils/source-location.test.ts:61
↓ 21 callersFunctiongetReactComponentName
( element: HTMLElement, config?: ReactDetectionConfig, )
package/src/utils/react-detection.ts:619
↓ 20 callersFunctioncreateFunctionComponentFiber
( name: string, debugSource?: MockDebugSource | null, parent?: MockFiberNode )
package/src/utils/source-location.test.ts:73
↓ 20 callersFunctionrunAnimation
()
package/example/src/app/components/FeaturesDemo.tsx:129
↓ 20 callersFunctionsendError
* Send error response.
mcp/src/server/http.ts:208
↓ 17 callersFunctiongetTenantStore
()
mcp/src/server/tenant-store.ts:37
↓ 16 callersFunctiongetStore
()
mcp/src/server/store.ts:33
↓ 16 callersFunctionhideTooltipsUntilMouseLeave
()
package/src/components/page-toolbar-css/index.tsx:518
↓ 15 callersFunctionclosestCrossingShadow
(element: Element, selector: string)
package/src/utils/element-identification.ts:27
↓ 15 callersFunctioncreateElementWithFiber
( fiber: MockFiber, options: { className?: string } = {}, )
package/src/utils/react-detection.test.ts:41
↓ 15 callersMethodemit
* Emit an event to all subscribers.
mcp/src/server/events.ts:51
↓ 14 callersFunctionsendJson
* Send JSON response.
mcp/src/server/http.ts:195
↓ 12 callersFunctiondelay
(ms: number)
package/example/src/app/components/TextSelectionDemo.tsx:453
↓ 11 callersFunctionsuccess
(data: unknown)
mcp/src/server/mcp.ts:362
↓ 10 callersFunctionhoverElement
( element: string, ref: React.RefObject<HTMLElement | null>, preferBelow = false, dura
package/example/src/app/components/FeaturesDemo.tsx:1671
↓ 10 callersFunctionisReactPage
()
package/src/utils/react-detection.ts:389
↓ 10 callersFunctionisValidUrl
(url: string)
package/src/components/page-toolbar-css/index.tsx:170
↓ 8 callersFunctionattachFiber
(element: HTMLElement, fiber: unknown)
package/src/utils/react-detection.test.ts:36
↓ 8 callersFunctionclick
()
package/example/src/app/components/FeaturesDemo.tsx:1336
↓ 8 callersFunctionerror
(message: string)
mcp/src/server/mcp.ts:368
↓ 8 callersFunctionlog
* Log to stderr so diagnostic output never corrupts the MCP stdio channel. * When `server` runs without --mcp-only, both the HTTP server and MCP stdi
mcp/src/server/http.ts:36
↓ 7 callersFunctiondeepElementFromPoint
* Recursively pierces shadow DOMs to find the deepest element at a point. * document.elementFromPoint() stops at shadow hosts, so we need to * recur
package/src/components/page-toolbar-css/index.tsx:238
↓ 7 callersFunctiongenerateId
()
mcp/src/server/sqlite.ts:145
↓ 7 callersFunctiongetCenter
(ref: React.RefObject<HTMLElement | null>)
package/example/src/app/components/FeaturesDemo.tsx:1297
↓ 7 callersFunctiongetComponentNameFromType
(type: ComponentType | null)
package/src/utils/react-detection.ts:459
↓ 6 callersFunctiongenerateSelector
(el: HTMLElement)
package/src/components/design-mode/section-detection.ts:57
↓ 6 callersFunctiongetComponentName
* Gets the display name of a React component from its fiber * * @param fiber - React fiber node * @returns Component name or null
package/src/utils/source-location.ts:249
↓ 6 callersFunctiongetParentElement
* Gets the parent element, crossing shadow DOM boundaries. * When inside a shadow root with no parentElement, returns the shadow host.
package/src/utils/element-identification.ts:13
↓ 6 callersFunctionpersistEvent
(event: AFSEvent)
mcp/src/server/sqlite.ts:317
↓ 6 callersFunctionsyncAnnotation
( endpoint: string, sessionId: string, annotation: Annotation )
package/src/utils/sync.ts:63
↓ 5 callersFunctionaddCandidate
(el: HTMLElement)
package/src/components/design-mode/spatial.ts:614
↓ 5 callersFunctioncleanup
()
mcp/src/server/mcp.ts:405
↓ 5 callersMethodclose
()
mcp/src/server/sqlite.ts:600
↓ 5 callersMethodgetAnnotation
(id: string)
mcp/src/types.ts:189
↓ 5 callersFunctiongetElementClasses
(target: HTMLElement)
package/src/utils/element-identification.ts:370
↓ 5 callersFunctiongetNearbyText
(element: HTMLElement)
package/src/utils/element-identification.ts:221
↓ 5 callersFunctiongetStorageKey
(pathname: string)
package/src/utils/storage.ts:14
↓ 5 callersFunctionidentifyElement
(target: HTMLElement)
package/src/utils/element-identification.ts:103
↓ 5 callersFunctionloadAnnotations
(pathname: string)
package/src/utils/storage.ts:18
↓ 5 callersFunctionsaveAnnotationsWithSyncMarker
( pathname: string, annotations: Annotation[], sessionId: string )
package/src/utils/storage.ts:97
↓ 5 callersFunctionsendSSEEvent
* Send an SSE event to a response stream.
mcp/src/server/http.ts:596
↓ 4 callersFunctionanimate
()
package/example/src/app/components/FeaturesDemo.tsx:2870
↓ 4 callersFunctionclean
(n: (NearbyElement & { _dist: number }) | null)
package/src/components/design-mode/spatial.ts:215
↓ 4 callersFunctionclearAll
()
mcp/src/server/store.ts:350
↓ 4 callersFunctionclearWireframeState
(pathname: string)
package/src/utils/storage.ts:236
↓ 4 callersFunctiondetectSourceFile
(element: Element)
package/src/components/page-toolbar-css/index.tsx:269
↓ 4 callersFunctiongetAccessibilityInfo
(target: HTMLElement)
package/src/utils/element-identification.ts:560
↓ 4 callersFunctiongetDetailedComputedStyles
(target: HTMLElement)
package/src/utils/element-identification.ts:451
↓ 4 callersFunctiongetForensicComputedStyles
(target: HTMLElement)
package/src/utils/element-identification.ts:514
↓ 4 callersFunctiongetFullElementPath
(target: HTMLElement)
package/src/utils/element-identification.ts:586
↓ 4 callersFunctiongetNearbyElements
(element: HTMLElement)
package/src/utils/element-identification.ts:310
↓ 4 callersFunctiongetSourceLocation
(element: HTMLElement)
package/src/utils/source-location.ts:673
↓ 4 callersFunctionhandleFormatChange
(e: CustomEvent<OutputFormat>)
package/example/src/app/MobileNav.tsx:306
↓ 4 callersFunctionhandler
(e: MessageEvent)
package/src/components/page-toolbar-css/index.tsx:989
↓ 4 callersFunctionisCloudMode
* Check if we're in cloud mode (API key is set).
mcp/src/server/http.ts:55
↓ 4 callersFunctionlabelSection
(el: HTMLElement)
package/src/components/design-mode/section-detection.ts:103
↓ 4 callersFunctionrowToSession
(row: Record<string, unknown>)
mcp/src/server/sqlite.ts:149
↓ 4 callersFunctionupdateActive
Sets the active id if updates are not paused as a result of hash changes
package/example/src/hooks/useActiveScrollElement.ts:41
↓ 3 callersFunctionattachReact17Fiber
( element: HTMLElement, fiber: MockFiberNode, randomSuffix = "abc123" )
package/src/utils/source-location.test.ts:51
↓ 3 callersFunctionclearReactDetectionCache
()
package/src/utils/react-detection.ts:435
↓ 3 callersFunctioncreateSession
( endpoint: string, url: string )
package/src/utils/sync.ts:26
↓ 3 callersFunctiondeleteAnnotation
( endpoint: string, annotationId: string )
package/src/utils/sync.ts:105
↓ 3 callersFunctionfocusBypassingTraps
Focus an element while temporarily blocking focus-trap libraries (e.g. Radix * FocusScope) from reclaiming focus via focusin/focusout handlers.
package/src/components/annotation-popup-css/index.tsx:14
↓ 3 callersFunctiongenerateId
()
mcp/src/server/store.ts:72
↓ 3 callersFunctiongetPendingAnnotations
(sessionId: string)
mcp/src/server/store.ts:226
↓ 3 callersMethodgetSession
(id: string)
mcp/src/types.ts:179
↓ 3 callersFunctiongetSessionStorageKey
(pathname: string)
package/src/utils/storage.ts:251
↓ 3 callersFunctiongetSessionWithAnnotations
(id: string)
mcp/src/server/store.ts:97
↓ 3 callersFunctiongetSpatialContext
( targetRect: SectionRect, siblings?: ExplicitCandidate[], )
package/src/components/design-mode/spatial.ts:136
↓ 3 callersFunctiongetWebhookUrls
* Get configured webhook URLs from environment variables. * * Supports: * - AGENTATION_WEBHOOK_URL: Single webhook URL * - AGENTATION_WEBHOOKS: Co
mcp/src/server/http.ts:110
↓ 3 callersFunctionhasReactFiber
* Check if an element has React fiber keys
package/src/utils/react-detection.ts:375
↓ 3 callersFunctionhttpPatch
(path: string, body: unknown)
mcp/src/server/mcp.ts:56
↓ 3 callersFunctionhttpPost
(path: string, body: unknown)
mcp/src/server/mcp.ts:73
↓ 3 callersFunctionidentifyElementWithReact
* Composes element identification with React component detection. * This is the boundary where we combine framework-agnostic element ID * with React
package/src/components/page-toolbar-css/index.tsx:97
↓ 3 callersFunctionisElementFixed
(element: HTMLElement)
package/src/components/page-toolbar-css/index.tsx:252
↓ 3 callersFunctionisMajorVersion
(version: string)
package/example/src/app/changelog/page.tsx:27
↓ 3 callersFunctionlistSessions
()
mcp/src/server/store.ts:125
↓ 3 callersFunctionquestion
(q: string)
mcp/src/cli.ts:27
↓ 3 callersFunctionsaveAnnotations
(pathname: string, annotations: T[])
package/src/utils/storage.ts:31
↓ 3 callersFunctionsaveSessionId
(pathname: string, sessionId: string)
package/src/utils/storage.ts:264
↓ 3 callersMethodupdateAnnotation
( id: string, data: Partial<Omit<Annotation, "id" | "sessionId" | "createdAt">> )
mcp/src/types.ts:190
↓ 2 callersMethodclose
()
mcp/src/types.ts:212
↓ 2 callersFunctioncomputeSectionSnap
( rect: SnapRect, sections: DetectedSection[], excludeIds: Set<string>, extraRects?: SnapRect[],
package/src/components/design-mode/rearrange.tsx:26
↓ 2 callersFunctioncomputeSnap
( rect: SnapRect, others: DesignPlacement[], excludeIds: Set<string>, activeEdges?: { left?: boole
package/src/components/design-mode/index.tsx:41
↓ 2 callersFunctioncreateClassComponentFiber
( name: string, debugSource?: MockDebugSource | null, parent?: MockFiberNode )
package/src/utils/source-location.test.ts:90
↓ 2 callersFunctioncreateForwardRefFiber
( name: string, debugSource?: MockDebugSource | null, parent?: MockFiberNode )
package/src/utils/source-location.test.ts:139
↓ 2 callersFunctioncreateMemoryStore
()
mcp/src/server/store.ts:67
↓ 2 callersFunctiondetectGroups
(items: { label: string; rect: SectionRect }[])
package/src/components/design-mode/spatial.ts:418
↓ 2 callersFunctiondrawStrokesOnCanvas
( ctx: CanvasRenderingContext2D, strokes: Array<{ points: Array<{ x: number; y: number }>; color:
package/src/utils/screenshot.ts:241
↓ 2 callersFunctionformatAlignment
* Format alignment as human-readable text.
package/src/components/design-mode/spatial.ts:306
↓ 2 callersFunctionformatCSSPosition
( rect: SectionRect, layout: PageLayout, )
package/src/components/design-mode/spatial.ts:726
↓ 2 callersFunctionformatReferenceFrame
* Generate a reference frame section with viewport, content area, and * pixel-to-CSS translation formulas. Included in all non-compact output.
package/src/components/design-mode/output.ts:33
↓ 2 callersFunctionformatSpatialLines
( ctx: SpatialContext, options: { includeLeftRight?: boolean; includePixelRef?: boolean; pixelRef?: stri
package/src/components/design-mode/spatial.ts:319
↓ 2 callersFunctiongenerateDesignOutput
( placements: DesignPlacement[], viewport: ViewportSize, options?: DesignOutputOptions, detailLeve
package/src/components/design-mode/output.ts:77
↓ 2 callersFunctiongenerateId
()
package/src/components/design-mode/index.tsx:123
next →1–100 of 617, ranked by callers