Skip to content

Commit e23039f

Browse files
moritzflCopilot
andcommitted
Apply remaining changes
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 05f3966 commit e23039f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/v2/plugin.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ async function attach(ctx: V2Context): Promise<() => void> {
449449
// Older hosts ignore the type filter and deliver the full stream.
450450
const subscription = {
451451
signal: eventAbort.signal,
452-
types: ["session.text.ended", "session.execution.succeeded", "session.deleted"],
452+
types: ["session.text.ended", "session.execution.succeeded", "session.deleted"] as const,
453453
}
454454
for await (const raw of ctx.event.subscribe(subscription)) {
455455
const e = raw as { type?: string } & Record<string, any>

0 commit comments

Comments
 (0)