@pixerate/editor 0.139.1 → 0.140.1

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 (152) hide show
  1. package/README.md +25 -4
  2. package/dist/agent/formatTools.d.cts +15 -0
  3. package/dist/agent/formatTools.d.ts +15 -0
  4. package/dist/agent/index.cjs +408 -49
  5. package/dist/agent/index.js +375 -16
  6. package/dist/agent/providers.d.cts +5 -3
  7. package/dist/agent/providers.d.ts +5 -3
  8. package/dist/animation-editor/effect-tools.d.cts +1 -1
  9. package/dist/animation-editor/effect-tools.d.ts +1 -1
  10. package/dist/animation-editor/index.cjs +250 -116
  11. package/dist/animation-editor/index.js +228 -94
  12. package/dist/animation-editor/instructions.d.cts +1 -1
  13. package/dist/animation-editor/instructions.d.ts +1 -1
  14. package/dist/animation-editor/parse.d.cts +3 -1
  15. package/dist/animation-editor/parse.d.ts +3 -1
  16. package/dist/animation-editor/tools.d.cts +8 -3
  17. package/dist/animation-editor/tools.d.ts +8 -3
  18. package/dist/bridge/cli.cjs +4 -3
  19. package/dist/bridge/cli.js +3 -2
  20. package/dist/bridge/index.cjs +8 -3
  21. package/dist/bridge/index.d.cts +7 -0
  22. package/dist/bridge/index.d.ts +7 -0
  23. package/dist/bridge/index.js +9 -4
  24. package/dist/bridge/skills.d.cts +9 -0
  25. package/dist/bridge/skills.d.ts +9 -0
  26. package/dist/canvas/effect-tools.d.cts +1 -1
  27. package/dist/canvas/effect-tools.d.ts +1 -1
  28. package/dist/canvas/index.cjs +22 -17
  29. package/dist/canvas/index.js +8 -3
  30. package/dist/chart/file-tools.d.cts +1 -1
  31. package/dist/chart/file-tools.d.ts +1 -1
  32. package/dist/chart/index.cjs +7 -1
  33. package/dist/chart/index.js +7 -1
  34. package/dist/chart/tools.d.cts +1 -1
  35. package/dist/chart/tools.d.ts +1 -1
  36. package/dist/chunk-2BSBFBOA.cjs +46 -0
  37. package/dist/{chunk-SWZTQWY7.js → chunk-2INPJDNY.js} +1 -1
  38. package/dist/{chunk-CCKP4XAN.cjs → chunk-34RQAGWI.cjs} +27 -7
  39. package/dist/{chunk-HXCBQ7A6.cjs → chunk-3AJMR7EG.cjs} +7 -4
  40. package/dist/{chunk-BKMU3V6K.js → chunk-5ED73EC6.js} +8 -1
  41. package/dist/{chunk-NKBUVQJW.cjs → chunk-5WOY52O6.cjs} +15 -15
  42. package/dist/{chunk-VRIR53SW.js → chunk-6GAYGQDC.js} +10 -8
  43. package/dist/{chunk-HZZXBTLB.js → chunk-6IN474P4.js} +25 -5
  44. package/dist/{chunk-KHMVB3SJ.js → chunk-7KWJEYIK.js} +4 -1
  45. package/dist/{chunk-R47NQICB.cjs → chunk-AGCD3EHB.cjs} +47 -10
  46. package/dist/{chunk-6I63VZ45.js → chunk-CXXKJBQZ.js} +5 -1
  47. package/dist/{chunk-6NXVDJDR.cjs → chunk-G43MNQ4C.cjs} +5 -5
  48. package/dist/chunk-HDK3T2QS.cjs +1159 -0
  49. package/dist/chunk-HF5QZS7Z.js +46 -0
  50. package/dist/{chunk-S7I3RI5Z.cjs → chunk-HMGWFXEC.cjs} +27 -24
  51. package/dist/{chunk-6NCBFBXA.js → chunk-IQ6KKXOU.js} +1 -1
  52. package/dist/{chunk-T6Y5FV7G.cjs → chunk-L434J57V.cjs} +10 -8
  53. package/dist/{chunk-UCRL6JEV.cjs → chunk-L5OWG2NA.cjs} +8 -3
  54. package/dist/{chunk-CZRWP6IW.cjs → chunk-N2FGYZ4Q.cjs} +8 -1
  55. package/dist/{chunk-GUPQ5BNA.cjs → chunk-PUR6BZFA.cjs} +112 -111
  56. package/dist/chunk-RB62U6MS.js +1159 -0
  57. package/dist/{chunk-3V746PF4.cjs → chunk-RUZQMYXH.cjs} +4 -1
  58. package/dist/{chunk-HGHXGCKG.cjs → chunk-SVFEVKLF.cjs} +1 -1
  59. package/dist/{chunk-PCNCT4ZY.js → chunk-UMS6YFA6.js} +40 -3
  60. package/dist/{chunk-4LGWAJDI.js → chunk-V5OOP74P.js} +5 -2
  61. package/dist/{chunk-BWT4IWLK.cjs → chunk-VKF3PWKR.cjs} +7 -7
  62. package/dist/{chunk-PQMADRCI.js → chunk-WBJ6BG4R.js} +23 -22
  63. package/dist/{chunk-WIYAOZZU.js → chunk-WHKNYFM2.js} +7 -2
  64. package/dist/{chunk-TBSPPVTT.js → chunk-XCK7QK5D.js} +1 -1
  65. package/dist/{chunk-F652BKMS.cjs → chunk-YN6JKAUE.cjs} +6 -2
  66. package/dist/{chunk-YTGF4TJR.js → chunk-ZLZKGHSZ.js} +5 -2
  67. package/dist/{chunk-USU2FL3N.js → chunk-ZNHB5RG6.js} +1 -1
  68. package/dist/commands/agentTools.d.cts +1 -1
  69. package/dist/commands/agentTools.d.ts +1 -1
  70. package/dist/commands/index.cjs +3 -0
  71. package/dist/commands/index.js +3 -0
  72. package/dist/compare/index.cjs +4 -3
  73. package/dist/compare/index.js +3 -2
  74. package/dist/diagram/index.cjs +3 -0
  75. package/dist/diagram/index.js +3 -0
  76. package/dist/diagram/tools.d.cts +1 -1
  77. package/dist/diagram/tools.d.ts +1 -1
  78. package/dist/effects/index.cjs +32 -32
  79. package/dist/effects/index.js +1 -1
  80. package/dist/effects/tools.d.cts +5 -1
  81. package/dist/effects/tools.d.ts +5 -1
  82. package/dist/export/index.cjs +4 -3
  83. package/dist/export/index.js +3 -2
  84. package/dist/extensions/index.cjs +11 -8
  85. package/dist/extensions/index.d.cts +1 -0
  86. package/dist/extensions/index.d.ts +1 -0
  87. package/dist/extensions/index.js +10 -7
  88. package/dist/extensions/safe-merge-attributes.d.cts +10 -0
  89. package/dist/extensions/safe-merge-attributes.d.ts +10 -0
  90. package/dist/generation/index.cjs +7 -1
  91. package/dist/generation/index.js +7 -1
  92. package/dist/image-editor/index.cjs +25 -18
  93. package/dist/image-editor/index.js +10 -3
  94. package/dist/image-editor/provider-effect-tools.d.cts +1 -1
  95. package/dist/image-editor/provider-effect-tools.d.ts +1 -1
  96. package/dist/image-editor/tools.d.cts +1 -1
  97. package/dist/image-editor/tools.d.ts +1 -1
  98. package/dist/index.cjs +42 -29
  99. package/dist/index.d.cts +1 -0
  100. package/dist/index.d.ts +1 -0
  101. package/dist/index.js +22 -9
  102. package/dist/paint-editor/effect-tools.d.cts +1 -1
  103. package/dist/paint-editor/effect-tools.d.ts +1 -1
  104. package/dist/paint-editor/index.cjs +18 -8
  105. package/dist/paint-editor/index.js +13 -3
  106. package/dist/paint-editor/tools.d.cts +1 -1
  107. package/dist/paint-editor/tools.d.ts +1 -1
  108. package/dist/persistence/index.cjs +3 -2
  109. package/dist/persistence/index.js +2 -1
  110. package/dist/serializers/index.cjs +5 -4
  111. package/dist/serializers/index.js +4 -3
  112. package/dist/tools/bridge-client.d.cts +3 -3
  113. package/dist/tools/bridge-client.d.ts +3 -3
  114. package/dist/tools/capture.d.cts +5 -1
  115. package/dist/tools/capture.d.ts +5 -1
  116. package/dist/tools/definitions.d.cts +2 -2
  117. package/dist/tools/definitions.d.ts +2 -2
  118. package/dist/tools/index.cjs +39 -5
  119. package/dist/tools/index.d.cts +4 -0
  120. package/dist/tools/index.d.ts +4 -0
  121. package/dist/tools/index.js +39 -5
  122. package/dist/tools/mcp-server.d.cts +24 -6
  123. package/dist/tools/mcp-server.d.ts +24 -6
  124. package/dist/tools/registry.d.cts +81 -6
  125. package/dist/tools/registry.d.ts +81 -6
  126. package/dist/tools/safe-json.d.cts +27 -0
  127. package/dist/tools/safe-json.d.ts +27 -0
  128. package/dist/tools/search.d.cts +30 -0
  129. package/dist/tools/search.d.ts +30 -0
  130. package/dist/tools/skills.d.cts +26 -0
  131. package/dist/tools/skills.d.ts +26 -0
  132. package/dist/tools/view.d.cts +95 -0
  133. package/dist/tools/view.d.ts +95 -0
  134. package/dist/vector/effect-tools.d.cts +1 -1
  135. package/dist/vector/effect-tools.d.ts +1 -1
  136. package/dist/vector/index.cjs +13 -7
  137. package/dist/vector/index.js +8 -2
  138. package/dist/video-editor/effect-tools.d.cts +1 -1
  139. package/dist/video-editor/effect-tools.d.ts +1 -1
  140. package/dist/video-editor/index.cjs +275 -269
  141. package/dist/video-editor/index.js +8 -2
  142. package/dist/video-editor/tools.d.cts +1 -1
  143. package/dist/video-editor/tools.d.ts +1 -1
  144. package/package.json +31 -29
  145. package/skills/README.md +8 -3
  146. package/skills/pixerate-agent-tools/SKILL.md +33 -7
  147. package/skills/pixerate-animation-editor/SKILL.md +7 -0
  148. package/skills/pixerate-rich-text/SKILL.md +18 -4
  149. package/dist/chunk-5RRYDFU2.js +0 -466
  150. package/dist/chunk-SPVIXXIB.cjs +0 -466
  151. /package/dist/{chunk-SMJK5HBJ.js → chunk-K73HMKQP.js} +0 -0
  152. /package/dist/{chunk-DDF6WQ62.cjs → chunk-LACYURUW.cjs} +0 -0
