MCPcopy
hub / github.com/KeygraphHQ/shannon / getWorkerImage

Function getWorkerImage

apps/cli/src/docker.ts:22–24  ·  view source on GitHub ↗
(version: string)

Source from the content-addressed store, hash-verified

20const DEV_IMAGE = 'shannon-worker';
21
22export function getWorkerImage(version: string): string {
23 return getMode() === 'local' ? DEV_IMAGE : `${NPX_IMAGE_REPO}:${version}`;
24}
25
26function getComposeFile(): string {
27 return getMode() === 'local'

Callers 3

ensureImageFunction · 0.85
spawnWorkerFunction · 0.85
workspacesFunction · 0.85

Calls 1

getModeFunction · 0.85

Tested by

no test coverage detected