Skip to content

Releases: microsoft/genaiscript

v1.97.2

30 Jan 16:44
Compare
Choose a tag to compare

πŸš€ New Features & Enhancements

  • πŸ”’ Pluggable Secret Scanning: Detect and redact secrets like API keys in your files and chats with customizable patterns.
  • πŸ–₯️ VS Code Server Controls: Added the ability to show the GenAIScript server terminal directly from VS Code.

⚑ Performance Improvements

  • πŸ› οΈ Optimized Imports: Delayed loading of inquirer prompts to reduce startup overhead.

πŸ›‘οΈ Security Enhancements

  • 🧹 Secret Scanning in LLM Communication: Automatically scans and redacts sensitive information during interactions with language models.

πŸ“š Documentation

  • ✍️ Updated README with details on secret scanning configuration.

v1.97.1

30 Jan 06:28
Compare
Choose a tag to compare

✨ Enhanced Transcription and Parsing

  • Added timestamp parsing for transcription, improving handling of time-based data.

πŸ–ΌοΈ Image Tiling and Rendering

  • Introduced image tiling support, enabling seamless composition of multiple images into a single tiled output.
  • Enhanced image rendering logic for better system integration.

♻️ Refactored and Optimized Code

  • Extracted core logic into reusable functions for improved maintainability.

πŸ› Bug Fixes and Improvements

  • Fixed token rendering issues to ensure accurate outputs.
  • Resolved extra curly brace issue in schema validation prompts.

πŸ” Developer Experience

  • Improved markdown rendering logic for better code previews.
  • Enhanced diagnostics and structured output visibility in the web interface.

πŸš€ UI Updates

  • Auto-hide feature tabs for a cleaner user experience.
  • Adjusted webview behavior for better usability in VSCode.

v1.97.0

29 Jan 22:58
Compare
Choose a tag to compare

πŸš€ What's New in GenAIScript 1.97.0

  • ✨ Enhanced Output Formats: Added support for YAML and JSON outputs, alongside improved schema-based validation for structured responses.
  • πŸ› οΈ "Make it Better" Feature: Introduced a utility to iteratively improve code or content with customizable instructions.
  • 🧠 Smarter Parsing: Upgraded JSON and YAML parsing with robust repair mechanisms for better handling of malformed data.
  • πŸ” Advanced Casting: New cast function enables seamless transformation of unstructured data into schema-compliant formats.
  • πŸ”’ Security Enhancements: Implemented stricter Content Security Policy (CSP) for web components.
  • πŸ–ΌοΈ File Handling Improvements: Enhanced support for image-based data extraction and markdown file updates.
  • πŸ“š Sample Scripts: Added new examples like makeitbetter and keyworder for easier adoption of advanced features.

Enjoy the latest tools and features for building smarter, more structured AI workflows!

v1.96.1

28 Jan 18:49
Compare
Choose a tag to compare

✨ Enhanced WebSocket payload validation improves server reliability with clearer error messages for oversized payloads.
πŸš€ Optimized chunking logic for better handling of large traces and outputs.
🌐 Introduced a new browserUrl for seamless API key integration in the browser.
πŸ–ΌοΈ Added a sample script for generating alt-text descriptions for images.
πŸ”§ Fixed inconsistent behavior in hiding the server terminal based on diagnostics.
πŸ”’ Improved API authentication handling by ensuring consistent key usage.
πŸ› οΈ Disabled proactive view opening in non-chat modes for a smoother user experience.

v1.96.0

28 Jan 17:22
Compare
Choose a tag to compare
  • ✨ Enhanced system prompt configuration with a new UI for customizing parameters, streamlining workflows.
  • πŸ” Improved logging for model resolution, offering better debugging and insights.
  • πŸ“œ Introduced unthink function to clean up <think> tags, simplifying content processing.
  • πŸ–ΌοΈ Added image rendering in views and improved image encoding with enhanced options.
  • πŸš€ Optimized handling of large payloads and WebSocket message limits for better performance.
  • πŸ› οΈ Refactored and modularized utilities like normalizeInt and trimTrailingSlash into a dedicated cleaners module.
  • πŸ“‚ Expanded system prompt capabilities with additional parameters for agents like Python interpreters and documentation agents.
  • 🧹 Removed unused environment variables for a cleaner configuration.
  • πŸ§ͺ Enhanced testing and validation for various modules, ensuring robustness.

