Skip to content

Releases: raestrada/storycraftr

StoryCraftr v0.8.0-alpha4

31 Oct 17:06
Compare
Choose a tag to compare

StoryCraftr v0.8.0 Alpha 4 Release Notes

🌟 Major Feature: Automatic Multi-Prompt Splitting

We're thrilled to introduce Automatic Multi-Prompt Splitting, a significant enhancement in StoryCraftr v0.8.0 Alpha 4! This feature allows StoryCraftr to automatically divide prompts to maximize output length, making it easier for users to generate larger, more detailed content without manual intervention. This improvement means smoother and more efficient generation for your novels or papers.

What's New?

  • Automatic Multi-Prompt Splitting: Prompts are now automatically divided to maximize the output from OpenAI, making StoryCraftr more productive without additional steps from users.
  • PaperCraftr Integration: Refactored the code to introduce PaperCraftr—a CLI for creating academic papers, sharing much of the core functionality of StoryCraftr, but tailored for academic writing.
  • Reload Files Command: The storycraftr reload-files command now allows you to update the retrieval system with the latest content, ensuring changes you make are reflected accurately. Useful for keeping retrieval data up-to-date after edits or deletions.

Improvements

  • Refactor for CLI Flexibility: StoryCraftr can now detect if it's running as storycraftr or papercraftr, enabling different behavior and project structures based on the context.
  • Multiple Prompt Refinements: Improved prompts for outlining, character summaries, plot points, and more, to enhance the generation process for both books and academic papers.

Bug Fixes

  • Fixed issues with API key loading when using different directory names (.storycraftr or .papercraftr).
  • Resolved inconsistencies in CLI command registration for both book and paper modes.

How to Update

To install the latest version:

pipx install git+https://github.com/raestrada/storycraftr.git@v0.8.0-alpha4

Happy writing! 🚀

StoryCraftr v0.7.3-alpha3 (Patch Release)

23 Oct 16:19
Compare
Choose a tag to compare

🚀 StoryCraftr 0.7.3-alpha3

🎉 ¡Nuevo lanzamiento! 🎉

En esta versión, hemos mejorado significativamente la experiencia del chat, integrando funcionalidades avanzadas para la entrada de texto con prompt_toolkit y utilizando rich para formatear la salida con colores y Markdown. ¡Ahora puedes disfrutar de una interacción mucho más fluida y atractiva con tu asistente de escritura!

Nuevas funcionalidades:

  • Mejora en la entrada del chat con prompt_toolkit:

    • Soporte para múltiples líneas, historial de comandos y movimiento del cursor. 🎯
    • Captura de entrada avanzada para mejorar la interacción del usuario. 📜
  • Salida formateada con rich:

    • Renderización de respuestas de la IA en Markdown con soporte de colores. 🌈
    • Uso de console.print para mejorar la legibilidad y el formato de las respuestas generadas. 🖥️

🛠️ Arreglos y mejoras:

  • Manejo de errores mejorado en la ejecución de comandos inválidos.
  • Ajuste de cómo se procesan y muestran las respuestas del asistente para mantener la consistencia en el formato.

💡 Uso:

  • Comienza el chat con storycraftr chat --book-path <ruta-a-tu-libro>.
  • Disfruta de una interacción mejorada con funcionalidades avanzadas de entrada y una salida formateada visualmente agradable.

⚠️ Notas:

  • Esta es una versión alpha. Todavía pueden surgir algunos bugs y estamos trabajando en mejoras continuas. 🐛

¡Esperamos que disfrutes esta versión! 🚀

StoryCraftr v0.7.2-alpha3 (Patch Release)

22 Oct 20:31
Compare
Choose a tag to compare

📝 Storycraftr 0.7.2-alpha3 Release Notes

🎨 New Features

  • Include Outline and Worldbuilding Directories:
    • Markdown files from the outline and worldbuilding folders are now processed alongside chapters.
    • This makes it easier to manage additional book structure elements like outlines and worldbuilding notes.

🛠 Improvements

  • Exclusion of Cover Files:
    • cover.md and back-cover.md are now excluded from processing, keeping the focus on content chapters and auxiliary materials.

📈 Other Changes

  • Directory existence checks for chapters, outline, and worldbuilding ensure smooth processing and prevent missing directory errors.

StoryCraftr v0.7.1-alpha3 (Patch Release)

22 Oct 16:39
Compare
Choose a tag to compare

🎉 StoryCraftr 0.7.1-alpha3 Patch Release

This patch focuses on bug fixes, CLI command improvements, and enhancing the overall stability of the StoryCraftr writing assistant.

🐛 Bug Fixes

  • 🛠 Fixed AttributeError in the worldbuilding module, where Click commands were improperly registered.
  • 🛠 Resolved missing decorators for Click commands in several modules, ensuring proper command functionality.
  • 🛠 Improved error handling when loading configurations for worldbuilding components, avoiding crashes when files are missing.

✨ Enhancements

  • ✏️ Improved the handling of geography, culture, and history generation in worldbuilding to be more reliable and flexible.
  • 📋 Refined command output formatting for better clarity in CLI interactions.
  • 💡 Streamlined integration of assistant threads for querying and content generation, improving performance.

🔧 Refactor

  • 🔄 Refactored several commands to improve modularity and maintainability.
  • ⚙️ Updated the structure of command groups and subcommands for better code readability and future extensibility.

📦 Technical Improvements

  • Optimized content generation workflows to reduce redundant API calls and improve response times.
  • 🧹 Cleaned up markdown-saving logic across worldbuilding features, ensuring content is properly saved with better progress tracking.

StoryCraftr v0.7.0-alpha3

21 Oct 23:08
Compare
Choose a tag to compare

🎉 StoryCraftr 0.7.0-alpha3 Release – Chat Feature is Now Fully Interactive! 💬

We are thrilled to announce StoryCraftr 0.7.0-alpha3, introducing Chat – a feature that will take your writing experience to a new level! Now, you can interact directly with the assistant using commands, ask questions, refine your book, or generate new ideas in real-time within the StoryCraftr chat. All with just a few simple commands!

Check out the new Chat!!! interface in action:

Chat Example

🚀 Key Features of the New Chat Functionality:

  • Instant Feedback: Type commands directly into the chat, and StoryCraftr will generate or refine your content immediately.
  • Interactive Queries: Ask the assistant about character motivations, plot twists, or even get suggestions for a specific world-building element!
  • Seamless Storycrafting: Whether you're brainstorming a pirate adventure or refining an existing story, the chat makes everything faster and smoother.

Here’s an example of how you can use Chat in action:

[You]: !outline general-outline "Create a pirate novel about a rogue captain who fights against the empire."
[You]: !chapters chapter 1 "Write chapter 1 where Captain Black sails into forbidden waters to uncover a hidden treasure."
[You]: !worldbuilding culture "Describe the pirate culture in this novel, focusing on their traditions and conflicts with the empire."

StoryCraftr v0.6.1-alpha2 (Patch Release)

21 Oct 17:41
Compare
Choose a tag to compare

🚀 New Features

Logging Enhancements

  • YAML Logging for Prompts:
    • The generate_prompt_with_hash function now stores original prompts in a structured YAML format. This improves the management of large, multiline prompts and ensures that the log is human-readable and organized.
    • New prompts are appended to the existing YAML file if one already exists, keeping a chronological record of prompts.

🛠 Improvements

  • Multiline Prompt Support:
    • The new YAML-based logging system handles multiline prompts better than plain text logs, making the storage of more complex inputs efficient and scalable.

🐛 Fixes

  • No bug fixes in this release.

StoryCraftr v0.6.0-alpha2

20 Oct 23:48
Compare
Choose a tag to compare

🛠️ StoryCraftr 0.6.0-alpha2 Release

We’re excited to announce StoryCraftr 0.6.0-alpha2 with a major feature enhancement! 🎉

🌟 New Chat Feature 💬

Introducing StoryCraftr Chat, a powerful and interactive tool that allows writers to engage directly with AI for real-time brainstorming, story refinement, and iterative improvements. This feature provides seamless integration of chat-based commands that let you write better, faster.

🎨 Key Highlights:

  • Iterate Commands:

    • Refine character motivations, names, and even insert chapters in real time!
    !iterate insert-chapter 3 "Add a flashback between chapters 2 and 3."
  • Outline Commands:

    • Generate a general plot, chapter synopses, or key plot points on the fly.
    !outline general-outline "Summarize the overall plot of a dystopian sci-fi novel."
  • Worldbuilding Commands:

    • Build out your story's history, geography, or even develop the "magic system."
    !worldbuilding magic-system "Describe the 'magic' system based on advanced technology."
  • Chapter Commands:

    • Write chapters, generate cover text, or insert crucial flashback scenes with ease.
    !chapters chapter 1 "Write chapter 1 based on the synopsis."

📜 How to Start Chatting:

Start a chat session with your AI assistant using this simple command:
@@bash storycraftr chat --book-path /path/to/your/book @@

For more detailed information on how to get started with chat, check out the Chat Feature Tutorial added in this release.

🛠️ Other Improvements:

  • Bug fixes and command optimizations for enhanced performance.

Let us know what you think, and happy writing with StoryCraftr 0.6.0-alpha2! 📚✨

StoryCraftr v0.5.2-alpha1

20 Oct 22:53
Compare
Choose a tag to compare

🚀 StoryCraftr v0.5.2-alpha1 Released! 🎉

🔧 Patch Overview:
Each outline command now focuses on its specific task rather than the entire outline, improving the efficiency of the prompt system. This small yet impactful fix makes the workflow smoother and more intuitive for users working on different aspects of their stories.

Key Update:

  • Focused outline prompts, improving precision and task isolation.

