interintel 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## INTER-INTEL
1
+ ## INTERINTEL
2
2
 
3
3
  The application `inter-intel` is a command line interface (CLI) application implemented in Node.js. It essentially is an interactive communication tool between the user and an AI model, only GPTs for now.
4
4
 
@@ -0,0 +1,9 @@
1
+
2
+
3
+ const config = {
4
+ apiKey: `${process.env.OPENAI_API_KEY}`,
5
+ aiVersion: `ONLY_USE_OPENAI_MODEL`,
6
+ filePaths: ['THIS', 'IS', 'ARRAY', 'OF', 'STRINGS'],
7
+ };
8
+
9
+ module.exports = config;
package/npmsetup.js ADDED
@@ -0,0 +1,12 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+
4
+ const configPath = path.join(__dirname, 'interintel.config.js');
5
+ const templatePath = path.join(__dirname, 'interintel.config.template.js');
6
+
7
+ if (!fs.existsSync(configPath)) {
8
+ fs.copyFileSync(templatePath, configPath);
9
+ console.log('Interintel config created. Please update it with your settings.'.yellow);
10
+ } else {
11
+ console.log('Interintel config file already exists.'.yellow);
12
+ }
package/package.json CHANGED
@@ -5,15 +5,15 @@
5
5
  "openai": "^4.24.0"
6
6
  },
7
7
  "name": "interintel",
8
- "description": "The application `inter-intel` is a command line interface (CLI) application implemented in Node.js. It essentially is an interactive communication tool between the user and an AI model, only GPTs for now.",
9
- "version": "1.0.0",
8
+ "description": "The application `Interintel` is a command line interface (CLI) application implemented in Node.js. It essentially is an interactive communication tool between the user and an AI model, only openai models for now.",
9
+ "version": "1.0.1",
10
10
  "main": "index.js",
11
11
  "directories": {
12
12
  "doc": "docs"
13
13
  },
14
- "devDependencies": {},
15
14
  "scripts": {
16
- "test": "node index.js"
15
+ "postinstall": "node setup.js",
16
+ "test": ""
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",