From 948ccb9013525bfc33f7542ffe1bf0ebe36bbace Mon Sep 17 00:00:00 2001 From: Tomas Grasl Date: Fri, 13 Feb 2026 21:13:01 +0100 Subject: [PATCH] fix: Update version to 0.7.1 and simplify saveTo parameter description in screenshot tools --- CHANGELOG.md | 6 ++++++ package.json | 2 +- src/config/constants.ts | 2 +- src/tools/screenshot.ts | 2 +- tests/config/constants.test.ts | 2 +- tests/smoke.test.ts | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afbe904..dc727c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.7.1] - 2026-02-13 + +### Fixed +- Simplified `saveTo` parameter description in screenshot tools to remove opinionated usage instructions that were influencing AI assistant behavior + ## [0.7.0] - 2026-02-13 ### Added @@ -179,6 +184,7 @@ Released on npm, see GitHub releases for details. - UID-based element referencing system - Headless mode support +[0.7.1]: https://github.com/freema/firefox-devtools-mcp/compare/v0.7.0...v0.7.1 [0.7.0]: https://github.com/freema/firefox-devtools-mcp/compare/v0.6.1...v0.7.0 [0.6.1]: https://github.com/freema/firefox-devtools-mcp/compare/v0.6.0...v0.6.1 [0.5.3]: https://github.com/freema/firefox-devtools-mcp/compare/v0.5.2...v0.5.3 diff --git a/package.json b/package.json index d80de41..a726506 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "firefox-devtools-mcp", - "version": "0.7.0", + "version": "0.7.1", "description": "Model Context Protocol (MCP) server for Firefox DevTools automation", "author": "freema", "license": "MIT", diff --git a/src/config/constants.ts b/src/config/constants.ts index 2269d61..3191e39 100644 --- a/src/config/constants.ts +++ b/src/config/constants.ts @@ -3,4 +3,4 @@ */ export const SERVER_NAME = 'firefox-devtools'; -export const SERVER_VERSION = '0.7.0'; +export const SERVER_VERSION = '0.7.1'; diff --git a/src/tools/screenshot.ts b/src/tools/screenshot.ts index 64df6f2..4d0d232 100644 --- a/src/tools/screenshot.ts +++ b/src/tools/screenshot.ts @@ -11,7 +11,7 @@ import type { McpToolResponse } from '../types/common.js'; const SAVE_TO_SCHEMA = { type: 'string', description: - "Optional absolute file path to save the screenshot to instead of returning it as image data in the response. Use this in CLI environments (e.g. Claude Code) to avoid filling up the context window with large base64 image data. Example: '/tmp/screenshot.png'", + 'Optional file path to save the screenshot to instead of returning it as image data in the response.', } as const; // Tool definitions diff --git a/tests/config/constants.test.ts b/tests/config/constants.test.ts index b208608..056d842 100644 --- a/tests/config/constants.test.ts +++ b/tests/config/constants.test.ts @@ -23,7 +23,7 @@ describe('Constants', () => { }); it('should match package.json version', () => { - expect(SERVER_VERSION).toBe('0.7.0'); + expect(SERVER_VERSION).toBe('0.7.1'); }); it('should be a non-empty string', () => { diff --git a/tests/smoke.test.ts b/tests/smoke.test.ts index 11cd9fa..d94ef5a 100644 --- a/tests/smoke.test.ts +++ b/tests/smoke.test.ts @@ -16,7 +16,7 @@ describe('Smoke Tests', () => { it('should have valid server version', () => { expect(SERVER_VERSION).toMatch(/^\d+\.\d+\.\d+/); - expect(SERVER_VERSION).toBe('0.7.0'); + expect(SERVER_VERSION).toBe('0.7.1'); }); });