@@ -23,11 +23,11 @@ var _chunkPY4GWSE2cjs = require('../chunk-PY4GWSE2.cjs');
23
23
 
24
24
 
25
25
 
26
- var _chunk3V746PF4cjs = require('../chunk-3V746PF4.cjs');
26
+ var _chunkRUZQMYXHcjs = require('../chunk-RUZQMYXH.cjs');
27
27
  require('../chunk-WOFXZ3XU.cjs');
28
28
 
29
29
  // src/effects/conformance.ts
30
- var codeOf = (e) => _chunk3V746PF4cjs.isEffectError.call(void 0, e) ? e.code : e instanceof Error ? `untyped ${e.name}: ${e.message}` : String(e);
30
+ var codeOf = (e) => _chunkRUZQMYXHcjs.isEffectError.call(void 0, e) ? e.code : e instanceof Error ? `untyped ${e.name}: ${e.message}` : String(e);
31
31
  async function rejectsWith(code, run) {
32
32
  try {
33
33
  await run();
@@ -41,10 +41,10 @@ function checkSummary(e, issues) {
41
41
  const at = (message) => issues.push({ effectId: e.id, message });
42
42
  if (!e.id || typeof e.id !== "string") at("summary has no id");
43
43
  if (!e.name) at("summary has no name");
44
- if (!_chunk3V746PF4cjs.EFFECT_KINDS.includes(e.kind)) at(`kind "${e.kind}" is not one of ${_chunk3V746PF4cjs.EFFECT_KINDS.join(", ")}`);
44
+ if (!_chunkRUZQMYXHcjs.EFFECT_KINDS.includes(e.kind)) at(`kind "${e.kind}" is not one of ${_chunkRUZQMYXHcjs.EFFECT_KINDS.join(", ")}`);
45
45
  if (!e.category) at("summary has no category");
46
46
  if (!Array.isArray(e.uses) || !e.uses.length) at("summary has no uses");
47
- for (const u of _nullishCoalesce(e.uses, () => ( []))) if (!_chunk3V746PF4cjs.EFFECT_USES.includes(u)) at(`use "${u}" is not one of ${_chunk3V746PF4cjs.EFFECT_USES.join(", ")}`);
47
+ for (const u of _nullishCoalesce(e.uses, () => ( []))) if (!_chunkRUZQMYXHcjs.EFFECT_USES.includes(u)) at(`use "${u}" is not one of ${_chunkRUZQMYXHcjs.EFFECT_USES.join(", ")}`);
48
48
  if (typeof e.transparent !== "boolean") at("transparent is not a boolean");
49
49
  if (typeof e.loop !== "boolean") at("loop is not a boolean");
50
50
  if (e.duration !== void 0 && !(e.duration > 0)) at("duration must be a positive number of ms when present");
@@ -60,8 +60,8 @@ function checkDescription(id, d, issues) {
60
60
  if (!(name in (_nullishCoalesce(d.defaults, () => ( {}))))) at(`control "${name}" has no default`);
61
61
  }
62
62
  for (const name of Object.keys(_nullishCoalesce(d.defaults, () => ( {})))) if (!(name in (_nullishCoalesce(_optionalChain([c, 'optionalAccess', _3 => _3.properties]), () => ( {}))))) at(`default "${name}" is not a control`);
63
- for (const e of _chunk3V746PF4cjs.effectValueErrors.call(void 0, d, d.defaults)) at(`default ${e.path}: ${e.message}`);
64
- for (const p of _nullishCoalesce(d.presets, () => ( []))) for (const e of _chunk3V746PF4cjs.effectValueErrors.call(void 0, d, p.values)) at(`preset "${p.name}" ${e.path}: ${e.message}`);
63
+ for (const e of _chunkRUZQMYXHcjs.effectValueErrors.call(void 0, d, d.defaults)) at(`default ${e.path}: ${e.message}`);
64
+ for (const p of _nullishCoalesce(d.presets, () => ( []))) for (const e of _chunkRUZQMYXHcjs.effectValueErrors.call(void 0, d, p.values)) at(`preset "${p.name}" ${e.path}: ${e.message}`);
65
65
  for (const input2 of _nullishCoalesce(d.inputs, () => ( []))) {
66
66
  if (!input2.name || !input2.description) at("every input needs a name and a description");
67
67
  if (input2.kind !== "image" && input2.kind !== "audio") at(`input "${input2.name}" has kind "${input2.kind}"`);
@@ -72,7 +72,7 @@ function checkDescription(id, d, issues) {
72
72
  }
73
73
  }
74
74
  function grey(size) {
75
- const p = _chunk3V746PF4cjs.createEffectPixels.call(void 0, size, size);
75
+ const p = _chunkRUZQMYXHcjs.createEffectPixels.call(void 0, size, size);
76
76
  p.data.fill(128);
77
77
  return p;
78
78
  }
@@ -88,7 +88,7 @@ async function checkRender(provider, d, size, issues) {
88
88
  }
89
89
  try {
90
90
  const out = await renderer.render({ time: 0, inputs });
91
- if (!_chunk3V746PF4cjs.isEffectPixels.call(void 0, out)) at("render did not return EffectPixels");
91
+ if (!_chunkRUZQMYXHcjs.isEffectPixels.call(void 0, out)) at("render did not return EffectPixels");
92
92
  else if (out.width !== size || out.height !== size || out.data.length !== size * size * 4) at(`render returned ${out.width}\xD7${out.height}, not ${size}\xD7${size}`);
93
93
  } catch (e) {
94
94
  at(`render failed: ${codeOf(e)}`);
@@ -326,15 +326,15 @@ var smooth = (t) => t * t * (3 - 2 * t);
326
326
  var clamp01 = (v) => v < 0 ? 0 : v > 1 ? 1 : v;
327
327
  function input(request, name, id, width, height) {
328
328
  const src = _optionalChain([request, 'access', _9 => _9.inputs, 'optionalAccess', _10 => _10[name]]);
329
- if (!src) throw new (0, _chunk3V746PF4cjs.EffectUnsupportedError)(`Effect "${id}" needs an input named "${name}".`, id);
330
- if (!_chunk3V746PF4cjs.isEffectPixels.call(void 0, src)) throw new (0, _chunk3V746PF4cjs.EffectUnsupportedError)(`The fake provider only takes EffectPixels inputs ("${name}").`, id);
329
+ if (!src) throw new (0, _chunkRUZQMYXHcjs.EffectUnsupportedError)(`Effect "${id}" needs an input named "${name}".`, id);
330
+ if (!_chunkRUZQMYXHcjs.isEffectPixels.call(void 0, src)) throw new (0, _chunkRUZQMYXHcjs.EffectUnsupportedError)(`The fake provider only takes EffectPixels inputs ("${name}").`, id);
331
331
  if (src.width !== width || src.height !== height) {
332
- throw new (0, _chunk3V746PF4cjs.EffectUnsupportedError)(`Input "${name}" is ${src.width}\xD7${src.height}; the renderer is ${width}\xD7${height}.`, id);
332
+ throw new (0, _chunkRUZQMYXHcjs.EffectUnsupportedError)(`Input "${name}" is ${src.width}\xD7${src.height}; the renderer is ${width}\xD7${height}.`, id);
333
333
  }
334
334
  return src;
335
335
  }
336
336
  function renderPixels(d, v, request, width, height) {
337
- const out = _chunk3V746PF4cjs.createEffectPixels.call(void 0, width, height);
337
+ const out = _chunkRUZQMYXHcjs.createEffectPixels.call(void 0, width, height);
338
338
  const o = out.data;
339
339
  switch (d.id) {
340
340
  case "fake.invert": {
@@ -400,23 +400,23 @@ function renderPixels(d, v, request, width, height) {
400
400
  break;
401
401
  }
402
402
  default:
403
- throw new (0, _chunk3V746PF4cjs.EffectUnsupportedError)(`"${d.id}" is a ${d.kind} effect; use applyVectorEffect.`, d.id);
403
+ throw new (0, _chunkRUZQMYXHcjs.EffectUnsupportedError)(`"${d.id}" is a ${d.kind} effect; use applyVectorEffect.`, d.id);
404
404
  }
405
405
  return out;
406
406
  }
407
407
  function toFloat(p) {
408
408
  const f = new Float32Array(p.data.length);
409
409
  for (let i = 0; i < f.length; i += 4) {
410
- f[i] = _chunk3V746PF4cjs.srgbToLinear.call(void 0, p.data[i] / 255);
411
- f[i + 1] = _chunk3V746PF4cjs.srgbToLinear.call(void 0, p.data[i + 1] / 255);
412
- f[i + 2] = _chunk3V746PF4cjs.srgbToLinear.call(void 0, p.data[i + 2] / 255);
410
+ f[i] = _chunkRUZQMYXHcjs.srgbToLinear.call(void 0, p.data[i] / 255);
411
+ f[i + 1] = _chunkRUZQMYXHcjs.srgbToLinear.call(void 0, p.data[i + 1] / 255);
412
+ f[i + 2] = _chunkRUZQMYXHcjs.srgbToLinear.call(void 0, p.data[i + 2] / 255);
413
413
  f[i + 3] = p.data[i + 3] / 255;
414
414
  }
415
- return _chunk3V746PF4cjs.encodeEffectFloat.call(void 0, { ...p, float: f });
415
+ return _chunkRUZQMYXHcjs.encodeEffectFloat.call(void 0, { ...p, float: f });
416
416
  }
417
417
  function maskResult(out, mask, source, id) {
418
- if (!_chunk3V746PF4cjs.isEffectPixels.call(void 0, mask) || mask.width !== out.width || mask.height !== out.height) {
419
- throw new (0, _chunk3V746PF4cjs.EffectUnsupportedError)("The mask must be EffectPixels the size of the renderer.", id);
418
+ if (!_chunkRUZQMYXHcjs.isEffectPixels.call(void 0, mask) || mask.width !== out.width || mask.height !== out.height) {
419
+ throw new (0, _chunkRUZQMYXHcjs.EffectUnsupportedError)("The mask must be EffectPixels the size of the renderer.", id);
420
420
  }
421
421
  const o = out.data;
422
422
  for (let i = 0; i < o.length; i += 4) {
@@ -438,7 +438,7 @@ function createFakeEffectProvider(options = {}) {
438
438
  const byId = new Map(DESCRIPTIONS.map((d) => [d.id, d]));
439
439
  const get = (id) => {
440
440
  const d = byId.get(id);
441
- if (!d) throw new (0, _chunk3V746PF4cjs.UnknownEffectError)(id, "the fake provider");
441
+ if (!d) throw new (0, _chunkRUZQMYXHcjs.UnknownEffectError)(id, "the fake provider");
442
442
  return d;
443
443
  };
444
444
  const summaries = DESCRIPTIONS.map(summaryOf);
@@ -447,16 +447,16 @@ function createFakeEffectProvider(options = {}) {
447
447
  name: "Fake effects",
448
448
  version: "1",
449
449
  capabilities,
450
- list: (o) => _chunk3V746PF4cjs.searchEffectSummaries.call(void 0, summaries, "", o),
451
- search: (q, o) => _chunk3V746PF4cjs.searchEffectSummaries.call(void 0, summaries, q, o),
450
+ list: (o) => _chunkRUZQMYXHcjs.searchEffectSummaries.call(void 0, summaries, "", o),
451
+ search: (q, o) => _chunkRUZQMYXHcjs.searchEffectSummaries.call(void 0, summaries, q, o),
452
452
  describe: (id) => structuredClone(get(id)),
453
453
  createRenderer(id, ro) {
454
454
  const d = get(id);
455
- if (d.kind !== "shader") throw new (0, _chunk3V746PF4cjs.EffectUnsupportedError)(`"${id}" is a ${d.kind} effect; use applyVectorEffect.`, id);
455
+ if (d.kind !== "shader") throw new (0, _chunkRUZQMYXHcjs.EffectUnsupportedError)(`"${id}" is a ${d.kind} effect; use applyVectorEffect.`, id);
456
456
  const { width, height } = ro;
457
457
  const depth = _nullishCoalesce(ro.depth, () => ( 8));
458
458
  if (!(width > 0 && height > 0) || width > capabilities.maxSize || height > capabilities.maxSize) {
459
- throw new (0, _chunk3V746PF4cjs.EffectUnsupportedError)(`Renderer size ${width}\xD7${height} is outside 1\u2013${capabilities.maxSize}.`, id);
459
+ throw new (0, _chunkRUZQMYXHcjs.EffectUnsupportedError)(`Renderer size ${width}\xD7${height} is outside 1\u2013${capabilities.maxSize}.`, id);
460
460
  }
461
461
  let disposed = false;
462
462
  return {
@@ -465,15 +465,15 @@ function createFakeEffectProvider(options = {}) {
465
465
  height,
466
466
  depth,
467
467
  async render(request) {
468
- if (disposed) throw new (0, _chunk3V746PF4cjs.EffectDisposedError)(id);
468
+ if (disposed) throw new (0, _chunkRUZQMYXHcjs.EffectDisposedError)(id);
469
469
  if (!Number.isFinite(request.time) || request.time < 0) {
470
- throw new (0, _chunk3V746PF4cjs.EffectUnsupportedError)(`time must be a finite number of ms \u2265 0, got ${request.time}.`, id);
470
+ throw new (0, _chunkRUZQMYXHcjs.EffectUnsupportedError)(`time must be a finite number of ms \u2265 0, got ${request.time}.`, id);
471
471
  }
472
- const values = _chunk3V746PF4cjs.resolveEffectValues.call(void 0, d, request.values);
472
+ const values = _chunkRUZQMYXHcjs.resolveEffectValues.call(void 0, d, request.values);
473
473
  _optionalChain([options, 'access', _11 => _11.onRender, 'optionalCall', _12 => _12(id, request)]);
474
474
  const out = renderPixels(d, values, request, width, height);
475
475
  if (request.mask) {
476
- if (!capabilities.supportsMask) throw new (0, _chunk3V746PF4cjs.EffectUnsupportedError)("This provider does not take masks.", id);
476
+ if (!capabilities.supportsMask) throw new (0, _chunkRUZQMYXHcjs.EffectUnsupportedError)("This provider does not take masks.", id);
477
477
  const source = d.uses.includes("filter") ? _optionalChain([request, 'access', _13 => _13.inputs, 'optionalAccess', _14 => _14.source]) : void 0;
478
478
  maskResult(out, request.mask, source, id);
479
479
  }
@@ -486,8 +486,8 @@ function createFakeEffectProvider(options = {}) {
486
486
  },
487
487
  applyVectorEffect(id, target, values) {
488
488
  const d = get(id);
489
- if (d.kind !== "motion" && d.kind !== "vector") throw new (0, _chunk3V746PF4cjs.EffectUnsupportedError)(`"${id}" is a ${d.kind} effect, not a vector one.`, id);
490
- const v = _chunk3V746PF4cjs.resolveEffectValues.call(void 0, d, values);
489
+ if (d.kind !== "motion" && d.kind !== "vector") throw new (0, _chunkRUZQMYXHcjs.EffectUnsupportedError)(`"${id}" is a ${d.kind} effect, not a vector one.`, id);
490
+ const v = _chunkRUZQMYXHcjs.resolveEffectValues.call(void 0, d, values);
491
491
  if (d.kind === "vector") {
492
492
  return { svg: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100"><circle id="badge" cx="50" cy="50" r="40" fill="${v.color}"/></svg>`, animate: [{ id: "badge", ms: v.ms, attrs: { opacity: [0, 1] } }], duration: v.ms, loop: false };
493
493
  }
@@ -547,7 +547,7 @@ function effectParameterFields(description) {
547
547
  }
548
548
  var effectFieldValue = (field, value) => value === void 0 || value === null || typeof value === "object" && !Array.isArray(value) ? field.default : value;
549
549
  function effectSamplePicture(width, height, variant = 0) {
550
- const p = _chunk3V746PF4cjs.createEffectPixels.call(void 0, width, height);
550
+ const p = _chunkRUZQMYXHcjs.createEffectPixels.call(void 0, width, height);
551
551
  for (let y = 0, i = 0; y < height; y++) {
552
552
  for (let x = 0; x < width; x++, i += 4) {
553
553
  const u = x / Math.max(1, width - 1);
@@ -627,4 +627,4 @@ function groupEffectsByCategory(effects) {
627
627
 
628
628
 
629
629
 
630
- exports.EFFECT_ERROR_CODES = _chunk3V746PF4cjs.EFFECT_ERROR_CODES; exports.EFFECT_KINDS = _chunk3V746PF4cjs.EFFECT_KINDS; exports.EFFECT_USES = _chunk3V746PF4cjs.EFFECT_USES; exports.EFFECT_USE_LABELS = EFFECT_USE_LABELS; exports.EffectControlError = _chunk3V746PF4cjs.EffectControlError; exports.EffectDisposedError = _chunk3V746PF4cjs.EffectDisposedError; exports.EffectError = _chunk3V746PF4cjs.EffectError; exports.EffectRendererPool = _chunkPY4GWSE2cjs.EffectRendererPool; exports.EffectUnsupportedError = _chunk3V746PF4cjs.EffectUnsupportedError; exports.EffectsSlot = _chunk3V746PF4cjs.EffectsSlot; exports.NoEffectsProviderError = _chunk3V746PF4cjs.NoEffectsProviderError; exports.UnknownEffectError = _chunk3V746PF4cjs.UnknownEffectError; exports.applyEffectMask = _chunk3V746PF4cjs.applyEffectMask; exports.checkEffectProvider = checkEffectProvider; exports.createEffectPixels = _chunk3V746PF4cjs.createEffectPixels; exports.createEffectToolProvider = _chunk3V746PF4cjs.createEffectToolProvider; exports.createFakeEffectProvider = createFakeEffectProvider; exports.effectControlField = effectControlField; exports.effectFieldValue = effectFieldValue; exports.effectParameterFields = effectParameterFields; exports.effectSamplePicture = effectSamplePicture; exports.effectValueErrors = _chunk3V746PF4cjs.effectValueErrors; exports.encodeEffectFloat = _chunk3V746PF4cjs.encodeEffectFloat; exports.groupEffectsByCategory = groupEffectsByCategory; exports.isEffectError = _chunk3V746PF4cjs.isEffectError; exports.isEffectPixels = _chunk3V746PF4cjs.isEffectPixels; exports.linearToSrgb = _chunk3V746PF4cjs.linearToSrgb; exports.renderEffectThumbnail = renderEffectThumbnail; exports.resolveEffectValues = _chunk3V746PF4cjs.resolveEffectValues; exports.searchEffectSummaries = _chunk3V746PF4cjs.searchEffectSummaries; exports.srgbToLinear = _chunk3V746PF4cjs.srgbToLinear;
630
+ exports.EFFECT_ERROR_CODES = _chunkRUZQMYXHcjs.EFFECT_ERROR_CODES; exports.EFFECT_KINDS = _chunkRUZQMYXHcjs.EFFECT_KINDS; exports.EFFECT_USES = _chunkRUZQMYXHcjs.EFFECT_USES; exports.EFFECT_USE_LABELS = EFFECT_USE_LABELS; exports.EffectControlError = _chunkRUZQMYXHcjs.EffectControlError; exports.EffectDisposedError = _chunkRUZQMYXHcjs.EffectDisposedError; exports.EffectError = _chunkRUZQMYXHcjs.EffectError; exports.EffectRendererPool = _chunkPY4GWSE2cjs.EffectRendererPool; exports.EffectUnsupportedError = _chunkRUZQMYXHcjs.EffectUnsupportedError; exports.EffectsSlot = _chunkRUZQMYXHcjs.EffectsSlot; exports.NoEffectsProviderError = _chunkRUZQMYXHcjs.NoEffectsProviderError; exports.UnknownEffectError = _chunkRUZQMYXHcjs.UnknownEffectError; exports.applyEffectMask = _chunkRUZQMYXHcjs.applyEffectMask; exports.checkEffectProvider = checkEffectProvider; exports.createEffectPixels = _chunkRUZQMYXHcjs.createEffectPixels; exports.createEffectToolProvider = _chunkRUZQMYXHcjs.createEffectToolProvider; exports.createFakeEffectProvider = createFakeEffectProvider; exports.effectControlField = effectControlField; exports.effectFieldValue = effectFieldValue; exports.effectParameterFields = effectParameterFields; exports.effectSamplePicture = effectSamplePicture; exports.effectValueErrors = _chunkRUZQMYXHcjs.effectValueErrors; exports.encodeEffectFloat = _chunkRUZQMYXHcjs.encodeEffectFloat; exports.groupEffectsByCategory = groupEffectsByCategory; exports.isEffectError = _chunkRUZQMYXHcjs.isEffectError; exports.isEffectPixels = _chunkRUZQMYXHcjs.isEffectPixels; exports.linearToSrgb = _chunkRUZQMYXHcjs.linearToSrgb; exports.renderEffectThumbnail = renderEffectThumbnail; exports.resolveEffectValues = _chunkRUZQMYXHcjs.resolveEffectValues; exports.searchEffectSummaries = _chunkRUZQMYXHcjs.searchEffectSummaries; exports.srgbToLinear = _chunkRUZQMYXHcjs.srgbToLinear;
@@ -23,7 +23,7 @@ import {
23
23
  resolveEffectValues,
24
24
  searchEffectSummaries,
25
25
  srgbToLinear
26
- } from "../chunk-KHMVB3SJ.js";
26
+ } from "../chunk-7KWJEYIK.js";
27
27
  import "../chunk-V2ZCJRDM.js";
28
28
 
29
29
  // src/effects/conformance.ts
@@ -47,8 +47,12 @@ export interface EffectChangeResult {
47
47
  export interface EffectToolHost {
48
48
  /** Provider id (unique per registry). */
49
49
  id: string;
50
- /** Always prefix tool names with `<namespace>__`. */
50
+ /** Tool-name prefix (`<namespace>__<name>`); defaults to the provider id, `''` for bare names. */
51
51
  namespace?: string;
52
+ /** Toolset title, description and skill (see `AgentToolProvider`). */
53
+ title?: string;
54
+ description?: string;
55
+ skill?: string;
52
56
  /** Words for the editor's targets, e.g. `{ noun: 'clip', id: 'A clip id from get_video_project (e.g. "c1").' }`. */
53
57
  target: {
54
58
  noun: string;
@@ -47,8 +47,12 @@ export interface EffectChangeResult {
47
47
  export interface EffectToolHost {
48
48
  /** Provider id (unique per registry). */
49
49
  id: string;
50
- /** Always prefix tool names with `<namespace>__`. */
50
+ /** Tool-name prefix (`<namespace>__<name>`); defaults to the provider id, `''` for bare names. */
51
51
  namespace?: string;
52
+ /** Toolset title, description and skill (see `AgentToolProvider`). */
53
+ title?: string;
54
+ description?: string;
55
+ skill?: string;
52
56
  /** Words for the editor's targets, e.g. `{ noun: 'clip', id: 'A clip id from get_video_project (e.g. "c1").' }`. */
53
57
  target: {
54
58
  noun: string;
@@ -12,14 +12,15 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkNKBUVQJWcjs = require('../chunk-NKBUVQJW.cjs');
15
+ var _chunk5WOY52O6cjs = require('../chunk-5WOY52O6.cjs');
16
16
 
17
17
 
18
18
 
19
19
  var _chunkJLWLX52Lcjs = require('../chunk-JLWLX52L.cjs');
20
- require('../chunk-F652BKMS.cjs');
20
+ require('../chunk-YN6JKAUE.cjs');
21
21
  require('../chunk-HLMF3E53.cjs');
22
22
  require('../chunk-UR37VCIR.cjs');
23
+ require('../chunk-2BSBFBOA.cjs');
23
24
  require('../chunk-ALNIFK5G.cjs');
24
25
 
25
26
 
@@ -37,4 +38,4 @@ require('../chunk-ALNIFK5G.cjs');
37
38
 
38
39
 
39
40
 
40
- exports.DOCX_ANONYMOUS_AUTHOR = _chunkNKBUVQJWcjs.DOCX_ANONYMOUS_AUTHOR; exports.DOCX_EXPORT_MIME_TYPE = _chunkNKBUVQJWcjs.DOCX_EXPORT_MIME_TYPE; exports.DocxExportController = _chunkNKBUVQJWcjs.DocxExportController; exports.XmlWriter = _chunkNKBUVQJWcjs.XmlWriter; exports.createDocxExportController = _chunkNKBUVQJWcjs.createDocxExportController; exports.createDocxParts = _chunkNKBUVQJWcjs.createDocxParts; exports.deflateRaw = _chunkJLWLX52Lcjs.deflateRaw; exports.docxFileName = _chunkNKBUVQJWcjs.docxFileName; exports.downloadBlob = _chunkNKBUVQJWcjs.downloadBlob; exports.escapeXmlAttr = _chunkNKBUVQJWcjs.escapeXmlAttr; exports.escapeXmlText = _chunkNKBUVQJWcjs.escapeXmlText; exports.exportDocx = _chunkNKBUVQJWcjs.exportDocx; exports.exportDocxBlob = _chunkNKBUVQJWcjs.exportDocxBlob; exports.stripInvalidXmlChars = _chunkNKBUVQJWcjs.stripInvalidXmlChars; exports.writeZip = _chunkJLWLX52Lcjs.writeZip;
41
+ exports.DOCX_ANONYMOUS_AUTHOR = _chunk5WOY52O6cjs.DOCX_ANONYMOUS_AUTHOR; exports.DOCX_EXPORT_MIME_TYPE = _chunk5WOY52O6cjs.DOCX_EXPORT_MIME_TYPE; exports.DocxExportController = _chunk5WOY52O6cjs.DocxExportController; exports.XmlWriter = _chunk5WOY52O6cjs.XmlWriter; exports.createDocxExportController = _chunk5WOY52O6cjs.createDocxExportController; exports.createDocxParts = _chunk5WOY52O6cjs.createDocxParts; exports.deflateRaw = _chunkJLWLX52Lcjs.deflateRaw; exports.docxFileName = _chunk5WOY52O6cjs.docxFileName; exports.downloadBlob = _chunk5WOY52O6cjs.downloadBlob; exports.escapeXmlAttr = _chunk5WOY52O6cjs.escapeXmlAttr; exports.escapeXmlText = _chunk5WOY52O6cjs.escapeXmlText; exports.exportDocx = _chunk5WOY52O6cjs.exportDocx; exports.exportDocxBlob = _chunk5WOY52O6cjs.exportDocxBlob; exports.stripInvalidXmlChars = _chunk5WOY52O6cjs.stripInvalidXmlChars; exports.writeZip = _chunkJLWLX52Lcjs.writeZip;
@@ -12,14 +12,15 @@ import {
12
12
  exportDocx,
13
13
  exportDocxBlob,
14
14
  stripInvalidXmlChars
15
- } from "../chunk-USU2FL3N.js";
15
+ } from "../chunk-ZNHB5RG6.js";
16
16
  import {
17
17
  deflateRaw,
18
18
  writeZip
19
19
  } from "../chunk-AZCODQO5.js";
20
- import "../chunk-6I63VZ45.js";
20
+ import "../chunk-CXXKJBQZ.js";
21
21
  import "../chunk-X65C4DWV.js";
22
22
  import "../chunk-RN767PO6.js";
23
+ import "../chunk-HF5QZS7Z.js";
23
24
  import "../chunk-CIQIM2IP.js";
24
25
  export {
25
26
  DOCX_ANONYMOUS_AUTHOR,
@@ -95,8 +95,8 @@
95
95
 
96
96
 
97
97
 
98
- var _chunkGUPQ5BNAcjs = require('../chunk-GUPQ5BNA.cjs');
99
- require('../chunk-S7I3RI5Z.cjs');
98
+ var _chunkPUR6BZFAcjs = require('../chunk-PUR6BZFA.cjs');
99
+ require('../chunk-HMGWFXEC.cjs');
100
100
 
101
101
 
102
102
 
@@ -104,7 +104,7 @@ require('../chunk-S7I3RI5Z.cjs');
104
104
 
105
105
 
106
106
 
107
- var _chunkF652BKMScjs = require('../chunk-F652BKMS.cjs');
107
+ var _chunkYN6JKAUEcjs = require('../chunk-YN6JKAUE.cjs');
108
108
  require('../chunk-HLMF3E53.cjs');
109
109
 
110
110
 
@@ -171,12 +171,12 @@ require('../chunk-HLMF3E53.cjs');
171
171
 
172
172
 
173
173
 
174
- var _chunkT6Y5FV7Gcjs = require('../chunk-T6Y5FV7G.cjs');
174
+ var _chunkL434J57Vcjs = require('../chunk-L434J57V.cjs');
175
175
  require('../chunk-XQ33O5BC.cjs');
176
176
  require('../chunk-6HMEHNWW.cjs');
177
177
  require('../chunk-UR37VCIR.cjs');
178
- require('../chunk-HXCBQ7A6.cjs');
179
- require('../chunk-6NXVDJDR.cjs');
178
+ require('../chunk-3AJMR7EG.cjs');
179
+ require('../chunk-G43MNQ4C.cjs');
180
180
  require('../chunk-JG5VGCKP.cjs');
181
181
 
182
182
 
@@ -206,7 +206,9 @@ require('../chunk-JG5VGCKP.cjs');
206
206
 
207
207
 
208
208
 
209
- var _chunkCCKP4XANcjs = require('../chunk-CCKP4XAN.cjs');
209
+
210
+ var _chunk34RQAGWIcjs = require('../chunk-34RQAGWI.cjs');
211
+ require('../chunk-2BSBFBOA.cjs');
210
212
  require('../chunk-55AKPTLM.cjs');
211
213
  require('../chunk-N3KJFGXT.cjs');
212
214
  require('../chunk-ALNIFK5G.cjs');
@@ -406,4 +408,5 @@ require('../chunk-FJ2MSI43.cjs');
406
408
 
407
409
 
408
410
 
409
- exports.ALLOW_NESTED_TABLES_META = _chunkT6Y5FV7Gcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkT6Y5FV7Gcjs.AgentCaret; exports.Autocorrect = _chunkGUPQ5BNAcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunkCCKP4XANcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkGUPQ5BNAcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkGUPQ5BNAcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkGUPQ5BNAcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkGUPQ5BNAcjs.CharacterStyle; exports.Chart = _chunkT6Y5FV7Gcjs.Chart; exports.ChartNodeView = _chunkT6Y5FV7Gcjs.ChartNodeView; exports.ColorHighlighter = _chunkGUPQ5BNAcjs.ColorHighlighter; exports.CommentStore = _chunkCCKP4XANcjs.CommentStore; exports.Comments = _chunkGUPQ5BNAcjs.Comments; exports.CrossReference = _chunkGUPQ5BNAcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkT6Y5FV7Gcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkT6Y5FV7Gcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkGUPQ5BNAcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkF652BKMScjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkT6Y5FV7Gcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkT6Y5FV7Gcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunkCCKP4XANcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkGUPQ5BNAcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkGUPQ5BNAcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkT6Y5FV7Gcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkGUPQ5BNAcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkT6Y5FV7Gcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunkCCKP4XANcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkGUPQ5BNAcjs.FileImport; exports.FindReplace = _chunkGUPQ5BNAcjs.FindReplace; exports.FindReplaceStore = _chunkGUPQ5BNAcjs.FindReplaceStore; exports.FontSize = _chunkGUPQ5BNAcjs.FontSize; exports.Footnote = _chunkGUPQ5BNAcjs.Footnote; exports.FootnoteReference = _chunkGUPQ5BNAcjs.FootnoteReference; exports.Footnotes = _chunkGUPQ5BNAcjs.Footnotes; exports.GradientText = _chunkGUPQ5BNAcjs.GradientText; exports.INSERTION_MARK_NAME = _chunkCCKP4XANcjs.INSERTION_MARK_NAME; exports.Image = _chunkGUPQ5BNAcjs.Image; exports.LoadingNode = _chunkGUPQ5BNAcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkT6Y5FV7Gcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkT6Y5FV7Gcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkT6Y5FV7Gcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkT6Y5FV7Gcjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunkCCKP4XANcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunkCCKP4XANcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunkCCKP4XANcjs.MOVE_TO_CLASS; exports.Markdown = _chunkGUPQ5BNAcjs.Markdown; exports.Mention = _chunkGUPQ5BNAcjs.Mention; exports.NORMAL_STYLE_ID = _chunkF652BKMScjs.NORMAL_STYLE_ID; exports.Outline = _chunkGUPQ5BNAcjs.Outline; exports.ParagraphStyles = _chunkGUPQ5BNAcjs.ParagraphStyles; exports.RichClipboard = _chunkGUPQ5BNAcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkGUPQ5BNAcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkT6Y5FV7Gcjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkGUPQ5BNAcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkGUPQ5BNAcjs.SlashCommands; exports.SmilieReplacer = _chunkGUPQ5BNAcjs.SmilieReplacer; exports.Sparkline = _chunkT6Y5FV7Gcjs.Sparkline; exports.StyleRegistry = _chunkF652BKMScjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkT6Y5FV7Gcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunkCCKP4XANcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkT6Y5FV7Gcjs.Table; exports.TableCell = _chunkT6Y5FV7Gcjs.TableCell; exports.TableHeader = _chunkT6Y5FV7Gcjs.TableHeader; exports.TableOfContents = _chunkGUPQ5BNAcjs.TableOfContents; exports.TableRow = _chunkT6Y5FV7Gcjs.TableRow; exports.TemplateSuggestions = _chunkGUPQ5BNAcjs.TemplateSuggestions; exports.TrackChanges = _chunkCCKP4XANcjs.TrackChanges; exports.TrackChangesStore = _chunkCCKP4XANcjs.TrackChangesStore; exports.TrackedDeletion = _chunkCCKP4XANcjs.TrackedDeletion; exports.TrackedFormatChange = _chunkCCKP4XANcjs.TrackedFormatChange; exports.TrackedInsertion = _chunkCCKP4XANcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkT6Y5FV7Gcjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkGUPQ5BNAcjs.applyDocumentComparison; exports.applyReplacements = _chunkT6Y5FV7Gcjs.applyReplacements; exports.autocorrectPluginKey = _chunkGUPQ5BNAcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkGUPQ5BNAcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkGUPQ5BNAcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkGUPQ5BNAcjs.captureSelectionFormat; exports.chartPluginKey = _chunkT6Y5FV7Gcjs.chartPluginKey; exports.clearAgentCaret = _chunkT6Y5FV7Gcjs.clearAgentCaret; exports.commentsPluginKey = _chunkGUPQ5BNAcjs.commentsPluginKey; exports.compareInEditor = _chunkGUPQ5BNAcjs.compareInEditor; exports.compileFindPattern = _chunkT6Y5FV7Gcjs.compileFindPattern; exports.computeOutline = _chunkGUPQ5BNAcjs.computeOutline; exports.createAgentCaretPlugin = _chunkT6Y5FV7Gcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkT6Y5FV7Gcjs.createChartNodeView; exports.createCommentStore = _chunkCCKP4XANcjs.createCommentStore; exports.createFindReplaceCommands = _chunkGUPQ5BNAcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkGUPQ5BNAcjs.createMentionExtension; exports.createOutlineStore = _chunkGUPQ5BNAcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkGUPQ5BNAcjs.createParagraphStylesStore; exports.createReviewId = _chunkCCKP4XANcjs.createReviewId; exports.createRichTextPreset = _chunkGUPQ5BNAcjs.createRichTextPreset; exports.createSearchBudget = _chunkT6Y5FV7Gcjs.createSearchBudget; exports.createStyleRegistry = _chunkF652BKMScjs.createStyleRegistry; exports.createTableCommands = _chunkGUPQ5BNAcjs.createTableCommands; exports.createTableExtensions = _chunkT6Y5FV7Gcjs.createTableExtensions; exports.createTableNestingPlugin = _chunkT6Y5FV7Gcjs.createTableNestingPlugin; exports.createTableStore = _chunkT6Y5FV7Gcjs.createTableStore; exports.crossReferencePluginKey = _chunkGUPQ5BNAcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkGUPQ5BNAcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunkCCKP4XANcjs.describeBlockChange; exports.describeFormatChange = _chunkCCKP4XANcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkGUPQ5BNAcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkT6Y5FV7Gcjs.ensureAgentCaret; exports.expandReplacement = _chunkT6Y5FV7Gcjs.expandReplacement; exports.fileImportPluginKey = _chunkGUPQ5BNAcjs.fileImportPluginKey; exports.findAllMatches = _chunkT6Y5FV7Gcjs.findAllMatches; exports.findAutocorrection = _chunkGUPQ5BNAcjs.findAutocorrection; exports.findCommentRanges = _chunkGUPQ5BNAcjs.findCommentRanges; exports.findHexColors = _chunkGUPQ5BNAcjs.findHexColors; exports.findReplacePluginKey = _chunkGUPQ5BNAcjs.findReplacePluginKey; exports.foldCodePoint = _chunkT6Y5FV7Gcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkGUPQ5BNAcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkGUPQ5BNAcjs.footnotesPluginKey; exports.formatFindStatus = _chunkGUPQ5BNAcjs.formatFindStatus; exports.formatReviewTime = _chunkCCKP4XANcjs.formatReviewTime; exports.fractionRules = _chunkGUPQ5BNAcjs.fractionRules; exports.getActiveHeading = _chunkGUPQ5BNAcjs.getActiveHeading; exports.getAgentCarets = _chunkT6Y5FV7Gcjs.getAgentCarets; exports.getBookmarks = _chunkGUPQ5BNAcjs.getBookmarks; exports.getCommentAnchors = _chunkGUPQ5BNAcjs.getCommentAnchors; exports.getCommentAuthor = _chunkGUPQ5BNAcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkGUPQ5BNAcjs.getCommentIdsAt; exports.getCommentStore = _chunkGUPQ5BNAcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkGUPQ5BNAcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkT6Y5FV7Gcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkGUPQ5BNAcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkGUPQ5BNAcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkGUPQ5BNAcjs.getFindReplaceStore; exports.getFootnotes = _chunkGUPQ5BNAcjs.getFootnotes; exports.getMentionNodes = _chunkGUPQ5BNAcjs.getMentionNodes; exports.getOutline = _chunkGUPQ5BNAcjs.getOutline; exports.getParagraphStyleAt = _chunkGUPQ5BNAcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkGUPQ5BNAcjs.getStyleRegistry; exports.getTableActionState = _chunkT6Y5FV7Gcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkGUPQ5BNAcjs.getTableOfContentsEntries; exports.getTableState = _chunkT6Y5FV7Gcjs.getTableState; exports.getTrackChangesStore = _chunkCCKP4XANcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkCCKP4XANcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkCCKP4XANcjs.getTrackedChanges; exports.handleImageInsertion = _chunkGUPQ5BNAcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkT6Y5FV7Gcjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkGUPQ5BNAcjs.imagePastePluginKey; exports.insertImageNode = _chunkGUPQ5BNAcjs.insertImageNode; exports.insertSliceAfterTable = _chunkT6Y5FV7Gcjs.insertSliceAfterTable; exports.isChartEnabled = _chunkT6Y5FV7Gcjs.isChartEnabled; exports.isGfmTable = _chunkT6Y5FV7Gcjs.isGfmTable; exports.isInTableCell = _chunkT6Y5FV7Gcjs.isInTableCell; exports.isInsidePromptToken = _chunkGUPQ5BNAcjs.isInsidePromptToken; exports.isMoveSized = _chunkCCKP4XANcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkGUPQ5BNAcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkT6Y5FV7Gcjs.isSelectionInTable; exports.isTableEnabled = _chunkT6Y5FV7Gcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunkCCKP4XANcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkF652BKMScjs.isValidStyleId; exports.markAgentChanges = _chunkT6Y5FV7Gcjs.markAgentChanges; exports.navigateToHeading = _chunkGUPQ5BNAcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkT6Y5FV7Gcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkT6Y5FV7Gcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkT6Y5FV7Gcjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkT6Y5FV7Gcjs.outermostTableDepth; exports.outlinePluginKey = _chunkGUPQ5BNAcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkGUPQ5BNAcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkT6Y5FV7Gcjs.parseReplacement; exports.removeImageNode = _chunkGUPQ5BNAcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkT6Y5FV7Gcjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunkCCKP4XANcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkGUPQ5BNAcjs.richClipboardPluginKey; exports.runTableAction = _chunkT6Y5FV7Gcjs.runTableAction; exports.safeCSSValue = _chunkF652BKMScjs.safeCSSValue; exports.searchDocument = _chunkT6Y5FV7Gcjs.searchDocument; exports.setAgentCaret = _chunkT6Y5FV7Gcjs.setAgentCaret; exports.setMentionRoleAt = _chunkGUPQ5BNAcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkT6Y5FV7Gcjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkT6Y5FV7Gcjs.sliceContainsTable; exports.smartQuoteRules = _chunkGUPQ5BNAcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkGUPQ5BNAcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkT6Y5FV7Gcjs.sparklineLabel; exports.staticChartSvg = _chunkT6Y5FV7Gcjs.staticChartSvg; exports.symbolRules = _chunkGUPQ5BNAcjs.symbolRules; exports.syncFootnotes = _chunkGUPQ5BNAcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkT6Y5FV7Gcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkGUPQ5BNAcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkGUPQ5BNAcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunkCCKP4XANcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunkCCKP4XANcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkGUPQ5BNAcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkT6Y5FV7Gcjs.typeAgentText; exports.unnestTables = _chunkT6Y5FV7Gcjs.unnestTables; exports.updateImageSrc = _chunkGUPQ5BNAcjs.updateImageSrc; exports.validateFindPattern = _chunkGUPQ5BNAcjs.validateFindPattern; exports.writeRichClipboard = _chunkGUPQ5BNAcjs.writeRichClipboard;
411
+
412
+ exports.ALLOW_NESTED_TABLES_META = _chunkL434J57Vcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkL434J57Vcjs.AgentCaret; exports.Autocorrect = _chunkPUR6BZFAcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkPUR6BZFAcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkPUR6BZFAcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkPUR6BZFAcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkPUR6BZFAcjs.CharacterStyle; exports.Chart = _chunkL434J57Vcjs.Chart; exports.ChartNodeView = _chunkL434J57Vcjs.ChartNodeView; exports.ColorHighlighter = _chunkPUR6BZFAcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkPUR6BZFAcjs.Comments; exports.CrossReference = _chunkPUR6BZFAcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkL434J57Vcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkL434J57Vcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkPUR6BZFAcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkL434J57Vcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkL434J57Vcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkPUR6BZFAcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkPUR6BZFAcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkL434J57Vcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkPUR6BZFAcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkL434J57Vcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkPUR6BZFAcjs.FileImport; exports.FindReplace = _chunkPUR6BZFAcjs.FindReplace; exports.FindReplaceStore = _chunkPUR6BZFAcjs.FindReplaceStore; exports.FontSize = _chunkPUR6BZFAcjs.FontSize; exports.Footnote = _chunkPUR6BZFAcjs.Footnote; exports.FootnoteReference = _chunkPUR6BZFAcjs.FootnoteReference; exports.Footnotes = _chunkPUR6BZFAcjs.Footnotes; exports.GradientText = _chunkPUR6BZFAcjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunkPUR6BZFAcjs.Image; exports.LoadingNode = _chunkPUR6BZFAcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkL434J57Vcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkL434J57Vcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkL434J57Vcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkL434J57Vcjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunk34RQAGWIcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunk34RQAGWIcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunk34RQAGWIcjs.MOVE_TO_CLASS; exports.Markdown = _chunkPUR6BZFAcjs.Markdown; exports.Mention = _chunkPUR6BZFAcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunkPUR6BZFAcjs.Outline; exports.ParagraphStyles = _chunkPUR6BZFAcjs.ParagraphStyles; exports.RichClipboard = _chunkPUR6BZFAcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkPUR6BZFAcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkL434J57Vcjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkPUR6BZFAcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkPUR6BZFAcjs.SlashCommands; exports.SmilieReplacer = _chunkPUR6BZFAcjs.SmilieReplacer; exports.Sparkline = _chunkL434J57Vcjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkL434J57Vcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkL434J57Vcjs.Table; exports.TableCell = _chunkL434J57Vcjs.TableCell; exports.TableHeader = _chunkL434J57Vcjs.TableHeader; exports.TableOfContents = _chunkPUR6BZFAcjs.TableOfContents; exports.TableRow = _chunkL434J57Vcjs.TableRow; exports.TemplateSuggestions = _chunkPUR6BZFAcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkL434J57Vcjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkPUR6BZFAcjs.applyDocumentComparison; exports.applyReplacements = _chunkL434J57Vcjs.applyReplacements; exports.autocorrectPluginKey = _chunkPUR6BZFAcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkPUR6BZFAcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkPUR6BZFAcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkPUR6BZFAcjs.captureSelectionFormat; exports.chartPluginKey = _chunkL434J57Vcjs.chartPluginKey; exports.clearAgentCaret = _chunkL434J57Vcjs.clearAgentCaret; exports.commentsPluginKey = _chunkPUR6BZFAcjs.commentsPluginKey; exports.compareInEditor = _chunkPUR6BZFAcjs.compareInEditor; exports.compileFindPattern = _chunkL434J57Vcjs.compileFindPattern; exports.computeOutline = _chunkPUR6BZFAcjs.computeOutline; exports.createAgentCaretPlugin = _chunkL434J57Vcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkL434J57Vcjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunkPUR6BZFAcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkPUR6BZFAcjs.createMentionExtension; exports.createOutlineStore = _chunkPUR6BZFAcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkPUR6BZFAcjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkPUR6BZFAcjs.createRichTextPreset; exports.createSearchBudget = _chunkL434J57Vcjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkPUR6BZFAcjs.createTableCommands; exports.createTableExtensions = _chunkL434J57Vcjs.createTableExtensions; exports.createTableNestingPlugin = _chunkL434J57Vcjs.createTableNestingPlugin; exports.createTableStore = _chunkL434J57Vcjs.createTableStore; exports.crossReferencePluginKey = _chunkPUR6BZFAcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkPUR6BZFAcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkPUR6BZFAcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkL434J57Vcjs.ensureAgentCaret; exports.expandReplacement = _chunkL434J57Vcjs.expandReplacement; exports.fileImportPluginKey = _chunkPUR6BZFAcjs.fileImportPluginKey; exports.findAllMatches = _chunkL434J57Vcjs.findAllMatches; exports.findAutocorrection = _chunkPUR6BZFAcjs.findAutocorrection; exports.findCommentRanges = _chunkPUR6BZFAcjs.findCommentRanges; exports.findHexColors = _chunkPUR6BZFAcjs.findHexColors; exports.findReplacePluginKey = _chunkPUR6BZFAcjs.findReplacePluginKey; exports.foldCodePoint = _chunkL434J57Vcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkPUR6BZFAcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkPUR6BZFAcjs.footnotesPluginKey; exports.formatFindStatus = _chunkPUR6BZFAcjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunkPUR6BZFAcjs.fractionRules; exports.getActiveHeading = _chunkPUR6BZFAcjs.getActiveHeading; exports.getAgentCarets = _chunkL434J57Vcjs.getAgentCarets; exports.getBookmarks = _chunkPUR6BZFAcjs.getBookmarks; exports.getCommentAnchors = _chunkPUR6BZFAcjs.getCommentAnchors; exports.getCommentAuthor = _chunkPUR6BZFAcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkPUR6BZFAcjs.getCommentIdsAt; exports.getCommentStore = _chunkPUR6BZFAcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkPUR6BZFAcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkL434J57Vcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkPUR6BZFAcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkPUR6BZFAcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkPUR6BZFAcjs.getFindReplaceStore; exports.getFootnotes = _chunkPUR6BZFAcjs.getFootnotes; exports.getMentionNodes = _chunkPUR6BZFAcjs.getMentionNodes; exports.getOutline = _chunkPUR6BZFAcjs.getOutline; exports.getParagraphStyleAt = _chunkPUR6BZFAcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkPUR6BZFAcjs.getStyleRegistry; exports.getTableActionState = _chunkL434J57Vcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkPUR6BZFAcjs.getTableOfContentsEntries; exports.getTableState = _chunkL434J57Vcjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunkPUR6BZFAcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkL434J57Vcjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkPUR6BZFAcjs.imagePastePluginKey; exports.insertImageNode = _chunkPUR6BZFAcjs.insertImageNode; exports.insertSliceAfterTable = _chunkL434J57Vcjs.insertSliceAfterTable; exports.isChartEnabled = _chunkL434J57Vcjs.isChartEnabled; exports.isGfmTable = _chunkL434J57Vcjs.isGfmTable; exports.isInTableCell = _chunkL434J57Vcjs.isInTableCell; exports.isInsidePromptToken = _chunkPUR6BZFAcjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkPUR6BZFAcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkL434J57Vcjs.isSelectionInTable; exports.isTableEnabled = _chunkL434J57Vcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.markAgentChanges = _chunkL434J57Vcjs.markAgentChanges; exports.navigateToHeading = _chunkPUR6BZFAcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkL434J57Vcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkL434J57Vcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkL434J57Vcjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkL434J57Vcjs.outermostTableDepth; exports.outlinePluginKey = _chunkPUR6BZFAcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkPUR6BZFAcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkL434J57Vcjs.parseReplacement; exports.removeImageNode = _chunkPUR6BZFAcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkL434J57Vcjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkPUR6BZFAcjs.richClipboardPluginKey; exports.runTableAction = _chunkL434J57Vcjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkL434J57Vcjs.searchDocument; exports.setAgentCaret = _chunkL434J57Vcjs.setAgentCaret; exports.setMentionRoleAt = _chunkPUR6BZFAcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkL434J57Vcjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkL434J57Vcjs.sliceContainsTable; exports.smartQuoteRules = _chunkPUR6BZFAcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkPUR6BZFAcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkL434J57Vcjs.sparklineLabel; exports.staticChartSvg = _chunkL434J57Vcjs.staticChartSvg; exports.symbolRules = _chunkPUR6BZFAcjs.symbolRules; exports.syncFootnotes = _chunkPUR6BZFAcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkL434J57Vcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkPUR6BZFAcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkPUR6BZFAcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkPUR6BZFAcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkL434J57Vcjs.typeAgentText; exports.unnestTables = _chunkL434J57Vcjs.unnestTables; exports.updateImageSrc = _chunkPUR6BZFAcjs.updateImageSrc; exports.validateFindPattern = _chunkPUR6BZFAcjs.validateFindPattern; exports.writeRichClipboard = _chunkPUR6BZFAcjs.writeRichClipboard;
@@ -11,6 +11,7 @@ export * from "./markdown.cjs";
11
11
  export * from "./image.cjs";
12
12
  export * from "./comment-store.cjs";
13
13
  export * from "./comments.cjs";
14
+ export * from "./safe-merge-attributes.cjs";
14
15
  export * from "./track-changes.cjs";
15
16
  export * from "./document-compare.cjs";
16
17
  export * from "./file-import.cjs";
@@ -11,6 +11,7 @@ export * from "./markdown.js";
11
11
  export * from "./image.js";
12
12
  export * from "./comment-store.js";
13
13
  export * from "./comments.js";
14
+ export * from "./safe-merge-attributes.js";
14
15
  export * from "./track-changes.js";
15
16
  export * from "./document-compare.js";
16
17
  export * from "./file-import.js";
@@ -95,8 +95,8 @@ import {
95
95
  updateImageSrc,
96
96
  validateFindPattern,
97
97
  writeRichClipboard
98
- } from "../chunk-PQMADRCI.js";
99
- import "../chunk-4LGWAJDI.js";
98
+ } from "../chunk-WBJ6BG4R.js";
99
+ import "../chunk-V5OOP74P.js";
100
100
  import {
101
101
  DEFAULT_STYLES,
102
102
  NORMAL_STYLE_ID,
@@ -104,7 +104,7 @@ import {
104
104
  createStyleRegistry,
105
105
  isValidStyleId,
106
106
  safeCSSValue
107
- } from "../chunk-6I63VZ45.js";
107
+ } from "../chunk-CXXKJBQZ.js";
108
108
  import "../chunk-X65C4DWV.js";
109
109
  import {
110
110
  ALLOW_NESTED_TABLES_META,
@@ -171,12 +171,12 @@ import {
171
171
  tableNestingPluginKey,
172
172
  typeAgentText,
173
173
  unnestTables
174
- } from "../chunk-VRIR53SW.js";
174
+ } from "../chunk-6GAYGQDC.js";
175
175
  import "../chunk-KI2VBONS.js";
176
176
  import "../chunk-YM75DN54.js";
177
177
  import "../chunk-RN767PO6.js";
178
- import "../chunk-YTGF4TJR.js";
179
- import "../chunk-SWZTQWY7.js";
178
+ import "../chunk-ZLZKGHSZ.js";
179
+ import "../chunk-2INPJDNY.js";
180
180
  import "../chunk-RTRQ7XFI.js";
181
181
  import {
182
182
  BLOCK_CHANGE_ATTRIBUTE,
@@ -204,9 +204,11 @@ import {
204
204
  isMoveSized,
205
205
  isTrackChangesEnabled,
206
206
  resolveTrackedChanges,
207
+ safeMergeAttributes,
207
208
  trackChangesPluginKey,
208
209
  trackedChangeLabel
209
- } from "../chunk-HZZXBTLB.js";
210
+ } from "../chunk-6IN474P4.js";
211
+ import "../chunk-HF5QZS7Z.js";
210
212
  import "../chunk-II2WIF5Z.js";
211
213
  import "../chunk-WJSD3MAZ.js";
212
214
  import "../chunk-CIQIM2IP.js";
@@ -384,6 +386,7 @@ export {
384
386
  richClipboardPluginKey,
385
387
  runTableAction,
386
388
  safeCSSValue,
389
+ safeMergeAttributes,
387
390
  searchDocument,
388
391
  setAgentCaret,
389
392
  setMentionRoleAt,
@@ -0,0 +1,10 @@
1
+ /**
2
+ * `mergeAttributes()` from `@tiptap/core` that drops own `__proto__`,
3
+ * `constructor` and `prototype` keys first. Before `@tiptap/core` 2.27.3 /
4
+ * 3.30.4, TipTap's version turned an own `__proto__` key (from JSON) into the
5
+ * merged object's prototype, and ProseMirror's `DOMSerializer` then rendered
6
+ * the inherited keys (`onerror`, `src`, …) as DOM attributes
7
+ * (GHSA-cp6q-959q-f8rh). Use this in `renderHTML` instead of the TipTap one
8
+ * whenever an input can come from options or content you don't control.
9
+ */
10
+ export declare function safeMergeAttributes(...objects: Array<Record<string, any> | null | undefined>): Record<string, any>;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * `mergeAttributes()` from `@tiptap/core` that drops own `__proto__`,
3
+ * `constructor` and `prototype` keys first. Before `@tiptap/core` 2.27.3 /
4
+ * 3.30.4, TipTap's version turned an own `__proto__` key (from JSON) into the
5
+ * merged object's prototype, and ProseMirror's `DOMSerializer` then rendered
6
+ * the inherited keys (`onerror`, `src`, …) as DOM attributes
7
+ * (GHSA-cp6q-959q-f8rh). Use this in `renderHTML` instead of the TipTap one
8
+ * whenever an input can come from options or content you don't control.
9
+ */
10
+ export declare function safeMergeAttributes(...objects: Array<Record<string, any> | null | undefined>): Record<string, any>;
@@ -428,7 +428,10 @@ function createGenerationToolProvider(options) {
428
428
  };
429
429
  return {
430
430
  id: _nullishCoalesce(options.id, () => ( "generation")),
431
- ...options.namespace ? { namespace: options.namespace } : {},
431
+ ...options.namespace !== void 0 ? { namespace: options.namespace } : {},
432
+ title: "Media generation",
433
+ description: "Plan, estimate and run paid media generation (images, video, audio, vectors) with the configured models.",
434
+ skill: "pixerate-generation",
432
435
  tools,
433
436
  ...options.subscribe ? { subscribe: options.subscribe } : {},
434
437
  clearIdempotencyKeys(key) {
@@ -1147,6 +1150,9 @@ function createGenerationHistoryToolProvider(options) {
1147
1150
  return {
1148
1151
  id: _nullishCoalesce(options.id, () => ( "generation-history")),
1149
1152
  namespace: options.namespace,
1153
+ title: "Generation history",
1154
+ description: "Past media generations: list and inspect them, recreate one or make variations.",
1155
+ skill: "pixerate-generation",
1150
1156
  tools: [listGenerations, getGeneration, recreate, vary],
1151
1157
  subscribe: (notify) => store.subscribe(notify)
1152
1158
  };
@@ -428,7 +428,10 @@ function createGenerationToolProvider(options) {
428
428
  };
429
429
  return {
430
430
  id: options.id ?? "generation",
431
- ...options.namespace ? { namespace: options.namespace } : {},
431
+ ...options.namespace !== void 0 ? { namespace: options.namespace } : {},
432
+ title: "Media generation",
433
+ description: "Plan, estimate and run paid media generation (images, video, audio, vectors) with the configured models.",
434
+ skill: "pixerate-generation",
432
435
  tools,
433
436
  ...options.subscribe ? { subscribe: options.subscribe } : {},
434
437
  clearIdempotencyKeys(key) {
@@ -1147,6 +1150,9 @@ function createGenerationHistoryToolProvider(options) {
1147
1150
  return {
1148
1151
  id: options.id ?? "generation-history",
1149
1152
  namespace: options.namespace,
1153
+ title: "Generation history",
1154
+ description: "Past media generations: list and inspect them, recreate one or make variations.",
1155
+ skill: "pixerate-generation",
1150
1156
  tools: [listGenerations, getGeneration, recreate, vary],
1151
1157
  subscribe: (notify) => store.subscribe(notify)
1152
1158
  };