Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"extra-files": [
{
"type": "generic",
"path": "src/main.ts"
"path": "src/version.ts"
},
{
"type": "json",
Expand Down
4 changes: 2 additions & 2 deletions src/daemon/daemon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {StdioClientTransport} from '@modelcontextprotocol/sdk/client/stdio.js';

import {logger} from '../logger.js';
import {PipeTransport} from '../third_party/index.js';
import {VERSION} from '../version.js';

import {
getSocketPath,
Expand Down Expand Up @@ -43,8 +44,7 @@ async function setupMCPClient() {
mcpClient = new Client(
{
name: 'chrome-devtools-cli-daemon',
// TODO: handle client version (optional).
version: '0.1.0',
version: VERSION,
},
{
capabilities: {},
Expand Down
6 changes: 1 addition & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ import {ToolCategory} from './tools/categories.js';
import {tools as slimTools} from './tools/slim/tools.js';
import type {ToolDefinition} from './tools/ToolDefinition.js';
import {tools} from './tools/tools.js';

// If moved update release-please config
// x-release-please-start-version
const VERSION = '0.17.3';
// x-release-please-end
import {VERSION} from './version.js';

export const args = parseArguments(VERSION);

Expand Down
10 changes: 10 additions & 0 deletions src/version.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* @license
* Copyright 2026 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

// If moved update release-please config
// x-release-please-start-version
export const VERSION = '0.17.3';
// x-release-please-end