korext 0.9.1 → 0.9.3

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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/bin/korext.js +4 -3
  3. package/package.json +1 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-2026 Korext
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/bin/korext.js CHANGED
@@ -234,7 +234,7 @@ program
234
234
  console.log(chalk.dim('======================================='));
235
235
  if (data.packs && data.packs.length > 0) {
236
236
  data.packs.forEach((p) => {
237
- console.log(`${chalk.bold(p.id)} - ${p.name || p.id} ${p.isEnterprise ? chalk.bgRed.white(' ENTERPRISE ') : ''}`);
237
+ console.log(`${chalk.bold(p.packId)} - ${p.packName || p.packId} ${p.isEnterprise ? chalk.bgRed.white(' ENTERPRISE ') : ''}`);
238
238
  console.log(chalk.dim(` ${p.description || 'No description provided'}\n`));
239
239
  });
240
240
  } else {
@@ -369,7 +369,8 @@ program
369
369
  language,
370
370
  fileName: file,
371
371
  packId: pack,
372
- requestSignature: false
372
+ requestSignature: false,
373
+ asyncExplanations: false
373
374
  })
374
375
  });
375
376
 
@@ -1249,7 +1250,7 @@ program
1249
1250
  'Content-Type': 'application/json',
1250
1251
  ...(token && { 'Authorization': `Bearer ${token}` })
1251
1252
  },
1252
- body: JSON.stringify({ fileContent, language, fileName: filePath, packId: pack, requestSignature: false })
1253
+ body: JSON.stringify({ fileContent, language, fileName: filePath, packId: pack, requestSignature: false, asyncExplanations: false })
1253
1254
  });
1254
1255
  if (res.ok) {
1255
1256
  const result = await res.json();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "korext",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Korext Command Line Interface",
5
5
  "type": "module",
6
6
  "main": "bin/korext.js",