@nine-lab/nine-mu 0.1.246 → 0.1.248
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 +19 -26
- 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/NineChatManager.js +17 -23
package/dist/nine-mu.js
CHANGED
|
@@ -17103,28 +17103,21 @@ class NineChatManager {
|
|
|
17103
17103
|
/** 백엔드 통신 */
|
|
17104
17104
|
__publicField(this, "analyzeUnmappedRoutes", async (routes) => {
|
|
17105
17105
|
var _a2;
|
|
17106
|
-
|
|
17107
|
-
|
|
17108
|
-
|
|
17109
|
-
|
|
17110
|
-
|
|
17111
|
-
|
|
17112
|
-
return;
|
|
17113
|
-
}
|
|
17114
|
-
trace.log(unmappedRoutes);
|
|
17115
|
-
return await __privateMethod(this, _NineChatManager_instances, callTool_fn).call(this, "generate-source-brain", {
|
|
17116
|
-
//user_input: `다음 미개발 라우트에 대한 백엔드 소스코드(Controller, Service, MyBatis)를 생성해줘.`,
|
|
17117
|
-
//chat_history: "",
|
|
17118
|
-
routes: unmappedRoutes
|
|
17119
|
-
// 미개발된 해당 라우트 정보 객체
|
|
17120
|
-
//current_path: route.path, // 현재 생성 기준 패스 명시
|
|
17121
|
-
});
|
|
17122
|
-
} catch (error) {
|
|
17123
|
-
console.error("미개발 라우트 분석 중 오류 발생:", error);
|
|
17124
|
-
if (nine && typeof nine.alert === "function") {
|
|
17125
|
-
nine.alert("소스 생성 분석 중 오류가 발생했습니다.");
|
|
17126
|
-
}
|
|
17106
|
+
const res = await api.post("/nine-mu/config/getUnmappedRoutes", { routes });
|
|
17107
|
+
trace.log(res);
|
|
17108
|
+
const unmappedRoutes = ((_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.unmappedRoutes) || (res == null ? void 0 : res.unmappedRoutes) || [];
|
|
17109
|
+
if (unmappedRoutes.length === 0) {
|
|
17110
|
+
nine.alert("미개발된 라우터가 없습니다. 모두 매핑되어 있습니다.");
|
|
17111
|
+
return;
|
|
17127
17112
|
}
|
|
17113
|
+
trace.log(unmappedRoutes);
|
|
17114
|
+
return await __privateMethod(this, _NineChatManager_instances, callTool_fn).call(this, "generate-source-brain", {
|
|
17115
|
+
//user_input: `다음 미개발 라우트에 대한 백엔드 소스코드(Controller, Service, MyBatis)를 생성해줘.`,
|
|
17116
|
+
//chat_history: "",
|
|
17117
|
+
routes: unmappedRoutes
|
|
17118
|
+
// 미개발된 해당 라우트 정보 객체
|
|
17119
|
+
//current_path: route.path, // 현재 생성 기준 패스 명시
|
|
17120
|
+
});
|
|
17128
17121
|
});
|
|
17129
17122
|
__privateSet(this, _owner, owner);
|
|
17130
17123
|
__privateSet(this, _routeUrl, __privateGet(this, _owner).getAttribute("route-url"));
|
|
@@ -17446,7 +17439,7 @@ render_fn = function() {
|
|
|
17446
17439
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17447
17440
|
this.shadowRoot.innerHTML = `
|
|
17448
17441
|
<style>
|
|
17449
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17442
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.247"}/dist/css/nine-mu.css";
|
|
17450
17443
|
${customImport}
|
|
17451
17444
|
</style>
|
|
17452
17445
|
<div class="wrapper">
|
|
@@ -43663,7 +43656,7 @@ class NineDiff extends HTMLElement {
|
|
|
43663
43656
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43664
43657
|
this.shadowRoot.innerHTML = `
|
|
43665
43658
|
<style>
|
|
43666
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43659
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.247"}/dist/css/nine-mu.css";
|
|
43667
43660
|
${customImport}
|
|
43668
43661
|
</style>
|
|
43669
43662
|
|
|
@@ -43773,7 +43766,7 @@ render_fn2 = function() {
|
|
|
43773
43766
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43774
43767
|
this.shadowRoot.innerHTML = `
|
|
43775
43768
|
<style>
|
|
43776
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43769
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.247"}/dist/css/nine-mu.css";
|
|
43777
43770
|
${customImport}
|
|
43778
43771
|
</style>
|
|
43779
43772
|
|
|
@@ -44099,7 +44092,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44099
44092
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44100
44093
|
this.shadowRoot.innerHTML = `
|
|
44101
44094
|
<style>
|
|
44102
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44095
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.247"}/dist/css/nine-mu.css";
|
|
44103
44096
|
${customImport}
|
|
44104
44097
|
</style>
|
|
44105
44098
|
|
|
@@ -44193,7 +44186,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44193
44186
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44194
44187
|
}
|
|
44195
44188
|
const NineMu = {
|
|
44196
|
-
version: "0.1.
|
|
44189
|
+
version: "0.1.247",
|
|
44197
44190
|
init: (config2) => {
|
|
44198
44191
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44199
44192
|
}
|