@towles/tool 0.0.89 → 0.0.91
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
|
@@ -60,14 +60,18 @@ export async function runClaude(opts: {
|
|
|
60
60
|
log.info(
|
|
61
61
|
`\n${pc.bold(pc.cyan("── System Prompt (CLAUDE.md) ──"))}\n${pc.dim(systemPrompt.trimEnd())}\n`,
|
|
62
62
|
);
|
|
63
|
-
} catch {
|
|
63
|
+
} catch {
|
|
64
|
+
/* CLAUDE.md not present */
|
|
65
|
+
}
|
|
64
66
|
|
|
65
67
|
try {
|
|
66
68
|
const promptContent = readFile(join(process.cwd(), opts.promptFile));
|
|
67
69
|
log.info(
|
|
68
70
|
`\n${pc.bold(pc.cyan(`── Prompt (${opts.promptFile}) ──`))}\n${pc.dim(promptContent.trimEnd())}\n`,
|
|
69
71
|
);
|
|
70
|
-
} catch {
|
|
72
|
+
} catch {
|
|
73
|
+
/* prompt file not present */
|
|
74
|
+
}
|
|
71
75
|
|
|
72
76
|
let lastError: Error | undefined;
|
|
73
77
|
for (let attempt = 1; attempt <= PROCESS_RETRIES; attempt++) {
|