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.
@@ -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 = () => {
@@ -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 = () => {
@@ -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 = () => {
@@ -4,6 +4,7 @@ export class IdeFetch {
4
4
 
5
5
  static #request = (method, url, data = {}) => {
6
6
 
7
+ ninegrid.loading.show();
7
8
  //console.log(method, url, data);
8
9
 
9
10
  if (method === "GET") url += `?${new URLSearchParams(data)}`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.674.0",
4
+ "version": "0.676.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -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 = () => {
@@ -4,6 +4,7 @@ export class IdeFetch {
4
4
 
5
5
  static #request = (method, url, data = {}) => {
6
6
 
7
+ ninegrid.loading.show();
7
8
  //console.log(method, url, data);
8
9
 
9
10
  if (method === "GET") url += `?${new URLSearchParams(data)}`;