@ingcreators/annot-mcp 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1 @@
1
- import { BBox, RedactStyle } from '../dsl/types.js';
2
- export interface RedactRegion {
3
- bbox: BBox;
4
- style?: RedactStyle;
5
- color?: string;
6
- }
7
- /**
8
- * Burn redactions into a PNG buffer. Returns a new PNG with the
9
- * regions painted over the source pixels.
10
- *
11
- * Regions are processed in order; later regions overlay earlier
12
- * ones (no automatic deduplication or alpha-blending).
13
- */
14
- export declare function burnRedactions(pngBytes: Uint8Array, regions: readonly RedactRegion[]): Promise<Uint8Array>;
1
+ export { burnRedactions, burnRegions, type RedactRegion } from '@ingcreators/annot-annotator';
@@ -180,6 +180,74 @@ export declare const annotateScreenshotTool: {
180
180
  type: string;
181
181
  };
182
182
  };
183
+ } | {
184
+ type: string;
185
+ required: string[];
186
+ additionalProperties: boolean;
187
+ properties: {
188
+ type: {
189
+ const: string;
190
+ };
191
+ path: {
192
+ type: string;
193
+ minLength: number;
194
+ };
195
+ intent: {
196
+ $ref: string;
197
+ };
198
+ stroke: {
199
+ type: string;
200
+ };
201
+ strokeWidth: {
202
+ type: string;
203
+ minimum: number;
204
+ };
205
+ fill: {
206
+ type: string;
207
+ };
208
+ color: {
209
+ type: string;
210
+ };
211
+ };
212
+ } | {
213
+ type: string;
214
+ required: string[];
215
+ additionalProperties: boolean;
216
+ properties: {
217
+ type: {
218
+ const: string;
219
+ };
220
+ cutout: {
221
+ $ref: string;
222
+ };
223
+ imageWidth: {
224
+ type: string;
225
+ minimum: number;
226
+ };
227
+ imageHeight: {
228
+ type: string;
229
+ minimum: number;
230
+ };
231
+ dimColor: {
232
+ type: string;
233
+ };
234
+ intent: {
235
+ $ref: string;
236
+ };
237
+ stroke: {
238
+ type: string;
239
+ };
240
+ strokeWidth: {
241
+ type: string;
242
+ minimum: number;
243
+ };
244
+ fill: {
245
+ type: string;
246
+ };
247
+ color: {
248
+ type: string;
249
+ };
250
+ };
183
251
  } | {
184
252
  type: string;
185
253
  required: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ingcreators/annot-mcp",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "Model Context Protocol server exposing the Annot headless annotator as agent-callable tools. Drop into Claude Desktop / Claude Code / Cursor and let an AI agent compose Annot with @playwright/mcp + GitHub MCP for one-turn bug-report autopilot, visual-diff PR review, and locator-first annotation workflows.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ingcreators",
@@ -48,16 +48,16 @@
48
48
  "devDependencies": {
49
49
  "@types/node": "^25.9.1",
50
50
  "typescript": "^6.0.3",
51
- "vite": "^8.0.13",
52
- "vite-plugin-dts": "^5.0.1"
51
+ "vite": "^8.0.16",
52
+ "vite-plugin-dts": "^5.0.3"
53
53
  },
54
54
  "dependencies": {
55
55
  "@modelcontextprotocol/sdk": "^1.0.0",
56
- "@napi-rs/canvas": "^1.0.0",
56
+ "@napi-rs/canvas": "^1.0.2",
57
57
  "pixelmatch": "^7.1.0",
58
- "playwright-core": "^1.50.0",
59
- "@ingcreators/annot-annotator": "0.5.0",
60
- "@ingcreators/annot-product-docs": "0.3.0"
58
+ "playwright-core": "^1.61.1",
59
+ "@ingcreators/annot-annotator": "0.6.0",
60
+ "@ingcreators/annot-product-docs": "0.4.1"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "vite build",