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.