@nine-lab/nine-mu 0.1.141 → 0.1.142

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
@@ -10,7 +10,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
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
12
  var _client, _onAction, _onStatus, _onMessage, _owner, _NineChatManager_instances, connect_fn, fetchRoutes_fn, pushMessage_fn, updateStatus_fn, _getSourcePath, _service, _routes, _diffPopup, _packageName, _routesPath, _connectorUrl, _mcpClient, _manager, _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
- import { trace as trace$1, nine, api } from "@nine-lab/nine-util";
13
+ import { trace as trace$1, api, nine } from "@nine-lab/nine-util";
14
14
  class Trace extends trace$1.constructor {
15
15
  constructor() {
16
16
  super();
@@ -13573,11 +13573,12 @@ connect_fn = async function() {
13573
13573
  name: "nine-mu-client",
13574
13574
  version: "1.0.0"
13575
13575
  }, { capabilities: { tools: {} } }));
13576
- const [_, err] = await nine.safe(__privateGet(this, _client).connect(transport));
13577
- if (err) {
13576
+ __privateGet(this, _client).connect(transport).then(() => {
13577
+ __privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "✅ MCP Connected");
13578
+ }).catch((err) => {
13578
13579
  trace$1.error("❌ MCP 연결 실패", err);
13579
- return __privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "❌ Connection Failed");
13580
- }
13580
+ __privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "❌ Connection Failed");
13581
+ });
13581
13582
  __privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "✅ MCP Connected");
13582
13583
  return;
13583
13584
  };
@@ -13821,7 +13822,7 @@ render_fn = function() {
13821
13822
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13822
13823
  this.shadowRoot.innerHTML = `
13823
13824
  <style>
13824
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.140"}/dist/css/nine-mu.css";
13825
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.141"}/dist/css/nine-mu.css";
13825
13826
  ${customImport}
13826
13827
  </style>
13827
13828
  <div class="wrapper">
@@ -40039,7 +40040,7 @@ class NineDiff extends HTMLElement {
40039
40040
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40040
40041
  this.shadowRoot.innerHTML = `
40041
40042
  <style>
40042
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.140"}/dist/css/nine-mu.css";
40043
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.141"}/dist/css/nine-mu.css";
40043
40044
  ${customImport}
40044
40045
  </style>
40045
40046
 
@@ -40149,7 +40150,7 @@ render_fn2 = function() {
40149
40150
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40150
40151
  this.shadowRoot.innerHTML = `
40151
40152
  <style>
40152
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.140"}/dist/css/nine-mu.css";
40153
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.141"}/dist/css/nine-mu.css";
40153
40154
  ${customImport}
40154
40155
  </style>
40155
40156
 
@@ -40188,7 +40189,7 @@ handleCancel_fn = function() {
40188
40189
  };
40189
40190
  customElements.define("nine-diff-popup", NineDiffPopup);
40190
40191
  const NineMu = {
40191
- version: "0.1.140",
40192
+ version: "0.1.141",
40192
40193
  init: (config2) => {
40193
40194
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40194
40195
  }