MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / getProjectRoot

Function getProjectRoot

yaml-flow-editor/vite.config.ts:65–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 const DASHBOARD_PORT_RE = /Dashboard:\s*https?:\/\/127\.0\.0\.1:(\d+)/i
64
65 function getProjectRoot() {
66 // vite.config.ts lives in <repo>/yaml-flow-editor
67 return path.resolve(thisDir, '..')
68 }
69
70 function dashboardProxyPath(run: RunInfo) {
71 return run.dashboardPort ? `/api/dashboard/${run.id}/` : null

Callers 3

appendLogFunction · 0.85
installProcessExitHooksFunction · 0.85
configureServerFunction · 0.85

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected