Skip to content

Releases: microsoft/genaiscript

v2.5.1

26 Sep 15:04

Choose a tag to compare

  • 🚀 Enhanced DevContainer: Updated to Node.js 24 for better performance and added Codespaces repository permissions for streamlined workflows.
  • 🛠️ Trace Safety Improvements: Fixed null dereference issues in server trace handling, ensuring robust error handling and optional chaining support.
  • 🌟 Environment Metadata Support: Added the ability to parse and merge default script metadata from GENAISCRIPT_DEFAULT_SCRIPT_META environment variable.
  • 📂 File Operations: Improved file writing and appending debug logs for better traceability.
  • 🧪 New Tests: Introduced extensive tests for trace safety, environment metadata parsing, and template handling.
  • 📜 Sample Script: Added a new sample showcasing system.fs_write_file usage.
  • 🧹 .gitignore Update: Ignored install-gh-aw.sh and gh-aw for cleaner repositories.

v2.5.0

16 Sep 17:03

Choose a tag to compare

🚀 Enhanced Model Context Protocol (MCP) Support

  • Introduced MCP configuration loading for seamless integration of Claude-format servers.
  • Added interpolation of environment variables in MCP configs for flexible setups.
  • Expanded resource management to include MCP server resources.

🛡️ Improved Security

  • Validated paths to prevent directory traversal attacks.
  • Strengthened command execution with shell injection prevention.

🌐 Expanded Cloud Integration

  • Enhanced AWS Bedrock support, including region validation and credential checks.

🖼️ Smarter Image Generation

  • Fixed DALL-E model compatibility for both edit and generate modes.

🔄 Robust Retry Mechanism

  • Added retry logic for resolving language chat models in VSCode.

🧪 Better Testing & Debugging

  • Introduced comprehensive MCP configuration tests.
  • Improved debug logging for resource and model handling.

⚡ Dependency Updates

  • Upgraded to @modelcontextprotocol/sdk v1.18.0 for latest features and stability.
  • Updated esbuild to v0.25.9.

This release brings powerful integrations, enhanced security, and smoother workflows for GenAIScript users! 🚀✨

v2.4.1

22 Aug 17:17

Choose a tag to compare

🎉 Exciting Updates in GenAIScript 2.4.1!

🚀 Enhanced Flexibility with Frontmatter Parameters
Markdown scripts can now define parameters directly in their frontmatter! These parameters seamlessly integrate with provided data or use defaults for smooth variable interpolation.

🌐 Domain Access Control
A new allowedDomains feature ensures secure and configurable domain access for HTTP requests. Scripts can now override global settings for precise control.

🔧 Improved Resource Resolution
Windows-style paths are now correctly handled, and proper file URIs are supported for better compatibility and reliability.

🛠️ Model Update
Scripts now leverage github_copilot_chat:gpt-4.1 for more advanced AI capabilities.

Robust Testing
Additional tests ensure stability and correctness, covering domain filtering, frontmatter parsing, and fetch behavior.

Upgrade now and enjoy these improvements! 🎉

v2.4.0

19 Aug 17:08

Choose a tag to compare

🎉 Enhanced GitHub Integration: Introducing GitHub issue creation directly from the CLI with the --issue flag. Automatically generate titles and link sub-issues for seamless workflow management.

🚀 Dynamic Context Extraction: Extract text ranges around specific lines with token-aware precision, perfect for handling large files in limited contexts.

🛠️ Improved FFmpeg Support: Replaced fluent-ffmpeg with a lightweight custom implementation, enhancing performance, error handling, and support for advanced video/audio processing options.

📊 New Resource Tools: Access and read various resource types (e.g., URLs, files, and gists) via the new resource_list and resource_read tools.

📅 Activation Keywords: Expanded activation triggers for systems like changelogs, diagrams, and file generation, making them more intuitive and accessible.

🔧 Bug Fixes & Refinements: Addressed edge cases in GitHub client error handling, improved server trace management, and optimized CLI options for better usability.

v2.3.15

12 Aug 11:43

Choose a tag to compare

🚀 New Features

  • Enhanced MCP Configuration: Added support for overriding MCP configurations via the --mcps option in CLI and API. Includes flexible file-based overrides and improved error handling.
  • Improved Test Framework: Introduced advanced progress tracking, timeout handling, and detailed summaries for test runs, ensuring better visibility and control during execution.

🛠 Improvements

  • CSV Parsing Resilience: Enhanced CSVParse to gracefully handle errors and added fallback mechanisms for better data preservation.
  • Markdown Scripts: Added support for @include directives to inline external file content, streamlining script modularity.

🐛 Bug Fixes

  • Exit Codes: Fixed script cancellation to return proper exit codes, addressing issue #1853.
  • OpenAI API Type: Added support for the responses API type in OpenAI integrations.

🧹 Miscellaneous

  • Improved CLI options with better descriptions and defaults.
  • Enhanced logging for test results and token usage statistics.

v2.3.14

06 Aug 10:12

Choose a tag to compare

