ide-assi 0.674.0 → 0.676.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
CHANGED
|
@@ -202441,6 +202441,7 @@ class IdeFetch {
|
|
|
202441
202441
|
|
|
202442
202442
|
static #request = (method, url, data = {}) => {
|
|
202443
202443
|
|
|
202444
|
+
ninegrid.loading.show();
|
|
202444
202445
|
//console.log(method, url, data);
|
|
202445
202446
|
|
|
202446
202447
|
if (method === "GET") url += `?${new URLSearchParams(data)}`;
|
|
@@ -202561,9 +202562,18 @@ class IdeAi
|
|
|
202561
202562
|
#SCHEMA = "booxtory_250131";
|
|
202562
202563
|
#model;
|
|
202563
202564
|
#parent;
|
|
202565
|
+
#prompt;
|
|
202564
202566
|
|
|
202565
202567
|
constructor(parent) {
|
|
202566
202568
|
this.#parent = parent;
|
|
202569
|
+
|
|
202570
|
+
api.post(`/api/prompt/dir`, {
|
|
202571
|
+
"feProjectName": this.#parent.settings.feProjectName,
|
|
202572
|
+
}).then((res) => {
|
|
202573
|
+
|
|
202574
|
+
this.#prompt = res;
|
|
202575
|
+
console.log(res, this.#prompt);
|
|
202576
|
+
});
|
|
202567
202577
|
}
|
|
202568
202578
|
|
|
202569
202579
|
#createModel = () => {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202437,6 +202437,7 @@ class IdeFetch {
|
|
|
202437
202437
|
|
|
202438
202438
|
static #request = (method, url, data = {}) => {
|
|
202439
202439
|
|
|
202440
|
+
ninegrid.loading.show();
|
|
202440
202441
|
//console.log(method, url, data);
|
|
202441
202442
|
|
|
202442
202443
|
if (method === "GET") url += `?${new URLSearchParams(data)}`;
|
|
@@ -202557,9 +202558,18 @@ class IdeAi
|
|
|
202557
202558
|
#SCHEMA = "booxtory_250131";
|
|
202558
202559
|
#model;
|
|
202559
202560
|
#parent;
|
|
202561
|
+
#prompt;
|
|
202560
202562
|
|
|
202561
202563
|
constructor(parent) {
|
|
202562
202564
|
this.#parent = parent;
|
|
202565
|
+
|
|
202566
|
+
api.post(`/api/prompt/dir`, {
|
|
202567
|
+
"feProjectName": this.#parent.settings.feProjectName,
|
|
202568
|
+
}).then((res) => {
|
|
202569
|
+
|
|
202570
|
+
this.#prompt = res;
|
|
202571
|
+
console.log(res, this.#prompt);
|
|
202572
|
+
});
|
|
202563
202573
|
}
|
|
202564
202574
|
|
|
202565
202575
|
#createModel = () => {
|
package/dist/components/ideAi.js
CHANGED
|
@@ -12,9 +12,18 @@ export class IdeAi
|
|
|
12
12
|
#SCHEMA = "booxtory_250131";
|
|
13
13
|
#model;
|
|
14
14
|
#parent;
|
|
15
|
+
#prompt;
|
|
15
16
|
|
|
16
17
|
constructor(parent) {
|
|
17
18
|
this.#parent = parent;
|
|
19
|
+
|
|
20
|
+
api.post(`/api/prompt/dir`, {
|
|
21
|
+
"feProjectName": this.#parent.settings.feProjectName,
|
|
22
|
+
}).then((res) => {
|
|
23
|
+
|
|
24
|
+
this.#prompt = res;
|
|
25
|
+
console.log(res, this.#prompt);
|
|
26
|
+
});
|
|
18
27
|
}
|
|
19
28
|
|
|
20
29
|
#createModel = () => {
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -12,9 +12,18 @@ export class IdeAi
|
|
|
12
12
|
#SCHEMA = "booxtory_250131";
|
|
13
13
|
#model;
|
|
14
14
|
#parent;
|
|
15
|
+
#prompt;
|
|
15
16
|
|
|
16
17
|
constructor(parent) {
|
|
17
18
|
this.#parent = parent;
|
|
19
|
+
|
|
20
|
+
api.post(`/api/prompt/dir`, {
|
|
21
|
+
"feProjectName": this.#parent.settings.feProjectName,
|
|
22
|
+
}).then((res) => {
|
|
23
|
+
|
|
24
|
+
this.#prompt = res;
|
|
25
|
+
console.log(res, this.#prompt);
|
|
26
|
+
});
|
|
18
27
|
}
|
|
19
28
|
|
|
20
29
|
#createModel = () => {
|