@pixerate/editor 0.81.0 → 0.83.0

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.
Files changed (67) hide show
  1. package/dist/agent/index.cjs +36 -7
  2. package/dist/agent/index.cjs.map +1 -1
  3. package/dist/agent/index.d.cts +5 -3
  4. package/dist/agent/index.d.ts +5 -3
  5. package/dist/agent/index.js +43 -14
  6. package/dist/agent/index.js.map +1 -1
  7. package/dist/animation-editor/index.d.cts +1 -1
  8. package/dist/animation-editor/index.d.ts +1 -1
  9. package/dist/bridge/index.d.cts +3 -3
  10. package/dist/bridge/index.d.ts +3 -3
  11. package/dist/{bridge-client-C5dRjrz5.d.ts → bridge-client-CMGfnjTl.d.ts} +1 -1
  12. package/dist/{bridge-client-C5OziCRK.d.cts → bridge-client-VpnICVxP.d.cts} +1 -1
  13. package/dist/canvas/index.cjs +235 -104
  14. package/dist/canvas/index.cjs.map +1 -1
  15. package/dist/canvas/index.d.cts +59 -1
  16. package/dist/canvas/index.d.ts +59 -1
  17. package/dist/canvas/index.js +234 -103
  18. package/dist/canvas/index.js.map +1 -1
  19. package/dist/capture-DFEMFmVt.d.cts +133 -0
  20. package/dist/capture-wwNGaW05.d.ts +133 -0
  21. package/dist/chart/index.d.cts +1 -1
  22. package/dist/chart/index.d.ts +1 -1
  23. package/dist/{chunk-K73CKYUM.cjs → chunk-EI2MOVQ3.cjs} +198 -3
  24. package/dist/chunk-EI2MOVQ3.cjs.map +1 -0
  25. package/dist/chunk-FURT6ZFZ.cjs +1 -0
  26. package/dist/chunk-FURT6ZFZ.cjs.map +1 -0
  27. package/dist/{chunk-GPWNYQ7R.js → chunk-O2W2SP3C.js} +197 -2
  28. package/dist/chunk-O2W2SP3C.js.map +1 -0
  29. package/dist/chunk-REOJJIY3.js +201 -0
  30. package/dist/chunk-REOJJIY3.js.map +1 -0
  31. package/dist/chunk-RJ2BFKEN.js +1 -0
  32. package/dist/chunk-RJ2BFKEN.js.map +1 -0
  33. package/dist/chunk-VJUVNERT.cjs +201 -0
  34. package/dist/chunk-VJUVNERT.cjs.map +1 -0
  35. package/dist/commands/index.d.cts +1 -1
  36. package/dist/commands/index.d.ts +1 -1
  37. package/dist/diagram/index.d.cts +1 -1
  38. package/dist/diagram/index.d.ts +1 -1
  39. package/dist/dom-capture-7Wvf6Tyg.d.ts +59 -0
  40. package/dist/dom-capture-GyYuE-zq.d.cts +59 -0
  41. package/dist/generation/index.d.cts +2 -2
  42. package/dist/generation/index.d.ts +2 -2
  43. package/dist/image-editor/index.cjs +97 -1
  44. package/dist/image-editor/index.cjs.map +1 -1
  45. package/dist/image-editor/index.d.cts +24 -2
  46. package/dist/image-editor/index.d.ts +24 -2
  47. package/dist/image-editor/index.js +96 -0
  48. package/dist/image-editor/index.js.map +1 -1
  49. package/dist/{registry-DIpIaCkH.d.cts → registry-BqA1AZt0.d.cts} +1 -1
  50. package/dist/{registry-7AZFuand.d.ts → registry-D-4fit9C.d.ts} +1 -1
  51. package/dist/tools/index.cjs +33 -4
  52. package/dist/tools/index.cjs.map +1 -1
  53. package/dist/tools/index.d.cts +4 -2
  54. package/dist/tools/index.d.ts +4 -2
  55. package/dist/tools/index.js +43 -14
  56. package/dist/video-editor/index.cjs +557 -99
  57. package/dist/video-editor/index.cjs.map +1 -1
  58. package/dist/video-editor/index.d.cts +211 -6
  59. package/dist/video-editor/index.d.ts +211 -6
  60. package/dist/video-editor/index.js +493 -35
  61. package/dist/video-editor/index.js.map +1 -1
  62. package/package.json +1 -1
  63. package/skills/pixerate-canvas/SKILL.md +1 -0
  64. package/skills/pixerate-image-editor/SKILL.md +1 -0
  65. package/skills/pixerate-video-editor/SKILL.md +24 -6
  66. package/dist/chunk-GPWNYQ7R.js.map +0 -1
  67. package/dist/chunk-K73CKYUM.cjs.map +0 -1