What's New in GenAIScript 2.3.14 🚀

  • Enhanced Workspace Security 🛡️: Introduced robust protections against unauthorized file writes, including path traversal and .env file restrictions. Added new tests to validate workspace boundaries.

  • Improved CLI Functionality 🛠️: Added --filter-model option to test and list commands, allowing users to filter scripts by model. Enhanced test evaluation with better error handling and exit code preservation.

  • File Operations Simplified 📂: Added a new fs_write_file system tool for writing and appending text files securely within the workspace. Parent directories are created automatically.

  • Support for URL-based MCP Configurations 🌐: MCP configurations now support url and type fields for HTTP, WebSocket, and SSE transports, alongside existing command options.

  • Documentation Overhaul 📚: Expanded repository structure and build instructions in the .ruler/instructions.md file. Generated comprehensive llms.txt and llms-full.txt files for better LLM content optimization.

  • Performance Updates ⚡: Optimized generateId function to accept custom sizes. Improved host.exec to preserve exit codes and provide detailed error outputs.

  • VS Code Integration 🖥️: Added support for NODE_OPTIONS in the server manager for enhanced debugging and configuration flexibility.

  • New Sample Scripts 📝: Introduced examples demonstrating workspace security, exit code handling, and more.

Enjoy a more secure, flexible, and user-friendly GenAIScript experience! 🎉

v2.3.13

04 Aug 09:39

Choose a tag to compare

  • 🚀 Enhanced LLM Optimization: Improved markdown and MDX processing with better extraction of core concepts and actionable insights. Added support to ignore MDX imports for cleaner summaries.
  • 🖼️ Image Rendering Upgrade: Terminal image rendering now supports fallback to Unicode characters when colors are disabled, ensuring better cross-environment compatibility.
  • 🔄 Retry Logic Simplification: Streamlined retry mechanisms for OpenAI and fetch operations, reducing redundant constants and improving flexibility.
  • 🛠️ Debugging Improvements: Enhanced debug logs across components, including fetch, file parsing, and patch application, for easier troubleshooting.
  • 🧪 New Tests: Introduced tests for terminal image rendering, ensuring robust support for both color and Unicode outputs.
  • 📖 Documentation Links: Updated action descriptions with clickable links for better usability.
  • 🛡️ Dependency Updates: Upgraded dependencies, including Playwright and OpenAI SDK, for improved performance and security.

v2.3.12

02 Aug 06:00

Choose a tag to compare

What's New in 2.3.12

🚀 Enhanced Image Generation

  • Introduced BufferToBlob utility for improved image handling.
  • Updated image generation to use gpt-image-1 as the default model.
  • Streamlined FormData handling for multipart requests, boosting compatibility and efficiency.

🎨 Markdown Reporting Improvements

  • Refined toMarkdownReport for clearer and more compact usage summaries, including better token and cost formatting.

🐛 Bug Fixes & Consistency

  • Fixed string body handling in traceFetchPost.
  • Addressed minor formatting and type inconsistencies across the codebase.

Enjoy a more robust and polished GenAIScript experience!

v2.3.11

01 Aug 10:20

Choose a tag to compare

🎉 Enhanced LLM Optimization: Introduced a new script for generating concise, LLM-optimized content from markdown files, improving clarity and relevance for AI processing.

🛠️ PHP & Ruby System Support: Added specialized systems for PHP and Ruby, enabling better code generation and adherence to best practices.

🚀 Azure & OpenAI Improvements: Updated Azure OpenAI API version and enhanced compatibility for image generation, including edit and generation modes.

🔍 Model Listing Enhancements: Improved handling of model listing across multiple providers, ensuring better debugging and provider-specific configurations.

📋 Gitignore Updates: Expanded .gitignore rules for better workspace management and reduced noise in development environments.

🐛 Bug Fixes: Addressed issues in file ignoring logic, environment variable parsing, and token handling for smoother operations.

v2.3.10

25 Jul 12:40

Choose a tag to compare

  • 🚀 HTTP Transport for MCP Server: Added support for HTTP transport in the Model Context Protocol (MCP) server, enabling easier integration and network accessibility. Includes Fastify-based implementation with proxy support, CORS, and health check endpoints.
  • 🛠️ Enhanced Code Helpers: Introduced new code helper scripts for C/C++, Go, Java, and Rust, providing best practice suggestions and code quality improvements.
  • 🧹 Improved File Handling: Extended .genai.md support and refined file glob patterns for better script and markdown handling.
  • 🧪 CLI Usability Improvements: Added aliases (ls) for list commands across CLI tools, enhancing user experience.
  • 🐛 Bug Fixes & Cleanup: Addressed various issues, including redundant code, type refinements, and regex fixes, ensuring a more robust and maintainable codebase.
  • 🔍 Annotations & Diagnostics: Enhanced diagnostics parsing with better deduplication and improved GitHub annotation handling.
  • 🌐 Azure Enhancements: Streamlined Azure OpenAI model listing and improved Azure AI Search chunking logic for better performance.