🔗 Check the full release and download here: https://github.com/raestrada/storycraftr/releases/tag/v0.5.2-alpha1

#StoryCraftr #AIWriting #IndieWriters #OpenSource

StoryCraftr v0.5.1-alpha1

20 Oct 17:13
Compare
Choose a tag to compare

📝 StoryCraftr 0.5.1-alpha1 Release Notes

📅 Release Date: October 20, 2024

This patch release brings key bug fixes and performance improvements to ensure a smoother experience with StoryCraftr. Here’s what’s new:


🐛 Bug Fixes

  • ⚡ Performance improvement for large markdown files: Issues causing slow load times or crashes when handling large books have been resolved. StoryCraftr is now more stable and responsive with large datasets.
  • 📂 Improved file upload stability: Fixed a bug where file uploads to vector stores would occasionally fail or hang, especially in environments with poor network conditions.
  • 🤖 Assistant creation reliability: Resolved an issue where assistant creation could fail silently or cause indefinite hangs. Now it completes successfully under most conditions.
  • 🔍 Correct markdown file filtering: Markdown files with less than three lines are now properly excluded from the assistant’s knowledge base, ensuring only meaningful content is uploaded.

🚀 Improvements

  • 🛠️ Enhanced logging and error handling: Added more detailed logs during the assistant creation and file upload processes to make debugging easier for users.
  • 📊 Progress feedback for file uploads: Users will now see clearer progress updates when uploading files, improving transparency during long operations.

🚨 Known Issues

  • ⏳ Large file handling: Although performance has improved, users may still experience some delays with extremely large book files (500MB or more). This is being monitored for future improvements.
  • ⚙️ Experimental features: As this is an alpha release, certain experimental features (such as behavior customization and vector store scaling) may still be unstable or incomplete.

Thank you for your continued feedback! We’re committed to making StoryCraftr even better with each release. Stay tuned for future updates! ✨

StoryCraftr v0.5.0-alpha1

19 Oct 20:00
Compare
Choose a tag to compare

StoryCraftr v0.5.0-alpha1 🚀

We are excited to announce the first alpha release of StoryCraftr, the AI-powered tool to help writers create, outline, and refine their novels. Whether you're outlining characters, building worlds, or generating chapters, StoryCraftr is here to assist you in every step of your storytelling journey.

In this release, we are reintroducing all core features that define the StoryCraftr experience, and although it's an alpha version, it is fully functional. However, please note that there may still be bugs to resolve. We welcome your feedback to improve the tool as we approach the beta release.

🚧 What's New in v0.5.0-alpha1

This version includes significant improvements and new features:

  • Book Initialization: Define your book’s core details (language, author, genre, behavior) with a single command.
  • Outline Generation: Generate the general plot, character summaries, plot points, and chapter synopses for your book.
  • Worldbuilding: Expand your world with commands to generate history, geography, culture, technology, and magic systems for your story’s setting.
  • Chapter Creation: Generate individual chapters based on detailed prompts and summaries.
  • PDF Publishing: Export your book in PDF format with translations to other languages.
  • AI Chat Assistant: Interact with an AI-powered assistant directly from the terminal to brainstorm ideas, ask for feedback, and improve your story.

image

📚 Getting Started

To help you get started with StoryCraftr, here are the complete guides that explain the process step-by-step:

  1. Getting Started with StoryCraftr
  2. Iterating Your Book with StoryCraftr

💻 How to Install

To install StoryCraftr v0.5.0-alpha1, run the following command using pipx:

bash pipx install git+https://github.com/raestrada/storycraftr.git@v0.5.0-alpha1

After installation, make sure to store your OpenAI API key for generating content:

bash mkdir -p ~/.storycraftr/ echo "your-openai-api-key" > ~/.storycraftr/openai_api_key.txt

✍️ StoryCraftr in Action

Here are some examples of what you can do with StoryCraftr:

Initialize Your Book Project

bash storycraftr init "The Purge of the Gods" --primary-language "en" --alternate-languages "es" --author "Rodrigo Estrada" --genre "science fiction" --behavior "behaviors/default.txt"

Generate the General Outline

bash storycraftr outline general-outline "Summarize the overall plot of a dystopian novel where advanced technology, resembling magic, has led to societal collapse."

Write Your First Chapter

bash storycraftr chapters chapter 1 "Write Chapter 1 based on the synopsis provided."

Export to PDF

bash storycraftr publish pdf en --translate es

🐞 Known Issues

Since this is an alpha release, you may encounter the following known issues:

  • Some prompts may not generate content as expected in certain scenarios.
  • Performance improvements are still in progress for large books.

We invite you to try out the alpha version, report any bugs, and contribute to improving StoryCraftr as we work towards a stable beta release.

🌐 Join the Community

We'd love to hear your thoughts and ideas! You can contribute to the project, file issues, or suggest features by visiting our GitHub repository.


Thank you for being part of the StoryCraftr journey! Happy writing! 📖✨