Releases: microsoft/genaiscript
v1.97.2
π 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
β¨ 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
π 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
andkeyworder
for easier adoption of advanced features.
Enjoy the latest tools and features for building smarter, more structured AI workflows!
v1.96.1
β¨ 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
- β¨ 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
andtrimTrailingSlash
into a dedicatedcleaners
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
π 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 toTestHost
for consistency across host implementations.
π Sample Config Update
- Added example
modelEncodings
entries ingenaiscript.config.json
to demonstrate usage.
v1.95.2
- π Enhanced Development Experience: Added new devcontainer configurations, improving local development setups with pre-installed tools and features like
common-utils
,git
, andffmpeg
. - ποΈ 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
π 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
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
π 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.