diff --git a/package.json b/package.json index 144eac32e..5e4b3fd7e 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ }, "overrides": {}, "scripts": { - "install:dev": "bun install && bun --cwd=packages/coding-agent link && ln -sfn \"$(pwd)/packages/coding-agent/scripts/dev-launch\" \"$(bun pm -g bin)/omp\"", + "install:dev": "bun install && bun --cwd=packages/coding-agent link && ln -sfn \"$(pwd)/packages/coding-agent/scripts/omp\" \"$(bun pm -g bin)/omp\"", "dev": "bun --cwd=packages/coding-agent src/cli.ts", "dev:timing": "PI_TIMING=x bun --cwd=packages/coding-agent --preload ../utils/src/module-timer.ts src/cli.ts", "stats": "bun --cwd=packages/coding-agent src/cli.ts stats", diff --git a/packages/coding-agent/scripts/dev-launch b/packages/coding-agent/scripts/omp similarity index 97% rename from packages/coding-agent/scripts/dev-launch rename to packages/coding-agent/scripts/omp index c187c6161..8db47a6b4 100755 --- a/packages/coding-agent/scripts/dev-launch +++ b/packages/coding-agent/scripts/omp @@ -27,7 +27,7 @@ while [ -L "$self" ]; do done scripts_dir=$(CDPATH= cd -- "$(dirname -- "$self")" && pwd -P) cli=$scripts_dir/../src/cli.ts -preload=$scripts_dir/dev-launch-preload.ts +preload=$scripts_dir/omp.ts timing_preload=$scripts_dir/../../utils/src/module-timer.ts launch_dir=${OMP_DEV_LAUNCH_DIR:-${HOME}/.omp/.dev-cwd} diff --git a/packages/coding-agent/scripts/dev-launch-preload.ts b/packages/coding-agent/scripts/omp.ts similarity index 91% rename from packages/coding-agent/scripts/dev-launch-preload.ts rename to packages/coding-agent/scripts/omp.ts index 5cafa09ad..cad144df1 100644 --- a/packages/coding-agent/scripts/dev-launch-preload.ts +++ b/packages/coding-agent/scripts/omp.ts @@ -1,5 +1,5 @@ /** - * Bun `--preload` shim for the omp dev launcher (`scripts/dev-launch`). + * Bun `--preload` shim for the omp dev launcher (`scripts/omp`). * * The launcher starts Bun from an empty, bunfig-free directory so a foreign * project's `bunfig.toml` `preload` cannot run inside the omp CLI: Bun reads