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 f2ec036027
commit 401b498c7d
3 changed files with 6 additions and 3 deletions

View File

@@ -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,
})
},
})