@@ -168,4 +168,4 @@ declare class ToolRegistry {
168
168
  }
169
169
  declare function createToolRegistry(options?: ToolRegistryOptions): ToolRegistry;
170
170
 
171
- export { type AgentToolProvider as A, type McpToolDefinition as M, ToolRegistry as T, type McpToolResult as a, type AgentTool as b, type AgentToolHandler as c, type McpListToolsResult as d, type McpToolContent as e, TOOL_NAMESPACE_SEPARATOR as f, type ToolCallContext as g, type ToolCallError as h, type ToolErrorCode as i, ToolRegistryError as j, type ToolRegistryOptions as k, createToolRegistry as l, toToolResult as t };
171
+ export { type AgentTool as A, type McpToolDefinition as M, ToolRegistry as T, type AgentToolProvider as a, type McpToolResult as b, type AgentToolHandler as c, type McpListToolsResult as d, type McpToolContent as e, TOOL_NAMESPACE_SEPARATOR as f, type ToolCallContext as g, type ToolCallError as h, type ToolErrorCode as i, ToolRegistryError as j, type ToolRegistryOptions as k, createToolRegistry as l, toToolResult as t };
@@ -168,4 +168,4 @@ declare class ToolRegistry {
168
168
  }
169
169
  declare function createToolRegistry(options?: ToolRegistryOptions): ToolRegistry;
170
170
 
171
- export { type AgentToolProvider as A, type McpToolDefinition as M, ToolRegistry as T, type McpToolResult as a, type AgentTool as b, type AgentToolHandler as c, type McpListToolsResult as d, type McpToolContent as e, TOOL_NAMESPACE_SEPARATOR as f, type ToolCallContext as g, type ToolCallError as h, type ToolErrorCode as i, ToolRegistryError as j, type ToolRegistryOptions as k, createToolRegistry as l, toToolResult as t };
171
+ export { type AgentTool as A, type McpToolDefinition as M, ToolRegistry as T, type AgentToolProvider as a, type McpToolResult as b, type AgentToolHandler as c, type McpListToolsResult as d, type McpToolContent as e, TOOL_NAMESPACE_SEPARATOR as f, type ToolCallContext as g, type ToolCallError as h, type ToolErrorCode as i, ToolRegistryError as j, type ToolRegistryOptions as k, createToolRegistry as l, toToolResult as t };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-FURT6ZFZ.cjs');
2
2
 
3
3
 
4
4
 
@@ -11,6 +11,7 @@
11
11
 
12
12
 
13
13
 
14
+ var _chunkQIWFEEWGcjs = require('../chunk-QIWFEEWG.cjs');
14
15
 
15
16
 
16
17
 
@@ -19,7 +20,6 @@
19
20
 
20
21
 
21
22
 
22
- var _chunkK73CKYUMcjs = require('../chunk-K73CKYUM.cjs');
23
23
 
24
24
 
25
25
 
@@ -32,7 +32,23 @@ var _chunkK73CKYUMcjs = require('../chunk-K73CKYUM.cjs');
32
32
 
33
33
 
34
34
 
35
- var _chunkQIWFEEWGcjs = require('../chunk-QIWFEEWG.cjs');
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+ var _chunkEI2MOVQ3cjs = require('../chunk-EI2MOVQ3.cjs');
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+ var _chunkVJUVNERTcjs = require('../chunk-VJUVNERT.cjs');
36
52
 
37
53
 
38
54
  var _chunkRIWPYSKUcjs = require('../chunk-RIWPYSKU.cjs');
@@ -69,5 +85,18 @@ var _chunkRIWPYSKUcjs = require('../chunk-RIWPYSKU.cjs');
69
85
 
70
86
 
71
87
 
