Skip to content

Commit b6c779d

Browse files
committed
chore: format and lint
1 parent e3384b3 commit b6c779d

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

packages/agent/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ export * from './utils/logger.js';
4949
export * from './utils/mockLogger.js';
5050
export * from './utils/stringifyLimited.js';
5151
export * from './utils/userPrompt.js';
52-
export * from './utils/interactiveInput.js';
52+
export * from './utils/interactiveInput.js';

packages/agent/src/tools/session/SessionTracker.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export class SessionTracker {
243243
this.browserSessions.set(session.id, session);
244244
// Also store in global browserSessions for compatibility
245245
browserSessions.set(session.id, session);
246-
246+
247247
this.setupCleanup(session);
248248

249249
return session;
@@ -312,7 +312,7 @@ export class SessionTracker {
312312
this.browserSessions.set(session.id, session);
313313
// Also store in global browserSessions for compatibility
314314
browserSessions.set(session.id, session);
315-
315+
316316
this.setupCleanup(session);
317317

318318
return session;
@@ -348,11 +348,11 @@ export class SessionTracker {
348348
// In Playwright, we should close the context which will automatically close its pages
349349
await session.page.context().close();
350350
await session.browser.close();
351-
351+
352352
// Remove from both maps
353353
this.browserSessions.delete(sessionId);
354354
browserSessions.delete(sessionId);
355-
355+
356356
// Update status
357357
this.updateSessionStatus(sessionId, SessionStatus.COMPLETED, {
358358
closedExplicitly: true,
@@ -361,7 +361,7 @@ export class SessionTracker {
361361
this.updateSessionStatus(sessionId, SessionStatus.ERROR, {
362362
error: error instanceof Error ? error.message : String(error),
363363
});
364-
364+
365365
throw new BrowserError(
366366
'Failed to close session',
367367
BrowserErrorCode.SESSION_ERROR,
@@ -392,7 +392,7 @@ export class SessionTracker {
392392
session.browser.on('disconnected', () => {
393393
this.browserSessions.delete(session.id);
394394
browserSessions.delete(session.id);
395-
395+
396396
// Update session status
397397
this.updateSessionStatus(session.id, SessionStatus.TERMINATED);
398398
});
@@ -437,4 +437,4 @@ export class SessionTracker {
437437
});
438438
});
439439
}
440-
}
440+
}

packages/agent/src/tools/session/lib/browserDetectors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,4 +251,4 @@ export async function detectBrowsers(): Promise<BrowserInfo[]> {
251251
}
252252

253253
return browsers;
254-
}
254+
}

packages/agent/src/tools/session/sessionStart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,4 +190,4 @@ export const sessionStartTool: Tool<Parameters, ReturnType> = {
190190
logger.log(`Browser session started with ID: ${output.instanceId}`);
191191
}
192192
},
193-
};
193+
};

0 commit comments

Comments
 (0)