upfynai-code 2.6.5 → 2.6.6

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/cli.js +3 -3
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -5,7 +5,7 @@ import { login, logout, status } from '../src/auth.js';
5
5
  import { openHosted, startLocal } from '../src/launch.js';
6
6
  import { connect } from '../src/connect.js';
7
7
  import { mcp } from '../src/mcp.js';
8
- import { readConfig, writeConfig, DEFAULTS, displayUrl } from '../src/config.js';
8
+ import { readConfig, writeConfig, clearConfig, DEFAULTS, displayUrl } from '../src/config.js';
9
9
  import chalk from 'chalk';
10
10
 
11
11
  const program = new Command();
@@ -13,7 +13,7 @@ const program = new Command();
13
13
  program
14
14
  .name('upfynai-code')
15
15
  .description('Launch Upfyn AI coding environment from your terminal')
16
- .version('2.6.5')
16
+ .version('2.6.6')
17
17
  .option('--local', 'Start a local server instead of opening the hosted app')
18
18
  .action(async (options) => {
19
19
  if (options.local) {
@@ -70,7 +70,7 @@ program
70
70
  .option('--reset', 'Reset config to defaults')
71
71
  .action((options) => {
72
72
  if (options.reset) {
73
- writeConfig({ serverUrl: DEFAULTS.serverUrl, localPort: DEFAULTS.localPort });
73
+ clearConfig();
74
74
  console.log(chalk.green('\n Config reset to defaults.\n'));
75
75
  return;
76
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "upfynai-code",
3
- "version": "2.6.5",
3
+ "version": "2.6.6",
4
4
  "description": "Unified AI coding interface — access AI chat, terminal, file explorer, git, and visual canvas from any browser. Connect your local machine and code from anywhere.",
5
5
  "type": "module",
6
6
  "bin": {