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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bonzai-burn",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Git branch-based cleanup tool with bburn, baccept, and brevert commands",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "provider": "cursor",
3
- "headless": true,
3
+ "debugMode": true,
4
4
  "autoBurn": false,
5
5
  "autoRun": false,
6
6
  "lineLimit": {
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 { headless: true };
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 headless = config.headless !== false;
151
+ const debugMode = config.debugMode === true || config.debugMode === 'true';
152
152
 
153
- // Non-headless mode: run Claude interactively
154
- if (!headless) {
155
- console.log('🖥️ Running in interactive mode...\n');
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 headless = config.headless !== false;
295
+ const debugMode = config.debugMode === true || config.debugMode === 'true';
296
296
 
297
- // Non-headless mode: run cursor-agent interactively
298
- if (!headless) {
299
- console.log('🖥️ Running in interactive mode...\n');
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(`⚙️ Headless mode: ${config.headless !== false ? 'on' : 'off'}`);
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();