Skip to content

Commit b43f849

Browse files
authored
Merge pull request #3791 from code-yeongyu/fix/parentSessionId-typo
fix(background-agent): fix parentSessionID -> parentSessionId typo causing TS build failure
2 parents a63d6e3 + 6323fa8 commit b43f849

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src/features/background-agent/manager.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ export class BackgroundManager {
451451
this.markPreStartDescendantReservation(task)
452452

453453
// Signal CLI run mode that background tasks are active
454-
this.updateBackgroundTaskMarker(input.parentSessionID)
454+
this.updateBackgroundTaskMarker(input.parentSessionId)
455455

456456
// Trigger processing (fire-and-forget)
457457
void this.processKey(key)
@@ -517,7 +517,7 @@ export class BackgroundManager {
517517
}
518518

519519
// Update continuation marker for CLI run mode
520-
this.updateBackgroundTaskMarker(item.task.parentSessionID)
520+
this.updateBackgroundTaskMarker(item.task.parentSessionId)
521521

522522
this.markForNotification(item.task)
523523
this.enqueueNotificationForParent(item.task.parentSessionId, () => this.notifyParentSession(item.task)).catch(err => {
@@ -1548,8 +1548,8 @@ The fallback retry session is now created and can be inspected directly.
15481548
}
15491549

15501550
// Update continuation marker for CLI run mode
1551-
if (task.parentSessionID) {
1552-
this.updateBackgroundTaskMarker(task.parentSessionID)
1551+
if (task.parentSessionId) {
1552+
this.updateBackgroundTaskMarker(task.parentSessionId)
15531553
}
15541554

15551555
this.markForNotification(task)
@@ -1852,8 +1852,8 @@ The task was re-queued on a fallback model after a retryable failure.
18521852
removeTaskToastTracking(task.id)
18531853

18541854
// Update continuation marker for CLI run mode
1855-
if (task.parentSessionID) {
1856-
this.updateBackgroundTaskMarker(task.parentSessionID)
1855+
if (task.parentSessionId) {
1856+
this.updateBackgroundTaskMarker(task.parentSessionId)
18571857
}
18581858

18591859
if (options?.skipNotification) {
@@ -1975,8 +1975,8 @@ The task was re-queued on a fallback model after a retryable failure.
19751975
}
19761976

19771977
// Update continuation marker for CLI run mode
1978-
if (task.parentSessionID) {
1979-
this.updateBackgroundTaskMarker(task.parentSessionID)
1978+
if (task.parentSessionId) {
1979+
this.updateBackgroundTaskMarker(task.parentSessionId)
19801980
}
19811981

19821982
try {
@@ -2216,8 +2216,8 @@ The task was re-queued on a fallback model after a retryable failure.
22162216
}
22172217
this.cleanupPendingByParent(task)
22182218
// Update continuation marker for CLI run mode
2219-
if (task.parentSessionID) {
2220-
this.updateBackgroundTaskMarker(task.parentSessionID)
2219+
if (task.parentSessionId) {
2220+
this.updateBackgroundTaskMarker(task.parentSessionId)
22212221
}
22222222
this.markForNotification(task)
22232223
this.enqueueNotificationForParent(task.parentSessionId, () => this.notifyParentSession(task)).catch(err => {
@@ -2282,8 +2282,8 @@ The task was re-queued on a fallback model after a retryable failure.
22822282
}
22832283

22842284
// Update continuation marker for CLI run mode
2285-
if (task.parentSessionID) {
2286-
this.updateBackgroundTaskMarker(task.parentSessionID)
2285+
if (task.parentSessionId) {
2286+
this.updateBackgroundTaskMarker(task.parentSessionId)
22872287
}
22882288

22892289
this.markForNotification(task)

0 commit comments

Comments
 (0)