Skip to content

Releases: microsoft/genaiscript

v1.142.0

30 May 18:52
Compare
Choose a tag to compare

πŸš€ GitHub Actions Integration Improved

  • Added support for the debug input in the example GitHub Action, making it easier to enable debug logging in workflows.
  • The CLI now supports a --github-workspace option, automatically running scripts in the correct GitHub Actions workspace directory and respecting workspace-specific configuration.

🧹 Tree-sitter Code Querying Removed

  • All Tree-sitter-based code parsing and querying functionality (including CLI commands, parsers, queries, and tests) has been removed. This simplifies dependencies and streamlines the codebase.

βš™οΈ Configuration Handling Enhanced

  • Refactored configuration loading and merging, allowing for better runtime configuration injection and improved flexibility, especially for GitHub Actions and future integrations.

These updates make GenAIScript lighter, more robust in CI/CD environments, and easier to configure for advanced use cases!

v1.141.1

29 May 16:38
Compare
Choose a tag to compare

πŸš€ Improved GitHub Action Configuration

  • Refactored GitHub Action field requirements for a simpler, cleaner action.yml.
  • Added --force flag to the action configure command, letting you safely overwrite existing action files.
  • Enhanced CLI: clearer separation between LLM and GitHub Action configuration commands, making setup faster and more intuitive.

Enjoy a smoother, more robust workflow for integrating GenAIScript with GitHub Actions!

v1.141.0

29 May 15:11
Compare
Choose a tag to compare

πŸš€ GitHub Action Generator Arrives!

GenAIScript now supports automatic generation of GitHub Actions from your scripts! With the new action generator, you can:

  • Instantly scaffold a Docker-based GitHub Action for any script using genaiscript action configure.
  • Generate all required files: action.yml, Dockerfile, README.md, package.json, and .gitignore.
  • Input and output parameters are inferred from your script metadata for seamless integration.
  • Supports advanced options: ffmpeg, Python, Playwright, custom Docker images, and additional APKs.
  • Outputs both text and JSON results directly to GitHub Action outputs.

This release makes it effortless to share, automate, and productionize your GenAIScript scripts in CI/CD pipelines.

v1.140.2

28 May 15:48
Compare
Choose a tag to compare

πŸš€ Enhanced Model Provider Configurations

  • More flexible model provider info: resolveLanguageModelProvider now supports options to include available models and tokens, giving you finer control over what data you retrieve.
  • Improved script samples: Example scripts now demonstrate how to selectively request model lists and tokens for providers like Azure, GitHub, and OpenAI.
  • API improvements: The provider resolution API is more powerful and customizable, streamlining integrations and advanced use cases.

This update makes it easier to build dynamic, secure, and informative workflows with GenAIScript!

v1.140.1

28 May 15:18
Compare
Choose a tag to compare

πŸš€ Added support for MCP environment variables! You can now define and resolve environment variables for MCP servers, including auto-filling from your local environment when values are left blank. This makes integrating external tools like GitHub MCP seamless and configurable.

πŸ› οΈ Enhanced provider resolution: Provider info now includes base URL, token, and version fields, making it easier to debug and manage model providers.

🐞 Improved diagnostics and debugging: Added richer debug output throughout tool calls, MCP client setup, and provider resolution, helping you trace issues and understand tool execution flow.

πŸ“š New sample: Added an MCP GitHub integration example script to showcase force MCP tool usage for GitHub issue reporting.

These improvements make GenAIScript more flexible, powerful, and easier to integrate with external systems and tools!

v1.140.0

27 May 17:18
Compare
Choose a tag to compare

πŸš€ Docker Model Runner Support
You can now use Docker Model Runner as a language model provider! Easily connect to local or containerized models via the new "docker" provider. Configure with DOCKER_MODEL_RUNNER_API_BASE for seamless integration.

🦾 Web API & OpenAPI Improvements
The CLI command for serving scripts as a REST API is now webapi (was openapi).

  • Flexible route prefix support (e.g., --route /myapi).
  • Enhanced OpenAPI 3.1 schema generation for better compatibility and validation.
  • Improved endpoint descriptions, grouping, and error handling.
  • More robust file upload and query param handling.

πŸ”— Documentation & UI Updates

  • All provider and Copilot links now point to the new documentation URLs.
  • VS Code extension now links to the correct provider docs based on context.

⚑ Node.js v22 Required
GenAIScript now requires Node.js v22 for all CLI and Docker usage. All references, Dockerfiles, and actions updated.

🧹 Miscellaneous

  • Split configuration page for easier setup.
  • Minor bug fixes and code cleanups.

v1.139.0

23 May 14:48
Compare
Choose a tag to compare

πŸš€ OpenAPI 3.1.1 Server Support
Introducing a new openapi command! Easily start a local OpenAPI 3.1.1 server that exposes your GenAIScript scripts as REST API endpoints. Includes automatic OpenAPI spec generation, Swagger UI docs, CORS support, and script filtering by group or ID.

πŸ”— GitHub Asset URL Resolution
GitHub assets uploaded via user attachments are now automatically resolved to short-lived, authenticated URLs. This enables seamless integration and retrieval of images, videos, and other assets referenced in scripts.

πŸ› οΈ Improved Script Fixing
The fix command now supports a --force option to fix all folders, including built-in system scripts.

⚑ TypeScript Refactor
Improved type safety for folder collection in scripts, making the codebase more robust.

Enjoy these new features and improvements for greater automation and API integration!

v1.138.5

21 May 15:16
Compare
Choose a tag to compare

✨ Dependency Refresh!
We've updated dependencies across multiple packages for improved stability and performance. Additionally, TypeScript type annotations in our GitHub client have been enhanced for better developer experience and reliability. Enjoy a smoother, more robust GenAIScript! πŸš€

v1.138.4

21 May 14:59
Compare
Choose a tag to compare

πŸ”’ Sensitive debug logging for API tokens has been removed to enhance security and protect your credentials.

πŸ“ Improved HTTP request body formatting in traceFetchPost, making debugging and logs easier to read.

πŸ“‚ .http files are now ignored by git, keeping your repository clean from local API test files.

v1.138.3

20 May 17:29
Compare
Choose a tag to compare

πŸš€ Added support for updating GitHub issues directly from GenAIScript! You can now programmatically modify issue titles, bodies, assignees, labels, and states using the new updateIssue API.

πŸ› οΈ Improved sample scripts to demonstrate fetching and updating issues, making automation and integration even easier.

πŸ’¬ Enhanced status bar messaging in the VS Code extension for clearer feedback when dependencies are installing.