@pixerate/editor 0.135.0 → 0.136.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 (99) hide show
  1. package/dist/animation-editor/index.cjs +58 -55
  2. package/dist/animation-editor/index.cjs.map +1 -1
  3. package/dist/animation-editor/index.d.cts +8 -5
  4. package/dist/animation-editor/index.d.ts +8 -5
  5. package/dist/animation-editor/index.js +5 -2
  6. package/dist/animation-editor/index.js.map +1 -1
  7. package/dist/{bezier-J8i4uqSH.d.cts → bezier-CdccFsF8.d.cts} +1 -1
  8. package/dist/{bezier-lNEOp0Jx.d.ts → bezier-DG9qNZQV.d.ts} +1 -1
  9. package/dist/canvas/index.d.cts +10 -7
  10. package/dist/canvas/index.d.ts +10 -7
  11. package/dist/{chunk-Z2H7KECK.cjs → chunk-2R3UW57U.cjs} +13 -2
  12. package/dist/chunk-2R3UW57U.cjs.map +1 -0
  13. package/dist/{chunk-ESIWZMMK.js → chunk-6QQR4LKE.js} +2 -2
  14. package/dist/chunk-A3BVTI3G.js +150 -0
  15. package/dist/chunk-A3BVTI3G.js.map +1 -0
  16. package/dist/{chunk-T6TV6HY6.cjs → chunk-B2CUCM7Y.cjs} +36 -36
  17. package/dist/{chunk-T6TV6HY6.cjs.map → chunk-B2CUCM7Y.cjs.map} +1 -1
  18. package/dist/chunk-ECCXGELC.cjs +727 -0
  19. package/dist/chunk-ECCXGELC.cjs.map +1 -0
  20. package/dist/{chunk-OXSV64JX.js → chunk-G6IKY6PL.js} +4 -4
  21. package/dist/chunk-I52DRGGJ.js +727 -0
  22. package/dist/chunk-I52DRGGJ.js.map +1 -0
  23. package/dist/{chunk-YAFS2QFZ.cjs → chunk-JLGNZMUV.cjs} +82 -82
  24. package/dist/{chunk-YAFS2QFZ.cjs.map → chunk-JLGNZMUV.cjs.map} +1 -1
  25. package/dist/{chunk-7RJ6P7MI.js → chunk-KZXLZCQ7.js} +2 -2
  26. package/dist/{chunk-HHTCDFZC.js → chunk-MAHQC3SK.js} +13 -2
  27. package/dist/chunk-MAHQC3SK.js.map +1 -0
  28. package/dist/{chunk-FWEO3HSL.js → chunk-PQQF5KOW.js} +8 -8
  29. package/dist/chunk-Q6OUXEK3.cjs +150 -0
  30. package/dist/chunk-Q6OUXEK3.cjs.map +1 -0
  31. package/dist/{chunk-P3RQ5UJE.cjs → chunk-UTQKC66X.cjs} +4 -4
  32. package/dist/{chunk-P3RQ5UJE.cjs.map → chunk-UTQKC66X.cjs.map} +1 -1
  33. package/dist/{chunk-J3B45HTA.cjs → chunk-XB25WOC2.cjs} +6 -6
  34. package/dist/{chunk-J3B45HTA.cjs.map → chunk-XB25WOC2.cjs.map} +1 -1
  35. package/dist/effects/index.d.cts +7 -4
  36. package/dist/effects/index.d.ts +7 -4
  37. package/dist/{export-AZSwX087.d.cts → export-BOheWw2R.d.cts} +3 -3
  38. package/dist/{export-BDkyDNM8.d.ts → export-ByKKIA2S.d.ts} +3 -3
  39. package/dist/{export-KzubBKo7.d.cts → export-CEYeRQXH.d.cts} +1 -1
  40. package/dist/{export-DMeG6E06.d.ts → export-Ds7zgGD8.d.ts} +1 -1
  41. package/dist/extensions/index.cjs +3 -3
  42. package/dist/extensions/index.cjs.map +1 -1
  43. package/dist/extensions/index.js +2 -2
  44. package/dist/generation/index.cjs +150 -945
  45. package/dist/generation/index.cjs.map +1 -1
  46. package/dist/generation/index.d.cts +3 -423
  47. package/dist/generation/index.d.ts +3 -423
  48. package/dist/generation/index.js +59 -854
  49. package/dist/generation/index.js.map +1 -1
  50. package/dist/grammar/index.cjs +3 -3
  51. package/dist/grammar/index.cjs.map +1 -1
  52. package/dist/grammar/index.js +2 -2
  53. package/dist/{helpers-Coa4e2j_.d.ts → helpers--ns3W2D7.d.ts} +7 -1
  54. package/dist/{helpers-DHl28yLO.d.cts → helpers-BVkU4oUi.d.cts} +7 -1
  55. package/dist/image-editor/index.cjs +617 -614
  56. package/dist/image-editor/index.cjs.map +1 -1
  57. package/dist/image-editor/index.d.cts +11 -8
  58. package/dist/image-editor/index.d.ts +11 -8
  59. package/dist/image-editor/index.js +5 -2
  60. package/dist/image-editor/index.js.map +1 -1
  61. package/dist/index.cjs +28 -28
  62. package/dist/index.cjs.map +1 -1
  63. package/dist/index.js +36 -36
  64. package/dist/{opentype-Dfcx6wFx.d.ts → opentype-DfoVYgmG.d.ts} +1 -1
  65. package/dist/{opentype-BWR7Qv8W.d.cts → opentype-yi-Kz4ND.d.cts} +1 -1
  66. package/dist/paint-editor/index.cjs +10 -7
  67. package/dist/paint-editor/index.cjs.map +1 -1
  68. package/dist/paint-editor/index.d.cts +8 -5
  69. package/dist/paint-editor/index.d.ts +8 -5
  70. package/dist/paint-editor/index.js +5 -2
  71. package/dist/paint-editor/index.js.map +1 -1
  72. package/dist/{pathfinder-D8KQ6blQ.d.cts → pathfinder-7JkMwYvC.d.cts} +1 -1
  73. package/dist/{pathfinder-Celbi3e6.d.ts → pathfinder-GM3UWdBZ.d.ts} +1 -1
  74. package/dist/{pool-BfuxBKTd.d.cts → pool-04qp8iW4.d.cts} +1 -1
  75. package/dist/{pool-8JZGWHvR.d.ts → pool-CkTxlLMC.d.ts} +1 -1
  76. package/dist/provenance-DmlcgdzT.d.cts +426 -0
  77. package/dist/provenance-uh5r2TQ8.d.ts +426 -0
  78. package/dist/{svg-pwXWq6s2.d.cts → svg-BDDKvWWY.d.cts} +2 -2
  79. package/dist/{svg-CxxqG3_W.d.ts → svg-rV6_HPmn.d.ts} +2 -2
  80. package/dist/{tools-3EBjR91b.d.cts → tools-BAjSbTdY.d.cts} +1 -1
  81. package/dist/{tools-y1M6O3UT.d.ts → tools-DPYerqeR.d.ts} +1 -1
  82. package/dist/vector/index.cjs +2684 -1860
  83. package/dist/vector/index.cjs.map +1 -1
  84. package/dist/vector/index.d.cts +313 -71
  85. package/dist/vector/index.d.ts +313 -71
  86. package/dist/vector/index.js +4700 -3876
  87. package/dist/vector/index.js.map +1 -1
  88. package/dist/video-editor/index.d.cts +7 -4
  89. package/dist/video-editor/index.d.ts +7 -4
  90. package/dist/{warp-Ceqdz7kj.d.cts → warp-DQh9R7Ie.d.cts} +1 -1
  91. package/dist/{warp-C1gwu2G_.d.ts → warp-XVL6SpSh.d.ts} +1 -1
  92. package/package.json +1 -1
  93. package/skills/pixerate-vector/SKILL.md +14 -0
  94. package/dist/chunk-HHTCDFZC.js.map +0 -1
  95. package/dist/chunk-Z2H7KECK.cjs.map +0 -1
  96. /package/dist/{chunk-ESIWZMMK.js.map → chunk-6QQR4LKE.js.map} +0 -0
  97. /package/dist/{chunk-OXSV64JX.js.map → chunk-G6IKY6PL.js.map} +0 -0
  98. /package/dist/{chunk-7RJ6P7MI.js.map → chunk-KZXLZCQ7.js.map} +0 -0
  99. /package/dist/{chunk-FWEO3HSL.js.map → chunk-PQQF5KOW.js.map} +0 -0
