MCPcopy Create free account

hub / github.com/KASAHARA-Kyohei/vikokoro / functions

Functions307 in github.com/KASAHARA-Kyohei/vikokoro

↓ 58 callersFunctioneditorReducer
(state: EditorAppState, action: EditorAction)
src/editor/state.ts:332
↓ 38 callersFunctionbumpSaveRevision
(state: EditorAppState)
src/editor/state.ts:143
↓ 35 callersFunctioncloneDocumentState
(doc: DocumentState)
src/editor/domain/snapshot.ts:11
↓ 34 callersFunctionupdateActiveDoc
(state: EditorAppState, updater: (doc: Document) => Document)
src/editor/state.ts:318
↓ 27 callersFunctionreadString
( obj: Record<string, unknown>, key: string, path: string, errors: string[], minLength = 0, )
src/features/llm/schema.ts:212
↓ 27 callersFunctiontransition
(state, event)
tests/offline/editorEnter.test.cjs:9
↓ 24 callersFunctionmakeReadyState
()
tests/offline/state.test.cjs:5
↓ 21 callersFunctionwithTree
(state)
tests/offline/state.test.cjs:55
↓ 20 callersFunctionfail
(errors: string[])
src/features/llm/schema.ts:174
↓ 19 callersFunctionpathFor
(path: string, key: string)
src/features/llm/schema.ts:186
↓ 18 callersFunctionexpectRecord
( value: unknown, path: string, errors: string[], )
src/features/llm/schema.ts:200
↓ 14 callersFunctiondocumentStateEquals
(a: DocumentState, b: DocumentState)
src/editor/domain/snapshot.ts:55
↓ 14 callersFunctiontransition
( state: EditorEnterState, decision: EditorEnterDecision | null = null, )
src/editor/domain/editorEnter.ts:44
↓ 13 callersFunctioncreateEditorEnterState
()
src/editor/domain/editorEnter.ts:40
↓ 13 callersFunctionreadLiteral
( obj: Record<string, unknown>, key: string, expected: string, path: string, errors: string[], )
src/features/llm/schema.ts:288
↓ 13 callersFunctionresolveKeyboardCommand
( ctx: KeyboardResolverContext, input: KeyboardInput, )
src/app/keyboard/resolveKeyboardCommand.ts:13
↓ 12 callersFunctionbaseContext
()
tests/offline/keyboardResolve.test.cjs:5
↓ 12 callersFunctionsanitizeNodePositions
( doc: Pick<DocumentState, "rootId" | "nodes">, input: Record<NodeId, CanvasPoint> | undefined, )
src/editor/layout.ts:208
↓ 11 callersFunctionenterKeyDown
(overrides = {})
tests/offline/editorEnter.test.cjs:13
↓ 11 callersFunctiongetNodeSize
(node: Pick<Node, "text">)
src/editor/layout.ts:88
↓ 10 callersFunctionsanitizeEdgeAnchors
( doc: Pick<DocumentState, "nodes">, input: Record<string, EdgeAnchor> | undefined, )
src/editor/domain/edgeAnchors.ts:22
↓ 9 callersFunctiongetEdgeEndpoints
( from: CanvasPoint, to: CanvasPoint, anchor?: EdgeAnchor, fromSize: NodeSize = DEFAULT_NODE_SIZE, t
src/editor/layout.ts:282
↓ 9 callersFunctionsanitizeCustomLinks
( doc: Pick<DocumentState, "nodes">, input: Record<string, CustomLink> | undefined, )
src/editor/domain/customLinks.ts:46
↓ 8 callersFunctiongenerateId
()
src/editor/domain/id.ts:1
↓ 8 callersFunctionmakeDoc
()
tests/offline/freeLayout.test.cjs:22
↓ 8 callersFunctionmakeDoc
()
tests/offline/treeOps.test.cjs:10
↓ 8 callersFunctionmakeEdgeKey
(parentId: NodeId, childId: NodeId)
src/editor/domain/edgeAnchors.ts:5
↓ 8 callersFunctionresolveFoldChordKey
( pending: boolean, key: string, )
src/app/keyboard/foldChord.ts:22
↓ 8 callersFunctionsanitizeDocumentViewState
(doc: Document)
src/editor/state.ts:219
↓ 7 callersFunctionbuildJumpSession
( doc: DocumentState, candidateNodeIds?: ReadonlySet<NodeId>, )
src/features/jump/model.ts:90
↓ 7 callersFunctioncanCreateCustomLink
( doc: Pick<DocumentState, "nodes" | "customLinks">, fromId: NodeId, toId: NodeId, )
src/editor/domain/customLinks.ts:20
↓ 7 callersFunctionlabelNodeRef
(nodeRef: string)
src/features/llm/preview.ts:176
↓ 7 callersFunctionreadBoolean
( obj: Record<string, unknown>, key: string, path: string, errors: string[], )
src/features/llm/schema.ts:253
↓ 7 callersFunctionresolveNodeId
(nodeRef: string)
src/features/llm/preview.ts:169
↓ 7 callersFunctionsanitizeStickyNotes
( input: Pick<DocumentState, "stickyNotes">["stickyNotes"] | undefined, )
src/editor/domain/stickyNotes.ts:22
↓ 6 callersFunctionapplyEditorEnterEvent
(event: EditorEnterEvent)
src/editor/EditorView.tsx:224
↓ 6 callersFunctionbuildSearchResults
( doc: Document, query: string, language: AppLanguage = "en", )
src/features/search/model.ts:50
↓ 6 callersFunctionbuildVisibleTreeProjection
( doc: Document, focusRootId: NodeId | null, )
src/editor/domain/visibleTree.ts:84
↓ 6 callersFunctioncomputeLayout
(doc: DocumentState)
src/editor/layout.ts:222
↓ 6 callersFunctiondescribeType
(value: unknown)
src/features/llm/schema.ts:194
↓ 6 callersFunctiongetNodeSizes
( nodes: Record<NodeId, Pick<Node, "text">>, )
src/editor/layout.ts:100
↓ 6 callersFunctiongetSearchPathPrefix
(language: AppLanguage)
src/i18n/uiText.ts:232
↓ 6 callersFunctionmakeDocument
()
tests/offline/llmSchema.test.cjs:16
↓ 6 callersFunctionnodeLabel
(doc: Document, nodeId: string, language: AppLanguage)
src/features/llm/errorFormatter.ts:7
↓ 6 callersFunctionnormalizeFocusRoot
(state: EditorAppState)
src/editor/state.ts:283
↓ 6 callersFunctionok
(value: T)
src/features/llm/schema.ts:170
↓ 6 callersFunctionparseErrorMessage
(error: unknown)
src/features/llm/settingsRepository.ts:123
↓ 6 callersFunctionreadInteger
( obj: Record<string, unknown>, key: string, path: string, errors: string[], min: number, )
src/features/llm/schema.ts:268
↓ 6 callersFunctionrectFor
(nodeId: NodeId)
src/editor/domain/freeLayout.ts:86
↓ 6 callersFunctionresolveNodeRef
( ref: string, nodes: Record<NodeId, MutableNode>, tempIdToNodeId: Record<string, NodeId>, )
src/features/llm/apply.ts:43
↓ 6 callersFunctionshouldFollowCursor
( initialViewPositioned: boolean, previousCursorId: string | null, nextCursorId: string, )
src/editor/domain/viewport.ts:25
↓ 5 callersFunctiongetEmptyNodeLabel
(language: AppLanguage)
src/i18n/uiText.ts:228
↓ 5 callersFunctionload_api_key_with_fallback
( app: &tauri::AppHandle, settings_file: &LlmSettingsFile, )
src-tauri/src/llm_repo.rs:205
↓ 5 callersFunctionmakeCustomLinkId
(fromId: NodeId, toId: NodeId)
src/editor/domain/customLinks.ts:3
↓ 5 callersFunctionmakeDoc
(nodeCount = 30)
tests/offline/jump.test.cjs:11
↓ 5 callersFunctionmakeDoc
()
tests/offline/visibleTree.test.cjs:10
↓ 5 callersFunctionmakeDoc
()
tests/offline/search.test.cjs:5
↓ 5 callersFunctionmoveCursor
( doc: Document, direction: "parent" | "child" | "nextSibling" | "prevSibling", )
src/editor/domain/treeOps.ts:6
↓ 5 callersFunctionparentGroupLabel
(parentRef: string | undefined)
src/features/llm/preview.ts:183
↓ 5 callersFunctionresolveJumpKey
({ session, prefix, key, ctrlKey, metaKey, altKey, }: ResolveJumpKeyParams)
src/features/jump/model.ts:137
↓ 5 callersFunctionresolveNodeId
( nodeRef: string, simNodes: Record<string, SimNode>, tempIdToNodeId: Record<string, string>, )
src/features/llm/schema.ts:552
↓ 5 callersFunctionsanitizeCollapsedNodeIds
( doc: DocumentState, collapsedNodeIds: readonly NodeId[] | undefined, )
src/editor/domain/visibleTree.ts:70
↓ 5 callersFunctionshouldResetViewportSession
( previousSessionKey: string | null, nextSessionKey: string, )
src/editor/domain/viewport.ts:18
↓ 5 callersFunctionvalidateDocumentStateIntegrity
(document: ImproveDocumentState, path: string)
src/features/llm/schema.ts:525
↓ 4 callersFunctionbranchTop
(rootId: NodeId)
src/editor/domain/freeLayout.ts:94
↓ 4 callersFunctionformatLlmResponseValidationError
( mode: LlmResponseMode, errors: string[], language: AppLanguage = "ja", )
src/features/llm/errorFormatter.ts:151
↓ 4 callersFunctionformatLlmValidationErrors
( errors: string[], _language: AppLanguage = "ja", )
src/features/llm/errorFormatter.ts:86
↓ 4 callersFunctiongetAnchorPoint
( node: CanvasPoint, side: AnchorSide, size: NodeSize = DEFAULT_NODE_SIZE, )
src/editor/layout.ts:326
↓ 4 callersFunctionisUsableViewportSize
(viewportSize: ViewportSize)
src/editor/domain/viewport.ts:14
↓ 4 callersFunctionlabelText
(text: string, language: AppLanguage)
src/features/llm/preview.ts:56
↓ 4 callersFunctionllm_settings_json_path
(app: &tauri::AppHandle)
src-tauri/src/llm_repo.rs:79
↓ 4 callersFunctionmakeSpaceForNode
( doc: DocumentState, preferred: CanvasPoint, sizes: Record<NodeId, NodeSize>, candidateSize: NodeSize
src/editor/domain/freeLayout.ts:73
↓ 4 callersFunctionmoveNodePositions
( positions: Record<NodeId, CanvasPoint>, nodeIds: readonly NodeId[], dx: number, dy: number, )
src/editor/domain/freeLayout.ts:24
↓ 4 callersFunctionparseImproveRequest
(input: unknown)
src/features/llm/schema.ts:760
↓ 4 callersFunctionparseNodeColor
( value: unknown, path: string, errors: string[], allowUndefinedAsNull: boolean, )
src/features/llm/schema.ts:349
↓ 4 callersFunctionparseReviewResponse
(input: unknown)
src/features/llm/schema.ts:981
↓ 4 callersFunctionreadStringArray
( obj: Record<string, unknown>, key: string, path: string, errors: string[], itemMinLength = 0, )
src/features/llm/schema.ts:320
↓ 4 callersFunctionread_llm_settings_file
(path: &Path)
src-tauri/src/llm_repo.rs:152
↓ 4 callersFunctionrectanglesOverlap
(a: NodeRect, b: NodeRect)
src/editor/domain/freeLayout.ts:44
↓ 4 callersFunctionvalidate_provider_model
(provider: &str, model: &str)
src-tauri/src/llm_repo.rs:123
↓ 3 callersFunctionaddChild
(doc: Document)
src/editor/domain/treeOps.ts:120
↓ 3 callersFunctionaddSibling
(doc: Document)
src/editor/domain/treeOps.ts:154
↓ 3 callersFunctionapplyImproveOperationsToDocument
( document: ImproveDocumentState, operations: ImproveOperation[], existingPositions: Record<NodeId, Canv
src/features/llm/apply.ts:181
↓ 3 callersFunctionbuildImprovePreview
( summary: string, warnings: string[], operations: ImproveOperation[], document: ImproveDocumentState,
src/features/llm/preview.ts:135
↓ 3 callersFunctionclamp
(value: number, min: number, max: number)
src/utils/number.ts:1
↓ 3 callersFunctionclientToCanvas
(clientX: number, clientY: number)
src/editor/EditorView.tsx:371
↓ 3 callersFunctioncollectSubtreeNodeIds
(doc: DocumentState, rootId: NodeId)
src/editor/domain/freeLayout.ts:10
↓ 3 callersFunctioncomputeCenteredScrollFromRects
( currentScroll: CanvasPoint, targetRect: Rect, viewportRect: Rect, )
src/editor/domain/viewport.ts:37
↓ 3 callersFunctioncomputeInitialScrollForRoot
( rootPoint: CanvasPoint, rootSize: NodeSize, viewportSize: ViewportSize, zoom: number, )
src/editor/domain/viewport.ts:60
↓ 3 callersFunctioncomputeTreePositions
( doc: Pick<DocumentState, "rootId" | "nodes">, rootId: NodeId = doc.rootId, )
src/editor/layout.ts:127
↓ 3 callersFunctioncreateInitialAppState
()
src/editor/state.ts:116
↓ 3 callersFunctioncreateInitialDocument
(title: string)
src/editor/domain/documentFactory.ts:4
↓ 3 callersFunctiondefault_llm_settings_file
()
src-tauri/src/llm_repo.rs:71
↓ 3 callersFunctiondocumentToImproveDocumentState
(doc: Document)
src/features/llm/apply.ts:135
↓ 3 callersFunctionfindAvailablePosition
( preferred: CanvasPoint, positions: Record<NodeId, CanvasPoint>, sizes: Record<NodeId, NodeSize> = {},
src/editor/domain/freeLayout.ts:241
↓ 3 callersFunctionformatLlmDocumentIntegrityError
( doc: Document, errors: string[], language: AppLanguage = "ja", )
src/features/llm/errorFormatter.ts:62
↓ 3 callersFunctionformatLlmRuntimeError
( message: string, language: AppLanguage = "ja", )
src/features/llm/errorFormatter.ts:189
↓ 3 callersFunctiongetAncestorIds
(doc: DocumentState, nodeId: NodeId)
src/editor/domain/visibleTree.ts:34
↓ 3 callersFunctionisDescendantOrSelf
( doc: DocumentState, nodeId: NodeId, ancestorId: NodeId, )
src/editor/domain/visibleTree.ts:19
↓ 3 callersFunctionkeyring_entry
(app: &tauri::AppHandle)
src-tauri/src/llm_repo.rs:171
next →1–100 of 307, ranked by callers