ide-assi 0.213.0 → 0.216.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.
- package/dist/bundle.cjs.js +13 -1
- package/dist/bundle.esm.js +13 -1
- package/dist/components/ideAi.js +12 -0
- package/package.json +1 -1
- package/src/components/ideAi.js +12 -0
package/dist/bundle.cjs.js
CHANGED
|
@@ -193661,6 +193661,7 @@ class IdeAi
|
|
|
193661
193661
|
const src = await this.#invoke(promptFile, params);
|
|
193662
193662
|
|
|
193663
193663
|
await api.post(`/api/source/generateTmplFile`, {
|
|
193664
|
+
basePath: `${this.#parent.settings.beProjectName}/tmpl`,
|
|
193664
193665
|
fileNm: generateFileName,
|
|
193665
193666
|
contents: src,
|
|
193666
193667
|
});
|
|
@@ -193707,9 +193708,20 @@ class IdeAi
|
|
|
193707
193708
|
|
|
193708
193709
|
this.#createModel();
|
|
193709
193710
|
|
|
193710
|
-
await this.#what(userPrompt);
|
|
193711
|
+
const what = await this.#what(userPrompt);
|
|
193711
193712
|
this.#parent.addMessage("명령을 이해했습니다.");
|
|
193712
193713
|
|
|
193714
|
+
console.log(what);
|
|
193715
|
+
|
|
193716
|
+
if (what.result === "1") {
|
|
193717
|
+
console.log("111");
|
|
193718
|
+
}
|
|
193719
|
+
else if (what.result === "2") {
|
|
193720
|
+
console.log("222");
|
|
193721
|
+
}
|
|
193722
|
+
|
|
193723
|
+
|
|
193724
|
+
|
|
193713
193725
|
const where = await this.#where(userPrompt, this.#getMenuInfo(), await this.#getTableList());
|
|
193714
193726
|
this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
|
|
193715
193727
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193657,6 +193657,7 @@ class IdeAi
|
|
|
193657
193657
|
const src = await this.#invoke(promptFile, params);
|
|
193658
193658
|
|
|
193659
193659
|
await api.post(`/api/source/generateTmplFile`, {
|
|
193660
|
+
basePath: `${this.#parent.settings.beProjectName}/tmpl`,
|
|
193660
193661
|
fileNm: generateFileName,
|
|
193661
193662
|
contents: src,
|
|
193662
193663
|
});
|
|
@@ -193703,9 +193704,20 @@ class IdeAi
|
|
|
193703
193704
|
|
|
193704
193705
|
this.#createModel();
|
|
193705
193706
|
|
|
193706
|
-
await this.#what(userPrompt);
|
|
193707
|
+
const what = await this.#what(userPrompt);
|
|
193707
193708
|
this.#parent.addMessage("명령을 이해했습니다.");
|
|
193708
193709
|
|
|
193710
|
+
console.log(what);
|
|
193711
|
+
|
|
193712
|
+
if (what.result === "1") {
|
|
193713
|
+
console.log("111");
|
|
193714
|
+
}
|
|
193715
|
+
else if (what.result === "2") {
|
|
193716
|
+
console.log("222");
|
|
193717
|
+
}
|
|
193718
|
+
|
|
193719
|
+
|
|
193720
|
+
|
|
193709
193721
|
const where = await this.#where(userPrompt, this.#getMenuInfo(), await this.#getTableList());
|
|
193710
193722
|
this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.");
|
|
193711
193723
|
|
package/dist/components/ideAi.js
CHANGED
|
@@ -245,6 +245,7 @@ export class IdeAi
|
|
|
245
245
|
const src = await this.#invoke(promptFile, params);
|
|
246
246
|
|
|
247
247
|
await api.post(`/api/source/generateTmplFile`, {
|
|
248
|
+
basePath: `${this.#parent.settings.beProjectName}/tmpl`,
|
|
248
249
|
fileNm: generateFileName,
|
|
249
250
|
contents: src,
|
|
250
251
|
});
|
|
@@ -294,6 +295,17 @@ export class IdeAi
|
|
|
294
295
|
const what = await this.#what(userPrompt);
|
|
295
296
|
this.#parent.addMessage("명령을 이해했습니다.");
|
|
296
297
|
|
|
298
|
+
console.log(what);
|
|
299
|
+
|
|
300
|
+
if (what.result === "1") {
|
|
301
|
+
console.log("111")
|
|
302
|
+
}
|
|
303
|
+
else if (what.result === "2") {
|
|
304
|
+
console.log("222")
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
297
309
|
const where = await this.#where(userPrompt, this.#getMenuInfo(), await this.#getTableList());
|
|
298
310
|
this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.")
|
|
299
311
|
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -245,6 +245,7 @@ export class IdeAi
|
|
|
245
245
|
const src = await this.#invoke(promptFile, params);
|
|
246
246
|
|
|
247
247
|
await api.post(`/api/source/generateTmplFile`, {
|
|
248
|
+
basePath: `${this.#parent.settings.beProjectName}/tmpl`,
|
|
248
249
|
fileNm: generateFileName,
|
|
249
250
|
contents: src,
|
|
250
251
|
});
|
|
@@ -294,6 +295,17 @@ export class IdeAi
|
|
|
294
295
|
const what = await this.#what(userPrompt);
|
|
295
296
|
this.#parent.addMessage("명령을 이해했습니다.");
|
|
296
297
|
|
|
298
|
+
console.log(what);
|
|
299
|
+
|
|
300
|
+
if (what.result === "1") {
|
|
301
|
+
console.log("111")
|
|
302
|
+
}
|
|
303
|
+
else if (what.result === "2") {
|
|
304
|
+
console.log("222")
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
297
309
|
const where = await this.#where(userPrompt, this.#getMenuInfo(), await this.#getTableList());
|
|
298
310
|
this.#parent.addMessage("대상 메뉴와 테이블을 찾았습니다.")
|
|
299
311
|
|