ide-assi 0.670.0 → 0.672.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 +9 -6
- package/dist/bundle.esm.js +9 -6
- package/dist/components/ideAi.js +9 -6
- package/package.json +1 -1
- package/src/components/ideAi.js +9 -6
package/dist/bundle.cjs.js
CHANGED
|
@@ -203822,9 +203822,12 @@ console.log(el, href, title);
|
|
|
203822
203822
|
console.log(response);
|
|
203823
203823
|
|
|
203824
203824
|
let r = IdeUtils.extractResponse(response, "gemini");
|
|
203825
|
+
|
|
203826
|
+
/**
|
|
203825
203827
|
if ((r.startsWith("'") && r.endsWith("'")) || (r.startsWith('"') && r.endsWith('"')) || (r.startsWith('`') && r.endsWith('`'))) {
|
|
203826
203828
|
r = r.slice(1, -1); // 맨 앞, 맨 뒤 한 글자씩 제거
|
|
203827
|
-
}
|
|
203829
|
+
} */
|
|
203830
|
+
|
|
203828
203831
|
|
|
203829
203832
|
return r;
|
|
203830
203833
|
}
|
|
@@ -203838,7 +203841,7 @@ console.log(el, href, title);
|
|
|
203838
203841
|
queryId: queryId
|
|
203839
203842
|
});
|
|
203840
203843
|
|
|
203841
|
-
console.log(res.query);
|
|
203844
|
+
//console.log(res.query);
|
|
203842
203845
|
|
|
203843
203846
|
if (res.query) {
|
|
203844
203847
|
const o = await invoke('/prompts/user/generateWhereCause.txt', {
|
|
@@ -203846,16 +203849,16 @@ console.log(el, href, title);
|
|
|
203846
203849
|
"userPrompt": userPrompt
|
|
203847
203850
|
});
|
|
203848
203851
|
|
|
203849
|
-
console.log(o);
|
|
203850
|
-
|
|
203852
|
+
//console.log(o);
|
|
203853
|
+
/**
|
|
203851
203854
|
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
203852
203855
|
if (o.result !== true) throw new Error(o.condition);
|
|
203853
203856
|
}
|
|
203854
203857
|
else {
|
|
203855
203858
|
throw new Error(o);
|
|
203856
|
-
}
|
|
203859
|
+
} */
|
|
203857
203860
|
|
|
203858
|
-
return o.condition;
|
|
203861
|
+
return o.result ? o.condition : null;
|
|
203859
203862
|
|
|
203860
203863
|
/**
|
|
203861
203864
|
const o = await invoke('/prompts/user/generateWhereCause.txt', {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -203818,9 +203818,12 @@ console.log(el, href, title);
|
|
|
203818
203818
|
console.log(response);
|
|
203819
203819
|
|
|
203820
203820
|
let r = IdeUtils.extractResponse(response, "gemini");
|
|
203821
|
+
|
|
203822
|
+
/**
|
|
203821
203823
|
if ((r.startsWith("'") && r.endsWith("'")) || (r.startsWith('"') && r.endsWith('"')) || (r.startsWith('`') && r.endsWith('`'))) {
|
|
203822
203824
|
r = r.slice(1, -1); // 맨 앞, 맨 뒤 한 글자씩 제거
|
|
203823
|
-
}
|
|
203825
|
+
} */
|
|
203826
|
+
|
|
203824
203827
|
|
|
203825
203828
|
return r;
|
|
203826
203829
|
}
|
|
@@ -203834,7 +203837,7 @@ console.log(el, href, title);
|
|
|
203834
203837
|
queryId: queryId
|
|
203835
203838
|
});
|
|
203836
203839
|
|
|
203837
|
-
console.log(res.query);
|
|
203840
|
+
//console.log(res.query);
|
|
203838
203841
|
|
|
203839
203842
|
if (res.query) {
|
|
203840
203843
|
const o = await invoke('/prompts/user/generateWhereCause.txt', {
|
|
@@ -203842,16 +203845,16 @@ console.log(el, href, title);
|
|
|
203842
203845
|
"userPrompt": userPrompt
|
|
203843
203846
|
});
|
|
203844
203847
|
|
|
203845
|
-
console.log(o);
|
|
203846
|
-
|
|
203848
|
+
//console.log(o);
|
|
203849
|
+
/**
|
|
203847
203850
|
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
203848
203851
|
if (o.result !== true) throw new Error(o.condition);
|
|
203849
203852
|
}
|
|
203850
203853
|
else {
|
|
203851
203854
|
throw new Error(o);
|
|
203852
|
-
}
|
|
203855
|
+
} */
|
|
203853
203856
|
|
|
203854
|
-
return o.condition;
|
|
203857
|
+
return o.result ? o.condition : null;
|
|
203855
203858
|
|
|
203856
203859
|
/**
|
|
203857
203860
|
const o = await invoke('/prompts/user/generateWhereCause.txt', {
|
package/dist/components/ideAi.js
CHANGED
|
@@ -1277,9 +1277,12 @@ console.log(el, href, title);
|
|
|
1277
1277
|
console.log(response);
|
|
1278
1278
|
|
|
1279
1279
|
let r = IdeUtils.extractResponse(response, "gemini");
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1280
1282
|
if ((r.startsWith("'") && r.endsWith("'")) || (r.startsWith('"') && r.endsWith('"')) || (r.startsWith('`') && r.endsWith('`'))) {
|
|
1281
1283
|
r = r.slice(1, -1); // 맨 앞, 맨 뒤 한 글자씩 제거
|
|
1282
|
-
}
|
|
1284
|
+
} */
|
|
1285
|
+
|
|
1283
1286
|
|
|
1284
1287
|
return r;
|
|
1285
1288
|
}
|
|
@@ -1293,7 +1296,7 @@ console.log(el, href, title);
|
|
|
1293
1296
|
queryId: queryId
|
|
1294
1297
|
});
|
|
1295
1298
|
|
|
1296
|
-
console.log(res.query);
|
|
1299
|
+
//console.log(res.query);
|
|
1297
1300
|
|
|
1298
1301
|
if (res.query) {
|
|
1299
1302
|
const o = await invoke('/prompts/user/generateWhereCause.txt', {
|
|
@@ -1301,16 +1304,16 @@ console.log(el, href, title);
|
|
|
1301
1304
|
"userPrompt": userPrompt
|
|
1302
1305
|
});
|
|
1303
1306
|
|
|
1304
|
-
console.log(o);
|
|
1305
|
-
|
|
1307
|
+
//console.log(o);
|
|
1308
|
+
/**
|
|
1306
1309
|
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
1307
1310
|
if (o.result !== true) throw new Error(o.condition);
|
|
1308
1311
|
}
|
|
1309
1312
|
else {
|
|
1310
1313
|
throw new Error(o);
|
|
1311
|
-
}
|
|
1314
|
+
} */
|
|
1312
1315
|
|
|
1313
|
-
return o.condition;
|
|
1316
|
+
return o.result ? o.condition : null;
|
|
1314
1317
|
|
|
1315
1318
|
/**
|
|
1316
1319
|
const o = await invoke('/prompts/user/generateWhereCause.txt', {
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -1277,9 +1277,12 @@ console.log(el, href, title);
|
|
|
1277
1277
|
console.log(response);
|
|
1278
1278
|
|
|
1279
1279
|
let r = IdeUtils.extractResponse(response, "gemini");
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1280
1282
|
if ((r.startsWith("'") && r.endsWith("'")) || (r.startsWith('"') && r.endsWith('"')) || (r.startsWith('`') && r.endsWith('`'))) {
|
|
1281
1283
|
r = r.slice(1, -1); // 맨 앞, 맨 뒤 한 글자씩 제거
|
|
1282
|
-
}
|
|
1284
|
+
} */
|
|
1285
|
+
|
|
1283
1286
|
|
|
1284
1287
|
return r;
|
|
1285
1288
|
}
|
|
@@ -1293,7 +1296,7 @@ console.log(el, href, title);
|
|
|
1293
1296
|
queryId: queryId
|
|
1294
1297
|
});
|
|
1295
1298
|
|
|
1296
|
-
console.log(res.query);
|
|
1299
|
+
//console.log(res.query);
|
|
1297
1300
|
|
|
1298
1301
|
if (res.query) {
|
|
1299
1302
|
const o = await invoke('/prompts/user/generateWhereCause.txt', {
|
|
@@ -1301,16 +1304,16 @@ console.log(el, href, title);
|
|
|
1301
1304
|
"userPrompt": userPrompt
|
|
1302
1305
|
});
|
|
1303
1306
|
|
|
1304
|
-
console.log(o);
|
|
1305
|
-
|
|
1307
|
+
//console.log(o);
|
|
1308
|
+
/**
|
|
1306
1309
|
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
1307
1310
|
if (o.result !== true) throw new Error(o.condition);
|
|
1308
1311
|
}
|
|
1309
1312
|
else {
|
|
1310
1313
|
throw new Error(o);
|
|
1311
|
-
}
|
|
1314
|
+
} */
|
|
1312
1315
|
|
|
1313
|
-
return o.condition;
|
|
1316
|
+
return o.result ? o.condition : null;
|
|
1314
1317
|
|
|
1315
1318
|
/**
|
|
1316
1319
|
const o = await invoke('/prompts/user/generateWhereCause.txt', {
|