MCPcopy Create free account

hub / github.com/ZSeven-W/openpencil / functions

Functions3,401 in github.com/ZSeven-W/openpencil

↓ 1 callersFunctionisValidOriginalSize
(size: ImageOriginalSize | undefined)
apps/web/src/services/ai/consumer-view-enrichment.ts:74
↓ 1 callersFunctionisWorkingDirty
* Compute workingDirty for a tracked file. Hashes the disk content and * compares to the blob OID at the autosave-ref tip (or heads-ref tip if no *
apps/desktop/git/git-engine.ts:788
↓ 1 callersFunctionisZstd
(bytes: Uint8Array)
packages/pen-figma/src/fig-parser.ts:51
↓ 1 callersFunctionjoinNormalizedPath
(baseDir: string, relativePath: string)
apps/web/src/utils/document-assets.ts:206
↓ 1 callersFunctionkebab
(str: string)
apps/web/src/services/ai/design-system-generator.ts:172
↓ 1 callersFunctionkillMcpServer
Kill the detached MCP server child (spawned by Nitro via mcp-server-manager).
apps/desktop/main.ts:700
↓ 1 callersFunctionlistPromptSections
()
packages/pen-mcp/src/tools/design-prompt.ts:323
↓ 1 callersFunctionlistTreePaths
* Recursively list every blob path inside a commit's root tree. Returns * POSIX-separated paths matching git's internal format.
apps/desktop/git/git-engine.ts:903
↓ 1 callersFunctionlistWorktreePaths
* Walk the worktree and return every regular file's POSIX-relative path. * Excludes ONLY `.git/`, `.op-history/`, and `node_modules/`. Tracked dotfil
apps/desktop/git/git-engine.ts:933
↓ 1 callersMethodloadAsync
(source: ResolvedImageSource)
packages/pen-renderer/src/image-loader.ts:100
↓ 1 callersMethodloadHtmlImage
(src: string)
packages/pen-renderer/src/image-loader.ts:118
↓ 1 callersFunctionloadPrefs
()
apps/desktop/main.ts:70
↓ 1 callersFunctionlogDir
()
packages/pen-mcp/src/tools/debug-logs-tail.ts:25
↓ 1 callersFunctionlookupIconByName
(name: string)
packages/pen-figma/src/converters/common.ts:38
↓ 1 callersFunctionmain
()
packages/pen-mcp/src/server.ts:223
↓ 1 callersFunctionmain
()
apps/desktop/dev.ts:168
↓ 1 callersFunctionmain
()
apps/cli/src/index.ts:128
↓ 1 callersFunctionmain
()
scripts/ensure-agent-native.cjs:79
↓ 1 callersFunctionmain
()
scripts/bundle-skill.ts:32
↓ 1 callersFunctionmakeAutosaveHandler
( get: () => GitStore, set: (partial: Partial<GitStore>) => void, )
apps/web/src/stores/git-store-helpers.ts:199
↓ 1 callersFunctionmakePolygon
( id: string, x: number, y: number, w: number, h: number, count = 6, )
apps/web/src/utils/__tests__/boolean-ops.test.ts:22
↓ 1 callersFunctionmakeReloadAfterApply
(get: () => GitStore)
apps/web/src/stores/git-store-helpers.ts:284
↓ 1 callersFunctionmakeSafeSectionId
(label: string, index: number)
apps/web/src/services/ai/orchestrator-prompt-optimizer.ts:543
↓ 1 callersFunctionmakeSyncAfterHeadMove
(get: () => GitStore)
apps/web/src/stores/git-store-helpers.ts:262
↓ 1 callersFunctionmakeUniqueId
(base: string, used: Set<string>, counters: Map<string, number>)
apps/web/src/services/ai/design-node-sanitization.ts:178
↓ 1 callersFunctionmapAlignItems
(align: string)
packages/pen-figma/src/figma-layout-mapper.ts:99
↓ 1 callersFunctionmapAlignItems
(align: string)
apps/web/src/services/figma/figma-layout-mapper.ts:99
↓ 1 callersFunctionmapCopilotReasoningEffort
Map ChatBody effort to Copilot SDK ReasoningEffort
apps/web/server/api/ai/chat.ts:834
↓ 1 callersFunctionmapFigmaArcData
Convert Figma arcData (radians, endAngle) to PenNode arc props (degrees, sweepAngle).
packages/pen-figma/src/converters/shape-converter.ts:84
↓ 1 callersFunctionmapFigmaFills
(paints: FigmaPaint[] | undefined)
apps/web/src/services/figma/figma-fill-mapper.ts:10
↓ 1 callersFunctionmapFigmaTextProps
( node: FigmaNodeChange, )
packages/pen-figma/src/figma-text-mapper.ts:9
↓ 1 callersFunctionmapHeightSizing
(node: FigmaNodeChange, parentStackMode?: string)
packages/pen-figma/src/figma-layout-mapper.ts:138
↓ 1 callersFunctionmapJustifyContent
(align: string)
packages/pen-figma/src/figma-layout-mapper.ts:84
↓ 1 callersFunctionmapJustifyContent
(align: string)
apps/web/src/services/figma/figma-layout-mapper.ts:84
↓ 1 callersFunctionmapLetterSpacing
(node: FigmaNodeChange)
packages/pen-figma/src/figma-text-mapper.ts:172
↓ 1 callersFunctionmapLetterSpacing
(node: FigmaNodeChange)
apps/web/src/services/figma/figma-text-mapper.ts:172
↓ 1 callersFunctionmapLineHeight
(node: FigmaNodeChange)
packages/pen-figma/src/figma-text-mapper.ts:151
↓ 1 callersFunctionmapLineHeight
(node: FigmaNodeChange)
apps/web/src/services/figma/figma-text-mapper.ts:151
↓ 1 callersFunctionmapOpenCodeEffort
( effort?: 'low' | 'medium' | 'high' | 'max', )
apps/web/server/api/ai/generate.ts:138
↓ 1 callersFunctionmapPadding
( node: FigmaNodeChange, )
packages/pen-figma/src/figma-layout-mapper.ts:56
↓ 1 callersFunctionmapPadding
( node: FigmaNodeChange, )
apps/web/src/services/figma/figma-layout-mapper.ts:56
↓ 1 callersFunctionmapScaleMode
(mode?: string)
packages/pen-figma/src/figma-fill-mapper.ts:137
↓ 1 callersFunctionmapScaleMode
(mode?: string)
apps/web/src/services/figma/figma-fill-mapper.ts:137
↓ 1 callersFunctionmapSingleEffect
(effect: FigmaEffect)
packages/pen-figma/src/figma-effect-mapper.ts:21
↓ 1 callersFunctionmapSingleEffect
(effect: FigmaEffect)
apps/web/src/services/figma/figma-effect-mapper.ts:21
↓ 1 callersFunctionmapSingleFill
(paint: FigmaPaint)
packages/pen-figma/src/figma-fill-mapper.ts:23
↓ 1 callersFunctionmapSingleFill
(paint: FigmaPaint)
apps/web/src/services/figma/figma-fill-mapper.ts:23
↓ 1 callersFunctionmapStrokeAlign
(align?: string)
packages/pen-figma/src/figma-stroke-mapper.ts:34
↓ 1 callersFunctionmapStrokeAlign
(align?: string)
apps/web/src/services/figma/figma-stroke-mapper.ts:34
↓ 1 callersFunctionmapStrokeCap
(cap?: string)
packages/pen-figma/src/figma-stroke-mapper.ts:60
↓ 1 callersFunctionmapStrokeCap
(cap?: string)
apps/web/src/services/figma/figma-stroke-mapper.ts:60
↓ 1 callersFunctionmapStrokeJoin
(join?: string)
packages/pen-figma/src/figma-stroke-mapper.ts:47
↓ 1 callersFunctionmapStrokeJoin
(join?: string)
apps/web/src/services/figma/figma-stroke-mapper.ts:47
↓ 1 callersFunctionmapTextAlign
(align?: string)
packages/pen-figma/src/figma-text-mapper.ts:185
↓ 1 callersFunctionmapTextAlign
(align?: string)
apps/web/src/services/figma/figma-text-mapper.ts:185
↓ 1 callersFunctionmapTextAlignVertical
(align?: string)
packages/pen-figma/src/figma-text-mapper.ts:200
↓ 1 callersFunctionmapTextAlignVertical
(align?: string)
apps/web/src/services/figma/figma-text-mapper.ts:200
↓ 1 callersFunctionmapTextGrowth
(resize?: string)
packages/pen-figma/src/figma-text-mapper.ts:213
↓ 1 callersFunctionmapTextGrowth
(resize?: string)
apps/web/src/services/figma/figma-text-mapper.ts:213
↓ 1 callersFunctionmapToGeminiAspectRatio
(w?: number, h?: number)
apps/web/server/api/ai/image-generate.ts:119
↓ 1 callersFunctionmapToOpenAISize
(w?: number, h?: number)
apps/web/server/api/ai/image-generate.ts:56
↓ 1 callersFunctionmapWidthSizing
(node: FigmaNodeChange, parentStackMode?: string)
packages/pen-figma/src/figma-layout-mapper.ts:115
↓ 1 callersFunctionmatchAlternatingBarLabel
* Detect the "alternating bar+label siblings" pattern. * * Signals required: * - Parent has `layout: 'horizontal'` * - ≥6 children (≥3 pairs)
apps/web/src/services/ai/sanitize-llm-anti-patterns.ts:309
↓ 1 callersFunctionmatchKeyword
* Match a single keyword against a (lowercased) user message. * * For ASCII keywords this uses **word-boundary regex matching** so that * a keyword
packages/pen-ai-skills/src/engine/resolver.ts:42
↓ 1 callersFunctionmatchPseudoRingFrame
(node: PenNode)
apps/web/src/services/ai/sanitize-llm-anti-patterns.ts:480
↓ 1 callersFunctionmatchScore
Score how well a style guide matches the requested tags (Jaccard-like)
packages/pen-ai-skills/src/style-guide/style-guide-loader.ts:35
↓ 1 callersFunctionmatchSectionKey
(title: string)
packages/pen-core/src/design-md-parser.ts:72
↓ 1 callersFunctionmatchStackedEllipses
* Detect the "stacked concentric ellipses" pattern. * * Signals required (all must hold): * - Node has explicit `layout: 'none'` (LLM opted out o
apps/web/src/services/ai/sanitize-llm-anti-patterns.ts:123
↓ 1 callersFunctionmeasureText
Measure text width using Canvas 2D.
apps/web/src/canvas/skia/skia-overlays.ts:37
↓ 1 callersFunctionmergeStyleCtxAttrs
(parent: StyleCtx, attrs: string)
packages/pen-engine/src/core/svg-parser.ts:516
↓ 1 callersFunctionmergeStyleCtxDOM
(parent: StyleCtx, el: Element)
packages/pen-engine/src/core/svg-parser.ts:474
↓ 1 callersFunctionmergeSymbolProps
* Merge symbol's properties into an instance node. * Instances inherit layout and visual properties from their master component, * but clipboard dat
packages/pen-figma/src/converters/frame-converter.ts:196
↓ 1 callersFunctionmergeThreeWay
* Three-way present case: do field-level merge between b, o, t and detect both * `both-modified-same-field` and `reparent-conflict` cases.
packages/pen-core/src/merge/node-merge.ts:531
↓ 1 callersMethodmessages
* Get session messages * * Retrieve all messages in a session, including user prompts and AI responses.
apps/web/server/opencode/gen/sdk.gen.ts:1895
↓ 1 callersFunctionnavbarBottomBorder
(theme?: 'dark' | 'light')
apps/web/src/services/ai/role-definitions/index.ts:51
↓ 1 callersFunctionnavbarFill
(theme?: 'dark' | 'light')
apps/web/src/services/ai/role-definitions/index.ts:48
↓ 1 callersFunctionneedsHeroPhoneTwoColumnInstruction
( subtaskLabel: string, compactPrompt: string, fullPrompt: string, )
apps/web/src/services/ai/orchestrator-sub-agent.ts:697
↓ 1 callersFunctionneedsNativeDenseCardInstruction
( subtaskLabel: string, compactPrompt: string, fullPrompt: string, )
apps/web/src/services/ai/orchestrator-sub-agent.ts:655
↓ 1 callersFunctionneedsPhoneMockupInstruction
* Decide whether this sub-agent should see the phone mockup style guide. * * Mobile generation (root width <= 480) NEVER needs it: the design itself
apps/web/src/services/ai/orchestrator-sub-agent.ts:732
↓ 1 callersFunctionneedsTableStructureInstruction
( subtaskLabel: string, compactPrompt: string, fullPrompt: string, )
apps/web/src/services/ai/orchestrator-sub-agent.ts:680
↓ 1 callersFunctionnodeCandidates
()
apps/web/server/api/ai/mcp-install.ts:72
↓ 1 callersFunctionnodeToLocalPath
Convert a shape node to an SVG path `d` string in local coordinates (origin at 0,0).
packages/pen-core/src/boolean-ops.ts:159
↓ 1 callersFunctionnodeToPathD
* Convert any parsed SVG node type into an SVG path `d` string. * SVGs can contain <circle>, <ellipse>, <rect>, <line>, <path>, etc. * We convert th
apps/web/src/components/panels/icon-section.tsx:32
↓ 1 callersFunctionnormalizeAlign
(v: unknown)
apps/web/src/components/panels/node-preview-svg.tsx:221
↓ 1 callersFunctionnormalizeAlignItems
* Normalize a raw `alignItems` string into the three values the layout * engine actually implements: `start`, `center`, `end`. * * Accepts a genero
packages/pen-core/src/layout/engine.ts:459
↓ 1 callersFunctionnormalizeAlignValue
(value: unknown)
packages/pen-react/src/components/sections/layout-section.tsx:58
↓ 1 callersFunctionnormalizeAlignValue
(value: unknown)
apps/web/src/components/panels/layout-section.tsx:49
↓ 1 callersFunctionnormalizeDashboardMainSubtasks
(plan: OrchestratorPlan)
apps/web/src/services/ai/orchestrator.ts:258
↓ 1 callersFunctionnormalizeEnvValue
(key: string, value: unknown)
apps/web/server/utils/resolve-claude-agent-env.ts:14
↓ 1 callersFunctionnormalizeFormInputWidths
(_parent: FrameNode, children: PenNode[])
apps/web/src/services/ai/role-resolver.ts:1009
↓ 1 callersFunctionnormalizeIdBase
(id: string | undefined, type: PenNode['type'])
apps/web/src/services/ai/design-node-sanitization.ts:173
↓ 1 callersFunctionnormalizeImageTransform
(transform?: FigmaMatrix)
packages/pen-figma/src/figma-fill-mapper.ts:113
↓ 1 callersFunctionnormalizeImageTransform
(transform?: FigmaMatrix)
apps/web/src/services/figma/figma-fill-mapper.ts:113
↓ 1 callersFunctionnormalizeInputTrailingIconAlignment
(parent: FrameNode, children: PenNode[])
apps/web/src/services/ai/role-resolver.ts:1024
↓ 1 callersFunctionnormalizeJustify
(v: unknown)
apps/web/src/components/panels/node-preview-svg.tsx:214
↓ 1 callersFunctionnormalizeJustifyContent
( value: unknown, )
packages/pen-core/src/layout/engine.ts:408
↓ 1 callersFunctionnormalizeJustifyValue
(value: unknown)
packages/pen-react/src/components/sections/layout-section.tsx:30
↓ 1 callersFunctionnormalizeJustifyValue
(value: unknown)
apps/web/src/components/panels/layout-section.tsx:21
↓ 1 callersFunctionnormalizeNodeFill
(node: PenNode)
packages/pen-core/src/normalize/normalize-stroke-fill-schema.ts:252
↓ 1 callersFunctionnormalizeNodeFills
* Normalize gradient stop offsets in all fills on a node (in-place). * Handles stops without an offset field by auto-distributing them evenly. * Als
apps/web/src/services/ai/design-canvas-ops.ts:152
← previousnext →2,001–2,100 of 3,401, ranked by callers