Chrome DevTools for coding agents
chore: add via CLI flag (#1086)
Alex Rudenkobaa80f951a91
diff --git a/src/cli.ts b/src/cli.tsindex 23f794fd..1e163a38 100644--- a/src/cli.ts+++ b/src/cli.ts@@ -247,6 +247,12 @@ export const cliOptions = {describe:'Exposes a "slim" set of 3 tools covering navigation, script execution and screenshots only. Useful for basic browser tasks.',},+ viaCli: {+ type: 'boolean',+ describe:+ 'Set by Chrome DevTools CLI if the MCP server is started via the CLI client (this arg exists for usage stats)',+ hidden: true,+ },} satisfies Record<string, YargsOptions>;export type ParsedArguments = ReturnType<typeof parseArguments>;