ide-assi 0.676.0 → 0.678.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
|
@@ -202566,14 +202566,6 @@ class IdeAi
|
|
|
202566
202566
|
|
|
202567
202567
|
constructor(parent) {
|
|
202568
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
|
-
});
|
|
202577
202569
|
}
|
|
202578
202570
|
|
|
202579
202571
|
#createModel = () => {
|
|
@@ -204013,6 +204005,15 @@ class IdeAssi extends HTMLElement
|
|
|
204013
204005
|
|
|
204014
204006
|
//this.shadowRoot.querySelector('ide-diff-popup').remove();
|
|
204015
204007
|
|
|
204008
|
+
if (!this.#ai.prompt) {
|
|
204009
|
+
console.log(this.settings);
|
|
204010
|
+
const res = await api.post(`/api/prompt/dir`, {
|
|
204011
|
+
"feProjectName": this.settings.feProjectName,
|
|
204012
|
+
});
|
|
204013
|
+
|
|
204014
|
+
this.#ai.prompt = res;
|
|
204015
|
+
}
|
|
204016
|
+
|
|
204016
204017
|
|
|
204017
204018
|
|
|
204018
204019
|
const apply = {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202562,14 +202562,6 @@ class IdeAi
|
|
|
202562
202562
|
|
|
202563
202563
|
constructor(parent) {
|
|
202564
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
|
-
});
|
|
202573
202565
|
}
|
|
202574
202566
|
|
|
202575
202567
|
#createModel = () => {
|
|
@@ -204009,6 +204001,15 @@ class IdeAssi extends HTMLElement
|
|
|
204009
204001
|
|
|
204010
204002
|
//this.shadowRoot.querySelector('ide-diff-popup').remove();
|
|
204011
204003
|
|
|
204004
|
+
if (!this.#ai.prompt) {
|
|
204005
|
+
console.log(this.settings);
|
|
204006
|
+
const res = await api.post(`/api/prompt/dir`, {
|
|
204007
|
+
"feProjectName": this.settings.feProjectName,
|
|
204008
|
+
});
|
|
204009
|
+
|
|
204010
|
+
this.#ai.prompt = res;
|
|
204011
|
+
}
|
|
204012
|
+
|
|
204012
204013
|
|
|
204013
204014
|
|
|
204014
204015
|
const apply = {
|
package/dist/components/ideAi.js
CHANGED
|
@@ -16,14 +16,6 @@ export class IdeAi
|
|
|
16
16
|
|
|
17
17
|
constructor(parent) {
|
|
18
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
|
-
});
|
|
27
19
|
}
|
|
28
20
|
|
|
29
21
|
#createModel = () => {
|
|
@@ -131,6 +131,15 @@ export class IdeAssi extends HTMLElement
|
|
|
131
131
|
|
|
132
132
|
//this.shadowRoot.querySelector('ide-diff-popup').remove();
|
|
133
133
|
|
|
134
|
+
if (!this.#ai.prompt) {
|
|
135
|
+
console.log(this.settings);
|
|
136
|
+
const res = await api.post(`/api/prompt/dir`, {
|
|
137
|
+
"feProjectName": this.settings.feProjectName,
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
this.#ai.prompt = res;
|
|
141
|
+
}
|
|
142
|
+
|
|
134
143
|
|
|
135
144
|
|
|
136
145
|
const apply = {
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -16,14 +16,6 @@ export class IdeAi
|
|
|
16
16
|
|
|
17
17
|
constructor(parent) {
|
|
18
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
|
-
});
|
|
27
19
|
}
|
|
28
20
|
|
|
29
21
|
#createModel = () => {
|
|
@@ -131,6 +131,15 @@ export class IdeAssi extends HTMLElement
|
|
|
131
131
|
|
|
132
132
|
//this.shadowRoot.querySelector('ide-diff-popup').remove();
|
|
133
133
|
|
|
134
|
+
if (!this.#ai.prompt) {
|
|
135
|
+
console.log(this.settings);
|
|
136
|
+
const res = await api.post(`/api/prompt/dir`, {
|
|
137
|
+
"feProjectName": this.settings.feProjectName,
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
this.#ai.prompt = res;
|
|
141
|
+
}
|
|
142
|
+
|
|
134
143
|
|
|
135
144
|
|
|
136
145
|
const apply = {
|