@mulmoclaude/core 5.7.1 → 5.8.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 (122) hide show
  1. package/dist/artifacts/paths.cjs +38 -75
  2. package/dist/artifacts/paths.cjs.map +1 -1
  3. package/dist/artifacts/paths.d.ts +2 -59
  4. package/dist/artifacts/paths.js +2 -69
  5. package/dist/artifacts/paths.js.map +1 -1
  6. package/dist/collection/firestore.cjs.map +1 -1
  7. package/dist/collection/firestore.js.map +1 -1
  8. package/dist/collection/index.cjs +3 -3
  9. package/dist/collection/index.cjs.map +1 -1
  10. package/dist/collection/index.js +3 -3
  11. package/dist/collection/registry/server/index.cjs +3 -3
  12. package/dist/collection/registry/server/index.cjs.map +1 -1
  13. package/dist/collection/registry/server/index.js +3 -3
  14. package/dist/collection/registry/server/index.js.map +1 -1
  15. package/dist/collection/server/index.cjs +2 -2
  16. package/dist/collection/server/index.js +2 -2
  17. package/dist/collection-watchers/index.cjs +4 -4
  18. package/dist/collection-watchers/index.cjs.map +1 -1
  19. package/dist/collection-watchers/index.js +4 -4
  20. package/dist/collection-watchers/index.js.map +1 -1
  21. package/dist/{discovery-XoYJI2Ot.js → discovery-CbwHtcwk.js} +3 -3
  22. package/dist/{discovery-XoYJI2Ot.js.map → discovery-CbwHtcwk.js.map} +1 -1
  23. package/dist/{discovery-CwBXvtyn.cjs → discovery-DgZRmO7F.cjs} +3 -3
  24. package/dist/discovery-DgZRmO7F.cjs.map +1 -0
  25. package/dist/{dist-Gj7ygaW2.cjs → dist-BZ62pKuU.cjs} +11 -1
  26. package/dist/dist-BZ62pKuU.cjs.map +1 -0
  27. package/dist/{dist-BzoA9pDR.js → dist-MFUV9FYo.js} +6 -2
  28. package/dist/dist-MFUV9FYo.js.map +1 -0
  29. package/dist/errorMessage-OEQzRwsi.cjs +1 -0
  30. package/dist/errorMessage-VEiXHRnX.js +1 -0
  31. package/dist/{errors-CdXsfFCF.cjs → errors-B0xloJ3E.cjs} +2 -2
  32. package/dist/errors-B0xloJ3E.cjs.map +1 -0
  33. package/dist/{errors-C7TI_t_4.js → errors-zTAsW7dS.js} +2 -2
  34. package/dist/{errors-C7TI_t_4.js.map → errors-zTAsW7dS.js.map} +1 -1
  35. package/dist/feeds/paths.cjs.map +1 -1
  36. package/dist/feeds/server/index.cjs +4 -4
  37. package/dist/feeds/server/index.cjs.map +1 -1
  38. package/dist/feeds/server/index.js +4 -4
  39. package/dist/feeds/server/index.js.map +1 -1
  40. package/dist/file-change/index.cjs.map +1 -1
  41. package/dist/files/index.cjs.map +1 -1
  42. package/dist/files/index.js.map +1 -1
  43. package/dist/global-config/index.cjs.map +1 -1
  44. package/dist/google/index.cjs +3 -3
  45. package/dist/google/index.cjs.map +1 -1
  46. package/dist/google/index.js +3 -3
  47. package/dist/google/index.js.map +1 -1
  48. package/dist/graph-CURotEkH.cjs.map +1 -1
  49. package/dist/ingestTypes-DS9HiR2I.cjs.map +1 -1
  50. package/dist/{listen-Dca-NoBi.js → listen-DUlzSOzX.js} +2 -2
  51. package/dist/{listen-Dca-NoBi.js.map → listen-DUlzSOzX.js.map} +1 -1
  52. package/dist/{listen-BXthb-9C.cjs → listen-N_8XdKz_.cjs} +2 -2
  53. package/dist/listen-N_8XdKz_.cjs.map +1 -0
  54. package/dist/notifier/index.cjs +1 -1
  55. package/dist/notifier/index.js +1 -1
  56. package/dist/{notifier-B65Mvngb.cjs → notifier-CiemUClt.cjs} +3 -6
  57. package/dist/notifier-CiemUClt.cjs.map +1 -0
  58. package/dist/{notifier-vAp5t6wL.js → notifier-dgkC-h80.js} +2 -5
  59. package/dist/notifier-dgkC-h80.js.map +1 -0
  60. package/dist/paths-C8-jxR0s.cjs.map +1 -1
  61. package/dist/plugin-vue/i18n.cjs.map +1 -1
  62. package/dist/plugin-vue/index.cjs +82 -16
  63. package/dist/plugin-vue/index.cjs.map +1 -1
  64. package/dist/plugin-vue/index.js +82 -16
  65. package/dist/plugin-vue/index.js.map +1 -1
  66. package/dist/{promptSafety-BGV1wrE6.cjs → promptSafety-auQEatax.cjs} +2 -2
  67. package/dist/promptSafety-auQEatax.cjs.map +1 -0
  68. package/dist/{promptSafety-B5uGroik.js → promptSafety-yG60Vof8.js} +2 -2
  69. package/dist/promptSafety-yG60Vof8.js.map +1 -0
  70. package/dist/relPath-CTAjGdCL.cjs.map +1 -1
  71. package/dist/remote-host/index.cjs +1 -1
  72. package/dist/remote-host/index.js +1 -1
  73. package/dist/remote-host/server/index.cjs +4 -4
  74. package/dist/remote-host/server/index.cjs.map +1 -1
  75. package/dist/remote-host/server/index.js +4 -4
  76. package/dist/remote-host/server/index.js.map +1 -1
  77. package/dist/{remote-host-DhAHBYzN.cjs → remote-host-BMjh_F-6.cjs} +2 -2
  78. package/dist/remote-host-BMjh_F-6.cjs.map +1 -0
  79. package/dist/{remote-host-Cjox2F2J.js → remote-host-CoNX9JEC.js} +2 -2
  80. package/dist/remote-host-CoNX9JEC.js.map +1 -0
  81. package/dist/remote-view/index.cjs +1 -1
  82. package/dist/remote-view/index.cjs.map +1 -1
  83. package/dist/remote-view/index.js +1 -1
  84. package/dist/root-BvwBUcol.cjs.map +1 -1
  85. package/dist/scheduler/index.cjs +2 -2
  86. package/dist/scheduler/index.cjs.map +1 -1
  87. package/dist/scheduler/index.js +2 -2
  88. package/dist/scheduler/index.js.map +1 -1
  89. package/dist/{server-CLhww8NL.cjs → server-RsnFqPt7.cjs} +5 -5
  90. package/dist/server-RsnFqPt7.cjs.map +1 -0
  91. package/dist/{server-CTkTHqEL.js → server-iYXYObKb.js} +5 -5
  92. package/dist/server-iYXYObKb.js.map +1 -0
  93. package/dist/skill-bridge/index.cjs.map +1 -1
  94. package/dist/utils/index.cjs +2 -2
  95. package/dist/utils/index.js +2 -2
  96. package/dist/whisper/index.cjs +2 -2
  97. package/dist/whisper/index.cjs.map +1 -1
  98. package/dist/whisper/index.js +2 -2
  99. package/dist/whisper/index.js.map +1 -1
  100. package/dist/wiki/index.cjs +1 -1
  101. package/dist/wiki/index.cjs.map +1 -1
  102. package/dist/wiki/index.js +1 -1
  103. package/dist/wiki/index.js.map +1 -1
  104. package/dist/wiki/paths.cjs.map +1 -1
  105. package/dist/wiki/server/index.cjs.map +1 -1
  106. package/dist/workspace-setup/index.js.map +1 -1
  107. package/package.json +9 -8
  108. package/dist/discovery-CwBXvtyn.cjs.map +0 -1
  109. package/dist/dist-BzoA9pDR.js.map +0 -1
  110. package/dist/dist-Gj7ygaW2.cjs.map +0 -1
  111. package/dist/errorMessage-BQNpSYdT.js +0 -1
  112. package/dist/errorMessage-CT-va_Pv.cjs +0 -1
  113. package/dist/errors-CdXsfFCF.cjs.map +0 -1
  114. package/dist/listen-BXthb-9C.cjs.map +0 -1
  115. package/dist/notifier-B65Mvngb.cjs.map +0 -1
  116. package/dist/notifier-vAp5t6wL.js.map +0 -1
  117. package/dist/promptSafety-B5uGroik.js.map +0 -1
  118. package/dist/promptSafety-BGV1wrE6.cjs.map +0 -1
  119. package/dist/remote-host-Cjox2F2J.js.map +0 -1
  120. package/dist/remote-host-DhAHBYzN.cjs.map +0 -1
  121. package/dist/server-CLhww8NL.cjs.map +0 -1
  122. package/dist/server-CTkTHqEL.js.map +0 -1
