@nine-lab/nine-mu 0.1.319 → 0.1.320

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
@@ -17561,7 +17561,7 @@ render_fn = function() {
17561
17561
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
17562
17562
  this.shadowRoot.innerHTML = `
17563
17563
  <style>
17564
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.318"}/dist/css/nine-mu.css";
17564
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.319"}/dist/css/nine-mu.css";
17565
17565
  ${customImport}
17566
17566
  </style>
17567
17567
  <div class="wrapper">
@@ -43813,7 +43813,7 @@ class NineDiff extends HTMLElement {
43813
43813
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43814
43814
  this.shadowRoot.innerHTML = `
43815
43815
  <style>
43816
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.318"}/dist/css/nine-mu.css";
43816
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.319"}/dist/css/nine-mu.css";
43817
43817
  ${customImport}
43818
43818
  </style>
43819
43819
 
@@ -43953,7 +43953,7 @@ renderScaffolding_fn = function() {
43953
43953
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
43954
43954
  this.shadowRoot.innerHTML = `
43955
43955
  <style>
43956
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.318"}/dist/css/nine-mu.css";
43956
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.319"}/dist/css/nine-mu.css";
43957
43957
  ${customImport}
43958
43958
  </style>
43959
43959
 
@@ -43972,21 +43972,20 @@ renderScaffolding_fn = function() {
43972
43972
  this.shadowRoot.querySelector(".btn-cancel").onclick = () => __privateMethod(this, _NineDiffPopup_instances, handleCancel_fn).call(this);
43973
43973
  };
43974
43974
  handleConfirmAll_fn = async function() {
43975
- var _a2;
43976
43975
  const payloadList = [];
43977
43976
  for (const file of __privateGet(this, _fileList)) {
43978
43977
  const { layer: layer2, full_path, asis_source } = file;
43979
43978
  const diff = __privateGet(this, _tabContainer).shadowRoot.querySelector(`nine-diff.${layer2}`);
43980
43979
  const currentContent = diff ? diff.getAsisContents() : asis_source;
43981
43980
  payloadList.push({
43982
- layer: layer2,
43981
+ //layer,
43983
43982
  fullPath: full_path,
43984
- packageName: ((_a2 = __privateGet(this, _host)) == null ? void 0 : _a2.getAttribute("package-name")) || "com.ninelab.ai",
43983
+ //packageName: this.#host?.getAttribute('package-name') || "com.ninelab.ai",
43985
43984
  contents: currentContent
43986
43985
  });
43987
43986
  }
43988
43987
  try {
43989
- await api.post(`/nine-mu/source/generateJsonFileBatch`, { fileList: payloadList });
43988
+ await api.post(`/nine-mu/source/generateRealFile`, { list: payloadList });
43990
43989
  await nine$1.alert("요청하신 모든 파일의 소스 변경 사항이 성공적으로 반영되었습니다.");
43991
43990
  __privateGet(this, _dialog).close();
43992
43991
  } catch (error) {
@@ -44063,7 +44062,7 @@ render_fn2 = function() {
44063
44062
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
44064
44063
  this.shadowRoot.innerHTML = `
44065
44064
  <style>
44066
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.318"}/dist/css/nine-mu.css";
44065
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.319"}/dist/css/nine-mu.css";
44067
44066
  ${customImport}
44068
44067
  </style>
44069
44068
 
@@ -44394,7 +44393,7 @@ class ChatMessageBody extends HTMLElement {
44394
44393
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
44395
44394
  this.shadowRoot.innerHTML = `
44396
44395
  <style>
44397
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.318"}/dist/css/nine-mu.css";
44396
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.319"}/dist/css/nine-mu.css";
44398
44397
  ${customImport}
44399
44398
  </style>
44400
44399
 
@@ -44488,7 +44487,7 @@ if (!customElements.get("nine-chat-progress")) {
44488
44487
  customElements.define("nine-chat-progress", ProgressMessage);
44489
44488
  }
44490
44489
  const NineMu = {
44491
- version: "0.1.318",
44490
+ version: "0.1.319",
44492
44491
  init: (config2) => {
44493
44492
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44494
44493
  }