@nine-lab/nine-mu 0.1.79 → 0.1.80

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/nine-mu.js CHANGED
@@ -120,6 +120,8 @@ class NineChat extends HTMLElement {
120
120
  const res = await api.post("/nine-mu/config/get", {});
121
121
  const routeUrl = (res == null ? void 0 : res.userDir) + "/" + this.getAttribute("package-name") + "/public/prompts/data/routes.json";
122
122
  trace.log(routeUrl);
123
+ const res2 = await api.post("/nine-mu/source/readFile", { path: routeUrl });
124
+ trace.log(res2);
123
125
  const r = await fetch(routeUrl);
124
126
  if (!r.ok) {
125
127
  throw new Error(`HTTP error! status: ${r.status}`);
@@ -192,7 +194,7 @@ render_fn = function() {
192
194
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
193
195
  this.shadowRoot.innerHTML = `
194
196
  <style>
195
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.78"}/dist/css/nine-mu.css";
197
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.79"}/dist/css/nine-mu.css";
196
198
  ${customImport}
197
199
  </style>
198
200
  <div class="wrapper">
@@ -26408,7 +26410,7 @@ class NineDiff extends HTMLElement {
26408
26410
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26409
26411
  this.shadowRoot.innerHTML = `
26410
26412
  <style>
26411
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.78"}/dist/css/nine-mu.css";
26413
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.79"}/dist/css/nine-mu.css";
26412
26414
  ${customImport}
26413
26415
  </style>
26414
26416
 
@@ -26518,7 +26520,7 @@ render_fn2 = function() {
26518
26520
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26519
26521
  this.shadowRoot.innerHTML = `
26520
26522
  <style>
26521
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.78"}/dist/css/nine-mu.css";
26523
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.79"}/dist/css/nine-mu.css";
26522
26524
  ${customImport}
26523
26525
  </style>
26524
26526
 
@@ -26557,7 +26559,7 @@ handleCancel_fn = function() {
26557
26559
  };
26558
26560
  customElements.define("nine-diff-popup", NineDiffPopup);
26559
26561
  const NineMu = {
26560
- version: "0.1.78",
26562
+ version: "0.1.79",
26561
26563
  init: (config) => {
26562
26564
  trace.log("🛠️ Nine-Mu Engine initialized", config);
26563
26565
  }