@heysalad/cheri-cli 0.6.0 → 0.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heysalad/cheri-cli",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Cheri CLI - AI-powered cloud IDE by HeySalad. Like Claude Code, but for cloud workspaces.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -13,12 +13,10 @@ export async function loginFlow() {
13
13
 
14
14
  log.info("Step 1: Open this URL in your browser to authenticate:");
15
15
  log.blank();
16
- console.log(` ${chalk.cyan.underline(`${apiUrl}/auth/github`)}`);
16
+ console.log(` ${chalk.cyan.underline(`${apiUrl}/auth/github?source=cli`)}`);
17
17
  log.blank();
18
- log.info("Step 2: After login, visit the token page:");
19
- console.log(` ${chalk.cyan.underline(`${apiUrl}/auth/token?user=YOUR_USERNAME`)}`);
20
- log.blank();
21
- log.info("Step 3: Copy your API token and paste it below.");
18
+ log.info("Step 2: After GitHub login, your token will be shown automatically.");
19
+ log.info(" Copy it and paste it below.");
22
20
  log.blank();
23
21
 
24
22
  const { token } = await inquirer.prompt([
package/src/repl.js CHANGED
@@ -180,7 +180,8 @@ async function dispatch(input) {
180
180
  }
181
181
 
182
182
  default:
183
- log.warn(`Unknown command: '${cmd}'. Type ${chalk.cyan("help")} for available commands.`);
183
+ // Treat any unrecognized input as an agent request
184
+ await runAgent(input);
184
185
  }
185
186
  }
186
187