Commit Graph

1 Commits

Author SHA1 Message Date
Tom Huang
31d98634c3 feat(web): add composer context sources (#4869)
* feat(web): add composer context sources

* fix(web): require resolved context paths

* fix(web): keep local context removal authoritative

* fix(web): preserve project reference fallbacks

* fix(web): clear linked dirs with context chips

* fix(web): preserve context dirs when changing workdir

* fix(web): promote matching context workdir

* fix(web): preserve shared context dir ownership

* fix(web): retain home context dirs in composer

* fix(web): preserve promoted context dirs on clear

* fix(web): keep linked context chips after send

* fix(web): hydrate home workspace context chips

* fix(web): stabilize workspace context submissions

* fix(web): drop stale home workspace context dirs

* fix(web): fail missing workspace context dirs

* fix(web): keep home workspace context visible

* feat(web): implement project directory materialization for references

- Added `ensureReferencedProjectDir` function to create a managed project's folder if it doesn't exist, ensuring that references to new projects resolve correctly.
- Updated `getProjectDetail` to include an option for directory materialization, preventing errors when referencing uninitialized projects.
- Enhanced `ProjectReferenceModal` to filter out external projects with missing directories, improving user experience.
- Introduced tests for the new functionality to ensure proper behavior when referencing projects.

This change stabilizes project referencing and enhances the overall workflow for users dealing with managed projects.

* fix reference context fail-fast paths
2026-07-01 10:10:26 +00:00