@@ -23,7 +23,8 @@
23
23
 
24
24
 
25
25
 
26
- var _chunkP3RQ5UJEcjs = require('../chunk-P3RQ5UJE.cjs');
26
+ var _chunkUTQKC66Xcjs = require('../chunk-UTQKC66X.cjs');
27
+ require('../chunk-TNNJXF46.cjs');
27
28
 
28
29
 
29
30
 
@@ -58,7 +59,6 @@ var _chunkFD4LPFAEcjs = require('../chunk-FD4LPFAE.cjs');
58
59
 
59
60
 
60
61
  var _chunkMKA3AHLVcjs = require('../chunk-MKA3AHLV.cjs');
61
- require('../chunk-TNNJXF46.cjs');
62
62
 
63
63
 
64
64
 
@@ -114,5 +114,5 @@ require('../chunk-TNNJXF46.cjs');
114
114
 
115
115
 
116
116
 
117
- exports.FIELD_ALIASES = _chunkP3RQ5UJEcjs.FIELD_ALIASES; exports.INSTRUCTION_REGEX = _chunkMKA3AHLVcjs.INSTRUCTION_REGEX; exports.MAX_DATA_SOURCE_FIELDS = _chunkP3RQ5UJEcjs.MAX_DATA_SOURCE_FIELDS; exports.MAX_DATA_SOURCE_RECORDS = _chunkP3RQ5UJEcjs.MAX_DATA_SOURCE_RECORDS; exports.MAX_MERGE_LENGTH = _chunkP3RQ5UJEcjs.MAX_MERGE_LENGTH; exports.MAX_MERGE_OUTPUTS = _chunkP3RQ5UJEcjs.MAX_MERGE_OUTPUTS; exports.TEMPLATE_DEPTH_ERROR = _chunkFD4LPFAEcjs.TEMPLATE_DEPTH_ERROR; exports.TEMPLATE_LOOP_ERROR = _chunkFD4LPFAEcjs.TEMPLATE_LOOP_ERROR; exports.TEMPLATE_REGEX = _chunkMKA3AHLVcjs.TEMPLATE_REGEX; exports.VARIABLE_REGEX = _chunkMKA3AHLVcjs.VARIABLE_REGEX; exports.compactVariableValues = _chunkP3RQ5UJEcjs.compactVariableValues; exports.compareConditionValues = _chunkMKA3AHLVcjs.compareConditionValues; exports.conditionSubject = _chunkMKA3AHLVcjs.conditionSubject; exports.describeConditionalTag = _chunkMKA3AHLVcjs.describeConditionalTag; exports.detectDelimiter = _chunkP3RQ5UJEcjs.detectDelimiter; exports.escapeVariableText = _chunkMKA3AHLVcjs.escapeVariableText; exports.evaluateCondition = _chunkMKA3AHLVcjs.evaluateCondition; exports.evaluateConditionExpression = _chunkMKA3AHLVcjs.evaluateConditionExpression; exports.evaluatePromptTokens = _chunkFD4LPFAEcjs.evaluatePromptTokens; exports.extractInstructionNames = _chunkP3RQ5UJEcjs.extractInstructionNames; exports.extractTemplateNames = _chunkP3RQ5UJEcjs.extractTemplateNames; exports.extractVariableNames = _chunkP3RQ5UJEcjs.extractVariableNames; exports.extractVariables = _chunkP3RQ5UJEcjs.extractVariables; exports.formatComparisonOperand = _chunkMKA3AHLVcjs.formatComparisonOperand; exports.formatConditionalTag = _chunkMKA3AHLVcjs.formatConditionalTag; exports.getLatestVersion = _chunkFD4LPFAEcjs.getLatestVersion; exports.getPromptDiagnostics = _chunkFD4LPFAEcjs.getPromptDiagnostics; exports.getSuppliedValue = _chunkMKA3AHLVcjs.getSuppliedValue; exports.getTemplateBody = _chunkFD4LPFAEcjs.getTemplateBody; exports.getVariableFormFields = _chunkP3RQ5UJEcjs.getVariableFormFields; exports.instructionRegex = _chunkMKA3AHLVcjs.instructionRegex; exports.isPromptValueSet = _chunkMKA3AHLVcjs.isPromptValueSet; exports.mapRawOffsetToResolved = _chunkP3RQ5UJEcjs.mapRawOffsetToResolved; exports.mapResolvedOffsetToRaw = _chunkP3RQ5UJEcjs.mapResolvedOffsetToRaw; exports.matchConditionalTags = _chunkMKA3AHLVcjs.matchConditionalTags; exports.matchFields = _chunkP3RQ5UJEcjs.matchFields; exports.mergeRecords = _chunkP3RQ5UJEcjs.mergeRecords; exports.normalizeFieldKey = _chunkP3RQ5UJEcjs.normalizeFieldKey; exports.normalizeFieldNames = _chunkP3RQ5UJEcjs.normalizeFieldNames; exports.parseComparison = _chunkMKA3AHLVcjs.parseComparison; exports.parseConditionExpression = _chunkMKA3AHLVcjs.parseConditionExpression; exports.parseDataSource = _chunkP3RQ5UJEcjs.parseDataSource; exports.parseVariableBody = _chunkMKA3AHLVcjs.parseVariableBody; exports.recordToValues = _chunkP3RQ5UJEcjs.recordToValues; exports.resolvePrompt = _chunkFD4LPFAEcjs.resolvePrompt; exports.resolveTemplates = _chunkP3RQ5UJEcjs.resolveTemplates; exports.resolveTemplatesWithMapping = _chunkP3RQ5UJEcjs.resolveTemplatesWithMapping; exports.resolveVariables = _chunkP3RQ5UJEcjs.resolveVariables; exports.serializeMergeOutputs = _chunkP3RQ5UJEcjs.serializeMergeOutputs; exports.templateRegex = _chunkMKA3AHLVcjs.templateRegex; exports.tokenizePrompt = _chunkFD4LPFAEcjs.tokenizePrompt; exports.tokenizePromptWithDiagnostics = _chunkFD4LPFAEcjs.tokenizePromptWithDiagnostics; exports.unescapeVariableText = _chunkMKA3AHLVcjs.unescapeVariableText; exports.variableRegex = _chunkMKA3AHLVcjs.variableRegex;
117
+ exports.FIELD_ALIASES = _chunkUTQKC66Xcjs.FIELD_ALIASES; exports.INSTRUCTION_REGEX = _chunkMKA3AHLVcjs.INSTRUCTION_REGEX; exports.MAX_DATA_SOURCE_FIELDS = _chunkUTQKC66Xcjs.MAX_DATA_SOURCE_FIELDS; exports.MAX_DATA_SOURCE_RECORDS = _chunkUTQKC66Xcjs.MAX_DATA_SOURCE_RECORDS; exports.MAX_MERGE_LENGTH = _chunkUTQKC66Xcjs.MAX_MERGE_LENGTH; exports.MAX_MERGE_OUTPUTS = _chunkUTQKC66Xcjs.MAX_MERGE_OUTPUTS; exports.TEMPLATE_DEPTH_ERROR = _chunkFD4LPFAEcjs.TEMPLATE_DEPTH_ERROR; exports.TEMPLATE_LOOP_ERROR = _chunkFD4LPFAEcjs.TEMPLATE_LOOP_ERROR; exports.TEMPLATE_REGEX = _chunkMKA3AHLVcjs.TEMPLATE_REGEX; exports.VARIABLE_REGEX = _chunkMKA3AHLVcjs.VARIABLE_REGEX; exports.compactVariableValues = _chunkUTQKC66Xcjs.compactVariableValues; exports.compareConditionValues = _chunkMKA3AHLVcjs.compareConditionValues; exports.conditionSubject = _chunkMKA3AHLVcjs.conditionSubject; exports.describeConditionalTag = _chunkMKA3AHLVcjs.describeConditionalTag; exports.detectDelimiter = _chunkUTQKC66Xcjs.detectDelimiter; exports.escapeVariableText = _chunkMKA3AHLVcjs.escapeVariableText; exports.evaluateCondition = _chunkMKA3AHLVcjs.evaluateCondition; exports.evaluateConditionExpression = _chunkMKA3AHLVcjs.evaluateConditionExpression; exports.evaluatePromptTokens = _chunkFD4LPFAEcjs.evaluatePromptTokens; exports.extractInstructionNames = _chunkUTQKC66Xcjs.extractInstructionNames; exports.extractTemplateNames = _chunkUTQKC66Xcjs.extractTemplateNames; exports.extractVariableNames = _chunkUTQKC66Xcjs.extractVariableNames; exports.extractVariables = _chunkUTQKC66Xcjs.extractVariables; exports.formatComparisonOperand = _chunkMKA3AHLVcjs.formatComparisonOperand; exports.formatConditionalTag = _chunkMKA3AHLVcjs.formatConditionalTag; exports.getLatestVersion = _chunkFD4LPFAEcjs.getLatestVersion; exports.getPromptDiagnostics = _chunkFD4LPFAEcjs.getPromptDiagnostics; exports.getSuppliedValue = _chunkMKA3AHLVcjs.getSuppliedValue; exports.getTemplateBody = _chunkFD4LPFAEcjs.getTemplateBody; exports.getVariableFormFields = _chunkUTQKC66Xcjs.getVariableFormFields; exports.instructionRegex = _chunkMKA3AHLVcjs.instructionRegex; exports.isPromptValueSet = _chunkMKA3AHLVcjs.isPromptValueSet; exports.mapRawOffsetToResolved = _chunkUTQKC66Xcjs.mapRawOffsetToResolved; exports.mapResolvedOffsetToRaw = _chunkUTQKC66Xcjs.mapResolvedOffsetToRaw; exports.matchConditionalTags = _chunkMKA3AHLVcjs.matchConditionalTags; exports.matchFields = _chunkUTQKC66Xcjs.matchFields; exports.mergeRecords = _chunkUTQKC66Xcjs.mergeRecords; exports.normalizeFieldKey = _chunkUTQKC66Xcjs.normalizeFieldKey; exports.normalizeFieldNames = _chunkUTQKC66Xcjs.normalizeFieldNames; exports.parseComparison = _chunkMKA3AHLVcjs.parseComparison; exports.parseConditionExpression = _chunkMKA3AHLVcjs.parseConditionExpression; exports.parseDataSource = _chunkUTQKC66Xcjs.parseDataSource; exports.parseVariableBody = _chunkMKA3AHLVcjs.parseVariableBody; exports.recordToValues = _chunkUTQKC66Xcjs.recordToValues; exports.resolvePrompt = _chunkFD4LPFAEcjs.resolvePrompt; exports.resolveTemplates = _chunkUTQKC66Xcjs.resolveTemplates; exports.resolveTemplatesWithMapping = _chunkUTQKC66Xcjs.resolveTemplatesWithMapping; exports.resolveVariables = _chunkUTQKC66Xcjs.resolveVariables; exports.serializeMergeOutputs = _chunkUTQKC66Xcjs.serializeMergeOutputs; exports.templateRegex = _chunkMKA3AHLVcjs.templateRegex; exports.tokenizePrompt = _chunkFD4LPFAEcjs.tokenizePrompt; exports.tokenizePromptWithDiagnostics = _chunkFD4LPFAEcjs.tokenizePromptWithDiagnostics; exports.unescapeVariableText = _chunkMKA3AHLVcjs.unescapeVariableText; exports.variableRegex = _chunkMKA3AHLVcjs.variableRegex;
118
118
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/grammar/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;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;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;AACF,yDAA8B;AAC9B,iCAA8B;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,2jHAAC","file":"/home/runner/work/editor/editor/packages/core/dist/grammar/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/grammar/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;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,2jHAAC","file":"/home/runner/work/editor/editor/packages/core/dist/grammar/index.cjs"}
@@ -23,7 +23,8 @@ import {
23
23
  resolveTemplatesWithMapping,
24
24
  resolveVariables,
25
25
  serializeMergeOutputs
26
- } from "../chunk-OXSV64JX.js";
26
+ } from "../chunk-G6IKY6PL.js";
27
+ import "../chunk-664LQYFJ.js";
27
28
  import {
28
29
  TEMPLATE_DEPTH_ERROR,
29
30
  TEMPLATE_LOOP_ERROR,
@@ -58,7 +59,6 @@ import {
58
59
  unescapeVariableText,
59
60
  variableRegex
60
61
  } from "../chunk-P6ODPZ4W.js";
61
- import "../chunk-664LQYFJ.js";
62
62
  export {
63
63
  FIELD_ALIASES,
64
64
  INSTRUCTION_REGEX,
@@ -1,6 +1,7 @@
1
1
  import { J as JsonSchema, S as SchemaValidationError } from './schema-Di0CS6Pe.js';
2
2
  import { f as MotionBehavior, b as AnimationLoopMode } from './evaluate-BbCeF6pt.js';
3
3
  import { b as AnimationEasing } from './easing-lM0Xo9Ni.js';
4
+ import { G as GenerationProvenance } from './provenance-uh5r2TQ8.js';
4
5
  import { W as WarpStyle, a as WarpMesh } from './types-CwMPoRMU.js';
5
6
 
6
7
  /**
@@ -978,6 +979,11 @@ interface VectorGroupNode extends VectorNodeBase {
978
979
  * when resized. Ignored on blends, live booleans and mask groups.
979
980
  */
980
981
  frame?: VectorFrame | null;
982
+ /**
983
+ * Set on a group made by a generative prompt (`generateVectorArt`): what produced it (prompt,
984
+ * model, planned request; see `@pixerate/editor/generation`), so it can be regenerated.
985
+ */
986
+ generation?: GenerationProvenance;
981
987
  /**
982
988
  * Derived, not stored: a page's master art (its master page's children laid out on it), brought
983
989
  * up to date after every edit (`resolveVectorMasterPages`) and drawn under the page's children.
@@ -1253,7 +1259,7 @@ interface VectorHandleRef extends VectorAnchorRef {
1253
1259
  * drags out a frame (`VectorGroupNode.frame`), taking in the top-level objects it fully encloses.
1254
1260
  * `connector` drags a connector between objects, gluing each end to the side it starts or ends on.
1255
1261
  */
1256
- type VectorTool = 'select' | 'direct' | 'pen' | 'pencil' | 'rect' | 'ellipse' | 'polygon' | 'star' | 'line' | 'scissors' | 'knife' | 'eraser' | 'width' | 'shapeBuilder' | 'paintBucket' | 'blend' | 'gradient' | 'envelope' | 'type' | 'typePath' | 'frame' | 'connector';
1262
+ type VectorTool = 'select' | 'direct' | 'pen' | 'pencil' | 'rect' | 'ellipse' | 'polygon' | 'star' | 'line' | 'scissors' | 'knife' | 'eraser' | 'width' | 'shapeBuilder' | 'paintBucket' | 'blend' | 'gradient' | 'envelope' | 'type' | 'typePath' | 'frame' | 'connector' | 'distort';
1257
1263
  declare const VECTOR_TOOLS: readonly VectorTool[];
1258
1264
  /** Keyboard modifiers held during a pointer event. */
1259
1265
  interface VectorModifiers {
@@ -1,6 +1,7 @@
1
1
  import { J as JsonSchema, S as SchemaValidationError } from './schema-Di0CS6Pe.cjs';
2
2
  import { f as MotionBehavior, b as AnimationLoopMode } from './evaluate-BsxYieLN.cjs';
3
3
  import { b as AnimationEasing } from './easing-lM0Xo9Ni.cjs';
4
+ import { G as GenerationProvenance } from './provenance-DmlcgdzT.cjs';
4
5
  import { W as WarpStyle, a as WarpMesh } from './types-CwMPoRMU.cjs';
5
6
 
6
7
  /**
@@ -978,6 +979,11 @@ interface VectorGroupNode extends VectorNodeBase {
978
979
  * when resized. Ignored on blends, live booleans and mask groups.
979
980
  */
980
981
  frame?: VectorFrame | null;
982
+ /**
983
+ * Set on a group made by a generative prompt (`generateVectorArt`): what produced it (prompt,
984
+ * model, planned request; see `@pixerate/editor/generation`), so it can be regenerated.
985
+ */
986
+ generation?: GenerationProvenance;
981
987
  /**
982
988
  * Derived, not stored: a page's master art (its master page's children laid out on it), brought
983
989
  * up to date after every edit (`resolveVectorMasterPages`) and drawn under the page's children.
@@ -1253,7 +1259,7 @@ interface VectorHandleRef extends VectorAnchorRef {
1253
1259
  * drags out a frame (`VectorGroupNode.frame`), taking in the top-level objects it fully encloses.
1254
1260
  * `connector` drags a connector between objects, gluing each end to the side it starts or ends on.
1255
1261
  */
1256
- type VectorTool = 'select' | 'direct' | 'pen' | 'pencil' | 'rect' | 'ellipse' | 'polygon' | 'star' | 'line' | 'scissors' | 'knife' | 'eraser' | 'width' | 'shapeBuilder' | 'paintBucket' | 'blend' | 'gradient' | 'envelope' | 'type' | 'typePath' | 'frame' | 'connector';
1262
+ type VectorTool = 'select' | 'direct' | 'pen' | 'pencil' | 'rect' | 'ellipse' | 'polygon' | 'star' | 'line' | 'scissors' | 'knife' | 'eraser' | 'width' | 'shapeBuilder' | 'paintBucket' | 'blend' | 'gradient' | 'envelope' | 'type' | 'typePath' | 'frame' | 'connector' | 'distort';
1257
1263
  declare const VECTOR_TOOLS: readonly VectorTool[];
1258
1264
  /** Keyboard modifiers held during a pointer event. */
1259
1265
  interface VectorModifiers {