MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / computeLauncherRepoRoot

Function computeLauncherRepoRoot

src/workspaces/config.ts:183–185  ·  view source on GitHub ↗

* Compute the launcher repo root. * * In OpenAlice, both `pnpm dev` (tsx watch src/main.ts) and `node dist/main.js` * are invoked from the OpenAlice repo root, so `process.cwd()` is the * authoritative answer. The original launcher used relative-to-import-url * (`server/src/config.ts → ../../`)

()

Source from the content-addressed store, hash-verified

181 * would resolve to the parent of the repo).
182 */
183function computeLauncherRepoRoot(): string {
184 return process.cwd();
185}

Callers 1

loadConfigFunction · 0.85

Calls 1

cwdMethod · 0.80

Tested by

no test coverage detected