Draft
Conversation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Deploying windmill with
|
| Latest commit: |
f31c68e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://88184a58.windmill.pages.dev |
| Branch Preview URL: | https://consolidate-app-context.windmill.pages.dev |
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
Move raw app chat selection onto the shared copilot context pipeline so app mode uses the same selected-context mechanism as flow mode instead of a separate current-file/current-runnable path.
Changes
ContextManagerand keep app available context in sync thereTest plan
npm run check:fastnpm run checkonce the existing missing wasm parser packages are available in this environmentNotes
npm run checkstill fails on pre-existing missing moduleswindmill-parser-wasm-randwindmill-parser-wasm-wacfromfrontend/src/lib/infer.tsfrontend/package-lock.jsonremains dirty but is unrelated and not included in this branch changesGenerated with Claude Code
Summary by cubic
Routes app chat selection through the shared
ContextManagerwith an active-selection flag, and separates transient editor state from persisted selection. Unifies context selection, badges, and prompt building, and fixes the raw app editor update loop.Refactors
AppSelection(persisted inContextManagerviaactiveSelection) andAppTransientContext(inspector/code selection only).aiChatManager.syncAppSelection(...),updateAvailableContextForApp(...), andsetSelectedAppContext(...)to keep app available/selected context in sync.availableContextfromContextManager; show selected file/runnable via standard badges (removed app-specific chips and exclusion toggle).ContextManager.getTransientContext()and pushes selection viasyncAppSelection; removed exclusion and runnable-clear path.contextElementsfor APP mode as well.Bug Fixes
Written for commit f31c68e. Summary will update on new commits.