CoreLayer Docs
Reference

CLI Commands

Package scripts and helper commands in the CoreLayer repository.

CoreLayer is driven by pnpm workspace scripts. All commands run from the repository root unless noted.

Development

CommandDescription
pnpm devDaemon + Tauri app together (concurrently)
pnpm dev:daemonDaemon only, with tsx watch hot reload
pnpm dev:frontendTauri app only
pnpm dev:webFrontend in browser mode, no Tauri shell

Build

CommandDescription
pnpm buildSidecar binary, then the Tauri app
pnpm build:daemonTypeScript build of the daemon
pnpm build:daemon:sidecarPackage the daemon as a sidecar executable

Quality

CommandDescription
pnpm lint / pnpm lint:fixESLint across frontend, daemon, and packages
pnpm format / pnpm format:checkPrettier
pnpm testVitest across all packages
pnpm typecheckTypeScript across all packages

pnpm test does not run the reliability eval — that costs real model turns and is invoked explicitly (see below).

Verification and packaging

CommandDescription
pnpm test:smoke:sidecarSmoke-test the built sidecar
pnpm cleanClean build outputs in all packages
pnpm clean:appKill a running app process
pnpm clean:daemonKill whatever holds port 3001
pnpm clean:allBoth of the above
pnpm clean:seaRemove the single-executable build temp directory

Release

CommandDescription
pnpm releaseStandard-version patch release
pnpm release:minorMinor release
pnpm release:majorMajor release
pnpm commitlintValidate the last commit message

Reliability eval

Run from daemon/:

npx tsx src/eval/cli.ts --corpus src/eval/corpora/core.json --k 3
npx tsx src/eval/cli.ts --corpus src/eval/corpora/holdout.json --k 3 --compare JARVIS_REFLECTION=1

Requires ANTHROPIC_MODEL, ANTHROPIC_BASE_URL, and ANTHROPIC_AUTH_TOKEN to point at a healthy gateway. See Run a Reliability Eval.

Database

Run from daemon/:

CommandDescription
pnpm db:generateGenerate a migration and compile it
pnpm db:migrateApply migrations
pnpm db:studioOpen Drizzle Studio

Next Steps

On this page