72
- exports.EDITOR_CANVAS_TOOLS = _chunkK73CKYUMcjs.EDITOR_CANVAS_TOOLS; exports.EDITOR_MCP_TOOLS = _chunkK73CKYUMcjs.EDITOR_MCP_TOOLS; exports.EDITOR_PROMPT_TOOLS = _chunkK73CKYUMcjs.EDITOR_PROMPT_TOOLS; exports.EDIT_OPERATION_REQUIRED_ARGUMENTS = _chunkK73CKYUMcjs.EDIT_OPERATION_REQUIRED_ARGUMENTS; exports.EXPORT_EXCLUDED_SELECTORS = _chunkK73CKYUMcjs.EXPORT_EXCLUDED_SELECTORS; exports.JSON_RPC_ERRORS = _chunkQIWFEEWGcjs.JSON_RPC_ERRORS; exports.MCP_PROTOCOL_VERSIONS = _chunkQIWFEEWGcjs.MCP_PROTOCOL_VERSIONS; exports.MCP_TOOL_CANVAS_ADD_NODE = _chunkK73CKYUMcjs.MCP_TOOL_CANVAS_ADD_NODE; exports.MCP_TOOL_CANVAS_CONNECT = _chunkK73CKYUMcjs.MCP_TOOL_CANVAS_CONNECT; exports.MCP_TOOL_CANVAS_HIGHLIGHT = _chunkK73CKYUMcjs.MCP_TOOL_CANVAS_HIGHLIGHT; exports.MCP_TOOL_CANVAS_LAYOUT = _chunkK73CKYUMcjs.MCP_TOOL_CANVAS_LAYOUT; exports.MCP_TOOL_CANVAS_REMOVE_NODES = _chunkK73CKYUMcjs.MCP_TOOL_CANVAS_REMOVE_NODES; exports.MCP_TOOL_CANVAS_SELECT = _chunkK73CKYUMcjs.MCP_TOOL_CANVAS_SELECT; exports.MCP_TOOL_CANVAS_UPDATE_NODE = _chunkK73CKYUMcjs.MCP_TOOL_CANVAS_UPDATE_NODE; exports.MCP_TOOL_EDIT_CANVAS = _chunkK73CKYUMcjs.MCP_TOOL_EDIT_CANVAS; exports.MCP_TOOL_EDIT_PROMPT = _chunkK73CKYUMcjs.MCP_TOOL_EDIT_PROMPT; exports.MCP_TOOL_GET_EDITOR_STATE = _chunkK73CKYUMcjs.MCP_TOOL_GET_EDITOR_STATE; exports.MCP_TOOL_PROMPT_INSERT_TEXT = _chunkK73CKYUMcjs.MCP_TOOL_PROMPT_INSERT_TEXT; exports.MCP_TOOL_PROMPT_REPLACE_RANGE = _chunkK73CKYUMcjs.MCP_TOOL_PROMPT_REPLACE_RANGE; exports.MCP_TOOL_PROMPT_SELECT = _chunkK73CKYUMcjs.MCP_TOOL_PROMPT_SELECT; exports.MCP_TOOL_PROMPT_SET_VARIABLE = _chunkK73CKYUMcjs.MCP_TOOL_PROMPT_SET_VARIABLE; exports.MCP_TOOL_VIEW_EDITOR = _chunkK73CKYUMcjs.MCP_TOOL_VIEW_EDITOR; exports.TOOL_BRIDGE_DEFAULT_PORT = _chunkQIWFEEWGcjs.TOOL_BRIDGE_DEFAULT_PORT; exports.TOOL_BRIDGE_PROTOCOL = _chunkQIWFEEWGcjs.TOOL_BRIDGE_PROTOCOL; exports.TOOL_NAMESPACE_SEPARATOR = _chunkQIWFEEWGcjs.TOOL_NAMESPACE_SEPARATOR; exports.ToolRegistry = _chunkQIWFEEWGcjs.ToolRegistry; exports.ToolRegistryError = _chunkQIWFEEWGcjs.ToolRegistryError; exports.connectToolBridge = _chunkQIWFEEWGcjs.connectToolBridge; exports.createMcpServer = _chunkQIWFEEWGcjs.createMcpServer; exports.createToolRegistry = _chunkQIWFEEWGcjs.createToolRegistry; exports.toToolResult = _chunkQIWFEEWGcjs.toToolResult; exports.validateJsonSchema = _chunkRIWPYSKUcjs.validateJsonSchema;
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ exports.CAPTURE_EXCLUDE_SELECTOR = _chunkEI2MOVQ3cjs.CAPTURE_EXCLUDE_SELECTOR; exports.CAPTURE_OVERLAY_SELECTORS = _chunkEI2MOVQ3cjs.CAPTURE_OVERLAY_SELECTORS; exports.EDITOR_CANVAS_TOOLS = _chunkEI2MOVQ3cjs.EDITOR_CANVAS_TOOLS; exports.EDITOR_MCP_TOOLS = _chunkEI2MOVQ3cjs.EDITOR_MCP_TOOLS; exports.EDITOR_PROMPT_TOOLS = _chunkEI2MOVQ3cjs.EDITOR_PROMPT_TOOLS; exports.EDIT_OPERATION_REQUIRED_ARGUMENTS = _chunkEI2MOVQ3cjs.EDIT_OPERATION_REQUIRED_ARGUMENTS; exports.EXPORT_EXCLUDED_SELECTORS = _chunkEI2MOVQ3cjs.EXPORT_EXCLUDED_SELECTORS; exports.JSON_RPC_ERRORS = _chunkQIWFEEWGcjs.JSON_RPC_ERRORS; exports.MCP_PROTOCOL_VERSIONS = _chunkQIWFEEWGcjs.MCP_PROTOCOL_VERSIONS; exports.MCP_TOOL_CANVAS_ADD_NODE = _chunkEI2MOVQ3cjs.MCP_TOOL_CANVAS_ADD_NODE; exports.MCP_TOOL_CANVAS_CONNECT = _chunkEI2MOVQ3cjs.MCP_TOOL_CANVAS_CONNECT; exports.MCP_TOOL_CANVAS_HIGHLIGHT = _chunkEI2MOVQ3cjs.MCP_TOOL_CANVAS_HIGHLIGHT; exports.MCP_TOOL_CANVAS_LAYOUT = _chunkEI2MOVQ3cjs.MCP_TOOL_CANVAS_LAYOUT; exports.MCP_TOOL_CANVAS_REMOVE_NODES = _chunkEI2MOVQ3cjs.MCP_TOOL_CANVAS_REMOVE_NODES; exports.MCP_TOOL_CANVAS_SELECT = _chunkEI2MOVQ3cjs.MCP_TOOL_CANVAS_SELECT; exports.MCP_TOOL_CANVAS_UPDATE_NODE = _chunkEI2MOVQ3cjs.MCP_TOOL_CANVAS_UPDATE_NODE; exports.MCP_TOOL_EDIT_CANVAS = _chunkEI2MOVQ3cjs.MCP_TOOL_EDIT_CANVAS; exports.MCP_TOOL_EDIT_PROMPT = _chunkEI2MOVQ3cjs.MCP_TOOL_EDIT_PROMPT; exports.MCP_TOOL_GET_EDITOR_STATE = _chunkEI2MOVQ3cjs.MCP_TOOL_GET_EDITOR_STATE; exports.MCP_TOOL_PROMPT_INSERT_TEXT = _chunkEI2MOVQ3cjs.MCP_TOOL_PROMPT_INSERT_TEXT; exports.MCP_TOOL_PROMPT_REPLACE_RANGE = _chunkEI2MOVQ3cjs.MCP_TOOL_PROMPT_REPLACE_RANGE; exports.MCP_TOOL_PROMPT_SELECT = _chunkEI2MOVQ3cjs.MCP_TOOL_PROMPT_SELECT; exports.MCP_TOOL_PROMPT_SET_VARIABLE = _chunkEI2MOVQ3cjs.MCP_TOOL_PROMPT_SET_VARIABLE; exports.MCP_TOOL_VIEW_EDITOR = _chunkEI2MOVQ3cjs.MCP_TOOL_VIEW_EDITOR; exports.TOOL_BRIDGE_DEFAULT_PORT = _chunkQIWFEEWGcjs.TOOL_BRIDGE_DEFAULT_PORT; exports.TOOL_BRIDGE_PROTOCOL = _chunkQIWFEEWGcjs.TOOL_BRIDGE_PROTOCOL; exports.TOOL_NAMESPACE_SEPARATOR = _chunkQIWFEEWGcjs.TOOL_NAMESPACE_SEPARATOR; exports.ToolRegistry = _chunkQIWFEEWGcjs.ToolRegistry; exports.ToolRegistryError = _chunkQIWFEEWGcjs.ToolRegistryError; exports.captureInputSchema = _chunkVJUVNERTcjs.captureInputSchema; exports.captureOutputSize = _chunkVJUVNERTcjs.captureOutputSize; exports.cloneElementWithStyles = _chunkEI2MOVQ3cjs.cloneElementWithStyles; exports.connectToolBridge = _chunkQIWFEEWGcjs.connectToolBridge; exports.createCaptureTool = _chunkVJUVNERTcjs.createCaptureTool; exports.createCaptureToolProvider = _chunkVJUVNERTcjs.createCaptureToolProvider; exports.createElementCaptureSurface = _chunkEI2MOVQ3cjs.createElementCaptureSurface; exports.createMcpServer = _chunkQIWFEEWGcjs.createMcpServer; exports.createToolRegistry = _chunkQIWFEEWGcjs.createToolRegistry; exports.elementToSvg = _chunkEI2MOVQ3cjs.elementToSvg; exports.rasterizeElement = _chunkEI2MOVQ3cjs.rasterizeElement; exports.resolveCaptureRequest = _chunkVJUVNERTcjs.resolveCaptureRequest; exports.toCapturedImageData = _chunkVJUVNERTcjs.toCapturedImageData; exports.toToolResult = _chunkQIWFEEWGcjs.toToolResult; exports.unionCaptureRects = _chunkVJUVNERTcjs.unionCaptureRects; exports.validateJsonSchema = _chunkRIWPYSKUcjs.validateJsonSchema;
73
102
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/tools/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,6zEAAC","file":"/home/runner/work/editor/editor/packages/core/dist/tools/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/tools/index.cjs"],"names":[],"mappings":"AAAA,0GAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wtGAAC","file":"/home/runner/work/editor/editor/packages/core/dist/tools/index.cjs"}
@@ -1,6 +1,8 @@
1
1
  export { J as JsonSchema, a as JsonSchemaType, S as SchemaValidationError, v as validateJsonSchema } from '../schema-Di0CS6Pe.cjs';
