bonzai-burn 1.0.14 → 1.0.15
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 +1 -1
- package/payload-bonzai/config.json +1 -1
- package/src/bburn.js +10 -10
package/package.json
CHANGED
package/src/bburn.js
CHANGED
|
@@ -99,7 +99,7 @@ function loadConfig(configPath) {
|
|
|
99
99
|
const content = fs.readFileSync(configPath, 'utf-8');
|
|
100
100
|
return JSON.parse(content);
|
|
101
101
|
} catch {
|
|
102
|
-
return {
|
|
102
|
+
return { debugMode: false };
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -148,11 +148,11 @@ function executeClaude(requirements, config) {
|
|
|
148
148
|
);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
const
|
|
151
|
+
const debugMode = config.debugMode === true || config.debugMode === 'true';
|
|
152
152
|
|
|
153
|
-
//
|
|
154
|
-
if (
|
|
155
|
-
console.log('
|
|
153
|
+
// Debug mode: run Claude with visible output
|
|
154
|
+
if (debugMode) {
|
|
155
|
+
console.log('🐛 Running in debug mode...\n');
|
|
156
156
|
return new Promise((resolve, reject) => {
|
|
157
157
|
const args = [
|
|
158
158
|
'-p', requirements,
|
|
@@ -292,11 +292,11 @@ function executeCursor(requirements, config) {
|
|
|
292
292
|
);
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
const
|
|
295
|
+
const debugMode = config.debugMode === true || config.debugMode === 'true';
|
|
296
296
|
|
|
297
|
-
//
|
|
298
|
-
if (
|
|
299
|
-
console.log('
|
|
297
|
+
// Debug mode: run cursor-agent with verbose output
|
|
298
|
+
if (debugMode) {
|
|
299
|
+
console.log('🐛 Running in debug mode...\n');
|
|
300
300
|
return new Promise((resolve, reject) => {
|
|
301
301
|
const args = ['-p', requirements];
|
|
302
302
|
|
|
@@ -458,7 +458,7 @@ async function burn() {
|
|
|
458
458
|
|
|
459
459
|
console.log(`📋 Specs loaded from: ${BONZAI_DIR}/${SPECS_FILE}`);
|
|
460
460
|
console.log(`🤖 Provider: ${provider}`);
|
|
461
|
-
console.log(
|
|
461
|
+
console.log(`🐛 Debug mode: ${config.debugMode === true || config.debugMode === 'true' ? 'on' : 'off'}`);
|
|
462
462
|
console.log('🔥 Running Bonzai burn...\n');
|
|
463
463
|
|
|
464
464
|
const startTime = Date.now();
|