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

Function setProjectRoot

src/bootstrap/state.ts:529–531  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

527 * call this — skills/history should stay anchored to where the session started.
528 */
529export function setProjectRoot(cwd: string): void {
530 STATE.projectRoot = cwd.normalize('NFC')
531}
532
533export function getCwdState(): string {
534 return STATE.cwd

Callers 2

setupFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected