@nine-lab/nine-mu 0.1.111 → 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 +15 -9
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +3 -3
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NineChat.js +0 -5
- package/src/external/NoPeer.js +14 -4
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
|
|
14
|
+
class NineMuTrace extends trace$1.constructor {
|
|
15
15
|
constructor() {
|
|
16
16
|
super();
|
|
17
|
-
this
|
|
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
|
-
|
|
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.
|
|
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">
|
|
@@ -13761,7 +13768,6 @@ render_fn = function() {
|
|
|
13761
13768
|
_makeMenuHandler = new WeakMap();
|
|
13762
13769
|
_sourceGenHandler = new WeakMap();
|
|
13763
13770
|
_showDiff = new WeakMap();
|
|
13764
|
-
trace.init("nine-mu", "#0969da");
|
|
13765
13771
|
if (!customElements.get("nine-chat")) {
|
|
13766
13772
|
customElements.define("nine-chat", NineChat);
|
|
13767
13773
|
}
|
|
@@ -39939,7 +39945,7 @@ class NineDiff extends HTMLElement {
|
|
|
39939
39945
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
39940
39946
|
this.shadowRoot.innerHTML = `
|
|
39941
39947
|
<style>
|
|
39942
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
39948
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.112"}/dist/css/nine-mu.css";
|
|
39943
39949
|
${customImport}
|
|
39944
39950
|
</style>
|
|
39945
39951
|
|
|
@@ -40049,7 +40055,7 @@ render_fn2 = function() {
|
|
|
40049
40055
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40050
40056
|
this.shadowRoot.innerHTML = `
|
|
40051
40057
|
<style>
|
|
40052
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40058
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.112"}/dist/css/nine-mu.css";
|
|
40053
40059
|
${customImport}
|
|
40054
40060
|
</style>
|
|
40055
40061
|
|
|
@@ -40088,7 +40094,7 @@ handleCancel_fn = function() {
|
|
|
40088
40094
|
};
|
|
40089
40095
|
customElements.define("nine-diff-popup", NineDiffPopup);
|
|
40090
40096
|
const NineMu = {
|
|
40091
|
-
version: "0.1.
|
|
40097
|
+
version: "0.1.112",
|
|
40092
40098
|
init: (config2) => {
|
|
40093
40099
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
40094
40100
|
}
|