@@ -61,7 +61,7 @@ async function typecheck() { |
61 | 61 | console.log(" Running typecheck...") |
62 | 62 |
|
63 | 63 | try { |
64 | | - await $`bun typecheck`.cwd("packages/opencode") |
| 64 | + await $`bun typecheck` |
65 | 65 | return true |
66 | 66 | } catch (err) { |
67 | 67 | console.log(`Typecheck failed: ${err}`) |
@@ -113,7 +113,7 @@ async function fix(pr: PR, files: string[], prs: PR[], applied: number[], idx: n |
113 | 113 | "If bun.lock is conflicted, do not hand-merge it. Delete bun.lock and run bun install after the code conflicts are resolved.", |
114 | 114 | "If a PR already deleted a file/directory, do not re-add it, instead apply changes in the new semantic location.", |
115 | 115 | "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.", |
117 | 117 | "If typecheck fails, you may also update any files reported by typecheck.", |
118 | 118 | "Keep any non-conflict edits narrowly scoped to restoring a valid merged state for the current PR batch.", |
119 | 119 | "Fix any merge-caused typecheck errors before finishing.", |
@@ -149,7 +149,7 @@ async function smoke(prs: PR[], applied: number[]) { |
149 | 149 | const prompt = [ |
150 | 150 | "The beta merge batch is complete.", |
151 | 151 | `Merged PRs on HEAD:\n${done}`, |
152 | | - "Run `bun typecheck` in `packages/opencode`.", |
| 152 | + "Run `bun typecheck` at the repo root.", |
153 | 153 | "Run `./script/build.ts --single` in `packages/opencode`.", |
154 | 154 | "Fix any merge-caused issues until both commands pass.", |
155 | 155 | "Do not create a commit.", |
|