ide-assi 0.63.0 → 0.64.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
|
@@ -29,7 +29,7 @@ var require$$4$2 = require('async_hooks');
|
|
|
29
29
|
var require$$1$3 = require('console');
|
|
30
30
|
var require$$1$4 = require('url');
|
|
31
31
|
var require$$0$e = require('diagnostics_channel');
|
|
32
|
-
|
|
32
|
+
require('fs/promises');
|
|
33
33
|
|
|
34
34
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
35
35
|
|
|
@@ -193265,20 +193265,9 @@ class IdeAiPrompt
|
|
|
193265
193265
|
|
|
193266
193266
|
static getDevelopActionClassification = async (userPrompt) => {
|
|
193267
193267
|
|
|
193268
|
-
const
|
|
193268
|
+
const t = await fetch('prompts/meta/개발액션분류.txt').then(res => res.text());
|
|
193269
193269
|
|
|
193270
|
-
|
|
193271
|
-
template,
|
|
193272
|
-
inputVariables: ['userPrompt'],
|
|
193273
|
-
});
|
|
193274
|
-
|
|
193275
|
-
console.log(prompt);
|
|
193276
|
-
|
|
193277
|
-
const formattedPrompt = await prompt.format({
|
|
193278
|
-
userPrompt: userPrompt,
|
|
193279
|
-
});
|
|
193280
|
-
|
|
193281
|
-
return formattedPrompt;
|
|
193270
|
+
return t;
|
|
193282
193271
|
|
|
193283
193272
|
};
|
|
193284
193273
|
}
|
package/dist/bundle.esm.js
CHANGED
|
@@ -25,7 +25,7 @@ import require$$4$2 from 'async_hooks';
|
|
|
25
25
|
import require$$1$3 from 'console';
|
|
26
26
|
import require$$1$4 from 'url';
|
|
27
27
|
import require$$0$e from 'diagnostics_channel';
|
|
28
|
-
import
|
|
28
|
+
import 'fs/promises';
|
|
29
29
|
|
|
30
30
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
31
31
|
|
|
@@ -193261,20 +193261,9 @@ class IdeAiPrompt
|
|
|
193261
193261
|
|
|
193262
193262
|
static getDevelopActionClassification = async (userPrompt) => {
|
|
193263
193263
|
|
|
193264
|
-
const
|
|
193264
|
+
const t = await fetch('prompts/meta/개발액션분류.txt').then(res => res.text());
|
|
193265
193265
|
|
|
193266
|
-
|
|
193267
|
-
template,
|
|
193268
|
-
inputVariables: ['userPrompt'],
|
|
193269
|
-
});
|
|
193270
|
-
|
|
193271
|
-
console.log(prompt);
|
|
193272
|
-
|
|
193273
|
-
const formattedPrompt = await prompt.format({
|
|
193274
|
-
userPrompt: userPrompt,
|
|
193275
|
-
});
|
|
193276
|
-
|
|
193277
|
-
return formattedPrompt;
|
|
193266
|
+
return t;
|
|
193278
193267
|
|
|
193279
193268
|
};
|
|
193280
193269
|
}
|
|
@@ -8,6 +8,10 @@ export class IdeAiPrompt
|
|
|
8
8
|
|
|
9
9
|
static getDevelopActionClassification = async (userPrompt) => {
|
|
10
10
|
|
|
11
|
+
const t = await fetch('prompts/meta/개발액션분류.txt').then(res => res.text());
|
|
12
|
+
|
|
13
|
+
return t;
|
|
14
|
+
|
|
11
15
|
const template = await fs.readFile('prompts/meta/개발액션분류.txt', 'utf-8');
|
|
12
16
|
|
|
13
17
|
const prompt = new PromptTemplate({
|
package/package.json
CHANGED
|
@@ -8,6 +8,10 @@ export class IdeAiPrompt
|
|
|
8
8
|
|
|
9
9
|
static getDevelopActionClassification = async (userPrompt) => {
|
|
10
10
|
|
|
11
|
+
const t = await fetch('prompts/meta/개발액션분류.txt').then(res => res.text());
|
|
12
|
+
|
|
13
|
+
return t;
|
|
14
|
+
|
|
11
15
|
const template = await fs.readFile('prompts/meta/개발액션분류.txt', 'utf-8');
|
|
12
16
|
|
|
13
17
|
const prompt = new PromptTemplate({
|