feat(core): allow passing workspaceID into session create endpoint (#16798)

This commit is contained in:
James Long
2026-03-10 11:12:51 -04:00
committed by GitHub
parent 69ddc91c35
commit a4330a225d
8 changed files with 18 additions and 3 deletions
@@ -402,9 +402,12 @@ function App() {
const current = promptRef.current
// Don't require focus - if there's any text, preserve it
const currentPrompt = current?.current?.input ? current.current : undefined
const workspaceID =
route.data.type === "session" ? sync.session.get(route.data.sessionID)?.workspaceID : undefined
route.navigate({
type: "home",
initialPrompt: currentPrompt,
workspaceID,
})
dialog.clear()
},