codymaster 4.5.3 → 4.5.4

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": "codymaster",
3
- "version": "4.5.3",
3
+ "version": "4.5.4",
4
4
  "description": "68+ Skills. Ship 10x faster. AI-powered coding skill kit for Claude, Cursor, Gemini & more.",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -283,35 +283,10 @@ const printMenu = () => {
283
283
  console.log('');
284
284
  console.log(` ${W}${BOLD}${isVi ? '📚 Tài liệu:' : '📚 Documentation:'}${NC} ${C}https://cody.todyle.com/docs${NC}`);
285
285
  console.log('');
286
- console.log(` ${DIM}Press 'q' to exit.${NC}`);
287
286
  };
288
287
 
289
- const main = async () => {
290
- if (!process.stdout.isTTY) {
291
- printMenu();
292
- return;
293
- }
294
-
295
- const readline = require('readline');
296
- const rl = readline.createInterface({
297
- input: process.stdin,
298
- output: process.stdout
299
- });
300
-
301
- const question = (query) => new Promise(resolve => rl.question(query, resolve));
302
-
303
- while (true) {
304
- printMenu();
305
- const answer = await question(' > ');
306
- if (answer.toLowerCase() === 'q') break;
307
- if (parseInt(answer) >= 1 && parseInt(answer) <= 12) {
308
- showSkillGuide(answer);
309
- await question('');
310
- } else if (answer === '') {
311
- break;
312
- }
313
- }
314
- rl.close();
288
+ const main = () => {
289
+ printMenu();
315
290
  };
316
291
 
317
292
  main();