2
- export { b as AgentTool, c as AgentToolHandler, A as AgentToolProvider, d as McpListToolsResult, e as McpToolContent, M as McpToolDefinition, a as McpToolResult, f as TOOL_NAMESPACE_SEPARATOR, g as ToolCallContext, h as ToolCallError, i as ToolErrorCode, T as ToolRegistry, j as ToolRegistryError, k as ToolRegistryOptions, l as createToolRegistry, t as toToolResult } from '../registry-DIpIaCkH.cjs';
3
- export { C as ConnectToolBridgeOptions, J as JSON_RPC_ERRORS, b as JsonRpcId, c as JsonRpcNotification, d as JsonRpcRequest, e as JsonRpcResponse, f as MCP_PROTOCOL_VERSIONS, M as McpServer, g as McpServerOptions, T as TOOL_BRIDGE_DEFAULT_PORT, a as TOOL_BRIDGE_PROTOCOL, h as ToolBridgeConnection, i as ToolBridgeEditorMessage, j as ToolBridgeServerMessage, k as ToolBridgeSocket, l as ToolBridgeStatus, m as connectToolBridge, n as createMcpServer } from '../bridge-client-C5OziCRK.cjs';
2
+ export { A as AgentTool, c as AgentToolHandler, a as AgentToolProvider, d as McpListToolsResult, e as McpToolContent, M as McpToolDefinition, b as McpToolResult, f as TOOL_NAMESPACE_SEPARATOR, g as ToolCallContext, h as ToolCallError, i as ToolErrorCode, T as ToolRegistry, j as ToolRegistryError, k as ToolRegistryOptions, l as createToolRegistry, t as toToolResult } from '../registry-BqA1AZt0.cjs';
3
+ export { C as ConnectToolBridgeOptions, J as JSON_RPC_ERRORS, b as JsonRpcId, c as JsonRpcNotification, d as JsonRpcRequest, e as JsonRpcResponse, f as MCP_PROTOCOL_VERSIONS, M as McpServer, g as McpServerOptions, T as TOOL_BRIDGE_DEFAULT_PORT, a as TOOL_BRIDGE_PROTOCOL, h as ToolBridgeConnection, i as ToolBridgeEditorMessage, j as ToolBridgeServerMessage, k as ToolBridgeSocket, l as ToolBridgeStatus, m as connectToolBridge, n as createMcpServer } from '../bridge-client-VpnICVxP.cjs';
4
+ export { C as CaptureFormat, c as CaptureRect, d as CaptureRegion, e as CaptureRenderRequest, b as CaptureSurface, f as CaptureToolOptions, g as CaptureToolProviderOptions, a as CapturedImage, h as captureInputSchema, i as captureOutputSize, j as createCaptureTool, k as createCaptureToolProvider, r as resolveCaptureRequest, t as toCapturedImageData, u as unionCaptureRects } from '../capture-DFEMFmVt.cjs';
5
+ export { C as CAPTURE_EXCLUDE_SELECTOR, a as CAPTURE_OVERLAY_SELECTORS, E as ElementCaptureSurfaceOptions, R as RasterizeElementOptions, c as cloneElementWithStyles, b as createElementCaptureSurface, e as elementToSvg, r as rasterizeElement } from '../dom-capture-GyYuE-zq.cjs';
4
6
 
