Skip to content

Commit dc4be67

Browse files
committed
chore: fixes
1 parent dff4104 commit dc4be67

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

scripts/eval_scenarios/fix_webpage_issues_test.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,13 @@ export const scenario: TestScenario = {
3939
},
4040
expectations: calls => {
4141
const NAVIGATION_TOOLS = ['navigate_page', 'new_page'];
42-
assert.ok(calls.length >= 2, 'Expected at least navigation and one inspection');
43-
const navigationIndex = calls.findIndex(c => NAVIGATION_TOOLS.includes(c.name));
42+
assert.ok(
43+
calls.length >= 2,
44+
'Expected at least navigation and one inspection',
45+
);
46+
const navigationIndex = calls.findIndex(c =>
47+
NAVIGATION_TOOLS.includes(c.name),
48+
);
4449
assert.ok(
4550
navigationIndex !== -1,
4651
`Expected a navigation call (${NAVIGATION_TOOLS.join(' or ')}), got: ${calls.map(c => c.name).join(', ')}`,

src/main.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ import {VERSION} from './version.js';
1717

1818
export const args = parseArguments(VERSION);
1919

20-
if (args.slim === undefined) {
21-
args.slim = false;
22-
}
23-
2420
const logFile = args.logFile ? saveLogsToFile(args.logFile) : undefined;
2521
if (
2622
process.env['CI'] ||

src/tools/pages.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ export const closePage = defineTool({
8787

8888
export const newPage = defineTool({
8989
name: 'new_page',
90-
91-
description: `Open a new tab and load a URL. If no URL given, ask to run from current directory or for the URL.`,
90+
description: `Open a new tab and load a URL. Use project URL if not specified otherwise.`,
9291
annotations: {
9392
category: ToolCategory.NAVIGATION,
9493
readOnlyHint: false,

0 commit comments

Comments
 (0)