seo-generator-server/lib
StillHammer b60bb48e9e Intelligent merge: Align Main.js/StepExecutor with API setup base
Combines two parallel developments:
1. Remote: API setup base (326a6a5) with new /api/generate-simple endpoint
2. Local: Main.js/StepExecutor alignment for production consistency

Key technical improvements:
- Main.js: Migrated from generateSimple() to StepExecutor.executeInitialGeneration()
- StepExecutor: Fixed to respect HTML options (selectiveStack, adversarialMode, etc.)
  * executeSelective() now uses applyPredefinedStack() with specific stack
  * executeAdversarial() uses proper mode mapping (light→lightDefense, etc.)
  * executeHumanSimulation() uses applyPredefinedSimulation() with mode
  * executePatternBreaking() uses applyPatternBreakingStack() with mode
- Updated process_real.js and DigitalOceanWorkflow.js to use handleModularWorkflow()
- Removed legacy ManualTrigger.js (Apps Script compatibility)

This ensures 100% consistency between step-by-step debugging interface and
automated Main.js workflow, while preserving the new API functionality.
Both development paths now use identical, tested and validated functions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:43:21 +08:00
..
adversarial-generation Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
generation Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
human-simulation Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
modes setup base for api system 2025-09-15 14:14:32 +08:00
pattern-breaking Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
polyfills Initial commit 2025-09-03 15:29:19 +08:00
post-processing Setup test system extended 2025-09-05 20:09:53 +08:00
selective-enhancement Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
ArticleStorage.js [200~add step-by-step versioning system with Google Sheets integration 2025-09-06 16:38:20 +08:00
BrainConfig.js Initial commit 2025-09-03 15:29:19 +08:00
ContentAssembly.js Initial commit 2025-09-03 15:29:19 +08:00
DigitalOceanWorkflow.js Intelligent merge: Align Main.js/StepExecutor with API setup base 2025-09-15 15:43:21 +08:00
ElementExtraction.js Initial commit 2025-09-03 15:29:19 +08:00
ErrorReporting.js update test system and logger 2025-09-08 12:33:16 +08:00
LLMManager.js Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
Main.js Intelligent merge: Align Main.js/StepExecutor with API setup base 2025-09-15 15:43:21 +08:00
MissingKeywords.js Initial commit 2025-09-03 15:29:19 +08:00
package.json Initial commit 2025-09-03 15:29:19 +08:00
SelectiveEnhancement.js Add logviewer.html, prompt improvment, clean duplication 2025-09-04 09:27:07 +08:00
StepByStepSessionManager.js Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
StepExecutor.js Intelligent merge: Align Main.js/StepExecutor with API setup base 2025-09-15 15:43:21 +08:00
trace-wrap.js Initial commit 2025-09-03 15:29:19 +08:00
trace.js Initial commit 2025-09-03 15:29:19 +08:00
Utils.js Initial commit 2025-09-03 15:29:19 +08:00