autoblogger 0.1.13 → 0.1.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/dist/index.d.mts CHANGED
@@ -420,7 +420,7 @@ declare function buildChatPrompt(options: {
420
420
  * Default template for essay generation.
421
421
  * Placeholders: {{RULES}}, {{WORD_COUNT}}
422
422
  */
423
- declare const DEFAULT_GENERATE_TEMPLATE = "You are an expert essay writer. Write engaging, thoughtful content.\n\n{{RULES}}\n\nWrite approximately {{WORD_COUNT}} words.";
423
+ declare const DEFAULT_GENERATE_TEMPLATE = "You are an expert essay writer. Write engaging, thoughtful content.\n\n{{RULES}}\n\nWrite approximately {{WORD_COUNT}} words.\n\nIMPORTANT: Start your response with exactly this format:\n# Title Here\n*Subtitle here*\n\nThen write the essay body. The title must be on line 1 with a # prefix. The subtitle must be on line 2 wrapped in asterisks (*like this*).";
424
424
  /**
425
425
  * Default template for chat interactions.
426
426
  * Placeholders: {{CHAT_RULES}}, {{ESSAY_CONTEXT}}
@@ -449,7 +449,7 @@ declare const DEFAULT_PLAN_RULES = "STRICT LIMIT: Maximum 3 bullets per section.
449
449
  * Default template for expanding outlines into full essays.
450
450
  * Placeholders: {{RULES}}, {{STYLE_EXAMPLES}}, {{PLAN}}
451
451
  */
452
- declare const DEFAULT_EXPAND_PLAN_TEMPLATE = "You are a writing assistant that expands essay outlines into full drafts.\n\n## Writing Rules (Follow these exactly)\n{{RULES}}\n\n## Style Reference (Write in this voice)\n{{STYLE_EXAMPLES}}\n\n---\n\nWrite an essay following this exact structure:\n\n{{PLAN}}\n\nRules:\n- Use the section headers as H2 headings\n- Expand each section's bullet points into full paragraphs\n- Match the author's voice and style from the examples\n- Output ONLY markdown. No preamble, no \"Here is...\", no explanations. Just the essay content.";
452
+ declare const DEFAULT_EXPAND_PLAN_TEMPLATE = "You are a writing assistant that expands essay outlines into full drafts.\n\n## Writing Rules (Follow these exactly)\n{{RULES}}\n\n## Style Reference (Write in this voice)\n{{STYLE_EXAMPLES}}\n\n---\n\nWrite an essay following this exact structure:\n\n{{PLAN}}\n\nRules:\n- Start with the title on line 1 as: # Title Here\n- Follow with the subtitle on line 2 as: *Subtitle here*\n- Use the section headers as H2 headings\n- Expand each section's bullet points into full paragraphs\n- Match the author's voice and style from the examples\n- Output ONLY markdown. No preamble, no \"Here is...\", no explanations. Just the essay content.";
453
453
 
454
454
  /**
455
455
  * Format a date for display
package/dist/index.d.ts CHANGED
@@ -420,7 +420,7 @@ declare function buildChatPrompt(options: {
420
420
  * Default template for essay generation.
421
421
  * Placeholders: {{RULES}}, {{WORD_COUNT}}
422
422
  */
423
- declare const DEFAULT_GENERATE_TEMPLATE = "You are an expert essay writer. Write engaging, thoughtful content.\n\n{{RULES}}\n\nWrite approximately {{WORD_COUNT}} words.";
423
+ declare const DEFAULT_GENERATE_TEMPLATE = "You are an expert essay writer. Write engaging, thoughtful content.\n\n{{RULES}}\n\nWrite approximately {{WORD_COUNT}} words.\n\nIMPORTANT: Start your response with exactly this format:\n# Title Here\n*Subtitle here*\n\nThen write the essay body. The title must be on line 1 with a # prefix. The subtitle must be on line 2 wrapped in asterisks (*like this*).";
424
424
  /**
425
425
  * Default template for chat interactions.
426
426
  * Placeholders: {{CHAT_RULES}}, {{ESSAY_CONTEXT}}
@@ -449,7 +449,7 @@ declare const DEFAULT_PLAN_RULES = "STRICT LIMIT: Maximum 3 bullets per section.
449
449
  * Default template for expanding outlines into full essays.
450
450
  * Placeholders: {{RULES}}, {{STYLE_EXAMPLES}}, {{PLAN}}
451
451
  */
452
- declare const DEFAULT_EXPAND_PLAN_TEMPLATE = "You are a writing assistant that expands essay outlines into full drafts.\n\n## Writing Rules (Follow these exactly)\n{{RULES}}\n\n## Style Reference (Write in this voice)\n{{STYLE_EXAMPLES}}\n\n---\n\nWrite an essay following this exact structure:\n\n{{PLAN}}\n\nRules:\n- Use the section headers as H2 headings\n- Expand each section's bullet points into full paragraphs\n- Match the author's voice and style from the examples\n- Output ONLY markdown. No preamble, no \"Here is...\", no explanations. Just the essay content.";
452
+ declare const DEFAULT_EXPAND_PLAN_TEMPLATE = "You are a writing assistant that expands essay outlines into full drafts.\n\n## Writing Rules (Follow these exactly)\n{{RULES}}\n\n## Style Reference (Write in this voice)\n{{STYLE_EXAMPLES}}\n\n---\n\nWrite an essay following this exact structure:\n\n{{PLAN}}\n\nRules:\n- Start with the title on line 1 as: # Title Here\n- Follow with the subtitle on line 2 as: *Subtitle here*\n- Use the section headers as H2 headings\n- Expand each section's bullet points into full paragraphs\n- Match the author's voice and style from the examples\n- Output ONLY markdown. No preamble, no \"Here is...\", no explanations. Just the essay content.";
453
453
 
454
454
  /**
455
455
  * Format a date for display
package/dist/index.js CHANGED
@@ -39,7 +39,13 @@ var init_prompts = __esm({
39
39
 
40
40
  {{RULES}}
41
41
 
42
- Write approximately {{WORD_COUNT}} words.`;
42
+ Write approximately {{WORD_COUNT}} words.
43
+
44
+ IMPORTANT: Start your response with exactly this format:
45
+ # Title Here
46
+ *Subtitle here*
47
+
48
+ Then write the essay body. The title must be on line 1 with a # prefix. The subtitle must be on line 2 wrapped in asterisks (*like this*).`;
43
49
  DEFAULT_CHAT_TEMPLATE = `You are a helpful writing assistant.
44
50
 
45
51
  {{CHAT_RULES}}
@@ -105,6 +111,8 @@ Write an essay following this exact structure:
105
111
  {{PLAN}}
106
112
 
107
113
  Rules:
114
+ - Start with the title on line 1 as: # Title Here
115
+ - Follow with the subtitle on line 2 as: *Subtitle here*
108
116
  - Use the section headers as H2 headings
109
117
  - Expand each section's bullet points into full paragraphs
110
118
  - Match the author's voice and style from the examples