Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZSeven-W/openpencil
/ functions
Functions
3,401 in github.com/ZSeven-W/openpencil
⨍
Functions
3,401
◇
Types & classes
844
Function
presetSupportsFormat
( preset: BuiltinProviderPreset, format: 'anthropic' | 'openai-compat', )
apps/web/src/lib/builtin-provider-presets.ts:337
Method
project
()
apps/web/server/opencode/v2/gen/sdk.gen.ts:4121
Method
project
()
apps/web/server/opencode/gen/sdk.gen.ts:4121
Method
prompt
* Send message * * Create and send a new message to a session, streaming the AI response.
apps/web/server/opencode/v2/gen/sdk.gen.ts:1935
Method
promptAsync
* Send async message * * Create and send a new message to a session asynchronously, starting the session if needed and returning immediately.
apps/web/server/opencode/v2/gen/sdk.gen.ts:2075
Method
provider
()
apps/web/server/opencode/v2/gen/sdk.gen.ts:4171
Method
provider
()
apps/web/server/opencode/gen/sdk.gen.ts:4171
Method
providers
* List config providers * * Get a list of all configured AI providers and their default models.
apps/web/server/opencode/v2/gen/sdk.gen.ts:837
Method
pty
()
apps/web/server/opencode/v2/gen/sdk.gen.ts:4126
Method
pty
()
apps/web/server/opencode/gen/sdk.gen.ts:4126
Method
publish
* Publish TUI event * * Publish a TUI event
apps/web/server/opencode/v2/gen/sdk.gen.ts:3716
Method
publish
* Publish TUI event * * Publish a TUI event
apps/web/server/opencode/gen/sdk.gen.ts:3716
Method
push
* Push the current document state before a mutation. * In batch mode, pushes are suppressed (batch captures the base state). * Debounces rapid p
packages/pen-engine/src/core/history-manager.ts:41
Function
queryKeyJsonReplacer
(_key: string, value: unknown)
apps/web/server/opencode/v2/gen/core/queryKeySerializer.gen.ts:17
Function
queryKeyJsonReplacer
(_key: string, value: unknown)
apps/web/server/opencode/gen/core/queryKeySerializer.gen.ts:17
Method
question
()
apps/web/server/opencode/v2/gen/sdk.gen.ts:4166
Method
question
()
apps/web/server/opencode/gen/sdk.gen.ts:4166
Function
quoteWinArg
(arg: string)
apps/web/server/api/ai/mcp-install.ts:286
Function
readJsonConfig
(filePath: string)
apps/web/server/api/ai/mcp-install.ts:247
Function
rebuildCount
()
apps/web/src/canvas/skia/__tests__/skia-interaction.test.ts:45
Method
redo
* Redo: restore the next document state. * Returns the restored document, or null if nothing to redo.
packages/pen-engine/src/core/history-manager.ts:84
Function
registerFont
()
apps/web/src/canvas/skia/__tests__/skia-engine.test.ts:43
Method
reject
* Reject question request * * Reject a question request from the AI assistant.
apps/web/server/opencode/v2/gen/sdk.gen.ts:2616
Method
remove
* Remove auth credentials * * Remove authentication credentials
apps/web/server/opencode/v2/gen/sdk.gen.ts:329
Method
remove
* Remove PTY session * * Remove and terminate a specific pseudo-terminal (PTY) session.
apps/web/server/opencode/v2/gen/sdk.gen.ts:616
Method
remove
* Remove workspace * * Remove an existing workspace.
apps/web/server/opencode/v2/gen/sdk.gen.ts:1016
Method
remove
* Remove worktree * * Remove a git worktree and delete its branch.
apps/web/server/opencode/v2/gen/sdk.gen.ts:1155
Method
remove
* Remove MCP OAuth * * Remove OAuth credentials for an MCP server
apps/web/server/opencode/v2/gen/sdk.gen.ts:3049
Method
remove
* Remove auth credentials * * Remove authentication credentials
apps/web/server/opencode/gen/sdk.gen.ts:329
Method
remove
* Remove workspace * * Remove an existing workspace.
apps/web/server/opencode/gen/sdk.gen.ts:1016
Method
remove
* Remove worktree * * Remove a git worktree and delete its branch.
apps/web/server/opencode/gen/sdk.gen.ts:1155
Method
remove
* Remove MCP OAuth * * Remove OAuth credentials for an MCP server
apps/web/server/opencode/gen/sdk.gen.ts:3049
Function
removeAgentIndicatorsByPrefix
(prefix: string)
apps/web/src/canvas/agent-indicator.ts:85
Function
removeItem
(key: string)
apps/web/src/utils/app-storage.ts:74
Method
removeNode
(id: string)
packages/pen-engine/src/core/document-manager.ts:94
Method
removePage
(pageId: string)
packages/pen-engine/src/core/design-engine.ts:171
Function
removePreviewNode
(nodeId: string)
apps/web/src/canvas/agent-indicator.ts:75
Method
removeVariable
(name: string)
packages/pen-engine/src/core/variable-manager.ts:31
Method
renameVariable
(oldName: string, newName: string)
packages/pen-engine/src/core/variable-manager.ts:58
Function
renderToImageData
(width: number, height: number)
packages/pen-engine/src/browser/canvas-bindings.ts:88
Method
renderToImageData
(width: number, height: number)
packages/pen-engine/src/browser/canvas-renderer.ts:167
Function
replaceInNode
(node: PenNode)
packages/pen-core/src/variables/replace-refs.ts:56
Method
reply
* Respond to permission request * * Approve or deny a permission request from the AI assistant.
apps/web/server/opencode/v2/gen/sdk.gen.ts:2466
Method
reply
* Reply to question request * * Provide answers to a question request from the AI assistant.
apps/web/server/opencode/v2/gen/sdk.gen.ts:2573
Method
reply
* Respond to permission request * * Approve or deny a permission request from the AI assistant.
apps/web/server/opencode/gen/sdk.gen.ts:2466
Method
reply
* Reply to question request * * Provide answers to a question request from the AI assistant.
apps/web/server/opencode/gen/sdk.gen.ts:2573
Function
requireApp
()
apps/cli/src/connection.ts:76
Method
reset
* Reset worktree * * Reset a worktree branch to the primary default branch.
apps/web/server/opencode/v2/gen/sdk.gen.ts:1267
Method
reset
* Reset worktree * * Reset a worktree branch to the primary default branch.
apps/web/server/opencode/gen/sdk.gen.ts:1267
Method
resetArc
(tool: string)
apps/web/src/canvas/skia/skia-interaction-arc.ts:72
Method
resetDrag
()
packages/pen-engine/src/browser/interaction/select-handler.ts:85
Method
resetMarquee
(engine: SkiaEngine)
apps/web/src/canvas/skia/skia-interaction-select.ts:291
Method
resetResize
(tool: string)
apps/web/src/canvas/skia/skia-interaction-resize.ts:153
Method
resetRotation
(tool: string)
apps/web/src/canvas/skia/skia-interaction-resize.ts:161
Function
resize
(width: number, height: number)
packages/pen-engine/src/browser/canvas-bindings.ts:85
Method
resize
(width: number, height: number)
packages/pen-renderer/src/renderer.ts:123
Method
resize
(width: number, height: number)
packages/pen-engine/src/browser/canvas-renderer.ts:87
Function
resolveTargetAtDepth
(nodeId: string)
apps/web/src/canvas/selection-context.ts:37
Method
resolveVariable
(ref: string)
packages/pen-engine/src/core/variable-manager.ts:86
Method
resource
()
apps/web/server/opencode/v2/gen/sdk.gen.ts:1144
Method
resource
()
apps/web/server/opencode/gen/sdk.gen.ts:1144
Method
respond
* Respond to permission * * Approve or deny a permission request from the AI assistant. * * @deprecated
apps/web/server/opencode/v2/gen/sdk.gen.ts:2421
Method
respond
* Respond to permission * * Approve or deny a permission request from the AI assistant. * * @deprecated
apps/web/server/opencode/gen/sdk.gen.ts:2421
Method
response
* Submit TUI response * * Submit a response to the TUI request queue to complete a pending request.
apps/web/server/opencode/v2/gen/sdk.gen.ts:3368
Method
response
* Submit TUI response * * Submit a response to the TUI request queue to complete a pending request.
apps/web/server/opencode/gen/sdk.gen.ts:3368
Function
restore
()
apps/web/src/canvas/skia/__tests__/skia-engine.test.ts:20
Function
reverseDescendantOrder
(node: PenNode)
packages/pen-mcp/src/document-manager.ts:345
Function
reverseDescendantOrder
(node: PenNode)
apps/web/src/utils/import-pen-document.ts:102
Method
revert
* Revert message * * Revert a specific message in a session, undoing its effects and restoring the previous state.
apps/web/server/opencode/v2/gen/sdk.gen.ts:2251
Method
revert
* Revert message * * Revert a specific message in a session, undoing its effects and restoring the previous state.
apps/web/server/opencode/gen/sdk.gen.ts:2251
Method
sanitizeAndAssignIds
(data: Record<string, unknown>)
apps/web/src/services/ai/agent-tool-executor.ts:555
Function
save
()
apps/web/src/canvas/skia/__tests__/skia-engine.test.ts:17
Function
scale
()
apps/web/src/canvas/skia/__tests__/skia-engine.test.ts:18
Function
scaleDescendantsInStore
(id: string, scaleX: number, scaleY: number)
apps/web/src/canvas/skia/__tests__/skia-interaction.test.ts:95
Function
sceneToScreen
( sceneX: number, sceneY: number, canvasRect: DOMRect, vp: ViewportState, )
packages/pen-renderer/src/viewport.ts:34
Method
sceneToScreen
* Convert scene coordinates to screen coordinates.
packages/pen-engine/src/core/viewport-controller.ts:58
Method
screenToScene
* Convert screen coordinates to scene coordinates. * For use without a canvas rect (assumes 0,0 origin).
packages/pen-engine/src/core/viewport-controller.ts:48
Method
select
Set the selection. Creates a new array reference.
packages/pen-engine/src/core/selection-manager.ts:38
Method
selectSession
* Select session * * Navigate the TUI to display the specified session.
apps/web/server/opencode/v2/gen/sdk.gen.ts:3761
Method
selectSession
* Select session * * Navigate the TUI to display the specified session.
apps/web/server/opencode/gen/sdk.gen.ts:3761
Function
serializeQueryKeyValue
(value: unknown)
apps/web/server/opencode/v2/gen/core/queryKeySerializer.gen.ts:83
Function
serializeQueryKeyValue
(value: unknown)
apps/web/server/opencode/gen/core/queryKeySerializer.gen.ts:83
Method
session
()
apps/web/server/opencode/v2/gen/sdk.gen.ts:1139
Method
session
()
apps/web/server/opencode/v2/gen/sdk.gen.ts:4151
Method
session
()
apps/web/server/opencode/gen/sdk.gen.ts:1139
Method
session
()
apps/web/server/opencode/gen/sdk.gen.ts:4151
Method
set
(value: T, key?: string)
apps/web/server/opencode/v2/gen/sdk.gen.ts:233
Method
set
* Set auth credentials * * Set authentication credentials
apps/web/server/opencode/v2/gen/sdk.gen.ts:352
Method
set
(value: T, key?: string)
apps/web/server/opencode/gen/sdk.gen.ts:233
Method
set
* Set auth credentials * * Set authentication credentials
apps/web/server/opencode/gen/sdk.gen.ts:352
Method
setActivePage
(pageId: string)
packages/pen-engine/src/core/design-engine.ts:175
Function
setCachedDocument
(filePath: string, doc: PenDocument)
packages/pen-mcp/src/document-manager.ts:420
Function
setConfig
(config: Config)
apps/web/server/opencode/v2/gen/client/client.gen.ts:27
Function
setConfig
(config: Config)
apps/web/server/opencode/gen/client/client.gen.ts:27
Function
setContainerHighlight
(v: ContainerHighlight | null)
apps/web/src/canvas/insertion-indicator.ts:28
Function
setFabricSyncLock
(v: boolean)
packages/pen-core/src/sync-lock.ts:14
Method
setHoveredId
Set the hovered node.
packages/pen-engine/src/core/selection-manager.ts:52
Function
setIconLookup
(fn: (name: string) => IconLookupResult | null)
packages/pen-figma/src/converters/common.ts:34
Function
setInsertionIndicator
(v: InsertionIndicator | null)
apps/web/src/canvas/insertion-indicator.ts:24
Function
setItem
(key: string, value: string)
apps/web/src/utils/app-storage.ts:60
← previous
next →
3,201–3,300 of 3,401, ranked by callers