@tenux/cli 0.0.13 → 0.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.
- package/dist/cli.js +7 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -225,6 +225,13 @@ program.command("start").description("Start the agent and listen for commands").
|
|
|
225
225
|
console.log(chalk.red("\u2717"), "Not logged in. Run `tenux login` first.");
|
|
226
226
|
process.exit(1);
|
|
227
227
|
}
|
|
228
|
+
const claude = detectClaudeCode();
|
|
229
|
+
if (!claude.installed) {
|
|
230
|
+
console.log(chalk.red("\u2717"), "Claude Code not found.");
|
|
231
|
+
console.log(chalk.dim(" Install it:"), chalk.cyan("npm i -g @anthropic-ai/claude-code"));
|
|
232
|
+
console.log(chalk.dim(" Then run:"), chalk.cyan("claude login"));
|
|
233
|
+
process.exit(1);
|
|
234
|
+
}
|
|
228
235
|
const config = loadConfig();
|
|
229
236
|
console.log(chalk.bold("\n tenux"), chalk.dim("desktop agent\n"));
|
|
230
237
|
console.log(chalk.dim(" Device:"), config.deviceName);
|