@nine-lab/nine-mu 0.1.112 → 0.1.113

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
@@ -9,15 +9,22 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
9
9
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
10
10
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
11
11
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
12
- var _getSourcePath, _service, _routes, _diffPopup, _packageName, _routesPath, _connectorUrl, _mcpClient, _NineChat_instances, initInteractions_fn, initActions_fn, _initMcp, render_fn, _makeMenuHandler, _sourceGenHandler, _showDiff, _asisEditorView, _tobeEditorView, _asisEditorEl, _tobeEditorEl, _languageCompartment, _isScrollSyncActive, _initCodeMirror, _setupScrollSync, _applyDiffDecorations, _dialog, _diffView, _asisBackup, _host, _NineDiffPopup_instances, render_fn2, handleConfirm_fn, handleCancel_fn;
12
+ var _logger, _getSourcePath, _service, _routes, _diffPopup, _packageName, _routesPath, _connectorUrl, _mcpClient, _NineChat_instances, initInteractions_fn, initActions_fn, _initMcp, render_fn, _makeMenuHandler, _sourceGenHandler, _showDiff, _asisEditorView, _tobeEditorView, _asisEditorEl, _tobeEditorEl, _languageCompartment, _isScrollSyncActive, _initCodeMirror, _setupScrollSync, _applyDiffDecorations, _dialog, _diffView, _asisBackup, _host, _NineDiffPopup_instances, render_fn2, handleConfirm_fn, handleCancel_fn;
13
13
  import { trace as trace$1, api, nine } from "@nine-lab/nine-util";
14
- class Trace extends trace$1 {
14
+ class NineMuTrace extends trace$1.constructor {
15
15
  constructor() {
16
16
  super();
17
- this.init("nine-mu", "#0969da");
17
+ __privateAdd(this, _logger);
18
+ __privateSet(this, _logger, this.init("nine-mu", "#0969da"));
18
19
  }
20
+ // 🔴 부모의 log를 내 리모컨의 log로 덮어씌웁니다 (Override)
21
+ get log() {
22
+ return __privateGet(this, _logger).log;
23
+ }
24
+ // 필요하다면 warn, error도 똑같이...
19
25
  }
20
- const trace = new Trace();
26
+ _logger = new WeakMap();
27
+ const trace = new NineMuTrace();
21
28
  class NineMuService {
22
29
  constructor(connectorUrl) {
23
30
  __privateAdd(this, _getSourcePath, (menuUrl) => {
@@ -13720,7 +13727,7 @@ render_fn = function() {
13720
13727
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13721
13728
  this.shadowRoot.innerHTML = `
13722
13729
  <style>
13723
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.111"}/dist/css/nine-mu.css";
13730
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.112"}/dist/css/nine-mu.css";
13724
13731
  ${customImport}
13725
13732
  </style>
13726
13733
  <div class="wrapper">
@@ -39938,7 +39945,7 @@ class NineDiff extends HTMLElement {
39938
39945
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
39939
39946
  this.shadowRoot.innerHTML = `
39940
39947
  <style>
39941
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.111"}/dist/css/nine-mu.css";
39948
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.112"}/dist/css/nine-mu.css";
39942
39949
  ${customImport}
39943
39950
  </style>
39944
39951
 
@@ -40048,7 +40055,7 @@ render_fn2 = function() {
40048
40055
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40049
40056
  this.shadowRoot.innerHTML = `
40050
40057
  <style>
40051
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.111"}/dist/css/nine-mu.css";
40058
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.112"}/dist/css/nine-mu.css";
40052
40059
  ${customImport}
40053
40060
  </style>
40054
40061
 
@@ -40087,7 +40094,7 @@ handleCancel_fn = function() {
40087
40094
  };
40088
40095
  customElements.define("nine-diff-popup", NineDiffPopup);
40089
40096
  const NineMu = {
40090
- version: "0.1.111",
40097
+ version: "0.1.112",
40091
40098
  init: (config2) => {
40092
40099
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40093
40100
  }