@mulmoclaude/core 4.4.1 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/helps/bug-report-faq.md +13 -0
- package/assets/helps/business.md +4 -0
- package/assets/helps/custom-view.md +69 -1
- package/assets/helps/error-recovery.md +71 -0
- package/assets/helps/gemini.md +1 -1
- package/assets/helps/mulmoscript.md +71 -1
- package/assets/helps/presentation-deck.md +4 -1
- package/assets/helps/storyteller.md +7 -0
- package/dist/collection/core/accentColor.d.ts +23 -0
- package/dist/collection/core/iconGlyph.d.ts +26 -0
- package/dist/collection/core/schema.d.ts +9 -0
- package/dist/collection/core/schemaZ.d.ts +18 -0
- package/dist/collection/core/shortcutInfo.d.ts +14 -0
- package/dist/collection/core/uiTypes.d.ts +6 -0
- package/dist/collection/index.cjs +22 -2
- package/dist/collection/index.cjs.map +1 -1
- package/dist/collection/index.d.ts +3 -0
- package/dist/collection/index.js +17 -3
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/registry/server/index.cjs +3 -3
- package/dist/collection/registry/server/index.js +3 -3
- package/dist/collection/server/index.cjs +5 -4
- package/dist/collection/server/index.js +5 -5
- package/dist/collection/server/paths.d.ts +10 -0
- package/dist/collection-watchers/index.cjs +5 -5
- package/dist/collection-watchers/index.js +5 -5
- package/dist/{discovery-Dl9nRa-m.cjs → discovery-2TvulIz8.cjs} +25 -5
- package/dist/discovery-2TvulIz8.cjs.map +1 -0
- package/dist/{discovery-P64fgtuD.js → discovery-BY-nMCuh.js} +20 -6
- package/dist/discovery-BY-nMCuh.js.map +1 -0
- package/dist/feeds/index.cjs +2 -2
- package/dist/feeds/index.js +2 -2
- package/dist/feeds/server/index.cjs +5 -5
- package/dist/feeds/server/index.js +5 -5
- package/dist/files/atomic.d.ts +4 -0
- package/dist/files/index.cjs +1 -1
- package/dist/files/index.js +1 -1
- package/dist/google/index.cjs +3 -3
- package/dist/google/index.js +3 -3
- package/dist/iconGlyph-D8JeNg7R.js +59 -0
- package/dist/iconGlyph-D8JeNg7R.js.map +1 -0
- package/dist/iconGlyph-fSBp6k4J.cjs +70 -0
- package/dist/iconGlyph-fSBp6k4J.cjs.map +1 -0
- package/dist/{ingestTypes-CaX7_s-K.cjs → ingestTypes-DsVH9BYy.cjs} +2 -2
- package/dist/{ingestTypes-CaX7_s-K.cjs.map → ingestTypes-DsVH9BYy.cjs.map} +1 -1
- package/dist/{ingestTypes-CIy1lHjf.js → ingestTypes-GkG7bJdB.js} +2 -2
- package/dist/{ingestTypes-CIy1lHjf.js.map → ingestTypes-GkG7bJdB.js.map} +1 -1
- package/dist/{itemId-BY2YPBkT.js → itemId-4P9S_ehz.js} +48 -2
- package/dist/itemId-4P9S_ehz.js.map +1 -0
- package/dist/{itemId-CEQdK01z.cjs → itemId-CGT2J7YK.cjs} +65 -1
- package/dist/itemId-CGT2J7YK.cjs.map +1 -0
- package/dist/plugin-vue/IconGlyph.d.ts +27 -0
- package/dist/plugin-vue/index.cjs +51 -0
- package/dist/plugin-vue/index.cjs.map +1 -1
- package/dist/plugin-vue/index.d.ts +1 -0
- package/dist/plugin-vue/index.js +52 -2
- package/dist/plugin-vue/index.js.map +1 -1
- package/dist/{promptSafety-Bp780ezk.js → promptSafety-Bte62OvU.js} +2 -2
- package/dist/{promptSafety-Bp780ezk.js.map → promptSafety-Bte62OvU.js.map} +1 -1
- package/dist/{promptSafety-C0BWDsfT.cjs → promptSafety-Cv-SoTd4.cjs} +2 -2
- package/dist/{promptSafety-C0BWDsfT.cjs.map → promptSafety-Cv-SoTd4.cjs.map} +1 -1
- package/dist/{root-BMroU_mB.js → root-BcS4-Kge.js} +12 -2
- package/dist/root-BcS4-Kge.js.map +1 -0
- package/dist/{root-rPH6FGDT.cjs → root-BvwBUcol.cjs} +12 -2
- package/dist/root-BvwBUcol.cjs.map +1 -0
- package/dist/{server-BvXO49Vj.js → server-BENtFplH.js} +47 -18
- package/dist/{server-BvXO49Vj.js.map → server-BENtFplH.js.map} +1 -1
- package/dist/{server-CF1qllGV.cjs → server-Wz4_ALLl.cjs} +47 -18
- package/dist/{server-CF1qllGV.cjs.map → server-Wz4_ALLl.cjs.map} +1 -1
- package/package.json +10 -10
- package/dist/discovery-Dl9nRa-m.cjs.map +0 -1
- package/dist/discovery-P64fgtuD.js.map +0 -1
- package/dist/itemId-BY2YPBkT.js.map +0 -1
- package/dist/itemId-CEQdK01z.cjs.map +0 -1
- package/dist/root-BMroU_mB.js.map +0 -1
- package/dist/root-rPH6FGDT.cjs.map +0 -1
|
@@ -3,4 +3,5 @@ export { nextFileVersion, type FileChangePayload } from './fileWatch.ts';
|
|
|
3
3
|
export { useMarkdownDoc } from './useMarkdownDoc.ts';
|
|
4
4
|
export { formatScalarField, buildMarkdownDocView, type MarkdownDocField, type MarkdownDocView } from './markdownDoc.ts';
|
|
5
5
|
export { useClipboardCopy, type UseClipboardCopyHandle } from './useClipboardCopy.ts';
|
|
6
|
+
export { IconGlyph, type IconGlyphProps } from './IconGlyph.ts';
|
|
6
7
|
export { sanitizeMarkdownHtml, _resetSanitizeForTests } from './sanitizeMarkdownHtml.ts';
|
package/dist/plugin-vue/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { n as resolveIconGlyph } from "../iconGlyph-D8JeNg7R.js";
|
|
1
2
|
import { parseFrontmatter } from "@mulmoclaude/markdown-utils/markdown/frontmatter";
|
|
2
|
-
import { computed, onUnmounted, ref, watch } from "vue";
|
|
3
|
+
import { computed, h, onUnmounted, ref, watch } from "vue";
|
|
3
4
|
import { useRuntime } from "gui-chat-protocol/vue";
|
|
4
5
|
//#region src/plugin-vue/fileWatch.ts
|
|
5
6
|
function fileWatchChannel(filePath) {
|
|
@@ -86,6 +87,55 @@ function useClipboardCopy(resetMs = DEFAULT_RESET_MS) {
|
|
|
86
87
|
};
|
|
87
88
|
}
|
|
88
89
|
//#endregion
|
|
90
|
+
//#region src/plugin-vue/IconGlyph.ts
|
|
91
|
+
var DEFAULT_SIZE_CLASS = "text-base";
|
|
92
|
+
var DEFAULT_FONT_CLASS = "material-symbols-outlined";
|
|
93
|
+
var SYMBOL_CONTAINMENT = {
|
|
94
|
+
display: "inline-block",
|
|
95
|
+
width: "1em",
|
|
96
|
+
overflow: "hidden"
|
|
97
|
+
};
|
|
98
|
+
var GLYPH_CONTAINMENT = {
|
|
99
|
+
display: "inline-block",
|
|
100
|
+
maxWidth: "1.25em",
|
|
101
|
+
overflow: "hidden",
|
|
102
|
+
lineHeight: "1"
|
|
103
|
+
};
|
|
104
|
+
/** Both branches carry the same semantics, and the icon-font one needs them
|
|
105
|
+
* MORE: its text content is the ligature NAME, so an unlabelled span makes a
|
|
106
|
+
* screen reader announce "podcasts" / "rss_feed" as content. 48 icon spans
|
|
107
|
+
* across this repo already mark themselves `aria-hidden`; these are the same
|
|
108
|
+
* kind of span. */
|
|
109
|
+
function labellingFor(ariaLabel) {
|
|
110
|
+
return ariaLabel ? {
|
|
111
|
+
role: "img",
|
|
112
|
+
"aria-label": ariaLabel
|
|
113
|
+
} : { "aria-hidden": "true" };
|
|
114
|
+
}
|
|
115
|
+
var IconGlyph = (props) => {
|
|
116
|
+
const sizeClass = props.sizeClass ?? DEFAULT_SIZE_CLASS;
|
|
117
|
+
const glyph = resolveIconGlyph(props.icon, props.fallback ?? "dataset");
|
|
118
|
+
const labelling = labellingFor(props.ariaLabel);
|
|
119
|
+
if (glyph.kind === "symbol") return h("span", {
|
|
120
|
+
class: [props.fontClass ?? DEFAULT_FONT_CLASS, sizeClass],
|
|
121
|
+
style: SYMBOL_CONTAINMENT,
|
|
122
|
+
...labelling
|
|
123
|
+
}, glyph.name);
|
|
124
|
+
return h("span", {
|
|
125
|
+
class: sizeClass,
|
|
126
|
+
style: GLYPH_CONTAINMENT,
|
|
127
|
+
...labelling
|
|
128
|
+
}, glyph.text);
|
|
129
|
+
};
|
|
130
|
+
IconGlyph.displayName = "IconGlyph";
|
|
131
|
+
IconGlyph.props = {
|
|
132
|
+
icon: String,
|
|
133
|
+
fallback: String,
|
|
134
|
+
sizeClass: String,
|
|
135
|
+
ariaLabel: String,
|
|
136
|
+
fontClass: String
|
|
137
|
+
};
|
|
138
|
+
//#endregion
|
|
89
139
|
//#region ../../node_modules/dompurify/dist/purify.es.mjs
|
|
90
140
|
/*! @license DOMPurify 3.4.13 | (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.13/LICENSE */
|
|
91
141
|
function _arrayLikeToArray(r, a) {
|
|
@@ -2362,6 +2412,6 @@ function _resetSanitizeForTests() {
|
|
|
2362
2412
|
hookInstalled = false;
|
|
2363
2413
|
}
|
|
2364
2414
|
//#endregion
|
|
2365
|
-
export { _resetSanitizeForTests, buildMarkdownDocView, formatScalarField, nextFileVersion, sanitizeMarkdownHtml, useClipboardCopy, useFileVersion, useFileWatch, useMarkdownDoc };
|
|
2415
|
+
export { IconGlyph, _resetSanitizeForTests, buildMarkdownDocView, formatScalarField, nextFileVersion, sanitizeMarkdownHtml, useClipboardCopy, useFileVersion, useFileWatch, useMarkdownDoc };
|
|
2366
2416
|
|
|
2367
2417
|
//# sourceMappingURL=index.js.map
|