sam-coder-cli 1.0.2 → 1.0.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 (2) hide show
  1. package/bin/agi-cli.js +2 -1
  2. package/package.json +1 -1
package/bin/agi-cli.js CHANGED
@@ -3,13 +3,14 @@
3
3
  const ui = require('./ui.js');
4
4
  const readline = require('readline');
5
5
  const path = require('path');
6
+ const os = require('os');
6
7
  const fs = require('fs').promises;
7
8
  const { exec } = require('child_process');
8
9
  const util = require('util');
9
10
  const execAsync = util.promisify(exec);
10
11
 
11
12
  // Configuration
12
- const CONFIG_PATH = path.join(__dirname, 'config.json');
13
+ const CONFIG_PATH = path.join(os.homedir(), '.sam-coder-config.json');
13
14
  let OPENROUTER_API_KEY;
14
15
  const MODEL = 'deepseek/deepseek-chat-v3-0324:free';
15
16
  const API_BASE_URL = 'https://openrouter.ai/api/v1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sam-coder-cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "SAM-CODER: An animated command-line AI assistant with agency capabilities.",
5
5
  "main": "bin/agi-cli.js",
6
6
  "bin": {