feat(files): browse workspace folders on demand - #824
Merged
Merged
Conversation
|
Deployment failed for project pylon-marketing with the following error: Learn More: https://vercel.com/pylon-code?upgradeToPro=build-rate-limit |
Contributor
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
This was referenced Sep 24, 2026
Closed
…kspace-files-20260924 # Conflicts: # apps/web/src/components/files/FileBrowserPanel.tsx
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
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.
Change
Adapts upstream
21d53ca2eecbf9f1e481454e8084459b422de714(#11527) to Pylon's existing web and mobile file viewers. A new optionaldirectoryPathrequest lists one folder's immediate children, including ignored entries, in 1,000-entry pages. The existing omitted-field request and markerless indexed response remain unchanged for older clients and servers. Web and mobile load expanded folders on demand while retaining indexed path search, current preview/editor routes, environment scope, and mutation refresh.The server resolves the requested directory beneath the workspace real path, excludes
.gitand symlink children, and keepsprojects.listEntriesunder its existing read authorization. The old RPC payload schema drops the new optional fields; clients identify a new directory response by itsdirectoryPathmarker and treat a markerless response as the complete legacy tree.Scope and limits
This ports file discovery, not a new viewer. The response is bounded to 1,000 children per page and clients stop after 50 pages. Each page still reads and sorts the whole directory; name cursors do not provide a snapshot if files change between pages, so refresh may be needed. Android device verification was unavailable because this host has no Android SDK. An iOS Simulator paired and loaded the isolated project, but the fixture had no existing thread in which to open its Files route; the mobile tree path is covered by focused tests rather than device rendering evidence.
Verification
origin/pylon; final-head CI green.WorkspaceEntries, contracts, web hook, and mobile hook suites pass.contracts,t3,web, andmobiletypechecks pass; scoped lint has no errors; changed-file diff check clean.docs/nestedloadedguide.mdon demand; after creatingnew.md, Refresh showed it without losing the expanded directory. Before · Expanded and refreshed.Owning upstream review: #736. Ledger cursor remains unchanged.
Implementation and reconciliation: GPT-6 Codex in Pylon; independent adversarial review: GPT-6 Sol (low) in Pylon.