File tree Expand file tree Collapse file tree 4 files changed +14
-8
lines changed
Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1818 "extra-files" : [
1919 {
2020 "type" : " generic" ,
21- "path" : " src/main .ts"
21+ "path" : " src/version .ts"
2222 },
2323 {
2424 "type" : " json" ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {StdioClientTransport} from '@modelcontextprotocol/sdk/client/stdio.js';
1515
1616import { logger } from '../logger.js' ;
1717import { PipeTransport } from '../third_party/index.js' ;
18+ import { VERSION } from '../version.js' ;
1819
1920import {
2021 getSocketPath ,
@@ -43,8 +44,7 @@ async function setupMCPClient() {
4344 mcpClient = new Client (
4445 {
4546 name : 'chrome-devtools-cli-daemon' ,
46- // TODO: handle client version (optional).
47- version : '0.1.0' ,
47+ version : VERSION ,
4848 } ,
4949 {
5050 capabilities : { } ,
Original file line number Diff line number Diff line change @@ -30,11 +30,7 @@ import {ToolCategory} from './tools/categories.js';
3030import { tools as slimTools } from './tools/slim/tools.js' ;
3131import type { ToolDefinition } from './tools/ToolDefinition.js' ;
3232import { tools } from './tools/tools.js' ;
33-
34- // If moved update release-please config
35- // x-release-please-start-version
36- const VERSION = '0.17.3' ;
37- // x-release-please-end
33+ import { VERSION } from './version.js' ;
3834
3935export const args = parseArguments ( VERSION ) ;
4036
Original file line number Diff line number Diff line change 1+ /**
2+ * @license
3+ * Copyright 2026 Google LLC
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ // If moved update release-please config
8+ // x-release-please-start-version
9+ export const VERSION = '0.17.3' ;
10+ // x-release-please-end
You can’t perform that action at this time.
0 commit comments