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
↓ 3 callers
Function
generateUniqueTaskId
( title: string, projectRoot: string, config?: ProjectConfig, maxAttempts = 26 )
src/core/id-generator.ts:155
↓ 3 callers
Method
getChangedFiles
* Gets the changed files in a worktree * @param worktreePath Path to the worktree * @param useCache Whether to use cached results (default: true
src/core/worktree/worktree-service.ts:171
↓ 3 callers
Function
getPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
reference/document-editor/components/ui/chart.tsx:320
↓ 3 callers
Method
getRoot
* Get the project root directory
src/core/project-config.ts:51
↓ 3 callers
Function
getSessionInfoPath
(sessionName: string)
scripts/task-creator-autonomous.ts:72
↓ 3 callers
Function
getStatusEmoji
(name: string)
src/core/metadata/schema-service.ts:127
↓ 3 callers
Method
getTask
(id: string, parentId?: string)
tasks-ui/src/lib/api/client.ts:71
↓ 3 callers
Function
getTaskIdFromFilename
(filename: string)
src/core/directory-utils.ts:230
↓ 3 callers
Function
getTypeEmoji
(name: string)
src/core/metadata/schema-service.ts:139
↓ 3 callers
Function
getWorkflowStateLabel
(name: string)
src/core/metadata/schema-service.ts:37
↓ 3 callers
Function
getWorkflowStateValues
()
src/core/metadata/schema-service.ts:49
↓ 3 callers
Function
handleFilterChange
(category: keyof TaskFilters, value: string)
tasks-ui/src/components/v2/ParentTaskListView.tsx:158
↓ 3 callers
Function
handleListCommand
(options: { status?: string; type?: core.TaskType; assignee?: string; tags?: string[]; subdirectory?
src/cli/commands.ts:60
↓ 3 callers
Function
handleTaskMoveCommand
( id: string, options: { toBacklog?: boolean; toCurrent?: boolean; toArchive?: boolean; ar
src/cli/commands.ts:409
↓ 3 callers
Method
killProcess
(proc: any)
tasks-ui/websocket/process-manager.ts:27
↓ 3 callers
Method
loadConfigFile
()
src/core/config/configuration-manager.ts:337
↓ 3 callers
Function
normalizeWorkflowState
(input: string | undefined | null)
src/core/field-normalizers.ts:139
↓ 3 callers
Function
onChange
()
reference/document-editor/hooks/use-mobile.tsx:10
↓ 3 callers
Function
prepareGitData
(lastTag?: string)
scripts/utils/claude-helper.ts:362
↓ 3 callers
Function
renderToolResult
(toolUseId: string, result: MessageBlock)
tasks-ui/src/hooks/useMessageHandlers.ts:52
↓ 3 callers
Function
runCommand
* Run a command and capture output
scripts/utils/claude-helper.ts:64
↓ 3 callers
Function
sanitizePath
(path: string)
src/tasks-ui/server/worktree-api.ts:30
↓ 3 callers
Method
setConfigFilePath
* Set custom config file path
src/core/config/configuration-manager.ts:269
↓ 3 callers
Method
stop
()
scripts/worktree-monitor.ts:155
↓ 3 callers
Function
toggleSection
(section: keyof CollapsedSections)
tasks-ui/src/components/v2/Sidebar.tsx:84
↓ 3 callers
Function
transformBaseTask
* Transform core task metadata to base task fields
src/mcp/transformers.ts:57
↓ 3 callers
Function
transformParentTask
( projectRoot: string, task: core.Task, includeSubtasks = false, includeContent = false )
src/mcp/transformers.ts:138
↓ 3 callers
Function
transformSubTask
(task: core.Task, includeContent = false)
src/mcp/transformers.ts:115
↓ 3 callers
Function
transformTaskSections
* Transform task sections from core document
src/mcp/transformers.ts:82
↓ 3 callers
Function
useSubtasks
(params: { parent_id: string }, options?: { enabled?: boolean })
tasks-ui/src/lib/api/hooks.ts:199
↓ 3 callers
Function
useTaskList
( params: { task_type?: string; location?: string | string[]; status?: string; priority?: st
tasks-ui/src/lib/api/hooks.ts:16
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
reference/document-editor/components/ui/use-toast.ts:61
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
reference/document-editor/hooks/use-toast.ts:61
↓ 2 callers
Function
appendTimestampedLogEntry
(currentLog: string, entry: string)
src/mcp/handlers/shared/log-utils.ts:9
↓ 2 callers
Function
buildCommonMetadata
(params: { priority?: string; assignee?: string; tags?: string[]; })
src/mcp/handlers/shared/options-builders.ts:13
↓ 2 callers
Function
buildCoreListOptions
* Apply basic filters to core list options
src/mcp/normalized-handlers.ts:75
↓ 2 callers
Function
buildTaskCreateOptionsBase
(params: { title: string; type: string; area?: string; status?: string; workflowState?: string; in
src/mcp/handlers/shared/options-builders.ts:34
↓ 2 callers
Method
correlateWorktreeWithTask
* Correlates a worktree with task metadata * @param worktree The worktree to correlate * @returns Enhanced worktree with task metadata
src/core/worktree/task-correlation-service.ts:32
↓ 2 callers
Function
createArchiveDate
(date: Date = new Date())
src/core/directory-utils.ts:319
↓ 2 callers
Method
createParent
(params: { title: string; type: string; location?: string; priority?: string; status?: str
tasks-ui/src/lib/api/client.ts:174
↓ 2 callers
Function
createServerInstance
(options: { verbose?: boolean } = {})
src/mcp/core-server.ts:102
↓ 2 callers
Function
createStatusFilterOptions
()
tasks-ui/src/lib/icons.tsx:104
↓ 2 callers
Function
createSubtaskWithDefaults
( projectRoot: string, parentId: string, title: string, options: { type?: string; area?: strin
src/mcp/handlers/shared/subtask-utils.ts:20
↓ 2 callers
Method
createTask
(params: { title: string; type: string; location?: string; parent_id?: string; priority?:
tasks-ui/src/lib/api/client.ts:79
↓ 2 callers
Function
createWorkflowFilterOptions
()
tasks-ui/src/lib/icons.tsx:140
↓ 2 callers
Function
del
(cascade = false)
src/core/parent-tasks.ts:81
↓ 2 callers
Function
detectStructureVersion
(projectRoot: string)
src/core/directory-utils.ts:109
↓ 2 callers
Function
extractContentWithoutFrontmatter
(content: string)
tasks-ui/src/routes/parents/$parentId.$subtaskId.tsx:9
↓ 2 callers
Function
extractContentWithoutFrontmatter
(content: string)
tasks-ui/src/routes/tasks/$parentId/$subtaskId.tsx:19
↓ 2 callers
Method
extractModeFromTags
* Extracts development mode from task tags * @param tags Array of task tags * @returns Extracted development mode
src/core/worktree/task-correlation-service.ts:417
↓ 2 callers
Function
findFiles
(dir: string, pattern: RegExp)
scripts/normalize-all-tasks.ts:13
↓ 2 callers
Function
formatTasksList
(tasks: Task[], format: OutputFormat)
src/cli/formatters.ts:40
↓ 2 callers
Function
formatTreeView
* Format tasks in a tree view showing parent/subtask hierarchy
src/cli/formatters.ts:122
↓ 2 callers
Function
generateTaskId
(title: string, date: Date = new Date())
src/core/id-generator.ts:28
↓ 2 callers
Function
getExistingWorkflowStates
( projectRoot: string, config?: ProjectConfig )
src/core/directory-utils.ts:354
↓ 2 callers
Method
getFeatureProgress
* Gets feature progress information * @param featureId Feature ID * @param config Optional runtime configuration (for worktree-specific lookups)
src/core/worktree/task-correlation-service.ts:221
↓ 2 callers
Method
getLastCommit
* Gets information about the last commit in a worktree * @param worktreePath Path to the worktree * @param useCache Whether to use cached result
src/core/worktree/worktree-service.ts:235
↓ 2 callers
Method
getParent
(id: string)
tasks-ui/src/lib/api/client.ts:145
↓ 2 callers
Method
getProjects
()
src/core/config/types.ts:73
↓ 2 callers
Function
getSessionInfoPath
(sessionName: string)
scripts/implement-autonomous.ts:76
↓ 2 callers
Function
getSessionInfoPath
(sessionName: string)
scripts/auto-autonomous.ts:70
↓ 2 callers
Function
getSessionStatusColor
(status: string)
tasks-ui/src/components/autonomous/AutonomousSessionCard.tsx:42
↓ 2 callers
Function
getSessionStatusIcon
(status: string)
tasks-ui/src/components/autonomous/AutonomousSessionCard.tsx:57
↓ 2 callers
Function
getStatusSymbol
(status: string)
tasks-ui/src/components/v2/SubtaskList.tsx:256
↓ 2 callers
Function
getStatusSymbol
(status: string)
tasks-ui/src/components/v2/SubtaskList-old.tsx:315
↓ 2 callers
Function
getTaskUrl
( task: Pick<Task, 'id' | 'taskStructure'> & { parentId?: string } )
tasks-ui/src/lib/task-routing.ts:10
↓ 2 callers
Method
getWorktreeStatus
* Gets the status of a worktree * @param worktreePath Path to the worktree * @param useCache Whether to use cached results (default: true) *
src/core/worktree/worktree-service.ts:138
↓ 2 callers
Function
handleClick
(taskTitle: string)
tasks-ui/src/components/v2/ParentTaskCard.stories.tsx:217
↓ 2 callers
Function
handleRowClick
(task: TableTask, e: React.MouseEvent)
tasks-ui/src/components/v2/TaskTable.tsx:81
↓ 2 callers
Function
handleSessionCheck
(params: any)
tasks-ui/server/claude-session-handlers.ts:110
↓ 2 callers
Function
listTemplates
(projectRoot: string)
src/core/template-manager.ts:33
↓ 2 callers
Function
loadSessionInfo
(taskId: string)
scripts/implement-autonomous.ts:96
↓ 2 callers
Function
loadSessionInfo
(parentId: string)
scripts/auto-autonomous.ts:90
↓ 2 callers
Function
loadSessionInfo
(sessionName: string)
scripts/task-creator-autonomous.ts:92
↓ 2 callers
Method
mapTaskStatusToWorkflow
* Maps a task status to a workflow status * @param taskStatus Task status string * @returns Mapped workflow status
src/core/worktree/worktree-service.ts:329
↓ 2 callers
Method
moveTask
(params: { id: string; target_state: string; parent_id?: string; archive_date?: string; up
tasks-ui/src/lib/api/client.ts:131
↓ 2 callers
Function
normalizeFrontmatter
* Normalize frontmatter values using schema service * The normalizers will throw errors for invalid values
src/core/task-crud.ts:56
↓ 2 callers
Function
prepareTaskDocument
* Prepare task document from options
src/core/task-crud.ts:80
↓ 2 callers
Function
publishRelease
(otp?: string)
scripts/release.ts:350
↓ 2 callers
Method
removeProcess
(proc: any)
tasks-ui/websocket/process-manager.ts:19
↓ 2 callers
Function
runCommand
(cmd: string[], description: string)
scripts/code-check.ts:181
↓ 2 callers
Function
runCommand
(cmd: string[], description: string)
scripts/security-check.ts:61
↓ 2 callers
Function
searchForSubtask
* Search for a subtask inside parent task folders
src/core/directory-utils.ts:470
↓ 2 callers
Function
sendPrompt
(prompt: string, contextId?: string)
tasks-ui/src/hooks/useClaudeWebSocket.ts:61
↓ 2 callers
Function
sessionExists
* Check if tmux session exists
tasks-ui/server/claude-session-handlers.ts:34
↓ 2 callers
Function
transformParentTaskDetail
( projectRoot: string, parentId: string, includeContent = true )
src/mcp/transformers.ts:185
↓ 2 callers
Function
tryAcronym
* Check if a hyphenated phrase forms a known acronym
src/core/name-abbreviator.ts:155
↓ 2 callers
Method
updateTask
( id: string, updates: { title?: string; status?: string; priority?: string; a
tasks-ui/src/lib/api/client.ts:96
↓ 2 callers
Function
useChart
()
reference/document-editor/components/ui/chart.tsx:27
↓ 2 callers
Function
useDeleteTask
()
tasks-ui/src/lib/api/hooks.ts:81
↓ 2 callers
Function
useParentList
( params: { location?: string | string[]; area?: string; include_progress?: boolean; include
tasks-ui/src/lib/api/hooks.ts:116
↓ 2 callers
Function
validateClaudeResult
( result: ClaudeResult, schema: z.ZodSchema<T>, context: string = 'Claude response' )
scripts/utils/claude-helper.ts:307
↓ 2 callers
Method
validateEnvironment
* Validate project environment
src/core/project-config.ts:236
↓ 2 callers
Function
validateTaskDocument
(task: TaskDocument)
src/core/task-parser.ts:192
↓ 1 callers
Function
abbreviateWord
* Abbreviate a single word using various strategies
src/core/name-abbreviator.ts:111
↓ 1 callers
Method
addProcess
(proc: any)
tasks-ui/websocket/process-manager.ts:11
↓ 1 callers
Function
appendLogEntry
* Append a log entry to the current task log
src/mcp/handlers/write-handlers.ts:326
↓ 1 callers
Function
applyParallelizations
( projectRoot: string, parentId: string, parallelGroups: Record<string, string[]> )
src/mcp/handlers/shared/subtask-utils.ts:119
↓ 1 callers
Function
applyStructureFilter
* Filter tasks by structure type
src/mcp/handlers/read-handlers.ts:71
↓ 1 callers
Method
autoDetect
()
src/core/config/configuration-manager.ts:327
← previous
next →
101–200 of 787, ranked by callers