@copilotkit/web-inspector 2.0.0-rc.11 → 2.0.0-rc.12
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/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/markdown.cjs +2 -2
- package/dist/lib/markdown.cjs.map +1 -1
- package/dist/lib/markdown.mjs +1 -1
- package/dist/lib/markdown.mjs.map +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function(global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('lit'), require('lit/directives/style-map.js'), require('lit/directives/unsafe-html.js'), require('@copilotkit/markdown
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'lit', 'lit/directives/style-map.js', 'lit/directives/unsafe-html.js', '@copilotkit/markdown
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.CopilotKitWebInspector = {}), global.Lit,global.LitDirectivesStyleMap,global.LitDirectivesUnsafeHtml,global.
|
|
5
|
-
})(this, function(exports, lit, lit_directives_style_map_js, lit_directives_unsafe_html_js,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('lit'), require('lit/directives/style-map.js'), require('lit/directives/unsafe-html.js'), require('@copilotkit/markdown'), require('@copilotkit/core'), require('@copilotkit/shared')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'lit', 'lit/directives/style-map.js', 'lit/directives/unsafe-html.js', '@copilotkit/markdown', '@copilotkit/core', '@copilotkit/shared'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.CopilotKitWebInspector = {}), global.Lit,global.LitDirectivesStyleMap,global.LitDirectivesUnsafeHtml,global._copilotkit_markdown,global.CopilotKitCore,global.CopilotKitShared));
|
|
5
|
+
})(this, function(exports, lit, lit_directives_style_map_js, lit_directives_unsafe_html_js, _copilotkit_markdown, _copilotkit_core, _copilotkit_shared) {
|
|
6
6
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
7
7
|
|
|
8
8
|
//#region src/lib/semver.ts
|
|
@@ -1580,7 +1580,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
1580
1580
|
* reach attributes through the caller's `linkHref` / `imageSrc` policy.
|
|
1581
1581
|
*/
|
|
1582
1582
|
function renderMarkdownToHtml(markdown, options) {
|
|
1583
|
-
const state = (0,
|
|
1583
|
+
const state = (0, _copilotkit_markdown.finalizeStreamingMarkdown)((0, _copilotkit_markdown.parseStreamingMarkdownChunk)((0, _copilotkit_markdown.createStreamingMarkdownParserState)({ segmenter: false }), markdown));
|
|
1584
1584
|
const nodes = new Map(state.nodes.map((node) => [node.id, node]));
|
|
1585
1585
|
const root = state.rootId === null ? void 0 : nodes.get(state.rootId);
|
|
1586
1586
|
if (!root || root.type !== "document") return "";
|
|
@@ -5118,7 +5118,7 @@ ${(0, lit_directives_unsafe_html_js.unsafeHTML)(highlightedJson(parsed))}</pre
|
|
|
5118
5118
|
|
|
5119
5119
|
//#endregion
|
|
5120
5120
|
//#region package.json
|
|
5121
|
-
var version = "2.0.0-rc.
|
|
5121
|
+
var version = "2.0.0-rc.12";
|
|
5122
5122
|
|
|
5123
5123
|
//#endregion
|
|
5124
5124
|
//#region src/lib/telemetry.ts
|