Migrate LLM tools and remove Positron Assistant#14718
Conversation
|
E2E Tests 🚀 Warning Unrecognized tag(s) in the PR description, ignored: Warning This PR touches Positron directories that aren't mapped in test-tag-paths-map.json:
Add an entry for each (an e2e tag or |
PETE's assessment 🧪Verdict: 🟢 Adequate -- every substantive migrated unit (tool filter, session tools, execute-code observer, prompt engine/renderer, session-variable queries) ships with a new behavior-exercising Vitest suite. What changed
Tests in this PR
Existing coverageThe migrated units are now covered by new Vitest suites rather than the deleted extension-host Mocha tests. The removed Suggested additionsNone required. Optional, if you want to tighten the net: a few secondary branches of Suggested tags (optional)None -- the PR body already includes PETE (Positron Extreme Test Experiment) - LLM-based test-coverage advisor, in pilot. Triggers on PR open and on |
Fixes #14638
Summary
As part of reverting to Copilot Chat, the Positron Assistant extension is no longer needed. This PR removes the
positron-assistantextension and migrates the pieces Copilot Chat still relies on into Positron core, so core can supply Positron-specific context (runtime sessions, variables, code execution) to Copilot Chat through the Positron API.positron-assistantextension -- participants, tools, prompt rendering, provider configuration/migration, and its tests -- along with its entries inproduct.jsonand the build config (gulpfile.extensions.ts,dirs.ts,.vscode-test.js).src/vs/workbench/contrib/positronAssistant/: the prompt template engine and renderer, the chat prompt templates, the Positron assistant tools, and the execute-code observer.positronToolFilter.ts), wired throughmainThreadAiFeatures/extHostAiFeatures, so Copilot Chat consumes Positron context via the public API rather than a bundled extension.extensions/copilot/) to render the Positron assistant prompt and register the migrated tools through the Positron API.Release Notes
New Features
Bug Fixes
Validation Steps
@:assistant @:posit-assistant
positron-assistantextension no longer appears in the Extensions view.