interintel 1.0.13 → 1.0.14

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.
@@ -2,8 +2,10 @@ require('dotenv').config();
2
2
 
3
3
  const config = {
4
4
  apiKey: `${process.env.OPENAI_API_KEY}`,
5
+ // only open ai models for now
5
6
  aiVersion: `ONLY_USE_OPENAI_MODEL`,
6
- filePaths: ['THIS', 'IS', 'ARRAY', 'OF', 'STRINGS'],
7
+ // These filepaths are relative to where your config is created
8
+ filePaths: ['interintelReadMe.md'],
7
9
  };
8
10
 
9
11
  module.exports = config;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "interintel",
8
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.13",
9
+ "version": "1.0.14",
10
10
  "main": "index.js",
11
11
  "directories": {
12
12
  "doc": "docs"
package/setup.js CHANGED
@@ -5,11 +5,19 @@ const colors = require('colors')
5
5
  const configPath = path.join('../../interintel.config.js');
6
6
  const templatePath = path.join(__dirname, 'interintel.config.template.js');
7
7
 
8
+ const readMePath = path.join('../../interintelReadMe.md');
9
+ const readMeTemplate = path.join(__dirname, 'README.md');
10
+
8
11
  try {
9
12
  if (!fs.existsSync(configPath)) {
10
13
  console.log('Config file does not exist, creating...');
11
14
  fs.copyFileSync(templatePath, configPath);
12
15
  console.log('Interintel config created. Please update it with your settings.'.yellow);
16
+
17
+ console.log('Config file does not exist, creating...');
18
+ fs.copyFileSync(readMeTemplate, readMePath);
19
+ console.log('Interintel readme created. Please update it with your settings.'.yellow);
20
+
13
21
  } else {
14
22
  console.log('Interintel config file already exists.');
15
23
  }