letmecook 0.0.7 → 0.0.13
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/index.ts +17 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -21,6 +21,7 @@ Usage:
|
|
|
21
21
|
letmecook --resume <session-name> Resume a session
|
|
22
22
|
letmecook --nuke <session-name> Delete a session
|
|
23
23
|
letmecook --nuke-all Delete all sessions
|
|
24
|
+
letmecook --why Show why this tool exists
|
|
24
25
|
letmecook --help Show this help
|
|
25
26
|
letmecook --version Show version
|
|
26
27
|
|
|
@@ -35,6 +36,17 @@ Examples:
|
|
|
35
36
|
`);
|
|
36
37
|
}
|
|
37
38
|
|
|
39
|
+
function printWhy(): void {
|
|
40
|
+
console.log(`
|
|
41
|
+
Your dev folder is full of traps: outdated code, abandoned experiments, naming
|
|
42
|
+
collisions that send agents down rabbit holes until they hit context limits.
|
|
43
|
+
|
|
44
|
+
letmecook gives your agent clean context. Clone what you need, cook, nuke when done.
|
|
45
|
+
|
|
46
|
+
Agents are good at problem-solving when you give them what they need and let them cook.
|
|
47
|
+
`);
|
|
48
|
+
}
|
|
49
|
+
|
|
38
50
|
async function handleNewSessionCLI(repos: RepoSpec[]): Promise<void> {
|
|
39
51
|
const renderer = await createRenderer();
|
|
40
52
|
|
|
@@ -227,6 +239,11 @@ if (firstArg === "--version" || firstArg === "-v") {
|
|
|
227
239
|
process.exit(0);
|
|
228
240
|
}
|
|
229
241
|
|
|
242
|
+
if (firstArg === "--why") {
|
|
243
|
+
printWhy();
|
|
244
|
+
process.exit(0);
|
|
245
|
+
}
|
|
246
|
+
|
|
230
247
|
if (args.length === 0 || firstArg === "--help" || firstArg === "-h") {
|
|
231
248
|
printUsage();
|
|
232
249
|
process.exit(0);
|