MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isPanelAgentTask

Function isPanelAgentTask

src/tasks/LocalAgentTask/LocalAgentTask.tsx:159–161  ·  view source on GitHub ↗
(t: unknown)

Source from the content-addressed store, hash-verified

157 * the gate changes, change it here.
158 */
159export function isPanelAgentTask(t: unknown): t is LocalAgentTaskState {
160 return isLocalAgentTask(t) && t.agentType !== 'main-session';
161}
162export function queuePendingMessage(taskId: string, msg: string, setAppState: (f: (prev: AppState) => AppState) => void): void {
163 updateTaskState<LocalAgentTaskState>(taskId, setAppState, task => ({
164 ...task,

Callers 6

getVisibleAgentTasksFunction · 0.85
CoordinatorTaskPanelFunction · 0.85
PromptInputFunction · 0.85
ModeIndicatorFunction · 0.85
_temp3Function · 0.85
shouldHideTasksFooterFunction · 0.85

Calls 1

isLocalAgentTaskFunction · 0.85

Tested by

no test coverage detected