@@ -61,7 +61,7 @@ async function typecheck() {
6161 console . log ( " Running typecheck..." )
6262
6363 try {
64- await $ `bun typecheck` . cwd ( "packages/opencode" )
64+ await $ `bun typecheck`
6565 return true
6666 } catch ( err ) {
6767 console . log ( `Typecheck failed: ${ err } ` )
@@ -113,7 +113,7 @@ async function fix(pr: PR, files: string[], prs: PR[], applied: number[], idx: n
113113 "If bun.lock is conflicted, do not hand-merge it. Delete bun.lock and run bun install after the code conflicts are resolved." ,
114114 "If a PR already deleted a file/directory, do not re-add it, instead apply changes in the new semantic location." ,
115115 "If a PR already changed an import, keep that change." ,
116- "After resolving the conflicts, run `bun typecheck` in `packages/opencode` ." ,
116+ "After resolving the conflicts, run `bun typecheck` at the repo root ." ,
117117 "If typecheck fails, you may also update any files reported by typecheck." ,
118118 "Keep any non-conflict edits narrowly scoped to restoring a valid merged state for the current PR batch." ,
119119 "Fix any merge-caused typecheck errors before finishing." ,
@@ -149,7 +149,7 @@ async function smoke(prs: PR[], applied: number[]) {
149149 const prompt = [
150150 "The beta merge batch is complete." ,
151151 `Merged PRs on HEAD:\n${ done } ` ,
152- "Run `bun typecheck` in `packages/opencode` ." ,
152+ "Run `bun typecheck` at the repo root ." ,
153153 "Run `./script/build.ts --single` in `packages/opencode`." ,
154154 "Fix any merge-caused issues until both commands pass." ,
155155 "Do not create a commit." ,
0 commit comments