MCPcopy Create free account
hub / github.com/freecodexyz/free-code / isRemoteTaskType

Function isRemoteTaskType

src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:62–64  ·  view source on GitHub ↗
(v: string | undefined)

Source from the content-addressed store, hash-verified

60const REMOTE_TASK_TYPES = ['remote-agent', 'ultraplan', 'ultrareview', 'autofix-pr', 'background-pr'] as const;
61export type RemoteTaskType = (typeof REMOTE_TASK_TYPES)[number];
62function isRemoteTaskType(v: string | undefined): v is RemoteTaskType {
63 return (REMOTE_TASK_TYPES as readonly string[]).includes(v ?? '');
64}
65export type AutofixPrRemoteTaskMetadata = {
66 owner: string;
67 repo: string;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected