Repository navigation
Code Guardrail v0.8.0 - Copilot SDK Intelligence
Code Guardrail v0.8.0 — Release Notes
Release Date: March 7, 2026
What's New
GitHub Copilot SDK Intelligence Layer (Major)
The core analysis engine has been upgraded to use the modern GitHub Copilot SDK API (@github/copilot-sdk) with the sendAndWait() pattern, replacing the legacy event-based approach.
Before (v0.7.0):
- Used deprecated
session.on('assistant.message')event-based pattern - Manual timeout/promise management prone to hangs
- Outdated
gpt-4model default
After (v0.8.0):
- Modern
session.sendAndWait({ prompt }, timeout)for reliable responses - Streaming support via
SessionEventtyped callbacks for large file analysis - Default model upgraded to
gpt-4.1for better analysis quality - Proper error handling with descriptive messages (ENOENT, ECONNREFUSED)
systemMessage.contentformat aligned with SDK specification
New Extension Logo
Fresh brand identity with a professional shield + guardrail + code motif icon.
Streaming Analysis Support
New analyzeWithStreaming() method in the Copilot provider enables real-time progress feedback during large file analysis.
Files in This Release
| File | Description |
|---|---|
code-guardrail-0.8.0.vsix |
VS Code extension (install with code --install-extension code-guardrail-0.8.0.vsix) |
guardrail-service/ |
Backend AI analysis service |
GETTING_STARTED.md |
Quick start guide |
COMPLIANCE_UPLOAD_GUIDE.md |
How to upload compliance documents |
Installation
# Install the extension
code --install-extension code-guardrail-0.8.0.vsix
# The extension auto-starts the backend service on first activationPrerequisites
- VS Code 1.80+
- Node.js 18+
- GitHub Copilot CLI installed and authenticated (
copilot --version) - OR BYOK API keys (OpenAI / Anthropic / Azure OpenAI) set as environment variables
Breaking Changes
None. Drop-in upgrade from v0.7.0.