MCPcopy
hub / github.com/coder/mux / runtimeModeSupportsSharedTaskWorkspace

Function runtimeModeSupportsSharedTaskWorkspace

src/common/types/runtime.ts:46–48  ·  view source on GitHub ↗
(mode: RuntimeMode | undefined)

Source from the content-addressed store, hash-verified

44 * the parent workspace's checkout instead. See {@link SHARED_TASK_WORKSPACE_RUNTIME_MODES}.
45 */
46export function runtimeModeSupportsSharedTaskWorkspace(mode: RuntimeMode | undefined): boolean {
47 return mode != null && SHARED_TASK_WORKSPACE_RUNTIME_MODES.includes(mode);
48}
49
50/**
51 * Runtime IDs that can be enabled/disabled in Settings → Runtimes.

Callers 5

runtime.test.tsFile · 0.90
buildTaskToolDescriptionFunction · 0.90
createManyMethod · 0.90
createMethod · 0.90
createTaskToolFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected