@tenux/cli 0.0.12 → 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 +8 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -180,7 +180,7 @@ program.command("login").description("Authenticate with Tenux via browser-based
|
|
|
180
180
|
deviceId,
|
|
181
181
|
deviceName,
|
|
182
182
|
userId,
|
|
183
|
-
projectsDir: join(homedir(), "tenux
|
|
183
|
+
projectsDir: join(homedir(), ".tenux", "projects")
|
|
184
184
|
};
|
|
185
185
|
saveConfig(config);
|
|
186
186
|
console.log(chalk.green(" \u2713"), "Config saved to", chalk.dim(getConfigPath()));
|
|
@@ -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);
|