refactor: simplify upstream mod

This commit is contained in:
Catriel Müller
2026-05-29 07:52:12 -03:00
parent 7e4c297abd
commit 2972acf0f5
12 changed files with 431 additions and 158 deletions
@@ -25,14 +25,4 @@ describe("tui thread", () => {
test("uses the real cwd after resolving a relative project from PWD", async () => {
await check(".")
})
// kilocode_change start
test("ignores stale PWD after cwd is changed by a process wrapper", async () => {
await using root = await tmpdir()
const pkg = path.join(root.path, "packages", "opencode")
await fs.mkdir(pkg, { recursive: true })
expect(resolveThreadDirectory(".", root.path, pkg)).toBe(pkg)
})
// kilocode_change end
})