@mulmoclaude/core 5.8.0 → 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.
- package/dist/collection/firestore.cjs.map +1 -1
- package/dist/collection/firestore.js.map +1 -1
- package/dist/collection/index.cjs +3 -3
- package/dist/collection/index.cjs.map +1 -1
- package/dist/collection/index.js +3 -3
- package/dist/collection/registry/server/index.cjs +3 -3
- package/dist/collection/registry/server/index.cjs.map +1 -1
- package/dist/collection/registry/server/index.js +3 -3
- package/dist/collection/registry/server/index.js.map +1 -1
- package/dist/collection/server/index.cjs +2 -2
- package/dist/collection/server/index.js +2 -2
- package/dist/collection-watchers/index.cjs +4 -4
- package/dist/collection-watchers/index.cjs.map +1 -1
- package/dist/collection-watchers/index.js +4 -4
- package/dist/collection-watchers/index.js.map +1 -1
- package/dist/{discovery-XoYJI2Ot.js → discovery-CbwHtcwk.js} +3 -3
- package/dist/{discovery-XoYJI2Ot.js.map → discovery-CbwHtcwk.js.map} +1 -1
- package/dist/{discovery-CwBXvtyn.cjs → discovery-DgZRmO7F.cjs} +3 -3
- package/dist/discovery-DgZRmO7F.cjs.map +1 -0
- package/dist/{dist-Gj7ygaW2.cjs → dist-BZ62pKuU.cjs} +11 -1
- package/dist/dist-BZ62pKuU.cjs.map +1 -0
- package/dist/{dist-BzoA9pDR.js → dist-MFUV9FYo.js} +6 -2
- package/dist/dist-MFUV9FYo.js.map +1 -0
- package/dist/errorMessage-OEQzRwsi.cjs +1 -0
- package/dist/errorMessage-VEiXHRnX.js +1 -0
- package/dist/{errors-CdXsfFCF.cjs → errors-B0xloJ3E.cjs} +2 -2
- package/dist/errors-B0xloJ3E.cjs.map +1 -0
- package/dist/{errors-C7TI_t_4.js → errors-zTAsW7dS.js} +2 -2
- package/dist/{errors-C7TI_t_4.js.map → errors-zTAsW7dS.js.map} +1 -1
- package/dist/feeds/paths.cjs.map +1 -1
- package/dist/feeds/server/index.cjs +4 -4
- package/dist/feeds/server/index.cjs.map +1 -1
- package/dist/feeds/server/index.js +4 -4
- package/dist/feeds/server/index.js.map +1 -1
- package/dist/file-change/index.cjs.map +1 -1
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js.map +1 -1
- package/dist/global-config/index.cjs.map +1 -1
- package/dist/google/index.cjs +3 -3
- package/dist/google/index.cjs.map +1 -1
- package/dist/google/index.js +3 -3
- package/dist/google/index.js.map +1 -1
- package/dist/graph-CURotEkH.cjs.map +1 -1
- package/dist/ingestTypes-DS9HiR2I.cjs.map +1 -1
- package/dist/{listen-Dca-NoBi.js → listen-DUlzSOzX.js} +2 -2
- package/dist/{listen-Dca-NoBi.js.map → listen-DUlzSOzX.js.map} +1 -1
- package/dist/{listen-BXthb-9C.cjs → listen-N_8XdKz_.cjs} +2 -2
- package/dist/listen-N_8XdKz_.cjs.map +1 -0
- package/dist/notifier/index.cjs +1 -1
- package/dist/notifier/index.js +1 -1
- package/dist/{notifier-B65Mvngb.cjs → notifier-CiemUClt.cjs} +3 -6
- package/dist/notifier-CiemUClt.cjs.map +1 -0
- package/dist/{notifier-vAp5t6wL.js → notifier-dgkC-h80.js} +2 -5
- package/dist/notifier-dgkC-h80.js.map +1 -0
- package/dist/paths-C8-jxR0s.cjs.map +1 -1
- package/dist/plugin-vue/i18n.cjs.map +1 -1
- package/dist/plugin-vue/index.cjs +82 -16
- package/dist/plugin-vue/index.cjs.map +1 -1
- package/dist/plugin-vue/index.js +82 -16
- package/dist/plugin-vue/index.js.map +1 -1
- package/dist/{promptSafety-BGV1wrE6.cjs → promptSafety-auQEatax.cjs} +2 -2
- package/dist/promptSafety-auQEatax.cjs.map +1 -0
- package/dist/{promptSafety-B5uGroik.js → promptSafety-yG60Vof8.js} +2 -2
- package/dist/promptSafety-yG60Vof8.js.map +1 -0
- package/dist/relPath-CTAjGdCL.cjs.map +1 -1
- package/dist/remote-host/index.cjs +1 -1
- package/dist/remote-host/index.js +1 -1
- package/dist/remote-host/server/index.cjs +4 -4
- package/dist/remote-host/server/index.cjs.map +1 -1
- package/dist/remote-host/server/index.js +4 -4
- package/dist/remote-host/server/index.js.map +1 -1
- package/dist/{remote-host-DhAHBYzN.cjs → remote-host-BMjh_F-6.cjs} +2 -2
- package/dist/remote-host-BMjh_F-6.cjs.map +1 -0
- package/dist/{remote-host-Cjox2F2J.js → remote-host-CoNX9JEC.js} +2 -2
- package/dist/remote-host-CoNX9JEC.js.map +1 -0
- package/dist/remote-view/index.cjs +1 -1
- package/dist/remote-view/index.cjs.map +1 -1
- package/dist/remote-view/index.js +1 -1
- package/dist/root-BvwBUcol.cjs.map +1 -1
- package/dist/scheduler/index.cjs +2 -2
- package/dist/scheduler/index.cjs.map +1 -1
- package/dist/scheduler/index.js +2 -2
- package/dist/scheduler/index.js.map +1 -1
- package/dist/{server-CLhww8NL.cjs → server-RsnFqPt7.cjs} +5 -5
- package/dist/server-RsnFqPt7.cjs.map +1 -0
- package/dist/{server-CTkTHqEL.js → server-iYXYObKb.js} +5 -5
- package/dist/server-iYXYObKb.js.map +1 -0
- package/dist/skill-bridge/index.cjs.map +1 -1
- package/dist/utils/index.cjs +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/whisper/index.cjs +2 -2
- package/dist/whisper/index.cjs.map +1 -1
- package/dist/whisper/index.js +2 -2
- package/dist/whisper/index.js.map +1 -1
- package/dist/wiki/index.cjs +1 -1
- package/dist/wiki/index.cjs.map +1 -1
- package/dist/wiki/index.js +1 -1
- package/dist/wiki/index.js.map +1 -1
- package/dist/wiki/paths.cjs.map +1 -1
- package/dist/wiki/server/index.cjs.map +1 -1
- package/dist/workspace-setup/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/discovery-CwBXvtyn.cjs.map +0 -1
- package/dist/dist-BzoA9pDR.js.map +0 -1
- package/dist/dist-Gj7ygaW2.cjs.map +0 -1
- package/dist/errorMessage-BQNpSYdT.js +0 -1
- package/dist/errorMessage-CT-va_Pv.cjs +0 -1
- package/dist/errors-CdXsfFCF.cjs.map +0 -1
- package/dist/listen-BXthb-9C.cjs.map +0 -1
- package/dist/notifier-B65Mvngb.cjs.map +0 -1
- package/dist/notifier-vAp5t6wL.js.map +0 -1
- package/dist/promptSafety-B5uGroik.js.map +0 -1
- package/dist/promptSafety-BGV1wrE6.cjs.map +0 -1
- package/dist/remote-host-Cjox2F2J.js.map +0 -1
- package/dist/remote-host-DhAHBYzN.cjs.map +0 -1
- package/dist/server-CLhww8NL.cjs.map +0 -1
- package/dist/server-CTkTHqEL.js.map +0 -1
|
@@ -138,7 +138,10 @@ IconGlyph.props = {
|
|
|
138
138
|
};
|
|
139
139
|
//#endregion
|
|
140
140
|
//#region ../../node_modules/dompurify/dist/purify.es.mjs
|
|
141
|
-
/*! @license DOMPurify 3.4.
|
|
141
|
+
/*! @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 */
|
|
142
|
+
function _OverloadYield(e, d) {
|
|
143
|
+
this.v = e, this.k = d;
|
|
144
|
+
}
|
|
142
145
|
function _arrayLikeToArray(r, a) {
|
|
143
146
|
(null == a || a > r.length) && (a = r.length);
|
|
144
147
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
@@ -150,12 +153,14 @@ function _arrayWithHoles(r) {
|
|
|
150
153
|
function _iterableToArrayLimit(r, l) {
|
|
151
154
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
152
155
|
if (null != t) {
|
|
153
|
-
var e, n, i, u, a = [], f =
|
|
156
|
+
var e, n, i, u, a = [], f = !0, o = !1;
|
|
154
157
|
try {
|
|
155
|
-
if (i = (t = t.call(r)).next, 0 === l)
|
|
156
|
-
|
|
158
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
159
|
+
if (Object(t) !== t) return;
|
|
160
|
+
f = !1;
|
|
161
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
157
162
|
} catch (r) {
|
|
158
|
-
o =
|
|
163
|
+
o = !0, n = r;
|
|
159
164
|
} finally {
|
|
160
165
|
try {
|
|
161
166
|
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
@@ -169,6 +174,7 @@ function _iterableToArrayLimit(r, l) {
|
|
|
169
174
|
function _nonIterableRest() {
|
|
170
175
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
171
176
|
}
|
|
177
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
172
178
|
function _slicedToArray(r, e) {
|
|
173
179
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
174
180
|
}
|
|
@@ -179,6 +185,53 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
179
185
|
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;
|
|
180
186
|
}
|
|
181
187
|
}
|
|
188
|
+
function AsyncGenerator(e) {
|
|
189
|
+
var t, n;
|
|
190
|
+
function resume(t, n) {
|
|
191
|
+
try {
|
|
192
|
+
var r = e[t](n), o = r.value, u = o instanceof _OverloadYield;
|
|
193
|
+
Promise.resolve(u ? o.v : o).then(function(n) {
|
|
194
|
+
if (u) {
|
|
195
|
+
var i = "return" === t && o.k ? t : "next";
|
|
196
|
+
if (!o.k || n.done) return resume(i, n);
|
|
197
|
+
n = e[i](n).value;
|
|
198
|
+
}
|
|
199
|
+
settle(!!r.done, n);
|
|
200
|
+
}, function(e) {
|
|
201
|
+
resume("throw", e);
|
|
202
|
+
});
|
|
203
|
+
} catch (e) {
|
|
204
|
+
settle(2, e);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
function settle(e, r) {
|
|
208
|
+
2 === e ? t.reject(r) : t.resolve({
|
|
209
|
+
value: r,
|
|
210
|
+
done: e
|
|
211
|
+
}), (t = t.next) ? resume(t.key, t.arg) : n = null;
|
|
212
|
+
}
|
|
213
|
+
this._invoke = function(e, r) {
|
|
214
|
+
return new Promise(function(o, u) {
|
|
215
|
+
var i = {
|
|
216
|
+
key: e,
|
|
217
|
+
arg: r,
|
|
218
|
+
resolve: o,
|
|
219
|
+
reject: u,
|
|
220
|
+
next: null
|
|
221
|
+
};
|
|
222
|
+
n ? n = n.next = i : (t = n = i, resume(e, r));
|
|
223
|
+
});
|
|
224
|
+
}, "function" != typeof e.return && (this.return = void 0);
|
|
225
|
+
}
|
|
226
|
+
AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function() {
|
|
227
|
+
return this;
|
|
228
|
+
}, AsyncGenerator.prototype.next = function(e) {
|
|
229
|
+
return this._invoke("next", e);
|
|
230
|
+
}, AsyncGenerator.prototype.throw = function(e) {
|
|
231
|
+
return this._invoke("throw", e);
|
|
232
|
+
}, AsyncGenerator.prototype.return = function(e) {
|
|
233
|
+
return this._invoke("return", e);
|
|
234
|
+
};
|
|
182
235
|
var entries = Object.entries;
|
|
183
236
|
var setPrototypeOf = Object.setPrototypeOf;
|
|
184
237
|
var isFrozen = Object.isFrozen;
|
|
@@ -205,9 +258,11 @@ if (!construct) construct = function construct(Func) {
|
|
|
205
258
|
return new Func(...args);
|
|
206
259
|
};
|
|
207
260
|
var arrayForEach = unapply(Array.prototype.forEach);
|
|
261
|
+
Array.prototype.indexOf;
|
|
208
262
|
var arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
|
|
209
263
|
var arrayPop = unapply(Array.prototype.pop);
|
|
210
264
|
var arrayPush = unapply(Array.prototype.push);
|
|
265
|
+
Array.prototype.slice;
|
|
211
266
|
var arraySplice = unapply(Array.prototype.splice);
|
|
212
267
|
var arrayIsArray = Array.isArray;
|
|
213
268
|
var stringToLowerCase = unapply(String.prototype.toLowerCase);
|
|
@@ -1133,7 +1188,7 @@ var _resolveObjectOption = function _resolveObjectOption(cfg, key, makeFallback)
|
|
|
1133
1188
|
function createDOMPurify() {
|
|
1134
1189
|
let window = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
1135
1190
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
1136
|
-
DOMPurify.version = "3.4.
|
|
1191
|
+
DOMPurify.version = "3.4.16";
|
|
1137
1192
|
DOMPurify.removed = [];
|
|
1138
1193
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
1139
1194
|
DOMPurify.isSupported = false;
|
|
@@ -2123,7 +2178,10 @@ function createDOMPurify() {
|
|
|
2123
2178
|
}
|
|
2124
2179
|
if (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {
|
|
2125
2180
|
const removed = _sanitizeDisallowedNode(currentNode, tagName, root);
|
|
2126
|
-
if (removed === false)
|
|
2181
|
+
if (removed === false) {
|
|
2182
|
+
_executeHooks(hooks.afterSanitizeElements, currentNode, null);
|
|
2183
|
+
if (_handleHookDetachedNode(currentNode, root)) return true;
|
|
2184
|
+
}
|
|
2127
2185
|
return removed;
|
|
2128
2186
|
}
|
|
2129
2187
|
if (_readNodeType(currentNode) === NODE_TYPE.element && !_checkValidNamespace(currentNode)) {
|
|
@@ -2142,7 +2200,7 @@ function createDOMPurify() {
|
|
|
2142
2200
|
}
|
|
2143
2201
|
}
|
|
2144
2202
|
_executeHooks(hooks.afterSanitizeElements, currentNode, null);
|
|
2145
|
-
return
|
|
2203
|
+
return _handleHookDetachedNode(currentNode, root);
|
|
2146
2204
|
};
|
|
2147
2205
|
/**
|
|
2148
2206
|
* _isValidAttribute
|
|
@@ -2252,9 +2310,11 @@ function createDOMPurify() {
|
|
|
2252
2310
|
* @protect setAttribute
|
|
2253
2311
|
*
|
|
2254
2312
|
* @param currentNode to sanitize
|
|
2313
|
+
* @param root the current walk root
|
|
2255
2314
|
*/
|
|
2256
|
-
const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
|
|
2315
|
+
const _sanitizeAttributes = function _sanitizeAttributes(currentNode, root) {
|
|
2257
2316
|
_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
|
|
2317
|
+
if (_handleHookDetachedNode(currentNode, root)) return;
|
|
2258
2318
|
const attributes = currentNode.attributes;
|
|
2259
2319
|
if (!attributes || _isClobbered(currentNode)) return;
|
|
2260
2320
|
ALLOWED_ATTR = _forkSharedAllowlist(hooks.uponSanitizeAttribute, ALLOWED_ATTR, DEFAULT_ALLOWED_ATTR, SET_CONFIG_ALLOWED_ATTR);
|
|
@@ -2313,6 +2373,7 @@ function createDOMPurify() {
|
|
|
2313
2373
|
}
|
|
2314
2374
|
}
|
|
2315
2375
|
_executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
|
|
2376
|
+
_handleHookDetachedNode(currentNode, root);
|
|
2316
2377
|
};
|
|
2317
2378
|
/**
|
|
2318
2379
|
* _sanitizeShadowDOM
|
|
@@ -2326,7 +2387,7 @@ function createDOMPurify() {
|
|
|
2326
2387
|
while (shadowNode = shadowIterator.nextNode()) {
|
|
2327
2388
|
_executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
|
|
2328
2389
|
_sanitizeElements(shadowNode, fragment);
|
|
2329
|
-
_sanitizeAttributes(shadowNode);
|
|
2390
|
+
_sanitizeAttributes(shadowNode, fragment);
|
|
2330
2391
|
if (_isDocumentFragment(shadowNode.content)) _sanitizeShadowDOM2(shadowNode.content);
|
|
2331
2392
|
if (_readNodeType(shadowNode) === NODE_TYPE.element) {
|
|
2332
2393
|
const innerSr = getShadowRoot(shadowNode);
|
|
@@ -2456,7 +2517,7 @@ function createDOMPurify() {
|
|
|
2456
2517
|
const nodeIterator = _createNodeIterator(walkRoot);
|
|
2457
2518
|
while (currentNode = nodeIterator.nextNode()) {
|
|
2458
2519
|
_sanitizeElements(currentNode, walkRoot);
|
|
2459
|
-
_sanitizeAttributes(currentNode);
|
|
2520
|
+
_sanitizeAttributes(currentNode, walkRoot);
|
|
2460
2521
|
if (_isDocumentFragment(currentNode.content)) _sanitizeShadowDOM2(currentNode.content);
|
|
2461
2522
|
}
|
|
2462
2523
|
} catch (error) {
|
|
@@ -2469,9 +2530,14 @@ function createDOMPurify() {
|
|
|
2469
2530
|
throw error;
|
|
2470
2531
|
}
|
|
2471
2532
|
if (inPlace) {
|
|
2533
|
+
let rootWasRemoved = false;
|
|
2472
2534
|
arrayForEach(DOMPurify.removed, (entry) => {
|
|
2473
|
-
if (entry.element)
|
|
2535
|
+
if (entry.element) {
|
|
2536
|
+
if (entry.element === dirty) rootWasRemoved = true;
|
|
2537
|
+
_neutralizeSubtree(entry.element);
|
|
2538
|
+
}
|
|
2474
2539
|
});
|
|
2540
|
+
if (rootWasRemoved) throw typeErrorCreate("a node selected for removal could not be safely returned; refusing to sanitize in place");
|
|
2475
2541
|
if (SAFE_FOR_TEMPLATES) _scrubTemplateExpressions2(dirty);
|
|
2476
2542
|
return dirty;
|
|
2477
2543
|
}
|
|
@@ -2532,7 +2598,7 @@ function createDOMPurify() {
|
|
|
2532
2598
|
};
|
|
2533
2599
|
return DOMPurify;
|
|
2534
2600
|
}
|
|
2535
|
-
var
|
|
2601
|
+
var purify_default = createDOMPurify();
|
|
2536
2602
|
//#endregion
|
|
2537
2603
|
//#region src/plugin-vue/sanitizeMarkdownHtml.ts
|
|
2538
2604
|
var ALLOWED_IFRAME_SRC = /^https:\/\/www\.youtube-nocookie\.com\/embed\/[A-Za-z0-9_-]{11}$/;
|
|
@@ -2542,7 +2608,7 @@ var hookInstalled = false;
|
|
|
2542
2608
|
function ensureHook() {
|
|
2543
2609
|
if (hookInstalled) return;
|
|
2544
2610
|
hookInstalled = true;
|
|
2545
|
-
|
|
2611
|
+
purify_default.addHook("uponSanitizeElement", (node, data) => {
|
|
2546
2612
|
if (data.tagName !== "iframe") return;
|
|
2547
2613
|
const src = isElementNode(node) ? node.getAttribute("src") : null;
|
|
2548
2614
|
if (src === null || !ALLOWED_IFRAME_SRC.test(src)) node.parentNode?.removeChild(node);
|
|
@@ -2562,12 +2628,12 @@ var SANITIZE_CONFIG = {
|
|
|
2562
2628
|
* normally strip; additionally permits the one YouTube-embed iframe shape. */
|
|
2563
2629
|
function sanitizeMarkdownHtml(html) {
|
|
2564
2630
|
ensureHook();
|
|
2565
|
-
return
|
|
2631
|
+
return purify_default.sanitize(html, SANITIZE_CONFIG);
|
|
2566
2632
|
}
|
|
2567
2633
|
/** Test seam — undoes the global DOMPurify hook so an isolated test can verify
|
|
2568
2634
|
* the no-hook baseline. Production code never calls this. */
|
|
2569
2635
|
function _resetSanitizeForTests() {
|
|
2570
|
-
|
|
2636
|
+
purify_default.removeAllHooks();
|
|
2571
2637
|
hookInstalled = false;
|
|
2572
2638
|
}
|
|
2573
2639
|
//#endregion
|