ide-assi 0.99.0 → 0.100.0

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.
@@ -193522,7 +193522,10 @@ class IdeAi
193522
193522
  this.#createModel();
193523
193523
 
193524
193524
  await this.#what(userPrompt);
193525
+ this.#parent.addMessage("명령을 이해했습니다.");
193526
+
193525
193527
  const where = await this.#where(userPrompt, this.#getMenuInfo(), await this.#getTableList());
193528
+ this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
193526
193529
 
193527
193530
  console.log(where);
193528
193531
 
@@ -193595,7 +193598,11 @@ class IdeAssi extends HTMLElement
193595
193598
  };
193596
193599
 
193597
193600
 
193598
-
193601
+ addMessage = (message) => {
193602
+ const elAiChat = this.shadowRoot.querySelector("nx-ai-chat");
193603
+ elAiChat.add("ai", message);
193604
+ elAiChat.add("ing", "...");
193605
+ }
193599
193606
 
193600
193607
  #keydownHandler = async (e) => {
193601
193608
  if (e.key !== "Enter") return;
@@ -193518,7 +193518,10 @@ class IdeAi
193518
193518
  this.#createModel();
193519
193519
 
193520
193520
  await this.#what(userPrompt);
193521
+ this.#parent.addMessage("명령을 이해했습니다.");
193522
+
193521
193523
  const where = await this.#where(userPrompt, this.#getMenuInfo(), await this.#getTableList());
193524
+ this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
193522
193525
 
193523
193526
  console.log(where);
193524
193527
 
@@ -193591,7 +193594,11 @@ class IdeAssi extends HTMLElement
193591
193594
  };
193592
193595
 
193593
193596
 
193594
-
193597
+ addMessage = (message) => {
193598
+ const elAiChat = this.shadowRoot.querySelector("nx-ai-chat");
193599
+ elAiChat.add("ai", message);
193600
+ elAiChat.add("ing", "...");
193601
+ }
193595
193602
 
193596
193603
  #keydownHandler = async (e) => {
193597
193604
  if (e.key !== "Enter") return;
@@ -227,7 +227,10 @@ export class IdeAi
227
227
  this.#createModel();
228
228
 
229
229
  const what = await this.#what(userPrompt);
230
+ this.#parent.addMessage("명령을 이해했습니다.");
231
+
230
232
  const where = await this.#where(userPrompt, this.#getMenuInfo(), await this.#getTableList());
233
+ this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
231
234
 
232
235
  console.log(where);
233
236
 
@@ -66,7 +66,11 @@ export class IdeAssi extends HTMLElement
66
66
  };
67
67
 
68
68
 
69
-
69
+ addMessage = (message) => {
70
+ const elAiChat = this.shadowRoot.querySelector("nx-ai-chat");
71
+ elAiChat.add("ai", message);
72
+ elAiChat.add("ing", "...");
73
+ }
70
74
 
71
75
  #keydownHandler = async (e) => {
72
76
  if (e.key !== "Enter") return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.99.0",
4
+ "version": "0.100.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -227,7 +227,10 @@ export class IdeAi
227
227
  this.#createModel();
228
228
 
229
229
  const what = await this.#what(userPrompt);
230
+ this.#parent.addMessage("명령을 이해했습니다.");
231
+
230
232
  const where = await this.#where(userPrompt, this.#getMenuInfo(), await this.#getTableList());
233
+ this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
231
234
 
232
235
  console.log(where);
233
236
 
@@ -66,7 +66,11 @@ export class IdeAssi extends HTMLElement
66
66
  };
67
67
 
68
68
 
69
-
69
+ addMessage = (message) => {
70
+ const elAiChat = this.shadowRoot.querySelector("nx-ai-chat");
71
+ elAiChat.add("ai", message);
72
+ elAiChat.add("ing", "...");
73
+ }
70
74
 
71
75
  #keydownHandler = async (e) => {
72
76
  if (e.key !== "Enter") return;