@nine-lab/nine-mu 0.1.234 → 0.1.236
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 +20 -10
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +1 -1
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NineChat.js +10 -4
- package/src/components/NineChatManager.js +6 -1
package/dist/nine-mu.js
CHANGED
|
@@ -17186,7 +17186,13 @@ updateStatus_fn = function(msg) {
|
|
|
17186
17186
|
trace.log(`[Status]: ${msg}`);
|
|
17187
17187
|
};
|
|
17188
17188
|
callTool_fn = async function(toolName, args = {}) {
|
|
17189
|
-
return __privateGet(this, _mcpClient).callTool(
|
|
17189
|
+
return __privateGet(this, _mcpClient).callTool(
|
|
17190
|
+
{ name: toolName, arguments: args },
|
|
17191
|
+
void 0,
|
|
17192
|
+
// 필요 시 extra 변수 자리 (기본값 undefined)
|
|
17193
|
+
{ timeout: 3e5 }
|
|
17194
|
+
// 💡 개별 요청 타임아웃을 5분으로 확장
|
|
17195
|
+
);
|
|
17190
17196
|
};
|
|
17191
17197
|
class NineMuService {
|
|
17192
17198
|
constructor(connectorUrl) {
|
|
@@ -17401,10 +17407,14 @@ initActions_fn = function() {
|
|
|
17401
17407
|
__privateGet(this, _$nineChatMessage).add("ai", parsed.message);
|
|
17402
17408
|
const asis = await __privateGet(this, _manager).getRoutes();
|
|
17403
17409
|
if ((parsed == null ? void 0 : parsed.selected_tool) === "source-missing") {
|
|
17404
|
-
|
|
17405
|
-
|
|
17406
|
-
|
|
17407
|
-
|
|
17410
|
+
const hasCreated = parsed == null ? void 0 : parsed.data.some((item) => item.action === "CREATE");
|
|
17411
|
+
const hasUpdated = parsed == null ? void 0 : parsed.data.some((item) => item.action === "UPDATE");
|
|
17412
|
+
if (hasUpdated || hasCreated) {
|
|
17413
|
+
nine.alert("메뉴 정리를 위한 라우터 정보 저장 화면으로 이동합니다.").then((res) => {
|
|
17414
|
+
const tobe = ((parsed == null ? void 0 : parsed.data) || []).map(({ isNew, action, ...rest }) => rest);
|
|
17415
|
+
__privateGet(this, _showDiff).call(this, asis, tobe, "json");
|
|
17416
|
+
});
|
|
17417
|
+
}
|
|
17408
17418
|
}
|
|
17409
17419
|
} catch (err2) {
|
|
17410
17420
|
trace.error(err2);
|
|
@@ -17420,7 +17430,7 @@ render_fn = function() {
|
|
|
17420
17430
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17421
17431
|
this.shadowRoot.innerHTML = `
|
|
17422
17432
|
<style>
|
|
17423
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17433
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.235"}/dist/css/nine-mu.css";
|
|
17424
17434
|
${customImport}
|
|
17425
17435
|
</style>
|
|
17426
17436
|
<div class="wrapper">
|
|
@@ -43637,7 +43647,7 @@ class NineDiff extends HTMLElement {
|
|
|
43637
43647
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43638
43648
|
this.shadowRoot.innerHTML = `
|
|
43639
43649
|
<style>
|
|
43640
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43650
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.235"}/dist/css/nine-mu.css";
|
|
43641
43651
|
${customImport}
|
|
43642
43652
|
</style>
|
|
43643
43653
|
|
|
@@ -43747,7 +43757,7 @@ render_fn2 = function() {
|
|
|
43747
43757
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43748
43758
|
this.shadowRoot.innerHTML = `
|
|
43749
43759
|
<style>
|
|
43750
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43760
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.235"}/dist/css/nine-mu.css";
|
|
43751
43761
|
${customImport}
|
|
43752
43762
|
</style>
|
|
43753
43763
|
|
|
@@ -44073,7 +44083,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44073
44083
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44074
44084
|
this.shadowRoot.innerHTML = `
|
|
44075
44085
|
<style>
|
|
44076
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44086
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.235"}/dist/css/nine-mu.css";
|
|
44077
44087
|
${customImport}
|
|
44078
44088
|
</style>
|
|
44079
44089
|
|
|
@@ -44167,7 +44177,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44167
44177
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44168
44178
|
}
|
|
44169
44179
|
const NineMu = {
|
|
44170
|
-
version: "0.1.
|
|
44180
|
+
version: "0.1.235",
|
|
44171
44181
|
init: (config2) => {
|
|
44172
44182
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44173
44183
|
}
|