mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-04-27 15:07:41 +00:00
Prepare for 1.0.0-beta.11 release
- Update version to 1.0.0-beta.11 in package.json and Swift version file - Update CHANGELOG.md with today's date - Fix test expectations for new error message format - Build universal Swift binary with latest changes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
de5a0cb97e
commit
4e5e15c5a5
5 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## [1.0.0-beta.11] - 2024-08-01
|
## [1.0.0-beta.11] - 2025-01-06
|
||||||
|
|
||||||
### Improved
|
### Improved
|
||||||
- Greatly enhanced error handling for the `image` tool. The Swift CLI now returns distinct exit codes for different error conditions, such as missing Screen Recording or Accessibility permissions, instead of a generic failure code.
|
- Greatly enhanced error handling for the `image` tool. The Swift CLI now returns distinct exit codes for different error conditions, such as missing Screen Recording or Accessibility permissions, instead of a generic failure code.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@steipete/peekaboo-mcp",
|
"name": "@steipete/peekaboo-mcp",
|
||||||
"version": "1.0.0-beta.10",
|
"version": "1.0.0-beta.11",
|
||||||
"description": "A macOS utility exposed via Node.js MCP server for advanced screen captures, image analysis, and window management",
|
"description": "A macOS utility exposed via Node.js MCP server for advanced screen captures, image analysis, and window management",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@ describe("Swift CLI Integration Tests", () => {
|
||||||
const firstContentItem = response.content[0] as PeekabooContentItem;
|
const firstContentItem = response.content[0] as PeekabooContentItem;
|
||||||
// Expect the generic failure message from the handler when Swift CLI fails
|
// Expect the generic failure message from the handler when Swift CLI fails
|
||||||
expect(firstContentItem.text?.toLowerCase()).toMatch(
|
expect(firstContentItem.text?.toLowerCase()).toMatch(
|
||||||
/list operation failed: swift cli execution failed/i,
|
/list operation failed: (swift cli execution failed|an unknown error occurred)/i,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}, 15000);
|
}, 15000);
|
||||||
|
|
|
||||||
|
|
@ -189,8 +189,8 @@ describe("Swift CLI Utility", () => {
|
||||||
expect(result).toEqual({
|
expect(result).toEqual({
|
||||||
success: false,
|
success: false,
|
||||||
error: {
|
error: {
|
||||||
code: "SWIFT_CLI_EXECUTION_ERROR",
|
code: "SWIFT_CLI_UNKNOWN_ERROR",
|
||||||
message: "Swift CLI execution failed (exit code: 1)",
|
message: "An unknown error occurred in the Swift CLI.",
|
||||||
details: "Plain text error",
|
details: "Plain text error",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue