MCPcopy Create free account
hub / github.com/Noumena-Network/code / getBundledPythonReplHostAsset

Function getBundledPythonReplHostAsset

src/shims/assets/pyReplHost.ts:6–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import pyReplHostWindows from '../../../.tmp/py_repl_host/ncode_py_repl_host.exe' with { type: 'file' }
5
6export function getBundledPythonReplHostAsset(): MaterializedAsset | null {
7 switch (process.platform) {
8 case 'win32':
9 return {
10 embeddedPath: pyReplHostWindows,
11 relativePath: 'vendor/py_repl_host/ncode_py_repl_host.exe',
12 }
13 case 'darwin':
14 case 'linux':
15 return {
16 embeddedPath: pyReplHostUnix,
17 relativePath: 'vendor/py_repl_host/ncode_py_repl_host',
18 mode: 0o755,
19 }
20 default:
21 return null
22 }
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected