Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/scopecraft/command
/ functions
Functions
787 in github.com/scopecraft/command
⨍
Functions
787
◇
Types & classes
184
↓ 197 callers
Function
cn
(...inputs: ClassValue[])
reference/document-editor/lib/utils.ts:4
↓ 145 callers
Method
error
(message: string, data?: any)
src/observability/logger.ts:43
↓ 66 callers
Function
cn
(...inputs: ClassValue[])
tasks-ui/src/lib/utils.ts:5
↓ 39 callers
Method
get
* 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 callers
Method
error
(message: string, data?: any)
tasks-ui/src/observability/logger.ts:39
↓ 35 callers
Method
getInstance
* Get singleton instance (for backward compatibility)
src/core/project-config.ts:44
↓ 31 callers
Function
createErrorResponse
(error: string, message?: string)
src/mcp/handlers/shared/response-utils.ts:25
↓ 31 callers
Method
info
(message: string, data?: any)
tasks-ui/src/observability/logger.ts:33
↓ 28 callers
Function
getSchema
()
src/core/metadata/schema-service.ts:26
↓ 26 callers
Method
getRootConfig
(runtime?: RuntimeConfig)
src/core/config/types.ts:62
↓ 18 callers
Method
set
* Stores a value in the cache * @param key Cache key * @param value Value to store
src/core/worktree/cache-manager.ts:40
↓ 16 callers
Function
createMcpHandler
( handler: (params: any) => Promise<T> )
src/mcp/handler-wrapper.ts:9
↓ 16 callers
Function
formatError
* Format an error response * @param error The error * @returns Formatted error for the MCP SDK
src/mcp/core-server.ts:77
↓ 16 callers
Function
formatResponse
* Format a successful response * @param result The operation result * @returns Formatted response for the MCP SDK
src/mcp/core-server.ts:29
↓ 12 callers
Function
handleItemClick
(itemId: string, path: string)
tasks-ui/src/components/v2/Sidebar.tsx:91
↓ 11 callers
Function
createResponseSchema
(dataSchema: T)
src/mcp/schemas.ts:86
↓ 11 callers
Function
getProjectRoot
(params: { rootDir?: string })
src/mcp/handlers/shared/config-utils.ts:12
↓ 11 callers
Function
normalizePriority
(input: string | undefined | null)
src/core/field-normalizers.ts:59
↓ 11 callers
Function
runCommand
(cmd: string[], description: string, showAllOutput = false, streaming = false)
scripts/release.ts:40
↓ 11 callers
Function
serializeTaskDocument
(task: TaskDocument)
src/core/task-parser.ts:97
↓ 11 callers
Method
validateRoot
* Validate a project root directory
src/core/config/configuration-manager.ts:219
↓ 10 callers
Function
abbreviateTaskName
(title: string, maxLength: number = 30)
src/core/name-abbreviator.ts:180
↓ 10 callers
Function
addMessage
(type: Message['type'], content: Message['content'])
tasks-ui/src/hooks/useMessageHandlers.ts:13
↓ 10 callers
Function
getParentTaskWithSubtasks
( projectRoot: string, taskId: string, config?: ProjectConfig )
src/core/parent-tasks.ts:550
↓ 10 callers
Function
getWorkflowDirectory
( projectRoot: string, state: WorkflowState, config?: ProjectConfig )
src/core/directory-utils.ts:28
↓ 10 callers
Function
normalizeTaskStatus
(input: string | undefined | null)
src/core/field-normalizers.ts:113
↓ 10 callers
Method
request
(endpoint: string, options: RequestInit = {})
tasks-ui/src/lib/api/client.ts:15
↓ 10 callers
Method
warn
(message: string, data?: any)
src/observability/logger.ts:49
↓ 9 callers
Function
appendText
(id: string, text?: string)
tasks-ui/src/hooks/useMessageHandlers.ts:35
↓ 9 callers
Function
transformTask
( projectRoot: string, task: core.Task, includeContent = false, includeSubtasks = false )
src/mcp/transformers.ts:225
↓ 8 callers
Function
getLucideIcon
(iconName: string | null | undefined)
tasks-ui/src/lib/schema-client.ts:44
↓ 8 callers
Function
getPriorityLabel
(name: string)
src/core/metadata/schema-service.ts:106
↓ 8 callers
Function
getStatusLabel
(name: string)
src/core/metadata/schema-service.ts:58
↓ 8 callers
Function
isParentTaskFolder
(dirPath: string)
src/core/directory-utils.ts:250
↓ 7 callers
Function
ensureBubble
(id: string, _role: string)
tasks-ui/src/hooks/useMessageHandlers.ts:23
↓ 7 callers
Function
getTasksDirectory
(projectRoot: string)
src/core/directory-utils.ts:21
↓ 7 callers
Function
mockAiAction
(content: string, action: string)
reference/document-editor/utils/mockAiAction.ts:1
↓ 6 callers
Method
clearCache
()
src/core/config/configuration-manager.ts:276
↓ 6 callers
Function
extractTaskName
* Extract task name from a subtask filename * Example: "02_impl-auth-05K" -> "impl-auth-05K"
src/core/subtask-sequencing.ts:40
↓ 6 callers
Function
fetch
(req: Request, server: any)
tasks-ui/server.ts:38
↓ 6 callers
Function
getSubtaskSequence
(filename: string)
src/core/directory-utils.ts:281
↓ 6 callers
Method
getTasks
( params: { task_type?: string; location?: string | string[]; status?: string; pri
tasks-ui/src/lib/api/client.ts:39
↓ 6 callers
Method
info
(message: string, data?: any)
src/observability/logger.ts:37
↓ 6 callers
Function
parseTaskDocument
(content: string)
src/core/task-parser.ts:19
↓ 6 callers
Method
setRootFromCLI
(path: string)
src/core/config/types.ts:65
↓ 5 callers
Function
closeBubble
(_id: string)
tasks-ui/src/hooks/useMessageHandlers.ts:62
↓ 5 callers
Function
dispatch
(action: Action)
reference/document-editor/components/ui/use-toast.ts:136
↓ 5 callers
Function
dispatch
(action: Action)
reference/document-editor/hooks/use-toast.ts:136
↓ 5 callers
Function
formatJSON
(content: unknown)
tasks-ui/src/components/task-detail/MessageDisplay.tsx:5
↓ 5 callers
Function
get
( projectRoot: string, taskId: string, config?: ProjectConfig, parentId?: string )
src/core/task-crud.ts:258
↓ 5 callers
Function
getDefaultStatus
()
src/core/metadata/schema-service.ts:205
↓ 5 callers
Method
getOrCompute
* 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 callers
Function
getPriorityValues
()
src/core/metadata/schema-service.ts:118
↓ 5 callers
Function
getStatusValues
()
src/core/metadata/schema-service.ts:70
↓ 5 callers
Function
getSubtaskFiles
(parentTaskDir: string)
src/core/directory-utils.ts:262
↓ 5 callers
Method
getTasksDirectory
* Get tasks directory
src/core/project-config.ts:91
↓ 5 callers
Function
getTypeValues
()
src/core/metadata/schema-service.ts:97
↓ 5 callers
Function
handleUpdateCommand
( id: string, options: { title?: string; type?: string; status?: string; priority?: string
src/cli/commands.ts:270
↓ 5 callers
Method
initializeProjectStructure
* Initialize project structure * Creates necessary directories
src/core/project-config.ts:121
↓ 5 callers
Method
invalidate
* Invalidates a specific cache entry * @param key Cache key to invalidate
src/core/worktree/cache-manager.ts:68
↓ 5 callers
Method
listWorktrees
* 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 callers
Function
parseTaskLocation
(taskPath: string, projectRoot: string)
src/core/directory-utils.ts:198
↓ 5 callers
Function
renderToolCall
(_messageId: string, block: MessageBlock)
tasks-ui/src/hooks/useMessageHandlers.ts:42
↓ 5 callers
Function
reorderSubtasks
( parentFolder: string, newOrder: TaskOrder[] )
src/core/subtask-sequencing.ts:58
↓ 5 callers
Function
useTask
(id: string, parentId?: string)
tasks-ui/src/lib/api/hooks.ts:40
↓ 5 callers
Method
warn
(message: string, data?: any)
tasks-ui/src/observability/logger.ts:45
↓ 4 callers
Function
buildNormalizerMap
(values: MetadataValue[])
src/core/metadata/normalizer-builder.ts:17
↓ 4 callers
Function
callClaude
( promptPath: string, data?: Record<string, any>, overrideConfig?: Partial<PromptConfig>, verbose = f
scripts/utils/claude-helper.ts:212
↓ 4 callers
Method
createKey
* 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 callers
Function
createNormalizer
( normalizerMap: Map<string, string>, validValues: string[], defaultValue: string, fieldName: string )
src/core/metadata/normalizer-builder.ts:51
↓ 4 callers
Method
formatMessage
(level: string, message: string, data?: any)
tasks-ui/src/observability/logger.ts:14
↓ 4 callers
Method
formatMessage
(level: string, message: string, data?: any)
src/observability/logger.ts:18
↓ 4 callers
Function
get
(subtaskId?: string)
src/core/parent-tasks.ts:67
↓ 4 callers
Function
getAllowedValues
( enumType: 'status' | 'type' | 'priority' | 'workflowState' )
src/core/metadata/schema-service.ts:225
↓ 4 callers
Function
getStatusSymbol
* Get status symbol for tree view
src/cli/formatters.ts:330
↓ 4 callers
Function
getTemplatesDirectory
(projectRoot: string)
src/core/directory-utils.ts:62
↓ 4 callers
Function
getTypeLabel
(name: string)
src/core/metadata/schema-service.ts:79
↓ 4 callers
Function
handleFilterChange
(category: keyof TaskFilters, value: string)
tasks-ui/src/components/v2/TaskManagementView.tsx:179
↓ 4 callers
Function
normalizeTaskType
(input: string | undefined | null)
src/core/field-normalizers.ts:86
↓ 4 callers
Function
parent
(projectRoot: string, parentId: string, config?: ProjectConfig)
src/core/parent-tasks.ts:45
↓ 4 callers
Function
resolveTaskId
( taskId: string, projectRoot: string, config?: ProjectConfig, parentId?: string )
src/core/directory-utils.ts:375
↓ 4 callers
Method
shutdown
()
tasks-ui/websocket/process-manager.ts:42
↓ 4 callers
Function
useCarousel
()
reference/document-editor/components/ui/carousel.tsx:35
↓ 4 callers
Function
useFormField
()
reference/document-editor/components/ui/form.tsx:44
↓ 4 callers
Function
useSidebar
()
reference/document-editor/components/ui/sidebar.tsx:41
↓ 4 callers
Function
useUpdateTask
()
tasks-ui/src/lib/api/hooks.ts:62
↓ 4 callers
Method
writeToFile
(logLine: string)
tasks-ui/src/observability/logger.ts:25
↓ 4 callers
Method
writeToFile
(logLine: string)
src/observability/logger.ts:29
↓ 3 callers
Function
addDocument
(source: string)
reference/document-editor/components/source-management.tsx:35
↓ 3 callers
Function
analyzeRelease
(requestedVersion?: string, verbose = false)
scripts/release.ts:187
↓ 3 callers
Function
checkSessionExists
( taskId: string, type: 'task' | 'feature' )
tasks-ui/src/lib/api/claude-sessions.ts:27
↓ 3 callers
Function
cleanup
()
test/e2e/v2-core-e2e.test.ts:40
↓ 3 callers
Method
correlateWorktreesWithTasks
* 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 callers
Function
create
( title: string, options: Partial<TaskCreateOptions> = {} )
src/core/parent-tasks.ts:48
↓ 3 callers
Function
createErrorResponse
(error: string, message?: string)
src/mcp/transformers.ts:266
↓ 3 callers
Method
displayWorktreeInfo
(worktree: Worktree)
scripts/worktree-monitor.ts:67
↓ 3 callers
Function
ensureRequiredSections
(sections: Partial<TaskSections>)
src/core/task-parser.ts:267
↓ 3 callers
Function
executeRelease
(dryRun = false, skipBuild = false)
scripts/release.ts:245
↓ 3 callers
Function
formatTaskDetail
(task: Task, format: OutputFormat)
src/cli/formatters.ts:375
↓ 3 callers
Function
generateSubtaskId
( title: string, sequence: string, date: Date = new Date() )
src/core/id-generator.ts:45
next →
1–100 of 787, ranked by callers