@@ -137,7 +137,10 @@ IconGlyph.props = {
137
137
  };
138
138
  //#endregion
139
139
  //#region ../../node_modules/dompurify/dist/purify.es.mjs
140
- /*! @license DOMPurify 3.4.15 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.15/LICENSE */
140
+ /*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */
141
+ function _OverloadYield(e, d) {
142
+ this.v = e, this.k = d;
143
+ }
141
144
  function _arrayLikeToArray(r, a) {
142
145
  (null == a || a > r.length) && (a = r.length);
143
146
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
@@ -149,12 +152,14 @@ function _arrayWithHoles(r) {
149
152
  function _iterableToArrayLimit(r, l) {
150
153
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
151
154
  if (null != t) {
152
- var e, n, i, u, a = [], f = true, o = false;
155
+ var e, n, i, u, a = [], f = !0, o = !1;
153
156
  try {
154
- if (i = (t = t.call(r)).next, 0 === l);
155
- else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
157
+ if (i = (t = t.call(r)).next, 0 === l) {
158
+ if (Object(t) !== t) return;
159
+ f = !1;
160
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
156
161
  } catch (r) {
157
- o = true, n = r;
162
+ o = !0, n = r;
158
163
  } finally {
159
164
  try {
160
165
  if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
@@ -168,6 +173,7 @@ function _iterableToArrayLimit(r, l) {
168
173
  function _nonIterableRest() {
169
174
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
170
175
  }
176
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
171
177
  function _slicedToArray(r, e) {
172
178
  return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
173
179
  }
@@ -178,6 +184,53 @@ function _unsupportedIterableToArray(r, a) {
178
184
  return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
179
185
  }
180
186
  }
187
+ function AsyncGenerator(e) {
188
+ var t, n;
189
+ function resume(t, n) {
190
+ try {
191
+ var r = e[t](n), o = r.value, u = o instanceof _OverloadYield;
192
+ Promise.resolve(u ? o.v : o).then(function(n) {
193
+ if (u) {
194
+ var i = "return" === t && o.k ? t : "next";
195
+ if (!o.k || n.done) return resume(i, n);
196
+ n = e[i](n).value;
197
+ }
198
+ settle(!!r.done, n);
199
+ }, function(e) {
200
+ resume("throw", e);
201
+ });
202
+ } catch (e) {
203
+ settle(2, e);
204
+ }
205
+ }
206
+ function settle(e, r) {
207
+ 2 === e ? t.reject(r) : t.resolve({
208
+ value: r,
209
+ done: e
210
+ }), (t = t.next) ? resume(t.key, t.arg) : n = null;
211
+ }
212
+ this._invoke = function(e, r) {
213
+ return new Promise(function(o, u) {
214
+ var i = {
215
+ key: e,
216
+ arg: r,
217
+ resolve: o,
218
+ reject: u,
219
+ next: null
220
+ };
221
+ n ? n = n.next = i : (t = n = i, resume(e, r));
222
+ });
223
+ }, "function" != typeof e.return && (this.return = void 0);
224
+ }
225
+ AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function() {
226
+ return this;
227
+ }, AsyncGenerator.prototype.next = function(e) {
228
+ return this._invoke("next", e);
229
+ }, AsyncGenerator.prototype.throw = function(e) {
230
+ return this._invoke("throw", e);
231
+ }, AsyncGenerator.prototype.return = function(e) {
232
+ return this._invoke("return", e);
233
+ };
181
234
  var entries = Object.entries;
182
235
  var setPrototypeOf = Object.setPrototypeOf;
183
236
  var isFrozen = Object.isFrozen;
@@ -204,9 +257,11 @@ if (!construct) construct = function construct(Func) {
204
257
  return new Func(...args);
205
258
  };
206
259
  var arrayForEach = unapply(Array.prototype.forEach);
260
+ Array.prototype.indexOf;
207
261
  var arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
208
262
  var arrayPop = unapply(Array.prototype.pop);
209
263
  var arrayPush = unapply(Array.prototype.push);
264
+ Array.prototype.slice;
210
265
  var arraySplice = unapply(Array.prototype.splice);
211
266
  var arrayIsArray = Array.isArray;
212
267
  var stringToLowerCase = unapply(String.prototype.toLowerCase);
@@ -1132,7 +1187,7 @@ var _resolveObjectOption = function _resolveObjectOption(cfg, key, makeFallback)
1132
1187
  function createDOMPurify() {
1133
1188
  let window = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
1134
1189
  const DOMPurify = (root) => createDOMPurify(root);
1135
- DOMPurify.version = "3.4.15";
1190
+ DOMPurify.version = "3.4.16";
1136
1191
  DOMPurify.removed = [];
1137
1192
  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
1138
1193
  DOMPurify.isSupported = false;
@@ -2122,7 +2177,10 @@ function createDOMPurify() {
2122
2177
  }
2123
2178
  if (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {
2124
2179
  const removed = _sanitizeDisallowedNode(currentNode, tagName, root);
2125
- if (removed === false) _executeHooks(hooks.afterSanitizeElements, currentNode, null);
2180
+ if (removed === false) {
2181
+ _executeHooks(hooks.afterSanitizeElements, currentNode, null);
2182
+ if (_handleHookDetachedNode(currentNode, root)) return true;
2183
+ }
2126
2184
  return removed;
2127
2185
  }
2128
2186
  if (_readNodeType(currentNode) === NODE_TYPE.element && !_checkValidNamespace(currentNode)) {
@@ -2141,7 +2199,7 @@ function createDOMPurify() {
2141
2199
  }
2142
2200
  }
2143
2201
  _executeHooks(hooks.afterSanitizeElements, currentNode, null);
2144
- return false;
2202
+ return _handleHookDetachedNode(currentNode, root);
2145
2203
  };
2146
2204
  /**
2147
2205
  * _isValidAttribute
@@ -2251,9 +2309,11 @@ function createDOMPurify() {
2251
2309
  * @protect setAttribute
2252
2310
  *
2253
2311
  * @param currentNode to sanitize
2312
+ * @param root the current walk root
2254
2313
  */
2255
- const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
2314
+ const _sanitizeAttributes = function _sanitizeAttributes(currentNode, root) {
2256
2315
  _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
2316
+ if (_handleHookDetachedNode(currentNode, root)) return;
2257
2317
  const attributes = currentNode.attributes;
2258
2318
  if (!attributes || _isClobbered(currentNode)) return;
2259
2319
  ALLOWED_ATTR = _forkSharedAllowlist(hooks.uponSanitizeAttribute, ALLOWED_ATTR, DEFAULT_ALLOWED_ATTR, SET_CONFIG_ALLOWED_ATTR);
@@ -2312,6 +2372,7 @@ function createDOMPurify() {
2312
2372
  }
2313
2373
  }
2314
2374
  _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
2375
+ _handleHookDetachedNode(currentNode, root);
2315
2376
  };
2316
2377
  /**
2317
2378
  * _sanitizeShadowDOM
@@ -2325,7 +2386,7 @@ function createDOMPurify() {
2325
2386
  while (shadowNode = shadowIterator.nextNode()) {
2326
2387
  _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
2327
2388
  _sanitizeElements(shadowNode, fragment);
2328
- _sanitizeAttributes(shadowNode);
2389
+ _sanitizeAttributes(shadowNode, fragment);
2329
2390
  if (_isDocumentFragment(shadowNode.content)) _sanitizeShadowDOM2(shadowNode.content);
2330
2391
  if (_readNodeType(shadowNode) === NODE_TYPE.element) {
2331
2392
  const innerSr = getShadowRoot(shadowNode);
@@ -2455,7 +2516,7 @@ function createDOMPurify() {
2455
2516
  const nodeIterator = _createNodeIterator(walkRoot);
2456
2517
  while (currentNode = nodeIterator.nextNode()) {
2457
2518
  _sanitizeElements(currentNode, walkRoot);
2458
- _sanitizeAttributes(currentNode);
2519
+ _sanitizeAttributes(currentNode, walkRoot);
2459
2520
  if (_isDocumentFragment(currentNode.content)) _sanitizeShadowDOM2(currentNode.content);
2460
2521
  }
2461
2522
  } catch (error) {
@@ -2468,9 +2529,14 @@ function createDOMPurify() {
2468
2529
  throw error;
2469
2530
  }
2470
2531
  if (inPlace) {
2532
+ let rootWasRemoved = false;
2471
2533
  arrayForEach(DOMPurify.removed, (entry) => {
2472
- if (entry.element) _neutralizeSubtree(entry.element);
2534
+ if (entry.element) {
2535
+ if (entry.element === dirty) rootWasRemoved = true;
2536
+ _neutralizeSubtree(entry.element);
2537
+ }
2473
2538
  });
2539
+ if (rootWasRemoved) throw typeErrorCreate("a node selected for removal could not be safely returned; refusing to sanitize in place");
2474
2540
  if (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions2(dirty);
2475
2541
  return dirty;
2476
2542
  }
@@ -2531,7 +2597,7 @@ function createDOMPurify() {
2531
2597
  };
2532
2598
  return DOMPurify;
2533
2599
  }
2534
- var purify = createDOMPurify();
2600
+ var purify_default = createDOMPurify();
2535
2601
  //#endregion
2536
2602
  //#region src/plugin-vue/sanitizeMarkdownHtml.ts
2537
2603
  var ALLOWED_IFRAME_SRC = /^https:\/\/www\.youtube-nocookie\.com\/embed\/[A-Za-z0-9_-]{11}$/;
@@ -2541,7 +2607,7 @@ var hookInstalled = false;
2541
2607
  function ensureHook() {
2542
2608
  if (hookInstalled) return;
2543
2609
  hookInstalled = true;
2544
- purify.addHook("uponSanitizeElement", (node, data) => {
2610
+ purify_default.addHook("uponSanitizeElement", (node, data) => {
2545
2611
  if (data.tagName !== "iframe") return;
2546
2612
  const src = isElementNode(node) ? node.getAttribute("src") : null;
2547
2613
  if (src === null || !ALLOWED_IFRAME_SRC.test(src)) node.parentNode?.removeChild(node);
@@ -2561,12 +2627,12 @@ var SANITIZE_CONFIG = {
2561
2627
  * normally strip; additionally permits the one YouTube-embed iframe shape. */
2562
2628
  function sanitizeMarkdownHtml(html) {
2563
2629
  ensureHook();
2564
- return purify.sanitize(html, SANITIZE_CONFIG);
2630
+ return purify_default.sanitize(html, SANITIZE_CONFIG);
2565
2631
  }
2566
2632
  /** Test seam — undoes the global DOMPurify hook so an isolated test can verify
2567
2633
  * the no-hook baseline. Production code never calls this. */
2568
2634
  function _resetSanitizeForTests() {
2569
- purify.removeAllHooks();
2635
+ purify_default.removeAllHooks();
2570
2636
  hookInstalled = false;
2571
2637
  }
2572
2638
  //#endregion