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 19:54:11 -08:00
committed by GitHub
parent 5e507c5a78
commit 841fa12720
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,
})
},
})