fix(tui): pass attach directory to sdk client (#6715)

Co-authored-by: shuv <shuv@shuv.dev>
This commit is contained in:
shuv
2026-01-02 21:54:11 -06:00
committed by GitHub
co-authored by shuv
parent f2ec036027
commit 401b498c7d
3 changed files with 6 additions and 3 deletions
@@ -22,9 +22,11 @@ export const AttachCommand = cmd({
}),
handler: async (args) => {
if (args.dir) process.chdir(args.dir)
const directory = process.cwd()
await tui({
url: args.url,
args: { sessionID: args.session },
directory,
})
},
})