codecane 1.0.300 → 1.0.302
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/index.js +6 -0
- package/dist/menu.js +86 -164
- package/dist/menu.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23,6 +23,12 @@ process.env.NEXT_PUBLIC_BACKEND_URL = 'manicode-backend.onrender.com';
|
|
|
23
23
|
process.env.NEXT_PUBLIC_SUPPORT_EMAIL = 'support@codebuff.com';
|
|
24
24
|
process.env.NEXT_PUBLIC_POSTHOG_API_KEY = 'phc_tug7g8yc10qNestK14QV8WyKwjfEl6vwzIbJkBdqeHS';
|
|
25
25
|
process.env.NEXT_PUBLIC_POSTHOG_HOST_URL = 'https://us.i.posthog.com/';
|
|
26
|
+
process.env.NEXT_PUBLIC_CB_ENVIRONMENT = 'production';
|
|
27
|
+
process.env.NEXT_PUBLIC_APP_URL = 'https://www.codebuff.com/';
|
|
28
|
+
process.env.NEXT_PUBLIC_BACKEND_URL = 'manicode-backend.onrender.com';
|
|
29
|
+
process.env.NEXT_PUBLIC_SUPPORT_EMAIL = 'support@codebuff.com';
|
|
30
|
+
process.env.NEXT_PUBLIC_POSTHOG_API_KEY = 'phc_tug7g8yc10qNestK14QV8WyKwjfEl6vwzIbJkBdqeHS';
|
|
31
|
+
process.env.NEXT_PUBLIC_POSTHOG_HOST_URL = 'https://us.i.posthog.com/';
|
|
26
32
|
"use strict";
|
|
27
33
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
28
34
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/dist/menu.js
CHANGED
|
@@ -68,6 +68,8 @@ function displayGreeting(costMode, username) {
|
|
|
68
68
|
}
|
|
69
69
|
function displayMenu() {
|
|
70
70
|
const selectedColors = getRandomColors();
|
|
71
|
+
const terminalWidth = process.stdout.columns || 80;
|
|
72
|
+
const dividerLine = '─'.repeat(terminalWidth);
|
|
71
73
|
const getRandomColor = () => {
|
|
72
74
|
return selectedColors[Math.floor(Math.random() * selectedColors.length)];
|
|
73
75
|
};
|
|
@@ -86,190 +88,110 @@ function displayMenu() {
|
|
|
86
88
|
${colorizeRandom(' ')}
|
|
87
89
|
${colorizeRandom('██████╗')}${colorizeRandom(' ██████╗ ')}${colorizeRandom('██████╗ ')}${colorizeRandom('███████╗')}${colorizeRandom('██████╗ ')}${colorizeRandom('██╗ ██╗')}${colorizeRandom('███████╗')}${colorizeRandom('███████╗')}
|
|
88
90
|
${colorizeRandom('██╔════╝')}${colorizeRandom('██╔═══██╗')}${colorizeRandom('██╔══██╗')}${colorizeRandom('██╔════╝')}${colorizeRandom('██╔══██╗')}${colorizeRandom('██║ ██║')}${colorizeRandom('██╔════╝')}${colorizeRandom('██╔════╝')}
|
|
89
|
-
${colorizeRandom('██║')}${colorizeRandom('
|
|
90
|
-
${colorizeRandom('██║')}${colorizeRandom('
|
|
91
|
+
${colorizeRandom('██║ ')}${colorizeRandom('██║ ██║')}${colorizeRandom('██║ ██║')}${colorizeRandom('█████╗ ')}${colorizeRandom('██████╔╝')}${colorizeRandom('██║ ██║')}${colorizeRandom('█████╗ ')}${colorizeRandom('█████╗ ')}
|
|
92
|
+
${colorizeRandom('██║ ')}${colorizeRandom('██║ ██║')}${colorizeRandom('██║ ██║')}${colorizeRandom('██╔══╝ ')}${colorizeRandom('██╔══██╗')}${colorizeRandom('██║ ██║')}${colorizeRandom('██╔══╝ ')}${colorizeRandom('██╔══╝ ')}
|
|
91
93
|
${colorizeRandom('╚██████╗')}${colorizeRandom('╚██████╔╝')}${colorizeRandom('██████╔╝')}${colorizeRandom('███████╗')}${colorizeRandom('██████╔╝')}${colorizeRandom('╚██████╔╝')}${colorizeRandom('██║ ')}${colorizeRandom('██║ ')}
|
|
92
94
|
${colorizeRandom(' ╚═════╝')}${colorizeRandom(' ╚═════╝ ')}${colorizeRandom(' ╚═════╝ ')}${colorizeRandom('╚══════╝')}${colorizeRandom('╚═════╝ ')}${colorizeRandom(' ╚═════╝ ')}${colorizeRandom('╚═╝ ')}${colorizeRandom('╚═╝ ')}
|
|
93
95
|
`);
|
|
94
|
-
|
|
95
|
-
// Define terminal width and layout preference before using it
|
|
96
|
-
const terminalWidth = process.stdout.columns || 80;
|
|
97
|
-
const useSimpleLayout = terminalWidth < 100;
|
|
96
|
+
console.log(`${(0, picocolors_1.bold)((0, picocolors_1.blueBright)('📂'))} ${(0, picocolors_1.bold)('Current directory:')} ${(0, picocolors_1.bold)((0, picocolors_1.blueBright)((0, project_files_1.getProjectRoot)()))}`);
|
|
98
97
|
console.log(`
|
|
99
|
-
${
|
|
100
|
-
|
|
101
|
-
${useSimpleLayout ? '────────────────────────────────' : '──────────────────────────────────────────────────────────────'}
|
|
102
|
-
|
|
103
|
-
DIAGNOSTICS CHECK: ${(() => {
|
|
98
|
+
${(0, picocolors_1.bold)((0, picocolors_1.underline)('DIAGNOSTICS CHECK'))}`);
|
|
99
|
+
console.log((() => {
|
|
104
100
|
const hasGitRepo = fs.existsSync(path_1.default.join((0, project_files_1.getProjectRoot)(), '.git'));
|
|
105
101
|
const hasGitIgnore = fs.existsSync(path_1.default.join((0, project_files_1.getProjectRoot)(), '.gitignore'));
|
|
106
102
|
const hasKnowledgeMd = fs.existsSync(path_1.default.join((0, project_files_1.getProjectRoot)(), 'knowledge.md'));
|
|
107
103
|
const hasCodebuffJson = fs.existsSync(path_1.default.join((0, project_files_1.getProjectRoot)(), 'codebuff.json'));
|
|
108
|
-
|
|
109
|
-
if (
|
|
110
|
-
return (0, picocolors_1.
|
|
104
|
+
// Condition 1: Git repo found, all files present
|
|
105
|
+
if (hasGitRepo && hasGitIgnore && hasKnowledgeMd && hasCodebuffJson) {
|
|
106
|
+
return `${(0, picocolors_1.green)('✅ Git repo: detected')}
|
|
107
|
+
${(0, picocolors_1.green)('✅ .gitignore: detected')}
|
|
108
|
+
${(0, picocolors_1.green)('✅ knowledge.md: detected')}
|
|
109
|
+
${(0, picocolors_1.green)('✅ codebuff.json: detected')}`;
|
|
111
110
|
}
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
// Condition 2: Git repo not found
|
|
112
|
+
if (!hasGitRepo) {
|
|
113
|
+
return `${(0, picocolors_1.yellow)('❌ Git repo: not found - navigate to a working directory!')}
|
|
114
|
+
${hasGitIgnore ? (0, picocolors_1.green)('✅ .gitignore: detected') : (0, picocolors_1.yellow)('❌ .gitignore: missing')}
|
|
115
|
+
${hasKnowledgeMd ? (0, picocolors_1.green)('✅ knowledge.md: detected') : (0, picocolors_1.yellow)('❌ knowledge.md: missing')}
|
|
116
|
+
${hasCodebuffJson ? (0, picocolors_1.green)('✅ codebuff.json: detected') : (0, picocolors_1.yellow)('❌ codebuff.json: missing')}`;
|
|
114
117
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
// Condition 3: Missing .gitignore
|
|
119
|
+
if (!hasGitIgnore) {
|
|
120
|
+
return `${(0, picocolors_1.green)('✅ Git repo: detected')}
|
|
121
|
+
${(0, picocolors_1.yellow)('❌ .gitignore: missing - type "generate a reasonable .gitignore"')}
|
|
122
|
+
${hasKnowledgeMd ? (0, picocolors_1.green)('✅ knowledge.md: detected') : (0, picocolors_1.yellow)('❌ knowledge.md: missing')}
|
|
123
|
+
${hasCodebuffJson ? (0, picocolors_1.green)('✅ codebuff.json: detected') : (0, picocolors_1.yellow)('❌ codebuff.json: missing')}`;
|
|
124
|
+
}
|
|
125
|
+
// Condition 4: Missing knowledge files
|
|
126
|
+
return `${(0, picocolors_1.green)('✅ Git repo: detected')}
|
|
127
|
+
${(0, picocolors_1.green)('✅ .gitignore: detected')}
|
|
128
|
+
${!hasKnowledgeMd ? (0, picocolors_1.yellow)('❌ knowledge.md: missing - type "init"') : (0, picocolors_1.green)('✅ knowledge.md: detected')}
|
|
129
|
+
${!hasCodebuffJson ? (0, picocolors_1.yellow)('❌ codebuff.json: missing') : (0, picocolors_1.green)('✅ codebuff.json: detected')}`;
|
|
130
|
+
})());
|
|
123
131
|
// COMMUNITY & FEEDBACK SECTION
|
|
132
|
+
console.log(`\n${(0, picocolors_1.bold)((0, picocolors_1.underline)('COMMUNITY & FEEDBACK'))} `);
|
|
124
133
|
console.log(`
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
OUR DISCORD: ${(0, picocolors_1.blueBright)('https://codebuff.com/discord')} ${(0, picocolors_1.yellow)('(Ctrl/Cmd+Click to open)')}
|
|
130
|
-
`);
|
|
134
|
+
DM @brandonkachen or @jahooma on Discord, or email ${(0, picocolors_1.blueBright)('founders@codebuff.com')}
|
|
135
|
+
|
|
136
|
+
OUR DISCORD: ${(0, picocolors_1.blueBright)('https://codebuff.com/discord')} ${(0, picocolors_1.yellow)('(Ctrl/Cmd+Click to open)')}
|
|
137
|
+
`);
|
|
131
138
|
// COMMANDS SECTION
|
|
132
|
-
|
|
139
|
+
// Add bold and underlined header for commands section
|
|
140
|
+
const fixedCommandWidth = 30; // Fixed width for command column
|
|
141
|
+
console.log(`\n${(0, picocolors_1.bold)((0, picocolors_1.underline)('COMMAND'))}${' '.repeat(fixedCommandWidth - 7)}${(0, picocolors_1.bold)((0, picocolors_1.underline)('DESCRIPTION'))} `);
|
|
142
|
+
const useSimpleLayout = terminalWidth < 100;
|
|
143
|
+
const formatMenuLine = (command, description) => {
|
|
144
|
+
// Ensure command fits in the fixed width column
|
|
145
|
+
const paddedCommand = command.padEnd(fixedCommandWidth);
|
|
146
|
+
return `${paddedCommand}${description}`;
|
|
147
|
+
};
|
|
133
148
|
if (useSimpleLayout) {
|
|
134
149
|
// Clean, aligned format for commands in narrow terminals
|
|
135
150
|
console.log(`
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
${formatMenuLine('"login"', 'Authenticate your session')}
|
|
152
|
+
${dividerLine}
|
|
153
|
+
${formatMenuLine('"diff" or "d"', 'Show last assistant change diff')}
|
|
154
|
+
${dividerLine}
|
|
155
|
+
${formatMenuLine('"undo" / "redo" or "u"', 'Revert or re-apply last change')}
|
|
156
|
+
${dividerLine}
|
|
157
|
+
${formatMenuLine('"checkpoint list"', 'List all checkpoints')}
|
|
158
|
+
${dividerLine}
|
|
159
|
+
${formatMenuLine('"checkpoint <id>"', 'Restore to a specific checkpoint')}
|
|
160
|
+
${dividerLine}
|
|
161
|
+
${formatMenuLine('"usage" / "credits"', 'View remaining / bonus AI credits')}
|
|
162
|
+
${dividerLine}
|
|
163
|
+
${formatMenuLine('"init"', 'Configure project for better results')}
|
|
164
|
+
${dividerLine}
|
|
165
|
+
${formatMenuLine('"exit" or Ctrl-C x2', 'Quit Codebuff')}
|
|
166
|
+
${dividerLine}
|
|
167
|
+
${formatMenuLine('"!<cmd>"', 'Run shell command directly')}
|
|
168
|
+
${dividerLine}
|
|
169
|
+
${formatMenuLine('"ESC key"', 'Cancel generation')}
|
|
170
|
+
`);
|
|
156
171
|
}
|
|
157
172
|
else {
|
|
158
173
|
// Original table format for larger terminals
|
|
159
174
|
console.log(`
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
ESC key Cancel generation
|
|
181
|
-
`);
|
|
182
|
-
}
|
|
183
|
-
// CODEBUFF USE CASES AND FEATURES SECTION
|
|
184
|
-
if (useSimpleLayout) {
|
|
185
|
-
console.log(`\n ${(0, picocolors_1.blueBright)((0, picocolors_1.underline)('SAMPLE USE CASES AND PROMPTS:'))}`);
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
console.log(`
|
|
189
|
-
${(0, picocolors_1.blueBright)((0, picocolors_1.underline)(' SAMPLE USE CASES AND PROMPTS '))}
|
|
190
|
-
`);
|
|
191
|
-
}
|
|
192
|
-
if (useSimpleLayout) {
|
|
193
|
-
// Simple linear layout for narrow terminals
|
|
194
|
-
console.log(`
|
|
195
|
-
${(0, picocolors_1.bold)((0, picocolors_1.underline)('Code Transformation'))}
|
|
196
|
-
|
|
|
197
|
-
├── Refactoring
|
|
198
|
-
│ └── "Refactor this function to use async/await"
|
|
199
|
-
|
|
|
200
|
-
├── Conversion
|
|
201
|
-
│ └── "Convert this JavaScript to TypeScript"
|
|
202
|
-
|
|
|
203
|
-
└── Optimization
|
|
204
|
-
└── "Optimize this function for better performance"
|
|
205
|
-
|
|
206
|
-
${(0, picocolors_1.bold)((0, picocolors_1.underline)('Documentation & Understanding'))}
|
|
207
|
-
|
|
|
208
|
-
├── Explanation
|
|
209
|
-
│ └── "Explain how this code works in simple terms"
|
|
210
|
-
|
|
|
211
|
-
├── Documentation
|
|
212
|
-
│ └── "Generate JSDoc for this module"
|
|
213
|
-
|
|
|
214
|
-
└── Architecture
|
|
215
|
-
└── "Explain the design pattern used here"
|
|
216
|
-
|
|
217
|
-
${(0, picocolors_1.bold)((0, picocolors_1.underline)('Testing & Quality'))}
|
|
218
|
-
|
|
|
219
|
-
├── Unit Tests
|
|
220
|
-
│ └── "Create unit tests for this API endpoint"
|
|
221
|
-
|
|
|
222
|
-
├── Integration
|
|
223
|
-
│ └── "Set up CI/CD workflow for this project"
|
|
224
|
-
|
|
|
225
|
-
└── Code Quality
|
|
226
|
-
└── "Improve error handling in this function"
|
|
227
|
-
|
|
228
|
-
${(0, picocolors_1.bold)((0, picocolors_1.underline)('Development Tools'))}
|
|
229
|
-
|
|
|
230
|
-
├── CLI Tools
|
|
231
|
-
│ └── "Build a CLI command to process these files"
|
|
232
|
-
|
|
|
233
|
-
├── Data Processing
|
|
234
|
-
│ └── "Parse this JSON data and extract values"
|
|
235
|
-
|
|
|
236
|
-
└── Schema Design
|
|
237
|
-
└── "Create a database schema for this model"
|
|
238
|
-
`);
|
|
239
|
-
}
|
|
240
|
-
else {
|
|
241
|
-
// Original wide layout for larger terminals
|
|
242
|
-
console.log(`
|
|
243
|
-
${(0, picocolors_1.bold)((0, picocolors_1.underline)('Code Transformation'))} ${(0, picocolors_1.bold)((0, picocolors_1.underline)('Documentation & Understanding'))}
|
|
244
|
-
│ │
|
|
245
|
-
├── Refactoring ├── Explanation
|
|
246
|
-
│ └─ "Refactor this function │ └─ "Explain how this code
|
|
247
|
-
│ to use async/await" │ works in simple terms"
|
|
248
|
-
│ │
|
|
249
|
-
├── Conversion ├── Documentation
|
|
250
|
-
│ └─ "Convert this JavaScript │ └─ "Generate JSDoc for
|
|
251
|
-
│ to TypeScript" │ this module"
|
|
252
|
-
│ │
|
|
253
|
-
└── Optimization └── Architecture
|
|
254
|
-
└─ "Optimize this function └─ "Explain the design
|
|
255
|
-
for better performance" pattern used here"
|
|
256
|
-
|
|
257
|
-
────────────────────────────────────────────────────────────────────────
|
|
258
|
-
|
|
259
|
-
${(0, picocolors_1.bold)((0, picocolors_1.underline)('Testing & Quality'))} ${(0, picocolors_1.bold)((0, picocolors_1.underline)('Development Tools'))}
|
|
260
|
-
│ │
|
|
261
|
-
├── Unit Tests ├── CLI Tools
|
|
262
|
-
│ └─ "Create unit tests for │ └─ "Build a CLI command
|
|
263
|
-
│ this API endpoint" │ to process these files"
|
|
264
|
-
│ │
|
|
265
|
-
├── Integration ├── Data Processing
|
|
266
|
-
│ └─ "Set up CI/CD workflow │ └─ "Parse this JSON data
|
|
267
|
-
│ for this project" │ and extract values"
|
|
268
|
-
│ │
|
|
269
|
-
└── Code Quality └── Schema Design
|
|
270
|
-
└─ "Improve error handling └─ "Create a database
|
|
271
|
-
in this function" schema for this model"
|
|
272
|
-
`);
|
|
175
|
+
${formatMenuLine('"login"', 'Authenticate your session')}
|
|
176
|
+
${dividerLine}
|
|
177
|
+
${formatMenuLine('"diff" or "d"', 'Show last assistant change diff')}
|
|
178
|
+
${dividerLine}
|
|
179
|
+
${formatMenuLine('"undo" / "redo" or "u"', 'Revert or re-apply last change')}
|
|
180
|
+
${dividerLine}
|
|
181
|
+
${formatMenuLine('"checkpoint list"', 'List all checkpoints')}
|
|
182
|
+
${dividerLine}
|
|
183
|
+
${formatMenuLine('"checkpoint <id>"', 'Restore to a specific checkpoint')}
|
|
184
|
+
${dividerLine}
|
|
185
|
+
${formatMenuLine('"usage" / "credits"', 'View remaining / bonus AI credits')}
|
|
186
|
+
${dividerLine}
|
|
187
|
+
${formatMenuLine('"init"', 'Configure project for better results')}
|
|
188
|
+
${dividerLine}
|
|
189
|
+
${formatMenuLine('"exit" or Ctrl-C x2', 'Quit Codebuff')}
|
|
190
|
+
${dividerLine}
|
|
191
|
+
${formatMenuLine('"!<cmd>"', 'Run shell command directly')}
|
|
192
|
+
${dividerLine}
|
|
193
|
+
${formatMenuLine('"ESC key"', 'Cancel generation')}
|
|
194
|
+
`);
|
|
273
195
|
}
|
|
274
196
|
console.log(`\nThanks for using Codebuff - ${(0, picocolors_1.green)('↓ Start prompting now ↓')}`);
|
|
275
197
|
}
|
package/dist/menu.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../src/menu.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,0CAkCC;AAED,
|
|
1
|
+
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../src/menu.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,0CAkCC;AAED,kCAgJC;AAhND,uCAAwB;AACxB,4CAAmB;AACnB,gDAA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