Skip to content

Add remote project-folder browser and preserve sidebar navigation - #1254

Merged
AnthonyRonning merged 3 commits into
masterfrom
codex-project-browser-maple
Oct 25, 2026
Merged

AnthonyRonning merged 3 commits into
masterfrom
codex-project-browser-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Switching between computers could briefly replace already loaded project groups with “Loading tasks…”. Remote project creation also required typing an absolute path.

Remote New project… now opens a folder browser at the execution computer’s home. It supports a back arrow to the parent folder, path navigation, hidden folders, bounded pages and creating a single folder, then uses the existing project-selection and trust flow. Remote filesystem work runs on the owning daemon outside the UI thread. Local projects keep the operating system’s native folder picker, with the built-in browser available if the platform picker is unavailable. Cancellation and stale results preserve the current task and draft.

Sidebar refreshes preserve their bounded display cache while account, backend and recovery-generation checks reject stale data; retained display rows cannot become fresh auto-selection candidates.

The folder API preserves wire version 6/minimum 6. Optional discovery advertises 6.2.0 and project_folders_v1; only folder browsing/creation require that capability. Older peers keep existing projects, chat and remote updates. Discovery runs outside the dispatch loop, is bounded and coalesced, and caches only validated feature support per connection. Failed discovery remains retryable; account and grant authority are rechecked before folder dispatch. Updater offers, status and installation authority remain fresh. No file-content API, new permission system or automatic command replay is added.

Rebased onto master e5c06a56, preserving the experimental remote-update controls and their separate reply bound.

Validation:

  • Full pinned macOS Agent just ci through MAPLE_HOOK_FULL=1 pre-commit: 695 core/runtime, 940 desktop and 281 headless tests passed, plus remaining workspace suites and all four lint configurations; existing ignores retained.
  • Compatibility coverage passed frozen wire-6/0.0.7 response decoding, unknown optional capabilities, preserved update receipts, older-peer folder refusal without affecting ordinary calls, concurrent discovery, timeout/malformed-response retry, reconnect cache reset, and authority rechecks. The focused remote/updater run passed 82 tests.
  • Fresh isolated Local daemon/Iroh probes passed real login/pairing, 6.2.0 capability discovery, home ownership, bounded paging, Unicode, hidden folders, permission/missing-path errors, local/remote creation, account isolation and revocation. Both temporary hosts shut down cleanly; Local services were restored to their prior stopped state.
  • Pre-rebase native macOS validation passed native local folder selection/creation, Cancel with draft preservation, remote custom browsing and the parent arrow, and the existing confirmation/trust flow. Earlier validation in this PR covered repeated opening from a focused composer, Cancel/Escape, smaller-window layout and sidebar group retention across chat switches. Regression coverage includes native-picker cancellation, stale responses and preventing initial session auto-selection while choosing a folder.

Native evidence is same-machine loopback Iroh, with no relays. The fresh compatibility probe sent no model requests. Earlier UI fixtures persisted synthetic task messages but inference returned HTTP 403; no model/provider qualification is claimed. Frozen compatibility tests are not an actual signed 0.0.7-to-new-release installation rehearsal. Physical-device, native Windows/Linux, public-relay and signed-production qualification are separate. This PR remains draft; no merge or deployment is requested.

@AnthonyRonning AnthonyRonning changed the title Add shared project-folder picker and preserve sidebar navigation Add remote project-folder browser and preserve sidebar navigation Oct 24, 2026
@AnthonyRonning
AnthonyRonning force-pushed the codex-project-browser-maple branch from e70828b to 83b3a1b Compare October 24, 2026 23:02
@AnthonyRonning
AnthonyRonning marked this pull request as ready for review October 25, 2026 07:25
@AnthonyRonning
AnthonyRonning merged commit e587048 into master Oct 25, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant