codlyy 1.0.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.
Files changed (3) hide show
  1. package/README.md +8 -0
  2. package/bin/codlyy.js +70 -0
  3. package/package.json +29 -0
package/README.md ADDED
@@ -0,0 +1,8 @@
1
+ # Codlyy CLI 🌊
2
+
3
+ Codlyy is an ocean-blue, Claude-style developer CLI.
4
+ Currently in research preview.
5
+
6
+ ## Install
7
+ ```bash
8
+ npm install -g codlyy
package/bin/codlyy.js ADDED
@@ -0,0 +1,70 @@
1
+ #!/usr/bin/env node
2
+
3
+ import clear from "clear";
4
+ import figlet from "figlet";
5
+ import chalk from "chalk";
6
+ import gradient from "gradient-string";
7
+ import readline from "readline";
8
+
9
+ // Clear terminal
10
+ clear();
11
+
12
+ // Ocean blue gradient
13
+ const ocean = gradient(['#00c6ff', '#0072ff']);
14
+
15
+ // Banner
16
+ console.log(
17
+ ocean(
18
+ figlet.textSync("CODLYY", {
19
+ font: "Block",
20
+ horizontalLayout: "default",
21
+ verticalLayout: "default"
22
+ })
23
+ )
24
+ );
25
+
26
+ console.log(chalk.gray("⚔ Welcome to Codlyy CLI (research preview)"));
27
+ console.log(chalk.gray("Type your prompt and press Enter"));
28
+ console.log(chalk.gray("Type 'exit' to quit\n"));
29
+
30
+ // Readline interface (Claude-style)
31
+ const rl = readline.createInterface({
32
+ input: process.stdin,
33
+ output: process.stdout,
34
+ prompt: chalk.cyanBright("āÆ ")
35
+ });
36
+
37
+ // Start prompt
38
+ rl.prompt();
39
+
40
+ // Handle input
41
+ rl.on("line", (input) => {
42
+ const prompt = input.trim().toLowerCase();
43
+
44
+ if (prompt === "exit" || prompt === "quit") {
45
+ console.log(chalk.gray("\nšŸ‘‹ Exiting Codlyy. See you soon!\n"));
46
+ process.exit(0);
47
+ }
48
+
49
+ if (prompt.length === 0) {
50
+ rl.prompt();
51
+ return;
52
+ }
53
+
54
+ // Coming soon response
55
+ console.log(
56
+ chalk.blueBright("\n🚧 Coming soon...")
57
+ );
58
+ console.log(
59
+ chalk.gray("Codlyy AI engine is under development.\n")
60
+ );
61
+
62
+ // Wait for next prompt
63
+ rl.prompt();
64
+ });
65
+
66
+ // Ctrl + C handling
67
+ rl.on("SIGINT", () => {
68
+ console.log(chalk.gray("\nšŸ‘‹ Codlyy closed.\n"));
69
+ process.exit(0);
70
+ });
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "codlyy",
3
+ "version": "1.0.0",
4
+ "description": "Codlyy AI CLI – Ocean Blue developer assistant",
5
+ "type": "module",
6
+ "bin": {
7
+ "codlyy": "./bin/codlyy.js"
8
+ },
9
+ "scripts": {
10
+ "start": "node bin/codlyy.js",
11
+ "dev": "node bin/codlyy.js"
12
+ },
13
+ "keywords": [
14
+ "cli",
15
+ "ai",
16
+ "developer-tools",
17
+ "codlyy",
18
+ "assistant"
19
+ ],
20
+ "author": "Codlyy",
21
+ "license": "MIT",
22
+ "dependencies": {
23
+ "chalk": "^5.6.2",
24
+ "clear": "^0.1.0",
25
+ "commander": "^14.0.2",
26
+ "figlet": "^1.10.0",
27
+ "gradient-string": "^3.0.0"
28
+ }
29
+ }