ide-assi 0.589.0 → 0.591.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 +7 -10
- package/dist/bundle.esm.js +7 -10
- package/dist/components/ideAi.js +7 -1
- package/package.json +1 -1
- package/src/components/ideAi.js +7 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -202077,7 +202077,9 @@ class IdeAi
|
|
|
202077
202077
|
}
|
|
202078
202078
|
|
|
202079
202079
|
#what = async (userPrompt) => {
|
|
202080
|
-
const o = await this.#invoke('/prompts/meta
|
|
202080
|
+
const o = await this.#invoke('/prompts/meta/1.what.txt', { "userPrompt": userPrompt });
|
|
202081
|
+
|
|
202082
|
+
console.log(o);
|
|
202081
202083
|
|
|
202082
202084
|
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
202083
202085
|
if (o.result === "0") throw new Error(o.reason);
|
|
@@ -202086,6 +202088,8 @@ class IdeAi
|
|
|
202086
202088
|
throw new Error(o);
|
|
202087
202089
|
}
|
|
202088
202090
|
|
|
202091
|
+
console.log(o);
|
|
202092
|
+
|
|
202089
202093
|
return o.result;
|
|
202090
202094
|
};
|
|
202091
202095
|
|
|
@@ -202483,18 +202487,11 @@ console.log(el, href, title);
|
|
|
202483
202487
|
}, 9000);
|
|
202484
202488
|
*/
|
|
202485
202489
|
|
|
202486
|
-
|
|
202490
|
+
await this.#what(userPrompt);
|
|
202487
202491
|
//this.#parent.addMessage("명령을 이해했습니다.");
|
|
202488
202492
|
progressMessageInstance.updateProgress('prepare1', 'completed');
|
|
202489
202493
|
|
|
202490
|
-
|
|
202491
|
-
if (!apply.mybatis || !apply.service || !apply.controller || !apply.javascript) ;
|
|
202492
|
-
//await this.#createSource(userPrompt, apply);
|
|
202493
|
-
return await this.#modifySource(userPrompt, apply, progressMessageInstance);
|
|
202494
|
-
}
|
|
202495
|
-
else if (what === "2") {
|
|
202496
|
-
return await this.#modifySource(userPrompt, apply, progressMessageInstance);
|
|
202497
|
-
}
|
|
202494
|
+
return;
|
|
202498
202495
|
}
|
|
202499
202496
|
|
|
202500
202497
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202073,7 +202073,9 @@ class IdeAi
|
|
|
202073
202073
|
}
|
|
202074
202074
|
|
|
202075
202075
|
#what = async (userPrompt) => {
|
|
202076
|
-
const o = await this.#invoke('/prompts/meta
|
|
202076
|
+
const o = await this.#invoke('/prompts/meta/1.what.txt', { "userPrompt": userPrompt });
|
|
202077
|
+
|
|
202078
|
+
console.log(o);
|
|
202077
202079
|
|
|
202078
202080
|
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
202079
202081
|
if (o.result === "0") throw new Error(o.reason);
|
|
@@ -202082,6 +202084,8 @@ class IdeAi
|
|
|
202082
202084
|
throw new Error(o);
|
|
202083
202085
|
}
|
|
202084
202086
|
|
|
202087
|
+
console.log(o);
|
|
202088
|
+
|
|
202085
202089
|
return o.result;
|
|
202086
202090
|
};
|
|
202087
202091
|
|
|
@@ -202479,18 +202483,11 @@ console.log(el, href, title);
|
|
|
202479
202483
|
}, 9000);
|
|
202480
202484
|
*/
|
|
202481
202485
|
|
|
202482
|
-
|
|
202486
|
+
await this.#what(userPrompt);
|
|
202483
202487
|
//this.#parent.addMessage("명령을 이해했습니다.");
|
|
202484
202488
|
progressMessageInstance.updateProgress('prepare1', 'completed');
|
|
202485
202489
|
|
|
202486
|
-
|
|
202487
|
-
if (!apply.mybatis || !apply.service || !apply.controller || !apply.javascript) ;
|
|
202488
|
-
//await this.#createSource(userPrompt, apply);
|
|
202489
|
-
return await this.#modifySource(userPrompt, apply, progressMessageInstance);
|
|
202490
|
-
}
|
|
202491
|
-
else if (what === "2") {
|
|
202492
|
-
return await this.#modifySource(userPrompt, apply, progressMessageInstance);
|
|
202493
|
-
}
|
|
202490
|
+
return;
|
|
202494
202491
|
}
|
|
202495
202492
|
|
|
202496
202493
|
|
package/dist/components/ideAi.js
CHANGED
|
@@ -207,7 +207,9 @@ export class IdeAi
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
#what = async (userPrompt) => {
|
|
210
|
-
const o = await this.#invoke('/prompts/meta
|
|
210
|
+
const o = await this.#invoke('/prompts/meta/1.what.txt', { "userPrompt": userPrompt });
|
|
211
|
+
|
|
212
|
+
console.log(o);
|
|
211
213
|
|
|
212
214
|
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
213
215
|
if (o.result === "0") throw new Error(o.reason);
|
|
@@ -216,6 +218,8 @@ export class IdeAi
|
|
|
216
218
|
throw new Error(o);
|
|
217
219
|
}
|
|
218
220
|
|
|
221
|
+
console.log(o);
|
|
222
|
+
|
|
219
223
|
return o.result;
|
|
220
224
|
};
|
|
221
225
|
|
|
@@ -617,6 +621,8 @@ console.log(el, href, title);
|
|
|
617
621
|
//this.#parent.addMessage("명령을 이해했습니다.");
|
|
618
622
|
progressMessageInstance.updateProgress('prepare1', 'completed');
|
|
619
623
|
|
|
624
|
+
return;
|
|
625
|
+
|
|
620
626
|
if (what === "1") {
|
|
621
627
|
if (!apply.mybatis || !apply.service || !apply.controller || !apply.javascript) {
|
|
622
628
|
//return "소스 생성하실려면 변경대상 소스를 모두 선택하세요.";
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -207,7 +207,9 @@ export class IdeAi
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
#what = async (userPrompt) => {
|
|
210
|
-
const o = await this.#invoke('/prompts/meta
|
|
210
|
+
const o = await this.#invoke('/prompts/meta/1.what.txt', { "userPrompt": userPrompt });
|
|
211
|
+
|
|
212
|
+
console.log(o);
|
|
211
213
|
|
|
212
214
|
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
213
215
|
if (o.result === "0") throw new Error(o.reason);
|
|
@@ -216,6 +218,8 @@ export class IdeAi
|
|
|
216
218
|
throw new Error(o);
|
|
217
219
|
}
|
|
218
220
|
|
|
221
|
+
console.log(o);
|
|
222
|
+
|
|
219
223
|
return o.result;
|
|
220
224
|
};
|
|
221
225
|
|
|
@@ -617,6 +621,8 @@ console.log(el, href, title);
|
|
|
617
621
|
//this.#parent.addMessage("명령을 이해했습니다.");
|
|
618
622
|
progressMessageInstance.updateProgress('prepare1', 'completed');
|
|
619
623
|
|
|
624
|
+
return;
|
|
625
|
+
|
|
620
626
|
if (what === "1") {
|
|
621
627
|
if (!apply.mybatis || !apply.service || !apply.controller || !apply.javascript) {
|
|
622
628
|
//return "소스 생성하실려면 변경대상 소스를 모두 선택하세요.";
|