feat(llm-docs): wire the on-disk docs bundle into the extension host - #15251
Draft
midleman wants to merge 11 commits into
Draft
feat(llm-docs): wire the on-disk docs bundle into the extension host#15251midleman wants to merge 11 commits into
midleman wants to merge 11 commits into
Conversation
|
E2E Tests 🚀 Why these tags?
More on automatic tags from changed files. |
midleman
force-pushed
the
mi/bundle-docs-2b
branch
4 times, most recently
from
July 31, 2026 12:46
62f8825 to
ce341d7
Compare
midleman
force-pushed
the
mi/bundle-docs-2b
branch
from
July 31, 2026 13:01
ccc0548 to
4cd87c6
Compare
midleman
force-pushed
the
mi/bundle-docs-2b
branch
from
July 31, 2026 14:27
4cd87c6 to
6194dbc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wires the docs-bundle cache from PR #15242 into the extension host and exposes it to extensions as
positron.docs.getLocalDocs(), so the AI assistant can read Positron docs from disk instead of fetching them from the web.positron.docsAPI surface plus thepositronLlmsDocsUrlproduct field, overridable at runtime withPOSITRON_LLMS_DOCS_URLIExtHostDocs: node port adapters over http/fs/yauzl, and an always-undefined web-worker variantgetLocalDocs()with a 10s bounded wait, and a mid-sessionai.enabledflipai.enabled, read liveRelease Notes
New Features
Bug Fixes
Validation Steps
Manually validated against a local fixture server (
POSITRON_LLMS_DOCS_URL=http://127.0.0.1:8099) with a throwaway extension callinggetLocalDocs():latest-by-policy<userdata>/User/positron-llm-docs/<version>/ai.enabled: falseundefined, no cache directoryai.enabledflipped true mid-sessiongetLocalDocs()callsundefined, no cache, no state writtenundefinedundefinedresolution: exact,isExactMatch: trueresolution: fallbackundefinedat 10s, download continues, next call servedDecisions are logged under the
[llm-docs]in Output > Extension Host:QA Notes
Depends on #15242 and must not merge before it.