5
7
  /**
6
8
  * Standard MCP Tool Definitions for @pixerate/editor.
@@ -1,6 +1,8 @@
1
1
  export { J as JsonSchema, a as JsonSchemaType, S as SchemaValidationError, v as validateJsonSchema } from '../schema-Di0CS6Pe.js';
2
- export { b as AgentTool, c as AgentToolHandler, A as AgentToolProvider, d as McpListToolsResult, e as McpToolContent, M as McpToolDefinition, a as McpToolResult, f as TOOL_NAMESPACE_SEPARATOR, g as ToolCallContext, h as ToolCallError, i as ToolErrorCode, T as ToolRegistry, j as ToolRegistryError, k as ToolRegistryOptions, l as createToolRegistry, t as toToolResult } from '../registry-7AZFuand.js';
3
- export { C as ConnectToolBridgeOptions, J as JSON_RPC_ERRORS, b as JsonRpcId, c as JsonRpcNotification, d as JsonRpcRequest, e as JsonRpcResponse, f as MCP_PROTOCOL_VERSIONS, M as McpServer, g as McpServerOptions, T as TOOL_BRIDGE_DEFAULT_PORT, a as TOOL_BRIDGE_PROTOCOL, h as ToolBridgeConnection, i as ToolBridgeEditorMessage, j as ToolBridgeServerMessage, k as ToolBridgeSocket, l as ToolBridgeStatus, m as connectToolBridge, n as createMcpServer } from '../bridge-client-C5dRjrz5.js';
2
+ export { A as AgentTool, c as AgentToolHandler, a as AgentToolProvider, d as McpListToolsResult, e as McpToolContent, M as McpToolDefinition, b as McpToolResult, f as TOOL_NAMESPACE_SEPARATOR, g as ToolCallContext, h as ToolCallError, i as ToolErrorCode, T as ToolRegistry, j as ToolRegistryError, k as ToolRegistryOptions, l as createToolRegistry, t as toToolResult } from '../registry-D-4fit9C.js';
3
+ export { C as ConnectToolBridgeOptions, J as JSON_RPC_ERRORS, b as JsonRpcId, c as JsonRpcNotification, d as JsonRpcRequest, e as JsonRpcResponse, f as MCP_PROTOCOL_VERSIONS, M as McpServer, g as McpServerOptions, T as TOOL_BRIDGE_DEFAULT_PORT, a as TOOL_BRIDGE_PROTOCOL, h as ToolBridgeConnection, i as ToolBridgeEditorMessage, j as ToolBridgeServerMessage, k as ToolBridgeSocket, l as ToolBridgeStatus, m as connectToolBridge, n as createMcpServer } from '../bridge-client-CMGfnjTl.js';
4
+ export { C as CaptureFormat, c as CaptureRect, d as CaptureRegion, e as CaptureRenderRequest, b as CaptureSurface, f as CaptureToolOptions, g as CaptureToolProviderOptions, a as CapturedImage, h as captureInputSchema, i as captureOutputSize, j as createCaptureTool, k as createCaptureToolProvider, r as resolveCaptureRequest, t as toCapturedImageData, u as unionCaptureRects } from '../capture-wwNGaW05.js';
5
+ export { C as CAPTURE_EXCLUDE_SELECTOR, a as CAPTURE_OVERLAY_SELECTORS, E as ElementCaptureSurfaceOptions, R as RasterizeElementOptions, c as cloneElementWithStyles, b as createElementCaptureSurface, e as elementToSvg, r as rasterizeElement } from '../dom-capture-7Wvf6Tyg.js';
4
6
 
5
7
  /**
6
8
  * Standard MCP Tool Definitions for @pixerate/editor.
@@ -1,4 +1,20 @@
1
+ import "../chunk-RJ2BFKEN.js";
1
2
  import {
3
+ JSON_RPC_ERRORS,
4
+ MCP_PROTOCOL_VERSIONS,
5
+ TOOL_BRIDGE_DEFAULT_PORT,
6
+ TOOL_BRIDGE_PROTOCOL,
7
+ TOOL_NAMESPACE_SEPARATOR,
8
+ ToolRegistry,
9
+ ToolRegistryError,
10
+ connectToolBridge,
11
+ createMcpServer,
12
+ createToolRegistry,
13
+ toToolResult
14
+ } from "../chunk-PTMIGXZ2.js";
15
+ import {
16
+ CAPTURE_EXCLUDE_SELECTOR,
17
+ CAPTURE_OVERLAY_SELECTORS,
2
18
  EDITOR_CANVAS_TOOLS,
3
19
  EDITOR_MCP_TOOLS,
4
20
  EDITOR_PROMPT_TOOLS,
@@ -18,25 +34,27 @@ import {
18
34
  MCP_TOOL_PROMPT_REPLACE_RANGE,
19
35
  MCP_TOOL_PROMPT_SELECT,
20
36
  MCP_TOOL_PROMPT_SET_VARIABLE,
21
- MCP_TOOL_VIEW_EDITOR
22
- } from "../chunk-GPWNYQ7R.js";
37
+ MCP_TOOL_VIEW_EDITOR,
38
+ cloneElementWithStyles,
39
+ createElementCaptureSurface,
40
+ elementToSvg,
41
+ rasterizeElement
42
+ } from "../chunk-O2W2SP3C.js";
23
43
  import {
24
- JSON_RPC_ERRORS,
25
- MCP_PROTOCOL_VERSIONS,
26
- TOOL_BRIDGE_DEFAULT_PORT,
27
- TOOL_BRIDGE_PROTOCOL,
28
- TOOL_NAMESPACE_SEPARATOR,
29
- ToolRegistry,
30
- ToolRegistryError,
31
- connectToolBridge,
32
- createMcpServer,
33
- createToolRegistry,
34
- toToolResult
35
- } from "../chunk-PTMIGXZ2.js";
44
+ captureInputSchema,
45
+ captureOutputSize,
46
+ createCaptureTool,
47
+ createCaptureToolProvider,
48
+ resolveCaptureRequest,
49
+ toCapturedImageData,
50
+ unionCaptureRects
51
+ } from "../chunk-REOJJIY3.js";
36
52
  import {
37
53
  validateJsonSchema
38
54
  } from "../chunk-4FX5ACVG.js";
39
55
  export {
56
+ CAPTURE_EXCLUDE_SELECTOR,
57
+ CAPTURE_OVERLAY_SELECTORS,
40
58
  EDITOR_CANVAS_TOOLS,
41
59
  EDITOR_MCP_TOOLS,
42
60
  EDITOR_PROMPT_TOOLS,
@@ -64,10 +82,21 @@ export {
64
82
  TOOL_NAMESPACE_SEPARATOR,
65
83
  ToolRegistry,
66
84
  ToolRegistryError,
85
+ captureInputSchema,
86
+ captureOutputSize,
87
+ cloneElementWithStyles,
67
88
  connectToolBridge,
89
+ createCaptureTool,
90
+ createCaptureToolProvider,
91
+ createElementCaptureSurface,
68
92
  createMcpServer,
69
93
  createToolRegistry,
94
+ elementToSvg,
95
+ rasterizeElement,
96
+ resolveCaptureRequest,
97
+ toCapturedImageData,
70
98
  toToolResult,
99
+ unionCaptureRects,
71
100
  validateJsonSchema
72
101
  };
73
102
  //# sourceMappingURL=index.js.map