v1.95.3

27 Jan 17:39
Compare
Choose a tag to compare

πŸš€ Enhancements

  • Model Encoding Support: Introduced modelEncodings in configuration, enabling custom model-to-encoding mappings for greater flexibility and compatibility.
  • Dynamic Encoder Loading: Improved token encoder resolution by dynamically selecting encodings based on the modelEncodings configuration.

πŸ› οΈ Improvements

  • Config Management: Enhanced configuration handling with a new config getter, ensuring reliable access to loaded configurations.
  • Test Host Updates: Added a stubbed config getter to TestHost for consistency across host implementations.

πŸ“ Sample Config Update

  • Added example modelEncodings entries in genaiscript.config.json to demonstrate usage.

v1.95.2

27 Jan 17:22
Compare
Choose a tag to compare
  • πŸš€ Enhanced Development Experience: Added new devcontainer configurations, improving local development setups with pre-installed tools and features like common-utils, git, and ffmpeg.
  • πŸ—‚οΈ File Caching: Introduced a robust file caching mechanism, enabling efficient storage and reuse of processed files across runs.
  • πŸ› οΈ Schema Validation Upgrade: Integrated JSON schema validation using external schemas, enhancing configuration reliability and error handling.
  • πŸŽ₯ AI Kitchen Script: Added a new ai-kitchen script showcasing video analysis with transcript generation, frame extraction, and YouTube-ready content creation.
  • πŸ“œ JSON Schema Inference: Leveraged @stoplight/json-schema-generator for dynamic schema generation from objects, simplifying workflows.
  • πŸ–ΌοΈ Improved Image Handling: Enhanced MarkdownTrace to support embedded images with better file and URL handling.
  • πŸ” Web Scraping Support: Expanded browser locator capabilities with new methods for handling multiple elements.

v1.95.1

24 Jan 19:38
Compare
Choose a tag to compare

πŸŽ‰ Enhanced GitHub Copilot Chat Integration

  • Replaced "client" language model with github_copilot_chat for seamless integration.
  • Improved error messages for better clarity when models are unavailable.

πŸ› οΈ Schema Improvements

  • Added advanced JSON Schema validation and inference capabilities.
  • Enhanced tooling for stricter schema generation and validation.

πŸ“‹ Copy Code Button

  • Introduced a "Copy" button for code snippets in the web UI, making it easier to share and reuse code.

πŸ“Ή GitHub Copilot Chat Demo

  • Added a sample video for showcasing GitHub Copilot Chat capabilities.

πŸ”§ Bug Fixes and UI Tweaks

  • Addressed minor UI inconsistencies in Markdown rendering and trace panels.
  • Improved error handling and logging for GitHub-related operations.

v1.95.0

23 Jan 19:40
Compare
Choose a tag to compare

What's New in 1.95.0 πŸŽ‰

  • Enhanced Security πŸ”’: Introduced a robust Content Security Policy (CSP) for webviews, ensuring stricter control over resources like scripts, styles, and frames.
  • Improved Webview Experience πŸ–₯️: Added a persistent webview panel with seamless reveal functionality, providing a smoother user interface for error handling and output display.
  • Streamlined Codebase πŸ› οΈ: Replaced custom nonce generation with a secure randomHex utility, enhancing maintainability and reliability.

v1.94.2

23 Jan 16:04
Compare
Choose a tag to compare

πŸš€ Enhanced Model Management: Improved error handling and added support for listing models across multiple providers, ensuring a smoother user experience when managing language models.

πŸ”§ Client Language Model Refactor: Transitioned the client language model to runtimeHost for better modularity and maintainability.

🌐 Web Compatibility: Introduced support for web-browser scenarios, including enhanced CSP handling and iframe-based views for seamless integration.

πŸ“Ή Video Blogifier Update: Enhanced video transcription and processing with improved prompt handling and dynamic topic resolution for better YouTube optimization.

πŸ› οΈ Dependency Updates: Refreshed dependencies across packages to maintain stability and compatibility.

πŸ› Bug Fixes: Addressed issues with client builds, environment configurations, and context menu visibility to enhance overall reliability.