feat(protocol): accept title on session create (#39935)

This commit is contained in:
Kit Langton 2026-07-31 15:39:54 -04:00 committed by GitHub
commit 06e26d89ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 22 additions and 1 deletions

View file

@ -77,6 +77,7 @@ export const SessionHandler = HttpApiBuilder.group(Api, "server.session", (handl
data: yield* session
.create({
id: ctx.payload.id,
title: ctx.payload.title,
agent: ctx.payload.agent,
model: ctx.payload.model,
location: ctx.payload.location ?? { directory: AbsolutePath.make(process.cwd()) },