MCPcopy Index your code

hub / github.com/scopecraft/command / functions

Functions787 in github.com/scopecraft/command

↓ 197 callersFunctioncn
(...inputs: ClassValue[])
reference/document-editor/lib/utils.ts:4
↓ 145 callersMethoderror
(message: string, data?: any)
src/observability/logger.ts:43
↓ 66 callersFunctioncn
(...inputs: ClassValue[])
tasks-ui/src/lib/utils.ts:5
↓ 39 callersMethodget
* Gets a value from the cache * @param key Cache key * @returns The cached value or undefined if not found or expired
src/core/worktree/cache-manager.ts:24
↓ 35 callersMethoderror
(message: string, data?: any)
tasks-ui/src/observability/logger.ts:39
↓ 35 callersMethodgetInstance
* Get singleton instance (for backward compatibility)
src/core/project-config.ts:44
↓ 31 callersFunctioncreateErrorResponse
(error: string, message?: string)
src/mcp/handlers/shared/response-utils.ts:25
↓ 31 callersMethodinfo
(message: string, data?: any)
tasks-ui/src/observability/logger.ts:33
↓ 28 callersFunctiongetSchema
()
src/core/metadata/schema-service.ts:26
↓ 26 callersMethodgetRootConfig
(runtime?: RuntimeConfig)
src/core/config/types.ts:62
↓ 18 callersMethodset
* Stores a value in the cache * @param key Cache key * @param value Value to store
src/core/worktree/cache-manager.ts:40
↓ 16 callersFunctioncreateMcpHandler
( handler: (params: any) => Promise<T> )
src/mcp/handler-wrapper.ts:9
↓ 16 callersFunctionformatError
* Format an error response * @param error The error * @returns Formatted error for the MCP SDK
src/mcp/core-server.ts:77
↓ 16 callersFunctionformatResponse
* Format a successful response * @param result The operation result * @returns Formatted response for the MCP SDK
src/mcp/core-server.ts:29
↓ 12 callersFunctionhandleItemClick
(itemId: string, path: string)
tasks-ui/src/components/v2/Sidebar.tsx:91
↓ 11 callersFunctioncreateResponseSchema
(dataSchema: T)
src/mcp/schemas.ts:86
↓ 11 callersFunctiongetProjectRoot
(params: { rootDir?: string })
src/mcp/handlers/shared/config-utils.ts:12
↓ 11 callersFunctionnormalizePriority
(input: string | undefined | null)
src/core/field-normalizers.ts:59
↓ 11 callersFunctionrunCommand
(cmd: string[], description: string, showAllOutput = false, streaming = false)
scripts/release.ts:40
↓ 11 callersFunctionserializeTaskDocument
(task: TaskDocument)
src/core/task-parser.ts:97
↓ 11 callersMethodvalidateRoot
* Validate a project root directory
src/core/config/configuration-manager.ts:219
↓ 10 callersFunctionabbreviateTaskName
(title: string, maxLength: number = 30)
src/core/name-abbreviator.ts:180
↓ 10 callersFunctionaddMessage
(type: Message['type'], content: Message['content'])
tasks-ui/src/hooks/useMessageHandlers.ts:13
↓ 10 callersFunctiongetParentTaskWithSubtasks
( projectRoot: string, taskId: string, config?: ProjectConfig )
src/core/parent-tasks.ts:550
↓ 10 callersFunctiongetWorkflowDirectory
( projectRoot: string, state: WorkflowState, config?: ProjectConfig )
src/core/directory-utils.ts:28
↓ 10 callersFunctionnormalizeTaskStatus
(input: string | undefined | null)
src/core/field-normalizers.ts:113
↓ 10 callersMethodrequest
(endpoint: string, options: RequestInit = {})
tasks-ui/src/lib/api/client.ts:15
↓ 10 callersMethodwarn
(message: string, data?: any)
src/observability/logger.ts:49
↓ 9 callersFunctionappendText
(id: string, text?: string)
tasks-ui/src/hooks/useMessageHandlers.ts:35
↓ 9 callersFunctiontransformTask
( projectRoot: string, task: core.Task, includeContent = false, includeSubtasks = false )
src/mcp/transformers.ts:225
↓ 8 callersFunctiongetLucideIcon
(iconName: string | null | undefined)
tasks-ui/src/lib/schema-client.ts:44
↓ 8 callersFunctiongetPriorityLabel
(name: string)
src/core/metadata/schema-service.ts:106
↓ 8 callersFunctiongetStatusLabel
(name: string)
src/core/metadata/schema-service.ts:58
↓ 8 callersFunctionisParentTaskFolder
(dirPath: string)
src/core/directory-utils.ts:250
↓ 7 callersFunctionensureBubble
(id: string, _role: string)
tasks-ui/src/hooks/useMessageHandlers.ts:23
↓ 7 callersFunctiongetTasksDirectory
(projectRoot: string)
src/core/directory-utils.ts:21
↓ 7 callersFunctionmockAiAction
(content: string, action: string)
reference/document-editor/utils/mockAiAction.ts:1
↓ 6 callersMethodclearCache
()
src/core/config/configuration-manager.ts:276
↓ 6 callersFunctionextractTaskName
* Extract task name from a subtask filename * Example: "02_impl-auth-05K" -> "impl-auth-05K"
src/core/subtask-sequencing.ts:40
↓ 6 callersFunctionfetch
(req: Request, server: any)
tasks-ui/server.ts:38
↓ 6 callersFunctiongetSubtaskSequence
(filename: string)
src/core/directory-utils.ts:281
↓ 6 callersMethodgetTasks
( params: { task_type?: string; location?: string | string[]; status?: string; pri
tasks-ui/src/lib/api/client.ts:39
↓ 6 callersMethodinfo
(message: string, data?: any)
src/observability/logger.ts:37
↓ 6 callersFunctionparseTaskDocument
(content: string)
src/core/task-parser.ts:19
↓ 6 callersMethodsetRootFromCLI
(path: string)
src/core/config/types.ts:65
↓ 5 callersFunctioncloseBubble
(_id: string)
tasks-ui/src/hooks/useMessageHandlers.ts:62
↓ 5 callersFunctiondispatch
(action: Action)
reference/document-editor/components/ui/use-toast.ts:136
↓ 5 callersFunctiondispatch
(action: Action)
reference/document-editor/hooks/use-toast.ts:136
↓ 5 callersFunctionformatJSON
(content: unknown)
tasks-ui/src/components/task-detail/MessageDisplay.tsx:5
↓ 5 callersFunctionget
( projectRoot: string, taskId: string, config?: ProjectConfig, parentId?: string )
src/core/task-crud.ts:258
↓ 5 callersFunctiongetDefaultStatus
()
src/core/metadata/schema-service.ts:205
↓ 5 callersMethodgetOrCompute
* Gets a value from the cache, or computes and stores it if not found/expired * @param key Cache key * @param producer Function to produce the v
src/core/worktree/cache-manager.ts:53
↓ 5 callersFunctiongetPriorityValues
()
src/core/metadata/schema-service.ts:118
↓ 5 callersFunctiongetStatusValues
()
src/core/metadata/schema-service.ts:70
↓ 5 callersFunctiongetSubtaskFiles
(parentTaskDir: string)
src/core/directory-utils.ts:262
↓ 5 callersMethodgetTasksDirectory
* Get tasks directory
src/core/project-config.ts:91
↓ 5 callersFunctiongetTypeValues
()
src/core/metadata/schema-service.ts:97
↓ 5 callersFunctionhandleUpdateCommand
( id: string, options: { title?: string; type?: string; status?: string; priority?: string
src/cli/commands.ts:270
↓ 5 callersMethodinitializeProjectStructure
* Initialize project structure * Creates necessary directories
src/core/project-config.ts:121
↓ 5 callersMethodinvalidate
* Invalidates a specific cache entry * @param key Cache key to invalidate
src/core/worktree/cache-manager.ts:68
↓ 5 callersMethodlistWorktrees
* Lists all worktrees in the repository * @param useCache Whether to use cached results (default: true) * @returns Array of worktrees
src/core/worktree/worktree-service.ts:47
↓ 5 callersFunctionparseTaskLocation
(taskPath: string, projectRoot: string)
src/core/directory-utils.ts:198
↓ 5 callersFunctionrenderToolCall
(_messageId: string, block: MessageBlock)
tasks-ui/src/hooks/useMessageHandlers.ts:42
↓ 5 callersFunctionreorderSubtasks
( parentFolder: string, newOrder: TaskOrder[] )
src/core/subtask-sequencing.ts:58
↓ 5 callersFunctionuseTask
(id: string, parentId?: string)
tasks-ui/src/lib/api/hooks.ts:40
↓ 5 callersMethodwarn
(message: string, data?: any)
tasks-ui/src/observability/logger.ts:45
↓ 4 callersFunctionbuildNormalizerMap
(values: MetadataValue[])
src/core/metadata/normalizer-builder.ts:17
↓ 4 callersFunctioncallClaude
( promptPath: string, data?: Record<string, any>, overrideConfig?: Partial<PromptConfig>, verbose = f
scripts/utils/claude-helper.ts:212
↓ 4 callersMethodcreateKey
* Creates a prefixed key * Useful for scoping cache entries to specific worktrees * @param prefix Prefix for the key * @param key The key to
src/core/worktree/cache-manager.ts:86
↓ 4 callersFunctioncreateNormalizer
( normalizerMap: Map<string, string>, validValues: string[], defaultValue: string, fieldName: string )
src/core/metadata/normalizer-builder.ts:51
↓ 4 callersMethodformatMessage
(level: string, message: string, data?: any)
tasks-ui/src/observability/logger.ts:14
↓ 4 callersMethodformatMessage
(level: string, message: string, data?: any)
src/observability/logger.ts:18
↓ 4 callersFunctionget
(subtaskId?: string)
src/core/parent-tasks.ts:67
↓ 4 callersFunctiongetAllowedValues
( enumType: 'status' | 'type' | 'priority' | 'workflowState' )
src/core/metadata/schema-service.ts:225
↓ 4 callersFunctiongetStatusSymbol
* Get status symbol for tree view
src/cli/formatters.ts:330
↓ 4 callersFunctiongetTemplatesDirectory
(projectRoot: string)
src/core/directory-utils.ts:62
↓ 4 callersFunctiongetTypeLabel
(name: string)
src/core/metadata/schema-service.ts:79
↓ 4 callersFunctionhandleFilterChange
(category: keyof TaskFilters, value: string)
tasks-ui/src/components/v2/TaskManagementView.tsx:179
↓ 4 callersFunctionnormalizeTaskType
(input: string | undefined | null)
src/core/field-normalizers.ts:86
↓ 4 callersFunctionparent
(projectRoot: string, parentId: string, config?: ProjectConfig)
src/core/parent-tasks.ts:45
↓ 4 callersFunctionresolveTaskId
( taskId: string, projectRoot: string, config?: ProjectConfig, parentId?: string )
src/core/directory-utils.ts:375
↓ 4 callersMethodshutdown
()
tasks-ui/websocket/process-manager.ts:42
↓ 4 callersFunctionuseCarousel
()
reference/document-editor/components/ui/carousel.tsx:35
↓ 4 callersFunctionuseFormField
()
reference/document-editor/components/ui/form.tsx:44
↓ 4 callersFunctionuseSidebar
()
reference/document-editor/components/ui/sidebar.tsx:41
↓ 4 callersFunctionuseUpdateTask
()
tasks-ui/src/lib/api/hooks.ts:62
↓ 4 callersMethodwriteToFile
(logLine: string)
tasks-ui/src/observability/logger.ts:25
↓ 4 callersMethodwriteToFile
(logLine: string)
src/observability/logger.ts:29
↓ 3 callersFunctionaddDocument
(source: string)
reference/document-editor/components/source-management.tsx:35
↓ 3 callersFunctionanalyzeRelease
(requestedVersion?: string, verbose = false)
scripts/release.ts:187
↓ 3 callersFunctioncheckSessionExists
( taskId: string, type: 'task' | 'feature' )
tasks-ui/src/lib/api/claude-sessions.ts:27
↓ 3 callersFunctioncleanup
()
test/e2e/v2-core-e2e.test.ts:40
↓ 3 callersMethodcorrelateWorktreesWithTasks
* Correlates multiple worktrees with task metadata * @param worktrees Worktrees to correlate * @returns Enhanced worktrees with task metadata
src/core/worktree/task-correlation-service.ts:211
↓ 3 callersFunctioncreate
( title: string, options: Partial<TaskCreateOptions> = {} )
src/core/parent-tasks.ts:48
↓ 3 callersFunctioncreateErrorResponse
(error: string, message?: string)
src/mcp/transformers.ts:266
↓ 3 callersMethoddisplayWorktreeInfo
(worktree: Worktree)
scripts/worktree-monitor.ts:67
↓ 3 callersFunctionensureRequiredSections
(sections: Partial<TaskSections>)
src/core/task-parser.ts:267
↓ 3 callersFunctionexecuteRelease
(dryRun = false, skipBuild = false)
scripts/release.ts:245
↓ 3 callersFunctionformatTaskDetail
(task: Task, format: OutputFormat)
src/cli/formatters.ts:375
↓ 3 callersFunctiongenerateSubtaskId
( title: string, sequence: string, date: Date = new Date() )
src/core/id-generator.ts:45
next →1–100 of 787, ranked by callers